browserstack-node-sdk 1.40.2 → 1.40.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/load/index.js +1 -1
  69. package/src/bin/load/loadUtils.js +1 -1
  70. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  71. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  72. package/src/bin/mocha/command.js +1 -1
  73. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  74. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  75. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  76. package/src/bin/mocha/test.setup.js +1 -1
  77. package/src/bin/nightwatch/command.js +1 -1
  78. package/src/bin/playwright/accessibility-helper.js +1 -1
  79. package/src/bin/playwright/command.js +1 -1
  80. package/src/bin/playwright/globalSetup.js +1 -1
  81. package/src/bin/playwright/mock-process.js +1 -1
  82. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  83. package/src/bin/playwright/patches.js +1 -1
  84. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  85. package/src/bin/playwright/reporter/reporter.js +1 -1
  86. package/src/bin/playwright/reporter/test-details.js +1 -1
  87. package/src/bin/playwright/sessionDetails.js +1 -1
  88. package/src/bin/runner.js +1 -1
  89. package/src/bin/setup.js +1 -1
  90. package/src/bin/test-runner/index.js +1 -1
  91. package/src/bin/test-runner/runTest.js +1 -1
  92. package/src/bin/test-runner/testWorker.js +1 -1
  93. package/src/bin/utils/constants.js +1 -1
  94. package/src/bin/utils/log4jsAppender.js +1 -1
  95. package/src/bin/utils/logPatcher.js +1 -1
  96. package/src/bin/utils/logReportingAPI.js +1 -1
  97. package/src/bin/v2/TestInfo.js +1 -1
  98. package/src/bin/v2/browserstackCLI.js +1 -1
  99. package/src/bin/v2/cliUtils.js +1 -1
  100. package/src/bin/v2/customTagManager.js +1 -1
  101. package/src/bin/v2/eventDispatcher.js +1 -1
  102. package/src/bin/v2/framework/automationFramework.js +1 -1
  103. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  104. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  105. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  106. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  107. package/src/bin/v2/framework/testFramework.js +1 -1
  108. package/src/bin/v2/grpcClient.js +1 -1
  109. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  110. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  111. package/src/bin/v2/instances/trackedContext.js +1 -1
  112. package/src/bin/v2/instances/trackedInstance.js +1 -1
  113. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  114. package/src/bin/v2/modules/baseModule.js +1 -1
  115. package/src/bin/v2/modules/observabilityModule.js +1 -1
  116. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  117. package/src/bin/v2/modules/testhubModule.js +1 -1
  118. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  119. package/src/bin/v2/state/hookState.js +1 -1
  120. package/src/bin/v2/state/testFrameworkState.js +1 -1
  121. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  122. package/src/bin/vanilla-js/command.js +1 -1
  123. package/src/browserStackSdk.js +1 -1
  124. package/src/helpers/BrowserStackSetup.js +1 -1
  125. package/src/helpers/accessibility-automation/constants.js +1 -1
  126. package/src/helpers/accessibility-automation/helper.js +1 -1
  127. package/src/helpers/accessibility-automation/scripts.js +1 -1
  128. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  129. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  130. package/src/helpers/ats/constants.js +1 -1
  131. package/src/helpers/ats/helper.js +1 -1
  132. package/src/helpers/capsMapping.js +1 -1
  133. package/src/helpers/central-scanner/constants.js +1 -1
  134. package/src/helpers/central-scanner/helpers.js +1 -1
  135. package/src/helpers/classLogger.js +1 -1
  136. package/src/helpers/globals.js +1 -1
  137. package/src/helpers/helper.js +1 -1
  138. package/src/helpers/logger.js +1 -1
  139. package/src/helpers/metadata.js +1 -1
  140. package/src/helpers/patchHelper.js +1 -1
  141. package/src/helpers/patchHelpers.js +1 -1
  142. package/src/helpers/percy/Percy.js +1 -1
  143. package/src/helpers/percy/PercyBinary.js +1 -1
  144. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  145. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  146. package/src/helpers/percy/PercySDK.js +1 -1
  147. package/src/helpers/percy/index.js +1 -1
  148. package/src/helpers/percy/utils.js +1 -1
  149. package/src/helpers/performance/constants.js +1 -1
  150. package/src/helpers/performance/performance-tester.js +1 -1
  151. package/src/helpers/processHelper.js +1 -1
  152. package/src/helpers/request-spy.js +1 -1
  153. package/src/helpers/setKeepAlive.js +1 -1
  154. package/src/helpers/test-observability/constants.js +1 -1
  155. package/src/helpers/test-observability/error-handler.js +1 -1
  156. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  157. package/src/helpers/test-observability/sessionHandler.js +1 -1
  158. package/src/helpers/test-observability/utils.js +1 -1
  159. package/src/helpers/test-orchestration/constants.js +1 -1
  160. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  161. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  162. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  163. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  164. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  165. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  166. package/src/helpers/testhub/constants.js +1 -1
  167. package/src/helpers/testhub/testhubHandler.js +1 -1
  168. package/src/helpers/testhub/utils.js +1 -1
  169. package/src/helpers/timeoutPromise.js +1 -1
  170. package/src/helpers/utilities.js +1 -1
  171. package/src/helpers/w3cMapping.js +1 -1
  172. package/src/hubAllocationMethods.js +1 -1
  173. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a35_0x1260e4=a35_0x4d42;function a35_0x4d42(_0x12cedf,_0x196546){const _0x2bdeb7=a35_0x2bde();return a35_0x4d42=function(_0x4d420c,_0x2a761f){_0x4d420c=_0x4d420c-0x131;let _0x132e22=_0x2bdeb7[_0x4d420c];return _0x132e22;},a35_0x4d42(_0x12cedf,_0x196546);}(function(_0x39a7f4,_0x38326c){const _0x33d02e=a35_0x4d42,_0x384b0e=_0x39a7f4();while(!![]){try{const _0x29b025=-parseInt(_0x33d02e(0x194))/0x1+-parseInt(_0x33d02e(0x174))/0x2*(parseInt(_0x33d02e(0x17d))/0x3)+-parseInt(_0x33d02e(0x189))/0x4*(parseInt(_0x33d02e(0x1c0))/0x5)+parseInt(_0x33d02e(0x1b2))/0x6*(parseInt(_0x33d02e(0x1a3))/0x7)+-parseInt(_0x33d02e(0x1de))/0x8+-parseInt(_0x33d02e(0x164))/0x9+parseInt(_0x33d02e(0x165))/0xa;if(_0x29b025===_0x38326c)break;else _0x384b0e['push'](_0x384b0e['shift']());}catch(_0x2669c7){_0x384b0e['push'](_0x384b0e['shift']());}}}(a35_0x2bde,0xe920d));const util=require(a35_0x1260e4(0x1ad)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a35_0x1260e4(0x197)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a35_0x1260e4(0x172)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x1260e4(0x1a8)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a35_0x1260e4(0x1cd)),logger=require('../../helpers/logger')[a35_0x1260e4(0x162)],{shouldProcessEventForTesthub}=require(a35_0x1260e4(0x17b)),testHubConstants=require(a35_0x1260e4(0x1ac));function a35_0x2bde(){const _0x14a7d5=['59834YHGoBu','protocol','choLV','LNBzK','WnyUL','kBkXp','format','../../helpers/testhub/utils','__error_messages__','150DWSMuL','CCpik','Mocha','accessibilityScanStarted','yCtXx','getGlobal','BROWSERSTACK_TESTHUB_JWT','afterTest','error','initQuit','wKTqC','SYNC','164308WmoGEB','SAVE_RESULTS','rJDbz','MkfWh','IzZGE','DLzwe','TpwSA','measureWrapper','quitCount_','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','executeAsyncScript','620694ehAvMR','ZzYJR','index','./test-observability/mochaUtils','__platformCaps','wAzWL','GcYmM','pFGTL','timeout','bstackA11yShouldScan','unrLD','\x20|\x20','\x20-\x20','passed','jXelR','7hlsHfi','QFMqm','thJwtToken','getCurrentUrl','percyCaptureMode','../../helpers/performance/constants','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','qecsj',',\x22level\x22:\x20\x22','../../helpers/testhub/constants','util','app','dnwqn','oaDYY','startMonitoring','8558904Fefwec','testcase','qDhLh','XRtfi','snwJu','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','sessionName','WmxIT','driverCleanup','BqLZj','dtpSO','session_','tynMT','currentTest','55ooooky','beforeEach','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','testAnalyticsId','xRTYY','end','wrWuv','MIGmr','tPbMJ','xEKAo','http:','shift','mochaHooks','../../helpers/globals','capabilities','FRSfE','NDucT','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','hPfox','ZmEOD','thBuildUuid','failed','__skipSessionName','fmjJo','Failed\x20to\x20store\x20session\x20name:\x20','MmXfY','Automate\x20test\x20case\x20execution\x20has\x20started.','shouldScanTestForAccessibility','saveTestResults','thTestRunUuid','6698232MqHRkl','uifjn','stringify','YKZnG','jBjSK','sHmFJ','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','ObservabilitySync:','env','BROWSERSTACK_TESTHUB_UUID','setGlobal','RpGok','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','isArray','rIPwT','mHVVT','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','info','beforeAll','hUDsy','browserstackTestName','__drivers','SESSION_STATUS','titlePath','executeScript','QDsVZ','percy','Performing\x20scan\x20before\x20saving\x20results','start','dMIbW','koRlI','INfcs','gWAyy','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','browserstackSessionName','pTKIp','DlemR','push','\x22}}','edIbR','LLIlB','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','zpToQ','hImbE','SESSION_NAME','skrOY','lSeDf','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','kbqAQ','HmVst','UocHW','eNvNU','debug','PERFORM_SCAN','sessionNameSet__','winstonLogger','SIURs','6702894rRmRSR','36788450CidamZ','ACWOm','ENV_VAR','appium:app','jSUtd','JUxwm','SDK_HOOK','length','then','Passed','__sessionFailed','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','now','../../helpers/performance/performance-tester','join'];a35_0x2bde=function(){return _0x14a7d5;};return a35_0x2bde();}exports[a35_0x1260e4(0x1cc)]={'beforeAll'(){const _0xd865a7=a35_0x1260e4,_0x144814={'LNBzK':function(_0x44d0d7,_0x505027,_0x1ce4e1,_0x2449eb){return _0x44d0d7(_0x505027,_0x1ce4e1,_0x2449eb);},'xEKAo':_0xd865a7(0x1d5),'jZKBl':_0xd865a7(0x19f),'pTKIp':function(_0x4a3bf4,_0x51bf90,_0x1e19fa){return _0x4a3bf4(_0x51bf90,_0x1e19fa);},'HtVqq':_0xd865a7(0x1a1),'dMIbW':function(_0x3c1e7b){return _0x3c1e7b();},'mHVVT':function(_0x3bd54a,_0x5247a2,_0xf86b5b){return _0x3bd54a(_0x5247a2,_0xf86b5b);},'aUrUw':_0xd865a7(0x196),'kBkXp':_0xd865a7(0x13d)};PerformanceTester[_0xd865a7(0x1b1)]();const _0xae8b7c='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xd865a7(0x16b)],()=>{const _0x425384=_0xd865a7;global[_0x425384(0x17c)]=[],global[_0x425384(0x16f)]=![],global[_0x425384(0x1ba)]=async()=>{const _0x42c828=_0x425384;let _0x904898=![];try{await global[_0x42c828(0x140)][0x0][_0x42c828(0x1bd)],_0x904898=!![],global['__sessionFailed']?await _0x144814[_0x42c828(0x177)](markSessionStatus,global[_0x42c828(0x140)][0x0],_0x144814[_0x42c828(0x1c9)],global[_0x42c828(0x17c)][_0x42c828(0x173)](_0x144814['jZKBl'])):await _0x144814[_0x42c828(0x14e)](markSessionStatus,global['__drivers'][0x0],_0x144814['HtVqq']);}catch(_0x3549e9){logger[_0x42c828(0x15f)](_0x42c828(0x1b7)+_0x3549e9);}global[_0x42c828(0x17c)]=[],global[_0x42c828(0x16f)]=![];if(_0x904898)try{try{_0x144814[_0x42c828(0x148)](shouldProcessEventForTesthub)&&(global[_0x42c828(0x140)][0x0]&&await _0x144814[_0x42c828(0x14e)](sendPlatformDetails,global[_0x42c828(0x140)][0x0],this[_0x42c828(0x1bf)]?this[_0x42c828(0x1bf)]['testAnalyticsId']:null));}catch(_0x2ace38){logger[_0x42c828(0x15f)](_0x42c828(0x131)+_0x2ace38);}await global[_0x42c828(0x140)][0x0][_0x42c828(0x186)]();}catch(_0x35c4c9){logger[_0x42c828(0x15f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x35c4c9);}};},{'platform':_0x144814[_0xd865a7(0x13a)](nestedKeyValue,global['__platformCaps'],[_0x144814['aUrUw']]),'hookType':_0x144814[_0xd865a7(0x179)]})();},'beforeEach'(_0x13751f){const _0x50cd17=a35_0x1260e4,_0x3da6d8={'lSeDf':function(_0x3b72f4){return _0x3b72f4();},'kbqAQ':function(_0x4a1a85,_0xd6b4cc){return _0x4a1a85>_0xd6b4cc;},'sNpxN':function(_0x138342,_0x1f9aa5){return _0x138342>_0x1f9aa5;},'edIbR':_0x50cd17(0x1a0),'XRtfi':function(_0x144599,_0xf1c332,_0x7d4ec4){return _0x144599(_0xf1c332,_0x7d4ec4);},'DlemR':_0x50cd17(0x19d),'koRlI':function(_0x441ec1){return _0x441ec1();},'ZmEOD':'isAccessibilityPlatform','sUHEo':function(_0x2e4210,_0x1b6372){return _0x2e4210===_0x1b6372;},'LDASZ':_0x50cd17(0x1ca),'VGkuf':'https:','MmXfY':_0x50cd17(0x13b),'NDucT':_0x50cd17(0x1da),'JUxwm':_0x50cd17(0x13f),'ZSUAc':_0x50cd17(0x196),'skrOY':_0x50cd17(0x1c1)};globals[_0x50cd17(0x135)](_0x3da6d8[_0x50cd17(0x16a)],this[_0x50cd17(0x1bf)][_0x50cd17(0x142)]()[_0x50cd17(0x173)](_0x3da6d8['edIbR'])),PerformanceTester[_0x50cd17(0x190)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x23c8b4=_0x50cd17,_0x1871bd={'MkfWh':function(_0x47f181,_0x395876){const _0x2e621a=a35_0x4d42;return _0x3da6d8[_0x2e621a(0x15b)](_0x47f181,_0x395876);},'hUDsy':function(_0x17ba98,_0x375617){return _0x3da6d8['sNpxN'](_0x17ba98,_0x375617);},'HmVst':_0x3da6d8[_0x23c8b4(0x152)],'QDsVZ':function(_0x396913,_0x15979f,_0x5dcca4){const _0x39d2ab=_0x23c8b4;return _0x3da6d8[_0x39d2ab(0x1b5)](_0x396913,_0x15979f,_0x5dcca4);},'oaDYY':_0x3da6d8[_0x23c8b4(0x14f)],'choLV':function(_0x46f07c){const _0xa05fdf=_0x23c8b4;return _0x3da6d8[_0xa05fdf(0x149)](_0x46f07c);},'UocHW':_0x3da6d8[_0x23c8b4(0x1d3)],'SIURs':function(_0x2cae81,_0x1c51cc){return _0x3da6d8['sUHEo'](_0x2cae81,_0x1c51cc);},'eNvNU':_0x3da6d8['LDASZ'],'qecsj':_0x3da6d8['VGkuf'],'tPbMJ':_0x3da6d8[_0x23c8b4(0x1d9)],'zpToQ':_0x3da6d8[_0x23c8b4(0x1d0)]},_0x3195e1='browserstack internal helper hook';new Promise(async _0xf68356=>{const _0x32a4dc=_0x23c8b4;let _0x2e94ea=!![];try{_0x1871bd[_0x32a4dc(0x18c)](global[_0x32a4dc(0x140)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x32a4dc(0x140)][_0x32a4dc(0x1cb)]()),_0x1871bd[_0x32a4dc(0x13e)](global['__drivers'][0x0][_0x32a4dc(0x191)],0x0)&&(_0x2e94ea=![],await global[_0x32a4dc(0x1ba)]());}catch(_0x51d327){logger['debug'](_0x32a4dc(0x1c2)+_0x51d327);}try{Array[_0x32a4dc(0x138)](global[_0x32a4dc(0x140)])&&global[_0x32a4dc(0x140)][0x0]&&(global[_0x32a4dc(0x140)][0x0]['browserstackSessionName']=this[_0x32a4dc(0x1bf)][_0x32a4dc(0x142)]()['join'](_0x1871bd[_0x32a4dc(0x15c)])),global[_0x32a4dc(0x14d)]=this['currentTest'][_0x32a4dc(0x142)]()['join'](_0x1871bd[_0x32a4dc(0x15c)]);}catch(_0xe1f5bf){logger['debug'](_0x32a4dc(0x1d8)+_0xe1f5bf);}this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)]=_0x1871bd[_0x32a4dc(0x144)](shouldScanTestForAccessibility,this[_0x32a4dc(0x1bf)][_0x32a4dc(0x142)](),!![]),globals['setGlobal'](_0x1871bd[_0x32a4dc(0x1b0)],this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)]),this['currentTest'][_0x32a4dc(0x180)]=!![];if(_0x1871bd[_0x32a4dc(0x176)](isAccessibilityAutomationSession)&&_0x2e94ea&&Array[_0x32a4dc(0x138)](global[_0x32a4dc(0x140)])&&_0x1871bd[_0x32a4dc(0x13e)](global[_0x32a4dc(0x140)][_0x32a4dc(0x16c)],0x0)&&globals[_0x32a4dc(0x182)](_0x1871bd[_0x32a4dc(0x15d)]))try{const _0x41dee7=await global[_0x32a4dc(0x140)][0x0][_0x32a4dc(0x1bd)];if(_0x41dee7){let _0x8bc49a=!![];const _0x5716d6=await global['__drivers'][0x0][_0x32a4dc(0x1a6)]();let _0x44655e;try{_0x44655e=new URL(_0x5716d6);}catch(_0x5c6230){_0x8bc49a=![];}_0x8bc49a=_0x1871bd[_0x32a4dc(0x163)](_0x44655e[_0x32a4dc(0x175)],_0x1871bd[_0x32a4dc(0x15e)])||_0x1871bd[_0x32a4dc(0x163)](_0x44655e[_0x32a4dc(0x175)],_0x1871bd[_0x32a4dc(0x1aa)]),_0x8bc49a&&(this[_0x32a4dc(0x1bf)]['shouldScanTestForAccessibility']&&logger[_0x32a4dc(0x13c)](_0x1871bd[_0x32a4dc(0x1c8)])),this['currentTest'][_0x32a4dc(0x180)]=this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)],this[_0x32a4dc(0x1bf)][_0x32a4dc(0x1db)]&&logger['info'](_0x1871bd[_0x32a4dc(0x155)]);}}catch(_0x1bd6de){logger[_0x32a4dc(0x185)](_0x32a4dc(0x15a)+util[_0x32a4dc(0x17a)](_0x1bd6de));}_0x1871bd[_0x32a4dc(0x176)](_0xf68356);})[_0x23c8b4(0x16d)](()=>{const _0x221c59=_0x23c8b4;_0x3da6d8[_0x221c59(0x159)](_0x13751f);});},{'platform':_0x3da6d8[_0x50cd17(0x1b5)](nestedKeyValue,global[_0x50cd17(0x198)],[_0x3da6d8['ZSUAc']]),'hookType':_0x3da6d8[_0x50cd17(0x158)]})();},'afterEach'(_0x127bf7){const _0x52dd0d=a35_0x1260e4,_0x31889c={'xRTYY':function(_0xb9a05e,_0x1c7fc2){return _0xb9a05e!==_0x1c7fc2;},'RpGok':'passed','snwJu':function(_0x25dac7,_0x565051,_0x44e994){return _0x25dac7(_0x565051,_0x44e994);},'WmxIT':function(_0xc241ec,_0xcd1b3e){return _0xc241ec+_0xcd1b3e;},'etayW':'Failed:\x20','rIPwT':_0x52dd0d(0x185),'sHmFJ':function(_0x2cfd2f,_0x256d79,_0x2e5443){return _0x2cfd2f(_0x256d79,_0x2e5443);},'IzZGE':_0x52dd0d(0x16e),'DLzwe':_0x52dd0d(0x13c),'pFGTL':function(_0x4aece9,_0x3925bc){return _0x4aece9>_0x3925bc;},'wKTqC':function(_0x716e7a,_0x5592e9){return _0x716e7a===_0x5592e9;},'TpwSA':_0x52dd0d(0x1b3),'MIGmr':function(_0x36193a,_0x510fc1){return _0x36193a>_0x510fc1;},'ZzYJR':_0x52dd0d(0x168),'iLCkD':function(_0x4a87a2,_0x317dbb,_0x45cf1a,_0x5adb36){return _0x4a87a2(_0x317dbb,_0x45cf1a,_0x5adb36);},'BqLZj':'isAccessibilityPlatform','INfcs':_0x52dd0d(0x19d),'wrWuv':_0x52dd0d(0x137),'qDhLh':_0x52dd0d(0x146),'CCpik':_0x52dd0d(0x184),'rJDbz':_0x52dd0d(0x170),'jBjSK':function(_0x3295dc){return _0x3295dc();},'gWAyy':function(_0xff9fd0){return _0xff9fd0();},'hPfox':_0x52dd0d(0x15f),'fTVMe':function(_0x1a810c){return _0x1a810c();},'dtpSO':function(_0x4a9aff){return _0x4a9aff();},'LLIlB':'\x20-\x20','YKZnG':_0x52dd0d(0x17f),'tynMT':function(_0x137a80,_0x7c8a0f,_0x5f9ff8){return _0x137a80(_0x7c8a0f,_0x5f9ff8);},'wAzWL':_0x52dd0d(0x196),'GcYmM':'afterEach'},_0x1ad4e7='browserstack internal helper hook';this[_0x52dd0d(0x19c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31889c[_0x52dd0d(0x1e1)]]),global[_0x52dd0d(0x1b8)]=this[_0x52dd0d(0x1bf)][_0x52dd0d(0x142)]()[_0x52dd0d(0x173)](_0x31889c[_0x52dd0d(0x153)]),PerformanceTester[_0x52dd0d(0x190)](PerformanceSdkEvents[_0x52dd0d(0x16b)],()=>{const _0x1c75e6=_0x52dd0d,_0x6e6062={};_0x6e6062[_0x1c75e6(0x1d7)]=_0x31889c[_0x1c75e6(0x153)];const _0xdc5a42=_0x6e6062,_0x189764=async(_0x34e1af,_0x44517f)=>{const _0x3da3bb=_0x1c75e6;await global[_0x3da3bb(0x140)][0x0]['executeScript'](_0x3da3bb(0x14c)+_0x34e1af+_0x3da3bb(0x1ab)+_0x44517f+_0x3da3bb(0x151));};new Promise(async _0x3c91bd=>{const _0x30bc62=_0x1c75e6,_0x3766e7={'jXelR':function(_0x44b58c,_0x389960){const _0x4193b5=a35_0x4d42;return _0x31889c[_0x4193b5(0x1c4)](_0x44b58c,_0x389960);},'unrLD':_0x31889c[_0x30bc62(0x136)],'tlJel':function(_0x24188f,_0x2e676b,_0xe24a27){const _0x5c8ef3=_0x30bc62;return _0x31889c[_0x5c8ef3(0x1b6)](_0x24188f,_0x2e676b,_0xe24a27);},'zrQYx':function(_0x43bafc,_0x2ebf79){const _0x46cd21=_0x30bc62;return _0x31889c[_0x46cd21(0x1b9)](_0x43bafc,_0x2ebf79);},'vWdxS':_0x31889c['etayW'],'FRSfE':_0x31889c[_0x30bc62(0x139)],'xZtng':function(_0x23f376,_0x3c627b,_0x5ec79c){const _0xd361b9=_0x30bc62;return _0x31889c[_0xd361b9(0x1e3)](_0x23f376,_0x3c627b,_0x5ec79c);},'hImbE':_0x31889c[_0x30bc62(0x18d)],'RZnEW':_0x31889c[_0x30bc62(0x18e)]};try{_0x31889c['pFGTL'](global['__drivers'][_0x30bc62(0x16c)],0x1)&&(await global[_0x30bc62(0x1ba)](),global[_0x30bc62(0x140)]['shift'](),global[_0x30bc62(0x17c)]=[],global[_0x30bc62(0x16f)]=![]);try{if(global[_0x30bc62(0x145)]&&_0x31889c[_0x30bc62(0x187)](global[_0x30bc62(0x1a7)],_0x31889c[_0x30bc62(0x18f)])&&global[_0x30bc62(0x140)][0x0]){const _0xbe5bd2=_0x31889c[_0x30bc62(0x1c7)](global[_0x30bc62(0x1ce)][_0x30bc62(0x16c)],0x0)?!!global[_0x30bc62(0x1ce)][0x0][_0x30bc62(0x1ae)]||!!global['capabilities'][0x0][_0x31889c[_0x30bc62(0x195)]]:![],_0x5335db={};_0x5335db['app']=_0xbe5bd2,await _0x31889c['iLCkD'](percyAutoCapture,global['__drivers'][0x0],_0x31889c[_0x30bc62(0x18f)],_0x5335db);}}catch(_0x6dd4c0){logger['debug'](_0x30bc62(0x192)+_0x6dd4c0);}!global[_0x30bc62(0x1d6)]&&(await PerformanceTester[_0x30bc62(0x190)](PerformanceAutEvents[_0x30bc62(0x157)],async()=>{const _0x3daf6a=_0x30bc62;await global[_0x3daf6a(0x140)][0x0][_0x3daf6a(0x143)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3daf6a(0x1e0)](this[_0x3daf6a(0x1bf)]['titlePath']()[_0x3daf6a(0x173)](_0xdc5a42['fmjJo']))+'}}');})(),global[_0x30bc62(0x140)][0x0][_0x30bc62(0x161)]=!![]),await PerformanceTester[_0x30bc62(0x190)](PerformanceAutEvents[_0x30bc62(0x141)],async()=>{const _0x477ac4=_0x30bc62,_0x43208c=_0x3766e7[_0x477ac4(0x1a2)](this['currentTest']['state'],_0x3766e7[_0x477ac4(0x19e)]);_0x43208c?(global[_0x477ac4(0x16f)]=!![],global[_0x477ac4(0x17c)][_0x477ac4(0x150)](this[_0x477ac4(0x1bf)]['err']['message']),await _0x3766e7['tlJel'](_0x189764,JSON[_0x477ac4(0x1e0)](_0x3766e7['zrQYx'](_0x3766e7['vWdxS'],this[_0x477ac4(0x1bf)]['err']['message'])),_0x3766e7[_0x477ac4(0x1cf)])):await _0x3766e7['xZtng'](_0x189764,JSON[_0x477ac4(0x1e0)](_0x3766e7[_0x477ac4(0x156)]),_0x3766e7['RZnEW']);})();}catch(_0x381d44){logger[_0x30bc62(0x15f)](_0x30bc62(0x154)+_0x381d44);}try{if(this[_0x30bc62(0x1bf)]['accessibilityScanStarted']&&globals[_0x30bc62(0x182)](_0x31889c[_0x30bc62(0x1bb)])&&globals[_0x30bc62(0x182)](_0x31889c[_0x30bc62(0x14a)])){logger[_0x30bc62(0x13c)](_0x31889c[_0x30bc62(0x1c6)]);const _0x2b0596={};_0x2b0596[_0x30bc62(0x1dd)]=this[_0x30bc62(0x1bf)][_0x30bc62(0x1c3)],_0x2b0596[_0x30bc62(0x1d4)]=process[_0x30bc62(0x133)][testHubConstants['ENV_VAR'][_0x30bc62(0x134)]],_0x2b0596[_0x30bc62(0x1a5)]=process[_0x30bc62(0x133)][testHubConstants[_0x30bc62(0x167)][_0x30bc62(0x183)]];const _0x5782c1=_0x2b0596;logger[_0x30bc62(0x15f)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x5782c1)),logger['debug'](_0x31889c[_0x30bc62(0x1b4)]);const _0x5c4896={};_0x5c4896['command']=_0x31889c[_0x30bc62(0x17e)],await PerformanceTester[_0x30bc62(0x190)](PerformanceA11yEvents[_0x30bc62(0x160)],async()=>{const _0x5a3a8b=_0x30bc62;logger[_0x5a3a8b(0x15f)](util[_0x5a3a8b(0x17a)](await global['__drivers'][0x0][_0x5a3a8b(0x193)](scripts['performScan'],{'method':global[_0x5a3a8b(0x14d)]})));},_0x5c4896)(),await PerformanceTester[_0x30bc62(0x190)](PerformanceA11yEvents[_0x30bc62(0x18a)],async()=>{const _0x551717=_0x30bc62;await global['__drivers'][0x0][_0x551717(0x193)](scripts[_0x551717(0x1dc)],_0x5782c1);})(),logger[_0x30bc62(0x13c)](_0x31889c[_0x30bc62(0x18b)]);}}catch(_0x31dbf7){logger[_0x30bc62(0x185)](_0x30bc62(0x1d1)+this[_0x30bc62(0x1bf)][_0x30bc62(0x142)]()+'.\x20Error\x20:',_0x31dbf7);}try{try{if(_0x31889c[_0x30bc62(0x1e2)](shouldProcessEventForTesthub)){global[_0x30bc62(0x140)][0x0]&&await _0x31889c['sHmFJ'](sendPlatformDetails,global[_0x30bc62(0x140)][0x0],this['currentTest']?this[_0x30bc62(0x1bf)]['testAnalyticsId']:null);if(_0x31889c[_0x30bc62(0x14b)](isBrowserstackInfra)){PerformanceTester[_0x30bc62(0x147)](PerformanceO11yEvents[_0x30bc62(0x188)]);const _0x402dca=_0x30bc62(0x132)+Date[_0x30bc62(0x171)]();await _0x31889c[_0x30bc62(0x1b6)](_0x189764,JSON[_0x30bc62(0x1e0)](_0x402dca),_0x31889c[_0x30bc62(0x1d2)]),PerformanceTester[_0x30bc62(0x1c5)](PerformanceO11yEvents[_0x30bc62(0x188)]);}}}catch(_0x2a63b1){logger[_0x30bc62(0x15f)](_0x30bc62(0x1a9)+_0x2a63b1),PerformanceTester[_0x30bc62(0x1c5)](PerformanceO11yEvents[_0x30bc62(0x188)],![],_0x2a63b1);}_0x31889c[_0x30bc62(0x19b)](global[_0x30bc62(0x140)][0x0][_0x30bc62(0x191)],0x0)&&await global[_0x30bc62(0x1ba)]();}catch(_0x289b1a){logger[_0x30bc62(0x15f)](_0x30bc62(0x1c2)+_0x289b1a);}_0x31889c['fTVMe'](_0x3c91bd);})[_0x1c75e6(0x16d)](()=>{const _0x48e9a4=_0x1c75e6;_0x31889c[_0x48e9a4(0x1bc)](_0x127bf7);});},{'platform':_0x31889c[_0x52dd0d(0x1be)](nestedKeyValue,global[_0x52dd0d(0x198)],[_0x31889c[_0x52dd0d(0x199)]]),'hookType':_0x31889c[_0x52dd0d(0x19a)]})();},'afterAll'(_0x48d220){const _0x55c1cf=a35_0x1260e4,_0x84cbe1={'jSUtd':function(_0x2079ee){return _0x2079ee();},'WnyUL':function(_0x3286f8){return _0x3286f8();},'yCtXx':_0x55c1cf(0x17f),'ACWOm':function(_0x4dad8d,_0x4a26d0,_0x8b932e){return _0x4dad8d(_0x4a26d0,_0x8b932e);},'uifjn':_0x55c1cf(0x196),'QFMqm':'afterAll'},_0x21135a='browserstack internal helper hook';this[_0x55c1cf(0x19c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x84cbe1[_0x55c1cf(0x181)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x10e4c6=_0x55c1cf,_0x2ebb0f={'dnwqn':function(_0x5c79ab){const _0x53c120=a35_0x4d42;return _0x84cbe1[_0x53c120(0x178)](_0x5c79ab);}};new Promise(async _0x141532=>{const _0xea20da=a35_0x4d42;await global[_0xea20da(0x1ba)](),_0x84cbe1[_0xea20da(0x169)](_0x141532);})[_0x10e4c6(0x16d)]()['finally'](()=>{const _0x34f714=_0x10e4c6;_0x2ebb0f[_0x34f714(0x1af)](_0x48d220);});},{'platform':_0x84cbe1[_0x55c1cf(0x166)](nestedKeyValue,global['__platformCaps'],[_0x84cbe1[_0x55c1cf(0x1df)]]),'hookType':_0x84cbe1[_0x55c1cf(0x1a4)]})();}};
1
+ function a35_0x4c14(_0x1ac01e,_0x39f5a0){const _0x52bc0a=a35_0x52bc();return a35_0x4c14=function(_0x4c14bf,_0x3a1b36){_0x4c14bf=_0x4c14bf-0x1b5;let _0x10421b=_0x52bc0a[_0x4c14bf];return _0x10421b;},a35_0x4c14(_0x1ac01e,_0x39f5a0);}const a35_0x4e3b5b=a35_0x4c14;function a35_0x52bc(){const _0x4b4e47=['http:','Qpkty','RIywL','AisfO','CmRqr','3080208alaAUB','SDK_HOOK','EiqYL','duigL','qXuKh','avIDu','push','lOPKq','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','appium:app','\x20-\x20','VmbVm','kfdyq','DWSWy','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','capabilities','\x20|\x20','dPmBd','qVcFV','ENV_VAR','745nLhJiw','SESSION_NAME','performScan','../../helpers/globals','CIzTe','measureWrapper','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','../../helpers/testhub/constants','fCBLt',',\x22level\x22:\x20\x22','info','../../helpers/accessibility-automation/scripts','hdGYt','WMdgX','JyABA','BROWSERSTACK_TESTHUB_UUID','stringify','XJrOq','error','KABUe','gvsna','cUknZ','browserstackSessionName','hJxvv','testAnalyticsId','aMvGD','FxYbE','jaKOp','__platformCaps','uHvUP','wqPSo','getGlobal','dbZbH','afterEach','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','uxDiN','__error_messages__','message','setGlobal','IQmMT','SQykB','ohuUT','app','Automate\x20test\x20case\x20execution\x20has\x20started.','YTBYW','VMSFb','quitCount_','../../helpers/percy/utils','driverCleanup','index','then','\x22}}','UpNUG','SESSION_STATUS','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','join','eQclE','startMonitoring','RWFhe','QvEDF','executeScript','QeTtK','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','shift','vONoQ','AypRG','initQuit','qiNAb','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','protocol','sessionName','beforeEach','PQjiJ','7mzUwTZ','SAVE_RESULTS','ImAQK','browserstackTestName','VDAjW','debug','BHnnw','53390ziJZqC','titlePath','1504877eRnawn','now','632433CyKMDn','fkJhE','shouldScanTestForAccessibility','command','XCixo','SqHdH','state','AbmWo','Performing\x20scan\x20before\x20saving\x20results','end','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','gMtfZ','MGRpu','kaXIL','414pcURga','percyCaptureMode','duYAf','bstackA11yShouldScan','qWhqU','bNdTV','afterAll','../../helpers/logger','axIzg','4LODWNc','https:','oNGYc','util','ObservabilitySync:','SaEcv','beforeAll','VNxLy','IIZOI','executeAsyncScript','VxyCo','LlmAd','__sessionFailed','rRGWE','Mocha','Xxgka','xqKPg','PeqFe','saveTestResults','passed','__drivers','currentTest','format','JRzAl','isAccessibilityPlatform','TXavx','Jrrnb','length','yvZGi','RBOCR','timeout','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','SYNC','finally','12244YbdQcf','failed','Passed','env','pHZGs','accessibilityScanStarted','jZTGb','uzaLN','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','411337nOELZH','Ovigc','2366744GlgCln','lrmaO','__skipSessionName','testcase','../../helpers/testhub/utils','ETOrJ','bmjOG','CTfhq','Failed\x20to\x20store\x20session\x20name:\x20','session_','ujDEj','MqEYq','kPWJb','EPLci','err','kIAKc','Failed:\x20','.\x20Error\x20:','lzvPx'];a35_0x52bc=function(){return _0x4b4e47;};return a35_0x52bc();}(function(_0x2df019,_0x188374){const _0x1b615f=a35_0x4c14,_0x40b993=_0x2df019();while(!![]){try{const _0x54700a=parseInt(_0x1b615f(0x265))/0x1+-parseInt(_0x1b615f(0x23a))/0x2*(-parseInt(_0x1b615f(0x223))/0x3)+-parseInt(_0x1b615f(0x25c))/0x4*(-parseInt(_0x1b615f(0x1cf))/0x5)+-parseInt(_0x1b615f(0x1bb))/0x6+parseInt(_0x1b615f(0x218))/0x7*(-parseInt(_0x1b615f(0x267))/0x8)+parseInt(_0x1b615f(0x231))/0x9*(-parseInt(_0x1b615f(0x21f))/0xa)+parseInt(_0x1b615f(0x221))/0xb;if(_0x54700a===_0x188374)break;else _0x40b993['push'](_0x40b993['shift']());}catch(_0x5c2d6f){_0x40b993['push'](_0x40b993['shift']());}}}(a35_0x52bc,0x5a96a));const util=require(a35_0x4e3b5b(0x23d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a35_0x4e3b5b(0x1fe)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a35_0x4e3b5b(0x1da)),globals=require(a35_0x4e3b5b(0x1d2)),logger=require(a35_0x4e3b5b(0x238))['winstonLogger'],{shouldProcessEventForTesthub}=require(a35_0x4e3b5b(0x26b)),testHubConstants=require(a35_0x4e3b5b(0x1d6));exports['mochaHooks']={'beforeAll'(){const _0x52d9ef=a35_0x4e3b5b,_0xb0a85={'uHvUP':function(_0x477c5b,_0x2368cb,_0x4919ff,_0x515864){return _0x477c5b(_0x2368cb,_0x4919ff,_0x515864);},'uxDiN':_0x52d9ef(0x25d),'qVcFV':_0x52d9ef(0x1cb),'jaKOp':function(_0x39ecf5,_0x5f23b3,_0x15d6de){return _0x39ecf5(_0x5f23b3,_0x15d6de);},'lOPKq':_0x52d9ef(0x24d),'aMvGD':function(_0x46f653){return _0x46f653();},'VNxLy':function(_0x13d177,_0x165d61,_0x532e10){return _0x13d177(_0x165d61,_0x532e10);},'tzHLy':'index','VxyCo':_0x52d9ef(0x240)};PerformanceTester[_0x52d9ef(0x208)]();const _0x293cfd='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x52d9ef(0x1bc)],()=>{const _0x36a61e=_0x52d9ef;global[_0x36a61e(0x1f3)]=[],global[_0x36a61e(0x246)]=![],global[_0x36a61e(0x1ff)]=async()=>{const _0x2b3c5f=_0x36a61e;let _0x33448a=![];try{await global[_0x2b3c5f(0x24e)][0x0][_0x2b3c5f(0x270)],_0x33448a=!![],global['__sessionFailed']?await _0xb0a85[_0x2b3c5f(0x1ec)](markSessionStatus,global['__drivers'][0x0],_0xb0a85[_0x2b3c5f(0x1f2)],global[_0x2b3c5f(0x1f3)][_0x2b3c5f(0x206)](_0xb0a85[_0x2b3c5f(0x1cd)])):await _0xb0a85[_0x2b3c5f(0x1ea)](markSessionStatus,global[_0x2b3c5f(0x24e)][0x0],_0xb0a85[_0x2b3c5f(0x1c2)]);}catch(_0x39a9ec){logger[_0x2b3c5f(0x21d)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x39a9ec);}global['__error_messages__']=[],global[_0x2b3c5f(0x246)]=![];if(_0x33448a)try{try{_0xb0a85[_0x2b3c5f(0x1e8)](shouldProcessEventForTesthub)&&(global[_0x2b3c5f(0x24e)][0x0]&&await _0xb0a85[_0x2b3c5f(0x1ea)](sendPlatformDetails,global[_0x2b3c5f(0x24e)][0x0],this['currentTest']?this[_0x2b3c5f(0x24f)][_0x2b3c5f(0x1e7)]:null));}catch(_0x5bcf2e){logger[_0x2b3c5f(0x21d)](_0x2b3c5f(0x1f1)+_0x5bcf2e);}await global['__drivers'][0x0][_0x2b3c5f(0x211)]();}catch(_0x267760){logger[_0x2b3c5f(0x21d)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x267760);}};},{'platform':_0xb0a85[_0x52d9ef(0x241)](nestedKeyValue,global[_0x52d9ef(0x1eb)],[_0xb0a85['tzHLy']]),'hookType':_0xb0a85[_0x52d9ef(0x244)]})();},'beforeEach'(_0x1e7105){const _0x527417=a35_0x4e3b5b,_0x180ef6={'lzvPx':function(_0x2e899f,_0x546064){return _0x2e899f>_0x546064;},'XCixo':_0x527417(0x1c5),'LlmAd':function(_0x4ca584,_0x3cc7d9,_0x434f68){return _0x4ca584(_0x3cc7d9,_0x434f68);},'SqHdH':_0x527417(0x234),'ujDEj':function(_0x443dc4){return _0x443dc4();},'oNGYc':'isAccessibilityPlatform','CmRqr':function(_0x3864e7,_0x401917){return _0x3864e7===_0x401917;},'BuggU':_0x527417(0x1b6),'QeTtK':_0x527417(0x23b),'IIZOI':_0x527417(0x205),'RIywL':_0x527417(0x1fa),'UpNUG':_0x527417(0x21b),'NrATU':_0x527417(0x200),'avIDu':_0x527417(0x216)};globals['setGlobal'](_0x180ef6[_0x527417(0x203)],this[_0x527417(0x24f)][_0x527417(0x220)]()[_0x527417(0x206)](_0x180ef6[_0x527417(0x227)])),PerformanceTester[_0x527417(0x1d4)](PerformanceSdkEvents[_0x527417(0x1bc)],()=>{const _0x4591fb=_0x527417,_0x11a6d3={'kaXIL':function(_0x2325cf,_0x376a81){const _0x5002a1=a35_0x4c14;return _0x180ef6[_0x5002a1(0x1b5)](_0x2325cf,_0x376a81);},'gMtfZ':_0x180ef6[_0x4591fb(0x227)],'PQjiJ':function(_0x53a0a8,_0x4a98c8,_0x52779a){const _0x388660=_0x4591fb;return _0x180ef6[_0x388660(0x245)](_0x53a0a8,_0x4a98c8,_0x52779a);},'qiNAb':_0x180ef6[_0x4591fb(0x228)],'XJrOq':function(_0x249747){const _0x51a34e=_0x4591fb;return _0x180ef6[_0x51a34e(0x271)](_0x249747);},'lrmaO':function(_0x543ac9,_0x15b358){const _0x1040e6=_0x4591fb;return _0x180ef6[_0x1040e6(0x1b5)](_0x543ac9,_0x15b358);},'bmjOG':_0x180ef6[_0x4591fb(0x23c)],'apYcN':function(_0x56f1dc,_0x5c66a3){const _0x58fe4d=_0x4591fb;return _0x180ef6[_0x58fe4d(0x1ba)](_0x56f1dc,_0x5c66a3);},'MqEYq':_0x180ef6['BuggU'],'ngtGz':_0x180ef6[_0x4591fb(0x20c)],'jZTGb':_0x180ef6[_0x4591fb(0x242)],'VmbVm':_0x180ef6[_0x4591fb(0x1b8)],'DWSWy':function(_0xaef5d9){const _0x4d9f95=_0x4591fb;return _0x180ef6[_0x4d9f95(0x271)](_0xaef5d9);}},_0x3ebb60='browserstack internal helper hook';new Promise(async _0x222d52=>{const _0x27948c=_0x4591fb;let _0x148b21=!![];try{_0x11a6d3['kaXIL'](global[_0x27948c(0x24e)][_0x27948c(0x255)],0x1)&&(await global[_0x27948c(0x1ff)](),global['__drivers']['shift']()),_0x11a6d3[_0x27948c(0x230)](global[_0x27948c(0x24e)][0x0][_0x27948c(0x1fd)],0x0)&&(_0x148b21=![],await global[_0x27948c(0x1ff)]());}catch(_0x45c054){logger[_0x27948c(0x21d)](_0x27948c(0x259)+_0x45c054);}try{Array['isArray'](global[_0x27948c(0x24e)])&&global['__drivers'][0x0]&&(global[_0x27948c(0x24e)][0x0]['browserstackSessionName']=this['currentTest'][_0x27948c(0x220)]()['join'](_0x11a6d3['gMtfZ'])),global[_0x27948c(0x1e5)]=this[_0x27948c(0x24f)][_0x27948c(0x220)]()[_0x27948c(0x206)](_0x11a6d3[_0x27948c(0x22e)]);}catch(_0x37899f){logger['debug'](_0x27948c(0x26f)+_0x37899f);}this[_0x27948c(0x24f)][_0x27948c(0x225)]=_0x11a6d3[_0x27948c(0x217)](shouldScanTestForAccessibility,this[_0x27948c(0x24f)][_0x27948c(0x220)](),!![]),globals[_0x27948c(0x1f5)](_0x11a6d3[_0x27948c(0x212)],this[_0x27948c(0x24f)][_0x27948c(0x225)]),this[_0x27948c(0x24f)][_0x27948c(0x261)]=!![];if(_0x11a6d3[_0x27948c(0x1e0)](isAccessibilityAutomationSession)&&_0x148b21&&Array['isArray'](global[_0x27948c(0x24e)])&&_0x11a6d3[_0x27948c(0x268)](global['__drivers'][_0x27948c(0x255)],0x0)&&globals[_0x27948c(0x1ee)](_0x11a6d3[_0x27948c(0x26d)]))try{const _0x4e9925=await global[_0x27948c(0x24e)][0x0][_0x27948c(0x270)];if(_0x4e9925){let _0x55c4dd=!![];const _0x581e3c=await global[_0x27948c(0x24e)][0x0]['getCurrentUrl']();let _0x1e8548;try{_0x1e8548=new URL(_0x581e3c);}catch(_0x10a90f){_0x55c4dd=![];}_0x55c4dd=_0x11a6d3['apYcN'](_0x1e8548[_0x27948c(0x214)],_0x11a6d3[_0x27948c(0x272)])||_0x11a6d3['apYcN'](_0x1e8548[_0x27948c(0x214)],_0x11a6d3['ngtGz']),_0x55c4dd&&(this['currentTest'][_0x27948c(0x225)]&&logger[_0x27948c(0x1d9)](_0x11a6d3[_0x27948c(0x262)])),this[_0x27948c(0x24f)][_0x27948c(0x261)]=this[_0x27948c(0x24f)]['shouldScanTestForAccessibility'],this['currentTest'][_0x27948c(0x225)]&&logger[_0x27948c(0x1d9)](_0x11a6d3[_0x27948c(0x1c6)]);}}catch(_0x4786bd){logger['error'](_0x27948c(0x22d)+util[_0x27948c(0x250)](_0x4786bd));}_0x11a6d3[_0x27948c(0x1e0)](_0x222d52);})['then'](()=>{const _0x85fd90=_0x4591fb;_0x11a6d3[_0x85fd90(0x1c8)](_0x1e7105);});},{'platform':_0x180ef6[_0x527417(0x245)](nestedKeyValue,global[_0x527417(0x1eb)],[_0x180ef6['NrATU']]),'hookType':_0x180ef6[_0x527417(0x1c0)]})();},'afterEach'(_0x16f9ad){const _0x21de32=a35_0x4e3b5b,_0x4ebe93={'SQykB':function(_0x237834){return _0x237834();},'AbmWo':_0x21de32(0x1c5),'qXuKh':function(_0x43c79e,_0x48c219){return _0x43c79e!==_0x48c219;},'CIzTe':_0x21de32(0x24d),'CTfhq':function(_0xb274d6,_0x32d28d,_0x482d85){return _0xb274d6(_0x32d28d,_0x482d85);},'nxrdD':function(_0xe12d47,_0x458d87){return _0xe12d47+_0x458d87;},'TXavx':_0x21de32(0x277),'Jrrnb':_0x21de32(0x1e1),'cUknZ':_0x21de32(0x25e),'QvEDF':_0x21de32(0x1d9),'KABUe':function(_0x3b342d,_0x1cebe1){return _0x3b342d>_0x1cebe1;},'RBOCR':function(_0x40bd33,_0x5beaf4){return _0x40bd33===_0x5beaf4;},'fkJhE':_0x21de32(0x26a),'bNdTV':_0x21de32(0x1c4),'ajrIR':function(_0x1c3c0a,_0x2dca5b,_0x13f8b1,_0x44cd73){return _0x1c3c0a(_0x2dca5b,_0x13f8b1,_0x44cd73);},'rRGWE':_0x21de32(0x252),'DZHTK':_0x21de32(0x234),'SaEcv':_0x21de32(0x1c9),'duYAf':_0x21de32(0x22b),'vONoQ':'afterTest','ROBEc':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ImAQK':function(_0x2645b7){return _0x2645b7();},'Ovigc':function(_0x44f67d){return _0x44f67d();},'eQclE':function(_0x2fd214,_0x54db4f,_0x54b9f3){return _0x2fd214(_0x54db4f,_0x54b9f3);},'Qpkty':_0x21de32(0x21d),'wqPSo':_0x21de32(0x248),'uLKmu':_0x21de32(0x200),'JyABA':_0x21de32(0x1f0)},_0x2ca739='browserstack internal helper hook';this[_0x21de32(0x258)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4ebe93[_0x21de32(0x1ed)]]),global[_0x21de32(0x215)]=this[_0x21de32(0x24f)]['titlePath']()['join'](_0x4ebe93[_0x21de32(0x22a)]),PerformanceTester[_0x21de32(0x1d4)](PerformanceSdkEvents[_0x21de32(0x1bc)],()=>{const _0x4ef5dc=_0x21de32,_0x754644={'PeqFe':_0x4ebe93[_0x4ef5dc(0x22a)],'kIAKc':function(_0x5219ab,_0x5eb474){const _0x24eaf7=_0x4ef5dc;return _0x4ebe93[_0x24eaf7(0x1bf)](_0x5219ab,_0x5eb474);},'RWFhe':_0x4ebe93[_0x4ef5dc(0x1d3)],'kPWJb':function(_0x442c19,_0x2c666b,_0x4b16cd){const _0x460cb8=_0x4ef5dc;return _0x4ebe93[_0x460cb8(0x26e)](_0x442c19,_0x2c666b,_0x4b16cd);},'EPLci':function(_0x48e18a,_0x5a04cf){return _0x4ebe93['nxrdD'](_0x48e18a,_0x5a04cf);},'hJxvv':_0x4ebe93[_0x4ef5dc(0x253)],'VDAjW':_0x4ebe93[_0x4ef5dc(0x254)],'mkjBN':_0x4ebe93[_0x4ef5dc(0x1e4)],'xqKPg':_0x4ebe93[_0x4ef5dc(0x20a)],'hdGYt':function(_0x15bc70,_0x9c20ca){const _0xa2da4c=_0x4ef5dc;return _0x4ebe93[_0xa2da4c(0x1e2)](_0x15bc70,_0x9c20ca);},'duigL':function(_0xf30734,_0x3e8d19){const _0x1f84a4=_0x4ef5dc;return _0x4ebe93[_0x1f84a4(0x257)](_0xf30734,_0x3e8d19);},'AisfO':_0x4ebe93[_0x4ef5dc(0x224)],'axIzg':function(_0x1bdcd0,_0x4b30c7){const _0x1cedf3=_0x4ef5dc;return _0x4ebe93[_0x1cedf3(0x1e2)](_0x1bdcd0,_0x4b30c7);},'qWhqU':_0x4ebe93[_0x4ef5dc(0x236)],'EiqYL':function(_0x3142cf,_0x42faeb,_0x5aefc8,_0x9d7b80){return _0x4ebe93['ajrIR'](_0x3142cf,_0x42faeb,_0x5aefc8,_0x9d7b80);},'MGRpu':_0x4ebe93[_0x4ef5dc(0x247)],'BHnnw':_0x4ebe93['DZHTK'],'FxYbE':_0x4ebe93[_0x4ef5dc(0x23f)],'uzaLN':_0x4ebe93[_0x4ef5dc(0x233)],'YTBYW':_0x4ebe93[_0x4ef5dc(0x20f)],'ETOrJ':_0x4ebe93['ROBEc'],'fCBLt':function(_0x9949c9){const _0x559b90=_0x4ef5dc;return _0x4ebe93[_0x559b90(0x21a)](_0x9949c9);},'WMdgX':function(_0x17e245){const _0x140653=_0x4ef5dc;return _0x4ebe93[_0x140653(0x266)](_0x17e245);},'kfdyq':function(_0xad390b,_0x54f561,_0x52742a){const _0x6cce48=_0x4ef5dc;return _0x4ebe93[_0x6cce48(0x207)](_0xad390b,_0x54f561,_0x52742a);},'Xxgka':_0x4ebe93[_0x4ef5dc(0x1b7)],'XOsjk':function(_0xb237c8){return _0x4ebe93['SQykB'](_0xb237c8);}},_0x38b15e=async(_0x3db978,_0x412dbc)=>{const _0x1013dc=_0x4ef5dc;await global['__drivers'][0x0][_0x1013dc(0x20b)](_0x1013dc(0x213)+_0x3db978+_0x1013dc(0x1d8)+_0x412dbc+_0x1013dc(0x202));};new Promise(async _0x4d2b19=>{const _0x31d301=_0x4ef5dc,_0x255eae={'pHZGs':function(_0x3389cf,_0x40b49b){const _0x32d9d0=a35_0x4c14;return _0x754644[_0x32d9d0(0x276)](_0x3389cf,_0x40b49b);},'dbZbH':_0x754644[_0x31d301(0x209)],'IQmMT':function(_0x1a9d1a,_0xb535b0,_0x57c552){return _0x754644['kPWJb'](_0x1a9d1a,_0xb535b0,_0x57c552);},'VeWff':function(_0x5d1f5e,_0x3aa4cb){const _0x315c8b=_0x31d301;return _0x754644[_0x315c8b(0x274)](_0x5d1f5e,_0x3aa4cb);},'yvZGi':_0x754644[_0x31d301(0x1e6)],'DrAhm':_0x754644[_0x31d301(0x21c)],'pZQKv':function(_0x62f3f2,_0x17184f,_0x13aa20){const _0x26fd6a=_0x31d301;return _0x754644[_0x26fd6a(0x273)](_0x62f3f2,_0x17184f,_0x13aa20);},'AypRG':_0x754644['mkjBN'],'VMSFb':_0x754644[_0x31d301(0x24a)]};try{_0x754644[_0x31d301(0x1db)](global['__drivers'][_0x31d301(0x255)],0x1)&&(await global[_0x31d301(0x1ff)](),global[_0x31d301(0x24e)][_0x31d301(0x20e)](),global[_0x31d301(0x1f3)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x754644[_0x31d301(0x1be)](global[_0x31d301(0x232)],_0x754644['AisfO'])&&global[_0x31d301(0x24e)][0x0]){const _0xbe53fd=_0x754644['axIzg'](global[_0x31d301(0x1ca)][_0x31d301(0x255)],0x0)?!!global[_0x31d301(0x1ca)][0x0][_0x31d301(0x1f9)]||!!global[_0x31d301(0x1ca)][0x0][_0x754644[_0x31d301(0x235)]]:![],_0x4571e0={};_0x4571e0[_0x31d301(0x1f9)]=_0xbe53fd,await _0x754644[_0x31d301(0x1bd)](percyAutoCapture,global[_0x31d301(0x24e)][0x0],_0x754644[_0x31d301(0x1b9)],_0x4571e0);}}catch(_0x2d1919){logger['debug'](_0x31d301(0x1d5)+_0x2d1919);}!global[_0x31d301(0x269)]&&(await PerformanceTester[_0x31d301(0x1d4)](PerformanceAutEvents[_0x31d301(0x1d0)],async()=>{const _0x3504c6=_0x31d301;await global[_0x3504c6(0x24e)][0x0][_0x3504c6(0x20b)](_0x3504c6(0x20d)+JSON['stringify'](this['currentTest'][_0x3504c6(0x220)]()[_0x3504c6(0x206)](_0x754644[_0x3504c6(0x24b)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x31d301(0x1d4)](PerformanceAutEvents[_0x31d301(0x204)],async()=>{const _0x55d44c=_0x31d301,_0x100817=_0x255eae[_0x55d44c(0x260)](this[_0x55d44c(0x24f)][_0x55d44c(0x229)],_0x255eae[_0x55d44c(0x1ef)]);_0x100817?(global[_0x55d44c(0x246)]=!![],global['__error_messages__'][_0x55d44c(0x1c1)](this[_0x55d44c(0x24f)][_0x55d44c(0x275)][_0x55d44c(0x1f4)]),await _0x255eae[_0x55d44c(0x1f6)](_0x38b15e,JSON[_0x55d44c(0x1df)](_0x255eae['VeWff'](_0x255eae[_0x55d44c(0x256)],this[_0x55d44c(0x24f)][_0x55d44c(0x275)]['message'])),_0x255eae['DrAhm'])):await _0x255eae['pZQKv'](_0x38b15e,JSON[_0x55d44c(0x1df)](_0x255eae[_0x55d44c(0x210)]),_0x255eae[_0x55d44c(0x1fc)]);})();}catch(_0x2c321f){logger[_0x31d301(0x21d)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x2c321f);}try{if(this[_0x31d301(0x24f)][_0x31d301(0x261)]&&globals[_0x31d301(0x1ee)](_0x754644[_0x31d301(0x22f)])&&globals[_0x31d301(0x1ee)](_0x754644[_0x31d301(0x21e)])){logger[_0x31d301(0x1d9)](_0x754644[_0x31d301(0x1e9)]);const _0x4c14f={};_0x4c14f['thTestRunUuid']=this[_0x31d301(0x24f)]['testAnalyticsId'],_0x4c14f['thBuildUuid']=process['env'][testHubConstants[_0x31d301(0x1ce)][_0x31d301(0x1de)]],_0x4c14f['thJwtToken']=process[_0x31d301(0x25f)][testHubConstants[_0x31d301(0x1ce)]['BROWSERSTACK_TESTHUB_JWT']];const _0xbc0a39=_0x4c14f;logger[_0x31d301(0x21d)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x31d301(0x1df)](_0xbc0a39)),logger[_0x31d301(0x21d)](_0x754644[_0x31d301(0x263)]);const _0x59c95c={};_0x59c95c[_0x31d301(0x226)]=_0x754644[_0x31d301(0x1fb)],await PerformanceTester[_0x31d301(0x1d4)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x15bb5d=_0x31d301;logger[_0x15bb5d(0x21d)](util[_0x15bb5d(0x250)](await global[_0x15bb5d(0x24e)][0x0]['executeAsyncScript'](scripts[_0x15bb5d(0x1d1)],{'method':global[_0x15bb5d(0x1e5)]})));},_0x59c95c)(),await PerformanceTester[_0x31d301(0x1d4)](PerformanceA11yEvents[_0x31d301(0x219)],async()=>{const _0x493519=_0x31d301;await global[_0x493519(0x24e)][0x0][_0x493519(0x243)](scripts[_0x493519(0x24c)],_0xbc0a39);})(),logger['info'](_0x754644[_0x31d301(0x26c)]);}}catch(_0x546976){logger[_0x31d301(0x1e1)](_0x31d301(0x264)+this[_0x31d301(0x24f)][_0x31d301(0x220)]()+_0x31d301(0x278),_0x546976);}try{try{if(_0x754644[_0x31d301(0x1d7)](shouldProcessEventForTesthub)){global[_0x31d301(0x24e)][0x0]&&await _0x754644[_0x31d301(0x273)](sendPlatformDetails,global[_0x31d301(0x24e)][0x0],this[_0x31d301(0x24f)]?this[_0x31d301(0x24f)][_0x31d301(0x1e7)]:null);if(_0x754644[_0x31d301(0x1dc)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x31d301(0x25a)]);const _0x84342=_0x31d301(0x23e)+Date[_0x31d301(0x222)]();await _0x754644[_0x31d301(0x1c7)](_0x38b15e,JSON[_0x31d301(0x1df)](_0x84342),_0x754644[_0x31d301(0x249)]),PerformanceTester[_0x31d301(0x22c)](PerformanceO11yEvents[_0x31d301(0x25a)]);}}}catch(_0x219ac6){logger[_0x31d301(0x21d)](_0x31d301(0x1c3)+_0x219ac6),PerformanceTester[_0x31d301(0x22c)](PerformanceO11yEvents['SYNC'],![],_0x219ac6);}_0x754644[_0x31d301(0x239)](global[_0x31d301(0x24e)][0x0][_0x31d301(0x1fd)],0x0)&&await global[_0x31d301(0x1ff)]();}catch(_0x5bf461){logger[_0x31d301(0x21d)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5bf461);}_0x754644['XOsjk'](_0x4d2b19);})[_0x4ef5dc(0x201)](()=>{const _0x47ae1f=_0x4ef5dc;_0x4ebe93[_0x47ae1f(0x1f7)](_0x16f9ad);});},{'platform':_0x4ebe93['CTfhq'](nestedKeyValue,global[_0x21de32(0x1eb)],[_0x4ebe93['uLKmu']]),'hookType':_0x4ebe93[_0x21de32(0x1dd)]})();},'afterAll'(_0x4b98dc){const _0x5adb61=a35_0x4e3b5b,_0x10e20b={'dPmBd':function(_0xf3113b){return _0xf3113b();},'ohuUT':'Mocha','uHpiQ':function(_0x54132b,_0x3cfc2e,_0x394969){return _0x54132b(_0x3cfc2e,_0x394969);},'gvsna':_0x5adb61(0x200),'XBjSZ':_0x5adb61(0x237)},_0x2c2132='browserstack internal helper hook';this[_0x5adb61(0x258)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x10e20b[_0x5adb61(0x1f8)]]),PerformanceTester[_0x5adb61(0x1d4)](PerformanceSdkEvents[_0x5adb61(0x1bc)],()=>{const _0xb75231=_0x5adb61,_0x4e87af={'JRzAl':function(_0x1a69ac){const _0x4fdfbd=a35_0x4c14;return _0x10e20b[_0x4fdfbd(0x1cc)](_0x1a69ac);}};new Promise(async _0x260b3e=>{const _0x301a9d=a35_0x4c14;await global[_0x301a9d(0x1ff)](),_0x4e87af[_0x301a9d(0x251)](_0x260b3e);})['then']()[_0xb75231(0x25b)](()=>{_0x10e20b['dPmBd'](_0x4b98dc);});},{'platform':_0x10e20b['uHpiQ'](nestedKeyValue,global[_0x5adb61(0x1eb)],[_0x10e20b[_0x5adb61(0x1e3)]]),'hookType':_0x10e20b['XBjSZ']})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a36_0x11ca(_0x16ab1d,_0x40b362){const _0x456eb9=a36_0x456e();return a36_0x11ca=function(_0x11ca40,_0x2aabfc){_0x11ca40=_0x11ca40-0x71;let _0x486b5a=_0x456eb9[_0x11ca40];return _0x486b5a;},a36_0x11ca(_0x16ab1d,_0x40b362);}const a36_0x431395=a36_0x11ca;(function(_0x278c8d,_0x369828){const _0x5ab372=a36_0x11ca,_0x5efed4=_0x278c8d();while(!![]){try{const _0x5a7728=parseInt(_0x5ab372(0x9d))/0x1+parseInt(_0x5ab372(0x8f))/0x2+parseInt(_0x5ab372(0x8c))/0x3+parseInt(_0x5ab372(0xbd))/0x4+parseInt(_0x5ab372(0xa0))/0x5*(-parseInt(_0x5ab372(0x92))/0x6)+-parseInt(_0x5ab372(0xad))/0x7*(-parseInt(_0x5ab372(0x98))/0x8)+-parseInt(_0x5ab372(0x8b))/0x9;if(_0x5a7728===_0x369828)break;else _0x5efed4['push'](_0x5efed4['shift']());}catch(_0x4491f4){_0x5efed4['push'](_0x5efed4['shift']());}}}(a36_0x456e,0x4edff));const fs=require('fs'),path=require(a36_0x431395(0x9a)),{spawn}=require(a36_0x431395(0x81)),logger=require(a36_0x431395(0xab))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x1f8f15,_0xa2d95d)=>{const _0x7a2e0f=a36_0x431395,_0x51bcf1={'vxxOx':_0x7a2e0f(0x74),'CiPAl':_0x7a2e0f(0x83),'Gjxzt':function(_0x2c9176,_0x1e90f0){return _0x2c9176(_0x1e90f0);},'DrSbv':_0x7a2e0f(0x91)};let _0x406a13=null,_0x4996c8={};const _0x10b1d3=_0xa2d95d[_0x7a2e0f(0xb7)](_0x18b245=>_0x18b245===_0x7a2e0f(0x88));if(!helper[_0x7a2e0f(0x7e)](_0x1f8f15['config'])&&fs[_0x7a2e0f(0x87)](path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x1f8f15['config'])))_0x406a13=path['join'](process[_0x7a2e0f(0x8e)](),_0x1f8f15[_0x7a2e0f(0xb9)]),_0xa2d95d[_0x7a2e0f(0x7b)](_0x10b1d3,0x2);else{if(fs['existsSync'](path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1['vxxOx'])))_0x406a13=path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1[_0x7a2e0f(0x99)]);else fs[_0x7a2e0f(0x87)](path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1[_0x7a2e0f(0x7f)]))&&(_0x406a13=path[_0x7a2e0f(0x77)](process[_0x7a2e0f(0x8e)](),_0x51bcf1['CiPAl']));}return _0x406a13?(logger[_0x7a2e0f(0x84)](_0x7a2e0f(0xb5)+_0x406a13),_0x4996c8=_0x51bcf1[_0x7a2e0f(0xb6)](require,_0x406a13)):logger[_0x7a2e0f(0x84)](_0x51bcf1[_0x7a2e0f(0xa5)]),_0x4996c8;},removeExistingEnvs=_0x2f2574=>{const _0xc18fe7=a36_0x431395,_0x34c822={};_0x34c822[_0xc18fe7(0x76)]=function(_0x505896,_0x16f2b8){return _0x505896>_0x16f2b8;},_0x34c822[_0xc18fe7(0xa7)]=function(_0x53dd69,_0xe62360){return _0x53dd69>_0xe62360;};const _0x57d3a1=_0x34c822;let _0x2cbf7a=_0x2f2574[_0xc18fe7(0xb7)](_0x4816ae=>_0x4816ae===_0xc18fe7(0x94));_0x57d3a1[_0xc18fe7(0x76)](_0x2cbf7a,-0x1)&&_0x2f2574[_0xc18fe7(0x7b)](_0x2cbf7a,0x2),_0x2cbf7a=_0x2f2574[_0xc18fe7(0xb7)](_0x332da0=>_0x332da0==='-e'),_0x57d3a1[_0xc18fe7(0xa7)](_0x2cbf7a,-0x1)&&_0x2f2574[_0xc18fe7(0x7b)](_0x2cbf7a,0x2);};function run(_0xa79d79,_0x5a7365,_0x218d15){const _0x5d4d01=a36_0x431395,_0x28a9cd={'Rlzju':_0x5d4d01(0xaf),'FITmx':function(_0x2f015c,_0x34d637){return _0x2f015c+_0x34d637;},'FjYwz':'test_settings','KbTeZ':function(_0x4474fb,_0x34311a,_0xf9a284){return _0x4474fb(_0x34311a,_0xf9a284);},'lzyXO':_0x5d4d01(0xbc),'VSIPr':_0x5d4d01(0xa6),'OcWgw':function(_0x5cb6e0,_0x1e5c78){return _0x5cb6e0===_0x1e5c78;},'ccJCy':_0x5d4d01(0xb3),'ZPIdY':function(_0x2a8598,_0x51c4ce){return _0x2a8598(_0x51c4ce);},'Bowxp':function(_0x4fa1f1,_0x3c7bd6,_0x8923e1,_0x521b18){return _0x4fa1f1(_0x3c7bd6,_0x8923e1,_0x521b18);},'JwPgw':'nightwatch.cmd','RHNrY':_0x5d4d01(0x88),'XSSPU':'--env','pDIjq':'inherit','vNqji':_0x5d4d01(0xb2)};if(!_0x218d15[_0x5d4d01(0xb9)])return;const _0x5f1c7f=_0x28a9cd[_0x5d4d01(0x8d)](getUserNightwatchConfigs,_0xa79d79,_0x5a7365),_0x56736d={};_0x56736d[_0x5d4d01(0x73)]=![];const _0x48e1ef={};_0x48e1ef[_0x5d4d01(0x9c)]=_0x28a9cd[_0x5d4d01(0xa8)],_0x48e1ef[_0x5d4d01(0xbb)]=0x1bb;const _0x5b88aa={};_0x5b88aa[_0x5d4d01(0x82)]=_0x56736d,_0x5b88aa[_0x5d4d01(0xb4)]=_0x48e1ef;const _0x3e2fd8=_0x5b88aa;logger[_0x5d4d01(0x84)](_0x28a9cd[_0x5d4d01(0x7a)]);const _0x4d1c8f={..._0x5f1c7f},_0xb81944=_0x4d1c8f,_0x28b864=helper[_0x5d4d01(0x79)](_0x218d15[_0x5d4d01(0xb9)]),_0x21fea9=[];_0x218d15['config'][_0x5d4d01(0x85)][_0x5d4d01(0x9b)]((_0x149e96,_0xd1385d)=>{const _0x5b6fe7=_0x5d4d01;_0x28b864?_0x21fea9[_0x5b6fe7(0x7c)](helper['modifyBrowserStackW3CCaps'](_0x218d15[_0x5b6fe7(0xb9)],_0x28a9cd[_0x5b6fe7(0x7d)],_0xd1385d)):_0x21fea9[_0x5b6fe7(0x7c)](helper[_0x5b6fe7(0x97)](_0x218d15[_0x5b6fe7(0xb9)],_0x28a9cd['Rlzju'],_0xd1385d));});const _0x2f157f={},_0x5a93bf=[];_0xa79d79[_0x5d4d01(0xb0)]=_0xa79d79['env']||_0xa79d79['e'];const _0xe8121f=_0xa79d79['env']?_0xa79d79[_0x5d4d01(0xb0)][_0x5d4d01(0x95)]()['split'](',')[_0x5d4d01(0x90)](_0x1aac36=>_0x1aac36[_0x5d4d01(0x95)]())[_0x5d4d01(0x93)](_0x40763a=>_0x40763a!==''):[''];_0x28a9cd[_0x5d4d01(0x80)](_0xe8121f[_0x5d4d01(0x75)],0x0)&&_0xe8121f[_0x5d4d01(0x7c)]('');_0xe8121f[_0x5d4d01(0x9b)](_0x2eacec=>{const _0x1220b1=_0x5d4d01,_0x21cfff={'zIrUx':function(_0x560a04,_0x20ff91){return _0x28a9cd['FITmx'](_0x560a04,_0x20ff91);},'arCDh':_0x28a9cd[_0x1220b1(0x89)]};_0x21fea9[_0x1220b1(0x9b)](_0x19ffd2=>{const _0x4fec53=_0x1220b1;let _0x4e9796=_0x21cfff[_0x4fec53(0x9e)](helper['getPlatformName'](_0x19ffd2,'_'),'_'+Date['now']());_0x2eacec&&(_0x4e9796+='_'+_0x2eacec);if(_0x2eacec&&(!_0x5f1c7f[_0x21cfff[_0x4fec53(0xaa)]]||!_0x5f1c7f[_0x21cfff['arCDh']][_0x2eacec]))return;const _0x2fe440={..._0x3e2fd8};_0x2fe440[_0x4fec53(0x8a)]=_0x19ffd2;const _0x196b19=_0x2fe440;_0x2f157f[_0x4e9796]=_0x2eacec?helper[_0x4fec53(0xb8)](_0x5f1c7f[_0x21cfff[_0x4fec53(0xaa)]][_0x2eacec],_0x196b19):_0x196b19,_0x5a93bf[_0x4fec53(0x7c)](_0x4e9796);});});!_0xb81944[_0x5d4d01(0xb1)]&&(_0xb81944[_0x5d4d01(0xb1)]={});_0xb81944[_0x5d4d01(0xb1)]={..._0xb81944[_0x5d4d01(0xb1)],..._0x2f157f};const _0x55379f=path[_0x5d4d01(0x77)](__dirname,_0x28a9cd[_0x5d4d01(0x96)]);fs['writeFileSync'](_0x55379f,JSON[_0x5d4d01(0xa3)](_0xb81944)),_0x28a9cd[_0x5d4d01(0xba)](removeExistingEnvs,_0x5a7365);const _0x38ce67=_0x28a9cd[_0x5d4d01(0xa9)](spawn,/^win/[_0x5d4d01(0x9f)](process[_0x5d4d01(0x78)])?_0x28a9cd['JwPgw']:_0x28a9cd[_0x5d4d01(0x7d)],[_0x28a9cd[_0x5d4d01(0x86)],_0x55379f,..._0x5a7365['slice'](0x1),_0x28a9cd[_0x5d4d01(0xa1)],_0x5a93bf['join'](',')],{'stdio':_0x28a9cd[_0x5d4d01(0xbe)]});_0x38ce67['on'](_0x28a9cd[_0x5d4d01(0xae)],async _0x14a867=>{const _0x5f2331=_0x5d4d01;logger[_0x5f2331(0x72)](_0x5f2331(0xac)+_0x14a867),logger['info'](_0x5f2331(0xa2)+_0x55379f),fs[_0x5f2331(0x71)](_0x55379f);});}function a36_0x456e(){const _0x8fa55=['Getting\x20your\x20nightwatch\x20configs\x20from\x20','Gjxzt','findIndex','mergeDeep','config','ZPIdY','port','hub.browserstack.com','2267964gHDGUw','pDIjq','unlinkSync','debug','start_process','nightwatch.conf.js','length','WJGMB','join','platform','useW3C','VSIPr','splice','push','Rlzju','isUndefined','CiPAl','OcWgw','child_process','webdriver','nightwatch.json','info','platforms','RHNrY','existsSync','--config','FjYwz','desiredCapabilities','9308115nBIgHP','1024125tooVqV','KbTeZ','cwd','640998Tpbuvz','map','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','296214HZEnkF','filter','--env','trim','ccJCy','modifyBrowserStackCaps','367176DaOhgx','vxxOx','path','forEach','host','293908TejJGI','zIrUx','test','40IitnUa','XSSPU','Deleting\x20','stringify','exports','DrSbv','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','RtkLa','lzyXO','Bowxp','arCDh','../../helpers/logger','child\x20process\x20exited\x20with\x20code\x20','35AvqRxL','vNqji','nightwatch','env','test_settings','close','nightwatch-browserstack.json','selenium'];a36_0x456e=function(){return _0x8fa55;};return a36_0x456e();}module[a36_0x431395(0xa4)]=run;
2
+ 'use strict';const a36_0x364fd9=a36_0x3650;(function(_0x134cae,_0x19f81d){const _0x14d497=a36_0x3650,_0x413d61=_0x134cae();while(!![]){try{const _0x4c718b=-parseInt(_0x14d497(0xc5))/0x1*(parseInt(_0x14d497(0xd1))/0x2)+parseInt(_0x14d497(0xe0))/0x3*(parseInt(_0x14d497(0xba))/0x4)+parseInt(_0x14d497(0xca))/0x5*(-parseInt(_0x14d497(0xac))/0x6)+parseInt(_0x14d497(0xce))/0x7+parseInt(_0x14d497(0xbc))/0x8*(-parseInt(_0x14d497(0xb4))/0x9)+parseInt(_0x14d497(0xa9))/0xa+parseInt(_0x14d497(0xe1))/0xb;if(_0x4c718b===_0x19f81d)break;else _0x413d61['push'](_0x413d61['shift']());}catch(_0xb87d3){_0x413d61['push'](_0x413d61['shift']());}}}(a36_0x6b96,0x6cef4));function a36_0x3650(_0x242948,_0x28ae49){const _0x6b9658=a36_0x6b96();return a36_0x3650=function(_0x365019,_0x4c1021){_0x365019=_0x365019-0xa5;let _0x35d80c=_0x6b9658[_0x365019];return _0x35d80c;},a36_0x3650(_0x242948,_0x28ae49);}const fs=require('fs'),path=require('path'),{spawn}=require(a36_0x364fd9(0xab)),logger=require(a36_0x364fd9(0xc7))[a36_0x364fd9(0xcb)],{default:BrowserStackSetup}=require(a36_0x364fd9(0xd6)),helper=require('../../helpers/helper'),constants=require(a36_0x364fd9(0xda)),getUserNightwatchConfigs=(_0x45553c,_0x31cede)=>{const _0xcee46=a36_0x364fd9,_0x278f1b={'DTuhj':'nightwatch.conf.js','bafYG':_0xcee46(0xc0),'Acqnd':function(_0x404a81,_0x3a2e53){return _0x404a81(_0x3a2e53);},'UDfJc':_0xcee46(0xbf)};let _0xf9c6ae=null,_0x4f1182={};const _0x18a12b=_0x31cede[_0xcee46(0xea)](_0x523c2b=>_0x523c2b==='--config');if(!helper[_0xcee46(0xa8)](_0x45553c['config'])&&fs['existsSync'](path[_0xcee46(0xe8)](process[_0xcee46(0xbb)](),_0x45553c[_0xcee46(0xde)])))_0xf9c6ae=path[_0xcee46(0xe8)](process[_0xcee46(0xbb)](),_0x45553c['config']),_0x31cede[_0xcee46(0xec)](_0x18a12b,0x2);else{if(fs['existsSync'](path[_0xcee46(0xe8)](process['cwd'](),_0x278f1b[_0xcee46(0xbd)])))_0xf9c6ae=path[_0xcee46(0xe8)](process[_0xcee46(0xbb)](),_0x278f1b[_0xcee46(0xbd)]);else fs[_0xcee46(0xe7)](path['join'](process[_0xcee46(0xbb)](),_0x278f1b[_0xcee46(0xb0)]))&&(_0xf9c6ae=path[_0xcee46(0xe8)](process['cwd'](),_0x278f1b['bafYG']));}return _0xf9c6ae?(logger[_0xcee46(0xdf)](_0xcee46(0xa5)+_0xf9c6ae),_0x4f1182=_0x278f1b['Acqnd'](require,_0xf9c6ae)):logger[_0xcee46(0xdf)](_0x278f1b['UDfJc']),_0x4f1182;},removeExistingEnvs=_0x1a67b3=>{const _0x1c946e=a36_0x364fd9,_0x5378a0={};_0x5378a0[_0x1c946e(0xaa)]=function(_0x593515,_0x3e5a52){return _0x593515>_0x3e5a52;},_0x5378a0[_0x1c946e(0xcc)]=function(_0x1f2900,_0x3dd49f){return _0x1f2900>_0x3dd49f;};const _0x4ee672=_0x5378a0;let _0x54fa6f=_0x1a67b3['findIndex'](_0x143479=>_0x143479===_0x1c946e(0xd5));_0x4ee672[_0x1c946e(0xaa)](_0x54fa6f,-0x1)&&_0x1a67b3['splice'](_0x54fa6f,0x2),_0x54fa6f=_0x1a67b3[_0x1c946e(0xea)](_0x54c63c=>_0x54c63c==='-e'),_0x4ee672[_0x1c946e(0xcc)](_0x54fa6f,-0x1)&&_0x1a67b3[_0x1c946e(0xec)](_0x54fa6f,0x2);};function a36_0x6b96(){const _0x1ff264=['qCXMn','689665eWkznE','WJBYt','../../helpers/logger','length','hub.browserstack.com','1945bKqEDK','winstonLogger','TvcEL','slice','828583rudEat','YLNzu','useW3C','2LKmDLq','split','env','WOjXR','--env','../../helpers/BrowserStackSetup','modifyBrowserStackW3CCaps','debug','close','../utils/constants','mergeDeep','yNPbE','ApcLg','config','info','3AuEfEX','1803901EhsXYD','nightwatch-browserstack.json','unlinkSync','desiredCapabilities','webdriver','bkXxK','existsSync','join','forEach','findIndex','stringify','splice','Getting\x20your\x20nightwatch\x20configs\x20from\x20','selenium','--config','isUndefined','8718580NjgBFc','WbPlD','child_process','714OVUsFt','xUQZv','test_settings','filter','bafYG','tllVq','test','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','18ljAweI','child\x20process\x20exited\x20with\x20code\x20','map','trim','platform','push','228328QnRQyg','cwd','116592eIHpPe','DTuhj','writeFileSync','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.json','UdUnW','nightwatch.cmd','nightwatch'];a36_0x6b96=function(){return _0x1ff264;};return a36_0x6b96();}function run(_0x1dcb5a,_0x381967,_0x24dd09){const _0x1d1517=a36_0x364fd9,_0x81ed81={'xUQZv':_0x1d1517(0xc3),'ripjf':function(_0xa07027,_0x5102c1){return _0xa07027+_0x5102c1;},'tllVq':'test_settings','EfHiA':function(_0x1878a3,_0x382628,_0xfeea64){return _0x1878a3(_0x382628,_0xfeea64);},'yNPbE':_0x1d1517(0xc9),'Nndnx':_0x1d1517(0xb3),'xYadX':function(_0x4a4043,_0x3d802f){return _0x4a4043===_0x3d802f;},'UdUnW':_0x1d1517(0xe2),'bkXxK':function(_0x486b0c,_0x454c57){return _0x486b0c(_0x454c57);},'WOjXR':function(_0x5aa9df,_0x30f10e,_0x135395,_0x331d45){return _0x5aa9df(_0x30f10e,_0x135395,_0x331d45);},'qCXMn':_0x1d1517(0xc2),'ApcLg':_0x1d1517(0xa7),'xZuBH':_0x1d1517(0xd5),'WJBYt':'inherit','YLNzu':_0x1d1517(0xd9)};if(!_0x24dd09['config'])return;const _0xe2ec46=_0x81ed81['EfHiA'](getUserNightwatchConfigs,_0x1dcb5a,_0x381967),_0x26b608={};_0x26b608['start_process']=![];const _0x12a34d={};_0x12a34d['host']=_0x81ed81[_0x1d1517(0xdc)],_0x12a34d['port']=0x1bb;const _0x1a37c3={};_0x1a37c3[_0x1d1517(0xe5)]=_0x26b608,_0x1a37c3[_0x1d1517(0xa6)]=_0x12a34d;const _0x45a2c6=_0x1a37c3;logger[_0x1d1517(0xdf)](_0x81ed81['Nndnx']);const _0x282658={..._0xe2ec46},_0x1b7ae5=_0x282658,_0x174b57=helper[_0x1d1517(0xd0)](_0x24dd09[_0x1d1517(0xde)]),_0x4de1d7=[];_0x24dd09[_0x1d1517(0xde)]['platforms'][_0x1d1517(0xe9)]((_0x48239b,_0x1ca06d)=>{const _0xde891=_0x1d1517;_0x174b57?_0x4de1d7[_0xde891(0xb9)](helper[_0xde891(0xd7)](_0x24dd09['config'],_0x81ed81[_0xde891(0xad)],_0x1ca06d)):_0x4de1d7[_0xde891(0xb9)](helper['modifyBrowserStackCaps'](_0x24dd09['config'],_0x81ed81[_0xde891(0xad)],_0x1ca06d));});const _0x519a42={},_0x44b65f=[];_0x1dcb5a['env']=_0x1dcb5a[_0x1d1517(0xd3)]||_0x1dcb5a['e'];const _0x251fec=_0x1dcb5a['env']?_0x1dcb5a[_0x1d1517(0xd3)][_0x1d1517(0xb7)]()[_0x1d1517(0xd2)](',')[_0x1d1517(0xb6)](_0x3242f7=>_0x3242f7['trim']())[_0x1d1517(0xaf)](_0x2a208e=>_0x2a208e!==''):[''];_0x81ed81['xYadX'](_0x251fec[_0x1d1517(0xc8)],0x0)&&_0x251fec['push']('');_0x251fec[_0x1d1517(0xe9)](_0x2bdd80=>{const _0x31a3fb=_0x1d1517;_0x4de1d7[_0x31a3fb(0xe9)](_0x4f7678=>{const _0x3f7586=_0x31a3fb;let _0x2fb237=_0x81ed81['ripjf'](helper['getPlatformName'](_0x4f7678,'_'),'_'+Date['now']());_0x2bdd80&&(_0x2fb237+='_'+_0x2bdd80);if(_0x2bdd80&&(!_0xe2ec46[_0x81ed81[_0x3f7586(0xb1)]]||!_0xe2ec46[_0x81ed81[_0x3f7586(0xb1)]][_0x2bdd80]))return;const _0xd739e5={..._0x45a2c6};_0xd739e5[_0x3f7586(0xe4)]=_0x4f7678;const _0x83f0ff=_0xd739e5;_0x519a42[_0x2fb237]=_0x2bdd80?helper[_0x3f7586(0xdb)](_0xe2ec46[_0x81ed81[_0x3f7586(0xb1)]][_0x2bdd80],_0x83f0ff):_0x83f0ff,_0x44b65f[_0x3f7586(0xb9)](_0x2fb237);});});!_0x1b7ae5[_0x1d1517(0xae)]&&(_0x1b7ae5[_0x1d1517(0xae)]={});_0x1b7ae5[_0x1d1517(0xae)]={..._0x1b7ae5['test_settings'],..._0x519a42};const _0x1b96dc=path[_0x1d1517(0xe8)](__dirname,_0x81ed81[_0x1d1517(0xc1)]);fs[_0x1d1517(0xbe)](_0x1b96dc,JSON[_0x1d1517(0xeb)](_0x1b7ae5)),_0x81ed81[_0x1d1517(0xe6)](removeExistingEnvs,_0x381967);const _0x59e078=_0x81ed81[_0x1d1517(0xd4)](spawn,/^win/[_0x1d1517(0xb2)](process[_0x1d1517(0xb8)])?_0x81ed81[_0x1d1517(0xc4)]:_0x81ed81['xUQZv'],[_0x81ed81[_0x1d1517(0xdd)],_0x1b96dc,..._0x381967[_0x1d1517(0xcd)](0x1),_0x81ed81['xZuBH'],_0x44b65f['join'](',')],{'stdio':_0x81ed81[_0x1d1517(0xc6)]});_0x59e078['on'](_0x81ed81[_0x1d1517(0xcf)],async _0x1123b2=>{const _0x584bb4=_0x1d1517;logger[_0x584bb4(0xd8)](_0x584bb4(0xb5)+_0x1123b2),logger['info']('Deleting\x20'+_0x1b96dc),fs[_0x584bb4(0xe3)](_0x1b96dc);});}module['exports']=run;
@@ -1 +1 @@
1
- const a37_0x165b54=a37_0x596e;(function(_0x4492c7,_0x21b483){const _0x636026=a37_0x596e,_0x1f3767=_0x4492c7();while(!![]){try{const _0x2cdc92=parseInt(_0x636026(0x161))/0x1*(parseInt(_0x636026(0x1aa))/0x2)+parseInt(_0x636026(0x18a))/0x3*(parseInt(_0x636026(0x18d))/0x4)+-parseInt(_0x636026(0x1c8))/0x5+-parseInt(_0x636026(0x1a8))/0x6*(-parseInt(_0x636026(0x1ab))/0x7)+parseInt(_0x636026(0x194))/0x8+parseInt(_0x636026(0x1ad))/0x9+parseInt(_0x636026(0x1ce))/0xa*(-parseInt(_0x636026(0x17b))/0xb);if(_0x2cdc92===_0x21b483)break;else _0x1f3767['push'](_0x1f3767['shift']());}catch(_0x34ea70){_0x1f3767['push'](_0x1f3767['shift']());}}}(a37_0x19cf,0x23c0d));function a37_0x596e(_0xb275ee,_0x2c8ea3){const _0x19cf5d=a37_0x19cf();return a37_0x596e=function(_0x596ef5,_0x4aab22){_0x596ef5=_0x596ef5-0x157;let _0x154f10=_0x19cf5d[_0x596ef5];return _0x154f10;},a37_0x596e(_0xb275ee,_0x2c8ea3);}function a37_0x19cf(){const _0x4beb70=['accessibilityOptions.includeIssueType.needsReview','includeIssueType','wsEndpoint','command','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jyccs','koTrE','JIpdK','hTQTK','AZVHH','Vqcny','No\x20summaryResults\x20found.','executeScript','browser','rCYky','deviceName','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','No\x20accessibility\x20results\x20were\x20found.','404415wunNZy','bstackSdkArgs','ilzWL','getAccessibilityResultsSummary','AeKsQ','MCxdR','3340GQntAO','project','performScan','currentTest','sFBDo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','nhInH','accessibilityOptions.includeIssueType.bestPractice','accessibilityOptions','use','DGsPJ','latest','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','warn','715uBqhOX','winstonLogger','debug','XwgMj','WvZDZ','processAccessibilityCaps','HNuFq','accessibilityOptions.authToken','\x20page:\x20','scannerProcessingTimeout','accessibilityOptions.wcagVersion','FHjGA','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','name','../../helpers/accessibility-automation/scripts','stringify','constructor','accessibilityPlatform','PERFORM_SCAN','../../helpers/helper','replace','measureWrapper','wXxZX','tbTNQ','YcNEB','setAccessibilityCapabilities','20801JeIWXU','../../helpers/logger','platformValidation','BS_A11Y_JWT','browser_version','gJFKl','Okrjh','evaluate','scannerVersion','format','browserStackEvaluate','jXhid','Ykopm','browserName','xQhcY','122127wlSznB','wcagVersion','browserstack.accessibility','20dAUoQf','ZAXJv','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','OzRAV','WebDriver','Playwright','1790672EzltSW','awMan','executeAsyncScript','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','LWXIa','env','testInfo','bestPractice','includes','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserStackExecuteDriver','WzPqf','QPiRF','connectOptions','(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','../../helpers/performance/constants','mkRZl','IQnrl','QUFte','6qHVphw','error','446gesWES','831859sdUyiX','Performing\x20scan\x20with\x20method:\x20','1379349YUiVMy','zqBkR','../../helpers/accessibility-automation/helper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','chrome','util','ZYCFS','accessibilityOptions.scannerProcessingTimeout','playwright-chromium'];a37_0x19cf=function(){return _0x4beb70;};return a37_0x19cf();}const util=require(a37_0x165b54(0x1b2)),logger=require(a37_0x165b54(0x17c))[a37_0x165b54(0x162)],{isAccessibilityAutomationSession}=require(a37_0x165b54(0x1af)),{isUndefined,isBrowserstackInfra}=require(a37_0x165b54(0x174)),scripts=require(a37_0x165b54(0x16f)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x165b54(0x1a4));exports[a37_0x165b54(0x185)]=async(_0x2889c4,_0x506a6b,_0x46da73={})=>{const _0x48c825=a37_0x165b54,_0x31759c={};_0x31759c[_0x48c825(0x180)]=_0x48c825(0x1c9);const _0x49322c=_0x31759c;return await _0x2889c4[_0x48c825(0x182)]('(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'+_0x506a6b['replace'](/arguments/g,_0x49322c[_0x48c825(0x180)])+_0x48c825(0x15f)+JSON['stringify'](_0x46da73)+')');},exports[a37_0x165b54(0x19f)]=async(_0x10f10b,_0x4924a4,_0x3639fe={})=>{const _0x24ef9f=a37_0x165b54,_0x35fc9b={};_0x35fc9b[_0x24ef9f(0x1b3)]=function(_0x52bcff,_0x588a1f){return _0x52bcff===_0x588a1f;},_0x35fc9b['zqBkR']=_0x24ef9f(0x192),_0x35fc9b[_0x24ef9f(0x189)]=_0x24ef9f(0x193),_0x35fc9b['EIXWI']=_0x24ef9f(0x1c9);const _0x924007=_0x35fc9b;if(_0x924007['ZYCFS'](_0x10f10b[_0x24ef9f(0x171)][_0x24ef9f(0x16e)],_0x924007[_0x24ef9f(0x1ae)]))return await _0x10f10b[_0x24ef9f(0x196)](_0x4924a4,_0x3639fe);else{if(_0x924007[_0x24ef9f(0x1b3)](_0x10f10b[_0x24ef9f(0x171)][_0x24ef9f(0x16e)],_0x924007['xQhcY']))return await _0x10f10b[_0x24ef9f(0x1c2)](_0x24ef9f(0x1a3)+_0x4924a4[_0x24ef9f(0x175)](/arguments/g,_0x924007['EIXWI'])+_0x24ef9f(0x1c6)+JSON['stringify'](_0x3639fe)+')');}},exports[a37_0x165b54(0x17a)]=async _0x5a7134=>{const _0x5f3287=a37_0x165b54,_0x4b3cd5={};_0x4b3cd5[_0x5f3287(0x187)]=_0x5f3287(0x16b),_0x4b3cd5[_0x5f3287(0x198)]=_0x5f3287(0x1b4),_0x4b3cd5['Vqcny']=_0x5f3287(0x15a),_0x4b3cd5[_0x5f3287(0x1cd)]=_0x5f3287(0x1b6),_0x4b3cd5[_0x5f3287(0x164)]=_0x5f3287(0x168),_0x4b3cd5[_0x5f3287(0x1a5)]='accessibilityOptions.scannerVersion';const _0x2ecd47=_0x4b3cd5;_0x5a7134[_0x5f3287(0x15b)]&&(_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x18b)]&&(_0x5a7134[_0x2ecd47['Ykopm']]=_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x18b)]),_0x5a7134[_0x5f3287(0x15b)]['scannerProcessingTimeout']&&(_0x5a7134[_0x2ecd47['LWXIa']]=_0x5a7134['accessibilityOptions'][_0x5f3287(0x16a)]),_0x5a7134['accessibilityOptions'][_0x5f3287(0x1b7)]&&(_0x5a7134[_0x2ecd47[_0x5f3287(0x1c0)]]=_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x1b7)][_0x5f3287(0x19b)],_0x5a7134[_0x2ecd47[_0x5f3287(0x1cd)]]=_0x5a7134[_0x5f3287(0x15b)][_0x5f3287(0x1b7)]['needsReview']));const _0x5d883e=JSON['parse'](process[_0x5f3287(0x199)][_0x5f3287(0x19d)])[_0x5f3287(0x183)];_0x5a7134[_0x2ecd47[_0x5f3287(0x164)]]=process['env'][_0x5f3287(0x17e)],_0x5a7134[_0x2ecd47[_0x5f3287(0x1a5)]]=_0x5d883e,delete _0x5a7134[_0x5f3287(0x15b)];},exports['getAccessibilityResults']=async _0x334981=>{const _0x80a99a=a37_0x165b54,_0x403eb9={};_0x403eb9[_0x80a99a(0x157)]=_0x80a99a(0x1c7),_0x403eb9[_0x80a99a(0x1ca)]=_0x80a99a(0x1b0);const _0x262748=_0x403eb9;if(global[_0x80a99a(0x172)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x334981,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x334981,scripts.getResults);})();return res;}catch{return logger[_0x80a99a(0x1a9)](_0x262748[_0x80a99a(0x157)]),[];}else return logger[_0x80a99a(0x160)](_0x262748['ilzWL']),[];},exports[a37_0x165b54(0x1d0)]=async(_0x537880,_0x71e42c='')=>{const _0x112a37=a37_0x165b54;logger[_0x112a37(0x163)](_0x112a37(0x1ac)+_0x71e42c+_0x112a37(0x169)+_0x537880);if(global['accessibilityPlatform'])return await PerformanceTester[_0x112a37(0x176)](PerformanceA11yEvents[_0x112a37(0x173)],async()=>{const _0x44f9cc=_0x112a37,_0x592b51={};_0x592b51[_0x44f9cc(0x1b9)]=_0x71e42c,await exports[_0x44f9cc(0x185)](_0x537880,scripts[_0x44f9cc(0x1d0)],_0x592b51);},{'command':_0x71e42c})();},exports[a37_0x165b54(0x1cb)]=async _0x6862d8=>{const _0x2bffd2=a37_0x165b54,_0x2c98e2={};_0x2c98e2[_0x2bffd2(0x177)]=_0x2bffd2(0x1c1),_0x2c98e2[_0x2bffd2(0x179)]=_0x2bffd2(0x18f);const _0x412e7d=_0x2c98e2;if(global[_0x2bffd2(0x172)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x6862d8,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x6862d8,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2bffd2(0x163)](_0x412e7d[_0x2bffd2(0x177)]),{};}else return logger[_0x2bffd2(0x160)](_0x412e7d['YcNEB']),{};},exports[a37_0x165b54(0x17d)]=async _0x13d0e9=>{const _0xd6b462=a37_0x165b54,_0x229424={'hEFPN':function(_0x92011a,_0x1ab32e){return _0x92011a!==_0x1ab32e;},'rrFTY':_0xd6b462(0x158),'DGsPJ':_0xd6b462(0x1b1),'awMan':_0xd6b462(0x1b5),'FHjGA':'chromium','rCYky':_0xd6b462(0x19e),'zNbMO':function(_0x420b76,_0xd35fbf){return _0x420b76(_0xd35fbf);},'epZoN':function(_0x3ea813){return _0x3ea813();},'ZAXJv':function(_0x129b6f,_0x3690e0){return _0x129b6f<_0x3690e0;},'uIxLf':_0xd6b462(0x190),'fWzqX':function(_0x54031a,_0x105688){return _0x54031a===_0x105688;},'iUCuk':_0xd6b462(0x15e),'IQnrl':function(_0x4e257b,_0x2b3733){return _0x4e257b>_0x2b3733;},'WzPqf':_0xd6b462(0x1ba)};try{if(!_0x229424['hEFPN'](_0x13d0e9[_0xd6b462(0x1c5)],''))return logger[_0xd6b462(0x160)](_0x229424['rrFTY']),![];const _0x31a1d9=_0x13d0e9[_0xd6b462(0x1c3)];if(![_0x229424[_0xd6b462(0x15d)],_0x229424[_0xd6b462(0x195)],_0x229424[_0xd6b462(0x16c)]][_0xd6b462(0x19c)](_0x31a1d9))return logger[_0xd6b462(0x160)](_0x229424[_0xd6b462(0x1c4)]),![];const _0x403eb2=_0x229424['zNbMO'](parseInt,_0x13d0e9[_0xd6b462(0x17f)]);!_0x229424['epZoN'](isBrowserstackInfra)&&(!_0x229424[_0xd6b462(0x18e)](_0x403eb2,0x64)&&logger['warn'](_0x229424['uIxLf']));if(!(_0x229424['fWzqX'](_0x403eb2,_0x229424['iUCuk'])||_0x229424[_0xd6b462(0x1a6)](_0x403eb2,0x5e)))return logger[_0xd6b462(0x160)](_0x229424[_0xd6b462(0x1a0)]),![];}catch(_0x1c015e){logger['debug'](_0xd6b462(0x197)+util[_0xd6b462(0x184)](_0x1c015e));}return!![];},exports[a37_0x165b54(0x166)]=(_0x32e332,_0x5346a6,_0x5e401e)=>{const _0x17cf10=a37_0x165b54,_0xc9e3f={'QPiRF':function(_0x23eebc){return _0x23eebc();},'hTQTK':_0x17cf10(0x18c),'OzRAV':function(_0x3450c0,_0x1edf9a){return _0x3450c0===_0x1edf9a;},'jXhid':'chrome','JIpdK':function(_0x153da2,_0x1879af){return _0x153da2===_0x1879af;},'WvZDZ':_0x17cf10(0x1b5),'tbTNQ':function(_0x123aa9,_0x208f74){return _0x123aa9===_0x208f74;},'Okrjh':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','QUFte':function(_0x5a242b,_0x375e53){return _0x5a242b>_0x375e53;},'AeKsQ':_0x17cf10(0x190),'nhInH':function(_0x1967ad,_0x4bf1f8){return _0x1967ad===_0x4bf1f8;},'koTrE':_0x17cf10(0x15e),'HNuFq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','DEodz':function(_0x2c30c5,_0x4f31cd){return _0x2c30c5(_0x4f31cd);},'AZVHH':_0x17cf10(0x158),'pShJL':function(_0xe6439f,_0x4dbf76){return _0xe6439f+_0x4dbf76;},'jyccs':function(_0x1bc92d,_0x4452bc){return _0x1bc92d(_0x4452bc);}};try{if(_0xc9e3f[_0x17cf10(0x1a1)](isAccessibilityAutomationSession)){global[_0x17cf10(0x172)]=!![];!_0x32e332[_0xc9e3f[_0x17cf10(0x1be)]]&&(global[_0x17cf10(0x172)]=![]);!(_0xc9e3f['OzRAV'](_0x32e332[_0x17cf10(0x188)],_0xc9e3f[_0x17cf10(0x186)])||_0xc9e3f[_0x17cf10(0x1bd)](_0x32e332[_0x17cf10(0x188)],_0xc9e3f[_0x17cf10(0x165)])||_0xc9e3f[_0x17cf10(0x191)](_0x32e332[_0x17cf10(0x1c3)],_0xc9e3f[_0x17cf10(0x186)])||_0xc9e3f[_0x17cf10(0x178)](_0x32e332['browser'],_0xc9e3f[_0x17cf10(0x165)]))&&(logger['warn'](_0xc9e3f[_0x17cf10(0x181)]),global[_0x17cf10(0x172)]=![]);!_0xc9e3f['QPiRF'](isBrowserstackInfra)&&(!_0xc9e3f[_0x17cf10(0x1a7)](_0x32e332[_0x17cf10(0x17f)],0x64)&&logger['warn'](_0xc9e3f[_0x17cf10(0x1cc)]));!(_0xc9e3f[_0x17cf10(0x159)](_0x32e332[_0x17cf10(0x17f)],_0xc9e3f[_0x17cf10(0x1bc)])||_0xc9e3f[_0x17cf10(0x1a7)](_0x32e332['browser_version'],0x5e))&&(logger['warn'](_0xc9e3f[_0x17cf10(0x167)]),global[_0x17cf10(0x172)]=![]);!_0xc9e3f['DEodz'](isUndefined,_0x32e332['deviceName'])&&(logger['warn'](_0xc9e3f[_0x17cf10(0x1bf)]),global[_0x17cf10(0x172)]=![]);if(!global[_0x17cf10(0x172)]){_0x32e332[_0xc9e3f['hTQTK']]=![];const _0x4f7d62=_0xc9e3f['pShJL'](_0x5346a6,_0xc9e3f[_0x17cf10(0x1bb)](encodeURIComponent,JSON[_0x17cf10(0x170)](_0x32e332)));_0x5e401e&&(_0x5e401e[_0x17cf10(0x1d1)][_0x17cf10(0x19a)][_0x17cf10(0x1cf)][_0x17cf10(0x15c)]['connectOptions'][_0x17cf10(0x1b8)]=_0x4f7d62,_0x5e401e['workerInfo']['project'][_0x17cf10(0x15c)][_0x17cf10(0x1a2)]['wsEndpoint']=_0x4f7d62);}}else global[_0x17cf10(0x172)]=![];}catch(_0x242064){logger[_0x17cf10(0x163)](_0x17cf10(0x16d)+util[_0x17cf10(0x184)](_0x242064));}};
1
+ const a37_0x3f348b=a37_0x25d4;function a37_0x25d4(_0x439cbe,_0xf6a035){const _0x23d70d=a37_0x23d7();return a37_0x25d4=function(_0x25d466,_0x436303){_0x25d466=_0x25d466-0x142;let _0x6890d2=_0x23d70d[_0x25d466];return _0x6890d2;},a37_0x25d4(_0x439cbe,_0xf6a035);}(function(_0x1fcafe,_0x528862){const _0x4ad5e0=a37_0x25d4,_0x5d7f86=_0x1fcafe();while(!![]){try{const _0x13ba43=-parseInt(_0x4ad5e0(0x16a))/0x1*(parseInt(_0x4ad5e0(0x145))/0x2)+parseInt(_0x4ad5e0(0x161))/0x3+parseInt(_0x4ad5e0(0x190))/0x4*(-parseInt(_0x4ad5e0(0x187))/0x5)+parseInt(_0x4ad5e0(0x1ab))/0x6+parseInt(_0x4ad5e0(0x19a))/0x7+parseInt(_0x4ad5e0(0x176))/0x8*(-parseInt(_0x4ad5e0(0x174))/0x9)+-parseInt(_0x4ad5e0(0x144))/0xa;if(_0x13ba43===_0x528862)break;else _0x5d7f86['push'](_0x5d7f86['shift']());}catch(_0x379a78){_0x5d7f86['push'](_0x5d7f86['shift']());}}}(a37_0x23d7,0xc68b2));function a37_0x23d7(){const _0x3d570d=['executeAsyncScript','format','AAuRa','IoJNb','browser_version','parse','33255Avueez','aODUQ','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','GnTqx','workerInfo','processAccessibilityCaps','lNDcm','SnxTz','BS_A11Y_JWT','148oxteFL','\x20page:\x20','eUPAO','name','euUyl','qzabN','measureWrapper','../../helpers/performance/constants','wsEndpoint','krAWu','10547740zosDcM','ezudD','vnuZW','GPNcJ','YOZAr','BDwcV','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/accessibility-automation/scripts','platformValidation','browserStackEvaluate','oZwGe','ahsXU','browserstack.accessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','util','GCqZM','No\x20summaryResults\x20found.','6142872wcNfpO','wcagVersion','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','accessibilityOptions','latest','getAccessibilityResults','kMBIN','../../helpers/performance/performance-tester','accessibilityOptions.scannerProcessingTimeout','7715100cIRlCS','3730pOAVAs','(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','MEVWT','accessibilityOptions.includeIssueType.needsReview','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','debug','playwright-chromium','bstackSdkArgs','No\x20accessibility\x20results\x20were\x20found.','executeScript','constructor','accessibilityPlatform','KmYqK','stringify','Playwright','chromium','browser','currentTest','connectOptions','setAccessibilityCapabilities','vSmBH','env','DIriQ','getAccessibilityResultsSummary','replace','includeIssueType','CrbYq','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','4575804DXQfDn','ZihFc','scannerProcessingTimeout','../../helpers/helper','evaluate','browserStackExecuteDriver','accessibilityOptions.includeIssueType.bestPractice','IMbFN','EBzXU','700FxflNE','performScan','deviceName','pYDMn','testInfo','warn','KMZXu','../../helpers/logger','VevZX','project','27iuVBwq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','2452184sgMQyp','command','use','accessibilityOptions.authToken','ZgBZT','wFRrW','juZPa','error','includes','scannerVersion','tOIhD'];a37_0x23d7=function(){return _0x3d570d;};return a37_0x23d7();}const util=require(a37_0x3f348b(0x1a8)),logger=require(a37_0x3f348b(0x171))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a37_0x3f348b(0x164)),scripts=require(a37_0x3f348b(0x1a1)),PerformanceTester=require(a37_0x3f348b(0x142)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x3f348b(0x197));exports[a37_0x3f348b(0x1a3)]=async(_0x475888,_0x558a73,_0x3afe69={})=>{const _0xb5829=a37_0x3f348b,_0x2b567c={};_0x2b567c['nyHlD']=_0xb5829(0x14c);const _0x1e830=_0x2b567c;return await _0x475888[_0xb5829(0x165)](_0xb5829(0x146)+_0x558a73[_0xb5829(0x15d)](/arguments/g,_0x1e830['nyHlD'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0xb5829(0x152)](_0x3afe69)+')');},exports[a37_0x3f348b(0x166)]=async(_0x3a9b3f,_0x1b7950,_0x8b2ead={})=>{const _0x21d098=a37_0x3f348b,_0x5356dd={};_0x5356dd['GnTqx']=function(_0x6aa4fe,_0x5e18e4){return _0x6aa4fe===_0x5e18e4;},_0x5356dd[_0x21d098(0x17c)]='WebDriver',_0x5356dd['jVHlT']=function(_0x28b931,_0x132fd8){return _0x28b931===_0x132fd8;},_0x5356dd['AAuRa']=_0x21d098(0x153),_0x5356dd[_0x21d098(0x184)]='bstackSdkArgs';const _0x43f2be=_0x5356dd;if(_0x43f2be[_0x21d098(0x18a)](_0x3a9b3f[_0x21d098(0x14f)][_0x21d098(0x193)],_0x43f2be[_0x21d098(0x17c)]))return await _0x3a9b3f[_0x21d098(0x181)](_0x1b7950,_0x8b2ead);else{if(_0x43f2be['jVHlT'](_0x3a9b3f[_0x21d098(0x14f)][_0x21d098(0x193)],_0x43f2be[_0x21d098(0x183)]))return await _0x3a9b3f[_0x21d098(0x14e)]('(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'+_0x1b7950[_0x21d098(0x15d)](/arguments/g,_0x43f2be[_0x21d098(0x184)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x21d098(0x152)](_0x8b2ead)+')');}},exports[a37_0x3f348b(0x158)]=async _0x47e87f=>{const _0x57fcfb=a37_0x3f348b,_0x4a0d74={};_0x4a0d74['oZwGe']='accessibilityOptions.wcagVersion',_0x4a0d74[_0x57fcfb(0x172)]=_0x57fcfb(0x143),_0x4a0d74['SnxTz']=_0x57fcfb(0x167),_0x4a0d74[_0x57fcfb(0x18d)]=_0x57fcfb(0x148),_0x4a0d74[_0x57fcfb(0x19b)]=_0x57fcfb(0x179),_0x4a0d74['KMZXu']='accessibilityOptions.scannerVersion';const _0x3d29bb=_0x4a0d74;_0x47e87f[_0x57fcfb(0x1b0)]&&(_0x47e87f['accessibilityOptions'][_0x57fcfb(0x1ac)]&&(_0x47e87f[_0x3d29bb[_0x57fcfb(0x1a4)]]=_0x47e87f[_0x57fcfb(0x1b0)][_0x57fcfb(0x1ac)]),_0x47e87f[_0x57fcfb(0x1b0)]['scannerProcessingTimeout']&&(_0x47e87f[_0x3d29bb[_0x57fcfb(0x172)]]=_0x47e87f[_0x57fcfb(0x1b0)][_0x57fcfb(0x163)]),_0x47e87f[_0x57fcfb(0x1b0)]['includeIssueType']&&(_0x47e87f[_0x3d29bb[_0x57fcfb(0x18e)]]=_0x47e87f[_0x57fcfb(0x1b0)][_0x57fcfb(0x15e)]['bestPractice'],_0x47e87f[_0x3d29bb[_0x57fcfb(0x18d)]]=_0x47e87f[_0x57fcfb(0x1b0)][_0x57fcfb(0x15e)]['needsReview']));const _0x28a558=JSON[_0x57fcfb(0x186)](process[_0x57fcfb(0x15a)][_0x57fcfb(0x149)])[_0x57fcfb(0x17f)];_0x47e87f[_0x3d29bb[_0x57fcfb(0x19b)]]=process[_0x57fcfb(0x15a)][_0x57fcfb(0x18f)],_0x47e87f[_0x3d29bb[_0x57fcfb(0x170)]]=_0x28a558,delete _0x47e87f[_0x57fcfb(0x1b0)];},exports[a37_0x3f348b(0x1b2)]=async _0x5da180=>{const _0x411a1f=a37_0x3f348b,_0x2099e7={};_0x2099e7['krAWu']=_0x411a1f(0x14d),_0x2099e7[_0x411a1f(0x169)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x39d364=_0x2099e7;if(global[_0x411a1f(0x150)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5da180,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5da180,scripts.getResults);})();return res;}catch{return logger[_0x411a1f(0x17d)](_0x39d364[_0x411a1f(0x199)]),[];}else return logger[_0x411a1f(0x16f)](_0x39d364[_0x411a1f(0x169)]),[];},exports[a37_0x3f348b(0x16b)]=async(_0x4eb8e7,_0x4ce1c4='')=>{const _0xbf0ce5=a37_0x3f348b;logger[_0xbf0ce5(0x14a)]('Performing\x20scan\x20with\x20method:\x20'+_0x4ce1c4+_0xbf0ce5(0x191)+_0x4eb8e7);if(global[_0xbf0ce5(0x150)])return await PerformanceTester[_0xbf0ce5(0x196)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3e2a57=_0xbf0ce5,_0x52457a={};_0x52457a[_0x3e2a57(0x177)]=_0x4ce1c4,await exports['browserStackEvaluate'](_0x4eb8e7,scripts[_0x3e2a57(0x16b)],_0x52457a);},{'command':_0x4ce1c4})();},exports[a37_0x3f348b(0x15c)]=async _0x30419f=>{const _0x29f931=a37_0x3f348b,_0x56aeb3={};_0x56aeb3[_0x29f931(0x19d)]=_0x29f931(0x1aa),_0x56aeb3['jYYtJ']=_0x29f931(0x160);const _0x2b24b8=_0x56aeb3;if(global[_0x29f931(0x150)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x30419f,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x30419f,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x2b24b8[_0x29f931(0x19d)]),{};}else return logger[_0x29f931(0x16f)](_0x2b24b8['jYYtJ']),{};},exports[a37_0x3f348b(0x1a2)]=async _0xff28c2=>{const _0x4cd968=a37_0x3f348b,_0x55f189={'CrbYq':function(_0x53e903,_0x3d6790){return _0x53e903!==_0x3d6790;},'euUyl':_0x4cd968(0x1a7),'ZihFc':_0x4cd968(0x1ad),'IMbFN':_0x4cd968(0x14b),'cOXVt':_0x4cd968(0x154),'DIriQ':_0x4cd968(0x1ae),'wFRrW':function(_0x2bb3de,_0x36cc32){return _0x2bb3de(_0x36cc32);},'KmYqK':function(_0x3d3c0f){return _0x3d3c0f();},'RAtWq':function(_0x38cefe,_0x2a47e2){return _0x38cefe<_0x2a47e2;},'tOIhD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','msxPJ':function(_0x5872ed,_0x45debd){return _0x5872ed===_0x45debd;},'FQyKr':'latest','sBAnf':function(_0x548491,_0x45411e){return _0x548491>_0x45411e;},'xddKX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x55f189[_0x4cd968(0x15f)](_0xff28c2[_0x4cd968(0x16c)],''))return logger['warn'](_0x55f189[_0x4cd968(0x194)]),![];const _0x1c7bfe=_0xff28c2[_0x4cd968(0x155)];if(![_0x55f189[_0x4cd968(0x162)],_0x55f189[_0x4cd968(0x168)],_0x55f189['cOXVt']][_0x4cd968(0x17e)](_0x1c7bfe))return logger[_0x4cd968(0x16f)](_0x55f189[_0x4cd968(0x15b)]),![];const _0x3c8ba6=_0x55f189[_0x4cd968(0x17b)](parseInt,_0xff28c2[_0x4cd968(0x185)]);!_0x55f189[_0x4cd968(0x151)](isBrowserstackInfra)&&(!_0x55f189['RAtWq'](_0x3c8ba6,0x64)&&logger[_0x4cd968(0x16f)](_0x55f189[_0x4cd968(0x180)]));if(!(_0x55f189['msxPJ'](_0x3c8ba6,_0x55f189['FQyKr'])||_0x55f189['sBAnf'](_0x3c8ba6,0x5e)))return logger[_0x4cd968(0x16f)](_0x55f189['xddKX']),![];}catch(_0x2f9dc4){logger[_0x4cd968(0x14a)](_0x4cd968(0x189)+util[_0x4cd968(0x182)](_0x2f9dc4));}return!![];},exports[a37_0x3f348b(0x18c)]=(_0x507ae9,_0x132447,_0x39ddc4)=>{const _0x5a97e3=a37_0x3f348b,_0x530d6c={'MEVWT':function(_0x1fcbce){return _0x1fcbce();},'qzabN':_0x5a97e3(0x1a6),'kMBIN':function(_0x143366,_0x2cc01d){return _0x143366===_0x2cc01d;},'ahsXU':_0x5a97e3(0x1ad),'YOZAr':function(_0x97cfff,_0x43de75){return _0x97cfff===_0x43de75;},'GCqZM':_0x5a97e3(0x14b),'vSmBH':function(_0x3c66a4,_0x4a27bf){return _0x3c66a4===_0x4a27bf;},'aODUQ':function(_0x58056d,_0x2de305){return _0x58056d===_0x2de305;},'Gxnoe':_0x5a97e3(0x1ae),'vnuZW':function(_0x191e5c,_0x28f3a6){return _0x191e5c>_0x28f3a6;},'pYDMn':_0x5a97e3(0x1af),'Wigqu':_0x5a97e3(0x1b1),'ZgBZT':_0x5a97e3(0x175),'BDwcV':function(_0x174e6a,_0x22e5de){return _0x174e6a(_0x22e5de);},'eUPAO':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','lRvgR':function(_0x53b836,_0x32cc0f){return _0x53b836+_0x32cc0f;}};try{if(_0x530d6c[_0x5a97e3(0x147)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x507ae9[_0x530d6c[_0x5a97e3(0x195)]]&&(global[_0x5a97e3(0x150)]=![]);!(_0x530d6c[_0x5a97e3(0x1b3)](_0x507ae9['browserName'],_0x530d6c[_0x5a97e3(0x1a5)])||_0x530d6c[_0x5a97e3(0x19e)](_0x507ae9['browserName'],_0x530d6c[_0x5a97e3(0x1a9)])||_0x530d6c[_0x5a97e3(0x159)](_0x507ae9[_0x5a97e3(0x155)],_0x530d6c[_0x5a97e3(0x1a5)])||_0x530d6c[_0x5a97e3(0x188)](_0x507ae9[_0x5a97e3(0x155)],_0x530d6c[_0x5a97e3(0x1a9)]))&&(logger['warn'](_0x530d6c['Gxnoe']),global[_0x5a97e3(0x150)]=![]);!_0x530d6c[_0x5a97e3(0x147)](isBrowserstackInfra)&&(!_0x530d6c[_0x5a97e3(0x19c)](_0x507ae9[_0x5a97e3(0x185)],0x64)&&logger[_0x5a97e3(0x16f)](_0x530d6c[_0x5a97e3(0x16d)]));!(_0x530d6c[_0x5a97e3(0x159)](_0x507ae9[_0x5a97e3(0x185)],_0x530d6c['Wigqu'])||_0x530d6c[_0x5a97e3(0x19c)](_0x507ae9['browser_version'],0x5e))&&(logger[_0x5a97e3(0x16f)](_0x530d6c[_0x5a97e3(0x17a)]),global[_0x5a97e3(0x150)]=![]);!_0x530d6c['BDwcV'](isUndefined,_0x507ae9[_0x5a97e3(0x16c)])&&(logger[_0x5a97e3(0x16f)](_0x530d6c[_0x5a97e3(0x192)]),global[_0x5a97e3(0x150)]=![]);if(!global['accessibilityPlatform']){_0x507ae9[_0x530d6c[_0x5a97e3(0x195)]]=![];const _0x30f3bf=_0x530d6c['lRvgR'](_0x132447,_0x530d6c[_0x5a97e3(0x19f)](encodeURIComponent,JSON[_0x5a97e3(0x152)](_0x507ae9)));_0x39ddc4&&(_0x39ddc4[_0x5a97e3(0x156)][_0x5a97e3(0x16e)][_0x5a97e3(0x173)][_0x5a97e3(0x178)][_0x5a97e3(0x157)][_0x5a97e3(0x198)]=_0x30f3bf,_0x39ddc4[_0x5a97e3(0x18b)][_0x5a97e3(0x173)][_0x5a97e3(0x178)][_0x5a97e3(0x157)][_0x5a97e3(0x198)]=_0x30f3bf);}}else global['accessibilityPlatform']=![];}catch(_0x2a2f43){logger[_0x5a97e3(0x14a)](_0x5a97e3(0x1a0)+util[_0x5a97e3(0x182)](_0x2a2f43));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0xd00da4=a38_0x8e84;(function(_0x27c44c,_0x27cb74){const _0x2c750d=a38_0x8e84,_0x334efc=_0x27c44c();while(!![]){try{const _0x42b271=parseInt(_0x2c750d(0xd8))/0x1*(-parseInt(_0x2c750d(0x137))/0x2)+-parseInt(_0x2c750d(0xe6))/0x3+-parseInt(_0x2c750d(0xf9))/0x4*(-parseInt(_0x2c750d(0x158))/0x5)+-parseInt(_0x2c750d(0x10c))/0x6+-parseInt(_0x2c750d(0x172))/0x7*(parseInt(_0x2c750d(0x131))/0x8)+parseInt(_0x2c750d(0x14f))/0x9+parseInt(_0x2c750d(0x115))/0xa;if(_0x42b271===_0x27cb74)break;else _0x334efc['push'](_0x334efc['shift']());}catch(_0xd90162){_0x334efc['push'](_0x334efc['shift']());}}}(a38_0x36a8,0x9bdfb));const fs=require('fs'),path=require(a38_0xd00da4(0x121)),{spawn}=require(a38_0xd00da4(0x109)),{format}=require(a38_0xd00da4(0x127)),logger=require(a38_0xd00da4(0x15a))[a38_0xd00da4(0x117)],{default:BrowserStackSetup}=require(a38_0xd00da4(0x139)),helper=require('../../helpers/helper'),utilities=require(a38_0xd00da4(0x119)),constants=require(a38_0xd00da4(0x16c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a38_0xd00da4(0xfc)),{setAccessibilityCapabilities}=require(a38_0xd00da4(0x15b)),{printBuildLink}=require(a38_0xd00da4(0x113)),TestDetails=require(a38_0xd00da4(0xe1)),TestHubHandler=require(a38_0xd00da4(0x15c)),PerformanceTester=require(a38_0xd00da4(0x162)),BrowserstackCLI=require(a38_0xd00da4(0x11a)),PerformanceEvents=require('../../helpers/performance/constants')[a38_0xd00da4(0x123)],CLIUtils=require(a38_0xd00da4(0x108)),TestInfo=require(a38_0xd00da4(0xda)),getUserPlaywrightConfig=async(_0x5f3b3f,_0x2295c9)=>{const _0x3a1bb4=a38_0xd00da4,_0x9e495b={'QMrys':function(_0x45ecf2){return _0x45ecf2();},'JvSTv':function(_0x998692,_0x3febdc){return _0x998692(_0x3febdc);},'sbiJN':_0x3a1bb4(0xf7),'rLOLc':'--config='},_0x2d2f81=!helper['isUndefined'](_0x5f3b3f[_0x3a1bb4(0x122)]),_0x5d3514=_0x2d2f81?path[_0x3a1bb4(0xdb)](process['cwd'](),_0x5f3b3f['config']):process[_0x3a1bb4(0xfb)](),{resolveConfigFile:_0x1a735c,resolveConfigLocation:_0x3e0281}=helper[_0x3a1bb4(0xfd)]['apply'](null,_0x9e495b['QMrys'](getConfigLoaderPath)),_0x26f918=_0x1a735c?_0x9e495b[_0x3a1bb4(0x165)](_0x1a735c,_0x5d3514):helper['nestedKeyValue'](_0x9e495b[_0x3a1bb4(0x165)](_0x3e0281,_0x5d3514),[_0x9e495b[_0x3a1bb4(0x140)]]),_0x299db2={};if(_0x2d2f81){const _0x3cedf9=_0x2295c9['findIndex'](_0x3725f3=>_0x3725f3==='--config'||_0x3725f3==='-c'||_0x3725f3[_0x3a1bb4(0x146)](_0x3a1bb4(0xd6)));_0x2295c9[_0x3a1bb4(0xec)](_0x3cedf9,_0x2295c9[_0x3cedf9]['startsWith'](_0x9e495b[_0x3a1bb4(0xeb)])?0x1:0x2);}const _0x5c07f1={};return _0x5c07f1[_0x3a1bb4(0x121)]=_0x26f918,_0x5c07f1[_0x3a1bb4(0x122)]=_0x299db2,_0x5c07f1;},handleO11yRerun=_0x5e2f19=>{const _0x2c1ef8=a38_0xd00da4,_0x33b43e={};_0x33b43e['XaCxS']='--grep';const _0x278bae=_0x33b43e,_0x4855e6=helper[_0x2c1ef8(0x159)](process[_0x2c1ef8(0xf0)][_0x2c1ef8(0x15f)]);if(_0x4855e6){const _0x2fa568=process[_0x2c1ef8(0xf0)][_0x2c1ef8(0x170)],_0x23b0fe=[];if(helper[_0x2c1ef8(0x149)](_0x2fa568)&&!helper[_0x2c1ef8(0x12d)](_0x2fa568)){_0x2fa568['split'](',')[_0x2c1ef8(0x154)](_0x37ac59=>{const _0x2d74e4=_0x2c1ef8;_0x23b0fe['push']('('+_0x37ac59[_0x2d74e4(0x124)]()+')');});const _0x154a41='^'+_0x23b0fe[_0x2c1ef8(0xe4)]('|')+'$';_0x5e2f19['push'](_0x278bae[_0x2c1ef8(0xf3)],_0x154a41);}}},spawnOriginalProcess=_0x3f6c95=>{const _0x51ee46=a38_0xd00da4,_0x323c30={'THtHJ':function(_0x21a7d3,_0x1795bf,_0x41a0c3,_0x44e826){return _0x21a7d3(_0x1795bf,_0x41a0c3,_0x44e826);},'JGzeU':_0x51ee46(0x12f),'IVzFX':_0x51ee46(0x102),'KGZVt':function(_0x3216da,_0x3451e0){return _0x3216da===_0x3451e0;},'YVtal':'win32','unDTG':_0x51ee46(0x129)};_0x323c30[_0x51ee46(0x168)](spawn,_0x323c30[_0x51ee46(0x145)],[_0x323c30['IVzFX'],..._0x3f6c95[_0x51ee46(0x169)](0x1)],{'shell':_0x323c30[_0x51ee46(0x13d)](process[_0x51ee46(0xff)],_0x323c30[_0x51ee46(0x163)]),'stdio':_0x323c30[_0x51ee46(0xf4)],'cwd':process[_0x51ee46(0xfb)]()});},isTestCommand=(_0x1715f5,_0xf7176d)=>{const _0x1b97ec=a38_0xd00da4,_0x356a83={};_0x356a83[_0x1b97ec(0x147)]=function(_0x5f486c,_0x3abf0a){return _0x5f486c>_0x3abf0a;},_0x356a83['KaUNa']=function(_0x4ac041,_0x44cf70){return _0x4ac041===_0x44cf70;},_0x356a83[_0x1b97ec(0x111)]='test';const _0x19513e=_0x356a83;if(_0x19513e[_0x1b97ec(0x147)](_0xf7176d[_0x1b97ec(0x12e)],0x1)&&_0x19513e[_0x1b97ec(0x174)](_0xf7176d[0x1],_0x19513e[_0x1b97ec(0x111)]))return!![];return![];};function a38_0x36a8(){const _0x4088fd=['length','npx','dKYqa','1304IIicEz','bncig','isFalse','test','assign','filterBrowserstackArgs','10204LYxIoW','MODULE','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cliConfig','readFileSync','KGZVt','isRunning','parse','sbiJN','KeRqO','RTFrz','iZNFJ','CJXKA','JGzeU','startsWith','NtdPu','unlinkSync','validateRerunTestList','accessibility','filter','errorMessage','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_AUTOMATION','10033560NTwneg','makhU','Avani','finalExecution','--disable-test-observability','map','stop','rEqje','kPNfX','746635gNaUak','isTrue','../../helpers/logger','./accessibility-helper','../../helpers/testhub/testhubHandler','rVVIL','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_RERUN','error','logLevel','../../helpers/performance/performance-tester','YVtal','homedir','JvSTv','SDK_CLEANUP','measureWrapper','THtHJ','slice','kghMf','Playwright\x20process\x20exited\x20with\x20code\x20','../utils/constants','pudEB','skipSessionStatus','XVIoS','BROWSERSTACK_RERUN_TESTS','isTypescriptProject','2051OBsSMP','existsSync','KaUNa','PACKAGE_TYPE','XmvFW','BrowserStack\x20config\x20file\x20not\x20found.','DSKfu','initialize','dirname','CAsjL','shutdown','--config=','has','157UZXcer','getInstance','../v2/TestInfo','resolve','launchBuild','info','ChGeG','ELczp','BROWSERSTACK_PW_CONFIG_DIR','./reporter/test-details','true','VLEme','join','LccKZ','1479801bbwiWU','RpFsg','qSJOt','automation','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','rLOLc','splice','debug','Error\x20in\x20getting\x20funnel\x20data\x20results','accessibilityOptions','env','ALMir','KxjAK','XaCxS','unDTG','writeFileSync','oLrVp','resolvedConfigFile','testObservability','20OSeyVw','.browserstack','cwd','../../helpers/accessibility-automation/helper','requirePWModule','Tabfe','platform','getConfigPath','serializeToYamlString','playwright','Error\x20in\x20closing\x20playwright','testContextOptions','start','Oxwoz','trace_','../v2/cliUtils','child_process','HKPOe','pw_result.json','2593416HLkUGC','setFrameworkDetail','end','browserstackAutomation','SDK_PRE_INITIALIZE','qsVmb','VNcmy','../../helpers/test-observability/utils','fykEG','5512600fbEQJM','Deleting\x20','winstonLogger','SDK_POST_INITIALIZE','../../helpers/utilities','../v2/browserstackCLI','USER_CONFIG_DETAILS_PATH','stringify','BROWSERSTACK_TEST_OBSERVABILITY','PLAYWRIGHT','setBrowserstackConfig','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','path','config','EVENTS','trim','AtqoD','CXBbK','util','dJZsw','inherit','Error\x20in\x20deleting\x20playwright\x20results','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','xClXX','isUndefined'];a38_0x36a8=function(){return _0x4088fd;};return a38_0x36a8();}async function run(_0x59a91d,_0x468bf5,_0x1418bd){const _0x36a507=a38_0xd00da4,_0x3435d7={'oLrVp':function(_0x1a0428,_0x4cf752){return _0x1a0428(_0x4cf752);},'xClXX':_0x36a507(0xfa),'VLEme':_0x36a507(0x10b),'RpFsg':function(_0x309f63,_0x478b89){return _0x309f63+_0x478b89;},'bncig':_0x36a507(0xee),'Avani':function(_0x580d2b){return _0x580d2b();},'CAsjL':function(_0x511b50,_0x3a687f){return _0x511b50+_0x3a687f;},'CJXKA':_0x36a507(0x103),'VNcmy':_0x36a507(0xd0),'LccKZ':function(_0x16df29,_0x29d7dc){return _0x16df29===_0x29d7dc;},'CXBbK':'false','nvurV':_0x36a507(0x153),'rEqje':function(_0x4cc17d,_0x17327a){return _0x4cc17d>=_0x17327a;},'AtqoD':_0x36a507(0xe9),'dkwSz':function(_0x271890,_0x587ba6){return _0x271890!=_0x587ba6;},'dKYqa':function(_0x2a4ea5,_0x553d16,_0xae4fb8){return _0x2a4ea5(_0x553d16,_0xae4fb8);},'kghMf':function(_0x9fbf01,_0x1fcc0a){return _0x9fbf01(_0x1fcc0a);},'Tabfe':_0x36a507(0xe2),'dJZsw':'browserstackSetupConfig.json','XVIoS':function(_0x1cc278,_0x3fb21a){return _0x1cc278===_0x3fb21a;},'ChGeG':_0x36a507(0x15e),'fykEG':'playwright-browserstack-sdk.config.js','RTFrz':function(_0x33bbab,_0x1d146a){return _0x33bbab-_0x1d146a;},'DSKfu':_0x36a507(0x14d),'ELczp':function(_0x32f281,_0x3d0e62){return _0x32f281>_0x3d0e62;},'KxjAK':function(_0x17e169,_0x52cf55,_0x4e4494,_0x762c32){return _0x17e169(_0x52cf55,_0x4e4494,_0x762c32);},'UMEoI':_0x36a507(0x12f),'EyykI':_0x36a507(0x102),'kPNfX':_0x36a507(0x134),'ALMir':'--config','iZNFJ':function(_0x1e07e1,_0x35a1f4){return _0x1e07e1===_0x35a1f4;},'lXRJg':'win32','KCOWR':_0x36a507(0x129),'Oxwoz':'close','makhU':function(_0x53c0cd,_0x304b7d){return _0x53c0cd+_0x304b7d;},'XmvFW':_0x36a507(0x12a),'HKPOe':function(_0x3566b0,_0x30179d,_0x2b261f){return _0x3566b0(_0x30179d,_0x2b261f);}};try{const _0x1c7a4a=path['join'](helper[_0x36a507(0x164)](),_0x3435d7['xClXX'],_0x3435d7[_0x36a507(0xe3)]);fs[_0x36a507(0x173)](_0x1c7a4a)&&fs['unlinkSync'](_0x1c7a4a);}catch(_0x451aec){logger['debug'](_0x3435d7[_0x36a507(0x150)](_0x3435d7[_0x36a507(0xcf)],_0x451aec));}if(!_0x3435d7[_0x36a507(0x10a)](isTestCommand,_0x59a91d,_0x468bf5)){_0x3435d7[_0x36a507(0x16a)](spawnOriginalProcess,_0x468bf5);return;}await PerformanceTester[_0x36a507(0x167)](PerformanceEvents[_0x36a507(0x110)],async()=>{const _0x29f349=_0x36a507,_0x1ca41f={'rVVIL':_0x3435d7[_0x29f349(0x12c)],'pudEB':function(_0x24ae2c){const _0x49bd25=_0x29f349;return _0x3435d7[_0x49bd25(0x151)](_0x24ae2c);},'qSJOt':function(_0x16da2e,_0x4a33e0){const _0x1329cc=_0x29f349;return _0x3435d7[_0x1329cc(0xd4)](_0x16da2e,_0x4a33e0);},'GaNQm':_0x3435d7[_0x29f349(0x144)]};if(!_0x1418bd[_0x29f349(0x122)]){logger[_0x29f349(0x160)](_0x3435d7[_0x29f349(0x112)]);return;}await _0x1418bd[_0x29f349(0xd2)](_0x59a91d),CLIUtils[_0x29f349(0x10d)](FRAMEWORKS[_0x29f349(0x11e)],FRAMEWORKS[_0x29f349(0x11e)]),BrowserstackCLI['getInstance']()[_0x29f349(0x11f)](_0x1418bd['config'],_0x1418bd[_0x29f349(0x13b)]),await BrowserstackCLI['getInstance']()['bootstrap']();const _0x4cd1ff=BrowserstackCLI[_0x29f349(0xd9)]()['getConfig']();!helper[_0x29f349(0x133)](_0x4cd1ff[_0x29f349(0x10f)])&&(process[_0x29f349(0xf0)][_0x29f349(0x14e)]=!![]);_0x3435d7[_0x29f349(0xe5)](_0x4cd1ff[_0x29f349(0x10f)],![])&&(process[_0x29f349(0xf0)]['BROWSERSTACK_AUTOMATION']=_0x3435d7[_0x29f349(0x126)],_0x468bf5=_0x468bf5['filter'](_0x4ef6a6=>_0x4ef6a6!=='--disable-browserstack-automation'));const _0x44afc7=_0x468bf5['indexOf'](_0x3435d7['nvurV']);(_0x3435d7[_0x29f349(0x156)](_0x44afc7,0x0)||_0x3435d7[_0x29f349(0xe5)](_0x4cd1ff['testObservability'],![]))&&(process[_0x29f349(0xf0)][_0x29f349(0x11d)]=_0x3435d7['CXBbK'],_0x468bf5=_0x468bf5[_0x29f349(0x14b)](_0x1e4696=>_0x1e4696!==_0x29f349(0x153)));!helper[_0x29f349(0x12d)](_0x1418bd['cliConfig'])&&_0x1418bd['cliConfig'][_0x29f349(0xd7)](_0x3435d7['AtqoD'])&&(process[_0x29f349(0xf0)][_0x29f349(0x14e)]=_0x1418bd[_0x29f349(0x13b)]['get'](_0x3435d7[_0x29f349(0x125)])||!![]);_0x3435d7['dkwSz'](_0x1418bd[_0x29f349(0x122)]['testObservability'],null)&&!helper[_0x29f349(0x159)](process[_0x29f349(0xf0)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x29f349(0xf0)][_0x29f349(0x11d)]=process['env'][_0x29f349(0x11d)]||_0x1418bd[_0x29f349(0x122)][_0x29f349(0xf8)]);const _0x25e862=!helper['isFalse'](process[_0x29f349(0xf0)][_0x29f349(0x11d)]);_0x1418bd[_0x29f349(0x122)][_0x29f349(0xef)]&&(process[_0x29f349(0xf0)][_0x29f349(0xea)]=JSON[_0x29f349(0x11c)](_0x1418bd[_0x29f349(0x122)][_0x29f349(0xef)]));let _0x326507=![];_0x1418bd[_0x29f349(0x122)]['accessibility']&&(_0x326507=!![],process['env'][_0x29f349(0x13a)]=_0x1418bd[_0x29f349(0x122)][_0x29f349(0x14a)]);const _0x342689=_0x468bf5['concat'](),_0x18f0e9=await _0x3435d7[_0x29f349(0x130)](getUserPlaywrightConfig,_0x59a91d,_0x468bf5);if(helper[_0x29f349(0x12d)](_0x18f0e9)){_0x3435d7[_0x29f349(0x16a)](spawnOriginalProcess,_0x342689);return;}const _0x558135=_0x18f0e9[_0x29f349(0x121)]?path[_0x29f349(0xd3)](_0x18f0e9[_0x29f349(0x121)]):process['cwd']();process[_0x29f349(0xf0)][_0x29f349(0xe0)]=_0x558135,await PerformanceTester[_0x29f349(0x167)](PerformanceEvents[_0x29f349(0x118)],async()=>{const _0x302f89=_0x29f349;!BrowserstackCLI[_0x302f89(0xd9)]()[_0x302f89(0x13e)]()&&await TestHubHandler[_0x302f89(0xdc)](FRAMEWORKS[_0x302f89(0x11e)],_0x1418bd),_0x25e862&&_0x3435d7[_0x302f89(0xf6)](handleO11yRerun,_0x468bf5);})();if(!BrowserstackCLI[_0x29f349(0xd9)]()['isRunning']()){let _0x367721=_0x3435d7['LccKZ'](process[_0x29f349(0xf0)][_0x29f349(0x13a)],_0x3435d7[_0x29f349(0xfe)]);_0x367721=_0x367721||_0x3435d7[_0x29f349(0xf6)](checkAccessibilityPlatformConfig,_0x1418bd[_0x29f349(0x122)]),process[_0x29f349(0xf0)][_0x29f349(0x13a)]=_0x367721,_0x367721&&_0x3435d7['kghMf'](setAccessibilityCapabilities,_0x1418bd[_0x29f349(0x122)]);}const _0x7f7b10=path[_0x29f349(0xe4)](_0x18f0e9[_0x29f349(0x121)]?path['dirname'](_0x18f0e9[_0x29f349(0x121)]):process[_0x29f349(0xfb)](),_0x3435d7[_0x29f349(0x128)]);fs[_0x29f349(0xf5)](_0x7f7b10,helper[_0x29f349(0x101)](_0x1418bd[_0x29f349(0x122)])),process[_0x29f349(0xf0)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x7f7b10,helper['clearTempPWConfig']();let _0x32a016='';_0x3435d7[_0x29f349(0x16f)](helper['getPackageType'](),constants[_0x29f349(0xce)][_0x29f349(0x138)])?_0x32a016=_0x3435d7[_0x29f349(0xde)]:_0x32a016=_0x3435d7[_0x29f349(0x114)];let _0x47dcc4='';if(helper[_0x29f349(0x171)](_0x18f0e9[_0x29f349(0x121)])){_0x47dcc4='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x1c104c=_0x32a016['split']('.');_0x1c104c[_0x3435d7[_0x29f349(0x142)](_0x1c104c[_0x29f349(0x12e)],0x1)]='ts',_0x32a016=_0x1c104c[_0x29f349(0xe4)]('.'),logger[_0x29f349(0xed)](_0x3435d7[_0x29f349(0xd4)](_0x3435d7[_0x29f349(0xd1)],_0x32a016));}else _0x47dcc4=_0x29f349(0x12b);const _0x3af97f=path[_0x29f349(0xe4)](_0x18f0e9['path']?path[_0x29f349(0xd3)](_0x18f0e9[_0x29f349(0x121)]):process[_0x29f349(0xfb)](),_0x32a016);let _0x3570ac=_0x18f0e9[_0x29f349(0x121)]?_0x18f0e9[_0x29f349(0x121)]:'';_0x3570ac=_0x3435d7[_0x29f349(0xdf)](_0x3570ac[_0x29f349(0x12e)],0x0)?path['resolve'](_0x3570ac):'',process[_0x29f349(0xf0)][_0x29f349(0x11b)]=_0x3570ac;const _0x11eda8=helper['getProxyUrl'](_0x1418bd[_0x29f349(0x122)]);_0x11eda8&&(_0x47dcc4=_0x3435d7[_0x29f349(0xe7)](_0x29f349(0x120)+_0x11eda8+'\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();',_0x47dcc4));helper[_0x29f349(0x136)]({},_0x468bf5),fs['writeFileSync'](_0x3af97f,_0x47dcc4),PerformanceTester[_0x29f349(0x10e)](PerformanceEvents['SDK_SETUP']);const _0x58ba2d=_0x3435d7[_0x29f349(0xf2)](spawn,_0x3435d7['UMEoI'],[_0x3435d7['EyykI'],_0x3435d7[_0x29f349(0x157)],_0x3435d7[_0x29f349(0xf1)],_0x3af97f,..._0x468bf5[_0x29f349(0x169)](0x2)],{'shell':_0x3435d7[_0x29f349(0x143)](process['platform'],_0x3435d7['lXRJg']),'stdio':_0x3435d7['KCOWR'],'cwd':process[_0x29f349(0xfb)](),'env':Object[_0x29f349(0x135)]({},process[_0x29f349(0xf0)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x29f349(0x100)](_0x59a91d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1418bd[_0x29f349(0x122)][_0x29f349(0x104)][_0x29f349(0x16e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1418bd[_0x29f349(0x122)][_0x29f349(0x104)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x1418bd[_0x29f349(0x122)][_0x29f349(0x161)]})}),_0x345262=()=>{const _0x1891b8=_0x29f349;try{const _0x53c799=path['join'](helper[_0x1891b8(0x164)](),_0x3435d7[_0x1891b8(0x12c)],_0x3435d7[_0x1891b8(0xe3)]);if(fs['existsSync'](_0x53c799)){let _0x35bf73=fs[_0x1891b8(0x13c)](_0x53c799);_0x35bf73=JSON[_0x1891b8(0x13f)](_0x35bf73),_0x1418bd[_0x1891b8(0x14c)]=_0x35bf73,fs[_0x1891b8(0x148)](_0x53c799);}}catch(_0x1668fc){logger['debug'](_0x3435d7['RpFsg'](_0x3435d7[_0x1891b8(0x132)],_0x1668fc));}};_0x58ba2d['on'](_0x3435d7[_0x29f349(0x106)],async _0xf1983a=>{const _0x3c935c=_0x29f349,_0x5376af={};_0x5376af[_0x3c935c(0x141)]=_0x1ca41f[_0x3c935c(0x15d)];const _0x473d6d=_0x5376af;try{PerformanceTester[_0x3c935c(0x105)](PerformanceEvents[_0x3c935c(0x166)]),_0x1ca41f[_0x3c935c(0x16d)](_0x345262);!BrowserstackCLI[_0x3c935c(0xd9)]()['isRunning']()&&await TestHubHandler[_0x3c935c(0x155)]();await BrowserstackCLI[_0x3c935c(0xd9)]()[_0x3c935c(0x155)](),TestDetails[_0x3c935c(0xd5)](),_0x1ca41f['pudEB'](printBuildLink),await utilities[_0x3c935c(0x152)](_0x1418bd),process['exitCode']=_0xf1983a,logger[_0x3c935c(0xed)](_0x3c935c(0x16b)+_0xf1983a),logger[_0x3c935c(0xdd)](_0x3c935c(0x116)+_0x3af97f),fs[_0x3c935c(0x148)](_0x3af97f);fs['existsSync'](_0x7f7b10)&&(logger[_0x3c935c(0xed)](_0x3c935c(0x116)+_0x7f7b10),fs[_0x3c935c(0x148)](_0x7f7b10));const _0x39d797=fs['readdirSync'](path[_0x3c935c(0xe4)](helper[_0x3c935c(0x164)](),_0x1ca41f[_0x3c935c(0x15d)]))[_0x3c935c(0x14b)](_0x4c6431=>_0x4c6431['startsWith'](_0x3c935c(0x107)));_0x39d797['forEach'](_0x13f34b=>{const _0x2e0b5c=_0x3c935c;fs[_0x2e0b5c(0x148)](path[_0x2e0b5c(0xe4)](helper[_0x2e0b5c(0x164)](),_0x473d6d[_0x2e0b5c(0x141)],_0x13f34b));});}catch(_0x472a20){logger[_0x3c935c(0xed)](_0x1ca41f[_0x3c935c(0xe8)](_0x1ca41f['GaNQm'],_0x472a20));}});})();}function a38_0x8e84(_0x24eb9b,_0x23e3e4){const _0x36a89b=a38_0x36a8();return a38_0x8e84=function(_0x8e846a,_0x1e9728){_0x8e846a=_0x8e846a-0xce;let _0x54b16e=_0x36a89b[_0x8e846a];return _0x54b16e;},a38_0x8e84(_0x24eb9b,_0x23e3e4);}module['exports']=run;
2
+ 'use strict';function a38_0x323b(_0x445c02,_0xe0deb7){const _0x2df033=a38_0x2df0();return a38_0x323b=function(_0x323b7f,_0x375a58){_0x323b7f=_0x323b7f-0x164;let _0x122f27=_0x2df033[_0x323b7f];return _0x122f27;},a38_0x323b(_0x445c02,_0xe0deb7);}const a38_0xf57b41=a38_0x323b;(function(_0x34146e,_0x379dcf){const _0x23ff4d=a38_0x323b,_0x3e395f=_0x34146e();while(!![]){try{const _0x5ea152=parseInt(_0x23ff4d(0x199))/0x1+-parseInt(_0x23ff4d(0x1aa))/0x2*(-parseInt(_0x23ff4d(0x208))/0x3)+-parseInt(_0x23ff4d(0x185))/0x4*(-parseInt(_0x23ff4d(0x177))/0x5)+-parseInt(_0x23ff4d(0x20c))/0x6*(parseInt(_0x23ff4d(0x181))/0x7)+parseInt(_0x23ff4d(0x1a5))/0x8+parseInt(_0x23ff4d(0x17b))/0x9+-parseInt(_0x23ff4d(0x1b2))/0xa;if(_0x5ea152===_0x379dcf)break;else _0x3e395f['push'](_0x3e395f['shift']());}catch(_0x2934c6){_0x3e395f['push'](_0x3e395f['shift']());}}}(a38_0x2df0,0x3e888));function a38_0x2df0(){const _0x124c38=['BROWSERSTACK_SETUP_CONFIG_PATH','stringify','winstonLogger','205926ZyYVEY','util','../../helpers/test-observability/constants','Error\x20in\x20closing\x20playwright','788ipEqhs','fHseg','gzvYg','UJRmq','../v2/TestInfo','qKWAC','SaXCo','SDK_CLEANUP','cVWxm','dirname','bootstrap','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','stop','UJige','skipSessionName','startsWith','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','forEach','./accessibility-helper','isTrue','297363Zdkbav','qskjI','fyVrS','shutdown','PLAYWRIGHT','XXoxB','Updated\x20config\x20file\x20name\x20to\x20-\x20','../../helpers/performance/constants','SDK_PRE_INITIALIZE','inherit','xdxrK','isTypescriptProject','441120gLDVro','Deleting\x20','MODULE','browserstackAutomation','--disable-test-observability','97100zKcmwT','split','BROWSERSTACK_TEST_ACCESSIBILITY_YML','lAgFA','GQVAC','trim','getPackageType','writeFileSync','5298200oeZraS','nRIUl','testObservability','Error\x20in\x20deleting\x20playwright\x20results','PACKAGE_TYPE','config','error','sxgeJ','accessibilityOptions','SDK_SETUP','wlzvu','SDK_POST_INITIALIZE','msOMv','vnDon','npx','YxNpi','./reporter/pwUtils','initialize','automation','slice','filter','assign','path','EwHIM','testContextOptions','PnAoA','cJsis','length','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JMCco','.browserstack','BROWSERSTACK_RERUN','unlinkSync','logLevel','../../helpers/utilities','apply','nestedKeyValue','test','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/performance/performance-tester','win32','debug','BROWSERSTACK_PW_CONFIG_DIR','playwright','NoCLL','cwd','KIELn','resolvedConfigFile','../../helpers/accessibility-automation/helper','filterBrowserstackArgs','../../helpers/logger','--config=','QirbU','launchBuild','platform','--grep','splice','Error\x20in\x20getting\x20funnel\x20data\x20results','close','SvHxs','YNZer','../v2/browserstackCLI','cwpDO','NoDtl','existsSync','getProxyUrl','errorMessage','measureWrapper','accessibility','BROWSERSTACK_AUTOMATION','BphBE','UeIxd','../v2/cliUtils','iFwCv','vgPDw','readdirSync','setBrowserstackConfig','qKEHj','--disable-browserstack-automation','browserstackSetupConfig.json','env','readFileSync','xaPlK','setFrameworkDetail','isRunning','parse','18BAdQRQ','TqUcH','exitCode','isUndefined','66YgOaba','SGoUa','\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();','--config','resolve','concat','BROWSERSTACK_TEST_OBSERVABILITY','cliConfig','join','isFalse','EVENTS','ALaxa','getInstance','has','xnveJ','../../helpers/helper','rRnnT','ZeVBC','playwright-browserstack-sdk.config.cjs','../../helpers/testhub/testhubHandler','BROWSERSTACK_RERUN_TESTS','IwihM','pw_result.json','NbyVx','6265vkOqJN','hCNJb','BrowserStack\x20config\x20file\x20not\x20found.','exports','1970190WuWfxv','XkMVG','homedir'];a38_0x2df0=function(){return _0x124c38;};return a38_0x2df0();}const fs=require('fs'),path=require(a38_0xf57b41(0x1c8)),{spawn}=require('child_process'),{format}=require(a38_0xf57b41(0x182)),logger=require(a38_0xf57b41(0x1e4))[a38_0xf57b41(0x180)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a38_0xf57b41(0x16e)),utilities=require(a38_0xf57b41(0x1d4)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a38_0xf57b41(0x183)),{getConfigLoaderPath}=require(a38_0xf57b41(0x1c2)),{checkAccessibilityPlatformConfig}=require(a38_0xf57b41(0x1e2)),{setAccessibilityCapabilities}=require(a38_0xf57b41(0x197)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a38_0xf57b41(0x172)),PerformanceTester=require(a38_0xf57b41(0x1d9)),BrowserstackCLI=require(a38_0xf57b41(0x1ef)),PerformanceEvents=require(a38_0xf57b41(0x1a0))[a38_0xf57b41(0x169)],CLIUtils=require(a38_0xf57b41(0x1fa)),TestInfo=require(a38_0xf57b41(0x189)),getUserPlaywrightConfig=async(_0x13dd7f,_0x2b8123)=>{const _0x3d29d8=a38_0xf57b41,_0x28801e={'rRnnT':function(_0x565e87){return _0x565e87();},'UJige':function(_0x278406,_0x21d3f8){return _0x278406(_0x21d3f8);},'msOMv':_0x3d29d8(0x1e1),'DxRHs':_0x3d29d8(0x1e5)},_0x2115e2=!helper[_0x3d29d8(0x20b)](_0x13dd7f['config']),_0x1f5510=_0x2115e2?path[_0x3d29d8(0x210)](process[_0x3d29d8(0x1df)](),_0x13dd7f[_0x3d29d8(0x1b7)]):process[_0x3d29d8(0x1df)](),{resolveConfigFile:_0x47578b,resolveConfigLocation:_0xd8a332}=helper['requirePWModule'][_0x3d29d8(0x1d5)](null,_0x28801e[_0x3d29d8(0x16f)](getConfigLoaderPath)),_0x167b2f=_0x47578b?_0x28801e[_0x3d29d8(0x192)](_0x47578b,_0x1f5510):helper[_0x3d29d8(0x1d6)](_0x28801e[_0x3d29d8(0x192)](_0xd8a332,_0x1f5510),[_0x28801e[_0x3d29d8(0x1be)]]),_0x23db7a={};if(_0x2115e2){const _0x17bcdd=_0x2b8123['findIndex'](_0x2079a4=>_0x2079a4===_0x3d29d8(0x20f)||_0x2079a4==='-c'||_0x2079a4['startsWith']('--config='));_0x2b8123[_0x3d29d8(0x1ea)](_0x17bcdd,_0x2b8123[_0x17bcdd][_0x3d29d8(0x194)](_0x28801e['DxRHs'])?0x1:0x2);}const _0x8df389={};return _0x8df389[_0x3d29d8(0x1c8)]=_0x167b2f,_0x8df389['config']=_0x23db7a,_0x8df389;},handleO11yRerun=_0x2ba9b1=>{const _0x35646c=a38_0xf57b41,_0x39db3d={};_0x39db3d[_0x35646c(0x17c)]=_0x35646c(0x1e9);const _0x1dde20=_0x39db3d,_0x476997=helper[_0x35646c(0x198)](process[_0x35646c(0x202)][_0x35646c(0x1d1)]);if(_0x476997){const _0x50348e=process[_0x35646c(0x202)][_0x35646c(0x173)],_0x2d9e02=[];if(helper['validateRerunTestList'](_0x50348e)&&!helper[_0x35646c(0x20b)](_0x50348e)){_0x50348e[_0x35646c(0x1ab)](',')['map'](_0x1b163b=>{const _0x21dcda=_0x35646c;_0x2d9e02['push']('('+_0x1b163b[_0x21dcda(0x1af)]()+')');});const _0x245f95='^'+_0x2d9e02[_0x35646c(0x167)]('|')+'$';_0x2ba9b1['push'](_0x1dde20[_0x35646c(0x17c)],_0x245f95);}}},spawnOriginalProcess=_0x152e18=>{const _0x38ec51=a38_0xf57b41,_0x1dea9c={'cVWxm':function(_0x29a2aa,_0x250de0,_0x130df9,_0x44a859){return _0x29a2aa(_0x250de0,_0x130df9,_0x44a859);},'xnveJ':_0x38ec51(0x1c0),'fyVrS':_0x38ec51(0x1dd),'PnAoA':function(_0xa1068e,_0xcabdfc){return _0xa1068e===_0xcabdfc;},'VExdk':_0x38ec51(0x1da),'hCNJb':_0x38ec51(0x1a2)};_0x1dea9c[_0x38ec51(0x18d)](spawn,_0x1dea9c[_0x38ec51(0x16d)],[_0x1dea9c[_0x38ec51(0x19b)],..._0x152e18[_0x38ec51(0x1c5)](0x1)],{'shell':_0x1dea9c[_0x38ec51(0x1cb)](process[_0x38ec51(0x1e8)],_0x1dea9c['VExdk']),'stdio':_0x1dea9c[_0x38ec51(0x178)],'cwd':process[_0x38ec51(0x1df)]()});},isTestCommand=(_0x37adc0,_0x2dd6a8)=>{const _0x2eaaac=a38_0xf57b41,_0x1b5952={};_0x1b5952['XsPUI']=function(_0x3850cd,_0x59f06a){return _0x3850cd>_0x59f06a;},_0x1b5952[_0x2eaaac(0x1c1)]=function(_0x15c596,_0x86da61){return _0x15c596===_0x86da61;},_0x1b5952[_0x2eaaac(0x1c9)]=_0x2eaaac(0x1d7);const _0x5ac895=_0x1b5952;if(_0x5ac895['XsPUI'](_0x2dd6a8[_0x2eaaac(0x1cd)],0x1)&&_0x5ac895['YxNpi'](_0x2dd6a8[0x1],_0x5ac895[_0x2eaaac(0x1c9)]))return!![];return![];};async function run(_0x1dc3b9,_0x177e60,_0x5e1742){const _0x38dc03=a38_0xf57b41,_0x38dbc4={'IwihM':function(_0x5c411c,_0x2e8171){return _0x5c411c(_0x2e8171);},'UeIxd':function(_0x21dd80){return _0x21dd80();},'wDsqg':function(_0x5dbdfa){return _0x5dbdfa();},'sxgeJ':_0x38dc03(0x1d0),'KIELn':function(_0x2a5a58,_0x5a70fd){return _0x2a5a58+_0x5a70fd;},'vgPDw':_0x38dc03(0x184),'qskjI':_0x38dc03(0x175),'ZeVBC':function(_0x5d33b5,_0x456027){return _0x5d33b5+_0x456027;},'WbJMR':_0x38dc03(0x1eb),'wlzvu':_0x38dc03(0x179),'BphBE':function(_0x3c971b,_0x25d1a7){return _0x3c971b===_0x25d1a7;},'xaPlK':'false','wsYUD':_0x38dc03(0x1a9),'mMQfg':function(_0xf0e1a9,_0x1c5833){return _0xf0e1a9>=_0x1c5833;},'SGoUa':_0x38dc03(0x1c4),'iFwCv':function(_0x524943,_0x2ab65d){return _0x524943!=_0x2ab65d;},'DUedH':function(_0x3599b7,_0x253a44,_0x45672d){return _0x3599b7(_0x253a44,_0x45672d);},'vnDon':function(_0x3873aa,_0x2c4fd0){return _0x3873aa(_0x2c4fd0);},'XXoxB':function(_0xa63f2b,_0x1250d1){return _0xa63f2b===_0x1250d1;},'fHseg':'true','xdxrK':function(_0x36ab7c,_0x239fdb){return _0x36ab7c(_0x239fdb);},'NbyVx':function(_0x1f0363,_0x355910){return _0x1f0363(_0x355910);},'SvHxs':_0x38dc03(0x201),'bhZuS':_0x38dc03(0x171),'SaXCo':'playwright-browserstack-sdk.config.js','ALaxa':function(_0x51397e,_0x484feb){return _0x51397e-_0x484feb;},'JMCco':_0x38dc03(0x19f),'GQVAC':function(_0x83ff41,_0xf839f3){return _0x83ff41>_0xf839f3;},'qthQF':function(_0x1fded0,_0x153a5d){return _0x1fded0+_0x153a5d;},'NoDtl':function(_0x5327cb,_0x44988b,_0x5b1657,_0x4c9cfa){return _0x5327cb(_0x44988b,_0x5b1657,_0x4c9cfa);},'QirbU':_0x38dc03(0x1c0),'qKWAC':_0x38dc03(0x1dd),'YNZer':'test','gzvYg':_0x38dc03(0x20f),'nRIUl':function(_0x9ebfe,_0x53bceb){return _0x9ebfe===_0x53bceb;},'lAgFA':'win32','cwpDO':'inherit','TqUcH':_0x38dc03(0x1ec),'qKEHj':function(_0x1af198,_0x15eb0f){return _0x1af198+_0x15eb0f;},'dRMZw':_0x38dc03(0x1b5),'sOWCI':function(_0x8a1220,_0x40484d,_0x11938f){return _0x8a1220(_0x40484d,_0x11938f);}};try{const _0x1e22ec=path[_0x38dc03(0x167)](helper[_0x38dc03(0x17d)](),_0x38dbc4[_0x38dc03(0x1b9)],_0x38dbc4[_0x38dc03(0x19a)]);fs[_0x38dc03(0x1f2)](_0x1e22ec)&&fs[_0x38dc03(0x1d2)](_0x1e22ec);}catch(_0x3c3e3b){logger['debug'](_0x38dbc4[_0x38dc03(0x1ff)](_0x38dbc4['dRMZw'],_0x3c3e3b));}if(!_0x38dbc4['sOWCI'](isTestCommand,_0x1dc3b9,_0x177e60)){_0x38dbc4[_0x38dc03(0x176)](spawnOriginalProcess,_0x177e60);return;}await PerformanceTester[_0x38dc03(0x1f5)](PerformanceEvents[_0x38dc03(0x1a1)],async()=>{const _0xc236d3=_0x38dc03,_0x3e787b={'UJRmq':_0x38dbc4[_0xc236d3(0x1b9)],'KXJdZ':_0x38dbc4[_0xc236d3(0x19a)],'NoCLL':function(_0x14b5ac,_0x29b0a0){const _0x2fe526=_0xc236d3;return _0x38dbc4[_0x2fe526(0x170)](_0x14b5ac,_0x29b0a0);},'cJsis':_0x38dbc4['WbJMR']};if(!_0x5e1742['config']){logger[_0xc236d3(0x1b8)](_0x38dbc4[_0xc236d3(0x1bc)]);return;}await _0x5e1742[_0xc236d3(0x1c3)](_0x1dc3b9),CLIUtils[_0xc236d3(0x205)](FRAMEWORKS[_0xc236d3(0x19d)],FRAMEWORKS[_0xc236d3(0x19d)]),BrowserstackCLI['getInstance']()[_0xc236d3(0x1fe)](_0x5e1742[_0xc236d3(0x1b7)],_0x5e1742[_0xc236d3(0x166)]),await BrowserstackCLI[_0xc236d3(0x16b)]()[_0xc236d3(0x18f)]();const _0x32e370=BrowserstackCLI[_0xc236d3(0x16b)]()['getConfig']();!helper['isFalse'](_0x32e370[_0xc236d3(0x1a8)])&&(process[_0xc236d3(0x202)][_0xc236d3(0x1f7)]=!![]);_0x38dbc4[_0xc236d3(0x1f8)](_0x32e370['browserstackAutomation'],![])&&(process[_0xc236d3(0x202)]['BROWSERSTACK_AUTOMATION']=_0x38dbc4['xaPlK'],_0x177e60=_0x177e60[_0xc236d3(0x1c6)](_0x238e06=>_0x238e06!==_0xc236d3(0x200)));const _0x27767f=_0x177e60['indexOf'](_0x38dbc4['wsYUD']);(_0x38dbc4['mMQfg'](_0x27767f,0x0)||_0x38dbc4[_0xc236d3(0x1f8)](_0x32e370['testObservability'],![]))&&(process[_0xc236d3(0x202)][_0xc236d3(0x165)]=_0x38dbc4[_0xc236d3(0x204)],_0x177e60=_0x177e60[_0xc236d3(0x1c6)](_0x148849=>_0x148849!=='--disable-test-observability'));!helper[_0xc236d3(0x20b)](_0x5e1742[_0xc236d3(0x166)])&&_0x5e1742['cliConfig'][_0xc236d3(0x16c)](_0x38dbc4['SGoUa'])&&(process[_0xc236d3(0x202)][_0xc236d3(0x1f7)]=_0x5e1742[_0xc236d3(0x166)]['get'](_0x38dbc4[_0xc236d3(0x20d)])||!![]);_0x38dbc4[_0xc236d3(0x1fb)](_0x5e1742['config'][_0xc236d3(0x1b4)],null)&&!helper[_0xc236d3(0x198)](process['env'][_0xc236d3(0x165)])&&(process[_0xc236d3(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0xc236d3(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x5e1742[_0xc236d3(0x1b7)]['testObservability']);const _0x6f942a=!helper[_0xc236d3(0x168)](process['env'][_0xc236d3(0x165)]);_0x5e1742[_0xc236d3(0x1b7)][_0xc236d3(0x1ba)]&&(process['env'][_0xc236d3(0x1ce)]=JSON[_0xc236d3(0x17f)](_0x5e1742[_0xc236d3(0x1b7)][_0xc236d3(0x1ba)]));let _0xe4961f=![];_0x5e1742[_0xc236d3(0x1b7)][_0xc236d3(0x1f6)]&&(_0xe4961f=!![],process['env'][_0xc236d3(0x1ac)]=_0x5e1742[_0xc236d3(0x1b7)][_0xc236d3(0x1f6)]);const _0x4ab00e=_0x177e60[_0xc236d3(0x164)](),_0x48539a=await _0x38dbc4['DUedH'](getUserPlaywrightConfig,_0x1dc3b9,_0x177e60);if(helper[_0xc236d3(0x20b)](_0x48539a)){_0x38dbc4[_0xc236d3(0x1bf)](spawnOriginalProcess,_0x4ab00e);return;}const _0x488543=_0x48539a['path']?path['dirname'](_0x48539a['path']):process[_0xc236d3(0x1df)]();process[_0xc236d3(0x202)][_0xc236d3(0x1dc)]=_0x488543,await PerformanceTester[_0xc236d3(0x1f5)](PerformanceEvents[_0xc236d3(0x1bd)],async()=>{const _0x5c782b=_0xc236d3;!BrowserstackCLI[_0x5c782b(0x16b)]()['isRunning']()&&await TestHubHandler[_0x5c782b(0x1e7)](FRAMEWORKS[_0x5c782b(0x19d)],_0x5e1742),_0x6f942a&&_0x38dbc4[_0x5c782b(0x174)](handleO11yRerun,_0x177e60);})();if(!BrowserstackCLI[_0xc236d3(0x16b)]()[_0xc236d3(0x206)]()){let _0x156d8d=_0x38dbc4[_0xc236d3(0x19e)](process['env'][_0xc236d3(0x1ac)],_0x38dbc4[_0xc236d3(0x186)]);_0x156d8d=_0x156d8d||_0x38dbc4[_0xc236d3(0x1a3)](checkAccessibilityPlatformConfig,_0x5e1742[_0xc236d3(0x1b7)]),process[_0xc236d3(0x202)][_0xc236d3(0x1ac)]=_0x156d8d,_0x156d8d&&_0x38dbc4['NbyVx'](setAccessibilityCapabilities,_0x5e1742[_0xc236d3(0x1b7)]);}const _0x1b49ae=path[_0xc236d3(0x167)](_0x48539a[_0xc236d3(0x1c8)]?path[_0xc236d3(0x18e)](_0x48539a[_0xc236d3(0x1c8)]):process[_0xc236d3(0x1df)](),_0x38dbc4[_0xc236d3(0x1ed)]);fs[_0xc236d3(0x1b1)](_0x1b49ae,helper['serializeToYamlString'](_0x5e1742[_0xc236d3(0x1b7)])),process[_0xc236d3(0x202)][_0xc236d3(0x17e)]=_0x1b49ae,helper['clearTempPWConfig']();let _0x2a9082='';_0x38dbc4[_0xc236d3(0x19e)](helper[_0xc236d3(0x1b0)](),constants[_0xc236d3(0x1b6)][_0xc236d3(0x1a7)])?_0x2a9082=_0x38dbc4['bhZuS']:_0x2a9082=_0x38dbc4[_0xc236d3(0x18b)];let _0x4a1553='';if(helper[_0xc236d3(0x1a4)](_0x48539a[_0xc236d3(0x1c8)])){_0x4a1553=_0xc236d3(0x1d8);const _0x4a2895=_0x2a9082['split']('.');_0x4a2895[_0x38dbc4[_0xc236d3(0x16a)](_0x4a2895[_0xc236d3(0x1cd)],0x1)]='ts',_0x2a9082=_0x4a2895[_0xc236d3(0x167)]('.'),logger['debug'](_0x38dbc4['ZeVBC'](_0x38dbc4[_0xc236d3(0x1cf)],_0x2a9082));}else _0x4a1553=_0xc236d3(0x190);const _0xb1ff8c=path['join'](_0x48539a[_0xc236d3(0x1c8)]?path[_0xc236d3(0x18e)](_0x48539a[_0xc236d3(0x1c8)]):process[_0xc236d3(0x1df)](),_0x2a9082);let _0x5a7bea=_0x48539a['path']?_0x48539a[_0xc236d3(0x1c8)]:'';_0x5a7bea=_0x38dbc4[_0xc236d3(0x1ae)](_0x5a7bea[_0xc236d3(0x1cd)],0x0)?path['resolve'](_0x5a7bea):'',process[_0xc236d3(0x202)]['USER_CONFIG_DETAILS_PATH']=_0x5a7bea;const _0x276602=helper[_0xc236d3(0x1f3)](_0x5e1742['config']);_0x276602&&(_0x4a1553=_0x38dbc4['qthQF'](_0xc236d3(0x195)+_0x276602+_0xc236d3(0x20e),_0x4a1553));helper[_0xc236d3(0x1e3)]({},_0x177e60),fs['writeFileSync'](_0xb1ff8c,_0x4a1553),PerformanceTester['end'](PerformanceEvents[_0xc236d3(0x1bb)]);const _0x558129=_0x38dbc4[_0xc236d3(0x1f1)](spawn,_0x38dbc4[_0xc236d3(0x1e6)],[_0x38dbc4[_0xc236d3(0x18a)],_0x38dbc4[_0xc236d3(0x1ee)],_0x38dbc4[_0xc236d3(0x187)],_0xb1ff8c,..._0x177e60[_0xc236d3(0x1c5)](0x2)],{'shell':_0x38dbc4[_0xc236d3(0x1b3)](process[_0xc236d3(0x1e8)],_0x38dbc4[_0xc236d3(0x1ad)]),'stdio':_0x38dbc4[_0xc236d3(0x1f0)],'cwd':process[_0xc236d3(0x1df)](),'env':Object[_0xc236d3(0x1c7)]({},process[_0xc236d3(0x202)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1dc3b9),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5e1742[_0xc236d3(0x1b7)][_0xc236d3(0x1ca)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5e1742['config'][_0xc236d3(0x1ca)][_0xc236d3(0x193)],'BROWSERSTACK_LOG_LEVEL':_0x5e1742['config'][_0xc236d3(0x1d3)]})}),_0x516728=()=>{const _0x4c5a91=_0xc236d3;try{const _0xfecd5b=path[_0x4c5a91(0x167)](helper[_0x4c5a91(0x17d)](),_0x3e787b[_0x4c5a91(0x188)],_0x3e787b['KXJdZ']);if(fs[_0x4c5a91(0x1f2)](_0xfecd5b)){let _0x1a2891=fs[_0x4c5a91(0x203)](_0xfecd5b);_0x1a2891=JSON[_0x4c5a91(0x207)](_0x1a2891),_0x5e1742[_0x4c5a91(0x1f4)]=_0x1a2891,fs[_0x4c5a91(0x1d2)](_0xfecd5b);}}catch(_0x5ee1f3){logger['debug'](_0x3e787b[_0x4c5a91(0x1de)](_0x3e787b[_0x4c5a91(0x1cc)],_0x5ee1f3));}};_0x558129['on'](_0x38dbc4[_0xc236d3(0x209)],async _0x470036=>{const _0x817821=_0xc236d3;try{PerformanceTester['start'](PerformanceEvents[_0x817821(0x18c)]),_0x38dbc4[_0x817821(0x1f9)](_0x516728);!BrowserstackCLI[_0x817821(0x16b)]()[_0x817821(0x206)]()&&await TestHubHandler[_0x817821(0x191)]();await BrowserstackCLI[_0x817821(0x16b)]()['stop'](),TestDetails[_0x817821(0x19c)](),_0x38dbc4['wDsqg'](printBuildLink),await utilities['finalExecution'](_0x5e1742),process[_0x817821(0x20a)]=_0x470036,logger[_0x817821(0x1db)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x470036),logger['info']('Deleting\x20'+_0xb1ff8c),fs[_0x817821(0x1d2)](_0xb1ff8c);fs[_0x817821(0x1f2)](_0x1b49ae)&&(logger['debug'](_0x817821(0x1a6)+_0x1b49ae),fs[_0x817821(0x1d2)](_0x1b49ae));const _0xbde523=fs[_0x817821(0x1fd)](path['join'](helper[_0x817821(0x17d)](),_0x38dbc4['sxgeJ']))[_0x817821(0x1c6)](_0x5747eb=>_0x5747eb['startsWith']('trace_'));_0xbde523[_0x817821(0x196)](_0x247021=>{const _0x31aa47=_0x817821;fs['unlinkSync'](path[_0x31aa47(0x167)](helper[_0x31aa47(0x17d)](),_0x3e787b[_0x31aa47(0x188)],_0x247021));});}catch(_0x14d6ef){logger[_0x817821(0x1db)](_0x38dbc4[_0x817821(0x1e0)](_0x38dbc4[_0x817821(0x1fc)],_0x14d6ef));}});})();}module[a38_0xf57b41(0x17a)]=run;
@@ -1 +1 @@
1
- const a39_0x20c2be=a39_0x2a9f;(function(_0x341a81,_0x4fefb6){const _0x13c40c=a39_0x2a9f,_0x5aafda=_0x341a81();while(!![]){try{const _0x5d3ae0=-parseInt(_0x13c40c(0xb3))/0x1+parseInt(_0x13c40c(0xbc))/0x2*(-parseInt(_0x13c40c(0xc5))/0x3)+parseInt(_0x13c40c(0xc0))/0x4*(parseInt(_0x13c40c(0xb5))/0x5)+parseInt(_0x13c40c(0xcc))/0x6*(parseInt(_0x13c40c(0xc4))/0x7)+parseInt(_0x13c40c(0xa2))/0x8+-parseInt(_0x13c40c(0xca))/0x9+parseInt(_0x13c40c(0xb4))/0xa*(parseInt(_0x13c40c(0xa8))/0xb);if(_0x5d3ae0===_0x4fefb6)break;else _0x5aafda['push'](_0x5aafda['shift']());}catch(_0x145527){_0x5aafda['push'](_0x5aafda['shift']());}}}(a39_0x4455,0x56ee6));function a39_0x2a9f(_0x5a3170,_0x5bf3c1){const _0x445576=a39_0x4455();return a39_0x2a9f=function(_0x2a9f75,_0x213cfa){_0x2a9f75=_0x2a9f75-0x9d;let _0x1bd006=_0x445576[_0x2a9f75];return _0x1bd006;},a39_0x2a9f(_0x5a3170,_0x5bf3c1);}const util=require(a39_0x20c2be(0xc3)),child_process=require(a39_0x20c2be(0xa4)),{FRAMEWORKS}=require(a39_0x20c2be(0xa1)),{getFrameworkVersion,debug}=require(a39_0x20c2be(0xa5)),helper=require(a39_0x20c2be(0xab)),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x20c2be(0xaf)),{mockIsWorkerRedundant}=require(a39_0x20c2be(0xba)),logger=require('../../helpers/logger')[a39_0x20c2be(0xc2)];module[a39_0x20c2be(0xaa)]=async function(_0x2b6722){const _0x4a3961=a39_0x20c2be,_0x10e15b={'fDFdV':function(_0x283b7e,_0x28f77e){return _0x283b7e(_0x28f77e);},'YDUdB':function(_0x128b03){return _0x128b03();},'HEhmA':_0x4a3961(0xad),'DtgZz':function(_0x3556a3,_0x187b8a){return _0x3556a3(_0x187b8a);},'RqOAd':_0x4a3961(0xc8),'GuvOE':function(_0x3da590){return _0x3da590();},'kTFGV':function(_0x36de49,_0x4f5cc3){return _0x36de49>=_0x4f5cc3;},'bWTuI':_0x4a3961(0xc7),'pLNPM':function(_0x147a4a,_0x1d3452,_0x56f86c){return _0x147a4a(_0x1d3452,_0x56f86c);},'fQLoe':function(_0x5b8bf7,_0x4ecc2b){return _0x5b8bf7!==_0x4ecc2b;},'sSSiq':'function','ZPuTt':'Not\x20able\x20to\x20import\x20globalSetup','izAWJ':function(_0x286681,_0x2dfb84){return _0x286681(_0x2dfb84);}},_0xfb9dd9=child_process['fork'];if(helper[_0x4a3961(0xbe)]())try{_0x10e15b[_0x4a3961(0x9d)](mockIsWorkerRedundant);}catch(_0x1eac2b){logger[_0x4a3961(0xac)](_0x4a3961(0xce)+util[_0x4a3961(0xa0)](_0x1eac2b));}child_process[_0x4a3961(0xb1)]=function(){const _0x3f8ad3=_0x4a3961;return _0x10e15b[_0x3f8ad3(0xb9)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0]['includes'](_0x10e15b[_0x3f8ad3(0x9d)](getForkProcessPath))?arguments[0x0]=require[_0x3f8ad3(0xa3)](_0x10e15b[_0x3f8ad3(0xb0)]):logger[_0x3f8ad3(0xbf)](_0x3f8ad3(0xb6)+_0x10e15b['YDUdB'](getForkProcessPath)+_0x3f8ad3(0xa6)),_0xfb9dd9[_0x3f8ad3(0xa9)](null,arguments);};if(process['env'][_0x4a3961(0xa7)]){_0x10e15b['DtgZz'](debug,_0x10e15b['RqOAd']);try{const {loadGlobalHook:_0x279223}=helper['requirePWModule'][_0x4a3961(0xa9)](null,_0x10e15b[_0x4a3961(0xc6)](getLoadUtilsPath)),_0x2e3b48=_0x10e15b[_0x4a3961(0xb9)](getFrameworkVersion,FRAMEWORKS[_0x4a3961(0xbd)]);let _0x2fafec=_0x2b6722;if(_0x10e15b[_0x4a3961(0xcd)](helper[_0x4a3961(0x9f)](_0x2e3b48,_0x10e15b[_0x4a3961(0x9e)]),0x0)){const _0x29235e={};_0x29235e[_0x4a3961(0xae)]=_0x2b6722,_0x2fafec=_0x29235e;}const _0x55f70d=await _0x10e15b[_0x4a3961(0xb2)](_0x279223,_0x2fafec,process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x10e15b[_0x4a3961(0xb8)](typeof _0x55f70d,_0x10e15b[_0x4a3961(0xb7)]))throw new Error(_0x10e15b[_0x4a3961(0xc1)]);return _0x55f70d[_0x4a3961(0xa9)](null,arguments);}catch(_0x37b71f){_0x10e15b[_0x4a3961(0xcb)](debug,_0x4a3961(0xc9)+_0x37b71f[_0x4a3961(0xbb)]());}}};function a39_0x4455(){const _0x4f21d3=['1.33.0','Running\x20existing\x20global\x20setup','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','6180624tJzcZn','izAWJ','2172YwiCrg','kTFGV','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','YDUdB','bWTuI','compareVersions','format','../../helpers/test-observability/constants','2887976WbpGat','resolve','child_process','../../helpers/test-observability/utils','\x20is\x20not\x20found','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','22toZgIM','apply','exports','../../helpers/helper','debug','./mock-process.js','config','./reporter/pwUtils','HEhmA','fork','pLNPM','710953ASLAzd','4017160CmcgFM','5BFqYxf','Path\x20','sSSiq','fQLoe','fDFdV','./patches','toString','2WyIWdf','PLAYWRIGHT','isHandlePWErrorSet','error','1864244lZfpns','ZPuTt','winstonLogger','util','2429fcWdOx','7035lidXLk','GuvOE'];a39_0x4455=function(){return _0x4f21d3;};return a39_0x4455();}
1
+ const a39_0x4ed419=a39_0x5683;(function(_0x2a62e4,_0x5232be){const _0x3dabb1=a39_0x5683,_0x557631=_0x2a62e4();while(!![]){try{const _0x48890f=-parseInt(_0x3dabb1(0x18e))/0x1*(-parseInt(_0x3dabb1(0x18d))/0x2)+parseInt(_0x3dabb1(0x16f))/0x3+-parseInt(_0x3dabb1(0x17f))/0x4+-parseInt(_0x3dabb1(0x187))/0x5+-parseInt(_0x3dabb1(0x192))/0x6*(parseInt(_0x3dabb1(0x197))/0x7)+-parseInt(_0x3dabb1(0x172))/0x8+parseInt(_0x3dabb1(0x175))/0x9;if(_0x48890f===_0x5232be)break;else _0x557631['push'](_0x557631['shift']());}catch(_0x506820){_0x557631['push'](_0x557631['shift']());}}}(a39_0x30ce,0x3236d));function a39_0x5683(_0x24c4eb,_0x313aad){const _0x30ce16=a39_0x30ce();return a39_0x5683=function(_0x5683fc,_0x3f0256){_0x5683fc=_0x5683fc-0x169;let _0x552eb9=_0x30ce16[_0x5683fc];return _0x552eb9;},a39_0x5683(_0x24c4eb,_0x313aad);}const util=require(a39_0x4ed419(0x179)),child_process=require(a39_0x4ed419(0x16a)),{FRAMEWORKS}=require(a39_0x4ed419(0x16e)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a39_0x4ed419(0x178)),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x4ed419(0x195)),{mockIsWorkerRedundant}=require(a39_0x4ed419(0x184)),logger=require(a39_0x4ed419(0x17b))[a39_0x4ed419(0x16b)];function a39_0x30ce(){const _0x4d6d97=['1383634tbhxhk','AtRRP','child_process','winstonLogger','Unrfx','isHandlePWErrorSet','../../helpers/test-observability/constants','472383YPxuAC','Running\x20existing\x20global\x20setup','Call\x20to\x20child\x20fork\x20with\x20args\x20','1070344WTvEqU','requirePWModule','lynGJ','8208378lZkjzW','PLAYWRIGHT','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','../../helpers/helper','util','error','../../helpers/logger','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','compareVersions','fork','1356220KZUtlv','Path\x20','debug','format','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','./patches','./mock-process.js','GyJFf','1724080GnpEzO','includes','exports','toString','wvdaQ','kBdet','10UrFoGh','30300UEifcU','config','1.33.0','CYdGo','6iMbHcu','apply','\x20is\x20not\x20found','./reporter/pwUtils','rPduy'];a39_0x30ce=function(){return _0x4d6d97;};return a39_0x30ce();}module[a39_0x4ed419(0x189)]=async function(_0x8d6e8a){const _0x4e169f=a39_0x4ed419,_0x29deba={'lynGJ':function(_0x36eb38,_0x1246e3){return _0x36eb38(_0x1246e3);},'wkEZt':function(_0x392c6c){return _0x392c6c();},'Unrfx':_0x4e169f(0x185),'ARtuA':function(_0x2032f0){return _0x2032f0();},'wvdaQ':function(_0xc9334){return _0xc9334();},'UWIlo':function(_0x159eaa,_0x8aa2b0){return _0x159eaa(_0x8aa2b0);},'UlHwr':_0x4e169f(0x170),'AtRRP':function(_0x36b01b){return _0x36b01b();},'KpcCm':function(_0xe5217c,_0x2916db){return _0xe5217c>=_0x2916db;},'GyJFf':_0x4e169f(0x190),'rPduy':function(_0x1ab0c5,_0x953249,_0x12ebe0){return _0x1ab0c5(_0x953249,_0x12ebe0);},'CYdGo':function(_0x2474f4,_0x517c90){return _0x2474f4!==_0x517c90;},'kBdet':'function','oQzsd':'Not\x20able\x20to\x20import\x20globalSetup'},_0x26ee82=child_process['fork'];if(helper[_0x4e169f(0x16d)]())try{_0x29deba[_0x4e169f(0x18b)](mockIsWorkerRedundant);}catch(_0xf8b679){logger[_0x4e169f(0x181)](_0x4e169f(0x17c)+util[_0x4e169f(0x182)](_0xf8b679));}child_process[_0x4e169f(0x17e)]=function(){const _0x1c287d=_0x4e169f;return _0x29deba[_0x1c287d(0x174)](debug,_0x1c287d(0x171)+arguments[0x0]),arguments[0x0][_0x1c287d(0x188)](_0x29deba['wkEZt'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x29deba[_0x1c287d(0x16c)]):logger[_0x1c287d(0x17a)](_0x1c287d(0x180)+_0x29deba['ARtuA'](getForkProcessPath)+_0x1c287d(0x194)),_0x26ee82[_0x1c287d(0x193)](null,arguments);};if(process['env'][_0x4e169f(0x177)]){_0x29deba['UWIlo'](debug,_0x29deba['UlHwr']);try{const {loadGlobalHook:_0x518eba}=helper[_0x4e169f(0x173)][_0x4e169f(0x193)](null,_0x29deba[_0x4e169f(0x169)](getLoadUtilsPath)),_0x99fc60=_0x29deba[_0x4e169f(0x174)](getFrameworkVersion,FRAMEWORKS[_0x4e169f(0x176)]);let _0x4d275a=_0x8d6e8a;if(_0x29deba['KpcCm'](helper[_0x4e169f(0x17d)](_0x99fc60,_0x29deba[_0x4e169f(0x186)]),0x0)){const _0x58543c={};_0x58543c[_0x4e169f(0x18f)]=_0x8d6e8a,_0x4d275a=_0x58543c;}const _0xad0075=await _0x29deba[_0x4e169f(0x196)](_0x518eba,_0x4d275a,process['env'][_0x4e169f(0x177)]);if(_0x29deba[_0x4e169f(0x191)](typeof _0xad0075,_0x29deba[_0x4e169f(0x18c)]))throw new Error(_0x29deba['oQzsd']);return _0xad0075[_0x4e169f(0x193)](null,arguments);}catch(_0x1e16e3){_0x29deba[_0x4e169f(0x174)](debug,_0x4e169f(0x183)+_0x1e16e3[_0x4e169f(0x18a)]());}}};