browserstack-node-sdk 1.63.3 → 1.63.5

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 (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a47_0xf23e6c=a47_0x33c2;function a47_0x52f9(){const _0xe9d348=['][\x20SDK-AUTOMATION\x20]\x20','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','toISOString','cYurz','rTakn','XbSzZ','isMobilePlatform','parse','accessibilityOptions.scannerVersion','MOBILE_SCANNING_DISABLED_WARNING','azjbV','9BgLwLZ','BixqW','accessibilityPlatform','91dsXIID','RnEuJ','AInIR','pYWxb','42348tveSVj','743670PUcZje','winstonLogger','bstackSdkArgs','playwright-chromium','EMNeH','isnDr','keys','browser_version','parameters','EIKmH','toLowerCase','currentTest','stringify','forEach','accessibilityOptions.wcagVersion','browserstack.accessibility','(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','RFjBv','includes','android','command','\x20browser\x20version\x20','8oBZETt','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','browser','rEKMp','chrome','Performing\x20scan\x20with\x20method:\x20','string','response','pPIOD','scannerVersion','222047cfiwut','Playwright','418RNjCOp','HCISz','ajdnz','../../helpers/logger','includeIssueType','wcagVersion','../../helpers/performance/performance-tester','name','error','../../helpers/performance/constants','workerInfo','vrazc','../../helpers/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','1004895UOnZdQ','65815DxlVGB','bestPractice','assign','warn','ewROQ','isVersionSupported','on\x20non-BrowserStack\x20infrastructure\x20','WebDriver','PERFORM_SCAN','testInfo','accessibilityOptions','BS_A11Y_JWT','getAccessibilityResultsSummary','16nxSsvA','ypanK','accessibilityOptions.scannerProcessingTimeout','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','message','project','../../helpers/accessibility-automation/scripts','constructor','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','scannerProcessingTimeout','\x20or\x20higher\x20','pikhA','browserStackExecuteDriver','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','GCyre','browserStackEvaluate','needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','accessibilityOptions.includeIssueType.bestPractice','3629270EyxyYQ','connectOptions','../../helpers/accessibility-automation/helper','latest','replace','mptvI','../utils/constants','env','use','body','wsEndpoint','getMinVersionForBrowser','deviceName','DFGjF','getAccessibilityResults','\x20page:\x20','JWjSS','platformValidation','silly','includePartOfPageScope','setAccessibilityCapabilities','accessibilityOptions.authToken','32qrMKok','zfkcf','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','startsWith','__workerDetails','isBrowserSupportedForAccessibility','lMEpC','format','evaluate','performScan','VfEKY','(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','hnVls','executeScript','AYDeg','No\x20accessibility\x20results\x20were\x20found.','GXbqf','find','request','measureWrapper','accessibilityOptions.includeIssueType.needsReview','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','debug'];a47_0x52f9=function(){return _0xe9d348;};return a47_0x52f9();}function a47_0x33c2(_0x3e5662,_0x2ec6ea){const _0x52f9e8=a47_0x52f9();return a47_0x33c2=function(_0x33c22c,_0x151531){_0x33c22c=_0x33c22c-0xc4;let _0x2dfd4e=_0x52f9e8[_0x33c22c];return _0x2dfd4e;},a47_0x33c2(_0x3e5662,_0x2ec6ea);}(function(_0x39a979,_0x371589){const _0x4aad9c=a47_0x33c2,_0x31ec58=_0x39a979();while(!![]){try{const _0x45d021=parseInt(_0x4aad9c(0x103))/0x1*(-parseInt(_0x4aad9c(0xde))/0x2)+parseInt(_0x4aad9c(0x138))/0x3+-parseInt(_0x4aad9c(0x11e))/0x4*(-parseInt(_0x4aad9c(0x139))/0x5)+parseInt(_0x4aad9c(0x108))/0x6+-parseInt(_0x4aad9c(0x128))/0x7*(parseInt(_0x4aad9c(0x146))/0x8)+parseInt(_0x4aad9c(0x100))/0x9*(-parseInt(_0x4aad9c(0xc8))/0xa)+parseInt(_0x4aad9c(0x12a))/0xb*(parseInt(_0x4aad9c(0x107))/0xc);if(_0x45d021===_0x371589)break;else _0x31ec58['push'](_0x31ec58['shift']());}catch(_0x3dc8b4){_0x31ec58['push'](_0x31ec58['shift']());}}}(a47_0x52f9,0x2ec19));const util=require('util'),logger=require(a47_0xf23e6c(0x12d))[a47_0xf23e6c(0x109)],{automationLogger}=require(a47_0xf23e6c(0x12d)),{isAccessibilityAutomationSession}=require(a47_0xf23e6c(0xca)),{isUndefined,isBrowserstackInfra}=require(a47_0xf23e6c(0x136)),scripts=require(a47_0xf23e6c(0x14c)),PerformanceTester=require(a47_0xf23e6c(0x130)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a47_0xf23e6c(0x133)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{AUTOMATION_LOG_COMMANDS}=require(a47_0xf23e6c(0xce));exports[a47_0xf23e6c(0x155)]=async(_0x9db9b3,_0x36bdf1,_0x398f22={})=>{const _0x20a308=a47_0xf23e6c,_0x2f8ccd={};_0x2f8ccd[_0x20a308(0x126)]=_0x20a308(0x10a),_0x2f8ccd[_0x20a308(0x151)]=function(_0x38a246,_0x49851d){return _0x38a246===_0x49851d;},_0x2f8ccd[_0x20a308(0x10d)]=_0x20a308(0x124);const _0x2c5eb6=_0x2f8ccd,_0x4530d4=await _0x9db9b3[_0x20a308(0xe6)](_0x20a308(0xe9)+_0x36bdf1[_0x20a308(0xcc)](/arguments/g,_0x2c5eb6[_0x20a308(0x126)])+_0x20a308(0x149)+JSON[_0x20a308(0x114)](_0x398f22)+')');try{if(_0x36bdf1&&_0x2c5eb6['pikhA'](typeof _0x36bdf1,_0x2c5eb6['isnDr'])){const _0x27d822=AUTOMATION_LOG_COMMANDS[_0x20a308(0xef)](_0xf75011=>_0x36bdf1[_0x20a308(0x11a)](_0xf75011));if(_0x27d822){const _0x4b9bbb={};_0x4b9bbb[_0x20a308(0x11c)]=_0x27d822,_0x4b9bbb[_0x20a308(0x110)]=[_0x398f22];const _0x517aaa={};_0x517aaa[_0x20a308(0xd1)]=_0x4530d4;const _0x1fc521={};_0x1fc521[_0x20a308(0xf0)]=_0x4b9bbb,_0x1fc521[_0x20a308(0x125)]=_0x517aaa,automationLogger[_0x20a308(0xda)]('['+new Date()[_0x20a308(0xf7)]()+_0x20a308(0xf5)+JSON[_0x20a308(0x114)](_0x1fc521));}}}catch(_0x31e965){logger[_0x20a308(0xf4)](_0x20a308(0x11f)+_0x31e965[_0x20a308(0x14a)]);}return _0x4530d4;},exports[a47_0xf23e6c(0x152)]=async(_0x4ded5e,_0x6a0aea,_0x2679aa={})=>{const _0x1a7e0a=a47_0xf23e6c,_0x4636d7={};_0x4636d7[_0x1a7e0a(0x147)]=function(_0x2857df,_0x1bdde2){return _0x2857df===_0x1bdde2;},_0x4636d7[_0x1a7e0a(0x154)]=_0x1a7e0a(0x140),_0x4636d7[_0x1a7e0a(0xec)]=_0x1a7e0a(0x129),_0x4636d7[_0x1a7e0a(0xcd)]=_0x1a7e0a(0x10a);const _0x233290=_0x4636d7;if(_0x233290[_0x1a7e0a(0x147)](_0x4ded5e[_0x1a7e0a(0x14d)][_0x1a7e0a(0x131)],_0x233290[_0x1a7e0a(0x154)]))return await _0x4ded5e['executeAsyncScript'](_0x6a0aea,_0x2679aa);else{if(_0x233290[_0x1a7e0a(0x147)](_0x4ded5e[_0x1a7e0a(0x14d)][_0x1a7e0a(0x131)],_0x233290[_0x1a7e0a(0xec)]))return await _0x4ded5e[_0x1a7e0a(0xeb)](_0x1a7e0a(0x118)+_0x6a0aea['replace'](/arguments/g,_0x233290[_0x1a7e0a(0xcd)])+_0x1a7e0a(0x153)+JSON['stringify'](_0x2679aa)+')');}},exports[a47_0xf23e6c(0xdc)]=async _0x14bfbb=>{const _0x2392ae=a47_0xf23e6c,_0x5ee647={};_0x5ee647['EIKmH']=_0x2392ae(0x116),_0x5ee647[_0x2392ae(0x10c)]=_0x2392ae(0x148),_0x5ee647['VfEKY']=_0x2392ae(0xc7),_0x5ee647['DFGjF']=_0x2392ae(0xf2),_0x5ee647[_0x2392ae(0x119)]=_0x2392ae(0xdd),_0x5ee647['JWjSS']=_0x2392ae(0xfd);const _0x327030=_0x5ee647;_0x14bfbb[_0x2392ae(0x143)]&&(_0x14bfbb[_0x2392ae(0x143)][_0x2392ae(0x12f)]&&(_0x14bfbb[_0x327030[_0x2392ae(0x111)]]=_0x14bfbb[_0x2392ae(0x143)][_0x2392ae(0x12f)]),_0x14bfbb['accessibilityOptions'][_0x2392ae(0x14f)]&&(_0x14bfbb[_0x327030[_0x2392ae(0x10c)]]=_0x14bfbb[_0x2392ae(0x143)][_0x2392ae(0x14f)]),_0x14bfbb[_0x2392ae(0x143)][_0x2392ae(0x12e)]&&(_0x14bfbb[_0x327030[_0x2392ae(0xe8)]]=_0x14bfbb['accessibilityOptions'][_0x2392ae(0x12e)][_0x2392ae(0x13a)],_0x14bfbb[_0x327030[_0x2392ae(0xd5)]]=_0x14bfbb['accessibilityOptions']['includeIssueType'][_0x2392ae(0x156)]));const _0x464811=JSON[_0x2392ae(0xfc)](process[_0x2392ae(0xcf)][_0x2392ae(0xe0)]||'{}')[_0x2392ae(0x127)];_0x14bfbb[_0x327030['RFjBv']]=process[_0x2392ae(0xcf)][_0x2392ae(0x144)],_0x14bfbb[_0x327030[_0x2392ae(0xd8)]]=_0x464811,delete _0x14bfbb[_0x2392ae(0x143)];},exports[a47_0xf23e6c(0xd6)]=async _0x3f22e9=>{const _0x49b969=a47_0xf23e6c,_0xc980eb={};_0xc980eb[_0x49b969(0xe4)]=_0x49b969(0xed),_0xc980eb[_0x49b969(0xea)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x15f2c3=_0xc980eb;if(global[_0x49b969(0x102)])try{const details={'url':await _0x3f22e9.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3f22e9,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3f22e9,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x49b969(0x132)](_0x15f2c3['lMEpC']),[];}else return logger[_0x49b969(0x13c)](_0x15f2c3['hnVls']),[];},exports[a47_0xf23e6c(0xe7)]=async(_0x3c2fcd,_0x41b78b='',_0x279364={},_0x477b5b={})=>{const _0x5adb22=a47_0xf23e6c;logger[_0x5adb22(0xf4)](_0x5adb22(0x123)+_0x41b78b+_0x5adb22(0xd7)+_0x3c2fcd);const _0x55cfc5={'url':await _0x3c2fcd['url'](),'testhub_btcer_uuid':global[_0x5adb22(0xe2)]?.[_0x5adb22(0x113)]?.['id']};if(global[_0x5adb22(0x102)])return await PerformanceTester[_0x5adb22(0xf1)](PerformanceA11yEvents[_0x5adb22(0x141)],async()=>{const _0x1ca3e5=_0x5adb22,_0x103ba0={};_0x103ba0[_0x1ca3e5(0x11c)]=_0x41b78b;const _0x2ce136=_0x103ba0;_0x279364&&_0x279364[_0x1ca3e5(0xdb)]&&(_0x2ce136[_0x1ca3e5(0xdb)]=_0x279364[_0x1ca3e5(0xdb)]);Object[_0x1ca3e5(0x13b)](_0x2ce136,_0x477b5b);const _0x4192e2=await exports[_0x1ca3e5(0x155)](_0x3c2fcd,scripts[_0x1ca3e5(0xe7)],_0x2ce136);return _0x4192e2;},{'command':_0x41b78b,..._0x55cfc5})();},exports[a47_0xf23e6c(0x145)]=async _0x2418b9=>{const _0x3a6bbd=a47_0xf23e6c,_0x2e7ce3={};_0x2e7ce3[_0x3a6bbd(0x101)]='No\x20summaryResults\x20found.',_0x2e7ce3['vGslA']=_0x3a6bbd(0x14e);const _0x509619=_0x2e7ce3;if(global[_0x3a6bbd(0x102)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2418b9,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2418b9,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger['debug'](_0x509619['BixqW']),{};}else return logger[_0x3a6bbd(0x13c)](_0x509619['vGslA']),{};},exports[a47_0xf23e6c(0xd9)]=_0x5ac477=>{const _0x3503c1=a47_0xf23e6c,_0x344c0c={'AInIR':_0x3503c1(0xc5),'ryYEW':_0x3503c1(0xc4),'GXbqf':function(_0x47cf75,_0x262ca2){return _0x47cf75!==_0x262ca2;},'rTakn':'latest','RnEuJ':function(_0x43d0c5){return _0x43d0c5();},'HCISz':_0x3503c1(0x13f)};try{if(global[_0x3503c1(0xfb)])return logger[_0x3503c1(0xf4)](_0x344c0c[_0x3503c1(0x105)]),!![];const _0x20f6ec=_0x5ac477['browser'],_0x55fe91=_0x5ac477[_0x3503c1(0x10f)];if(!accessibilityHelper[_0x3503c1(0xe3)](_0x20f6ec))return logger[_0x3503c1(0x13c)](_0x344c0c['ryYEW']),![];if(_0x344c0c[_0x3503c1(0xee)](_0x55fe91,_0x344c0c[_0x3503c1(0xf9)])){const _0x2b66e5=_0x344c0c[_0x3503c1(0x104)](isBrowserstackInfra),_0x6e88cc=accessibilityHelper[_0x3503c1(0xd3)](_0x20f6ec,_0x2b66e5),_0x50665d=accessibilityHelper['getBrowserDisplayName'](_0x20f6ec);if(!accessibilityHelper[_0x3503c1(0x13e)](_0x55fe91,_0x6e88cc)){const _0x3660b6=_0x2b66e5?'':_0x344c0c[_0x3503c1(0x12b)];return logger[_0x3503c1(0x13c)](_0x3503c1(0x137)+_0x50665d+_0x3503c1(0x11d)+_0x6e88cc+_0x3503c1(0x150)+_0x3660b6+'.'),![];}}}catch(_0x2ce0ed){logger[_0x3503c1(0xf4)](_0x3503c1(0xf6)+util[_0x3503c1(0xe5)](_0x2ce0ed));}return!![];},exports['processAccessibilityCaps']=(_0x1230c5,_0x4ebd96,_0x2062fa)=>{const _0x1f8089=a47_0xf23e6c,_0x5c199f={'nRjDi':'browserstack.accessibilityOptions','zfkcf':function(_0x57b8a6){return _0x57b8a6();},'ewROQ':_0x1f8089(0x117),'ajdnz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','pYWxb':function(_0x1cb2ea,_0x5817dd){return _0x1cb2ea!==_0x5817dd;},'rEKMp':_0x1f8089(0xcb),'wlDET':_0x1f8089(0x13f),'vrazc':function(_0x541296,_0x12c6a7){return _0x541296(_0x12c6a7);},'azjbV':function(_0x4f64de,_0x44f04b){return _0x4f64de===_0x44f04b;},'UeRdt':_0x1f8089(0x11b),'KjcPt':_0x1f8089(0x122),'XbSzZ':_0x1f8089(0x10b),'cYurz':'chromium','GGMcw':_0x1f8089(0xc6),'fVAtW':function(_0x14cfa2,_0x658b15){return _0x14cfa2+_0x658b15;}};try{if(_0x5c199f[_0x1f8089(0xdf)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x1230c5[_0x5c199f[_0x1f8089(0x13d)]]&&(global[_0x1f8089(0x102)]=![]);const _0x4cb034=_0x1230c5['browserName']||_0x1230c5[_0x1f8089(0x120)],_0xa58246=_0x1230c5[_0x1f8089(0x10f)];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x4cb034)&&(logger[_0x1f8089(0x13c)](_0x5c199f[_0x1f8089(0x12c)]),global[_0x1f8089(0x102)]=![]);if(_0x5c199f[_0x1f8089(0x106)](_0xa58246,_0x5c199f[_0x1f8089(0x121)])){const _0x33687d=_0x5c199f[_0x1f8089(0xdf)](isBrowserstackInfra),_0x4880b4=accessibilityHelper[_0x1f8089(0xd3)](_0x4cb034,_0x33687d),_0x1f8481=accessibilityHelper['getBrowserDisplayName'](_0x4cb034);if(!accessibilityHelper[_0x1f8089(0x13e)](_0xa58246,_0x4880b4)){const _0x5860e3=_0x33687d?'':_0x5c199f['wlDET'];logger['warn'](_0x1f8089(0x137)+_0x1f8481+'\x20browser\x20version\x20'+_0x4880b4+_0x1f8089(0x150)+_0x5860e3+'.'),global['accessibilityPlatform']=![];}}if(!_0x5c199f['vrazc'](isUndefined,_0x1230c5[_0x1f8089(0xd4)])){const _0x8e811d=(_0x1230c5['os']||'')[_0x1f8089(0x112)](),_0x3257ff=(_0x1230c5['browserName']||_0x1230c5['browser']||'')['toLowerCase'](),_0x4c171d=_0x5c199f[_0x1f8089(0xff)](_0x8e811d,_0x5c199f['UeRdt'])&&[_0x5c199f['KjcPt'],_0x5c199f[_0x1f8089(0xfa)],_0x5c199f[_0x1f8089(0xf8)]]['includes'](_0x3257ff);if(!_0x4c171d)logger[_0x1f8089(0x13c)](_0x5c199f['GGMcw']),global[_0x1f8089(0x102)]=![];else!accessibilityHelper['isMobileScanningEnabledForGroup']()&&(logger[_0x1f8089(0x13c)](accessibilityHelper[_0x1f8089(0xfe)]),global[_0x1f8089(0x102)]=![]);}if(!global[_0x1f8089(0x102)]){_0x1230c5[_0x5c199f['ewROQ']]=![],Object[_0x1f8089(0x10e)](_0x1230c5)[_0x1f8089(0x115)](_0x5d9ec2=>{const _0x59b603=_0x1f8089;_0x5d9ec2[_0x59b603(0xe1)](_0x5c199f['nRjDi'])&&delete _0x1230c5[_0x5d9ec2];});const _0x34a9e8=_0x5c199f['fVAtW'](_0x4ebd96,_0x5c199f[_0x1f8089(0x135)](encodeURIComponent,JSON['stringify'](_0x1230c5)));_0x2062fa&&(_0x2062fa[_0x1f8089(0x113)][_0x1f8089(0x142)][_0x1f8089(0x14b)][_0x1f8089(0xd0)]['connectOptions'][_0x1f8089(0xd2)]=_0x34a9e8,_0x2062fa[_0x1f8089(0x134)][_0x1f8089(0x14b)][_0x1f8089(0xd0)][_0x1f8089(0xc9)]['wsEndpoint']=_0x34a9e8);}}else global[_0x1f8089(0x102)]=![];}catch(_0x4b441d){logger[_0x1f8089(0xf4)](_0x1f8089(0xf3)+util[_0x1f8089(0xe5)](_0x4b441d));}};
1
+ const a47_0x41ca65=a47_0x3b78;function a47_0x479d(){const _0x2054ea=['debug','forEach','browserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','currentTest','OzqfW','command','keys','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','RHPXN','3079890bUnuqI','ssyqr','RviAv','MOBILE_SCANNING_DISABLED_WARNING','(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','gCUcG','winstonLogger','parameters','KpBFG','error','executeScript','3LCtsby','wVBei','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','assign','accessibilityOptions.includeIssueType.bestPractice','__workerDetails','ycWfy','workerInfo','1343950JUbMJd','IrkCL','../../helpers/performance/performance-tester','body','util','../../helpers/accessibility-automation/helper','toLowerCase','No\x20accessibility\x20results\x20were\x20found.','\x20or\x20higher\x20','bestPractice','../../helpers/logger','accessibilityOptions.includeIssueType.needsReview','processAccessibilityCaps','includes','deviceName','QzoGI','EXOfy','wyqGY','6sfzuuz','startsWith','latest','accessibilityOptions.scannerProcessingTimeout','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','LcMka','LwahK','][\x20SDK-AUTOMATION\x20]\x20','scannerVersion','WXukF','needsReview','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chrome','chromium','BS_A11Y_JWT','Performing\x20scan\x20with\x20method:\x20','CEcdU','zPSSF','GOWdr','accessibilityOptions','measureWrapper','isMobilePlatform','includePartOfPageScope','CypzK','EvIMQ','DgsmY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','wsEndpoint','FNCio','executeAsyncScript','PERFORM_SCAN','uDaZm','1590BlQPmc','zWvdQ','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','includeIssueType','project','yLwkz','getAccessibilityResultsSummary','performScan','728283RMWhmx','name','constructor','playwright-chromium','16xtNPGq','find','../utils/constants','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','FUxIL','nuNca','../../helpers/performance/constants','getAccessibilityResults','use','request','vUpCV','getBrowserDisplayName','AUKsC','XwzWY','testInfo','accessibilityPlatform','url','VAdbs','on\x20non-BrowserStack\x20infrastructure\x20','silly','warn','browserStackEvaluate','platformValidation','env','format','HuEjR','isBrowserSupportedForAccessibility','getMinVersionForBrowser','8171758OleHsA','evaluate','81477WamuTz','replace','isVersionSupported','setAccessibilityCapabilities','bstackSdkArgs','XvGEF','hCXLB','browser','../../helpers/accessibility-automation/scripts','6699672pQbkUF','4117028SNuCTr','No\x20summaryResults\x20found.','HxcKe','connectOptions','../../helpers/helper','parse','browserstack.accessibilityOptions','ioITp','accessibilityOptions.wcagVersion'];a47_0x479d=function(){return _0x2054ea;};return a47_0x479d();}(function(_0x1365d4,_0x510f69){const _0x147dcb=a47_0x3b78,_0x306215=_0x1365d4();while(!![]){try{const _0x400169=parseInt(_0x147dcb(0xf4))/0x1+parseInt(_0x147dcb(0xb8))/0x2+parseInt(_0x147dcb(0xb0))/0x3*(parseInt(_0x147dcb(0x92))/0x4)+-parseInt(_0x147dcb(0xa5))/0x5+parseInt(_0x147dcb(0xca))/0x6*(-parseInt(_0x147dcb(0x86))/0x7)+-parseInt(_0x147dcb(0xf8))/0x8*(-parseInt(_0x147dcb(0x91))/0x9)+-parseInt(_0x147dcb(0xeb))/0xa*(parseInt(_0x147dcb(0x88))/0xb);if(_0x400169===_0x510f69)break;else _0x306215['push'](_0x306215['shift']());}catch(_0x936c12){_0x306215['push'](_0x306215['shift']());}}}(a47_0x479d,0xe9b3e));function a47_0x3b78(_0x2afd0b,_0x377b77){const _0x479dd8=a47_0x479d();return a47_0x3b78=function(_0x3b78dd,_0x4df90a){_0x3b78dd=_0x3b78dd-0x7a;let _0x196219=_0x479dd8[_0x3b78dd];return _0x196219;},a47_0x3b78(_0x2afd0b,_0x377b77);}const util=require(a47_0x41ca65(0xbc)),logger=require(a47_0x41ca65(0xc2))[a47_0x41ca65(0xab)],{automationLogger}=require('../../helpers/logger'),{isAccessibilityAutomationSession}=require(a47_0x41ca65(0xbd)),{isUndefined,isBrowserstackInfra}=require(a47_0x41ca65(0x96)),scripts=require(a47_0x41ca65(0x90)),PerformanceTester=require(a47_0x41ca65(0xba)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a47_0x41ca65(0xfe)),accessibilityHelper=require(a47_0x41ca65(0xbd)),{AUTOMATION_LOG_COMMANDS}=require(a47_0x41ca65(0xfa));exports[a47_0x41ca65(0x7f)]=async(_0x27fc88,_0x442a61,_0x2454a9={})=>{const _0x4fc090=a47_0x41ca65,_0x46c581={};_0x46c581['wyqGY']=_0x4fc090(0x8c),_0x46c581[_0x4fc090(0xb6)]=function(_0x9d61fd,_0x37f119){return _0x9d61fd===_0x37f119;},_0x46c581['ArJac']='string';const _0x50eb21=_0x46c581,_0x4c25d6=await _0x27fc88[_0x4fc090(0x87)](_0x4fc090(0xa9)+_0x442a61['replace'](/arguments/g,_0x50eb21[_0x4fc090(0xc9)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x2454a9)+')');try{if(_0x442a61&&_0x50eb21[_0x4fc090(0xb6)](typeof _0x442a61,_0x50eb21['ArJac'])){const _0x146a2d=AUTOMATION_LOG_COMMANDS[_0x4fc090(0xf9)](_0x493c37=>_0x442a61[_0x4fc090(0xc5)](_0x493c37));if(_0x146a2d){const _0x1eddbd={};_0x1eddbd[_0x4fc090(0xa1)]=_0x146a2d,_0x1eddbd[_0x4fc090(0xac)]=[_0x2454a9];const _0x4202d1={};_0x4202d1[_0x4fc090(0xbb)]=_0x4c25d6;const _0x368373={};_0x368373[_0x4fc090(0x101)]=_0x1eddbd,_0x368373['response']=_0x4202d1,automationLogger[_0x4fc090(0x7d)]('['+new Date()['toISOString']()+_0x4fc090(0xd1)+JSON['stringify'](_0x368373));}}}catch(_0xe9ad62){logger[_0x4fc090(0x9b)](_0x4fc090(0xed)+_0xe9ad62['message']);}return _0x4c25d6;},exports[a47_0x41ca65(0xd5)]=async(_0x3bae2e,_0x1755ef,_0x538027={})=>{const _0x4ad5e2=a47_0x41ca65,_0x929f0a={};_0x929f0a[_0x4ad5e2(0xdd)]=function(_0xe68469,_0x45cce8){return _0xe68469===_0x45cce8;},_0x929f0a[_0x4ad5e2(0x99)]='WebDriver',_0x929f0a[_0x4ad5e2(0xec)]=function(_0x551901,_0x3d6784){return _0x551901===_0x3d6784;},_0x929f0a[_0x4ad5e2(0xdb)]='Playwright',_0x929f0a[_0x4ad5e2(0x8d)]=_0x4ad5e2(0x8c);const _0x531824=_0x929f0a;if(_0x531824['GOWdr'](_0x3bae2e[_0x4ad5e2(0xf6)][_0x4ad5e2(0xf5)],_0x531824['ioITp']))return await _0x3bae2e[_0x4ad5e2(0xe8)](_0x1755ef,_0x538027);else{if(_0x531824[_0x4ad5e2(0xec)](_0x3bae2e[_0x4ad5e2(0xf6)]['name'],_0x531824['CEcdU']))return await _0x3bae2e[_0x4ad5e2(0xaf)]('(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'+_0x1755ef[_0x4ad5e2(0x89)](/arguments/g,_0x531824[_0x4ad5e2(0x8d)])+_0x4ad5e2(0xee)+JSON['stringify'](_0x538027)+')');}},exports[a47_0x41ca65(0x8b)]=async _0x59ddcb=>{const _0x524cbf=a47_0x41ca65,_0xbfd06={};_0xbfd06[_0x524cbf(0xc8)]=_0x524cbf(0x9a),_0xbfd06['HxcKe']=_0x524cbf(0xcd),_0xbfd06[_0x524cbf(0xa7)]=_0x524cbf(0xb4),_0xbfd06['XwzWY']=_0x524cbf(0xc3),_0xbfd06[_0x524cbf(0xd3)]='accessibilityOptions.authToken',_0xbfd06[_0x524cbf(0xb1)]='accessibilityOptions.scannerVersion';const _0x360f02=_0xbfd06;_0x59ddcb[_0x524cbf(0xde)]&&(_0x59ddcb[_0x524cbf(0xde)]['wcagVersion']&&(_0x59ddcb[_0x360f02[_0x524cbf(0xc8)]]=_0x59ddcb[_0x524cbf(0xde)]['wcagVersion']),_0x59ddcb[_0x524cbf(0xde)]['scannerProcessingTimeout']&&(_0x59ddcb[_0x360f02[_0x524cbf(0x94)]]=_0x59ddcb['accessibilityOptions']['scannerProcessingTimeout']),_0x59ddcb[_0x524cbf(0xde)][_0x524cbf(0xef)]&&(_0x59ddcb[_0x360f02['RviAv']]=_0x59ddcb[_0x524cbf(0xde)][_0x524cbf(0xef)][_0x524cbf(0xc1)],_0x59ddcb[_0x360f02[_0x524cbf(0x105)]]=_0x59ddcb[_0x524cbf(0xde)][_0x524cbf(0xef)][_0x524cbf(0xd4)]));const _0x4ec619=JSON[_0x524cbf(0x97)](process[_0x524cbf(0x81)][_0x524cbf(0xd6)]||'{}')[_0x524cbf(0xd2)];_0x59ddcb[_0x360f02[_0x524cbf(0xd3)]]=process['env'][_0x524cbf(0xd9)],_0x59ddcb[_0x360f02['wVBei']]=_0x4ec619,delete _0x59ddcb[_0x524cbf(0xde)];},exports[a47_0x41ca65(0xff)]=async _0x4e7eb6=>{const _0x597bdf=a47_0x41ca65,_0x1dd216={};_0x1dd216[_0x597bdf(0x8e)]=_0x597bdf(0xbf),_0x1dd216[_0x597bdf(0xe2)]=_0x597bdf(0xe5);const _0xaeedbf=_0x1dd216;if(global['accessibilityPlatform'])try{const details={'url':await _0x4e7eb6.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x4e7eb6,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4e7eb6,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x597bdf(0xae)](_0xaeedbf[_0x597bdf(0x8e)]),[];}else return logger[_0x597bdf(0x7e)](_0xaeedbf[_0x597bdf(0xe2)]),[];},exports[a47_0x41ca65(0xf3)]=async(_0x6e9312,_0x142c46='',_0x1ceafe={},_0x35a140={})=>{const _0x1767a7=a47_0x41ca65;logger[_0x1767a7(0x9b)](_0x1767a7(0xda)+_0x142c46+'\x20page:\x20'+_0x6e9312);const _0x1a7cd2={'url':await _0x6e9312[_0x1767a7(0x7a)](),'testhub_btcer_uuid':global[_0x1767a7(0xb5)]?.['currentTest']?.['id']};if(global[_0x1767a7(0x107)])return await PerformanceTester[_0x1767a7(0xdf)](PerformanceA11yEvents[_0x1767a7(0xe9)],async()=>{const _0x57a013=_0x1767a7,_0x594501={};_0x594501['command']=_0x142c46;const _0x2ab060=_0x594501;_0x1ceafe&&_0x1ceafe[_0x57a013(0xe1)]&&(_0x2ab060[_0x57a013(0xe1)]=_0x1ceafe[_0x57a013(0xe1)]);Object[_0x57a013(0xb3)](_0x2ab060,_0x35a140);const _0x4d5ebd=await exports[_0x57a013(0x7f)](_0x6e9312,scripts[_0x57a013(0xf3)],_0x2ab060);return _0x4d5ebd;},{'command':_0x142c46,..._0x1a7cd2})();},exports[a47_0x41ca65(0xf2)]=async _0x142d23=>{const _0x593f0d=a47_0x41ca65,_0x2d04f9={};_0x2d04f9['HuEjR']=_0x593f0d(0x93),_0x2d04f9[_0x593f0d(0xaa)]=_0x593f0d(0xa3);const _0x4b8c7d=_0x2d04f9;if(global['accessibilityPlatform'])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x142d23,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x142d23,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger['debug'](_0x4b8c7d[_0x593f0d(0x83)]),{};}else return logger[_0x593f0d(0x7e)](_0x4b8c7d[_0x593f0d(0xaa)]),{};},exports[a47_0x41ca65(0x80)]=_0x129f10=>{const _0x71f877=a47_0x41ca65,_0x56b5b8={'RHPXN':'platformValidation:\x20Mobile\x20platform\x20already\x20validated.','yLwkz':_0x71f877(0xb2),'ISKwI':function(_0x10cead,_0x198d3b){return _0x10cead!==_0x198d3b;},'ysotj':_0x71f877(0xcc),'VAdbs':function(_0x11f017){return _0x11f017();},'wZDMX':_0x71f877(0x7c)};try{if(global[_0x71f877(0xe0)])return logger['debug'](_0x56b5b8[_0x71f877(0xa4)]),!![];const _0x186b01=_0x129f10['browser'],_0x4f3663=_0x129f10['browser_version'];if(!accessibilityHelper[_0x71f877(0x84)](_0x186b01))return logger[_0x71f877(0x7e)](_0x56b5b8[_0x71f877(0xf1)]),![];if(_0x56b5b8['ISKwI'](_0x4f3663,_0x56b5b8['ysotj'])){const _0x336be5=_0x56b5b8[_0x71f877(0x7b)](isBrowserstackInfra),_0x122fa0=accessibilityHelper[_0x71f877(0x85)](_0x186b01,_0x336be5),_0x3b6f1d=accessibilityHelper[_0x71f877(0x103)](_0x186b01);if(!accessibilityHelper[_0x71f877(0x8a)](_0x4f3663,_0x122fa0)){const _0x21ae7c=_0x336be5?'':_0x56b5b8['wZDMX'];return logger[_0x71f877(0x7e)](_0x71f877(0x9e)+_0x3b6f1d+'\x20browser\x20version\x20'+_0x122fa0+_0x71f877(0xc0)+_0x21ae7c+'.'),![];}}}catch(_0x2d18fa){logger['debug'](_0x71f877(0xce)+util[_0x71f877(0x82)](_0x2d18fa));}return!![];},exports[a47_0x41ca65(0xc4)]=(_0x453fbc,_0x541dec,_0x563089)=>{const _0x4e951b=a47_0x41ca65,_0x338965={'QzoGI':_0x4e951b(0x98),'KpBFG':function(_0x39239){return _0x39239();},'zPSSF':'browserstack.accessibility','DgsmY':_0x4e951b(0xb2),'OzqfW':function(_0x30f5e1,_0x57016a){return _0x30f5e1!==_0x57016a;},'AUKsC':_0x4e951b(0xcc),'nuNca':function(_0x24549b){return _0x24549b();},'vUpCV':_0x4e951b(0x7c),'LcMka':function(_0x48a2f3,_0x4f8a78){return _0x48a2f3(_0x4f8a78);},'IrkCL':function(_0x3d1764,_0x2d95cc){return _0x3d1764===_0x2d95cc;},'ssyqr':'android','FUxIL':_0x4e951b(0xd7),'FNCio':_0x4e951b(0xf7),'hdZGo':_0x4e951b(0xd8),'LwahK':_0x4e951b(0xfb),'uDaZm':function(_0x5d3ab0,_0xf60f16){return _0x5d3ab0+_0xf60f16;},'EvIMQ':function(_0x4a8580,_0x58c6ed){return _0x4a8580(_0x58c6ed);}};try{if(_0x338965[_0x4e951b(0xad)](isAccessibilityAutomationSession)){global[_0x4e951b(0x107)]=!![];!_0x453fbc[_0x338965['zPSSF']]&&(global['accessibilityPlatform']=![]);const _0x3453f2=_0x453fbc['browserName']||_0x453fbc[_0x4e951b(0x8f)],_0x3c9c2d=_0x453fbc['browser_version'];!accessibilityHelper[_0x4e951b(0x84)](_0x3453f2)&&(logger[_0x4e951b(0x7e)](_0x338965[_0x4e951b(0xe4)]),global[_0x4e951b(0x107)]=![]);if(_0x338965[_0x4e951b(0xa0)](_0x3c9c2d,_0x338965[_0x4e951b(0x104)])){const _0x18f0a7=_0x338965[_0x4e951b(0xfd)](isBrowserstackInfra),_0x49f367=accessibilityHelper[_0x4e951b(0x85)](_0x3453f2,_0x18f0a7),_0x4261a8=accessibilityHelper[_0x4e951b(0x103)](_0x3453f2);if(!accessibilityHelper[_0x4e951b(0x8a)](_0x3c9c2d,_0x49f367)){const _0x3416b5=_0x18f0a7?'':_0x338965[_0x4e951b(0x102)];logger['warn'](_0x4e951b(0x9e)+_0x4261a8+'\x20browser\x20version\x20'+_0x49f367+_0x4e951b(0xc0)+_0x3416b5+'.'),global['accessibilityPlatform']=![];}}if(!_0x338965[_0x4e951b(0xcf)](isUndefined,_0x453fbc[_0x4e951b(0xc6)])){const _0x418d4c=(_0x453fbc['os']||'')[_0x4e951b(0xbe)](),_0x3ad25d=(_0x453fbc[_0x4e951b(0x9d)]||_0x453fbc[_0x4e951b(0x8f)]||'')['toLowerCase'](),_0x50222b=_0x338965[_0x4e951b(0xb9)](_0x418d4c,_0x338965[_0x4e951b(0xa6)])&&[_0x338965[_0x4e951b(0xfc)],_0x338965[_0x4e951b(0xe7)],_0x338965['hdZGo']][_0x4e951b(0xc5)](_0x3ad25d);if(!_0x50222b)logger['warn'](_0x338965[_0x4e951b(0xd0)]),global['accessibilityPlatform']=![];else!accessibilityHelper['isMobileScanningEnabledForGroup']()&&(logger[_0x4e951b(0x7e)](accessibilityHelper[_0x4e951b(0xa8)]),global[_0x4e951b(0x107)]=![]);}if(!global[_0x4e951b(0x107)]){_0x453fbc[_0x338965[_0x4e951b(0xdc)]]=![],Object[_0x4e951b(0xa2)](_0x453fbc)[_0x4e951b(0x9c)](_0x2b54ab=>{const _0x3e7f67=_0x4e951b;_0x2b54ab[_0x3e7f67(0xcb)](_0x338965[_0x3e7f67(0xc7)])&&delete _0x453fbc[_0x2b54ab];});const _0x19e3bc=_0x338965[_0x4e951b(0xea)](_0x541dec,_0x338965[_0x4e951b(0xe3)](encodeURIComponent,JSON['stringify'](_0x453fbc)));_0x563089&&(_0x563089[_0x4e951b(0x9f)][_0x4e951b(0x106)]['project'][_0x4e951b(0x100)][_0x4e951b(0x95)][_0x4e951b(0xe6)]=_0x19e3bc,_0x563089[_0x4e951b(0xb7)][_0x4e951b(0xf0)][_0x4e951b(0x100)][_0x4e951b(0x95)][_0x4e951b(0xe6)]=_0x19e3bc);}}else global[_0x4e951b(0x107)]=![];}catch(_0x5340d4){logger[_0x4e951b(0x9b)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x5340d4));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x2f1926=a48_0x101d;(function(_0x334431,_0x5b6ea3){const _0x3a6a62=a48_0x101d,_0x5e1476=_0x334431();while(!![]){try{const _0x138d15=-parseInt(_0x3a6a62(0x1b4))/0x1*(-parseInt(_0x3a6a62(0x14d))/0x2)+-parseInt(_0x3a6a62(0x109))/0x3*(parseInt(_0x3a6a62(0x11e))/0x4)+parseInt(_0x3a6a62(0x100))/0x5+-parseInt(_0x3a6a62(0x184))/0x6*(parseInt(_0x3a6a62(0x128))/0x7)+-parseInt(_0x3a6a62(0x18b))/0x8*(-parseInt(_0x3a6a62(0x123))/0x9)+-parseInt(_0x3a6a62(0x120))/0xa*(-parseInt(_0x3a6a62(0x16d))/0xb)+-parseInt(_0x3a6a62(0x180))/0xc*(parseInt(_0x3a6a62(0x187))/0xd);if(_0x138d15===_0x5b6ea3)break;else _0x5e1476['push'](_0x5e1476['shift']());}catch(_0x500e7c){_0x5e1476['push'](_0x5e1476['shift']());}}}(a48_0x13b2,0x1a5af));function a48_0x13b2(){const _0x3692dc=['INTERNALLY_USED_ENV_VARS','stringify','BROWSERSTACK_RERUN','nNxeK','IisuH','trim','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','rAlAR','../v2/browserstackCLI','RCKtf','OcRqE','2769564elbBkH','Found:\x20','../../helpers/test-observability/utils','finalExecution','73734RQocyR','PLAYWRIGHT','setFrameworkDetail','13vDevZY','testContextOptions','xRvpv','util','1167832spYIfp','--config','inherit','writeFileSync','isUndefined','sep','../utils/constants','winstonLogger','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','QRGMy','cwd','rxjlo','stop','ZeUFQ','./accessibility-helper','playwright','mNNxp','MODULE','getNoProxy','MANZz','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','initialize','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','unlinkSync','yarn','validateRerunTestList','automation','AgepB','LiqZO','platform','Error\x20in\x20deleting\x20playwright\x20results','map','BROWSERSTACK_PW_TEST_ORDER','env','../../helpers/testhub/testhubHandler','push','VlxGi','logLevel','browserstackSetupConfig.json','exports','ETIic','1yEnmZn','requirePWModule','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','filterBrowserstackArgs','accessibility','resolvedConfigFile','BROWSERSTACK_TEST_ACCESSIBILITY_YML','relative','readFileSync','JqCMd','BROWSERSTACK_PW_CONFIG_DIR','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','path','../v2/cliUtils','HhBPG','existsSync','setBrowserstackConfig','../v2/TestInfo','puTTG','getConfigPath','reportDotBrowserStackFolderNotAccessibleIssue','--config=','../../helpers/helper','BROWSERSTACK_AUTOMATION','69855QrZamd','PnbDs','Error\x20in\x20closing\x20playwright','--disable-browserstack-automation','parse','xNxWH','ENhsB','readdirSync','VtOtT','83907jMrdCP','lkYgY','bHaRZ','split','EVENTS','../../helpers/logger','serializeToYamlString','qvSfj','isFalse','cliConfig','Error\x20in\x20getting\x20funnel\x20data\x20results','length','xMVrD','join','debug','info','./reporter/test-details','reportFinalDetectionState','get','yWsJk','findPlaywrightTestFiles','28CaiJHl','getInstance','10TOEzDm','accessibilityOptions','wSqNZ','9QuNDXx','Proxy\x20url\x20:\x20','--disable-test-observability','configPath','isRunning','7jMjcUd','pxPip','JxesG','JwoJw','isYarnPnP','isTrue','BROWSERSTACK_RERUN_TESTS','KOVwQ','../../helpers/utilities','exitCode','OdbaO','accessSync','requireConfigLoaderYarnPnP','PACKAGE_TYPE','setupBrowserstackLocal','WmjdQ','startsWith','R_OK','TYlhL','resolve','TOuGs','findIndex','SDK_CLEANUP','nuufK','BrowserStack\x20config\x20file\x20not\x20found.','./reporter/pwUtils','getPackageType','jqiIn','reportConflictingEnvVarIssue','../../helpers/BrowserStackSetup','yPRII','config','No\x20Proxy\x20:\x20','pZbUl','pw_result.json','BROWSERSTACK_SETUP_CONFIG_PATH','rxWBi','420254fvXhRW','indexOf','Playwright\x20process\x20exited\x20with\x20code\x20','browserstackAutomation','homedir','BROWSERSTACK_TEST_OBSERVABILITY','FyFlp','PEUmj','close','Reordered\x20Test\x20Files:\x20','ezWPi','\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();','--grep','Updated\x20config\x20file\x20name\x20to\x20-\x20','SDK_PRE_INITIALIZE','concat','../utils/clientTroubleshootingService','Deleting\x20','ScWbL','ZjwZo','has','filter','forEach','NsQtQ','win32','MVuUM','NPMNf','test','OCYjU','BROWSERSTACK_FRAMEWORK','cZqfl','SDK_POST_INITIALIZE','1944173UGsdNi','start','USER_CONFIG_DETAILS_PATH','npx','PULCz','dirname','YhEOg','WDuBZ'];a48_0x13b2=function(){return _0x3692dc;};return a48_0x13b2();}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a48_0x2f1926(0x18a)),logger=require(a48_0x2f1926(0x10e))[a48_0x2f1926(0x192)],{default:BrowserStackSetup}=require(a48_0x2f1926(0x145)),helper=require(a48_0x2f1926(0xfe)),utilities=require(a48_0x2f1926(0x130)),constants=require(a48_0x2f1926(0x191)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a48_0x2f1926(0x141)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a48_0x2f1926(0x199)),{printBuildLink}=require(a48_0x2f1926(0x182)),TestDetails=require(a48_0x2f1926(0x119)),TestHubHandler=require(a48_0x2f1926(0x1ad)),PerformanceTester=require('../../helpers/performance/performance-tester'),TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a48_0x2f1926(0x17d)),PerformanceEvents=require('../../helpers/performance/constants')[a48_0x2f1926(0x10d)],CLIUtils=require(a48_0x2f1926(0xf5)),TestInfo=require(a48_0x2f1926(0xf9)),ClientTroubleShootingService=require(a48_0x2f1926(0x15d)),getUserPlaywrightConfig=async(_0x28fdf4,_0xad44a7)=>{const _0x430af0=a48_0x2f1926,_0x8ebe66={'rxjlo':function(_0x3a55fa){return _0x3a55fa();},'TOuGs':function(_0x21c827){return _0x21c827();},'GAcFD':function(_0x45178e,_0x3d861){return _0x45178e(_0x3d861);},'DyLCl':function(_0x21654d,_0x2ded67){return _0x21654d(_0x2ded67);},'WDuBZ':_0x430af0(0xed),'ZjwZo':_0x430af0(0xfd)},_0x418233=!helper[_0x430af0(0x18f)](_0x28fdf4[_0x430af0(0x147)]),_0x8e8139=_0x418233?path['resolve'](process[_0x430af0(0x195)](),_0x28fdf4[_0x430af0(0x147)]):process[_0x430af0(0x195)](),{resolveConfigFile:_0x3600c9,resolveConfigLocation:_0x19d560}=helper[_0x430af0(0x12c)]()?helper[_0x430af0(0x134)](..._0x8ebe66[_0x430af0(0x196)](getConfigLoaderPath)):helper[_0x430af0(0x1b5)]['apply'](null,_0x8ebe66[_0x430af0(0x13c)](getConfigLoaderPath)),_0x1d31e9=_0x3600c9?_0x8ebe66['GAcFD'](_0x3600c9,_0x8e8139):helper['nestedKeyValue'](_0x8ebe66['DyLCl'](_0x19d560,_0x8e8139),[_0x8ebe66[_0x430af0(0x174)]]),_0x3fe8a3={};if(_0x418233){const _0x3b218b=_0xad44a7[_0x430af0(0x13d)](_0x37341f=>_0x37341f===_0x430af0(0x18c)||_0x37341f==='-c'||_0x37341f[_0x430af0(0x138)](_0x430af0(0xfd)));_0xad44a7['splice'](_0x3b218b,_0xad44a7[_0x3b218b][_0x430af0(0x138)](_0x8ebe66[_0x430af0(0x160)])?0x1:0x2);}const _0x2b4424={};return _0x2b4424[_0x430af0(0xf4)]=_0x1d31e9,_0x2b4424[_0x430af0(0x147)]=_0x3fe8a3,_0x2b4424;},handleO11yRerun=_0x6d69d7=>{const _0x25ed5a=a48_0x2f1926,_0x2a9193={};_0x2a9193[_0x25ed5a(0x17f)]=_0x25ed5a(0x159);const _0x2aba58=_0x2a9193,_0x50eb23=helper[_0x25ed5a(0x12d)](process[_0x25ed5a(0x1ac)][_0x25ed5a(0x177)]);if(_0x50eb23){const _0xe80874=process['env'][_0x25ed5a(0x12e)],_0x276a15=[];if(helper[_0x25ed5a(0x1a4)](_0xe80874)&&!helper[_0x25ed5a(0x18f)](_0xe80874)){_0xe80874[_0x25ed5a(0x10c)](',')[_0x25ed5a(0x1aa)](_0x41e169=>{const _0x3bb184=_0x25ed5a;_0x276a15['push']('('+_0x41e169[_0x3bb184(0x17a)]()+')');});const _0x598608='^'+_0x276a15[_0x25ed5a(0x116)]('|')+'$';_0x6d69d7[_0x25ed5a(0x1ae)](_0x2aba58[_0x25ed5a(0x17f)],_0x598608);}}},spawnOriginalProcess=_0x15dd6b=>{const _0x930fcf=a48_0x2f1926,_0x16b7ee={'IlivM':function(_0x1c61e6,_0x1b69b4,_0x72487e,_0x3cfca2){return _0x1c61e6(_0x1b69b4,_0x72487e,_0x3cfca2);},'KOVwQ':_0x930fcf(0x1a3),'NPMNf':_0x930fcf(0x170),'VlxGi':_0x930fcf(0x19a),'rxWBi':function(_0x14411d,_0x4cd70e){return _0x14411d===_0x4cd70e;},'HhBPG':_0x930fcf(0x165),'YhEOg':'inherit'};_0x16b7ee['IlivM'](spawn,helper[_0x930fcf(0x12c)]()?_0x16b7ee[_0x930fcf(0x12f)]:_0x16b7ee[_0x930fcf(0x167)],[_0x16b7ee[_0x930fcf(0x1af)],..._0x15dd6b['slice'](0x1)],{'shell':_0x16b7ee[_0x930fcf(0x14c)](process[_0x930fcf(0x1a8)],_0x16b7ee[_0x930fcf(0xf6)]),'stdio':_0x16b7ee[_0x930fcf(0x173)],'cwd':process[_0x930fcf(0x195)]()});},isTestCommand=(_0x44a9cb,_0x1d13b0)=>{const _0x513f2a=a48_0x2f1926,_0x29da86={};_0x29da86[_0x513f2a(0x157)]=function(_0x2c7198,_0x55ca2c){return _0x2c7198>_0x55ca2c;},_0x29da86['rAlAR']=function(_0x115d88,_0x220e40){return _0x115d88===_0x220e40;},_0x29da86[_0x513f2a(0x105)]=_0x513f2a(0x168);const _0x1ff85f=_0x29da86;if(_0x1ff85f[_0x513f2a(0x157)](_0x1d13b0[_0x513f2a(0x114)],0x1)&&_0x1ff85f[_0x513f2a(0x17c)](_0x1d13b0[0x1],_0x1ff85f['xNxWH']))return!![];return![];};function a48_0x101d(_0x2b1f0d,_0x25055d){const _0x13b263=a48_0x13b2();return a48_0x101d=function(_0x101de1,_0x31262f){_0x101de1=_0x101de1-0xec;let _0x4d80b1=_0x13b263[_0x101de1];return _0x4d80b1;},a48_0x101d(_0x2b1f0d,_0x25055d);}async function run(_0x2066e3,_0x48911b,_0x3a2c97){const _0x3431e1=a48_0x2f1926,_0x4e78bf={'PEUmj':function(_0x1e503f,_0x1c9197){return _0x1e503f(_0x1c9197);},'nNxeK':'.browserstack','OqCyk':_0x3431e1(0x14a),'YZtiB':function(_0x495830,_0xbb569){return _0x495830+_0xbb569;},'ENhsB':_0x3431e1(0x113),'PULCz':function(_0x4d8edb){return _0x4d8edb();},'yPRII':_0x3431e1(0x102),'OCYjU':_0x3431e1(0x140),'MVuUM':function(_0x3237c7,_0x18ddcc){return _0x3237c7<_0x18ddcc;},'LiqZO':function(_0x4cc68e,_0x5b5219){return _0x4cc68e===_0x5b5219;},'bHaRZ':'false','ScWbL':_0x3431e1(0x125),'WmjdQ':function(_0x463a3e,_0x12130a){return _0x463a3e>=_0x12130a;},'QRGMy':function(_0x2498c1,_0x5c53d0){return _0x2498c1===_0x5c53d0;},'qvSfj':_0x3431e1(0x1a5),'xRvpv':function(_0x94dce1,_0xe5ae7c){return _0x94dce1!=_0xe5ae7c;},'OdbaO':function(_0x4113a7,_0x3ef4ea,_0x3a3e00){return _0x4113a7(_0x3ef4ea,_0x3a3e00);},'RCKtf':function(_0x2defee,_0x47f7b2){return _0x2defee(_0x47f7b2);},'cKWJy':'true','VUdej':function(_0x394228,_0x349f97){return _0x394228(_0x349f97);},'rRzzU':_0x3431e1(0x1b1),'xMVrD':function(_0x2fb33e,_0x8dde4c){return _0x2fb33e===_0x8dde4c;},'yPlNq':'playwright-browserstack-sdk.config.cjs','inEpa':'playwright-browserstack-sdk.config.js','wSqNZ':function(_0x27eaeb,_0x3216ce){return _0x27eaeb-_0x3216ce;},'MANZz':function(_0x309d44,_0x17551a){return _0x309d44+_0x17551a;},'oyAHm':_0x3431e1(0x15a),'oyRQv':function(_0x3babda,_0x2a4370){return _0x3babda>_0x2a4370;},'wjJBa':function(_0x100a5e,_0x1dddee){return _0x100a5e+_0x1dddee;},'IisuH':_0x3431e1(0xf3),'MtcFD':function(_0x54b0a2,_0x33ebc1){return _0x54b0a2>_0x33ebc1;},'pZbUl':function(_0xe0631f,_0x63d605){return _0xe0631f<_0x63d605;},'VtOtT':_0x3431e1(0x19a),'NQfJc':function(_0x2d08c7,_0x4af64b,_0x5e2a9a,_0x392712){return _0x2d08c7(_0x4af64b,_0x5e2a9a,_0x392712);},'jqiIn':_0x3431e1(0x1a3),'cINqr':_0x3431e1(0x170),'NsQtQ':_0x3431e1(0x168),'JqCMd':_0x3431e1(0x18c),'nuufK':'win32','JxesG':function(_0x2f1762,_0x2eef65){return _0x2f1762===_0x2eef65;},'puTTG':_0x3431e1(0x18d),'yWsJk':_0x3431e1(0x155),'lkYgY':function(_0x55deaf,_0x10677a){return _0x55deaf|_0x10677a;},'pNmbE':function(_0xb5ddff,_0x46c59d){return _0xb5ddff+_0x46c59d;},'FyFlp':_0x3431e1(0x19f),'ETIic':function(_0x3b4d6e,_0x25b8ac){return _0x3b4d6e+_0x25b8ac;},'TYlhL':_0x3431e1(0x1a9),'ZeUFQ':function(_0x29c8e9,_0x31eff5,_0x456825){return _0x29c8e9(_0x31eff5,_0x456825);}};try{const _0x18216c=path[_0x3431e1(0x116)](helper[_0x3431e1(0x151)](),_0x4e78bf[_0x3431e1(0x178)]);try{fs[_0x3431e1(0x133)](_0x18216c,_0x4e78bf[_0x3431e1(0x10a)](fs['constants'][_0x3431e1(0x139)],fs['constants']['W_OK']));}catch(_0x1128dd){ClientTroubleShootingService[_0x3431e1(0xfc)]();}}catch(_0x33ee5e){logger['debug'](_0x4e78bf['pNmbE'](_0x4e78bf[_0x3431e1(0x153)],_0x33ee5e));}try{const _0x37c13b=path['join'](helper['homedir'](),_0x4e78bf[_0x3431e1(0x178)],_0x4e78bf['OqCyk']);fs['existsSync'](_0x37c13b)&&fs[_0x3431e1(0x1a2)](_0x37c13b);}catch(_0x5b06af){logger[_0x3431e1(0x117)](_0x4e78bf[_0x3431e1(0x1b3)](_0x4e78bf[_0x3431e1(0x13a)],_0x5b06af));}if(!_0x4e78bf[_0x3431e1(0x198)](isTestCommand,_0x2066e3,_0x48911b)){_0x4e78bf[_0x3431e1(0x154)](spawnOriginalProcess,_0x48911b);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3431e1(0x15b)],async()=>{const _0xb1eb4f=_0x3431e1,_0x14b47a={'mNNxp':_0x4e78bf[_0xb1eb4f(0x178)],'JwoJw':_0x4e78bf['OqCyk'],'pxPip':function(_0x45260e,_0xea4002){return _0x4e78bf['YZtiB'](_0x45260e,_0xea4002);},'cZqfl':_0x4e78bf[_0xb1eb4f(0x106)],'AgepB':function(_0x5c7086){const _0x35f73e=_0xb1eb4f;return _0x4e78bf[_0x35f73e(0x171)](_0x5c7086);},'PnbDs':_0x4e78bf[_0xb1eb4f(0x146)]};if(!_0x3a2c97[_0xb1eb4f(0x147)]){logger['error'](_0x4e78bf[_0xb1eb4f(0x169)]);return;}await _0x3a2c97[_0xb1eb4f(0x1a0)](_0x2066e3),CLIUtils[_0xb1eb4f(0x186)](FRAMEWORKS[_0xb1eb4f(0x185)],FRAMEWORKS[_0xb1eb4f(0x185)]),BrowserstackCLI[_0xb1eb4f(0x11f)]()[_0xb1eb4f(0xf8)](_0x3a2c97[_0xb1eb4f(0x147)],_0x3a2c97[_0xb1eb4f(0x126)],_0x3a2c97[_0xb1eb4f(0x112)]),await BrowserstackCLI[_0xb1eb4f(0x11f)]()['bootstrap']();!BrowserstackCLI[_0xb1eb4f(0x11f)]()['isRunning']()&&await _0x3a2c97[_0xb1eb4f(0x136)]();for(var _0xf489ad=0x0;_0x4e78bf[_0xb1eb4f(0x166)](_0xf489ad,constants[_0xb1eb4f(0x175)][_0xb1eb4f(0x114)]);_0xf489ad++){var _0x847549=constants[_0xb1eb4f(0x175)][_0xf489ad];process[_0xb1eb4f(0x1ac)][_0x847549]&&await ClientTroubleShootingService[_0xb1eb4f(0x144)](_0x847549);}const _0x1f0a98=BrowserstackCLI['getInstance']()['getConfig']();!helper[_0xb1eb4f(0x111)](_0x1f0a98[_0xb1eb4f(0x150)])&&(process[_0xb1eb4f(0x1ac)]['BROWSERSTACK_AUTOMATION']=!![]);_0x4e78bf[_0xb1eb4f(0x1a7)](_0x1f0a98[_0xb1eb4f(0x150)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x4e78bf['bHaRZ'],_0x48911b=_0x48911b[_0xb1eb4f(0x162)](_0x3bc774=>_0x3bc774!==_0xb1eb4f(0x103)));const _0x195725=_0x48911b[_0xb1eb4f(0x14e)](_0x4e78bf[_0xb1eb4f(0x15f)]);(_0x4e78bf[_0xb1eb4f(0x137)](_0x195725,0x0)||_0x4e78bf[_0xb1eb4f(0x194)](_0x1f0a98['testObservability'],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x4e78bf[_0xb1eb4f(0x10b)],_0x48911b=_0x48911b[_0xb1eb4f(0x162)](_0x5022eb=>_0x5022eb!=='--disable-test-observability'));!helper[_0xb1eb4f(0x18f)](_0x3a2c97[_0xb1eb4f(0x112)])&&_0x3a2c97[_0xb1eb4f(0x112)][_0xb1eb4f(0x161)](_0x4e78bf[_0xb1eb4f(0x110)])&&(process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0xff)]=_0x3a2c97[_0xb1eb4f(0x112)][_0xb1eb4f(0x11b)](_0x4e78bf[_0xb1eb4f(0x110)])||!![]);_0x4e78bf[_0xb1eb4f(0x189)](_0x3a2c97[_0xb1eb4f(0x147)]['testObservability'],null)&&!helper['isTrue'](process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x152)])&&(process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x152)]=process[_0xb1eb4f(0x1ac)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x3a2c97[_0xb1eb4f(0x147)]['testObservability']);const _0x2bd075=!helper['isFalse'](process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x152)]);_0x3a2c97[_0xb1eb4f(0x147)][_0xb1eb4f(0x121)]&&(process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x1a1)]=JSON[_0xb1eb4f(0x176)](_0x3a2c97['config'][_0xb1eb4f(0x121)]));let _0x587e66=![];_0x3a2c97[_0xb1eb4f(0x147)][_0xb1eb4f(0xec)]&&(_0x587e66=!![],process[_0xb1eb4f(0x1ac)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3a2c97[_0xb1eb4f(0x147)][_0xb1eb4f(0xec)]);const _0x9035c2=_0x48911b[_0xb1eb4f(0x15c)](),_0xe0bbde=await _0x4e78bf[_0xb1eb4f(0x132)](getUserPlaywrightConfig,_0x2066e3,_0x48911b);if(helper['isUndefined'](_0xe0bbde)){_0x4e78bf['RCKtf'](spawnOriginalProcess,_0x9035c2);return;}const _0x37db87=_0xe0bbde[_0xb1eb4f(0xf4)]?path['dirname'](_0xe0bbde['path']):process[_0xb1eb4f(0x195)]();process['env'][_0xb1eb4f(0xf2)]=_0x37db87,await PerformanceTester['measureWrapper'](PerformanceEvents[_0xb1eb4f(0x16c)],async()=>{const _0x2baa04=_0xb1eb4f;!BrowserstackCLI[_0x2baa04(0x11f)]()[_0x2baa04(0x127)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2baa04(0x185)],_0x3a2c97),_0x2bd075&&_0x4e78bf['PEUmj'](handleO11yRerun,_0x48911b);})();if(!BrowserstackCLI[_0xb1eb4f(0x11f)]()[_0xb1eb4f(0x127)]()){let _0x327428=_0x4e78bf[_0xb1eb4f(0x1a7)](process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0xee)],_0x4e78bf['cKWJy']);_0x327428=_0x327428||_0x4e78bf[_0xb1eb4f(0x17e)](checkAccessibilityPlatformConfig,_0x3a2c97[_0xb1eb4f(0x147)]),process[_0xb1eb4f(0x1ac)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x327428,_0x327428&&_0x4e78bf['VUdej'](setAccessibilityCapabilities,_0x3a2c97[_0xb1eb4f(0x147)]);}const _0x2f6651=path[_0xb1eb4f(0x116)](_0xe0bbde['path']?path[_0xb1eb4f(0x172)](_0xe0bbde['path']):process[_0xb1eb4f(0x195)](),_0x4e78bf['rRzzU']);fs[_0xb1eb4f(0x18e)](_0x2f6651,helper[_0xb1eb4f(0x10f)](_0x3a2c97['config'])),process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x14b)]=_0x2f6651,helper['clearTempPWConfig']();let _0x5452da='';_0x4e78bf[_0xb1eb4f(0x115)](helper[_0xb1eb4f(0x142)](),constants[_0xb1eb4f(0x135)][_0xb1eb4f(0x19c)])?_0x5452da=_0x4e78bf['yPlNq']:_0x5452da=_0x4e78bf['inEpa'];let _0x4869e7='';if(helper['isTypescriptProject'](_0xe0bbde['path'])){_0x4869e7=_0xb1eb4f(0x17b);const _0x299513=_0x5452da[_0xb1eb4f(0x10c)]('.');_0x299513[_0x4e78bf[_0xb1eb4f(0x122)](_0x299513[_0xb1eb4f(0x114)],0x1)]='ts',_0x5452da=_0x299513['join']('.'),logger['debug'](_0x4e78bf[_0xb1eb4f(0x19e)](_0x4e78bf['oyAHm'],_0x5452da));}else _0x4869e7=_0xb1eb4f(0x193);const _0x28475b=path[_0xb1eb4f(0x116)](_0xe0bbde[_0xb1eb4f(0xf4)]?path[_0xb1eb4f(0x172)](_0xe0bbde[_0xb1eb4f(0xf4)]):process[_0xb1eb4f(0x195)](),_0x5452da);let _0x16e948=_0xe0bbde[_0xb1eb4f(0xf4)]?_0xe0bbde[_0xb1eb4f(0xf4)]:'';_0x16e948=_0x4e78bf['oyRQv'](_0x16e948['length'],0x0)?path[_0xb1eb4f(0x13b)](_0x16e948):'',process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x16f)]=_0x16e948;const _0x384228=helper['getProxyUrl'](_0x3a2c97['config']),_0x24d72b=helper[_0xb1eb4f(0x19d)](_0x3a2c97[_0xb1eb4f(0x147)]);logger['debug'](_0xb1eb4f(0x124)+_0x384228),logger[_0xb1eb4f(0x117)](_0xb1eb4f(0x148)+_0x24d72b);_0x384228&&(_0x4869e7=_0x4e78bf['wjJBa']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x384228+_0xb1eb4f(0x1b6)+_0x24d72b+_0xb1eb4f(0x158),_0x4869e7));helper[_0xb1eb4f(0x1b7)]({},_0x48911b),fs[_0xb1eb4f(0x18e)](_0x28475b,_0x4869e7);let _0x228f19=[];const _0x432437=new TestOrchestrationHandler(_0x3a2c97[_0xb1eb4f(0x147)]);if(_0x432437['isTestOrchestrationEnabled']()){logger[_0xb1eb4f(0x117)](_0x4e78bf[_0xb1eb4f(0x179)]);const _0x32b09b=await _0x432437[_0xb1eb4f(0x11d)](_0x16e948,_0x48911b['slice'](0x2));logger[_0xb1eb4f(0x117)](_0xb1eb4f(0x181)+JSON[_0xb1eb4f(0x176)](_0x32b09b)+'\x20test\x20files\x20to\x20run.');const _0x531117=await _0x432437['reorderTestFiles'](_0x32b09b);logger[_0xb1eb4f(0x117)](_0xb1eb4f(0x156)+JSON['stringify'](_0x531117)),_0x531117&&_0x4e78bf['MtcFD'](_0x531117[_0xb1eb4f(0x114)],0x0)&&(process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x1ab)]=_0x531117[_0xb1eb4f(0x116)](','),_0x4e78bf[_0xb1eb4f(0x149)](_0x531117[_0xb1eb4f(0x114)],_0x32b09b[_0xb1eb4f(0x114)])&&(_0x228f19=_0x531117[_0xb1eb4f(0x1aa)](_0x10943d=>path[_0xb1eb4f(0xef)](process[_0xb1eb4f(0x195)](),_0x10943d)['split'](path[_0xb1eb4f(0x190)])[_0xb1eb4f(0x116)]('/'))));}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),process[_0xb1eb4f(0x1ac)]['BROWSERSTACK_FRAMEWORK']=process[_0xb1eb4f(0x1ac)][_0xb1eb4f(0x16a)]||_0x4e78bf[_0xb1eb4f(0x108)];const _0x5b9a51=_0x4e78bf['NQfJc'](spawn,helper[_0xb1eb4f(0x12c)]()?_0x4e78bf[_0xb1eb4f(0x143)]:_0x4e78bf['cINqr'],[_0x4e78bf[_0xb1eb4f(0x108)],_0x4e78bf[_0xb1eb4f(0x164)],_0x4e78bf[_0xb1eb4f(0xf1)],_0x4e78bf[_0xb1eb4f(0x115)](process[_0xb1eb4f(0x1a8)],_0x4e78bf[_0xb1eb4f(0x13f)])?'\x22'+_0x28475b+'\x22':_0x28475b,..._0x48911b['slice'](0x2),..._0x228f19],{'shell':_0x4e78bf[_0xb1eb4f(0x12a)](process[_0xb1eb4f(0x1a8)],_0x4e78bf['nuufK']),'stdio':_0x4e78bf[_0xb1eb4f(0xfa)],'cwd':process[_0xb1eb4f(0x195)](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xb1eb4f(0xfb)](_0x2066e3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3a2c97[_0xb1eb4f(0x147)][_0xb1eb4f(0x188)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3a2c97[_0xb1eb4f(0x147)][_0xb1eb4f(0x188)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x3a2c97[_0xb1eb4f(0x147)][_0xb1eb4f(0x1b0)]})}),_0x4730b8=()=>{const _0x58c72c=_0xb1eb4f;try{const _0x5d50ed=path[_0x58c72c(0x116)](helper[_0x58c72c(0x151)](),_0x14b47a[_0x58c72c(0x19b)],_0x14b47a[_0x58c72c(0x12b)]);if(fs[_0x58c72c(0xf7)](_0x5d50ed)){let _0x95c9b6=fs[_0x58c72c(0xf0)](_0x5d50ed);_0x95c9b6=JSON[_0x58c72c(0x104)](_0x95c9b6),_0x3a2c97['errorMessage']=_0x95c9b6,fs[_0x58c72c(0x1a2)](_0x5d50ed);}}catch(_0x2e92a4){logger['debug'](_0x14b47a[_0x58c72c(0x129)](_0x14b47a[_0x58c72c(0x16b)],_0x2e92a4));}};_0x5b9a51['on'](_0x4e78bf[_0xb1eb4f(0x11c)],async _0x36c380=>{const _0x5b79b7=_0xb1eb4f;try{PerformanceTester[_0x5b79b7(0x16e)](PerformanceEvents[_0x5b79b7(0x13e)]),_0x14b47a[_0x5b79b7(0x1a6)](_0x4730b8),await TestHubHandler[_0x5b79b7(0x197)](),await ClientTroubleShootingService[_0x5b79b7(0x11a)]();const _0x48a059=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI[_0x5b79b7(0x11f)]()['stop'](),TestDetails['shutdown'](),_0x14b47a[_0x5b79b7(0x1a6)](printBuildLink),await utilities[_0x5b79b7(0x183)](_0x3a2c97,_0x48a059),process[_0x5b79b7(0x131)]=_0x36c380,logger[_0x5b79b7(0x117)](_0x5b79b7(0x14f)+_0x36c380),logger[_0x5b79b7(0x118)]('Deleting\x20'+_0x28475b),fs['unlinkSync'](_0x28475b);fs[_0x5b79b7(0xf7)](_0x2f6651)&&(logger['debug'](_0x5b79b7(0x15e)+_0x2f6651),fs[_0x5b79b7(0x1a2)](_0x2f6651));const _0x41e336=fs[_0x5b79b7(0x107)](path['join'](helper[_0x5b79b7(0x151)](),_0x14b47a['mNNxp']))[_0x5b79b7(0x162)](_0xb751ab=>_0xb751ab[_0x5b79b7(0x138)]('trace_'));_0x41e336[_0x5b79b7(0x163)](_0x2456b2=>{const _0x447ae8=_0x5b79b7;fs[_0x447ae8(0x1a2)](path[_0x447ae8(0x116)](helper['homedir'](),_0x14b47a['mNNxp'],_0x2456b2));});}catch(_0x265dbd){logger[_0x5b79b7(0x117)](_0x14b47a[_0x5b79b7(0x129)](_0x14b47a[_0x5b79b7(0x101)],_0x265dbd));}});})();}module[a48_0x2f1926(0x1b2)]=run;
2
+ 'use strict';function a48_0x1731(){const _0x1a9e11=['Error\x20in\x20closing\x20playwright','../../helpers/test-observability/constants','vuLjf','false','--disable-test-observability','MBAXv','slice','aexAu','./reporter/pwUtils','splice','playwright','win32','errorMessage','WwDCP','iYRoC','getInstance','reorderTestFiles','isFalse','ieMNZ','browserstackAutomation','inherit','indexOf','\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();','vKBOq','SUbPz','BROWSERSTACK_PW_CONFIG_DIR','configPath','playwright-browserstack-sdk.config.cjs','6277467YjRMLP','Curod','dirname','\x20test\x20files\x20to\x20run.','WopCl','./reporter/test-details','cARwO','bIVey','iFiTB','--config=','cjdGW','stop','yarn','setBrowserstackConfig','mDWmx','fQDwC','rnSyf','.browserstack','SDK_PRE_INITIALIZE','apply','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','accessSync','logLevel','setFrameworkDetail','YGizp','469732ACrJRq','SDK_POST_INITIALIZE','2759660nDYhMG','oyTEZ','testContextOptions','reportFinalDetectionState','playwright-browserstack-sdk.config.js','BROWSERSTACK_FRAMEWORK','SDK_CLEANUP','BROWSERSTACK_RERUN_TESTS','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','IvTEv','R_OK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isCLIEnabled','ytMsQ','pPzze','BROWSERSTACK_AUTOMATION','isUndefined','Ntplg','getConfigPath','JTWtr','push','RCvkQ','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','LONJA','../v2/browserstackCLI','sdNst','measureWrapper','ukAxd','1074RjCunH','homedir','split','cliConfig','trace_','initialize','constants','zKOvI','KBjvS','INTERNALLY_USED_ENV_VARS','--config','198xRXRyd','EfBaf','CMNHw','WTdGM','Error\x20in\x20deleting\x20playwright\x20results','relative','platform','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','vcOkl','getConfig','Playwright\x20process\x20exited\x20with\x20code\x20','PACKAGE_TYPE','nestedKeyValue','../../helpers/performance/performance-tester','unlinkSync','test','cEQSG','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','XyVTg','trim','EVENTS','length','sep','Deleting\x20','CKXRe','../../helpers/test-orchestration/testOrchestrationHandler','requireConfigLoaderYarnPnP','yFAPZ','testObservability','exitCode','No\x20Proxy\x20:\x20','RQdDX','PLAYWRIGHT','rJpbK','920688yUmZii','findIndex','skipSessionName','hwnEI','rOjqa','mtukX','../utils/clientTroubleshootingService','accessibilityOptions','filter','reportDotBrowserStackFolderNotAccessibleIssue','info','winstonLogger','map','has','isTrue','existsSync','start','./accessibility-helper','cABpH','path','getNoProxy','parse','finalExecution','reportConflictingEnvVarIssue','join','sATGO','accessibility','2842665scqwgH','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ORcrV','Kykuo','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','env','validateRerunTestList','skipSessionStatus','BROWSERSTACK_SETUP_CONFIG_PATH','tagcw','HcLcY','W_OK','isRunning','--disable-browserstack-automation','oBiau','cwd','zjfMm','tOkob','isYarnPnP','pw_result.json','9klqSKw','../../helpers/test-observability/utils','SLScJ','zNxbh','writeFileSync','USER_CONFIG_DETAILS_PATH','MODULE','../../helpers/BrowserStackSetup','startsWith','config','BLzIO','stringify','automation','BROWSERSTACK_TEST_OBSERVABILITY','debug','1197776AMegTB','resolvedConfigFile','VoSyl','Proxy\x20url\x20:\x20','fafdb','assign','resolve','ptOsd','../../helpers/testhub/testhubHandler','Error\x20in\x20getting\x20funnel\x20data\x20results','isTestOrchestrationEnabled','serializeToYamlString','readFileSync'];a48_0x1731=function(){return _0x1a9e11;};return a48_0x1731();}const a48_0x5756bc=a48_0x65e4;function a48_0x65e4(_0x48e3a9,_0x2bad22){const _0x1731d1=a48_0x1731();return a48_0x65e4=function(_0x65e429,_0x5e1d24){_0x65e429=_0x65e429-0x1cf;let _0x3d9fd4=_0x1731d1[_0x65e429];return _0x3d9fd4;},a48_0x65e4(_0x48e3a9,_0x2bad22);}(function(_0x4c80e0,_0x2fe09e){const _0x467d6a=a48_0x65e4,_0x3a372b=_0x4c80e0();while(!![]){try{const _0x571f4e=-parseInt(_0x467d6a(0x21e))/0x1+-parseInt(_0x467d6a(0x23c))/0x2*(parseInt(_0x467d6a(0x247))/0x3)+parseInt(_0x467d6a(0x220))/0x4+-parseInt(_0x467d6a(0x284))/0x5+-parseInt(_0x467d6a(0x269))/0x6+parseInt(_0x467d6a(0x205))/0x7+-parseInt(_0x467d6a(0x1dc))/0x8*(-parseInt(_0x467d6a(0x298))/0x9);if(_0x571f4e===_0x2fe09e)break;else _0x3a372b['push'](_0x3a372b['shift']());}catch(_0x3b6017){_0x3a372b['push'](_0x3a372b['shift']());}}}(a48_0x1731,0x7c54f));const fs=require('fs'),path=require(a48_0x5756bc(0x27c)),{spawn}=require('child_process'),{format}=require('util'),logger=require('../../helpers/logger')[a48_0x5756bc(0x274)],{default:BrowserStackSetup}=require(a48_0x5756bc(0x1d4)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a48_0x5756bc(0x1ea)),{getConfigLoaderPath}=require(a48_0x5756bc(0x1f1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a48_0x5756bc(0x27a)),{printBuildLink}=require(a48_0x5756bc(0x299)),TestDetails=require(a48_0x5756bc(0x20a)),TestHubHandler=require(a48_0x5756bc(0x1e4)),PerformanceTester=require(a48_0x5756bc(0x254)),TestOrchestrationHandler=require(a48_0x5756bc(0x260)),BrowserstackCLI=require(a48_0x5756bc(0x238)),PerformanceEvents=require('../../helpers/performance/constants')[a48_0x5756bc(0x25b)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a48_0x5756bc(0x26f)),getUserPlaywrightConfig=async(_0x420835,_0x4c7048)=>{const _0xd32722=a48_0x5756bc,_0x4d284f={'fafdb':function(_0x291d44){return _0x291d44();},'XyVTg':function(_0x300f69,_0x3ce078){return _0x300f69(_0x3ce078);},'ytMsQ':function(_0x212efc,_0x5a8cf2){return _0x212efc(_0x5a8cf2);},'WwDCP':_0xd32722(0x1dd),'RQdDX':_0xd32722(0x20e)},_0x551d10=!helper[_0xd32722(0x230)](_0x420835[_0xd32722(0x1d6)]),_0x5c4521=_0x551d10?path[_0xd32722(0x1e2)](process[_0xd32722(0x293)](),_0x420835[_0xd32722(0x1d6)]):process['cwd'](),{resolveConfigFile:_0x28f9ce,resolveConfigLocation:_0x3dc55d}=helper['isYarnPnP']()?helper[_0xd32722(0x261)](..._0x4d284f[_0xd32722(0x1e0)](getConfigLoaderPath)):helper['requirePWModule'][_0xd32722(0x218)](null,_0x4d284f[_0xd32722(0x1e0)](getConfigLoaderPath)),_0x3cb953=_0x28f9ce?_0x4d284f[_0xd32722(0x259)](_0x28f9ce,_0x5c4521):helper[_0xd32722(0x253)](_0x4d284f[_0xd32722(0x22d)](_0x3dc55d,_0x5c4521),[_0x4d284f[_0xd32722(0x1f6)]]),_0xe5518e={};if(_0x551d10){const _0x2d9e14=_0x4c7048[_0xd32722(0x26a)](_0x128c12=>_0x128c12===_0xd32722(0x246)||_0x128c12==='-c'||_0x128c12['startsWith'](_0xd32722(0x20e)));_0x4c7048[_0xd32722(0x1f2)](_0x2d9e14,_0x4c7048[_0x2d9e14][_0xd32722(0x1d5)](_0x4d284f[_0xd32722(0x266)])?0x1:0x2);}const _0x45f6ce={};return _0x45f6ce[_0xd32722(0x27c)]=_0x3cb953,_0x45f6ce[_0xd32722(0x1d6)]=_0xe5518e,_0x45f6ce;},handleO11yRerun=_0x5e58ee=>{const _0xd2abe8=a48_0x5756bc,_0x136d9e={};_0x136d9e[_0xd2abe8(0x294)]='--grep';const _0x2da728=_0x136d9e,_0x3139d5=helper[_0xd2abe8(0x277)](process[_0xd2abe8(0x289)]['BROWSERSTACK_RERUN']);if(_0x3139d5){const _0x26658b=process['env'][_0xd2abe8(0x227)],_0x1e6941=[];if(helper[_0xd2abe8(0x28a)](_0x26658b)&&!helper[_0xd2abe8(0x230)](_0x26658b)){_0x26658b[_0xd2abe8(0x23e)](',')[_0xd2abe8(0x275)](_0x34b1cb=>{const _0x332799=_0xd2abe8;_0x1e6941[_0x332799(0x234)]('('+_0x34b1cb[_0x332799(0x25a)]()+')');});const _0x52143b='^'+_0x1e6941['join']('|')+'$';_0x5e58ee['push'](_0x2da728['zjfMm'],_0x52143b);}}},spawnOriginalProcess=_0x4b4b21=>{const _0x3bc83b=a48_0x5756bc,_0x852081={'cABpH':function(_0x5be309,_0x1da9f8,_0x5c1daf,_0x2d16b1){return _0x5be309(_0x1da9f8,_0x5c1daf,_0x2d16b1);},'tagcw':_0x3bc83b(0x211),'iYRoC':'npx','zIpwq':'playwright','ORcrV':function(_0x2fd51c,_0x49c59b){return _0x2fd51c===_0x49c59b;},'EnQbz':_0x3bc83b(0x1f4),'vcOkl':_0x3bc83b(0x1fd)};_0x852081[_0x3bc83b(0x27b)](spawn,helper[_0x3bc83b(0x296)]()?_0x852081[_0x3bc83b(0x28d)]:_0x852081[_0x3bc83b(0x1f7)],[_0x852081['zIpwq'],..._0x4b4b21[_0x3bc83b(0x1ef)](0x1)],{'shell':_0x852081[_0x3bc83b(0x286)](process['platform'],_0x852081['EnQbz']),'stdio':_0x852081[_0x3bc83b(0x24f)],'cwd':process[_0x3bc83b(0x293)]()});},isTestCommand=(_0x3b734d,_0x511aef)=>{const _0x140658=a48_0x5756bc,_0x575a6a={};_0x575a6a[_0x140658(0x243)]=function(_0x4a7625,_0x307e9a){return _0x4a7625>_0x307e9a;},_0x575a6a[_0x140658(0x22e)]=function(_0x3d018b,_0xf65d4e){return _0x3d018b===_0xf65d4e;},_0x575a6a[_0x140658(0x215)]=_0x140658(0x256);const _0x42a807=_0x575a6a;if(_0x42a807[_0x140658(0x243)](_0x511aef[_0x140658(0x25c)],0x1)&&_0x42a807[_0x140658(0x22e)](_0x511aef[0x1],_0x42a807[_0x140658(0x215)]))return!![];return![];};async function run(_0x42798e,_0x3d1520,_0x345148){const _0x236918=a48_0x5756bc,_0xadb0fc={'zNxbh':_0x236918(0x216),'KBjvS':_0x236918(0x297),'vKBOq':function(_0x41ce53,_0x5ef753){return _0x41ce53+_0x5ef753;},'CKXRe':_0x236918(0x1e5),'sATGO':function(_0x21443a,_0x298813){return _0x21443a(_0x298813);},'hwnEI':function(_0x2c18a8){return _0x2c18a8();},'MBAXv':function(_0x4ad331,_0x460bf9){return _0x4ad331+_0x460bf9;},'adauH':_0x236918(0x1e9),'vnHKM':'BrowserStack\x20config\x20file\x20not\x20found.','rJpbK':function(_0x47e9fb,_0x4f2c1e){return _0x47e9fb<_0x4f2c1e;},'VoSyl':function(_0x1477b3,_0x28e99f){return _0x1477b3===_0x28e99f;},'LONJA':_0x236918(0x1ec),'JTWtr':_0x236918(0x1ed),'jgBZZ':function(_0x5a9328,_0x32390f){return _0x5a9328>=_0x32390f;},'HcLcY':_0x236918(0x1d9),'CMNHw':function(_0x44ebfe,_0xb84a50){return _0x44ebfe!=_0xb84a50;},'YGizp':function(_0x473417,_0x24e07b,_0x32ff9d){return _0x473417(_0x24e07b,_0x32ff9d);},'cARwO':function(_0x3adc38,_0x1367a4){return _0x3adc38(_0x1367a4);},'iFiTB':function(_0x539ea4,_0x4c4708){return _0x539ea4===_0x4c4708;},'bIVey':'true','vuLjf':function(_0x490360,_0x5f3fdf){return _0x490360(_0x5f3fdf);},'oBiau':'browserstackSetupConfig.json','tOkob':_0x236918(0x204),'oyTEZ':_0x236918(0x224),'Curod':function(_0x5ac46d,_0x392e8e){return _0x5ac46d-_0x392e8e;},'yFAPZ':'Updated\x20config\x20file\x20name\x20to\x20-\x20','Kykuo':function(_0x3b4c79,_0x21992e){return _0x3b4c79>_0x21992e;},'ieMNZ':_0x236918(0x288),'cjdGW':function(_0x1451b6,_0x36fa95){return _0x1451b6>_0x36fa95;},'aexAu':_0x236918(0x1f3),'HUyEE':function(_0x39afae,_0x1d0804,_0xb2bfab,_0x3a8929){return _0x39afae(_0x1d0804,_0xb2bfab,_0x3a8929);},'BLzIO':_0x236918(0x211),'SUbPz':'npx','SLScJ':'test','IvTEv':_0x236918(0x246),'rOjqa':function(_0x2af309,_0x200b2d){return _0x2af309===_0x200b2d;},'fQDwC':_0x236918(0x1f4),'WTdGM':function(_0x3a8ccc,_0x31ad02){return _0x3a8ccc===_0x31ad02;},'Ntplg':_0x236918(0x1fd),'sdNst':'close','cEQSG':function(_0x35db98,_0x2190b4){return _0x35db98|_0x2190b4;},'XDxhG':_0x236918(0x228),'WopCl':_0x236918(0x24b)};try{const _0xbbbee=path['join'](helper[_0x236918(0x23d)](),_0xadb0fc['zNxbh']);try{fs[_0x236918(0x21a)](_0xbbbee,_0xadb0fc[_0x236918(0x257)](fs[_0x236918(0x242)][_0x236918(0x22a)],fs[_0x236918(0x242)][_0x236918(0x28f)]));}catch(_0x12213a){ClientTroubleShootingService[_0x236918(0x272)]();}}catch(_0x52a71c){logger[_0x236918(0x1db)](_0xadb0fc[_0x236918(0x200)](_0xadb0fc['XDxhG'],_0x52a71c));}try{const _0x4ff074=path[_0x236918(0x281)](helper[_0x236918(0x23d)](),_0xadb0fc[_0x236918(0x1d0)],_0xadb0fc['KBjvS']);fs[_0x236918(0x278)](_0x4ff074)&&fs['unlinkSync'](_0x4ff074);}catch(_0x89fa6d){logger[_0x236918(0x1db)](_0xadb0fc[_0x236918(0x1ee)](_0xadb0fc[_0x236918(0x209)],_0x89fa6d));}if(!_0xadb0fc[_0x236918(0x21d)](isTestCommand,_0x42798e,_0x3d1520)){_0xadb0fc[_0x236918(0x1eb)](spawnOriginalProcess,_0x3d1520);return;}await PerformanceTester[_0x236918(0x23a)](PerformanceEvents[_0x236918(0x217)],async()=>{const _0x96ffb5=_0x236918,_0x5e77c2={'EfBaf':function(_0x3b51e4,_0x2da6cc){const _0x4b7ba1=a48_0x65e4;return _0xadb0fc[_0x4b7ba1(0x282)](_0x3b51e4,_0x2da6cc);},'mtukX':_0xadb0fc['zNxbh'],'ukAxd':function(_0x583a7e){const _0x4963c1=a48_0x65e4;return _0xadb0fc[_0x4963c1(0x26c)](_0x583a7e);},'ptOsd':function(_0x5e5bdd,_0x3b010c){const _0x1d5816=a48_0x65e4;return _0xadb0fc[_0x1d5816(0x1ee)](_0x5e5bdd,_0x3b010c);},'RCvkQ':_0xadb0fc['adauH']};if(!_0x345148[_0x96ffb5(0x1d6)]){logger['error'](_0xadb0fc['vnHKM']);return;}await _0x345148[_0x96ffb5(0x241)](_0x42798e),CLIUtils[_0x96ffb5(0x21c)](FRAMEWORKS[_0x96ffb5(0x267)],FRAMEWORKS[_0x96ffb5(0x267)]),BrowserstackCLI['getInstance']()[_0x96ffb5(0x212)](_0x345148['config'],_0x345148[_0x96ffb5(0x203)],_0x345148[_0x96ffb5(0x23f)]),await BrowserstackCLI[_0x96ffb5(0x1f8)]()['bootstrap']();!BrowserstackCLI[_0x96ffb5(0x1f8)]()['isRunning']()&&await _0x345148['setupBrowserstackLocal']();for(var _0x4cb67c=0x0;_0xadb0fc[_0x96ffb5(0x268)](_0x4cb67c,constants['INTERNALLY_USED_ENV_VARS'][_0x96ffb5(0x25c)]);_0x4cb67c++){var _0xe59e13=constants[_0x96ffb5(0x245)][_0x4cb67c];process[_0x96ffb5(0x289)][_0xe59e13]&&await ClientTroubleShootingService[_0x96ffb5(0x280)](_0xe59e13);}const _0x5852e9=BrowserstackCLI[_0x96ffb5(0x1f8)]()[_0x96ffb5(0x250)]();!helper[_0x96ffb5(0x1fa)](_0x5852e9[_0x96ffb5(0x1fc)])&&(process[_0x96ffb5(0x289)]['BROWSERSTACK_AUTOMATION']=!![]);_0xadb0fc['VoSyl'](_0x5852e9[_0x96ffb5(0x1fc)],![])&&(process[_0x96ffb5(0x289)]['BROWSERSTACK_AUTOMATION']=_0xadb0fc[_0x96ffb5(0x237)],_0x3d1520=_0x3d1520[_0x96ffb5(0x271)](_0x57004d=>_0x57004d!==_0x96ffb5(0x291)));const _0x36bc33=_0x3d1520[_0x96ffb5(0x1fe)](_0xadb0fc[_0x96ffb5(0x233)]);(_0xadb0fc['jgBZZ'](_0x36bc33,0x0)||_0xadb0fc[_0x96ffb5(0x1de)](_0x5852e9[_0x96ffb5(0x263)],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0xadb0fc[_0x96ffb5(0x237)],_0x3d1520=_0x3d1520[_0x96ffb5(0x271)](_0x33522c=>_0x33522c!==_0x96ffb5(0x1ed)));!helper['isUndefined'](_0x345148[_0x96ffb5(0x23f)])&&_0x345148[_0x96ffb5(0x23f)][_0x96ffb5(0x276)](_0xadb0fc[_0x96ffb5(0x28e)])&&(process[_0x96ffb5(0x289)][_0x96ffb5(0x22f)]=_0x345148[_0x96ffb5(0x23f)]['get'](_0xadb0fc[_0x96ffb5(0x28e)])||!![]);_0xadb0fc[_0x96ffb5(0x249)](_0x345148[_0x96ffb5(0x1d6)][_0x96ffb5(0x263)],null)&&!helper[_0x96ffb5(0x277)](process[_0x96ffb5(0x289)][_0x96ffb5(0x1da)])&&(process[_0x96ffb5(0x289)][_0x96ffb5(0x1da)]=process[_0x96ffb5(0x289)][_0x96ffb5(0x1da)]||_0x345148[_0x96ffb5(0x1d6)]['testObservability']);const _0x3a008f=!helper[_0x96ffb5(0x1fa)](process[_0x96ffb5(0x289)][_0x96ffb5(0x1da)]);_0x345148['config']['accessibilityOptions']&&(process['env'][_0x96ffb5(0x22b)]=JSON[_0x96ffb5(0x1d8)](_0x345148[_0x96ffb5(0x1d6)][_0x96ffb5(0x270)]));let _0x597bd7=![];_0x345148['config'][_0x96ffb5(0x283)]&&(_0x597bd7=!![],process[_0x96ffb5(0x289)][_0x96ffb5(0x285)]=_0x345148[_0x96ffb5(0x1d6)][_0x96ffb5(0x283)]);const _0x5e4ad6=_0x3d1520['concat'](),_0x34921a=await _0xadb0fc['YGizp'](getUserPlaywrightConfig,_0x42798e,_0x3d1520);if(helper[_0x96ffb5(0x230)](_0x34921a)){_0xadb0fc[_0x96ffb5(0x20b)](spawnOriginalProcess,_0x5e4ad6);return;}const _0x38e80b=_0x34921a[_0x96ffb5(0x27c)]?path['dirname'](_0x34921a[_0x96ffb5(0x27c)]):process[_0x96ffb5(0x293)]();process[_0x96ffb5(0x289)][_0x96ffb5(0x202)]=_0x38e80b,await PerformanceTester[_0x96ffb5(0x23a)](PerformanceEvents[_0x96ffb5(0x21f)],async()=>{const _0x1ea7d3=_0x96ffb5;!BrowserstackCLI[_0x1ea7d3(0x1f8)]()[_0x1ea7d3(0x290)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x1ea7d3(0x267)],_0x345148),_0x3a008f&&_0x5e77c2[_0x1ea7d3(0x248)](handleO11yRerun,_0x3d1520);})();if(!BrowserstackCLI[_0x96ffb5(0x1f8)]()[_0x96ffb5(0x290)]()){let _0x32fb60=_0xadb0fc[_0x96ffb5(0x20d)](process[_0x96ffb5(0x289)][_0x96ffb5(0x285)],_0xadb0fc[_0x96ffb5(0x20c)]);_0x32fb60=_0x32fb60||_0xadb0fc[_0x96ffb5(0x20b)](checkAccessibilityPlatformConfig,_0x345148[_0x96ffb5(0x1d6)]),process[_0x96ffb5(0x289)][_0x96ffb5(0x285)]=_0x32fb60,_0x32fb60&&_0xadb0fc[_0x96ffb5(0x1eb)](setAccessibilityCapabilities,_0x345148[_0x96ffb5(0x1d6)]);}const _0x4c7eb6=path[_0x96ffb5(0x281)](_0x34921a[_0x96ffb5(0x27c)]?path[_0x96ffb5(0x207)](_0x34921a[_0x96ffb5(0x27c)]):process[_0x96ffb5(0x293)](),_0xadb0fc[_0x96ffb5(0x292)]);fs[_0x96ffb5(0x1d1)](_0x4c7eb6,helper[_0x96ffb5(0x1e7)](_0x345148[_0x96ffb5(0x1d6)])),process['env'][_0x96ffb5(0x28c)]=_0x4c7eb6,helper['clearTempPWConfig']();let _0x1dcc93='';_0xadb0fc[_0x96ffb5(0x1de)](helper['getPackageType'](),constants[_0x96ffb5(0x252)][_0x96ffb5(0x1d3)])?_0x1dcc93=_0xadb0fc[_0x96ffb5(0x295)]:_0x1dcc93=_0xadb0fc[_0x96ffb5(0x221)];let _0x17288e='';if(helper['isTypescriptProject'](_0x34921a[_0x96ffb5(0x27c)])){_0x17288e=_0x96ffb5(0x24e);const _0x1b964d=_0x1dcc93[_0x96ffb5(0x23e)]('.');_0x1b964d[_0xadb0fc[_0x96ffb5(0x206)](_0x1b964d['length'],0x1)]='ts',_0x1dcc93=_0x1b964d[_0x96ffb5(0x281)]('.'),logger[_0x96ffb5(0x1db)](_0xadb0fc[_0x96ffb5(0x200)](_0xadb0fc[_0x96ffb5(0x262)],_0x1dcc93));}else _0x17288e=_0x96ffb5(0x236);const _0x4a89da=path[_0x96ffb5(0x281)](_0x34921a[_0x96ffb5(0x27c)]?path['dirname'](_0x34921a['path']):process[_0x96ffb5(0x293)](),_0x1dcc93);let _0x2a6e49=_0x34921a['path']?_0x34921a[_0x96ffb5(0x27c)]:'';_0x2a6e49=_0xadb0fc[_0x96ffb5(0x287)](_0x2a6e49[_0x96ffb5(0x25c)],0x0)?path[_0x96ffb5(0x1e2)](_0x2a6e49):'',process[_0x96ffb5(0x289)][_0x96ffb5(0x1d2)]=_0x2a6e49;const _0x27f0b9=helper['getProxyUrl'](_0x345148['config']),_0x43e2b6=helper[_0x96ffb5(0x27d)](_0x345148[_0x96ffb5(0x1d6)]);logger['debug'](_0x96ffb5(0x1df)+_0x27f0b9),logger[_0x96ffb5(0x1db)](_0x96ffb5(0x265)+_0x43e2b6);_0x27f0b9&&(_0x17288e=_0xadb0fc[_0x96ffb5(0x1ee)](_0x96ffb5(0x219)+_0x27f0b9+_0x96ffb5(0x258)+_0x43e2b6+_0x96ffb5(0x1ff),_0x17288e));helper['filterBrowserstackArgs']({},_0x3d1520),fs[_0x96ffb5(0x1d1)](_0x4a89da,_0x17288e);let _0x213f50=[];const _0x46d290=new TestOrchestrationHandler(_0x345148[_0x96ffb5(0x1d6)]);if(_0x46d290[_0x96ffb5(0x1e6)]()){logger[_0x96ffb5(0x1db)](_0xadb0fc[_0x96ffb5(0x1fb)]);const _0xe77a6c=await _0x46d290['findPlaywrightTestFiles'](_0x2a6e49,_0x3d1520[_0x96ffb5(0x1ef)](0x2));logger[_0x96ffb5(0x1db)]('Found:\x20'+JSON[_0x96ffb5(0x1d8)](_0xe77a6c)+_0x96ffb5(0x208));const _0x5f2a71=await _0x46d290[_0x96ffb5(0x1f9)](_0xe77a6c);logger['debug']('Reordered\x20Test\x20Files:\x20'+JSON[_0x96ffb5(0x1d8)](_0x5f2a71)),_0x5f2a71&&_0xadb0fc[_0x96ffb5(0x20f)](_0x5f2a71['length'],0x0)&&(process[_0x96ffb5(0x289)]['BROWSERSTACK_PW_TEST_ORDER']=_0x5f2a71[_0x96ffb5(0x281)](','),_0xadb0fc[_0x96ffb5(0x268)](_0x5f2a71[_0x96ffb5(0x25c)],_0xe77a6c['length'])&&(_0x213f50=_0x5f2a71['map'](_0x454706=>path[_0x96ffb5(0x24c)](process[_0x96ffb5(0x293)](),_0x454706)[_0x96ffb5(0x23e)](path[_0x96ffb5(0x25d)])[_0x96ffb5(0x281)]('/'))));}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),process[_0x96ffb5(0x289)][_0x96ffb5(0x225)]=process[_0x96ffb5(0x289)][_0x96ffb5(0x225)]||_0xadb0fc[_0x96ffb5(0x1f0)];const _0x5c0a37=_0xadb0fc['HUyEE'](spawn,helper[_0x96ffb5(0x296)]()?_0xadb0fc[_0x96ffb5(0x1d7)]:_0xadb0fc[_0x96ffb5(0x201)],[_0xadb0fc[_0x96ffb5(0x1f0)],_0xadb0fc[_0x96ffb5(0x1cf)],_0xadb0fc[_0x96ffb5(0x229)],_0xadb0fc[_0x96ffb5(0x26d)](process[_0x96ffb5(0x24d)],_0xadb0fc[_0x96ffb5(0x214)])?'\x22'+_0x4a89da+'\x22':_0x4a89da,..._0x3d1520[_0x96ffb5(0x1ef)](0x2),..._0x213f50],{'shell':_0xadb0fc[_0x96ffb5(0x24a)](process[_0x96ffb5(0x24d)],_0xadb0fc[_0x96ffb5(0x214)]),'stdio':_0xadb0fc[_0x96ffb5(0x231)],'cwd':process[_0x96ffb5(0x293)](),'env':Object[_0x96ffb5(0x1e1)]({},process[_0x96ffb5(0x289)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x96ffb5(0x232)](_0x42798e),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x345148[_0x96ffb5(0x1d6)][_0x96ffb5(0x222)][_0x96ffb5(0x28b)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x345148[_0x96ffb5(0x1d6)][_0x96ffb5(0x222)][_0x96ffb5(0x26b)],'BROWSERSTACK_LOG_LEVEL':_0x345148[_0x96ffb5(0x1d6)][_0x96ffb5(0x21b)]})}),_0x3d7f3e=()=>{const _0x356d86=_0x96ffb5;try{const _0x44073e=path['join'](helper['homedir'](),_0xadb0fc[_0x356d86(0x1d0)],_0xadb0fc[_0x356d86(0x244)]);if(fs[_0x356d86(0x278)](_0x44073e)){let _0x5242e9=fs[_0x356d86(0x1e8)](_0x44073e);_0x5242e9=JSON[_0x356d86(0x27e)](_0x5242e9),_0x345148[_0x356d86(0x1f5)]=_0x5242e9,fs['unlinkSync'](_0x44073e);}}catch(_0x4d533c){logger[_0x356d86(0x1db)](_0xadb0fc[_0x356d86(0x200)](_0xadb0fc[_0x356d86(0x25f)],_0x4d533c));}};_0x5c0a37['on'](_0xadb0fc[_0x96ffb5(0x239)],async _0x3fd35b=>{const _0x2f1554=_0x96ffb5,_0x7033ba={};_0x7033ba[_0x2f1554(0x213)]=_0x5e77c2[_0x2f1554(0x26e)];const _0x550511=_0x7033ba;try{PerformanceTester[_0x2f1554(0x279)](PerformanceEvents[_0x2f1554(0x226)]),_0x5e77c2[_0x2f1554(0x23b)](_0x3d7f3e),await TestHubHandler[_0x2f1554(0x210)](),await ClientTroubleShootingService[_0x2f1554(0x223)]();const _0x11b769=BrowserstackCLI[_0x2f1554(0x22c)]();await BrowserstackCLI['getInstance']()[_0x2f1554(0x210)](),TestDetails['shutdown'](),_0x5e77c2[_0x2f1554(0x23b)](printBuildLink),await utilities[_0x2f1554(0x27f)](_0x345148,_0x11b769),process[_0x2f1554(0x264)]=_0x3fd35b,logger['debug'](_0x2f1554(0x251)+_0x3fd35b),logger[_0x2f1554(0x273)](_0x2f1554(0x25e)+_0x4a89da),fs[_0x2f1554(0x255)](_0x4a89da);fs[_0x2f1554(0x278)](_0x4c7eb6)&&(logger[_0x2f1554(0x1db)](_0x2f1554(0x25e)+_0x4c7eb6),fs[_0x2f1554(0x255)](_0x4c7eb6));const _0x49288d=fs['readdirSync'](path[_0x2f1554(0x281)](helper[_0x2f1554(0x23d)](),_0x5e77c2['mtukX']))[_0x2f1554(0x271)](_0x2dc9cd=>_0x2dc9cd[_0x2f1554(0x1d5)](_0x2f1554(0x240)));_0x49288d['forEach'](_0x152823=>{const _0x1e85d1=_0x2f1554;fs[_0x1e85d1(0x255)](path[_0x1e85d1(0x281)](helper[_0x1e85d1(0x23d)](),_0x550511[_0x1e85d1(0x213)],_0x152823));});}catch(_0x49cb38){logger[_0x2f1554(0x1db)](_0x5e77c2[_0x2f1554(0x1e3)](_0x5e77c2[_0x2f1554(0x235)],_0x49cb38));}});})();}module['exports']=run;
@@ -1 +1 @@
1
- function a49_0x2431(){const _0x57a46c=['child_process','./patches','Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','1008KKTsjc','resolveLoadGlobalHook','env','error','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','20nieTVW','kofGN','fork','20YUuvNc','AMbwh','../../helpers/logger','function','6039639FEcSpj','config','641667AHKpUw','resolve','format','exports','PLAYWRIGHT','Call\x20to\x20child\x20fork\x20with\x20args\x20','zzonp','apply','gbEZJ','FTwWD','1446104hOGZhv','message','includes','990AGurBg','playwright','fpYQI','driver-init\x20capture\x20install\x20failed:\x20','jIJWP','../../helpers/test-observability/utils','rEart','cYSvl','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/driverInitErrorReporter','882lFUcjr','ugCJQ','Path\x20','59238GGNqST','WWMaG','2624750fVZQZx','./reporter/pwUtils','KdQvS','33478434PhxBNU','1.33.0','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','debug','winstonLogger','installAll'];a49_0x2431=function(){return _0x57a46c;};return a49_0x2431();}const a49_0x14b8bd=a49_0x315d;(function(_0x481502,_0x20b818){const _0x304658=a49_0x315d,_0x27c18d=_0x481502();while(!![]){try{const _0x1c2abd=parseInt(_0x304658(0x7f))/0x1*(-parseInt(_0x304658(0x9a))/0x2)+parseInt(_0x304658(0x8d))/0x3*(parseInt(_0x304658(0x87))/0x4)+-parseInt(_0x304658(0xa9))/0x5+parseInt(_0x304658(0xa7))/0x6*(-parseInt(_0x304658(0xa4))/0x7)+parseInt(_0x304658(0x97))/0x8+parseInt(_0x304658(0x8b))/0x9*(-parseInt(_0x304658(0x84))/0xa)+parseInt(_0x304658(0xac))/0xb;if(_0x1c2abd===_0x20b818)break;else _0x27c18d['push'](_0x27c18d['shift']());}catch(_0x1745f1){_0x27c18d['push'](_0x27c18d['shift']());}}}(a49_0x2431,0xa6e84));const util=require('util'),child_process=require(a49_0x14b8bd(0x7c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a49_0x14b8bd(0x9f)),helper=require('../../helpers/helper'),{getForkProcessPath}=require(a49_0x14b8bd(0xaa)),{mockIsWorkerRedundant}=require(a49_0x14b8bd(0x7d)),logger=require(a49_0x14b8bd(0x89))[a49_0x14b8bd(0x7a)];try{require(a49_0x14b8bd(0xa3))[a49_0x14b8bd(0x7b)](a49_0x14b8bd(0x9b));}catch(a49_0x5405e1){logger[a49_0x14b8bd(0x79)](a49_0x14b8bd(0x9d)+(a49_0x5405e1&&a49_0x5405e1[a49_0x14b8bd(0x98)]));}function a49_0x315d(_0x5356be,_0x25f031){const _0x24318c=a49_0x2431();return a49_0x315d=function(_0x315d33,_0x39b2f2){_0x315d33=_0x315d33-0x77;let _0x4f4dfa=_0x24318c[_0x315d33];return _0x4f4dfa;},a49_0x315d(_0x5356be,_0x25f031);}module[a49_0x14b8bd(0x90)]=async function(_0x4a7e18){const _0x323119=a49_0x14b8bd,_0x4dc9fc={'zzonp':function(_0x4174e8,_0x50b3e3){return _0x4174e8(_0x50b3e3);},'gbEZJ':function(_0x26921b){return _0x26921b();},'oWLVO':'./mock-process.js','kofGN':function(_0x1f2f1f){return _0x1f2f1f();},'AMbwh':function(_0x2dbbeb){return _0x2dbbeb();},'rEart':'Running\x20existing\x20global\x20setup','KdQvS':function(_0x5ddbb0,_0x4c121e){return _0x5ddbb0!==_0x4c121e;},'FTwWD':_0x323119(0x8a),'WWMaG':_0x323119(0x7e),'fpYQI':function(_0x3410f0,_0x36d106){return _0x3410f0>=_0x36d106;},'ugCJQ':_0x323119(0x77),'jIJWP':function(_0xaf141e,_0x2bd127,_0x5b2606){return _0xaf141e(_0x2bd127,_0x5b2606);},'cYSvl':'Not\x20able\x20to\x20import\x20globalSetup','rtsLy':function(_0x22ddc2,_0x25a6f8){return _0x22ddc2(_0x25a6f8);}},_0x1d5116=child_process[_0x323119(0x86)];if(helper['isHandlePWErrorSet']())try{_0x4dc9fc[_0x323119(0x88)](mockIsWorkerRedundant);}catch(_0x37841b){logger[_0x323119(0x79)](_0x323119(0xa2)+util[_0x323119(0x8f)](_0x37841b));}child_process[_0x323119(0x86)]=function(){const _0x398bb7=_0x323119;return _0x4dc9fc[_0x398bb7(0x93)](debug,_0x398bb7(0x92)+arguments[0x0]),arguments[0x0][_0x398bb7(0x99)](_0x4dc9fc[_0x398bb7(0x95)](getForkProcessPath))?arguments[0x0]=require[_0x398bb7(0x8e)](_0x4dc9fc['oWLVO']):logger[_0x398bb7(0x82)](_0x398bb7(0xa6)+_0x4dc9fc[_0x398bb7(0x85)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x1d5116[_0x398bb7(0x94)](null,arguments);};if(process[_0x323119(0x81)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x4dc9fc[_0x323119(0x93)](debug,_0x4dc9fc[_0x323119(0xa0)]);try{const _0x1f874c=helper[_0x323119(0x80)]();if(_0x4dc9fc[_0x323119(0xab)](typeof _0x1f874c,_0x4dc9fc['FTwWD']))throw new Error(_0x4dc9fc[_0x323119(0xa8)]);const _0x10f64a=_0x4dc9fc[_0x323119(0x93)](getFrameworkVersion,FRAMEWORKS[_0x323119(0x91)]);let _0x92c41c=_0x4a7e18;if(_0x4dc9fc[_0x323119(0x9c)](helper['compareVersions'](_0x10f64a,_0x4dc9fc[_0x323119(0xa5)]),0x0)){const _0x40b5f2={};_0x40b5f2[_0x323119(0x8c)]=_0x4a7e18,_0x92c41c=_0x40b5f2;}const _0x236237=await _0x4dc9fc[_0x323119(0x9e)](_0x1f874c,_0x92c41c,process[_0x323119(0x81)][_0x323119(0x83)]);if(_0x4dc9fc['KdQvS'](typeof _0x236237,_0x4dc9fc[_0x323119(0x96)]))throw new Error(_0x4dc9fc[_0x323119(0xa1)]);return _0x236237[_0x323119(0x94)](null,arguments);}catch(_0x223763){_0x4dc9fc['rtsLy'](debug,_0x323119(0x78)+_0x223763['toString']());}}};
1
+ const a49_0x500f32=a49_0x5ab4;function a49_0x5ab4(_0xaaab8f,_0x152221){const _0x4fdac2=a49_0x4fda();return a49_0x5ab4=function(_0x5ab45d,_0x1c5dee){_0x5ab45d=_0x5ab45d-0x1ac;let _0x55d4f4=_0x4fdac2[_0x5ab45d];return _0x55d4f4;},a49_0x5ab4(_0xaaab8f,_0x152221);}function a49_0x4fda(){const _0x2cb348=['env','12oRjkNU','resolveLoadGlobalHook','debug','33jxQaHM','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','KOHIB','Running\x20existing\x20global\x20setup','../../helpers/test-observability/utils','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','5xJYLIf','Call\x20to\x20child\x20fork\x20with\x20args\x20','dtYee','../../helpers/logger','Not\x20able\x20to\x20import\x20globalSetup','709629QnXKHN','error','Hfodr','apply','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','174226pzOigI','MFWRu','597780VIptTc','playwright','963EDbDBj','mcwoT','function','euEgf','874342QOVBvD','3GybMIl','./mock-process.js','./patches','./reporter/pwUtils','WYJMt','eDKdE','EUgyh','toString','NPLCK','installAll','driver-init\x20capture\x20install\x20failed:\x20','message','resolve','fxJdh','fork','../../helpers/test-observability/constants','MyczO','16448JYsLLz','963720UohWqE','includes','oZqCB','PLAYWRIGHT','2761280OEbDHD','config','isHandlePWErrorSet','format'];a49_0x4fda=function(){return _0x2cb348;};return a49_0x4fda();}(function(_0x121f52,_0x2cd7c5){const _0x23d5dd=a49_0x5ab4,_0x4a826f=_0x121f52();while(!![]){try{const _0x2953a4=-parseInt(_0x23d5dd(0x1e1))/0x1*(-parseInt(_0x23d5dd(0x1d8))/0x2)+parseInt(_0x23d5dd(0x1d3))/0x3+parseInt(_0x23d5dd(0x1da))/0x4*(parseInt(_0x23d5dd(0x1ce))/0x5)+parseInt(_0x23d5dd(0x1c5))/0x6*(-parseInt(_0x23d5dd(0x1e0))/0x7)+parseInt(_0x23d5dd(0x1bb))/0x8*(-parseInt(_0x23d5dd(0x1dc))/0x9)+-parseInt(_0x23d5dd(0x1c0))/0xa+parseInt(_0x23d5dd(0x1c8))/0xb*(parseInt(_0x23d5dd(0x1bc))/0xc);if(_0x2953a4===_0x2cd7c5)break;else _0x4a826f['push'](_0x4a826f['shift']());}catch(_0x1148ec){_0x4a826f['push'](_0x4a826f['shift']());}}}(a49_0x4fda,0x22bf5));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require(a49_0x500f32(0x1b9)),{getFrameworkVersion,debug}=require(a49_0x500f32(0x1cc)),helper=require('../../helpers/helper'),{getForkProcessPath}=require(a49_0x500f32(0x1ad)),{mockIsWorkerRedundant}=require(a49_0x500f32(0x1ac)),logger=require(a49_0x500f32(0x1d1))['winstonLogger'];try{require('../../helpers/driverInitErrorReporter')[a49_0x500f32(0x1b3)](a49_0x500f32(0x1db));}catch(a49_0x52a46e){logger[a49_0x500f32(0x1c7)](a49_0x500f32(0x1b4)+(a49_0x52a46e&&a49_0x52a46e[a49_0x500f32(0x1b5)]));}module['exports']=async function(_0x9d3836){const _0x5d3df9=a49_0x500f32,_0x597a7f={'Hfodr':function(_0x2fd374,_0x589b33){return _0x2fd374(_0x589b33);},'eDKdE':function(_0x1e225b){return _0x1e225b();},'mcwoT':_0x5d3df9(0x1e2),'oZqCB':function(_0x12e6b0,_0x5e1204){return _0x12e6b0(_0x5e1204);},'KOHIB':_0x5d3df9(0x1cb),'MFWRu':function(_0x1a5a23,_0x40932c){return _0x1a5a23!==_0x40932c;},'fxJdh':_0x5d3df9(0x1de),'dtYee':'Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','WYJMt':function(_0x1558ba,_0x41ad59){return _0x1558ba(_0x41ad59);},'NPLCK':function(_0x3df202,_0xaebec8){return _0x3df202>=_0xaebec8;},'euEgf':'1.33.0','EUgyh':function(_0x1f7f48,_0x29f918,_0x2ed663){return _0x1f7f48(_0x29f918,_0x2ed663);},'MyczO':_0x5d3df9(0x1d2)},_0xeb541d=child_process['fork'];if(helper[_0x5d3df9(0x1c2)]())try{_0x597a7f[_0x5d3df9(0x1af)](mockIsWorkerRedundant);}catch(_0x318ce8){logger[_0x5d3df9(0x1c7)](_0x5d3df9(0x1cd)+util[_0x5d3df9(0x1c3)](_0x318ce8));}child_process[_0x5d3df9(0x1b8)]=function(){const _0x2ae17c=_0x5d3df9;return _0x597a7f[_0x2ae17c(0x1d5)](debug,_0x2ae17c(0x1cf)+arguments[0x0]),arguments[0x0][_0x2ae17c(0x1bd)](_0x597a7f[_0x2ae17c(0x1af)](getForkProcessPath))?arguments[0x0]=require[_0x2ae17c(0x1b6)](_0x597a7f[_0x2ae17c(0x1dd)]):logger[_0x2ae17c(0x1d4)]('Path\x20'+_0x597a7f[_0x2ae17c(0x1af)](getForkProcessPath)+'\x20is\x20not\x20found'),_0xeb541d[_0x2ae17c(0x1d6)](null,arguments);};if(process[_0x5d3df9(0x1c4)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x597a7f[_0x5d3df9(0x1be)](debug,_0x597a7f[_0x5d3df9(0x1ca)]);try{const _0x174ba4=helper[_0x5d3df9(0x1c6)]();if(_0x597a7f['MFWRu'](typeof _0x174ba4,_0x597a7f[_0x5d3df9(0x1b7)]))throw new Error(_0x597a7f[_0x5d3df9(0x1d0)]);const _0x3fd41a=_0x597a7f[_0x5d3df9(0x1ae)](getFrameworkVersion,FRAMEWORKS[_0x5d3df9(0x1bf)]);let _0x5b44f0=_0x9d3836;if(_0x597a7f[_0x5d3df9(0x1b2)](helper['compareVersions'](_0x3fd41a,_0x597a7f[_0x5d3df9(0x1df)]),0x0)){const _0x49078a={};_0x49078a[_0x5d3df9(0x1c1)]=_0x9d3836,_0x5b44f0=_0x49078a;}const _0x28ccfc=await _0x597a7f[_0x5d3df9(0x1b0)](_0x174ba4,_0x5b44f0,process[_0x5d3df9(0x1c4)][_0x5d3df9(0x1c9)]);if(_0x597a7f[_0x5d3df9(0x1d9)](typeof _0x28ccfc,_0x597a7f[_0x5d3df9(0x1b7)]))throw new Error(_0x597a7f[_0x5d3df9(0x1ba)]);return _0x28ccfc[_0x5d3df9(0x1d6)](null,arguments);}catch(_0x1ecca7){_0x597a7f['Hfodr'](debug,_0x5d3df9(0x1d7)+_0x1ecca7[_0x5d3df9(0x1b1)]());}}};