browserstack-node-sdk 1.46.7 → 1.46.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  114. package/src/bin/v2/framework/testFramework.js +1 -1
  115. package/src/bin/v2/grpcClient.js +1 -1
  116. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  117. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/trackedContext.js +1 -1
  119. package/src/bin/v2/instances/trackedInstance.js +1 -1
  120. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  121. package/src/bin/v2/modules/baseModule.js +1 -1
  122. package/src/bin/v2/modules/observabilityModule.js +1 -1
  123. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  124. package/src/bin/v2/modules/testhubModule.js +1 -1
  125. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  126. package/src/bin/v2/state/hookState.js +1 -1
  127. package/src/bin/v2/state/testFrameworkState.js +1 -1
  128. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  129. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  130. package/src/bin/vanilla-js/command.js +1 -1
  131. package/src/browserStackSdk.js +1 -1
  132. package/src/helpers/BrowserStackSetup.js +1 -1
  133. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  134. package/src/helpers/accessibility-automation/constants.js +1 -1
  135. package/src/helpers/accessibility-automation/helper.js +1 -1
  136. package/src/helpers/accessibility-automation/scripts.js +1 -1
  137. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  138. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  139. package/src/helpers/ats/constants.js +1 -1
  140. package/src/helpers/ats/helper.js +1 -1
  141. package/src/helpers/capsMapping.js +1 -1
  142. package/src/helpers/central-scanner/constants.js +1 -1
  143. package/src/helpers/central-scanner/helpers.js +1 -1
  144. package/src/helpers/classLogger.js +1 -1
  145. package/src/helpers/globals.js +1 -1
  146. package/src/helpers/helper.js +1 -1
  147. package/src/helpers/logger.js +1 -1
  148. package/src/helpers/metadata.js +1 -1
  149. package/src/helpers/patchHelper.js +1 -1
  150. package/src/helpers/patchHelpers.js +1 -1
  151. package/src/helpers/percy/Percy.js +1 -1
  152. package/src/helpers/percy/PercyBinary.js +1 -1
  153. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  154. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  155. package/src/helpers/percy/PercySDK.js +1 -1
  156. package/src/helpers/percy/index.js +1 -1
  157. package/src/helpers/percy/utils.js +1 -1
  158. package/src/helpers/performance/constants.js +1 -1
  159. package/src/helpers/performance/performance-tester.js +1 -1
  160. package/src/helpers/playwright-helper.js +1 -1
  161. package/src/helpers/processHelper.js +1 -1
  162. package/src/helpers/request-spy.js +1 -1
  163. package/src/helpers/setKeepAlive.js +1 -1
  164. package/src/helpers/test-observability/constants.js +1 -1
  165. package/src/helpers/test-observability/error-handler.js +1 -1
  166. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  167. package/src/helpers/test-observability/sessionHandler.js +1 -1
  168. package/src/helpers/test-observability/utils.js +1 -1
  169. package/src/helpers/test-orchestration/constants.js +1 -1
  170. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  171. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  172. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  173. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  174. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  175. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  176. package/src/helpers/testhub/constants.js +1 -1
  177. package/src/helpers/testhub/testhubHandler.js +1 -1
  178. package/src/helpers/testhub/utils.js +1 -1
  179. package/src/helpers/timeoutPromise.js +1 -1
  180. package/src/helpers/utilities.js +1 -1
  181. package/src/helpers/w3cMapping.js +1 -1
  182. package/src/hubAllocationMethods.js +1 -1
  183. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a44_0x4c0d33=a44_0x21dc;function a44_0x21dc(_0x54ba92,_0x4c66d1){const _0x2214a8=a44_0x2214();return a44_0x21dc=function(_0x21dc64,_0x1392a3){_0x21dc64=_0x21dc64-0x12c;let _0x559c51=_0x2214a8[_0x21dc64];return _0x559c51;},a44_0x21dc(_0x54ba92,_0x4c66d1);}(function(_0x34fc49,_0x30ce69){const _0xda4533=a44_0x21dc,_0x3fe145=_0x34fc49();while(!![]){try{const _0x2d1b41=parseInt(_0xda4533(0x172))/0x1*(parseInt(_0xda4533(0x146))/0x2)+-parseInt(_0xda4533(0x1db))/0x3+-parseInt(_0xda4533(0x1b1))/0x4+-parseInt(_0xda4533(0x1ad))/0x5+-parseInt(_0xda4533(0x14d))/0x6*(parseInt(_0xda4533(0x160))/0x7)+-parseInt(_0xda4533(0x13b))/0x8*(-parseInt(_0xda4533(0x186))/0x9)+-parseInt(_0xda4533(0x157))/0xa*(-parseInt(_0xda4533(0x1d7))/0xb);if(_0x2d1b41===_0x30ce69)break;else _0x3fe145['push'](_0x3fe145['shift']());}catch(_0x5304c8){_0x3fe145['push'](_0x3fe145['shift']());}}}(a44_0x2214,0x57ef5));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x4c0d33(0x1bf)),PerformanceTester=require(a44_0x4c0d33(0x162)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x4c0d33(0x1d5)),helper=require(a44_0x4c0d33(0x153)),path=require(a44_0x4c0d33(0x150)),logger=require(a44_0x4c0d33(0x1d1))[a44_0x4c0d33(0x16b)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a44_0x4c0d33(0x1be)),util=require(a44_0x4c0d33(0x182)),TestInfo=require(a44_0x4c0d33(0x1d9));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x1b442c=a44_0x4c0d33,_0x28de46={'bgjIr':function(_0x2fc5d4,_0x4c28b4){return _0x2fc5d4(_0x4c28b4);},'xHSmy':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x28de46[_0x1b442c(0x1c3)](require,_0x28de46[_0x1b442c(0x1c5)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x5dbc07=>{const _0x168d8f=a44_0x4c0d33;return _0x5dbc07[_0x168d8f(0x179)](/@(\w+)/g)?.['map'](_0x49fc91=>_0x49fc91['slice'](0x1))||[];};function a44_0x2214(){const _0x98599b=['ERROR','PNmKT','getForkProcessPath','GZjcL','startsWith','test','validateFilePath','VxyWm','runner/loadUtils.js','vgrQo','toLowerCase','stack','gfvUS','UZaGi','getLoadUtilsPath','filePath','dJwzE','playwright','gPBqI','@playwright/test/lib/common/transform.js','getTestRunIdentifier','uBnZj','htmFR','afterWorkerHook','cObEd','AYmlg','uGDxl','playwright/lib/transform/transform.js','DaWGi','ChCNn','2787620DyRQMo','beforeTestHook','endsWith','vkPJL','2470156tyCvzN','QkDvX','Found\x20key:\x20','length','rZdRo','@playwright/test','map','findNestedKey','IMBlx','doo11ySync','stopAndGenerate','MHsOW','OmhdY','./test-details','../../../helpers/test-observability/utils','cnsBE','nBkDn','cNTtG','bgjIr','getConfigLoaderPath','xHSmy','sendTraceZip','calculatePerformance','Trace\x20enabled','onStepEnd','hRTtc','addTraceFilePath','1.35.0','name','jpxsm','afterTestHook','performance-report-worker-','../../../helpers/logger','tags','xhdMe','cZvhV','../../../helpers/test-observability/constants','HEvBy','2175019ATzhUc','McdKa','../../v2/TestInfo','call','1776138WJHmjo','1.38.0','createReadStream','TmxJw','isRunning','process.js','includes','beforeWorkerHook','sendEventData','xoaoX','attachments','gPptv','_projectId','SGVca','env','prototype','toISOString','DLaIx','640568juDLkE','@playwright/test/lib/common/configLoader.js','sendSessionDetails','endSession','wKPoY','1.42.0','DPhUZ','lnAJd','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','TEST_ATTACHMENT','6JkxKoD','PLAYWRIGHT','title','LYupo','kOjJt','processPageScreenshot','extname','2503758kJwhpr','eEHAr','PkNtI','path','Percentage\x20of\x20increased\x20time\x20is\x20','jWpLc','../../../helpers/helper','voBqj','getTransformPath','getPlaywrightLibPath','100wCYjaw','size','trace','debug','substr','existsSync','readdirSync','cBdZT','lNkuE','7rZzhWx','Bmpku','../../../helpers/performance/performance-tester','WCbyN','yoMdA','slice','Total\x20duration\x20for\x20whole\x20build\x20is\x20','lib','Hzrsa','viTsk','common','winstonLogger','vYAfm','fdOwg','OymOU','message','compareVersions','wtijQ','135717YKYzlj','ZCWkl','.zip','AYguU','Error\x20in\x20sending\x20trace\x20file:\x20%s','Arguments','Test\x20timeout\x20of','match','getTestTags','runner/projectUtils.js','basename','Searching\x20for\x20key:\x20','onTestBegin','getFailureData','LogCreated','onBegin','util','getTime','error','START_TIME','18IdTnlw','calculateTimesFromMultipleFiles','filter','rDJvy','.json','resolve','testUId','ASZFw','format'];a44_0x2214=function(){return _0x98599b;};return a44_0x2214();}exports[a44_0x4c0d33(0x17a)]=_0x22fb36=>{const _0x43999c=a44_0x4c0d33,_0x1f15b7={'IHnDn':function(_0x2488d0,_0x215f70){return _0x2488d0(_0x215f70);}};if(_0x22fb36[_0x43999c(0x1d2)])return _0x22fb36['tags'][_0x43999c(0x1b7)](_0x4a7e79=>_0x4a7e79[_0x43999c(0x193)]('@')?_0x4a7e79[_0x43999c(0x15b)](0x1):_0x4a7e79);return _0x1f15b7['IHnDn'](getTagsFromTitle,_0x22fb36[_0x43999c(0x148)]);},exports[a44_0x4c0d33(0x1c7)]=async()=>{const _0x5332d0=a44_0x4c0d33,_0x324897={'dJwzE':function(_0x566515,_0x41fe48){return _0x566515-_0x41fe48;},'OymOU':'performance-reporter.html','cnsBE':_0x5332d0(0x181),'ASZFw':_0x5332d0(0x13e),'AFJHw':_0x5332d0(0x17e),'OmhdY':'onTestEnd','FtxTP':'onStepBegin','ZCWkl':_0x5332d0(0x1c9),'HEvBy':_0x5332d0(0x130),'QREJg':_0x5332d0(0x1a6),'nBkDn':_0x5332d0(0x1ae),'PkNtI':_0x5332d0(0x1cf),'jpxsm':_0x5332d0(0x1ba),'cZvhV':_0x5332d0(0x14b),'eEHAr':_0x5332d0(0x13d),'rZdRo':'setupBrowserDetails','htmFR':'requestSpyCallback','Uxepr':'sendTestLog','lnAJd':function(_0x2e5607,_0x2d7aef){return _0x2e5607(_0x2d7aef);},'viTsk':function(_0x3e060d,_0x47c012){return _0x3e060d/_0x47c012;},'wikkC':function(_0x13af18,_0x3c238e){return _0x13af18+_0x3c238e;},'vgrQo':function(_0x4c5a3a,_0x2dd6a4){return _0x4c5a3a(_0x2dd6a4);},'LYupo':function(_0x2e31f1,_0x34440b){return _0x2e31f1*_0x34440b;},'KxJQm':function(_0x98dc87,_0x501ad7){return _0x98dc87+_0x501ad7;}};if(!process['env'][_0x5332d0(0x185)])return;const _0x3faf53=_0x324897[_0x5332d0(0x19f)](new Date()[_0x5332d0(0x183)](),new Date(process[_0x5332d0(0x137)]['START_TIME'])[_0x5332d0(0x183)]()),_0x355284=await PerformanceTester[_0x5332d0(0x1bb)](_0x324897[_0x5332d0(0x16e)],[_0x324897[_0x5332d0(0x1c0)],_0x324897[_0x5332d0(0x18d)],_0x324897['AFJHw'],_0x324897[_0x5332d0(0x1bd)],_0x324897['FtxTP'],_0x324897[_0x5332d0(0x173)]]),_0x15bca1=fs[_0x5332d0(0x15d)]('.'),_0x9baf3b=_0x15bca1[_0x5332d0(0x188)](_0x287d7d=>_0x287d7d[_0x5332d0(0x193)](_0x5332d0(0x1d0))&&_0x287d7d[_0x5332d0(0x1af)](_0x5332d0(0x18a))),_0x1ceb00=await PerformanceTester[_0x5332d0(0x187)](_0x9baf3b,[_0x324897[_0x5332d0(0x1d6)],_0x324897['QREJg'],_0x324897[_0x5332d0(0x1c1)],_0x324897[_0x5332d0(0x14f)],_0x324897[_0x5332d0(0x1ce)],_0x324897[_0x5332d0(0x1d4)],_0x324897[_0x5332d0(0x14e)],_0x324897[_0x5332d0(0x1b5)],_0x324897[_0x5332d0(0x1a5)],_0x324897['Uxepr']]);_0x324897[_0x5332d0(0x142)](debug,_0x5332d0(0x166)+_0x324897[_0x5332d0(0x169)](_0x3faf53,0x3e8)+'\x20s'),_0x324897[_0x5332d0(0x142)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x324897['wikkC'](_0x1ceb00,_0x355284)),_0x324897[_0x5332d0(0x198)](debug,_0x5332d0(0x151)+_0x324897[_0x5332d0(0x149)](_0x324897[_0x5332d0(0x169)](_0x324897['KxJQm'](_0x1ceb00,_0x355284),_0x3faf53),0x64));},exports[a44_0x4c0d33(0x155)]=()=>{const _0x378f53=a44_0x4c0d33,_0x5e381e={'Bmpku':function(_0x15fc51,_0x285fff){return _0x15fc51(_0x285fff);},'McdKa':function(_0x3c13ad,_0x41746d){return _0x3c13ad>=_0x41746d;},'Hzrsa':'1.38.0','VxyWm':_0x378f53(0x1aa),'SGVca':_0x378f53(0x1a0),'DPhUZ':function(_0x168626,_0x51acc3){return _0x168626>=_0x51acc3;},'xhdMe':_0x378f53(0x1cc),'UZaGi':'@playwright/test/lib/transform/transform.js','hRTtc':_0x378f53(0x1b6),'QkDvX':_0x378f53(0x1a2)},_0xf593a6=_0x5e381e[_0x378f53(0x161)](getFrameworkVersion,FRAMEWORKS[_0x378f53(0x147)]);if(_0x5e381e[_0x378f53(0x1d8)](helper[_0x378f53(0x170)](_0xf593a6,_0x5e381e[_0x378f53(0x168)]),0x0))return[_0x5e381e[_0x378f53(0x196)],_0x5e381e[_0x378f53(0x136)]];if(_0x5e381e[_0x378f53(0x141)](helper[_0x378f53(0x170)](_0xf593a6,_0x5e381e[_0x378f53(0x1d3)]),0x0))return[_0x5e381e[_0x378f53(0x19c)],_0x5e381e['hRTtc']];return[_0x5e381e[_0x378f53(0x1b2)],_0x5e381e[_0x378f53(0x1ca)]];},exports[a44_0x4c0d33(0x1c4)]=()=>{const _0x1a4c59=a44_0x4c0d33,_0x3e234d={'Mqoym':function(_0x4c625d,_0x40bc04){return _0x4c625d(_0x40bc04);},'eymeH':function(_0x28a9b9,_0x2796e8){return _0x28a9b9>=_0x2796e8;},'yoMdA':_0x1a4c59(0x1dc),'mERqF':'playwright/lib/common/configLoader.js','AYmlg':_0x1a4c59(0x1a0),'DLaIx':_0x1a4c59(0x13c),'dThRR':'@playwright/test'},_0x55724b=_0x3e234d['Mqoym'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x3e234d['eymeH'](helper['compareVersions'](_0x55724b,_0x3e234d[_0x1a4c59(0x164)]),0x0))return[_0x3e234d['mERqF'],_0x3e234d[_0x1a4c59(0x1a8)]];return[_0x3e234d[_0x1a4c59(0x13a)],_0x3e234d['dThRR']];},exports[a44_0x4c0d33(0x19d)]=()=>{const _0x1e09fc=a44_0x4c0d33,_0x22d613={};_0x22d613['rDJvy']=_0x1e09fc(0x197);const _0x2a8d24=_0x22d613;return helper[_0x1e09fc(0x156)](_0x2a8d24[_0x1e09fc(0x189)]);},exports['getProjectUtilsPath']=()=>{const _0x4e8e5c=a44_0x4c0d33,_0x3673c8={};_0x3673c8[_0x4e8e5c(0x1c2)]=_0x4e8e5c(0x17b);const _0xc2241b=_0x3673c8;return helper['getPlaywrightLibPath'](_0xc2241b['cNTtG']);},exports[a44_0x4c0d33(0x191)]=()=>{const _0x2d9c32=a44_0x4c0d33,_0x1b1504={'TcDeo':function(_0x372e29,_0x1d35e9){return _0x372e29(_0x1d35e9);},'uGDxl':function(_0x1b6897,_0x139ef6){return _0x1b6897>=_0x139ef6;},'wWAHy':'1.38.0','kOjJt':_0x2d9c32(0x167),'cBdZT':_0x2d9c32(0x16a),'gPptv':_0x2d9c32(0x12e),'yFgnx':'test'},_0x111bda=_0x1b1504['TcDeo'](getFrameworkVersion,FRAMEWORKS[_0x2d9c32(0x147)]);if(_0x1b1504[_0x2d9c32(0x1a9)](helper[_0x2d9c32(0x170)](_0x111bda,_0x1b1504['wWAHy']),0x0))return path['join'](_0x1b1504[_0x2d9c32(0x14a)],_0x1b1504[_0x2d9c32(0x15e)],_0x1b1504[_0x2d9c32(0x134)]);return path['join'](_0x1b1504['yFgnx'],_0x1b1504[_0x2d9c32(0x14a)],_0x1b1504[_0x2d9c32(0x15e)],_0x1b1504['gPptv']);},exports[a44_0x4c0d33(0x17f)]=(_0x57dea8,{test_run_uuid:_0x11a9be})=>{const _0x42add8=a44_0x4c0d33,_0x2bc07e={'LQYcY':_0x42add8(0x18f),'TmxJw':'TEST_LOG','cObEd':function(_0x56b60f,_0x125ef2){return _0x56b60f<=_0x125ef2;},'IMBlx':function(_0x2cbaf2,_0x37a35e){return _0x2cbaf2(_0x37a35e);},'jASBQ':_0x42add8(0x178),'DaWGi':function(_0x19e33f,_0x3c7ccb){return _0x19e33f>=_0x3c7ccb;},'AZgxY':_0x42add8(0x140),'wtijQ':function(_0x4bf22a,_0x36afc6){return _0x4bf22a>_0x36afc6;},'MHsOW':function(_0x2059d0,_0x244a60){return _0x2059d0(_0x244a60);},'vYAfm':function(_0x2a1359,_0x349335,_0x4e3d62){return _0x2a1359(_0x349335,_0x4e3d62);},'fdOwg':_0x42add8(0x194)};if(!_0x57dea8||_0x2bc07e[_0x42add8(0x1a7)](_0x57dea8[_0x42add8(0x1b4)],0x0))return[];const _0x88739=_0x2bc07e[_0x42add8(0x1b9)](removeAnsiColors,_0x57dea8[0x0][_0x42add8(0x16f)]);if(_0x88739[_0x42add8(0x193)](_0x2bc07e['jASBQ'])){const _0x567d43=_0x57dea8[0x0],_0xe7e798=_0x2bc07e[_0x42add8(0x1b9)](getFrameworkVersion,FRAMEWORKS[_0x42add8(0x147)]);if((!_0x567d43[_0x42add8(0x19a)]||_0x2bc07e[_0x42add8(0x1ab)](_0xe7e798,_0x2bc07e['AZgxY']))&&_0x2bc07e[_0x42add8(0x171)](_0x57dea8['length'],0x1))return{'failureData':[{'backtrace':[_0x88739,_0x2bc07e[_0x42add8(0x1bc)](removeAnsiColors,_0x57dea8[0x1][_0x42add8(0x19a)])]}],'logs':_0x57dea8[_0x42add8(0x165)](0x2)[_0x42add8(0x1b7)](_0x133436=>{const _0x475ee3=_0x42add8;return{'timestamp':new Date()[_0x475ee3(0x139)](),'level':_0x2bc07e['LQYcY'],'message':''+_0x133436[_0x475ee3(0x16f)],'kind':_0x2bc07e[_0x475ee3(0x12c)],'http_response':{},'test_run_uuid':_0x11a9be};})};}return{'failureData':_0x2bc07e[_0x42add8(0x16c)](failureData,_0x57dea8,_0x2bc07e[_0x42add8(0x16d)]),'logs':[]};},exports[a44_0x4c0d33(0x195)]=_0x1b8ebc=>{const _0x442eb3=a44_0x4c0d33,_0x2036e8={};_0x2036e8[_0x442eb3(0x154)]=function(_0x3ef5d3,_0x280cf8){return _0x3ef5d3!==_0x280cf8;},_0x2036e8[_0x442eb3(0x13f)]=_0x442eb3(0x174),_0x2036e8[_0x442eb3(0x1b0)]=function(_0x2d618c,_0x51225c){return _0x2d618c>_0x51225c;};const _0x6240b8=_0x2036e8;if(_0x1b8ebc&&fs[_0x442eb3(0x15c)](_0x1b8ebc)){if(_0x6240b8[_0x442eb3(0x154)](path[_0x442eb3(0x14c)](_0x1b8ebc)[_0x442eb3(0x199)](),_0x6240b8[_0x442eb3(0x13f)]))return logger[_0x442eb3(0x184)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x1b8ebc),![];const _0x614634=fs['statSync'](_0x1b8ebc)[_0x442eb3(0x158)];if(_0x6240b8[_0x442eb3(0x1b0)](_0x614634,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x442eb3(0x184)](_0x442eb3(0x144)+_0x614634+'\x20bytes'),![];return!![];}return![];},exports[a44_0x4c0d33(0x1b8)]=(_0x5746de,_0x29579b)=>{const _0x1a0e4f=a44_0x4c0d33,_0x3ec756={};_0x3ec756['LmnaT']=_0x1a0e4f(0x177);const _0x50127f=_0x3ec756;logger[_0x1a0e4f(0x15a)](_0x1a0e4f(0x17d)+_0x29579b);if(_0x5746de&&_0x5746de[_0x1a0e4f(0x133)]){const _0x469992=_0x5746de[_0x1a0e4f(0x133)]['find'](_0x4c7af0=>_0x4c7af0[_0x1a0e4f(0x1cd)]===_0x1a0e4f(0x159));if(_0x469992)return logger[_0x1a0e4f(0x15a)](_0x1a0e4f(0x1b3)+_0x29579b+'\x20in\x20attachments'),_0x469992[_0x29579b];}else{if(_0x5746de&&Object[_0x1a0e4f(0x138)]['toString'][_0x1a0e4f(0x1da)](_0x5746de)[_0x1a0e4f(0x12f)](_0x50127f['LmnaT']))for(const _0x28719d of _0x5746de){if(_0x28719d[_0x29579b])return logger[_0x1a0e4f(0x15a)]('Found\x20key:\x20'+_0x29579b+'\x20in\x20arguments'),_0x28719d[_0x29579b];}};return'';},exports['uploadTraceZip']=async(_0x4ee391,_0x388d17)=>{const _0x492ea0=a44_0x4c0d33,_0x340234={};_0x340234[_0x492ea0(0x1a4)]=_0x492ea0(0x180),_0x340234[_0x492ea0(0x1ac)]=_0x492ea0(0x145),_0x340234[_0x492ea0(0x132)]='sendTraceZip',_0x340234[_0x492ea0(0x1a1)]=_0x492ea0(0x176);const _0x4fead9=_0x340234;try{const _0x3ee538={'event_type':_0x4fead9[_0x492ea0(0x1a4)],'logs':[{'data':_0x4ee391?fs[_0x492ea0(0x1dd)](_0x4ee391):'','test_run_uuid':_0x388d17,'kind':_0x4fead9['ChCNn'],'fileName':_0x4ee391?path[_0x492ea0(0x17c)](_0x4ee391):''}]};return await SessionHandler[_0x492ea0(0x131)](_0x3ee538,0x0,_0x4fead9[_0x492ea0(0x132)]);}catch(_0x1cd2a9){logger[_0x492ea0(0x184)](util[_0x492ea0(0x18e)](_0x4fead9['gPBqI'],_0x1cd2a9));}},exports[a44_0x4c0d33(0x1c6)]=async(_0x4cd4e9,_0x316580)=>{const _0x54a5ab=a44_0x4c0d33,_0x23218c={'WCbyN':_0x54a5ab(0x150),'lNkuE':_0x54a5ab(0x1c8),'PNmKT':function(_0x203d68){return _0x203d68();},'jWpLc':_0x54a5ab(0x176)};try{logger[_0x54a5ab(0x15a)](_0x54a5ab(0x143)+_0x316580);let _0x150a17=await exports[_0x54a5ab(0x1b8)](_0x4cd4e9,_0x23218c[_0x54a5ab(0x163)]);if(exports[_0x54a5ab(0x195)](_0x150a17)){logger[_0x54a5ab(0x15a)](_0x23218c[_0x54a5ab(0x15f)]),_0x150a17=path[_0x54a5ab(0x18b)](_0x150a17);const _0x234651={};_0x234651[_0x54a5ab(0x18c)]=_0x316580,_0x234651[_0x54a5ab(0x19e)]=_0x150a17;const _0x283003=_0x234651;_0x23218c[_0x54a5ab(0x190)](getBrowserstackCLI)['getInstance']()[_0x54a5ab(0x12d)]()?TestInfo[_0x54a5ab(0x1cb)](_0x283003):TestDetails['addTraceFilePath'](_0x283003);};}catch(_0x15209c){logger[_0x54a5ab(0x184)](util[_0x54a5ab(0x18e)](_0x23218c[_0x54a5ab(0x152)],_0x15209c));}},exports['getTestIdentifier']=_0x4412e7=>{const _0x2647f2=a44_0x4c0d33,_0x210066={};_0x210066[_0x2647f2(0x19b)]=function(_0x2b51bc,_0x5a3e23){return _0x2b51bc+_0x5a3e23;},_0x210066[_0x2647f2(0x175)]=function(_0x33b2e0,_0x41e9ce){return _0x33b2e0+_0x41e9ce;};const _0x1087aa=_0x210066;return _0x1087aa['gfvUS'](_0x1087aa[_0x2647f2(0x175)](_0x4412e7[_0x2647f2(0x135)],'-'),_0x4412e7['id']);},exports[a44_0x4c0d33(0x1a3)]=(_0x33a9ab,_0x3a1869)=>{const _0x4087cc=a44_0x4c0d33,_0x324e6b={};_0x324e6b[_0x4087cc(0x192)]=function(_0x24538a,_0xb52c33){return _0x24538a+_0xb52c33;};const _0x1e38a6=_0x324e6b;return _0x1e38a6['GZjcL'](_0x1e38a6[_0x4087cc(0x192)](_0x33a9ab['id'],'-'),_0x3a1869);};
1
+ const a44_0x2bb216=a44_0x5793;(function(_0x1fee44,_0x2cd4f2){const _0x92d06f=a44_0x5793,_0xf3d3e1=_0x1fee44();while(!![]){try{const _0x184dfe=-parseInt(_0x92d06f(0x1c5))/0x1*(parseInt(_0x92d06f(0x1cc))/0x2)+parseInt(_0x92d06f(0x201))/0x3*(parseInt(_0x92d06f(0x1d6))/0x4)+parseInt(_0x92d06f(0x231))/0x5*(parseInt(_0x92d06f(0x1e2))/0x6)+-parseInt(_0x92d06f(0x228))/0x7*(parseInt(_0x92d06f(0x22a))/0x8)+parseInt(_0x92d06f(0x1ad))/0x9*(-parseInt(_0x92d06f(0x244))/0xa)+parseInt(_0x92d06f(0x1e6))/0xb*(-parseInt(_0x92d06f(0x205))/0xc)+parseInt(_0x92d06f(0x22e))/0xd;if(_0x184dfe===_0x2cd4f2)break;else _0xf3d3e1['push'](_0xf3d3e1['shift']());}catch(_0x1e7051){_0xf3d3e1['push'](_0xf3d3e1['shift']());}}}(a44_0x162a,0x54a0e));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a44_0x2bb216(0x20b)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x2bb216(0x1ee)),helper=require(a44_0x2bb216(0x217)),path=require('path'),logger=require(a44_0x2bb216(0x21e))[a44_0x2bb216(0x1f1)],SessionHandler=require(a44_0x2bb216(0x233)),TestDetails=require('./test-details'),util=require(a44_0x2bb216(0x1c7)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function a44_0x5793(_0x1c4e97,_0x6badd5){const _0x162a66=a44_0x162a();return a44_0x5793=function(_0x579314,_0x115580){_0x579314=_0x579314-0x1a5;let _0x167871=_0x162a66[_0x579314];return _0x167871;},a44_0x5793(_0x1c4e97,_0x6badd5);}function getBrowserstackCLI(){const _0x7f053b=a44_0x2bb216,_0x53487a={'ycZWk':function(_0x38ec6e,_0x406e94){return _0x38ec6e(_0x406e94);},'CFBKE':_0x7f053b(0x1b2)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x53487a['ycZWk'](require,_0x53487a[_0x7f053b(0x203)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x30e971=>{const _0x38dfd7=a44_0x2bb216;return _0x30e971[_0x38dfd7(0x20d)](/@(\w+)/g)?.[_0x38dfd7(0x1e4)](_0x423238=>_0x423238[_0x38dfd7(0x212)](0x1))||[];};exports[a44_0x2bb216(0x1d3)]=_0x4a44c0=>{const _0x11cc5b=a44_0x2bb216,_0x22ce86={'AceKc':function(_0x2545c9,_0x140f8b){return _0x2545c9(_0x140f8b);}};if(_0x4a44c0[_0x11cc5b(0x224)])return _0x4a44c0[_0x11cc5b(0x224)]['map'](_0x429e69=>_0x429e69[_0x11cc5b(0x1f2)]('@')?_0x429e69[_0x11cc5b(0x1cb)](0x1):_0x429e69);return _0x22ce86[_0x11cc5b(0x222)](getTagsFromTitle,_0x4a44c0[_0x11cc5b(0x1b6)]);},exports[a44_0x2bb216(0x1ae)]=async()=>{const _0x1facb8=a44_0x2bb216,_0x51a41a={'ecGak':function(_0x5e28ee,_0x33a2cb){return _0x5e28ee-_0x33a2cb;},'hasPE':'performance-reporter.html','wPnbP':_0x1facb8(0x1f6),'MskLi':_0x1facb8(0x24a),'HljpK':'onTestBegin','ajiYo':_0x1facb8(0x1f9),'abKcU':_0x1facb8(0x1a5),'LEvUc':'onStepEnd','hltKL':_0x1facb8(0x1e8),'DiXBg':_0x1facb8(0x249),'GVVYf':_0x1facb8(0x219),'ITdfk':_0x1facb8(0x221),'EIoor':_0x1facb8(0x1db),'XprvW':'processPageScreenshot','XwJvY':_0x1facb8(0x1e0),'PSAXC':_0x1facb8(0x1ea),'EaGvg':_0x1facb8(0x1e7),'tqkAU':_0x1facb8(0x1b5),'inedX':function(_0x202964,_0x3e3d9d){return _0x202964(_0x3e3d9d);},'vSbiv':function(_0xcf7629,_0x8cd458){return _0xcf7629/_0x8cd458;},'arVLT':function(_0x3810af,_0x528e1e){return _0x3810af+_0x528e1e;},'ZTCAu':function(_0x391774,_0x4f2b15){return _0x391774*_0x4f2b15;},'XFmuk':function(_0xf0048d,_0x211cc5){return _0xf0048d+_0x211cc5;}};if(!process[_0x1facb8(0x1dd)]['START_TIME'])return;const _0xde9e15=_0x51a41a['ecGak'](new Date()[_0x1facb8(0x1f4)](),new Date(process['env'][_0x1facb8(0x1fb)])[_0x1facb8(0x1f4)]()),_0x204215=await PerformanceTester['stopAndGenerate'](_0x51a41a[_0x1facb8(0x202)],[_0x51a41a[_0x1facb8(0x1c3)],_0x51a41a['MskLi'],_0x51a41a['HljpK'],_0x51a41a['ajiYo'],_0x51a41a['abKcU'],_0x51a41a[_0x1facb8(0x1ff)]]),_0x3eaf10=fs['readdirSync']('.'),_0x561c4b=_0x3eaf10['filter'](_0x59ae27=>_0x59ae27[_0x1facb8(0x1f2)](_0x1facb8(0x200))&&_0x59ae27['endsWith'](_0x1facb8(0x223))),_0x168942=await PerformanceTester[_0x1facb8(0x1f8)](_0x561c4b,[_0x51a41a[_0x1facb8(0x24b)],_0x51a41a[_0x1facb8(0x1fa)],_0x51a41a[_0x1facb8(0x1ce)],_0x51a41a['ITdfk'],_0x51a41a[_0x1facb8(0x1f7)],_0x51a41a[_0x1facb8(0x240)],_0x51a41a[_0x1facb8(0x20e)],_0x51a41a[_0x1facb8(0x1be)],_0x51a41a[_0x1facb8(0x24d)],_0x51a41a[_0x1facb8(0x241)]]);_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1bd)+_0x51a41a[_0x1facb8(0x207)](_0xde9e15,0x3e8)+'\x20s'),_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1de)+_0x51a41a[_0x1facb8(0x214)](_0x168942,_0x204215)),_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1c6)+_0x51a41a['ZTCAu'](_0x51a41a['vSbiv'](_0x51a41a[_0x1facb8(0x1eb)](_0x168942,_0x204215),_0xde9e15),0x64));},exports[a44_0x2bb216(0x229)]=()=>{const _0x836bfc=a44_0x2bb216,_0x325bff={'uffHH':function(_0x31c295,_0x202266){return _0x31c295(_0x202266);},'LhZfY':function(_0x300930,_0x32ea07){return _0x300930>=_0x32ea07;},'zLdEY':'1.38.0','GxMQq':_0x836bfc(0x1d1),'hhZYt':_0x836bfc(0x1d0),'vpklr':_0x836bfc(0x20f),'RceRD':'@playwright/test/lib/transform/transform.js','vPBVS':'@playwright/test','iTHGl':_0x836bfc(0x1d2)},_0x5b4564=_0x325bff[_0x836bfc(0x1ca)](getFrameworkVersion,FRAMEWORKS[_0x836bfc(0x1df)]);if(_0x325bff[_0x836bfc(0x1a9)](helper[_0x836bfc(0x225)](_0x5b4564,_0x325bff[_0x836bfc(0x1c8)]),0x0))return[_0x325bff[_0x836bfc(0x1bb)],_0x325bff[_0x836bfc(0x1cd)]];if(_0x325bff['LhZfY'](helper[_0x836bfc(0x225)](_0x5b4564,_0x325bff[_0x836bfc(0x206)]),0x0))return[_0x325bff[_0x836bfc(0x236)],_0x325bff[_0x836bfc(0x237)]];return[_0x325bff['iTHGl'],_0x325bff[_0x836bfc(0x237)]];},exports['getConfigLoaderPath']=()=>{const _0x2508a0=a44_0x2bb216,_0x5e19ce={'GHAlU':function(_0x156ff6,_0x1f8052){return _0x156ff6(_0x1f8052);},'BjPMx':function(_0x44b5ca,_0x315157){return _0x44b5ca>=_0x315157;},'UuhFW':_0x2508a0(0x1af),'yTxha':'playwright/lib/common/configLoader.js','rLOrX':_0x2508a0(0x1d0),'bZoYh':_0x2508a0(0x1f0),'sjJdX':_0x2508a0(0x23b)},_0x4e33c1=_0x5e19ce['GHAlU'](getFrameworkVersion,FRAMEWORKS[_0x2508a0(0x1df)]);if(_0x5e19ce['BjPMx'](helper[_0x2508a0(0x225)](_0x4e33c1,_0x5e19ce[_0x2508a0(0x243)]),0x0))return[_0x5e19ce[_0x2508a0(0x24f)],_0x5e19ce[_0x2508a0(0x21d)]];return[_0x5e19ce[_0x2508a0(0x1d5)],_0x5e19ce[_0x2508a0(0x1ed)]];},exports['getLoadUtilsPath']=()=>{const _0x2d7ff8=a44_0x2bb216,_0x31a790={};_0x31a790[_0x2d7ff8(0x239)]=_0x2d7ff8(0x1b7);const _0x7f2f0b=_0x31a790;return helper[_0x2d7ff8(0x234)](_0x7f2f0b['QcMgy']);},exports[a44_0x2bb216(0x245)]=()=>{const _0x3f3be2=a44_0x2bb216,_0x5e56b7={};_0x5e56b7['DSEJS']='runner/projectUtils.js';const _0x43f479=_0x5e56b7;return helper[_0x3f3be2(0x234)](_0x43f479[_0x3f3be2(0x247)]);},exports['getForkProcessPath']=()=>{const _0x1be312=a44_0x2bb216,_0x246cf0={'AymnK':function(_0x52c4cd,_0xb6ea35){return _0x52c4cd(_0xb6ea35);},'PAtnw':function(_0x46c99b,_0x13d136){return _0x46c99b>=_0x13d136;},'YHQxj':_0x1be312(0x1af),'vxqSf':_0x1be312(0x22b),'Yylqu':_0x1be312(0x1f5),'WAjKV':_0x1be312(0x1e3),'Amkuj':_0x1be312(0x23c)},_0x15e38c=_0x246cf0['AymnK'](getFrameworkVersion,FRAMEWORKS[_0x1be312(0x1df)]);if(_0x246cf0[_0x1be312(0x1d9)](helper['compareVersions'](_0x15e38c,_0x246cf0[_0x1be312(0x1ab)]),0x0))return path['join'](_0x246cf0[_0x1be312(0x210)],_0x246cf0['Yylqu'],_0x246cf0[_0x1be312(0x1b8)]);return path[_0x1be312(0x1dc)](_0x246cf0[_0x1be312(0x24c)],_0x246cf0['vxqSf'],_0x246cf0[_0x1be312(0x22c)],_0x246cf0[_0x1be312(0x1b8)]);},exports[a44_0x2bb216(0x1a6)]=(_0x1ea25a,{test_run_uuid:_0x503fd3})=>{const _0x3b1863=a44_0x2bb216,_0x50a9c0={'hidTH':'ERROR','owkQo':_0x3b1863(0x24e),'XxyQa':function(_0x934dea,_0x24183c){return _0x934dea<=_0x24183c;},'ZQSSy':function(_0x191492,_0x4ee144){return _0x191492(_0x4ee144);},'ktUjP':_0x3b1863(0x1f3),'mcKjB':function(_0x4f235e,_0x493172){return _0x4f235e>=_0x493172;},'CEfPN':_0x3b1863(0x209),'gzvUy':function(_0x1aceb5,_0x535909){return _0x1aceb5>_0x535909;},'mHzZI':function(_0x43491b,_0x47d885,_0x180efb){return _0x43491b(_0x47d885,_0x180efb);},'WvcMU':'test'};if(!_0x1ea25a||_0x50a9c0['XxyQa'](_0x1ea25a[_0x3b1863(0x1ac)],0x0))return[];const _0x49d7b5=_0x50a9c0['ZQSSy'](removeAnsiColors,_0x1ea25a[0x0][_0x3b1863(0x1fc)]);if(_0x49d7b5['startsWith'](_0x50a9c0['ktUjP'])){const _0x411365=_0x1ea25a[0x0],_0x5ca712=_0x50a9c0[_0x3b1863(0x1aa)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x411365['stack']||_0x50a9c0['mcKjB'](_0x5ca712,_0x50a9c0[_0x3b1863(0x1bf)]))&&_0x50a9c0['gzvUy'](_0x1ea25a[_0x3b1863(0x1ac)],0x1))return{'failureData':[{'backtrace':[_0x49d7b5,_0x50a9c0[_0x3b1863(0x1aa)](removeAnsiColors,_0x1ea25a[0x1][_0x3b1863(0x220)])]}],'logs':_0x1ea25a[_0x3b1863(0x212)](0x2)[_0x3b1863(0x1e4)](_0x414a4b=>{const _0x37a72d=_0x3b1863;return{'timestamp':new Date()[_0x37a72d(0x242)](),'level':_0x50a9c0[_0x37a72d(0x218)],'message':''+_0x414a4b[_0x37a72d(0x1fc)],'kind':_0x50a9c0[_0x37a72d(0x20c)],'http_response':{},'test_run_uuid':_0x503fd3};})};}return{'failureData':_0x50a9c0['mHzZI'](failureData,_0x1ea25a,_0x50a9c0['WvcMU']),'logs':[]};},exports['validateFilePath']=_0x16fa41=>{const _0x1aa427=a44_0x2bb216,_0x2cad1e={};_0x2cad1e[_0x1aa427(0x238)]=function(_0x1c8598,_0x4ff5c9){return _0x1c8598!==_0x4ff5c9;},_0x2cad1e[_0x1aa427(0x23a)]=_0x1aa427(0x1d4),_0x2cad1e[_0x1aa427(0x21b)]=function(_0x3503a8,_0x36c994){return _0x3503a8>_0x36c994;};const _0x107502=_0x2cad1e;if(_0x16fa41&&fs['existsSync'](_0x16fa41)){if(_0x107502[_0x1aa427(0x238)](path[_0x1aa427(0x22f)](_0x16fa41)[_0x1aa427(0x1d8)](),_0x107502[_0x1aa427(0x23a)]))return logger[_0x1aa427(0x1b1)](_0x1aa427(0x1a7)+_0x16fa41),![];const _0x57147f=fs[_0x1aa427(0x216)](_0x16fa41)[_0x1aa427(0x246)];if(_0x107502[_0x1aa427(0x21b)](_0x57147f,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x1aa427(0x1ef)+_0x57147f+'\x20bytes'),![];return!![];}return![];},exports[a44_0x2bb216(0x1bc)]=(_0x2dcb5f,_0x52e36b)=>{const _0x59e3d5=a44_0x2bb216,_0x2ea8ce={};_0x2ea8ce[_0x59e3d5(0x20a)]=_0x59e3d5(0x1c1);const _0x24ae50=_0x2ea8ce;logger[_0x59e3d5(0x1c0)]('Searching\x20for\x20key:\x20'+_0x52e36b);if(_0x2dcb5f&&_0x2dcb5f['attachments']){const _0x3d9ed4=_0x2dcb5f['attachments'][_0x59e3d5(0x1b4)](_0x20cea9=>_0x20cea9['name']==='trace');if(_0x3d9ed4)return logger[_0x59e3d5(0x1c0)]('Found\x20key:\x20'+_0x52e36b+_0x59e3d5(0x1b9)),_0x3d9ed4[_0x52e36b];}else{if(_0x2dcb5f&&Object[_0x59e3d5(0x227)]['toString'][_0x59e3d5(0x1cf)](_0x2dcb5f)[_0x59e3d5(0x235)](_0x24ae50[_0x59e3d5(0x20a)]))for(const _0x1a7e45 of _0x2dcb5f){if(_0x1a7e45[_0x52e36b])return logger[_0x59e3d5(0x1c0)](_0x59e3d5(0x1b0)+_0x52e36b+'\x20in\x20arguments'),_0x1a7e45[_0x52e36b];}};return'';},exports['uploadTraceZip']=async(_0x3cb79f,_0x2df43e)=>{const _0x4f3bce=a44_0x2bb216,_0x265d94={};_0x265d94[_0x4f3bce(0x211)]=_0x4f3bce(0x23f),_0x265d94[_0x4f3bce(0x232)]=_0x4f3bce(0x248),_0x265d94[_0x4f3bce(0x208)]='sendTraceZip',_0x265d94[_0x4f3bce(0x204)]=_0x4f3bce(0x22d);const _0x14f04e=_0x265d94;try{const _0x143cf1={'event_type':_0x14f04e[_0x4f3bce(0x211)],'logs':[{'data':_0x3cb79f?fs[_0x4f3bce(0x21f)](_0x3cb79f):'','test_run_uuid':_0x2df43e,'kind':_0x14f04e[_0x4f3bce(0x232)],'fileName':_0x3cb79f?path[_0x4f3bce(0x1a8)](_0x3cb79f):''}]};return await SessionHandler[_0x4f3bce(0x1ec)](_0x143cf1,0x0,_0x14f04e['AgtqY']);}catch(_0x59ae28){logger[_0x4f3bce(0x1b1)](util[_0x4f3bce(0x1fe)](_0x14f04e[_0x4f3bce(0x204)],_0x59ae28));}},exports['sendTraceZip']=async(_0x23f2cc,_0x55a7a4)=>{const _0x566f2d=a44_0x2bb216,_0x140523={'jrxLB':_0x566f2d(0x1d7),'dgmjS':_0x566f2d(0x23e),'yjIre':function(_0x19ebcf){return _0x19ebcf();},'TqwXO':_0x566f2d(0x22d)};try{logger[_0x566f2d(0x1c0)](_0x566f2d(0x1ba)+_0x55a7a4);let _0x535593=await exports['findNestedKey'](_0x23f2cc,_0x140523[_0x566f2d(0x215)]);if(exports['validateFilePath'](_0x535593)){logger[_0x566f2d(0x1c0)](_0x140523[_0x566f2d(0x23d)]),_0x535593=path[_0x566f2d(0x1da)](_0x535593);const _0x337294={};_0x337294[_0x566f2d(0x1c9)]=_0x55a7a4,_0x337294[_0x566f2d(0x1fd)]=_0x535593;const _0x110a4b=_0x337294;_0x140523[_0x566f2d(0x226)](getBrowserstackCLI)[_0x566f2d(0x1b3)]()[_0x566f2d(0x1c4)]()?TestInfo[_0x566f2d(0x1e5)](_0x110a4b):TestDetails['addTraceFilePath'](_0x110a4b);};}catch(_0x7386ab){logger[_0x566f2d(0x1b1)](util[_0x566f2d(0x1fe)](_0x140523[_0x566f2d(0x21c)],_0x7386ab));}},exports[a44_0x2bb216(0x213)]=_0x469822=>{const _0x2963b3=a44_0x2bb216,_0x368fe5={};_0x368fe5[_0x2963b3(0x1c2)]=function(_0x511672,_0x3266f1){return _0x511672+_0x3266f1;},_0x368fe5[_0x2963b3(0x21a)]=function(_0xec452d,_0x22597c){return _0xec452d+_0x22597c;};const _0x3894f6=_0x368fe5;return _0x3894f6[_0x2963b3(0x1c2)](_0x3894f6['FHNQs'](_0x469822['_projectId'],'-'),_0x469822['id']);},exports[a44_0x2bb216(0x1e1)]=(_0x138a8c,_0x2f3080)=>{const _0x1a75ec=a44_0x2bb216,_0x39a69b={};_0x39a69b[_0x1a75ec(0x230)]=function(_0x2b4593,_0x3fdd55){return _0x2b4593+_0x3fdd55;};const _0x1d8088=_0x39a69b;return _0x1d8088['YKxvd'](_0x1d8088[_0x1a75ec(0x230)](_0x138a8c['id'],'-'),_0x2f3080);};function a44_0x162a(){const _0x2b94fa=['EaGvg','TEST_LOG','yTxha','onStepBegin','getFailureData','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','basename','LhZfY','ZQSSy','YHQxj','length','9783vEtLwT','calculatePerformance','1.38.0','Found\x20key:\x20','error','../../v2/browserstackCLI','getInstance','find','sendTestLog','title','runner/loadUtils.js','WAjKV','\x20in\x20attachments','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','GxMQq','findNestedKey','Total\x20duration\x20for\x20whole\x20build\x20is\x20','PSAXC','CEfPN','debug','Arguments','xPwql','wPnbP','isRunning','166280GLwNiq','Percentage\x20of\x20increased\x20time\x20is\x20','util','zLdEY','testUId','uffHH','substr','2qOKudS','hhZYt','GVVYf','call','playwright','playwright/lib/transform/transform.js','@playwright/test/lib/common/transform.js','getTestTags','.zip','bZoYh','192300fKODfj','path','toLowerCase','PAtnw','resolve','doo11ySync','join','env','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','PLAYWRIGHT','sendSessionDetails','getTestRunIdentifier','115698BjgPNa','process.js','map','addTraceFilePath','979YaPLIk','requestSpyCallback','beforeWorkerHook','inedX','setupBrowserDetails','XFmuk','sendEventData','sjJdX','../../../helpers/test-observability/constants','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','@playwright/test/lib/common/configLoader.js','winstonLogger','startsWith','Test\x20timeout\x20of','getTime','common','onBegin','EIoor','calculateTimesFromMultipleFiles','onTestEnd','DiXBg','START_TIME','message','filePath','format','LEvUc','performance-report-worker-','6SoDIfR','hasPE','CFBKE','DVPpb','26052gLAMLz','vpklr','vSbiv','AgtqY','1.42.0','KzUBu','../../../helpers/performance/performance-tester','owkQo','match','XwJvY','1.35.0','vxqSf','AmSfU','slice','getTestIdentifier','arVLT','jrxLB','statSync','../../../helpers/helper','hidTH','beforeTestHook','FHNQs','bUWzR','TqwXO','rLOrX','../../../helpers/logger','createReadStream','stack','afterTestHook','AceKc','.json','tags','compareVersions','yjIre','prototype','18508xfcfzI','getTransformPath','1528kUCDHO','lib','Yylqu','Error\x20in\x20sending\x20trace\x20file:\x20%s','9266829NLhtbt','extname','YKxvd','135RzuZvc','CGbjH','../../../helpers/test-observability/sessionHandler','getPlaywrightLibPath','includes','RceRD','vPBVS','XFUIQ','QcMgy','ROGEy','@playwright/test','test','dgmjS','Trace\x20enabled','LogCreated','XprvW','tqkAU','toISOString','UuhFW','1090TAWfwg','getProjectUtilsPath','size','DSEJS','TEST_ATTACHMENT','afterWorkerHook','endSession','hltKL','Amkuj'];a44_0x162a=function(){return _0x2b94fa;};return a44_0x162a();}
@@ -1 +1 @@
1
- const a45_0x16cbc6=a45_0x5982;(function(_0x4a2ea0,_0x318d62){const _0xdd8af0=a45_0x5982,_0x2e074f=_0x4a2ea0();while(!![]){try{const _0x25243c=-parseInt(_0xdd8af0(0xc0))/0x1*(-parseInt(_0xdd8af0(0x195))/0x2)+-parseInt(_0xdd8af0(0x150))/0x3*(parseInt(_0xdd8af0(0x12c))/0x4)+parseInt(_0xdd8af0(0xc7))/0x5+-parseInt(_0xdd8af0(0x143))/0x6+-parseInt(_0xdd8af0(0x180))/0x7+-parseInt(_0xdd8af0(0x13a))/0x8*(parseInt(_0xdd8af0(0xc5))/0x9)+parseInt(_0xdd8af0(0xe3))/0xa;if(_0x25243c===_0x318d62)break;else _0x2e074f['push'](_0x2e074f['shift']());}catch(_0x27f816){_0x2e074f['push'](_0x2e074f['shift']());}}}(a45_0x5808,0x919e9));function a45_0x5982(_0x41560b,_0x2723dd){const _0x580840=a45_0x5808();return a45_0x5982=function(_0x5982ae,_0x3bcff6){_0x5982ae=_0x5982ae-0x9c;let _0x329a88=_0x580840[_0x5982ae];return _0x329a88;},a45_0x5982(_0x41560b,_0x2723dd);}const RequestQueueHandler=require(a45_0x16cbc6(0x19d)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x16cbc6(0x10f)),{v4:uuidv4}=require(a45_0x16cbc6(0xcf)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x16cbc6(0x117)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0x16cbc6(0x176)),fs=require('fs'),util=require(a45_0x16cbc6(0xaf)),{o11yClassErrorHandler}=require(a45_0x16cbc6(0x196)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a45_0x16cbc6(0x145)),helper=require(a45_0x16cbc6(0x190)),BrowserstackCLI=require(a45_0x16cbc6(0x15f)),TestFrameworkState=require(a45_0x16cbc6(0x133)),HookState=require(a45_0x16cbc6(0xb4)),TestInfo=require(a45_0x16cbc6(0x13f)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x16cbc6(0xfb));function a45_0x5808(){const _0x2bcf1f=['duration','JAnnT','xvcjN','EClps','BWEbJ','sendTestRunEvent','../../../../src/bin/utils/constants','rxTdT','dzYzP','HookRunStarted','INIT_TEST','performance-report-reporter.json','expanded','TEST','failure_reason','jAQbU','YzdZZ','PUTpP','afterEach\x20hook','HnTfY','Trace\x20file\x20found\x20for\x20test:\x20','event_type','Cmdnu','BrqIn','trackEvent','readFileSync','./pwUtils','TestRunFinished','OOiWZ','RcdeH','mtime','_testHooksMap','exports','getScope','../../../helpers/test-observability/utils','root','DPjEY','RfCTh','tYuQo','title','afterAll\x20hook','cwd','pUGrJ','AFTER_ALL','getHookType','atUAO','parent','Grbqs','IBRzm','sendHookRunEvent','mTyyu','javascript','qDOzu','wlVMK','YWeiS','1756fPeIvh','hExwc','path','addTestUIDAndReportLog','location','grWSw','Error\x20in\x20sending\x20trace\x20zip:\x20%s','../../v2/state/testFrameworkState','\x20is\x20triggered','ZVPNa','printsToStdio','JBUns','homedir','\x20at\x20','1711032FyEwAr','push','skipped','DiVUF','getHierarchy','../../v2/TestInfo','zCJri','SjBtg','shutdown','1538466wSFzTq','test','../../../helpers/testhub/utils','Eitur','aLNwS','KEOoX','WCFJm','JhEeP','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','SfXDi','length','aDvUN','After\x20Hooks','87kioxVG','onTestBegin','YZQaj','error','test_run_uuid','errors','tLcgF','message','base64','XoreH','sZYuC','startsWith','logs','startTime','isRunning','../../v2/browserstackCLI','\x20for\x20','ojtiC','yCgHj','uQPSE','status','_tags','POST','cfWUp','wHyma','KIYcD','bCFPp','odwRC','_gitConfigPath','eKMdv','pending','AFTER_EACH','failure','trace_','format','TEST_ATTACHMENT','titlePath','err','./test-details','failure_type','VkJKv','ltGuL','needToReportStep','fcHcN','retry_of','wBNdL','PMNxl','env','692951wSWDBJ','Hook\x20Started\x20with\x20unique\x20id\x20','getStepIdentifier','attachments','Sending\x20session\x20details\x20for\x20','configureGit','Before\x20Hooks','TvLBS','cdtpo','KmWuR','evsJq','TltsW','expectedStatus','\x20-\x20','oElhK','getTestUUID','../../../helpers/helper','getTime','Playwright','uploadEventData','screenshot','18066WbFgwc','../../../helpers/test-observability/error-handler','BROWSERSTACK_LOG_LEVEL','oGLak','FVFIq','onBegin','umSDp','.browserstack','../../../helpers/test-observability/requestQueueHandler','Test\x20Finished\x20with\x20unique\x20id\x20','BEFORE_ALL','QuEsZ','TEST_SCREENSHOT','Uexkt','pkYFs','setup','PRE','PLAYWRIGHT','ToyMz','UnEzZ','step','getStepsAndLogs','join','onTestEnd','toISOString','split','BEFORE_EACH','aRFUc','WcZHp','startedAt','YNmBM','mauJp','zkyIS','zacLh','uVgic','zUGVC','meta','object','file','util','hcRRv','toString','mOaMQ','existsSync','../../v2/state/hookState','reportLogs','result','hooks','hook_run_uuid','failed','2|7|6|5|0|4|1|3','ubBKr','HookRunFinished','fBSoG','\x20is\x20triggered\x20for\x20test\x20','wonpR','43AtKIzz','Error\x20in\x20calculating\x20performance:\x20','relative','fCFdf','.txt','36FpSjza','beforeEach\x20hook','5121485IuMmYJ','startMonitoring','anFiX','steps','_bs_hookIdentifier','TEST_STEP','onStepBegin','xWhoH','uuid','mkdirSync','size','hook','_gitConfigured','enxXW','onStepEnd','_trackedEvents','START_TIME','NdOuo','Expected\x20to\x20fail,\x20but\x20passed.','_tests','MyReporter','statSync','Test\x20Started\x20with\x20unique\x20id\x20','getCustomRerunParam','pbdpl','endSession','LgxPd','CMHHT','4073920HuyEiN','retry','depth','RQpAF','filter','backtrace','passed','reverse','finishedAt','forEach','bByAf','getInstance','getTestFramework','MKQyf','mVhZY','map','category','setStepIdentifier'];a45_0x5808=function(){return _0x2bcf1f;};return a45_0x5808();}class MyReporter{constructor(_0x59b1c9){const _0x5a7f94=a45_0x16cbc6,_0x33a795={'fBSoG':_0x5a7f94(0xba),'jEyTr':function(_0x5dc4f1,_0xf5abf0,_0x3c9bd8,_0x3b71d5){return _0x5dc4f1(_0xf5abf0,_0x3c9bd8,_0x3b71d5);},'pkYFs':_0x5a7f94(0x100)},_0x575e5c=_0x33a795[_0x5a7f94(0xbd)]['split']('|');let _0x1f295e=0x0;while(!![]){switch(_0x575e5c[_0x1f295e++]){case'0':this['options']=_0x59b1c9;continue;case'1':this[_0x5a7f94(0x16c)]=null;continue;case'2':const _0xf0544e={};_0xf0544e['logLevel']=process[_0x5a7f94(0x17f)][_0x5a7f94(0x197)],_0x33a795['jEyTr'](setLogLevel,_0xf0544e,new Map(),new Map());continue;case'3':this[_0x5a7f94(0xd6)]=[];continue;case'4':this[_0x5a7f94(0xd3)]=![];continue;case'5':this[_0x5a7f94(0x114)]={};continue;case'6':this[_0x5a7f94(0xda)]={};continue;case'7':process[_0x5a7f94(0x17f)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x5a7f94(0xc8)](_0x33a795[_0x5a7f94(0x1a3)]),process['env'][_0x5a7f94(0xd7)]=new Date()[_0x5a7f94(0xa0)]());continue;}break;}}async['onBegin'](){const _0xefd8d1=a45_0x16cbc6,_0xf196d4={};_0xf196d4[_0xefd8d1(0xbb)]=_0xefd8d1(0x192);const _0x1d0e0c=_0xf196d4;TestDetails[_0xefd8d1(0x1a4)](),await this[_0xefd8d1(0x185)](),TestInfo[_0xefd8d1(0x1a4)](_0x1d0e0c[_0xefd8d1(0xbb)]);if(BrowserstackCLI['getInstance']()[_0xefd8d1(0x15e)]()){await BrowserstackCLI[_0xefd8d1(0xee)]()[_0xefd8d1(0xef)]()[_0xefd8d1(0x10d)](TestFrameworkState[_0xefd8d1(0xff)],HookState[_0xefd8d1(0x1a5)],{});return;}}async[a45_0x16cbc6(0x151)](_0x4c5301,_0x3afa3a){const _0x469a42=a45_0x16cbc6,_0xd125cc={'ToyMz':function(_0x3d82fa,_0x436157){return _0x3d82fa(_0x436157);},'AbppM':function(_0x3d81c8,_0x542fd9,_0x2b3725){return _0x3d81c8(_0x542fd9,_0x2b3725);},'VkJKv':function(_0x363585,_0x23f5ef){return _0x363585(_0x23f5ef);},'aemyr':'TestRunStarted'};if(BrowserstackCLI[_0x469a42(0xee)]()[_0x469a42(0x15e)]()){const _0x4d9654={};_0x4d9654['test']=_0x4c5301,_0x4d9654[_0x469a42(0xb6)]=_0x3afa3a,await BrowserstackCLI['getInstance']()[_0x469a42(0xef)]()[_0x469a42(0x10d)](TestFrameworkState[_0x469a42(0x102)],HookState['PRE'],_0x4d9654);return;}const _0x1c65c3=_0xd125cc[_0x469a42(0x1a7)](getTestIdentifier,_0x4c5301),_0x14e97c=TestDetails[_0x469a42(0x18f)](_0xd125cc['AbppM'](getTestRunIdentifier,_0x4c5301,_0x3afa3a[_0x469a42(0xe4)]));process[_0x469a42(0x17f)]['BROWSERSTACK_TEST_RUN_ID']=_0x14e97c;const _0x15f09d={};_0x15f09d[_0x469a42(0xcf)]=_0x14e97c,_0x15f09d[_0x469a42(0xa5)]=_0x3afa3a[_0x469a42(0x15d)],this[_0x469a42(0xda)][_0x1c65c3]=_0x15f09d,_0xd125cc[_0x469a42(0x178)](trace,_0x469a42(0xdd)+_0x1c65c3),await this[_0x469a42(0xfa)](_0x4c5301,_0xd125cc['aemyr'],_0x3afa3a);}async[a45_0x16cbc6(0xcd)](_0x3630f9,_0x45bfec,_0x33fd49){const _0x54ec32=a45_0x16cbc6,_0x3f0ed2={'RQpAF':function(_0x495a23,_0x1ce61d,_0x1597c0){return _0x495a23(_0x1ce61d,_0x1597c0);},'FVFIq':function(_0x323ab1,_0x8f637d){return _0x323ab1(_0x8f637d);},'QVklW':_0x54ec32(0xfe)};if(!this[_0x54ec32(0x17a)](_0x33fd49,_0x3630f9))return;if(BrowserstackCLI[_0x54ec32(0xee)]()[_0x54ec32(0x15e)]()){const _0x47ffdf=this[_0x54ec32(0x121)](_0x33fd49[_0x54ec32(0x11c)]),_0x114f84=TestFrameworkState[_0x47ffdf],_0x418a65={};_0x418a65[_0x54ec32(0x144)]=_0x3630f9,_0x418a65[_0x54ec32(0xb6)]=_0x45bfec,_0x418a65['step']=_0x33fd49,await BrowserstackCLI[_0x54ec32(0xee)]()['getTestFramework']()[_0x54ec32(0x10d)](_0x114f84,HookState[_0x54ec32(0x1a5)],_0x418a65);return;}const _0x1c536f=this[_0x54ec32(0xf4)](_0x3630f9,_0x33fd49);this[_0x54ec32(0xda)][_0x1c536f]={'uuid':TestDetails[_0x54ec32(0x18f)](_0x1c536f),'startedAt':_0x33fd49[_0x54ec32(0x15d)]['toISOString']()};const _0x1d18dc=_0x3f0ed2[_0x54ec32(0xe6)](getTestRunIdentifier,_0x3630f9,_0x45bfec['retry']);!this[_0x54ec32(0x114)][_0x1d18dc]&&(this[_0x54ec32(0x114)][_0x1d18dc]=[]),this['_testHooksMap'][_0x1d18dc][_0x54ec32(0x13b)](this[_0x54ec32(0xda)][_0x1c536f][_0x54ec32(0xcf)]),_0x3f0ed2[_0x54ec32(0x199)](trace,_0x54ec32(0x181)+_0x1c536f+_0x54ec32(0xbe)+_0x1d18dc),await this[_0x54ec32(0x126)](_0x3630f9,_0x33fd49,_0x3f0ed2['QVklW'],_0x45bfec);}async[a45_0x16cbc6(0xd5)](_0x335612,_0x5ccf3f,_0x4a7f6d){const _0xd9f79e=a45_0x16cbc6,_0x524316={'bCFPp':function(_0x5d2f9e,_0x3a82c4){return _0x5d2f9e+_0x3a82c4;},'fCFdf':function(_0x47bcc1,_0x312a1b){return _0x47bcc1(_0x312a1b);},'dzYzP':'HookRunFinished'};if(!this[_0xd9f79e(0x17a)](_0x4a7f6d,_0x335612))return;if(BrowserstackCLI['getInstance']()[_0xd9f79e(0x15e)]()){const _0x35f92b=this['getHookType'](_0x4a7f6d[_0xd9f79e(0x11c)]),_0x2dd55d=TestFrameworkState[_0x35f92b],_0x359e92={};_0x359e92['test']=_0x335612,_0x359e92['result']=_0x5ccf3f,_0x359e92[_0xd9f79e(0x9c)]=_0x4a7f6d,await BrowserstackCLI[_0xd9f79e(0xee)]()[_0xd9f79e(0xef)]()['trackEvent'](_0x2dd55d,HookState[_0xd9f79e(0x166)],_0x359e92);return;}const _0x23760a=this[_0xd9f79e(0x182)](_0x335612,_0x4a7f6d);this[_0xd9f79e(0xda)][_0x23760a]={...this[_0xd9f79e(0xda)][_0x23760a]||{},'finishedAt':new Date(_0x524316[_0xd9f79e(0x16a)](_0x4a7f6d[_0xd9f79e(0x15d)][_0xd9f79e(0x191)](),_0x4a7f6d['duration']))},_0x524316[_0xd9f79e(0xc3)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x23760a+_0xd9f79e(0x134)),await this['sendHookRunEvent'](_0x335612,_0x4a7f6d,_0x524316[_0xd9f79e(0xfd)],_0x5ccf3f);}async[a45_0x16cbc6(0x9f)](_0x3b85d6,_0x4f0947){const _0x484439=a45_0x16cbc6,_0x3943a4={'zCJri':function(_0x15ca5b,_0x575676){return _0x15ca5b===_0x575676;},'mTyyu':_0x484439(0x194),'NdOuo':_0x484439(0x1a1),'zkyIS':_0x484439(0x158),'wBNdL':function(_0x1d1112,_0x288c01){return _0x1d1112(_0x288c01);},'JBUns':function(_0x9c19e1,_0xa5d3d3,_0xbd945a){return _0x9c19e1(_0xa5d3d3,_0xbd945a);},'uQPSE':'TestRunFinished','rxTdT':_0x484439(0x14b),'enxXW':function(_0x5a1c09,_0x5e8c3a){return _0x5a1c09(_0x5e8c3a);},'WThqV':_0x484439(0x132),'KmWuR':function(_0x12e617,_0x8b0169){return _0x12e617>_0x8b0169;}};if(BrowserstackCLI[_0x484439(0xee)]()[_0x484439(0x15e)]()){const _0x456e2d={};_0x456e2d['test']=_0x3b85d6,_0x456e2d[_0x484439(0xb6)]=_0x4f0947,this[_0x484439(0xd6)][_0x484439(0x13b)](BrowserstackCLI[_0x484439(0xee)]()[_0x484439(0xef)]()[_0x484439(0x10d)](TestFrameworkState[_0x484439(0x102)],HookState[_0x484439(0x166)],_0x456e2d));return;}const _0x11907b=_0x3943a4[_0x484439(0x17d)](getTestIdentifier,_0x3b85d6),_0x5985be=TestDetails[_0x484439(0x18f)](_0x3943a4['JBUns'](getTestRunIdentifier,_0x3b85d6,_0x4f0947[_0x484439(0xe4)]));this[_0x484439(0xda)][_0x11907b]={...this['_tests'][_0x11907b]||{},'finishedAt':new Date()['toISOString']()},_0x3943a4[_0x484439(0x17d)](debug,_0x484439(0x19e)+_0x11907b);try{await this[_0x484439(0xfa)](_0x3b85d6,_0x3943a4[_0x484439(0x163)],_0x4f0947);}catch(_0x32828c){_0x3943a4[_0x484439(0x17d)](debug,util['format'](_0x3943a4[_0x484439(0xfc)],_0x32828c[_0x484439(0xb1)]()));}try{_0x3943a4[_0x484439(0xd4)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x5985be),await _0x3943a4[_0x484439(0x137)](sendTraceZip,_0x4f0947,_0x5985be);}catch(_0x55a4fe){_0x3943a4['wBNdL'](debug,util[_0x484439(0x172)](_0x3943a4['WThqV'],_0x55a4fe[_0x484439(0xb1)]()));}const _0x57cc24=[];_0x4f0947[_0x484439(0x183)]&&_0x4f0947[_0x484439(0x183)]['map'](_0x2a04e2=>{const _0x18056a=_0x484439;if(_0x3943a4[_0x18056a(0x140)](_0x2a04e2['name'],_0x3943a4[_0x18056a(0x127)])){if(!_0x2a04e2[_0x18056a(0x12e)]||!fs[_0x18056a(0xb3)](_0x2a04e2[_0x18056a(0x12e)]))return;_0x57cc24['push']({'test_run_uuid':_0x5985be,'timestamp':fs[_0x18056a(0xdc)](_0x2a04e2['path'])[_0x18056a(0x113)],'kind':_0x3943a4[_0x18056a(0xd8)],'message':fs[_0x18056a(0x10e)](_0x2a04e2[_0x18056a(0x12e)],{'encoding':_0x3943a4[_0x18056a(0xa8)]})});}}),_0x3943a4[_0x484439(0x189)](_0x57cc24[_0x484439(0x14d)],0x0)&&await MyReporter[_0x484439(0xb5)](_0x57cc24);}async[a45_0x16cbc6(0xe0)](){const _0x4b37b8=a45_0x16cbc6;await RequestQueueHandler[_0x4b37b8(0xee)]()[_0x4b37b8(0x142)]();}async['onEnd'](_0x2b3695){const _0x88aec8=a45_0x16cbc6,_0x404178={'hExwc':function(_0x355679){return _0x355679();},'LgxPd':function(_0x5bc5b9,_0x3169ff){return _0x5bc5b9(_0x3169ff);}};await Promise['all'](this[_0x88aec8(0xd6)]),await this['endSession']();try{process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x404178[_0x88aec8(0x12d)](calculatePerformance);}catch(_0x4f61e0){_0x404178[_0x88aec8(0xe1)](debug,_0x88aec8(0xc1)+_0x4f61e0['toString']());}}static async[a45_0x16cbc6(0x12f)](_0x4e4318,_0x5c50a3){const _0x96c598=a45_0x16cbc6;_0x5c50a3[_0x96c598(0x154)]=TestDetails[_0x96c598(0x18f)](_0x4e4318),await this[_0x96c598(0xb5)]([_0x5c50a3]);}static async[a45_0x16cbc6(0xb5)](_0x1278b7){const _0xd96c3f=a45_0x16cbc6,_0x432363={};_0x432363['PuXJM']='LogCreated';const _0xdfff24=_0x432363;if(BrowserstackCLI['getInstance']()[_0xd96c3f(0x15e)]())return;const _0x275063={};_0x275063[_0xd96c3f(0x10a)]=_0xdfff24['PuXJM'],_0x275063[_0xd96c3f(0x15c)]=_0x1278b7,await SessionHandler['uploadEventData'](_0x275063);}async[a45_0x16cbc6(0x126)](_0x13fd1b,_0x31bcd2,_0x2c9390,_0x4f5ebd){const _0x31ea60=a45_0x16cbc6,_0x226823={'evsJq':_0x31ea60(0xd2),'TltsW':_0x31ea60(0x128),'OOiWZ':_0x31ea60(0x16e),'xLbdX':function(_0x20eb68,_0x594a02){return _0x20eb68>=_0x594a02;},'umSDp':function(_0x5e1d66,_0x5bd205){return _0x5e1d66===_0x5bd205;},'UMIDj':_0x31ea60(0xbc),'tLcgF':function(_0x1bb9ec,_0x52d638){return _0x1bb9ec>_0x52d638;},'yCgHj':_0x31ea60(0xb9),'uVgic':function(_0x23676a,_0x42dab8){return _0x23676a(_0x42dab8);},'bByAf':function(_0x57ae13,_0x5266e0,_0x2b6deb){return _0x57ae13(_0x5266e0,_0x2b6deb);},'VsOdg':_0x31ea60(0x175),'pUGrJ':_0x31ea60(0xe9)},_0x57b041=this[_0x31ea60(0x182)](_0x13fd1b,_0x31bcd2),_0x2453a3=this[_0x31ea60(0xda)][_0x57b041],_0x2044ac={'uuid':_0x2453a3['uuid'],'type':_0x226823['evsJq'],'hook_type':this[_0x31ea60(0x121)](_0x31bcd2[_0x31ea60(0x11c)]),'name':_0x31bcd2[_0x31ea60(0x11c)],'scope':this[_0x31ea60(0x116)](_0x31bcd2),'scopes':this[_0x31ea60(0x13e)](_0x13fd1b),'body':{'lang':_0x226823[_0x31ea60(0x18b)],'code':null},'identifier':_0x57b041,'file_name':path['relative'](process[_0x31ea60(0x11e)](),_0x13fd1b[_0x31ea60(0x130)][_0x31ea60(0xae)]),'location':path['relative'](process['cwd'](),_0x13fd1b[_0x31ea60(0x130)][_0x31ea60(0xae)]),'result':_0x226823[_0x31ea60(0x111)],'duration_in_ms':_0x226823['xLbdX'](_0x31bcd2[_0x31ea60(0xf5)],0x0)?_0x31bcd2[_0x31ea60(0xf5)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x13fd1b['location'][_0x31ea60(0xae)]?path['relative'](this[_0x31ea60(0x16c)],_0x13fd1b[_0x31ea60(0x130)][_0x31ea60(0xae)]):undefined,'started_at':_0x2453a3[_0x31ea60(0xa5)],'finished_at':_0x2453a3[_0x31ea60(0xeb)],'framework':FRAMEWORKS[_0x31ea60(0x1a6)]};if(_0x226823['umSDp'](_0x2c9390,_0x226823['UMIDj'])){const {steps:_0x39cdf2,logs:_0x307be9}=this[_0x31ea60(0x9d)](_0x31bcd2[_0x31ea60(0xca)],_0x2453a3[_0x31ea60(0xcf)],_0x226823[_0x31ea60(0x18a)]);_0x307be9&&_0x226823[_0x31ea60(0x156)](_0x307be9['length'],0x0)&&await MyReporter['reportLogs'](_0x307be9);const _0x1c84e4={};_0x1c84e4[_0x31ea60(0xca)]=_0x39cdf2,_0x2044ac[_0x31ea60(0xac)]=_0x1c84e4;if(_0x31bcd2[_0x31ea60(0x153)]){_0x2044ac['result']=_0x226823[_0x31ea60(0x162)],_0x2044ac['failure_reason']=_0x226823[_0x31ea60(0xaa)](removeAnsiColors,_0x31bcd2[_0x31ea60(0x153)][_0x31ea60(0x157)]),_0x2044ac['failure_type']=_0x226823[_0x31ea60(0xaa)](getFailureType,_0x31bcd2[_0x31ea60(0x153)]['message']);const _0x3963a5=_0x226823[_0x31ea60(0xed)](failureData,_0x31bcd2['error'],_0x226823['VsOdg']);if(_0x3963a5&&_0x226823[_0x31ea60(0x19b)](_0x3963a5[_0x31ea60(0x14d)],0x0)){const _0x5519a0={};_0x5519a0[_0x31ea60(0xe8)]=[_0x2044ac[_0x31ea60(0x103)]],_0x5519a0[_0x31ea60(0x101)]=[],_0x3963a5[_0x31ea60(0x13b)](_0x5519a0);}_0x2044ac[_0x31ea60(0x170)]=_0x3963a5;}else _0x2044ac[_0x31ea60(0xb6)]=_0x226823[_0x31ea60(0x11f)];}const _0x1279e9={};_0x1279e9[_0x31ea60(0x10a)]=_0x2c9390,_0x1279e9['hook_run']=_0x2044ac;const _0x141c43=_0x1279e9;await SessionHandler[_0x31ea60(0x193)](_0x141c43);}['getStepsAndLogs'](_0x2cb417,_0x11d21c,_0x1eb61c){const _0x4733c3=a45_0x16cbc6,_0x43807a={'UnEzZ':function(_0x13940d,_0x146d70){return _0x13940d===_0x146d70;},'MWzis':'hook','YNmBM':function(_0x2775ae,_0x422944){return _0x2775ae===_0x422944;},'PMNxl':_0x4733c3(0x14f),'xpDrn':_0x4733c3(0x186),'jAQbU':function(_0x5d3d6c,_0x44ef45){return _0x5d3d6c===_0x44ef45;},'YhljZ':_0x4733c3(0x144),'zacLh':'test_run_uuid','cdtpo':_0x4733c3(0xb8),'BWEbJ':_0x4733c3(0xcc),'pCjFA':_0x4733c3(0xb9),'tYuQo':'passed','CfbZC':function(_0xb0a837,_0x2089aa){return _0xb0a837(_0x2089aa);},'qDOzu':function(_0x270ee9,_0x2c15fd){return _0x270ee9(_0x2c15fd);},'TRmjB':function(_0x3cb8e1){return _0x3cb8e1();},'KIYcD':function(_0x27b6bc,_0x5c70e9){return _0x27b6bc(_0x5c70e9);},'VWSVp':function(_0x22f507,_0x13750d){return _0x22f507(_0x13750d);},'zUGVC':function(_0x120aa3,_0x2532e6,_0x1da9a5){return _0x120aa3(_0x2532e6,_0x1da9a5);},'xWhoH':function(_0x471587,_0x48403f,_0x95dbf6){return _0x471587(_0x48403f,_0x95dbf6);}},_0x4fbb8c=[],_0x19dc70=[],_0x2b033c=_0x2cb417[_0x4733c3(0xe7)](_0x4fcb5f=>{const _0x3f19c7=_0x4733c3;if(_0x43807a['UnEzZ'](_0x4fcb5f['category'],_0x43807a['MWzis'])&&(_0x43807a[_0x3f19c7(0xa6)](_0x4fcb5f[_0x3f19c7(0x11c)],_0x43807a[_0x3f19c7(0x17e)])||_0x43807a[_0x3f19c7(0x1a8)](_0x4fcb5f[_0x3f19c7(0x11c)],_0x43807a['xpDrn'])))return![];return!![];}),_0xfd280b=(_0x13897f,_0x5bc3f7=![])=>{const _0x3f61c0=_0x4733c3;if(_0x43807a[_0x3f61c0(0xa6)](_0x13897f[_0x3f61c0(0xca)][_0x3f61c0(0x14d)],0x0)){const _0x4ddb2b=_0x43807a[_0x3f61c0(0x104)](_0x1eb61c,_0x43807a['YhljZ'])?_0x43807a[_0x3f61c0(0xa9)]:_0x43807a[_0x3f61c0(0x188)];_0x19dc70[_0x3f61c0(0x13b)]({'kind':_0x43807a[_0x3f61c0(0xf9)],[_0x4ddb2b]:_0x11d21c,'message':_0x13897f[_0x3f61c0(0x11c)],'timestamp':_0x13897f[_0x3f61c0(0x15d)][_0x3f61c0(0xa0)](),'level':_0x13897f['error']?_0x43807a['pCjFA']:_0x43807a[_0x3f61c0(0x11b)],'duration':_0x13897f[_0x3f61c0(0xf5)],'failure':_0x13897f[_0x3f61c0(0x153)]&&_0x13897f[_0x3f61c0(0x153)]['message']&&_0x43807a['CfbZC'](removeAnsiColors,_0x13897f[_0x3f61c0(0x153)][_0x3f61c0(0x157)]),'failure_type':_0x43807a[_0x3f61c0(0x129)](getFailureType,_0x13897f[_0x3f61c0(0x153)]&&_0x13897f[_0x3f61c0(0x153)][_0x3f61c0(0x157)])});}else{!_0x5bc3f7&&_0x4fbb8c[_0x3f61c0(0x13b)]({'id':_0x43807a['TRmjB'](uuidv4),'text':_0x13897f['title'],'keyword':undefined,'started_at':_0x13897f[_0x3f61c0(0x15d)][_0x3f61c0(0xa0)](),'duration':_0x13897f['duration'],'result':_0x13897f[_0x3f61c0(0x153)]?_0x43807a['pCjFA']:_0x43807a[_0x3f61c0(0x11b)],'failure':_0x13897f[_0x3f61c0(0x153)]&&_0x13897f['error'][_0x3f61c0(0x157)]&&_0x43807a[_0x3f61c0(0x169)](removeAnsiColors,_0x13897f[_0x3f61c0(0x153)][_0x3f61c0(0x157)]),'failure_type':_0x43807a['VWSVp'](getFailureType,_0x13897f[_0x3f61c0(0x153)]&&_0x13897f['error'][_0x3f61c0(0x157)])});for(const _0x4ed661 of _0x13897f[_0x3f61c0(0xca)]){_0x43807a[_0x3f61c0(0xab)](_0xfd280b,_0x4ed661,!![]);}}};for(const _0x1dd71d of _0x2b033c){_0x43807a[_0x4733c3(0xce)](_0xfd280b,_0x1dd71d,![]);}const _0x4ce626={};return _0x4ce626[_0x4733c3(0xca)]=_0x4fbb8c,_0x4ce626[_0x4733c3(0x15c)]=_0x19dc70,_0x4ce626;}async[a45_0x16cbc6(0xfa)](_0x5f1627,_0x3f48f0,_0x4409eb){const _0x588159=a45_0x16cbc6,_0x51e16c={'Eitur':function(_0x558ef2,_0x3cbecb){return _0x558ef2(_0x3cbecb);},'Scuqb':_0x588159(0x173),'Grbqs':function(_0x1f3b12,_0x3f2183){return _0x1f3b12(_0x3f2183);},'DiVUF':'test','LAXnc':_0x588159(0x128),'YzdZZ':_0x588159(0x16e),'HgYoW':function(_0x4909bf,_0x272b5b,_0x30738c,_0x323f13,_0x3fbdbc){return _0x4909bf(_0x272b5b,_0x30738c,_0x323f13,_0x3fbdbc);},'qIvSq':function(_0x50fab2,_0x408ebf){return _0x50fab2>_0x408ebf;},'IBRzm':function(_0x38de58,_0x599a7b,_0x559561){return _0x38de58(_0x599a7b,_0x559561);},'XoreH':function(_0x49bb5a,_0x233682){return _0x49bb5a-_0x233682;},'HnTfY':function(_0xd9e499,_0x11c75d){return _0xd9e499===_0x11c75d;},'PUTpP':_0x588159(0x110),'DPjEY':function(_0x3d76d5,_0x14d152){return _0x3d76d5===_0x14d152;},'ojtiC':function(_0x337423,_0x4b0c51){return _0x337423===_0x4b0c51;},'aRFUc':_0x588159(0x13c),'WcZHp':_0x588159(0xe9),'xvcjN':function(_0x16098b,_0xac1eb3){return _0x16098b===_0xac1eb3;},'sZYuC':'failed','KEOoX':function(_0x17e5c8,_0xd6ca8c){return _0x17e5c8===_0xd6ca8c;},'RcdeH':'timedOut','wHyma':_0x588159(0xd9),'RfCTh':function(_0x4cccc5,_0x49f468,_0x23c323){return _0x4cccc5(_0x49f468,_0x23c323);},'YWeiS':function(_0x1952be,_0x2227db,_0x320d1f){return _0x1952be(_0x2227db,_0x320d1f);},'NhqLG':function(_0x547553,_0x20185f){return _0x547553>_0x20185f;},'grWSw':function(_0x441197,_0x407599,_0x4f1743){return _0x441197(_0x407599,_0x4f1743);},'EClps':'path','MKQyf':function(_0x1d1ac8,_0x461249){return _0x1d1ac8(_0x461249);},'fcHcN':function(_0x160ea8,_0x42f854){return _0x160ea8(_0x42f854);},'QuEsZ':_0x588159(0x19c),'ZXaKW':'utf8','Uexkt':function(_0x1da1c7,_0x569a40){return _0x1da1c7!==_0x569a40;}},_0xf88b70=_0x51e16c[_0x588159(0x124)](getTestIdentifier,_0x5f1627),_0xdcf004=this[_0x588159(0x116)](_0x5f1627),_0x4a9e86=this['_tests'][_0xf88b70],_0x47b713=path['relative'](process[_0x588159(0x11e)](),_0x5f1627[_0x588159(0x130)]['file']);await this[_0x588159(0x185)]();const _0x351cf4={'uuid':_0x4a9e86[_0x588159(0xcf)],'type':_0x51e16c['DiVUF'],'name':_0x5f1627[_0x588159(0x11c)],'body':{'lang':_0x51e16c['LAXnc'],'code':_0x5f1627['fn']['toString']()},'scope':_0xdcf004,'scopes':this[_0x588159(0x13e)](_0x5f1627),'identifier':_0xf88b70,'file_name':_0x47b713,'location':_0x47b713,'result':_0x51e16c[_0x588159(0x105)],'duration_in_ms':_0x4409eb&&_0x4409eb[_0x588159(0xf5)]?_0x4409eb['duration']:null,'vc_filepath':this['_gitConfigPath']&&_0x5f1627[_0x588159(0x130)][_0x588159(0xae)]?path[_0x588159(0xc2)](this[_0x588159(0x16c)],_0x5f1627[_0x588159(0x130)]['file']):undefined,'started_at':_0x4a9e86[_0x588159(0xa5)],'finished_at':_0x4a9e86[_0x588159(0xeb)],'framework':FRAMEWORKS[_0x588159(0x1a6)],'customRerunParam':{'rerun_name':this[_0x588159(0xde)](_0x5f1627)},'tags':_0x51e16c['Grbqs'](getTestTags,_0x5f1627)};_0x51e16c['HgYoW'](appendTesthubParams,_0x351cf4,_0x3f48f0,_0x5f1627,FRAMEWORKS[_0x588159(0x1a6)]);_0x4409eb&&_0x51e16c['qIvSq'](_0x4409eb[_0x588159(0xe4)],0x0)&&(_0x351cf4[_0x588159(0x17c)]=TestDetails[_0x588159(0x18f)](_0x51e16c[_0x588159(0x125)](getTestRunIdentifier,_0x5f1627,_0x51e16c[_0x588159(0x159)](_0x4409eb['retry'],0x1))));if(_0x51e16c['HnTfY'](_0x3f48f0,_0x51e16c['PUTpP'])){_0x351cf4[_0x588159(0xb6)]=_0x4409eb['status'];if(_0x51e16c[_0x588159(0x119)](_0x4409eb[_0x588159(0x164)],_0x5f1627[_0x588159(0x18c)]))_0x351cf4[_0x588159(0xb6)]=_0x51e16c[_0x588159(0x161)](_0x4409eb['status'],_0x51e16c[_0x588159(0xa3)])?_0x51e16c[_0x588159(0xa3)]:_0x51e16c[_0x588159(0xa4)];else{(_0x51e16c[_0x588159(0xf7)](_0x351cf4['result'],_0x51e16c[_0x588159(0xa4)])||_0x51e16c[_0x588159(0xf7)](_0x351cf4[_0x588159(0xb6)],_0x51e16c['sZYuC'])||_0x51e16c[_0x588159(0x148)](_0x351cf4[_0x588159(0xb6)],_0x51e16c[_0x588159(0x112)]))&&(_0x351cf4[_0x588159(0xb6)]=_0x51e16c['sZYuC']);if(_0x51e16c['xvcjN'](_0x4409eb[_0x588159(0x164)],_0x51e16c['WcZHp'])&&_0x51e16c[_0x588159(0x148)](_0x5f1627[_0x588159(0x18c)],_0x51e16c[_0x588159(0x15a)])){const _0x406f72={};_0x406f72['message']=_0x51e16c[_0x588159(0x168)],_0x406f72['stack']=_0x51e16c['wHyma'],_0x4409eb['error']=_0x406f72,_0x4409eb[_0x588159(0x155)]=[_0x4409eb['error']];}}const _0x540175=_0x51e16c[_0x588159(0x11a)](getTestRunIdentifier,_0x5f1627,_0x4409eb['retry']);_0x351cf4[_0x588159(0xb7)]=this[_0x588159(0x114)][_0x540175];const {steps:_0x213472,logs:_0x4a08ea}=this[_0x588159(0x9d)](_0x4409eb[_0x588159(0xca)],_0x4a9e86['uuid'],_0x51e16c[_0x588159(0x13d)]);await MyReporter[_0x588159(0xb5)](_0x4a08ea);const _0xb907a4={};_0xb907a4[_0x588159(0xca)]=_0x213472,_0x351cf4[_0x588159(0xac)]=_0xb907a4;if(_0x4409eb[_0x588159(0x153)]){_0x351cf4['failure_reason']=_0x51e16c[_0x588159(0x124)](removeAnsiColors,_0x4409eb['error'][_0x588159(0x157)]),_0x351cf4[_0x588159(0x177)]=_0x51e16c['Eitur'](getFailureType,_0x4409eb['error']['message']);const _0x5bfcbc={};_0x5bfcbc[_0x588159(0x154)]=_0x4a9e86[_0x588159(0xcf)];const {failureData:_0x3a8504,logs:_0x51ae2a}=_0x51e16c[_0x588159(0x12b)](getFailureData,_0x4409eb['errors'],_0x5bfcbc);if(_0x3a8504&&_0x51e16c[_0x588159(0xf7)](_0x3a8504['length'],0x0)){const _0xd7149b={};_0xd7149b[_0x588159(0xe8)]=[_0x351cf4['failure_reason']],_0xd7149b[_0x588159(0x101)]=[],_0x3a8504[_0x588159(0x13b)](_0xd7149b);}_0x351cf4['failure']=_0x3a8504,_0x51ae2a&&_0x51e16c['NhqLG'](_0x51ae2a[_0x588159(0x14d)],0x0)&&await MyReporter[_0x588159(0xb5)](_0x51ae2a);}}let _0x36f00f=_0x51e16c[_0x588159(0x131)](findNestedKey,_0x4409eb,_0x51e16c[_0x588159(0xf8)]);if(_0x36f00f&&_0x51e16c[_0x588159(0xf0)](validateFilePath,_0x36f00f))_0x51e16c[_0x588159(0x17b)](debug,_0x588159(0x109)+_0x4a9e86[_0x588159(0xcf)]+_0x588159(0x139)+_0x36f00f);else{const _0x32cc1a=path[_0x588159(0x9e)](helper[_0x588159(0x138)](),_0x51e16c[_0x588159(0x1a0)]);!fs[_0x588159(0xb3)](_0x32cc1a)&&fs[_0x588159(0xd0)](_0x32cc1a),fs[_0x588159(0xb3)](path[_0x588159(0x9e)](_0x32cc1a,_0x588159(0x171)+_0x4a9e86[_0x588159(0xcf)]+_0x588159(0xc4)))&&(_0x36f00f=fs[_0x588159(0x10e)](path[_0x588159(0x9e)](_0x32cc1a,_0x588159(0x171)+_0x4a9e86['uuid']+_0x588159(0xc4)),_0x51e16c['ZXaKW']),_0x51e16c[_0x588159(0x17b)](debug,_0x588159(0x109)+_0x4a9e86[_0x588159(0xcf)]+'\x20at\x20'+_0x36f00f));}const _0x2c2ceb={};_0x2c2ceb['event_type']=_0x3f48f0,_0x2c2ceb['test_run']=_0x351cf4;const _0x3c4f46=_0x2c2ceb;_0x36f00f&&_0x51e16c[_0x588159(0x1a2)](_0x36f00f,'')&&_0x51e16c[_0x588159(0x108)](_0x3f48f0,_0x51e16c[_0x588159(0x106)])&&(!_0x3c4f46[_0x588159(0x15c)]&&(_0x3c4f46[_0x588159(0x15c)]=[]),_0x36f00f[_0x588159(0xa1)]('\x0a')[_0x588159(0xec)](_0x26e862=>{const _0x5cc767=_0x588159;_0x26e862&&_0x51e16c[_0x5cc767(0x146)](validateFilePath,_0x26e862)&&_0x3c4f46['logs'][_0x5cc767(0x13b)]({'kind':_0x51e16c['Scuqb'],'timestamp':new Date()[_0x5cc767(0xa0)](),'test_run_uuid':_0x4a9e86[_0x5cc767(0xcf)],'file_name':path['basename'](_0x26e862),'file_size':fs[_0x5cc767(0xdc)](_0x26e862)[_0x5cc767(0xd1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x588159(0x193)](_0x3c4f46);}[a45_0x16cbc6(0xde)](_0x3fbe4e){const _0x4903ad=a45_0x16cbc6,_0x5bce6a={};_0x5bce6a[_0x4903ad(0x135)]=function(_0x4d32a3,_0x26ca40){return _0x4d32a3===_0x26ca40;},_0x5bce6a[_0x4903ad(0xbf)]=function(_0x2883d6,_0x5beeb8){return _0x2883d6>_0x5beeb8;},_0x5bce6a[_0x4903ad(0x10c)]=function(_0x1fd980,_0x42f201){return _0x1fd980+_0x42f201;},_0x5bce6a['WCFJm']=function(_0x49e87d,_0x365458){return _0x49e87d+_0x365458;},_0x5bce6a[_0x4903ad(0x12a)]=function(_0x5d6cc8,_0x57e2d7){return _0x5d6cc8>_0x57e2d7;};const _0xad091a=_0x5bce6a,_0x2f8650=_0x3fbe4e[_0x4903ad(0x174)]()[_0x4903ad(0xf2)](_0x228ffd=>{const _0x13636c=_0x4903ad;if(_0x3fbe4e[_0x13636c(0x123)]&&_0xad091a[_0x13636c(0x135)](_0x228ffd,_0x3fbe4e[_0x13636c(0x123)][_0x13636c(0x11c)])&&_0x3fbe4e[_0x13636c(0x123)][_0x13636c(0x165)]&&_0xad091a[_0x13636c(0xbf)](_0x3fbe4e[_0x13636c(0x123)]['_tags'][_0x13636c(0x14d)],0x0))return _0xad091a[_0x13636c(0x10c)](_0xad091a['WCFJm'](_0x228ffd,'\x20'),_0x3fbe4e[_0x13636c(0x123)][_0x13636c(0x165)][_0x13636c(0x9e)]('\x20'));if(_0xad091a[_0x13636c(0x135)](_0x228ffd,_0x3fbe4e[_0x13636c(0x11c)])&&_0x3fbe4e[_0x13636c(0x165)]&&_0xad091a['wlVMK'](_0x3fbe4e[_0x13636c(0x165)]['length'],0x0))return _0xad091a[_0x13636c(0x149)](_0xad091a[_0x13636c(0x10c)](_0x228ffd,'\x20'),_0x3fbe4e['_tags'][_0x13636c(0x9e)]('\x20'));return _0x228ffd;})[_0x4903ad(0x9e)]('\x20');return _0x2f8650;}static async['sendSessionDetails'](_0x1e0627,_0x5e50af){const _0x5be6cb=a45_0x16cbc6,_0x43994c={'mjmBh':function(_0xd80cda,_0x83cda4){return _0xd80cda(_0x83cda4);},'TvLBS':'CBTSessionCreated'},_0x3b4998={'uuid':TestDetails[_0x5be6cb(0x18f)](_0x1e0627),'integrations':_0x5e50af},_0x4cf33f={};_0x4cf33f[_0x5be6cb(0xe5)]=null,_0x43994c['mjmBh'](debug,_0x5be6cb(0x184)+_0x1e0627+',\x20'+util['inspect'](_0x5e50af,_0x4cf33f));const _0xb76f8d={};_0xb76f8d[_0x5be6cb(0x10a)]=_0x43994c[_0x5be6cb(0x187)],_0xb76f8d['test_run']=_0x3b4998,await SessionHandler['uploadEventData'](_0xb76f8d);}async['configureGit'](){const _0x15e893=a45_0x16cbc6,_0x4d6251={'aDvUN':function(_0x3a4133){return _0x3a4133();}};if(this['_gitConfigured'])return;const _0x26b569=await _0x4d6251[_0x15e893(0x14e)](getGitMetaData);_0x26b569&&(this[_0x15e893(0x16c)]=_0x26b569[_0x15e893(0x118)]),this['_gitConfigured']=!![];}['getHierarchy'](_0x13051c){const _0x364812=a45_0x16cbc6,_0x11ec41={};_0x11ec41[_0x364812(0xa7)]=function(_0x166e8a,_0x4daaca){return _0x166e8a!==_0x4daaca;};const _0x107a17=_0x11ec41,_0x1d4194=[];if(_0x13051c&&_0x13051c[_0x364812(0x123)]){let _0x2c4e95=_0x13051c[_0x364812(0x123)];while(_0x2c4e95&&_0x107a17[_0x364812(0xa7)](_0x2c4e95[_0x364812(0x11c)],'')){_0x1d4194[_0x364812(0x13b)](_0x2c4e95[_0x364812(0x11c)]),_0x2c4e95=_0x2c4e95['parent'];}}return _0x1d4194[_0x364812(0xea)]()['splice'](0x0,0x2),_0x1d4194;}[a45_0x16cbc6(0x17a)](_0xe25706){const _0xceb1f7=a45_0x16cbc6,_0x1d21a9={};_0x1d21a9[_0xceb1f7(0x16d)]=function(_0x28d4ed,_0x5da3cc){return _0x28d4ed!==_0x5da3cc;},_0x1d21a9[_0xceb1f7(0x14c)]=_0xceb1f7(0xd2),_0x1d21a9['cfWUp']=function(_0x3c130f,_0x3ad4a8){return _0x3c130f===_0x3ad4a8;},_0x1d21a9[_0xceb1f7(0x141)]='beforeEach\x20hook',_0x1d21a9[_0xceb1f7(0x16b)]='beforeAll\x20hook',_0x1d21a9[_0xceb1f7(0x122)]=_0xceb1f7(0x11d),_0x1d21a9[_0xceb1f7(0x10b)]=_0xceb1f7(0x107);const _0x5c5d25=_0x1d21a9;if(_0x5c5d25[_0xceb1f7(0x16d)](_0xe25706[_0xceb1f7(0xf3)],_0x5c5d25[_0xceb1f7(0x14c)]))return![];if(_0x5c5d25[_0xceb1f7(0x167)]([_0x5c5d25[_0xceb1f7(0x141)],_0x5c5d25[_0xceb1f7(0x16b)],_0x5c5d25['atUAO'],_0x5c5d25[_0xceb1f7(0x10b)]]['indexOf'](_0xe25706[_0xceb1f7(0x11c)]),-0x1))return![];return!![];}[a45_0x16cbc6(0x182)](_0x19c0dd,_0x5d481f){const _0x30074d=a45_0x16cbc6,_0x23c44b={'mVhZY':function(_0x2c2cf1,_0x33aa47){return _0x2c2cf1(_0x33aa47);}},_0x1d17f6=_0x5d481f[_0x30074d(0xcb)];if(_0x1d17f6)return _0x1d17f6;return _0x5d481f[_0x30074d(0x11c)]+_0x30074d(0x160)+_0x23c44b[_0x30074d(0xf1)](getTestIdentifier,_0x19c0dd);}[a45_0x16cbc6(0xf4)](_0x4f0075,_0x490897){const _0xc29c2c=a45_0x16cbc6,_0x4eabfe={'JAnnT':function(_0x680500,_0x36061d){return _0x680500(_0x36061d);},'mOaMQ':function(_0x190e7a){return _0x190e7a();}};let _0x32fc13=_0x490897[_0xc29c2c(0x11c)]+_0xc29c2c(0x160)+_0x4eabfe[_0xc29c2c(0xf6)](getTestIdentifier,_0x4f0075);return this['_tests'][_0x32fc13]&&(_0x32fc13=_0x32fc13+'\x20-\x20'+_0x4eabfe[_0xc29c2c(0xb2)](uuidv4)),_0x490897[_0xc29c2c(0xcb)]=_0x32fc13,_0x32fc13;}[a45_0x16cbc6(0x121)]=_0x387d95=>{const _0x37c634=a45_0x16cbc6,_0x51d77c={};_0x51d77c[_0x37c634(0x147)]=_0x37c634(0xc6),_0x51d77c[_0x37c634(0xb0)]=_0x37c634(0xa2),_0x51d77c[_0x37c634(0x18e)]='beforeAll\x20hook',_0x51d77c[_0x37c634(0xe2)]=_0x37c634(0x19f),_0x51d77c['pbdpl']=_0x37c634(0x107),_0x51d77c[_0x37c634(0x198)]=_0x37c634(0x16f),_0x51d77c[_0x37c634(0x179)]='afterAll\x20hook',_0x51d77c['anFiX']=_0x37c634(0x120),_0x51d77c['JhEeP']='unknown';const _0x2a0e64=_0x51d77c;if(_0x387d95['startsWith'](_0x2a0e64[_0x37c634(0x147)]))return _0x2a0e64['hcRRv'];else{if(_0x387d95['startsWith'](_0x2a0e64[_0x37c634(0x18e)]))return _0x2a0e64[_0x37c634(0xe2)];else{if(_0x387d95[_0x37c634(0x15b)](_0x2a0e64[_0x37c634(0xdf)]))return _0x2a0e64[_0x37c634(0x198)];else{if(_0x387d95[_0x37c634(0x15b)](_0x2a0e64[_0x37c634(0x179)]))return _0x2a0e64[_0x37c634(0xc9)];}}}return _0x2a0e64[_0x37c634(0x14a)];};[a45_0x16cbc6(0x116)]=_0x8a8179=>{const _0x24e0f3=a45_0x16cbc6,_0x80392b={};_0x80392b[_0x24e0f3(0x152)]=function(_0x17b9a0,_0x3d28f8){return _0x17b9a0===_0x3d28f8;},_0x80392b['FRRDe']=_0x24e0f3(0xad);const _0x3bb93b=_0x80392b;let _0xab30d4=_0x8a8179['parent'];return _0x3bb93b['YZQaj'](typeof _0x8a8179['parent'],_0x3bb93b['FRRDe'])&&(_0xab30d4=_0xab30d4[_0x24e0f3(0x11c)]),_0xab30d4+_0x24e0f3(0x18d)+_0x8a8179[_0x24e0f3(0x11c)];};[a45_0x16cbc6(0x136)](){return![];}}module[a45_0x16cbc6(0x115)]=o11yClassErrorHandler(MyReporter,[a45_0x16cbc6(0x19a),a45_0x16cbc6(0xe0),a45_0x16cbc6(0x151),a45_0x16cbc6(0x9f),'onStepBegin',a45_0x16cbc6(0xd5),'sendSessionDetails'],a45_0x16cbc6(0xdb));
1
+ const a45_0x5b18f4=a45_0x18ee;function a45_0x50b0(){const _0x3110fc=['ZnTVV','28yKOcfN','onTestEnd','eyafg','CHohD','LjDwK','retry_of','SdVkY','POST','steps','JHGEf','2FjJVWE','stack','failure_type','XjUxu','EhPym','_bs_hookIdentifier','YkpLm','HhJWP','location','retry','OBdLm','YAbhf','status','MSNrz','Sending\x20session\x20details\x20for\x20','timedOut','onBegin','_gitConfigured','depth','duration','Test\x20Started\x20with\x20unique\x20id\x20','test_run_uuid','TMUoD','sendTestRunEvent','teNsw','UYYqC','JKdcG','.browserstack','hook','13457670ETXeTr','Error\x20in\x20sending\x20trace\x20zip:\x20%s','Playwright','kLOLy','BEFORE_EACH','../../../helpers/test-observability/sessionHandler','join','exports','BROWSERSTACK_TEST_RUN_ID','unknown','PLAYWRIGHT','expanded','failure','test','151923PxKRfD','lLHOV','26859789fuKZak','expectedStatus','../../v2/browserstackCLI','jPdqL','BROWSERSTACK_LOG_LEVEL','statSync','GsbGE','wRKqs','PRE','getCustomRerunParam','utf8','startsWith','getTime','jbJlU','YRKfU','GxnSv','MUPke','AFTER_ALL','object','\x20for\x20','indexOf','Expected\x20to\x20fail,\x20but\x20passed.','nnSyP','OkWZJ','jiTpz','sendHookRunEvent','path','ToOOP','Error\x20in\x20calculating\x20performance:\x20','pJlCA','EijhK','setStepIdentifier','uuid','endSession','Before\x20Hooks','format','onEnd','onTestBegin','TestRunFinished','gFXnW','OWFgB','PXdWJ','CBTSessionCreated','backtrace','getTestFramework','cTdKS','../../../helpers/test-observability/constants','START_TIME','root','After\x20Hooks','logs','opafn','FmVoG','_gitConfigPath','file','setup','.txt','result','../../../../src/bin/utils/constants','startTime','ZwCTL','\x20is\x20triggered','shutdown','skipped','finishedAt','Jjzfq','PzNmB','JNxjd','YLCIx','eRsLJ','reportLogs','nCZlP','luqMz','needToReportStep','../../../helpers/performance/performance-tester','TEST','failure_reason','message','cwd','vZnOO','../../../helpers/testhub/utils','_tags','HookRunFinished','BROWSERSTACK_O11Y_PERF_MEASUREMENT','xBdWi','getHookType','1230760nVSneX','UmqNa','getStepsAndLogs','aIaMe','size','pJeJr','passed','5745180WsjUBk','length','_testHooksMap','qTLef','getTestUUID','pIbpf','AFTER_EACH','getInstance','../../v2/state/testFrameworkState','mtime','options','104860kwuHmU','vkFrL','uploadEventData','MVEiw','CoUMb','HookRunStarted','env','afterAll\x20hook','./pwUtils','reverse','./test-details','\x20at\x20','sjaZu','xHCum','split','FMiDw','cNcDV','pteQT','EnNqJ','TestRunStarted','HgPqI','foSHq','ASRYo','DWgnZ','getScope','mzmmq','iusCa','dTfcr','ToBLC','Trace\x20file\x20found\x20for\x20test:\x20','gGONJ','Hook\x20Started\x20with\x20unique\x20id\x20','QnIvc','title','YjXjw','nmUmX','isjLr','IzgxH','qRTym','rqRcJ','pending','test_run','wrWTc','performance-report-reporter.json','step','sendSessionDetails','map','HXjQj','isRunning','rqGeT','lPVvh','rbHBX','uuOez','Nulnp','CuCng','OVpfN','iCCyS','util','iFTZO','UjyfE','toISOString','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','afterEach\x20hook','relative','homedir','../../v2/TestInfo','startedAt','56UgNsAw','failed','beforeAll\x20hook','6jSVNzX','Prwmo','\x20-\x20','toString','_trackedEvents','meta','qAihw','XzobQ','addTestUIDAndReportLog','error','errors','base64','ctxsI','Eegpy','configureGit','trackEvent','JPEXz','parent','wIilx','_tests','TEST_ATTACHMENT','titlePath','4318857BTqxFS','err','vQLCL','getStepIdentifier','Test\x20Finished\x20with\x20unique\x20id\x20','splice','cTZmG','logLevel','aPKSm','AGpqd','ngtxd','javascript','onStepBegin','../../v2/state/hookState','wDgDu','../../../helpers/test-observability/utils','existsSync','onStepEnd','pJAxK','../../../helpers/helper','attachments','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','push','XmdLO','category','trace_','readFileSync','5|3|7|2|4|6|0|1'];a45_0x50b0=function(){return _0x3110fc;};return a45_0x50b0();}(function(_0x4c6752,_0x23b27a){const _0x48a163=a45_0x18ee,_0x470e6b=_0x4c6752();while(!![]){try{const _0x3fed64=parseInt(_0x48a163(0xe6))/0x1*(-parseInt(_0x48a163(0x169))/0x2)+parseInt(_0x48a163(0x111))/0x3*(-parseInt(_0x48a163(0xdc))/0x4)+-parseInt(_0x48a163(0x170))/0x5*(parseInt(_0x48a163(0xa9))/0x6)+parseInt(_0x48a163(0x17b))/0x7*(parseInt(_0x48a163(0xa6))/0x8)+-parseInt(_0x48a163(0xbf))/0x9+parseInt(_0x48a163(0x103))/0xa+parseInt(_0x48a163(0x113))/0xb;if(_0x3fed64===_0x23b27a)break;else _0x470e6b['push'](_0x470e6b['shift']());}catch(_0x4e416c){_0x470e6b['push'](_0x470e6b['shift']());}}}(a45_0x50b0,0xa597e));function a45_0x18ee(_0x108e35,_0x5edee3){const _0x50b050=a45_0x50b0();return a45_0x18ee=function(_0x18ee45,_0x1453f1){_0x18ee45=_0x18ee45-0x87;let _0x23ddc0=_0x50b050[_0x18ee45];return _0x23ddc0;},a45_0x18ee(_0x108e35,_0x5edee3);}const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x5b18f4(0x183)),{v4:uuidv4}=require(a45_0x5b18f4(0x133)),path=require(a45_0x5b18f4(0x12d)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x5b18f4(0xce)),{getGitMetaData,setLogLevel}=require(a45_0x5b18f4(0xd2)),TestDetails=require(a45_0x5b18f4(0x185)),fs=require('fs'),util=require(a45_0x5b18f4(0x9c)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a45_0x5b18f4(0x15d)),{FRAMEWORKS}=require(a45_0x5b18f4(0x141)),SessionHandler=require(a45_0x5b18f4(0x108)),{appendTesthubParams}=require(a45_0x5b18f4(0x163)),helper=require(a45_0x5b18f4(0xd2)),BrowserstackCLI=require(a45_0x5b18f4(0x115)),TestFrameworkState=require(a45_0x5b18f4(0x178)),HookState=require(a45_0x5b18f4(0xcc)),TestInfo=require(a45_0x5b18f4(0xa4)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x5b18f4(0x14d));class MyReporter{constructor(_0x1512d8){const _0x497cce=a45_0x5b18f4,_0x310f4e={'cNcDV':_0x497cce(0xda),'mzmmq':_0x497cce(0x8e),'nmUmX':function(_0x1fab95,_0x3cb4d9,_0x4023fd,_0x3a2568){return _0x1fab95(_0x3cb4d9,_0x4023fd,_0x3a2568);}},_0x29fb8f=_0x310f4e[_0x497cce(0x18b)]['split']('|');let _0x1b4289=0x0;while(!![]){switch(_0x29fb8f[_0x1b4289++]){case'0':this[_0x497cce(0x148)]=null;continue;case'1':this[_0x497cce(0xad)]=[];continue;case'2':this['_testHooksMap']={};continue;case'3':process[_0x497cce(0x181)][_0x497cce(0x166)]&&(PerformanceTester['startMonitoring'](_0x310f4e[_0x497cce(0x194)]),process[_0x497cce(0x181)][_0x497cce(0x142)]=new Date()[_0x497cce(0x9f)]());continue;case'4':this[_0x497cce(0x17a)]=_0x1512d8;continue;case'5':const _0x5abcaa={};_0x5abcaa[_0x497cce(0xc6)]=process[_0x497cce(0x181)][_0x497cce(0x117)],_0x310f4e[_0x497cce(0x19e)](setLogLevel,_0x5abcaa,new Map(),new Map());continue;case'6':this['_gitConfigured']=![];continue;case'7':this[_0x497cce(0xbc)]={};continue;}break;}}async[a45_0x5b18f4(0xf6)](){const _0x3702f2=a45_0x5b18f4,_0xb5a7d7={};_0xb5a7d7[_0x3702f2(0x18a)]=_0x3702f2(0x105);const _0x1f1f50=_0xb5a7d7;TestDetails[_0x3702f2(0x14a)](),await this[_0x3702f2(0xb7)](),TestInfo['setup'](_0x1f1f50[_0x3702f2(0x18a)]);if(BrowserstackCLI[_0x3702f2(0x177)]()[_0x3702f2(0x93)]()){await BrowserstackCLI[_0x3702f2(0x177)]()[_0x3702f2(0x13f)]()[_0x3702f2(0xb8)](TestFrameworkState['INIT_TEST'],HookState['PRE'],{});return;}}async[a45_0x5b18f4(0x138)](_0x2a06c3,_0x4c40f4){const _0x45814d=a45_0x5b18f4,_0x3b397e={'wIilx':function(_0x1d9f83,_0x715d84){return _0x1d9f83(_0x715d84);},'JHGEf':function(_0xd339d5,_0x274d0b,_0x3da39f){return _0xd339d5(_0x274d0b,_0x3da39f);},'sjaZu':_0x45814d(0x18e)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x1dbaa1={};_0x1dbaa1[_0x45814d(0x110)]=_0x2a06c3,_0x1dbaa1['result']=_0x4c40f4,await BrowserstackCLI['getInstance']()[_0x45814d(0x13f)]()['trackEvent'](TestFrameworkState[_0x45814d(0x15e)],HookState['PRE'],_0x1dbaa1);return;}const _0x49e3a7=_0x3b397e[_0x45814d(0xbb)](getTestIdentifier,_0x2a06c3),_0x188e58=TestDetails[_0x45814d(0x174)](_0x3b397e[_0x45814d(0xe5)](getTestRunIdentifier,_0x2a06c3,_0x4c40f4[_0x45814d(0xef)]));process[_0x45814d(0x181)][_0x45814d(0x10b)]=_0x188e58;const _0x58ef1e={};_0x58ef1e[_0x45814d(0x133)]=_0x188e58,_0x58ef1e[_0x45814d(0xa5)]=_0x4c40f4[_0x45814d(0x14e)],this[_0x45814d(0xbc)][_0x49e3a7]=_0x58ef1e,_0x3b397e[_0x45814d(0xbb)](trace,_0x45814d(0xfa)+_0x49e3a7),await this[_0x45814d(0xfd)](_0x2a06c3,_0x3b397e[_0x45814d(0x187)],_0x4c40f4);}async[a45_0x5b18f4(0xcb)](_0x300918,_0x1a2c2f,_0x128447){const _0x4c292f=a45_0x5b18f4,_0x1123bb={'GxnSv':function(_0x1b91f2,_0x27b914,_0x360ae6){return _0x1b91f2(_0x27b914,_0x360ae6);},'YxMNg':function(_0x4060d4,_0xb65e6b){return _0x4060d4(_0xb65e6b);},'qRTym':_0x4c292f(0x180)};if(!this[_0x4c292f(0x15c)](_0x128447,_0x300918))return;if(BrowserstackCLI[_0x4c292f(0x177)]()[_0x4c292f(0x93)]()){const _0x68a8ca=this[_0x4c292f(0x168)](_0x128447[_0x4c292f(0x19c)]),_0x536c3d=TestFrameworkState[_0x68a8ca],_0xe1972e={};_0xe1972e['test']=_0x300918,_0xe1972e[_0x4c292f(0x14c)]=_0x1a2c2f,_0xe1972e[_0x4c292f(0x8f)]=_0x128447,await BrowserstackCLI[_0x4c292f(0x177)]()[_0x4c292f(0x13f)]()[_0x4c292f(0xb8)](_0x536c3d,HookState[_0x4c292f(0x11b)],_0xe1972e);return;}const _0x2a4363=this['setStepIdentifier'](_0x300918,_0x128447);this[_0x4c292f(0xbc)][_0x2a4363]={'uuid':TestDetails['getTestUUID'](_0x2a4363),'startedAt':_0x128447[_0x4c292f(0x14e)][_0x4c292f(0x9f)]()};const _0x3e05f8=_0x1123bb[_0x4c292f(0x122)](getTestRunIdentifier,_0x300918,_0x1a2c2f[_0x4c292f(0xef)]);!this[_0x4c292f(0x172)][_0x3e05f8]&&(this[_0x4c292f(0x172)][_0x3e05f8]=[]),this['_testHooksMap'][_0x3e05f8]['push'](this[_0x4c292f(0xbc)][_0x2a4363][_0x4c292f(0x133)]),_0x1123bb['YxMNg'](trace,_0x4c292f(0x19a)+_0x2a4363+'\x20is\x20triggered\x20for\x20test\x20'+_0x3e05f8),await this['sendHookRunEvent'](_0x300918,_0x128447,_0x1123bb[_0x4c292f(0x89)],_0x1a2c2f);}async[a45_0x5b18f4(0xd0)](_0x434173,_0x1bb70f,_0x2f250b){const _0x2f7fb0=a45_0x5b18f4,_0x8db3fa={'uuOez':function(_0x4392c0,_0x4d3e80){return _0x4392c0+_0x4d3e80;},'teNsw':function(_0x9bcf08,_0xd1438a){return _0x9bcf08(_0xd1438a);},'CoUMb':_0x2f7fb0(0x165)};if(!this[_0x2f7fb0(0x15c)](_0x2f250b,_0x434173))return;if(BrowserstackCLI[_0x2f7fb0(0x177)]()[_0x2f7fb0(0x93)]()){const _0x36f616=this['getHookType'](_0x2f250b[_0x2f7fb0(0x19c)]),_0x23912f=TestFrameworkState[_0x36f616],_0x3467c7={};_0x3467c7[_0x2f7fb0(0x110)]=_0x434173,_0x3467c7[_0x2f7fb0(0x14c)]=_0x1bb70f,_0x3467c7[_0x2f7fb0(0x8f)]=_0x2f250b,await BrowserstackCLI['getInstance']()[_0x2f7fb0(0x13f)]()[_0x2f7fb0(0xb8)](_0x23912f,HookState[_0x2f7fb0(0xe3)],_0x3467c7);return;}const _0x57c54c=this[_0x2f7fb0(0xc2)](_0x434173,_0x2f250b);this[_0x2f7fb0(0xbc)][_0x57c54c]={...this[_0x2f7fb0(0xbc)][_0x57c54c]||{},'finishedAt':new Date(_0x8db3fa[_0x2f7fb0(0x97)](_0x2f250b['startTime'][_0x2f7fb0(0x11f)](),_0x2f250b[_0x2f7fb0(0xf9)]))},_0x8db3fa[_0x2f7fb0(0xfe)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x57c54c+_0x2f7fb0(0x150)),await this[_0x2f7fb0(0x12c)](_0x434173,_0x2f250b,_0x8db3fa[_0x2f7fb0(0x17f)],_0x1bb70f);}async[a45_0x5b18f4(0xdd)](_0x412191,_0x5a605a){const _0xaf0cf6=a45_0x5b18f4,_0x28b826={'cTZmG':function(_0x1dce00,_0x1fad6c){return _0x1dce00===_0x1fad6c;},'EnNqJ':'screenshot','CuCng':'TEST_SCREENSHOT','Prwmo':_0xaf0cf6(0xb4),'PXdWJ':function(_0x391a4f,_0x5000cd){return _0x391a4f(_0x5000cd);},'pIbpf':function(_0x2648a5,_0x297031,_0x293ce6){return _0x2648a5(_0x297031,_0x293ce6);},'JKdcG':_0xaf0cf6(0x139),'nnSyP':function(_0x479e5d,_0x1773d9){return _0x479e5d(_0x1773d9);},'hXeHO':_0xaf0cf6(0xd4),'YLCIx':function(_0x4210bd,_0x1ff18f){return _0x4210bd(_0x1ff18f);},'pJeJr':_0xaf0cf6(0x104),'ToBLC':function(_0x21872d,_0x59863a){return _0x21872d>_0x59863a;}};if(BrowserstackCLI['getInstance']()[_0xaf0cf6(0x93)]()){const _0x414761={};_0x414761[_0xaf0cf6(0x110)]=_0x412191,_0x414761[_0xaf0cf6(0x14c)]=_0x5a605a,this['_trackedEvents'][_0xaf0cf6(0xd5)](BrowserstackCLI['getInstance']()[_0xaf0cf6(0x13f)]()[_0xaf0cf6(0xb8)](TestFrameworkState['TEST'],HookState['POST'],_0x414761));return;}const _0x500288=_0x28b826[_0xaf0cf6(0x13c)](getTestIdentifier,_0x412191),_0x213dc3=TestDetails[_0xaf0cf6(0x174)](_0x28b826[_0xaf0cf6(0x175)](getTestRunIdentifier,_0x412191,_0x5a605a['retry']));this['_tests'][_0x500288]={...this[_0xaf0cf6(0xbc)][_0x500288]||{},'finishedAt':new Date()['toISOString']()},_0x28b826['PXdWJ'](debug,_0xaf0cf6(0xc3)+_0x500288);try{await this[_0xaf0cf6(0xfd)](_0x412191,_0x28b826[_0xaf0cf6(0x100)],_0x5a605a);}catch(_0x37a3a8){_0x28b826['nnSyP'](debug,util['format'](_0x28b826['hXeHO'],_0x37a3a8['toString']()));}try{_0x28b826[_0xaf0cf6(0x129)](debug,_0xaf0cf6(0xa0)+_0x213dc3),await _0x28b826[_0xaf0cf6(0x175)](sendTraceZip,_0x5a605a,_0x213dc3);}catch(_0x4daa4c){_0x28b826[_0xaf0cf6(0x157)](debug,util[_0xaf0cf6(0x136)](_0x28b826[_0xaf0cf6(0x16e)],_0x4daa4c['toString']()));}const _0x128708=[];_0x5a605a['attachments']&&_0x5a605a[_0xaf0cf6(0xd3)]['map'](_0x5ef84a=>{const _0xcb2944=_0xaf0cf6;if(_0x28b826[_0xcb2944(0xc5)](_0x5ef84a['name'],_0x28b826[_0xcb2944(0x18d)])){if(!_0x5ef84a[_0xcb2944(0x12d)]||!fs[_0xcb2944(0xcf)](_0x5ef84a['path']))return;_0x128708[_0xcb2944(0xd5)]({'test_run_uuid':_0x213dc3,'timestamp':fs[_0xcb2944(0x118)](_0x5ef84a[_0xcb2944(0x12d)])[_0xcb2944(0x179)],'kind':_0x28b826[_0xcb2944(0x99)],'message':fs[_0xcb2944(0xd9)](_0x5ef84a[_0xcb2944(0x12d)],{'encoding':_0x28b826[_0xcb2944(0xaa)]})});}}),_0x28b826[_0xaf0cf6(0x197)](_0x128708['length'],0x0)&&await MyReporter['reportLogs'](_0x128708);}async[a45_0x5b18f4(0x134)](){const _0x8798fd=a45_0x5b18f4;await RequestQueueHandler[_0x8798fd(0x177)]()[_0x8798fd(0x151)]();}async[a45_0x5b18f4(0x137)](_0x21f036){const _0x52dca6=a45_0x5b18f4,_0x1b4277={'iCCyS':function(_0x3d2ea8){return _0x3d2ea8();},'OVpfN':function(_0x3a7269,_0x2de0ab){return _0x3a7269(_0x2de0ab);}};await Promise['all'](this[_0x52dca6(0xad)]),await this[_0x52dca6(0x134)]();try{process[_0x52dca6(0x181)][_0x52dca6(0x166)]&&await _0x1b4277[_0x52dca6(0x9b)](calculatePerformance);}catch(_0x2ce190){_0x1b4277[_0x52dca6(0x9a)](debug,_0x52dca6(0x12f)+_0x2ce190[_0x52dca6(0xac)]());}}static async[a45_0x5b18f4(0xb1)](_0xbc43ab,_0x578c52){const _0x15e38a=a45_0x5b18f4;_0x578c52[_0x15e38a(0xfb)]=TestDetails[_0x15e38a(0x174)](_0xbc43ab),await this[_0x15e38a(0x159)]([_0x578c52]);}static async['reportLogs'](_0x356e33){const _0x24b8b7=a45_0x5b18f4,_0x527d5a={};_0x527d5a['ZnTVV']='LogCreated';const _0x32547f=_0x527d5a;if(BrowserstackCLI[_0x24b8b7(0x177)]()['isRunning']())return;const _0x4de86b={};_0x4de86b['event_type']=_0x32547f[_0x24b8b7(0xdb)],_0x4de86b[_0x24b8b7(0x145)]=_0x356e33,await SessionHandler[_0x24b8b7(0x17d)](_0x4de86b);}async[a45_0x5b18f4(0x12c)](_0xedb763,_0x13c83b,_0x52ddd0,_0x4b52d7){const _0x15a91c=a45_0x5b18f4,_0x2ccb7a={'jbJlU':_0x15a91c(0x102),'OWFgB':_0x15a91c(0xca),'ctxsI':'pending','dTfcr':function(_0x3506f0,_0x1f9faf){return _0x3506f0>=_0x1f9faf;},'DWgnZ':function(_0x35472a,_0x51e17c){return _0x35472a===_0x51e17c;},'rVbtc':_0x15a91c(0x165),'luqMz':function(_0x3ada30,_0x4a333a){return _0x3ada30>_0x4a333a;},'AGpqd':_0x15a91c(0xa7),'EijhK':function(_0x476ab0,_0x2ba232){return _0x476ab0(_0x2ba232);},'opafn':function(_0x25075b,_0x213b01,_0x532720){return _0x25075b(_0x213b01,_0x532720);},'kLOLy':_0x15a91c(0xc0),'iusCa':function(_0x5f22ee,_0x17a369){return _0x5f22ee===_0x17a369;},'rqGeT':_0x15a91c(0x16f)},_0x179393=this[_0x15a91c(0xc2)](_0xedb763,_0x13c83b),_0x55366c=this[_0x15a91c(0xbc)][_0x179393],_0x325ed0={'uuid':_0x55366c[_0x15a91c(0x133)],'type':_0x2ccb7a[_0x15a91c(0x120)],'hook_type':this[_0x15a91c(0x168)](_0x13c83b[_0x15a91c(0x19c)]),'name':_0x13c83b[_0x15a91c(0x19c)],'scope':this[_0x15a91c(0x193)](_0x13c83b),'scopes':this['getHierarchy'](_0xedb763),'body':{'lang':_0x2ccb7a[_0x15a91c(0x13b)],'code':null},'identifier':_0x179393,'file_name':path[_0x15a91c(0xa2)](process[_0x15a91c(0x161)](),_0xedb763[_0x15a91c(0xee)][_0x15a91c(0x149)]),'location':path[_0x15a91c(0xa2)](process['cwd'](),_0xedb763[_0x15a91c(0xee)]['file']),'result':_0x2ccb7a[_0x15a91c(0xb5)],'duration_in_ms':_0x2ccb7a[_0x15a91c(0x196)](_0x13c83b[_0x15a91c(0xf9)],0x0)?_0x13c83b[_0x15a91c(0xf9)]:undefined,'vc_filepath':this[_0x15a91c(0x148)]&&_0xedb763[_0x15a91c(0xee)]['file']?path['relative'](this['_gitConfigPath'],_0xedb763[_0x15a91c(0xee)][_0x15a91c(0x149)]):undefined,'started_at':_0x55366c['startedAt'],'finished_at':_0x55366c[_0x15a91c(0x153)],'framework':FRAMEWORKS[_0x15a91c(0x10d)]};if(_0x2ccb7a[_0x15a91c(0x192)](_0x52ddd0,_0x2ccb7a['rVbtc'])){const {steps:_0x5827a3,logs:_0x2dacb9}=this[_0x15a91c(0x16b)](_0x13c83b[_0x15a91c(0xe4)],_0x55366c[_0x15a91c(0x133)],_0x2ccb7a['jbJlU']);_0x2dacb9&&_0x2ccb7a[_0x15a91c(0x15b)](_0x2dacb9['length'],0x0)&&await MyReporter[_0x15a91c(0x159)](_0x2dacb9);const _0x597f85={};_0x597f85[_0x15a91c(0xe4)]=_0x5827a3,_0x325ed0[_0x15a91c(0xae)]=_0x597f85;if(_0x13c83b[_0x15a91c(0xb2)]){_0x325ed0[_0x15a91c(0x14c)]=_0x2ccb7a[_0x15a91c(0xc8)],_0x325ed0[_0x15a91c(0x15f)]=_0x2ccb7a[_0x15a91c(0x131)](removeAnsiColors,_0x13c83b[_0x15a91c(0xb2)][_0x15a91c(0x160)]),_0x325ed0[_0x15a91c(0xe8)]=_0x2ccb7a[_0x15a91c(0x131)](getFailureType,_0x13c83b[_0x15a91c(0xb2)][_0x15a91c(0x160)]);const _0x423196=_0x2ccb7a[_0x15a91c(0x146)](failureData,_0x13c83b['error'],_0x2ccb7a[_0x15a91c(0x106)]);if(_0x423196&&_0x2ccb7a[_0x15a91c(0x195)](_0x423196['length'],0x0)){const _0x445e88={};_0x445e88['backtrace']=[_0x325ed0[_0x15a91c(0x15f)]],_0x445e88[_0x15a91c(0x10e)]=[],_0x423196['push'](_0x445e88);}_0x325ed0['failure']=_0x423196;}else _0x325ed0[_0x15a91c(0x14c)]=_0x2ccb7a[_0x15a91c(0x94)];}const _0x2b4911={};_0x2b4911['event_type']=_0x52ddd0,_0x2b4911['hook_run']=_0x325ed0;const _0x4e3f16=_0x2b4911;await SessionHandler[_0x15a91c(0x17d)](_0x4e3f16);}[a45_0x5b18f4(0x16b)](_0x26be08,_0x191e39,_0x54c905){const _0xfafe5c=a45_0x5b18f4,_0x4c555a={'SdVkY':function(_0xce86d0,_0x5a8faa){return _0xce86d0===_0x5a8faa;},'YjXjw':_0xfafe5c(0x102),'pJAxK':_0xfafe5c(0x144),'HXjQj':function(_0x574167,_0x571087){return _0x574167===_0x571087;},'SwQSR':_0xfafe5c(0x135),'nCZlP':_0xfafe5c(0x110),'xBdWi':_0xfafe5c(0xfb),'Nulnp':'hook_run_uuid','JNxjd':'TEST_STEP','ZksPi':_0xfafe5c(0xa7),'FmVoG':'passed','aPKSm':function(_0xd40d3e,_0x2e0d9e){return _0xd40d3e(_0x2e0d9e);},'pJlCA':function(_0x459a92,_0x35ad23){return _0x459a92(_0x35ad23);},'rqRcJ':function(_0xa1db9c){return _0xa1db9c();},'qXXhp':function(_0x591bb2,_0x1ff1fe){return _0x591bb2(_0x1ff1fe);},'MVEiw':function(_0x3f6287,_0x5331d3,_0x28fe1a){return _0x3f6287(_0x5331d3,_0x28fe1a);},'XjUxu':function(_0x4d22c8,_0x1eec51,_0x8c3bbf){return _0x4d22c8(_0x1eec51,_0x8c3bbf);}},_0xc94d30=[],_0x3b5ce7=[],_0x2cde11=_0x26be08['filter'](_0x4f64c2=>{const _0xd6ba6=_0xfafe5c;if(_0x4c555a['SdVkY'](_0x4f64c2[_0xd6ba6(0xd7)],_0x4c555a[_0xd6ba6(0x19d)])&&(_0x4c555a[_0xd6ba6(0xe2)](_0x4f64c2['title'],_0x4c555a[_0xd6ba6(0xd1)])||_0x4c555a[_0xd6ba6(0x92)](_0x4f64c2[_0xd6ba6(0x19c)],_0x4c555a['SwQSR'])))return![];return!![];}),_0x1ef8a3=(_0x1b3f6e,_0x3ca09b=![])=>{const _0x439c43=_0xfafe5c;if(_0x4c555a[_0x439c43(0x92)](_0x1b3f6e[_0x439c43(0xe4)][_0x439c43(0x171)],0x0)){const _0x4869c7=_0x4c555a[_0x439c43(0x92)](_0x54c905,_0x4c555a[_0x439c43(0x15a)])?_0x4c555a[_0x439c43(0x167)]:_0x4c555a[_0x439c43(0x98)];_0x3b5ce7[_0x439c43(0xd5)]({'kind':_0x4c555a[_0x439c43(0x156)],[_0x4869c7]:_0x191e39,'message':_0x1b3f6e['title'],'timestamp':_0x1b3f6e[_0x439c43(0x14e)]['toISOString'](),'level':_0x1b3f6e['error']?_0x4c555a['ZksPi']:_0x4c555a[_0x439c43(0x147)],'duration':_0x1b3f6e[_0x439c43(0xf9)],'failure':_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]&&_0x4c555a[_0x439c43(0xc7)](removeAnsiColors,_0x1b3f6e['error'][_0x439c43(0x160)]),'failure_type':_0x4c555a[_0x439c43(0x130)](getFailureType,_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)])});}else{!_0x3ca09b&&_0xc94d30[_0x439c43(0xd5)]({'id':_0x4c555a[_0x439c43(0x8a)](uuidv4),'text':_0x1b3f6e[_0x439c43(0x19c)],'keyword':undefined,'started_at':_0x1b3f6e['startTime'][_0x439c43(0x9f)](),'duration':_0x1b3f6e[_0x439c43(0xf9)],'result':_0x1b3f6e[_0x439c43(0xb2)]?_0x4c555a['ZksPi']:_0x4c555a[_0x439c43(0x147)],'failure':_0x1b3f6e['error']&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]&&_0x4c555a['qXXhp'](removeAnsiColors,_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]),'failure_type':_0x4c555a['pJlCA'](getFailureType,_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)])});for(const _0x10a31d of _0x1b3f6e[_0x439c43(0xe4)]){_0x4c555a[_0x439c43(0x17e)](_0x1ef8a3,_0x10a31d,!![]);}}};for(const _0x24b5e2 of _0x2cde11){_0x4c555a[_0xfafe5c(0xe9)](_0x1ef8a3,_0x24b5e2,![]);}const _0x2c0423={};return _0x2c0423[_0xfafe5c(0xe4)]=_0xc94d30,_0x2c0423[_0xfafe5c(0x145)]=_0x3b5ce7,_0x2c0423;}async['sendTestRunEvent'](_0x4a818e,_0x7c09,_0x264198){const _0x485a27=a45_0x5b18f4,_0x417789={'wDgDu':function(_0x5e05ca,_0x2fb75c){return _0x5e05ca(_0x2fb75c);},'YRKfU':_0x485a27(0xbd),'pteQT':_0x485a27(0x110),'bOVas':_0x485a27(0xca),'RiBuS':_0x485a27(0x8b),'foSHq':function(_0x22d8d2,_0x1e13a0){return _0x22d8d2(_0x1e13a0);},'HgPqI':function(_0x1928a5,_0x22c4fc,_0x25b696,_0x5f07d4,_0x53117f){return _0x1928a5(_0x22c4fc,_0x25b696,_0x5f07d4,_0x53117f);},'HhJWP':function(_0x118bae,_0x22c7d5){return _0x118bae>_0x22c7d5;},'eyafg':function(_0x1bcd59,_0x502176,_0x35d25e){return _0x1bcd59(_0x502176,_0x35d25e);},'TMUoD':function(_0x8b93c7,_0x35ab33){return _0x8b93c7-_0x35ab33;},'YAbhf':function(_0x21e41e,_0x4f5e84){return _0x21e41e===_0x4f5e84;},'JPEXz':_0x485a27(0x139),'ASRYo':function(_0x28229f,_0x368652){return _0x28229f===_0x368652;},'cTdKS':function(_0x5531da,_0x3aa572){return _0x5531da===_0x3aa572;},'UjyfE':_0x485a27(0x152),'gGONJ':_0x485a27(0x16f),'Eegpy':function(_0xb0dd11,_0x15b7a5){return _0xb0dd11===_0x15b7a5;},'YkpLm':_0x485a27(0xa7),'qTLef':_0x485a27(0xf5),'lPVvh':function(_0x3ebf0d,_0x5d165b){return _0x3ebf0d===_0x5d165b;},'UmqNa':function(_0x1e42fd,_0x1542a7){return _0x1e42fd===_0x1542a7;},'rbHBX':_0x485a27(0x128),'qAihw':function(_0x19e0c0,_0x2a0ae0){return _0x19e0c0(_0x2a0ae0);},'IzgxH':_0x485a27(0x12d),'mpLOD':function(_0x1af0e3,_0x339373){return _0x1af0e3(_0x339373);},'MUPke':function(_0x3f4297,_0x2b9b8d){return _0x3f4297(_0x2b9b8d);},'jPdqL':_0x485a27(0x101),'wrWTc':_0x485a27(0x11d),'QnIvc':function(_0x85feaf,_0x299316){return _0x85feaf(_0x299316);},'xHCum':function(_0x23d8e,_0x27a6f3){return _0x23d8e!==_0x27a6f3;}},_0x1e38cd=_0x417789['wDgDu'](getTestIdentifier,_0x4a818e),_0x472383=this[_0x485a27(0x193)](_0x4a818e),_0xa52236=this[_0x485a27(0xbc)][_0x1e38cd],_0x41a59b=path[_0x485a27(0xa2)](process[_0x485a27(0x161)](),_0x4a818e[_0x485a27(0xee)]['file']);await this[_0x485a27(0xb7)]();const _0x7005b1={'uuid':_0xa52236[_0x485a27(0x133)],'type':_0x417789[_0x485a27(0x18c)],'name':_0x4a818e[_0x485a27(0x19c)],'body':{'lang':_0x417789['bOVas'],'code':_0x4a818e['fn'][_0x485a27(0xac)]()},'scope':_0x472383,'scopes':this['getHierarchy'](_0x4a818e),'identifier':_0x1e38cd,'file_name':_0x41a59b,'location':_0x41a59b,'result':_0x417789['RiBuS'],'duration_in_ms':_0x264198&&_0x264198['duration']?_0x264198[_0x485a27(0xf9)]:null,'vc_filepath':this[_0x485a27(0x148)]&&_0x4a818e['location']['file']?path[_0x485a27(0xa2)](this[_0x485a27(0x148)],_0x4a818e[_0x485a27(0xee)][_0x485a27(0x149)]):undefined,'started_at':_0xa52236[_0x485a27(0xa5)],'finished_at':_0xa52236[_0x485a27(0x153)],'framework':FRAMEWORKS[_0x485a27(0x10d)],'customRerunParam':{'rerun_name':this[_0x485a27(0x11c)](_0x4a818e)},'tags':_0x417789[_0x485a27(0x190)](getTestTags,_0x4a818e)};_0x417789[_0x485a27(0x18f)](appendTesthubParams,_0x7005b1,_0x7c09,_0x4a818e,FRAMEWORKS[_0x485a27(0x10d)]);_0x264198&&_0x417789[_0x485a27(0xed)](_0x264198[_0x485a27(0xef)],0x0)&&(_0x7005b1[_0x485a27(0xe1)]=TestDetails[_0x485a27(0x174)](_0x417789[_0x485a27(0xde)](getTestRunIdentifier,_0x4a818e,_0x417789[_0x485a27(0xfc)](_0x264198['retry'],0x1))));if(_0x417789[_0x485a27(0xf1)](_0x7c09,_0x417789[_0x485a27(0xb9)])){_0x7005b1[_0x485a27(0x14c)]=_0x264198[_0x485a27(0xf2)];if(_0x417789[_0x485a27(0x191)](_0x264198[_0x485a27(0xf2)],_0x4a818e['expectedStatus']))_0x7005b1[_0x485a27(0x14c)]=_0x417789[_0x485a27(0x140)](_0x264198['status'],_0x417789['UjyfE'])?_0x417789[_0x485a27(0x9e)]:_0x417789[_0x485a27(0x199)];else{(_0x417789[_0x485a27(0xb6)](_0x7005b1[_0x485a27(0x14c)],_0x417789[_0x485a27(0x199)])||_0x417789[_0x485a27(0xb6)](_0x7005b1['result'],_0x417789[_0x485a27(0xec)])||_0x417789['ASRYo'](_0x7005b1[_0x485a27(0x14c)],_0x417789[_0x485a27(0x173)]))&&(_0x7005b1[_0x485a27(0x14c)]=_0x417789[_0x485a27(0xec)]);if(_0x417789[_0x485a27(0x95)](_0x264198[_0x485a27(0xf2)],_0x417789[_0x485a27(0x199)])&&_0x417789[_0x485a27(0x16a)](_0x4a818e[_0x485a27(0x114)],_0x417789[_0x485a27(0xec)])){const _0x568b36={};_0x568b36[_0x485a27(0x160)]=_0x417789[_0x485a27(0x96)],_0x568b36[_0x485a27(0xe7)]=_0x417789['rbHBX'],_0x264198[_0x485a27(0xb2)]=_0x568b36,_0x264198[_0x485a27(0xb3)]=[_0x264198[_0x485a27(0xb2)]];}}const _0x14d073=_0x417789[_0x485a27(0xde)](getTestRunIdentifier,_0x4a818e,_0x264198[_0x485a27(0xef)]);_0x7005b1['hooks']=this[_0x485a27(0x172)][_0x14d073];const {steps:_0x2e7622,logs:_0x4dd16d}=this[_0x485a27(0x16b)](_0x264198[_0x485a27(0xe4)],_0xa52236['uuid'],_0x417789[_0x485a27(0x18c)]);await MyReporter[_0x485a27(0x159)](_0x4dd16d);const _0x2b7f9f={};_0x2b7f9f[_0x485a27(0xe4)]=_0x2e7622,_0x7005b1[_0x485a27(0xae)]=_0x2b7f9f;if(_0x264198[_0x485a27(0xb2)]){_0x7005b1['failure_reason']=_0x417789[_0x485a27(0xaf)](removeAnsiColors,_0x264198[_0x485a27(0xb2)]['message']),_0x7005b1['failure_type']=_0x417789[_0x485a27(0xaf)](getFailureType,_0x264198['error'][_0x485a27(0x160)]);const _0x4b5a30={};_0x4b5a30['test_run_uuid']=_0xa52236[_0x485a27(0x133)];const {failureData:_0x30b48c,logs:_0x14334b}=_0x417789[_0x485a27(0xde)](getFailureData,_0x264198[_0x485a27(0xb3)],_0x4b5a30);if(_0x30b48c&&_0x417789[_0x485a27(0xf1)](_0x30b48c[_0x485a27(0x171)],0x0)){const _0x167185={};_0x167185[_0x485a27(0x13e)]=[_0x7005b1[_0x485a27(0x15f)]],_0x167185[_0x485a27(0x10e)]=[],_0x30b48c[_0x485a27(0xd5)](_0x167185);}_0x7005b1[_0x485a27(0x10f)]=_0x30b48c,_0x14334b&&_0x417789[_0x485a27(0xed)](_0x14334b[_0x485a27(0x171)],0x0)&&await MyReporter['reportLogs'](_0x14334b);}}let _0x2d0540=_0x417789[_0x485a27(0xde)](findNestedKey,_0x264198,_0x417789[_0x485a27(0x88)]);if(_0x2d0540&&_0x417789['mpLOD'](validateFilePath,_0x2d0540))_0x417789[_0x485a27(0x123)](debug,_0x485a27(0x198)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x186)+_0x2d0540);else{const _0x24975c=path[_0x485a27(0x109)](helper[_0x485a27(0xa3)](),_0x417789[_0x485a27(0x116)]);!fs['existsSync'](_0x24975c)&&fs['mkdirSync'](_0x24975c),fs[_0x485a27(0xcf)](path['join'](_0x24975c,_0x485a27(0xd8)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x14b)))&&(_0x2d0540=fs[_0x485a27(0xd9)](path[_0x485a27(0x109)](_0x24975c,'trace_'+_0xa52236['uuid']+_0x485a27(0x14b)),_0x417789[_0x485a27(0x8d)]),_0x417789[_0x485a27(0x19b)](debug,_0x485a27(0x198)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x186)+_0x2d0540));}const _0x358c0e={};_0x358c0e['event_type']=_0x7c09,_0x358c0e[_0x485a27(0x8c)]=_0x7005b1;const _0x1c677c=_0x358c0e;_0x2d0540&&_0x417789[_0x485a27(0x188)](_0x2d0540,'')&&_0x417789[_0x485a27(0xf1)](_0x7c09,_0x417789[_0x485a27(0xb9)])&&(!_0x1c677c['logs']&&(_0x1c677c['logs']=[]),_0x2d0540[_0x485a27(0x189)]('\x0a')['forEach'](_0x22be95=>{const _0x2fee39=_0x485a27;_0x22be95&&_0x417789[_0x2fee39(0xcd)](validateFilePath,_0x22be95)&&_0x1c677c[_0x2fee39(0x145)][_0x2fee39(0xd5)]({'kind':_0x417789[_0x2fee39(0x121)],'timestamp':new Date()[_0x2fee39(0x9f)](),'test_run_uuid':_0xa52236[_0x2fee39(0x133)],'file_name':path['basename'](_0x22be95),'file_size':fs['statSync'](_0x22be95)[_0x2fee39(0x16d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x485a27(0x17d)](_0x1c677c);}[a45_0x5b18f4(0x11c)](_0x3fd8a0){const _0x2ae58d=a45_0x5b18f4,_0x35fb5a={};_0x35fb5a['PzNmB']=function(_0x9b6bb9,_0x4c41ce){return _0x9b6bb9===_0x4c41ce;},_0x35fb5a['eRsLJ']=function(_0x676223,_0x277862){return _0x676223>_0x277862;},_0x35fb5a[_0x2ae58d(0xdf)]=function(_0x57a52a,_0xe6583d){return _0x57a52a+_0xe6583d;};const _0x9ac24d=_0x35fb5a,_0x21acf3=_0x3fd8a0[_0x2ae58d(0xbe)]()[_0x2ae58d(0x91)](_0x1731ba=>{const _0x25ff45=_0x2ae58d;if(_0x3fd8a0['parent']&&_0x9ac24d[_0x25ff45(0x155)](_0x1731ba,_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x19c)])&&_0x3fd8a0['parent'][_0x25ff45(0x164)]&&_0x9ac24d[_0x25ff45(0x158)](_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x164)][_0x25ff45(0x171)],0x0))return _0x9ac24d[_0x25ff45(0xdf)](_0x9ac24d[_0x25ff45(0xdf)](_0x1731ba,'\x20'),_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x164)]['join']('\x20'));if(_0x9ac24d['PzNmB'](_0x1731ba,_0x3fd8a0['title'])&&_0x3fd8a0[_0x25ff45(0x164)]&&_0x9ac24d[_0x25ff45(0x158)](_0x3fd8a0['_tags'][_0x25ff45(0x171)],0x0))return _0x9ac24d[_0x25ff45(0xdf)](_0x9ac24d['CHohD'](_0x1731ba,'\x20'),_0x3fd8a0[_0x25ff45(0x164)]['join']('\x20'));return _0x1731ba;})[_0x2ae58d(0x109)]('\x20');return _0x21acf3;}static async['sendSessionDetails'](_0x491dac,_0x20c974){const _0x4271b9=a45_0x5b18f4,_0x730216={'RZsGZ':function(_0x45f872,_0x5d7064){return _0x45f872(_0x5d7064);},'lLHOV':_0x4271b9(0x13d)},_0x547f24={'uuid':TestDetails[_0x4271b9(0x174)](_0x491dac),'integrations':_0x20c974},_0x2de7db={};_0x2de7db[_0x4271b9(0xf8)]=null,_0x730216['RZsGZ'](debug,_0x4271b9(0xf4)+_0x491dac+',\x20'+util['inspect'](_0x20c974,_0x2de7db));const _0x1866f6={};_0x1866f6['event_type']=_0x730216[_0x4271b9(0x112)],_0x1866f6['test_run']=_0x547f24,await SessionHandler[_0x4271b9(0x17d)](_0x1866f6);}async['configureGit'](){const _0x26dcfb=a45_0x5b18f4,_0x22e35b={'vkFrL':function(_0x31e370){return _0x31e370();}};if(this[_0x26dcfb(0xf7)])return;const _0x404ee1=await _0x22e35b[_0x26dcfb(0x17c)](getGitMetaData);_0x404ee1&&(this['_gitConfigPath']=_0x404ee1[_0x26dcfb(0x143)]),this[_0x26dcfb(0xf7)]=!![];}['getHierarchy'](_0x4c1f3b){const _0x39dc51=a45_0x5b18f4,_0x19e80f={};_0x19e80f[_0x39dc51(0x12b)]=function(_0x49cf56,_0x8a14a7){return _0x49cf56!==_0x8a14a7;};const _0xf5deac=_0x19e80f,_0x16ad03=[];if(_0x4c1f3b&&_0x4c1f3b['parent']){let _0x56bde2=_0x4c1f3b[_0x39dc51(0xba)];while(_0x56bde2&&_0xf5deac[_0x39dc51(0x12b)](_0x56bde2[_0x39dc51(0x19c)],'')){_0x16ad03['push'](_0x56bde2[_0x39dc51(0x19c)]),_0x56bde2=_0x56bde2[_0x39dc51(0xba)];}}return _0x16ad03[_0x39dc51(0x184)]()[_0x39dc51(0xc4)](0x0,0x2),_0x16ad03;}[a45_0x5b18f4(0x15c)](_0x3b3145){const _0x26078b=a45_0x5b18f4,_0x2791dd={};_0x2791dd[_0x26078b(0x87)]=function(_0x11d4d0,_0x1da187){return _0x11d4d0!==_0x1da187;},_0x2791dd[_0x26078b(0x14f)]=_0x26078b(0x102),_0x2791dd[_0x26078b(0x12a)]=function(_0x331858,_0x71fb29){return _0x331858===_0x71fb29;},_0x2791dd[_0x26078b(0x12e)]='beforeEach\x20hook',_0x2791dd[_0x26078b(0xe0)]=_0x26078b(0xa8),_0x2791dd[_0x26078b(0x119)]=_0x26078b(0x182),_0x2791dd[_0x26078b(0xd6)]=_0x26078b(0xa1);const _0x18b506=_0x2791dd;if(_0x18b506[_0x26078b(0x87)](_0x3b3145[_0x26078b(0xd7)],_0x18b506[_0x26078b(0x14f)]))return![];if(_0x18b506['OkWZJ']([_0x18b506['ToOOP'],_0x18b506[_0x26078b(0xe0)],_0x18b506[_0x26078b(0x119)],_0x18b506['XmdLO']][_0x26078b(0x127)](_0x3b3145[_0x26078b(0x19c)]),-0x1))return![];return!![];}[a45_0x5b18f4(0xc2)](_0x2b368f,_0x3a37b9){const _0x292f34=a45_0x5b18f4,_0x231b10={'Jjzfq':function(_0x182d2f,_0x872c4){return _0x182d2f(_0x872c4);}},_0x457116=_0x3a37b9[_0x292f34(0xeb)];if(_0x457116)return _0x457116;return _0x3a37b9[_0x292f34(0x19c)]+'\x20for\x20'+_0x231b10[_0x292f34(0x154)](getTestIdentifier,_0x2b368f);}[a45_0x5b18f4(0x132)](_0x45a9f2,_0x46f31c){const _0x7b0edc=a45_0x5b18f4,_0x20c4b7={'gFXnW':function(_0x429864,_0x215eb7){return _0x429864(_0x215eb7);},'vZnOO':function(_0xe677ad){return _0xe677ad();}};let _0x3ca7f8=_0x46f31c[_0x7b0edc(0x19c)]+_0x7b0edc(0x126)+_0x20c4b7[_0x7b0edc(0x13a)](getTestIdentifier,_0x45a9f2);return this[_0x7b0edc(0xbc)][_0x3ca7f8]&&(_0x3ca7f8=_0x3ca7f8+_0x7b0edc(0xab)+_0x20c4b7[_0x7b0edc(0x162)](uuidv4)),_0x46f31c[_0x7b0edc(0xeb)]=_0x3ca7f8,_0x3ca7f8;}[a45_0x5b18f4(0x168)]=_0x143b44=>{const _0x4a2f35=a45_0x5b18f4,_0x3449d3={};_0x3449d3[_0x4a2f35(0xf3)]='beforeEach\x20hook',_0x3449d3[_0x4a2f35(0x9d)]=_0x4a2f35(0x107),_0x3449d3[_0x4a2f35(0xc9)]='beforeAll\x20hook',_0x3449d3[_0x4a2f35(0xf0)]='BEFORE_ALL',_0x3449d3[_0x4a2f35(0x11a)]=_0x4a2f35(0xa1),_0x3449d3[_0x4a2f35(0xc1)]=_0x4a2f35(0x176),_0x3449d3[_0x4a2f35(0xff)]=_0x4a2f35(0x182),_0x3449d3[_0x4a2f35(0x16c)]=_0x4a2f35(0x124),_0x3449d3['oqBwG']=_0x4a2f35(0x10c);const _0x1cdbb2=_0x3449d3;if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2[_0x4a2f35(0xf3)]))return _0x1cdbb2[_0x4a2f35(0x9d)];else{if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2[_0x4a2f35(0xc9)]))return _0x1cdbb2['OBdLm'];else{if(_0x143b44['startsWith'](_0x1cdbb2['wRKqs']))return _0x1cdbb2[_0x4a2f35(0xc1)];else{if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2['UYYqC']))return _0x1cdbb2[_0x4a2f35(0x16c)];}}}return _0x1cdbb2['oqBwG'];};[a45_0x5b18f4(0x193)]=_0x264e39=>{const _0x4e95e8=a45_0x5b18f4,_0x306669={};_0x306669['XzobQ']=function(_0x19961d,_0x4609c8){return _0x19961d===_0x4609c8;},_0x306669['EhPym']=_0x4e95e8(0x125);const _0x189411=_0x306669;let _0x49b0cc=_0x264e39['parent'];return _0x189411[_0x4e95e8(0xb0)](typeof _0x264e39[_0x4e95e8(0xba)],_0x189411[_0x4e95e8(0xea)])&&(_0x49b0cc=_0x49b0cc[_0x4e95e8(0x19c)]),_0x49b0cc+_0x4e95e8(0xab)+_0x264e39['title'];};['printsToStdio'](){return![];}}module[a45_0x5b18f4(0x10a)]=o11yClassErrorHandler(MyReporter,[a45_0x5b18f4(0xf6),a45_0x5b18f4(0x134),a45_0x5b18f4(0x138),a45_0x5b18f4(0xdd),'onStepBegin','onStepEnd',a45_0x5b18f4(0x90)],'MyReporter');
@@ -1 +1 @@
1
- const a46_0x5b61fd=a46_0xfaaf;(function(_0x2500bc,_0x3e4a69){const _0x20c853=a46_0xfaaf,_0x21088d=_0x2500bc();while(!![]){try{const _0x2d33a1=parseInt(_0x20c853(0x151))/0x1+parseInt(_0x20c853(0x14e))/0x2+parseInt(_0x20c853(0x11b))/0x3+parseInt(_0x20c853(0x134))/0x4+-parseInt(_0x20c853(0x100))/0x5+-parseInt(_0x20c853(0x131))/0x6+-parseInt(_0x20c853(0x10b))/0x7*(parseInt(_0x20c853(0x14f))/0x8);if(_0x2d33a1===_0x3e4a69)break;else _0x21088d['push'](_0x21088d['shift']());}catch(_0x444e08){_0x21088d['push'](_0x21088d['shift']());}}}(a46_0x29c8,0x63791));const fs=require('fs'),path=require(a46_0x5b61fd(0x10c)),{v4:uuidv4}=require(a46_0x5b61fd(0x130)),{TEMP_STORE_DIR_NAME}=require(a46_0x5b61fd(0x127)),{nestedKeyValue}=require(a46_0x5b61fd(0x13a)),logger=require(a46_0x5b61fd(0x154))[a46_0x5b61fd(0x11a)],{getLogDir}=require(a46_0x5b61fd(0x154)),util=require('util'),helper=require(a46_0x5b61fd(0x13a));function a46_0x29c8(){const _0x45bd78=['retry','_traceZipPaths.json','readFileSync','Kfjpc','toString','trace_','getTestIdFromTestInfo','setTestDetails','mkdirSync','ftinh','force','fWFFR','rmSync','366334wyJMSd','8HQskvC','getFilePath','199341cLXRVj','FqbFK','eLdMz','../../../helpers/logger','getDirPath','forEach','cLLaY','getTraceZipDir','readdirSync','1534460SWWAHw','JZCHw','utf8','kmnKv','endsWith','tTgiK','kebvq','Error\x20writing\x20trace\x20file:\x20','addTraceFilePath','format','setAccessibilityPlatformValidation','508249POteNp','path','parse','eOmYN','MYbrN','error','appendFileSync','getStoreDirPath','getTestUUID','filePath','values','testId','writeFileSync','env','getTestDetails','winstonLogger','2199720BNDBUn','setup','_projectId','existsSync','ZbuUZ','_platformDetails.json','getAccessibilityPlatformValidation','zTEMg','gNsTJ','zCxlj','Error\x20reading\x20trace\x20file\x20paths:\x20%s','NWAlK','../../../helpers/test-observability/constants','recursive','wYWwW','push','join','shutdown','tests','traceZipPaths','some','uuid','4107030crVigM','getStoreDirName','appendToTracePaths','1422788pYYDTN','pid','getProjectIdFromTestInfo','Error\x20handling\x20trace\x20file\x20paths:\x20','getTestRunIdFromTestInfo','TOsJn','../../../helpers/helper','YXNSy','jhkwe','string','stringify','CfTRK','message'];a46_0x29c8=function(){return _0x45bd78;};return a46_0x29c8();}class TestDetails{static [a46_0x5b61fd(0x12d)]={};static[a46_0x5b61fd(0x11c)](){const _0x5d06c9=a46_0x5b61fd;this[_0x5d06c9(0x12c)]();const _0x223620={};_0x223620['recursive']=!![],fs[_0x5d06c9(0x149)](this[_0x5d06c9(0x155)](),_0x223620);const _0x3186ef={};_0x3186ef['recursive']=!![],fs[_0x5d06c9(0x149)](this['getTraceZipDir'](),_0x3186ef);}static[a46_0x5b61fd(0x132)](){const _0x408a07=a46_0x5b61fd,_0x155232={};_0x155232[_0x408a07(0x153)]=function(_0x3f7c57,_0x405c52){return _0x3f7c57+_0x405c52;};const _0x170b14=_0x155232;return _0x170b14[_0x408a07(0x153)](_0x170b14[_0x408a07(0x153)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']);}static[a46_0x5b61fd(0x112)](){const _0x411df6=a46_0x5b61fd,_0x5746e9={};_0x5746e9[_0x411df6(0x122)]=function(_0xd1fab0,_0x59e4f3){return _0xd1fab0+_0x59e4f3;},_0x5746e9[_0x411df6(0x106)]=function(_0x3b4547,_0x5f303c){return _0x3b4547+_0x5f303c;},_0x5746e9[_0x411df6(0x10e)]='default';const _0x568c05=_0x5746e9;return path[_0x411df6(0x12b)](_0x568c05[_0x411df6(0x122)](_0x568c05[_0x411df6(0x106)](TEMP_STORE_DIR_NAME,'-'),process[_0x411df6(0x118)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x568c05[_0x411df6(0x10e)]));}static[a46_0x5b61fd(0xfe)](){const _0x234d81=a46_0x5b61fd,_0x3f40f5={};_0x3f40f5[_0x234d81(0x13b)]=_0x234d81(0x12e);const _0x3a2534=_0x3f40f5;return path[_0x234d81(0x12b)](this[_0x234d81(0x112)](),_0x3a2534[_0x234d81(0x13b)]);}static[a46_0x5b61fd(0x155)](){return TestDetails['getStoreDirName']();}static[a46_0x5b61fd(0x150)](_0x990810){const _0x556867=a46_0x5b61fd,_0x870412={};_0x870412[_0x556867(0x124)]=function(_0x361aa8,_0x2a1ad6){return _0x361aa8+_0x2a1ad6;},_0x870412[_0x556867(0x14a)]='.json';const _0x39b133=_0x870412;return path[_0x556867(0x12b)](this[_0x556867(0x155)](),_0x39b133['zCxlj'](_0x990810,_0x39b133[_0x556867(0x14a)]));}static[a46_0x5b61fd(0x138)](_0xb1271c){const _0x2ab0a3=a46_0x5b61fd,_0x2f3cc0={};_0x2f3cc0[_0x2ab0a3(0x144)]=function(_0x17337b,_0x306946){return _0x17337b+_0x306946;},_0x2f3cc0['fWFFR']=function(_0x1f30f7,_0x583745){return _0x1f30f7+_0x583745;},_0x2f3cc0['NWAlK']=function(_0x380b55,_0x4043c5){return _0x380b55+_0x4043c5;};const _0x8ba5aa=_0x2f3cc0;return _0x8ba5aa[_0x2ab0a3(0x144)](_0x8ba5aa[_0x2ab0a3(0x144)](_0x8ba5aa[_0x2ab0a3(0x14c)](_0x8ba5aa[_0x2ab0a3(0x126)](this[_0x2ab0a3(0x136)](_0xb1271c),'-'),this[_0x2ab0a3(0x147)](_0xb1271c)),'-'),_0xb1271c[_0x2ab0a3(0x141)]);}static[a46_0x5b61fd(0x136)](_0x4a743b){const _0x217432=a46_0x5b61fd,_0x1424e8={'gNsTJ':function(_0x20ccfc,_0x4b1b69,_0x200670){return _0x20ccfc(_0x4b1b69,_0x200670);},'kmnKv':'_test','jhkwe':_0x217432(0x11d),'JZCHw':'project','FqbFK':'__projectId'};return _0x1424e8['gNsTJ'](nestedKeyValue,_0x4a743b,[_0x1424e8[_0x217432(0x103)],_0x1424e8[_0x217432(0x13c)]])||_0x1424e8[_0x217432(0x123)](nestedKeyValue,_0x4a743b,[_0x1424e8[_0x217432(0x101)],_0x1424e8[_0x217432(0x152)]]);}static[a46_0x5b61fd(0x147)](_0x3a9fca){const _0x8b13fb=a46_0x5b61fd,_0x19fcfa={'jfNoa':function(_0x23db01,_0x38b216,_0x4bc9be){return _0x23db01(_0x38b216,_0x4bc9be);},'woITg':'_test'};return _0x19fcfa['jfNoa'](nestedKeyValue,_0x3a9fca,[_0x19fcfa['woITg'],'id'])||_0x3a9fca[_0x8b13fb(0x116)];}static[a46_0x5b61fd(0x113)](_0x5912d5){const _0x45aa02=a46_0x5b61fd,_0x549b7a={'MYbrN':function(_0xfb8653,_0x5cd69c){return _0xfb8653===_0x5cd69c;},'CfTRK':_0x45aa02(0x13d),'GrExv':function(_0x25d389){return _0x25d389();}};if(this[_0x45aa02(0x12d)][_0x5912d5]&&_0x549b7a[_0x45aa02(0x10f)](typeof this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)],_0x549b7a[_0x45aa02(0x13f)]))return this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)];const _0x5f3b5d=this[_0x45aa02(0x150)](_0x5912d5);if(_0x5f3b5d&&fs[_0x45aa02(0x11e)](_0x5f3b5d)){const _0x59f4f9=JSON[_0x45aa02(0x10d)](fs[_0x45aa02(0x143)](_0x5f3b5d)[_0x45aa02(0x145)]());return this[_0x45aa02(0x12d)][_0x5912d5]=_0x59f4f9,this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)];}return this[_0x45aa02(0x12d)][_0x5912d5]={'uuid':_0x549b7a['GrExv'](uuidv4)},fs[_0x45aa02(0x117)](_0x5f3b5d,JSON[_0x45aa02(0x13e)](this[_0x45aa02(0x12d)][_0x5912d5])),this[_0x45aa02(0x12d)][_0x5912d5][_0x45aa02(0x130)];}static[a46_0x5b61fd(0x121)](_0x441025){const _0x156232=a46_0x5b61fd,_0x53a0cf=path['join'](this[_0x156232(0x155)](),_0x441025+'_platformDetails.json');if(_0x53a0cf&&fs['existsSync'](_0x53a0cf))return fs[_0x156232(0x143)](_0x53a0cf)['toString']();}static[a46_0x5b61fd(0x10a)](_0x1c84b8,_0x5b63d9){const _0x581ac0=a46_0x5b61fd,_0x42acc1=path[_0x581ac0(0x12b)](this['getDirPath'](),_0x5b63d9+_0x581ac0(0x120));fs[_0x581ac0(0x117)](_0x42acc1,_0x1c84b8[_0x581ac0(0x145)]());}static[a46_0x5b61fd(0x12c)](){const _0x19b112=a46_0x5b61fd,_0x4beda6={};_0x4beda6[_0x19b112(0x128)]=!![],_0x4beda6[_0x19b112(0x14b)]=!![],fs[_0x19b112(0x14d)](this[_0x19b112(0x155)](),_0x4beda6);}static[a46_0x5b61fd(0x119)](_0x474b4b){const _0x17ee82=a46_0x5b61fd;if(this['tests'][_0x474b4b])return this[_0x17ee82(0x12d)][_0x474b4b];const _0x27a70f=this['getFilePath'](_0x474b4b);if(_0x27a70f&&fs[_0x17ee82(0x11e)](_0x27a70f)){const _0x4a710d=JSON[_0x17ee82(0x10d)](fs[_0x17ee82(0x143)](_0x27a70f)['toString']());return this[_0x17ee82(0x12d)][_0x474b4b]=_0x4a710d,_0x4a710d;}return{};}static[a46_0x5b61fd(0x148)](_0x2b958d,_0x37e334){const _0x4a48a9=a46_0x5b61fd,_0x347aef=this['getFilePath'](_0x2b958d);if(_0x347aef&&fs[_0x4a48a9(0x11e)](_0x347aef)){const _0x45d0d2=JSON[_0x4a48a9(0x10d)](fs[_0x4a48a9(0x143)](_0x347aef)[_0x4a48a9(0x145)]()),_0x19fa9e={..._0x45d0d2,..._0x37e334};this[_0x4a48a9(0x12d)][_0x2b958d]=_0x19fa9e;}else this[_0x4a48a9(0x12d)][_0x2b958d]=_0x37e334;fs[_0x4a48a9(0x117)](_0x347aef,this[_0x4a48a9(0x12d)][_0x2b958d]);}static[a46_0x5b61fd(0x108)](_0x1c30f0){const _0x521816=a46_0x5b61fd,_0x3e4d3f={};_0x3e4d3f[_0x521816(0x105)]=_0x521816(0x137);const _0x5372b9=_0x3e4d3f;try{const _0x5ee65e=process[_0x521816(0x135)],_0x2ac4a6=path['join'](TestDetails[_0x521816(0xfe)](),_0x5ee65e+_0x521816(0x142));let _0x1c6c97=[];_0x2ac4a6&&fs['existsSync'](_0x2ac4a6)&&(_0x1c6c97=JSON[_0x521816(0x10d)](fs[_0x521816(0x143)](_0x2ac4a6)['toString']())),!_0x1c6c97[_0x521816(0x12f)](_0x24f71f=>_0x24f71f[_0x521816(0x114)]===_0x1c30f0[_0x521816(0x114)])&&(_0x1c6c97[_0x521816(0x12a)](_0x1c30f0),fs[_0x521816(0x117)](_0x2ac4a6,JSON[_0x521816(0x13e)](_0x1c6c97)));}catch(_0x586495){logger[_0x521816(0x110)](_0x5372b9[_0x521816(0x105)],_0x586495);}}static['getTraceFilePaths'](){const _0x1f9a6b=a46_0x5b61fd,_0x16702b={};_0x16702b[_0x1f9a6b(0xfd)]=_0x1f9a6b(0x142),_0x16702b[_0x1f9a6b(0x11f)]=_0x1f9a6b(0x125);const _0x128406=_0x16702b,_0x17c71d=[];try{const _0x205a91=TestDetails['getTraceZipDir']();if(_0x205a91&&!fs[_0x1f9a6b(0x11e)](_0x205a91))return _0x17c71d;const _0x351782=fs[_0x1f9a6b(0xff)](_0x205a91);_0x351782[_0x1f9a6b(0xfc)](_0x541994=>{const _0x2e84ae=_0x1f9a6b;if(_0x541994&&_0x541994[_0x2e84ae(0x104)](_0x128406[_0x2e84ae(0xfd)])){const _0x502acd=JSON[_0x2e84ae(0x10d)](fs[_0x2e84ae(0x143)](path[_0x2e84ae(0x12b)](_0x205a91,_0x541994))[_0x2e84ae(0x145)]());_0x17c71d[_0x2e84ae(0x12a)](..._0x502acd);}});}catch(_0x492cc0){logger[_0x1f9a6b(0x110)](util[_0x1f9a6b(0x109)](_0x128406[_0x1f9a6b(0x11f)],_0x492cc0));}const _0x1e8707={};return _0x17c71d[_0x1f9a6b(0xfc)](_0x30be38=>{const _0x58e069=_0x1f9a6b;_0x1e8707[_0x30be38[_0x58e069(0x114)]]=_0x30be38;}),Object[_0x1f9a6b(0x115)](_0x1e8707);}static[a46_0x5b61fd(0x133)](_0x4c9c3f,_0x2ebc55){const _0x278bcc=a46_0x5b61fd,_0x1b204e={};_0x1b204e[_0x278bcc(0x129)]='.browserstack',_0x1b204e[_0x278bcc(0x139)]=_0x278bcc(0x102);const _0x27f1a7=_0x1b204e;try{const _0x24244a=path[_0x278bcc(0x12b)](helper['homedir'](),_0x27f1a7['wYWwW']);if(!fs[_0x278bcc(0x11e)](_0x24244a)){const _0x2336ac={};_0x2336ac[_0x278bcc(0x128)]=!![],fs[_0x278bcc(0x149)](_0x24244a,_0x2336ac);}fs[_0x278bcc(0x111)](path[_0x278bcc(0x12b)](_0x24244a,_0x278bcc(0x146)+_0x2ebc55+'.txt'),_0x4c9c3f+'\x0a',_0x27f1a7[_0x278bcc(0x139)]);}catch(_0x149a5f){console[_0x278bcc(0x110)](_0x278bcc(0x107)+_0x149a5f[_0x278bcc(0x140)]);}}}function a46_0xfaaf(_0x50beb7,_0x2429bb){const _0x29c8b7=a46_0x29c8();return a46_0xfaaf=function(_0xfaaf27,_0x37635f){_0xfaaf27=_0xfaaf27-0xfc;let _0x4619ae=_0x29c8b7[_0xfaaf27];return _0x4619ae;},a46_0xfaaf(_0x50beb7,_0x2429bb);}module['exports']=TestDetails;
1
+ const a46_0x523b80=a46_0x16da;(function(_0x5f2360,_0x4f3a82){const _0x4f26b9=a46_0x16da,_0x92e758=_0x5f2360();while(!![]){try{const _0x290d66=parseInt(_0x4f26b9(0x1b7))/0x1+parseInt(_0x4f26b9(0x1c5))/0x2+parseInt(_0x4f26b9(0x1ee))/0x3*(parseInt(_0x4f26b9(0x1ca))/0x4)+-parseInt(_0x4f26b9(0x1df))/0x5+parseInt(_0x4f26b9(0x1cb))/0x6*(parseInt(_0x4f26b9(0x1a3))/0x7)+-parseInt(_0x4f26b9(0x1c0))/0x8*(parseInt(_0x4f26b9(0x1aa))/0x9)+parseInt(_0x4f26b9(0x1f1))/0xa*(parseInt(_0x4f26b9(0x1da))/0xb);if(_0x290d66===_0x4f3a82)break;else _0x92e758['push'](_0x92e758['shift']());}catch(_0x33506b){_0x92e758['push'](_0x92e758['shift']());}}}(a46_0xf02c,0x768ed));const fs=require('fs'),path=require(a46_0x523b80(0x1af)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a46_0x523b80(0x1bf)),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a46_0x523b80(0x1e7)),util=require(a46_0x523b80(0x1a0)),helper=require(a46_0x523b80(0x1bf));class TestDetails{static [a46_0x523b80(0x1b8)]={};static[a46_0x523b80(0x1f2)](){const _0x273e78=a46_0x523b80;this['shutdown']();const _0x35bd9f={};_0x35bd9f['recursive']=!![],fs[_0x273e78(0x1e1)](this[_0x273e78(0x1d3)](),_0x35bd9f);const _0x35907d={};_0x35907d['recursive']=!![],fs[_0x273e78(0x1e1)](this[_0x273e78(0x1cc)](),_0x35907d);}static[a46_0x523b80(0x1b5)](){const _0x304cd1=a46_0x523b80,_0x5aa4ac={};_0x5aa4ac[_0x304cd1(0x1e6)]=function(_0x9adc3d,_0x113684){return _0x9adc3d+_0x113684;},_0x5aa4ac['HbNFV']=function(_0x1a98d3,_0x579f25){return _0x1a98d3+_0x579f25;};const _0x389f54=_0x5aa4ac;return _0x389f54['rcZTJ'](_0x389f54[_0x304cd1(0x1d5)](TEMP_STORE_DIR_NAME,'-'),process[_0x304cd1(0x1ae)][_0x304cd1(0x198)]);}static[a46_0x523b80(0x1eb)](){const _0x403dbc=a46_0x523b80,_0x1f2715={};_0x1f2715['EHrQy']=function(_0x164571,_0x36b1e0){return _0x164571+_0x36b1e0;},_0x1f2715['dZLms']=function(_0x3c4e6e,_0x1e9d9d){return _0x3c4e6e+_0x1e9d9d;},_0x1f2715['JMZkF']=_0x403dbc(0x1bb);const _0xf4b788=_0x1f2715;return path[_0x403dbc(0x1c9)](_0xf4b788[_0x403dbc(0x1f3)](_0xf4b788[_0x403dbc(0x197)](TEMP_STORE_DIR_NAME,'-'),process[_0x403dbc(0x1ae)]['BS_TESTOPS_BUILD_HASHED_ID']||_0xf4b788[_0x403dbc(0x1ed)]));}static['getTraceZipDir'](){const _0x1d423b=a46_0x523b80,_0x4e1eb4={};_0x4e1eb4[_0x1d423b(0x1ea)]=_0x1d423b(0x1bc);const _0x541444=_0x4e1eb4;return path[_0x1d423b(0x1c9)](this[_0x1d423b(0x1eb)](),_0x541444[_0x1d423b(0x1ea)]);}static[a46_0x523b80(0x1d3)](){return TestDetails['getStoreDirName']();}static[a46_0x523b80(0x1d0)](_0x2ac8de){const _0x4ec2f1=a46_0x523b80,_0x197b81={};_0x197b81['ZDgrL']=function(_0x17cb10,_0x32ae2d){return _0x17cb10+_0x32ae2d;},_0x197b81['kYuHM']=_0x4ec2f1(0x1a5);const _0xc80a88=_0x197b81;return path[_0x4ec2f1(0x1c9)](this[_0x4ec2f1(0x1d3)](),_0xc80a88[_0x4ec2f1(0x194)](_0x2ac8de,_0xc80a88['kYuHM']));}static[a46_0x523b80(0x1e9)](_0x3d0c92){const _0x2ee463=a46_0x523b80,_0x2849c9={};_0x2849c9[_0x2ee463(0x19f)]=function(_0x17a757,_0x394392){return _0x17a757+_0x394392;},_0x2849c9[_0x2ee463(0x1ce)]=function(_0x2792bc,_0x27bc7a){return _0x2792bc+_0x27bc7a;},_0x2849c9[_0x2ee463(0x1a1)]=function(_0x3678bd,_0x3fae35){return _0x3678bd+_0x3fae35;};const _0x175554=_0x2849c9;return _0x175554['mLJCS'](_0x175554[_0x2ee463(0x1ce)](_0x175554[_0x2ee463(0x1ce)](_0x175554[_0x2ee463(0x1a1)](this['getProjectIdFromTestInfo'](_0x3d0c92),'-'),this['getTestIdFromTestInfo'](_0x3d0c92)),'-'),_0x3d0c92[_0x2ee463(0x193)]);}static['getProjectIdFromTestInfo'](_0x584959){const _0x252fcb=a46_0x523b80,_0x37dc1e={'Bgznr':function(_0x4ab89f,_0x2e25a2,_0x3e695d){return _0x4ab89f(_0x2e25a2,_0x3e695d);},'mgeHT':'_test','RhHEJ':_0x252fcb(0x1a9),'boPNo':_0x252fcb(0x1c8),'ioVnH':_0x252fcb(0x1ac)};return _0x37dc1e[_0x252fcb(0x1de)](nestedKeyValue,_0x584959,[_0x37dc1e[_0x252fcb(0x1e0)],_0x37dc1e[_0x252fcb(0x1b9)]])||_0x37dc1e[_0x252fcb(0x1de)](nestedKeyValue,_0x584959,[_0x37dc1e[_0x252fcb(0x1dc)],_0x37dc1e[_0x252fcb(0x19b)]]);}static['getTestIdFromTestInfo'](_0x5671d0){const _0x59c7d6=a46_0x523b80,_0x658814={'GzIDa':function(_0x308efc,_0x563ced,_0x584911){return _0x308efc(_0x563ced,_0x584911);},'TTume':_0x59c7d6(0x1be)};return _0x658814[_0x59c7d6(0x1a7)](nestedKeyValue,_0x5671d0,[_0x658814[_0x59c7d6(0x1d4)],'id'])||_0x5671d0[_0x59c7d6(0x1c4)];}static[a46_0x523b80(0x1c7)](_0x48191a){const _0x114cdc=a46_0x523b80,_0x5e4600={'LdaXp':function(_0x4370bd,_0x3b5e20){return _0x4370bd===_0x3b5e20;},'rtoTb':'string','dOsnV':function(_0xa7b8c1){return _0xa7b8c1();}};if(this[_0x114cdc(0x1b8)][_0x48191a]&&_0x5e4600[_0x114cdc(0x1b0)](typeof this[_0x114cdc(0x1b8)][_0x48191a]['uuid'],_0x5e4600[_0x114cdc(0x1a6)]))return this[_0x114cdc(0x1b8)][_0x48191a][_0x114cdc(0x1ec)];const _0x9810cd=this[_0x114cdc(0x1d0)](_0x48191a);if(_0x9810cd&&fs[_0x114cdc(0x1b1)](_0x9810cd)){const _0x1629b3=JSON[_0x114cdc(0x19a)](fs['readFileSync'](_0x9810cd)[_0x114cdc(0x1e3)]());return this[_0x114cdc(0x1b8)][_0x48191a]=_0x1629b3,this['tests'][_0x48191a][_0x114cdc(0x1ec)];}return this[_0x114cdc(0x1b8)][_0x48191a]={'uuid':_0x5e4600[_0x114cdc(0x1e8)](uuidv4)},fs['writeFileSync'](_0x9810cd,JSON['stringify'](this['tests'][_0x48191a])),this[_0x114cdc(0x1b8)][_0x48191a][_0x114cdc(0x1ec)];}static[a46_0x523b80(0x1e5)](_0x4a3db8){const _0xd23f80=a46_0x523b80,_0x37816a=path['join'](this[_0xd23f80(0x1d3)](),_0x4a3db8+_0xd23f80(0x1f0));if(_0x37816a&&fs[_0xd23f80(0x1b1)](_0x37816a))return fs[_0xd23f80(0x1d7)](_0x37816a)[_0xd23f80(0x1e3)]();}static[a46_0x523b80(0x1d9)](_0x237251,_0x26a898){const _0x3bf092=a46_0x523b80,_0x21bc4b=path[_0x3bf092(0x1c9)](this[_0x3bf092(0x1d3)](),_0x26a898+_0x3bf092(0x1f0));fs[_0x3bf092(0x19c)](_0x21bc4b,_0x237251[_0x3bf092(0x1e3)]());}static[a46_0x523b80(0x1dd)](){const _0x59b633=a46_0x523b80,_0x27ca65={};_0x27ca65[_0x59b633(0x1a2)]=!![],_0x27ca65[_0x59b633(0x196)]=!![],fs[_0x59b633(0x1ab)](this[_0x59b633(0x1d3)](),_0x27ca65);}static[a46_0x523b80(0x1cf)](_0xc351b6){const _0x2d5a90=a46_0x523b80;if(this['tests'][_0xc351b6])return this[_0x2d5a90(0x1b8)][_0xc351b6];const _0x594c71=this[_0x2d5a90(0x1d0)](_0xc351b6);if(_0x594c71&&fs[_0x2d5a90(0x1b1)](_0x594c71)){const _0x4bb2ad=JSON['parse'](fs[_0x2d5a90(0x1d7)](_0x594c71)[_0x2d5a90(0x1e3)]());return this['tests'][_0xc351b6]=_0x4bb2ad,_0x4bb2ad;}return{};}static[a46_0x523b80(0x1b2)](_0x150d26,_0x1e6420){const _0xafb3bd=a46_0x523b80,_0x154370=this[_0xafb3bd(0x1d0)](_0x150d26);if(_0x154370&&fs[_0xafb3bd(0x1b1)](_0x154370)){const _0x91b5da=JSON[_0xafb3bd(0x19a)](fs[_0xafb3bd(0x1d7)](_0x154370)[_0xafb3bd(0x1e3)]()),_0x3c96da={..._0x91b5da,..._0x1e6420};this[_0xafb3bd(0x1b8)][_0x150d26]=_0x3c96da;}else this[_0xafb3bd(0x1b8)][_0x150d26]=_0x1e6420;fs[_0xafb3bd(0x19c)](_0x154370,this[_0xafb3bd(0x1b8)][_0x150d26]);}static[a46_0x523b80(0x1b4)](_0x9f1bb5){const _0x3b93cc=a46_0x523b80,_0x3d5674={};_0x3d5674[_0x3b93cc(0x1d2)]=_0x3b93cc(0x19e);const _0x581a8e=_0x3d5674;try{const _0x19783f=process[_0x3b93cc(0x1c6)],_0x49ab82=path[_0x3b93cc(0x1c9)](TestDetails['getTraceZipDir'](),_0x19783f+'_traceZipPaths.json');let _0x4ef746=[];_0x49ab82&&fs[_0x3b93cc(0x1b1)](_0x49ab82)&&(_0x4ef746=JSON[_0x3b93cc(0x19a)](fs[_0x3b93cc(0x1d7)](_0x49ab82)[_0x3b93cc(0x1e3)]())),!_0x4ef746['some'](_0x3631ad=>_0x3631ad[_0x3b93cc(0x1d6)]===_0x9f1bb5[_0x3b93cc(0x1d6)])&&(_0x4ef746[_0x3b93cc(0x1e2)](_0x9f1bb5),fs['writeFileSync'](_0x49ab82,JSON['stringify'](_0x4ef746)));}catch(_0x573143){logger[_0x3b93cc(0x1c1)](_0x581a8e[_0x3b93cc(0x1d2)],_0x573143);}}static[a46_0x523b80(0x1c3)](){const _0x1dde9f=a46_0x523b80,_0x38f831={};_0x38f831[_0x1dde9f(0x1d8)]='_traceZipPaths.json',_0x38f831[_0x1dde9f(0x1e4)]=_0x1dde9f(0x1db);const _0x1c51b3=_0x38f831,_0x5bb5cf=[];try{const _0x1da47e=TestDetails[_0x1dde9f(0x1cc)]();if(_0x1da47e&&!fs[_0x1dde9f(0x1b1)](_0x1da47e))return _0x5bb5cf;const _0x15c8f1=fs[_0x1dde9f(0x1c2)](_0x1da47e);_0x15c8f1[_0x1dde9f(0x1b6)](_0x2f215d=>{const _0x5705fb=_0x1dde9f;if(_0x2f215d&&_0x2f215d[_0x5705fb(0x1b3)](_0x1c51b3[_0x5705fb(0x1d8)])){const _0x325921=JSON['parse'](fs['readFileSync'](path[_0x5705fb(0x1c9)](_0x1da47e,_0x2f215d))[_0x5705fb(0x1e3)]());_0x5bb5cf['push'](..._0x325921);}});}catch(_0x2717e1){logger[_0x1dde9f(0x1c1)](util['format'](_0x1c51b3[_0x1dde9f(0x1e4)],_0x2717e1));}const _0x522c0b={};return _0x5bb5cf['forEach'](_0x57ecc8=>{const _0x5cab5b=_0x1dde9f;_0x522c0b[_0x57ecc8[_0x5cab5b(0x1d6)]]=_0x57ecc8;}),Object['values'](_0x522c0b);}static[a46_0x523b80(0x19d)](_0x24c6f6,_0x53905a){const _0x39c218=a46_0x523b80,_0x5ed54f={};_0x5ed54f[_0x39c218(0x1a8)]=_0x39c218(0x1ba),_0x5ed54f[_0x39c218(0x195)]=_0x39c218(0x1ef);const _0xafd15f=_0x5ed54f;try{const _0x53545b=path[_0x39c218(0x1c9)](helper[_0x39c218(0x1a4)](),_0xafd15f[_0x39c218(0x1a8)]);if(!fs[_0x39c218(0x1b1)](_0x53545b)){const _0x478119={};_0x478119['recursive']=!![],fs['mkdirSync'](_0x53545b,_0x478119);}fs[_0x39c218(0x1ad)](path['join'](_0x53545b,'trace_'+_0x53905a+_0x39c218(0x1d1)),_0x24c6f6+'\x0a',_0xafd15f[_0x39c218(0x195)]);}catch(_0x3b708e){console[_0x39c218(0x1c1)](_0x39c218(0x199)+_0x3b708e[_0x39c218(0x1cd)]);}}}function a46_0x16da(_0x2affd4,_0x14f3b6){const _0xf02c98=a46_0xf02c();return a46_0x16da=function(_0x16da3b,_0x27f63e){_0x16da3b=_0x16da3b-0x193;let _0x1c2b86=_0xf02c98[_0x16da3b];return _0x1c2b86;},a46_0x16da(_0x2affd4,_0x14f3b6);}module[a46_0x523b80(0x1bd)]=TestDetails;function a46_0xf02c(){const _0x2e6190=['4508VSqMJk','homedir','.json','rtoTb','GzIDa','grUyr','_projectId','4946778HsgtFR','rmSync','__projectId','appendFileSync','env','path','LdaXp','existsSync','setTestDetails','endsWith','addTraceFilePath','getStoreDirName','forEach','258203WoSkUy','tests','RhHEJ','.browserstack','default','traceZipPaths','exports','_test','../../../helpers/helper','8lBmvsZ','error','readdirSync','getTraceFilePaths','testId','1591030tfurzQ','pid','getTestUUID','project','join','2016eUGWoc','1242pubAFB','getTraceZipDir','message','feMyF','getTestDetails','getFilePath','.txt','kYZYg','getDirPath','TTume','HbNFV','filePath','readFileSync','ZvCLF','setAccessibilityPlatformValidation','25861JoTOef','Error\x20reading\x20trace\x20file\x20paths:\x20%s','boPNo','shutdown','Bgznr','3213580gOvCAF','mgeHT','mkdirSync','push','toString','DUhCk','getAccessibilityPlatformValidation','rcZTJ','../../../helpers/logger','dOsnV','getTestRunIdFromTestInfo','tIsUU','getStoreDirPath','uuid','JMZkF','1257eBJArV','utf8','_platformDetails.json','1190bdvRWp','setup','EHrQy','retry','ZDgrL','rsvMK','force','dZLms','BS_TESTOPS_BUILD_HASHED_ID','Error\x20writing\x20trace\x20file:\x20','parse','ioVnH','writeFileSync','appendToTracePaths','Error\x20handling\x20trace\x20file\x20paths:\x20','mLJCS','util','TCxwe','recursive'];a46_0xf02c=function(){return _0x2e6190;};return a46_0xf02c();}
@@ -1 +1 @@
1
- const a47_0x1cfb4a=a47_0x16a2;function a47_0x4815(){const _0x415d24=['Page','XLXgm','EOdgo','chrome','Page\x20Scan\x20result=','server','100352irIDfo','JZWte','params','_defaultConnectOptions','Not\x20able\x20to\x20import\x20Connection','parse','vqmIO','../../helpers/accessibility-automation/helper','platform','2zkiXCX','oUfei','CzteX','wvUcu','VkjYk','browser_version','turboscale','YxxDy','4450041sZpaRr','lvJKe','platformName','aMAWU','Device\x20Model\x20is\x20not\x20available','66115Zkkymv','PLAYWRIGHT_DISPATCH','browserName','OkSFu','test','unknown_grid','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','accessibilityPlatform','isRemote','BSTACK_ATS_URL','AyoHH','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','ClGam','BYaYO','FeXgT','bsParams','bstackPerformA11yScan','Wbnzt','WcUjO','PldDX','Connection','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','dtenM','DdHuq','isRunning','sessionId','currentTest','8RzQKyR','256718DZRsMU','VmqHg','qaZYz','zFRqG','wKlPH','join','trmoN','_browserType','../v2/state/hookState.js','WBTSY','crConnection.js','safari','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','reportSessionLinkingIssue','Driver\x20Scan\x20result=','getDetails','aLYiN','client','Not\x20able\x20to\x20import\x20crConnection','PDrPj','nSsOa','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','aYFwo','70nZNBBN','POST','_onMessage','aZeCC','_name','QnloL','JROEB','lib','toString','setupBrowserDetails','KHbCC','automate','QgimB','toLowerCase','../v2/browserstackCLI','../../bin/playwright/accessibility-helper','bwLXe','GXjFy','url','BSTACK_URL','wsEndpoint','247008MAxSvk','patchCRConnection','browserstack','awpZj','includes','dispatch','bsSessionId','lJIHi','channel','entries','BlOLM','patchConnection','use','info','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','JwJjT','NWLBJ','__driver','getInstance','../../helpers/test-observability/error-handler','759870LTarBk','8TPrcVq','1116615rlEOym','LQtbq','assign','shouldWrapCommand','model','cloudProvider','_type','platformVersion','../utils/constants','Error\x20in\x20importing\x20connection\x20','jqHCi','winstonLogger','yOFuS','../v2/state/automationFrameworkState.js','Dqbmx','UezmL','testInfo','hQbUw','dPXWR','../../helpers/test-observability/utils','patch','platform_version','COSpp','titlePath','browser','bStackParams','ptfoD','performScan','KXpUX','capabilities','prototype','ZFNzn','getAutomationFramework','format','sessionError','query','debug','firefox','Hyfze','ftIuu','__workerDetails','../../helpers/helper','KixsZ','apply','OhwGK','bNylL','Error\x20in\x20finding\x20platform\x20details\x20','version','Setting\x20session\x20id\x20received\x20from\x20BS\x20','JUHkv','currentSessionDetails','pwPage','./accessibility-helper','MangR','platformDetails','Error\x20in\x20importing\x20crConnection','message','BROWSERSTACK_TEST_OBSERVABILITY','product','../utils/clientTroubleshootingService.js','tveQd','_connection','zkmCH','defineProperty','env','project','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Failed\x20to\x20perform\x20scan\x20'];a47_0x4815=function(){return _0x415d24;};return a47_0x4815();}(function(_0x18c6e3,_0x19dcb4){const _0x7f3784=a47_0x16a2,_0x356994=_0x18c6e3();while(!![]){try{const _0x43cb48=-parseInt(_0x7f3784(0x7c))/0x1+parseInt(_0x7f3784(0x85))/0x2*(parseInt(_0x7f3784(0xf0))/0x3)+-parseInt(_0x7f3784(0xad))/0x4*(-parseInt(_0x7f3784(0xee))/0x5)+parseInt(_0x7f3784(0xda))/0x6+parseInt(_0x7f3784(0x92))/0x7+-parseInt(_0x7f3784(0xef))/0x8*(parseInt(_0x7f3784(0x8d))/0x9)+-parseInt(_0x7f3784(0xc5))/0xa*(-parseInt(_0x7f3784(0xae))/0xb);if(_0x43cb48===_0x19dcb4)break;else _0x356994['push'](_0x356994['shift']());}catch(_0x429cd8){_0x356994['push'](_0x356994['shift']());}}}(a47_0x4815,0x481a3));const path=require('path'),url=require(a47_0x1cfb4a(0xd7)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x1cfb4a(0x119)),{o11yErrorHandler}=require(a47_0x1cfb4a(0xed)),{debug,getPlatformDetails}=require(a47_0x1cfb4a(0x103)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x1cfb4a(0x83)),logger=require('../../helpers/logger')[a47_0x1cfb4a(0xfb)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a47_0x1cfb4a(0xd4)),AccessibilityHelper=require(a47_0x1cfb4a(0x124)),constants=require(a47_0x1cfb4a(0xf8)),BrowserstackCLI=require(a47_0x1cfb4a(0xd3)),AutomationFrameworkState=require(a47_0x1cfb4a(0xfd)),HookState=require(a47_0x1cfb4a(0xb6)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a47_0x1cfb4a(0x12b)),getBrowserNameFromChannel=_0x4e8afe=>{const _0x134b21=a47_0x1cfb4a,_0x18bb59={};_0x18bb59[_0x134b21(0x11d)]='chrome',_0x18bb59[_0x134b21(0xe9)]='edge',_0x18bb59['aLYiN']=_0x134b21(0x115),_0x18bb59['aZeCC']=_0x134b21(0xb9);const _0x244d8f=_0x18bb59;if(_0x4e8afe['includes'](_0x244d8f[_0x134b21(0x11d)]))return _0x244d8f['bNylL'];if(_0x4e8afe[_0x134b21(0xde)](_0x244d8f[_0x134b21(0xe9)]))return _0x244d8f[_0x134b21(0xe9)];if(_0x4e8afe[_0x134b21(0xde)](_0x244d8f[_0x134b21(0xbe)]))return _0x244d8f[_0x134b21(0xbe)];if(_0x4e8afe['includes'](_0x244d8f[_0x134b21(0xc8)]))return _0x244d8f[_0x134b21(0xc8)];},getBrowserFromWSEndpoint=_0x3b6679=>{const _0x4bebd5=a47_0x1cfb4a,_0x4f6db9={'QnloL':_0x4bebd5(0x79),'WBTSY':function(_0x124f62,_0x453fde){return _0x124f62(_0x453fde);}};try{const _0x545dce=url[_0x4bebd5(0x81)](_0x3b6679),_0x266756=new URLSearchParams(_0x545dce[_0x4bebd5(0x113)]),_0x467fe1=Object['fromEntries'](_0x266756[_0x4bebd5(0xe3)]()),_0x14f966=JSON[_0x4bebd5(0x81)](_0x467fe1['caps']);if(_0x14f966&&(_0x14f966[_0x4bebd5(0x108)]||_0x14f966[_0x4bebd5(0x94)]))return _0x14f966[_0x4bebd5(0x108)]||_0x14f966['browserName'];return _0x4f6db9[_0x4bebd5(0xca)];}catch(_0x57156c){_0x4f6db9[_0x4bebd5(0xb7)](debug,_0x4bebd5(0xba)+_0x57156c['toString']());}},getCloudProviderFromWsEndpoint=_0x4eb890=>{const _0x3aab27=a47_0x1cfb4a,_0x22f74d={};_0x22f74d['KXpUX']='browserstack',_0x22f74d['wUpbH']=_0x3aab27(0x97);const _0x40626d=_0x22f74d;if(_0x4eb890[_0x3aab27(0xde)](constants[_0x3aab27(0xd8)])||_0x4eb890[_0x3aab27(0xde)](constants[_0x3aab27(0x9b)]))return _0x40626d[_0x3aab27(0x10c)];return _0x40626d['wUpbH'];},a47_0x17cde5={};a47_0x17cde5[a47_0x1cfb4a(0xf5)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0xe0)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x108)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x8a)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x84)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x105)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x12a)]=undefined,a47_0x17cde5[a47_0x1cfb4a(0x10d)]={};class PlaywrightSessionDetails{static [a47_0x1cfb4a(0x122)]=a47_0x17cde5;constructor(){const _0x56b5fc=a47_0x1cfb4a,_0x2e3e1e={};_0x2e3e1e[_0x56b5fc(0x106)]=_0x56b5fc(0xe8);const _0x424a2a=_0x2e3e1e;throw new Error(_0x424a2a[_0x56b5fc(0x106)]);}static [a47_0x1cfb4a(0x112)]=null;static['setupBrowserDetails'](_0x3c70b2,_0x3238e1,_0x3e244d=null){const _0x3ac7ae=a47_0x1cfb4a,_0x2239b2={'ClGam':function(_0xe3289b,_0x5c37f7){return _0xe3289b===_0x5c37f7;},'JUHkv':'function','boQUE':_0x3ac7ae(0x98),'vqmIO':function(_0x1cb9f5,_0xd42619){return _0x1cb9f5===_0xd42619;},'fjwJD':_0x3ac7ae(0x91),'EOdgo':'local_grid','BlOLM':function(_0x57fc5d,_0x32b851,_0x5ddf21){return _0x57fc5d(_0x32b851,_0x5ddf21);},'QgimB':_0x3ac7ae(0xb5),'JZWte':_0x3ac7ae(0x7f),'zFRqG':_0x3ac7ae(0x73),'DdHuq':'use','qaZYz':'connectOptions','Wbnzt':function(_0x5bf1ba,_0x466f25){return _0x5bf1ba(_0x466f25);},'aYFwo':_0x3ac7ae(0xdc),'lJIHi':_0x3ac7ae(0x8b),'ZeepL':_0x3ac7ae(0xd0),'thMGX':function(_0x5da1a4,_0x441694){return _0x5da1a4(_0x441694);},'MuuZC':function(_0x5dd58e,_0x4db52b){return _0x5dd58e(_0x4db52b);},'nSsOa':function(_0x589cf7,_0x5f200e){return _0x589cf7+_0x5f200e;},'McEyF':'playwright-','wvUcu':function(_0x17ba6c){return _0x17ba6c();},'BgmMz':function(_0x262e77,_0x5a64ee,_0x4ecbf9){return _0x262e77(_0x5a64ee,_0x4ecbf9);},'BYaYO':_0x3ac7ae(0xce)},_0x3e27cd=this;return _0x2239b2['BgmMz'](o11yErrorHandler,async function _0x41bcce(_0x34f960,_0x347b25,_0x3b7a72=null){const _0x498bf9=_0x3ac7ae;let _0x1727cb=_0x34f960[_0x498bf9(0xc9)],_0x2c8dc7=null;_0x34f960&&_0x2239b2[_0x498bf9(0x9e)](typeof _0x34f960[_0x498bf9(0x11f)],_0x2239b2[_0x498bf9(0x121)])?_0x2c8dc7=_0x34f960['version']():logger[_0x498bf9(0x114)](_0x2239b2['boQUE']);let _0x501932=null;_0x34f960&&_0x2239b2[_0x498bf9(0x82)](typeof _0x34f960[_0x498bf9(0xf4)],_0x2239b2[_0x498bf9(0x121)])?_0x501932=_0x34f960[_0x498bf9(0xf4)]():logger[_0x498bf9(0x114)](_0x2239b2['fjwJD']);let _0x3ced75=null,_0x238b21=null,_0x18747e=null,_0xb605ce=_0x2239b2[_0x498bf9(0x78)];if(_0x34f960[_0x498bf9(0x12d)][_0x498bf9(0x9a)]()||global[_0x498bf9(0x99)]){let _0x433dac=null;_0x2239b2[_0x498bf9(0xe4)](nestedKeyValue,_0x34f960,[_0x2239b2[_0x498bf9(0xd1)],_0x2239b2[_0x498bf9(0x7d)]])?_0x433dac=_0x34f960['_browserType'][_0x498bf9(0x7f)]:_0x433dac=_0x2239b2[_0x498bf9(0xe4)](nestedKeyValue,_0x347b25,[_0x2239b2[_0x498bf9(0xb1)],_0x2239b2[_0x498bf9(0xa9)],_0x2239b2[_0x498bf9(0xb0)]]);const _0x110cc5=_0x3b7a72||_0x433dac&&_0x433dac[_0x498bf9(0xd9)];_0x110cc5&&(_0xb605ce=_0x2239b2[_0x498bf9(0xa3)](getCloudProviderFromWsEndpoint,_0x110cc5),_0x2239b2[_0x498bf9(0x82)](_0xb605ce,_0x2239b2[_0x498bf9(0xc4)])&&(_0x18747e=constants['ATS_WSS_URL_REGEX'][_0x498bf9(0x96)](_0x110cc5)?_0x2239b2[_0x498bf9(0xe1)]:_0x2239b2['ZeepL'],_0x1727cb=_0x2239b2['thMGX'](getBrowserFromWSEndpoint,_0x110cc5)||_0x1727cb,_0x3ced75=_0x3e27cd[_0x498bf9(0x122)][_0x498bf9(0x84)],_0x238b21=_0x3e27cd['currentSessionDetails'][_0x498bf9(0x105)]));}else{_0x347b25&&_0x347b25[_0x498bf9(0x73)][_0x498bf9(0xe6)]['channel']?_0x1727cb=_0x2239b2['MuuZC'](getBrowserNameFromChannel,_0x347b25[_0x498bf9(0x73)][_0x498bf9(0xe6)][_0x498bf9(0xe2)]):_0x1727cb=_0x2239b2[_0x498bf9(0xc2)](_0x2239b2['McEyF'],_0x1727cb[_0x498bf9(0xd2)]());const _0x23f511=await _0x2239b2[_0x498bf9(0x88)](getPlatformDetails);_0x3ced75=_0x23f511['platformName'],_0x238b21=_0x23f511['platformVersion'];}const _0x31b6d1={};_0x31b6d1[_0x498bf9(0x108)]=_0x1727cb,_0x31b6d1[_0x498bf9(0x8a)]=_0x2c8dc7,_0x31b6d1[_0x498bf9(0x10d)]={},_0x31b6d1[_0x498bf9(0x84)]=_0x3ced75,_0x31b6d1[_0x498bf9(0x105)]=_0x238b21,_0x31b6d1['product']=_0x18747e;const _0x1caed5=_0x31b6d1;_0x501932&&(_0x1caed5[_0x498bf9(0x10d)]['deviceModel']=_0x501932);const _0x45844f={};_0x45844f[_0x498bf9(0xf5)]=_0xb605ce,_0x3e27cd[_0x498bf9(0x122)]=Object[_0x498bf9(0xf2)]({},_0x3e27cd[_0x498bf9(0x122)],_0x45844f,_0x1caed5);},_0x2239b2[_0x3ac7ae(0x9f)])(_0x3c70b2,_0x3238e1,_0x3e244d);}static[a47_0x1cfb4a(0x104)](){const _0x19bcd0=a47_0x1cfb4a;this['patchConnection'](),this[_0x19bcd0(0xdb)]();}static[a47_0x1cfb4a(0xe5)](){const _0x1cdaf3=a47_0x1cfb4a,_0x3788d7={'IyBYQ':function(_0x1ff226,_0x271398,_0x3b132e){return _0x1ff226(_0x271398,_0x3b132e);},'pYWDF':_0x1cdaf3(0xac),'KixsZ':_0x1cdaf3(0x100),'AyoHH':_0x1cdaf3(0x107),'oUfei':function(_0x45ff35,_0x529bb8,_0x2fa97a){return _0x45ff35(_0x529bb8,_0x2fa97a);},'VXMib':_0x1cdaf3(0x118),'PldDX':_0x1cdaf3(0x123),'yOFuS':function(_0x4abe78,_0x1aafad){return _0x4abe78===_0x1aafad;},'djnjf':_0x1cdaf3(0x76),'JROEB':function(_0x39884a,_0x400cd0,_0x2563c3,_0x2009af){return _0x39884a(_0x400cd0,_0x2563c3,_0x2009af);},'dtenM':function(_0x11c9a,_0x24bdef){return _0x11c9a||_0x24bdef;},'wKlPH':function(_0x213541,_0x5afc69){return _0x213541(_0x5afc69);},'CzteX':function(_0x1c1149,_0x5ba8ce){return _0x1c1149(_0x5ba8ce);},'FeXgT':_0x1cdaf3(0xcc),'tveQd':_0x1cdaf3(0xbf),'Dqbmx':'connection.js','UJKjA':function(_0x290750,_0x1f2cc4){return _0x290750(_0x1f2cc4);},'zkmCH':function(_0x47894c,_0x503bb2){return _0x47894c(_0x503bb2);},'aMAWU':_0x1cdaf3(0x80),'Hyfze':function(_0x5bcd38,_0x2ffba2){return _0x5bcd38!=_0x2ffba2;},'UezmL':function(_0x2a015a){return _0x2a015a();},'WcUjO':'sendMessageToServer','VkjYk':function(_0x1de271,_0x3ed442){return _0x1de271(_0x3ed442);},'awpZj':_0x1cdaf3(0xdf),'NWLBJ':function(_0x2d0f6e,_0x29c733){return _0x2d0f6e(_0x29c733);}},_0x11778a=this;if(!this[_0x1cdaf3(0xa6)])try{const _0x34e5c6=path['join'](_0x3788d7[_0x1cdaf3(0xa0)],_0x3788d7[_0x1cdaf3(0x12c)],_0x3788d7[_0x1cdaf3(0xfe)]),_0x358dfc=_0x3788d7['UJKjA'](importFileFromPWCore,_0x34e5c6);!_0x358dfc?_0x3788d7[_0x1cdaf3(0x12e)](debug,_0x3788d7[_0x1cdaf3(0x90)]):this[_0x1cdaf3(0xa6)]=_0x358dfc[_0x1cdaf3(0xa6)];}catch(_0x1d53d1){_0x3788d7[_0x1cdaf3(0x87)](debug,_0x1cdaf3(0xf9)+_0x1d53d1[_0x1cdaf3(0xcd)]());}const _0x30598a=this[_0x1cdaf3(0xa6)];try{if(_0x3788d7[_0x1cdaf3(0x116)](_0x30598a,null)){const _0x657617=_0x30598a[_0x1cdaf3(0x10e)]['dispatch'],_0x36d15e=_0x30598a['prototype']['sendMessageToServer'];_0x3788d7[_0x1cdaf3(0xff)](isAccessibilityAutomationSession)&&Object[_0x1cdaf3(0x71)](_0x30598a[_0x1cdaf3(0x10e)],_0x3788d7[_0x1cdaf3(0xa4)],{'get':function(){const _0x237d38=_0x1cdaf3,_0x50c669={'VmqHg':function(_0xafb735,_0x3adfbf,_0x33bd05){return _0x3788d7['IyBYQ'](_0xafb735,_0x3adfbf,_0x33bd05);},'LGpPp':_0x3788d7['pYWDF'],'dPXWR':_0x3788d7[_0x237d38(0x11a)],'MangR':_0x3788d7[_0x237d38(0x9c)],'trmoN':function(_0xfc6567,_0x477220,_0x3178df){const _0x51d8ca=_0x237d38;return _0x3788d7[_0x51d8ca(0x86)](_0xfc6567,_0x477220,_0x3178df);},'OhwGK':_0x3788d7['VXMib'],'PDrPj':_0x3788d7[_0x237d38(0xa5)],'ptfoD':function(_0x2744cd,_0x2b7d16){const _0x50851e=_0x237d38;return _0x3788d7[_0x50851e(0xfc)](_0x2744cd,_0x2b7d16);},'XLXgm':_0x3788d7['djnjf'],'ZdnEx':function(_0xeeeb47,_0x3aa442,_0x5ba231,_0x2ab273){const _0x527605=_0x237d38;return _0x3788d7[_0x527605(0xcb)](_0xeeeb47,_0x3aa442,_0x5ba231,_0x2ab273);}};return async function(){const _0x158d04=_0x237d38;try{if(!global['bstackPerformA11yScan']&&global[_0x158d04(0x99)]&&_0x50c669['VmqHg'](nestedKeyValue,global['__workerDetails'],[_0x50c669['LGpPp'],_0x50c669[_0x158d04(0x102)],_0x50c669[_0x158d04(0x125)]])&&_0x50c669['trmoN'](shouldScanTestForAccessibility,global[_0x158d04(0x118)][_0x158d04(0xac)][_0x158d04(0x100)]['titlePath'],!![])&&scripts[_0x158d04(0xf3)](arguments[0x1])){logger[_0x158d04(0x114)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x158d04(0xa2)]=!![];const _0x389795=_0x50c669[_0x158d04(0xaf)](nestedKeyValue,global,[_0x50c669[_0x158d04(0x11c)],_0x50c669[_0x158d04(0xc1)]]);_0x389795&&logger[_0x158d04(0xe7)](_0x158d04(0x7a)+util[_0x158d04(0x111)](await _0x50c669[_0x158d04(0xb4)](performScanWithRetry,_0x389795,arguments[0x1]))),_0x50c669[_0x158d04(0x10a)](arguments[0x0][_0x158d04(0xf6)],_0x50c669[_0x158d04(0x77)])&&global[_0x158d04(0xeb)]&&logger['info'](_0x158d04(0xbc)+util[_0x158d04(0x111)](await _0x50c669['ZdnEx'](performScanWithRetry,global[_0x158d04(0xeb)],arguments[0x1],scripts[_0x158d04(0x10b)])));}}catch(_0x249672){logger[_0x158d04(0x114)](_0x158d04(0x75)+util[_0x158d04(0x111)](_0x249672));}return global['bstackPerformA11yScan']=![],_0x36d15e[_0x158d04(0x11b)](this,arguments);};}}),!_0x3788d7[_0x1cdaf3(0x89)](isFalse,process[_0x1cdaf3(0x72)][_0x1cdaf3(0x129)])&&Object[_0x1cdaf3(0x71)](_0x30598a[_0x1cdaf3(0x10e)],_0x3788d7[_0x1cdaf3(0xdd)],{'get':function(){return async function _0x5b8e34(_0x2c6e2a){const _0x543771=a47_0x16a2;if(BrowserstackCLI['getInstance']()[_0x543771(0xaa)]()){const _0xa94de8={};_0xa94de8[_0x543771(0x128)]=_0x2c6e2a,await BrowserstackCLI[_0x543771(0xec)]()[_0x543771(0x110)]()['trackEvent'](AutomationFrameworkState[_0x543771(0x93)],HookState[_0x543771(0xc6)],_0xa94de8);}else{const _0x34af7c=_0x2c6e2a&&_0x2c6e2a['params']&&_0x2c6e2a[_0x543771(0x7e)][_0x543771(0xa1)];if(_0x34af7c){const _0x1d8352=_0x34af7c[_0x543771(0xab)],_0x1ba9ac=_0x34af7c['platformDetails'];_0x3788d7[_0x543771(0xa8)](!_0x1d8352,!_0x1ba9ac)&&await ClientTroubleShootingService[_0x543771(0xbb)](),_0x1ba9ac&&(_0x3788d7[_0x543771(0xb2)](debug,_0x543771(0xa7)+_0x1ba9ac['toString']()),_0x11778a['currentSessionDetails']['platform']=_0x1ba9ac['platformName'],_0x11778a[_0x543771(0x122)][_0x543771(0x105)]=_0x1ba9ac[_0x543771(0xf7)]),_0x1d8352&&(_0x3788d7['CzteX'](debug,_0x543771(0x120)+_0x1d8352),_0x11778a[_0x543771(0x122)]['bsSessionId']=_0x1d8352);}}return _0x657617[_0x543771(0x11b)](this,arguments);};}});}}catch(_0x264362){_0x3788d7[_0x1cdaf3(0xea)](debug,_0x1cdaf3(0x9d)+_0x264362),_0x11778a[_0x1cdaf3(0x112)]=_0x264362[_0x1cdaf3(0xcd)]();}}static[a47_0x1cfb4a(0xdb)](){const _0x6924e3=a47_0x1cfb4a,_0x3fa82e={'ZFNzn':function(_0x3a2808,_0x1bcff0){return _0x3a2808(_0x1bcff0);},'jqHCi':function(_0x2932bf,_0x47550c){return _0x2932bf(_0x47550c);},'rIBUh':function(_0x216a18){return _0x216a18();},'YxxDy':_0x6924e3(0xcc),'GXjFy':_0x6924e3(0x7b),'OkSFu':'chromium','bYPhg':_0x6924e3(0xb8),'LQtbq':function(_0x5e7e24,_0x4f1a6e){return _0x5e7e24(_0x4f1a6e);},'bwLXe':function(_0x4be0a6,_0x3ebd69){return _0x4be0a6(_0x3ebd69);},'hQbUw':_0x6924e3(0xc0),'ftIuu':function(_0x28f0d2,_0x54a3be){return _0x28f0d2(_0x54a3be);},'qQwMf':_0x6924e3(0x127),'KHbCC':function(_0x37e595,_0x377808){return _0x37e595!=_0x377808;},'lvJKe':_0x6924e3(0xc7)},_0x12f32d=this;if(_0x3fa82e['rIBUh'](isAccessibilityAutomationSession)){let _0x34137d=null;try{const _0x65b397=path[_0x6924e3(0xb3)](_0x3fa82e[_0x6924e3(0x8c)],_0x3fa82e[_0x6924e3(0xd6)],_0x3fa82e[_0x6924e3(0x95)],_0x3fa82e['bYPhg']),_0x5e179b=_0x3fa82e[_0x6924e3(0xf1)](importFileFromPWCore,_0x65b397);!_0x5e179b?_0x3fa82e[_0x6924e3(0xd5)](debug,_0x3fa82e[_0x6924e3(0x101)]):_0x34137d=_0x5e179b['CRConnection'];}catch(_0x350937){_0x3fa82e[_0x6924e3(0x117)](debug,_0x3fa82e['qQwMf']);}try{if(_0x3fa82e[_0x6924e3(0xcf)](_0x34137d,null)){const _0x5536d5=_0x34137d[_0x6924e3(0x10e)][_0x6924e3(0xc7)];Object[_0x6924e3(0x71)](_0x34137d[_0x6924e3(0x10e)],_0x3fa82e[_0x6924e3(0x8e)],{'get':function(){return async function _0x2349fa(_0x1a7a28){const _0x57c532=a47_0x16a2;try{if(BrowserstackCLI[_0x57c532(0xec)]()['isRunning']()){const _0x158737={};_0x158737[_0x57c532(0x128)]=_0x1a7a28,await BrowserstackCLI[_0x57c532(0xec)]()[_0x57c532(0x110)]()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x57c532(0xc6)],_0x158737),delete _0x1a7a28[_0x57c532(0x109)];}else{const _0x491788=_0x1a7a28[_0x57c532(0x109)];if(_0x491788){delete _0x1a7a28[_0x57c532(0x109)];const _0x802ff9=_0x491788[_0x57c532(0xab)],_0x73b09=_0x491788[_0x57c532(0x126)];_0x73b09&&(_0x3fa82e['ZFNzn'](debug,_0x57c532(0xc3)+_0x73b09['toString']()),_0x12f32d[_0x57c532(0x122)][_0x57c532(0x84)]=_0x73b09[_0x57c532(0x8f)],_0x12f32d[_0x57c532(0x122)][_0x57c532(0x105)]=_0x73b09['platformVersion']),_0x802ff9&&(_0x3fa82e[_0x57c532(0x10f)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x802ff9),_0x12f32d['currentSessionDetails'][_0x57c532(0xe0)]=_0x802ff9);}}}catch(_0x2d4105){_0x3fa82e[_0x57c532(0xfa)](debug,_0x57c532(0x11e)+_0x2d4105[_0x57c532(0xcd)]());}return _0x5536d5[_0x57c532(0x11b)](this,arguments);};}});}}catch(_0x273043){_0x3fa82e[_0x6924e3(0xfa)](debug,_0x6924e3(0x74)+_0x273043),_0x12f32d[_0x6924e3(0x112)]=_0x273043[_0x6924e3(0xcd)]();}}}static[a47_0x1cfb4a(0xbd)](){return this['currentSessionDetails'];}}function a47_0x16a2(_0x302328,_0x35c1f6){const _0x48158d=a47_0x4815();return a47_0x16a2=function(_0x16a296,_0xe77ddf){_0x16a296=_0x16a296-0x71;let _0x1075c7=_0x48158d[_0x16a296];return _0x1075c7;},a47_0x16a2(_0x302328,_0x35c1f6);}module['exports']=PlaywrightSessionDetails;
1
+ const a47_0x4afe7f=a47_0x52b2;(function(_0x23c146,_0x4aa584){const _0x1d8aaa=a47_0x52b2,_0x513b78=_0x23c146();while(!![]){try{const _0x1273ed=parseInt(_0x1d8aaa(0xfa))/0x1*(parseInt(_0x1d8aaa(0x11e))/0x2)+-parseInt(_0x1d8aaa(0xd8))/0x3*(parseInt(_0x1d8aaa(0xf2))/0x4)+parseInt(_0x1d8aaa(0xcc))/0x5*(parseInt(_0x1d8aaa(0xc9))/0x6)+parseInt(_0x1d8aaa(0xf5))/0x7*(-parseInt(_0x1d8aaa(0x11f))/0x8)+-parseInt(_0x1d8aaa(0x154))/0x9*(parseInt(_0x1d8aaa(0xc5))/0xa)+parseInt(_0x1d8aaa(0x141))/0xb*(-parseInt(_0x1d8aaa(0xf8))/0xc)+parseInt(_0x1d8aaa(0xce))/0xd;if(_0x1273ed===_0x4aa584)break;else _0x513b78['push'](_0x513b78['shift']());}catch(_0x5c72ff){_0x513b78['push'](_0x513b78['shift']());}}}(a47_0x1f3e,0x73540));const path=require(a47_0x4afe7f(0x15c)),url=require('url'),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x4afe7f(0x116)),{o11yErrorHandler}=require(a47_0x4afe7f(0xb6)),{debug,getPlatformDetails}=require(a47_0x4afe7f(0x161)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x4afe7f(0xd2)),logger=require(a47_0x4afe7f(0xd6))[a47_0x4afe7f(0x125)],scripts=require(a47_0x4afe7f(0x16c)),{browserStackExecuteDriver}=require(a47_0x4afe7f(0x13c)),AccessibilityHelper=require(a47_0x4afe7f(0xdd)),constants=require(a47_0x4afe7f(0x111)),BrowserstackCLI=require(a47_0x4afe7f(0x150)),AutomationFrameworkState=require(a47_0x4afe7f(0x106)),HookState=require(a47_0x4afe7f(0x110)),{performScanWithRetry}=require(a47_0x4afe7f(0x14b)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x32b5a3=>{const _0x34e511=a47_0x4afe7f,_0x5366eb={};_0x5366eb['PDkkO']='chrome',_0x5366eb[_0x34e511(0xd4)]=_0x34e511(0xfd),_0x5366eb[_0x34e511(0x159)]=_0x34e511(0x11d),_0x5366eb[_0x34e511(0x12e)]='safari';const _0x4f93be=_0x5366eb;if(_0x32b5a3['includes'](_0x4f93be['PDkkO']))return _0x4f93be[_0x34e511(0xf0)];if(_0x32b5a3[_0x34e511(0xe2)](_0x4f93be['mWjDO']))return _0x4f93be[_0x34e511(0xd4)];if(_0x32b5a3['includes'](_0x4f93be['tAbLJ']))return _0x4f93be[_0x34e511(0x159)];if(_0x32b5a3[_0x34e511(0xe2)](_0x4f93be[_0x34e511(0x12e)]))return _0x4f93be[_0x34e511(0x12e)];},getBrowserFromWSEndpoint=_0x56e1aa=>{const _0x891097=a47_0x4afe7f,_0x44cb1c={'SlbDZ':_0x891097(0xcd),'mYEhW':function(_0x230939,_0x531b5c){return _0x230939(_0x531b5c);}};try{const _0x155d5f=url[_0x891097(0x14e)](_0x56e1aa),_0xf812ac=new URLSearchParams(_0x155d5f[_0x891097(0x123)]),_0x32dd8a=Object[_0x891097(0x105)](_0xf812ac[_0x891097(0x112)]()),_0x171484=JSON[_0x891097(0x14e)](_0x32dd8a[_0x891097(0x148)]);if(_0x171484&&(_0x171484[_0x891097(0xc2)]||_0x171484[_0x891097(0xd3)]))return _0x171484[_0x891097(0xc2)]||_0x171484['browserName'];return _0x44cb1c['SlbDZ'];}catch(_0x3b519e){_0x44cb1c[_0x891097(0xaf)](debug,_0x891097(0x169)+_0x3b519e[_0x891097(0xd1)]());}},getCloudProviderFromWsEndpoint=_0x7841d1=>{const _0x10b483=a47_0x4afe7f,_0x593808={};_0x593808[_0x10b483(0x127)]=_0x10b483(0x152),_0x593808[_0x10b483(0x15a)]=_0x10b483(0x12d);const _0x31fd8d=_0x593808;if(_0x7841d1[_0x10b483(0xe2)](constants['BSTACK_URL'])||_0x7841d1[_0x10b483(0xe2)](constants[_0x10b483(0x10b)]))return _0x31fd8d[_0x10b483(0x127)];return _0x31fd8d[_0x10b483(0x15a)];},a47_0x49bcd0={};a47_0x49bcd0[a47_0x4afe7f(0x12b)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x128)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0xc2)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x15d)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x13d)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x102)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x134)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0xb8)]={};class PlaywrightSessionDetails{static [a47_0x4afe7f(0x165)]=a47_0x49bcd0;constructor(){const _0xc3d28e=a47_0x4afe7f,_0x1a415c={};_0x1a415c[_0xc3d28e(0xe4)]=_0xc3d28e(0x160);const _0x562208=_0x1a415c;throw new Error(_0x562208[_0xc3d28e(0xe4)]);}static [a47_0x4afe7f(0xcf)]=null;static[a47_0x4afe7f(0xdc)](_0x2e80cb,_0x3613ec,_0x4bdeff=null){const _0x6fc679=a47_0x4afe7f,_0x16b189={'LNtsn':function(_0x562404,_0x30ea83){return _0x562404===_0x30ea83;},'YFRpF':_0x6fc679(0x13a),'vqciE':_0x6fc679(0xdb),'NTBxe':_0x6fc679(0x118),'CBJAj':_0x6fc679(0xcb),'SUrfo':function(_0x226bd4,_0x286a1c,_0x19fa00){return _0x226bd4(_0x286a1c,_0x19fa00);},'smxHd':_0x6fc679(0xed),'TEksN':_0x6fc679(0xad),'dOhWL':function(_0x32d76e,_0x18496b,_0x28e9c){return _0x32d76e(_0x18496b,_0x28e9c);},'CDCMx':_0x6fc679(0x145),'WCLmg':_0x6fc679(0x135),'ZLSKA':_0x6fc679(0x138),'RiBZa':function(_0x17d829,_0x48a7a1){return _0x17d829(_0x48a7a1);},'AHHSv':function(_0x1ce15d,_0x35bb83){return _0x1ce15d===_0x35bb83;},'ynwmJ':_0x6fc679(0x152),'VZFuX':_0x6fc679(0xba),'eMliK':'automate','SZQpU':function(_0x275d0c,_0x2eaa91){return _0x275d0c+_0x2eaa91;},'QfZKv':_0x6fc679(0xec),'JVpzH':function(_0x4da514){return _0x4da514();},'Wnofs':_0x6fc679(0xdc)},_0x590de8=this;return _0x16b189[_0x6fc679(0xe5)](o11yErrorHandler,async function _0x10acb7(_0x3fb27b,_0x3ca64a,_0x878a54=null){const _0x437d81=_0x6fc679;let _0x3f80c1=_0x3fb27b['_name'],_0x53cfbb=null;_0x3fb27b&&_0x16b189[_0x437d81(0xb7)](typeof _0x3fb27b[_0x437d81(0x162)],_0x16b189['YFRpF'])?_0x53cfbb=_0x3fb27b['version']():logger['debug'](_0x16b189[_0x437d81(0xd9)]);let _0x4a1dcf=null;_0x3fb27b&&_0x16b189['LNtsn'](typeof _0x3fb27b[_0x437d81(0xb9)],_0x16b189['YFRpF'])?_0x4a1dcf=_0x3fb27b[_0x437d81(0xb9)]():logger[_0x437d81(0x10d)](_0x16b189[_0x437d81(0x10f)]);let _0x198552=null,_0xae070b=null,_0x351a98=null,_0x2a61cd=_0x16b189[_0x437d81(0xe6)];if(_0x3fb27b[_0x437d81(0x15f)]['isRemote']()||global[_0x437d81(0xeb)]){let _0x1ff706=null;_0x16b189['SUrfo'](nestedKeyValue,_0x3fb27b,[_0x16b189[_0x437d81(0x158)],_0x16b189[_0x437d81(0x101)]])?_0x1ff706=_0x3fb27b[_0x437d81(0xed)][_0x437d81(0xad)]:_0x1ff706=_0x16b189[_0x437d81(0xe5)](nestedKeyValue,_0x3ca64a,[_0x16b189['CDCMx'],_0x16b189[_0x437d81(0xb0)],_0x16b189[_0x437d81(0xda)]]);const _0x3206f7=_0x878a54||_0x1ff706&&_0x1ff706[_0x437d81(0xf9)];_0x3206f7&&(_0x2a61cd=_0x16b189[_0x437d81(0xd7)](getCloudProviderFromWsEndpoint,_0x3206f7),_0x16b189['AHHSv'](_0x2a61cd,_0x16b189[_0x437d81(0x16d)])&&(_0x351a98=constants[_0x437d81(0xc6)][_0x437d81(0xf4)](_0x3206f7)?_0x16b189[_0x437d81(0x12a)]:_0x16b189[_0x437d81(0x10e)],_0x3f80c1=_0x16b189[_0x437d81(0xd7)](getBrowserFromWSEndpoint,_0x3206f7)||_0x3f80c1,_0x198552=_0x590de8[_0x437d81(0x165)][_0x437d81(0x13d)],_0xae070b=_0x590de8['currentSessionDetails'][_0x437d81(0x102)]));}else{_0x3ca64a&&_0x3ca64a[_0x437d81(0x145)][_0x437d81(0x135)][_0x437d81(0x122)]?_0x3f80c1=_0x16b189[_0x437d81(0xd7)](getBrowserNameFromChannel,_0x3ca64a[_0x437d81(0x145)][_0x437d81(0x135)]['channel']):_0x3f80c1=_0x16b189[_0x437d81(0xc8)](_0x16b189['QfZKv'],_0x3f80c1[_0x437d81(0xf6)]());const _0x2100b1=await _0x16b189[_0x437d81(0x114)](getPlatformDetails);_0x198552=_0x2100b1[_0x437d81(0x121)],_0xae070b=_0x2100b1['platformVersion'];}const _0x40fe5b={};_0x40fe5b[_0x437d81(0xc2)]=_0x3f80c1,_0x40fe5b[_0x437d81(0x15d)]=_0x53cfbb,_0x40fe5b['capabilities']={},_0x40fe5b[_0x437d81(0x13d)]=_0x198552,_0x40fe5b[_0x437d81(0x102)]=_0xae070b,_0x40fe5b[_0x437d81(0x134)]=_0x351a98;const _0x127aa2=_0x40fe5b;_0x4a1dcf&&(_0x127aa2[_0x437d81(0xb8)][_0x437d81(0x11c)]=_0x4a1dcf);const _0x3a8ad2={};_0x3a8ad2[_0x437d81(0x12b)]=_0x2a61cd,_0x590de8[_0x437d81(0x165)]=Object['assign']({},_0x590de8[_0x437d81(0x165)],_0x3a8ad2,_0x127aa2);},_0x16b189[_0x6fc679(0x137)])(_0x2e80cb,_0x3613ec,_0x4bdeff);}static[a47_0x4afe7f(0x109)](){const _0x566cb9=a47_0x4afe7f;this[_0x566cb9(0xb4)](),this['patchCRConnection']();}static[a47_0x4afe7f(0xb4)](){const _0x125f62=a47_0x4afe7f,_0x2cd641={'DXfFo':function(_0x2aa5b8,_0x5f1e4f,_0x22dbbb){return _0x2aa5b8(_0x5f1e4f,_0x22dbbb);},'LNjCG':_0x125f62(0xc7),'lKklq':_0x125f62(0x13b),'DSfBc':_0x125f62(0xf3),'OwKOH':function(_0x3540b2,_0x207aa7,_0x4332a4){return _0x3540b2(_0x207aa7,_0x4332a4);},'YkZpV':_0x125f62(0x100),'sFJDY':'pwPage','xoqvb':function(_0x336e5f,_0x416488){return _0x336e5f===_0x416488;},'kWDyB':_0x125f62(0x115),'zgNxG':function(_0x4c752d,_0xa1ed4e,_0x4ff765,_0x29b7f5){return _0x4c752d(_0xa1ed4e,_0x4ff765,_0x29b7f5);},'hmmVs':function(_0x5391ac,_0x502f02){return _0x5391ac||_0x502f02;},'tkcmu':function(_0xfb75cf,_0xcd6686){return _0xfb75cf(_0xcd6686);},'KDveC':function(_0x39d732,_0x115551){return _0x39d732(_0x115551);},'LfCSi':_0x125f62(0x10c),'VQIQh':'client','AvhrE':'connection.js','xqFWs':function(_0x8ee886,_0x3e3c13){return _0x8ee886(_0x3e3c13);},'RCHdn':'Not\x20able\x20to\x20import\x20Connection','tdkIJ':function(_0x1ee25d,_0x482663){return _0x1ee25d(_0x482663);},'mfqgg':function(_0x45cc74,_0x1dc04b){return _0x45cc74!=_0x1dc04b;},'UtURJ':function(_0x4155d6){return _0x4155d6();},'zXPnk':_0x125f62(0x144),'iGGjY':function(_0x4971b2,_0x1befcd){return _0x4971b2(_0x1befcd);},'DukDF':_0x125f62(0xb1),'otuqd':function(_0x4116de,_0x567dc0){return _0x4116de(_0x567dc0);}},_0x3add22=this;if(!this[_0x125f62(0xf7)])try{const _0x50aec5=path[_0x125f62(0xea)](_0x2cd641['LfCSi'],_0x2cd641['VQIQh'],_0x2cd641[_0x125f62(0xbf)]),_0x1afd3a=_0x2cd641['KDveC'](importFileFromPWCore,_0x50aec5);!_0x1afd3a?_0x2cd641[_0x125f62(0xb3)](debug,_0x2cd641['RCHdn']):this[_0x125f62(0xf7)]=_0x1afd3a[_0x125f62(0xf7)];}catch(_0x58fae9){_0x2cd641[_0x125f62(0xc0)](debug,_0x125f62(0xe1)+_0x58fae9[_0x125f62(0xd1)]());}const _0x14d775=this['Connection'];try{if(_0x2cd641[_0x125f62(0x163)](_0x14d775,null)){const _0x5c977d=_0x14d775['prototype'][_0x125f62(0xb1)],_0x3f8434=_0x14d775['prototype']['sendMessageToServer'];_0x2cd641['UtURJ'](isAccessibilityAutomationSession)&&Object[_0x125f62(0x156)](_0x14d775['prototype'],_0x2cd641[_0x125f62(0x107)],{'get':function(){const _0x39d778=_0x125f62,_0x599577={'QBiIG':function(_0x3e6410,_0x1258ec,_0x5200c4){const _0xb3c261=a47_0x52b2;return _0x2cd641[_0xb3c261(0x132)](_0x3e6410,_0x1258ec,_0x5200c4);},'IIvuO':_0x2cd641['LNjCG'],'pWCRQ':_0x2cd641[_0x39d778(0x126)],'UgdNw':_0x2cd641['DSfBc'],'lhUaK':function(_0x42eaff,_0x107da6,_0x448924){return _0x2cd641['OwKOH'](_0x42eaff,_0x107da6,_0x448924);},'MhRsb':_0x2cd641[_0x39d778(0xe7)],'TmhGp':_0x2cd641[_0x39d778(0xde)],'UzFLt':function(_0x4435d0,_0x458f1b,_0x4784aa){const _0x50e635=_0x39d778;return _0x2cd641[_0x50e635(0xe0)](_0x4435d0,_0x458f1b,_0x4784aa);},'yXSzA':function(_0x546955,_0x4a5cbd){return _0x2cd641['xoqvb'](_0x546955,_0x4a5cbd);},'pOOmX':_0x2cd641[_0x39d778(0xef)],'SMysw':function(_0x311466,_0x17ea1b,_0x1decde,_0x3b7889){return _0x2cd641['zgNxG'](_0x311466,_0x17ea1b,_0x1decde,_0x3b7889);}};return async function(){const _0x541cce=_0x39d778;try{if(!global[_0x541cce(0xca)]&&global[_0x541cce(0xeb)]&&_0x599577[_0x541cce(0x12f)](nestedKeyValue,global[_0x541cce(0x100)],[_0x599577[_0x541cce(0x124)],_0x599577[_0x541cce(0x13e)],_0x599577[_0x541cce(0xdf)]])&&_0x599577[_0x541cce(0xfc)](shouldScanTestForAccessibility,global[_0x541cce(0x100)][_0x541cce(0xc7)]['testInfo']['titlePath'],!![])&&scripts[_0x541cce(0x10a)](arguments[0x1])){logger[_0x541cce(0x10d)](_0x541cce(0x14a)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0xb71f7b=_0x599577[_0x541cce(0xfc)](nestedKeyValue,global,[_0x599577['MhRsb'],_0x599577[_0x541cce(0xd0)]]);_0xb71f7b&&logger[_0x541cce(0x142)](_0x541cce(0xbd)+util[_0x541cce(0x14d)](await _0x599577[_0x541cce(0x129)](performScanWithRetry,_0xb71f7b,arguments[0x1]))),_0x599577[_0x541cce(0xc4)](arguments[0x0][_0x541cce(0x139)],_0x599577[_0x541cce(0x14c)])&&global[_0x541cce(0x153)]&&logger[_0x541cce(0x142)](_0x541cce(0x15e)+util[_0x541cce(0x14d)](await _0x599577[_0x541cce(0x168)](performScanWithRetry,global[_0x541cce(0x153)],arguments[0x1],scripts[_0x541cce(0xc1)])));}}catch(_0x3104d8){logger[_0x541cce(0x10d)](_0x541cce(0x120)+util[_0x541cce(0x14d)](_0x3104d8));}return global[_0x541cce(0xca)]=![],_0x3f8434[_0x541cce(0xd5)](this,arguments);};}}),!_0x2cd641[_0x125f62(0x117)](isFalse,process[_0x125f62(0xbb)][_0x125f62(0xee)])&&Object[_0x125f62(0x156)](_0x14d775[_0x125f62(0x133)],_0x2cd641[_0x125f62(0xb2)],{'get':function(){return async function _0x3f8cab(_0x21bc19){const _0x4b07d1=a47_0x52b2;if(BrowserstackCLI[_0x4b07d1(0x16e)]()[_0x4b07d1(0x16b)]()){const _0x58fd34={};_0x58fd34[_0x4b07d1(0x11b)]=_0x21bc19,await BrowserstackCLI[_0x4b07d1(0x16e)]()['getAutomationFramework']()[_0x4b07d1(0x16f)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x4b07d1(0xb5)],_0x58fd34);}else{const _0x24e6b0=_0x21bc19&&_0x21bc19[_0x4b07d1(0x140)]&&_0x21bc19[_0x4b07d1(0x140)]['bsParams'];if(_0x24e6b0){const _0x572587=_0x24e6b0[_0x4b07d1(0xfe)],_0xfcd8d4=_0x24e6b0['platformDetails'];_0x2cd641['hmmVs'](!_0x572587,!_0xfcd8d4)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0xfcd8d4&&(_0x2cd641['tkcmu'](debug,_0x4b07d1(0x151)+_0xfcd8d4['toString']()),_0x3add22['currentSessionDetails']['platform']=_0xfcd8d4['platformName'],_0x3add22[_0x4b07d1(0x165)][_0x4b07d1(0x102)]=_0xfcd8d4['platformVersion']),_0x572587&&(_0x2cd641[_0x4b07d1(0x104)](debug,_0x4b07d1(0x13f)+_0x572587),_0x3add22[_0x4b07d1(0x165)][_0x4b07d1(0x128)]=_0x572587);}}return _0x5c977d[_0x4b07d1(0xd5)](this,arguments);};}});}}catch(_0xf46c5f){_0x2cd641[_0x125f62(0x167)](debug,_0x125f62(0x164)+_0xf46c5f),_0x3add22[_0x125f62(0xcf)]=_0xf46c5f[_0x125f62(0xd1)]();}}static[a47_0x4afe7f(0xf1)](){const _0x189e06=a47_0x4afe7f,_0x21f4ca={'phHgn':function(_0x8bacce,_0x58de2a){return _0x8bacce(_0x58de2a);},'WEbXn':function(_0x554740,_0x5287bc){return _0x554740(_0x5287bc);},'rYGmU':function(_0x47f675,_0x134cda){return _0x47f675(_0x134cda);},'TQnKP':function(_0x3be820){return _0x3be820();},'Oqfow':_0x189e06(0x10c),'tGMIM':_0x189e06(0xc3),'ieCBU':'chromium','qyGcT':_0x189e06(0x11a),'vkCLK':function(_0x387791,_0x5cf2cb){return _0x387791(_0x5cf2cb);},'OWdao':_0x189e06(0x155),'XFxnK':function(_0xb2f2bf,_0x1621a1){return _0xb2f2bf(_0x1621a1);},'qcCCe':_0x189e06(0x15b),'RdNkX':function(_0xbf9537,_0xd9ca3c){return _0xbf9537!=_0xd9ca3c;},'hayMj':_0x189e06(0x16a),'SKqlS':function(_0x3b9fd8,_0x19245b){return _0x3b9fd8(_0x19245b);}},_0x2e11a3=this;if(_0x21f4ca['TQnKP'](isAccessibilityAutomationSession)){let _0x31d394=null;try{const _0x51253a=path[_0x189e06(0xea)](_0x21f4ca['Oqfow'],_0x21f4ca[_0x189e06(0xe8)],_0x21f4ca[_0x189e06(0xff)],_0x21f4ca['qyGcT']),_0x25589d=_0x21f4ca[_0x189e06(0xbc)](importFileFromPWCore,_0x51253a);!_0x25589d?_0x21f4ca[_0x189e06(0x147)](debug,_0x21f4ca[_0x189e06(0x113)]):_0x31d394=_0x25589d[_0x189e06(0x131)];}catch(_0x151218){_0x21f4ca['XFxnK'](debug,_0x21f4ca[_0x189e06(0xe9)]);}try{if(_0x21f4ca[_0x189e06(0x143)](_0x31d394,null)){const _0x3132df=_0x31d394[_0x189e06(0x133)][_0x189e06(0x16a)];Object[_0x189e06(0x156)](_0x31d394[_0x189e06(0x133)],_0x21f4ca['hayMj'],{'get':function(){const _0x4f26bf={'UyEgQ':function(_0x44b257,_0x2b0a33){const _0x53d69c=a47_0x52b2;return _0x21f4ca[_0x53d69c(0xe3)](_0x44b257,_0x2b0a33);},'efHpz':function(_0xa3cdc7,_0x20f2de){const _0x22b238=a47_0x52b2;return _0x21f4ca[_0x22b238(0xbc)](_0xa3cdc7,_0x20f2de);},'lVryA':function(_0xf9e243,_0x1e5611){const _0x26776e=a47_0x52b2;return _0x21f4ca[_0x26776e(0xbe)](_0xf9e243,_0x1e5611);}};return async function _0x1a8617(_0x3177ed){const _0x2dbb5c=a47_0x52b2;try{if(BrowserstackCLI[_0x2dbb5c(0x16e)]()[_0x2dbb5c(0x16b)]()){const _0x21efb9={};_0x21efb9['message']=_0x3177ed,await BrowserstackCLI[_0x2dbb5c(0x16e)]()[_0x2dbb5c(0x103)]()[_0x2dbb5c(0x16f)](AutomationFrameworkState[_0x2dbb5c(0xae)],HookState[_0x2dbb5c(0xb5)],_0x21efb9),delete _0x3177ed[_0x2dbb5c(0x12c)];}else{const _0x18e4a5=_0x3177ed[_0x2dbb5c(0x12c)];if(_0x18e4a5){delete _0x3177ed[_0x2dbb5c(0x12c)];const _0x4f2910=_0x18e4a5[_0x2dbb5c(0xfe)],_0x1750ac=_0x18e4a5['platformDetails'];_0x1750ac&&(_0x4f26bf[_0x2dbb5c(0x136)](debug,_0x2dbb5c(0x108)+_0x1750ac[_0x2dbb5c(0xd1)]()),_0x2e11a3[_0x2dbb5c(0x165)][_0x2dbb5c(0x13d)]=_0x1750ac['platformName'],_0x2e11a3['currentSessionDetails'][_0x2dbb5c(0x102)]=_0x1750ac[_0x2dbb5c(0x130)]),_0x4f2910&&(_0x4f26bf[_0x2dbb5c(0xfb)](debug,_0x2dbb5c(0x166)+_0x4f2910),_0x2e11a3[_0x2dbb5c(0x165)]['bsSessionId']=_0x4f2910);}}}catch(_0x495ba4){_0x4f26bf[_0x2dbb5c(0x119)](debug,_0x2dbb5c(0x157)+_0x495ba4['toString']());}return _0x3132df['apply'](this,arguments);};}});}}catch(_0x415329){_0x21f4ca[_0x189e06(0x149)](debug,_0x189e06(0x146)+_0x415329),_0x2e11a3[_0x189e06(0xcf)]=_0x415329[_0x189e06(0xd1)]();}}}static['getDetails'](){const _0x1057c0=a47_0x4afe7f;return this[_0x1057c0(0x165)];}}function a47_0x52b2(_0x3dc51,_0xa1ee63){const _0x1f3e5f=a47_0x1f3e();return a47_0x52b2=function(_0x52b232,_0x689c75){_0x52b232=_0x52b232-0xad;let _0x495939=_0x1f3e5f[_0x52b232];return _0x495939;},a47_0x52b2(_0x3dc51,_0xa1ee63);}module[a47_0x4afe7f(0x14f)]=PlaywrightSessionDetails;function a47_0x1f3e(){const _0x1e4798=['WCLmg','dispatch','DukDF','xqFWs','patchConnection','POST','../../helpers/test-observability/error-handler','LNtsn','capabilities','model','turboscale','env','WEbXn','Page\x20Scan\x20result=','rYGmU','AvhrE','tdkIJ','performScan','browser','server','yXSzA','50TUPYqm','ATS_WSS_URL_REGEX','currentTest','SZQpU','32622ZoxowU','bstackPerformA11yScan','local_grid','185fIFvSQ','chrome','29775486LCEwnE','sessionError','TmhGp','toString','../../helpers/accessibility-automation/helper','browserName','mWjDO','apply','../../helpers/logger','RiBZa','326598JXQmJq','vqciE','ZLSKA','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','setupBrowserDetails','./accessibility-helper','sFJDY','UgdNw','OwKOH','Error\x20in\x20importing\x20connection\x20','includes','phHgn','jebRJ','dOhWL','CBJAj','YkZpV','tGMIM','qcCCe','join','accessibilityPlatform','playwright-','_browserType','BROWSERSTACK_TEST_OBSERVABILITY','kWDyB','PDkkO','patchCRConnection','32lqoHtP','titlePath','test','8057SLSfmQ','toLowerCase','Connection','24gIvVGj','wsEndpoint','983nhJjKJ','efHpz','lhUaK','edge','sessionId','ieCBU','__workerDetails','TEksN','platform_version','getAutomationFramework','KDveC','fromEntries','../v2/state/automationFrameworkState.js','zXPnk','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','patch','shouldWrapCommand','BSTACK_ATS_URL','lib','debug','eMliK','NTBxe','../v2/state/hookState.js','../utils/constants','entries','OWdao','JVpzH','Page','../../helpers/helper','iGGjY','Device\x20Model\x20is\x20not\x20available','lVryA','crConnection.js','message','deviceModel','firefox','1230mjVzKD','4088ZIcfaO','Failed\x20to\x20perform\x20scan\x20','platformName','channel','query','IIvuO','winstonLogger','lKklq','lLxxX','bsSessionId','UzFLt','VZFuX','cloudProvider','bStackParams','unknown_grid','QqbMZ','QBiIG','platformVersion','CRConnection','DXfFo','prototype','product','use','UyEgQ','Wnofs','connectOptions','_type','function','testInfo','../../bin/playwright/accessibility-helper','platform','pWCRQ','Setting\x20session\x20id\x20received\x20from\x20BS\x20','params','3650559YJfWtH','info','RdNkX','sendMessageToServer','project','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','vkCLK','caps','SKqlS','Performing\x20scan\x20for\x20','../../helpers/accessibility-automation/accessibilityRetryHelper.js','pOOmX','format','parse','exports','../v2/browserstackCLI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','browserstack','__driver','901665dKTPZE','Not\x20able\x20to\x20import\x20crConnection','defineProperty','Error\x20in\x20finding\x20platform\x20details\x20','smxHd','tAbLJ','aTTbn','Error\x20in\x20importing\x20crConnection','path','browser_version','Driver\x20Scan\x20result=','_connection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','../../helpers/test-observability/utils','version','mfqgg','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','currentSessionDetails','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','otuqd','SMysw','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','_onMessage','isRunning','../../helpers/accessibility-automation/scripts','ynwmJ','getInstance','trackEvent','_defaultConnectOptions','PLAYWRIGHT_DISPATCH','mYEhW'];a47_0x1f3e=function(){return _0x1e4798;};return a47_0x1f3e();}
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x711458=a48_0x3c12;(function(_0x17597f,_0x63349f){const _0x294a56=a48_0x3c12,_0x34b1fa=_0x17597f();while(!![]){try{const _0x49caf5=-parseInt(_0x294a56(0xa5))/0x1*(parseInt(_0x294a56(0xf4))/0x2)+-parseInt(_0x294a56(0xf0))/0x3+-parseInt(_0x294a56(0x125))/0x4*(-parseInt(_0x294a56(0xa2))/0x5)+-parseInt(_0x294a56(0xd3))/0x6+parseInt(_0x294a56(0x121))/0x7*(parseInt(_0x294a56(0x11d))/0x8)+-parseInt(_0x294a56(0x11e))/0x9+-parseInt(_0x294a56(0xcb))/0xa*(-parseInt(_0x294a56(0xe3))/0xb);if(_0x49caf5===_0x63349f)break;else _0x34b1fa['push'](_0x34b1fa['shift']());}catch(_0x18c02b){_0x34b1fa['push'](_0x34b1fa['shift']());}}}(a48_0xd19b,0x7fbf2));const fs=require('fs'),path=require(a48_0x711458(0xb7)),util=require(a48_0x711458(0x9f)),spawn=require(a48_0x711458(0x110))[a48_0x711458(0xb9)],{requireModule}=require(a48_0x711458(0xc2)),PerformanceTester=require(a48_0x711458(0xf1)),PerformanceEvents=require(a48_0x711458(0xe1))[a48_0x711458(0xdc)],helper=require(a48_0x711458(0xc2)),utilities=require(a48_0x711458(0xa1)),{default:BrowserStackSetup}=require(a48_0x711458(0x126)),{FRAMEWORKS}=require(a48_0x711458(0xd5)),runIntegrations=require(a48_0x711458(0x120)),yargs=require('yargs'),Constants=require('./utils/constants'),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require('../helpers/logger')[a48_0x711458(0xfd)],origArgs=Object[a48_0x711458(0xf7)]([],process[a48_0x711458(0xdf)]),captureError=async(_0x1201d5,_0x1dbc49,_0x42b840,_0x57d1bf=null)=>{const _0x1a2547=a48_0x711458,_0x4b8dd6={'JomBC':function(_0x458a42,_0x9662b9,_0x56bca0,_0x493286){return _0x458a42(_0x9662b9,_0x56bca0,_0x493286);},'sBnDH':_0x1a2547(0x103)};try{logger[_0x1a2547(0xfc)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x1a2547(0x10e)]('\x20')),await _0x4b8dd6[_0x1a2547(0xb5)](_0x1201d5,_0x1dbc49,_0x57d1bf,_0x42b840);}catch(_0x360969){process[_0x1a2547(0xad)]=0x1,logger[_0x1a2547(0xf8)](util['format'](_0x360969));const _0x4d2983={'globalException':util[_0x1a2547(0xc6)]('%j',_0x360969)};PerformanceTester[_0x1a2547(0xed)](PerformanceEvents[_0x1a2547(0xf3)],![],util[_0x1a2547(0xc6)](_0x360969));if(helper['isUndefined'](global['config'])&&helper[_0x1a2547(0xee)](global[_0x1a2547(0xe8)]))return;try{utilities[_0x1a2547(0xeb)](_0x4b8dd6[_0x1a2547(0xce)],_0x4d2983,global[_0x1a2547(0xc1)],global[_0x1a2547(0xe8)]);}catch(_0x3113be){logger[_0x1a2547(0x99)](_0x1a2547(0xcd)+_0x3113be[_0x1a2547(0x98)]);}try{await helper[_0x1a2547(0xc9)](global[_0x1a2547(0xc1)]);}catch(_0x1624c7){logger[_0x1a2547(0x99)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x1624c7[_0x1a2547(0x98)]);}await BrowserstackCLI['getInstance']()[_0x1a2547(0x9c)](),PerformanceTester['end'](PerformanceEvents[_0x1a2547(0xf3)],![],util[_0x1a2547(0xc6)](_0x360969));}finally{PerformanceTester[_0x1a2547(0x111)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a48_0x711458(0x108)](),'.browserstack');if(fs[a48_0x711458(0xe5)](browserstackFolderPath)){const filePath=path[a48_0x711458(0x10e)](browserstackFolderPath,a48_0x711458(0xc4));fs[a48_0x711458(0xe5)](filePath)&&fs['unlinkSync'](filePath);}}catch(a48_0x2b3c6d){logger[a48_0x711458(0x99)](a48_0x711458(0x11f)+a48_0x2b3c6d[a48_0x711458(0xef)]);}process[a48_0x711458(0xdf)]['includes'](a48_0x711458(0xbc))&&(!process['argv'][a48_0x711458(0x102)](a48_0x711458(0xbe))&&process[a48_0x711458(0xdf)][a48_0x711458(0xa4)](a48_0x711458(0xa6)),!process[a48_0x711458(0xdf)][a48_0x711458(0x101)](_0x4c3b43=>_0x4c3b43['includes'](a48_0x711458(0xb0)))&&process[a48_0x711458(0xdf)]['push'](a48_0x711458(0xb6)),!process['argv'][a48_0x711458(0x102)]('--package')&&process[a48_0x711458(0xdf)][a48_0x711458(0xa4)](a48_0x711458(0xcc)),helper['findAndReplace'](process['argv'],a48_0x711458(0xe6),a48_0x711458(0x118)));PerformanceTester[a48_0x711458(0x111)](PerformanceEvents[a48_0x711458(0xf3)]);function a48_0xd19b(){const _0x38d639=['debug','mkHaR','option','stop','help','FkSDc','util','fRnyf','../helpers/utilities','5lCLrCG','uTFAb','push','1yIxcnw','--no-opts','PLAYWRIGHT','Runs\x20the\x20binary\x20with\x20load\x20command','showHelpOnFail','xbJwl','NrrWT','xGznU','exitCode','mocha/lib/cli/cli.js','run','--config','usage','oOIXs','cucumber-js','slice','JomBC','--no-config','path','usage:\x20$0\x20<command>\x20[args]','spawn','dsiaG','./vanilla-js/command','mocha','mocha/lib/cli/commands.js','--opts','OPwMJ','VERSION','config','../helpers/helper','setTestObservabilityDisable','.local-not-set.json','HELP','format','rkpCI','XdqNJ','sendLogs','ChCcW','3252860MJGElx','--no-package','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','sBnDH','playwright','handler','codeceptjs','xVhpJ','5669424sdALgE','VANILLA','../helpers/test-observability/constants','alias','./load/index','Show\x20help','lzurA','Parsing\x20command\x20line\x20arguments','BROWSERSTACK_CONFIG_FILE_PATH','EVENTS','tfJhL','nightwatch','argv','NIGHTWATCH','../helpers/performance/constants','./codeceptjs/command','99djhYpy','HST','existsSync','--require','hEljs','framework','strict','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','fireFunnelTestEvent','INFO','end','isUndefined','message','551994xiTxLb','../helpers/performance/performance-tester','vanilla','SDK_SETUP','1882634IVrzPu','ZgDyG','rJfwE','assign','error','CUCUMBER','NyLMq','command','info','winstonLogger','xtPdN','ats','ueufY','find','includes','SDKTestSuccessful','env','HiFED','LQxCd','jest','homedir','../../ats/src/index','describe','mocha/lib/cli/run.js','gRZrS','dot-notation','join','./jest/command','child_process','start','XJNAK','kGDkr','pWLmD','iuMxu','CTnlc','gAisz','--mochaRequire','version','demandCommand','boolean','integrations','2144hkfxup','7755804zUducR','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./integrations/command','11368anqCco','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','setBrowserStackAutomationDisable','dCoBX','369676XgbAAK','../helpers/BrowserStackSetup','getConfigPath','stack'];a48_0xd19b=function(){return _0x38d639;};return a48_0xd19b();}function a48_0x3c12(_0x526e13,_0xcaea18){const _0xd19b6f=a48_0xd19b();return a48_0x3c12=function(_0x3c123e,_0xc01673){_0x3c123e=_0x3c123e-0x97;let _0x84221e=_0xd19b6f[_0x3c123e];return _0x84221e;},a48_0x3c12(_0x526e13,_0xcaea18);}const a48_0x2c97ab={};a48_0x2c97ab[a48_0x711458(0x10d)]=![];const argv=yargs['parserConfiguration'](a48_0x2c97ab)[a48_0x711458(0xb1)](a48_0x711458(0xb8))[a48_0x711458(0xd6)]('v',a48_0x711458(0x119))[a48_0x711458(0x10a)]('v')[a48_0x711458(0xd6)]('h',a48_0x711458(0x9d))[a48_0x711458(0x9d)](a48_0x711458(0x9d))[a48_0x711458(0xa9)](!![],Constants[a48_0x711458(0xc0)][a48_0x711458(0xc5)])['command'](a48_0x711458(0x107),Constants['JEST'][a48_0x711458(0xec)],function(_0x9fdd8b){const _0x343c3f=a48_0x711458,_0xd5931c={'gRZrS':'jest','dCoBX':function(_0x3da6a5,_0x558de0,_0x4b8d13,_0x12bc26,_0x279f31){return _0x3da6a5(_0x558de0,_0x4b8d13,_0x12bc26,_0x279f31);},'EequB':function(_0x5c5a05,_0x18a20f){return _0x5c5a05(_0x18a20f);},'Rzrvh':_0x343c3f(0x10f)},_0x1aeeee=process[_0x343c3f(0xdf)]['slice'](0x2);helper[_0x343c3f(0xc3)](),helper['setBrowserStackAutomationDisable']();const _0x50c7b9=new BrowserStackSetup(_0x9fdd8b[_0x343c3f(0xdf)],_0xd5931c[_0x343c3f(0x10c)]);return _0xd5931c[_0x343c3f(0x124)](captureError,_0xd5931c['EequB'](require,_0xd5931c['Rzrvh']),_0x9fdd8b[_0x343c3f(0xdf)],_0x50c7b9,_0x1aeeee);})[a48_0x711458(0xfb)](a48_0x711458(0xbc),Constants['MOCHA'][a48_0x711458(0xec)],_0xb7586e=>{const _0x47fe90=a48_0x711458,_0x384adf={'tfJhL':function(_0x56004e,_0x3144d2,_0x2c252c,_0x5aa6bd){return _0x56004e(_0x3144d2,_0x2c252c,_0x5aa6bd);},'PLjGj':function(_0xd58690,_0x426fab){return _0xd58690(_0x426fab);},'rkpCI':'./mocha/command','OPwMJ':_0x47fe90(0xbc),'hCRLN':_0x47fe90(0xda),'LQxCd':function(_0x26d584,_0x5cc427,_0x595126){return _0x26d584(_0x5cc427,_0x595126);},'lzurA':_0x47fe90(0x10b),'oOIXs':function(_0x2ff73b,_0x36ad37,_0x3574c5){return _0x2ff73b(_0x36ad37,_0x3574c5);},'DbmyN':_0x47fe90(0xbd),'kGDkr':_0x47fe90(0xae),'xZtEv':function(_0x1f3072){return _0x1f3072();}};process[_0x47fe90(0xdf)]=process[_0x47fe90(0xdf)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper[_0x47fe90(0x123)]();const _0x1963e9=new BrowserStackSetup(_0xb7586e[_0x47fe90(0xdf)],_0x384adf[_0x47fe90(0xbf)]);logger['debug'](_0x384adf['hCRLN']);const _0x350fa9=_0x384adf[_0x47fe90(0x106)](requireModule,_0x384adf[_0x47fe90(0xd9)],_0x384adf[_0x47fe90(0xbf)]),_0x51a35b=_0x384adf[_0x47fe90(0xb2)](requireModule,_0x384adf['DbmyN'],_0x384adf[_0x47fe90(0xbf)]);delete _0x350fa9[_0x47fe90(0xd0)],_0x350fa9['handler']=function(_0x316746){const _0x12f311=_0x47fe90;return _0x384adf[_0x12f311(0xdd)](captureError,_0x384adf['PLjGj'](require,_0x384adf[_0x12f311(0xc7)]),_0x316746,_0x1963e9);},_0x51a35b[_0x47fe90(0xaf)]=_0x350fa9;const {main:_0x3172cf}=_0x384adf['oOIXs'](requireModule,_0x384adf[_0x47fe90(0x113)],_0x384adf[_0x47fe90(0xbf)]);_0x384adf['xZtEv'](_0x3172cf);})[a48_0x711458(0xfb)]('cucumber-js',Constants[a48_0x711458(0xf9)][a48_0x711458(0xec)],function(_0x520136){const _0x5d9214=a48_0x711458,_0x29d16f={'NyLMq':_0x5d9214(0xb3),'HiFED':function(_0x526130,_0x112a68,_0x1ca4b3,_0x57e8ab,_0xb1c194){return _0x526130(_0x112a68,_0x1ca4b3,_0x57e8ab,_0xb1c194);},'XLoPB':function(_0x4e4974,_0x6dac90){return _0x4e4974(_0x6dac90);},'NrrWT':'./cucumber-js/command'},_0xcf33d7=process[_0x5d9214(0xdf)]['slice'](0x2),_0x3044fe=new BrowserStackSetup(_0x520136[_0x5d9214(0xdf)],_0x29d16f[_0x5d9214(0xfa)]);return _0x29d16f[_0x5d9214(0x105)](captureError,_0x29d16f['XLoPB'](require,_0x29d16f[_0x5d9214(0xab)]),_0x520136[_0x5d9214(0xdf)],_0x3044fe,_0xcf33d7);})[a48_0x711458(0xfb)]('node',Constants[a48_0x711458(0xd4)][a48_0x711458(0xec)],function(_0x4127ac){const _0x27b879=a48_0x711458,_0x456071={'uTFAb':_0x27b879(0xf2),'xtPdN':function(_0x246ef5,_0x4d1a96,_0x54c8ef,_0xfecd6c,_0x50b967){return _0x246ef5(_0x4d1a96,_0x54c8ef,_0xfecd6c,_0x50b967);},'FkSDc':function(_0x1578da,_0xef8dba){return _0x1578da(_0xef8dba);},'xGznU':_0x27b879(0xbb)},_0x323c55=process[_0x27b879(0xdf)][_0x27b879(0xb4)](0x2),_0x1760cb=new BrowserStackSetup(_0x4127ac[_0x27b879(0xdf)],_0x456071[_0x27b879(0xa3)]);return _0x456071[_0x27b879(0xfe)](captureError,_0x456071[_0x27b879(0x9e)](require,_0x456071[_0x27b879(0xac)]),_0x4127ac[_0x27b879(0xdf)],_0x1760cb,_0x323c55);})[a48_0x711458(0xfb)](a48_0x711458(0xde),Constants[a48_0x711458(0xe0)][a48_0x711458(0xec)],function(_0x5c2530){const _0x20fc78=a48_0x711458,_0x1254a4={'XdqNJ':function(_0x3a92d8,_0xacecac,_0x23d5f5,_0x2ded38,_0x4b3aa9){return _0x3a92d8(_0xacecac,_0x23d5f5,_0x2ded38,_0x4b3aa9);},'CTnlc':function(_0x57f8e4,_0x397727){return _0x57f8e4(_0x397727);},'pWLmD':'./nightwatch/command'},_0x33a864=process[_0x20fc78(0xdf)]['slice'](0x2),_0x1f3061=new BrowserStackSetup(_0x5c2530[_0x20fc78(0xdf)]);return _0x1254a4[_0x20fc78(0xc8)](captureError,_0x1254a4[_0x20fc78(0x116)](require,_0x1254a4[_0x20fc78(0x114)]),_0x5c2530['argv'],_0x1f3061,_0x33a864);})[a48_0x711458(0xfb)](a48_0x711458(0xd1),Constants['CODECEPTJS'][a48_0x711458(0xec)],function(_0x3af6e5){const _0x3c3e26=a48_0x711458,_0x28f94c={'wJfIr':_0x3c3e26(0xd1),'XJNAK':function(_0x5b50e6,_0x4f6ef7,_0x42628c,_0x15def0,_0x4a69d4){return _0x5b50e6(_0x4f6ef7,_0x42628c,_0x15def0,_0x4a69d4);},'ZgDyG':function(_0x22ba47,_0x425f0e){return _0x22ba47(_0x425f0e);},'ueufY':_0x3c3e26(0xe2)},_0x3edbd5=process[_0x3c3e26(0xdf)][_0x3c3e26(0xb4)](0x2),_0x139caf=new BrowserStackSetup(_0x3af6e5[_0x3c3e26(0xdf)],_0x28f94c['wJfIr']);return _0x28f94c[_0x3c3e26(0x112)](captureError,_0x28f94c[_0x3c3e26(0xf5)](require,_0x28f94c[_0x3c3e26(0x100)]),_0x3af6e5[_0x3c3e26(0xdf)],_0x139caf,_0x3edbd5);})[a48_0x711458(0xfb)]('ats',Constants[a48_0x711458(0xe4)][a48_0x711458(0xec)],function(_0x44cbc3){const _0x5e5848=a48_0x711458,_0x21ad04={'dsiaG':function(_0x5ba02e,_0xa9f117,_0x379031){return _0x5ba02e(_0xa9f117,_0x379031);},'xVhpJ':function(_0x3b215d,_0x4d90fe){return _0x3b215d(_0x4d90fe);},'gAisz':_0x5e5848(0x109)},_0x218c14=process[_0x5e5848(0xdf)]['slice'](0x2);return _0x21ad04[_0x5e5848(0xba)](captureError,_0x21ad04[_0x5e5848(0xd2)](require,_0x21ad04[_0x5e5848(0x117)]),_0x44cbc3);})[a48_0x711458(0xfb)](a48_0x711458(0x11c),Constants['INTEGRATIONS'][a48_0x711458(0xec)],function(_0x42b45b){const _0x5f2a7f=a48_0x711458,_0xbe7e86={'iuMxu':function(_0x51b59c,_0x4eb295){return _0x51b59c(_0x4eb295);}};return _0xbe7e86[_0x5f2a7f(0x115)](runIntegrations,_0x42b45b);})[a48_0x711458(0xfb)](a48_0x711458(0xcf),Constants[a48_0x711458(0xa7)][a48_0x711458(0xec)],function(_0x135bc1){const _0x446e07=a48_0x711458,_0x3c03ee={'hEljs':function(_0x20372e,_0x4c587b,_0x3f21d7,_0x2e46d1,_0x4bd889){return _0x20372e(_0x4c587b,_0x3f21d7,_0x2e46d1,_0x4bd889);},'xbJwl':function(_0x4bce75,_0x4fa2d7){return _0x4bce75(_0x4fa2d7);},'ObCsz':'./playwright/command'},_0x537d2b=process[_0x446e07(0xdf)][_0x446e07(0xb4)](0x2);helper['getConfigPath'](process['argv'])&&(process[_0x446e07(0x104)][_0x446e07(0xdb)]=helper[_0x446e07(0x97)](process[_0x446e07(0xdf)]));helper[_0x446e07(0xc3)](),helper[_0x446e07(0x123)]();const _0x41b712=new BrowserStackSetup(_0x135bc1[_0x446e07(0xdf)],FRAMEWORKS[_0x446e07(0xa7)]);return _0x3c03ee[_0x446e07(0xe7)](captureError,_0x3c03ee[_0x446e07(0xaa)](require,_0x3c03ee['ObCsz']),_0x135bc1['argv'],_0x41b712,_0x537d2b);})['command']('load\x20[subcommand]',a48_0x711458(0xa8),function(_0x7826b0){const _0x3c913b=a48_0x711458,_0x5b7525={};_0x5b7525[_0x3c913b(0xca)]=_0x3c913b(0x9d),_0x5b7525[_0x3c913b(0xf6)]=_0x3c913b(0x11b),_0x5b7525['mkHaR']=_0x3c913b(0xd8);const _0x4bb47e=_0x5b7525;return _0x7826b0[_0x3c913b(0x9d)](![])[_0x3c913b(0x9b)](_0x4bb47e[_0x3c913b(0xca)],{'alias':'h','type':_0x4bb47e[_0x3c913b(0xf6)],'describe':_0x4bb47e[_0x3c913b(0x9a)]})[_0x3c913b(0xe9)](![])['exitProcess'](![]);},function(_0x4fb95d){const _0x4f9094=a48_0x711458,_0x3c9c7c={'JhsPA':function(_0x4c17aa,_0x2470e5,_0x5a9130){return _0x4c17aa(_0x2470e5,_0x5a9130);},'fRnyf':function(_0x1f3ab8,_0x20d35b){return _0x1f3ab8(_0x20d35b);},'EEysY':_0x4f9094(0xd7)},_0x19117c={};return _0x19117c[_0x4f9094(0xdf)]=_0x4fb95d,_0x3c9c7c['JhsPA'](captureError,_0x3c9c7c[_0x4f9094(0xa0)](require,_0x3c9c7c['EEysY']),_0x19117c);})[a48_0x711458(0x11a)](0x1,a48_0x711458(0x122))['wrap'](null)[a48_0x711458(0xdf)];!helper[a48_0x711458(0xee)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x711458(0xff)&&console['error'](a48_0x711458(0xea));
2
+ 'use strict';function a48_0x2856(_0xdd3ef6,_0x28d9d8){const _0x219ea7=a48_0x219e();return a48_0x2856=function(_0x2856c5,_0x10f7a9){_0x2856c5=_0x2856c5-0x122;let _0x3f7860=_0x219ea7[_0x2856c5];return _0x3f7860;},a48_0x2856(_0xdd3ef6,_0x28d9d8);}function a48_0x219e(){const _0x597d9b=['end','BROWSERSTACK_CONFIG_FILE_PATH','cucumber-js','./nightwatch/command','dot-notation','3068230vjWnAW','mocha/lib/cli/cli.js','unlinkSync','12162raWyVt','2303MtqwpR','wrap','ptEXE','assign','spawn','.browserstack','usage:\x20$0\x20<command>\x20[args]','./mocha/command','message','Xvkyn','./jest/command','Running\x20SDK\x20with\x20args\x20','winstonLogger','exitCode','lvxqY','slice','error','help','../helpers/test-observability/constants','./load/index','setBrowserStackAutomationDisable','path','PLAYWRIGHT','alias','1745811Ngenhj','qZZoi','./integrations/command','config','INFO','info','FCOll','450zWSFTd','224MVBVNw','includes','fireFunnelTestEvent','PTuTa','XyCUd','FOJzj','./vanilla-js/command','integrations','push','.local-not-set.json','3358hBzcsQ','EVENTS','node','homedir','mocha/lib/cli/run.js','ciuuH','HELP','ats','--require','../helpers/BrowserStackSetup','--opts','find','JEST','parserConfiguration','IJTJj','sendLogs','start','LSOiu','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','dVQkR','SDK_CLEANUP','LEMKo','yargs','../helpers/performance/constants','StXFF','setTestObservabilityDisable','load\x20[subcommand]','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','CODECEPTJS','mocha','getConfigPath','INTEGRATIONS','Runs\x20the\x20binary\x20with\x20load\x20command','BFhca','MOCHA','VERSION','./cucumber-js/command','KLobH','./codeceptjs/command','novnR','Parsing\x20command\x20line\x20arguments','WJjyX','./v2/browserstackCLI','kzbRo','../helpers/performance/performance-tester','../../ats/src/index','66488LMhoNe','sokyv','iicom','SDK_SETUP','LHJhj','join','findAndReplace','mocha/lib/cli/commands.js','framework','argv','getInstance','jpusN','ljZFV','stack','TfZcl','../helpers/logger','AnwVw','SDKTestSuccessful','CUCUMBER','vanilla','355232mRsBrO','lGlYu','--mochaRequire','1660trtqMV','HST','bpmtT','debug','../helpers/utilities','command','jest','usage','oZrGJ','isUndefined','../helpers/helper','run','strict','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','describe','handler','mWEwH','Aufmk','91267xgIUgn','UGKmf','child_process','demandCommand','--config','format','existsSync','stop'];a48_0x219e=function(){return _0x597d9b;};return a48_0x219e();}const a48_0x43ef70=a48_0x2856;(function(_0x182692,_0x55d081){const _0xc0b555=a48_0x2856,_0x13913c=_0x182692();while(!![]){try{const _0x3c4529=-parseInt(_0xc0b555(0x157))/0x1*(-parseInt(_0xc0b555(0x161))/0x2)+parseInt(_0xc0b555(0x14f))/0x3+-parseInt(_0xc0b555(0x1a3))/0x4+parseInt(_0xc0b555(0x133))/0x5+-parseInt(_0xc0b555(0x136))/0x6*(-parseInt(_0xc0b555(0x137))/0x7)+parseInt(_0xc0b555(0x18f))/0x8*(-parseInt(_0xc0b555(0x156))/0x9)+-parseInt(_0xc0b555(0x1a6))/0xa*(parseInt(_0xc0b555(0x126))/0xb);if(_0x3c4529===_0x55d081)break;else _0x13913c['push'](_0x13913c['shift']());}catch(_0x5e3bc0){_0x13913c['push'](_0x13913c['shift']());}}}(a48_0x219e,0x57226));const fs=require('fs'),path=require(a48_0x43ef70(0x14c)),util=require('util'),spawn=require(a48_0x43ef70(0x128))[a48_0x43ef70(0x13b)],{requireModule}=require(a48_0x43ef70(0x1b0)),PerformanceTester=require(a48_0x43ef70(0x18d)),PerformanceEvents=require(a48_0x43ef70(0x178))[a48_0x43ef70(0x162)],helper=require(a48_0x43ef70(0x1b0)),utilities=require(a48_0x43ef70(0x1aa)),{default:BrowserStackSetup}=require(a48_0x43ef70(0x16a)),{FRAMEWORKS}=require(a48_0x43ef70(0x149)),runIntegrations=require(a48_0x43ef70(0x151)),yargs=require(a48_0x43ef70(0x177)),Constants=require('./utils/constants'),BrowserstackCLI=require(a48_0x43ef70(0x18b)),logger=require(a48_0x43ef70(0x19e))[a48_0x43ef70(0x143)],origArgs=Object[a48_0x43ef70(0x13a)]([],process[a48_0x43ef70(0x198)]),captureError=async(_0xfc9173,_0xc373be,_0x55e182,_0xdeb20a=null)=>{const _0x1538f8=a48_0x43ef70,_0x5f42bc={'oZrGJ':function(_0x20f7ba,_0x296370,_0x2b1265,_0x16f27e){return _0x20f7ba(_0x296370,_0x2b1265,_0x16f27e);},'UGKmf':_0x1538f8(0x1a0)};try{logger[_0x1538f8(0x154)](_0x1538f8(0x142)+origArgs['join']('\x20')),await _0x5f42bc[_0x1538f8(0x1ae)](_0xfc9173,_0xc373be,_0xdeb20a,_0x55e182);}catch(_0x43d5eb){process[_0x1538f8(0x144)]=0x1,logger[_0x1538f8(0x147)](util['format'](_0x43d5eb));const _0x42da66={'globalException':util[_0x1538f8(0x12b)]('%j',_0x43d5eb)};PerformanceTester[_0x1538f8(0x12e)](PerformanceEvents['SDK_SETUP'],![],util[_0x1538f8(0x12b)](_0x43d5eb));if(helper[_0x1538f8(0x1af)](global[_0x1538f8(0x152)])&&helper['isUndefined'](global[_0x1538f8(0x197)]))return;try{utilities[_0x1538f8(0x159)](_0x5f42bc[_0x1538f8(0x127)],_0x42da66,global['config'],global['framework']);}catch(_0x15fc72){logger[_0x1538f8(0x1a9)](_0x1538f8(0x1b3)+_0x15fc72[_0x1538f8(0x19c)]);}try{await helper[_0x1538f8(0x170)](global[_0x1538f8(0x152)]);}catch(_0x37dd0b){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x37dd0b[_0x1538f8(0x19c)]);}await BrowserstackCLI[_0x1538f8(0x199)]()[_0x1538f8(0x12d)](),PerformanceTester[_0x1538f8(0x12e)](PerformanceEvents[_0x1538f8(0x192)],![],util[_0x1538f8(0x12b)](_0x43d5eb));}finally{PerformanceTester[_0x1538f8(0x171)](PerformanceEvents[_0x1538f8(0x175)]);}};try{const browserstackFolderPath=path[a48_0x43ef70(0x194)](helper[a48_0x43ef70(0x164)](),a48_0x43ef70(0x13c));if(fs[a48_0x43ef70(0x12c)](browserstackFolderPath)){const filePath=path[a48_0x43ef70(0x194)](browserstackFolderPath,a48_0x43ef70(0x160));fs['existsSync'](filePath)&&fs[a48_0x43ef70(0x135)](filePath);}}catch(a48_0x3f4870){logger[a48_0x43ef70(0x1a9)](a48_0x43ef70(0x17c)+a48_0x3f4870[a48_0x43ef70(0x13f)]);}process[a48_0x43ef70(0x198)]['includes']('mocha')&&(!process[a48_0x43ef70(0x198)]['includes'](a48_0x43ef70(0x16b))&&process['argv'][a48_0x43ef70(0x15f)]('--no-opts'),!process[a48_0x43ef70(0x198)][a48_0x43ef70(0x16c)](_0x97ba32=>_0x97ba32[a48_0x43ef70(0x158)](a48_0x43ef70(0x12a)))&&process['argv'][a48_0x43ef70(0x15f)]('--no-config'),!process[a48_0x43ef70(0x198)]['includes']('--package')&&process[a48_0x43ef70(0x198)][a48_0x43ef70(0x15f)]('--no-package'),helper[a48_0x43ef70(0x195)](process[a48_0x43ef70(0x198)],a48_0x43ef70(0x169),a48_0x43ef70(0x1a5)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a48_0x3cb521={};a48_0x3cb521[a48_0x43ef70(0x132)]=![];const argv=yargs[a48_0x43ef70(0x16e)](a48_0x3cb521)[a48_0x43ef70(0x1ad)](a48_0x43ef70(0x13d))[a48_0x43ef70(0x14e)]('v','version')[a48_0x43ef70(0x122)]('v')[a48_0x43ef70(0x14e)]('h',a48_0x43ef70(0x148))[a48_0x43ef70(0x148)](a48_0x43ef70(0x148))['showHelpOnFail'](!![],Constants[a48_0x43ef70(0x184)][a48_0x43ef70(0x167)])['command'](a48_0x43ef70(0x1ac),Constants[a48_0x43ef70(0x16d)]['INFO'],function(_0x4c2a1d){const _0x5a4542=a48_0x43ef70,_0x5a6ea0={'novnR':_0x5a4542(0x1ac),'ciuuH':function(_0x57c3d3,_0x3f0b0a,_0x1af5c2,_0x11cc6d,_0x4632c9){return _0x57c3d3(_0x3f0b0a,_0x1af5c2,_0x11cc6d,_0x4632c9);},'kzbRo':function(_0x1693f4,_0x3ab1d5){return _0x1693f4(_0x3ab1d5);},'rIbEK':_0x5a4542(0x141)},_0xff2c14=process[_0x5a4542(0x198)][_0x5a4542(0x146)](0x2);helper[_0x5a4542(0x17a)](),helper['setBrowserStackAutomationDisable']();const _0x27e365=new BrowserStackSetup(_0x4c2a1d[_0x5a4542(0x198)],_0x5a6ea0[_0x5a4542(0x188)]);return _0x5a6ea0[_0x5a4542(0x166)](captureError,_0x5a6ea0[_0x5a4542(0x18c)](require,_0x5a6ea0['rIbEK']),_0x4c2a1d[_0x5a4542(0x198)],_0x27e365,_0xff2c14);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x17e),Constants[a48_0x43ef70(0x183)][a48_0x43ef70(0x153)],_0x2e7137=>{const _0x3e6f49=a48_0x43ef70,_0x23072d={'vlKQy':function(_0x1f74ea,_0x5f016b,_0x24674e,_0x23e82c){return _0x1f74ea(_0x5f016b,_0x24674e,_0x23e82c);},'qSpTG':function(_0x168d4a,_0x4e5ffb){return _0x168d4a(_0x4e5ffb);},'Xvkyn':_0x3e6f49(0x13e),'dVQkR':_0x3e6f49(0x17e),'Aufmk':_0x3e6f49(0x189),'bpmtT':function(_0x1f370f,_0x27c97d,_0x28a396){return _0x1f370f(_0x27c97d,_0x28a396);},'FCOll':_0x3e6f49(0x165),'BFhca':_0x3e6f49(0x196),'kWOUN':_0x3e6f49(0x134),'iicom':function(_0x4f71a2){return _0x4f71a2();}};process[_0x3e6f49(0x198)]=process[_0x3e6f49(0x198)][_0x3e6f49(0x146)](0x1),helper['setTestObservabilityDisable'](),helper[_0x3e6f49(0x14b)]();const _0x277e25=new BrowserStackSetup(_0x2e7137['argv'],_0x23072d['dVQkR']);logger[_0x3e6f49(0x1a9)](_0x23072d[_0x3e6f49(0x125)]);const _0x26c50e=_0x23072d[_0x3e6f49(0x1a8)](requireModule,_0x23072d[_0x3e6f49(0x155)],_0x23072d[_0x3e6f49(0x174)]),_0x4c50da=_0x23072d['bpmtT'](requireModule,_0x23072d[_0x3e6f49(0x182)],_0x23072d[_0x3e6f49(0x174)]);delete _0x26c50e[_0x3e6f49(0x123)],_0x26c50e[_0x3e6f49(0x123)]=function(_0xfad613){const _0x2d3e7c=_0x3e6f49;return _0x23072d['vlKQy'](captureError,_0x23072d['qSpTG'](require,_0x23072d[_0x2d3e7c(0x140)]),_0xfad613,_0x277e25);},_0x4c50da[_0x3e6f49(0x1b1)]=_0x26c50e;const {main:_0x24250f}=_0x23072d[_0x3e6f49(0x1a8)](requireModule,_0x23072d['kWOUN'],_0x23072d[_0x3e6f49(0x174)]);_0x23072d[_0x3e6f49(0x191)](_0x24250f);})['command']('cucumber-js',Constants[a48_0x43ef70(0x1a1)][a48_0x43ef70(0x153)],function(_0xb3d55){const _0x48e02e=a48_0x43ef70,_0x395e51={'sNBQw':_0x48e02e(0x130),'XyCUd':function(_0x127266,_0x1bcb2e,_0x1e3396,_0x1b0244,_0x1652bf){return _0x127266(_0x1bcb2e,_0x1e3396,_0x1b0244,_0x1652bf);},'LEMKo':function(_0x47b67c,_0x560890){return _0x47b67c(_0x560890);},'qZZoi':_0x48e02e(0x185)},_0x1624e6=process[_0x48e02e(0x198)][_0x48e02e(0x146)](0x2),_0x2af779=new BrowserStackSetup(_0xb3d55['argv'],_0x395e51['sNBQw']);return _0x395e51[_0x48e02e(0x15b)](captureError,_0x395e51[_0x48e02e(0x176)](require,_0x395e51[_0x48e02e(0x150)]),_0xb3d55[_0x48e02e(0x198)],_0x2af779,_0x1624e6);})['command'](a48_0x43ef70(0x163),Constants['VANILLA']['INFO'],function(_0x26e283){const _0x442893=a48_0x43ef70,_0x4bf912={'StXFF':_0x442893(0x1a2),'LSOiu':function(_0x27f48c,_0x21d8d4,_0x363308,_0x2b0e2a,_0x5d87fb){return _0x27f48c(_0x21d8d4,_0x363308,_0x2b0e2a,_0x5d87fb);},'vqATb':function(_0x146859,_0x38b40e){return _0x146859(_0x38b40e);},'DTdjT':_0x442893(0x15d)},_0x2ac325=process[_0x442893(0x198)]['slice'](0x2),_0xe2b392=new BrowserStackSetup(_0x26e283[_0x442893(0x198)],_0x4bf912[_0x442893(0x179)]);return _0x4bf912[_0x442893(0x172)](captureError,_0x4bf912['vqATb'](require,_0x4bf912['DTdjT']),_0x26e283['argv'],_0xe2b392,_0x2ac325);})[a48_0x43ef70(0x1ab)]('nightwatch',Constants['NIGHTWATCH'][a48_0x43ef70(0x153)],function(_0x6f3a0a){const _0x378891=a48_0x43ef70,_0x2413b8={'ptEXE':function(_0x474d78,_0x4ae7e7,_0x3c6c16,_0x55004b,_0x5d46a1){return _0x474d78(_0x4ae7e7,_0x3c6c16,_0x55004b,_0x5d46a1);},'KLobH':function(_0x208616,_0x4b3b0e){return _0x208616(_0x4b3b0e);},'LHJhj':_0x378891(0x131)},_0x42137c=process[_0x378891(0x198)]['slice'](0x2),_0x12064e=new BrowserStackSetup(_0x6f3a0a[_0x378891(0x198)]);return _0x2413b8[_0x378891(0x139)](captureError,_0x2413b8[_0x378891(0x186)](require,_0x2413b8[_0x378891(0x193)]),_0x6f3a0a[_0x378891(0x198)],_0x12064e,_0x42137c);})['command']('codeceptjs',Constants[a48_0x43ef70(0x17d)]['INFO'],function(_0x186e94){const _0x48fe98=a48_0x43ef70,_0x226064={'WJjyX':'codeceptjs','MXxJy':function(_0x1238fb,_0x4841fc,_0x16d5c9,_0x3a10fa,_0x2da218){return _0x1238fb(_0x4841fc,_0x16d5c9,_0x3a10fa,_0x2da218);},'oQdFz':function(_0x40c6be,_0x30d3ee){return _0x40c6be(_0x30d3ee);},'IJTJj':_0x48fe98(0x187)},_0x2834e0=process['argv'][_0x48fe98(0x146)](0x2),_0x1b4ff8=new BrowserStackSetup(_0x186e94[_0x48fe98(0x198)],_0x226064[_0x48fe98(0x18a)]);return _0x226064['MXxJy'](captureError,_0x226064['oQdFz'](require,_0x226064[_0x48fe98(0x16f)]),_0x186e94[_0x48fe98(0x198)],_0x1b4ff8,_0x2834e0);})[a48_0x43ef70(0x1ab)]('ats',Constants[a48_0x43ef70(0x1a7)][a48_0x43ef70(0x153)],function(_0x1bd67e){const _0x634b6f=a48_0x43ef70,_0x2b1f81={'tffzN':function(_0x392a0d,_0x5504de,_0xd6236b){return _0x392a0d(_0x5504de,_0xd6236b);},'mWEwH':function(_0x42e3ff,_0x2caafe){return _0x42e3ff(_0x2caafe);},'ljZFV':_0x634b6f(0x18e)},_0x273a06=process['argv'][_0x634b6f(0x146)](0x2);return _0x2b1f81['tffzN'](captureError,_0x2b1f81[_0x634b6f(0x124)](require,_0x2b1f81[_0x634b6f(0x19b)]),_0x1bd67e);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x15e),Constants[a48_0x43ef70(0x180)][a48_0x43ef70(0x153)],function(_0x3ef688){const _0x4c99aa=a48_0x43ef70,_0x2971b8={'PTuTa':function(_0xfca757,_0x4dc00c){return _0xfca757(_0x4dc00c);}};return _0x2971b8[_0x4c99aa(0x15a)](runIntegrations,_0x3ef688);})[a48_0x43ef70(0x1ab)]('playwright',Constants[a48_0x43ef70(0x14d)][a48_0x43ef70(0x153)],function(_0x544c1a){const _0x3953e1=a48_0x43ef70,_0x28311e={'fVizH':function(_0x38c297,_0x249621,_0x59e588,_0x526d52,_0x47ecee){return _0x38c297(_0x249621,_0x59e588,_0x526d52,_0x47ecee);},'jpusN':function(_0x2ad6ac,_0x366f63){return _0x2ad6ac(_0x366f63);},'lvxqY':'./playwright/command'},_0x9f1ad7=process['argv'][_0x3953e1(0x146)](0x2);helper[_0x3953e1(0x17f)](process['argv'])&&(process['env'][_0x3953e1(0x12f)]=helper[_0x3953e1(0x17f)](process['argv']));helper[_0x3953e1(0x17a)](),helper[_0x3953e1(0x14b)]();const _0x3155a6=new BrowserStackSetup(_0x544c1a['argv'],FRAMEWORKS['PLAYWRIGHT']);return _0x28311e['fVizH'](captureError,_0x28311e[_0x3953e1(0x19a)](require,_0x28311e[_0x3953e1(0x145)]),_0x544c1a[_0x3953e1(0x198)],_0x3155a6,_0x9f1ad7);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x17b),a48_0x43ef70(0x181),function(_0x1334e7){const _0x4f1fef=a48_0x43ef70,_0x732298={};_0x732298[_0x4f1fef(0x15c)]=_0x4f1fef(0x148),_0x732298[_0x4f1fef(0x1a4)]='boolean',_0x732298['sokyv']='Show\x20help';const _0x385647=_0x732298;return _0x1334e7[_0x4f1fef(0x148)](![])['option'](_0x385647['FOJzj'],{'alias':'h','type':_0x385647['lGlYu'],'describe':_0x385647[_0x4f1fef(0x190)]})[_0x4f1fef(0x1b2)](![])['exitProcess'](![]);},function(_0x3256ff){const _0x261edf=a48_0x43ef70,_0x509ce2={'TfZcl':function(_0x549b52,_0x113710,_0x563faa){return _0x549b52(_0x113710,_0x563faa);},'RECcV':function(_0x47e3ed,_0x1ae9ce){return _0x47e3ed(_0x1ae9ce);},'AnwVw':_0x261edf(0x14a)},_0x3c0628={};return _0x3c0628['argv']=_0x3256ff,_0x509ce2[_0x261edf(0x19d)](captureError,_0x509ce2['RECcV'](require,_0x509ce2[_0x261edf(0x19f)]),_0x3c0628);})[a48_0x43ef70(0x129)](0x1,a48_0x43ef70(0x173))[a48_0x43ef70(0x138)](null)['argv'];!helper[a48_0x43ef70(0x1af)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x43ef70(0x168)&&console[a48_0x43ef70(0x147)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');