browserstack-node-sdk 1.40.8 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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_0x3cfb1f=a35_0x5efe;(function(_0x319726,_0x384333){const _0x1431d6=a35_0x5efe,_0x4bb519=_0x319726();while(!![]){try{const _0x26987e=parseInt(_0x1431d6(0x1a1))/0x1*(parseInt(_0x1431d6(0x1c7))/0x2)+parseInt(_0x1431d6(0x1bf))/0x3+-parseInt(_0x1431d6(0x1ea))/0x4+parseInt(_0x1431d6(0x180))/0x5+parseInt(_0x1431d6(0x1a0))/0x6*(parseInt(_0x1431d6(0x1f0))/0x7)+-parseInt(_0x1431d6(0x1eb))/0x8*(-parseInt(_0x1431d6(0x1e5))/0x9)+-parseInt(_0x1431d6(0x1d0))/0xa*(parseInt(_0x1431d6(0x190))/0xb);if(_0x26987e===_0x384333)break;else _0x4bb519['push'](_0x4bb519['shift']());}catch(_0x49968c){_0x4bb519['push'](_0x4bb519['shift']());}}}(a35_0x2cc7,0x9dce5));const util=require(a35_0x3cfb1f(0x1a8)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a35_0x3cfb1f(0x18d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a35_0x3cfb1f(0x1d6)),{percyAutoCapture}=require(a35_0x3cfb1f(0x185)),{sendPlatformDetails}=require(a35_0x3cfb1f(0x202)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x3cfb1f(0x1e3)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x3cfb1f(0x1a3)),scripts=require(a35_0x3cfb1f(0x1fc)),globals=require(a35_0x3cfb1f(0x1bd)),logger=require(a35_0x3cfb1f(0x1af))[a35_0x3cfb1f(0x17d)],{shouldProcessEventForTesthub}=require(a35_0x3cfb1f(0x1db)),testHubConstants=require(a35_0x3cfb1f(0x1d9));exports[a35_0x3cfb1f(0x192)]={'beforeAll'(){const _0x32fa6d=a35_0x3cfb1f,_0x4d1af1={'EQxxF':function(_0x733188,_0x123e73,_0x5ea141,_0x27057a){return _0x733188(_0x123e73,_0x5ea141,_0x27057a);},'tGVAP':_0x32fa6d(0x1b9),'DSKOF':_0x32fa6d(0x1c2),'KjFFk':function(_0x4c2fa1,_0x4f3cc4,_0xfebcf7){return _0x4c2fa1(_0x4f3cc4,_0xfebcf7);},'PhOhj':_0x32fa6d(0x1bb),'vfmlX':function(_0x1efac1){return _0x1efac1();},'alNSF':function(_0x401aa1,_0xa8e534,_0x2b6c3d){return _0x401aa1(_0xa8e534,_0x2b6c3d);},'mnCBy':function(_0x26a689,_0xc354c8,_0x214381){return _0x26a689(_0xc354c8,_0x214381);},'NpNuq':_0x32fa6d(0x1a6),'VYMSn':_0x32fa6d(0x1b5)};PerformanceTester['startMonitoring']();const _0x4a2a35='browserstack internal helper hook';PerformanceTester[_0x32fa6d(0x1ca)](PerformanceSdkEvents[_0x32fa6d(0x18a)],()=>{const _0x21de22=_0x32fa6d;global['__error_messages__']=[],global[_0x21de22(0x1dc)]=![],global[_0x21de22(0x1fb)]=async()=>{const _0x556da9=_0x21de22;let _0xa6af05=![];try{await global[_0x556da9(0x1ba)][0x0][_0x556da9(0x183)],_0xa6af05=!![],global[_0x556da9(0x1dc)]?await _0x4d1af1[_0x556da9(0x16b)](markSessionStatus,global[_0x556da9(0x1ba)][0x0],_0x4d1af1[_0x556da9(0x16d)],global[_0x556da9(0x171)][_0x556da9(0x1d8)](_0x4d1af1['DSKOF'])):await _0x4d1af1[_0x556da9(0x199)](markSessionStatus,global[_0x556da9(0x1ba)][0x0],_0x4d1af1[_0x556da9(0x1df)]);}catch(_0x5ec796){logger[_0x556da9(0x174)](_0x556da9(0x1d4)+_0x5ec796);}global['__error_messages__']=[],global[_0x556da9(0x1dc)]=![];if(_0xa6af05)try{try{_0x4d1af1['vfmlX'](shouldProcessEventForTesthub)&&(global[_0x556da9(0x1ba)][0x0]&&await _0x4d1af1['alNSF'](sendPlatformDetails,global[_0x556da9(0x1ba)][0x0],this['currentTest']?this['currentTest'][_0x556da9(0x1ae)]:null));}catch(_0x31f35f){logger[_0x556da9(0x174)](_0x556da9(0x18f)+_0x31f35f);}await global['__drivers'][0x0]['initQuit']();}catch(_0x4da18b){logger['debug'](_0x556da9(0x184)+_0x4da18b);}};},{'platform':_0x4d1af1[_0x32fa6d(0x1a4)](nestedKeyValue,global['__platformCaps'],[_0x4d1af1['NpNuq']]),'hookType':_0x4d1af1['VYMSn']})();},'beforeEach'(_0x1b8b8a){const _0xa1eef1=a35_0x3cfb1f,_0xd9958b={'ZqJOm':function(_0x526906,_0x4e1211){return _0x526906>_0x4e1211;},'rOJIi':function(_0x2d34b8,_0x508439){return _0x2d34b8>_0x508439;},'fABEk':_0xa1eef1(0x1fe),'stFxv':function(_0x4f3c8b,_0x54abf2,_0x52b954){return _0x4f3c8b(_0x54abf2,_0x52b954);},'tutpg':_0xa1eef1(0x193),'JNCsO':function(_0x24524e){return _0x24524e();},'eqcMX':function(_0x4df70a,_0x4c65aa){return _0x4df70a>_0x4c65aa;},'ucYjW':'isAccessibilityPlatform','nflsz':function(_0x218283,_0x143ed4){return _0x218283===_0x143ed4;},'zDzBo':_0xa1eef1(0x175),'roePX':_0xa1eef1(0x1d7),'PtXHA':_0xa1eef1(0x200),'uYolF':_0xa1eef1(0x1a7),'tTRgQ':function(_0x4be7a9){return _0x4be7a9();},'HYWgB':_0xa1eef1(0x169),'gNDAM':_0xa1eef1(0x1a6),'FimyM':_0xa1eef1(0x19f)};globals[_0xa1eef1(0x186)](_0xd9958b[_0xa1eef1(0x1a9)],this[_0xa1eef1(0x1b8)][_0xa1eef1(0x1d5)]()[_0xa1eef1(0x1d8)](_0xd9958b[_0xa1eef1(0x1e4)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x461095=_0xa1eef1,_0x515629={'rKjWp':function(_0x189aff){const _0x4e69b7=a35_0x5efe;return _0xd9958b[_0x4e69b7(0x1e9)](_0x189aff);}},_0x1b08f8='browserstack internal helper hook';new Promise(async _0x281f17=>{const _0x51c469=a35_0x5efe;let _0x36afcf=!![];try{_0xd9958b[_0x51c469(0x19b)](global['__drivers'][_0x51c469(0x1ef)],0x1)&&(await global[_0x51c469(0x1fb)](),global[_0x51c469(0x1ba)]['shift']()),_0xd9958b[_0x51c469(0x1ed)](global[_0x51c469(0x1ba)][0x0][_0x51c469(0x172)],0x0)&&(_0x36afcf=![],await global[_0x51c469(0x1fb)]());}catch(_0x1241e9){logger[_0x51c469(0x174)](_0x51c469(0x184)+_0x1241e9);}try{Array['isArray'](global[_0x51c469(0x1ba)])&&global[_0x51c469(0x1ba)][0x0]&&(global[_0x51c469(0x1ba)][0x0]['browserstackSessionName']=this['currentTest'][_0x51c469(0x1d5)]()['join'](_0xd9958b[_0x51c469(0x1e4)])),global[_0x51c469(0x176)]=this[_0x51c469(0x1b8)][_0x51c469(0x1d5)]()[_0x51c469(0x1d8)](_0xd9958b['fABEk']);}catch(_0x5c984e){logger[_0x51c469(0x174)](_0x51c469(0x19a)+_0x5c984e);}this['currentTest'][_0x51c469(0x19d)]=_0xd9958b[_0x51c469(0x1c8)](shouldScanTestForAccessibility,this[_0x51c469(0x1b8)][_0x51c469(0x1d5)](),!![]),globals['setGlobal'](_0xd9958b['tutpg'],this[_0x51c469(0x1b8)][_0x51c469(0x19d)]),this['currentTest'][_0x51c469(0x163)]=!![];if(_0xd9958b[_0x51c469(0x188)](isAccessibilityAutomationSession)&&_0x36afcf&&Array['isArray'](global[_0x51c469(0x1ba)])&&_0xd9958b[_0x51c469(0x1e2)](global[_0x51c469(0x1ba)]['length'],0x0)&&globals[_0x51c469(0x167)](_0xd9958b[_0x51c469(0x203)]))try{const _0x1c986b=await global[_0x51c469(0x1ba)][0x0]['session_'];if(_0x1c986b){let _0x2853cc=!![];const _0x55a435=await global['__drivers'][0x0][_0x51c469(0x1c9)]();let _0x1f7321;try{_0x1f7321=new URL(_0x55a435);}catch(_0x3c9afd){_0x2853cc=![];}_0x2853cc=_0xd9958b[_0x51c469(0x1f9)](_0x1f7321['protocol'],_0xd9958b['zDzBo'])||_0xd9958b['nflsz'](_0x1f7321[_0x51c469(0x19c)],_0xd9958b[_0x51c469(0x1cc)]),_0x2853cc&&(this[_0x51c469(0x1b8)]['shouldScanTestForAccessibility']&&logger[_0x51c469(0x178)](_0xd9958b[_0x51c469(0x162)])),this[_0x51c469(0x1b8)]['accessibilityScanStarted']=this[_0x51c469(0x1b8)][_0x51c469(0x19d)],this[_0x51c469(0x1b8)][_0x51c469(0x19d)]&&logger['info'](_0xd9958b['uYolF']);}}catch(_0x2d6596){logger[_0x51c469(0x1c0)](_0x51c469(0x177)+util[_0x51c469(0x1f6)](_0x2d6596));}_0xd9958b[_0x51c469(0x188)](_0x281f17);})[_0x461095(0x1ac)](()=>{const _0x45906e=_0x461095;_0x515629[_0x45906e(0x1c5)](_0x1b8b8a);});},{'platform':_0xd9958b[_0xa1eef1(0x1c8)](nestedKeyValue,global[_0xa1eef1(0x208)],[_0xd9958b[_0xa1eef1(0x182)]]),'hookType':_0xd9958b['FimyM']})();},'afterEach'(_0x214e66){const _0x3b9a75=a35_0x3cfb1f,_0xcc5651={'PaBSZ':function(_0x1fd4ae,_0x33c6b5){return _0x1fd4ae>_0x33c6b5;},'oqqRZ':function(_0x3903b9,_0x17ef9b){return _0x3903b9===_0x17ef9b;},'QRgHH':_0x3b9a75(0x1be),'dcJRr':_0x3b9a75(0x181),'FvACA':function(_0x9ec4b2,_0x4ae5c2,_0x59e7c0,_0x1b1ac3){return _0x9ec4b2(_0x4ae5c2,_0x59e7c0,_0x1b1ac3);},'acSxx':_0x3b9a75(0x1ff),'sqMeN':_0x3b9a75(0x193),'VCzeC':_0x3b9a75(0x19e),'ukpvK':_0x3b9a75(0x1ec),'lqRSS':_0x3b9a75(0x1b1),'kAtyF':_0x3b9a75(0x17f),'oLWcr':function(_0x1dd68f){return _0x1dd68f();},'pYewT':function(_0x1d11e5,_0x2ec430,_0x3ee223){return _0x1d11e5(_0x2ec430,_0x3ee223);},'RBIKq':function(_0x312f55){return _0x312f55();},'CwtJh':_0x3b9a75(0x174),'UhoqT':function(_0xa99bac){return _0xa99bac();},'JEUed':function(_0x565f24){return _0x565f24();},'LkjcS':'\x20-\x20','WuxSS':function(_0x285931,_0x4961ee){return _0x285931!==_0x4961ee;},'ySGJH':_0x3b9a75(0x1bb),'cKeav':function(_0xc142ee,_0x4fbe8e){return _0xc142ee+_0x4fbe8e;},'gLRXV':_0x3b9a75(0x16c),'VszwC':'error','leRTz':_0x3b9a75(0x1c3),'wWMOA':_0x3b9a75(0x178),'hVROn':_0x3b9a75(0x1da),'yOzEE':'index','kmnbe':_0x3b9a75(0x17c)},_0x44223c='browserstack internal helper hook';this[_0x3b9a75(0x17b)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xcc5651[_0x3b9a75(0x1d2)]]),global['sessionName']=this[_0x3b9a75(0x1b8)]['titlePath']()[_0x3b9a75(0x1d8)](_0xcc5651[_0x3b9a75(0x18e)]),PerformanceTester[_0x3b9a75(0x1ca)](PerformanceSdkEvents[_0x3b9a75(0x18a)],()=>{const _0x24dd15=_0x3b9a75,_0x3878e4={'joBnB':_0xcc5651[_0x24dd15(0x18e)],'UGNyS':function(_0x512291,_0x2296e8){return _0xcc5651['WuxSS'](_0x512291,_0x2296e8);},'PObQV':_0xcc5651[_0x24dd15(0x1f1)],'VTwzX':function(_0x403931,_0x298694,_0x2c7d04){const _0x4db126=_0x24dd15;return _0xcc5651[_0x4db126(0x1de)](_0x403931,_0x298694,_0x2c7d04);},'ygFqB':function(_0x36a2cd,_0x4fb000){const _0x3e52c2=_0x24dd15;return _0xcc5651[_0x3e52c2(0x1fd)](_0x36a2cd,_0x4fb000);},'mFitb':_0xcc5651[_0x24dd15(0x206)],'nHZHX':_0xcc5651[_0x24dd15(0x207)],'Hxczi':_0xcc5651[_0x24dd15(0x1e0)],'aQsBX':_0xcc5651[_0x24dd15(0x1f8)]},_0x137677=async(_0x4c8ffd,_0x4053ea)=>{const _0x1cba6b=_0x24dd15;await global[_0x1cba6b(0x1ba)][0x0][_0x1cba6b(0x1e7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x4c8ffd+_0x1cba6b(0x18c)+_0x4053ea+'\x22}}');};new Promise(async _0x4e9e67=>{const _0x581963=_0x24dd15;try{_0xcc5651[_0x581963(0x1fa)](global['__drivers']['length'],0x1)&&(await global[_0x581963(0x1fb)](),global['__drivers'][_0x581963(0x179)](),global[_0x581963(0x171)]=[],global[_0x581963(0x1dc)]=![]);try{if(global['percy']&&_0xcc5651['oqqRZ'](global['percyCaptureMode'],_0xcc5651[_0x581963(0x1f4)])&&global[_0x581963(0x1ba)][0x0]){const _0x561c81=_0xcc5651['PaBSZ'](global[_0x581963(0x1f5)]['length'],0x0)?!!global[_0x581963(0x1f5)][0x0][_0x581963(0x1bc)]||!!global[_0x581963(0x1f5)][0x0][_0xcc5651[_0x581963(0x1f2)]]:![],_0x2e6a7e={};_0x2e6a7e[_0x581963(0x1bc)]=_0x561c81,await _0xcc5651[_0x581963(0x164)](percyAutoCapture,global[_0x581963(0x1ba)][0x0],_0xcc5651['QRgHH'],_0x2e6a7e);}}catch(_0x34f51e){logger['debug'](_0x581963(0x1f3)+_0x34f51e);}!global[_0x581963(0x1e6)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x581963(0x1d1)],async()=>{const _0x3f1ee0=_0x581963;await global[_0x3f1ee0(0x1ba)][0x0][_0x3f1ee0(0x1e7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3f1ee0(0x198)](this[_0x3f1ee0(0x1b8)][_0x3f1ee0(0x1d5)]()[_0x3f1ee0(0x1d8)](_0x3878e4[_0x3f1ee0(0x170)]))+'}}');})(),global[_0x581963(0x1ba)][0x0][_0x581963(0x16f)]=!![]),await PerformanceTester[_0x581963(0x1ca)](PerformanceAutEvents[_0x581963(0x168)],async()=>{const _0xa5c395=_0x581963,_0x41af80=_0x3878e4[_0xa5c395(0x1b7)](this['currentTest'][_0xa5c395(0x1e8)],_0x3878e4[_0xa5c395(0x173)]);_0x41af80?(global[_0xa5c395(0x1dc)]=!![],global[_0xa5c395(0x171)][_0xa5c395(0x17a)](this[_0xa5c395(0x1b8)]['err']['message']),await _0x3878e4[_0xa5c395(0x189)](_0x137677,JSON[_0xa5c395(0x198)](_0x3878e4['ygFqB'](_0x3878e4[_0xa5c395(0x1ce)],this[_0xa5c395(0x1b8)][_0xa5c395(0x1cb)]['message'])),_0x3878e4[_0xa5c395(0x1ad)])):await _0x3878e4[_0xa5c395(0x189)](_0x137677,JSON['stringify'](_0x3878e4[_0xa5c395(0x165)]),_0x3878e4['aQsBX']);})();}catch(_0x55f158){logger[_0x581963(0x174)](_0x581963(0x1c4)+_0x55f158);}try{if(this[_0x581963(0x1b8)][_0x581963(0x163)]&&globals[_0x581963(0x167)](_0xcc5651[_0x581963(0x1b3)])&&globals[_0x581963(0x167)](_0xcc5651[_0x581963(0x1b0)])){logger[_0x581963(0x178)](_0xcc5651[_0x581963(0x201)]);const _0x5a2ce8={};_0x5a2ce8[_0x581963(0x1e1)]=this[_0x581963(0x1b8)]['testAnalyticsId'],_0x5a2ce8[_0x581963(0x196)]=process['env'][testHubConstants[_0x581963(0x197)][_0x581963(0x1f7)]],_0x5a2ce8[_0x581963(0x191)]=process[_0x581963(0x204)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x4bfa0e=_0x5a2ce8;logger['debug'](_0x581963(0x1ab)+JSON[_0x581963(0x198)](_0x4bfa0e)),logger[_0x581963(0x174)](_0xcc5651['ukpvK']);const _0x4b8f0e={};_0x4b8f0e[_0x581963(0x195)]=_0xcc5651[_0x581963(0x1d3)],await PerformanceTester[_0x581963(0x1ca)](PerformanceA11yEvents[_0x581963(0x1a5)],async()=>{const _0xa48b86=_0x581963;logger[_0xa48b86(0x174)](util[_0xa48b86(0x1f6)](await global[_0xa48b86(0x1ba)][0x0]['executeAsyncScript'](scripts[_0xa48b86(0x1a2)],{'method':global['browserstackSessionName']})));},_0x4b8f0e)(),await PerformanceTester[_0x581963(0x1ca)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x92e8a1=_0x581963;await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x92e8a1(0x1cd)],_0x4bfa0e);})(),logger[_0x581963(0x178)](_0xcc5651[_0x581963(0x1cf)]);}}catch(_0x15d24f){logger[_0x581963(0x1c0)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x581963(0x1b8)][_0x581963(0x1d5)]()+_0x581963(0x205),_0x15d24f);}try{try{if(_0xcc5651[_0x581963(0x1dd)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xcc5651['pYewT'](sendPlatformDetails,global[_0x581963(0x1ba)][0x0],this[_0x581963(0x1b8)]?this[_0x581963(0x1b8)]['testAnalyticsId']:null);if(_0xcc5651['RBIKq'](isBrowserstackInfra)){PerformanceTester[_0x581963(0x1c1)](PerformanceO11yEvents[_0x581963(0x1aa)]);const _0x7f16a=_0x581963(0x1b2)+Date['now']();await _0xcc5651[_0x581963(0x1de)](_0x137677,JSON[_0x581963(0x198)](_0x7f16a),_0xcc5651[_0x581963(0x1c6)]),PerformanceTester[_0x581963(0x194)](PerformanceO11yEvents[_0x581963(0x1aa)]);}}}catch(_0x4d9af8){logger[_0x581963(0x174)](_0x581963(0x187)+_0x4d9af8),PerformanceTester[_0x581963(0x194)](PerformanceO11yEvents['SYNC'],![],_0x4d9af8);}_0xcc5651[_0x581963(0x1fa)](global['__drivers'][0x0][_0x581963(0x172)],0x0)&&await global[_0x581963(0x1fb)]();}catch(_0x44fc20){logger[_0x581963(0x174)](_0x581963(0x184)+_0x44fc20);}_0xcc5651['UhoqT'](_0x4e9e67);})[_0x24dd15(0x1ac)](()=>{const _0x587d2e=_0x24dd15;_0xcc5651[_0x587d2e(0x16e)](_0x214e66);});},{'platform':_0xcc5651[_0x3b9a75(0x1de)](nestedKeyValue,global[_0x3b9a75(0x208)],[_0xcc5651['yOzEE']]),'hookType':_0xcc5651[_0x3b9a75(0x17e)]})();},'afterAll'(_0x4fa039){const _0x2a7535=a35_0x3cfb1f,_0x5db894={'LJHFl':function(_0x1f1e82){return _0x1f1e82();},'EehEA':function(_0x286d72){return _0x286d72();},'gXMRK':_0x2a7535(0x1da),'UTRKl':function(_0x2c8820,_0x41c055,_0x595350){return _0x2c8820(_0x41c055,_0x595350);},'jdjXT':_0x2a7535(0x1a6),'WZEgY':'afterAll'},_0x208d43='browserstack internal helper hook';this[_0x2a7535(0x17b)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5db894['gXMRK']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2a7535(0x18a)],()=>{const _0x412a59=_0x2a7535,_0x275a79={'dxqWD':function(_0x4b4233){const _0x5771fc=a35_0x5efe;return _0x5db894[_0x5771fc(0x18b)](_0x4b4233);}};new Promise(async _0x446293=>{const _0x4e7d6a=a35_0x5efe;await global[_0x4e7d6a(0x1fb)](),_0x275a79[_0x4e7d6a(0x166)](_0x446293);})['then']()[_0x412a59(0x1b6)](()=>{const _0x27e4e1=_0x412a59;_0x5db894[_0x27e4e1(0x16a)](_0x4fa039);});},{'platform':_0x5db894[_0x2a7535(0x1ee)](nestedKeyValue,global[_0x2a7535(0x208)],[_0x5db894['jdjXT']]),'hookType':_0x5db894[_0x2a7535(0x1b4)]})();}};function a35_0x5efe(_0x1affeb,_0x54b475){const _0x2cc716=a35_0x2cc7();return a35_0x5efe=function(_0x5efe64,_0x43b330){_0x5efe64=_0x5efe64-0x162;let _0x208d27=_0x2cc716[_0x5efe64];return _0x208d27;},a35_0x5efe(_0x1affeb,_0x54b475);}function a35_0x2cc7(){const _0x29a6c1=['SDK_HOOK','EehEA',',\x22level\x22:\x20\x22','../../helpers/accessibility-automation/helper','LkjcS','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','434709WKBgQi','thJwtToken','mochaHooks','bstackA11yShouldScan','end','command','thBuildUuid','ENV_VAR','stringify','KjFFk','Failed\x20to\x20store\x20session\x20name:\x20','ZqJOm','protocol','shouldScanTestForAccessibility','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','beforeEach','10554RrmCmf','24896nQATdo','performScan','../../helpers/performance/constants','mnCBy','PERFORM_SCAN','index','Automate\x20test\x20case\x20execution\x20has\x20started.','util','HYWgB','SYNC','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','then','nHZHX','testAnalyticsId','../../helpers/logger','sqMeN','afterTest','ObservabilitySync:','acSxx','WZEgY','beforeAll','finally','UGNyS','currentTest','failed','__drivers','passed','app','../../helpers/globals','testcase','1464984yoyfug','error','start','\x20|\x20','Passed','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','rKjWp','CwtJh','24HzjuWZ','stFxv','getCurrentUrl','measureWrapper','err','roePX','saveTestResults','mFitb','kAtyF','590HnjHuc','SESSION_NAME','hVROn','lqRSS','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','titlePath','../utils/constants','https:','join','../../helpers/testhub/constants','Mocha','../../helpers/testhub/utils','__sessionFailed','oLWcr','pYewT','PhOhj','leRTz','thTestRunUuid','eqcMX','../../helpers/helper','fABEk','7061589MeDzNP','__skipSessionName','executeScript','state','tTRgQ','262872adqnaL','8FEIIrK','Performing\x20scan\x20before\x20saving\x20results','rOJIi','UTRKl','length','763VGjMvv','ySGJH','dcJRr','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','QRgHH','capabilities','format','BROWSERSTACK_TESTHUB_UUID','wWMOA','nflsz','PaBSZ','driverCleanup','../../helpers/accessibility-automation/scripts','cKeav','\x20-\x20','isAccessibilityPlatform','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VCzeC','./test-observability/mochaUtils','ucYjW','env','.\x20Error\x20:','gLRXV','VszwC','__platformCaps','PtXHA','accessibilityScanStarted','FvACA','Hxczi','dxqWD','getGlobal','SESSION_STATUS','browserstackTestName','LJHFl','EQxxF','Failed:\x20','tGVAP','JEUed','sessionNameSet__','joBnB','__error_messages__','quitCount_','PObQV','debug','http:','browserstackSessionName','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','info','shift','push','timeout','afterEach','winstonLogger','kmnbe','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','6401400kfjboA','appium:app','gNDAM','session_','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/percy/utils','setGlobal','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','JNCsO','VTwzX'];a35_0x2cc7=function(){return _0x29a6c1;};return a35_0x2cc7();}
@@ -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';function a36_0x234e(_0x288f6e,_0x3f6bcb){const _0xadf035=a36_0xadf0();return a36_0x234e=function(_0x234eb8,_0x78a145){_0x234eb8=_0x234eb8-0xd9;let _0x52a091=_0xadf035[_0x234eb8];return _0x52a091;},a36_0x234e(_0x288f6e,_0x3f6bcb);}const a36_0x1115f0=a36_0x234e;(function(_0x33674e,_0x134297){const _0x2f313e=a36_0x234e,_0x13360c=_0x33674e();while(!![]){try{const _0x228725=parseInt(_0x2f313e(0xfa))/0x1*(parseInt(_0x2f313e(0xe9))/0x2)+-parseInt(_0x2f313e(0x10b))/0x3*(parseInt(_0x2f313e(0x102))/0x4)+parseInt(_0x2f313e(0x121))/0x5+-parseInt(_0x2f313e(0x104))/0x6+parseInt(_0x2f313e(0x109))/0x7+parseInt(_0x2f313e(0x11c))/0x8+parseInt(_0x2f313e(0xe3))/0x9;if(_0x228725===_0x134297)break;else _0x13360c['push'](_0x13360c['shift']());}catch(_0x2483ac){_0x13360c['push'](_0x13360c['shift']());}}}(a36_0xadf0,0x312f4));const fs=require('fs'),path=require(a36_0x1115f0(0xff)),{spawn}=require(a36_0x1115f0(0x103)),logger=require(a36_0x1115f0(0xf4))[a36_0x1115f0(0x110)],{default:BrowserStackSetup}=require(a36_0x1115f0(0xf7)),helper=require(a36_0x1115f0(0x11a)),constants=require(a36_0x1115f0(0xde)),getUserNightwatchConfigs=(_0x177801,_0x10b477)=>{const _0x3723d6=a36_0x1115f0,_0x148c9f={'tEnFn':_0x3723d6(0xe2),'RXvFq':_0x3723d6(0x114),'RetwX':function(_0x5b6615,_0x5046b1){return _0x5b6615(_0x5046b1);},'ZZuNl':_0x3723d6(0x100)};let _0x351452=null,_0x3f4bec={};const _0x2ea099=_0x10b477[_0x3723d6(0xe0)](_0x2d73d1=>_0x2d73d1===_0x3723d6(0x11d));if(!helper[_0x3723d6(0xed)](_0x177801['config'])&&fs[_0x3723d6(0xf0)](path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x177801[_0x3723d6(0x11b)])))_0x351452=path[_0x3723d6(0x10e)](process['cwd'](),_0x177801['config']),_0x10b477[_0x3723d6(0xee)](_0x2ea099,0x2);else{if(fs['existsSync'](path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x148c9f[_0x3723d6(0x116)])))_0x351452=path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x148c9f[_0x3723d6(0x116)]);else fs['existsSync'](path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x148c9f[_0x3723d6(0xe4)]))&&(_0x351452=path['join'](process[_0x3723d6(0xef)](),_0x148c9f['RXvFq']));}return _0x351452?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x351452),_0x3f4bec=_0x148c9f['RetwX'](require,_0x351452)):logger[_0x3723d6(0xf2)](_0x148c9f[_0x3723d6(0xfb)]),_0x3f4bec;},removeExistingEnvs=_0x31b95b=>{const _0x45ef8b=a36_0x1115f0,_0x2b6be5={};_0x2b6be5[_0x45ef8b(0x111)]=function(_0x242200,_0x163ca8){return _0x242200>_0x163ca8;};const _0x1623c4=_0x2b6be5;let _0x5ae757=_0x31b95b[_0x45ef8b(0xe0)](_0x4dd357=>_0x4dd357===_0x45ef8b(0xe8));_0x1623c4[_0x45ef8b(0x111)](_0x5ae757,-0x1)&&_0x31b95b[_0x45ef8b(0xee)](_0x5ae757,0x2),_0x5ae757=_0x31b95b[_0x45ef8b(0xe0)](_0x577b47=>_0x577b47==='-e'),_0x1623c4['RNunG'](_0x5ae757,-0x1)&&_0x31b95b['splice'](_0x5ae757,0x2);};function a36_0xadf0(){const _0x506684=['36082VaZNzK','platform','test_settings','split','isUndefined','splice','cwd','existsSync','useW3C','info','trim','../../helpers/logger','now','platforms','../../helpers/BrowserStackSetup','nightwatch','SmwSZ','17Skdyug','ZZuNl','OeJxY','dThgs','getPlatformName','path','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','selenium','76pFbnkh','child_process','1735920pTpOGk','modifyBrowserStackW3CCaps','DtYPV','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','nightwatch.cmd','2138374WWJbmU','tRdoI','58086QmvVOa','length','lAJkl','join','gQFSz','winstonLogger','RNunG','close','webdriver','nightwatch.json','FdMrI','tEnFn','ydalc','forEach','env','../../helpers/helper','config','387648WXTywW','--config','push','unlinkSync','mergeDeep','273310qsGmYZ','OWLRL','start_process','desiredCapabilities','map','host','../utils/constants','oiARf','findIndex','QWIEh','nightwatch.conf.js','1290249kLWGDD','RXvFq','test','writeFileSync','ATfQx','--env'];a36_0xadf0=function(){return _0x506684;};return a36_0xadf0();}function run(_0x27563e,_0x46157a,_0x2a5816){const _0x23fb11=a36_0x1115f0,_0x5407e8={'tRdoI':_0x23fb11(0xf8),'dThgs':function(_0x515283,_0x11ec11){return _0x515283+_0x11ec11;},'zrwJH':'test_settings','ydalc':function(_0x1d8586,_0x471263,_0x246c06){return _0x1d8586(_0x471263,_0x246c06);},'vRSgR':'hub.browserstack.com','SmwSZ':_0x23fb11(0x107),'DtYPV':function(_0x26faad,_0x41ec1c){return _0x26faad===_0x41ec1c;},'gQFSz':'nightwatch-browserstack.json','Yovip':function(_0xb43338,_0x279f65){return _0xb43338(_0x279f65);},'ATfQx':function(_0x284c79,_0xd56498,_0x48f78f,_0x168cad){return _0x284c79(_0xd56498,_0x48f78f,_0x168cad);},'OWLRL':_0x23fb11(0x108),'lAJkl':_0x23fb11(0x11d),'FdMrI':_0x23fb11(0xe8),'OeJxY':'inherit','QWIEh':_0x23fb11(0x112)};if(!_0x2a5816[_0x23fb11(0x11b)])return;const _0x29f094=_0x5407e8[_0x23fb11(0x117)](getUserNightwatchConfigs,_0x27563e,_0x46157a),_0x3e5e74={};_0x3e5e74[_0x23fb11(0xda)]=![];const _0x3af29f={};_0x3af29f[_0x23fb11(0xdd)]=_0x5407e8['vRSgR'],_0x3af29f['port']=0x1bb;const _0x4dc46e={};_0x4dc46e[_0x23fb11(0x113)]=_0x3e5e74,_0x4dc46e[_0x23fb11(0x101)]=_0x3af29f;const _0x88328f=_0x4dc46e;logger[_0x23fb11(0xf2)](_0x5407e8[_0x23fb11(0xf9)]);const _0x1c1e94={..._0x29f094},_0x269ed5=_0x1c1e94,_0x359b2b=helper[_0x23fb11(0xf1)](_0x2a5816[_0x23fb11(0x11b)]),_0x3ba1b3=[];_0x2a5816[_0x23fb11(0x11b)][_0x23fb11(0xf6)][_0x23fb11(0x118)]((_0x493a02,_0xd96db9)=>{const _0xc899d6=_0x23fb11;_0x359b2b?_0x3ba1b3[_0xc899d6(0x11e)](helper[_0xc899d6(0x105)](_0x2a5816[_0xc899d6(0x11b)],_0x5407e8[_0xc899d6(0x10a)],_0xd96db9)):_0x3ba1b3[_0xc899d6(0x11e)](helper['modifyBrowserStackCaps'](_0x2a5816['config'],_0x5407e8[_0xc899d6(0x10a)],_0xd96db9));});const _0x24e7b8={},_0x1a1d63=[];_0x27563e[_0x23fb11(0x119)]=_0x27563e['env']||_0x27563e['e'];const _0x3a7dfd=_0x27563e[_0x23fb11(0x119)]?_0x27563e[_0x23fb11(0x119)]['trim']()[_0x23fb11(0xec)](',')[_0x23fb11(0xdc)](_0x278f72=>_0x278f72[_0x23fb11(0xf3)]())['filter'](_0x27e908=>_0x27e908!==''):[''];_0x5407e8[_0x23fb11(0x106)](_0x3a7dfd[_0x23fb11(0x10c)],0x0)&&_0x3a7dfd[_0x23fb11(0x11e)]('');_0x3a7dfd['forEach'](_0x1e1746=>{const _0x3d2e20={'tnXol':function(_0x2f85c0,_0x1c9e46){const _0x22d5e7=a36_0x234e;return _0x5407e8[_0x22d5e7(0xfd)](_0x2f85c0,_0x1c9e46);},'oiARf':_0x5407e8['zrwJH']};_0x3ba1b3['forEach'](_0x3fb51a=>{const _0x401ebd=a36_0x234e;let _0x31fbd5=_0x3d2e20['tnXol'](helper[_0x401ebd(0xfe)](_0x3fb51a,'_'),'_'+Date[_0x401ebd(0xf5)]());_0x1e1746&&(_0x31fbd5+='_'+_0x1e1746);if(_0x1e1746&&(!_0x29f094[_0x3d2e20['oiARf']]||!_0x29f094[_0x3d2e20[_0x401ebd(0xdf)]][_0x1e1746]))return;const _0x54e3b0={..._0x88328f};_0x54e3b0[_0x401ebd(0xdb)]=_0x3fb51a;const _0x148e25=_0x54e3b0;_0x24e7b8[_0x31fbd5]=_0x1e1746?helper[_0x401ebd(0x120)](_0x29f094[_0x3d2e20[_0x401ebd(0xdf)]][_0x1e1746],_0x148e25):_0x148e25,_0x1a1d63[_0x401ebd(0x11e)](_0x31fbd5);});});!_0x269ed5[_0x23fb11(0xeb)]&&(_0x269ed5[_0x23fb11(0xeb)]={});_0x269ed5[_0x23fb11(0xeb)]={..._0x269ed5[_0x23fb11(0xeb)],..._0x24e7b8};const _0x20b63e=path[_0x23fb11(0x10e)](__dirname,_0x5407e8[_0x23fb11(0x10f)]);fs[_0x23fb11(0xe6)](_0x20b63e,JSON['stringify'](_0x269ed5)),_0x5407e8['Yovip'](removeExistingEnvs,_0x46157a);const _0x2472da=_0x5407e8[_0x23fb11(0xe7)](spawn,/^win/[_0x23fb11(0xe5)](process[_0x23fb11(0xea)])?_0x5407e8[_0x23fb11(0xd9)]:_0x5407e8[_0x23fb11(0x10a)],[_0x5407e8[_0x23fb11(0x10d)],_0x20b63e,..._0x46157a['slice'](0x1),_0x5407e8[_0x23fb11(0x115)],_0x1a1d63[_0x23fb11(0x10e)](',')],{'stdio':_0x5407e8[_0x23fb11(0xfc)]});_0x2472da['on'](_0x5407e8[_0x23fb11(0xe1)],async _0x3bf3be=>{const _0x14cfe9=_0x23fb11;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x3bf3be),logger[_0x14cfe9(0xf2)]('Deleting\x20'+_0x20b63e),fs[_0x14cfe9(0x11f)](_0x20b63e);});}module['exports']=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
+ function a37_0x21fd(){const _0x335a65=['browserName','includeIssueType','../../helpers/helper','browserstack.accessibility','YcSMh','accessibilityPlatform','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','stringify','26279830yUeUPv','kQLpt','playwright-chromium','../../helpers/accessibility-automation/helper','command','No\x20accessibility\x20results\x20were\x20found.','includes','2610492pUsifD','lflcp','11MpAFPT','qcKoW','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','hMHIH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','149766fBaKvT','name','accessibilityOptions.wcagVersion','util','getAccessibilityResultsSummary','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','HNCzP','browserStackEvaluate','env','bestPractice','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/scripts','latest','performScan','NYFXQ','Performing\x20scan\x20with\x20method:\x20','FtYSE','measureWrapper','SyMXU','deviceName','../../helpers/logger','zvogC','executeScript','WebDriver','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','VHmOl','XwQdS','mQePn','uOaBb','OqfLG','mtaQl','PERFORM_SCAN','BS_A11Y_JWT','format','needsReview','24jkKOfk','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','sEUwX','browser_version','7byZNul','qbbnJ','LxKKv','bstackSdkArgs','isNLO','tZikg','constructor','brNne','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Playwright','debug','workerInfo','\x20page:\x20','wcagVersion','NZXCu','KXGvl','ABPCi','connectOptions','evaluate','dpNZB','PsHDz','browserStackExecuteDriver','8202033EPYcxp','2438265lZPFAV','QlNOP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','platformValidation','dXmry','FlQsl','warn','wsEndpoint','(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','QDajX','error','kRZmL','YmVqo','2303280BuZHOE','(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','SJcHh','replace','processAccessibilityCaps','pYItP','hDEEJ','Qndhz','accessibilityOptions.includeIssueType.needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','project','accessibilityOptions.scannerVersion','scannerVersion','browser','chrome','nWGLw','MgvID','1264555BBErNN','PCNUL','QhpMw','../../helpers/performance/constants','testInfo','accessibilityOptions','4UbNoto','use','getAccessibilityResults','accessibilityOptions.scannerProcessingTimeout'];a37_0x21fd=function(){return _0x335a65;};return a37_0x21fd();}const a37_0x26423d=a37_0x173a;(function(_0xbd82c5,_0x589490){const _0x366a58=a37_0x173a,_0x5399ed=_0xbd82c5();while(!![]){try{const _0x5eb951=-parseInt(_0x366a58(0x23f))/0x1*(parseInt(_0x366a58(0x218))/0x2)+-parseInt(_0x366a58(0x256))/0x3+parseInt(_0x366a58(0x1fd))/0x4*(-parseInt(_0x366a58(0x1f7))/0x5)+-parseInt(_0x366a58(0x211))/0x6+-parseInt(_0x366a58(0x1e5))/0x7*(parseInt(_0x366a58(0x23b))/0x8)+parseInt(_0x366a58(0x255))/0x9+parseInt(_0x366a58(0x20a))/0xa*(parseInt(_0x366a58(0x213))/0xb);if(_0x5eb951===_0x589490)break;else _0x5399ed['push'](_0x5399ed['shift']());}catch(_0x1df917){_0x5399ed['push'](_0x5399ed['shift']());}}}(a37_0x21fd,0x80ba7));const util=require(a37_0x26423d(0x21b)),logger=require(a37_0x26423d(0x22c))['winstonLogger'],{isAccessibilityAutomationSession}=require(a37_0x26423d(0x20d)),{isUndefined,isBrowserstackInfra}=require(a37_0x26423d(0x203)),scripts=require(a37_0x26423d(0x223)),PerformanceTester=require(a37_0x26423d(0x222)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x26423d(0x1fa));function a37_0x173a(_0x4e9f69,_0x419ee3){const _0x21fd1c=a37_0x21fd();return a37_0x173a=function(_0x173afb,_0x5d2896){_0x173afb=_0x173afb-0x1e4;let _0x2d815e=_0x21fd1c[_0x173afb];return _0x2d815e;},a37_0x173a(_0x4e9f69,_0x419ee3);}exports[a37_0x26423d(0x21f)]=async(_0x546763,_0x3391b7,_0x49dbe7={})=>{const _0x35e3a4=a37_0x26423d,_0x469ba5={};_0x469ba5[_0x35e3a4(0x205)]=_0x35e3a4(0x242);const _0x1879ea=_0x469ba5;return await _0x546763[_0x35e3a4(0x251)](_0x35e3a4(0x25e)+_0x3391b7[_0x35e3a4(0x1e8)](/arguments/g,_0x1879ea['YcSMh'])+_0x35e3a4(0x215)+JSON[_0x35e3a4(0x209)](_0x49dbe7)+')');},exports[a37_0x26423d(0x254)]=async(_0x50b23f,_0x4a7f93,_0x809fa7={})=>{const _0x2f6465=a37_0x26423d,_0x4df14e={};_0x4df14e['QlNOP']=function(_0x337721,_0x22bc41){return _0x337721===_0x22bc41;},_0x4df14e['PsHDz']=_0x2f6465(0x22f),_0x4df14e[_0x2f6465(0x24e)]=function(_0x36471b,_0x372a4d){return _0x36471b===_0x372a4d;},_0x4df14e[_0x2f6465(0x25a)]=_0x2f6465(0x248),_0x4df14e[_0x2f6465(0x1f5)]=_0x2f6465(0x242);const _0x121608=_0x4df14e;if(_0x121608[_0x2f6465(0x257)](_0x50b23f[_0x2f6465(0x245)][_0x2f6465(0x219)],_0x121608[_0x2f6465(0x253)]))return await _0x50b23f['executeAsyncScript'](_0x4a7f93,_0x809fa7);else{if(_0x121608[_0x2f6465(0x24e)](_0x50b23f['constructor'][_0x2f6465(0x219)],_0x121608[_0x2f6465(0x25a)]))return await _0x50b23f[_0x2f6465(0x22e)](_0x2f6465(0x1e6)+_0x4a7f93[_0x2f6465(0x1e8)](/arguments/g,_0x121608[_0x2f6465(0x1f5)])+_0x2f6465(0x230)+JSON[_0x2f6465(0x209)](_0x809fa7)+')');}},exports['setAccessibilityCapabilities']=async _0x53be7b=>{const _0x2734be=a37_0x26423d,_0x4e50f1={};_0x4e50f1[_0x2734be(0x236)]=_0x2734be(0x21a),_0x4e50f1['kQLpt']=_0x2734be(0x200),_0x4e50f1['brNne']='accessibilityOptions.includeIssueType.bestPractice',_0x4e50f1[_0x2734be(0x240)]=_0x2734be(0x1ed),_0x4e50f1[_0x2734be(0x1ec)]='accessibilityOptions.authToken',_0x4e50f1[_0x2734be(0x22a)]=_0x2734be(0x1f1);const _0x789849=_0x4e50f1;_0x53be7b[_0x2734be(0x1fc)]&&(_0x53be7b['accessibilityOptions'][_0x2734be(0x24c)]&&(_0x53be7b[_0x789849['mtaQl']]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x24c)]),_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x1ef)]&&(_0x53be7b[_0x789849[_0x2734be(0x20b)]]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x1ef)]),_0x53be7b['accessibilityOptions'][_0x2734be(0x202)]&&(_0x53be7b[_0x789849[_0x2734be(0x246)]]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x202)][_0x2734be(0x221)],_0x53be7b[_0x789849[_0x2734be(0x240)]]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x202)][_0x2734be(0x23a)]));const _0x4b9a2a=JSON['parse'](process[_0x2734be(0x220)][_0x2734be(0x258)])[_0x2734be(0x1f2)];_0x53be7b[_0x789849['Qndhz']]=process[_0x2734be(0x220)][_0x2734be(0x238)],_0x53be7b[_0x789849[_0x2734be(0x22a)]]=_0x4b9a2a,delete _0x53be7b[_0x2734be(0x1fc)];},exports[a37_0x26423d(0x1ff)]=async _0x159dc2=>{const _0x2813ba=a37_0x26423d,_0x3abef1={};_0x3abef1[_0x2813ba(0x22d)]=_0x2813ba(0x20f),_0x3abef1['XwQdS']=_0x2813ba(0x23c);const _0x51711d=_0x3abef1;if(global[_0x2813ba(0x206)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x159dc2,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x159dc2,scripts.getResults);})();return res;}catch{return logger[_0x2813ba(0x260)](_0x51711d['zvogC']),[];}else return logger[_0x2813ba(0x25c)](_0x51711d[_0x2813ba(0x232)]),[];},exports[a37_0x26423d(0x225)]=async(_0x206e3f,_0xa1f5dc='')=>{const _0x3800b7=a37_0x26423d;logger[_0x3800b7(0x249)](_0x3800b7(0x227)+_0xa1f5dc+_0x3800b7(0x24b)+_0x206e3f);if(global[_0x3800b7(0x206)])return await PerformanceTester[_0x3800b7(0x229)](PerformanceA11yEvents[_0x3800b7(0x237)],async()=>{const _0x4242ee=_0x3800b7,_0x368322={};_0x368322[_0x4242ee(0x20e)]=_0xa1f5dc,await exports['browserStackEvaluate'](_0x206e3f,scripts['performScan'],_0x368322);},{'command':_0xa1f5dc})();},exports[a37_0x26423d(0x21c)]=async _0x95d837=>{const _0x2976a1=a37_0x26423d,_0x4c0d64={};_0x4c0d64[_0x2976a1(0x233)]='No\x20summaryResults\x20found.',_0x4c0d64[_0x2976a1(0x24d)]=_0x2976a1(0x207);const _0x186480=_0x4c0d64;if(global[_0x2976a1(0x206)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x95d837,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x95d837,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x186480[_0x2976a1(0x233)]),{};}else return logger[_0x2976a1(0x25c)](_0x186480[_0x2976a1(0x24d)]),{};},exports[a37_0x26423d(0x259)]=async _0x2c1f08=>{const _0x49df68=a37_0x26423d,_0x5a0b38={'QhpMw':function(_0xec830c,_0x2a09fe){return _0xec830c!==_0x2a09fe;},'ABPCi':_0x49df68(0x247),'iAiwB':_0x49df68(0x1f4),'PCNUL':'playwright-chromium','HNCzP':'chromium','qcKoW':_0x49df68(0x217),'LxKKv':function(_0x2ce63f,_0x5c5ee0){return _0x2ce63f(_0x5c5ee0);},'kRZmL':function(_0x14fb94){return _0x14fb94();},'NYFXQ':function(_0x404d91,_0x3d14ce){return _0x404d91<_0x3d14ce;},'VHmOl':_0x49df68(0x208),'FlQsl':function(_0x387b27,_0x3b65be){return _0x387b27===_0x3b65be;},'FtYSE':_0x49df68(0x224),'OqfLG':function(_0x346394,_0x2943ba){return _0x346394>_0x2943ba;},'YmVqo':_0x49df68(0x1ee)};try{if(!_0x5a0b38[_0x49df68(0x1f9)](_0x2c1f08[_0x49df68(0x22b)],''))return logger[_0x49df68(0x25c)](_0x5a0b38[_0x49df68(0x24f)]),![];const _0x3f0fbd=_0x2c1f08[_0x49df68(0x1f3)];if(![_0x5a0b38['iAiwB'],_0x5a0b38[_0x49df68(0x1f8)],_0x5a0b38[_0x49df68(0x21e)]][_0x49df68(0x210)](_0x3f0fbd))return logger['warn'](_0x5a0b38[_0x49df68(0x214)]),![];const _0x121ddc=_0x5a0b38[_0x49df68(0x241)](parseInt,_0x2c1f08['browser_version']);!_0x5a0b38[_0x49df68(0x261)](isBrowserstackInfra)&&(!_0x5a0b38[_0x49df68(0x226)](_0x121ddc,0x64)&&logger[_0x49df68(0x25c)](_0x5a0b38[_0x49df68(0x231)]));if(!(_0x5a0b38[_0x49df68(0x25b)](_0x121ddc,_0x5a0b38[_0x49df68(0x228)])||_0x5a0b38[_0x49df68(0x235)](_0x121ddc,0x5e)))return logger['warn'](_0x5a0b38[_0x49df68(0x1e4)]),![];}catch(_0xd7e6e3){logger[_0x49df68(0x249)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0xd7e6e3));}return!![];},exports[a37_0x26423d(0x1e9)]=(_0x3bedbe,_0x13d654,_0x23ef52)=>{const _0x32998f=a37_0x26423d,_0x27636d={'sEUwX':function(_0x36ac95){return _0x36ac95();},'uOaBb':_0x32998f(0x204),'tZikg':function(_0x1e0359,_0x433ab2){return _0x1e0359===_0x433ab2;},'apZmQ':_0x32998f(0x1f4),'hMHIH':_0x32998f(0x20c),'dpNZB':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','isNLO':function(_0x4081d9,_0x1a8a99){return _0x4081d9>_0x1a8a99;},'lflcp':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','MgvID':_0x32998f(0x224),'wLZPU':function(_0x186f38,_0x13fd9e){return _0x186f38>_0x13fd9e;},'hDEEJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','SJcHh':function(_0x4c4701,_0x3e8b1d){return _0x4c4701(_0x3e8b1d);},'QDajX':_0x32998f(0x247),'pYItP':function(_0x2e479c,_0x211adc){return _0x2e479c+_0x211adc;}};try{if(_0x27636d[_0x32998f(0x23d)](isAccessibilityAutomationSession)){global[_0x32998f(0x206)]=!![];!_0x3bedbe[_0x27636d[_0x32998f(0x234)]]&&(global['accessibilityPlatform']=![]);!(_0x27636d['tZikg'](_0x3bedbe[_0x32998f(0x201)],_0x27636d['apZmQ'])||_0x27636d[_0x32998f(0x244)](_0x3bedbe[_0x32998f(0x201)],_0x27636d[_0x32998f(0x216)])||_0x27636d['tZikg'](_0x3bedbe[_0x32998f(0x1f3)],_0x27636d['apZmQ'])||_0x27636d['tZikg'](_0x3bedbe['browser'],_0x27636d['hMHIH']))&&(logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x252)]),global[_0x32998f(0x206)]=![]);!_0x27636d[_0x32998f(0x23d)](isBrowserstackInfra)&&(!_0x27636d[_0x32998f(0x243)](_0x3bedbe[_0x32998f(0x23e)],0x64)&&logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x212)]));!(_0x27636d[_0x32998f(0x244)](_0x3bedbe['browser_version'],_0x27636d[_0x32998f(0x1f6)])||_0x27636d['wLZPU'](_0x3bedbe[_0x32998f(0x23e)],0x5e))&&(logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x1eb)]),global[_0x32998f(0x206)]=![]);!_0x27636d['SJcHh'](isUndefined,_0x3bedbe['deviceName'])&&(logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x25f)]),global[_0x32998f(0x206)]=![]);if(!global[_0x32998f(0x206)]){_0x3bedbe[_0x27636d[_0x32998f(0x234)]]=![];const _0x5d7668=_0x27636d[_0x32998f(0x1ea)](_0x13d654,_0x27636d[_0x32998f(0x1e7)](encodeURIComponent,JSON[_0x32998f(0x209)](_0x3bedbe)));_0x23ef52&&(_0x23ef52['currentTest'][_0x32998f(0x1fb)][_0x32998f(0x1f0)][_0x32998f(0x1fe)]['connectOptions'][_0x32998f(0x25d)]=_0x5d7668,_0x23ef52[_0x32998f(0x24a)][_0x32998f(0x1f0)][_0x32998f(0x1fe)][_0x32998f(0x250)][_0x32998f(0x25d)]=_0x5d7668);}}else global[_0x32998f(0x206)]=![];}catch(_0x5e33e6){logger[_0x32998f(0x249)](_0x32998f(0x21d)+util[_0x32998f(0x239)](_0x5e33e6));}};
@@ -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_0x4e1bc3=a38_0xf88d;(function(_0x28e896,_0x3f5ce4){const _0x14dcd3=a38_0xf88d,_0x50a06f=_0x28e896();while(!![]){try{const _0x467a4b=-parseInt(_0x14dcd3(0xfe))/0x1+-parseInt(_0x14dcd3(0x158))/0x2+-parseInt(_0x14dcd3(0x13a))/0x3+-parseInt(_0x14dcd3(0x149))/0x4*(parseInt(_0x14dcd3(0x177))/0x5)+parseInt(_0x14dcd3(0x185))/0x6*(-parseInt(_0x14dcd3(0x189))/0x7)+parseInt(_0x14dcd3(0xf9))/0x8*(-parseInt(_0x14dcd3(0x151))/0x9)+parseInt(_0x14dcd3(0x18b))/0xa*(parseInt(_0x14dcd3(0x13e))/0xb);if(_0x467a4b===_0x3f5ce4)break;else _0x50a06f['push'](_0x50a06f['shift']());}catch(_0x4a7209){_0x50a06f['push'](_0x50a06f['shift']());}}}(a38_0x2703,0x9d892));function a38_0xf88d(_0x52e3bc,_0x422c0f){const _0x270312=a38_0x2703();return a38_0xf88d=function(_0xf88d9f,_0x41dc4b){_0xf88d9f=_0xf88d9f-0xe6;let _0x47c03f=_0x270312[_0xf88d9f];return _0x47c03f;},a38_0xf88d(_0x52e3bc,_0x422c0f);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a38_0x4e1bc3(0x14b)),logger=require('../../helpers/logger')[a38_0x4e1bc3(0x13c)],{default:BrowserStackSetup}=require(a38_0x4e1bc3(0x131)),helper=require(a38_0x4e1bc3(0x17a)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a38_0x4e1bc3(0x13f)),{checkAccessibilityPlatformConfig}=require(a38_0x4e1bc3(0xef)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a38_0x4e1bc3(0xf3)),TestDetails=require(a38_0x4e1bc3(0x152)),TestHubHandler=require(a38_0x4e1bc3(0x12b)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a38_0x4e1bc3(0x11d)),PerformanceEvents=require(a38_0x4e1bc3(0x17c))[a38_0x4e1bc3(0x19b)],CLIUtils=require(a38_0x4e1bc3(0x169)),TestInfo=require(a38_0x4e1bc3(0x176)),getUserPlaywrightConfig=async(_0x180d2f,_0x42f20a)=>{const _0x1e2757=a38_0x4e1bc3,_0x48b2ec={'YmoAS':function(_0x2b2447){return _0x2b2447();},'mhgWr':function(_0x5ec8b9,_0x53aad2){return _0x5ec8b9(_0x53aad2);},'cItdr':function(_0x5a9217,_0x24367b){return _0x5a9217(_0x24367b);},'exlLk':_0x1e2757(0x17b),'NctQn':_0x1e2757(0x174)},_0x52b711=!helper[_0x1e2757(0x18d)](_0x180d2f[_0x1e2757(0xe7)]),_0x483df5=_0x52b711?path['resolve'](process[_0x1e2757(0x123)](),_0x180d2f[_0x1e2757(0xe7)]):process[_0x1e2757(0x123)](),{resolveConfigFile:_0x1bc062,resolveConfigLocation:_0x16e750}=helper[_0x1e2757(0x110)][_0x1e2757(0x184)](null,_0x48b2ec['YmoAS'](getConfigLoaderPath)),_0x5ad937=_0x1bc062?_0x48b2ec[_0x1e2757(0x17e)](_0x1bc062,_0x483df5):helper['nestedKeyValue'](_0x48b2ec[_0x1e2757(0x195)](_0x16e750,_0x483df5),[_0x48b2ec[_0x1e2757(0x16f)]]),_0x41ef7a={};if(_0x52b711){const _0x483de8=_0x42f20a['findIndex'](_0x1db780=>_0x1db780===_0x1e2757(0x183)||_0x1db780==='-c'||_0x1db780['startsWith']('--config='));_0x42f20a[_0x1e2757(0x15a)](_0x483de8,_0x42f20a[_0x483de8][_0x1e2757(0x10a)](_0x48b2ec[_0x1e2757(0x164)])?0x1:0x2);}const _0x506b19={};return _0x506b19[_0x1e2757(0x156)]=_0x5ad937,_0x506b19['config']=_0x41ef7a,_0x506b19;},handleO11yRerun=_0x2357be=>{const _0x43ded0=a38_0x4e1bc3,_0x27f287={};_0x27f287[_0x43ded0(0x106)]=_0x43ded0(0x133);const _0x135680=_0x27f287,_0x1c995a=helper['isTrue'](process['env'][_0x43ded0(0x196)]);if(_0x1c995a){const _0x437fe6=process['env'][_0x43ded0(0x171)],_0x3715c0=[];if(helper[_0x43ded0(0x10f)](_0x437fe6)&&!helper[_0x43ded0(0x18d)](_0x437fe6)){_0x437fe6[_0x43ded0(0x18a)](',')[_0x43ded0(0x16d)](_0x43f852=>{const _0x170498=_0x43ded0;_0x3715c0[_0x170498(0x128)]('('+_0x43f852[_0x170498(0x140)]()+')');});const _0x2c9190='^'+_0x3715c0[_0x43ded0(0x187)]('|')+'$';_0x2357be['push'](_0x135680[_0x43ded0(0x106)],_0x2c9190);}}},spawnOriginalProcess=_0x5baab8=>{const _0x31a776=a38_0x4e1bc3,_0x29b192={'WbCYf':function(_0x2d3c90,_0x334801,_0x122b9e,_0x57b453){return _0x2d3c90(_0x334801,_0x122b9e,_0x57b453);},'jrQWW':_0x31a776(0x105),'AJPfR':_0x31a776(0xf7),'zSgSQ':function(_0x516c92,_0x1eff82){return _0x516c92===_0x1eff82;},'uOeen':_0x31a776(0x17f),'YCwJa':_0x31a776(0x19a)};_0x29b192[_0x31a776(0x16a)](spawn,_0x29b192[_0x31a776(0x141)],[_0x29b192[_0x31a776(0x148)],..._0x5baab8[_0x31a776(0x153)](0x1)],{'shell':_0x29b192[_0x31a776(0x159)](process[_0x31a776(0x115)],_0x29b192[_0x31a776(0x186)]),'stdio':_0x29b192[_0x31a776(0x199)],'cwd':process[_0x31a776(0x123)]()});},isTestCommand=(_0x256a7f,_0x350d1a)=>{const _0xf72576=a38_0x4e1bc3,_0x33344e={};_0x33344e['hLlZL']=function(_0x3c0dd4,_0x478cc1){return _0x3c0dd4>_0x478cc1;},_0x33344e[_0xf72576(0x192)]=function(_0x3e980a,_0x130462){return _0x3e980a===_0x130462;},_0x33344e[_0xf72576(0x160)]=_0xf72576(0x162);const _0x59df23=_0x33344e;if(_0x59df23[_0xf72576(0x101)](_0x350d1a[_0xf72576(0x175)],0x1)&&_0x59df23['reWPD'](_0x350d1a[0x1],_0x59df23[_0xf72576(0x160)]))return!![];return![];};function a38_0x2703(){const _0x4c57d8=['isTrue','--grep','NuIyo','exitCode','BROWSERSTACK_SETUP_CONFIG_PATH','measureWrapper','UqoEJ','get','2916039Wxbohj','pQuci','winstonLogger','setBrowserstackConfig','11Ikllaq','./reporter/pwUtils','trim','jrQWW','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','false','logLevel','ftWrR','readdirSync','readFileSync','AJPfR','76wPMetT','MODULE','util','XLnzN','BROWSERSTACK_TEST_OBSERVABILITY','skipSessionName','qRybl','accessibility','9nQHMCq','./reporter/test-details','slice','end','clearTempPWConfig','path','exports','706982qqbHDL','zSgSQ','splice','sUuFi','getInstance','Deleting\x20','error','duxxK','jRIhX','env','test','shutdown','NctQn','XAEpq','start','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','filterBrowserstackArgs','../v2/cliUtils','WbCYf','dirname','close','map','skipSessionStatus','exlLk','browserstackAutomation','BROWSERSTACK_RERUN_TESTS','GUmlS','launchBuild','--config=','length','../v2/TestInfo','20730hXSXDX','wgWwz','homedir','../../helpers/helper','resolvedConfigFile','../../helpers/performance/constants','unlinkSync','mhgWr','win32','fLSVU','SDK_POST_INITIALIZE','automation','--config','apply','5733606aZzwgH','uOeen','join','JeOOq','7YnMXVo','split','32176490zQCvVk','setFrameworkDetail','isUndefined','Updated\x20config\x20file\x20name\x20to\x20-\x20','VRnwR','has','concat','reWPD','SBuYf','SDK_SETUP','cItdr','BROWSERSTACK_RERUN','Error\x20in\x20getting\x20funnel\x20data\x20results','accessibilityOptions','YCwJa','inherit','EVENTS','playwright-browserstack-sdk.config.js','config','Error\x20in\x20closing\x20playwright','aemYu','plJhF','testObservability','czScu','parse','bootstrap','../../helpers/accessibility-automation/helper','serializeToYamlString','BROWSERSTACK_AUTOMATION','trace_','../../helpers/test-observability/utils','GKLMB','debug','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright','indexOf','415696JDpxoF','fTegZ','stringify','.browserstack','testContextOptions','160542mqvyoR','USER_CONFIG_DETAILS_PATH','pw_result.json','hLlZL','WgdOY','BrowserStack\x20config\x20file\x20not\x20found.','Error\x20in\x20deleting\x20playwright\x20results','npx','Hkddi','stop','getPackageType','YZoFg','startsWith','writeFileSync','PLAYWRIGHT','IfMqs','cBbSJ','validateRerunTestList','requirePWModule','pcgnp','yzoPc','CkeQR','YXQyz','platform','finalExecution','isRunning','filter','oRSFt','existsSync','Rzlsl','resolve','../v2/browserstackCLI','VGWNc','isFalse','getProxyUrl','true','browserstackSetupConfig.json','cwd','--disable-browserstack-automation','gvyVN','playwright-browserstack-sdk.config.cjs','qfqRs','push','SDK_PRE_INITIALIZE','FYdzn','../../helpers/testhub/testhubHandler','oAVHF','cliConfig','forEach','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/BrowserStackSetup'];a38_0x2703=function(){return _0x4c57d8;};return a38_0x2703();}async function run(_0x3da727,_0xc8ebec,_0x17d92a){const _0x317346=a38_0x4e1bc3,_0x332fc5={'sUuFi':function(_0x57ac44){return _0x57ac44();},'czScu':function(_0x1a7d62){return _0x1a7d62();},'YXQyz':_0x317346(0xfc),'SBuYf':function(_0x3632ea,_0x25aaad){return _0x3632ea+_0x25aaad;},'pcgnp':_0x317346(0xe8),'CkeQR':function(_0x5e238a,_0x1a26a1){return _0x5e238a(_0x1a26a1);},'Rzlsl':_0x317346(0x100),'NuIyo':_0x317346(0x197),'yzoPc':_0x317346(0x103),'ftWrR':function(_0x4f5023,_0x2e4291){return _0x4f5023===_0x2e4291;},'VGWNc':_0x317346(0x143),'FYdzn':'--disable-test-observability','OfUtz':function(_0x4ae4eb,_0x4b410c){return _0x4ae4eb>=_0x4b410c;},'WgdOY':_0x317346(0x182),'SNaha':function(_0x332a45,_0x1a6e0b){return _0x332a45!=_0x1a6e0b;},'qRybl':function(_0x4e4a31,_0x26d3fc,_0x5f5228){return _0x4e4a31(_0x26d3fc,_0x5f5228);},'IfMqs':function(_0x3affb1,_0x481f00){return _0x3affb1===_0x481f00;},'XAEpq':_0x317346(0x121),'oRSFt':_0x317346(0x122),'qfqRs':function(_0x3768b7,_0x1ef975){return _0x3768b7===_0x1ef975;},'XbyPf':_0x317346(0x126),'fTegZ':_0x317346(0xe6),'aemYu':function(_0x335fb5,_0x250575){return _0x335fb5-_0x250575;},'pQuci':function(_0x494412,_0xffa85a){return _0x494412+_0xffa85a;},'POiTN':_0x317346(0x18e),'VRnwR':function(_0xdb71f,_0x3cead1){return _0xdb71f>_0x3cead1;},'plJhF':function(_0x29f111,_0x2eb658){return _0x29f111+_0x2eb658;},'fLSVU':function(_0x30a2c9,_0x5d58d9,_0x1b5ad7,_0x213c15){return _0x30a2c9(_0x5d58d9,_0x1b5ad7,_0x213c15);},'oAVHF':_0x317346(0x105),'GKLMB':_0x317346(0xf7),'XLnzN':'test','anPPd':_0x317346(0x183),'duxxK':_0x317346(0x17f),'JeOOq':_0x317346(0x19a),'gvyVN':_0x317346(0x16c),'cNJEB':_0x317346(0x104)};try{const _0x1790ce=path[_0x317346(0x187)](helper[_0x317346(0x179)](),_0x332fc5[_0x317346(0x114)],_0x332fc5[_0x317346(0x11b)]);fs[_0x317346(0x11a)](_0x1790ce)&&fs[_0x317346(0x17d)](_0x1790ce);}catch(_0x2bc94e){logger[_0x317346(0xf5)](_0x332fc5[_0x317346(0xea)](_0x332fc5['cNJEB'],_0x2bc94e));}if(!_0x332fc5[_0x317346(0x14f)](isTestCommand,_0x3da727,_0xc8ebec)){_0x332fc5['CkeQR'](spawnOriginalProcess,_0xc8ebec);return;}await PerformanceTester[_0x317346(0x137)](PerformanceEvents[_0x317346(0x129)],async()=>{const _0x35ee2f=_0x317346,_0x51f572={'cBbSJ':function(_0x4fd62e,_0x584f8d){return _0x332fc5['CkeQR'](_0x4fd62e,_0x584f8d);},'YZoFg':_0x332fc5['YXQyz'],'GUmlS':_0x332fc5['Rzlsl'],'UqoEJ':function(_0x596dbb,_0x2a736b){const _0x1954fd=a38_0xf88d;return _0x332fc5[_0x1954fd(0x193)](_0x596dbb,_0x2a736b);},'wgWwz':_0x332fc5[_0x35ee2f(0x134)]};if(!_0x17d92a[_0x35ee2f(0xe7)]){logger[_0x35ee2f(0x15e)](_0x332fc5[_0x35ee2f(0x112)]);return;}await _0x17d92a['initialize'](_0x3da727),CLIUtils[_0x35ee2f(0x18c)](FRAMEWORKS[_0x35ee2f(0x10c)],FRAMEWORKS[_0x35ee2f(0x10c)]),BrowserstackCLI[_0x35ee2f(0x15c)]()[_0x35ee2f(0x13d)](_0x17d92a[_0x35ee2f(0xe7)],_0x17d92a[_0x35ee2f(0x12d)]),await BrowserstackCLI[_0x35ee2f(0x15c)]()[_0x35ee2f(0xee)]();const _0x4e1607=BrowserstackCLI[_0x35ee2f(0x15c)]()['getConfig']();!helper[_0x35ee2f(0x11f)](_0x4e1607[_0x35ee2f(0x170)])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf1)]=!![]);_0x332fc5['ftWrR'](_0x4e1607[_0x35ee2f(0x170)],![])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf1)]=_0x332fc5[_0x35ee2f(0x11e)],_0xc8ebec=_0xc8ebec['filter'](_0x3cae74=>_0x3cae74!==_0x35ee2f(0x124)));const _0x3eab88=_0xc8ebec[_0x35ee2f(0xf8)](_0x332fc5[_0x35ee2f(0x12a)]);(_0x332fc5['OfUtz'](_0x3eab88,0x0)||_0x332fc5[_0x35ee2f(0x145)](_0x4e1607[_0x35ee2f(0xeb)],![]))&&(process[_0x35ee2f(0x161)][_0x35ee2f(0x14d)]=_0x332fc5['VGWNc'],_0xc8ebec=_0xc8ebec['filter'](_0x5ad0cf=>_0x5ad0cf!=='--disable-test-observability'));!helper[_0x35ee2f(0x18d)](_0x17d92a['cliConfig'])&&_0x17d92a[_0x35ee2f(0x12d)][_0x35ee2f(0x190)](_0x332fc5[_0x35ee2f(0x102)])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf1)]=_0x17d92a[_0x35ee2f(0x12d)][_0x35ee2f(0x139)](_0x332fc5[_0x35ee2f(0x102)])||!![]);_0x332fc5['SNaha'](_0x17d92a['config'][_0x35ee2f(0xeb)],null)&&!helper[_0x35ee2f(0x132)](process[_0x35ee2f(0x161)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0x14d)]=process[_0x35ee2f(0x161)][_0x35ee2f(0x14d)]||_0x17d92a['config'][_0x35ee2f(0xeb)]);const _0x19e0a9=!helper[_0x35ee2f(0x11f)](process['env'][_0x35ee2f(0x14d)]);_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0x198)]&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf6)]=JSON[_0x35ee2f(0xfb)](_0x17d92a[_0x35ee2f(0xe7)]['accessibilityOptions']));let _0x1d1450=![];_0x17d92a['config'][_0x35ee2f(0x150)]&&(_0x1d1450=!![],process[_0x35ee2f(0x161)][_0x35ee2f(0x12f)]=_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0x150)]);const _0x225f04=_0xc8ebec[_0x35ee2f(0x191)](),_0x3b7e94=await _0x332fc5[_0x35ee2f(0x14f)](getUserPlaywrightConfig,_0x3da727,_0xc8ebec);if(helper[_0x35ee2f(0x18d)](_0x3b7e94)){_0x332fc5[_0x35ee2f(0x113)](spawnOriginalProcess,_0x225f04);return;}const _0x1f2983=_0x3b7e94['path']?path[_0x35ee2f(0x16b)](_0x3b7e94['path']):process[_0x35ee2f(0x123)]();process[_0x35ee2f(0x161)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1f2983,await PerformanceTester[_0x35ee2f(0x137)](PerformanceEvents[_0x35ee2f(0x181)],async()=>{const _0x3fb651=_0x35ee2f;!BrowserstackCLI['getInstance']()['isRunning']()&&await TestHubHandler[_0x3fb651(0x173)](FRAMEWORKS[_0x3fb651(0x10c)],_0x17d92a),_0x19e0a9&&_0x51f572[_0x3fb651(0x10e)](handleO11yRerun,_0xc8ebec);})();if(!BrowserstackCLI['getInstance']()[_0x35ee2f(0x117)]()){let _0x3a792d=_0x332fc5[_0x35ee2f(0x10d)](process[_0x35ee2f(0x161)][_0x35ee2f(0x12f)],_0x332fc5[_0x35ee2f(0x165)]);_0x3a792d=_0x3a792d||_0x332fc5[_0x35ee2f(0x113)](checkAccessibilityPlatformConfig,_0x17d92a['config']),process[_0x35ee2f(0x161)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3a792d,_0x3a792d&&_0x332fc5['CkeQR'](setAccessibilityCapabilities,_0x17d92a[_0x35ee2f(0xe7)]);}const _0xaf5d2b=path[_0x35ee2f(0x187)](_0x3b7e94['path']?path[_0x35ee2f(0x16b)](_0x3b7e94[_0x35ee2f(0x156)]):process['cwd'](),_0x332fc5[_0x35ee2f(0x119)]);fs['writeFileSync'](_0xaf5d2b,helper[_0x35ee2f(0xf0)](_0x17d92a[_0x35ee2f(0xe7)])),process['env'][_0x35ee2f(0x136)]=_0xaf5d2b,helper[_0x35ee2f(0x155)]();let _0x2e7a39='';_0x332fc5[_0x35ee2f(0x127)](helper[_0x35ee2f(0x108)](),constants['PACKAGE_TYPE'][_0x35ee2f(0x14a)])?_0x2e7a39=_0x332fc5['XbyPf']:_0x2e7a39=_0x332fc5[_0x35ee2f(0xfa)];let _0x447e46='';if(helper['isTypescriptProject'](_0x3b7e94['path'])){_0x447e46=_0x35ee2f(0x167);const _0x344902=_0x2e7a39['split']('.');_0x344902[_0x332fc5[_0x35ee2f(0xe9)](_0x344902[_0x35ee2f(0x175)],0x1)]='ts',_0x2e7a39=_0x344902[_0x35ee2f(0x187)]('.'),logger['debug'](_0x332fc5[_0x35ee2f(0x13b)](_0x332fc5['POiTN'],_0x2e7a39));}else _0x447e46='\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 _0x56127d=path[_0x35ee2f(0x187)](_0x3b7e94[_0x35ee2f(0x156)]?path[_0x35ee2f(0x16b)](_0x3b7e94[_0x35ee2f(0x156)]):process[_0x35ee2f(0x123)](),_0x2e7a39);let _0x2ff002=_0x3b7e94[_0x35ee2f(0x156)]?_0x3b7e94[_0x35ee2f(0x156)]:'';_0x2ff002=_0x332fc5[_0x35ee2f(0x18f)](_0x2ff002['length'],0x0)?path[_0x35ee2f(0x11c)](_0x2ff002):'',process[_0x35ee2f(0x161)][_0x35ee2f(0xff)]=_0x2ff002;const _0x32d708=helper[_0x35ee2f(0x120)](_0x17d92a[_0x35ee2f(0xe7)]);_0x32d708&&(_0x447e46=_0x332fc5[_0x35ee2f(0xea)](_0x35ee2f(0x142)+_0x32d708+'\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();',_0x447e46));helper[_0x35ee2f(0x168)]({},_0xc8ebec),fs[_0x35ee2f(0x10b)](_0x56127d,_0x447e46),PerformanceTester[_0x35ee2f(0x154)](PerformanceEvents[_0x35ee2f(0x194)]);const _0x19ad5c=_0x332fc5[_0x35ee2f(0x180)](spawn,_0x332fc5[_0x35ee2f(0x12c)],[_0x332fc5[_0x35ee2f(0xf4)],_0x332fc5[_0x35ee2f(0x14c)],_0x332fc5['anPPd'],_0x56127d,..._0xc8ebec[_0x35ee2f(0x153)](0x2)],{'shell':_0x332fc5['qfqRs'](process[_0x35ee2f(0x115)],_0x332fc5[_0x35ee2f(0x15f)]),'stdio':_0x332fc5[_0x35ee2f(0x188)],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x3da727),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0xfd)][_0x35ee2f(0x16e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0xfd)][_0x35ee2f(0x14e)],'BROWSERSTACK_LOG_LEVEL':_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0x144)]})}),_0x2d8af2=()=>{const _0x18b9bd=_0x35ee2f;try{const _0x27d6f1=path[_0x18b9bd(0x187)](helper[_0x18b9bd(0x179)](),_0x51f572[_0x18b9bd(0x109)],_0x51f572[_0x18b9bd(0x172)]);if(fs[_0x18b9bd(0x11a)](_0x27d6f1)){let _0x17ec87=fs[_0x18b9bd(0x147)](_0x27d6f1);_0x17ec87=JSON[_0x18b9bd(0xed)](_0x17ec87),_0x17d92a['errorMessage']=_0x17ec87,fs[_0x18b9bd(0x17d)](_0x27d6f1);}}catch(_0x2557d4){logger[_0x18b9bd(0xf5)](_0x51f572[_0x18b9bd(0x138)](_0x51f572[_0x18b9bd(0x178)],_0x2557d4));}};_0x19ad5c['on'](_0x332fc5[_0x35ee2f(0x125)],async _0x49ebed=>{const _0x4b84f9=_0x35ee2f;try{PerformanceTester[_0x4b84f9(0x166)](PerformanceEvents['SDK_CLEANUP']),_0x332fc5[_0x4b84f9(0x15b)](_0x2d8af2),await TestHubHandler[_0x4b84f9(0x107)](),await BrowserstackCLI[_0x4b84f9(0x15c)]()[_0x4b84f9(0x107)](),TestDetails[_0x4b84f9(0x163)](),_0x332fc5[_0x4b84f9(0xec)](printBuildLink),await utilities[_0x4b84f9(0x116)](_0x17d92a),process[_0x4b84f9(0x135)]=_0x49ebed,logger['debug'](_0x4b84f9(0x130)+_0x49ebed),logger['info'](_0x4b84f9(0x15d)+_0x56127d),fs[_0x4b84f9(0x17d)](_0x56127d);fs['existsSync'](_0xaf5d2b)&&(logger[_0x4b84f9(0xf5)]('Deleting\x20'+_0xaf5d2b),fs['unlinkSync'](_0xaf5d2b));const _0x144abf=fs[_0x4b84f9(0x146)](path[_0x4b84f9(0x187)](helper['homedir'](),_0x332fc5[_0x4b84f9(0x114)]))[_0x4b84f9(0x118)](_0x5e3408=>_0x5e3408[_0x4b84f9(0x10a)](_0x4b84f9(0xf2)));_0x144abf[_0x4b84f9(0x12e)](_0x536926=>{const _0x3909f5=_0x4b84f9;fs[_0x3909f5(0x17d)](path[_0x3909f5(0x187)](helper[_0x3909f5(0x179)](),_0x51f572[_0x3909f5(0x109)],_0x536926));});}catch(_0x3d357b){logger[_0x4b84f9(0xf5)](_0x332fc5[_0x4b84f9(0x193)](_0x332fc5[_0x4b84f9(0x111)],_0x3d357b));}});})();}module[a38_0x4e1bc3(0x157)]=run;
@@ -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_0x1b4acd=a39_0x5b9b;(function(_0x12660c,_0x2636ba){const _0x1adca6=a39_0x5b9b,_0x2892f1=_0x12660c();while(!![]){try{const _0x402cb9=parseInt(_0x1adca6(0x177))/0x1*(parseInt(_0x1adca6(0x157))/0x2)+parseInt(_0x1adca6(0x166))/0x3*(parseInt(_0x1adca6(0x168))/0x4)+parseInt(_0x1adca6(0x17b))/0x5*(-parseInt(_0x1adca6(0x158))/0x6)+-parseInt(_0x1adca6(0x162))/0x7+parseInt(_0x1adca6(0x16c))/0x8+parseInt(_0x1adca6(0x170))/0x9+-parseInt(_0x1adca6(0x153))/0xa*(parseInt(_0x1adca6(0x16a))/0xb);if(_0x402cb9===_0x2636ba)break;else _0x2892f1['push'](_0x2892f1['shift']());}catch(_0x3489de){_0x2892f1['push'](_0x2892f1['shift']());}}}(a39_0x1e98,0x93b63));const util=require(a39_0x1b4acd(0x172)),child_process=require(a39_0x1b4acd(0x15b)),{FRAMEWORKS}=require(a39_0x1b4acd(0x174)),{getFrameworkVersion,debug}=require(a39_0x1b4acd(0x179)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x1b4acd(0x15c)),{mockIsWorkerRedundant}=require(a39_0x1b4acd(0x169)),logger=require(a39_0x1b4acd(0x16f))[a39_0x1b4acd(0x17d)];function a39_0x1e98(){const _0x381aea=['function','1384550qViFHG','PLAYWRIGHT','debug','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','2IfnXpH','5985726XpUxJw','isHandlePWErrorSet','tOdUX','child_process','./reporter/pwUtils','env','apply','./mock-process.js','format','Not\x20able\x20to\x20import\x20globalSetup','5912018YSRkLG','compareVersions','VFQeO','exports','2392023WHTZPi','AnnYI','4rFuNyQ','./patches','99zNImyB','gwIKp','7577816rsLdPm','requirePWModule','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/logger','6851952MvqRBK','wHdhV','util','toString','../../helpers/test-observability/constants','1.33.0','upyRP','1187421nvnDvf','fork','../../helpers/test-observability/utils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','5cRGOxE','XlChf','winstonLogger','includes','UawTH'];a39_0x1e98=function(){return _0x381aea;};return a39_0x1e98();}function a39_0x5b9b(_0x355695,_0x221486){const _0x1e9821=a39_0x1e98();return a39_0x5b9b=function(_0x5b9bdf,_0x564813){_0x5b9bdf=_0x5b9bdf-0x153;let _0x34dc68=_0x1e9821[_0x5b9bdf];return _0x34dc68;},a39_0x5b9b(_0x355695,_0x221486);}module[a39_0x1b4acd(0x165)]=async function(_0x56f070){const _0x2bc78a=a39_0x1b4acd,_0xf4be5d={'UgXSU':function(_0x3dca08,_0x2b9136){return _0x3dca08(_0x2b9136);},'wHdhV':function(_0x10ce3f){return _0x10ce3f();},'VFQeO':_0x2bc78a(0x15f),'mtjlf':function(_0x49365d){return _0x49365d();},'EwONb':function(_0x2b33b4){return _0x2b33b4();},'dDcWK':function(_0x5a158d,_0x40fd73){return _0x5a158d(_0x40fd73);},'gwIKp':'Running\x20existing\x20global\x20setup','YTMbL':function(_0x2e63e9){return _0x2e63e9();},'GZSuT':function(_0x2d7c51,_0x52c52d){return _0x2d7c51>=_0x52c52d;},'XlChf':_0x2bc78a(0x175),'UawTH':function(_0x1d9af0,_0x218b43,_0x435bf1){return _0x1d9af0(_0x218b43,_0x435bf1);},'upyRP':function(_0x3bfda2,_0x3da418){return _0x3bfda2!==_0x3da418;},'AnnYI':_0x2bc78a(0x180),'tOdUX':_0x2bc78a(0x161),'SmCVd':function(_0x50b4cb,_0x2283ac){return _0x50b4cb(_0x2283ac);}},_0x2ab9fc=child_process[_0x2bc78a(0x178)];if(helper[_0x2bc78a(0x159)]())try{_0xf4be5d['EwONb'](mockIsWorkerRedundant);}catch(_0x902135){logger[_0x2bc78a(0x155)](_0x2bc78a(0x16e)+util[_0x2bc78a(0x160)](_0x902135));}child_process[_0x2bc78a(0x178)]=function(){const _0x3fe009=_0x2bc78a;return _0xf4be5d['UgXSU'](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x3fe009(0x17e)](_0xf4be5d[_0x3fe009(0x171)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0xf4be5d[_0x3fe009(0x164)]):logger['error']('Path\x20'+_0xf4be5d['mtjlf'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x2ab9fc['apply'](null,arguments);};if(process['env'][_0x2bc78a(0x17a)]){_0xf4be5d['dDcWK'](debug,_0xf4be5d[_0x2bc78a(0x16b)]);try{const {loadGlobalHook:_0x21eaef}=helper[_0x2bc78a(0x16d)]['apply'](null,_0xf4be5d['YTMbL'](getLoadUtilsPath)),_0x33fe89=_0xf4be5d['dDcWK'](getFrameworkVersion,FRAMEWORKS[_0x2bc78a(0x154)]);let _0x18a2cb=_0x56f070;if(_0xf4be5d['GZSuT'](helper[_0x2bc78a(0x163)](_0x33fe89,_0xf4be5d[_0x2bc78a(0x17c)]),0x0)){const _0x2ddc62={};_0x2ddc62['config']=_0x56f070,_0x18a2cb=_0x2ddc62;}const _0x43539a=await _0xf4be5d[_0x2bc78a(0x17f)](_0x21eaef,_0x18a2cb,process[_0x2bc78a(0x15d)][_0x2bc78a(0x17a)]);if(_0xf4be5d[_0x2bc78a(0x176)](typeof _0x43539a,_0xf4be5d[_0x2bc78a(0x167)]))throw new Error(_0xf4be5d[_0x2bc78a(0x15a)]);return _0x43539a[_0x2bc78a(0x15e)](null,arguments);}catch(_0x313241){_0xf4be5d['SmCVd'](debug,_0x2bc78a(0x156)+_0x313241[_0x2bc78a(0x173)]());}}};