browserstack-node-sdk 1.40.8 → 1.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) 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/browserstack.pw.yml.sample +3 -3
  41. package/browserstack.yml.sample +3 -3
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/processHelper.js +1 -1
  154. package/src/helpers/request-spy.js +1 -1
  155. package/src/helpers/setKeepAlive.js +1 -1
  156. package/src/helpers/test-observability/constants.js +1 -1
  157. package/src/helpers/test-observability/error-handler.js +1 -1
  158. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  159. package/src/helpers/test-observability/sessionHandler.js +1 -1
  160. package/src/helpers/test-observability/utils.js +1 -1
  161. package/src/helpers/test-orchestration/constants.js +1 -1
  162. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  163. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  164. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  165. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  166. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  167. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  168. package/src/helpers/testhub/constants.js +1 -1
  169. package/src/helpers/testhub/testhubHandler.js +1 -1
  170. package/src/helpers/testhub/utils.js +1 -1
  171. package/src/helpers/timeoutPromise.js +1 -1
  172. package/src/helpers/utilities.js +1 -1
  173. package/src/helpers/w3cMapping.js +1 -1
  174. package/src/hubAllocationMethods.js +1 -1
  175. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a35_0x47c45b=a35_0x3663;(function(_0x2a7136,_0x517094){const _0x454f99=a35_0x3663,_0x3bbfe1=_0x2a7136();while(!![]){try{const _0x402dee=parseInt(_0x454f99(0x23a))/0x1*(parseInt(_0x454f99(0x20a))/0x2)+-parseInt(_0x454f99(0x238))/0x3*(parseInt(_0x454f99(0x241))/0x4)+-parseInt(_0x454f99(0x23d))/0x5+parseInt(_0x454f99(0x1ff))/0x6*(-parseInt(_0x454f99(0x271))/0x7)+-parseInt(_0x454f99(0x1f9))/0x8*(-parseInt(_0x454f99(0x269))/0x9)+parseInt(_0x454f99(0x215))/0xa+parseInt(_0x454f99(0x231))/0xb;if(_0x402dee===_0x517094)break;else _0x3bbfe1['push'](_0x3bbfe1['shift']());}catch(_0x2379ea){_0x3bbfe1['push'](_0x3bbfe1['shift']());}}}(a35_0x5cb2,0x5fe38));const util=require(a35_0x47c45b(0x27c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a35_0x47c45b(0x22a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a35_0x47c45b(0x273)),{percyAutoCapture}=require(a35_0x47c45b(0x26d)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x47c45b(0x22e)),PerformanceTester=require(a35_0x47c45b(0x1e0)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a35_0x47c45b(0x1fe)),globals=require(a35_0x47c45b(0x236)),logger=require(a35_0x47c45b(0x233))[a35_0x47c45b(0x27b)],{shouldProcessEventForTesthub}=require(a35_0x47c45b(0x285)),testHubConstants=require(a35_0x47c45b(0x23c));function a35_0x5cb2(){const _0xebdb22=['__drivers','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','measureWrapper','../../helpers/helper','accessibilityScanStarted','UhvBp','57134mZGkou','beforeAll','../../helpers/logger','DjVDk','http:','../../helpers/globals','\x20|\x20','9dmAHcL','MdmEU','4058SFoVdW','mcppz','../../helpers/testhub/constants','3771375Ikhszc','bEOiM','nxSIH','passed','104788ePzhEq','isAccessibilityPlatform','err','SDK_HOOK','shift','eTJkQ','uDaOI','IbkaQ','GNvtG','xOakD','Rghth','failed','fFSqw','session_','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','FlCfl','testAnalyticsId','fMRzu','message','flIoU','__error_messages__','UTvAD','AbSLM','zAkrG','AMNDs','wPudv','VEoJl','capabilities','aTXma','QLsZq','percyCaptureMode','\x20-\x20','initQuit','__skipSessionName','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','gWwXJ','QvSPg','state','ROgnE','QdEvu','3141zTenQp','xLoqO','bHkCh','getGlobal','../../helpers/percy/utils','sessionName','Failed:\x20','OsrVe','21gampyu','start','../utils/constants','Performing\x20scan\x20before\x20saving\x20results','lSIfM','error','thBuildUuid','SjGPM','percy','ObservabilitySync:','winstonLogger','util','then','SESSION_NAME','WLojg','push','stringify','Automate\x20test\x20case\x20execution\x20has\x20started.','beforeEach','startMonitoring','../../helpers/testhub/utils','SAVE_RESULTS','Failed\x20to\x20store\x20session\x20name:\x20','env','UWXFU','getCurrentUrl','ffRYs','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','titlePath','jpCGT','command','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ANvZy','driverCleanup','shouldScanTestForAccessibility','info','erYmA','yvfdq','qTmxf','app','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','sessionNameSet__','MLXzs','afterAll','HqtkO','debug','XPrpL','TfUqI','DrBSH','../../helpers/performance/performance-tester','ENV_VAR','huGnb','ozPQv','dJSWa','hhiLe','mochaHooks','browserstackTestName','eKeaj','__platformCaps','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','thJwtToken','timeout','__sessionFailed','index','afterTest','finally','browserstackSessionName','bklhW','SESSION_STATUS','Mocha','oPMVx','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Duwpo','npwzV','11728TrsVZL','PERFORM_SCAN','protocol','JGOsd','xiKAr','../../helpers/accessibility-automation/scripts','827994NmmbgU','executeAsyncScript','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','isArray','dOXAj','HGwaV','join','PBjZC','MrJKC','JOdOS','length','312rWNzzj','RtuNl','ahBDK','yNfBa','TXEQk','BROWSERSTACK_TESTHUB_UUID','sQoFn','now','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','afterEach','SYNC','4897470kTuRHP','LxjLv','bstackA11yShouldScan','WKmfO','BROWSERSTACK_TESTHUB_JWT','rPEeX','ggjGP','svddT','AkHYd','currentTest','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','executeScript','VmbUH','zHPhp','WqwtY','CwRxr','SWCfY','YtFGL','end','wdJKY','setGlobal','../../helpers/accessibility-automation/helper'];a35_0x5cb2=function(){return _0xebdb22;};return a35_0x5cb2();}function a35_0x3663(_0x24a8e9,_0xcc4a07){const _0x5cb22d=a35_0x5cb2();return a35_0x3663=function(_0x366353,_0x45898f){_0x366353=_0x366353-0x1ce;let _0x573c64=_0x5cb22d[_0x366353];return _0x573c64;},a35_0x3663(_0x24a8e9,_0xcc4a07);}exports[a35_0x47c45b(0x1e6)]={'beforeAll'(){const _0x4e93b4=a35_0x47c45b,_0x95d66f={'yNfBa':function(_0x22a57c,_0x56448a,_0x4f9d0b,_0x2967d9){return _0x22a57c(_0x56448a,_0x4f9d0b,_0x2967d9);},'AbSLM':_0x4e93b4(0x24c),'rZEVc':_0x4e93b4(0x237),'HqtkO':function(_0x502ae8,_0x409aef,_0x141120){return _0x502ae8(_0x409aef,_0x141120);},'MrJKC':_0x4e93b4(0x240),'UWXFU':function(_0x263f97){return _0x263f97();},'UTvAD':_0x4e93b4(0x1ee),'PBjZC':_0x4e93b4(0x232)};PerformanceTester[_0x4e93b4(0x284)]();const _0x3960b9='browserstack internal helper hook';PerformanceTester[_0x4e93b4(0x22d)](PerformanceSdkEvents[_0x4e93b4(0x244)],()=>{const _0x3e5128=_0x4e93b4;global[_0x3e5128(0x255)]=[],global[_0x3e5128(0x1ed)]=![],global[_0x3e5128(0x1d0)]=async()=>{const _0x55d70a=_0x3e5128;let _0x453372=![];try{await global['__drivers'][0x0][_0x55d70a(0x24e)],_0x453372=!![],global[_0x55d70a(0x1ed)]?await _0x95d66f[_0x55d70a(0x20d)](markSessionStatus,global[_0x55d70a(0x22b)][0x0],_0x95d66f[_0x55d70a(0x257)],global[_0x55d70a(0x255)][_0x55d70a(0x205)](_0x95d66f['rZEVc'])):await _0x95d66f[_0x55d70a(0x1db)](markSessionStatus,global[_0x55d70a(0x22b)][0x0],_0x95d66f[_0x55d70a(0x207)]);}catch(_0x37194c){logger['debug'](_0x55d70a(0x24f)+_0x37194c);}global[_0x55d70a(0x255)]=[],global['__sessionFailed']=![];if(_0x453372)try{try{_0x95d66f[_0x55d70a(0x289)](shouldProcessEventForTesthub)&&(global[_0x55d70a(0x22b)][0x0]&&await _0x95d66f[_0x55d70a(0x1db)](sendPlatformDetails,global[_0x55d70a(0x22b)][0x0],this['currentTest']?this[_0x55d70a(0x21e)][_0x55d70a(0x251)]:null));}catch(_0x59bcc9){logger[_0x55d70a(0x1dc)](_0x55d70a(0x212)+_0x59bcc9);}await global[_0x55d70a(0x22b)][0x0][_0x55d70a(0x261)]();}catch(_0x4db2d2){logger[_0x55d70a(0x1dc)](_0x55d70a(0x22c)+_0x4db2d2);}};},{'platform':_0x95d66f[_0x4e93b4(0x1db)](nestedKeyValue,global[_0x4e93b4(0x1e9)],[_0x95d66f[_0x4e93b4(0x256)]]),'hookType':_0x95d66f[_0x4e93b4(0x206)]})();},'beforeEach'(_0x17138d){const _0x335a15=a35_0x47c45b,_0x18fa03={'jpCGT':function(_0x261d0d,_0x348349){return _0x261d0d>_0x348349;},'XPrpL':'\x20-\x20','MdmEU':function(_0x87a0f0,_0x368c78,_0x3bc372){return _0x87a0f0(_0x368c78,_0x3bc372);},'ANvZy':_0x335a15(0x217),'erYmA':function(_0x3add92){return _0x3add92();},'FlCfl':_0x335a15(0x242),'mcppz':function(_0x24296c,_0x241080){return _0x24296c===_0x241080;},'GNvtG':_0x335a15(0x235),'SWCfY':function(_0x79770c,_0x3e6ffc){return _0x79770c===_0x3e6ffc;},'RtuNl':'https:','CPvDq':_0x335a15(0x1ea),'TtoQO':_0x335a15(0x282),'MLXzs':_0x335a15(0x1e7),'sfOMA':function(_0x268202,_0x273d81,_0x1beede){return _0x268202(_0x273d81,_0x1beede);},'DjVDk':_0x335a15(0x1ee),'JOdOS':_0x335a15(0x283)};globals[_0x335a15(0x229)](_0x18fa03[_0x335a15(0x1d9)],this['currentTest']['titlePath']()[_0x335a15(0x205)](_0x18fa03[_0x335a15(0x1dd)])),PerformanceTester[_0x335a15(0x22d)](PerformanceSdkEvents[_0x335a15(0x244)],()=>{const _0x39dde6=_0x335a15,_0x10b2f0={'hhiLe':function(_0x210a76,_0x444ac3){const _0x1700d1=a35_0x3663;return _0x18fa03[_0x1700d1(0x28e)](_0x210a76,_0x444ac3);},'eTJkQ':_0x18fa03[_0x39dde6(0x1dd)],'fFSqw':function(_0x5ca44d,_0xf0c781,_0xaea69b){const _0xe569f2=_0x39dde6;return _0x18fa03[_0xe569f2(0x239)](_0x5ca44d,_0xf0c781,_0xaea69b);},'Tcnri':_0x18fa03[_0x39dde6(0x1cf)],'WqwtY':function(_0xe4e389){const _0x4abad9=_0x39dde6;return _0x18fa03[_0x4abad9(0x1d3)](_0xe4e389);},'VEoJl':_0x18fa03[_0x39dde6(0x250)],'ggjGP':function(_0x7f5ef6,_0x5876e4){const _0x22838c=_0x39dde6;return _0x18fa03[_0x22838c(0x23b)](_0x7f5ef6,_0x5876e4);},'DrBSH':_0x18fa03[_0x39dde6(0x249)],'QLsZq':function(_0x292f1e,_0xba39fa){const _0xdea36d=_0x39dde6;return _0x18fa03[_0xdea36d(0x225)](_0x292f1e,_0xba39fa);},'huGnb':_0x18fa03[_0x39dde6(0x20b)],'zHPhp':_0x18fa03['CPvDq'],'flIoU':_0x18fa03['TtoQO']},_0x434581='browserstack internal helper hook';new Promise(async _0x3ee1db=>{const _0x5ca81f=_0x39dde6;let _0x7636e0=!![];try{_0x10b2f0[_0x5ca81f(0x1e5)](global[_0x5ca81f(0x22b)]['length'],0x1)&&(await global[_0x5ca81f(0x1d0)](),global['__drivers'][_0x5ca81f(0x245)]()),_0x10b2f0[_0x5ca81f(0x1e5)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x7636e0=![],await global['driverCleanup']());}catch(_0x344ed9){logger[_0x5ca81f(0x1dc)](_0x5ca81f(0x22c)+_0x344ed9);}try{Array[_0x5ca81f(0x202)](global['__drivers'])&&global[_0x5ca81f(0x22b)][0x0]&&(global[_0x5ca81f(0x22b)][0x0][_0x5ca81f(0x1f1)]=this[_0x5ca81f(0x21e)]['titlePath']()[_0x5ca81f(0x205)](_0x10b2f0[_0x5ca81f(0x246)])),global[_0x5ca81f(0x1f1)]=this[_0x5ca81f(0x21e)]['titlePath']()[_0x5ca81f(0x205)](_0x10b2f0[_0x5ca81f(0x246)]);}catch(_0xe11681){logger[_0x5ca81f(0x1dc)](_0x5ca81f(0x287)+_0xe11681);}this[_0x5ca81f(0x21e)]['shouldScanTestForAccessibility']=_0x10b2f0[_0x5ca81f(0x24d)](shouldScanTestForAccessibility,this[_0x5ca81f(0x21e)]['titlePath'](),!![]),globals[_0x5ca81f(0x229)](_0x10b2f0['Tcnri'],this[_0x5ca81f(0x21e)][_0x5ca81f(0x1d1)]),this['currentTest'][_0x5ca81f(0x22f)]=!![];if(_0x10b2f0[_0x5ca81f(0x223)](isAccessibilityAutomationSession)&&_0x7636e0&&Array[_0x5ca81f(0x202)](global[_0x5ca81f(0x22b)])&&_0x10b2f0[_0x5ca81f(0x1e5)](global['__drivers'][_0x5ca81f(0x209)],0x0)&&globals[_0x5ca81f(0x26c)](_0x10b2f0[_0x5ca81f(0x25b)]))try{const _0x207a44=await global[_0x5ca81f(0x22b)][0x0]['session_'];if(_0x207a44){let _0x331e0e=!![];const _0x1febad=await global['__drivers'][0x0][_0x5ca81f(0x28a)]();let _0x19d790;try{_0x19d790=new URL(_0x1febad);}catch(_0x2fbd14){_0x331e0e=![];}_0x331e0e=_0x10b2f0[_0x5ca81f(0x21b)](_0x19d790[_0x5ca81f(0x1fb)],_0x10b2f0[_0x5ca81f(0x1df)])||_0x10b2f0[_0x5ca81f(0x25e)](_0x19d790[_0x5ca81f(0x1fb)],_0x10b2f0[_0x5ca81f(0x1e2)]),_0x331e0e&&(this[_0x5ca81f(0x21e)]['shouldScanTestForAccessibility']&&logger['info'](_0x10b2f0[_0x5ca81f(0x222)])),this['currentTest'][_0x5ca81f(0x22f)]=this[_0x5ca81f(0x21e)][_0x5ca81f(0x1d1)],this[_0x5ca81f(0x21e)][_0x5ca81f(0x1d1)]&&logger[_0x5ca81f(0x1d2)](_0x10b2f0[_0x5ca81f(0x254)]);}}catch(_0x161fa5){logger[_0x5ca81f(0x276)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x161fa5));}_0x10b2f0[_0x5ca81f(0x223)](_0x3ee1db);})[_0x39dde6(0x27d)](()=>{const _0x55a526=_0x39dde6;_0x10b2f0[_0x55a526(0x223)](_0x17138d);});},{'platform':_0x18fa03['sfOMA'](nestedKeyValue,global[_0x335a15(0x1e9)],[_0x18fa03[_0x335a15(0x234)]]),'hookType':_0x18fa03[_0x335a15(0x208)]})();},'afterEach'(_0x21d82a){const _0xe12e76=a35_0x47c45b,_0x43bc9d={'QdEvu':function(_0x3d6c2c){return _0x3d6c2c();},'xLoqO':_0xe12e76(0x260),'VmbUH':function(_0x1d5e58,_0x4793bd){return _0x1d5e58!==_0x4793bd;},'ibKHO':'passed','WLojg':function(_0x1cb897,_0x2fbe40,_0x460bd6){return _0x1cb897(_0x2fbe40,_0x460bd6);},'dRTGg':function(_0x1f5bcd,_0xbb7d6){return _0x1f5bcd+_0xbb7d6;},'SjGPM':_0xe12e76(0x26f),'bwaiW':_0xe12e76(0x276),'zAkrG':'Passed','ZPIKb':_0xe12e76(0x1d2),'jcBLt':function(_0xa37af0,_0x15f95c){return _0xa37af0>_0x15f95c;},'ahBDK':function(_0x1267da,_0x1e7955){return _0x1267da===_0x1e7955;},'aTXma':'testcase','HXQuA':'appium:app','lSIfM':function(_0x5a3419,_0x50499c,_0x852909,_0x1e2d4d){return _0x5a3419(_0x50499c,_0x852909,_0x1e2d4d);},'nxSIH':_0xe12e76(0x242),'ffRYs':'bstackA11yShouldScan','ROgnE':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','dJSWa':_0xe12e76(0x274),'fMRzu':_0xe12e76(0x1ef),'AkHYd':_0xe12e76(0x1ce),'cRSHt':function(_0x345bdb,_0x2babf8,_0x44e546){return _0x345bdb(_0x2babf8,_0x44e546);},'xOakD':_0xe12e76(0x1dc),'bEOiM':function(_0x2c65e0,_0x12eb8e){return _0x2c65e0>_0x12eb8e;},'IbkaQ':'Mocha','aBOqe':_0xe12e76(0x1ee),'MwDJF':_0xe12e76(0x213)},_0x36bb26='browserstack internal helper hook';this[_0xe12e76(0x1ec)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x43bc9d[_0xe12e76(0x248)]]),global[_0xe12e76(0x26e)]=this[_0xe12e76(0x21e)][_0xe12e76(0x28d)]()[_0xe12e76(0x205)](_0x43bc9d[_0xe12e76(0x26a)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xe12e76(0x244)],()=>{const _0x7632f6=_0xe12e76,_0x537bfc={'TXEQk':_0x43bc9d['xLoqO'],'HGwaV':function(_0x340ef3,_0x1fd239){const _0x338d1e=a35_0x3663;return _0x43bc9d[_0x338d1e(0x221)](_0x340ef3,_0x1fd239);},'bHkCh':_0x43bc9d['ibKHO'],'svddT':function(_0x3c69f3,_0x36f45e,_0x253472){const _0x281aaa=a35_0x3663;return _0x43bc9d[_0x281aaa(0x27f)](_0x3c69f3,_0x36f45e,_0x253472);},'xiKAr':function(_0x12d355,_0x46a0a1){return _0x43bc9d['dRTGg'](_0x12d355,_0x46a0a1);},'Rghth':_0x43bc9d[_0x7632f6(0x278)],'QvSPg':_0x43bc9d['bwaiW'],'wdJKY':function(_0x26b10e,_0x1be740,_0x2695fc){const _0x156f70=_0x7632f6;return _0x43bc9d[_0x156f70(0x27f)](_0x26b10e,_0x1be740,_0x2695fc);},'npwzV':_0x43bc9d[_0x7632f6(0x258)],'FSPTx':_0x43bc9d['ZPIKb'],'uDaOI':function(_0x50839d,_0x4d2c8c){return _0x43bc9d['jcBLt'](_0x50839d,_0x4d2c8c);},'sQoFn':function(_0xcfd9ce,_0x36b706){const _0x55e40e=_0x7632f6;return _0x43bc9d[_0x55e40e(0x20c)](_0xcfd9ce,_0x36b706);},'rPEeX':_0x43bc9d[_0x7632f6(0x25d)],'LxjLv':_0x43bc9d['HXQuA'],'UhvBp':function(_0x1e0019,_0x45c833,_0x1a07f0,_0xc2eebe){const _0x4b6207=_0x7632f6;return _0x43bc9d[_0x4b6207(0x275)](_0x1e0019,_0x45c833,_0x1a07f0,_0xc2eebe);},'Duwpo':_0x43bc9d[_0x7632f6(0x23f)],'oPMVx':_0x43bc9d[_0x7632f6(0x28b)],'oHVhE':_0x43bc9d[_0x7632f6(0x267)],'OsrVe':_0x43bc9d[_0x7632f6(0x1e4)],'dOXAj':_0x43bc9d[_0x7632f6(0x252)],'TfUqI':_0x43bc9d[_0x7632f6(0x21d)],'JGOsd':function(_0x5b4a58){const _0x10fa56=_0x7632f6;return _0x43bc9d[_0x10fa56(0x268)](_0x5b4a58);},'bklhW':function(_0x33e1b5,_0x10edae,_0x2f5f42){return _0x43bc9d['cRSHt'](_0x33e1b5,_0x10edae,_0x2f5f42);},'WKmfO':function(_0x886396){const _0x444b2b=_0x7632f6;return _0x43bc9d[_0x444b2b(0x268)](_0x886396);},'eKeaj':_0x43bc9d[_0x7632f6(0x24a)],'YtFGL':function(_0xad4f41,_0x54b8f1){const _0x1f7886=_0x7632f6;return _0x43bc9d[_0x1f7886(0x23e)](_0xad4f41,_0x54b8f1);},'ozPQv':function(_0x45e58c){return _0x43bc9d['QdEvu'](_0x45e58c);}},_0x31bb44=async(_0x979bec,_0x501f3b)=>{const _0x10d58c=_0x7632f6;await global[_0x10d58c(0x22b)][0x0][_0x10d58c(0x220)](_0x10d58c(0x21f)+_0x979bec+',\x22level\x22:\x20\x22'+_0x501f3b+'\x22}}');};new Promise(async _0x1ae7dd=>{const _0x328d96=_0x7632f6;try{_0x537bfc[_0x328d96(0x247)](global['__drivers'][_0x328d96(0x209)],0x1)&&(await global[_0x328d96(0x1d0)](),global[_0x328d96(0x22b)]['shift'](),global[_0x328d96(0x255)]=[],global[_0x328d96(0x1ed)]=![]);try{if(global[_0x328d96(0x279)]&&_0x537bfc[_0x328d96(0x210)](global[_0x328d96(0x25f)],_0x537bfc[_0x328d96(0x21a)])&&global[_0x328d96(0x22b)][0x0]){const _0x4ac0f6=_0x537bfc['uDaOI'](global[_0x328d96(0x25c)][_0x328d96(0x209)],0x0)?!!global[_0x328d96(0x25c)][0x0][_0x328d96(0x1d6)]||!!global[_0x328d96(0x25c)][0x0][_0x537bfc[_0x328d96(0x216)]]:![],_0x7cf1d9={};_0x7cf1d9[_0x328d96(0x1d6)]=_0x4ac0f6,await _0x537bfc[_0x328d96(0x230)](percyAutoCapture,global[_0x328d96(0x22b)][0x0],_0x537bfc[_0x328d96(0x21a)],_0x7cf1d9);}}catch(_0x4b8ec0){logger[_0x328d96(0x1dc)](_0x328d96(0x201)+_0x4b8ec0);}!global[_0x328d96(0x262)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x328d96(0x27e)],async()=>{const _0x63ad41=_0x328d96;await global[_0x63ad41(0x22b)][0x0]['executeScript'](_0x63ad41(0x1f6)+JSON[_0x63ad41(0x281)](this[_0x63ad41(0x21e)][_0x63ad41(0x28d)]()[_0x63ad41(0x205)](_0x537bfc[_0x63ad41(0x20e)]))+'}}');})(),global[_0x328d96(0x22b)][0x0][_0x328d96(0x1d8)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x328d96(0x1f3)],async()=>{const _0x1592b2=_0x328d96,_0x5f473f=_0x537bfc[_0x1592b2(0x204)](this[_0x1592b2(0x21e)][_0x1592b2(0x266)],_0x537bfc[_0x1592b2(0x26b)]);_0x5f473f?(global[_0x1592b2(0x1ed)]=!![],global[_0x1592b2(0x255)][_0x1592b2(0x280)](this[_0x1592b2(0x21e)][_0x1592b2(0x243)][_0x1592b2(0x253)]),await _0x537bfc[_0x1592b2(0x21c)](_0x31bb44,JSON[_0x1592b2(0x281)](_0x537bfc[_0x1592b2(0x1fd)](_0x537bfc[_0x1592b2(0x24b)],this['currentTest'][_0x1592b2(0x243)][_0x1592b2(0x253)])),_0x537bfc[_0x1592b2(0x265)])):await _0x537bfc[_0x1592b2(0x228)](_0x31bb44,JSON['stringify'](_0x537bfc[_0x1592b2(0x1f8)]),_0x537bfc['FSPTx']);})();}catch(_0x11dcc4){logger['debug'](_0x328d96(0x1d7)+_0x11dcc4);}try{if(this[_0x328d96(0x21e)][_0x328d96(0x22f)]&&globals['getGlobal'](_0x537bfc[_0x328d96(0x1f7)])&&globals[_0x328d96(0x26c)](_0x537bfc[_0x328d96(0x1f5)])){logger[_0x328d96(0x1d2)](_0x537bfc['oHVhE']);const _0x30c6df={};_0x30c6df['thTestRunUuid']=this['currentTest'][_0x328d96(0x251)],_0x30c6df[_0x328d96(0x277)]=process[_0x328d96(0x288)][testHubConstants[_0x328d96(0x1e1)][_0x328d96(0x20f)]],_0x30c6df[_0x328d96(0x1eb)]=process[_0x328d96(0x288)][testHubConstants[_0x328d96(0x1e1)][_0x328d96(0x219)]];const _0x40d3f5=_0x30c6df;logger[_0x328d96(0x1dc)](_0x328d96(0x263)+JSON[_0x328d96(0x281)](_0x40d3f5)),logger[_0x328d96(0x1dc)](_0x537bfc[_0x328d96(0x270)]);const _0x34600e={};_0x34600e[_0x328d96(0x28f)]=_0x537bfc[_0x328d96(0x203)],await PerformanceTester[_0x328d96(0x22d)](PerformanceA11yEvents[_0x328d96(0x1fa)],async()=>{const _0x1a86c1=_0x328d96;logger['debug'](util['format'](await global[_0x1a86c1(0x22b)][0x0][_0x1a86c1(0x200)](scripts['performScan'],{'method':global['browserstackSessionName']})));},_0x34600e)(),await PerformanceTester[_0x328d96(0x22d)](PerformanceA11yEvents[_0x328d96(0x286)],async()=>{const _0x56bf12=_0x328d96;await global['__drivers'][0x0][_0x56bf12(0x200)](scripts['saveTestResults'],_0x40d3f5);})(),logger['info'](_0x537bfc[_0x328d96(0x1de)]);}}catch(_0x155c76){logger['error'](_0x328d96(0x28c)+this['currentTest']['titlePath']()+'.\x20Error\x20:',_0x155c76);}try{try{if(_0x537bfc[_0x328d96(0x1fc)](shouldProcessEventForTesthub)){global[_0x328d96(0x22b)][0x0]&&await _0x537bfc['bklhW'](sendPlatformDetails,global['__drivers'][0x0],this[_0x328d96(0x21e)]?this[_0x328d96(0x21e)][_0x328d96(0x251)]:null);if(_0x537bfc[_0x328d96(0x218)](isBrowserstackInfra)){PerformanceTester[_0x328d96(0x272)](PerformanceO11yEvents[_0x328d96(0x214)]);const _0x1a1ef3=_0x328d96(0x27a)+Date[_0x328d96(0x211)]();await _0x537bfc[_0x328d96(0x1f2)](_0x31bb44,JSON['stringify'](_0x1a1ef3),_0x537bfc[_0x328d96(0x1e8)]),PerformanceTester[_0x328d96(0x227)](PerformanceO11yEvents['SYNC']);}}}catch(_0x112dfe){logger[_0x328d96(0x1dc)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x112dfe),PerformanceTester[_0x328d96(0x227)](PerformanceO11yEvents[_0x328d96(0x214)],![],_0x112dfe);}_0x537bfc[_0x328d96(0x226)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x328d96(0x1d0)]();}catch(_0x4cc6a3){logger['debug'](_0x328d96(0x22c)+_0x4cc6a3);}_0x537bfc[_0x328d96(0x1e3)](_0x1ae7dd);})['then'](()=>{const _0x224054=_0x7632f6;_0x43bc9d[_0x224054(0x268)](_0x21d82a);});},{'platform':_0x43bc9d['cRSHt'](nestedKeyValue,global[_0xe12e76(0x1e9)],[_0x43bc9d['aBOqe']]),'hookType':_0x43bc9d['MwDJF']})();},'afterAll'(_0x463c1c){const _0x114537=a35_0x47c45b,_0x3a9df2={'qTmxf':function(_0x242e12){return _0x242e12();},'yvfdq':_0x114537(0x1f4),'gWwXJ':function(_0x4eb491,_0x1b6ad1,_0x4086cc){return _0x4eb491(_0x1b6ad1,_0x4086cc);},'wPudv':_0x114537(0x1ee),'AMNDs':_0x114537(0x1da)},_0x22950b='browserstack internal helper hook';this[_0x114537(0x1ec)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3a9df2[_0x114537(0x1d4)]]),PerformanceTester[_0x114537(0x22d)](PerformanceSdkEvents[_0x114537(0x244)],()=>{const _0x243d6d=_0x114537,_0x3fe0bf={'CwRxr':function(_0x4bc76f){const _0x493b0b=a35_0x3663;return _0x3a9df2[_0x493b0b(0x1d5)](_0x4bc76f);}};new Promise(async _0x4e2826=>{const _0x4ee650=a35_0x3663;await global[_0x4ee650(0x1d0)](),_0x3fe0bf[_0x4ee650(0x224)](_0x4e2826);})[_0x243d6d(0x27d)]()[_0x243d6d(0x1f0)](()=>{const _0x5e9cc3=_0x243d6d;_0x3a9df2[_0x5e9cc3(0x1d5)](_0x463c1c);});},{'platform':_0x3a9df2[_0x114537(0x264)](nestedKeyValue,global['__platformCaps'],[_0x3a9df2[_0x114537(0x25a)]]),'hookType':_0x3a9df2[_0x114537(0x259)]})();}};
1
+ const a35_0x390f93=a35_0x3c4b;function a35_0x3c4b(_0x309b94,_0x4b1de0){const _0x140219=a35_0x1402();return a35_0x3c4b=function(_0x3c4b68,_0x245d93){_0x3c4b68=_0x3c4b68-0x163;let _0x1c1143=_0x140219[_0x3c4b68];return _0x1c1143;},a35_0x3c4b(_0x309b94,_0x4b1de0);}(function(_0x3d2d95,_0x200688){const _0xcfd994=a35_0x3c4b,_0x50d0b5=_0x3d2d95();while(!![]){try{const _0x3fbcac=parseInt(_0xcfd994(0x1cf))/0x1+-parseInt(_0xcfd994(0x17e))/0x2+parseInt(_0xcfd994(0x1b8))/0x3*(-parseInt(_0xcfd994(0x1d1))/0x4)+parseInt(_0xcfd994(0x164))/0x5*(parseInt(_0xcfd994(0x165))/0x6)+-parseInt(_0xcfd994(0x1c8))/0x7*(parseInt(_0xcfd994(0x1fc))/0x8)+parseInt(_0xcfd994(0x170))/0x9*(-parseInt(_0xcfd994(0x1a7))/0xa)+parseInt(_0xcfd994(0x1cd))/0xb*(parseInt(_0xcfd994(0x1ba))/0xc);if(_0x3fbcac===_0x200688)break;else _0x50d0b5['push'](_0x50d0b5['shift']());}catch(_0xcc4459){_0x50d0b5['push'](_0x50d0b5['shift']());}}}(a35_0x1402,0x1e5b1));const util=require(a35_0x390f93(0x16a)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a35_0x390f93(0x1c4)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a35_0x390f93(0x181)),{percyAutoCapture}=require(a35_0x390f93(0x1dd)),{sendPlatformDetails}=require(a35_0x390f93(0x1b5)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x390f93(0x1ca)),PerformanceTester=require(a35_0x390f93(0x19f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a35_0x390f93(0x166)),globals=require(a35_0x390f93(0x189)),logger=require(a35_0x390f93(0x190))[a35_0x390f93(0x169)],{shouldProcessEventForTesthub}=require(a35_0x390f93(0x1ab)),testHubConstants=require('../../helpers/testhub/constants');function a35_0x1402(){const _0x5c2845=['Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','nHBtX','command','Passed','KHkRl','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','protocol','info','isAccessibilityPlatform','oEQbG','oanAp','../../helpers/performance/performance-tester','kjlXl','afterAll','initQuit','executeAsyncScript','NgqtJ','wWbMe','env','2039230AtPVQc','QfDhR','sOQSY','bsrMq','../../helpers/testhub/utils','ENvUX','setGlobal','finally','Automate\x20test\x20case\x20execution\x20has\x20started.','Wqemw','WHgcp','join','FyGQc','appium:app','./test-observability/mochaUtils','KsHXZ','Failed\x20to\x20store\x20session\x20name:\x20','3UEihwC','uacHg','72QKFYxK','isArray','hoivj','push','siZuW','percy','BXpfk','__drivers','start','__error_messages__','../../helpers/accessibility-automation/helper','XgEle','SjMqn','aWuEx','14YebUbu','state','../../helpers/helper','ENV_VAR','afterTest','699633LagqjZ','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','79918loqoSV','zKOuH','254156hQVFxP','end','beforeEach','LhqlN','startMonitoring','then','SESSION_STATUS','failed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','sessionName','bstackA11yShouldScan','whYoZ','../../helpers/percy/utils','WvGIw','SYNC','http:','testAnalyticsId','getGlobal','PsftD','PhbVT','KnXHL','LWztn','beforeAll','afterEach','__sessionFailed','SAVE_RESULTS','debug','TZzhU','bkFSQ','bdIdM','ELQKL','passed','browserstackSessionName','capabilities','https:','getCurrentUrl','GUASh','performScan','accessibilityScanStarted','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','BROWSERSTACK_TESTHUB_JWT','GtCJh','RZcON','390464evDytK','error','app','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','executeScript','driverCleanup','fiqea','dmfOf','PERFORM_SCAN','\x20-\x20','length',',\x22level\x22:\x20\x22','\x20|\x20','__platformCaps','message','percyCaptureMode','PCRxk','NKZWK','currentTest','session_','1054345LbBaHa','6smbywz','../../helpers/accessibility-automation/scripts','now','yMrpK','winstonLogger','util','GwYLM','CRzFR','err','Performing\x20scan\x20before\x20saving\x20results','ZbTYE','9BOBBOC','xMfrG','__skipSessionName','NwKgc','browserstackTestName','ObservabilitySync:','\x22}}','vpznD','titlePath','SDK_HOOK','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','quitCount_','thTestRunUuid','clKOj','365980gkumQt','Mocha','saveTestResults','../utils/constants','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','SESSION_NAME','sGjGz','shift','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/globals','stringify','testcase','index','LeaqW','shouldScanTestForAccessibility','ZAkSb','../../helpers/logger','measureWrapper','gtOAs','SMqxE'];a35_0x1402=function(){return _0x5c2845;};return a35_0x1402();}exports['mochaHooks']={'beforeAll'(){const _0x39207a=a35_0x390f93,_0x1da90c={'bdIdM':function(_0x13e437,_0x209c54,_0x4abc22,_0x4b5984){return _0x13e437(_0x209c54,_0x4abc22,_0x4b5984);},'yMrpK':_0x39207a(0x1d8),'siZuW':_0x39207a(0x208),'CRzFR':function(_0x2bf2b0,_0xc243d2,_0x54d97e){return _0x2bf2b0(_0xc243d2,_0x54d97e);},'nHBtX':'passed','ZAkSb':function(_0x2d4ade){return _0x2d4ade();},'PCRxk':function(_0x51866e,_0x9a5817,_0xd8124a){return _0x51866e(_0x9a5817,_0xd8124a);},'EIujm':_0x39207a(0x18c),'WvGIw':_0x39207a(0x1e7)};PerformanceTester[_0x39207a(0x1d5)]();const _0x3f6bb3='browserstack internal helper hook';PerformanceTester[_0x39207a(0x191)](PerformanceSdkEvents[_0x39207a(0x179)],()=>{const _0x344c6f=_0x39207a;global['__error_messages__']=[],global[_0x344c6f(0x1e9)]=![],global['driverCleanup']=async()=>{const _0x44e9e4=_0x344c6f;let _0x3a2a0a=![];try{await global[_0x44e9e4(0x1c1)][0x0]['session_'],_0x3a2a0a=!![],global[_0x44e9e4(0x1e9)]?await _0x1da90c[_0x44e9e4(0x1ee)](markSessionStatus,global[_0x44e9e4(0x1c1)][0x0],_0x1da90c[_0x44e9e4(0x168)],global['__error_messages__']['join'](_0x1da90c[_0x44e9e4(0x1be)])):await _0x1da90c[_0x44e9e4(0x16c)](markSessionStatus,global[_0x44e9e4(0x1c1)][0x0],_0x1da90c[_0x44e9e4(0x195)]);}catch(_0x16b21b){logger[_0x44e9e4(0x1eb)](_0x44e9e4(0x199)+_0x16b21b);}global[_0x44e9e4(0x1c3)]=[],global['__sessionFailed']=![];if(_0x3a2a0a)try{try{_0x1da90c[_0x44e9e4(0x18f)](shouldProcessEventForTesthub)&&(global[_0x44e9e4(0x1c1)][0x0]&&await _0x1da90c[_0x44e9e4(0x16c)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x44e9e4(0x20e)][_0x44e9e4(0x1e1)]:null));}catch(_0x3ceb87){logger[_0x44e9e4(0x1eb)](_0x44e9e4(0x183)+_0x3ceb87);}await global[_0x44e9e4(0x1c1)][0x0][_0x44e9e4(0x1a2)]();}catch(_0x14e5db){logger['debug'](_0x44e9e4(0x17a)+_0x14e5db);}};},{'platform':_0x1da90c[_0x39207a(0x20c)](nestedKeyValue,global[_0x39207a(0x209)],[_0x1da90c['EIujm']]),'hookType':_0x1da90c[_0x39207a(0x1de)]})();},'beforeEach'(_0x889da5){const _0x1b277c=a35_0x390f93,_0x47dad1={'KsHXZ':function(_0x3b4c6e,_0x248463){return _0x3b4c6e>_0x248463;},'fiqea':function(_0x3c5a53,_0x37bfe7){return _0x3c5a53>_0x37bfe7;},'TZzhU':_0x1b277c(0x205),'jaNnB':function(_0x56dfd7,_0x16296a,_0x25e927){return _0x56dfd7(_0x16296a,_0x25e927);},'oiZnC':_0x1b277c(0x1db),'LhqlN':function(_0x1a4fa4){return _0x1a4fa4();},'AFZhn':_0x1b277c(0x19c),'bHQee':function(_0x3af19d,_0x4e9e0c){return _0x3af19d===_0x4e9e0c;},'NUZTi':_0x1b277c(0x1e0),'vpznD':function(_0x512639,_0x5c9ed5){return _0x512639===_0x5c9ed5;},'ZbTYE':_0x1b277c(0x1f3),'LWztn':_0x1b277c(0x194),'VuAFf':_0x1b277c(0x1af),'RZcON':function(_0x4b645a){return _0x4b645a();},'uacHg':function(_0xc4b456){return _0xc4b456();},'GUASh':_0x1b277c(0x174),'SjMqn':function(_0x1347c1,_0x3c9cbb,_0x565ff1){return _0x1347c1(_0x3c9cbb,_0x565ff1);},'QfDhR':_0x1b277c(0x18c),'NKZWK':_0x1b277c(0x1d3)};globals[_0x1b277c(0x1ad)](_0x47dad1[_0x1b277c(0x1f5)],this[_0x1b277c(0x20e)][_0x1b277c(0x178)]()['join'](_0x47dad1['TZzhU'])),PerformanceTester[_0x1b277c(0x191)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x40502a={'ENvUX':function(_0x26c382){const _0x41ac8b=a35_0x3c4b;return _0x47dad1[_0x41ac8b(0x1b9)](_0x26c382);}},_0x3544f5='browserstack internal helper hook';new Promise(async _0x201522=>{const _0x3f8f3c=a35_0x3c4b;let _0xe96730=!![];try{_0x47dad1['KsHXZ'](global['__drivers']['length'],0x1)&&(await global[_0x3f8f3c(0x201)](),global[_0x3f8f3c(0x1c1)][_0x3f8f3c(0x187)]()),_0x47dad1[_0x3f8f3c(0x202)](global[_0x3f8f3c(0x1c1)][0x0][_0x3f8f3c(0x17b)],0x0)&&(_0xe96730=![],await global[_0x3f8f3c(0x201)]());}catch(_0x2f64b8){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2f64b8);}try{Array[_0x3f8f3c(0x1bb)](global[_0x3f8f3c(0x1c1)])&&global[_0x3f8f3c(0x1c1)][0x0]&&(global[_0x3f8f3c(0x1c1)][0x0][_0x3f8f3c(0x1f1)]=this['currentTest']['titlePath']()['join'](_0x47dad1[_0x3f8f3c(0x1ec)])),global[_0x3f8f3c(0x1f1)]=this[_0x3f8f3c(0x20e)][_0x3f8f3c(0x178)]()['join'](_0x47dad1[_0x3f8f3c(0x1ec)]);}catch(_0xa97ac4){logger[_0x3f8f3c(0x1eb)](_0x3f8f3c(0x1b7)+_0xa97ac4);}this['currentTest'][_0x3f8f3c(0x18e)]=_0x47dad1['jaNnB'](shouldScanTestForAccessibility,this[_0x3f8f3c(0x20e)][_0x3f8f3c(0x178)](),!![]),globals[_0x3f8f3c(0x1ad)](_0x47dad1['oiZnC'],this[_0x3f8f3c(0x20e)][_0x3f8f3c(0x18e)]),this['currentTest']['accessibilityScanStarted']=!![];if(_0x47dad1[_0x3f8f3c(0x1d4)](isAccessibilityAutomationSession)&&_0xe96730&&Array[_0x3f8f3c(0x1bb)](global[_0x3f8f3c(0x1c1)])&&_0x47dad1[_0x3f8f3c(0x1b6)](global['__drivers'][_0x3f8f3c(0x206)],0x0)&&globals[_0x3f8f3c(0x1e2)](_0x47dad1['AFZhn']))try{const _0x100c71=await global['__drivers'][0x0][_0x3f8f3c(0x163)];if(_0x100c71){let _0x356cde=!![];const _0x5ee2d4=await global[_0x3f8f3c(0x1c1)][0x0][_0x3f8f3c(0x1f4)]();let _0x2bd7da;try{_0x2bd7da=new URL(_0x5ee2d4);}catch(_0x31d0ef){_0x356cde=![];}_0x356cde=_0x47dad1['bHQee'](_0x2bd7da[_0x3f8f3c(0x19a)],_0x47dad1['NUZTi'])||_0x47dad1[_0x3f8f3c(0x177)](_0x2bd7da[_0x3f8f3c(0x19a)],_0x47dad1[_0x3f8f3c(0x16f)]),_0x356cde&&(this['currentTest'][_0x3f8f3c(0x18e)]&&logger[_0x3f8f3c(0x19b)](_0x47dad1[_0x3f8f3c(0x1e6)])),this[_0x3f8f3c(0x20e)]['accessibilityScanStarted']=this[_0x3f8f3c(0x20e)]['shouldScanTestForAccessibility'],this[_0x3f8f3c(0x20e)][_0x3f8f3c(0x18e)]&&logger[_0x3f8f3c(0x19b)](_0x47dad1['VuAFf']);}}catch(_0x68aa69){logger[_0x3f8f3c(0x1fd)](_0x3f8f3c(0x1ce)+util['format'](_0x68aa69));}_0x47dad1[_0x3f8f3c(0x1fb)](_0x201522);})['then'](()=>{const _0x38fa2e=a35_0x3c4b;_0x40502a[_0x38fa2e(0x1ac)](_0x889da5);});},{'platform':_0x47dad1[_0x1b277c(0x1c6)](nestedKeyValue,global[_0x1b277c(0x209)],[_0x47dad1[_0x1b277c(0x1a8)]]),'hookType':_0x47dad1[_0x1b277c(0x20d)]})();},'afterEach'(_0x124c0c){const _0x370c68=a35_0x390f93,_0x437f5e={'qlrer':function(_0x4bd1c6,_0x3357f6){return _0x4bd1c6!==_0x3357f6;},'oanAp':_0x370c68(0x1f0),'Wqemw':function(_0x202c4c,_0x171793,_0x2236a2){return _0x202c4c(_0x171793,_0x2236a2);},'FyGQc':function(_0x4bc23b,_0x114566){return _0x4bc23b+_0x114566;},'dmfOf':'Failed:\x20','bJwnk':'error','wWbMe':_0x370c68(0x197),'clKOj':_0x370c68(0x19b),'oEQbG':function(_0x57c462,_0x2f3623){return _0x57c462>_0x2f3623;},'zKOuH':function(_0x3eb4b4,_0x219def){return _0x3eb4b4===_0x219def;},'PsftD':_0x370c68(0x18b),'KHkRl':function(_0x20ea76,_0x5b6456){return _0x20ea76>_0x5b6456;},'KnXHL':_0x370c68(0x1b4),'GtCJh':function(_0x3d493f,_0x484638,_0xedbc3c,_0x21da7a){return _0x3d493f(_0x484638,_0xedbc3c,_0x21da7a);},'kLMXj':_0x370c68(0x19c),'kjlXl':_0x370c68(0x1db),'NgqtJ':_0x370c68(0x1f8),'bsrMq':_0x370c68(0x16e),'ELQKL':_0x370c68(0x1cc),'tnsEF':_0x370c68(0x1ff),'WHgcp':function(_0x3f3f68){return _0x3f3f68();},'NwKgc':_0x370c68(0x1eb),'XgEle':function(_0x4f1fdb){return _0x4f1fdb();},'pbFHy':function(_0x2d4536){return _0x2d4536();},'aWuEx':_0x370c68(0x205),'LeaqW':_0x370c68(0x17f),'GwYLM':function(_0x13b9c2,_0x20ebdf,_0x35a26b){return _0x13b9c2(_0x20ebdf,_0x35a26b);},'bkFSQ':'index','eAlya':_0x370c68(0x1e8)},_0x5aa4fa='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x437f5e[_0x370c68(0x18d)]]),global[_0x370c68(0x1da)]=this[_0x370c68(0x20e)]['titlePath']()[_0x370c68(0x1b2)](_0x437f5e[_0x370c68(0x1c7)]),PerformanceTester[_0x370c68(0x191)](PerformanceSdkEvents[_0x370c68(0x179)],()=>{const _0x241e0a=_0x370c68,_0x547349={};_0x547349['hoivj']=_0x437f5e[_0x241e0a(0x1c7)];const _0x17db1f=_0x547349,_0x59759e=async(_0x3081c6,_0x5d7366)=>{const _0x366b03=_0x241e0a;await global['__drivers'][0x0][_0x366b03(0x200)](_0x366b03(0x188)+_0x3081c6+_0x366b03(0x207)+_0x5d7366+_0x366b03(0x176));};new Promise(async _0x3e6542=>{const _0x13caf1=_0x241e0a,_0x443da9={'PhbVT':function(_0x75eabd,_0x3bcac6){return _0x437f5e['qlrer'](_0x75eabd,_0x3bcac6);},'gtOAs':_0x437f5e[_0x13caf1(0x19e)],'sOQSY':function(_0x2636db,_0x2850b6,_0x422512){const _0x524ed7=_0x13caf1;return _0x437f5e[_0x524ed7(0x1b0)](_0x2636db,_0x2850b6,_0x422512);},'qfBcp':function(_0x46eb5f,_0x14260e){const _0x200f01=_0x13caf1;return _0x437f5e[_0x200f01(0x1b3)](_0x46eb5f,_0x14260e);},'wWJUZ':_0x437f5e[_0x13caf1(0x203)],'SMqxE':_0x437f5e['bJwnk'],'NrzUT':function(_0x54b503,_0x26187e,_0xfa8a0b){const _0x233d05=_0x13caf1;return _0x437f5e[_0x233d05(0x1b0)](_0x54b503,_0x26187e,_0xfa8a0b);},'byYLj':_0x437f5e[_0x13caf1(0x1a5)],'gXEdq':_0x437f5e[_0x13caf1(0x17d)]};try{_0x437f5e[_0x13caf1(0x19d)](global['__drivers'][_0x13caf1(0x206)],0x1)&&(await global[_0x13caf1(0x201)](),global['__drivers'][_0x13caf1(0x187)](),global['__error_messages__']=[],global[_0x13caf1(0x1e9)]=![]);try{if(global[_0x13caf1(0x1bf)]&&_0x437f5e[_0x13caf1(0x1d0)](global[_0x13caf1(0x20b)],_0x437f5e['PsftD'])&&global[_0x13caf1(0x1c1)][0x0]){const _0x59ccf6=_0x437f5e[_0x13caf1(0x198)](global[_0x13caf1(0x1f2)][_0x13caf1(0x206)],0x0)?!!global[_0x13caf1(0x1f2)][0x0][_0x13caf1(0x1fe)]||!!global[_0x13caf1(0x1f2)][0x0][_0x437f5e[_0x13caf1(0x1e5)]]:![],_0x42428e={};_0x42428e[_0x13caf1(0x1fe)]=_0x59ccf6,await _0x437f5e[_0x13caf1(0x1fa)](percyAutoCapture,global[_0x13caf1(0x1c1)][0x0],_0x437f5e[_0x13caf1(0x1e3)],_0x42428e);}}catch(_0x2dd2ff){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x2dd2ff);}!global[_0x13caf1(0x172)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x13caf1(0x185)],async()=>{const _0x2571b1=_0x13caf1;await global['__drivers'][0x0][_0x2571b1(0x200)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x2571b1(0x18a)](this[_0x2571b1(0x20e)]['titlePath']()[_0x2571b1(0x1b2)](_0x17db1f[_0x2571b1(0x1bc)]))+'}}');})(),global[_0x13caf1(0x1c1)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x13caf1(0x1d7)],async()=>{const _0xf4aa78=_0x13caf1,_0x1f7deb=_0x443da9[_0xf4aa78(0x1e4)](this[_0xf4aa78(0x20e)][_0xf4aa78(0x1c9)],_0x443da9[_0xf4aa78(0x192)]);_0x1f7deb?(global[_0xf4aa78(0x1e9)]=!![],global[_0xf4aa78(0x1c3)][_0xf4aa78(0x1bd)](this[_0xf4aa78(0x20e)][_0xf4aa78(0x16d)][_0xf4aa78(0x20a)]),await _0x443da9[_0xf4aa78(0x1a9)](_0x59759e,JSON['stringify'](_0x443da9['qfBcp'](_0x443da9['wWJUZ'],this['currentTest']['err'][_0xf4aa78(0x20a)])),_0x443da9[_0xf4aa78(0x193)])):await _0x443da9['NrzUT'](_0x59759e,JSON[_0xf4aa78(0x18a)](_0x443da9['byYLj']),_0x443da9['gXEdq']);})();}catch(_0x467ab3){logger[_0x13caf1(0x1eb)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x467ab3);}try{if(this[_0x13caf1(0x20e)][_0x13caf1(0x1f7)]&&globals[_0x13caf1(0x1e2)](_0x437f5e['kLMXj'])&&globals[_0x13caf1(0x1e2)](_0x437f5e[_0x13caf1(0x1a0)])){logger['info'](_0x437f5e[_0x13caf1(0x1a4)]);const _0x1d9a80={};_0x1d9a80[_0x13caf1(0x17c)]=this['currentTest'][_0x13caf1(0x1e1)],_0x1d9a80['thBuildUuid']=process[_0x13caf1(0x1a6)][testHubConstants[_0x13caf1(0x1cb)]['BROWSERSTACK_TESTHUB_UUID']],_0x1d9a80['thJwtToken']=process['env'][testHubConstants[_0x13caf1(0x1cb)][_0x13caf1(0x1f9)]];const _0x1c48c0=_0x1d9a80;logger['debug'](_0x13caf1(0x1d9)+JSON['stringify'](_0x1c48c0)),logger['debug'](_0x437f5e[_0x13caf1(0x1aa)]);const _0x10b4e0={};_0x10b4e0[_0x13caf1(0x196)]=_0x437f5e[_0x13caf1(0x1ef)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x13caf1(0x204)],async()=>{const _0x5112e5=_0x13caf1;logger[_0x5112e5(0x1eb)](util['format'](await global[_0x5112e5(0x1c1)][0x0][_0x5112e5(0x1a3)](scripts[_0x5112e5(0x1f6)],{'method':global['browserstackSessionName']})));},_0x10b4e0)(),await PerformanceTester[_0x13caf1(0x191)](PerformanceA11yEvents[_0x13caf1(0x1ea)],async()=>{const _0x3a45bc=_0x13caf1;await global['__drivers'][0x0][_0x3a45bc(0x1a3)](scripts[_0x3a45bc(0x180)],_0x1c48c0);})(),logger[_0x13caf1(0x19b)](_0x437f5e['tnsEF']);}}catch(_0x40a720){logger['error'](_0x13caf1(0x182)+this[_0x13caf1(0x20e)][_0x13caf1(0x178)]()+'.\x20Error\x20:',_0x40a720);}try{try{if(_0x437f5e[_0x13caf1(0x1b1)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x437f5e[_0x13caf1(0x1b0)](sendPlatformDetails,global[_0x13caf1(0x1c1)][0x0],this[_0x13caf1(0x20e)]?this[_0x13caf1(0x20e)][_0x13caf1(0x1e1)]:null);if(_0x437f5e[_0x13caf1(0x1b1)](isBrowserstackInfra)){PerformanceTester[_0x13caf1(0x1c2)](PerformanceO11yEvents[_0x13caf1(0x1df)]);const _0x41d721=_0x13caf1(0x175)+Date[_0x13caf1(0x167)]();await _0x437f5e['Wqemw'](_0x59759e,JSON[_0x13caf1(0x18a)](_0x41d721),_0x437f5e[_0x13caf1(0x173)]),PerformanceTester[_0x13caf1(0x1d2)](PerformanceO11yEvents[_0x13caf1(0x1df)]);}}}catch(_0x158516){logger['debug'](_0x13caf1(0x184)+_0x158516),PerformanceTester[_0x13caf1(0x1d2)](PerformanceO11yEvents['SYNC'],![],_0x158516);}_0x437f5e[_0x13caf1(0x198)](global['__drivers'][0x0][_0x13caf1(0x17b)],0x0)&&await global[_0x13caf1(0x201)]();}catch(_0x6436b0){logger[_0x13caf1(0x1eb)](_0x13caf1(0x17a)+_0x6436b0);}_0x437f5e[_0x13caf1(0x1c5)](_0x3e6542);})[_0x241e0a(0x1d6)](()=>{_0x437f5e['pbFHy'](_0x124c0c);});},{'platform':_0x437f5e[_0x370c68(0x16b)](nestedKeyValue,global['__platformCaps'],[_0x437f5e[_0x370c68(0x1ed)]]),'hookType':_0x437f5e['eAlya']})();},'afterAll'(_0x1e7b91){const _0x483c76=a35_0x390f93,_0x1e5d2e={'BXpfk':function(_0x26c37b){return _0x26c37b();},'yVvKL':_0x483c76(0x17f),'xMfrG':function(_0x3ccb01,_0x4cb7e1,_0x2d155e){return _0x3ccb01(_0x4cb7e1,_0x2d155e);},'whYoZ':_0x483c76(0x18c),'sGjGz':_0x483c76(0x1a1)},_0x4e0e66='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1e5d2e['yVvKL']]),PerformanceTester[_0x483c76(0x191)](PerformanceSdkEvents[_0x483c76(0x179)],()=>{const _0x52d361=_0x483c76;new Promise(async _0x4ad274=>{const _0x47e48c=a35_0x3c4b;await global['driverCleanup'](),_0x1e5d2e[_0x47e48c(0x1c0)](_0x4ad274);})[_0x52d361(0x1d6)]()[_0x52d361(0x1ae)](()=>{_0x1e5d2e['BXpfk'](_0x1e7b91);});},{'platform':_0x1e5d2e[_0x483c76(0x171)](nestedKeyValue,global[_0x483c76(0x209)],[_0x1e5d2e[_0x483c76(0x1dc)]]),'hookType':_0x1e5d2e[_0x483c76(0x186)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a36_0x2743ba=a36_0x40da;(function(_0x11d66a,_0x58871e){const _0x2b96b9=a36_0x40da,_0xc0f281=_0x11d66a();while(!![]){try{const _0x35ae38=-parseInt(_0x2b96b9(0x1f1))/0x1*(parseInt(_0x2b96b9(0x203))/0x2)+-parseInt(_0x2b96b9(0x20e))/0x3*(-parseInt(_0x2b96b9(0x1e5))/0x4)+-parseInt(_0x2b96b9(0x201))/0x5*(parseInt(_0x2b96b9(0x1db))/0x6)+parseInt(_0x2b96b9(0x1eb))/0x7*(-parseInt(_0x2b96b9(0x214))/0x8)+-parseInt(_0x2b96b9(0x1ed))/0x9*(parseInt(_0x2b96b9(0x1f3))/0xa)+parseInt(_0x2b96b9(0x1f7))/0xb*(-parseInt(_0x2b96b9(0x1ff))/0xc)+parseInt(_0x2b96b9(0x20a))/0xd*(parseInt(_0x2b96b9(0x1de))/0xe);if(_0x35ae38===_0x58871e)break;else _0xc0f281['push'](_0xc0f281['shift']());}catch(_0x5cb37c){_0xc0f281['push'](_0xc0f281['shift']());}}}(a36_0x4a20,0x2cf50));function a36_0x4a20(){const _0x54c713=['2065SyiLDu','debug','4mNrZIJ','yumNy','exports','ufZRV','splice','VNiIu','SrBwU','9276644XklEwg','child_process','desiredCapabilities','getPlatformName','21XIAYcH','sRgwP','clcPJ','selenium','modifyBrowserStackCaps','IwxkQ','2488Zavktb','wMcIp','existsSync','push','hub.browserstack.com','useW3C','Getting\x20your\x20nightwatch\x20configs\x20from\x20','../../helpers/logger','writeFileSync','nightwatch.cmd','MVEzV','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','aQnoR','bVDIj','platforms','config','cwd','--config','XTqao','isUndefined','2064OuHiYv','port','info','14huRggQ','length','map','join','platform','NZMkB','--env','178168JddjfE','CtRdC','host','findIndex','env','forEach','7763ysapvF','nightwatch.json','134712YYtuki','../../helpers/helper','modifyBrowserStackW3CCaps','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','71039QXcAaJ','close','20cnNNiN','uQoBA','trim','start_process','2607Nwtttl','test_settings','now','mcBII','VKZdw','filter','OpqrI','doOjG','9228kHJnhe','winstonLogger'];a36_0x4a20=function(){return _0x54c713;};return a36_0x4a20();}function a36_0x40da(_0x26a6ad,_0x435e5b){const _0x4a20c9=a36_0x4a20();return a36_0x40da=function(_0x40da2e,_0x140439){_0x40da2e=_0x40da2e-0x1cd;let _0x574c6e=_0x4a20c9[_0x40da2e];return _0x574c6e;},a36_0x40da(_0x26a6ad,_0x435e5b);}const fs=require('fs'),path=require('path'),{spawn}=require(a36_0x2743ba(0x20b)),logger=require(a36_0x2743ba(0x1ce))[a36_0x2743ba(0x200)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a36_0x2743ba(0x1ee)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xdf9574,_0x4eb3c)=>{const _0x4b61e4=a36_0x2743ba,_0x39ccd2={'uQoBA':'nightwatch.conf.js','CtRdC':_0x4b61e4(0x1ec),'IwxkQ':function(_0x373b7a,_0x27bcff){return _0x373b7a(_0x27bcff);},'bVDIj':_0x4b61e4(0x1f0)};let _0x1cb9a0=null,_0x1abd4e={};const _0x27591e=_0x4eb3c[_0x4b61e4(0x1e8)](_0x12f88f=>_0x12f88f==='--config');if(!helper[_0x4b61e4(0x1da)](_0xdf9574[_0x4b61e4(0x1d6)])&&fs[_0x4b61e4(0x216)](path[_0x4b61e4(0x1e1)](process[_0x4b61e4(0x1d7)](),_0xdf9574[_0x4b61e4(0x1d6)])))_0x1cb9a0=path[_0x4b61e4(0x1e1)](process[_0x4b61e4(0x1d7)](),_0xdf9574[_0x4b61e4(0x1d6)]),_0x4eb3c['splice'](_0x27591e,0x2);else{if(fs['existsSync'](path[_0x4b61e4(0x1e1)](process[_0x4b61e4(0x1d7)](),_0x39ccd2[_0x4b61e4(0x1f4)])))_0x1cb9a0=path['join'](process['cwd'](),_0x39ccd2[_0x4b61e4(0x1f4)]);else fs['existsSync'](path[_0x4b61e4(0x1e1)](process['cwd'](),_0x39ccd2[_0x4b61e4(0x1e6)]))&&(_0x1cb9a0=path['join'](process[_0x4b61e4(0x1d7)](),_0x39ccd2[_0x4b61e4(0x1e6)]));}return _0x1cb9a0?(logger[_0x4b61e4(0x1dd)](_0x4b61e4(0x1cd)+_0x1cb9a0),_0x1abd4e=_0x39ccd2[_0x4b61e4(0x213)](require,_0x1cb9a0)):logger['info'](_0x39ccd2[_0x4b61e4(0x1d4)]),_0x1abd4e;},removeExistingEnvs=_0x21c24e=>{const _0x34886a=a36_0x2743ba,_0x1eb3e8={};_0x1eb3e8['MVEzV']=function(_0x2306fc,_0x1572de){return _0x2306fc>_0x1572de;},_0x1eb3e8[_0x34886a(0x1d3)]=function(_0x9f4140,_0x1accde){return _0x9f4140>_0x1accde;};const _0x4e4624=_0x1eb3e8;let _0x34b734=_0x21c24e[_0x34886a(0x1e8)](_0x53ed9a=>_0x53ed9a==='--env');_0x4e4624[_0x34886a(0x1d1)](_0x34b734,-0x1)&&_0x21c24e['splice'](_0x34b734,0x2),_0x34b734=_0x21c24e[_0x34886a(0x1e8)](_0x86b731=>_0x86b731==='-e'),_0x4e4624[_0x34886a(0x1d3)](_0x34b734,-0x1)&&_0x21c24e[_0x34886a(0x207)](_0x34b734,0x2);};function run(_0x48c7d7,_0x5e9c18,_0x5606b7){const _0x532e85=a36_0x2743ba,_0x1a2672={'wMcIp':'nightwatch','XTqao':function(_0x500ddf,_0x1f1e11){return _0x500ddf+_0x1f1e11;},'mLBWz':'test_settings','mcBII':function(_0x5dccae,_0x1a6885,_0x2ddb4e){return _0x5dccae(_0x1a6885,_0x2ddb4e);},'SrBwU':_0x532e85(0x218),'NZMkB':_0x532e85(0x1d2),'VqYFs':function(_0x42d066,_0x309053){return _0x42d066===_0x309053;},'yTkwa':'nightwatch-browserstack.json','OpqrI':function(_0x454938,_0x233f04){return _0x454938(_0x233f04);},'ufZRV':function(_0x3836b2,_0x2851cb,_0x5e3d8f,_0x1812ed){return _0x3836b2(_0x2851cb,_0x5e3d8f,_0x1812ed);},'VKZdw':_0x532e85(0x1d0),'yumNy':_0x532e85(0x1d8),'sRgwP':_0x532e85(0x1e4),'VNiIu':'inherit','doOjG':_0x532e85(0x1f2)};if(!_0x5606b7['config'])return;const _0x4c3e7c=_0x1a2672[_0x532e85(0x1fa)](getUserNightwatchConfigs,_0x48c7d7,_0x5e9c18),_0x4ba9ba={};_0x4ba9ba[_0x532e85(0x1f6)]=![];const _0x31205b={};_0x31205b[_0x532e85(0x1e7)]=_0x1a2672[_0x532e85(0x209)],_0x31205b[_0x532e85(0x1dc)]=0x1bb;const _0x10fae0={};_0x10fae0['webdriver']=_0x4ba9ba,_0x10fae0[_0x532e85(0x211)]=_0x31205b;const _0x5347f4=_0x10fae0;logger[_0x532e85(0x1dd)](_0x1a2672[_0x532e85(0x1e3)]);const _0x400b28={..._0x4c3e7c},_0x485233=_0x400b28,_0x1f9464=helper[_0x532e85(0x219)](_0x5606b7[_0x532e85(0x1d6)]),_0x3f2601=[];_0x5606b7['config'][_0x532e85(0x1d5)][_0x532e85(0x1ea)]((_0x59055e,_0x3e0a62)=>{const _0x5c4227=_0x532e85;_0x1f9464?_0x3f2601[_0x5c4227(0x217)](helper[_0x5c4227(0x1ef)](_0x5606b7[_0x5c4227(0x1d6)],_0x1a2672[_0x5c4227(0x215)],_0x3e0a62)):_0x3f2601[_0x5c4227(0x217)](helper[_0x5c4227(0x212)](_0x5606b7[_0x5c4227(0x1d6)],_0x1a2672['wMcIp'],_0x3e0a62));});const _0x9fd00={},_0x5b9c94=[];_0x48c7d7['env']=_0x48c7d7['env']||_0x48c7d7['e'];const _0x37ee7f=_0x48c7d7[_0x532e85(0x1e9)]?_0x48c7d7['env'][_0x532e85(0x1f5)]()['split'](',')[_0x532e85(0x1e0)](_0x46a2b7=>_0x46a2b7[_0x532e85(0x1f5)]())[_0x532e85(0x1fc)](_0x34758f=>_0x34758f!==''):[''];_0x1a2672['VqYFs'](_0x37ee7f[_0x532e85(0x1df)],0x0)&&_0x37ee7f[_0x532e85(0x217)]('');_0x37ee7f[_0x532e85(0x1ea)](_0x1bf3cb=>{const _0x3a8294=_0x532e85,_0x1fa0fc={'HsAjH':function(_0x3b3fa9,_0x4a9772){const _0x2457c2=a36_0x40da;return _0x1a2672[_0x2457c2(0x1d9)](_0x3b3fa9,_0x4a9772);},'clcPJ':_0x1a2672['mLBWz']};_0x3f2601[_0x3a8294(0x1ea)](_0x2d317a=>{const _0x333303=_0x3a8294;let _0x1194c1=_0x1fa0fc['HsAjH'](helper[_0x333303(0x20d)](_0x2d317a,'_'),'_'+Date[_0x333303(0x1f9)]());_0x1bf3cb&&(_0x1194c1+='_'+_0x1bf3cb);if(_0x1bf3cb&&(!_0x4c3e7c[_0x1fa0fc['clcPJ']]||!_0x4c3e7c[_0x1fa0fc[_0x333303(0x210)]][_0x1bf3cb]))return;const _0x52a0ac={..._0x5347f4};_0x52a0ac[_0x333303(0x20c)]=_0x2d317a;const _0x283d9e=_0x52a0ac;_0x9fd00[_0x1194c1]=_0x1bf3cb?helper['mergeDeep'](_0x4c3e7c[_0x1fa0fc[_0x333303(0x210)]][_0x1bf3cb],_0x283d9e):_0x283d9e,_0x5b9c94[_0x333303(0x217)](_0x1194c1);});});!_0x485233[_0x532e85(0x1f8)]&&(_0x485233[_0x532e85(0x1f8)]={});_0x485233[_0x532e85(0x1f8)]={..._0x485233[_0x532e85(0x1f8)],..._0x9fd00};const _0x302830=path[_0x532e85(0x1e1)](__dirname,_0x1a2672['yTkwa']);fs[_0x532e85(0x1cf)](_0x302830,JSON['stringify'](_0x485233)),_0x1a2672[_0x532e85(0x1fd)](removeExistingEnvs,_0x5e9c18);const _0x20b69a=_0x1a2672[_0x532e85(0x206)](spawn,/^win/['test'](process[_0x532e85(0x1e2)])?_0x1a2672[_0x532e85(0x1fb)]:_0x1a2672['wMcIp'],[_0x1a2672[_0x532e85(0x204)],_0x302830,..._0x5e9c18['slice'](0x1),_0x1a2672[_0x532e85(0x20f)],_0x5b9c94[_0x532e85(0x1e1)](',')],{'stdio':_0x1a2672[_0x532e85(0x208)]});_0x20b69a['on'](_0x1a2672[_0x532e85(0x1fe)],async _0x183b15=>{const _0x587bbe=_0x532e85;logger[_0x587bbe(0x202)]('child\x20process\x20exited\x20with\x20code\x20'+_0x183b15),logger[_0x587bbe(0x1dd)]('Deleting\x20'+_0x302830),fs['unlinkSync'](_0x302830);});}module[a36_0x2743ba(0x205)]=run;
2
+ 'use strict';const a36_0x233aae=a36_0x147e;function a36_0x147e(_0x42d7e9,_0x244950){const _0x5ec3b3=a36_0x5ec3();return a36_0x147e=function(_0x147efb,_0x2f0c18){_0x147efb=_0x147efb-0x15b;let _0xf43fc1=_0x5ec3b3[_0x147efb];return _0xf43fc1;},a36_0x147e(_0x42d7e9,_0x244950);}(function(_0x800344,_0x530fab){const _0x443f25=a36_0x147e,_0x2104d7=_0x800344();while(!![]){try{const _0x5cb80e=-parseInt(_0x443f25(0x18c))/0x1*(-parseInt(_0x443f25(0x17e))/0x2)+parseInt(_0x443f25(0x178))/0x3+-parseInt(_0x443f25(0x1a2))/0x4*(parseInt(_0x443f25(0x1a9))/0x5)+-parseInt(_0x443f25(0x182))/0x6+-parseInt(_0x443f25(0x176))/0x7*(parseInt(_0x443f25(0x16e))/0x8)+-parseInt(_0x443f25(0x198))/0x9*(parseInt(_0x443f25(0x169))/0xa)+-parseInt(_0x443f25(0x193))/0xb;if(_0x5cb80e===_0x530fab)break;else _0x2104d7['push'](_0x2104d7['shift']());}catch(_0xa2c89f){_0x2104d7['push'](_0x2104d7['shift']());}}}(a36_0x5ec3,0xc1354));function a36_0x5ec3(){const _0x495d4a=['slice','nightwatch.conf.js','nightwatch','558468ZzRrct','nightwatch-browserstack.json','eFjiB','existsSync','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','wuSDv','OLvWs','15AcvsdF','start_process','config','info','port','push','--env','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','--config','host','yZTSR','length','getPlatformName','cOfzr','splice','../../helpers/helper','WGXuE','30PzBEjU','isUndefined','env','useW3C','nightwatch.cmd','112dIidGC','winstonLogger','forEach','MHxen','Ivwkk','modifyBrowserStackW3CCaps','cESia','close','146559iboVuA','stringify','3837561XzeDlA','Deleting\x20','mergeDeep','HEcMG','desiredCapabilities','RkUba','42yRfdOk','test','exports','findIndex','2101806FslvGK','test_settings','hub.browserstack.com','inherit','XeqZI','kQKJW','UFaNE','ehJfd','trim','unlinkSync','63913fdzLYN','webdriver','ogbXQ','hYxfJ','zxiBL','cwd','join','2532497XKLJpI','child\x20process\x20exited\x20with\x20code\x20','yXYys','Getting\x20your\x20nightwatch\x20configs\x20from\x20','writeFileSync','1612449VAEwPd','nightwatch.json','cOwkG','oXRNF','map','path','split'];a36_0x5ec3=function(){return _0x495d4a;};return a36_0x5ec3();}const fs=require('fs'),path=require(a36_0x233aae(0x19d)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a36_0x233aae(0x16f)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a36_0x233aae(0x167)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x439e35,_0xddc314)=>{const _0xfcbc71=a36_0x233aae,_0x1be6ad={'oXRNF':_0xfcbc71(0x1a0),'ogbXQ':_0xfcbc71(0x199),'wuSDv':function(_0x40a6bc,_0x22d812){return _0x40a6bc(_0x22d812);},'WGXuE':_0xfcbc71(0x15f)};let _0xa24171=null,_0x16dbdf={};const _0x2e1f57=_0xddc314[_0xfcbc71(0x181)](_0x35568e=>_0x35568e===_0xfcbc71(0x160));if(!helper[_0xfcbc71(0x16a)](_0x439e35[_0xfcbc71(0x1ab)])&&fs['existsSync'](path['join'](process['cwd'](),_0x439e35[_0xfcbc71(0x1ab)])))_0xa24171=path[_0xfcbc71(0x192)](process[_0xfcbc71(0x191)](),_0x439e35[_0xfcbc71(0x1ab)]),_0xddc314[_0xfcbc71(0x166)](_0x2e1f57,0x2);else{if(fs['existsSync'](path['join'](process[_0xfcbc71(0x191)](),_0x1be6ad[_0xfcbc71(0x19b)])))_0xa24171=path[_0xfcbc71(0x192)](process[_0xfcbc71(0x191)](),_0x1be6ad['oXRNF']);else fs[_0xfcbc71(0x1a5)](path['join'](process['cwd'](),_0x1be6ad[_0xfcbc71(0x18e)]))&&(_0xa24171=path['join'](process[_0xfcbc71(0x191)](),_0x1be6ad[_0xfcbc71(0x18e)]));}return _0xa24171?(logger[_0xfcbc71(0x15b)](_0xfcbc71(0x196)+_0xa24171),_0x16dbdf=_0x1be6ad[_0xfcbc71(0x1a7)](require,_0xa24171)):logger[_0xfcbc71(0x15b)](_0x1be6ad[_0xfcbc71(0x168)]),_0x16dbdf;},removeExistingEnvs=_0x114578=>{const _0x4af424=a36_0x233aae,_0x4293db={};_0x4293db[_0x4af424(0x190)]=function(_0x4684dc,_0x196d8b){return _0x4684dc>_0x196d8b;},_0x4293db['RkUba']=function(_0x58abd8,_0x4f0e3c){return _0x58abd8>_0x4f0e3c;};const _0x4944b5=_0x4293db;let _0x12d323=_0x114578[_0x4af424(0x181)](_0x4aa7c5=>_0x4aa7c5===_0x4af424(0x15e));_0x4944b5[_0x4af424(0x190)](_0x12d323,-0x1)&&_0x114578[_0x4af424(0x166)](_0x12d323,0x2),_0x12d323=_0x114578[_0x4af424(0x181)](_0x566d75=>_0x566d75==='-e'),_0x4944b5[_0x4af424(0x17d)](_0x12d323,-0x1)&&_0x114578['splice'](_0x12d323,0x2);};function run(_0x249560,_0x5868b3,_0x38f0f0){const _0x243583=a36_0x233aae,_0x414dea={'cOfzr':_0x243583(0x1a1),'yXYys':function(_0x292548,_0x340dd5){return _0x292548+_0x340dd5;},'UFaNE':_0x243583(0x183),'yZTSR':function(_0x8df95,_0xd39343,_0x48c89){return _0x8df95(_0xd39343,_0x48c89);},'kQKJW':_0x243583(0x184),'ehJfd':_0x243583(0x1a6),'YxTvP':function(_0x29dc16,_0x5911dc){return _0x29dc16===_0x5911dc;},'MHxen':_0x243583(0x1a3),'cESia':function(_0x1310ac,_0x3dc002){return _0x1310ac(_0x3dc002);},'cOwkG':function(_0x49a484,_0x3ea686,_0xed3641,_0x290554){return _0x49a484(_0x3ea686,_0xed3641,_0x290554);},'HEcMG':_0x243583(0x16d),'XeqZI':_0x243583(0x160),'HYEJU':_0x243583(0x15e),'hYxfJ':_0x243583(0x185),'Ivwkk':_0x243583(0x175)};if(!_0x38f0f0[_0x243583(0x1ab)])return;const _0x1f5715=_0x414dea[_0x243583(0x162)](getUserNightwatchConfigs,_0x249560,_0x5868b3),_0x5b784b={};_0x5b784b[_0x243583(0x1aa)]=![];const _0x458c1a={};_0x458c1a[_0x243583(0x161)]=_0x414dea[_0x243583(0x187)],_0x458c1a[_0x243583(0x15c)]=0x1bb;const _0x205211={};_0x205211[_0x243583(0x18d)]=_0x5b784b,_0x205211['selenium']=_0x458c1a;const _0x2f51e1=_0x205211;logger['info'](_0x414dea[_0x243583(0x189)]);const _0x230d31={..._0x1f5715},_0x3ac1c5=_0x230d31,_0x22385f=helper[_0x243583(0x16c)](_0x38f0f0[_0x243583(0x1ab)]),_0x1ad327=[];_0x38f0f0[_0x243583(0x1ab)]['platforms'][_0x243583(0x170)]((_0x7bcfec,_0x82c138)=>{const _0x9e8f78=_0x243583;_0x22385f?_0x1ad327[_0x9e8f78(0x15d)](helper[_0x9e8f78(0x173)](_0x38f0f0['config'],_0x414dea[_0x9e8f78(0x165)],_0x82c138)):_0x1ad327[_0x9e8f78(0x15d)](helper['modifyBrowserStackCaps'](_0x38f0f0['config'],_0x414dea[_0x9e8f78(0x165)],_0x82c138));});const _0x129361={},_0x19ff5a=[];_0x249560['env']=_0x249560[_0x243583(0x16b)]||_0x249560['e'];const _0x441d3b=_0x249560[_0x243583(0x16b)]?_0x249560[_0x243583(0x16b)][_0x243583(0x18a)]()[_0x243583(0x19e)](',')[_0x243583(0x19c)](_0x4c5efc=>_0x4c5efc['trim']())['filter'](_0x12b88d=>_0x12b88d!==''):[''];_0x414dea['YxTvP'](_0x441d3b[_0x243583(0x163)],0x0)&&_0x441d3b[_0x243583(0x15d)]('');_0x441d3b[_0x243583(0x170)](_0x2c51cf=>{const _0x195dab=_0x243583,_0x43e2be={'OLvWs':function(_0x149be7,_0x34e9c5){const _0x4dafa3=a36_0x147e;return _0x414dea[_0x4dafa3(0x195)](_0x149be7,_0x34e9c5);},'eFjiB':_0x414dea[_0x195dab(0x188)]};_0x1ad327['forEach'](_0x388862=>{const _0x5ab8fa=_0x195dab;let _0x241627=_0x43e2be[_0x5ab8fa(0x1a8)](helper[_0x5ab8fa(0x164)](_0x388862,'_'),'_'+Date['now']());_0x2c51cf&&(_0x241627+='_'+_0x2c51cf);if(_0x2c51cf&&(!_0x1f5715[_0x43e2be[_0x5ab8fa(0x1a4)]]||!_0x1f5715[_0x43e2be['eFjiB']][_0x2c51cf]))return;const _0xd7e0ca={..._0x2f51e1};_0xd7e0ca[_0x5ab8fa(0x17c)]=_0x388862;const _0x2db28e=_0xd7e0ca;_0x129361[_0x241627]=_0x2c51cf?helper[_0x5ab8fa(0x17a)](_0x1f5715[_0x43e2be[_0x5ab8fa(0x1a4)]][_0x2c51cf],_0x2db28e):_0x2db28e,_0x19ff5a['push'](_0x241627);});});!_0x3ac1c5['test_settings']&&(_0x3ac1c5[_0x243583(0x183)]={});_0x3ac1c5[_0x243583(0x183)]={..._0x3ac1c5['test_settings'],..._0x129361};const _0x12d87c=path[_0x243583(0x192)](__dirname,_0x414dea[_0x243583(0x171)]);fs[_0x243583(0x197)](_0x12d87c,JSON[_0x243583(0x177)](_0x3ac1c5)),_0x414dea[_0x243583(0x174)](removeExistingEnvs,_0x5868b3);const _0x4611f1=_0x414dea[_0x243583(0x19a)](spawn,/^win/[_0x243583(0x17f)](process['platform'])?_0x414dea[_0x243583(0x17b)]:_0x414dea[_0x243583(0x165)],[_0x414dea[_0x243583(0x186)],_0x12d87c,..._0x5868b3[_0x243583(0x19f)](0x1),_0x414dea['HYEJU'],_0x19ff5a[_0x243583(0x192)](',')],{'stdio':_0x414dea[_0x243583(0x18f)]});_0x4611f1['on'](_0x414dea[_0x243583(0x172)],async _0x4e2b7d=>{const _0xe8f4fd=_0x243583;logger['debug'](_0xe8f4fd(0x194)+_0x4e2b7d),logger[_0xe8f4fd(0x15b)](_0xe8f4fd(0x179)+_0x12d87c),fs[_0xe8f4fd(0x18b)](_0x12d87c);});}module[a36_0x233aae(0x180)]=run;
@@ -1 +1 @@
1
- const a37_0x5bd159=a37_0x499b;(function(_0x12406a,_0x70fa3e){const _0x1a016c=a37_0x499b,_0x23f73d=_0x12406a();while(!![]){try{const _0x509f20=-parseInt(_0x1a016c(0x1a7))/0x1+parseInt(_0x1a016c(0x175))/0x2*(parseInt(_0x1a016c(0x15a))/0x3)+parseInt(_0x1a016c(0x160))/0x4+-parseInt(_0x1a016c(0x155))/0x5*(parseInt(_0x1a016c(0x171))/0x6)+-parseInt(_0x1a016c(0x1a2))/0x7*(-parseInt(_0x1a016c(0x18f))/0x8)+-parseInt(_0x1a016c(0x1b4))/0x9*(parseInt(_0x1a016c(0x18e))/0xa)+parseInt(_0x1a016c(0x1b9))/0xb*(parseInt(_0x1a016c(0x169))/0xc);if(_0x509f20===_0x70fa3e)break;else _0x23f73d['push'](_0x23f73d['shift']());}catch(_0x1fc826){_0x23f73d['push'](_0x23f73d['shift']());}}}(a37_0x3fef,0x41152));const util=require(a37_0x5bd159(0x1b0)),logger=require(a37_0x5bd159(0x19e))[a37_0x5bd159(0x170)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a37_0x5bd159(0x1ac)),scripts=require(a37_0x5bd159(0x1c8)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x5bd159(0x1b7));exports[a37_0x5bd159(0x1c6)]=async(_0x584e01,_0x4d735b,_0x2589d5={})=>{const _0x29cba1=a37_0x5bd159,_0x3c51a3={};_0x3c51a3['jqpZs']=_0x29cba1(0x19c);const _0x58b29f=_0x3c51a3;return await _0x584e01[_0x29cba1(0x16f)](_0x29cba1(0x1c7)+_0x4d735b[_0x29cba1(0x189)](/arguments/g,_0x58b29f[_0x29cba1(0x1c5)])+_0x29cba1(0x15c)+JSON[_0x29cba1(0x15e)](_0x2589d5)+')');},exports['browserStackExecuteDriver']=async(_0x17b1e3,_0x17ee58,_0x31b818={})=>{const _0x35a933=a37_0x5bd159,_0x206ae6={};_0x206ae6['CjUcK']=function(_0x5aed85,_0x502c3e){return _0x5aed85===_0x502c3e;},_0x206ae6[_0x35a933(0x198)]='WebDriver',_0x206ae6[_0x35a933(0x168)]=function(_0x32b929,_0x420f8f){return _0x32b929===_0x420f8f;},_0x206ae6[_0x35a933(0x1be)]='Playwright',_0x206ae6[_0x35a933(0x180)]=_0x35a933(0x19c);const _0x535c9a=_0x206ae6;if(_0x535c9a[_0x35a933(0x1bd)](_0x17b1e3[_0x35a933(0x1a4)]['name'],_0x535c9a[_0x35a933(0x198)]))return await _0x17b1e3['executeAsyncScript'](_0x17ee58,_0x31b818);else{if(_0x535c9a[_0x35a933(0x168)](_0x17b1e3[_0x35a933(0x1a4)][_0x35a933(0x163)],_0x535c9a[_0x35a933(0x1be)]))return await _0x17b1e3[_0x35a933(0x1bf)]('(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'+_0x17ee58['replace'](/arguments/g,_0x535c9a[_0x35a933(0x180)])+_0x35a933(0x179)+JSON['stringify'](_0x31b818)+')');}},exports[a37_0x5bd159(0x182)]=async _0x4102c7=>{const _0x365dc8=a37_0x5bd159,_0x5b1823={};_0x5b1823[_0x365dc8(0x1b6)]=_0x365dc8(0x1ab),_0x5b1823[_0x365dc8(0x197)]=_0x365dc8(0x162),_0x5b1823[_0x365dc8(0x19f)]='accessibilityOptions.includeIssueType.bestPractice',_0x5b1823['VHyBl']=_0x365dc8(0x192),_0x5b1823[_0x365dc8(0x178)]=_0x365dc8(0x186),_0x5b1823[_0x365dc8(0x181)]=_0x365dc8(0x17b);const _0x5a313e=_0x5b1823;_0x4102c7['accessibilityOptions']&&(_0x4102c7[_0x365dc8(0x185)][_0x365dc8(0x184)]&&(_0x4102c7[_0x5a313e['LKKdW']]=_0x4102c7[_0x365dc8(0x185)][_0x365dc8(0x184)]),_0x4102c7[_0x365dc8(0x185)][_0x365dc8(0x18d)]&&(_0x4102c7[_0x5a313e[_0x365dc8(0x197)]]=_0x4102c7['accessibilityOptions']['scannerProcessingTimeout']),_0x4102c7[_0x365dc8(0x185)][_0x365dc8(0x156)]&&(_0x4102c7[_0x5a313e[_0x365dc8(0x19f)]]=_0x4102c7[_0x365dc8(0x185)]['includeIssueType'][_0x365dc8(0x159)],_0x4102c7[_0x5a313e[_0x365dc8(0x158)]]=_0x4102c7['accessibilityOptions'][_0x365dc8(0x156)][_0x365dc8(0x1a6)]));const _0x128235=JSON[_0x365dc8(0x18b)](process[_0x365dc8(0x16e)][_0x365dc8(0x1ae)])[_0x365dc8(0x1b5)];_0x4102c7[_0x5a313e[_0x365dc8(0x178)]]=process['env']['BS_A11Y_JWT'],_0x4102c7[_0x5a313e[_0x365dc8(0x181)]]=_0x128235,delete _0x4102c7[_0x365dc8(0x185)];},exports['getAccessibilityResults']=async _0x3bcd55=>{const _0x4569ba=a37_0x5bd159,_0x3e1c88={};_0x3e1c88[_0x4569ba(0x161)]=_0x4569ba(0x1ba),_0x3e1c88['WvQXk']=_0x4569ba(0x17d);const _0x21582e=_0x3e1c88;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3bcd55,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3bcd55,scripts.getResults);})();return res;}catch{return logger[_0x4569ba(0x195)](_0x21582e[_0x4569ba(0x161)]),[];}else return logger[_0x4569ba(0x15b)](_0x21582e['WvQXk']),[];},exports['performScan']=async(_0x4f9bb5,_0x9ca843='')=>{const _0x4b108b=a37_0x5bd159;logger[_0x4b108b(0x173)](_0x4b108b(0x19d)+_0x9ca843+_0x4b108b(0x191)+_0x4f9bb5);if(global[_0x4b108b(0x1a8)])return await PerformanceTester[_0x4b108b(0x177)](PerformanceA11yEvents[_0x4b108b(0x1c1)],async()=>{const _0x48e202=_0x4b108b,_0x2bddc3={};_0x2bddc3['command']=_0x9ca843,await exports[_0x48e202(0x1c6)](_0x4f9bb5,scripts['performScan'],_0x2bddc3);},{'command':_0x9ca843})();},exports[a37_0x5bd159(0x19b)]=async _0x1d7350=>{const _0x4be7c2=a37_0x5bd159,_0x592c94={};_0x592c94[_0x4be7c2(0x199)]='No\x20summaryResults\x20found.',_0x592c94[_0x4be7c2(0x1ad)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x3c394=_0x592c94;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1d7350,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1d7350,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x4be7c2(0x173)](_0x3c394[_0x4be7c2(0x199)]),{};}else return logger[_0x4be7c2(0x15b)](_0x3c394[_0x4be7c2(0x1ad)]),{};},exports[a37_0x5bd159(0x1a5)]=async _0x39b511=>{const _0x40aabe=a37_0x5bd159,_0x18cb43={'MKUJV':function(_0x18a827,_0x2424ea){return _0x18a827!==_0x2424ea;},'znlfc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','HGxNA':_0x40aabe(0x1b1),'ZTTtq':_0x40aabe(0x1bb),'locPC':'chromium','DXooy':_0x40aabe(0x1b2),'TRjZi':function(_0x590f2c,_0x40f8e6){return _0x590f2c(_0x40f8e6);},'pkqzM':function(_0x594f73){return _0x594f73();},'TAVfq':function(_0x327c03,_0x21b37a){return _0x327c03<_0x21b37a;},'wSQNx':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','TSuDj':function(_0x274c0c,_0x304331){return _0x274c0c===_0x304331;},'PPMeL':_0x40aabe(0x1a1),'HEYPV':function(_0x4cacf2,_0xec327a){return _0x4cacf2>_0xec327a;},'yxVAv':_0x40aabe(0x194)};try{if(!_0x18cb43[_0x40aabe(0x187)](_0x39b511[_0x40aabe(0x1c3)],''))return logger[_0x40aabe(0x15b)](_0x18cb43['znlfc']),![];const _0x4a25d4=_0x39b511[_0x40aabe(0x167)];if(![_0x18cb43[_0x40aabe(0x1a9)],_0x18cb43[_0x40aabe(0x1b8)],_0x18cb43[_0x40aabe(0x17c)]][_0x40aabe(0x1c4)](_0x4a25d4))return logger[_0x40aabe(0x15b)](_0x18cb43[_0x40aabe(0x1b3)]),![];const _0x468c0e=_0x18cb43[_0x40aabe(0x1c2)](parseInt,_0x39b511[_0x40aabe(0x15f)]);!_0x18cb43['pkqzM'](isBrowserstackInfra)&&(!_0x18cb43['TAVfq'](_0x468c0e,0x64)&&logger[_0x40aabe(0x15b)](_0x18cb43[_0x40aabe(0x172)]));if(!(_0x18cb43['TSuDj'](_0x468c0e,_0x18cb43[_0x40aabe(0x1aa)])||_0x18cb43['HEYPV'](_0x468c0e,0x5e)))return logger['warn'](_0x18cb43['yxVAv']),![];}catch(_0x1f2ec5){logger[_0x40aabe(0x173)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x40aabe(0x1bc)](_0x1f2ec5));}return!![];},exports[a37_0x5bd159(0x1a3)]=(_0x47e131,_0x43e0ca,_0x3192e1)=>{const _0x4abbb5=a37_0x5bd159,_0x575cb5={'vWngM':function(_0x231848){return _0x231848();},'GNwrt':_0x4abbb5(0x17a),'fLBZq':function(_0x4d37f2,_0x40bcdd){return _0x4d37f2===_0x40bcdd;},'zUnOt':_0x4abbb5(0x1b1),'sQRAV':_0x4abbb5(0x1bb),'nHfcx':function(_0xa9a34d,_0x5f3ae7){return _0xa9a34d===_0x5f3ae7;},'iDTWj':_0x4abbb5(0x1b2),'mhFTp':function(_0x3052f2,_0x374539){return _0x3052f2>_0x374539;},'UuxcZ':_0x4abbb5(0x18c),'bqbSV':'latest','pkGay':function(_0x1e7e24,_0xd20423){return _0x1e7e24>_0xd20423;},'lbggO':_0x4abbb5(0x194),'kKawT':function(_0x53de0f,_0x534136){return _0x53de0f(_0x534136);},'PLTZY':_0x4abbb5(0x193),'mYViE':function(_0x3438e5,_0x2bf1f1){return _0x3438e5+_0x2bf1f1;},'gYgku':function(_0x46e9c7,_0x2c0a28){return _0x46e9c7(_0x2c0a28);}};try{if(_0x575cb5[_0x4abbb5(0x188)](isAccessibilityAutomationSession)){global[_0x4abbb5(0x1a8)]=!![];!_0x47e131[_0x575cb5[_0x4abbb5(0x17e)]]&&(global[_0x4abbb5(0x1a8)]=![]);!(_0x575cb5['fLBZq'](_0x47e131[_0x4abbb5(0x176)],_0x575cb5[_0x4abbb5(0x164)])||_0x575cb5[_0x4abbb5(0x16b)](_0x47e131[_0x4abbb5(0x176)],_0x575cb5['sQRAV'])||_0x575cb5[_0x4abbb5(0x16b)](_0x47e131[_0x4abbb5(0x167)],_0x575cb5[_0x4abbb5(0x164)])||_0x575cb5[_0x4abbb5(0x16c)](_0x47e131[_0x4abbb5(0x167)],_0x575cb5[_0x4abbb5(0x18a)]))&&(logger[_0x4abbb5(0x15b)](_0x575cb5[_0x4abbb5(0x17f)]),global[_0x4abbb5(0x1a8)]=![]);!_0x575cb5[_0x4abbb5(0x188)](isBrowserstackInfra)&&(!_0x575cb5[_0x4abbb5(0x1a0)](_0x47e131['browser_version'],0x64)&&logger['warn'](_0x575cb5[_0x4abbb5(0x183)]));!(_0x575cb5[_0x4abbb5(0x16b)](_0x47e131[_0x4abbb5(0x15f)],_0x575cb5[_0x4abbb5(0x19a)])||_0x575cb5[_0x4abbb5(0x15d)](_0x47e131[_0x4abbb5(0x15f)],0x5e))&&(logger['warn'](_0x575cb5[_0x4abbb5(0x166)]),global[_0x4abbb5(0x1a8)]=![]);!_0x575cb5[_0x4abbb5(0x196)](isUndefined,_0x47e131[_0x4abbb5(0x1c3)])&&(logger[_0x4abbb5(0x15b)](_0x575cb5[_0x4abbb5(0x165)]),global[_0x4abbb5(0x1a8)]=![]);if(!global[_0x4abbb5(0x1a8)]){_0x47e131[_0x575cb5[_0x4abbb5(0x17e)]]=![];const _0x1c4c16=_0x575cb5['mYViE'](_0x43e0ca,_0x575cb5['gYgku'](encodeURIComponent,JSON['stringify'](_0x47e131)));_0x3192e1&&(_0x3192e1[_0x4abbb5(0x157)][_0x4abbb5(0x1c0)][_0x4abbb5(0x190)]['use']['connectOptions'][_0x4abbb5(0x16a)]=_0x1c4c16,_0x3192e1[_0x4abbb5(0x1af)][_0x4abbb5(0x190)][_0x4abbb5(0x174)][_0x4abbb5(0x16d)][_0x4abbb5(0x16a)]=_0x1c4c16);}}else global[_0x4abbb5(0x1a8)]=![];}catch(_0x1c06d3){logger[_0x4abbb5(0x173)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x4abbb5(0x1bc)](_0x1c06d3));}};function a37_0x499b(_0x18115a,_0x25a974){const _0x3fef97=a37_0x3fef();return a37_0x499b=function(_0x499b5d,_0x3e46fe){_0x499b5d=_0x499b5d-0x155;let _0xe4fc67=_0x3fef97[_0x499b5d];return _0xe4fc67;},a37_0x499b(_0x18115a,_0x25a974);}function a37_0x3fef(){const _0x3fc517=['latest','348495gMdVOi','processAccessibilityCaps','constructor','platformValidation','needsReview','168559dFmysA','accessibilityPlatform','HGxNA','PPMeL','accessibilityOptions.wcagVersion','../../helpers/helper','OEsXP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','workerInfo','util','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','DXooy','8361OKTOcF','scannerVersion','LKKdW','../../helpers/performance/constants','ZTTtq','1045bEsRYr','No\x20accessibility\x20results\x20were\x20found.','playwright-chromium','format','CjUcK','JSUrr','executeScript','testInfo','PERFORM_SCAN','TRjZi','deviceName','includes','jqpZs','browserStackEvaluate','(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','../../helpers/accessibility-automation/scripts','985VNxYaR','includeIssueType','currentTest','VHyBl','bestPractice','534447iwhmYL','warn','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','pkGay','stringify','browser_version','1150108GRVkpq','PFISq','accessibilityOptions.scannerProcessingTimeout','name','zUnOt','PLTZY','lbggO','browser','ykCET','27636IjrSUd','wsEndpoint','fLBZq','nHfcx','connectOptions','env','evaluate','winstonLogger','10806qeLVMN','wSQNx','debug','use','4pAopdt','browserName','measureWrapper','QkixF','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','browserstack.accessibility','accessibilityOptions.scannerVersion','locPC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','GNwrt','iDTWj','iFLNh','SzXgd','setAccessibilityCapabilities','UuxcZ','wcagVersion','accessibilityOptions','accessibilityOptions.authToken','MKUJV','vWngM','replace','sQRAV','parse','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','scannerProcessingTimeout','2390AZDdtc','24FNiLKI','project','\x20page:\x20','accessibilityOptions.includeIssueType.needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','error','kKawT','ZBTiC','qalNJ','NPyre','bqbSV','getAccessibilityResultsSummary','bstackSdkArgs','Performing\x20scan\x20with\x20method:\x20','../../helpers/logger','ZVgTB','mhFTp'];a37_0x3fef=function(){return _0x3fc517;};return a37_0x3fef();}
1
+ const a37_0x3ef440=a37_0x18a3;(function(_0x32f772,_0x5ef996){const _0xc5935e=a37_0x18a3,_0x3b1041=_0x32f772();while(!![]){try{const _0x1d921c=-parseInt(_0xc5935e(0x154))/0x1+parseInt(_0xc5935e(0x146))/0x2*(-parseInt(_0xc5935e(0x14f))/0x3)+-parseInt(_0xc5935e(0x13e))/0x4*(parseInt(_0xc5935e(0x131))/0x5)+-parseInt(_0xc5935e(0x141))/0x6+-parseInt(_0xc5935e(0x18f))/0x7+-parseInt(_0xc5935e(0x12c))/0x8+parseInt(_0xc5935e(0x161))/0x9;if(_0x1d921c===_0x5ef996)break;else _0x3b1041['push'](_0x3b1041['shift']());}catch(_0x2cd527){_0x3b1041['push'](_0x3b1041['shift']());}}}(a37_0x4550,0xde8b3));function a37_0x18a3(_0x3727cf,_0x3aeadc){const _0x455003=a37_0x4550();return a37_0x18a3=function(_0x18a3e7,_0x5749a2){_0x18a3e7=_0x18a3e7-0x11d;let _0x523581=_0x455003[_0x18a3e7];return _0x523581;},a37_0x18a3(_0x3727cf,_0x3aeadc);}function a37_0x4550(){const _0x230d0d=['1252713oLdJbK','winstonLogger','quUAm','jmDAr','includes','accessibilityOptions.authToken','No\x20summaryResults\x20found.','UisiR','../../helpers/helper','CnEvR','../../helpers/logger','zCkzH','BS_A11Y_JWT','use','format','currentTest','accessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','evaluate','(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','IjRup','bstackSdkArgs','replace','setAccessibilityCapabilities','GCrYy','TkAxj','9386336LFKuaY','SPOBc','nKObI','accessibilityOptions','../../helpers/performance/performance-tester','5fBBGMi','stringify','chrome','processAccessibilityCaps','project','zMVHM','error','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityOptions.includeIssueType.needsReview','constructor','scannerVersion','THiKM','platformValidation','6607924cUqbii','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','browser_version','3267066bRpoPf','ijLxL','accessibilityOptions.wcagVersion','gWewB','bestPractice','2xurtKQ','executeAsyncScript','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','tUoKM','(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','../../helpers/accessibility-automation/scripts','performScan','wcagVersion','../../helpers/accessibility-automation/helper','3933465DcOFFB','WGNzc','HTpHX','\x20page:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','541917gQIxsg','CvQlO','name','Playwright','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','deviceName','env','browser','scannerProcessingTimeout','testInfo','browserName','Lnrgw','wsEndpoint','56820186lGXocf','browserStackEvaluate','WebDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','xQVbg','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','No\x20accessibility\x20results\x20were\x20found.','mGiXz','PjHMj','debug','XTeNo','pInrs','executeScript','connectOptions','latest','XWxXZ','util','KgVRw','RsUAe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','warn','INRqB','playwright-chromium','UcCqH','command','PERFORM_SCAN','eLpzG','AZJrY','Performing\x20scan\x20with\x20method:\x20','vIBIm','JLzug','pMkpK','browserStackExecuteDriver','Dkevt','includeIssueType','TEzhg','../../helpers/performance/constants','GTcKJ','reKMv','efQFh','workerInfo','uVEiz','KzzSe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','HcZDz'];a37_0x4550=function(){return _0x230d0d;};return a37_0x4550();}const util=require(a37_0x3ef440(0x172)),logger=require(a37_0x3ef440(0x199))[a37_0x3ef440(0x190)],{isAccessibilityAutomationSession}=require(a37_0x3ef440(0x14e)),{isUndefined,isBrowserstackInfra}=require(a37_0x3ef440(0x197)),scripts=require(a37_0x3ef440(0x14b)),PerformanceTester=require(a37_0x3ef440(0x130)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x3ef440(0x186));exports[a37_0x3ef440(0x162)]=async(_0x434d45,_0x549a85,_0x2ee226={})=>{const _0x467f60=a37_0x3ef440,_0x4bbf07={};_0x4bbf07['TkAxj']=_0x467f60(0x127);const _0x19167d=_0x4bbf07;return await _0x434d45[_0x467f60(0x124)](_0x467f60(0x14a)+_0x549a85[_0x467f60(0x128)](/arguments/g,_0x19167d[_0x467f60(0x12b)])+_0x467f60(0x164)+JSON['stringify'](_0x2ee226)+')');},exports[a37_0x3ef440(0x182)]=async(_0x57fcc6,_0x2b2b95,_0x5602a6={})=>{const _0x5d2557=a37_0x3ef440,_0x2bf735={};_0x2bf735[_0x5d2557(0x12e)]=function(_0x227401,_0x1f4bcc){return _0x227401===_0x1f4bcc;},_0x2bf735['GTcKJ']=_0x5d2557(0x163),_0x2bf735[_0x5d2557(0x16a)]=function(_0x369a25,_0x58c3b3){return _0x369a25===_0x58c3b3;},_0x2bf735['dOdUr']=_0x5d2557(0x157),_0x2bf735[_0x5d2557(0x183)]='bstackSdkArgs';const _0x2da759=_0x2bf735;if(_0x2da759['nKObI'](_0x57fcc6[_0x5d2557(0x13a)]['name'],_0x2da759[_0x5d2557(0x187)]))return await _0x57fcc6[_0x5d2557(0x147)](_0x2b2b95,_0x5602a6);else{if(_0x2da759[_0x5d2557(0x16a)](_0x57fcc6[_0x5d2557(0x13a)][_0x5d2557(0x156)],_0x2da759['dOdUr']))return await _0x57fcc6[_0x5d2557(0x16e)](_0x5d2557(0x125)+_0x2b2b95[_0x5d2557(0x128)](/arguments/g,_0x2da759[_0x5d2557(0x183)])+_0x5d2557(0x13f)+JSON[_0x5d2557(0x132)](_0x5602a6)+')');}},exports[a37_0x3ef440(0x129)]=async _0x199e58=>{const _0x95ef09=a37_0x3ef440,_0x549ab5={};_0x549ab5[_0x95ef09(0x149)]=_0x95ef09(0x143),_0x549ab5[_0x95ef09(0x142)]='accessibilityOptions.scannerProcessingTimeout',_0x549ab5['quUAm']='accessibilityOptions.includeIssueType.bestPractice',_0x549ab5[_0x95ef09(0x150)]=_0x95ef09(0x139),_0x549ab5[_0x95ef09(0x12d)]=_0x95ef09(0x194),_0x549ab5[_0x95ef09(0x188)]=_0x95ef09(0x166);const _0x411c90=_0x549ab5;_0x199e58[_0x95ef09(0x12f)]&&(_0x199e58[_0x95ef09(0x12f)]['wcagVersion']&&(_0x199e58[_0x411c90[_0x95ef09(0x149)]]=_0x199e58[_0x95ef09(0x12f)][_0x95ef09(0x14d)]),_0x199e58[_0x95ef09(0x12f)]['scannerProcessingTimeout']&&(_0x199e58[_0x411c90[_0x95ef09(0x142)]]=_0x199e58[_0x95ef09(0x12f)][_0x95ef09(0x15c)]),_0x199e58[_0x95ef09(0x12f)][_0x95ef09(0x184)]&&(_0x199e58[_0x411c90[_0x95ef09(0x191)]]=_0x199e58[_0x95ef09(0x12f)][_0x95ef09(0x184)][_0x95ef09(0x145)],_0x199e58[_0x411c90[_0x95ef09(0x150)]]=_0x199e58['accessibilityOptions'][_0x95ef09(0x184)]['needsReview']));const _0x17aa80=JSON['parse'](process[_0x95ef09(0x15a)][_0x95ef09(0x123)])[_0x95ef09(0x13b)];_0x199e58[_0x411c90[_0x95ef09(0x12d)]]=process['env'][_0x95ef09(0x11e)],_0x199e58[_0x411c90['reKMv']]=_0x17aa80,delete _0x199e58[_0x95ef09(0x12f)];},exports['getAccessibilityResults']=async _0x3e69f1=>{const _0x3c5113=a37_0x3ef440,_0x464d20={};_0x464d20[_0x3c5113(0x18b)]=_0x3c5113(0x168),_0x464d20['pMkpK']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x30ca9b=_0x464d20;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3e69f1,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3e69f1,scripts.getResults);})();return res;}catch{return logger[_0x3c5113(0x137)](_0x30ca9b[_0x3c5113(0x18b)]),[];}else return logger['warn'](_0x30ca9b[_0x3c5113(0x181)]),[];},exports[a37_0x3ef440(0x14c)]=async(_0x1614ad,_0x287171='')=>{const _0x5ec9ce=a37_0x3ef440;logger[_0x5ec9ce(0x16b)](_0x5ec9ce(0x17e)+_0x287171+_0x5ec9ce(0x152)+_0x1614ad);if(global[_0x5ec9ce(0x122)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5ec9ce(0x17b)],async()=>{const _0xc8eb21=_0x5ec9ce,_0x52626a={};_0x52626a[_0xc8eb21(0x17a)]=_0x287171,await exports[_0xc8eb21(0x162)](_0x1614ad,scripts[_0xc8eb21(0x14c)],_0x52626a);},{'command':_0x287171})();},exports['getAccessibilityResultsSummary']=async _0xa85f19=>{const _0x3bc34d=a37_0x3ef440,_0x797c1d={};_0x797c1d[_0x3bc34d(0x198)]=_0x3bc34d(0x195),_0x797c1d['SYhOb']=_0x3bc34d(0x175);const _0x4388d1=_0x797c1d;if(global[_0x3bc34d(0x122)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xa85f19,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0xa85f19,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x3bc34d(0x16b)](_0x4388d1[_0x3bc34d(0x198)]),{};}else return logger[_0x3bc34d(0x176)](_0x4388d1['SYhOb']),{};},exports[a37_0x3ef440(0x13d)]=async _0x24dd84=>{const _0x3f45ab=a37_0x3ef440,_0x108c55={'vIBIm':function(_0x214586,_0x2b656c){return _0x214586!==_0x2b656c;},'pInrs':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','XWxXZ':_0x3f45ab(0x133),'IjRup':'playwright-chromium','RsUAe':'chromium','gxFuM':_0x3f45ab(0x167),'KzzSe':function(_0x37a1af,_0x12e114){return _0x37a1af(_0x12e114);},'KgVRw':function(_0x4c0203){return _0x4c0203();},'GCrYy':function(_0x4479de,_0x55f028){return _0x4479de<_0x55f028;},'UcCqH':_0x3f45ab(0x153),'Lnrgw':function(_0x4d7f11,_0x4319a4){return _0x4d7f11===_0x4319a4;},'XRfNh':_0x3f45ab(0x170),'KQefA':function(_0x1a34e9,_0x4e7f07){return _0x1a34e9>_0x4e7f07;},'eLpzG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x108c55[_0x3f45ab(0x17f)](_0x24dd84[_0x3f45ab(0x159)],''))return logger[_0x3f45ab(0x176)](_0x108c55[_0x3f45ab(0x16d)]),![];const _0x3524b7=_0x24dd84['browser'];if(![_0x108c55[_0x3f45ab(0x171)],_0x108c55[_0x3f45ab(0x126)],_0x108c55[_0x3f45ab(0x174)]][_0x3f45ab(0x193)](_0x3524b7))return logger[_0x3f45ab(0x176)](_0x108c55['gxFuM']),![];const _0x30cf35=_0x108c55[_0x3f45ab(0x18c)](parseInt,_0x24dd84[_0x3f45ab(0x140)]);!_0x108c55[_0x3f45ab(0x173)](isBrowserstackInfra)&&(!_0x108c55[_0x3f45ab(0x12a)](_0x30cf35,0x64)&&logger[_0x3f45ab(0x176)](_0x108c55[_0x3f45ab(0x179)]));if(!(_0x108c55[_0x3f45ab(0x15f)](_0x30cf35,_0x108c55['XRfNh'])||_0x108c55['KQefA'](_0x30cf35,0x5e)))return logger['warn'](_0x108c55[_0x3f45ab(0x17c)]),![];}catch(_0x53edb9){logger[_0x3f45ab(0x16b)](_0x3f45ab(0x148)+util['format'](_0x53edb9));}return!![];},exports[a37_0x3ef440(0x134)]=(_0x43da1c,_0x76d89f,_0x4e1b71)=>{const _0x21b0c8=a37_0x3ef440,_0x2f7714={'JLzug':function(_0x2e9bb2){return _0x2e9bb2();},'UisiR':'browserstack.accessibility','TEzhg':function(_0x3ebe22,_0x392344){return _0x3ebe22===_0x392344;},'THiKM':_0x21b0c8(0x133),'mGiXz':_0x21b0c8(0x178),'CvQlO':function(_0x4cd1ae,_0x4d76a6){return _0x4cd1ae===_0x4d76a6;},'zBGul':function(_0x3af539,_0x321eb6){return _0x3af539===_0x321eb6;},'zMVHM':_0x21b0c8(0x167),'XTeNo':function(_0x23d60f){return _0x23d60f();},'gWewB':function(_0x29f09d,_0x6166a3){return _0x29f09d>_0x6166a3;},'HcZDz':_0x21b0c8(0x153),'zCkzH':function(_0x1c7564,_0x4e5f9f){return _0x1c7564===_0x4e5f9f;},'AZJrY':'latest','HTpHX':function(_0x3058fc,_0x2f7103){return _0x3058fc>_0x2f7103;},'INRqB':_0x21b0c8(0x158),'jmDAr':function(_0x130485,_0x5da278){return _0x130485(_0x5da278);},'efQFh':_0x21b0c8(0x18d),'xQVbg':function(_0x4ad1af,_0x4b45e1){return _0x4ad1af+_0x4b45e1;}};try{if(_0x2f7714[_0x21b0c8(0x180)](isAccessibilityAutomationSession)){global[_0x21b0c8(0x122)]=!![];!_0x43da1c[_0x2f7714['UisiR']]&&(global[_0x21b0c8(0x122)]=![]);!(_0x2f7714[_0x21b0c8(0x185)](_0x43da1c[_0x21b0c8(0x15e)],_0x2f7714[_0x21b0c8(0x13c)])||_0x2f7714[_0x21b0c8(0x185)](_0x43da1c[_0x21b0c8(0x15e)],_0x2f7714[_0x21b0c8(0x169)])||_0x2f7714[_0x21b0c8(0x155)](_0x43da1c[_0x21b0c8(0x15b)],_0x2f7714[_0x21b0c8(0x13c)])||_0x2f7714['zBGul'](_0x43da1c['browser'],_0x2f7714[_0x21b0c8(0x169)]))&&(logger[_0x21b0c8(0x176)](_0x2f7714[_0x21b0c8(0x136)]),global['accessibilityPlatform']=![]);!_0x2f7714[_0x21b0c8(0x16c)](isBrowserstackInfra)&&(!_0x2f7714[_0x21b0c8(0x144)](_0x43da1c[_0x21b0c8(0x140)],0x64)&&logger[_0x21b0c8(0x176)](_0x2f7714[_0x21b0c8(0x18e)]));!(_0x2f7714[_0x21b0c8(0x11d)](_0x43da1c[_0x21b0c8(0x140)],_0x2f7714[_0x21b0c8(0x17d)])||_0x2f7714[_0x21b0c8(0x151)](_0x43da1c[_0x21b0c8(0x140)],0x5e))&&(logger[_0x21b0c8(0x176)](_0x2f7714[_0x21b0c8(0x177)]),global[_0x21b0c8(0x122)]=![]);!_0x2f7714[_0x21b0c8(0x192)](isUndefined,_0x43da1c[_0x21b0c8(0x159)])&&(logger[_0x21b0c8(0x176)](_0x2f7714[_0x21b0c8(0x189)]),global['accessibilityPlatform']=![]);if(!global[_0x21b0c8(0x122)]){_0x43da1c[_0x2f7714[_0x21b0c8(0x196)]]=![];const _0x872d56=_0x2f7714[_0x21b0c8(0x165)](_0x76d89f,_0x2f7714[_0x21b0c8(0x192)](encodeURIComponent,JSON['stringify'](_0x43da1c)));_0x4e1b71&&(_0x4e1b71[_0x21b0c8(0x121)][_0x21b0c8(0x15d)]['project'][_0x21b0c8(0x11f)][_0x21b0c8(0x16f)][_0x21b0c8(0x160)]=_0x872d56,_0x4e1b71[_0x21b0c8(0x18a)][_0x21b0c8(0x135)][_0x21b0c8(0x11f)][_0x21b0c8(0x16f)][_0x21b0c8(0x160)]=_0x872d56);}}else global['accessibilityPlatform']=![];}catch(_0x3a4f57){logger[_0x21b0c8(0x16b)](_0x21b0c8(0x138)+util[_0x21b0c8(0x120)](_0x3a4f57));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x334873=a38_0x5dd1;function a38_0x6bcd(){const _0x121d95=['BROWSERSTACK_RERUN','platform','stop','10kAxPDw','378ZttHXW','asvnA','qgAvQ','push','../../helpers/BrowserStackSetup','eMEEc','../v2/browserstackCLI','./accessibility-helper','.browserstack','--disable-test-observability','456105phFElX','oIgvB','rXtTw','11gBgOLN','existsSync','../../helpers/test-observability/utils','1947620AeKEGV','end','cwd','frnab','DvRmu','12586887pmcxnD','indexOf','exports','SDK_SETUP','dejJG','./reporter/test-details','jaPyw','Error\x20in\x20deleting\x20playwright\x20results','ivjaO','readdirSync','accessibility','finalExecution','slice','../v2/cliUtils','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setFrameworkDetail','BROWSERSTACK_AUTOMATION','isFalse','paEwj','TblaS','BROWSERSTACK_TEST_OBSERVABILITY','USER_CONFIG_DETAILS_PATH','EEjZG','unlinkSync','readFileSync','YDlsX','getConfig','QqJKR','BROWSERSTACK_SETUP_CONFIG_PATH','cliConfig','../../helpers/performance/constants','dirname','forEach','../utils/constants','NSZzs','getInstance','npx','149746zOCPtZ','accessibilityOptions','6mDIkAX','browserstackAutomation','ljMau','88585ApNdrj','../../helpers/logger','assign','skipSessionName','--disable-browserstack-automation','filterBrowserstackArgs','resolve','PLAYWRIGHT','./reporter/pwUtils','iVkwM','testObservability','browserstackSetupConfig.json','filter','win32','9Aqfcxj','util','SDK_POST_INITIALIZE','UgmZF','homedir','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','WpUiX','--config=','isTrue','pw_result.json','shutdown','--config','../../helpers/utilities','mLzVj','lbhEj','map','clearTempPWConfig','36HaBPfi','Ekivh','setBrowserstackConfig','join','start','FSmwr','12419136LEftef','SDK_CLEANUP','errorMessage','env','logLevel','wgzZL','dxByG','119792vCmjnN','playwright-browserstack-sdk.config.js','resolvedConfigFile','Neadm','skipSessionStatus','GiFiW','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','debug','writeFileSync','../../helpers/helper','test','validateRerunTestList','WxnTB','findIndex','UFFmL','child_process','VkAaA','playwright-browserstack-sdk.config.cjs','--grep','isTypescriptProject','xxgPc','XDljg','Pmcha','inherit','split','\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();','trim','HmwUi','Playwright\x20process\x20exited\x20with\x20code\x20','info','NYGHr','DcRsc','ysJyM','VhRyP','getPackageType','fjgYw','ttPVF','false','testContextOptions','FtvNe','requirePWModule','623DYLWeL','../v2/TestInfo','launchBuild','startsWith','path','has','../../helpers/test-observability/constants','close','UFotb','measureWrapper','isUndefined','rxdzR','ejBlz','playwright','apply','isRunning','MvtOq','true','config','length','wnBhI','splice','MODULE','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_RERUN_TESTS','EVENTS','stringify','Deleting\x20','../../helpers/accessibility-automation/helper','initialize'];a38_0x6bcd=function(){return _0x121d95;};return a38_0x6bcd();}(function(_0x64caf4,_0x59da96){const _0x358270=a38_0x5dd1,_0x4b9a5f=_0x64caf4();while(!![]){try{const _0x53592b=parseInt(_0x358270(0x16e))/0x1*(-parseInt(_0x358270(0x16c))/0x2)+parseInt(_0x358270(0x17f))/0x3*(-parseInt(_0x358270(0x142))/0x4)+-parseInt(_0x358270(0x171))/0x5*(parseInt(_0x358270(0xda))/0x6)+parseInt(_0x358270(0x110))/0x7*(parseInt(_0x358270(0xe7))/0x8)+-parseInt(_0x358270(0x147))/0x9*(-parseInt(_0x358270(0x131))/0xa)+-parseInt(_0x358270(0x13f))/0xb*(-parseInt(_0x358270(0xe0))/0xc)+parseInt(_0x358270(0x13c))/0xd*(-parseInt(_0x358270(0x132))/0xe);if(_0x53592b===_0x59da96)break;else _0x4b9a5f['push'](_0x4b9a5f['shift']());}catch(_0x3cfdbf){_0x4b9a5f['push'](_0x4b9a5f['shift']());}}}(a38_0x6bcd,0xc3f2f));function a38_0x5dd1(_0x2451bb,_0x34d731){const _0x6bcdea=a38_0x6bcd();return a38_0x5dd1=function(_0x5dd114,_0xccce0c){_0x5dd114=_0x5dd114-0xcd;let _0x3cd6c9=_0x6bcdea[_0x5dd114];return _0x3cd6c9;},a38_0x5dd1(_0x2451bb,_0x34d731);}const fs=require('fs'),path=require(a38_0x334873(0x114)),{spawn}=require(a38_0x334873(0xf6)),{format}=require(a38_0x334873(0x180)),logger=require(a38_0x334873(0x172))['winstonLogger'],{default:BrowserStackSetup}=require(a38_0x334873(0x136)),helper=require(a38_0x334873(0xf0)),utilities=require(a38_0x334873(0xd5)),constants=require(a38_0x334873(0x168)),{FRAMEWORKS}=require(a38_0x334873(0x116)),{getConfigLoaderPath}=require(a38_0x334873(0x179)),{checkAccessibilityPlatformConfig}=require(a38_0x334873(0x12c)),{setAccessibilityCapabilities}=require(a38_0x334873(0x139)),{printBuildLink}=require(a38_0x334873(0x141)),TestDetails=require(a38_0x334873(0x14c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a38_0x334873(0x138)),PerformanceEvents=require(a38_0x334873(0x165))[a38_0x334873(0x129)],CLIUtils=require(a38_0x334873(0x154)),TestInfo=require(a38_0x334873(0x111)),getUserPlaywrightConfig=async(_0x2a3217,_0x1b71bb)=>{const _0xd76e01=a38_0x334873,_0x1cf668={'RyaMx':function(_0x22eeb9){return _0x22eeb9();},'wnBhI':function(_0x279c52,_0x3aec36){return _0x279c52(_0x3aec36);},'xxgPc':_0xd76e01(0xe9),'VhRyP':_0xd76e01(0xd0)},_0x4d911c=!helper[_0xd76e01(0x11a)](_0x2a3217[_0xd76e01(0x122)]),_0x24620a=_0x4d911c?path[_0xd76e01(0x177)](process[_0xd76e01(0x144)](),_0x2a3217[_0xd76e01(0x122)]):process[_0xd76e01(0x144)](),{resolveConfigFile:_0x126466,resolveConfigLocation:_0xdf10cf}=helper[_0xd76e01(0x10f)][_0xd76e01(0x11e)](null,_0x1cf668['RyaMx'](getConfigLoaderPath)),_0x53df7d=_0x126466?_0x1cf668[_0xd76e01(0x124)](_0x126466,_0x24620a):helper['nestedKeyValue'](_0x1cf668[_0xd76e01(0x124)](_0xdf10cf,_0x24620a),[_0x1cf668[_0xd76e01(0xfb)]]),_0x2168a5={};if(_0x4d911c){const _0x58bf70=_0x1b71bb[_0xd76e01(0xf4)](_0x314331=>_0x314331===_0xd76e01(0xd4)||_0x314331==='-c'||_0x314331['startsWith'](_0xd76e01(0xd0)));_0x1b71bb[_0xd76e01(0x125)](_0x58bf70,_0x1b71bb[_0x58bf70][_0xd76e01(0x113)](_0x1cf668[_0xd76e01(0x108)])?0x1:0x2);}const _0x18d9c0={};return _0x18d9c0[_0xd76e01(0x114)]=_0x53df7d,_0x18d9c0[_0xd76e01(0x122)]=_0x2168a5,_0x18d9c0;},handleO11yRerun=_0x56130f=>{const _0x5c3fc5=a38_0x334873,_0x30112c={};_0x30112c[_0x5c3fc5(0xf5)]=_0x5c3fc5(0xf9);const _0x4c50a8=_0x30112c,_0x3ee1da=helper[_0x5c3fc5(0xd1)](process[_0x5c3fc5(0xe3)][_0x5c3fc5(0x12e)]);if(_0x3ee1da){const _0x44c091=process['env'][_0x5c3fc5(0x128)],_0x5e0627=[];if(helper[_0x5c3fc5(0xf2)](_0x44c091)&&!helper[_0x5c3fc5(0x11a)](_0x44c091)){_0x44c091['split'](',')[_0x5c3fc5(0xd8)](_0x10aa1f=>{const _0x445691=_0x5c3fc5;_0x5e0627[_0x445691(0x135)]('('+_0x10aa1f[_0x445691(0x101)]()+')');});const _0x2a7e08='^'+_0x5e0627[_0x5c3fc5(0xdd)]('|')+'$';_0x56130f[_0x5c3fc5(0x135)](_0x4c50a8[_0x5c3fc5(0xf5)],_0x2a7e08);}}},spawnOriginalProcess=_0xf14ba0=>{const _0x3a3bfa=a38_0x334873,_0x3de5c1={'AIXWD':function(_0x205bfd,_0x5b1ec8,_0x132a79,_0x182da0){return _0x205bfd(_0x5b1ec8,_0x132a79,_0x182da0);},'DcRsc':_0x3a3bfa(0x16b),'YDlsX':_0x3a3bfa(0x11d),'WxnTB':function(_0x344dc0,_0xbee388){return _0x344dc0===_0xbee388;},'FtvNe':_0x3a3bfa(0x17e),'hDfQf':'inherit'};_0x3de5c1['AIXWD'](spawn,_0x3de5c1[_0x3a3bfa(0x106)],[_0x3de5c1[_0x3a3bfa(0x160)],..._0xf14ba0[_0x3a3bfa(0x153)](0x1)],{'shell':_0x3de5c1[_0x3a3bfa(0xf3)](process[_0x3a3bfa(0x12f)],_0x3de5c1[_0x3a3bfa(0x10e)]),'stdio':_0x3de5c1['hDfQf'],'cwd':process[_0x3a3bfa(0x144)]()});},isTestCommand=(_0x2f51d0,_0x3b6eb5)=>{const _0x1d3796=a38_0x334873,_0x1063d1={};_0x1063d1[_0x1d3796(0x13d)]=function(_0x286a35,_0x1a5a3f){return _0x286a35>_0x1a5a3f;},_0x1063d1[_0x1d3796(0xd6)]=function(_0x552701,_0x333640){return _0x552701===_0x333640;},_0x1063d1[_0x1d3796(0x102)]=_0x1d3796(0xf1);const _0x41f7d2=_0x1063d1;if(_0x41f7d2[_0x1d3796(0x13d)](_0x3b6eb5['length'],0x1)&&_0x41f7d2['mLzVj'](_0x3b6eb5[0x1],_0x41f7d2['HmwUi']))return!![];return![];};async function run(_0x1483c2,_0x1c6b0a,_0x557454){const _0x3500bf=a38_0x334873,_0x53fba5={'lbhEj':function(_0x57d538,_0xd8e98b){return _0x57d538(_0xd8e98b);},'ivjaO':_0x3500bf(0x13a),'dejJG':_0x3500bf(0xd2),'Ekivh':function(_0x3f3076,_0xce9ad1){return _0x3f3076+_0xce9ad1;},'eMEEc':'Error\x20in\x20getting\x20funnel\x20data\x20results','NSZzs':function(_0x2f37ee){return _0x2f37ee();},'lXwvW':function(_0x567d01){return _0x567d01();},'Pmcha':function(_0x5e8aab,_0x267915){return _0x5e8aab+_0x267915;},'VjOko':'Error\x20in\x20closing\x20playwright','UgmZF':'BrowserStack\x20config\x20file\x20not\x20found.','VkAaA':function(_0x2ff09e,_0x1f7a13){return _0x2ff09e===_0x1f7a13;},'TblaS':_0x3500bf(0x10c),'lshMG':_0x3500bf(0x13b),'WpUiX':function(_0x52450e,_0x315f76){return _0x52450e>=_0x315f76;},'FSmwr':function(_0x1f636e,_0x3d4a2d){return _0x1f636e===_0x3d4a2d;},'ttPVF':'automation','paEwj':function(_0x264120,_0x3c1699){return _0x264120!=_0x3c1699;},'XDljg':function(_0x1e23e4,_0x72f5c7,_0x13e396){return _0x1e23e4(_0x72f5c7,_0x13e396);},'EEjZG':_0x3500bf(0x121),'frnab':function(_0x2c5670,_0x301ccc){return _0x2c5670(_0x301ccc);},'NYGHr':_0x3500bf(0x17c),'ysJyM':_0x3500bf(0xf8),'DKDOS':_0x3500bf(0xe8),'rxdzR':function(_0x3b11e2,_0x1c8e71){return _0x3b11e2-_0x1c8e71;},'DvRmu':_0x3500bf(0x127),'KMWHt':function(_0x1b53aa,_0x51ffe8){return _0x1b53aa>_0x51ffe8;},'ejBlz':function(_0xce7852,_0x4249ac,_0x2cd5b4,_0x4bc982){return _0xce7852(_0x4249ac,_0x2cd5b4,_0x4bc982);},'rXtTw':_0x3500bf(0x16b),'dxByG':_0x3500bf(0x11d),'Neadm':_0x3500bf(0xf1),'InOir':_0x3500bf(0xd4),'qgAvQ':function(_0x1f29f8,_0x31e295){return _0x1f29f8===_0x31e295;},'MvtOq':_0x3500bf(0x17e),'UFotb':_0x3500bf(0xfe),'asvnA':_0x3500bf(0x117),'fjgYw':function(_0x166e6a,_0x352d40){return _0x166e6a+_0x352d40;},'QqJKR':_0x3500bf(0x14e),'ljMau':function(_0x270fe3,_0x2a547b,_0x428d81){return _0x270fe3(_0x2a547b,_0x428d81);},'jaPyw':function(_0x209784,_0x5ce68c){return _0x209784(_0x5ce68c);}};try{const _0x638f9e=path['join'](helper[_0x3500bf(0xcd)](),_0x53fba5[_0x3500bf(0x14f)],_0x53fba5['dejJG']);fs['existsSync'](_0x638f9e)&&fs[_0x3500bf(0x15e)](_0x638f9e);}catch(_0x3319cc){logger[_0x3500bf(0xee)](_0x53fba5[_0x3500bf(0x10a)](_0x53fba5[_0x3500bf(0x162)],_0x3319cc));}if(!_0x53fba5[_0x3500bf(0x170)](isTestCommand,_0x1483c2,_0x1c6b0a)){_0x53fba5[_0x3500bf(0x14d)](spawnOriginalProcess,_0x1c6b0a);return;}await PerformanceTester[_0x3500bf(0x119)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x4a9972=_0x3500bf,_0x54e89f={'GiFiW':_0x53fba5[_0x4a9972(0x14f)],'lObBG':_0x53fba5[_0x4a9972(0x14b)],'IjbFm':function(_0x473802,_0x1b0cb9){const _0x1d8f50=_0x4a9972;return _0x53fba5[_0x1d8f50(0xdb)](_0x473802,_0x1b0cb9);},'MtnhT':_0x53fba5[_0x4a9972(0x137)],'PEyMk':function(_0x3640d2){const _0x4ec679=_0x4a9972;return _0x53fba5[_0x4ec679(0x169)](_0x3640d2);},'iVkwM':function(_0x19d9e8){return _0x53fba5['lXwvW'](_0x19d9e8);},'hBLJJ':function(_0x259280,_0x5dc4f4){const _0x548099=_0x4a9972;return _0x53fba5[_0x548099(0xfd)](_0x259280,_0x5dc4f4);},'wgzZL':_0x53fba5['VjOko']};if(!_0x557454[_0x4a9972(0x122)]){logger['error'](_0x53fba5[_0x4a9972(0x182)]);return;}await _0x557454[_0x4a9972(0x12d)](_0x1483c2),CLIUtils[_0x4a9972(0x156)](FRAMEWORKS[_0x4a9972(0x178)],FRAMEWORKS[_0x4a9972(0x178)]),BrowserstackCLI[_0x4a9972(0x16a)]()[_0x4a9972(0xdc)](_0x557454[_0x4a9972(0x122)],_0x557454['cliConfig']),await BrowserstackCLI['getInstance']()['bootstrap']();const _0x1d4978=BrowserstackCLI[_0x4a9972(0x16a)]()[_0x4a9972(0x161)]();!helper[_0x4a9972(0x158)](_0x1d4978[_0x4a9972(0x16f)])&&(process[_0x4a9972(0xe3)][_0x4a9972(0x157)]=!![]);_0x53fba5[_0x4a9972(0xf7)](_0x1d4978[_0x4a9972(0x16f)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x53fba5[_0x4a9972(0x15a)],_0x1c6b0a=_0x1c6b0a[_0x4a9972(0x17d)](_0x670b6a=>_0x670b6a!==_0x4a9972(0x175)));const _0x179ef1=_0x1c6b0a[_0x4a9972(0x148)](_0x53fba5['lshMG']);(_0x53fba5[_0x4a9972(0xcf)](_0x179ef1,0x0)||_0x53fba5[_0x4a9972(0xdf)](_0x1d4978[_0x4a9972(0x17b)],![]))&&(process[_0x4a9972(0xe3)][_0x4a9972(0x15b)]=_0x53fba5['TblaS'],_0x1c6b0a=_0x1c6b0a[_0x4a9972(0x17d)](_0x1d3508=>_0x1d3508!==_0x4a9972(0x13b)));!helper[_0x4a9972(0x11a)](_0x557454[_0x4a9972(0x164)])&&_0x557454[_0x4a9972(0x164)][_0x4a9972(0x115)](_0x53fba5[_0x4a9972(0x10b)])&&(process[_0x4a9972(0xe3)][_0x4a9972(0x157)]=_0x557454[_0x4a9972(0x164)]['get'](_0x53fba5[_0x4a9972(0x10b)])||!![]);_0x53fba5[_0x4a9972(0x159)](_0x557454['config'][_0x4a9972(0x17b)],null)&&!helper[_0x4a9972(0xd1)](process[_0x4a9972(0xe3)][_0x4a9972(0x15b)])&&(process[_0x4a9972(0xe3)][_0x4a9972(0x15b)]=process[_0x4a9972(0xe3)][_0x4a9972(0x15b)]||_0x557454[_0x4a9972(0x122)][_0x4a9972(0x17b)]);const _0x23dfcb=!helper[_0x4a9972(0x158)](process[_0x4a9972(0xe3)][_0x4a9972(0x15b)]);_0x557454[_0x4a9972(0x122)][_0x4a9972(0x16d)]&&(process[_0x4a9972(0xe3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4a9972(0x12a)](_0x557454['config']['accessibilityOptions']));let _0x733e74=![];_0x557454[_0x4a9972(0x122)][_0x4a9972(0x151)]&&(_0x733e74=!![],process[_0x4a9972(0xe3)][_0x4a9972(0x155)]=_0x557454[_0x4a9972(0x122)][_0x4a9972(0x151)]);const _0x3772c5=_0x1c6b0a['concat'](),_0x32ee1f=await _0x53fba5[_0x4a9972(0xfc)](getUserPlaywrightConfig,_0x1483c2,_0x1c6b0a);if(helper[_0x4a9972(0x11a)](_0x32ee1f)){_0x53fba5[_0x4a9972(0xd7)](spawnOriginalProcess,_0x3772c5);return;}const _0x401b5c=_0x32ee1f[_0x4a9972(0x114)]?path[_0x4a9972(0x166)](_0x32ee1f[_0x4a9972(0x114)]):process[_0x4a9972(0x144)]();process[_0x4a9972(0xe3)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x401b5c,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x4a9972(0x181)],async()=>{const _0x489ff1=_0x4a9972;!BrowserstackCLI[_0x489ff1(0x16a)]()[_0x489ff1(0x11f)]()&&await TestHubHandler[_0x489ff1(0x112)](FRAMEWORKS[_0x489ff1(0x178)],_0x557454),_0x23dfcb&&_0x53fba5[_0x489ff1(0xd7)](handleO11yRerun,_0x1c6b0a);})();if(!BrowserstackCLI[_0x4a9972(0x16a)]()[_0x4a9972(0x11f)]()){let _0x1c752d=_0x53fba5[_0x4a9972(0xf7)](process[_0x4a9972(0xe3)][_0x4a9972(0x155)],_0x53fba5[_0x4a9972(0x15d)]);_0x1c752d=_0x1c752d||_0x53fba5[_0x4a9972(0x145)](checkAccessibilityPlatformConfig,_0x557454[_0x4a9972(0x122)]),process['env'][_0x4a9972(0x155)]=_0x1c752d,_0x1c752d&&_0x53fba5[_0x4a9972(0x145)](setAccessibilityCapabilities,_0x557454[_0x4a9972(0x122)]);}const _0x3076b1=path[_0x4a9972(0xdd)](_0x32ee1f['path']?path[_0x4a9972(0x166)](_0x32ee1f[_0x4a9972(0x114)]):process[_0x4a9972(0x144)](),_0x53fba5[_0x4a9972(0x105)]);fs[_0x4a9972(0xef)](_0x3076b1,helper['serializeToYamlString'](_0x557454[_0x4a9972(0x122)])),process[_0x4a9972(0xe3)][_0x4a9972(0x163)]=_0x3076b1,helper[_0x4a9972(0xd9)]();let _0x3193a2='';_0x53fba5[_0x4a9972(0xf7)](helper[_0x4a9972(0x109)](),constants['PACKAGE_TYPE'][_0x4a9972(0x126)])?_0x3193a2=_0x53fba5[_0x4a9972(0x107)]:_0x3193a2=_0x53fba5['DKDOS'];let _0x1cd3a5='';if(helper[_0x4a9972(0xfa)](_0x32ee1f[_0x4a9972(0x114)])){_0x1cd3a5='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x47c215=_0x3193a2[_0x4a9972(0xff)]('.');_0x47c215[_0x53fba5[_0x4a9972(0x11b)](_0x47c215['length'],0x1)]='ts',_0x3193a2=_0x47c215['join']('.'),logger[_0x4a9972(0xee)](_0x53fba5['Ekivh'](_0x53fba5[_0x4a9972(0x146)],_0x3193a2));}else _0x1cd3a5=_0x4a9972(0xed);const _0x81554b=path['join'](_0x32ee1f[_0x4a9972(0x114)]?path[_0x4a9972(0x166)](_0x32ee1f['path']):process[_0x4a9972(0x144)](),_0x3193a2);let _0x85d01a=_0x32ee1f[_0x4a9972(0x114)]?_0x32ee1f[_0x4a9972(0x114)]:'';_0x85d01a=_0x53fba5['KMWHt'](_0x85d01a[_0x4a9972(0x123)],0x0)?path[_0x4a9972(0x177)](_0x85d01a):'',process[_0x4a9972(0xe3)][_0x4a9972(0x15c)]=_0x85d01a;const _0x3c123a=helper['getProxyUrl'](_0x557454[_0x4a9972(0x122)]);_0x3c123a&&(_0x1cd3a5=_0x53fba5[_0x4a9972(0xfd)](_0x4a9972(0xce)+_0x3c123a+_0x4a9972(0x100),_0x1cd3a5));helper[_0x4a9972(0x176)]({},_0x1c6b0a),fs[_0x4a9972(0xef)](_0x81554b,_0x1cd3a5),PerformanceTester[_0x4a9972(0x143)](PerformanceEvents[_0x4a9972(0x14a)]);const _0x271e59=_0x53fba5[_0x4a9972(0x11c)](spawn,_0x53fba5[_0x4a9972(0x13e)],[_0x53fba5[_0x4a9972(0xe6)],_0x53fba5[_0x4a9972(0xea)],_0x53fba5['InOir'],_0x81554b,..._0x1c6b0a[_0x4a9972(0x153)](0x2)],{'shell':_0x53fba5[_0x4a9972(0x134)](process[_0x4a9972(0x12f)],_0x53fba5[_0x4a9972(0x120)]),'stdio':_0x53fba5[_0x4a9972(0x118)],'cwd':process[_0x4a9972(0x144)](),'env':Object[_0x4a9972(0x173)]({},process[_0x4a9972(0xe3)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1483c2),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x557454['config'][_0x4a9972(0x10d)][_0x4a9972(0xeb)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x557454[_0x4a9972(0x122)][_0x4a9972(0x10d)][_0x4a9972(0x174)],'BROWSERSTACK_LOG_LEVEL':_0x557454[_0x4a9972(0x122)][_0x4a9972(0xe4)]})}),_0x4502b1=()=>{const _0x542404=_0x4a9972;try{const _0x4f5d72=path[_0x542404(0xdd)](helper['homedir'](),_0x54e89f[_0x542404(0xec)],_0x54e89f['lObBG']);if(fs['existsSync'](_0x4f5d72)){let _0x3daeb4=fs[_0x542404(0x15f)](_0x4f5d72);_0x3daeb4=JSON['parse'](_0x3daeb4),_0x557454[_0x542404(0xe2)]=_0x3daeb4,fs[_0x542404(0x15e)](_0x4f5d72);}}catch(_0x3ac1be){logger[_0x542404(0xee)](_0x54e89f['IjbFm'](_0x54e89f['MtnhT'],_0x3ac1be));}};_0x271e59['on'](_0x53fba5[_0x4a9972(0x133)],async _0x10f9f7=>{const _0x118a58=_0x4a9972;try{PerformanceTester[_0x118a58(0xde)](PerformanceEvents[_0x118a58(0xe1)]),_0x54e89f['PEyMk'](_0x4502b1),await TestHubHandler[_0x118a58(0x130)](),await BrowserstackCLI[_0x118a58(0x16a)]()[_0x118a58(0x130)](),TestDetails[_0x118a58(0xd3)](),_0x54e89f[_0x118a58(0x17a)](printBuildLink),await utilities[_0x118a58(0x152)](_0x557454),process['exitCode']=_0x10f9f7,logger[_0x118a58(0xee)](_0x118a58(0x103)+_0x10f9f7),logger[_0x118a58(0x104)]('Deleting\x20'+_0x81554b),fs['unlinkSync'](_0x81554b);fs[_0x118a58(0x140)](_0x3076b1)&&(logger[_0x118a58(0xee)](_0x118a58(0x12b)+_0x3076b1),fs[_0x118a58(0x15e)](_0x3076b1));const _0xe96666=fs[_0x118a58(0x150)](path[_0x118a58(0xdd)](helper['homedir'](),_0x54e89f[_0x118a58(0xec)]))[_0x118a58(0x17d)](_0x3384c1=>_0x3384c1[_0x118a58(0x113)]('trace_'));_0xe96666[_0x118a58(0x167)](_0x1ef8da=>{const _0x85b513=_0x118a58;fs[_0x85b513(0x15e)](path[_0x85b513(0xdd)](helper['homedir'](),_0x54e89f[_0x85b513(0xec)],_0x1ef8da));});}catch(_0x4513ea){logger[_0x118a58(0xee)](_0x54e89f['hBLJJ'](_0x54e89f[_0x118a58(0xe5)],_0x4513ea));}});})();}module[a38_0x334873(0x149)]=run;
2
+ 'use strict';const a38_0x4d233=a38_0x2389;(function(_0x4b3419,_0x2a3a4f){const _0x76a332=a38_0x2389,_0x45ac26=_0x4b3419();while(!![]){try{const _0x241b3d=parseInt(_0x76a332(0x1d1))/0x1*(parseInt(_0x76a332(0x1e6))/0x2)+parseInt(_0x76a332(0x22a))/0x3+parseInt(_0x76a332(0x1ee))/0x4+parseInt(_0x76a332(0x270))/0x5+parseInt(_0x76a332(0x20b))/0x6+-parseInt(_0x76a332(0x1d7))/0x7*(parseInt(_0x76a332(0x24b))/0x8)+parseInt(_0x76a332(0x20f))/0x9*(-parseInt(_0x76a332(0x1fa))/0xa);if(_0x241b3d===_0x2a3a4f)break;else _0x45ac26['push'](_0x45ac26['shift']());}catch(_0x2d5c80){_0x45ac26['push'](_0x45ac26['shift']());}}}(a38_0x419e,0xc40f4));function a38_0x2389(_0x4bf4ec,_0x313412){const _0x419ee7=a38_0x419e();return a38_0x2389=function(_0x2389c8,_0x3d9a02){_0x2389c8=_0x2389c8-0x1c7;let _0x91e76b=_0x419ee7[_0x2389c8];return _0x91e76b;},a38_0x2389(_0x4bf4ec,_0x313412);}const fs=require('fs'),path=require(a38_0x4d233(0x24a)),{spawn}=require(a38_0x4d233(0x21b)),{format}=require(a38_0x4d233(0x1d5)),logger=require(a38_0x4d233(0x265))[a38_0x4d233(0x251)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a38_0x4d233(0x1cc)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a38_0x4d233(0x20e)),{getConfigLoaderPath}=require(a38_0x4d233(0x23f)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a38_0x4d233(0x262)),{printBuildLink}=require(a38_0x4d233(0x248)),TestDetails=require(a38_0x4d233(0x202)),TestHubHandler=require(a38_0x4d233(0x1e4)),PerformanceTester=require(a38_0x4d233(0x234)),BrowserstackCLI=require(a38_0x4d233(0x207)),PerformanceEvents=require(a38_0x4d233(0x1f8))['EVENTS'],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),getUserPlaywrightConfig=async(_0x17489f,_0x57309b)=>{const _0x1b2ef3=a38_0x4d233,_0x5d18e7={'qjrws':function(_0x2783c4){return _0x2783c4();},'cLyOZ':function(_0x29cd14,_0x22c82c){return _0x29cd14(_0x22c82c);},'eWeRz':_0x1b2ef3(0x228),'XRqig':_0x1b2ef3(0x1d0)},_0x36b103=!helper[_0x1b2ef3(0x1cf)](_0x17489f[_0x1b2ef3(0x232)]),_0x3debca=_0x36b103?path[_0x1b2ef3(0x21c)](process[_0x1b2ef3(0x233)](),_0x17489f[_0x1b2ef3(0x232)]):process[_0x1b2ef3(0x233)](),{resolveConfigFile:_0x14d734,resolveConfigLocation:_0x27f9e4}=helper[_0x1b2ef3(0x246)][_0x1b2ef3(0x221)](null,_0x5d18e7[_0x1b2ef3(0x206)](getConfigLoaderPath)),_0x4a9d5d=_0x14d734?_0x5d18e7[_0x1b2ef3(0x258)](_0x14d734,_0x3debca):helper[_0x1b2ef3(0x1e2)](_0x5d18e7[_0x1b2ef3(0x258)](_0x27f9e4,_0x3debca),[_0x5d18e7['eWeRz']]),_0x16c075={};if(_0x36b103){const _0x1ed510=_0x57309b[_0x1b2ef3(0x1ff)](_0x4025ce=>_0x4025ce===_0x1b2ef3(0x1e5)||_0x4025ce==='-c'||_0x4025ce[_0x1b2ef3(0x25c)](_0x1b2ef3(0x1d0)));_0x57309b[_0x1b2ef3(0x25e)](_0x1ed510,_0x57309b[_0x1ed510]['startsWith'](_0x5d18e7['XRqig'])?0x1:0x2);}const _0x829e66={};return _0x829e66[_0x1b2ef3(0x24a)]=_0x4a9d5d,_0x829e66[_0x1b2ef3(0x232)]=_0x16c075,_0x829e66;},handleO11yRerun=_0x1dfd81=>{const _0x5f3664=a38_0x4d233,_0x2a5d57={};_0x2a5d57['bqpgt']=_0x5f3664(0x240);const _0x5969dc=_0x2a5d57,_0x3f9b72=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x3f9b72){const _0x45e233=process[_0x5f3664(0x263)][_0x5f3664(0x1fb)],_0x16a1b2=[];if(helper['validateRerunTestList'](_0x45e233)&&!helper[_0x5f3664(0x1cf)](_0x45e233)){_0x45e233['split'](',')[_0x5f3664(0x1e3)](_0x32c610=>{const _0x23318a=_0x5f3664;_0x16a1b2['push']('('+_0x32c610[_0x23318a(0x217)]()+')');});const _0x53eb3d='^'+_0x16a1b2[_0x5f3664(0x200)]('|')+'$';_0x1dfd81[_0x5f3664(0x213)](_0x5969dc[_0x5f3664(0x252)],_0x53eb3d);}}},spawnOriginalProcess=_0x47b2f0=>{const _0x21e8f5=a38_0x4d233,_0x202274={'rZWPt':function(_0x541997,_0x9a6f06,_0x562083,_0x515d9d){return _0x541997(_0x9a6f06,_0x562083,_0x515d9d);},'VCuiN':_0x21e8f5(0x21f),'aLPqE':'playwright','kUOHq':function(_0x1653d2,_0x408469){return _0x1653d2===_0x408469;},'ogRge':_0x21e8f5(0x1e8),'UrWOh':_0x21e8f5(0x267)};_0x202274['rZWPt'](spawn,_0x202274[_0x21e8f5(0x230)],[_0x202274['aLPqE'],..._0x47b2f0[_0x21e8f5(0x1ce)](0x1)],{'shell':_0x202274['kUOHq'](process[_0x21e8f5(0x212)],_0x202274[_0x21e8f5(0x259)]),'stdio':_0x202274[_0x21e8f5(0x21a)],'cwd':process['cwd']()});},isTestCommand=(_0xcd952a,_0x508d10)=>{const _0xfa7032=a38_0x4d233,_0x3b777e={};_0x3b777e['qYfrf']=function(_0x269a12,_0x5ccfbc){return _0x269a12>_0x5ccfbc;},_0x3b777e[_0xfa7032(0x1fd)]=function(_0x1cbcba,_0x2d7353){return _0x1cbcba===_0x2d7353;},_0x3b777e[_0xfa7032(0x1ef)]=_0xfa7032(0x26f);const _0x8e1616=_0x3b777e;if(_0x8e1616[_0xfa7032(0x25b)](_0x508d10[_0xfa7032(0x25d)],0x1)&&_0x8e1616[_0xfa7032(0x1fd)](_0x508d10[0x1],_0x8e1616[_0xfa7032(0x1ef)]))return!![];return![];};async function run(_0x127ef6,_0x21ee4c,_0x5eaccf){const _0x2beca7=a38_0x4d233,_0x50f83e={'zPqaD':_0x2beca7(0x1d9),'NTnsh':_0x2beca7(0x225),'zIZYg':function(_0x48f912,_0x479290){return _0x48f912+_0x479290;},'QsLpz':_0x2beca7(0x219),'venfa':function(_0x37d7bc,_0x236c80){return _0x37d7bc(_0x236c80);},'amBjC':function(_0x4fb62f){return _0x4fb62f();},'cTgxE':function(_0x342606,_0x54a51c){return _0x342606+_0x54a51c;},'IAQtu':_0x2beca7(0x1d8),'FoMxL':_0x2beca7(0x256),'DgSYu':function(_0x8019c5,_0x27c03d){return _0x8019c5===_0x27c03d;},'ebqnV':_0x2beca7(0x21d),'wQryN':_0x2beca7(0x229),'kmHGo':function(_0x3d59e2,_0x4ba8e5){return _0x3d59e2>=_0x4ba8e5;},'LlVsS':_0x2beca7(0x1db),'satXL':function(_0x1a6dd4,_0x12eda3){return _0x1a6dd4!=_0x12eda3;},'CwcyU':function(_0x4e04d1,_0x24c146,_0xa0ab50){return _0x4e04d1(_0x24c146,_0xa0ab50);},'rDQBO':function(_0x7dad1c,_0x157c2a){return _0x7dad1c(_0x157c2a);},'cOoLA':_0x2beca7(0x1f2),'oPlYK':_0x2beca7(0x22c),'vRBlR':_0x2beca7(0x224),'LXtuY':_0x2beca7(0x1eb),'gozPd':function(_0x167f24,_0x3b9187){return _0x167f24-_0x3b9187;},'zwFyf':function(_0x2ed9cd,_0x227b5f){return _0x2ed9cd+_0x227b5f;},'KfRKA':_0x2beca7(0x1f0),'JKdKC':function(_0x25a60f,_0x5923ae){return _0x25a60f>_0x5923ae;},'ohZex':function(_0x2ad547,_0x5e65bb){return _0x2ad547+_0x5e65bb;},'SgBqY':function(_0x40a0c7,_0x514240,_0x451c4c,_0x4c4708){return _0x40a0c7(_0x514240,_0x451c4c,_0x4c4708);},'IUTME':_0x2beca7(0x21f),'xQYVG':'playwright','rlnnc':_0x2beca7(0x26f),'tnDlQ':_0x2beca7(0x1e5),'wzGaj':_0x2beca7(0x1e8),'BJPvT':_0x2beca7(0x267),'sISJv':_0x2beca7(0x24d),'jwJMl':function(_0x452650,_0x34d443){return _0x452650+_0x34d443;},'OJAxz':_0x2beca7(0x25f),'zzrcI':function(_0x2e6f01,_0x1baafc,_0x5bdcca){return _0x2e6f01(_0x1baafc,_0x5bdcca);}};try{const _0x5afcdb=path[_0x2beca7(0x200)](helper['homedir'](),_0x50f83e[_0x2beca7(0x260)],_0x50f83e[_0x2beca7(0x241)]);fs['existsSync'](_0x5afcdb)&&fs[_0x2beca7(0x1d3)](_0x5afcdb);}catch(_0x576752){logger[_0x2beca7(0x218)](_0x50f83e[_0x2beca7(0x254)](_0x50f83e[_0x2beca7(0x243)],_0x576752));}if(!_0x50f83e[_0x2beca7(0x1ea)](isTestCommand,_0x127ef6,_0x21ee4c)){_0x50f83e[_0x2beca7(0x250)](spawnOriginalProcess,_0x21ee4c);return;}await PerformanceTester[_0x2beca7(0x23e)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x1e5501=_0x2beca7,_0x18fc24={'lLdAk':function(_0x5528e6,_0x2d2532){const _0x1172e9=a38_0x2389;return _0x50f83e[_0x1172e9(0x237)](_0x5528e6,_0x2d2532);},'musax':_0x50f83e['zPqaD'],'jlmNU':function(_0x2e58a3){const _0x15031c=a38_0x2389;return _0x50f83e[_0x15031c(0x257)](_0x2e58a3);},'YpIxC':function(_0x498aa3,_0x1c6813){const _0x539e2b=a38_0x2389;return _0x50f83e[_0x539e2b(0x26c)](_0x498aa3,_0x1c6813);},'ozYIs':_0x50f83e[_0x1e5501(0x1ed)]};if(!_0x5eaccf[_0x1e5501(0x232)]){logger['error'](_0x50f83e[_0x1e5501(0x261)]);return;}await _0x5eaccf[_0x1e5501(0x235)](_0x127ef6),CLIUtils[_0x1e5501(0x24c)](FRAMEWORKS[_0x1e5501(0x1fe)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x1e5501(0x214)]()[_0x1e5501(0x24f)](_0x5eaccf[_0x1e5501(0x232)],_0x5eaccf['cliConfig']),await BrowserstackCLI[_0x1e5501(0x214)]()[_0x1e5501(0x20a)]();const _0x4069cd=BrowserstackCLI[_0x1e5501(0x214)]()[_0x1e5501(0x22d)]();!helper[_0x1e5501(0x26b)](_0x4069cd[_0x1e5501(0x249)])&&(process[_0x1e5501(0x263)][_0x1e5501(0x23b)]=!![]);_0x50f83e[_0x1e5501(0x204)](_0x4069cd[_0x1e5501(0x249)],![])&&(process[_0x1e5501(0x263)]['BROWSERSTACK_AUTOMATION']=_0x50f83e[_0x1e5501(0x203)],_0x21ee4c=_0x21ee4c['filter'](_0x5cc0d6=>_0x5cc0d6!==_0x1e5501(0x26d)));const _0x4e7a0d=_0x21ee4c['indexOf'](_0x50f83e[_0x1e5501(0x271)]);(_0x50f83e[_0x1e5501(0x236)](_0x4e7a0d,0x0)||_0x50f83e[_0x1e5501(0x204)](_0x4069cd[_0x1e5501(0x23d)],![]))&&(process[_0x1e5501(0x263)][_0x1e5501(0x223)]=_0x50f83e[_0x1e5501(0x203)],_0x21ee4c=_0x21ee4c['filter'](_0x1c7a3a=>_0x1c7a3a!==_0x1e5501(0x229)));!helper[_0x1e5501(0x1cf)](_0x5eaccf[_0x1e5501(0x205)])&&_0x5eaccf['cliConfig'][_0x1e5501(0x239)](_0x50f83e[_0x1e5501(0x22f)])&&(process['env'][_0x1e5501(0x23b)]=_0x5eaccf[_0x1e5501(0x205)][_0x1e5501(0x201)](_0x50f83e[_0x1e5501(0x22f)])||!![]);_0x50f83e[_0x1e5501(0x1c7)](_0x5eaccf[_0x1e5501(0x232)][_0x1e5501(0x23d)],null)&&!helper[_0x1e5501(0x209)](process[_0x1e5501(0x263)][_0x1e5501(0x223)])&&(process['env'][_0x1e5501(0x223)]=process[_0x1e5501(0x263)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x5eaccf['config']['testObservability']);const _0x52e703=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);_0x5eaccf[_0x1e5501(0x232)][_0x1e5501(0x1f9)]&&(process['env'][_0x1e5501(0x222)]=JSON[_0x1e5501(0x226)](_0x5eaccf[_0x1e5501(0x232)]['accessibilityOptions']));let _0x32c00d=![];_0x5eaccf[_0x1e5501(0x232)][_0x1e5501(0x245)]&&(_0x32c00d=!![],process[_0x1e5501(0x263)][_0x1e5501(0x253)]=_0x5eaccf[_0x1e5501(0x232)][_0x1e5501(0x245)]);const _0x1393f6=_0x21ee4c[_0x1e5501(0x272)](),_0x1139b0=await _0x50f83e[_0x1e5501(0x255)](getUserPlaywrightConfig,_0x127ef6,_0x21ee4c);if(helper[_0x1e5501(0x1cf)](_0x1139b0)){_0x50f83e['rDQBO'](spawnOriginalProcess,_0x1393f6);return;}const _0x5eebde=_0x1139b0[_0x1e5501(0x24a)]?path['dirname'](_0x1139b0[_0x1e5501(0x24a)]):process[_0x1e5501(0x233)]();process[_0x1e5501(0x263)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x5eebde,await PerformanceTester[_0x1e5501(0x23e)](PerformanceEvents[_0x1e5501(0x1dd)],async()=>{const _0x20c2ee=_0x1e5501;!BrowserstackCLI[_0x20c2ee(0x214)]()[_0x20c2ee(0x1f4)]()&&await TestHubHandler[_0x20c2ee(0x1d6)](FRAMEWORKS[_0x20c2ee(0x1fe)],_0x5eaccf),_0x52e703&&_0x18fc24[_0x20c2ee(0x1cd)](handleO11yRerun,_0x21ee4c);})();if(!BrowserstackCLI['getInstance']()[_0x1e5501(0x1f4)]()){let _0x5099f6=_0x50f83e[_0x1e5501(0x204)](process['env'][_0x1e5501(0x253)],_0x50f83e[_0x1e5501(0x244)]);_0x5099f6=_0x5099f6||_0x50f83e[_0x1e5501(0x237)](checkAccessibilityPlatformConfig,_0x5eaccf[_0x1e5501(0x232)]),process['env'][_0x1e5501(0x253)]=_0x5099f6,_0x5099f6&&_0x50f83e[_0x1e5501(0x237)](setAccessibilityCapabilities,_0x5eaccf[_0x1e5501(0x232)]);}const _0x3ec4f5=path[_0x1e5501(0x200)](_0x1139b0[_0x1e5501(0x24a)]?path[_0x1e5501(0x1e7)](_0x1139b0[_0x1e5501(0x24a)]):process[_0x1e5501(0x233)](),_0x50f83e['oPlYK']);fs['writeFileSync'](_0x3ec4f5,helper['serializeToYamlString'](_0x5eaccf['config'])),process[_0x1e5501(0x263)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x3ec4f5,helper[_0x1e5501(0x22e)]();let _0x258ce6='';_0x50f83e[_0x1e5501(0x204)](helper[_0x1e5501(0x1f3)](),constants[_0x1e5501(0x25a)][_0x1e5501(0x1d2)])?_0x258ce6=_0x50f83e['vRBlR']:_0x258ce6=_0x50f83e[_0x1e5501(0x1c9)];let _0xe826='';if(helper[_0x1e5501(0x1e9)](_0x1139b0[_0x1e5501(0x24a)])){_0xe826=_0x1e5501(0x1f1);const _0x11766d=_0x258ce6[_0x1e5501(0x268)]('.');_0x11766d[_0x50f83e['gozPd'](_0x11766d[_0x1e5501(0x25d)],0x1)]='ts',_0x258ce6=_0x11766d['join']('.'),logger[_0x1e5501(0x218)](_0x50f83e['zwFyf'](_0x50f83e[_0x1e5501(0x264)],_0x258ce6));}else _0xe826='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0xaa35fc=path['join'](_0x1139b0[_0x1e5501(0x24a)]?path[_0x1e5501(0x1e7)](_0x1139b0['path']):process[_0x1e5501(0x233)](),_0x258ce6);let _0x2cfc45=_0x1139b0[_0x1e5501(0x24a)]?_0x1139b0[_0x1e5501(0x24a)]:'';_0x2cfc45=_0x50f83e['JKdKC'](_0x2cfc45['length'],0x0)?path['resolve'](_0x2cfc45):'',process[_0x1e5501(0x263)]['USER_CONFIG_DETAILS_PATH']=_0x2cfc45;const _0x485a7f=helper[_0x1e5501(0x1da)](_0x5eaccf[_0x1e5501(0x232)]);_0x485a7f&&(_0xe826=_0x50f83e[_0x1e5501(0x1d4)](_0x1e5501(0x23c)+_0x485a7f+_0x1e5501(0x269),_0xe826));helper[_0x1e5501(0x1df)]({},_0x21ee4c),fs[_0x1e5501(0x1de)](_0xaa35fc,_0xe826),PerformanceTester['end'](PerformanceEvents[_0x1e5501(0x1f7)]);const _0xe83a1=_0x50f83e['SgBqY'](spawn,_0x50f83e['IUTME'],[_0x50f83e[_0x1e5501(0x1e0)],_0x50f83e['rlnnc'],_0x50f83e[_0x1e5501(0x266)],_0xaa35fc,..._0x21ee4c['slice'](0x2)],{'shell':_0x50f83e[_0x1e5501(0x204)](process[_0x1e5501(0x212)],_0x50f83e[_0x1e5501(0x1dc)]),'stdio':_0x50f83e['BJPvT'],'cwd':process['cwd'](),'env':Object[_0x1e5501(0x238)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x1e5501(0x220)](_0x127ef6),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5eaccf[_0x1e5501(0x232)][_0x1e5501(0x216)][_0x1e5501(0x24e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5eaccf[_0x1e5501(0x232)][_0x1e5501(0x216)][_0x1e5501(0x247)],'BROWSERSTACK_LOG_LEVEL':_0x5eaccf[_0x1e5501(0x232)][_0x1e5501(0x21e)]})}),_0x39653a=()=>{const _0x37a008=_0x1e5501;try{const _0x2e7df8=path[_0x37a008(0x200)](helper['homedir'](),_0x50f83e[_0x37a008(0x260)],_0x50f83e[_0x37a008(0x241)]);if(fs[_0x37a008(0x242)](_0x2e7df8)){let _0x204f2e=fs[_0x37a008(0x273)](_0x2e7df8);_0x204f2e=JSON[_0x37a008(0x26e)](_0x204f2e),_0x5eaccf[_0x37a008(0x1f6)]=_0x204f2e,fs['unlinkSync'](_0x2e7df8);}}catch(_0xbefaf1){logger[_0x37a008(0x218)](_0x50f83e[_0x37a008(0x211)](_0x50f83e[_0x37a008(0x26a)],_0xbefaf1));}};_0xe83a1['on'](_0x50f83e['sISJv'],async _0x5d155a=>{const _0x16356c=_0x1e5501,_0x1ab146={};_0x1ab146[_0x16356c(0x1fc)]=_0x18fc24[_0x16356c(0x227)];const _0x49d434=_0x1ab146;try{PerformanceTester[_0x16356c(0x1cb)](PerformanceEvents['SDK_CLEANUP']),_0x18fc24[_0x16356c(0x210)](_0x39653a),await TestHubHandler['stop'](),await BrowserstackCLI[_0x16356c(0x214)]()['stop'](),TestDetails['shutdown'](),_0x18fc24['jlmNU'](printBuildLink),await utilities[_0x16356c(0x1ca)](_0x5eaccf),process[_0x16356c(0x231)]=_0x5d155a,logger['debug'](_0x16356c(0x215)+_0x5d155a),logger[_0x16356c(0x208)](_0x16356c(0x22b)+_0xaa35fc),fs[_0x16356c(0x1d3)](_0xaa35fc);fs[_0x16356c(0x242)](_0x3ec4f5)&&(logger[_0x16356c(0x218)](_0x16356c(0x22b)+_0x3ec4f5),fs['unlinkSync'](_0x3ec4f5));const _0x442ffd=fs[_0x16356c(0x1ec)](path['join'](helper[_0x16356c(0x20c)](),_0x18fc24[_0x16356c(0x227)]))['filter'](_0x8bdff5=>_0x8bdff5[_0x16356c(0x25c)](_0x16356c(0x1e1)));_0x442ffd[_0x16356c(0x20d)](_0x3ca2a3=>{const _0x135b14=_0x16356c;fs['unlinkSync'](path[_0x135b14(0x200)](helper['homedir'](),_0x49d434[_0x135b14(0x1fc)],_0x3ca2a3));});}catch(_0x37b7c3){logger[_0x16356c(0x218)](_0x18fc24[_0x16356c(0x1f5)](_0x18fc24[_0x16356c(0x1c8)],_0x37b7c3));}});})();}module[a38_0x4d233(0x23a)]=run;function a38_0x419e(){const _0x42382e=['jwJMl','CwcyU','BrowserStack\x20config\x20file\x20not\x20found.','amBjC','cLyOZ','ogRge','PACKAGE_TYPE','qYfrf','startsWith','length','splice','Error\x20in\x20deleting\x20playwright\x20results','zPqaD','FoMxL','./accessibility-helper','env','KfRKA','../../helpers/logger','tnDlQ','inherit','split','\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();','QsLpz','isFalse','cTgxE','--disable-browserstack-automation','parse','test','937370GcJACs','wQryN','concat','readFileSync','satXL','ozYIs','LXtuY','finalExecution','start','../../helpers/utilities','lLdAk','slice','isUndefined','--config=','74417QhmwUb','MODULE','unlinkSync','ohZex','util','launchBuild','6267674mJJTHc','Error\x20in\x20closing\x20playwright','.browserstack','getProxyUrl','automation','wzGaj','SDK_POST_INITIALIZE','writeFileSync','filterBrowserstackArgs','xQYVG','trace_','nestedKeyValue','map','../../helpers/testhub/testhubHandler','--config','4EprhiL','dirname','win32','isTypescriptProject','zzrcI','playwright-browserstack-sdk.config.js','readdirSync','IAQtu','2532836icFFwL','uABeL','Updated\x20config\x20file\x20name\x20to\x20-\x20','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','true','getPackageType','isRunning','YpIxC','errorMessage','SDK_SETUP','../../helpers/performance/constants','accessibilityOptions','6560BAppFY','BROWSERSTACK_RERUN_TESTS','DuhnS','JSpCh','PLAYWRIGHT','findIndex','join','get','./reporter/test-details','ebqnV','DgSYu','cliConfig','qjrws','../v2/browserstackCLI','info','isTrue','bootstrap','6497652JJVrlV','homedir','forEach','../../helpers/test-observability/constants','26253zHosUk','jlmNU','zIZYg','platform','push','getInstance','Playwright\x20process\x20exited\x20with\x20code\x20','testContextOptions','trim','debug','Error\x20in\x20getting\x20funnel\x20data\x20results','UrWOh','child_process','resolve','false','logLevel','npx','getConfigPath','apply','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TEST_OBSERVABILITY','playwright-browserstack-sdk.config.cjs','pw_result.json','stringify','musax','resolvedConfigFile','--disable-test-observability','4678605XlaKvG','Deleting\x20','browserstackSetupConfig.json','getConfig','clearTempPWConfig','LlVsS','VCuiN','exitCode','config','cwd','../../helpers/performance/performance-tester','initialize','kmHGo','venfa','assign','has','exports','BROWSERSTACK_AUTOMATION','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','testObservability','measureWrapper','./reporter/pwUtils','--grep','NTnsh','existsSync','OJAxz','cOoLA','accessibility','requirePWModule','skipSessionName','../../helpers/test-observability/utils','browserstackAutomation','path','8JlOGWw','setFrameworkDetail','close','skipSessionStatus','setBrowserstackConfig','rDQBO','winstonLogger','bqpgt','BROWSERSTACK_TEST_ACCESSIBILITY_YML'];a38_0x419e=function(){return _0x42382e;};return a38_0x419e();}
@@ -1 +1 @@
1
- function a39_0x4a77(){const _0x20bd43=['3819220reemBk','apply','1410JeIaGC','child_process','XggUW','Path\x20','PLAYWRIGHT','env','Not\x20able\x20to\x20import\x20globalSetup','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','368806KlZKUb','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','compareVersions','Call\x20to\x20child\x20fork\x20with\x20args\x20','464TvzaEw','Running\x20existing\x20global\x20setup','exports','fork','debug','bUhgb','1.33.0','1601090GQMzBQ','config','XsXzo','toString','function','83797YGBGsR','aoXyi','156CoIHfw','AXdzy','./mock-process.js','lVoMd','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','\x20is\x20not\x20found','BTywl','util','../../helpers/test-observability/utils','631710AShwKq','includes','dxiku','cYmuY','../../helpers/logger','resolve','isHandlePWErrorSet','uKalg','../../helpers/test-observability/constants','./patches','22357701ANwvse'];a39_0x4a77=function(){return _0x20bd43;};return a39_0x4a77();}const a39_0x463639=a39_0x4388;(function(_0x894708,_0x222f65){const _0x57dc97=a39_0x4388,_0x2a0217=_0x894708();while(!![]){try{const _0x51195d=parseInt(_0x57dc97(0x1f9))/0x1+-parseInt(_0x57dc97(0x204))/0x2+parseInt(_0x57dc97(0x214))/0x3+-parseInt(_0x57dc97(0x1ef))/0x4+-parseInt(_0x57dc97(0x1f1))/0x5*(-parseInt(_0x57dc97(0x20b))/0x6)+parseInt(_0x57dc97(0x209))/0x7*(-parseInt(_0x57dc97(0x1fd))/0x8)+parseInt(_0x57dc97(0x1ee))/0x9;if(_0x51195d===_0x222f65)break;else _0x2a0217['push'](_0x2a0217['shift']());}catch(_0x6968b7){_0x2a0217['push'](_0x2a0217['shift']());}}}(a39_0x4a77,0x97aad));function a39_0x4388(_0x4ad345,_0xe5418e){const _0x4a77e1=a39_0x4a77();return a39_0x4388=function(_0x438809,_0x287ee7){_0x438809=_0x438809-0x1ea;let _0xa0f030=_0x4a77e1[_0x438809];return _0xa0f030;},a39_0x4388(_0x4ad345,_0xe5418e);}const util=require(a39_0x463639(0x212)),child_process=require(a39_0x463639(0x1f2)),{FRAMEWORKS}=require(a39_0x463639(0x1ec)),{getFrameworkVersion,debug}=require(a39_0x463639(0x213)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a39_0x463639(0x1ed)),logger=require(a39_0x463639(0x218))['winstonLogger'];module[a39_0x463639(0x1ff)]=async function(_0x196aac){const _0x466e13=a39_0x463639,_0x27b924={'bUhgb':function(_0x4cd4f7,_0xc274e2){return _0x4cd4f7(_0xc274e2);},'XggUW':function(_0xfb0785){return _0xfb0785();},'uKalg':_0x466e13(0x20d),'AXdzy':function(_0xc8b91d){return _0xc8b91d();},'BTywl':function(_0x1c269e){return _0x1c269e();},'XsXzo':_0x466e13(0x1fe),'dxiku':function(_0x3acfca){return _0x3acfca();},'yfMsc':function(_0x5084b3,_0x6c17b5){return _0x5084b3>=_0x6c17b5;},'ZdusJ':_0x466e13(0x203),'aoXyi':function(_0x380134,_0x3c2585,_0x137626){return _0x380134(_0x3c2585,_0x137626);},'lVoMd':function(_0x5b214d,_0x375701){return _0x5b214d!==_0x375701;},'seJCq':_0x466e13(0x208),'cYmuY':_0x466e13(0x1f7)},_0x4c060a=child_process['fork'];if(helper[_0x466e13(0x1ea)]())try{_0x27b924[_0x466e13(0x211)](mockIsWorkerRedundant);}catch(_0x428441){logger[_0x466e13(0x201)](_0x466e13(0x1fa)+util['format'](_0x428441));}child_process[_0x466e13(0x200)]=function(){const _0x1c8dc8=_0x466e13;return _0x27b924[_0x1c8dc8(0x202)](debug,_0x1c8dc8(0x1fc)+arguments[0x0]),arguments[0x0][_0x1c8dc8(0x215)](_0x27b924[_0x1c8dc8(0x1f3)](getForkProcessPath))?arguments[0x0]=require[_0x1c8dc8(0x219)](_0x27b924[_0x1c8dc8(0x1eb)]):logger['error'](_0x1c8dc8(0x1f4)+_0x27b924[_0x1c8dc8(0x20c)](getForkProcessPath)+_0x1c8dc8(0x210)),_0x4c060a[_0x1c8dc8(0x1f0)](null,arguments);};if(process[_0x466e13(0x1f6)][_0x466e13(0x20f)]){_0x27b924[_0x466e13(0x202)](debug,_0x27b924[_0x466e13(0x206)]);try{const {loadGlobalHook:_0x44fba8}=helper['requirePWModule'][_0x466e13(0x1f0)](null,_0x27b924[_0x466e13(0x216)](getLoadUtilsPath)),_0x49f347=_0x27b924[_0x466e13(0x202)](getFrameworkVersion,FRAMEWORKS[_0x466e13(0x1f5)]);let _0x47ad95=_0x196aac;if(_0x27b924['yfMsc'](helper[_0x466e13(0x1fb)](_0x49f347,_0x27b924['ZdusJ']),0x0)){const _0x2ffdf0={};_0x2ffdf0[_0x466e13(0x205)]=_0x196aac,_0x47ad95=_0x2ffdf0;}const _0x14912d=await _0x27b924[_0x466e13(0x20a)](_0x44fba8,_0x47ad95,process['env'][_0x466e13(0x20f)]);if(_0x27b924[_0x466e13(0x20e)](typeof _0x14912d,_0x27b924['seJCq']))throw new Error(_0x27b924[_0x466e13(0x217)]);return _0x14912d[_0x466e13(0x1f0)](null,arguments);}catch(_0x8e9d01){_0x27b924[_0x466e13(0x202)](debug,_0x466e13(0x1f8)+_0x8e9d01[_0x466e13(0x207)]());}}};
1
+ const a39_0x588156=a39_0x3244;(function(_0x171b65,_0x4db91e){const _0x4b5fe0=a39_0x3244,_0x3aaf29=_0x171b65();while(!![]){try{const _0x299100=parseInt(_0x4b5fe0(0x13e))/0x1*(parseInt(_0x4b5fe0(0x13b))/0x2)+-parseInt(_0x4b5fe0(0x13f))/0x3+parseInt(_0x4b5fe0(0x139))/0x4+parseInt(_0x4b5fe0(0x12b))/0x5*(-parseInt(_0x4b5fe0(0x149))/0x6)+-parseInt(_0x4b5fe0(0x12d))/0x7*(-parseInt(_0x4b5fe0(0x138))/0x8)+-parseInt(_0x4b5fe0(0x156))/0x9*(-parseInt(_0x4b5fe0(0x12c))/0xa)+parseInt(_0x4b5fe0(0x145))/0xb*(parseInt(_0x4b5fe0(0x155))/0xc);if(_0x299100===_0x4db91e)break;else _0x3aaf29['push'](_0x3aaf29['shift']());}catch(_0x181526){_0x3aaf29['push'](_0x3aaf29['shift']());}}}(a39_0x551f,0xa4abf));function a39_0x551f(){const _0x5c7868=['Running\x20existing\x20global\x20setup','5177MdxyHC','1676118NpgViC','includes','vuUqU','../../helpers/test-observability/constants','format','env','66RMpmYO','PvoLW','mquvH','ahCUH','6042234nQuKPG','./patches','../../helpers/logger','../../helpers/test-observability/utils','Not\x20able\x20to\x20import\x20globalSetup','requirePWModule','Path\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','QjSuA','fork','child_process','ZxTKy','1298988cFZnkL','250830upIdzW','./reporter/pwUtils','Call\x20to\x20child\x20fork\x20with\x20args\x20','apply','saQYq','../../helpers/helper','5cVvcWz','160ziyntt','4851427rPwzvD','ALrey','toString','1.33.0','PLAYWRIGHT','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','DYnqP','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','cNfco','config','xcgaQ','8LADiRF','46880fEgoOx','xeqvJ','170lLApsW','function'];a39_0x551f=function(){return _0x5c7868;};return a39_0x551f();}const util=require('util'),child_process=require(a39_0x588156(0x153)),{FRAMEWORKS}=require(a39_0x588156(0x142)),{getFrameworkVersion,debug}=require(a39_0x588156(0x14c)),helper=require(a39_0x588156(0x12a)),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x588156(0x157)),{mockIsWorkerRedundant}=require(a39_0x588156(0x14a)),logger=require(a39_0x588156(0x14b))['winstonLogger'];function a39_0x3244(_0x4fd9e0,_0x3a05a7){const _0x551fc5=a39_0x551f();return a39_0x3244=function(_0x324493,_0x379709){_0x324493=_0x324493-0x12a;let _0x184813=_0x551fc5[_0x324493];return _0x184813;},a39_0x3244(_0x4fd9e0,_0x3a05a7);}module['exports']=async function(_0x2a4570){const _0x39b569=a39_0x588156,_0x2cf891={'xeqvJ':function(_0x39a064,_0x88dc87){return _0x39a064(_0x88dc87);},'cNfco':function(_0xa1c693){return _0xa1c693();},'vxnrR':'./mock-process.js','QjSuA':function(_0x886476){return _0x886476();},'ZxTKy':function(_0x43272d,_0x2f6e40){return _0x43272d(_0x2f6e40);},'xcgaQ':_0x39b569(0x13d),'WmYeK':function(_0x184641){return _0x184641();},'ALrey':function(_0x1b8e9a,_0x2eec49){return _0x1b8e9a(_0x2eec49);},'ahCUH':function(_0x540028,_0x25cc50){return _0x540028>=_0x25cc50;},'vuUqU':_0x39b569(0x130),'DYnqP':function(_0x5b6ce6,_0x2a399c,_0x193ea8){return _0x5b6ce6(_0x2a399c,_0x193ea8);},'PvoLW':function(_0x2818da,_0x5bf15d){return _0x2818da!==_0x5bf15d;},'mquvH':_0x39b569(0x13c),'saQYq':_0x39b569(0x14d)},_0x2b1512=child_process[_0x39b569(0x152)];if(helper['isHandlePWErrorSet']())try{_0x2cf891[_0x39b569(0x135)](mockIsWorkerRedundant);}catch(_0x167808){logger['debug'](_0x39b569(0x132)+util[_0x39b569(0x143)](_0x167808));}child_process[_0x39b569(0x152)]=function(){const _0x380d0a=_0x39b569;return _0x2cf891[_0x380d0a(0x13a)](debug,_0x380d0a(0x158)+arguments[0x0]),arguments[0x0][_0x380d0a(0x140)](_0x2cf891[_0x380d0a(0x135)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x2cf891['vxnrR']):logger['error'](_0x380d0a(0x14f)+_0x2cf891[_0x380d0a(0x151)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x2b1512[_0x380d0a(0x159)](null,arguments);};if(process[_0x39b569(0x144)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x2cf891[_0x39b569(0x154)](debug,_0x2cf891[_0x39b569(0x137)]);try{const {loadGlobalHook:_0x3465a2}=helper[_0x39b569(0x14e)][_0x39b569(0x159)](null,_0x2cf891['WmYeK'](getLoadUtilsPath)),_0x431ffe=_0x2cf891[_0x39b569(0x12e)](getFrameworkVersion,FRAMEWORKS[_0x39b569(0x131)]);let _0x36ebe8=_0x2a4570;if(_0x2cf891[_0x39b569(0x148)](helper['compareVersions'](_0x431ffe,_0x2cf891[_0x39b569(0x141)]),0x0)){const _0x44c0ed={};_0x44c0ed[_0x39b569(0x136)]=_0x2a4570,_0x36ebe8=_0x44c0ed;}const _0x2fd0ed=await _0x2cf891[_0x39b569(0x133)](_0x3465a2,_0x36ebe8,process['env'][_0x39b569(0x134)]);if(_0x2cf891[_0x39b569(0x146)](typeof _0x2fd0ed,_0x2cf891[_0x39b569(0x147)]))throw new Error(_0x2cf891[_0x39b569(0x15a)]);return _0x2fd0ed[_0x39b569(0x159)](null,arguments);}catch(_0x226ba5){_0x2cf891[_0x39b569(0x154)](debug,_0x39b569(0x150)+_0x226ba5[_0x39b569(0x12f)]());}}};