browserstack-node-sdk 1.49.5 → 1.49.7

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 (186) 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/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a44_0x2576(_0x2fedd6,_0xd6e9b3){const _0xb58073=a44_0xb580();return a44_0x2576=function(_0x257638,_0x573c39){_0x257638=_0x257638-0x1ce;let _0xbc452=_0xb58073[_0x257638];return _0xbc452;},a44_0x2576(_0x2fedd6,_0xd6e9b3);}function a44_0xb580(){const _0x22928d=['startsWith','toISOString','format','getTransformPath','NKGMQ','afterWorkerHook','TEST_LOG','slice','Searching\x20for\x20key:\x20','KjdDq','error','LogCreated','uEFOV','YItTA','CRQuB','PLAYWRIGHT','filePath','stopAndGenerate','TSvik','getInstance','501424jOZuyP','iTZci','@playwright/test','lXQlU','NSqdE','xWQYL','FugSO','onTestBegin','requestSpyCallback','match','LefDT','../../../helpers/performance/performance-tester','onStepBegin','size','calculatePerformance','jCCsz','common','getTime','Error\x20in\x20sending\x20trace\x20file:\x20%s','NDdwe','4688700ptrFAi','UouCE','1.42.0','CICAW','882456XdhVVI','12688240GsfUfu','test','playwright/lib/transform/transform.js','xFKxJ','1.35.0','existsSync','length','../../../helpers/helper','readdirSync','onStepEnd','compareVersions','cgXXm','Xvewy','getLoadUtilsPath','extname','createReadStream','ERROR','SwSLl','sendTestLog','statSync','pQHpa','sendEventData','endsWith','../../v2/browserstackCLI','OfjDg','Jpobp','ibrfS','wWTnV','substr','Found\x20key:\x20','GEGlz','1.38.0','doo11ySync','\x20in\x20attachments','START_TIME','pcRcd','lNthQ','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','basename','addTraceFilePath','6FXwrOE','filter','performance-report-worker-','NEnMJ','vqGZu','playwright/lib/common/configLoader.js','FJNun','onTestEnd','rZEjF','TEST_ATTACHMENT','nmGnX','DQfPF','testUId','HzDdV','JIsMD','jtIyU','resolve','RjnFK','12838958vgDUNh','BZYve','validateFilePath','join','Total\x20duration\x20for\x20whole\x20build\x20is\x20','.json','includes','getTestRunIdentifier','getTestIdentifier','DMuln','findNestedKey','@playwright/test/lib/common/transform.js','afterTestHook','HvwaI','message','oVPZq','beforeTestHook','zIqTg','uploadTraceZip','KeEPp','171VRZueV','../../../helpers/test-observability/sessionHandler','6RzzIod','ArBlO','AhVxg','\x20bytes','ajYab','map','jLDfn','performance-reporter.html','trace','GEQWp','path','nnIyn','cFAwv','winstonLogger','util','./test-details','4035262ijZQms','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','LDauo','attachments','runner/projectUtils.js','getPlaywrightLibPath','getTestTags','xfycx','tarWM','GYnjZ','getFailureData','onBegin','caTDS','name','call','YABpc','COhEt','process.js','aESXb','LtXAv','getConfigLoaderPath','toString','stack','tags','@playwright/test/lib/common/configLoader.js','../../../helpers/logger','jWeED','5eiRmlx','getForkProcessPath','env','debug','sendTraceZip','toLowerCase','\x20in\x20arguments','LSEzs','Arguments','../../../helpers/test-observability/utils','ERMSx','.zip','prototype','NODCA','TPFRH','763923TnOCTh'];a44_0xb580=function(){return _0x22928d;};return a44_0xb580();}const a44_0x93a1c8=a44_0x2576;(function(_0x4c2fd0,_0xb6cdaf){const _0x4bdf96=a44_0x2576,_0x5ebaf6=_0x4c2fd0();while(!![]){try{const _0x433971=parseInt(_0x4bdf96(0x274))/0x1+-parseInt(_0x4bdf96(0x1e5))/0x2*(parseInt(_0x4bdf96(0x247))/0x3)+parseInt(_0x4bdf96(0x270))/0x4*(parseInt(_0x4bdf96(0x238))/0x5)+-parseInt(_0x4bdf96(0x20d))/0x6*(-parseInt(_0x4bdf96(0x21d))/0x7)+parseInt(_0x4bdf96(0x25c))/0x8*(-parseInt(_0x4bdf96(0x20b))/0x9)+parseInt(_0x4bdf96(0x275))/0xa+-parseInt(_0x4bdf96(0x1f7))/0xb;if(_0x433971===_0xb6cdaf)break;else _0x5ebaf6['push'](_0x5ebaf6['shift']());}catch(_0x49cb6a){_0x5ebaf6['push'](_0x5ebaf6['shift']());}}}(a44_0xb580,0xbded2));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x93a1c8(0x241)),PerformanceTester=require(a44_0x93a1c8(0x267)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require('../../../helpers/test-observability/constants'),helper=require(a44_0x93a1c8(0x27c)),path=require(a44_0x93a1c8(0x217)),logger=require(a44_0x93a1c8(0x236))[a44_0x93a1c8(0x21a)],SessionHandler=require(a44_0x93a1c8(0x20c)),TestDetails=require(a44_0x93a1c8(0x21c)),util=require(a44_0x93a1c8(0x21b)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x1b0b3a=a44_0x93a1c8,_0x11a4d2={'DQfPF':function(_0x347d45,_0x53477b){return _0x347d45(_0x53477b);},'hKOla':_0x1b0b3a(0x1d4)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x11a4d2[_0x1b0b3a(0x1f0)](require,_0x11a4d2['hKOla'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x10b5ec=>{const _0x21db56=a44_0x93a1c8;return _0x10b5ec[_0x21db56(0x265)](/@(\w+)/g)?.['map'](_0x255f67=>_0x255f67['slice'](0x1))||[];};exports[a44_0x93a1c8(0x223)]=_0x1dd76c=>{const _0x422469=a44_0x93a1c8,_0x14039e={'lXQlU':function(_0x4ad6c4,_0x1cb0d6){return _0x4ad6c4(_0x1cb0d6);}};if(_0x1dd76c[_0x422469(0x234)])return _0x1dd76c[_0x422469(0x234)][_0x422469(0x212)](_0x301ea4=>_0x301ea4[_0x422469(0x248)]('@')?_0x301ea4[_0x422469(0x1d9)](0x1):_0x301ea4);return _0x14039e[_0x422469(0x25f)](getTagsFromTitle,_0x1dd76c['title']);},exports[a44_0x93a1c8(0x26a)]=async()=>{const _0x5031ad=a44_0x93a1c8,_0x586bca={'CRQuB':function(_0x132592,_0x22de65){return _0x132592-_0x22de65;},'KjdDq':_0x5031ad(0x214),'SwSLl':_0x5031ad(0x228),'BYhHG':'endSession','rjelz':_0x5031ad(0x263),'FugSO':_0x5031ad(0x1ec),'TPFRH':_0x5031ad(0x268),'COhEt':_0x5031ad(0x27e),'iLNBS':'beforeWorkerHook','ajYab':_0x5031ad(0x24d),'NSqdE':_0x5031ad(0x207),'qqZyM':_0x5031ad(0x203),'xFKxJ':_0x5031ad(0x1dd),'HvwaI':'processPageScreenshot','LefDT':'sendSessionDetails','NODCA':'setupBrowserDetails','GEGlz':_0x5031ad(0x264),'GEQWp':_0x5031ad(0x1cf),'FJNun':function(_0x39992f,_0x156e56){return _0x39992f(_0x156e56);},'CICAW':function(_0x612670,_0x19d3f5){return _0x612670/_0x19d3f5;},'xWQYL':function(_0x9facb6,_0x4d18d2){return _0x9facb6+_0x4d18d2;},'pQHpa':function(_0x445f5f,_0xcc8702){return _0x445f5f(_0xcc8702);},'rZEjF':function(_0x288943,_0x3a673b){return _0x288943*_0x3a673b;},'LDauo':function(_0x8fc3f1,_0x3a4787){return _0x8fc3f1/_0x3a4787;},'zIqTg':function(_0x1fc7e0,_0x4480d6){return _0x1fc7e0+_0x4480d6;}};if(!process[_0x5031ad(0x23a)][_0x5031ad(0x1df)])return;const _0x838596=_0x586bca[_0x5031ad(0x256)](new Date()['getTime'](),new Date(process[_0x5031ad(0x23a)][_0x5031ad(0x1df)])[_0x5031ad(0x26d)]()),_0x4e561f=await PerformanceTester[_0x5031ad(0x259)](_0x586bca[_0x5031ad(0x251)],[_0x586bca[_0x5031ad(0x1ce)],_0x586bca['BYhHG'],_0x586bca['rjelz'],_0x586bca[_0x5031ad(0x262)],_0x586bca[_0x5031ad(0x246)],_0x586bca[_0x5031ad(0x22d)]]),_0x355cc3=fs[_0x5031ad(0x27d)]('.'),_0x276bd8=_0x355cc3[_0x5031ad(0x1e6)](_0x10ae22=>_0x10ae22[_0x5031ad(0x248)](_0x5031ad(0x1e7))&&_0x10ae22[_0x5031ad(0x1d3)](_0x5031ad(0x1fc))),_0x2d7434=await PerformanceTester['calculateTimesFromMultipleFiles'](_0x276bd8,[_0x586bca['iLNBS'],_0x586bca[_0x5031ad(0x211)],_0x586bca[_0x5031ad(0x260)],_0x586bca['qqZyM'],_0x586bca[_0x5031ad(0x278)],_0x586bca[_0x5031ad(0x204)],_0x586bca[_0x5031ad(0x266)],_0x586bca[_0x5031ad(0x245)],_0x586bca[_0x5031ad(0x1db)],_0x586bca[_0x5031ad(0x216)]]);_0x586bca[_0x5031ad(0x1eb)](debug,_0x5031ad(0x1fb)+_0x586bca[_0x5031ad(0x273)](_0x838596,0x3e8)+'\x20s'),_0x586bca[_0x5031ad(0x1eb)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x586bca[_0x5031ad(0x261)](_0x2d7434,_0x4e561f)),_0x586bca[_0x5031ad(0x1d1)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x586bca[_0x5031ad(0x1ed)](_0x586bca[_0x5031ad(0x21f)](_0x586bca[_0x5031ad(0x208)](_0x2d7434,_0x4e561f),_0x838596),0x64));},exports[a44_0x93a1c8(0x24b)]=()=>{const _0x49ae43=a44_0x93a1c8,_0x44c0e3={'pcRcd':function(_0x403cc5,_0x1da83b){return _0x403cc5(_0x1da83b);},'oVPZq':function(_0xc92a55,_0x348a35){return _0xc92a55>=_0x348a35;},'lWltp':_0x49ae43(0x1dc),'cFAwv':_0x49ae43(0x277),'wsXmi':'playwright','jQwEE':_0x49ae43(0x279),'uEFOV':'@playwright/test/lib/transform/transform.js','RjnFK':_0x49ae43(0x25e),'yNmCQ':_0x49ae43(0x202)},_0x35145b=_0x44c0e3[_0x49ae43(0x1e0)](getFrameworkVersion,FRAMEWORKS[_0x49ae43(0x257)]);if(_0x44c0e3['oVPZq'](helper['compareVersions'](_0x35145b,_0x44c0e3['lWltp']),0x0))return[_0x44c0e3[_0x49ae43(0x219)],_0x44c0e3['wsXmi']];if(_0x44c0e3[_0x49ae43(0x206)](helper[_0x49ae43(0x27f)](_0x35145b,_0x44c0e3['jQwEE']),0x0))return[_0x44c0e3[_0x49ae43(0x254)],_0x44c0e3[_0x49ae43(0x1f6)]];return[_0x44c0e3['yNmCQ'],_0x44c0e3[_0x49ae43(0x1f6)]];},exports[a44_0x93a1c8(0x231)]=()=>{const _0x3087b0=a44_0x93a1c8,_0x498388={'lNthQ':function(_0x3f104e,_0x2d2067){return _0x3f104e(_0x2d2067);},'usOGX':function(_0x2d3574,_0x1a46bc){return _0x2d3574>=_0x1a46bc;},'NEnMJ':_0x3087b0(0x1dc),'LSEzs':_0x3087b0(0x1ea),'BSZkV':'playwright','HzDdV':_0x3087b0(0x235),'Jpobp':_0x3087b0(0x25e)},_0x2086c2=_0x498388[_0x3087b0(0x1e1)](getFrameworkVersion,FRAMEWORKS[_0x3087b0(0x257)]);if(_0x498388['usOGX'](helper[_0x3087b0(0x27f)](_0x2086c2,_0x498388[_0x3087b0(0x1e8)]),0x0))return[_0x498388[_0x3087b0(0x23f)],_0x498388['BSZkV']];return[_0x498388[_0x3087b0(0x1f2)],_0x498388[_0x3087b0(0x1d6)]];},exports[a44_0x93a1c8(0x282)]=()=>{const _0x39b69f=a44_0x93a1c8,_0x45a362={};_0x45a362[_0x39b69f(0x1d5)]='runner/loadUtils.js';const _0x4009bb=_0x45a362;return helper['getPlaywrightLibPath'](_0x4009bb[_0x39b69f(0x1d5)]);},exports['getProjectUtilsPath']=()=>{const _0x2d4ee4=a44_0x93a1c8,_0x3226e2={};_0x3226e2[_0x2d4ee4(0x213)]=_0x2d4ee4(0x221);const _0x578655=_0x3226e2;return helper[_0x2d4ee4(0x222)](_0x578655['jLDfn']);},exports[a44_0x93a1c8(0x239)]=()=>{const _0x172406=a44_0x93a1c8,_0x5a9e38={'ibrfS':function(_0x19055e,_0x196363){return _0x19055e(_0x196363);},'caTDS':function(_0xf92a3c,_0xa50a51){return _0xf92a3c>=_0xa50a51;},'jtIyU':_0x172406(0x1dc),'YItTA':'lib','KeEPp':_0x172406(0x26c),'JIsMD':_0x172406(0x22e),'Xvewy':_0x172406(0x276)},_0x15f3db=_0x5a9e38[_0x172406(0x1d7)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x5a9e38[_0x172406(0x229)](helper['compareVersions'](_0x15f3db,_0x5a9e38[_0x172406(0x1f4)]),0x0))return path[_0x172406(0x1fa)](_0x5a9e38[_0x172406(0x255)],_0x5a9e38['KeEPp'],_0x5a9e38[_0x172406(0x1f3)]);return path[_0x172406(0x1fa)](_0x5a9e38[_0x172406(0x281)],_0x5a9e38['YItTA'],_0x5a9e38[_0x172406(0x20a)],_0x5a9e38[_0x172406(0x1f3)]);},exports[a44_0x93a1c8(0x227)]=(_0x52e3d5,{test_run_uuid:_0x5330a8})=>{const _0x21cb12=a44_0x93a1c8,_0x1298ba={'wWTnV':_0x21cb12(0x285),'ifqxM':_0x21cb12(0x24e),'NKGMQ':function(_0x46f68e,_0x227333){return _0x46f68e<=_0x227333;},'YABpc':function(_0x2f6197,_0x1fa304){return _0x2f6197(_0x1fa304);},'AhVxg':'Test\x20timeout\x20of','jWeED':function(_0x28f02a,_0xaa5d11){return _0x28f02a(_0xaa5d11);},'xfycx':function(_0x5f3d9f,_0x46fab4){return _0x5f3d9f>=_0x46fab4;},'ERMSx':_0x21cb12(0x272),'UouCE':function(_0x2b6f86,_0x257c5f){return _0x2b6f86>_0x257c5f;},'TSvik':function(_0x4d49a1,_0x59a79b){return _0x4d49a1(_0x59a79b);},'sQIbu':function(_0x49c346,_0x2555f6,_0x2eb46e){return _0x49c346(_0x2555f6,_0x2eb46e);},'RMrvL':_0x21cb12(0x276)};if(!_0x52e3d5||_0x1298ba[_0x21cb12(0x24c)](_0x52e3d5['length'],0x0))return[];const _0x4113c3=_0x1298ba[_0x21cb12(0x22c)](removeAnsiColors,_0x52e3d5[0x0][_0x21cb12(0x205)]);if(_0x4113c3[_0x21cb12(0x248)](_0x1298ba[_0x21cb12(0x20f)])){const _0x4a1209=_0x52e3d5[0x0],_0x475516=_0x1298ba[_0x21cb12(0x237)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x4a1209[_0x21cb12(0x233)]||_0x1298ba[_0x21cb12(0x224)](_0x475516,_0x1298ba[_0x21cb12(0x242)]))&&_0x1298ba[_0x21cb12(0x271)](_0x52e3d5[_0x21cb12(0x27b)],0x1))return{'failureData':[{'backtrace':[_0x4113c3,_0x1298ba[_0x21cb12(0x25a)](removeAnsiColors,_0x52e3d5[0x1][_0x21cb12(0x233)])]}],'logs':_0x52e3d5[_0x21cb12(0x24f)](0x2)['map'](_0x2b2f41=>{const _0x33c61a=_0x21cb12;return{'timestamp':new Date()[_0x33c61a(0x249)](),'level':_0x1298ba[_0x33c61a(0x1d8)],'message':''+_0x2b2f41[_0x33c61a(0x205)],'kind':_0x1298ba['ifqxM'],'http_response':{},'test_run_uuid':_0x5330a8};})};}return{'failureData':_0x1298ba['sQIbu'](failureData,_0x52e3d5,_0x1298ba['RMrvL']),'logs':[]};},exports[a44_0x93a1c8(0x1f9)]=_0x3e22df=>{const _0x1a941b=a44_0x93a1c8,_0x5b7243={};_0x5b7243['GYnjZ']=function(_0x5c098c,_0x415c55){return _0x5c098c!==_0x415c55;},_0x5b7243[_0x1a941b(0x1e9)]=_0x1a941b(0x243),_0x5b7243[_0x1a941b(0x26f)]=function(_0x2176f8,_0x486390){return _0x2176f8>_0x486390;};const _0x4663e4=_0x5b7243;if(_0x3e22df&&fs[_0x1a941b(0x27a)](_0x3e22df)){if(_0x4663e4[_0x1a941b(0x226)](path[_0x1a941b(0x283)](_0x3e22df)[_0x1a941b(0x23d)](),_0x4663e4[_0x1a941b(0x1e9)]))return logger[_0x1a941b(0x252)](_0x1a941b(0x1e2)+_0x3e22df),![];const _0x45e46a=fs[_0x1a941b(0x1d0)](_0x3e22df)[_0x1a941b(0x269)];if(_0x4663e4[_0x1a941b(0x26f)](_0x45e46a,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x1a941b(0x252)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x45e46a+_0x1a941b(0x210)),![];return!![];}return![];},exports[a44_0x93a1c8(0x201)]=(_0x4b0c34,_0x55d5b5)=>{const _0x227358=a44_0x93a1c8,_0x10fefc={};_0x10fefc['pmZkr']=_0x227358(0x240);const _0x1dddff=_0x10fefc;logger[_0x227358(0x23b)](_0x227358(0x250)+_0x55d5b5);if(_0x4b0c34&&_0x4b0c34[_0x227358(0x220)]){const _0x5b6b4b=_0x4b0c34[_0x227358(0x220)]['find'](_0x2a57dd=>_0x2a57dd[_0x227358(0x22a)]===_0x227358(0x215));if(_0x5b6b4b)return logger[_0x227358(0x23b)](_0x227358(0x1da)+_0x55d5b5+_0x227358(0x1de)),_0x5b6b4b[_0x55d5b5];}else{if(_0x4b0c34&&Object[_0x227358(0x244)][_0x227358(0x232)][_0x227358(0x22b)](_0x4b0c34)[_0x227358(0x1fd)](_0x1dddff['pmZkr']))for(const _0x1df3b9 of _0x4b0c34){if(_0x1df3b9[_0x55d5b5])return logger[_0x227358(0x23b)](_0x227358(0x1da)+_0x55d5b5+_0x227358(0x23e)),_0x1df3b9[_0x55d5b5];}};return'';},exports[a44_0x93a1c8(0x209)]=async(_0x204f11,_0x4e37c4)=>{const _0x3d05ad=a44_0x93a1c8,_0x1f25be={};_0x1f25be[_0x3d05ad(0x1f8)]=_0x3d05ad(0x253),_0x1f25be['LtXAv']=_0x3d05ad(0x1ee),_0x1f25be[_0x3d05ad(0x20e)]=_0x3d05ad(0x23c),_0x1f25be[_0x3d05ad(0x26b)]=_0x3d05ad(0x26e);const _0x55a9cd=_0x1f25be;try{const _0x388af4={'event_type':_0x55a9cd[_0x3d05ad(0x1f8)],'logs':[{'data':_0x204f11?fs[_0x3d05ad(0x284)](_0x204f11):'','test_run_uuid':_0x4e37c4,'kind':_0x55a9cd[_0x3d05ad(0x230)],'fileName':_0x204f11?path[_0x3d05ad(0x1e3)](_0x204f11):''}]};return await SessionHandler[_0x3d05ad(0x1d2)](_0x388af4,0x0,_0x55a9cd['ArBlO']);}catch(_0x2af646){logger[_0x3d05ad(0x252)](util[_0x3d05ad(0x24a)](_0x55a9cd[_0x3d05ad(0x26b)],_0x2af646));}},exports[a44_0x93a1c8(0x23c)]=async(_0x522998,_0x395b53)=>{const _0x542fbd=a44_0x93a1c8,_0x4afc90={'GRFmY':_0x542fbd(0x217),'tarWM':'Trace\x20enabled','cgXXm':function(_0x4b14da){return _0x4b14da();},'aESXb':_0x542fbd(0x26e)};try{logger[_0x542fbd(0x23b)](_0x542fbd(0x21e)+_0x395b53);let _0x3687c0=await exports[_0x542fbd(0x201)](_0x522998,_0x4afc90['GRFmY']);if(exports[_0x542fbd(0x1f9)](_0x3687c0)){logger[_0x542fbd(0x23b)](_0x4afc90[_0x542fbd(0x225)]),_0x3687c0=path[_0x542fbd(0x1f5)](_0x3687c0);const _0x9e1ba={};_0x9e1ba[_0x542fbd(0x1f1)]=_0x395b53,_0x9e1ba[_0x542fbd(0x258)]=_0x3687c0;const _0x444ad2=_0x9e1ba;_0x4afc90[_0x542fbd(0x280)](getBrowserstackCLI)[_0x542fbd(0x25b)]()['isRunning']()?TestInfo['addTraceFilePath'](_0x444ad2):TestDetails[_0x542fbd(0x1e4)](_0x444ad2);};}catch(_0x2a9df9){logger[_0x542fbd(0x252)](util[_0x542fbd(0x24a)](_0x4afc90[_0x542fbd(0x22f)],_0x2a9df9));}},exports[a44_0x93a1c8(0x1ff)]=_0x1c7328=>{const _0x37af08=a44_0x93a1c8,_0x2889b9={};_0x2889b9[_0x37af08(0x200)]=function(_0x570273,_0x29f938){return _0x570273+_0x29f938;},_0x2889b9[_0x37af08(0x218)]=function(_0x44665b,_0x500086){return _0x44665b+_0x500086;};const _0x1b62c5=_0x2889b9;return _0x1b62c5[_0x37af08(0x200)](_0x1b62c5[_0x37af08(0x218)](_0x1c7328['_projectId'],'-'),_0x1c7328['id']);},exports[a44_0x93a1c8(0x1fe)]=(_0x2122ec,_0x58a742)=>{const _0x394838=a44_0x93a1c8,_0x36f2d4={};_0x36f2d4['nmGnX']=function(_0x9f9014,_0x4261ac){return _0x9f9014+_0x4261ac;},_0x36f2d4['iTZci']=function(_0x3e6413,_0x2a5648){return _0x3e6413+_0x2a5648;};const _0x4c042e=_0x36f2d4;return _0x4c042e[_0x394838(0x1ef)](_0x4c042e[_0x394838(0x25d)](_0x2122ec['id'],'-'),_0x58a742);};
1
+ const a44_0x5378e9=a44_0x1915;function a44_0x4eb1(){const _0x19530f=['../../../helpers/test-observability/constants','message','jxwid','playwright/lib/common/configLoader.js','util','includes','isRunning','name','toLowerCase','onTestBegin','Total\x20duration\x20for\x20whole\x20build\x20is\x20','endsWith','getTransformPath','@playwright/test/lib/transform/transform.js','sendTestLog','zPBVe','findNestedKey','map','jyUSW','mKlax','28eVubEt','addTraceFilePath','process.js','Found\x20key:\x20','MpWtc','join','getTime','ZMXyp','521802BBgdWo','DKSeo','Fsljf','afterWorkerHook','2882QQgitg','getPlaywrightLibPath','uploadTraceZip','processPageScreenshot','sVVpM','YNrVq','trace','performance-report-worker-','size','filter','QwyhR','env','271564CgkcfU','EpsYp','hdZdn','520728jIRkmu','onStepBegin','stack','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','compareVersions','1.42.0','iIfja','VqxFx','./test-details','toISOString','readdirSync','length','hykWO','START_TIME','getLoadUtilsPath','call','Tomcu','IBbkP','../../v2/browserstackCLI','FOkaA','1.38.0','playwright/lib/transform/transform.js','40192uKIisI','.json','LhGTV','getInstance','Trace\x20enabled','path','xlbqM','Kooqh','test','debug','find','testUId','rychw','RKqbT','12YLJquS','statSync','filePath','../../../helpers/helper','sendTraceZip','getProjectUtilsPath','resolve','onStepEnd','@playwright/test/lib/common/configLoader.js','PLAYWRIGHT','ErVck','jVVpI','attachments','IUXwb','ttzBv','beforeWorkerHook','extname','slice','getConfigLoaderPath','ywPpk','calculatePerformance','../../../helpers/test-observability/utils','OAJtg','ZprlM','SilVB','QLZxI','kSnaQ','10bIIFMx','LogCreated','runner/projectUtils.js','playwright','ZcaKB','lib','jJWHb','29064TBdADZ','endSession','beforeTestHook','rUYDJ','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','_projectId','Qvdtv','match','kOjGx','ZqZLx','getForkProcessPath','@playwright/test','toString','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','GVFTe','onTestEnd','@playwright/test/lib/common/transform.js','title','performance-reporter.html','Percentage\x20of\x20increased\x20time\x20is\x20','909036dOGoPF','existsSync','LgkvX','IEaRF','startsWith','hovCK','qzDRm','winstonLogger','AIieS','tags','prototype','FpgxG','format','\x20in\x20arguments','1706515PaUipf','BuShT','bNAdR','error','15xCsgbw','rvYjm','uibYE','TEST_LOG','Arguments','onBegin','../../../helpers/logger','getTestTags','Error\x20in\x20sending\x20trace\x20file:\x20%s','\x20bytes','validateFilePath','WpbRf','doo11ySync','sendEventData','calculateTimesFromMultipleFiles','1.35.0'];a44_0x4eb1=function(){return _0x19530f;};return a44_0x4eb1();}(function(_0x3143fe,_0x105400){const _0x299abf=a44_0x1915,_0x4c5f14=_0x3143fe();while(!![]){try{const _0x5b4c87=-parseInt(_0x299abf(0x28f))/0x1*(-parseInt(_0x299abf(0x1f2))/0x2)+parseInt(_0x299abf(0x23a))/0x3*(-parseInt(_0x299abf(0x276))/0x4)+-parseInt(_0x299abf(0x236))/0x5+-parseInt(_0x299abf(0x266))/0x6+parseInt(_0x299abf(0x25e))/0x7*(parseInt(_0x299abf(0x279))/0x8)+-parseInt(_0x299abf(0x228))/0x9*(parseInt(_0x299abf(0x20d))/0xa)+-parseInt(_0x299abf(0x26a))/0xb*(-parseInt(_0x299abf(0x214))/0xc);if(_0x5b4c87===_0x105400)break;else _0x4c5f14['push'](_0x4c5f14['shift']());}catch(_0x933aed){_0x4c5f14['push'](_0x4c5f14['shift']());}}}(a44_0x4eb1,0x41457));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x5378e9(0x207)),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x5378e9(0x24a)),helper=require(a44_0x5378e9(0x1f5)),path=require(a44_0x5378e9(0x1e9)),logger=require(a44_0x5378e9(0x240))[a44_0x5378e9(0x22f)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a44_0x5378e9(0x281)),util=require(a44_0x5378e9(0x24e)),TestInfo=require('../../v2/TestInfo');function a44_0x1915(_0x5ec2fe,_0x1ffc19){const _0x4eb192=a44_0x4eb1();return a44_0x1915=function(_0x19157f,_0x348241){_0x19157f=_0x19157f-0x1e7;let _0x2931ea=_0x4eb192[_0x19157f];return _0x2931ea;},a44_0x1915(_0x5ec2fe,_0x1ffc19);}let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0xc9c5f2=a44_0x5378e9,_0x4f0141={'jxwid':function(_0x14d9a7,_0x1fceed){return _0x14d9a7(_0x1fceed);},'FOkaA':_0xc9c5f2(0x28b)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x4f0141[_0xc9c5f2(0x24c)](require,_0x4f0141[_0xc9c5f2(0x28c)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x5444cf=>{const _0x53fefb=a44_0x5378e9;return _0x5444cf[_0x53fefb(0x21b)](/@(\w+)/g)?.['map'](_0x368fda=>_0x368fda[_0x53fefb(0x203)](0x1))||[];};exports[a44_0x5378e9(0x241)]=_0xfedafe=>{const _0x2b2622=a44_0x5378e9,_0x3ab691={'fpbFB':function(_0x4c098e,_0x2fd411){return _0x4c098e(_0x2fd411);}};if(_0xfedafe[_0x2b2622(0x231)])return _0xfedafe[_0x2b2622(0x231)][_0x2b2622(0x25b)](_0xdc6f40=>_0xdc6f40[_0x2b2622(0x22c)]('@')?_0xdc6f40['substr'](0x1):_0xdc6f40);return _0x3ab691['fpbFB'](getTagsFromTitle,_0xfedafe[_0x2b2622(0x225)]);},exports[a44_0x5378e9(0x206)]=async()=>{const _0x575a59=a44_0x5378e9,_0x17407c={'bNAdR':function(_0x52e5bf,_0x14c2a3){return _0x52e5bf-_0x14c2a3;},'rvYjm':_0x575a59(0x226),'xwNej':_0x575a59(0x23f),'CZNHf':_0x575a59(0x215),'MpWtc':_0x575a59(0x253),'jVVpI':_0x575a59(0x223),'DKSeo':_0x575a59(0x27a),'iIfja':_0x575a59(0x1f9),'pZVYC':_0x575a59(0x201),'YNrVq':_0x575a59(0x269),'uibYE':_0x575a59(0x216),'qzDRm':'afterTestHook','ZnCAB':_0x575a59(0x246),'PZUsU':_0x575a59(0x26d),'OnGoW':'sendSessionDetails','hovCK':'setupBrowserDetails','sVVpM':'requestSpyCallback','Fsljf':_0x575a59(0x258),'Qvdtv':function(_0x3903b6,_0x4563b5){return _0x3903b6(_0x4563b5);},'xlbqM':function(_0x148c3a,_0x575ba6){return _0x148c3a/_0x575ba6;},'ZqZLx':function(_0x28d429,_0x38dbd9){return _0x28d429+_0x38dbd9;},'AIieS':function(_0x4f25e1,_0x44df34){return _0x4f25e1*_0x44df34;},'OdTBN':function(_0x1a47c5,_0x3ab3fa){return _0x1a47c5+_0x3ab3fa;}};if(!process['env']['START_TIME'])return;const _0x295cf5=_0x17407c[_0x575a59(0x238)](new Date()['getTime'](),new Date(process[_0x575a59(0x275)][_0x575a59(0x286)])[_0x575a59(0x264)]()),_0x25829a=await PerformanceTester['stopAndGenerate'](_0x17407c[_0x575a59(0x23b)],[_0x17407c['xwNej'],_0x17407c['CZNHf'],_0x17407c[_0x575a59(0x262)],_0x17407c[_0x575a59(0x1fd)],_0x17407c[_0x575a59(0x267)],_0x17407c[_0x575a59(0x27f)]]),_0xd91787=fs[_0x575a59(0x283)]('.'),_0x17d5d8=_0xd91787[_0x575a59(0x273)](_0x2eb05d=>_0x2eb05d[_0x575a59(0x22c)](_0x575a59(0x271))&&_0x2eb05d[_0x575a59(0x255)](_0x575a59(0x290))),_0x15ae74=await PerformanceTester[_0x575a59(0x248)](_0x17d5d8,[_0x17407c['pZVYC'],_0x17407c[_0x575a59(0x26f)],_0x17407c[_0x575a59(0x23c)],_0x17407c[_0x575a59(0x22e)],_0x17407c['ZnCAB'],_0x17407c['PZUsU'],_0x17407c['OnGoW'],_0x17407c[_0x575a59(0x22d)],_0x17407c[_0x575a59(0x26e)],_0x17407c[_0x575a59(0x268)]]);_0x17407c['Qvdtv'](debug,_0x575a59(0x254)+_0x17407c[_0x575a59(0x1ea)](_0x295cf5,0x3e8)+'\x20s'),_0x17407c[_0x575a59(0x21a)](debug,_0x575a59(0x221)+_0x17407c[_0x575a59(0x21d)](_0x15ae74,_0x25829a)),_0x17407c[_0x575a59(0x21a)](debug,_0x575a59(0x227)+_0x17407c[_0x575a59(0x230)](_0x17407c[_0x575a59(0x1ea)](_0x17407c['OdTBN'](_0x15ae74,_0x25829a),_0x295cf5),0x64));},exports[a44_0x5378e9(0x256)]=()=>{const _0x1ddecf=a44_0x5378e9,_0x52c1fd={'IUXwb':function(_0x355106,_0x48b57d){return _0x355106(_0x48b57d);},'GVFTe':function(_0x339f99,_0x3eaa1f){return _0x339f99>=_0x3eaa1f;},'Tomcu':'1.38.0','oicCL':_0x1ddecf(0x28e),'ZpGec':'playwright','qnfWe':_0x1ddecf(0x249),'ZcaKB':_0x1ddecf(0x257),'Kooqh':_0x1ddecf(0x21f),'hykWO':_0x1ddecf(0x224)},_0x1f69dd=_0x52c1fd[_0x1ddecf(0x1ff)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x52c1fd[_0x1ddecf(0x222)](helper[_0x1ddecf(0x27d)](_0x1f69dd,_0x52c1fd[_0x1ddecf(0x289)]),0x0))return[_0x52c1fd['oicCL'],_0x52c1fd['ZpGec']];if(_0x52c1fd[_0x1ddecf(0x222)](helper[_0x1ddecf(0x27d)](_0x1f69dd,_0x52c1fd['qnfWe']),0x0))return[_0x52c1fd[_0x1ddecf(0x211)],_0x52c1fd['Kooqh']];return[_0x52c1fd[_0x1ddecf(0x285)],_0x52c1fd[_0x1ddecf(0x1eb)]];},exports[a44_0x5378e9(0x204)]=()=>{const _0xf79d61=a44_0x5378e9,_0x5a1c43={'BMVrz':function(_0x49df29,_0x1be730){return _0x49df29(_0x1be730);},'ttzBv':function(_0x257d6b,_0x30f10c){return _0x257d6b>=_0x30f10c;},'rUYDJ':'1.38.0','ErVck':_0xf79d61(0x24d),'sYvvQ':_0xf79d61(0x210),'FWWKV':_0xf79d61(0x1fa),'tjcZZ':_0xf79d61(0x21f)},_0xb6dc10=_0x5a1c43['BMVrz'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x5a1c43[_0xf79d61(0x200)](helper[_0xf79d61(0x27d)](_0xb6dc10,_0x5a1c43[_0xf79d61(0x217)]),0x0))return[_0x5a1c43[_0xf79d61(0x1fc)],_0x5a1c43['sYvvQ']];return[_0x5a1c43['FWWKV'],_0x5a1c43['tjcZZ']];},exports[a44_0x5378e9(0x287)]=()=>{const _0x2e8b91=a44_0x5378e9,_0xe9a0d={};_0xe9a0d[_0x2e8b91(0x208)]='runner/loadUtils.js';const _0x24f7df=_0xe9a0d;return helper[_0x2e8b91(0x26b)](_0x24f7df[_0x2e8b91(0x208)]);},exports[a44_0x5378e9(0x1f7)]=()=>{const _0x4b6305=a44_0x5378e9,_0x52df16={};_0x52df16[_0x4b6305(0x213)]=_0x4b6305(0x20f);const _0x256a73=_0x52df16;return helper['getPlaywrightLibPath'](_0x256a73[_0x4b6305(0x213)]);},exports[a44_0x5378e9(0x21e)]=()=>{const _0x51a562=a44_0x5378e9,_0x4f4edc={'LgkvX':function(_0x2061b5,_0x489ef7){return _0x2061b5(_0x489ef7);},'VqxFx':function(_0x8668ae,_0xacfa15){return _0x8668ae>=_0xacfa15;},'WpbRf':_0x51a562(0x28d),'zPBVe':_0x51a562(0x212),'SilVB':'common','hdZdn':_0x51a562(0x260),'VPIxP':_0x51a562(0x1ec)},_0x1692cf=_0x4f4edc[_0x51a562(0x22a)](getFrameworkVersion,FRAMEWORKS[_0x51a562(0x1fb)]);if(_0x4f4edc[_0x51a562(0x280)](helper[_0x51a562(0x27d)](_0x1692cf,_0x4f4edc[_0x51a562(0x245)]),0x0))return path[_0x51a562(0x263)](_0x4f4edc[_0x51a562(0x259)],_0x4f4edc[_0x51a562(0x20a)],_0x4f4edc[_0x51a562(0x278)]);return path[_0x51a562(0x263)](_0x4f4edc['VPIxP'],_0x4f4edc[_0x51a562(0x259)],_0x4f4edc[_0x51a562(0x20a)],_0x4f4edc[_0x51a562(0x278)]);},exports['getFailureData']=(_0x3efb56,{test_run_uuid:_0x460096})=>{const _0x151594=a44_0x5378e9,_0x30322b={'IEaRF':'ERROR','kSnaQ':_0x151594(0x23d),'mKlax':function(_0x1d541a,_0x2d80ea){return _0x1d541a<=_0x2d80ea;},'QLZxI':function(_0x2b8000,_0x5999dd){return _0x2b8000(_0x5999dd);},'XFeKB':'Test\x20timeout\x20of','ywPpk':function(_0xb039b3,_0x2ca147){return _0xb039b3>=_0x2ca147;},'EsLqj':_0x151594(0x27e),'LhGTV':function(_0x31f93a,_0x3a9acf){return _0x31f93a>_0x3a9acf;},'wWcol':function(_0x38d177,_0x1b5b3c){return _0x38d177(_0x1b5b3c);},'Ffgky':function(_0x50a663,_0x55c681,_0x407944){return _0x50a663(_0x55c681,_0x407944);},'xakDp':_0x151594(0x1ec)};if(!_0x3efb56||_0x30322b[_0x151594(0x25d)](_0x3efb56['length'],0x0))return[];const _0x14be26=_0x30322b['QLZxI'](removeAnsiColors,_0x3efb56[0x0][_0x151594(0x24b)]);if(_0x14be26[_0x151594(0x22c)](_0x30322b['XFeKB'])){const _0x108e27=_0x3efb56[0x0],_0xd7fb44=_0x30322b[_0x151594(0x20b)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x108e27[_0x151594(0x27b)]||_0x30322b[_0x151594(0x205)](_0xd7fb44,_0x30322b['EsLqj']))&&_0x30322b[_0x151594(0x291)](_0x3efb56[_0x151594(0x284)],0x1))return{'failureData':[{'backtrace':[_0x14be26,_0x30322b['wWcol'](removeAnsiColors,_0x3efb56[0x1]['stack'])]}],'logs':_0x3efb56[_0x151594(0x203)](0x2)[_0x151594(0x25b)](_0x2df2ae=>{const _0x40a593=_0x151594;return{'timestamp':new Date()[_0x40a593(0x282)](),'level':_0x30322b[_0x40a593(0x22b)],'message':''+_0x2df2ae[_0x40a593(0x24b)],'kind':_0x30322b[_0x40a593(0x20c)],'http_response':{},'test_run_uuid':_0x460096};})};}return{'failureData':_0x30322b['Ffgky'](failureData,_0x3efb56,_0x30322b['xakDp']),'logs':[]};},exports[a44_0x5378e9(0x244)]=_0x1768c2=>{const _0x574311=a44_0x5378e9,_0x4e4adc={};_0x4e4adc[_0x574311(0x28a)]=function(_0x390e4c,_0x4137ed){return _0x390e4c!==_0x4137ed;},_0x4e4adc[_0x574311(0x25c)]='.zip',_0x4e4adc[_0x574311(0x1f1)]=function(_0x18fff8,_0x1edad2){return _0x18fff8>_0x1edad2;};const _0x3a9d46=_0x4e4adc;if(_0x1768c2&&fs[_0x574311(0x229)](_0x1768c2)){if(_0x3a9d46[_0x574311(0x28a)](path[_0x574311(0x202)](_0x1768c2)[_0x574311(0x252)](),_0x3a9d46[_0x574311(0x25c)]))return logger[_0x574311(0x239)](_0x574311(0x27c)+_0x1768c2),![];const _0x2b7c60=fs[_0x574311(0x1f3)](_0x1768c2)[_0x574311(0x272)];if(_0x3a9d46['RKqbT'](_0x2b7c60,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x574311(0x239)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x2b7c60+_0x574311(0x243)),![];return!![];}return![];},exports[a44_0x5378e9(0x25a)]=(_0xba8aa5,_0x162426)=>{const _0x433b58=a44_0x5378e9,_0x4951a9={};_0x4951a9[_0x433b58(0x277)]=_0x433b58(0x23e);const _0x3b802c=_0x4951a9;logger[_0x433b58(0x1ed)]('Searching\x20for\x20key:\x20'+_0x162426);if(_0xba8aa5&&_0xba8aa5[_0x433b58(0x1fe)]){const _0x17240c=_0xba8aa5['attachments'][_0x433b58(0x1ee)](_0x25d354=>_0x25d354[_0x433b58(0x251)]===_0x433b58(0x270));if(_0x17240c)return logger[_0x433b58(0x1ed)](_0x433b58(0x261)+_0x162426+'\x20in\x20attachments'),_0x17240c[_0x162426];}else{if(_0xba8aa5&&Object[_0x433b58(0x232)][_0x433b58(0x220)][_0x433b58(0x288)](_0xba8aa5)[_0x433b58(0x24f)](_0x3b802c[_0x433b58(0x277)]))for(const _0x48499b of _0xba8aa5){if(_0x48499b[_0x162426])return logger[_0x433b58(0x1ed)](_0x433b58(0x261)+_0x162426+_0x433b58(0x235)),_0x48499b[_0x162426];}};return'';},exports[a44_0x5378e9(0x26c)]=async(_0x3c4724,_0x5913b9)=>{const _0x5940f7=a44_0x5378e9,_0x191e74={};_0x191e74[_0x5940f7(0x21c)]=_0x5940f7(0x20e),_0x191e74[_0x5940f7(0x209)]='TEST_ATTACHMENT',_0x191e74[_0x5940f7(0x265)]='sendTraceZip',_0x191e74['LBDRM']='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x16a3fe=_0x191e74;try{const _0x55b9cf={'event_type':_0x16a3fe['kOjGx'],'logs':[{'data':_0x3c4724?fs['createReadStream'](_0x3c4724):'','test_run_uuid':_0x5913b9,'kind':_0x16a3fe['ZprlM'],'fileName':_0x3c4724?path['basename'](_0x3c4724):''}]};return await SessionHandler[_0x5940f7(0x247)](_0x55b9cf,0x0,_0x16a3fe[_0x5940f7(0x265)]);}catch(_0x3e5b2a){logger[_0x5940f7(0x239)](util['format'](_0x16a3fe['LBDRM'],_0x3e5b2a));}},exports[a44_0x5378e9(0x1f6)]=async(_0x3e928d,_0x16e3c2)=>{const _0x26df68=a44_0x5378e9,_0x1e2998={'IFfMj':'path','FpgxG':_0x26df68(0x1e8),'ralzY':function(_0x43dad7){return _0x43dad7();},'BuShT':_0x26df68(0x242)};try{logger['debug'](_0x26df68(0x218)+_0x16e3c2);let _0x45378c=await exports['findNestedKey'](_0x3e928d,_0x1e2998['IFfMj']);if(exports[_0x26df68(0x244)](_0x45378c)){logger[_0x26df68(0x1ed)](_0x1e2998[_0x26df68(0x233)]),_0x45378c=path[_0x26df68(0x1f8)](_0x45378c);const _0x3482a4={};_0x3482a4[_0x26df68(0x1ef)]=_0x16e3c2,_0x3482a4[_0x26df68(0x1f4)]=_0x45378c;const _0x40675f=_0x3482a4;_0x1e2998['ralzY'](getBrowserstackCLI)[_0x26df68(0x1e7)]()[_0x26df68(0x250)]()?TestInfo['addTraceFilePath'](_0x40675f):TestDetails[_0x26df68(0x25f)](_0x40675f);};}catch(_0x24cdf8){logger['error'](util[_0x26df68(0x234)](_0x1e2998[_0x26df68(0x237)],_0x24cdf8));}},exports['getTestIdentifier']=_0x46d98d=>{const _0x14c7fe=a44_0x5378e9,_0x43bfb3={};_0x43bfb3[_0x14c7fe(0x274)]=function(_0x3bfdc8,_0x2075cd){return _0x3bfdc8+_0x2075cd;};const _0xb8024e=_0x43bfb3;return _0xb8024e['QwyhR'](_0xb8024e[_0x14c7fe(0x274)](_0x46d98d[_0x14c7fe(0x219)],'-'),_0x46d98d['id']);},exports['getTestRunIdentifier']=(_0x54281e,_0xe395c5)=>{const _0x59d0f1=a44_0x5378e9,_0x566c92={};_0x566c92['rychw']=function(_0x4bc7fd,_0x1fddaf){return _0x4bc7fd+_0x1fddaf;};const _0x421b11=_0x566c92;return _0x421b11[_0x59d0f1(0x1f0)](_0x421b11['rychw'](_0x54281e['id'],'-'),_0xe395c5);};
@@ -1 +1 @@
1
- const a45_0x521925=a45_0x33a0;function a45_0x28cc(){const _0x4d9a41=['\x20is\x20triggered','utf8','meta','iNCCl','OkAuF','logs','event_type','PLAYWRIGHT','nEwre','titlePath','169332NJyzkF','addTestUIDAndReportLog','EDWfS','split','Before\x20Hooks','6EtLkCi','eFEeh','trackEvent','AOSOe','EhAmf','POST','VShaS','IxKpt','hook','ZedwY','depth','UbRHm','length','sendSessionDetails','urQej','2940093UHHZVn','startsWith','Error\x20in\x20calculating\x20performance:\x20','map','getScope','reportLogs','lYpxE','getHierarchy','iTvRx','unknown','afterAll\x20hook','TEST','../../../helpers/testhub/utils','ZHRuJ','hook_run_uuid','CBTSessionCreated','fSJaf','gSDdW','../../../helpers/test-observability/utils','HyGwe','jsGxn','Playwright','.browserstack','hook_run','oDmgO','LogCreated','onBegin','iVtHN','TEST_SCREENSHOT','ruywW','performance-report-reporter.json','BEFORE_ALL','3|5|0|7|4|1|6|2','test_run','path','AsHej','COvCg','HNNaB','SlRLw','step','cFZZi','PRE','trace_','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','_bs_hookIdentifier','ENHLg','AwGpm','\x20-\x20','RdNDy','shutdown','finishedAt','status','env','timedOut','Innvp','getStepIdentifier','ihFTJ','_gitConfigPath','toString','join','onStepBegin','./test-details','558082NkthtH','retry','lSTAC','VEiiM','homedir','AFTER_EACH','TuUDj','beforeAll\x20hook','getTestFramework','qvBjz','title','steps','test','onStepEnd','9750TcbRFc','../../v2/state/testFrameworkState','getInstance','2245APdakg','BZmDs','JKDBW','Trace\x20file\x20found\x20for\x20test:\x20','Expected\x20to\x20fail,\x20but\x20passed.','basename','lRCwR','aBZSd','AFTER_ALL','getTime','ITlWc','../../v2/state/hookState','err','getTestUUID','passed','_tests','filter','indexOf','QLJpR','getCustomRerunParam','\x20at\x20','test_run_uuid','pFwDn','rRFJX','sendHookRunEvent','wnfGO','uTrNS','_gitConfigured','MyReporter','util','RKKsu','setup','qRwnb','eEZoE','drkwV','root','mkdirSync','dGUYi','../../../../src/bin/utils/constants','expanded','failed','KdgOz','zaxBq','object','TEST_STEP','onTestBegin','ZZLKo','javascript','ZtIVo','929614IPJZVQ','Error\x20in\x20sending\x20trace\x20zip:\x20%s','hbcEn','location','cwd','options','qXiDu','logLevel','YZOiy','startTime','10ZlNtcB','result','wAEvn','yVuPX','yqHKQ','TestRunFinished','push','YoAVd','parent','zvHAP','\x20for\x20','GCsTo','format','onTestEnd','IejWC','yCoxa','duration','failure_type','splice','uuid','1026484uqpbVn','WTbTG','bCQcT','1KcWxKj','bsNhX','attachments','isRunning','toISOString','skipped','file','statSync','../../../helpers/test-observability/error-handler','startedAt','CuemQ','errors','veaBc','sjOZs','nkVfp','Test\x20Finished\x20with\x20unique\x20id\x20','failure_reason','bcBVj','7416871VsAUkr','_trackedEvents','relative','inspect','../../v2/TestInfo','endSession','NkWdy','expectedStatus','../../../helpers/helper','vRcIc','TytBu','Sending\x20session\x20details\x20for\x20','reverse','ebdFi','beforeEach\x20hook','NrwiN','zUIuS','PErpp','category','HookRunFinished','BROWSERSTACK_O11Y_PERF_MEASUREMENT','../../../helpers/test-observability/constants','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','rmNQC','JIrZj','setStepIdentifier','afterEach\x20hook','\x20is\x20triggered\x20for\x20test\x20','sendTestRunEvent','rlAKG','.txt','bjQtH','aqeGr','deVTN','HookRunStarted','_testHooksMap','uploadEventData','configureGit','JSRMq','_tags','needToReportStep','printsToStdio','startMonitoring','GVVNL','DbpgQ','8adtqCZ','qKUzN','pending','zBfAC','getStepsAndLogs','IiLrM','bnzif','PjsbJ','cBxxC','jsNdx','XMtgZ','SRTdT','hooks','getHookType','message','error','readFileSync','failure','dcesc','exports'];a45_0x28cc=function(){return _0x4d9a41;};return a45_0x28cc();}(function(_0x543b7f,_0x24abca){const _0x448f11=a45_0x33a0,_0x4ae74c=_0x543b7f();while(!![]){try{const _0x5e84a5=-parseInt(_0x448f11(0x187))/0x1*(parseInt(_0x448f11(0x278))/0x2)+parseInt(_0x448f11(0x1e9))/0x3*(parseInt(_0x448f11(0x184))/0x4)+-parseInt(_0x448f11(0x247))/0x5*(parseInt(_0x448f11(0x244))/0x6)+-parseInt(_0x448f11(0x236))/0x7*(-parseInt(_0x448f11(0x1c6))/0x8)+parseInt(_0x448f11(0x1f8))/0x9*(parseInt(_0x448f11(0x170))/0xa)+parseInt(_0x448f11(0x199))/0xb+-parseInt(_0x448f11(0x1e4))/0xc;if(_0x5e84a5===_0x24abca)break;else _0x4ae74c['push'](_0x4ae74c['shift']());}catch(_0x4d44e3){_0x4ae74c['push'](_0x4ae74c['shift']());}}}(a45_0x28cc,0x5e153));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require(a45_0x521925(0x183)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x521925(0x20a)),{getGitMetaData,setLogLevel}=require(a45_0x521925(0x1a1)),TestDetails=require(a45_0x521925(0x235)),fs=require('fs'),util=require(a45_0x521925(0x264)),{o11yClassErrorHandler}=require(a45_0x521925(0x18f)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0x521925(0x1ae)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a45_0x521925(0x204)),helper=require(a45_0x521925(0x1a1)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a45_0x521925(0x245)),HookState=require(a45_0x521925(0x252)),TestInfo=require(a45_0x521925(0x19d)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x521925(0x26d));function a45_0x33a0(_0x1ac69b,_0x3cb0d9){const _0x28cccc=a45_0x28cc();return a45_0x33a0=function(_0x33a045,_0x4f0332){_0x33a045=_0x33a045-0x16d;let _0x56fb2e=_0x28cccc[_0x33a045];return _0x56fb2e;},a45_0x33a0(_0x1ac69b,_0x3cb0d9);}class MyReporter{constructor(_0x16b54d){const _0x72ca0a=a45_0x521925,_0xd6623={'cBxxC':_0x72ca0a(0x218),'vRcIc':function(_0x1c3c65,_0x218e4a,_0x302301,_0x445df8){return _0x1c3c65(_0x218e4a,_0x302301,_0x445df8);},'NrwiN':_0x72ca0a(0x216)},_0x569785=_0xd6623[_0x72ca0a(0x1ce)][_0x72ca0a(0x1e7)]('|');let _0x2d3245=0x0;while(!![]){switch(_0x569785[_0x2d3245++]){case'0':this['_tests']={};continue;case'1':this[_0x72ca0a(0x262)]=![];continue;case'2':this[_0x72ca0a(0x19a)]=[];continue;case'3':const _0x305ea6={};_0x305ea6[_0x72ca0a(0x16d)]=process['env']['BROWSERSTACK_LOG_LEVEL'],_0xd6623[_0x72ca0a(0x1a2)](setLogLevel,_0x305ea6,new Map(),new Map());continue;case'4':this[_0x72ca0a(0x27d)]=_0x16b54d;continue;case'5':process['env'][_0x72ca0a(0x1ad)]&&(PerformanceTester[_0x72ca0a(0x1c3)](_0xd6623[_0x72ca0a(0x1a8)]),process['env']['START_TIME']=new Date()[_0x72ca0a(0x18b)]());continue;case'6':this[_0x72ca0a(0x231)]=null;continue;case'7':this[_0x72ca0a(0x1bc)]={};continue;}break;}}async[a45_0x521925(0x212)](){const _0x45148d=a45_0x521925,_0x56f7ae={};_0x56f7ae[_0x45148d(0x1d0)]=_0x45148d(0x20d);const _0x1e1f15=_0x56f7ae;TestDetails[_0x45148d(0x266)](),await this[_0x45148d(0x1be)](),TestInfo[_0x45148d(0x266)](_0x1e1f15[_0x45148d(0x1d0)]);if(BrowserstackCLI[_0x45148d(0x246)]()['isRunning']()){await BrowserstackCLI[_0x45148d(0x246)]()[_0x45148d(0x23e)]()[_0x45148d(0x1eb)](TestFrameworkState['INIT_TEST'],HookState[_0x45148d(0x221)],{});return;}}async[a45_0x521925(0x274)](_0x125829,_0x258c71){const _0x16cd92=a45_0x521925,_0x597858={'nkVfp':function(_0x29d317,_0x52fa24){return _0x29d317(_0x52fa24);},'HNNaB':function(_0x3a8583,_0x1df2ff,_0x536502){return _0x3a8583(_0x1df2ff,_0x536502);},'HyGwe':function(_0x7b4506,_0xc25fe4){return _0x7b4506(_0xc25fe4);},'rRFJX':'TestRunStarted'};if(BrowserstackCLI['getInstance']()[_0x16cd92(0x18a)]()){const _0x368e02={};_0x368e02[_0x16cd92(0x242)]=_0x125829,_0x368e02[_0x16cd92(0x171)]=_0x258c71,await BrowserstackCLI[_0x16cd92(0x246)]()[_0x16cd92(0x23e)]()[_0x16cd92(0x1eb)](TestFrameworkState[_0x16cd92(0x203)],HookState[_0x16cd92(0x221)],_0x368e02);return;}const _0x3d562a=_0x597858[_0x16cd92(0x195)](getTestIdentifier,_0x125829),_0x5b1b38=TestDetails[_0x16cd92(0x254)](_0x597858[_0x16cd92(0x21d)](getTestRunIdentifier,_0x125829,_0x258c71[_0x16cd92(0x237)]));process[_0x16cd92(0x22c)]['BROWSERSTACK_TEST_RUN_ID']=_0x5b1b38;const _0x506a8f={};_0x506a8f[_0x16cd92(0x183)]=_0x5b1b38,_0x506a8f[_0x16cd92(0x190)]=_0x258c71[_0x16cd92(0x16f)],this[_0x16cd92(0x256)][_0x3d562a]=_0x506a8f,_0x597858[_0x16cd92(0x20b)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x3d562a),await this[_0x16cd92(0x1b5)](_0x125829,_0x597858[_0x16cd92(0x25e)],_0x258c71);}async['onStepBegin'](_0xd5a35,_0x4476d1,_0x4494e9){const _0x79a1d4=a45_0x521925,_0x4ad03f={'qKUzN':function(_0x26fcde,_0x109eb7,_0x589810){return _0x26fcde(_0x109eb7,_0x589810);},'fSJaf':function(_0x1412e7,_0x2a0d81){return _0x1412e7(_0x2a0d81);},'SuuIs':_0x79a1d4(0x1bb)};if(!this[_0x79a1d4(0x1c1)](_0x4494e9,_0xd5a35))return;if(BrowserstackCLI[_0x79a1d4(0x246)]()[_0x79a1d4(0x18a)]()){const _0x2ca247=this[_0x79a1d4(0x1d3)](_0x4494e9[_0x79a1d4(0x240)]),_0x674c60=TestFrameworkState[_0x2ca247],_0x25c1b1={};_0x25c1b1[_0x79a1d4(0x242)]=_0xd5a35,_0x25c1b1[_0x79a1d4(0x171)]=_0x4476d1,_0x25c1b1[_0x79a1d4(0x21f)]=_0x4494e9,await BrowserstackCLI['getInstance']()[_0x79a1d4(0x23e)]()[_0x79a1d4(0x1eb)](_0x674c60,HookState[_0x79a1d4(0x221)],_0x25c1b1);return;}const _0x56a76f=this[_0x79a1d4(0x1b2)](_0xd5a35,_0x4494e9);this[_0x79a1d4(0x256)][_0x56a76f]={'uuid':TestDetails['getTestUUID'](_0x56a76f),'startedAt':_0x4494e9['startTime'][_0x79a1d4(0x18b)]()};const _0x2d8922=_0x4ad03f[_0x79a1d4(0x1c7)](getTestRunIdentifier,_0xd5a35,_0x4476d1[_0x79a1d4(0x237)]);!this[_0x79a1d4(0x1bc)][_0x2d8922]&&(this['_testHooksMap'][_0x2d8922]=[]),this[_0x79a1d4(0x1bc)][_0x2d8922][_0x79a1d4(0x176)](this['_tests'][_0x56a76f]['uuid']),_0x4ad03f[_0x79a1d4(0x208)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x56a76f+_0x79a1d4(0x1b4)+_0x2d8922),await this['sendHookRunEvent'](_0xd5a35,_0x4494e9,_0x4ad03f['SuuIs'],_0x4476d1);}async[a45_0x521925(0x243)](_0xdb3c1b,_0x58e293,_0x5f3f82){const _0x534c18=a45_0x521925,_0x532e69={'VtiyL':function(_0x1e7e50,_0x599ca6){return _0x1e7e50+_0x599ca6;},'jsGxn':function(_0x538970,_0x2985d8){return _0x538970(_0x2985d8);},'PjsbJ':'HookRunFinished'};if(!this[_0x534c18(0x1c1)](_0x5f3f82,_0xdb3c1b))return;if(BrowserstackCLI[_0x534c18(0x246)]()[_0x534c18(0x18a)]()){const _0x2862a1=this[_0x534c18(0x1d3)](_0x5f3f82[_0x534c18(0x240)]),_0x1d2334=TestFrameworkState[_0x2862a1],_0x102dba={};_0x102dba[_0x534c18(0x242)]=_0xdb3c1b,_0x102dba['result']=_0x58e293,_0x102dba[_0x534c18(0x21f)]=_0x5f3f82,await BrowserstackCLI[_0x534c18(0x246)]()[_0x534c18(0x23e)]()['trackEvent'](_0x1d2334,HookState[_0x534c18(0x1ee)],_0x102dba);return;}const _0x27db14=this[_0x534c18(0x22f)](_0xdb3c1b,_0x5f3f82);this['_tests'][_0x27db14]={...this[_0x534c18(0x256)][_0x27db14]||{},'finishedAt':new Date(_0x532e69['VtiyL'](_0x5f3f82[_0x534c18(0x16f)][_0x534c18(0x250)](),_0x5f3f82[_0x534c18(0x180)]))},_0x532e69[_0x534c18(0x20c)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x27db14+_0x534c18(0x1da)),await this['sendHookRunEvent'](_0xdb3c1b,_0x5f3f82,_0x532e69[_0x534c18(0x1cd)],_0x58e293);}async[a45_0x521925(0x17d)](_0x41e9f9,_0x178ad3){const _0x595228=a45_0x521925,_0xddc614={'ZTaMm':function(_0x1b89e4,_0x248424){return _0x1b89e4===_0x248424;},'yVuPX':'screenshot','BZtKY':_0x595228(0x214),'SizQK':'base64','YoAVd':function(_0x22eaee,_0xdff45f){return _0x22eaee(_0xdff45f);},'sjOZs':function(_0x2e8818,_0x362683,_0x2fd606){return _0x2e8818(_0x362683,_0x2fd606);},'iNCCl':_0x595228(0x175),'Joyff':function(_0x33be51,_0x31f188){return _0x33be51(_0x31f188);},'zORBW':_0x595228(0x223),'PQcjP':function(_0xd3adba,_0x21ba4e){return _0xd3adba(_0x21ba4e);},'eFEeh':_0x595228(0x279),'wnfGO':function(_0x1a33e2,_0x2aeed0){return _0x1a33e2>_0x2aeed0;}};if(BrowserstackCLI[_0x595228(0x246)]()[_0x595228(0x18a)]()){const _0x44c302={};_0x44c302[_0x595228(0x242)]=_0x41e9f9,_0x44c302[_0x595228(0x171)]=_0x178ad3,this[_0x595228(0x19a)]['push'](BrowserstackCLI[_0x595228(0x246)]()[_0x595228(0x23e)]()[_0x595228(0x1eb)](TestFrameworkState['TEST'],HookState[_0x595228(0x1ee)],_0x44c302));return;}const _0x1b2ea6=_0xddc614[_0x595228(0x177)](getTestIdentifier,_0x41e9f9),_0x3aae4e=TestDetails[_0x595228(0x254)](_0xddc614[_0x595228(0x194)](getTestRunIdentifier,_0x41e9f9,_0x178ad3[_0x595228(0x237)]));this[_0x595228(0x256)][_0x1b2ea6]={...this['_tests'][_0x1b2ea6]||{},'finishedAt':new Date()[_0x595228(0x18b)]()},_0xddc614[_0x595228(0x177)](debug,_0x595228(0x196)+_0x1b2ea6);try{await this['sendTestRunEvent'](_0x41e9f9,_0xddc614[_0x595228(0x1dd)],_0x178ad3);}catch(_0x1f808a){_0xddc614['Joyff'](debug,util[_0x595228(0x17c)](_0xddc614['zORBW'],_0x1f808a[_0x595228(0x232)]()));}try{_0xddc614[_0x595228(0x177)](debug,_0x595228(0x1af)+_0x3aae4e),await _0xddc614[_0x595228(0x194)](sendTraceZip,_0x178ad3,_0x3aae4e);}catch(_0x49eaf5){_0xddc614['PQcjP'](debug,util[_0x595228(0x17c)](_0xddc614[_0x595228(0x1ea)],_0x49eaf5[_0x595228(0x232)]()));}const _0x36d2fc=[];_0x178ad3['attachments']&&_0x178ad3[_0x595228(0x189)]['map'](_0x2635f8=>{const _0x347f41=_0x595228;if(_0xddc614['ZTaMm'](_0x2635f8['name'],_0xddc614[_0x347f41(0x173)])){if(!_0x2635f8[_0x347f41(0x21a)]||!fs['existsSync'](_0x2635f8[_0x347f41(0x21a)]))return;_0x36d2fc[_0x347f41(0x176)]({'test_run_uuid':_0x3aae4e,'timestamp':fs['statSync'](_0x2635f8[_0x347f41(0x21a)])['mtime'],'kind':_0xddc614['BZtKY'],'message':fs[_0x347f41(0x1d6)](_0x2635f8[_0x347f41(0x21a)],{'encoding':_0xddc614['SizQK']})});}}),_0xddc614[_0x595228(0x260)](_0x36d2fc['length'],0x0)&&await MyReporter['reportLogs'](_0x36d2fc);}async[a45_0x521925(0x19e)](){const _0x28658e=a45_0x521925;await RequestQueueHandler[_0x28658e(0x246)]()[_0x28658e(0x229)]();}async['onEnd'](_0x48d762){const _0x2360ab=a45_0x521925,_0x4609de={'fMPEo':function(_0x17bb0d){return _0x17bb0d();},'QLJpR':function(_0x7217d6,_0x11de71){return _0x7217d6(_0x11de71);}};await Promise['all'](this[_0x2360ab(0x19a)]),await this[_0x2360ab(0x19e)]();try{process['env'][_0x2360ab(0x1ad)]&&await _0x4609de['fMPEo'](calculatePerformance);}catch(_0x809bfc){_0x4609de[_0x2360ab(0x259)](debug,_0x2360ab(0x1fa)+_0x809bfc[_0x2360ab(0x232)]());}}static async[a45_0x521925(0x1e5)](_0x58329d,_0x1649f5){const _0x15694a=a45_0x521925;_0x1649f5[_0x15694a(0x25c)]=TestDetails['getTestUUID'](_0x58329d),await this[_0x15694a(0x1fd)]([_0x1649f5]);}static async[a45_0x521925(0x1fd)](_0x283ecf){const _0x219eb2=a45_0x521925,_0x33da25={};_0x33da25[_0x219eb2(0x1ef)]=_0x219eb2(0x211);const _0x45488e=_0x33da25;if(BrowserstackCLI[_0x219eb2(0x246)]()['isRunning']())return;const _0x5d6631={};_0x5d6631[_0x219eb2(0x1e0)]=_0x45488e[_0x219eb2(0x1ef)],_0x5d6631[_0x219eb2(0x1df)]=_0x283ecf,await SessionHandler[_0x219eb2(0x1bd)](_0x5d6631);}async[a45_0x521925(0x25f)](_0x247c11,_0x4d9c68,_0x4a1c68,_0x57cad1){const _0x13f5d1=a45_0x521925,_0x282c6e={'RdNDy':_0x13f5d1(0x1f1),'WTbTG':'javascript','zWkWc':_0x13f5d1(0x1c8),'AsHej':function(_0x237b50,_0x127c9c){return _0x237b50>=_0x127c9c;},'NkWdy':function(_0x13110f,_0x2810c4){return _0x13110f===_0x2810c4;},'rlAKG':_0x13f5d1(0x1ac),'IAPgg':function(_0x32b9a9,_0x389e55){return _0x32b9a9>_0x389e55;},'IejWC':_0x13f5d1(0x26f),'aBZSd':function(_0x2b3f2b,_0x3bc374){return _0x2b3f2b(_0x3bc374);},'zUIuS':function(_0x215e28,_0x526066){return _0x215e28(_0x526066);},'UkqDv':function(_0x508f26,_0x1b498e,_0x4e3341){return _0x508f26(_0x1b498e,_0x4e3341);},'iVtHN':_0x13f5d1(0x253),'JKDBW':function(_0x41020b,_0x29cce6){return _0x41020b===_0x29cce6;},'ENHLg':_0x13f5d1(0x255)},_0x193dcd=this[_0x13f5d1(0x22f)](_0x247c11,_0x4d9c68),_0x5c1b59=this[_0x13f5d1(0x256)][_0x193dcd],_0x1e0a92={'uuid':_0x5c1b59[_0x13f5d1(0x183)],'type':_0x282c6e['RdNDy'],'hook_type':this[_0x13f5d1(0x1d3)](_0x4d9c68['title']),'name':_0x4d9c68[_0x13f5d1(0x240)],'scope':this[_0x13f5d1(0x1fc)](_0x4d9c68),'scopes':this[_0x13f5d1(0x1ff)](_0x247c11),'body':{'lang':_0x282c6e[_0x13f5d1(0x185)],'code':null},'identifier':_0x193dcd,'file_name':path[_0x13f5d1(0x19b)](process[_0x13f5d1(0x27c)](),_0x247c11['location'][_0x13f5d1(0x18d)]),'location':path[_0x13f5d1(0x19b)](process[_0x13f5d1(0x27c)](),_0x247c11['location'][_0x13f5d1(0x18d)]),'result':_0x282c6e['zWkWc'],'duration_in_ms':_0x282c6e[_0x13f5d1(0x21b)](_0x4d9c68[_0x13f5d1(0x180)],0x0)?_0x4d9c68[_0x13f5d1(0x180)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x247c11[_0x13f5d1(0x27b)][_0x13f5d1(0x18d)]?path['relative'](this[_0x13f5d1(0x231)],_0x247c11[_0x13f5d1(0x27b)][_0x13f5d1(0x18d)]):undefined,'started_at':_0x5c1b59[_0x13f5d1(0x190)],'finished_at':_0x5c1b59['finishedAt'],'framework':FRAMEWORKS[_0x13f5d1(0x1e1)]};if(_0x282c6e[_0x13f5d1(0x19f)](_0x4a1c68,_0x282c6e[_0x13f5d1(0x1b6)])){const {steps:_0x4fe849,logs:_0x161eb0}=this[_0x13f5d1(0x1ca)](_0x4d9c68[_0x13f5d1(0x241)],_0x5c1b59[_0x13f5d1(0x183)],_0x282c6e[_0x13f5d1(0x228)]);_0x161eb0&&_0x282c6e['IAPgg'](_0x161eb0[_0x13f5d1(0x1f5)],0x0)&&await MyReporter['reportLogs'](_0x161eb0);const _0x742daf={};_0x742daf[_0x13f5d1(0x241)]=_0x4fe849,_0x1e0a92[_0x13f5d1(0x1dc)]=_0x742daf;if(_0x4d9c68['error']){_0x1e0a92[_0x13f5d1(0x171)]=_0x282c6e[_0x13f5d1(0x17e)],_0x1e0a92[_0x13f5d1(0x197)]=_0x282c6e[_0x13f5d1(0x24e)](removeAnsiColors,_0x4d9c68[_0x13f5d1(0x1d5)]['message']),_0x1e0a92[_0x13f5d1(0x181)]=_0x282c6e[_0x13f5d1(0x1a9)](getFailureType,_0x4d9c68['error'][_0x13f5d1(0x1d4)]);const _0x59193c=_0x282c6e['UkqDv'](failureData,_0x4d9c68[_0x13f5d1(0x1d5)],_0x282c6e[_0x13f5d1(0x213)]);if(_0x59193c&&_0x282c6e[_0x13f5d1(0x249)](_0x59193c[_0x13f5d1(0x1f5)],0x0)){const _0x5691c3={};_0x5691c3['backtrace']=[_0x1e0a92['failure_reason']],_0x5691c3[_0x13f5d1(0x26e)]=[],_0x59193c[_0x13f5d1(0x176)](_0x5691c3);}_0x1e0a92[_0x13f5d1(0x1d7)]=_0x59193c;}else _0x1e0a92['result']=_0x282c6e[_0x13f5d1(0x225)];}const _0x202cc5={};_0x202cc5[_0x13f5d1(0x1e0)]=_0x4a1c68,_0x202cc5[_0x13f5d1(0x20f)]=_0x1e0a92;const _0x56ae28=_0x202cc5;await SessionHandler[_0x13f5d1(0x1bd)](_0x56ae28);}[a45_0x521925(0x1ca)](_0x3a85bb,_0x10475e,_0x3a37d5){const _0xd25646=a45_0x521925,_0x500d15={'YZOiy':function(_0x7721fb,_0x22e048){return _0x7721fb===_0x22e048;},'bCQcT':'hook','AwGpm':'After\x20Hooks','eEZoE':_0xd25646(0x1e8),'qXiDu':function(_0x1cf1a7,_0x579f1b){return _0x1cf1a7===_0x579f1b;},'PErpp':function(_0x58f8d3,_0x58ef65){return _0x58f8d3===_0x58ef65;},'UbRHm':_0xd25646(0x242),'IxKpt':_0xd25646(0x25c),'CuemQ':_0xd25646(0x206),'yqHKQ':_0xd25646(0x273),'deVTN':_0xd25646(0x26f),'JSRMq':_0xd25646(0x255),'GCsTo':function(_0x959318,_0x2264f4){return _0x959318(_0x2264f4);},'kKffv':function(_0x107309){return _0x107309();},'IiLrM':function(_0x31c7e6,_0xbc1f4b){return _0x31c7e6(_0xbc1f4b);},'lYpxE':function(_0x8d1830,_0x24ca84,_0x9e22c2){return _0x8d1830(_0x24ca84,_0x9e22c2);},'lRCwR':function(_0x12c19c,_0x4fa1ad,_0x1ba598){return _0x12c19c(_0x4fa1ad,_0x1ba598);}},_0x170bbb=[],_0x40c0e3=[],_0x4efb03=_0x3a85bb[_0xd25646(0x257)](_0x1714c0=>{const _0x2052f8=_0xd25646;if(_0x500d15[_0x2052f8(0x16e)](_0x1714c0[_0x2052f8(0x1ab)],_0x500d15[_0x2052f8(0x186)])&&(_0x500d15[_0x2052f8(0x16e)](_0x1714c0[_0x2052f8(0x240)],_0x500d15[_0x2052f8(0x226)])||_0x500d15['YZOiy'](_0x1714c0['title'],_0x500d15[_0x2052f8(0x268)])))return![];return!![];}),_0x1d23f0=(_0x34897f,_0x4fa4a4=![])=>{const _0x50870e=_0xd25646;if(_0x500d15[_0x50870e(0x27e)](_0x34897f[_0x50870e(0x241)][_0x50870e(0x1f5)],0x0)){const _0x1fe1a3=_0x500d15[_0x50870e(0x1aa)](_0x3a37d5,_0x500d15[_0x50870e(0x1f4)])?_0x500d15[_0x50870e(0x1f0)]:_0x500d15[_0x50870e(0x191)];_0x40c0e3[_0x50870e(0x176)]({'kind':_0x500d15[_0x50870e(0x174)],[_0x1fe1a3]:_0x10475e,'message':_0x34897f['title'],'timestamp':_0x34897f[_0x50870e(0x16f)][_0x50870e(0x18b)](),'level':_0x34897f[_0x50870e(0x1d5)]?_0x500d15[_0x50870e(0x1ba)]:_0x500d15['JSRMq'],'duration':_0x34897f[_0x50870e(0x180)],'failure':_0x34897f[_0x50870e(0x1d5)]&&_0x34897f[_0x50870e(0x1d5)][_0x50870e(0x1d4)]&&_0x500d15[_0x50870e(0x17b)](removeAnsiColors,_0x34897f['error'][_0x50870e(0x1d4)]),'failure_type':_0x500d15[_0x50870e(0x17b)](getFailureType,_0x34897f[_0x50870e(0x1d5)]&&_0x34897f['error'][_0x50870e(0x1d4)])});}else{!_0x4fa4a4&&_0x170bbb[_0x50870e(0x176)]({'id':_0x500d15['kKffv'](uuidv4),'text':_0x34897f[_0x50870e(0x240)],'keyword':undefined,'started_at':_0x34897f[_0x50870e(0x16f)]['toISOString'](),'duration':_0x34897f[_0x50870e(0x180)],'result':_0x34897f[_0x50870e(0x1d5)]?_0x500d15[_0x50870e(0x1ba)]:_0x500d15[_0x50870e(0x1bf)],'failure':_0x34897f[_0x50870e(0x1d5)]&&_0x34897f[_0x50870e(0x1d5)][_0x50870e(0x1d4)]&&_0x500d15[_0x50870e(0x1cb)](removeAnsiColors,_0x34897f['error'][_0x50870e(0x1d4)]),'failure_type':_0x500d15[_0x50870e(0x1cb)](getFailureType,_0x34897f[_0x50870e(0x1d5)]&&_0x34897f[_0x50870e(0x1d5)][_0x50870e(0x1d4)])});for(const _0x4febff of _0x34897f['steps']){_0x500d15[_0x50870e(0x1fe)](_0x1d23f0,_0x4febff,!![]);}}};for(const _0x2bd977 of _0x4efb03){_0x500d15[_0xd25646(0x24d)](_0x1d23f0,_0x2bd977,![]);}const _0x56eb8c={};return _0x56eb8c['steps']=_0x170bbb,_0x56eb8c['logs']=_0x40c0e3,_0x56eb8c;}async[a45_0x521925(0x1b5)](_0x2618e2,_0x58b6cb,_0x58288a){const _0x93b18f=a45_0x521925,_0x242d9e={'bjQtH':function(_0x3590df,_0x37c33a){return _0x3590df(_0x37c33a);},'TuUDj':'TEST_ATTACHMENT','KdgOz':function(_0x1c52b9,_0x5775f7){return _0x1c52b9(_0x5775f7);},'ebdFi':_0x93b18f(0x242),'SlRLw':_0x93b18f(0x276),'cFZZi':_0x93b18f(0x1c8),'VEiiM':function(_0x8e0aec,_0x822777){return _0x8e0aec(_0x822777);},'AOSOe':function(_0x2f5ee4,_0x4279e0,_0x5f58e4,_0x284a7f,_0x350ef7){return _0x2f5ee4(_0x4279e0,_0x5f58e4,_0x284a7f,_0x350ef7);},'kOnfL':function(_0x4b4268,_0x57b5ee){return _0x4b4268>_0x57b5ee;},'aqeGr':function(_0x2f1f9b,_0x8c627d,_0x1056c5){return _0x2f1f9b(_0x8c627d,_0x1056c5);},'bsNhX':function(_0x248197,_0x19546e){return _0x248197-_0x19546e;},'oDmgO':function(_0x2dbc0e,_0x5a27ff){return _0x2dbc0e===_0x5a27ff;},'bcBVj':_0x93b18f(0x175),'ZedwY':function(_0x4b2c6a,_0x13d301){return _0x4b2c6a===_0x13d301;},'nEwre':_0x93b18f(0x18c),'RKKsu':_0x93b18f(0x255),'urQej':function(_0x52cb07,_0x1d6f9a){return _0x52cb07===_0x1d6f9a;},'dcesc':_0x93b18f(0x26f),'lSTAC':_0x93b18f(0x22d),'pFwDn':_0x93b18f(0x24b),'gSDdW':function(_0x4c8101,_0x13147d,_0x4fff8a){return _0x4c8101(_0x13147d,_0x4fff8a);},'JIrZj':function(_0x1dceb8,_0xa0203a){return _0x1dceb8===_0xa0203a;},'BZmDs':function(_0x5f0aec,_0x41778c){return _0x5f0aec>_0x41778c;},'ZHRuJ':function(_0x3b875d,_0x42b5b1,_0x4cb7be){return _0x3b875d(_0x42b5b1,_0x4cb7be);},'drkwV':_0x93b18f(0x21a),'uTrNS':_0x93b18f(0x20e),'aJtsA':_0x93b18f(0x1db),'bnzif':function(_0x2c8dd7,_0x24b926){return _0x2c8dd7!==_0x24b926;}},_0x12abfa=_0x242d9e[_0x93b18f(0x270)](getTestIdentifier,_0x2618e2),_0x32e0aa=this[_0x93b18f(0x1fc)](_0x2618e2),_0x21c61d=this['_tests'][_0x12abfa],_0x237626=path[_0x93b18f(0x19b)](process['cwd'](),_0x2618e2[_0x93b18f(0x27b)]['file']);await this[_0x93b18f(0x1be)]();const _0x2e1b1f={'uuid':_0x21c61d[_0x93b18f(0x183)],'type':_0x242d9e[_0x93b18f(0x1a6)],'name':_0x2618e2[_0x93b18f(0x240)],'body':{'lang':_0x242d9e[_0x93b18f(0x21e)],'code':_0x2618e2['fn'][_0x93b18f(0x232)]()},'scope':_0x32e0aa,'scopes':this[_0x93b18f(0x1ff)](_0x2618e2),'identifier':_0x12abfa,'file_name':_0x237626,'location':_0x237626,'result':_0x242d9e[_0x93b18f(0x220)],'duration_in_ms':_0x58288a&&_0x58288a[_0x93b18f(0x180)]?_0x58288a[_0x93b18f(0x180)]:null,'vc_filepath':this[_0x93b18f(0x231)]&&_0x2618e2[_0x93b18f(0x27b)][_0x93b18f(0x18d)]?path[_0x93b18f(0x19b)](this[_0x93b18f(0x231)],_0x2618e2[_0x93b18f(0x27b)][_0x93b18f(0x18d)]):undefined,'started_at':_0x21c61d[_0x93b18f(0x190)],'finished_at':_0x21c61d[_0x93b18f(0x22a)],'framework':FRAMEWORKS[_0x93b18f(0x1e1)],'customRerunParam':{'rerun_name':this[_0x93b18f(0x25a)](_0x2618e2)},'tags':_0x242d9e['VEiiM'](getTestTags,_0x2618e2)};_0x242d9e[_0x93b18f(0x1ec)](appendTesthubParams,_0x2e1b1f,_0x58b6cb,_0x2618e2,FRAMEWORKS[_0x93b18f(0x1e1)]);_0x58288a&&_0x242d9e['kOnfL'](_0x58288a[_0x93b18f(0x237)],0x0)&&(_0x2e1b1f['retry_of']=TestDetails[_0x93b18f(0x254)](_0x242d9e[_0x93b18f(0x1b9)](getTestRunIdentifier,_0x2618e2,_0x242d9e[_0x93b18f(0x188)](_0x58288a[_0x93b18f(0x237)],0x1))));if(_0x242d9e[_0x93b18f(0x210)](_0x58b6cb,_0x242d9e[_0x93b18f(0x198)])){_0x2e1b1f[_0x93b18f(0x171)]=_0x58288a[_0x93b18f(0x22b)];if(_0x242d9e[_0x93b18f(0x210)](_0x58288a[_0x93b18f(0x22b)],_0x2618e2['expectedStatus']))_0x2e1b1f[_0x93b18f(0x171)]=_0x242d9e[_0x93b18f(0x1f2)](_0x58288a[_0x93b18f(0x22b)],_0x242d9e['nEwre'])?_0x242d9e[_0x93b18f(0x1e2)]:_0x242d9e[_0x93b18f(0x265)];else{(_0x242d9e[_0x93b18f(0x210)](_0x2e1b1f[_0x93b18f(0x171)],_0x242d9e[_0x93b18f(0x265)])||_0x242d9e[_0x93b18f(0x1f7)](_0x2e1b1f['result'],_0x242d9e['dcesc'])||_0x242d9e['oDmgO'](_0x2e1b1f[_0x93b18f(0x171)],_0x242d9e[_0x93b18f(0x238)]))&&(_0x2e1b1f[_0x93b18f(0x171)]=_0x242d9e[_0x93b18f(0x1d8)]);if(_0x242d9e[_0x93b18f(0x1f7)](_0x58288a[_0x93b18f(0x22b)],_0x242d9e[_0x93b18f(0x265)])&&_0x242d9e[_0x93b18f(0x1f2)](_0x2618e2[_0x93b18f(0x1a0)],_0x242d9e[_0x93b18f(0x1d8)])){const _0x3d2177={};_0x3d2177[_0x93b18f(0x1d4)]=_0x242d9e[_0x93b18f(0x25d)],_0x3d2177['stack']=_0x242d9e['pFwDn'],_0x58288a[_0x93b18f(0x1d5)]=_0x3d2177,_0x58288a[_0x93b18f(0x192)]=[_0x58288a[_0x93b18f(0x1d5)]];}}const _0x45aaab=_0x242d9e['aqeGr'](getTestRunIdentifier,_0x2618e2,_0x58288a[_0x93b18f(0x237)]);_0x2e1b1f[_0x93b18f(0x1d2)]=this[_0x93b18f(0x1bc)][_0x45aaab];const {steps:_0x5904f1,logs:_0x2a3fcb}=this[_0x93b18f(0x1ca)](_0x58288a[_0x93b18f(0x241)],_0x21c61d[_0x93b18f(0x183)],_0x242d9e[_0x93b18f(0x1a6)]);await MyReporter[_0x93b18f(0x1fd)](_0x2a3fcb);const _0x24c878={};_0x24c878[_0x93b18f(0x241)]=_0x5904f1,_0x2e1b1f['meta']=_0x24c878;if(_0x58288a[_0x93b18f(0x1d5)]){_0x2e1b1f[_0x93b18f(0x197)]=_0x242d9e[_0x93b18f(0x270)](removeAnsiColors,_0x58288a[_0x93b18f(0x1d5)][_0x93b18f(0x1d4)]),_0x2e1b1f['failure_type']=_0x242d9e[_0x93b18f(0x1b8)](getFailureType,_0x58288a['error']['message']);const _0x4a2ae1={};_0x4a2ae1[_0x93b18f(0x25c)]=_0x21c61d[_0x93b18f(0x183)];const {failureData:_0x1af202,logs:_0x5d321a}=_0x242d9e[_0x93b18f(0x209)](getFailureData,_0x58288a[_0x93b18f(0x192)],_0x4a2ae1);if(_0x1af202&&_0x242d9e[_0x93b18f(0x1b1)](_0x1af202[_0x93b18f(0x1f5)],0x0)){const _0x371cee={};_0x371cee['backtrace']=[_0x2e1b1f[_0x93b18f(0x197)]],_0x371cee[_0x93b18f(0x26e)]=[],_0x1af202[_0x93b18f(0x176)](_0x371cee);}_0x2e1b1f[_0x93b18f(0x1d7)]=_0x1af202,_0x5d321a&&_0x242d9e[_0x93b18f(0x248)](_0x5d321a[_0x93b18f(0x1f5)],0x0)&&await MyReporter['reportLogs'](_0x5d321a);}}let _0x12660b=_0x242d9e[_0x93b18f(0x205)](findNestedKey,_0x58288a,_0x242d9e[_0x93b18f(0x269)]);if(_0x12660b&&_0x242d9e['bjQtH'](validateFilePath,_0x12660b))_0x242d9e[_0x93b18f(0x239)](debug,_0x93b18f(0x24a)+_0x21c61d[_0x93b18f(0x183)]+_0x93b18f(0x25b)+_0x12660b);else{const _0x124240=path[_0x93b18f(0x233)](helper[_0x93b18f(0x23a)](),_0x242d9e[_0x93b18f(0x261)]);!fs['existsSync'](_0x124240)&&fs[_0x93b18f(0x26b)](_0x124240),fs['existsSync'](path[_0x93b18f(0x233)](_0x124240,_0x93b18f(0x222)+_0x21c61d[_0x93b18f(0x183)]+_0x93b18f(0x1b7)))&&(_0x12660b=fs[_0x93b18f(0x1d6)](path[_0x93b18f(0x233)](_0x124240,'trace_'+_0x21c61d[_0x93b18f(0x183)]+'.txt'),_0x242d9e['aJtsA']),_0x242d9e[_0x93b18f(0x270)](debug,_0x93b18f(0x24a)+_0x21c61d[_0x93b18f(0x183)]+_0x93b18f(0x25b)+_0x12660b));}const _0x1235ec={};_0x1235ec[_0x93b18f(0x1e0)]=_0x58b6cb,_0x1235ec[_0x93b18f(0x219)]=_0x2e1b1f;const _0x127600=_0x1235ec;_0x12660b&&_0x242d9e[_0x93b18f(0x1cc)](_0x12660b,'')&&_0x242d9e[_0x93b18f(0x1f7)](_0x58b6cb,_0x242d9e[_0x93b18f(0x198)])&&(!_0x127600['logs']&&(_0x127600[_0x93b18f(0x1df)]=[]),_0x12660b['split']('\x0a')['forEach'](_0x237ae9=>{const _0x12d688=_0x93b18f;_0x237ae9&&_0x242d9e['bjQtH'](validateFilePath,_0x237ae9)&&_0x127600[_0x12d688(0x1df)][_0x12d688(0x176)]({'kind':_0x242d9e[_0x12d688(0x23c)],'timestamp':new Date()[_0x12d688(0x18b)](),'test_run_uuid':_0x21c61d[_0x12d688(0x183)],'file_name':path[_0x12d688(0x24c)](_0x237ae9),'file_size':fs[_0x12d688(0x18e)](_0x237ae9)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x93b18f(0x1bd)](_0x127600);}[a45_0x521925(0x25a)](_0x200dcc){const _0x2e048d=a45_0x521925,_0x48e469={};_0x48e469['jsNdx']=function(_0x420c85,_0x1336cc){return _0x420c85===_0x1336cc;},_0x48e469[_0x2e048d(0x26c)]=function(_0x31cb9d,_0x135066){return _0x31cb9d>_0x135066;},_0x48e469['yCoxa']=function(_0x1c231b,_0x28995e){return _0x1c231b+_0x28995e;},_0x48e469[_0x2e048d(0x275)]=function(_0x1001e7,_0x1b2031){return _0x1001e7+_0x1b2031;},_0x48e469[_0x2e048d(0x193)]=function(_0x52b307,_0x5ac1c2){return _0x52b307>_0x5ac1c2;},_0x48e469[_0x2e048d(0x22e)]=function(_0x53a3d4,_0x339d62){return _0x53a3d4+_0x339d62;};const _0x39dc0d=_0x48e469,_0x41f96d=_0x200dcc[_0x2e048d(0x1e3)]()[_0x2e048d(0x1fb)](_0x13af02=>{const _0x18dd6a=_0x2e048d;if(_0x200dcc['parent']&&_0x39dc0d['jsNdx'](_0x13af02,_0x200dcc[_0x18dd6a(0x178)]['title'])&&_0x200dcc['parent']['_tags']&&_0x39dc0d[_0x18dd6a(0x26c)](_0x200dcc[_0x18dd6a(0x178)][_0x18dd6a(0x1c0)][_0x18dd6a(0x1f5)],0x0))return _0x39dc0d[_0x18dd6a(0x17f)](_0x39dc0d['ZZLKo'](_0x13af02,'\x20'),_0x200dcc[_0x18dd6a(0x178)][_0x18dd6a(0x1c0)][_0x18dd6a(0x233)]('\x20'));if(_0x39dc0d[_0x18dd6a(0x1cf)](_0x13af02,_0x200dcc[_0x18dd6a(0x240)])&&_0x200dcc[_0x18dd6a(0x1c0)]&&_0x39dc0d[_0x18dd6a(0x193)](_0x200dcc[_0x18dd6a(0x1c0)]['length'],0x0))return _0x39dc0d[_0x18dd6a(0x22e)](_0x39dc0d['yCoxa'](_0x13af02,'\x20'),_0x200dcc[_0x18dd6a(0x1c0)][_0x18dd6a(0x233)]('\x20'));return _0x13af02;})['join']('\x20');return _0x41f96d;}static async[a45_0x521925(0x1f6)](_0x2c890d,_0x256988){const _0x4becca=a45_0x521925,_0xe648d0={'bFEjx':function(_0x328d9e,_0x3988d6){return _0x328d9e(_0x3988d6);},'wGXxk':_0x4becca(0x207)},_0x32cfab={'uuid':TestDetails[_0x4becca(0x254)](_0x2c890d),'integrations':_0x256988},_0xb099a3={};_0xb099a3[_0x4becca(0x1f3)]=null,_0xe648d0['bFEjx'](debug,_0x4becca(0x1a4)+_0x2c890d+',\x20'+util[_0x4becca(0x19c)](_0x256988,_0xb099a3));const _0x13721a={};_0x13721a['event_type']=_0xe648d0['wGXxk'],_0x13721a[_0x4becca(0x219)]=_0x32cfab,await SessionHandler['uploadEventData'](_0x13721a);}async[a45_0x521925(0x1be)](){const _0x56fa98=a45_0x521925,_0x1c793b={'hbcEn':function(_0x35eba8){return _0x35eba8();}};if(this[_0x56fa98(0x262)])return;const _0x4f9392=await _0x1c793b[_0x56fa98(0x27a)](getGitMetaData);_0x4f9392&&(this['_gitConfigPath']=_0x4f9392[_0x56fa98(0x26a)]),this[_0x56fa98(0x262)]=!![];}['getHierarchy'](_0x52c9f6){const _0x64c251=a45_0x521925,_0x37b3a3={};_0x37b3a3[_0x64c251(0x23f)]=function(_0xe5b6d9,_0x4b6bee){return _0xe5b6d9!==_0x4b6bee;};const _0x2415f0=_0x37b3a3,_0x2278c2=[];if(_0x52c9f6&&_0x52c9f6[_0x64c251(0x178)]){let _0xd0eee7=_0x52c9f6[_0x64c251(0x178)];while(_0xd0eee7&&_0x2415f0[_0x64c251(0x23f)](_0xd0eee7[_0x64c251(0x240)],'')){_0x2278c2['push'](_0xd0eee7[_0x64c251(0x240)]),_0xd0eee7=_0xd0eee7[_0x64c251(0x178)];}}return _0x2278c2[_0x64c251(0x1a5)]()[_0x64c251(0x182)](0x0,0x2),_0x2278c2;}['needToReportStep'](_0x2139e0){const _0xa246fc=a45_0x521925,_0x138336={};_0x138336[_0xa246fc(0x1c5)]=function(_0x323553,_0x59b166){return _0x323553!==_0x59b166;},_0x138336[_0xa246fc(0x172)]=_0xa246fc(0x1f1),_0x138336[_0xa246fc(0x251)]=function(_0x12912d,_0x49f8a2){return _0x12912d===_0x49f8a2;},_0x138336[_0xa246fc(0x21c)]=_0xa246fc(0x1a7),_0x138336[_0xa246fc(0x1d1)]='beforeAll\x20hook',_0x138336[_0xa246fc(0x215)]=_0xa246fc(0x202),_0x138336[_0xa246fc(0x200)]=_0xa246fc(0x1b3);const _0x18438d=_0x138336;if(_0x18438d[_0xa246fc(0x1c5)](_0x2139e0[_0xa246fc(0x1ab)],_0x18438d['wAEvn']))return![];if(_0x18438d[_0xa246fc(0x251)]([_0x18438d[_0xa246fc(0x21c)],_0x18438d[_0xa246fc(0x1d1)],_0x18438d[_0xa246fc(0x215)],_0x18438d[_0xa246fc(0x200)]][_0xa246fc(0x258)](_0x2139e0[_0xa246fc(0x240)]),-0x1))return![];return!![];}['getStepIdentifier'](_0x2ed4ff,_0x3f4d5c){const _0x2c873f=a45_0x521925,_0x2a52df={'lEGPh':function(_0x33abfc,_0x3c18e2){return _0x33abfc(_0x3c18e2);}},_0x5029b9=_0x3f4d5c[_0x2c873f(0x224)];if(_0x5029b9)return _0x5029b9;return _0x3f4d5c['title']+_0x2c873f(0x17a)+_0x2a52df['lEGPh'](getTestIdentifier,_0x2ed4ff);}[a45_0x521925(0x1b2)](_0x4b7619,_0x31e427){const _0x355386=a45_0x521925,_0x4feeef={'rmNQC':function(_0x1ad514,_0x3fe896){return _0x1ad514(_0x3fe896);},'SikdK':function(_0x1bef29){return _0x1bef29();}};let _0x28b32e=_0x31e427['title']+_0x355386(0x17a)+_0x4feeef[_0x355386(0x1b0)](getTestIdentifier,_0x4b7619);return this[_0x355386(0x256)][_0x28b32e]&&(_0x28b32e=_0x28b32e+_0x355386(0x227)+_0x4feeef['SikdK'](uuidv4)),_0x31e427[_0x355386(0x224)]=_0x28b32e,_0x28b32e;}['getHookType']=_0x51f82c=>{const _0x318013=a45_0x521925,_0x36f324={};_0x36f324['EhAmf']='beforeEach\x20hook',_0x36f324[_0x318013(0x1a3)]='BEFORE_EACH',_0x36f324[_0x318013(0x230)]=_0x318013(0x23d),_0x36f324[_0x318013(0x267)]=_0x318013(0x217),_0x36f324[_0x318013(0x179)]=_0x318013(0x1b3),_0x36f324[_0x318013(0x1c9)]=_0x318013(0x23b),_0x36f324['GVVNL']=_0x318013(0x202),_0x36f324[_0x318013(0x1de)]=_0x318013(0x24f),_0x36f324[_0x318013(0x1e6)]=_0x318013(0x201);const _0x1f0fd9=_0x36f324;if(_0x51f82c[_0x318013(0x1f9)](_0x1f0fd9[_0x318013(0x1ed)]))return _0x1f0fd9[_0x318013(0x1a3)];else{if(_0x51f82c[_0x318013(0x1f9)](_0x1f0fd9['ihFTJ']))return _0x1f0fd9['qRwnb'];else{if(_0x51f82c[_0x318013(0x1f9)](_0x1f0fd9[_0x318013(0x179)]))return _0x1f0fd9['zBfAC'];else{if(_0x51f82c['startsWith'](_0x1f0fd9[_0x318013(0x1c4)]))return _0x1f0fd9['OkAuF'];}}}return _0x1f0fd9[_0x318013(0x1e6)];};[a45_0x521925(0x1fc)]=_0x20a170=>{const _0x3823b4=a45_0x521925,_0x26f046={};_0x26f046[_0x3823b4(0x277)]=function(_0x16aa8b,_0x3945eb){return _0x16aa8b===_0x3945eb;},_0x26f046['zaxBq']=_0x3823b4(0x272);const _0x1a3bc7=_0x26f046;let _0x339a9d=_0x20a170[_0x3823b4(0x178)];return _0x1a3bc7[_0x3823b4(0x277)](typeof _0x20a170[_0x3823b4(0x178)],_0x1a3bc7[_0x3823b4(0x271)])&&(_0x339a9d=_0x339a9d['title']),_0x339a9d+_0x3823b4(0x227)+_0x20a170[_0x3823b4(0x240)];};[a45_0x521925(0x1c2)](){return![];}}module[a45_0x521925(0x1d9)]=o11yClassErrorHandler(MyReporter,[a45_0x521925(0x212),'endSession','onTestBegin','onTestEnd',a45_0x521925(0x234),a45_0x521925(0x243),a45_0x521925(0x1f6)],a45_0x521925(0x263));
1
+ function a45_0x52c0(_0xadaed6,_0x339488){const _0x5e34fa=a45_0x5e34();return a45_0x52c0=function(_0x52c0e9,_0x362c52){_0x52c0e9=_0x52c0e9-0x155;let _0x2fb7b6=_0x5e34fa[_0x52c0e9];return _0x2fb7b6;},a45_0x52c0(_0xadaed6,_0x339488);}const a45_0x580d7e=a45_0x52c0;(function(_0x34e0c6,_0x575fc8){const _0x26ccd3=a45_0x52c0,_0x12e2c7=_0x34e0c6();while(!![]){try{const _0x55d593=-parseInt(_0x26ccd3(0x210))/0x1*(-parseInt(_0x26ccd3(0x263))/0x2)+-parseInt(_0x26ccd3(0x1d6))/0x3+parseInt(_0x26ccd3(0x23d))/0x4*(-parseInt(_0x26ccd3(0x1aa))/0x5)+parseInt(_0x26ccd3(0x228))/0x6+-parseInt(_0x26ccd3(0x23c))/0x7+-parseInt(_0x26ccd3(0x21f))/0x8*(-parseInt(_0x26ccd3(0x224))/0x9)+-parseInt(_0x26ccd3(0x1d2))/0xa*(-parseInt(_0x26ccd3(0x266))/0xb);if(_0x55d593===_0x575fc8)break;else _0x12e2c7['push'](_0x12e2c7['shift']());}catch(_0x23c0a8){_0x12e2c7['push'](_0x12e2c7['shift']());}}}(a45_0x5e34,0xedb3e));const RequestQueueHandler=require(a45_0x580d7e(0x16e)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x580d7e(0x257)),{v4:uuidv4}=require('uuid'),path=require(a45_0x580d7e(0x1cf)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x580d7e(0x1ee)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0x580d7e(0x1de)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a45_0x580d7e(0x164)),PerformanceTester=require(a45_0x580d7e(0x1a5)),{FRAMEWORKS}=require(a45_0x580d7e(0x1be)),SessionHandler=require(a45_0x580d7e(0x190)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a45_0x580d7e(0x15d)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a45_0x580d7e(0x247)),HookState=require('../../v2/state/hookState'),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x580d7e(0x1b5));class MyReporter{constructor(_0x3332aa){const _0x4b4ca6=a45_0x580d7e,_0x201041={'htYlt':_0x4b4ca6(0x155),'skpCV':_0x4b4ca6(0x239),'wAcem':function(_0x2913e3,_0x521371,_0x1ff562,_0x4a8a5f){return _0x2913e3(_0x521371,_0x1ff562,_0x4a8a5f);}},_0x33c8b6=_0x201041[_0x4b4ca6(0x258)][_0x4b4ca6(0x1a2)]('|');let _0xcc228f=0x0;while(!![]){switch(_0x33c8b6[_0xcc228f++]){case'0':this[_0x4b4ca6(0x25a)]=![];continue;case'1':this[_0x4b4ca6(0x206)]=_0x3332aa;continue;case'2':process[_0x4b4ca6(0x20e)][_0x4b4ca6(0x1f2)]&&(PerformanceTester[_0x4b4ca6(0x1c6)](_0x201041[_0x4b4ca6(0x22a)]),process[_0x4b4ca6(0x20e)]['START_TIME']=new Date()[_0x4b4ca6(0x1e1)]());continue;case'3':this['_testHooksMap']={};continue;case'4':this['_tests']={};continue;case'5':const _0x21deab={};_0x21deab[_0x4b4ca6(0x1b3)]=process[_0x4b4ca6(0x20e)]['BROWSERSTACK_LOG_LEVEL'],_0x201041[_0x4b4ca6(0x262)](setLogLevel,_0x21deab,new Map(),new Map());continue;case'6':this[_0x4b4ca6(0x171)]=[];continue;case'7':this[_0x4b4ca6(0x1f9)]=null;continue;}break;}}async['onBegin'](){const _0x592e74=a45_0x580d7e,_0x51627c={};_0x51627c[_0x592e74(0x25f)]='Playwright';const _0x4585c6=_0x51627c;TestDetails[_0x592e74(0x255)](),await this[_0x592e74(0x25b)](),TestInfo['setup'](_0x4585c6['OvXsi']);if(BrowserstackCLI[_0x592e74(0x172)]()[_0x592e74(0x235)]()){await BrowserstackCLI[_0x592e74(0x172)]()[_0x592e74(0x1ac)]()[_0x592e74(0x25c)](TestFrameworkState[_0x592e74(0x1f8)],HookState['PRE'],{});return;}}async[a45_0x580d7e(0x1a9)](_0x112d8d,_0x27cd92){const _0x45aeaf=a45_0x580d7e,_0x462818={'kLWem':function(_0x13b010,_0x2ba130){return _0x13b010(_0x2ba130);},'PlKRn':function(_0x55778e,_0x554341,_0x1c048b){return _0x55778e(_0x554341,_0x1c048b);},'GJLuG':function(_0x55517d,_0x46448b){return _0x55517d(_0x46448b);},'WfDNW':_0x45aeaf(0x229)};if(BrowserstackCLI['getInstance']()[_0x45aeaf(0x235)]()){const _0x167931={};_0x167931['test']=_0x112d8d,_0x167931[_0x45aeaf(0x20f)]=_0x27cd92,await BrowserstackCLI[_0x45aeaf(0x172)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x45aeaf(0x1e9)],HookState[_0x45aeaf(0x15e)],_0x167931);return;}const _0x4de46c=_0x462818['kLWem'](getTestIdentifier,_0x112d8d),_0x5e9f16=TestDetails[_0x45aeaf(0x18a)](_0x462818[_0x45aeaf(0x1bb)](getTestRunIdentifier,_0x112d8d,_0x27cd92[_0x45aeaf(0x209)]));process[_0x45aeaf(0x20e)][_0x45aeaf(0x1e5)]=_0x5e9f16;const _0x24dc23={};_0x24dc23[_0x45aeaf(0x162)]=_0x5e9f16,_0x24dc23['startedAt']=_0x27cd92[_0x45aeaf(0x1a4)],this['_tests'][_0x4de46c]=_0x24dc23,_0x462818[_0x45aeaf(0x198)](trace,_0x45aeaf(0x1d0)+_0x4de46c),await this['sendTestRunEvent'](_0x112d8d,_0x462818[_0x45aeaf(0x166)],_0x27cd92);}async[a45_0x580d7e(0x23e)](_0x443aa0,_0x571676,_0x611129){const _0x1042fc=a45_0x580d7e,_0x2f7776={'zshdR':function(_0x24dbd3,_0x4c77dc,_0x58d02d){return _0x24dbd3(_0x4c77dc,_0x58d02d);},'SfUwZ':function(_0x2246fa,_0x809717){return _0x2246fa(_0x809717);},'vJbMJ':_0x1042fc(0x261)};if(!this[_0x1042fc(0x18b)](_0x611129,_0x443aa0))return;if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x21d41c=this[_0x1042fc(0x260)](_0x611129['title']),_0x19b9b5=TestFrameworkState[_0x21d41c],_0x4a6c58={};_0x4a6c58[_0x1042fc(0x174)]=_0x443aa0,_0x4a6c58[_0x1042fc(0x20f)]=_0x571676,_0x4a6c58[_0x1042fc(0x1da)]=_0x611129,await BrowserstackCLI['getInstance']()[_0x1042fc(0x1ac)]()[_0x1042fc(0x25c)](_0x19b9b5,HookState[_0x1042fc(0x15e)],_0x4a6c58);return;}const _0x463900=this[_0x1042fc(0x1b8)](_0x443aa0,_0x611129);this[_0x1042fc(0x20b)][_0x463900]={'uuid':TestDetails[_0x1042fc(0x18a)](_0x463900),'startedAt':_0x611129[_0x1042fc(0x1a4)][_0x1042fc(0x1e1)]()};const _0x4dcb10=_0x2f7776[_0x1042fc(0x1c8)](getTestRunIdentifier,_0x443aa0,_0x571676[_0x1042fc(0x209)]);!this[_0x1042fc(0x26c)][_0x4dcb10]&&(this[_0x1042fc(0x26c)][_0x4dcb10]=[]),this[_0x1042fc(0x26c)][_0x4dcb10][_0x1042fc(0x242)](this[_0x1042fc(0x20b)][_0x463900][_0x1042fc(0x162)]),_0x2f7776['SfUwZ'](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x463900+_0x1042fc(0x1ec)+_0x4dcb10),await this[_0x1042fc(0x212)](_0x443aa0,_0x611129,_0x2f7776[_0x1042fc(0x267)],_0x571676);}async[a45_0x580d7e(0x1a1)](_0x4968c8,_0x1580f6,_0x264198){const _0x168dba=a45_0x580d7e,_0x1bd194={'ixkEd':function(_0x418165,_0x4ab657){return _0x418165+_0x4ab657;},'IYdKm':function(_0x44ba9d,_0x20585a){return _0x44ba9d(_0x20585a);},'LKPvm':_0x168dba(0x1fd)};if(!this[_0x168dba(0x18b)](_0x264198,_0x4968c8))return;if(BrowserstackCLI[_0x168dba(0x172)]()['isRunning']()){const _0x3accee=this[_0x168dba(0x260)](_0x264198['title']),_0x1135c2=TestFrameworkState[_0x3accee],_0x5c5451={};_0x5c5451[_0x168dba(0x174)]=_0x4968c8,_0x5c5451['result']=_0x1580f6,_0x5c5451['step']=_0x264198,await BrowserstackCLI[_0x168dba(0x172)]()[_0x168dba(0x1ac)]()[_0x168dba(0x25c)](_0x1135c2,HookState[_0x168dba(0x18e)],_0x5c5451);return;}const _0x258a32=this['getStepIdentifier'](_0x4968c8,_0x264198);this['_tests'][_0x258a32]={...this[_0x168dba(0x20b)][_0x258a32]||{},'finishedAt':new Date(_0x1bd194[_0x168dba(0x1b4)](_0x264198[_0x168dba(0x1a4)]['getTime'](),_0x264198[_0x168dba(0x1ef)]))},_0x1bd194[_0x168dba(0x179)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x258a32+'\x20is\x20triggered'),await this[_0x168dba(0x212)](_0x4968c8,_0x264198,_0x1bd194['LKPvm'],_0x1580f6);}async['onTestEnd'](_0x4adfe1,_0x5eea4d){const _0x3fa972=a45_0x580d7e,_0x1f82eb={'jtAYi':function(_0x55d7da,_0x5650aa){return _0x55d7da===_0x5650aa;},'ZpqtL':_0x3fa972(0x163),'nNLlY':_0x3fa972(0x15f),'vSSmm':_0x3fa972(0x161),'PBJrm':function(_0x4f33e2,_0x19ecaa){return _0x4f33e2(_0x19ecaa);},'YHKxo':function(_0x2df6ae,_0x5bfeae,_0x4bad28){return _0x2df6ae(_0x5bfeae,_0x4bad28);},'JyIaw':function(_0x2d6626,_0xdbb8a3){return _0x2d6626(_0xdbb8a3);},'NPvaC':_0x3fa972(0x17d),'xorqr':function(_0x29aa0f,_0x75285a){return _0x29aa0f(_0x75285a);},'xQzZd':_0x3fa972(0x1ea),'kPVkC':function(_0x3b83fc,_0x1343b0){return _0x3b83fc(_0x1343b0);},'LxnAr':_0x3fa972(0x191),'hbvSv':function(_0x30ad70,_0x2d4b55){return _0x30ad70>_0x2d4b55;}};if(BrowserstackCLI[_0x3fa972(0x172)]()[_0x3fa972(0x235)]()){const _0x32c528={};_0x32c528['test']=_0x4adfe1,_0x32c528['result']=_0x5eea4d,this[_0x3fa972(0x171)][_0x3fa972(0x242)](BrowserstackCLI[_0x3fa972(0x172)]()[_0x3fa972(0x1ac)]()['trackEvent'](TestFrameworkState[_0x3fa972(0x1e9)],HookState[_0x3fa972(0x18e)],_0x32c528));return;}const _0x71ac2a=_0x1f82eb[_0x3fa972(0x1c9)](getTestIdentifier,_0x4adfe1),_0x2aa290=TestDetails[_0x3fa972(0x18a)](_0x1f82eb['YHKxo'](getTestRunIdentifier,_0x4adfe1,_0x5eea4d[_0x3fa972(0x209)]));this[_0x3fa972(0x20b)][_0x71ac2a]={...this[_0x3fa972(0x20b)][_0x71ac2a]||{},'finishedAt':new Date()[_0x3fa972(0x1e1)]()},_0x1f82eb[_0x3fa972(0x180)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x71ac2a);try{await this[_0x3fa972(0x1e7)](_0x4adfe1,_0x1f82eb[_0x3fa972(0x203)],_0x5eea4d);}catch(_0x5abf15){_0x1f82eb[_0x3fa972(0x236)](debug,util[_0x3fa972(0x1bf)](_0x1f82eb['xQzZd'],_0x5abf15['toString']()));}try{_0x1f82eb[_0x3fa972(0x159)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x2aa290),await _0x1f82eb[_0x3fa972(0x25d)](sendTraceZip,_0x5eea4d,_0x2aa290);}catch(_0x32122d){_0x1f82eb[_0x3fa972(0x159)](debug,util[_0x3fa972(0x1bf)](_0x1f82eb['LxnAr'],_0x32122d['toString']()));}const _0x481324=[];_0x5eea4d[_0x3fa972(0x226)]&&_0x5eea4d[_0x3fa972(0x226)][_0x3fa972(0x1d1)](_0x169b53=>{const _0x49ed48=_0x3fa972;if(_0x1f82eb[_0x49ed48(0x208)](_0x169b53[_0x49ed48(0x169)],_0x1f82eb['ZpqtL'])){if(!_0x169b53[_0x49ed48(0x1cf)]||!fs['existsSync'](_0x169b53['path']))return;_0x481324[_0x49ed48(0x242)]({'test_run_uuid':_0x2aa290,'timestamp':fs[_0x49ed48(0x19d)](_0x169b53['path'])[_0x49ed48(0x1f4)],'kind':_0x1f82eb[_0x49ed48(0x1cb)],'message':fs[_0x49ed48(0x21d)](_0x169b53[_0x49ed48(0x1cf)],{'encoding':_0x1f82eb[_0x49ed48(0x185)]})});}}),_0x1f82eb['hbvSv'](_0x481324[_0x3fa972(0x244)],0x0)&&await MyReporter['reportLogs'](_0x481324);}async[a45_0x580d7e(0x22d)](){const _0x4f6402=a45_0x580d7e;await RequestQueueHandler[_0x4f6402(0x172)]()[_0x4f6402(0x24e)]();}async[a45_0x580d7e(0x1f5)](_0x18653a){const _0x436dfd=a45_0x580d7e,_0x4939f4={'LKgWZ':function(_0x696bcc){return _0x696bcc();},'fPxll':function(_0x437171,_0x4b390b){return _0x437171(_0x4b390b);}};await Promise[_0x436dfd(0x21c)](this[_0x436dfd(0x171)]),await this[_0x436dfd(0x22d)]();try{process[_0x436dfd(0x20e)][_0x436dfd(0x1f2)]&&await _0x4939f4[_0x436dfd(0x232)](calculatePerformance);}catch(_0x3b3eaf){_0x4939f4[_0x436dfd(0x1ad)](debug,_0x436dfd(0x215)+_0x3b3eaf[_0x436dfd(0x17b)]());}}static async[a45_0x580d7e(0x183)](_0x1073de,_0x3e0770){const _0x9d9be=a45_0x580d7e;_0x3e0770[_0x9d9be(0x220)]=TestDetails['getTestUUID'](_0x1073de),await this['reportLogs']([_0x3e0770]);}static async['reportLogs'](_0x5e17ef){const _0x2ca729=a45_0x580d7e,_0x5063cb={};_0x5063cb[_0x2ca729(0x200)]=_0x2ca729(0x234);const _0x3c629f=_0x5063cb;if(BrowserstackCLI[_0x2ca729(0x172)]()[_0x2ca729(0x235)]())return;const _0x1e23e0={};_0x1e23e0['event_type']=_0x3c629f[_0x2ca729(0x200)],_0x1e23e0[_0x2ca729(0x268)]=_0x5e17ef,await SessionHandler[_0x2ca729(0x19e)](_0x1e23e0);}async['sendHookRunEvent'](_0x1b009d,_0x347f07,_0x55a75f,_0x18cb8c){const _0xa343e9=a45_0x580d7e,_0x2d3cf7={'rzFFs':_0xa343e9(0x213),'diCxn':_0xa343e9(0x199),'Uuyxh':'pending','smKaQ':function(_0x4522ec,_0x30e5bc){return _0x4522ec>=_0x30e5bc;},'CwKKh':function(_0x45cdef,_0x590224){return _0x45cdef===_0x590224;},'gylxX':_0xa343e9(0x1fd),'UOxYw':function(_0x45b848,_0x3800a9){return _0x45b848>_0x3800a9;},'OxLba':'failed','vHchV':function(_0x5965c0,_0x39a68c){return _0x5965c0(_0x39a68c);},'aqmfF':function(_0x3d74c5,_0x4de507,_0x360776){return _0x3d74c5(_0x4de507,_0x360776);},'hChzW':'err','pukpf':'passed'},_0x134816=this['getStepIdentifier'](_0x1b009d,_0x347f07),_0x455d19=this['_tests'][_0x134816],_0x136602={'uuid':_0x455d19[_0xa343e9(0x162)],'type':_0x2d3cf7[_0xa343e9(0x26e)],'hook_type':this['getHookType'](_0x347f07[_0xa343e9(0x157)]),'name':_0x347f07['title'],'scope':this['getScope'](_0x347f07),'scopes':this['getHierarchy'](_0x1b009d),'body':{'lang':_0x2d3cf7[_0xa343e9(0x1cd)],'code':null},'identifier':_0x134816,'file_name':path[_0xa343e9(0x186)](process[_0xa343e9(0x177)](),_0x1b009d[_0xa343e9(0x1cc)][_0xa343e9(0x221)]),'location':path[_0xa343e9(0x186)](process['cwd'](),_0x1b009d['location'][_0xa343e9(0x221)]),'result':_0x2d3cf7[_0xa343e9(0x22e)],'duration_in_ms':_0x2d3cf7[_0xa343e9(0x1a6)](_0x347f07[_0xa343e9(0x1ef)],0x0)?_0x347f07[_0xa343e9(0x1ef)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x1b009d['location'][_0xa343e9(0x221)]?path[_0xa343e9(0x186)](this[_0xa343e9(0x1f9)],_0x1b009d['location'][_0xa343e9(0x221)]):undefined,'started_at':_0x455d19[_0xa343e9(0x21b)],'finished_at':_0x455d19[_0xa343e9(0x160)],'framework':FRAMEWORKS[_0xa343e9(0x1c4)]};if(_0x2d3cf7[_0xa343e9(0x1dd)](_0x55a75f,_0x2d3cf7[_0xa343e9(0x1ca)])){const {steps:_0x191fb8,logs:_0x51f531}=this['getStepsAndLogs'](_0x347f07[_0xa343e9(0x197)],_0x455d19[_0xa343e9(0x162)],_0x2d3cf7[_0xa343e9(0x26e)]);_0x51f531&&_0x2d3cf7[_0xa343e9(0x23f)](_0x51f531['length'],0x0)&&await MyReporter[_0xa343e9(0x1fb)](_0x51f531);const _0x3be916={};_0x3be916[_0xa343e9(0x197)]=_0x191fb8,_0x136602[_0xa343e9(0x214)]=_0x3be916;if(_0x347f07['error']){_0x136602[_0xa343e9(0x20f)]=_0x2d3cf7[_0xa343e9(0x1ab)],_0x136602[_0xa343e9(0x1e3)]=_0x2d3cf7[_0xa343e9(0x1df)](removeAnsiColors,_0x347f07[_0xa343e9(0x240)][_0xa343e9(0x222)]),_0x136602[_0xa343e9(0x1c7)]=_0x2d3cf7[_0xa343e9(0x1df)](getFailureType,_0x347f07[_0xa343e9(0x240)][_0xa343e9(0x222)]);const _0x3ab2e4=_0x2d3cf7[_0xa343e9(0x225)](failureData,_0x347f07[_0xa343e9(0x240)],_0x2d3cf7[_0xa343e9(0x216)]);if(_0x3ab2e4&&_0x2d3cf7[_0xa343e9(0x1dd)](_0x3ab2e4['length'],0x0)){const _0x105a27={};_0x105a27[_0xa343e9(0x19a)]=[_0x136602['failure_reason']],_0x105a27[_0xa343e9(0x156)]=[],_0x3ab2e4[_0xa343e9(0x242)](_0x105a27);}_0x136602[_0xa343e9(0x1b6)]=_0x3ab2e4;}else _0x136602['result']=_0x2d3cf7['pukpf'];}const _0x26e5bf={};_0x26e5bf[_0xa343e9(0x158)]=_0x55a75f,_0x26e5bf[_0xa343e9(0x1eb)]=_0x136602;const _0x25fcf8=_0x26e5bf;await SessionHandler['uploadEventData'](_0x25fcf8);}[a45_0x580d7e(0x24a)](_0x385f2c,_0x4497bf,_0x39fb64){const _0x502f6b=a45_0x580d7e,_0x2a4acd={'NfDEN':function(_0x2ccb2a,_0x375e65){return _0x2ccb2a===_0x375e65;},'vHFzE':_0x502f6b(0x213),'AvddQ':function(_0x44cd46,_0x9e7ca){return _0x44cd46===_0x9e7ca;},'tRgXD':_0x502f6b(0x1db),'sXJcD':function(_0x22e2fa,_0x336fc8){return _0x22e2fa===_0x336fc8;},'uhXJz':_0x502f6b(0x249),'WCDtw':'test','QuTLf':_0x502f6b(0x220),'RvtXz':'hook_run_uuid','LIWfJ':_0x502f6b(0x253),'fruvd':_0x502f6b(0x243),'XfNSL':_0x502f6b(0x204),'NMOHc':function(_0x303450,_0x50e8da){return _0x303450(_0x50e8da);},'YzHTH':function(_0x3159ab,_0x4ca8e6){return _0x3159ab(_0x4ca8e6);},'shsOj':function(_0x29e986){return _0x29e986();},'CwCDm':function(_0x34a3ac,_0x382f43,_0x21e0a2){return _0x34a3ac(_0x382f43,_0x21e0a2);},'LdOjy':function(_0x4aa23f,_0x3c3900,_0x12ecfb){return _0x4aa23f(_0x3c3900,_0x12ecfb);}},_0x18e604=[],_0x4ce9ec=[],_0x8689f5=_0x385f2c[_0x502f6b(0x1b0)](_0x3bdf27=>{const _0x4ef999=_0x502f6b;if(_0x2a4acd[_0x4ef999(0x1c3)](_0x3bdf27[_0x4ef999(0x184)],_0x2a4acd[_0x4ef999(0x168)])&&(_0x2a4acd[_0x4ef999(0x196)](_0x3bdf27[_0x4ef999(0x157)],_0x2a4acd['tRgXD'])||_0x2a4acd[_0x4ef999(0x1ff)](_0x3bdf27['title'],_0x2a4acd['uhXJz'])))return![];return!![];}),_0x55ac10=(_0x7e69bd,_0x131b0b=![])=>{const _0x278ca7=_0x502f6b;if(_0x2a4acd['NfDEN'](_0x7e69bd['steps'][_0x278ca7(0x244)],0x0)){const _0x2042c0=_0x2a4acd['NfDEN'](_0x39fb64,_0x2a4acd[_0x278ca7(0x1c2)])?_0x2a4acd[_0x278ca7(0x16a)]:_0x2a4acd[_0x278ca7(0x246)];_0x4ce9ec[_0x278ca7(0x242)]({'kind':_0x2a4acd[_0x278ca7(0x17e)],[_0x2042c0]:_0x4497bf,'message':_0x7e69bd['title'],'timestamp':_0x7e69bd[_0x278ca7(0x1a4)][_0x278ca7(0x1e1)](),'level':_0x7e69bd['error']?_0x2a4acd[_0x278ca7(0x189)]:_0x2a4acd[_0x278ca7(0x17c)],'duration':_0x7e69bd[_0x278ca7(0x1ef)],'failure':_0x7e69bd['error']&&_0x7e69bd[_0x278ca7(0x240)][_0x278ca7(0x222)]&&_0x2a4acd[_0x278ca7(0x173)](removeAnsiColors,_0x7e69bd[_0x278ca7(0x240)]['message']),'failure_type':_0x2a4acd[_0x278ca7(0x22c)](getFailureType,_0x7e69bd['error']&&_0x7e69bd[_0x278ca7(0x240)][_0x278ca7(0x222)])});}else{!_0x131b0b&&_0x18e604[_0x278ca7(0x242)]({'id':_0x2a4acd[_0x278ca7(0x1ce)](uuidv4),'text':_0x7e69bd['title'],'keyword':undefined,'started_at':_0x7e69bd[_0x278ca7(0x1a4)][_0x278ca7(0x1e1)](),'duration':_0x7e69bd[_0x278ca7(0x1ef)],'result':_0x7e69bd[_0x278ca7(0x240)]?_0x2a4acd[_0x278ca7(0x189)]:_0x2a4acd['XfNSL'],'failure':_0x7e69bd[_0x278ca7(0x240)]&&_0x7e69bd[_0x278ca7(0x240)][_0x278ca7(0x222)]&&_0x2a4acd[_0x278ca7(0x22c)](removeAnsiColors,_0x7e69bd[_0x278ca7(0x240)]['message']),'failure_type':_0x2a4acd[_0x278ca7(0x22c)](getFailureType,_0x7e69bd[_0x278ca7(0x240)]&&_0x7e69bd['error'][_0x278ca7(0x222)])});for(const _0x2fe460 of _0x7e69bd[_0x278ca7(0x197)]){_0x2a4acd[_0x278ca7(0x20a)](_0x55ac10,_0x2fe460,!![]);}}};for(const _0xe792cd of _0x8689f5){_0x2a4acd[_0x502f6b(0x193)](_0x55ac10,_0xe792cd,![]);}const _0x58fcaf={};return _0x58fcaf[_0x502f6b(0x197)]=_0x18e604,_0x58fcaf[_0x502f6b(0x268)]=_0x4ce9ec,_0x58fcaf;}async[a45_0x580d7e(0x1e7)](_0x1a12fb,_0x24ab9b,_0x495093){const _0x3bdaff=a45_0x580d7e,_0x45c5a6={'dwWHj':function(_0x4dd8b3,_0x3e65b3){return _0x4dd8b3(_0x3e65b3);},'bLFIb':'TEST_ATTACHMENT','ufBJA':function(_0x536834,_0x3a6765){return _0x536834(_0x3a6765);},'zzFYr':_0x3bdaff(0x174),'cdsna':_0x3bdaff(0x199),'cHwuW':_0x3bdaff(0x1d8),'bjjYc':function(_0x5ed2ef,_0x34d977){return _0x5ed2ef(_0x34d977);},'evCwe':function(_0x2fbb87,_0x1736c5,_0x41e4df,_0x27d4e,_0x284816){return _0x2fbb87(_0x1736c5,_0x41e4df,_0x27d4e,_0x284816);},'NHvAI':function(_0x332d68,_0x2ada10){return _0x332d68>_0x2ada10;},'yWQUP':function(_0x5edbee,_0xe33a57,_0x8c3433){return _0x5edbee(_0xe33a57,_0x8c3433);},'SeIxp':function(_0x44716b,_0x342b87){return _0x44716b-_0x342b87;},'zLXId':function(_0x5a1cca,_0x5940d9){return _0x5a1cca===_0x5940d9;},'YEtAP':_0x3bdaff(0x17d),'rwFby':function(_0x1e4e28,_0xc1e9b4){return _0x1e4e28===_0xc1e9b4;},'revMA':_0x3bdaff(0x265),'cjqfl':_0x3bdaff(0x204),'CTdeU':function(_0x121438,_0x16c111){return _0x121438===_0x16c111;},'YEvTF':'failed','pOqnr':function(_0x38d428,_0x10f50a){return _0x38d428===_0x10f50a;},'ReYHp':_0x3bdaff(0x1bc),'thsdY':function(_0x333f21,_0x3a6c4c){return _0x333f21===_0x3a6c4c;},'FjGji':'Expected\x20to\x20fail,\x20but\x20passed.','ZRiaK':function(_0x2720d3,_0x45120c){return _0x2720d3(_0x45120c);},'pPoVG':function(_0x19aa18,_0x512db2,_0x39202d){return _0x19aa18(_0x512db2,_0x39202d);},'QXnUy':function(_0x1579e2,_0x5a311e){return _0x1579e2===_0x5a311e;},'hIKqt':function(_0x386f9,_0x1d4b22){return _0x386f9>_0x1d4b22;},'nJdcR':'path','TqAGq':function(_0x56f2b3,_0x117d9c){return _0x56f2b3(_0x117d9c);},'uxmiW':'.browserstack','gvVkA':_0x3bdaff(0x22b),'foYwu':function(_0x5f4203,_0x1ecb53){return _0x5f4203!==_0x1ecb53;},'KopNn':function(_0x25ffbd,_0xdc9a25){return _0x25ffbd===_0xdc9a25;}},_0x4fc5a9=_0x45c5a6['ufBJA'](getTestIdentifier,_0x1a12fb),_0x50c86b=this['getScope'](_0x1a12fb),_0x37963b=this[_0x3bdaff(0x20b)][_0x4fc5a9],_0x5a0ee5=path['relative'](process[_0x3bdaff(0x177)](),_0x1a12fb[_0x3bdaff(0x1cc)][_0x3bdaff(0x221)]);await this[_0x3bdaff(0x25b)]();const _0x26a5cd={'uuid':_0x37963b['uuid'],'type':_0x45c5a6['zzFYr'],'name':_0x1a12fb['title'],'body':{'lang':_0x45c5a6[_0x3bdaff(0x170)],'code':_0x1a12fb['fn'][_0x3bdaff(0x17b)]()},'scope':_0x50c86b,'scopes':this['getHierarchy'](_0x1a12fb),'identifier':_0x4fc5a9,'file_name':_0x5a0ee5,'location':_0x5a0ee5,'result':_0x45c5a6[_0x3bdaff(0x248)],'duration_in_ms':_0x495093&&_0x495093[_0x3bdaff(0x1ef)]?_0x495093[_0x3bdaff(0x1ef)]:null,'vc_filepath':this[_0x3bdaff(0x1f9)]&&_0x1a12fb[_0x3bdaff(0x1cc)]['file']?path['relative'](this['_gitConfigPath'],_0x1a12fb[_0x3bdaff(0x1cc)][_0x3bdaff(0x221)]):undefined,'started_at':_0x37963b['startedAt'],'finished_at':_0x37963b['finishedAt'],'framework':FRAMEWORKS[_0x3bdaff(0x1c4)],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x1a12fb)},'tags':_0x45c5a6[_0x3bdaff(0x167)](getTestTags,_0x1a12fb)};_0x45c5a6['evCwe'](appendTesthubParams,_0x26a5cd,_0x24ab9b,_0x1a12fb,FRAMEWORKS['PLAYWRIGHT']);_0x495093&&_0x45c5a6[_0x3bdaff(0x23a)](_0x495093[_0x3bdaff(0x209)],0x0)&&(_0x26a5cd[_0x3bdaff(0x1c0)]=TestDetails[_0x3bdaff(0x18a)](_0x45c5a6['yWQUP'](getTestRunIdentifier,_0x1a12fb,_0x45c5a6[_0x3bdaff(0x187)](_0x495093[_0x3bdaff(0x209)],0x1))));if(_0x45c5a6['zLXId'](_0x24ab9b,_0x45c5a6[_0x3bdaff(0x182)])){_0x26a5cd[_0x3bdaff(0x20f)]=_0x495093[_0x3bdaff(0x22f)];if(_0x45c5a6[_0x3bdaff(0x1d7)](_0x495093[_0x3bdaff(0x22f)],_0x1a12fb['expectedStatus']))_0x26a5cd[_0x3bdaff(0x20f)]=_0x45c5a6[_0x3bdaff(0x19c)](_0x495093[_0x3bdaff(0x22f)],_0x45c5a6[_0x3bdaff(0x1f3)])?_0x45c5a6[_0x3bdaff(0x1f3)]:_0x45c5a6[_0x3bdaff(0x1b9)];else{(_0x45c5a6['CTdeU'](_0x26a5cd[_0x3bdaff(0x20f)],_0x45c5a6[_0x3bdaff(0x1b9)])||_0x45c5a6['zLXId'](_0x26a5cd['result'],_0x45c5a6[_0x3bdaff(0x1f0)])||_0x45c5a6[_0x3bdaff(0x25e)](_0x26a5cd[_0x3bdaff(0x20f)],_0x45c5a6[_0x3bdaff(0x1a0)]))&&(_0x26a5cd[_0x3bdaff(0x20f)]=_0x45c5a6[_0x3bdaff(0x1f0)]);if(_0x45c5a6[_0x3bdaff(0x1fa)](_0x495093['status'],_0x45c5a6[_0x3bdaff(0x1b9)])&&_0x45c5a6['rwFby'](_0x1a12fb[_0x3bdaff(0x219)],_0x45c5a6['YEvTF'])){const _0x17ce4b={};_0x17ce4b[_0x3bdaff(0x222)]=_0x45c5a6[_0x3bdaff(0x26b)],_0x17ce4b[_0x3bdaff(0x1e0)]=_0x45c5a6[_0x3bdaff(0x26b)],_0x495093['error']=_0x17ce4b,_0x495093['errors']=[_0x495093[_0x3bdaff(0x240)]];}}const _0x29ea37=_0x45c5a6[_0x3bdaff(0x181)](getTestRunIdentifier,_0x1a12fb,_0x495093[_0x3bdaff(0x209)]);_0x26a5cd[_0x3bdaff(0x1d4)]=this['_testHooksMap'][_0x29ea37];const {steps:_0x44e1e7,logs:_0xafea00}=this[_0x3bdaff(0x24a)](_0x495093[_0x3bdaff(0x197)],_0x37963b[_0x3bdaff(0x162)],_0x45c5a6[_0x3bdaff(0x1c1)]);await MyReporter[_0x3bdaff(0x1fb)](_0xafea00);const _0x5e958d={};_0x5e958d[_0x3bdaff(0x197)]=_0x44e1e7,_0x26a5cd['meta']=_0x5e958d;if(_0x495093[_0x3bdaff(0x240)]){_0x26a5cd[_0x3bdaff(0x1e3)]=_0x45c5a6[_0x3bdaff(0x16f)](removeAnsiColors,_0x495093[_0x3bdaff(0x240)]['message']),_0x26a5cd[_0x3bdaff(0x1c7)]=_0x45c5a6[_0x3bdaff(0x167)](getFailureType,_0x495093[_0x3bdaff(0x240)][_0x3bdaff(0x222)]);const _0xb1955e={};_0xb1955e[_0x3bdaff(0x220)]=_0x37963b[_0x3bdaff(0x162)];const {failureData:_0x3399b1,logs:_0x581178}=_0x45c5a6[_0x3bdaff(0x1af)](getFailureData,_0x495093[_0x3bdaff(0x15b)],_0xb1955e);if(_0x3399b1&&_0x45c5a6[_0x3bdaff(0x18c)](_0x3399b1[_0x3bdaff(0x244)],0x0)){const _0x4d9ab4={};_0x4d9ab4['backtrace']=[_0x26a5cd[_0x3bdaff(0x1e3)]],_0x4d9ab4[_0x3bdaff(0x156)]=[],_0x3399b1['push'](_0x4d9ab4);}_0x26a5cd[_0x3bdaff(0x1b6)]=_0x3399b1,_0x581178&&_0x45c5a6[_0x3bdaff(0x201)](_0x581178['length'],0x0)&&await MyReporter[_0x3bdaff(0x1fb)](_0x581178);}}let _0x2bb1d7=_0x45c5a6[_0x3bdaff(0x181)](findNestedKey,_0x495093,_0x45c5a6[_0x3bdaff(0x1fc)]);if(_0x2bb1d7&&_0x45c5a6[_0x3bdaff(0x167)](validateFilePath,_0x2bb1d7))_0x45c5a6[_0x3bdaff(0x1b1)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x37963b[_0x3bdaff(0x162)]+'\x20at\x20'+_0x2bb1d7);else{const _0x4760b7=path[_0x3bdaff(0x245)](helper[_0x3bdaff(0x256)](),_0x45c5a6[_0x3bdaff(0x218)]);!fs[_0x3bdaff(0x18d)](_0x4760b7)&&fs[_0x3bdaff(0x1ae)](_0x4760b7),fs[_0x3bdaff(0x18d)](path[_0x3bdaff(0x245)](_0x4760b7,'trace_'+_0x37963b[_0x3bdaff(0x162)]+_0x3bdaff(0x20c)))&&(_0x2bb1d7=fs[_0x3bdaff(0x21d)](path[_0x3bdaff(0x245)](_0x4760b7,_0x3bdaff(0x223)+_0x37963b[_0x3bdaff(0x162)]+_0x3bdaff(0x20c)),_0x45c5a6[_0x3bdaff(0x1d3)]),_0x45c5a6[_0x3bdaff(0x251)](debug,_0x3bdaff(0x230)+_0x37963b[_0x3bdaff(0x162)]+_0x3bdaff(0x21a)+_0x2bb1d7));}const _0x162834={};_0x162834[_0x3bdaff(0x158)]=_0x24ab9b,_0x162834['test_run']=_0x26a5cd;const _0xf1409c=_0x162834;_0x2bb1d7&&_0x45c5a6['foYwu'](_0x2bb1d7,'')&&_0x45c5a6['KopNn'](_0x24ab9b,_0x45c5a6[_0x3bdaff(0x182)])&&(!_0xf1409c[_0x3bdaff(0x268)]&&(_0xf1409c['logs']=[]),_0x2bb1d7[_0x3bdaff(0x1a2)]('\x0a')[_0x3bdaff(0x176)](_0x47643b=>{const _0x1a950=_0x3bdaff;_0x47643b&&_0x45c5a6['dwWHj'](validateFilePath,_0x47643b)&&_0xf1409c[_0x1a950(0x268)][_0x1a950(0x242)]({'kind':_0x45c5a6[_0x1a950(0x26a)],'timestamp':new Date()[_0x1a950(0x1e1)](),'test_run_uuid':_0x37963b[_0x1a950(0x162)],'file_name':path[_0x1a950(0x17f)](_0x47643b),'file_size':fs['statSync'](_0x47643b)[_0x1a950(0x250)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x3bdaff(0x19e)](_0xf1409c);}[a45_0x580d7e(0x23b)](_0x351580){const _0x5247fb=a45_0x580d7e,_0x209c63={};_0x209c63[_0x5247fb(0x205)]=function(_0x573e2b,_0x2bb5c8){return _0x573e2b===_0x2bb5c8;},_0x209c63['LZatd']=function(_0x1fbe98,_0x16fd03){return _0x1fbe98>_0x16fd03;},_0x209c63[_0x5247fb(0x21e)]=function(_0x5eee3a,_0x46e395){return _0x5eee3a+_0x46e395;},_0x209c63['SYYfv']=function(_0x173709,_0x39fa26){return _0x173709+_0x39fa26;},_0x209c63[_0x5247fb(0x264)]=function(_0x4fcc8b,_0xdd80e3){return _0x4fcc8b===_0xdd80e3;},_0x209c63[_0x5247fb(0x252)]=function(_0x436ff7,_0x2ddda6){return _0x436ff7+_0x2ddda6;},_0x209c63[_0x5247fb(0x24c)]=function(_0x5de981,_0x5c5909){return _0x5de981+_0x5c5909;};const _0xf83e3a=_0x209c63,_0x23206a=_0x351580[_0x5247fb(0x1f7)]()['map'](_0x4d6a3b=>{const _0x41e03d=_0x5247fb;if(_0x351580[_0x41e03d(0x233)]&&_0xf83e3a[_0x41e03d(0x205)](_0x4d6a3b,_0x351580[_0x41e03d(0x233)][_0x41e03d(0x157)])&&_0x351580[_0x41e03d(0x233)][_0x41e03d(0x24f)]&&_0xf83e3a[_0x41e03d(0x211)](_0x351580[_0x41e03d(0x233)][_0x41e03d(0x24f)][_0x41e03d(0x244)],0x0))return _0xf83e3a[_0x41e03d(0x21e)](_0xf83e3a['SYYfv'](_0x4d6a3b,'\x20'),_0x351580[_0x41e03d(0x233)][_0x41e03d(0x24f)][_0x41e03d(0x245)]('\x20'));if(_0xf83e3a['fyXjF'](_0x4d6a3b,_0x351580['title'])&&_0x351580['_tags']&&_0xf83e3a['LZatd'](_0x351580[_0x41e03d(0x24f)][_0x41e03d(0x244)],0x0))return _0xf83e3a[_0x41e03d(0x252)](_0xf83e3a[_0x41e03d(0x24c)](_0x4d6a3b,'\x20'),_0x351580[_0x41e03d(0x24f)][_0x41e03d(0x245)]('\x20'));return _0x4d6a3b;})['join']('\x20');return _0x23206a;}static async[a45_0x580d7e(0x254)](_0x57f7d9,_0x52433e){const _0x30d248=a45_0x580d7e,_0xad1885={'ecbDb':function(_0x16173c,_0x145481){return _0x16173c(_0x145481);},'qjcIJ':'CBTSessionCreated'},_0x2b936e={'uuid':TestDetails[_0x30d248(0x18a)](_0x57f7d9),'integrations':_0x52433e},_0x5f5c5e={};_0x5f5c5e[_0x30d248(0x16b)]=null,_0xad1885['ecbDb'](debug,_0x30d248(0x19f)+_0x57f7d9+',\x20'+util['inspect'](_0x52433e,_0x5f5c5e));const _0x461030={};_0x461030[_0x30d248(0x158)]=_0xad1885[_0x30d248(0x259)],_0x461030['test_run']=_0x2b936e,await SessionHandler[_0x30d248(0x19e)](_0x461030);}async['configureGit'](){const _0x32d046=a45_0x580d7e,_0x38d79d={'sjRlA':function(_0x41510b){return _0x41510b();}};if(this['_gitConfigured'])return;const _0x77d2fc=await _0x38d79d[_0x32d046(0x1a3)](getGitMetaData);_0x77d2fc&&(this[_0x32d046(0x1f9)]=_0x77d2fc[_0x32d046(0x188)]),this[_0x32d046(0x25a)]=!![];}[a45_0x580d7e(0x237)](_0x6cc9d8){const _0x476c0f=a45_0x580d7e,_0x56006c={};_0x56006c[_0x476c0f(0x1f1)]=function(_0x2ad991,_0x1c4488){return _0x2ad991!==_0x1c4488;};const _0x16e08d=_0x56006c,_0x4979d0=[];if(_0x6cc9d8&&_0x6cc9d8['parent']){let _0x556ba1=_0x6cc9d8[_0x476c0f(0x233)];while(_0x556ba1&&_0x16e08d['QvZEK'](_0x556ba1['title'],'')){_0x4979d0[_0x476c0f(0x242)](_0x556ba1['title']),_0x556ba1=_0x556ba1[_0x476c0f(0x233)];}}return _0x4979d0[_0x476c0f(0x15c)]()[_0x476c0f(0x17a)](0x0,0x2),_0x4979d0;}[a45_0x580d7e(0x18b)](_0x235a67){const _0x3697b5=a45_0x580d7e,_0x22c53e={};_0x22c53e[_0x3697b5(0x202)]=function(_0x386a54,_0x57b744){return _0x386a54!==_0x57b744;},_0x22c53e['LmmlR']=_0x3697b5(0x213),_0x22c53e[_0x3697b5(0x16d)]=function(_0x19f5b0,_0x11a69b){return _0x19f5b0===_0x11a69b;},_0x22c53e[_0x3697b5(0x231)]=_0x3697b5(0x165),_0x22c53e[_0x3697b5(0x194)]=_0x3697b5(0x24d),_0x22c53e['SBHfu']=_0x3697b5(0x1b7),_0x22c53e[_0x3697b5(0x217)]=_0x3697b5(0x1fe);const _0x2aa6f9=_0x22c53e;if(_0x2aa6f9['WAnOz'](_0x235a67['category'],_0x2aa6f9[_0x3697b5(0x227)]))return![];if(_0x2aa6f9['GAzIb']([_0x2aa6f9['OGPzc'],_0x2aa6f9[_0x3697b5(0x194)],_0x2aa6f9[_0x3697b5(0x1ba)],_0x2aa6f9[_0x3697b5(0x217)]][_0x3697b5(0x195)](_0x235a67[_0x3697b5(0x157)]),-0x1))return![];return!![];}[a45_0x580d7e(0x1e2)](_0xc3f079,_0x463250){const _0x5703bb=a45_0x580d7e,_0x4967b5={'ihNUy':function(_0x47b073,_0x38bed6){return _0x47b073(_0x38bed6);}},_0xbcef03=_0x463250[_0x5703bb(0x24b)];if(_0xbcef03)return _0xbcef03;return _0x463250[_0x5703bb(0x157)]+_0x5703bb(0x1e4)+_0x4967b5[_0x5703bb(0x1b2)](getTestIdentifier,_0xc3f079);}[a45_0x580d7e(0x1b8)](_0x1e2e8d,_0x3d34ce){const _0x1df07f=a45_0x580d7e,_0xfba3ce={'zNrQb':function(_0x1fec10,_0x2e3d30){return _0x1fec10(_0x2e3d30);},'XQefx':function(_0x50cff5){return _0x50cff5();}};let _0x452511=_0x3d34ce[_0x1df07f(0x157)]+_0x1df07f(0x1e4)+_0xfba3ce[_0x1df07f(0x16c)](getTestIdentifier,_0x1e2e8d);return this[_0x1df07f(0x20b)][_0x452511]&&(_0x452511=_0x452511+'\x20-\x20'+_0xfba3ce[_0x1df07f(0x1dc)](uuidv4)),_0x3d34ce[_0x1df07f(0x24b)]=_0x452511,_0x452511;}[a45_0x580d7e(0x260)]=_0xa5b491=>{const _0x1cb677=a45_0x580d7e,_0x12ac30={};_0x12ac30[_0x1cb677(0x178)]=_0x1cb677(0x165),_0x12ac30['NKntx']='BEFORE_EACH',_0x12ac30[_0x1cb677(0x1ed)]=_0x1cb677(0x24d),_0x12ac30['QcWSM']=_0x1cb677(0x1bd),_0x12ac30['FSafy']=_0x1cb677(0x1fe),_0x12ac30[_0x1cb677(0x207)]=_0x1cb677(0x1e8),_0x12ac30[_0x1cb677(0x26d)]=_0x1cb677(0x1b7),_0x12ac30['FuxDR']=_0x1cb677(0x1a7),_0x12ac30['CwBdH']=_0x1cb677(0x1e6);const _0x4f716d=_0x12ac30;if(_0xa5b491[_0x1cb677(0x1f6)](_0x4f716d[_0x1cb677(0x178)]))return _0x4f716d[_0x1cb677(0x1c5)];else{if(_0xa5b491[_0x1cb677(0x1f6)](_0x4f716d['Nbsvz']))return _0x4f716d[_0x1cb677(0x192)];else{if(_0xa5b491[_0x1cb677(0x1f6)](_0x4f716d[_0x1cb677(0x269)]))return _0x4f716d['PvOwi'];else{if(_0xa5b491[_0x1cb677(0x1f6)](_0x4f716d[_0x1cb677(0x26d)]))return _0x4f716d['FuxDR'];}}}return _0x4f716d[_0x1cb677(0x241)];};[a45_0x580d7e(0x175)]=_0x1160e4=>{const _0x96c5e4=a45_0x580d7e,_0x83ee53={};_0x83ee53[_0x96c5e4(0x1a8)]=function(_0x174b29,_0x102b53){return _0x174b29===_0x102b53;},_0x83ee53['zrUti']=_0x96c5e4(0x18f);const _0x40e3b5=_0x83ee53;let _0x11e92c=_0x1160e4[_0x96c5e4(0x233)];return _0x40e3b5['gJKbf'](typeof _0x1160e4['parent'],_0x40e3b5[_0x96c5e4(0x19b)])&&(_0x11e92c=_0x11e92c['title']),_0x11e92c+_0x96c5e4(0x20d)+_0x1160e4[_0x96c5e4(0x157)];};['printsToStdio'](){return![];}}module[a45_0x580d7e(0x238)]=o11yClassErrorHandler(MyReporter,[a45_0x580d7e(0x1d9),a45_0x580d7e(0x22d),'onTestBegin',a45_0x580d7e(0x15a),a45_0x580d7e(0x23e),a45_0x580d7e(0x1a1),a45_0x580d7e(0x254)],a45_0x580d7e(0x1d5));function a45_0x5e34(){const _0x34afd8=['jtAYi','retry','CwCDm','_tests','.txt','\x20-\x20','env','result','1cZyQUP','LZatd','sendHookRunEvent','hook','meta','Error\x20in\x20calculating\x20performance:\x20','hChzW','ydYHZ','uxmiW','expectedStatus','\x20at\x20','startedAt','all','readFileSync','AGNMU','8hEPLAW','test_run_uuid','file','message','trace_','874251KHScKI','aqmfF','attachments','LmmlR','10188858OvgSTt','TestRunStarted','skpCV','utf8','YzHTH','endSession','Uuyxh','status','Trace\x20file\x20found\x20for\x20test:\x20','OGPzc','LKgWZ','parent','LogCreated','isRunning','xorqr','getHierarchy','exports','performance-report-reporter.json','NHvAI','getCustomRerunParam','6778429cmfiCx','124vzrflj','onStepBegin','UOxYw','error','CwBdH','push','failed','length','join','RvtXz','../../v2/state/testFrameworkState','cHwuW','Before\x20Hooks','getStepsAndLogs','_bs_hookIdentifier','AkHgA','beforeAll\x20hook','shutdown','_tags','size','dwWHj','vShZD','TEST_STEP','sendSessionDetails','setup','homedir','./pwUtils','htYlt','qjcIJ','_gitConfigured','configureGit','trackEvent','YHKxo','pOqnr','OvXsi','getHookType','HookRunStarted','wAcem','2846734NJqzgC','fyXjF','skipped','1382205rXHDBI','vJbMJ','logs','FSafy','bLFIb','FjGji','_testHooksMap','bjZgn','rzFFs','5|2|4|3|1|0|7|6','expanded','title','event_type','kPVkC','onTestEnd','errors','reverse','../../../helpers/helper','PRE','TEST_SCREENSHOT','finishedAt','base64','uuid','screenshot','../../../helpers/test-observability/error-handler','beforeEach\x20hook','WfDNW','bjjYc','vHFzE','name','QuTLf','depth','zNrQb','GAzIb','../../../helpers/test-observability/requestQueueHandler','ZRiaK','cdsna','_trackedEvents','getInstance','NMOHc','test','getScope','forEach','cwd','TYVqI','IYdKm','splice','toString','XfNSL','TestRunFinished','LIWfJ','basename','JyIaw','yWQUP','YEtAP','addTestUIDAndReportLog','category','vSSmm','relative','SeIxp','root','fruvd','getTestUUID','needToReportStep','QXnUy','existsSync','POST','object','../../../helpers/test-observability/sessionHandler','Error\x20in\x20sending\x20trace\x20zip:\x20%s','QcWSM','LdOjy','GLtjW','indexOf','AvddQ','steps','GJLuG','javascript','backtrace','zrUti','rwFby','statSync','uploadEventData','Sending\x20session\x20details\x20for\x20','ReYHp','onStepEnd','split','sjRlA','startTime','../../../helpers/performance/performance-tester','smKaQ','AFTER_ALL','gJKbf','onTestBegin','258225MamEyP','OxLba','getTestFramework','fPxll','mkdirSync','pPoVG','filter','TqAGq','ihNUy','logLevel','ixkEd','../../../../src/bin/utils/constants','failure','afterAll\x20hook','setStepIdentifier','cjqfl','SBHfu','PlKRn','timedOut','BEFORE_ALL','../../../helpers/test-observability/constants','format','retry_of','zzFYr','WCDtw','NfDEN','PLAYWRIGHT','NKntx','startMonitoring','failure_type','zshdR','PBJrm','gylxX','nNLlY','location','diCxn','shsOj','path','Test\x20Started\x20with\x20unique\x20id\x20','map','170spsUAq','gvVkA','hooks','MyReporter','5435436kXKJbT','zLXId','pending','onBegin','step','After\x20Hooks','XQefx','CwKKh','./test-details','vHchV','stack','toISOString','getStepIdentifier','failure_reason','\x20for\x20','BROWSERSTACK_TEST_RUN_ID','unknown','sendTestRunEvent','AFTER_EACH','TEST','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','hook_run','\x20is\x20triggered\x20for\x20test\x20','Nbsvz','../../../helpers/test-observability/utils','duration','YEvTF','QvZEK','BROWSERSTACK_O11Y_PERF_MEASUREMENT','revMA','mtime','onEnd','startsWith','titlePath','INIT_TEST','_gitConfigPath','thsdY','reportLogs','nJdcR','HookRunFinished','afterEach\x20hook','sXJcD','YxPLm','hIKqt','WAnOz','NPvaC','passed','tpdow','options','PvOwi'];a45_0x5e34=function(){return _0x34afd8;};return a45_0x5e34();}
@@ -1 +1 @@
1
- const a46_0x57ab47=a46_0x34c9;(function(_0x55374d,_0x2cc925){const _0x9b1c77=a46_0x34c9,_0x550018=_0x55374d();while(!![]){try{const _0x4dee03=parseInt(_0x9b1c77(0x8f))/0x1+parseInt(_0x9b1c77(0xb4))/0x2*(parseInt(_0x9b1c77(0x84))/0x3)+parseInt(_0x9b1c77(0xc6))/0x4+parseInt(_0x9b1c77(0x90))/0x5*(parseInt(_0x9b1c77(0xcc))/0x6)+-parseInt(_0x9b1c77(0xa1))/0x7+parseInt(_0x9b1c77(0xc8))/0x8+-parseInt(_0x9b1c77(0x80))/0x9;if(_0x4dee03===_0x2cc925)break;else _0x550018['push'](_0x550018['shift']());}catch(_0x2afc7c){_0x550018['push'](_0x550018['shift']());}}}(a46_0x1658,0x1e37b));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a46_0x57ab47(0x85)),{TEMP_STORE_DIR_NAME}=require(a46_0x57ab47(0x92)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')[a46_0x57ab47(0x9a)],{getLogDir}=require('../../../helpers/logger'),util=require(a46_0x57ab47(0xc1)),helper=require(a46_0x57ab47(0xbf));class TestDetails{static ['tests']={};static['setup'](){const _0x5ee303=a46_0x57ab47;this[_0x5ee303(0xa6)]();const _0x118033={};_0x118033['recursive']=!![],fs[_0x5ee303(0xc3)](this['getDirPath'](),_0x118033);const _0x1d5627={};_0x1d5627[_0x5ee303(0x7d)]=!![],fs[_0x5ee303(0xc3)](this[_0x5ee303(0xa9)](),_0x1d5627);}static['getStoreDirName'](){const _0x22999a=a46_0x57ab47,_0x2c3b85={};_0x2c3b85[_0x22999a(0xcd)]=function(_0x2e6af6,_0x36faf7){return _0x2e6af6+_0x36faf7;};const _0x33521c=_0x2c3b85;return _0x33521c[_0x22999a(0xcd)](_0x33521c[_0x22999a(0xcd)](TEMP_STORE_DIR_NAME,'-'),process[_0x22999a(0x93)][_0x22999a(0x7b)]);}static[a46_0x57ab47(0x9b)](){const _0x59b3ae=a46_0x57ab47,_0x16dabb={};_0x16dabb[_0x59b3ae(0xab)]=function(_0x5d93d1,_0x5d159c){return _0x5d93d1+_0x5d159c;},_0x16dabb[_0x59b3ae(0xc9)]=function(_0x69c466,_0x1e2e1d){return _0x69c466+_0x1e2e1d;},_0x16dabb['NzoMw']=_0x59b3ae(0x8d);const _0x4701b9=_0x16dabb;return path[_0x59b3ae(0xac)](_0x4701b9[_0x59b3ae(0xab)](_0x4701b9[_0x59b3ae(0xc9)](TEMP_STORE_DIR_NAME,'-'),process[_0x59b3ae(0x93)][_0x59b3ae(0x7b)]||_0x4701b9['NzoMw']));}static[a46_0x57ab47(0xa9)](){const _0x330d7f=a46_0x57ab47,_0x3aa508={};_0x3aa508[_0x330d7f(0x9f)]=_0x330d7f(0xad);const _0x370c71=_0x3aa508;return path[_0x330d7f(0xac)](this[_0x330d7f(0x9b)](),_0x370c71['MYZDT']);}static[a46_0x57ab47(0x7f)](){return TestDetails['getStoreDirName']();}static[a46_0x57ab47(0x88)](_0x3e0b97){const _0x22193c=a46_0x57ab47,_0x39f134={};_0x39f134[_0x22193c(0x87)]=function(_0x19f21f,_0x3083dd){return _0x19f21f+_0x3083dd;},_0x39f134['zQjCW']='.json';const _0x3bfe04=_0x39f134;return path[_0x22193c(0xac)](this[_0x22193c(0x7f)](),_0x3bfe04['OsHyu'](_0x3e0b97,_0x3bfe04['zQjCW']));}static[a46_0x57ab47(0xb7)](_0xbfa84c){const _0x1ae1bf=a46_0x57ab47,_0x414e22={};_0x414e22[_0x1ae1bf(0x96)]=function(_0x4dd251,_0x4910ba){return _0x4dd251+_0x4910ba;},_0x414e22['LvSmU']=function(_0x538ace,_0x9a8eef){return _0x538ace+_0x9a8eef;};const _0x1674af=_0x414e22;return _0x1674af[_0x1ae1bf(0x96)](_0x1674af[_0x1ae1bf(0x96)](_0x1674af['LvSmU'](_0x1674af[_0x1ae1bf(0xa2)](this[_0x1ae1bf(0x89)](_0xbfa84c),'-'),this[_0x1ae1bf(0xc0)](_0xbfa84c)),'-'),_0xbfa84c['retry']);}static[a46_0x57ab47(0x89)](_0x1b08f5){const _0x5414cd=a46_0x57ab47,_0x426391={'EYmDF':function(_0x69f68,_0x3723b4,_0xc9c4b7){return _0x69f68(_0x3723b4,_0xc9c4b7);},'eeUOa':'_test','phcUK':_0x5414cd(0xa7),'JhFEO':_0x5414cd(0xb3),'VPdVL':_0x5414cd(0xa4)};return _0x426391['EYmDF'](nestedKeyValue,_0x1b08f5,[_0x426391['eeUOa'],_0x426391['phcUK']])||_0x426391[_0x5414cd(0x98)](nestedKeyValue,_0x1b08f5,[_0x426391['JhFEO'],_0x426391['VPdVL']]);}static[a46_0x57ab47(0xc0)](_0xddf77c){const _0x1bb272=a46_0x57ab47,_0x4d7b4d={'sAypK':function(_0xd514b0,_0x293e52,_0x35f137){return _0xd514b0(_0x293e52,_0x35f137);},'xEmGm':_0x1bb272(0xaa)};return _0x4d7b4d[_0x1bb272(0xaf)](nestedKeyValue,_0xddf77c,[_0x4d7b4d[_0x1bb272(0x7e)],'id'])||_0xddf77c[_0x1bb272(0xb8)];}static[a46_0x57ab47(0xc5)](_0x23f926){const _0x2e6c1b=a46_0x57ab47,_0x574606={'TCWbZ':function(_0x42644a,_0x4f2a51){return _0x42644a===_0x4f2a51;},'hMPIi':'string','fnEVu':function(_0x96568f){return _0x96568f();}};if(this['tests'][_0x23f926]&&_0x574606[_0x2e6c1b(0xd1)](typeof this['tests'][_0x23f926][_0x2e6c1b(0x85)],_0x574606[_0x2e6c1b(0xc4)]))return this[_0x2e6c1b(0xa3)][_0x23f926]['uuid'];const _0x293a70=this[_0x2e6c1b(0x88)](_0x23f926);if(_0x293a70&&fs['existsSync'](_0x293a70)){const _0x1506b9=JSON['parse'](fs[_0x2e6c1b(0xb1)](_0x293a70)['toString']());return this[_0x2e6c1b(0xa3)][_0x23f926]=_0x1506b9,this['tests'][_0x23f926]['uuid'];}return this[_0x2e6c1b(0xa3)][_0x23f926]={'uuid':_0x574606[_0x2e6c1b(0xc7)](uuidv4)},fs['writeFileSync'](_0x293a70,JSON['stringify'](this[_0x2e6c1b(0xa3)][_0x23f926])),this[_0x2e6c1b(0xa3)][_0x23f926][_0x2e6c1b(0x85)];}static['getAccessibilityPlatformValidation'](_0x1c25ff){const _0x1b3e4e=a46_0x57ab47,_0x22eccf=path['join'](this['getDirPath'](),_0x1c25ff+_0x1b3e4e(0xbd));if(_0x22eccf&&fs[_0x1b3e4e(0x83)](_0x22eccf))return fs['readFileSync'](_0x22eccf)['toString']();}static[a46_0x57ab47(0x94)](_0x10b21c,_0x2ff910){const _0x2a3682=a46_0x57ab47,_0x246b7f=path[_0x2a3682(0xac)](this['getDirPath'](),_0x2ff910+_0x2a3682(0xbd));fs['writeFileSync'](_0x246b7f,_0x10b21c['toString']());}static[a46_0x57ab47(0xa6)](){const _0x1aae1d=a46_0x57ab47,_0x5c6be6={};_0x5c6be6['recursive']=!![],_0x5c6be6[_0x1aae1d(0x81)]=!![],fs[_0x1aae1d(0xca)](this['getDirPath'](),_0x5c6be6);}static[a46_0x57ab47(0x8c)](_0x500e6e){const _0x237fd7=a46_0x57ab47;if(this['tests'][_0x500e6e])return this[_0x237fd7(0xa3)][_0x500e6e];const _0x2f15db=this[_0x237fd7(0x88)](_0x500e6e);if(_0x2f15db&&fs['existsSync'](_0x2f15db)){const _0x2c606c=JSON['parse'](fs[_0x237fd7(0xb1)](_0x2f15db)[_0x237fd7(0xa5)]());return this['tests'][_0x500e6e]=_0x2c606c,_0x2c606c;}return{};}static[a46_0x57ab47(0x95)](_0x3f9e32,_0x2af358){const _0x41b949=a46_0x57ab47,_0x338a48=this[_0x41b949(0x88)](_0x3f9e32);if(_0x338a48&&fs[_0x41b949(0x83)](_0x338a48)){const _0x2423ba=JSON[_0x41b949(0xb5)](fs[_0x41b949(0xb1)](_0x338a48)[_0x41b949(0xa5)]()),_0x16941c={..._0x2423ba,..._0x2af358};this[_0x41b949(0xa3)][_0x3f9e32]=_0x16941c;}else this['tests'][_0x3f9e32]=_0x2af358;fs[_0x41b949(0xb6)](_0x338a48,this[_0x41b949(0xa3)][_0x3f9e32]);}static['addTraceFilePath'](_0x45ff76){const _0x33d19b=a46_0x57ab47,_0x251c15={};_0x251c15[_0x33d19b(0x86)]=_0x33d19b(0x9d);const _0x2fc4ec=_0x251c15;try{const _0x481369=process['pid'],_0x430f31=path['join'](TestDetails['getTraceZipDir'](),_0x481369+'_traceZipPaths.json');let _0x453216=[];_0x430f31&&fs[_0x33d19b(0x83)](_0x430f31)&&(_0x453216=JSON['parse'](fs[_0x33d19b(0xb1)](_0x430f31)[_0x33d19b(0xa5)]())),!_0x453216[_0x33d19b(0xd0)](_0x12469f=>_0x12469f[_0x33d19b(0x9c)]===_0x45ff76['filePath'])&&(_0x453216[_0x33d19b(0x99)](_0x45ff76),fs[_0x33d19b(0xb6)](_0x430f31,JSON[_0x33d19b(0xb0)](_0x453216)));}catch(_0x7b82f){logger[_0x33d19b(0x82)](_0x2fc4ec['Xfbtw'],_0x7b82f);}}static[a46_0x57ab47(0x7c)](){const _0x5f5516=a46_0x57ab47,_0x15551e={};_0x15551e[_0x5f5516(0x9e)]=_0x5f5516(0xa8),_0x15551e['qQQsp']=_0x5f5516(0x7a);const _0x1fa34e=_0x15551e,_0x5a445b=[];try{const _0x13488f=TestDetails['getTraceZipDir']();if(_0x13488f&&!fs['existsSync'](_0x13488f))return _0x5a445b;const _0x30a55d=fs[_0x5f5516(0x8b)](_0x13488f);_0x30a55d[_0x5f5516(0xb9)](_0xb5004c=>{const _0x40720e=_0x5f5516;if(_0xb5004c&&_0xb5004c[_0x40720e(0x8a)](_0x1fa34e[_0x40720e(0x9e)])){const _0x2897ea=JSON[_0x40720e(0xb5)](fs[_0x40720e(0xb1)](path[_0x40720e(0xac)](_0x13488f,_0xb5004c))[_0x40720e(0xa5)]());_0x5a445b['push'](..._0x2897ea);}});}catch(_0x191b05){logger[_0x5f5516(0x82)](util[_0x5f5516(0xce)](_0x1fa34e[_0x5f5516(0xa0)],_0x191b05));}const _0x2f88e5={};return _0x5a445b[_0x5f5516(0xb9)](_0x3c04b5=>{const _0x1d5072=_0x5f5516;_0x2f88e5[_0x3c04b5[_0x1d5072(0x9c)]]=_0x3c04b5;}),Object[_0x5f5516(0xcf)](_0x2f88e5);}static[a46_0x57ab47(0xbb)](_0x2148fc,_0x189b31){const _0x29fec0=a46_0x57ab47,_0x4e6e8f={};_0x4e6e8f[_0x29fec0(0xc2)]=_0x29fec0(0xb2),_0x4e6e8f[_0x29fec0(0xae)]=_0x29fec0(0xbc);const _0x459494=_0x4e6e8f;try{const _0x43ef47=path[_0x29fec0(0xac)](helper[_0x29fec0(0xbe)](),_0x459494[_0x29fec0(0xc2)]);if(!fs[_0x29fec0(0x83)](_0x43ef47)){const _0x1c27a0={};_0x1c27a0[_0x29fec0(0x7d)]=!![],fs[_0x29fec0(0xc3)](_0x43ef47,_0x1c27a0);}fs[_0x29fec0(0xba)](path[_0x29fec0(0xac)](_0x43ef47,_0x29fec0(0x8e)+_0x189b31+_0x29fec0(0xcb)),_0x2148fc+'\x0a',_0x459494[_0x29fec0(0xae)]);}catch(_0xe3b4cc){console[_0x29fec0(0x82)](_0x29fec0(0x91)+_0xe3b4cc['message']);}}}function a46_0x34c9(_0x501792,_0x3044ab){const _0x165855=a46_0x1658();return a46_0x34c9=function(_0x34c929,_0x3ec057){_0x34c929=_0x34c929-0x7a;let _0x3f10d1=_0x165855[_0x34c929];return _0x3f10d1;},a46_0x34c9(_0x501792,_0x3044ab);}module[a46_0x57ab47(0x97)]=TestDetails;function a46_0x1658(){const _0x361915=['util','NCcHz','mkdirSync','hMPIi','getTestUUID','50284vJFXiR','fnEVu','1806456AiYtMu','OCPfl','rmSync','.txt','19818zVtZZi','qhFpr','format','values','some','TCWbZ','Error\x20reading\x20trace\x20file\x20paths:\x20%s','BS_TESTOPS_BUILD_HASHED_ID','getTraceFilePaths','recursive','xEmGm','getDirPath','4346487gjtQXN','force','error','existsSync','5583GqhsuV','uuid','Xfbtw','OsHyu','getFilePath','getProjectIdFromTestInfo','endsWith','readdirSync','getTestDetails','default','trace_','122586XvnGbl','290uBmOrB','Error\x20writing\x20trace\x20file:\x20','../../../helpers/test-observability/constants','env','setAccessibilityPlatformValidation','setTestDetails','kCFen','exports','EYmDF','push','winstonLogger','getStoreDirPath','filePath','Error\x20handling\x20trace\x20file\x20paths:\x20','fMaVm','MYZDT','qQQsp','493577mmRNba','LvSmU','tests','__projectId','toString','shutdown','_projectId','_traceZipPaths.json','getTraceZipDir','_test','xikgs','join','traceZipPaths','EAOpS','sAypK','stringify','readFileSync','.browserstack','project','134ntNucq','parse','writeFileSync','getTestRunIdFromTestInfo','testId','forEach','appendFileSync','appendToTracePaths','utf8','_platformDetails.json','homedir','../../../helpers/helper','getTestIdFromTestInfo'];a46_0x1658=function(){return _0x361915;};return a46_0x1658();}
1
+ const a46_0x436956=a46_0x2576;(function(_0x3fa700,_0x1f2a3b){const _0x1d6683=a46_0x2576,_0x1e6365=_0x3fa700();while(!![]){try{const _0x23324c=parseInt(_0x1d6683(0x75))/0x1*(parseInt(_0x1d6683(0x9d))/0x2)+parseInt(_0x1d6683(0xa8))/0x3+-parseInt(_0x1d6683(0x78))/0x4*(parseInt(_0x1d6683(0x9a))/0x5)+parseInt(_0x1d6683(0x86))/0x6*(parseInt(_0x1d6683(0x8c))/0x7)+-parseInt(_0x1d6683(0x94))/0x8+-parseInt(_0x1d6683(0xb6))/0x9+parseInt(_0x1d6683(0x92))/0xa;if(_0x23324c===_0x1f2a3b)break;else _0x1e6365['push'](_0x1e6365['shift']());}catch(_0x2cc959){_0x1e6365['push'](_0x1e6365['shift']());}}}(a46_0x7ce0,0x7d153));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a46_0x436956(0xb0)),{TEMP_STORE_DIR_NAME}=require(a46_0x436956(0xb4)),{nestedKeyValue}=require(a46_0x436956(0xaa)),logger=require('../../../helpers/logger')[a46_0x436956(0xb2)],{getLogDir}=require(a46_0x436956(0xa4)),util=require('util'),helper=require(a46_0x436956(0xaa));class TestDetails{static [a46_0x436956(0xbc)]={};static['setup'](){const _0x5cc949=a46_0x436956;this['shutdown']();const _0x36a53f={};_0x36a53f[_0x5cc949(0x81)]=!![],fs[_0x5cc949(0xbd)](this['getDirPath'](),_0x36a53f);const _0x168c40={};_0x168c40[_0x5cc949(0x81)]=!![],fs[_0x5cc949(0xbd)](this['getTraceZipDir'](),_0x168c40);}static['getStoreDirName'](){const _0x488153=a46_0x436956,_0x37a37d={};_0x37a37d['UxDty']=function(_0x5a6a65,_0x186b9f){return _0x5a6a65+_0x186b9f;};const _0xf9c17c=_0x37a37d;return _0xf9c17c['UxDty'](_0xf9c17c[_0x488153(0xa5)](TEMP_STORE_DIR_NAME,'-'),process[_0x488153(0xa9)]['BS_TESTOPS_BUILD_HASHED_ID']);}static['getStoreDirPath'](){const _0x51170f=a46_0x436956,_0x1dede2={};_0x1dede2[_0x51170f(0x74)]=function(_0x2e1407,_0xb54635){return _0x2e1407+_0xb54635;},_0x1dede2[_0x51170f(0xc0)]='default';const _0x5e7505=_0x1dede2;return path[_0x51170f(0x96)](_0x5e7505[_0x51170f(0x74)](_0x5e7505[_0x51170f(0x74)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x51170f(0x7a)]||_0x5e7505[_0x51170f(0xc0)]));}static[a46_0x436956(0x95)](){const _0x22e2bb=a46_0x436956,_0x440279={};_0x440279[_0x22e2bb(0x9e)]=_0x22e2bb(0xad);const _0x421d29=_0x440279;return path[_0x22e2bb(0x96)](this[_0x22e2bb(0xc5)](),_0x421d29[_0x22e2bb(0x9e)]);}static[a46_0x436956(0xa6)](){const _0x260f70=a46_0x436956;return TestDetails[_0x260f70(0x7f)]();}static[a46_0x436956(0xc2)](_0x5efa41){const _0x6e7b96=a46_0x436956,_0x39046d={};_0x39046d[_0x6e7b96(0x70)]=function(_0x4facf5,_0xcef73a){return _0x4facf5+_0xcef73a;},_0x39046d[_0x6e7b96(0x79)]=_0x6e7b96(0x84);const _0x2e0d74=_0x39046d;return path['join'](this[_0x6e7b96(0xa6)](),_0x2e0d74[_0x6e7b96(0x70)](_0x5efa41,_0x2e0d74['fKMYn']));}static[a46_0x436956(0xc9)](_0x12f537){const _0x18b6c9=a46_0x436956,_0x221470={};_0x221470[_0x18b6c9(0x9c)]=function(_0x6a151b,_0x372ab1){return _0x6a151b+_0x372ab1;},_0x221470[_0x18b6c9(0x99)]=function(_0x274074,_0x1eed70){return _0x274074+_0x1eed70;};const _0x2187f7=_0x221470;return _0x2187f7['xPCZf'](_0x2187f7[_0x18b6c9(0x9c)](_0x2187f7[_0x18b6c9(0x9c)](_0x2187f7[_0x18b6c9(0x99)](this['getProjectIdFromTestInfo'](_0x12f537),'-'),this[_0x18b6c9(0x97)](_0x12f537)),'-'),_0x12f537[_0x18b6c9(0xa0)]);}static[a46_0x436956(0x82)](_0x127f04){const _0x1f297e=a46_0x436956,_0x14ba1f={'BRRwp':function(_0x19e0f7,_0x50e7cc,_0xcaeaba){return _0x19e0f7(_0x50e7cc,_0xcaeaba);},'GtLxo':_0x1f297e(0xa3),'xiNeT':'_projectId','YOuCA':function(_0x1138c5,_0x1bccab,_0x4450c2){return _0x1138c5(_0x1bccab,_0x4450c2);},'yKkti':_0x1f297e(0xab),'KlHal':_0x1f297e(0x76)};return _0x14ba1f[_0x1f297e(0xb1)](nestedKeyValue,_0x127f04,[_0x14ba1f[_0x1f297e(0x89)],_0x14ba1f[_0x1f297e(0x7c)]])||_0x14ba1f[_0x1f297e(0xa2)](nestedKeyValue,_0x127f04,[_0x14ba1f[_0x1f297e(0xaf)],_0x14ba1f[_0x1f297e(0x8a)]]);}static['getTestIdFromTestInfo'](_0x9afeea){const _0x5a962b=a46_0x436956,_0x5ad379={'eoVPW':function(_0x5ab9ed,_0xa8a0ab,_0x55831e){return _0x5ab9ed(_0xa8a0ab,_0x55831e);},'PZvjj':'_test'};return _0x5ad379[_0x5a962b(0x93)](nestedKeyValue,_0x9afeea,[_0x5ad379[_0x5a962b(0xb9)],'id'])||_0x9afeea[_0x5a962b(0xc4)];}static[a46_0x436956(0x73)](_0x1ee444){const _0x2f0074=a46_0x436956,_0x5726b7={'oXDQY':function(_0x4a94e2,_0x33a671){return _0x4a94e2===_0x33a671;},'ekxta':_0x2f0074(0xa1),'cFgTh':function(_0x5ee4c1){return _0x5ee4c1();}};if(this[_0x2f0074(0xbc)][_0x1ee444]&&_0x5726b7[_0x2f0074(0x80)](typeof this[_0x2f0074(0xbc)][_0x1ee444]['uuid'],_0x5726b7[_0x2f0074(0x7e)]))return this[_0x2f0074(0xbc)][_0x1ee444]['uuid'];const _0x5229e6=this[_0x2f0074(0xc2)](_0x1ee444);if(_0x5229e6&&fs[_0x2f0074(0xba)](_0x5229e6)){const _0x50b0be=JSON[_0x2f0074(0xb3)](fs[_0x2f0074(0xa7)](_0x5229e6)[_0x2f0074(0xbf)]());return this['tests'][_0x1ee444]=_0x50b0be,this[_0x2f0074(0xbc)][_0x1ee444][_0x2f0074(0xb0)];}return this[_0x2f0074(0xbc)][_0x1ee444]={'uuid':_0x5726b7[_0x2f0074(0xac)](uuidv4)},fs[_0x2f0074(0xbb)](_0x5229e6,JSON[_0x2f0074(0x9f)](this[_0x2f0074(0xbc)][_0x1ee444])),this[_0x2f0074(0xbc)][_0x1ee444][_0x2f0074(0xb0)];}static[a46_0x436956(0x85)](_0x4bfe10){const _0x56fd11=a46_0x436956,_0x431f56=path[_0x56fd11(0x96)](this[_0x56fd11(0xa6)](),_0x4bfe10+'_platformDetails.json');if(_0x431f56&&fs['existsSync'](_0x431f56))return fs['readFileSync'](_0x431f56)['toString']();}static[a46_0x436956(0x8e)](_0x3e8487,_0x1160cf){const _0x503a32=a46_0x436956,_0x3542bf=path[_0x503a32(0x96)](this['getDirPath'](),_0x1160cf+_0x503a32(0xc1));fs['writeFileSync'](_0x3542bf,_0x3e8487['toString']());}static[a46_0x436956(0x9b)](){const _0x4eb6b6=a46_0x436956,_0x528061={};_0x528061['recursive']=!![],_0x528061[_0x4eb6b6(0xbe)]=!![],fs['rmSync'](this[_0x4eb6b6(0xa6)](),_0x528061);}static['getTestDetails'](_0x136596){const _0x560e9f=a46_0x436956;if(this[_0x560e9f(0xbc)][_0x136596])return this[_0x560e9f(0xbc)][_0x136596];const _0x588503=this[_0x560e9f(0xc2)](_0x136596);if(_0x588503&&fs[_0x560e9f(0xba)](_0x588503)){const _0xb75c1=JSON['parse'](fs[_0x560e9f(0xa7)](_0x588503)[_0x560e9f(0xbf)]());return this[_0x560e9f(0xbc)][_0x136596]=_0xb75c1,_0xb75c1;}return{};}static[a46_0x436956(0x98)](_0x52a8a6,_0x389320){const _0x2fba40=a46_0x436956,_0x20de4a=this['getFilePath'](_0x52a8a6);if(_0x20de4a&&fs[_0x2fba40(0xba)](_0x20de4a)){const _0x996166=JSON['parse'](fs[_0x2fba40(0xa7)](_0x20de4a)[_0x2fba40(0xbf)]()),_0x59c00c={..._0x996166,..._0x389320};this[_0x2fba40(0xbc)][_0x52a8a6]=_0x59c00c;}else this['tests'][_0x52a8a6]=_0x389320;fs[_0x2fba40(0xbb)](_0x20de4a,this['tests'][_0x52a8a6]);}static[a46_0x436956(0x71)](_0x3c4985){const _0x341658=a46_0x436956,_0xfbb955={};_0xfbb955['FtSAz']=_0x341658(0x83);const _0x219c95=_0xfbb955;try{const _0x4d4cc0=process[_0x341658(0x8f)],_0x40c135=path['join'](TestDetails[_0x341658(0x95)](),_0x4d4cc0+_0x341658(0x8d));let _0x3d189b=[];_0x40c135&&fs[_0x341658(0xba)](_0x40c135)&&(_0x3d189b=JSON['parse'](fs[_0x341658(0xa7)](_0x40c135)['toString']())),!_0x3d189b[_0x341658(0xae)](_0x498f70=>_0x498f70[_0x341658(0x87)]===_0x3c4985[_0x341658(0x87)])&&(_0x3d189b['push'](_0x3c4985),fs[_0x341658(0xbb)](_0x40c135,JSON[_0x341658(0x9f)](_0x3d189b)));}catch(_0x3d5cb3){logger[_0x341658(0xc6)](_0x219c95[_0x341658(0x7d)],_0x3d5cb3);}}static[a46_0x436956(0x90)](){const _0x1d6d46=a46_0x436956,_0x5e900a={};_0x5e900a['rZWiR']=_0x1d6d46(0x8d),_0x5e900a['dTSYY']=_0x1d6d46(0x7b);const _0x490880=_0x5e900a,_0x5ae0e7=[];try{const _0x1b0cc5=TestDetails[_0x1d6d46(0x95)]();if(_0x1b0cc5&&!fs[_0x1d6d46(0xba)](_0x1b0cc5))return _0x5ae0e7;const _0x3e9654=fs['readdirSync'](_0x1b0cc5);_0x3e9654[_0x1d6d46(0xc3)](_0x340b2f=>{const _0x2b9ef6=_0x1d6d46;if(_0x340b2f&&_0x340b2f['endsWith'](_0x490880['rZWiR'])){const _0x2213b4=JSON[_0x2b9ef6(0xb3)](fs[_0x2b9ef6(0xa7)](path[_0x2b9ef6(0x96)](_0x1b0cc5,_0x340b2f))['toString']());_0x5ae0e7[_0x2b9ef6(0x77)](..._0x2213b4);}});}catch(_0x1c64d4){logger[_0x1d6d46(0xc6)](util['format'](_0x490880['dTSYY'],_0x1c64d4));}const _0x120418={};return _0x5ae0e7[_0x1d6d46(0xc3)](_0x38feab=>{const _0x2f7ade=_0x1d6d46;_0x120418[_0x38feab[_0x2f7ade(0x87)]]=_0x38feab;}),Object['values'](_0x120418);}static['appendToTracePaths'](_0x42a580,_0x293ce0){const _0x4a8e12=a46_0x436956,_0x64c0bf={};_0x64c0bf[_0x4a8e12(0x91)]=_0x4a8e12(0x88),_0x64c0bf['BuuNX']=_0x4a8e12(0x8b);const _0x54d15b=_0x64c0bf;try{const _0x59ed00=path[_0x4a8e12(0x96)](helper[_0x4a8e12(0xc7)](),_0x54d15b[_0x4a8e12(0x91)]);if(!fs[_0x4a8e12(0xba)](_0x59ed00)){const _0x446bb5={};_0x446bb5[_0x4a8e12(0x81)]=!![],fs['mkdirSync'](_0x59ed00,_0x446bb5);}fs['appendFileSync'](path[_0x4a8e12(0x96)](_0x59ed00,_0x4a8e12(0xc8)+_0x293ce0+_0x4a8e12(0x72)),_0x42a580+'\x0a',_0x54d15b[_0x4a8e12(0xb7)]);}catch(_0x52ea6d){console[_0x4a8e12(0xc6)]('Error\x20writing\x20trace\x20file:\x20'+_0x52ea6d[_0x4a8e12(0xb8)]);}}}function a46_0x7ce0(){const _0x6f052a=['1970280xTZhDf','shutdown','xPCZf','166WPMsst','GouKu','stringify','retry','string','YOuCA','_test','../../../helpers/logger','UxDty','getDirPath','readFileSync','664248nuYecB','env','../../../helpers/helper','project','cFgTh','traceZipPaths','some','yKkti','uuid','BRRwp','winstonLogger','parse','../../../helpers/test-observability/constants','exports','1088469HxyKHE','BuuNX','message','PZvjj','existsSync','writeFileSync','tests','mkdirSync','force','toString','Zjfvh','_platformDetails.json','getFilePath','forEach','testId','getStoreDirPath','error','homedir','trace_','getTestRunIdFromTestInfo','wNftE','addTraceFilePath','.txt','getTestUUID','CvnTH','2661wucReH','__projectId','push','8KgeYox','fKMYn','BS_TESTOPS_BUILD_HASHED_ID','Error\x20reading\x20trace\x20file\x20paths:\x20%s','xiNeT','FtSAz','ekxta','getStoreDirName','oXDQY','recursive','getProjectIdFromTestInfo','Error\x20handling\x20trace\x20file\x20paths:\x20','.json','getAccessibilityPlatformValidation','6qcmbLL','filePath','.browserstack','GtLxo','KlHal','utf8','1868279EWAdvF','_traceZipPaths.json','setAccessibilityPlatformValidation','pid','getTraceFilePaths','UqtoG','13479590zTekJy','eoVPW','5085944bEewHm','getTraceZipDir','join','getTestIdFromTestInfo','setTestDetails','SFRKz'];a46_0x7ce0=function(){return _0x6f052a;};return a46_0x7ce0();}function a46_0x2576(_0x44883a,_0x4339f8){const _0x7ce021=a46_0x7ce0();return a46_0x2576=function(_0x257653,_0x2f0e89){_0x257653=_0x257653-0x70;let _0x75c0d7=_0x7ce021[_0x257653];return _0x75c0d7;},a46_0x2576(_0x44883a,_0x4339f8);}module[a46_0x436956(0xb5)]=TestDetails;
@@ -1 +1 @@
1
- function a47_0x4e57(_0x204dd9,_0x5734a7){const _0x10407b=a47_0x1040();return a47_0x4e57=function(_0x4e57ae,_0x13eed1){_0x4e57ae=_0x4e57ae-0x1a8;let _0x19e4d2=_0x10407b[_0x4e57ae];return _0x19e4d2;},a47_0x4e57(_0x204dd9,_0x5734a7);}const a47_0x27e545=a47_0x4e57;(function(_0x1004a7,_0x3f7fbd){const _0x31108c=a47_0x4e57,_0x250957=_0x1004a7();while(!![]){try{const _0x197b91=-parseInt(_0x31108c(0x1b4))/0x1+parseInt(_0x31108c(0x1be))/0x2+parseInt(_0x31108c(0x215))/0x3*(parseInt(_0x31108c(0x20e))/0x4)+parseInt(_0x31108c(0x1dd))/0x5+parseInt(_0x31108c(0x24b))/0x6*(parseInt(_0x31108c(0x1bc))/0x7)+-parseInt(_0x31108c(0x1c3))/0x8+-parseInt(_0x31108c(0x21c))/0x9*(parseInt(_0x31108c(0x259))/0xa);if(_0x197b91===_0x3f7fbd)break;else _0x250957['push'](_0x250957['shift']());}catch(_0xe5101e){_0x250957['push'](_0x250957['shift']());}}}(a47_0x1040,0x1f7f6));const path=require(a47_0x27e545(0x1e9)),url=require(a47_0x27e545(0x1d9)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x27e545(0x228)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x27e545(0x1ed)),logger=require(a47_0x27e545(0x20d))[a47_0x27e545(0x1b2)],scripts=require(a47_0x27e545(0x24a)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a47_0x27e545(0x1d6)),constants=require(a47_0x27e545(0x240)),BrowserstackCLI=require(a47_0x27e545(0x23e)),AutomationFrameworkState=require(a47_0x27e545(0x1c5)),HookState=require(a47_0x27e545(0x225)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a47_0x27e545(0x1c8)),getBrowserNameFromChannel=_0x92b3ca=>{const _0x19b89a=a47_0x27e545,_0x1d9a20={};_0x1d9a20[_0x19b89a(0x20a)]='chrome',_0x1d9a20[_0x19b89a(0x1dc)]=_0x19b89a(0x1f7),_0x1d9a20[_0x19b89a(0x1e8)]=_0x19b89a(0x1e7),_0x1d9a20[_0x19b89a(0x1db)]=_0x19b89a(0x1cb);const _0x37363f=_0x1d9a20;if(_0x92b3ca[_0x19b89a(0x22b)](_0x37363f['kDZYV']))return _0x37363f[_0x19b89a(0x20a)];if(_0x92b3ca[_0x19b89a(0x22b)](_0x37363f['VUKvG']))return _0x37363f['VUKvG'];if(_0x92b3ca['includes'](_0x37363f[_0x19b89a(0x1e8)]))return _0x37363f['fKzxr'];if(_0x92b3ca[_0x19b89a(0x22b)](_0x37363f[_0x19b89a(0x1db)]))return _0x37363f['UIPhW'];},getBrowserFromWSEndpoint=_0x411209=>{const _0x256b97=a47_0x27e545,_0x313525={'iWhEY':_0x256b97(0x1c6),'ERcuD':function(_0x3a8dd8,_0x4867b1){return _0x3a8dd8(_0x4867b1);}};try{const _0x4cc13e=url[_0x256b97(0x1d0)](_0x411209),_0x92b39a=new URLSearchParams(_0x4cc13e['query']),_0x4343b1=Object[_0x256b97(0x226)](_0x92b39a['entries']()),_0x499bd=JSON[_0x256b97(0x1d0)](_0x4343b1[_0x256b97(0x1ec)]);if(_0x499bd&&(_0x499bd['browser']||_0x499bd['browserName']))return _0x499bd[_0x256b97(0x236)]||_0x499bd['browserName'];return _0x313525['iWhEY'];}catch(_0x41d961){_0x313525[_0x256b97(0x20c)](debug,_0x256b97(0x21a)+_0x41d961[_0x256b97(0x1e4)]());}},getCloudProviderFromWsEndpoint=_0x5135df=>{const _0x1a9299=a47_0x27e545,_0x37a2cc={};_0x37a2cc['EYEYf']=_0x1a9299(0x23f),_0x37a2cc[_0x1a9299(0x1b7)]=_0x1a9299(0x1e0);const _0x1ec793=_0x37a2cc;if(_0x5135df['includes'](constants[_0x1a9299(0x222)])||_0x5135df[_0x1a9299(0x22b)](constants[_0x1a9299(0x254)]))return _0x1ec793['EYEYf'];return _0x1ec793['PSZzP'];},a47_0x421b68={};a47_0x421b68[a47_0x27e545(0x1d2)]=undefined,a47_0x421b68[a47_0x27e545(0x1fc)]=undefined,a47_0x421b68[a47_0x27e545(0x236)]=undefined,a47_0x421b68[a47_0x27e545(0x1f4)]=undefined,a47_0x421b68[a47_0x27e545(0x1de)]=undefined,a47_0x421b68[a47_0x27e545(0x1cf)]=undefined,a47_0x421b68[a47_0x27e545(0x1ab)]=undefined,a47_0x421b68[a47_0x27e545(0x238)]={};class PlaywrightSessionDetails{static [a47_0x27e545(0x1e1)]=a47_0x421b68;constructor(){const _0x3f0126=a47_0x27e545,_0x12097a={};_0x12097a[_0x3f0126(0x232)]=_0x3f0126(0x1d8);const _0x5a0845=_0x12097a;throw new Error(_0x5a0845['vNGsw']);}static [a47_0x27e545(0x1c9)]=null;static[a47_0x27e545(0x214)](_0x3d6776,_0x3e43ec,_0x4d994b=null){const _0x504849=a47_0x27e545,_0x2fe01c={'WNDmd':function(_0x57e07a,_0x286326){return _0x57e07a===_0x286326;},'bZLZn':_0x504849(0x256),'VZNRR':_0x504849(0x20f),'sGDHT':_0x504849(0x1ef),'oImCh':_0x504849(0x1ee),'OvnyK':function(_0x5a84e1,_0xe8b4e8,_0x51a9f0){return _0x5a84e1(_0xe8b4e8,_0x51a9f0);},'Itqei':_0x504849(0x1f6),'SDWWr':_0x504849(0x24f),'nlxoZ':'project','rZOiZ':'use','LSDdF':'connectOptions','UHSDk':function(_0x35c508,_0x187c9a){return _0x35c508(_0x187c9a);},'zbUKp':function(_0x4bccfb,_0x29d915){return _0x4bccfb===_0x29d915;},'viMYj':_0x504849(0x23f),'oGyBs':_0x504849(0x204),'XYBRp':'automate','fwWoB':function(_0x5da1da,_0x12cad1){return _0x5da1da(_0x12cad1);},'RxWDb':function(_0x3e625c,_0x2cd98d){return _0x3e625c+_0x2cd98d;},'jcEQZ':_0x504849(0x206),'PJwNO':function(_0x3265a7){return _0x3265a7();},'QrrZC':function(_0x56cf60,_0x50a671,_0x3baf4b){return _0x56cf60(_0x50a671,_0x3baf4b);},'IIAJF':_0x504849(0x214)},_0x473494=this;return _0x2fe01c[_0x504849(0x22d)](o11yErrorHandler,async function _0x3c9ad8(_0xd371a6,_0x4626db,_0x37d5bc=null){const _0x3ce897=_0x504849;let _0xdaf011=_0xd371a6['_name'],_0x2b5aab=null;_0xd371a6&&_0x2fe01c[_0x3ce897(0x227)](typeof _0xd371a6[_0x3ce897(0x1bb)],_0x2fe01c[_0x3ce897(0x247)])?_0x2b5aab=_0xd371a6[_0x3ce897(0x1bb)]():logger[_0x3ce897(0x22f)](_0x2fe01c[_0x3ce897(0x1c7)]);let _0x47192e=null;_0xd371a6&&_0x2fe01c['WNDmd'](typeof _0xd371a6[_0x3ce897(0x252)],_0x2fe01c[_0x3ce897(0x247)])?_0x47192e=_0xd371a6[_0x3ce897(0x252)]():logger[_0x3ce897(0x22f)](_0x2fe01c[_0x3ce897(0x22c)]);let _0x31c6cf=null,_0xbb0d09=null,_0x300aaf=null,_0x555347=_0x2fe01c[_0x3ce897(0x1f8)];if(_0xd371a6[_0x3ce897(0x25e)][_0x3ce897(0x1ff)]()||global[_0x3ce897(0x244)]){let _0x3931e6=null;_0x2fe01c[_0x3ce897(0x1e6)](nestedKeyValue,_0xd371a6,[_0x2fe01c[_0x3ce897(0x1d1)],_0x2fe01c['SDWWr']])?_0x3931e6=_0xd371a6[_0x3ce897(0x1f6)][_0x3ce897(0x24f)]:_0x3931e6=_0x2fe01c[_0x3ce897(0x1e6)](nestedKeyValue,_0x4626db,[_0x2fe01c['nlxoZ'],_0x2fe01c[_0x3ce897(0x21e)],_0x2fe01c['LSDdF']]);const _0xccc7d5=_0x37d5bc||_0x3931e6&&_0x3931e6[_0x3ce897(0x229)];_0xccc7d5&&(_0x555347=_0x2fe01c[_0x3ce897(0x1ea)](getCloudProviderFromWsEndpoint,_0xccc7d5),_0x2fe01c[_0x3ce897(0x231)](_0x555347,_0x2fe01c[_0x3ce897(0x1c2)])&&(_0x300aaf=constants[_0x3ce897(0x1fa)]['test'](_0xccc7d5)?_0x2fe01c[_0x3ce897(0x216)]:_0x2fe01c[_0x3ce897(0x1cd)],_0xdaf011=_0x2fe01c[_0x3ce897(0x209)](getBrowserFromWSEndpoint,_0xccc7d5)||_0xdaf011,_0x31c6cf=_0x473494[_0x3ce897(0x1e1)][_0x3ce897(0x1de)],_0xbb0d09=_0x473494[_0x3ce897(0x1e1)]['platform_version']));}else{_0x4626db&&_0x4626db[_0x3ce897(0x210)]['use']['channel']?_0xdaf011=_0x2fe01c[_0x3ce897(0x1ea)](getBrowserNameFromChannel,_0x4626db['project'][_0x3ce897(0x21d)][_0x3ce897(0x212)]):_0xdaf011=_0x2fe01c[_0x3ce897(0x205)](_0x2fe01c[_0x3ce897(0x1f5)],_0xdaf011[_0x3ce897(0x20b)]());const _0xb4dc81=await _0x2fe01c[_0x3ce897(0x1ad)](getPlatformDetails);_0x31c6cf=_0xb4dc81[_0x3ce897(0x213)],_0xbb0d09=_0xb4dc81[_0x3ce897(0x24c)];}const _0x4a9106={};_0x4a9106[_0x3ce897(0x236)]=_0xdaf011,_0x4a9106[_0x3ce897(0x1f4)]=_0x2b5aab,_0x4a9106[_0x3ce897(0x238)]={},_0x4a9106[_0x3ce897(0x1de)]=_0x31c6cf,_0x4a9106['platform_version']=_0xbb0d09,_0x4a9106[_0x3ce897(0x1ab)]=_0x300aaf;const _0x2d12c5=_0x4a9106;_0x47192e&&(_0x2d12c5[_0x3ce897(0x238)][_0x3ce897(0x211)]=_0x47192e);const _0x5bc7b7={};_0x5bc7b7[_0x3ce897(0x1d2)]=_0x555347,_0x473494[_0x3ce897(0x1e1)]=Object[_0x3ce897(0x237)]({},_0x473494[_0x3ce897(0x1e1)],_0x5bc7b7,_0x2d12c5);},_0x2fe01c['IIAJF'])(_0x3d6776,_0x3e43ec,_0x4d994b);}static['patch'](){const _0x486059=a47_0x27e545;this[_0x486059(0x1b9)](),this[_0x486059(0x1ae)]();}static[a47_0x27e545(0x1b9)](){const _0x497112=a47_0x27e545,_0x3f1563={'XEpIC':function(_0x206c83,_0x3a4d6f,_0x54e390){return _0x206c83(_0x3a4d6f,_0x54e390);},'qBpes':_0x497112(0x23c),'kzjxj':'testInfo','kavkr':'titlePath','XLXRL':_0x497112(0x1ca),'hvTNs':_0x497112(0x1df),'qzymR':function(_0x4a71ae,_0x58068a){return _0x4a71ae===_0x58068a;},'TWLBm':_0x497112(0x219),'JKJoz':function(_0x4b754a,_0x26d47b,_0x46870b,_0x3c22d1){return _0x4b754a(_0x26d47b,_0x46870b,_0x3c22d1);},'jglfx':function(_0x126d7f,_0xa8af27){return _0x126d7f||_0xa8af27;},'kfnbX':function(_0xbdd9a5,_0x582efb){return _0xbdd9a5(_0x582efb);},'IxKQC':_0x497112(0x25d),'qnEMs':'client','HqvHN':_0x497112(0x23a),'gDVca':function(_0x213c49,_0x34b8f3){return _0x213c49(_0x34b8f3);},'dPEhH':'Not\x20able\x20to\x20import\x20Connection','eGfLL':function(_0x567e76,_0x2fefbd){return _0x567e76(_0x2fefbd);},'nQkKW':function(_0x21401e,_0x34c6ef){return _0x21401e!=_0x34c6ef;},'tVByE':function(_0x1bb079){return _0x1bb079();},'CVBvj':_0x497112(0x1b3),'zyqYF':'dispatch','lUycC':function(_0x54dff7,_0x3cd3b7){return _0x54dff7(_0x3cd3b7);}},_0x80509e=this;if(!this[_0x497112(0x239)])try{const _0xe616ca=path[_0x497112(0x25a)](_0x3f1563[_0x497112(0x255)],_0x3f1563['qnEMs'],_0x3f1563[_0x497112(0x25b)]),_0x51d6ed=_0x3f1563[_0x497112(0x1b8)](importFileFromPWCore,_0xe616ca);!_0x51d6ed?_0x3f1563['kfnbX'](debug,_0x3f1563['dPEhH']):this[_0x497112(0x239)]=_0x51d6ed[_0x497112(0x239)];}catch(_0x5d5516){_0x3f1563[_0x497112(0x1c1)](debug,_0x497112(0x1cc)+_0x5d5516['toString']());}const _0x15c6b2=this['Connection'];try{if(_0x3f1563[_0x497112(0x1eb)](_0x15c6b2,null)){const _0x111a34=_0x15c6b2['prototype'][_0x497112(0x203)],_0x2f9783=_0x15c6b2[_0x497112(0x1fb)][_0x497112(0x1b3)];_0x3f1563[_0x497112(0x233)](isAccessibilityAutomationSession)&&Object[_0x497112(0x1b6)](_0x15c6b2['prototype'],_0x3f1563[_0x497112(0x235)],{'get':function(){return async function(){const _0x1b470f=a47_0x4e57;try{if(!global[_0x1b470f(0x258)]&&global[_0x1b470f(0x244)]&&_0x3f1563[_0x1b470f(0x22a)](nestedKeyValue,global['__workerDetails'],[_0x3f1563[_0x1b470f(0x21b)],_0x3f1563[_0x1b470f(0x25f)],_0x3f1563[_0x1b470f(0x1c4)]])&&_0x3f1563[_0x1b470f(0x22a)](shouldScanTestForAccessibility,global['__workerDetails'][_0x1b470f(0x23c)][_0x1b470f(0x217)]['titlePath'],!![])&&scripts[_0x1b470f(0x1a8)](arguments[0x1])){logger[_0x1b470f(0x22f)](_0x1b470f(0x24e)+arguments[0x1]),global[_0x1b470f(0x258)]=!![];const _0x3d88fd=_0x3f1563[_0x1b470f(0x22a)](nestedKeyValue,global,[_0x3f1563['XLXRL'],_0x3f1563['hvTNs']]);_0x3d88fd&&logger['info'](_0x1b470f(0x201)+util[_0x1b470f(0x257)](await _0x3f1563['XEpIC'](performScanWithRetry,_0x3d88fd,arguments[0x1]))),_0x3f1563[_0x1b470f(0x1bd)](arguments[0x0][_0x1b470f(0x1ce)],_0x3f1563[_0x1b470f(0x1d5)])&&global[_0x1b470f(0x249)]&&logger[_0x1b470f(0x1f3)](_0x1b470f(0x248)+util['format'](await _0x3f1563[_0x1b470f(0x246)](performScanWithRetry,global[_0x1b470f(0x249)],arguments[0x1],scripts[_0x1b470f(0x223)])));}}catch(_0x349077){logger[_0x1b470f(0x22f)](_0x1b470f(0x251)+util[_0x1b470f(0x257)](_0x349077));}return global[_0x1b470f(0x258)]=![],_0x2f9783[_0x1b470f(0x234)](this,arguments);};}}),!_0x3f1563['kfnbX'](isFalse,process['env'][_0x497112(0x1bf)])&&Object[_0x497112(0x1b6)](_0x15c6b2['prototype'],_0x3f1563[_0x497112(0x1ac)],{'get':function(){return async function _0x43705b(_0x2888c9){const _0x2aaf5a=a47_0x4e57;if(BrowserstackCLI['getInstance']()[_0x2aaf5a(0x207)]()){const _0x1c637c={};_0x1c637c[_0x2aaf5a(0x1e3)]=_0x2888c9,await BrowserstackCLI[_0x2aaf5a(0x1fe)]()[_0x2aaf5a(0x253)]()['trackEvent'](AutomationFrameworkState[_0x2aaf5a(0x1fd)],HookState[_0x2aaf5a(0x1d4)],_0x1c637c);}else{const _0x1f4185=_0x2888c9&&_0x2888c9[_0x2aaf5a(0x1f1)]&&_0x2888c9[_0x2aaf5a(0x1f1)][_0x2aaf5a(0x220)];if(_0x1f4185){const _0x17e462=_0x1f4185[_0x2aaf5a(0x25c)],_0x152f4f=_0x1f4185[_0x2aaf5a(0x1c0)];_0x3f1563[_0x2aaf5a(0x1f9)](!_0x17e462,!_0x152f4f)&&await ClientTroubleShootingService[_0x2aaf5a(0x1da)](),_0x152f4f&&(_0x3f1563[_0x2aaf5a(0x1e5)](debug,_0x2aaf5a(0x1e2)+_0x152f4f['toString']()),_0x80509e['currentSessionDetails'][_0x2aaf5a(0x1de)]=_0x152f4f['platformName'],_0x80509e[_0x2aaf5a(0x1e1)][_0x2aaf5a(0x1cf)]=_0x152f4f[_0x2aaf5a(0x24c)]),_0x17e462&&(_0x3f1563[_0x2aaf5a(0x1e5)](debug,_0x2aaf5a(0x218)+_0x17e462),_0x80509e[_0x2aaf5a(0x1e1)][_0x2aaf5a(0x1fc)]=_0x17e462);}}return _0x111a34['apply'](this,arguments);};}});}}catch(_0x16d1e2){_0x3f1563[_0x497112(0x1f0)](debug,_0x497112(0x241)+_0x16d1e2),_0x80509e[_0x497112(0x1c9)]=_0x16d1e2['toString']();}}static['patchCRConnection'](){const _0x52f451=a47_0x27e545,_0x51a384={'WhiNk':function(_0x3c5c78,_0x5757cf){return _0x3c5c78(_0x5757cf);},'TwpCL':function(_0xd2be5d,_0xb30f1b){return _0xd2be5d(_0xb30f1b);},'Scffw':function(_0x30585f){return _0x30585f();},'RMUSp':_0x52f451(0x25d),'qDOaM':_0x52f451(0x1d3),'MGmSM':_0x52f451(0x242),'PrxAZ':_0x52f451(0x1b1),'Wgqrl':function(_0x3fb01b,_0x440226){return _0x3fb01b(_0x440226);},'NRUPr':_0x52f451(0x245),'oDiBC':_0x52f451(0x1ba),'MtrKM':function(_0x13a899,_0x23567d){return _0x13a899!=_0x23567d;},'OeSSR':'_onMessage'},_0x434f0b=this;if(_0x51a384[_0x52f451(0x1d7)](isAccessibilityAutomationSession)){let _0x50524e=null;try{const _0xd0c92=path['join'](_0x51a384[_0x52f451(0x224)],_0x51a384[_0x52f451(0x250)],_0x51a384[_0x52f451(0x221)],_0x51a384[_0x52f451(0x1f2)]),_0x2b8a70=_0x51a384[_0x52f451(0x21f)](importFileFromPWCore,_0xd0c92);!_0x2b8a70?_0x51a384[_0x52f451(0x208)](debug,_0x51a384[_0x52f451(0x22e)]):_0x50524e=_0x2b8a70['CRConnection'];}catch(_0x290c39){_0x51a384[_0x52f451(0x208)](debug,_0x51a384[_0x52f451(0x23b)]);}try{if(_0x51a384[_0x52f451(0x243)](_0x50524e,null)){const _0x574b60=_0x50524e[_0x52f451(0x1fb)]['_onMessage'];Object['defineProperty'](_0x50524e[_0x52f451(0x1fb)],_0x51a384[_0x52f451(0x202)],{'get':function(){const _0x2c707d={'GcpfW':function(_0x3c1c2a,_0x46aa97){return _0x51a384['WhiNk'](_0x3c1c2a,_0x46aa97);},'kjKKe':function(_0x2b8579,_0x3552dd){const _0x5b62c6=a47_0x4e57;return _0x51a384[_0x5b62c6(0x1a9)](_0x2b8579,_0x3552dd);},'JvVlZ':function(_0x59e583,_0x5a81ef){const _0x27861f=a47_0x4e57;return _0x51a384[_0x27861f(0x1a9)](_0x59e583,_0x5a81ef);}};return async function _0x4b4722(_0xe2c824){const _0x57dff6=a47_0x4e57;try{if(BrowserstackCLI[_0x57dff6(0x1fe)]()[_0x57dff6(0x207)]()){const _0x17fbbf={};_0x17fbbf[_0x57dff6(0x1e3)]=_0xe2c824,await BrowserstackCLI[_0x57dff6(0x1fe)]()['getAutomationFramework']()[_0x57dff6(0x1aa)](AutomationFrameworkState[_0x57dff6(0x1fd)],HookState[_0x57dff6(0x1d4)],_0x17fbbf),delete _0xe2c824[_0x57dff6(0x200)];}else{const _0x18260a=_0xe2c824[_0x57dff6(0x200)];if(_0x18260a){delete _0xe2c824[_0x57dff6(0x200)];const _0x1789b5=_0x18260a[_0x57dff6(0x25c)],_0x4f71a4=_0x18260a[_0x57dff6(0x1c0)];_0x4f71a4&&(_0x2c707d['GcpfW'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x4f71a4[_0x57dff6(0x1e4)]()),_0x434f0b[_0x57dff6(0x1e1)][_0x57dff6(0x1de)]=_0x4f71a4[_0x57dff6(0x213)],_0x434f0b['currentSessionDetails'][_0x57dff6(0x1cf)]=_0x4f71a4[_0x57dff6(0x24c)]),_0x1789b5&&(_0x2c707d[_0x57dff6(0x230)](debug,_0x57dff6(0x23d)+_0x1789b5),_0x434f0b[_0x57dff6(0x1e1)][_0x57dff6(0x1fc)]=_0x1789b5);}}}catch(_0x3e54f2){_0x2c707d['JvVlZ'](debug,_0x57dff6(0x1b5)+_0x3e54f2['toString']());}return _0x574b60[_0x57dff6(0x234)](this,arguments);};}});}}catch(_0x2f1fea){_0x51a384[_0x52f451(0x1a9)](debug,_0x52f451(0x1b0)+_0x2f1fea),_0x434f0b[_0x52f451(0x1c9)]=_0x2f1fea[_0x52f451(0x1e4)]();}}}static[a47_0x27e545(0x1af)](){const _0x24710b=a47_0x27e545;return this[_0x24710b(0x1e1)];}}module[a47_0x27e545(0x24d)]=PlaywrightSessionDetails;function a47_0x1040(){const _0x189143=['NRUPr','debug','kjKKe','zbUKp','vNGsw','tVByE','apply','CVBvj','browser','assign','capabilities','Connection','connection.js','oDiBC','currentTest','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../v2/browserstackCLI','browserstack','../utils/constants','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','chromium','MtrKM','accessibilityPlatform','Not\x20able\x20to\x20import\x20crConnection','JKJoz','bZLZn','Driver\x20Scan\x20result=','__driver','../../helpers/accessibility-automation/scripts','6sgvpuP','platformVersion','exports','Performing\x20scan\x20for\x20','_defaultConnectOptions','qDOaM','Failed\x20to\x20perform\x20scan\x20','model','getAutomationFramework','BSTACK_ATS_URL','IxKQC','function','format','bstackPerformA11yScan','2530mfxdNx','join','HqvHN','sessionId','lib','_connection','kzjxj','shouldWrapCommand','TwpCL','trackEvent','product','zyqYF','PJwNO','patchCRConnection','getDetails','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','crConnection.js','winstonLogger','sendMessageToServer','208139SfUwoa','Error\x20in\x20finding\x20platform\x20details\x20','defineProperty','PSZzP','gDVca','patchConnection','Error\x20in\x20importing\x20crConnection','version','1126958UgwHnI','qzymR','240334LvcYvh','BROWSERSTACK_TEST_OBSERVABILITY','platformDetails','eGfLL','viMYj','967576TIGzbB','kavkr','../v2/state/automationFrameworkState.js','chrome','VZNRR','../utils/clientTroubleshootingService.js','sessionError','__workerDetails','safari','Error\x20in\x20importing\x20connection\x20','XYBRp','_type','platform_version','parse','Itqei','cloudProvider','server','POST','TWLBm','./accessibility-helper','Scffw','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','url','reportSessionLinkingIssue','UIPhW','VUKvG','1282175iVaZcP','platform','pwPage','unknown_grid','currentSessionDetails','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','message','toString','kfnbX','OvnyK','firefox','fKzxr','path','UHSDk','nQkKW','caps','../../helpers/accessibility-automation/helper','local_grid','Device\x20Model\x20is\x20not\x20available','lUycC','params','PrxAZ','info','browser_version','jcEQZ','_browserType','edge','oImCh','jglfx','ATS_WSS_URL_REGEX','prototype','bsSessionId','PLAYWRIGHT_DISPATCH','getInstance','isRemote','bStackParams','Page\x20Scan\x20result=','OeSSR','dispatch','turboscale','RxWDb','playwright-','isRunning','Wgqrl','fwWoB','kDZYV','toLowerCase','ERcuD','../../helpers/logger','5532DKnYTl','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','project','deviceModel','channel','platformName','setupBrowserDetails','153aScCTE','oGyBs','testInfo','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Page','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','qBpes','5337dQuVia','use','rZOiZ','WhiNk','bsParams','MGmSM','BSTACK_URL','performScan','RMUSp','../v2/state/hookState.js','fromEntries','WNDmd','../../helpers/helper','wsEndpoint','XEpIC','includes','sGDHT','QrrZC'];a47_0x1040=function(){return _0x189143;};return a47_0x1040();}
1
+ const a47_0x4f313f=a47_0x15d4;function a47_0x15d4(_0x35abf8,_0x2d9b33){const _0x860cbe=a47_0x860c();return a47_0x15d4=function(_0x15d4b6,_0x593ed8){_0x15d4b6=_0x15d4b6-0xcd;let _0x41a387=_0x860cbe[_0x15d4b6];return _0x41a387;},a47_0x15d4(_0x35abf8,_0x2d9b33);}function a47_0x860c(){const _0x59870f=['lib','idpOE','prototype','PLAYWRIGHT_DISPATCH','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','parse','../../helpers/accessibility-automation/scripts','client','1629108NPawhh','APzLQ','__driver','FYbtr','IfFTr','ndZcJ','POST','Not\x20able\x20to\x20import\x20crConnection','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','url','_name','TPfsE','CCYHL','_defaultConnectOptions','270sLtQlY','ufRwN','IKvYK','isRunning','join','query','gmqnj','IXMZw','IjTby','396aGFaEI','DrRjU','_connection','debug','../../bin/playwright/accessibility-helper','eMGqv','Page','__workerDetails','HHRCT','browser_version','hwSwW','Driver\x20Scan\x20result=','HDKOn','./accessibility-helper','getDetails','platformVersion','tXfdW','deviceModel','bsSessionId','ATS_WSS_URL_REGEX','Error\x20in\x20finding\x20platform\x20details\x20','getInstance','zHhTj','dispatch','playwright-','entries','JvoFb','lzBRP','ErWil','DSLUA','bsParams','27288bCIiXt','use','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','KIgeW','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','includes','ZRpZR','QyTkY','RDvSO','gjCix','../v2/state/automationFrameworkState.js','sivdW','../../helpers/accessibility-automation/accessibilityRetryHelper.js','crConnection.js','bStackParams','patch','QdFrb','uaieN','cloudProvider','ISwXW','connectOptions','../../helpers/helper','yvJVT','DMUHx','../../helpers/accessibility-automation/helper','function','toString','platformName','format','platform_version','NadqL','aZMuO','BSTACK_URL','NTWph','version','server','trackEvent','browserName','chromium','platformDetails','uDtkL','2407924YOxQVt','params','firefox','safari','iaieV','browser','platform','../v2/state/hookState.js','_type','apply','FwoIc','automate','Page\x20Scan\x20result=','CgqaZ','fiEoY','../../helpers/test-observability/utils','eHYJG','YpCYX','project','dBPuE','Performing\x20scan\x20for\x20','252pwKcTz','defineProperty','test','SPLCy','242210GcWBEZ','patchCRConnection','info','Error\x20in\x20importing\x20connection\x20','local_grid','titlePath','MPdwt','tLGkK','chrome','toLowerCase','capabilities','742OhhoKU','5GCmpqb','model','Connection','getAutomationFramework','Failed\x20to\x20perform\x20scan\x20','sessionError','CRConnection','NFhlB','caps','../../helpers/test-observability/error-handler','shouldWrapCommand','_onMessage','eoPbZ','../v2/browserstackCLI','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','testInfo','Fkqxm','Rysdf','HbwRG','zUGBQ','../utils/clientTroubleshootingService.js','message','BROWSERSTACK_TEST_OBSERVABILITY','ArZsi','currentTest','bstackPerformA11yScan','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','accessibilityPlatform','Device\x20Model\x20is\x20not\x20available','winstonLogger','VSUlz','product','FFrpo','currentSessionDetails','isRemote','uisEZ','POOvU','OKDnl','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','754368miMxWm','wsEndpoint','browserstack','YhtZE','util','channel','../utils/constants','_browserType','358406rWULIp','sessionId','CKYjs','exports','udelo'];a47_0x860c=function(){return _0x59870f;};return a47_0x860c();}(function(_0x40cc2a,_0x2d78fc){const _0x37f78c=a47_0x15d4,_0x16468c=_0x40cc2a();while(!![]){try{const _0x3827d4=-parseInt(_0x37f78c(0xf8))/0x1+parseInt(_0x37f78c(0x188))/0x2*(-parseInt(_0x37f78c(0x113))/0x3)+-parseInt(_0x37f78c(0x164))/0x4*(parseInt(_0x37f78c(0x189))/0x5)+-parseInt(_0x37f78c(0x13b))/0x6*(-parseInt(_0x37f78c(0x179))/0x7)+parseInt(_0x37f78c(0xf0))/0x8+parseInt(_0x37f78c(0x105))/0x9+-parseInt(_0x37f78c(0x17d))/0xa*(-parseInt(_0x37f78c(0x11c))/0xb);if(_0x3827d4===_0x2d78fc)break;else _0x16468c['push'](_0x16468c['shift']());}catch(_0x458555){_0x16468c['push'](_0x16468c['shift']());}}}(a47_0x860c,0x4d71f));const path=require('path'),url=require(a47_0x4f313f(0x10e)),util=require(a47_0x4f313f(0xf4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x4f313f(0x150)),{o11yErrorHandler}=require(a47_0x4f313f(0xd2)),{debug,getPlatformDetails}=require(a47_0x4f313f(0x173)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x4f313f(0x153)),logger=require('../../helpers/logger')[a47_0x4f313f(0xe6)],scripts=require(a47_0x4f313f(0x103)),{browserStackExecuteDriver}=require(a47_0x4f313f(0x120)),AccessibilityHelper=require(a47_0x4f313f(0x129)),constants=require(a47_0x4f313f(0xf6)),BrowserstackCLI=require(a47_0x4f313f(0xd6)),AutomationFrameworkState=require(a47_0x4f313f(0x145)),HookState=require(a47_0x4f313f(0x16b)),{performScanWithRetry}=require(a47_0x4f313f(0x147)),ClientTroubleShootingService=require(a47_0x4f313f(0xdd)),getBrowserNameFromChannel=_0x172ee7=>{const _0x4571aa=a47_0x4f313f,_0x556b06={};_0x556b06['HHRCT']='chrome',_0x556b06[_0x4571aa(0x163)]='edge',_0x556b06[_0x4571aa(0xdb)]=_0x4571aa(0x166),_0x556b06[_0x4571aa(0xee)]=_0x4571aa(0x167);const _0x57c6b0=_0x556b06;if(_0x172ee7[_0x4571aa(0x140)](_0x57c6b0[_0x4571aa(0x124)]))return _0x57c6b0[_0x4571aa(0x124)];if(_0x172ee7[_0x4571aa(0x140)](_0x57c6b0[_0x4571aa(0x163)]))return _0x57c6b0[_0x4571aa(0x163)];if(_0x172ee7[_0x4571aa(0x140)](_0x57c6b0[_0x4571aa(0xdb)]))return _0x57c6b0[_0x4571aa(0xdb)];if(_0x172ee7['includes'](_0x57c6b0[_0x4571aa(0xee)]))return _0x57c6b0[_0x4571aa(0xee)];},getBrowserFromWSEndpoint=_0x5f3b83=>{const _0x1c34c3=a47_0x4f313f,_0xb261c5={'lzBRP':_0x1c34c3(0x185),'aZMuO':function(_0x288d3a,_0x45900f){return _0x288d3a(_0x45900f);}};try{const _0x224c9e=url[_0x1c34c3(0x102)](_0x5f3b83),_0x53b88a=new URLSearchParams(_0x224c9e[_0x1c34c3(0x118)]),_0x401bcb=Object['fromEntries'](_0x53b88a[_0x1c34c3(0x135)]()),_0x58b21b=JSON[_0x1c34c3(0x102)](_0x401bcb[_0x1c34c3(0xd1)]);if(_0x58b21b&&(_0x58b21b[_0x1c34c3(0x169)]||_0x58b21b[_0x1c34c3(0x160)]))return _0x58b21b[_0x1c34c3(0x169)]||_0x58b21b['browserName'];return _0xb261c5[_0x1c34c3(0x137)];}catch(_0x407483){_0xb261c5[_0x1c34c3(0x15a)](debug,_0x1c34c3(0x10d)+_0x407483['toString']());}},getCloudProviderFromWsEndpoint=_0x1d7660=>{const _0x3aca86=a47_0x4f313f,_0x5bd0e0={};_0x5bd0e0[_0x3aca86(0x128)]=_0x3aca86(0xf2),_0x5bd0e0[_0x3aca86(0x136)]='unknown_grid';const _0x3d1491=_0x5bd0e0;if(_0x1d7660[_0x3aca86(0x140)](constants[_0x3aca86(0x15b)])||_0x1d7660[_0x3aca86(0x140)](constants['BSTACK_ATS_URL']))return _0x3d1491[_0x3aca86(0x128)];return _0x3d1491[_0x3aca86(0x136)];},a47_0x529148={};a47_0x529148[a47_0x4f313f(0x14d)]=undefined,a47_0x529148[a47_0x4f313f(0x12e)]=undefined,a47_0x529148[a47_0x4f313f(0x169)]=undefined,a47_0x529148[a47_0x4f313f(0x125)]=undefined,a47_0x529148[a47_0x4f313f(0x16a)]=undefined,a47_0x529148[a47_0x4f313f(0x158)]=undefined,a47_0x529148[a47_0x4f313f(0xe8)]=undefined,a47_0x529148['capabilities']={};class PlaywrightSessionDetails{static [a47_0x4f313f(0xea)]=a47_0x529148;constructor(){const _0x810db6=a47_0x4f313f,_0x7fd54b={};_0x7fd54b[_0x810db6(0x141)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x512bf8=_0x7fd54b;throw new Error(_0x512bf8[_0x810db6(0x141)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x50ceed,_0x2084eb,_0x1a5ba4=null){const _0x451e55=a47_0x4f313f,_0x5ce9f1={'YhtZE':function(_0x361ff5,_0xe1e8c2){return _0x361ff5===_0xe1e8c2;},'gmqnj':_0x451e55(0x154),'Fkqxm':_0x451e55(0x13f),'TPfsE':function(_0xdcd7b0,_0x473b12){return _0xdcd7b0===_0x473b12;},'eMGqv':_0x451e55(0xe5),'idpOE':_0x451e55(0x181),'IKvYK':function(_0x24d80a,_0x3a87de,_0x520943){return _0x24d80a(_0x3a87de,_0x520943);},'FwoIc':_0x451e55(0xf7),'FYbtr':_0x451e55(0x112),'tLGkK':function(_0x15b967,_0x5e66ab,_0x2b0cec){return _0x15b967(_0x5e66ab,_0x2b0cec);},'sivdW':_0x451e55(0x176),'FFrpo':'use','IXMZw':_0x451e55(0x14f),'CCYHL':function(_0xa93d6,_0xa39729){return _0xa93d6(_0xa39729);},'SPLCy':function(_0x965a40,_0x1017e4){return _0x965a40===_0x1017e4;},'wFRzW':_0x451e55(0xf2),'ISwXW':'turboscale','udelo':_0x451e55(0x16f),'IfFTr':function(_0x18d904,_0x149229){return _0x18d904+_0x149229;},'QdFrb':_0x451e55(0x134),'lqmEM':function(_0x433162){return _0x433162();},'dBPuE':'setupBrowserDetails'},_0x52d916=this;return _0x5ce9f1['IKvYK'](o11yErrorHandler,async function _0x5c0ce2(_0x5df024,_0x4307a3,_0x204873=null){const _0x501556=_0x451e55;let _0xb98e33=_0x5df024[_0x501556(0x10f)],_0x1aea38=null;_0x5df024&&_0x5ce9f1[_0x501556(0xf3)](typeof _0x5df024[_0x501556(0x15d)],_0x5ce9f1[_0x501556(0x119)])?_0x1aea38=_0x5df024[_0x501556(0x15d)]():logger[_0x501556(0x11f)](_0x5ce9f1[_0x501556(0xd9)]);let _0xf3943d=null;_0x5df024&&_0x5ce9f1[_0x501556(0x110)](typeof _0x5df024[_0x501556(0x18a)],_0x5ce9f1[_0x501556(0x119)])?_0xf3943d=_0x5df024[_0x501556(0x18a)]():logger['debug'](_0x5ce9f1[_0x501556(0x121)]);let _0x2313e3=null,_0x420076=null,_0x1b2394=null,_0xe165b8=_0x5ce9f1[_0x501556(0xfe)];if(_0x5df024[_0x501556(0x11e)][_0x501556(0xeb)]()||global[_0x501556(0xe4)]){let _0x127d18=null;_0x5ce9f1[_0x501556(0x115)](nestedKeyValue,_0x5df024,[_0x5ce9f1[_0x501556(0x16e)],_0x5ce9f1[_0x501556(0x108)]])?_0x127d18=_0x5df024[_0x501556(0xf7)][_0x501556(0x112)]:_0x127d18=_0x5ce9f1[_0x501556(0x184)](nestedKeyValue,_0x4307a3,[_0x5ce9f1[_0x501556(0x146)],_0x5ce9f1[_0x501556(0xe9)],_0x5ce9f1[_0x501556(0x11a)]]);const _0x5b9ec2=_0x204873||_0x127d18&&_0x127d18[_0x501556(0xf1)];_0x5b9ec2&&(_0xe165b8=_0x5ce9f1['CCYHL'](getCloudProviderFromWsEndpoint,_0x5b9ec2),_0x5ce9f1[_0x501556(0x17c)](_0xe165b8,_0x5ce9f1['wFRzW'])&&(_0x1b2394=constants[_0x501556(0x12f)][_0x501556(0x17b)](_0x5b9ec2)?_0x5ce9f1[_0x501556(0x14e)]:_0x5ce9f1[_0x501556(0xfc)],_0xb98e33=_0x5ce9f1[_0x501556(0x111)](getBrowserFromWSEndpoint,_0x5b9ec2)||_0xb98e33,_0x2313e3=_0x52d916[_0x501556(0xea)]['platform'],_0x420076=_0x52d916[_0x501556(0xea)][_0x501556(0x158)]));}else{_0x4307a3&&_0x4307a3['project'][_0x501556(0x13c)][_0x501556(0xf5)]?_0xb98e33=_0x5ce9f1[_0x501556(0x111)](getBrowserNameFromChannel,_0x4307a3[_0x501556(0x176)]['use'][_0x501556(0xf5)]):_0xb98e33=_0x5ce9f1[_0x501556(0x109)](_0x5ce9f1[_0x501556(0x14b)],_0xb98e33[_0x501556(0x186)]());const _0x5d4148=await _0x5ce9f1['lqmEM'](getPlatformDetails);_0x2313e3=_0x5d4148[_0x501556(0x156)],_0x420076=_0x5d4148[_0x501556(0x12b)];}const _0x41870c={};_0x41870c['browser']=_0xb98e33,_0x41870c[_0x501556(0x125)]=_0x1aea38,_0x41870c[_0x501556(0x187)]={},_0x41870c[_0x501556(0x16a)]=_0x2313e3,_0x41870c[_0x501556(0x158)]=_0x420076,_0x41870c[_0x501556(0xe8)]=_0x1b2394;const _0x4ee5fe=_0x41870c;_0xf3943d&&(_0x4ee5fe[_0x501556(0x187)][_0x501556(0x12d)]=_0xf3943d);const _0x20d207={};_0x20d207['cloudProvider']=_0xe165b8,_0x52d916[_0x501556(0xea)]=Object['assign']({},_0x52d916[_0x501556(0xea)],_0x20d207,_0x4ee5fe);},_0x5ce9f1[_0x451e55(0x177)])(_0x50ceed,_0x2084eb,_0x1a5ba4);}static[a47_0x4f313f(0x14a)](){this['patchConnection'](),this['patchCRConnection']();}static['patchConnection'](){const _0x252a58=a47_0x4f313f,_0x260560={'QyTkY':function(_0x2e8602,_0x30a41f,_0x3f28dc){return _0x2e8602(_0x30a41f,_0x3f28dc);},'NTWph':_0x252a58(0xe1),'eoPbZ':_0x252a58(0xd8),'tXfdW':_0x252a58(0x182),'yvJVT':_0x252a58(0x123),'gjCix':'pwPage','MPdwt':function(_0x425853,_0x1e6f59){return _0x425853===_0x1e6f59;},'uisEZ':_0x252a58(0x122),'ehUKO':function(_0x5d644f,_0x21c4dc,_0x4f7a13,_0x8a132e){return _0x5d644f(_0x21c4dc,_0x4f7a13,_0x8a132e);},'NFhlB':function(_0xce033e,_0x53e04b){return _0xce033e||_0x53e04b;},'APzLQ':function(_0x195a23,_0x30e7bc){return _0x195a23(_0x30e7bc);},'zUGBQ':_0x252a58(0xfd),'DMUHx':_0x252a58(0x104),'CKYjs':'connection.js','eHYJG':'Not\x20able\x20to\x20import\x20Connection','CgqaZ':function(_0x33d493,_0x7cbb9e){return _0x33d493(_0x7cbb9e);},'iaieV':function(_0x374df4,_0x31468b){return _0x374df4!=_0x31468b;},'IjTby':function(_0x353447){return _0x353447();},'ErWil':'sendMessageToServer','YpCYX':function(_0x25aded,_0x27029b){return _0x25aded(_0x27029b);},'hwSwW':_0x252a58(0x133)},_0x9301fe=this;if(!this['Connection'])try{const _0x397847=path[_0x252a58(0x117)](_0x260560[_0x252a58(0xdc)],_0x260560[_0x252a58(0x152)],_0x260560[_0x252a58(0xfa)]),_0x1765f5=_0x260560['APzLQ'](importFileFromPWCore,_0x397847);!_0x1765f5?_0x260560[_0x252a58(0x106)](debug,_0x260560[_0x252a58(0x174)]):this[_0x252a58(0x18b)]=_0x1765f5[_0x252a58(0x18b)];}catch(_0x578f87){_0x260560[_0x252a58(0x171)](debug,_0x252a58(0x180)+_0x578f87[_0x252a58(0x155)]());}const _0x5a7b15=this['Connection'];try{if(_0x260560[_0x252a58(0x168)](_0x5a7b15,null)){const _0x33d331=_0x5a7b15['prototype'][_0x252a58(0x133)],_0x1cdda6=_0x5a7b15['prototype']['sendMessageToServer'];_0x260560[_0x252a58(0x11b)](isAccessibilityAutomationSession)&&Object[_0x252a58(0x17a)](_0x5a7b15[_0x252a58(0xff)],_0x260560[_0x252a58(0x138)],{'get':function(){const _0x4fe5a4=_0x252a58,_0x3aeaa8={'DrRjU':function(_0xe086d1,_0x3919f9,_0x47ae1d){const _0xf192c4=a47_0x15d4;return _0x260560[_0xf192c4(0x142)](_0xe086d1,_0x3919f9,_0x47ae1d);},'RDvSO':_0x260560[_0x4fe5a4(0x15c)],'zHhTj':_0x260560[_0x4fe5a4(0xd5)],'Rysdf':_0x260560[_0x4fe5a4(0x12c)],'UnpmG':_0x260560[_0x4fe5a4(0x151)],'DSLUA':_0x260560[_0x4fe5a4(0x144)],'fiEoY':function(_0x426181,_0x39e637){const _0x3792c9=_0x4fe5a4;return _0x260560[_0x3792c9(0x183)](_0x426181,_0x39e637);},'ndZcJ':_0x260560[_0x4fe5a4(0xec)],'ufRwN':function(_0x25ce07,_0x3f40cb,_0x1ddcee,_0x47cd81){return _0x260560['ehUKO'](_0x25ce07,_0x3f40cb,_0x1ddcee,_0x47cd81);}};return async function(){const _0x4eb42c=_0x4fe5a4;try{if(!global['bstackPerformA11yScan']&&global[_0x4eb42c(0xe4)]&&_0x3aeaa8[_0x4eb42c(0x11d)](nestedKeyValue,global[_0x4eb42c(0x123)],[_0x3aeaa8[_0x4eb42c(0x143)],_0x3aeaa8[_0x4eb42c(0x132)],_0x3aeaa8[_0x4eb42c(0xda)]])&&_0x3aeaa8['DrRjU'](shouldScanTestForAccessibility,global[_0x4eb42c(0x123)][_0x4eb42c(0xe1)]['testInfo'][_0x4eb42c(0x182)],!![])&&scripts[_0x4eb42c(0xd3)](arguments[0x1])){logger[_0x4eb42c(0x11f)](_0x4eb42c(0x178)+arguments[0x1]),global[_0x4eb42c(0xe2)]=!![];const _0x651cbf=_0x3aeaa8['DrRjU'](nestedKeyValue,global,[_0x3aeaa8['UnpmG'],_0x3aeaa8[_0x4eb42c(0x139)]]);_0x651cbf&&logger[_0x4eb42c(0x17f)](_0x4eb42c(0x170)+util[_0x4eb42c(0x157)](await _0x3aeaa8[_0x4eb42c(0x11d)](performScanWithRetry,_0x651cbf,arguments[0x1]))),_0x3aeaa8[_0x4eb42c(0x172)](arguments[0x0][_0x4eb42c(0x16c)],_0x3aeaa8[_0x4eb42c(0x10a)])&&global['__driver']&&logger['info'](_0x4eb42c(0x127)+util[_0x4eb42c(0x157)](await _0x3aeaa8[_0x4eb42c(0x114)](performScanWithRetry,global[_0x4eb42c(0x107)],arguments[0x1],scripts['performScan'])));}}catch(_0x131f53){logger['debug'](_0x4eb42c(0xcd)+util[_0x4eb42c(0x157)](_0x131f53));}return global[_0x4eb42c(0xe2)]=![],_0x1cdda6[_0x4eb42c(0x16d)](this,arguments);};}}),!_0x260560[_0x252a58(0x175)](isFalse,process['env'][_0x252a58(0xdf)])&&Object[_0x252a58(0x17a)](_0x5a7b15[_0x252a58(0xff)],_0x260560[_0x252a58(0x126)],{'get':function(){return async function _0x39f298(_0x58176d){const _0x588308=a47_0x15d4;if(BrowserstackCLI[_0x588308(0x131)]()[_0x588308(0x116)]()){const _0x14dddd={};_0x14dddd[_0x588308(0xde)]=_0x58176d,await BrowserstackCLI[_0x588308(0x131)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],_0x14dddd);}else{const _0x1a6293=_0x58176d&&_0x58176d[_0x588308(0x165)]&&_0x58176d['params'][_0x588308(0x13a)];if(_0x1a6293){const _0x4d9ab3=_0x1a6293['sessionId'],_0x5cc838=_0x1a6293[_0x588308(0x162)];_0x260560[_0x588308(0xd0)](!_0x4d9ab3,!_0x5cc838)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0x5cc838&&(_0x260560[_0x588308(0x106)](debug,_0x588308(0x13d)+_0x5cc838['toString']()),_0x9301fe[_0x588308(0xea)][_0x588308(0x16a)]=_0x5cc838[_0x588308(0x156)],_0x9301fe[_0x588308(0xea)][_0x588308(0x158)]=_0x5cc838['platformVersion']),_0x4d9ab3&&(_0x260560['APzLQ'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x4d9ab3),_0x9301fe['currentSessionDetails'][_0x588308(0x12e)]=_0x4d9ab3);}}return _0x33d331[_0x588308(0x16d)](this,arguments);};}});}}catch(_0x561ae3){_0x260560[_0x252a58(0x171)](debug,_0x252a58(0xef)+_0x561ae3),_0x9301fe[_0x252a58(0xce)]=_0x561ae3[_0x252a58(0x155)]();}}static[a47_0x4f313f(0x17e)](){const _0x1cf9ac=a47_0x4f313f,_0x24ff4f={'KIgeW':function(_0x3d1fb1,_0x2c7799){return _0x3d1fb1(_0x2c7799);},'KHFQv':function(_0x163d43,_0x2fd8d1){return _0x163d43(_0x2fd8d1);},'guPMP':function(_0x32b05e){return _0x32b05e();},'vReFw':_0x1cf9ac(0xfd),'VSUlz':_0x1cf9ac(0x15e),'oyayv':_0x1cf9ac(0x161),'ENkqY':_0x1cf9ac(0x148),'POOvU':function(_0x2fa7c8,_0x5adfa2){return _0x2fa7c8(_0x5adfa2);},'ArZsi':_0x1cf9ac(0x10c),'uaieN':'Error\x20in\x20importing\x20crConnection','IemNl':function(_0x34b8e1,_0x5e6d71){return _0x34b8e1!=_0x5e6d71;},'NadqL':_0x1cf9ac(0xd4),'SvziB':function(_0xd7a69f,_0x340175){return _0xd7a69f(_0x340175);}},_0x273a42=this;if(_0x24ff4f['guPMP'](isAccessibilityAutomationSession)){let _0x20bbe9=null;try{const _0x138fc8=path['join'](_0x24ff4f['vReFw'],_0x24ff4f[_0x1cf9ac(0xe7)],_0x24ff4f['oyayv'],_0x24ff4f['ENkqY']),_0x25b0c9=_0x24ff4f[_0x1cf9ac(0xed)](importFileFromPWCore,_0x138fc8);!_0x25b0c9?_0x24ff4f[_0x1cf9ac(0xed)](debug,_0x24ff4f[_0x1cf9ac(0xe0)]):_0x20bbe9=_0x25b0c9[_0x1cf9ac(0xcf)];}catch(_0x109373){_0x24ff4f[_0x1cf9ac(0x13e)](debug,_0x24ff4f[_0x1cf9ac(0x14c)]);}try{if(_0x24ff4f['IemNl'](_0x20bbe9,null)){const _0x25693b=_0x20bbe9[_0x1cf9ac(0xff)]['_onMessage'];Object[_0x1cf9ac(0x17a)](_0x20bbe9[_0x1cf9ac(0xff)],_0x24ff4f[_0x1cf9ac(0x159)],{'get':function(){return async function _0xa7a0a2(_0xea5a2b){const _0x2ad5ae=a47_0x15d4;try{if(BrowserstackCLI[_0x2ad5ae(0x131)]()[_0x2ad5ae(0x116)]()){const _0x116bb5={};_0x116bb5[_0x2ad5ae(0xde)]=_0xea5a2b,await BrowserstackCLI['getInstance']()[_0x2ad5ae(0x18c)]()[_0x2ad5ae(0x15f)](AutomationFrameworkState[_0x2ad5ae(0x100)],HookState[_0x2ad5ae(0x10b)],_0x116bb5),delete _0xea5a2b[_0x2ad5ae(0x149)];}else{const _0x30f8aa=_0xea5a2b[_0x2ad5ae(0x149)];if(_0x30f8aa){delete _0xea5a2b[_0x2ad5ae(0x149)];const _0x2bd271=_0x30f8aa[_0x2ad5ae(0xf9)],_0x30b2b4=_0x30f8aa['platformDetails'];_0x30b2b4&&(_0x24ff4f[_0x2ad5ae(0x13e)](debug,_0x2ad5ae(0xe3)+_0x30b2b4['toString']()),_0x273a42[_0x2ad5ae(0xea)][_0x2ad5ae(0x16a)]=_0x30b2b4[_0x2ad5ae(0x156)],_0x273a42['currentSessionDetails'][_0x2ad5ae(0x158)]=_0x30b2b4[_0x2ad5ae(0x12b)]),_0x2bd271&&(_0x24ff4f['KIgeW'](debug,_0x2ad5ae(0x101)+_0x2bd271),_0x273a42[_0x2ad5ae(0xea)][_0x2ad5ae(0x12e)]=_0x2bd271);}}}catch(_0x47a568){_0x24ff4f['KHFQv'](debug,_0x2ad5ae(0x130)+_0x47a568['toString']());}return _0x25693b[_0x2ad5ae(0x16d)](this,arguments);};}});}}catch(_0x9f2186){_0x24ff4f['SvziB'](debug,_0x1cf9ac(0xd7)+_0x9f2186),_0x273a42[_0x1cf9ac(0xce)]=_0x9f2186['toString']();}}}static[a47_0x4f313f(0x12a)](){const _0x11cb11=a47_0x4f313f;return this[_0x11cb11(0xea)];}}module[a47_0x4f313f(0xfb)]=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x506c40=a48_0x550f;(function(_0x4e47f6,_0x11fed0){const _0x250175=a48_0x550f,_0x16b1fa=_0x4e47f6();while(!![]){try{const _0x55f95d=-parseInt(_0x250175(0x11c))/0x1+-parseInt(_0x250175(0xad))/0x2+-parseInt(_0x250175(0xcf))/0x3+parseInt(_0x250175(0x130))/0x4*(parseInt(_0x250175(0x11a))/0x5)+parseInt(_0x250175(0xc2))/0x6*(-parseInt(_0x250175(0xb7))/0x7)+-parseInt(_0x250175(0x128))/0x8*(-parseInt(_0x250175(0xca))/0x9)+parseInt(_0x250175(0x12c))/0xa;if(_0x55f95d===_0x11fed0)break;else _0x16b1fa['push'](_0x16b1fa['shift']());}catch(_0x46bd1d){_0x16b1fa['push'](_0x16b1fa['shift']());}}}(a48_0x2135,0x6b4c6));function a48_0x2135(){const _0x54f0c3=['exitCode','node','SayyH','SDK_SETUP','dot-notation','exitProcess','Runs\x20the\x20binary\x20with\x20load\x20command','NTIZj','MOCHA','nightwatch','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','mocha/lib/cli/cli.js','describe','uONwY','fkmkR','INTEGRATIONS','message','parserConfiguration','EtUCu','ZAwpK','HELP','NIGHTWATCH','includes','--require','help','../helpers/performance/performance-tester','ats','5wcIley','YjtLu','676107BnpxuX','STYUD','winstonLogger','mocha','error','version','KqBbE','ddvob','stack','./nightwatch/command','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','lSPvJ','824dOGZdD','./utils/constants','wrap','--package','10938860xKdBSC','command','fireFunnelTestEvent','setTestObservabilityDisable','2300972nthPSy','.browserstack','join','mEUya','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','usage','nuEMr','Ijwwk','alias','CODECEPTJS','../helpers/logger','./mocha/command','zENUY','668740uHVKLB','start','--no-package','daysM','slice','../helpers/BrowserStackSetup','--opts','find','.local-not-set.json','JEST','343eiIqyQ','ADKvl','child_process','Show\x20help','playwright','cucumber-js','usage:\x20$0\x20<command>\x20[args]','getConfigPath','isUndefined','push','mRzmA','94548KPxEoF','./integrations/command','PLAYWRIGHT','jest','SDKTestSuccessful','bSrKN','--config','option','54603wVogEI','--mochaRequire','boolean','../helpers/utilities','Running\x20SDK\x20with\x20args\x20','215751WduBBR','IvAZk','unlinkSync','assign','XNWcS','integrations','VERSION','config','INFO','dhWTx','BROWSERSTACK_CONFIG_FILE_PATH','mocha/lib/cli/run.js','spawn','run','NLeim','showHelpOnFail','srkdx','./jest/command','YBPMZ','RAGhA','WlNYE','format','debug','./vanilla-js/command','MnEng','findAndReplace','vanilla','Ukpic','../helpers/helper','BLMtE','eacYq','homedir','KvKAt','codeceptjs','handler','util','YTgkS','../helpers/test-observability/constants','argv','framework','mrBKm','PoTeP','info','./playwright/command','end','./codeceptjs/command','strict','setBrowserStackAutomationDisable'];a48_0x2135=function(){return _0x54f0c3;};return a48_0x2135();}const fs=require('fs'),path=require('path'),util=require(a48_0x506c40(0xf2)),spawn=require(a48_0x506c40(0xb9))[a48_0x506c40(0xdb)],{requireModule}=require(a48_0x506c40(0xeb)),PerformanceTester=require(a48_0x506c40(0x118)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require(a48_0x506c40(0xeb)),utilities=require(a48_0x506c40(0xcd)),{default:BrowserStackSetup}=require(a48_0x506c40(0xb2)),{FRAMEWORKS}=require(a48_0x506c40(0xf4)),runIntegrations=require(a48_0x506c40(0xc3)),yargs=require('yargs'),Constants=require(a48_0x506c40(0x129)),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a48_0x506c40(0xaa))[a48_0x506c40(0x11e)],origArgs=Object[a48_0x506c40(0xd2)]([],process[a48_0x506c40(0xf5)]),captureError=async(_0x51721b,_0x491664,_0x214e35,_0x4eaf62=null)=>{const _0x75c3eb=a48_0x506c40,_0x3ac320={'EfwIA':function(_0x26a300,_0x43bdfb,_0x529fa3,_0x352023){return _0x26a300(_0x43bdfb,_0x529fa3,_0x352023);},'WlNYE':_0x75c3eb(0xc6)};try{logger[_0x75c3eb(0xf9)](_0x75c3eb(0xce)+origArgs['join']('\x20')),await _0x3ac320['EfwIA'](_0x51721b,_0x491664,_0x4eaf62,_0x214e35);}catch(_0x38ef74){process[_0x75c3eb(0xff)]=0x1,logger['error'](util[_0x75c3eb(0xe4)](_0x38ef74));const _0x281a45={'globalException':util[_0x75c3eb(0xe4)]('%j',_0x38ef74)};PerformanceTester[_0x75c3eb(0xfb)](PerformanceEvents[_0x75c3eb(0x102)],![],util[_0x75c3eb(0xe4)](_0x38ef74));if(helper[_0x75c3eb(0xbf)](global['config'])&&helper[_0x75c3eb(0xbf)](global[_0x75c3eb(0xf6)]))return;try{utilities[_0x75c3eb(0x12e)](_0x3ac320[_0x75c3eb(0xe3)],_0x281a45,global[_0x75c3eb(0xd6)],global[_0x75c3eb(0xf6)]);}catch(_0x3de697){logger[_0x75c3eb(0xe5)](_0x75c3eb(0x134)+_0x3de697['stack']);}try{await helper['sendLogs'](global[_0x75c3eb(0xd6)]);}catch(_0x5ddefe){logger[_0x75c3eb(0xe5)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x5ddefe[_0x75c3eb(0x124)]);}await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x75c3eb(0xfb)](PerformanceEvents[_0x75c3eb(0x102)],![],util[_0x75c3eb(0xe4)](_0x38ef74));}finally{PerformanceTester[_0x75c3eb(0xae)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a48_0x506c40(0x132)](helper[a48_0x506c40(0xee)](),a48_0x506c40(0x131));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a48_0x506c40(0x132)](browserstackFolderPath,a48_0x506c40(0xb5));fs['existsSync'](filePath)&&fs[a48_0x506c40(0xd1)](filePath);}}catch(a48_0x1ed4ff){logger[a48_0x506c40(0xe5)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a48_0x1ed4ff[a48_0x506c40(0x10f)]);}function a48_0x550f(_0x10baca,_0x3bdb01){const _0x21359d=a48_0x2135();return a48_0x550f=function(_0x550fd0,_0x37abfd){_0x550fd0=_0x550fd0-0xa7;let _0x5f25e2=_0x21359d[_0x550fd0];return _0x5f25e2;},a48_0x550f(_0x10baca,_0x3bdb01);}process[a48_0x506c40(0xf5)][a48_0x506c40(0x115)](a48_0x506c40(0x11f))&&(!process[a48_0x506c40(0xf5)][a48_0x506c40(0x115)](a48_0x506c40(0xb3))&&process[a48_0x506c40(0xf5)][a48_0x506c40(0xc0)]('--no-opts'),!process['argv'][a48_0x506c40(0xb4)](_0x2a3e6a=>_0x2a3e6a[a48_0x506c40(0x115)](a48_0x506c40(0xc8)))&&process[a48_0x506c40(0xf5)][a48_0x506c40(0xc0)]('--no-config'),!process['argv'][a48_0x506c40(0x115)](a48_0x506c40(0x12b))&&process[a48_0x506c40(0xf5)][a48_0x506c40(0xc0)](a48_0x506c40(0xaf)),helper[a48_0x506c40(0xe8)](process['argv'],a48_0x506c40(0x116),a48_0x506c40(0xcb)));PerformanceTester[a48_0x506c40(0xae)](PerformanceEvents[a48_0x506c40(0x102)]);const a48_0x20b61c={};a48_0x20b61c[a48_0x506c40(0x103)]=![];const argv=yargs[a48_0x506c40(0x110)](a48_0x20b61c)[a48_0x506c40(0x135)](a48_0x506c40(0xbd))[a48_0x506c40(0xa8)]('v',a48_0x506c40(0x121))[a48_0x506c40(0x10b)]('v')[a48_0x506c40(0xa8)]('h',a48_0x506c40(0x117))[a48_0x506c40(0x117)](a48_0x506c40(0x117))[a48_0x506c40(0xde)](!![],Constants[a48_0x506c40(0xd5)][a48_0x506c40(0x113)])[a48_0x506c40(0x12d)](a48_0x506c40(0xc5),Constants[a48_0x506c40(0xb6)][a48_0x506c40(0xd7)],function(_0x121acb){const _0x29e503=a48_0x506c40,_0x48f82c={'Ukpic':_0x29e503(0xc5),'ddvob':function(_0x3618eb,_0x993d9d,_0x59289a,_0x262c43,_0x188509){return _0x3618eb(_0x993d9d,_0x59289a,_0x262c43,_0x188509);},'mEUya':function(_0x175873,_0x27ae63){return _0x175873(_0x27ae63);},'daysM':_0x29e503(0xe0)},_0x329e16=process[_0x29e503(0xf5)][_0x29e503(0xb1)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4ff562=new BrowserStackSetup(_0x121acb[_0x29e503(0xf5)],_0x48f82c[_0x29e503(0xea)]);return _0x48f82c[_0x29e503(0x123)](captureError,_0x48f82c[_0x29e503(0x133)](require,_0x48f82c[_0x29e503(0xb0)]),_0x121acb[_0x29e503(0xf5)],_0x4ff562,_0x329e16);})[a48_0x506c40(0x12d)](a48_0x506c40(0x11f),Constants[a48_0x506c40(0x107)][a48_0x506c40(0xd7)],_0x430f06=>{const _0x31fb88=a48_0x506c40,_0x41d4bf={'dhWTx':function(_0x4a1d19,_0x2bffe2,_0x5c6ad9,_0x249fe1){return _0x4a1d19(_0x2bffe2,_0x5c6ad9,_0x249fe1);},'MnEng':function(_0x261eac,_0x286440){return _0x261eac(_0x286440);},'EoviF':_0x31fb88(0xab),'SayyH':_0x31fb88(0x11f),'kcjza':'Parsing\x20command\x20line\x20arguments','PoTeP':function(_0x4c6f34,_0x18130f,_0x3c87d6){return _0x4c6f34(_0x18130f,_0x3c87d6);},'STYUD':_0x31fb88(0xda),'cSWkP':function(_0x28885e,_0x4e4a61,_0x31125a){return _0x28885e(_0x4e4a61,_0x31125a);},'YBPMZ':'mocha/lib/cli/commands.js','Ijwwk':function(_0xb2208e,_0x59e145,_0x3d390f){return _0xb2208e(_0x59e145,_0x3d390f);},'EtUCu':_0x31fb88(0x10a),'Lfztk':function(_0x2b23d9){return _0x2b23d9();}};process[_0x31fb88(0xf5)]=process[_0x31fb88(0xf5)][_0x31fb88(0xb1)](0x1),helper['setTestObservabilityDisable'](),helper[_0x31fb88(0xfe)]();const _0x4227f5=new BrowserStackSetup(_0x430f06['argv'],_0x41d4bf[_0x31fb88(0x101)]);logger[_0x31fb88(0xe5)](_0x41d4bf['kcjza']);const _0x2d1aa2=_0x41d4bf[_0x31fb88(0xf8)](requireModule,_0x41d4bf[_0x31fb88(0x11d)],_0x41d4bf['SayyH']),_0x555d6e=_0x41d4bf['cSWkP'](requireModule,_0x41d4bf[_0x31fb88(0xe1)],_0x41d4bf[_0x31fb88(0x101)]);delete _0x2d1aa2[_0x31fb88(0xf1)],_0x2d1aa2[_0x31fb88(0xf1)]=function(_0x4b580e){const _0x137b7a=_0x31fb88;return _0x41d4bf[_0x137b7a(0xd8)](captureError,_0x41d4bf[_0x137b7a(0xe7)](require,_0x41d4bf['EoviF']),_0x4b580e,_0x4227f5);},_0x555d6e[_0x31fb88(0xdc)]=_0x2d1aa2;const {main:_0x34582b}=_0x41d4bf[_0x31fb88(0xa7)](requireModule,_0x41d4bf[_0x31fb88(0x111)],_0x41d4bf['SayyH']);_0x41d4bf['Lfztk'](_0x34582b);})['command'](a48_0x506c40(0xbc),Constants['CUCUMBER'][a48_0x506c40(0xd7)],function(_0x41ec3d){const _0x39edbe=a48_0x506c40,_0x1fc84f={'srkdx':'cucumber-js','KvKAt':function(_0x3e03c7,_0x2b417d,_0xf5544c,_0x3535d6,_0x2dfcba){return _0x3e03c7(_0x2b417d,_0xf5544c,_0x3535d6,_0x2dfcba);},'YlWaG':function(_0x2e7f9f,_0x714471){return _0x2e7f9f(_0x714471);},'YjtLu':'./cucumber-js/command'},_0x5f31f8=process[_0x39edbe(0xf5)][_0x39edbe(0xb1)](0x2),_0x12d295=new BrowserStackSetup(_0x41ec3d[_0x39edbe(0xf5)],_0x1fc84f[_0x39edbe(0xdf)]);return _0x1fc84f[_0x39edbe(0xef)](captureError,_0x1fc84f['YlWaG'](require,_0x1fc84f[_0x39edbe(0x11b)]),_0x41ec3d[_0x39edbe(0xf5)],_0x12d295,_0x5f31f8);})[a48_0x506c40(0x12d)](a48_0x506c40(0x100),Constants['VANILLA']['INFO'],function(_0x21bec0){const _0x36b1f6=a48_0x506c40,_0xece6fe={'KqBbE':_0x36b1f6(0xe9),'mRzmA':function(_0x19f54c,_0x473b54,_0x436087,_0x6befd6,_0x4bb8d8){return _0x19f54c(_0x473b54,_0x436087,_0x6befd6,_0x4bb8d8);},'nuEMr':function(_0xa237ae,_0x52f530){return _0xa237ae(_0x52f530);},'mrBKm':_0x36b1f6(0xe6)},_0x40e978=process['argv']['slice'](0x2),_0x276a12=new BrowserStackSetup(_0x21bec0[_0x36b1f6(0xf5)],_0xece6fe[_0x36b1f6(0x122)]);return _0xece6fe[_0x36b1f6(0xc1)](captureError,_0xece6fe[_0x36b1f6(0x136)](require,_0xece6fe[_0x36b1f6(0xf7)]),_0x21bec0['argv'],_0x276a12,_0x40e978);})[a48_0x506c40(0x12d)](a48_0x506c40(0x108),Constants[a48_0x506c40(0x114)][a48_0x506c40(0xd7)],function(_0x1b3e4c){const _0x4cd975=a48_0x506c40,_0x320539={'RAGhA':function(_0xdcdb86,_0xb0815,_0x1078ee,_0x4ff294,_0x25b2ec){return _0xdcdb86(_0xb0815,_0x1078ee,_0x4ff294,_0x25b2ec);},'Grmlg':function(_0x5dd314,_0x13ebc0){return _0x5dd314(_0x13ebc0);},'ZAwpK':_0x4cd975(0x125)},_0x3f1bc4=process[_0x4cd975(0xf5)][_0x4cd975(0xb1)](0x2),_0x569891=new BrowserStackSetup(_0x1b3e4c[_0x4cd975(0xf5)]);return _0x320539[_0x4cd975(0xe2)](captureError,_0x320539['Grmlg'](require,_0x320539[_0x4cd975(0x112)]),_0x1b3e4c[_0x4cd975(0xf5)],_0x569891,_0x3f1bc4);})[a48_0x506c40(0x12d)]('codeceptjs',Constants[a48_0x506c40(0xa9)]['INFO'],function(_0x570884){const _0x413e07=a48_0x506c40,_0x4afc09={'eXjdC':_0x413e07(0xf0),'NLeim':function(_0x5ce889,_0xbc7627,_0x354a25,_0x14b11b,_0xdc658d){return _0x5ce889(_0xbc7627,_0x354a25,_0x14b11b,_0xdc658d);},'uONwY':function(_0x161da3,_0x4a5083){return _0x161da3(_0x4a5083);},'NTIZj':_0x413e07(0xfc)},_0x2de04d=process[_0x413e07(0xf5)]['slice'](0x2),_0x2cf082=new BrowserStackSetup(_0x570884['argv'],_0x4afc09['eXjdC']);return _0x4afc09[_0x413e07(0xdd)](captureError,_0x4afc09[_0x413e07(0x10c)](require,_0x4afc09[_0x413e07(0x106)]),_0x570884[_0x413e07(0xf5)],_0x2cf082,_0x2de04d);})[a48_0x506c40(0x12d)](a48_0x506c40(0x119),Constants['HST']['INFO'],function(_0x307b91){const _0x479237=a48_0x506c40,_0x333b15={'BLMtE':function(_0x38913,_0x44ccea,_0xbea41b){return _0x38913(_0x44ccea,_0xbea41b);},'fkmkR':function(_0x445996,_0x338129){return _0x445996(_0x338129);},'bSrKN':'../../ats/src/index'},_0x3a879a=process['argv'][_0x479237(0xb1)](0x2);return _0x333b15[_0x479237(0xec)](captureError,_0x333b15[_0x479237(0x10d)](require,_0x333b15[_0x479237(0xc7)]),_0x307b91);})[a48_0x506c40(0x12d)](a48_0x506c40(0xd4),Constants[a48_0x506c40(0x10e)][a48_0x506c40(0xd7)],function(_0x630bc){const _0x390010=a48_0x506c40,_0x4be4a2={'zENUY':function(_0x26723a,_0x48d857){return _0x26723a(_0x48d857);}};return _0x4be4a2[_0x390010(0xac)](runIntegrations,_0x630bc);})[a48_0x506c40(0x12d)](a48_0x506c40(0xbb),Constants[a48_0x506c40(0xc4)]['INFO'],function(_0x56e211){const _0x5414f8=a48_0x506c40,_0x3763a1={'YTgkS':function(_0x528cb7,_0x2fd468,_0x5abb8b,_0x5401b2,_0x52ff44){return _0x528cb7(_0x2fd468,_0x5abb8b,_0x5401b2,_0x52ff44);},'mLjDq':function(_0x161308,_0x7250a5){return _0x161308(_0x7250a5);},'OItIB':_0x5414f8(0xfa)},_0xb53482=process[_0x5414f8(0xf5)]['slice'](0x2);helper[_0x5414f8(0xbe)](process[_0x5414f8(0xf5)])&&(process['env'][_0x5414f8(0xd9)]=helper[_0x5414f8(0xbe)](process[_0x5414f8(0xf5)]));helper[_0x5414f8(0x12f)](),helper[_0x5414f8(0xfe)]();const _0x3c00ec=new BrowserStackSetup(_0x56e211['argv'],FRAMEWORKS[_0x5414f8(0xc4)]);return _0x3763a1[_0x5414f8(0xf3)](captureError,_0x3763a1['mLjDq'](require,_0x3763a1['OItIB']),_0x56e211[_0x5414f8(0xf5)],_0x3c00ec,_0xb53482);})[a48_0x506c40(0x12d)]('load\x20[subcommand]',a48_0x506c40(0x105),function(_0x5b2060){const _0x3e8ca2=a48_0x506c40,_0xa8227d={};_0xa8227d[_0x3e8ca2(0xed)]=_0x3e8ca2(0x117),_0xa8227d['lSPvJ']=_0x3e8ca2(0xcc),_0xa8227d[_0x3e8ca2(0xd3)]=_0x3e8ca2(0xba);const _0x5501a7=_0xa8227d;return _0x5b2060[_0x3e8ca2(0x117)](![])[_0x3e8ca2(0xc9)](_0x5501a7[_0x3e8ca2(0xed)],{'alias':'h','type':_0x5501a7[_0x3e8ca2(0x127)],'describe':_0x5501a7['XNWcS']})[_0x3e8ca2(0xfd)](![])[_0x3e8ca2(0x104)](![]);},function(_0x117733){const _0x2ab2e5=a48_0x506c40,_0x22e4ad={'ilBYl':function(_0x1e425a,_0x324593,_0x50a259){return _0x1e425a(_0x324593,_0x50a259);},'ADKvl':function(_0x111530,_0xdc80a8){return _0x111530(_0xdc80a8);},'IvAZk':'./load/index'},_0x4edc3a={};return _0x4edc3a['argv']=_0x117733,_0x22e4ad['ilBYl'](captureError,_0x22e4ad[_0x2ab2e5(0xb8)](require,_0x22e4ad[_0x2ab2e5(0xd0)]),_0x4edc3a);})['demandCommand'](0x1,a48_0x506c40(0x109))[a48_0x506c40(0x12a)](null)[a48_0x506c40(0xf5)];!helper[a48_0x506c40(0xbf)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x506c40(0x119)&&console[a48_0x506c40(0x120)](a48_0x506c40(0x126));
2
+ 'use strict';const a48_0x65d367=a48_0x43b0;(function(_0x44d846,_0x19ef96){const _0x54afea=a48_0x43b0,_0x86212e=_0x44d846();while(!![]){try{const _0x564247=parseInt(_0x54afea(0x106))/0x1*(parseInt(_0x54afea(0xc4))/0x2)+-parseInt(_0x54afea(0xfa))/0x3*(-parseInt(_0x54afea(0xef))/0x4)+-parseInt(_0x54afea(0x131))/0x5+parseInt(_0x54afea(0xba))/0x6+-parseInt(_0x54afea(0xda))/0x7*(-parseInt(_0x54afea(0x111))/0x8)+-parseInt(_0x54afea(0x13b))/0x9+parseInt(_0x54afea(0x144))/0xa*(parseInt(_0x54afea(0xd5))/0xb);if(_0x564247===_0x19ef96)break;else _0x86212e['push'](_0x86212e['shift']());}catch(_0x37af66){_0x86212e['push'](_0x86212e['shift']());}}}(a48_0x1a81,0x62b4e));const fs=require('fs'),path=require(a48_0x65d367(0xca)),util=require(a48_0x65d367(0x14b)),spawn=require(a48_0x65d367(0x10f))['spawn'],{requireModule}=require(a48_0x65d367(0xcc)),PerformanceTester=require(a48_0x65d367(0x10d)),PerformanceEvents=require(a48_0x65d367(0xf1))[a48_0x65d367(0x127)],helper=require(a48_0x65d367(0xcc)),utilities=require(a48_0x65d367(0x118)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a48_0x65d367(0xd7)),runIntegrations=require(a48_0x65d367(0x12a)),yargs=require(a48_0x65d367(0xfc)),Constants=require(a48_0x65d367(0x139)),BrowserstackCLI=require(a48_0x65d367(0x148)),logger=require(a48_0x65d367(0xd1))[a48_0x65d367(0x132)],origArgs=Object[a48_0x65d367(0x123)]([],process[a48_0x65d367(0x13d)]),captureError=async(_0x46f1c7,_0x4e2ef5,_0x294d50,_0x11852f=null)=>{const _0x1ef835=a48_0x65d367,_0x12af48={'UJdPP':function(_0x4bbc0d,_0x475830,_0x45bf2a,_0x418c55){return _0x4bbc0d(_0x475830,_0x45bf2a,_0x418c55);},'IzNCn':_0x1ef835(0x140)};try{logger[_0x1ef835(0x112)](_0x1ef835(0xbf)+origArgs[_0x1ef835(0x143)]('\x20')),await _0x12af48[_0x1ef835(0xe6)](_0x46f1c7,_0x4e2ef5,_0x11852f,_0x294d50);}catch(_0x27d81f){process[_0x1ef835(0x14e)]=0x1,logger['error'](util[_0x1ef835(0x14c)](_0x27d81f));const _0x1a2492={'globalException':util[_0x1ef835(0x14c)]('%j',_0x27d81f)};PerformanceTester[_0x1ef835(0x13f)](PerformanceEvents[_0x1ef835(0x12f)],![],util[_0x1ef835(0x14c)](_0x27d81f));if(helper[_0x1ef835(0x122)](global[_0x1ef835(0xdc)])&&helper[_0x1ef835(0x122)](global[_0x1ef835(0x14f)]))return;try{utilities['fireFunnelTestEvent'](_0x12af48['IzNCn'],_0x1a2492,global[_0x1ef835(0xdc)],global[_0x1ef835(0x14f)]);}catch(_0x5ceb5a){logger[_0x1ef835(0xec)](_0x1ef835(0xcd)+_0x5ceb5a['stack']);}try{await helper[_0x1ef835(0x108)](global[_0x1ef835(0xdc)]);}catch(_0x34c098){logger[_0x1ef835(0xec)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x34c098['stack']);}await BrowserstackCLI[_0x1ef835(0xde)]()[_0x1ef835(0x128)](),PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x27d81f));}finally{PerformanceTester['start'](PerformanceEvents[_0x1ef835(0xf2)]);}};try{const browserstackFolderPath=path['join'](helper[a48_0x65d367(0xb9)](),a48_0x65d367(0x12e));if(fs[a48_0x65d367(0xbd)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a48_0x65d367(0x102));fs[a48_0x65d367(0xbd)](filePath)&&fs[a48_0x65d367(0xf8)](filePath);}}catch(a48_0x688d1){logger[a48_0x65d367(0xec)](a48_0x65d367(0xee)+a48_0x688d1[a48_0x65d367(0x115)]);}process[a48_0x65d367(0x13d)]['includes'](a48_0x65d367(0xe9))&&(!process['argv'][a48_0x65d367(0xd3)](a48_0x65d367(0x135))&&process[a48_0x65d367(0x13d)][a48_0x65d367(0x114)]('--no-opts'),!process[a48_0x65d367(0x13d)][a48_0x65d367(0xdb)](_0xd6f716=>_0xd6f716[a48_0x65d367(0xd3)](a48_0x65d367(0xce)))&&process['argv'][a48_0x65d367(0x114)](a48_0x65d367(0xd9)),!process[a48_0x65d367(0x13d)][a48_0x65d367(0xd3)](a48_0x65d367(0xeb))&&process[a48_0x65d367(0x13d)]['push']('--no-package'),helper[a48_0x65d367(0x129)](process[a48_0x65d367(0x13d)],a48_0x65d367(0x124),a48_0x65d367(0xc8)));PerformanceTester[a48_0x65d367(0xd4)](PerformanceEvents[a48_0x65d367(0x12f)]);const a48_0x263d72={};a48_0x263d72[a48_0x65d367(0xc5)]=![];function a48_0x1a81(){const _0x5196ed=['strict','child_process','./jest/command','2008bBCuaV','info','LOdtA','push','message','gjbnw','getConfigPath','../helpers/utilities','DwZao','mocha/lib/cli/run.js','bUowO','exitProcess','IvcDz','CClRM','Runs\x20the\x20binary\x20with\x20load\x20command','GJquB','jest','isUndefined','assign','--require','INFO','WoZsb','EVENTS','stop','findAndReplace','./integrations/command','error','handler','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','.browserstack','SDK_SETUP','xALJO','2296370uPsrSh','winstonLogger','HST','NIGHTWATCH','--opts','DrEbx','env','usage:\x20$0\x20<command>\x20[args]','./utils/constants','wrap','5217786jMtrkz','KqYvA','argv','INTEGRATIONS','end','SDKTestSuccessful','setTestObservabilityDisable','BROWSERSTACK_CONFIG_FILE_PATH','join','31250dlFCVa','./cucumber-js/command','yWGwh','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./v2/browserstackCLI','uemxR','cucumber-js','util','format','laZci','exitCode','framework','homedir','2231820IvuZHs','IViJk','Parsing\x20command\x20line\x20arguments','existsSync','CUCUMBER','Running\x20SDK\x20with\x20args\x20','codeceptjs','integrations','VERSION','ZiLJI','52rShxeA','dot-notation','usage','EWlPJ','--mochaRequire','DNqoe','path','NwtFi','../helpers/helper','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','--config','alias','xzavb','../helpers/logger','ats','includes','start','22kbTQUH','node','../helpers/test-observability/constants','qdHky','--no-config','5369FaApel','find','config','mocha/lib/cli/cli.js','getInstance','eDlMu','HELP','lCtvL','load\x20[subcommand]','JHQwZ','demandCommand','PLAYWRIGHT','UJdPP','MAyrF','wMSKy','mocha','nDlvG','--package','debug','xOOzM','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','311092DMQAdF','slice','../helpers/performance/constants','SDK_CLEANUP','boolean','playwright','./codeceptjs/command','mhoaE','jJqjS','unlinkSync','./vanilla-js/command','3kljIYZ','ZhjnI','yargs','SWnCG','./load/index','option','rUWgl','yMbCO','.local-not-set.json','command','oicKa','mLURl','30570hVIUjW','setBrowserStackAutomationDisable','sendLogs','mocha/lib/cli/commands.js','help','LkxwK','run','../helpers/performance/performance-tester'];a48_0x1a81=function(){return _0x5196ed;};return a48_0x1a81();}const argv=yargs['parserConfiguration'](a48_0x263d72)[a48_0x65d367(0xc6)](a48_0x65d367(0x138))[a48_0x65d367(0xcf)]('v','version')['describe']('v')['alias']('h','help')[a48_0x65d367(0x10a)](a48_0x65d367(0x10a))['showHelpOnFail'](!![],Constants[a48_0x65d367(0xc2)][a48_0x65d367(0xe0)])['command']('jest',Constants['JEST'][a48_0x65d367(0x125)],function(_0x46f883){const _0x55422a=a48_0x65d367,_0x2491b9={'eDlMu':_0x55422a(0x121),'MmWyl':function(_0x4364db,_0x4c86cc,_0x50cb9e,_0x502f9a,_0x59af53){return _0x4364db(_0x4c86cc,_0x50cb9e,_0x502f9a,_0x59af53);},'gjbnw':function(_0x397de5,_0x17ffbd){return _0x397de5(_0x17ffbd);},'rAUGH':_0x55422a(0x110)},_0x6cf3e0=process['argv'][_0x55422a(0xf0)](0x2);helper[_0x55422a(0x141)](),helper[_0x55422a(0x107)]();const _0x3c96ad=new BrowserStackSetup(_0x46f883[_0x55422a(0x13d)],_0x2491b9[_0x55422a(0xdf)]);return _0x2491b9['MmWyl'](captureError,_0x2491b9[_0x55422a(0x116)](require,_0x2491b9['rAUGH']),_0x46f883[_0x55422a(0x13d)],_0x3c96ad,_0x6cf3e0);})[a48_0x65d367(0x103)]('mocha',Constants['MOCHA'][a48_0x65d367(0x125)],_0x3659fa=>{const _0x5b690e=a48_0x65d367,_0x544834={'qdHky':function(_0x3a275b,_0x53fed1,_0x4efe99,_0x453d20){return _0x3a275b(_0x53fed1,_0x4efe99,_0x453d20);},'DrEbx':function(_0x478845,_0xb32c66){return _0x478845(_0xb32c66);},'SWnCG':'./mocha/command','GJquB':'mocha','mLURl':_0x5b690e(0xbc),'xALJO':function(_0x1fccef,_0x418943,_0x44f88f){return _0x1fccef(_0x418943,_0x44f88f);},'yWGwh':_0x5b690e(0x11a),'LOdtA':function(_0x3f9db6,_0x40991c,_0x4dbdda){return _0x3f9db6(_0x40991c,_0x4dbdda);},'jJqjS':_0x5b690e(0x109),'LkxwK':function(_0x379558,_0x201b85,_0xadc0fc){return _0x379558(_0x201b85,_0xadc0fc);},'IViJk':_0x5b690e(0xdd),'WoZsb':function(_0x541556){return _0x541556();}};process[_0x5b690e(0x13d)]=process[_0x5b690e(0x13d)][_0x5b690e(0xf0)](0x1),helper['setTestObservabilityDisable'](),helper[_0x5b690e(0x107)]();const _0x4b8807=new BrowserStackSetup(_0x3659fa[_0x5b690e(0x13d)],_0x544834['GJquB']);logger[_0x5b690e(0xec)](_0x544834[_0x5b690e(0x105)]);const _0x30a262=_0x544834[_0x5b690e(0x130)](requireModule,_0x544834[_0x5b690e(0x146)],_0x544834['GJquB']),_0x51cb50=_0x544834[_0x5b690e(0x113)](requireModule,_0x544834[_0x5b690e(0xf7)],_0x544834[_0x5b690e(0x120)]);delete _0x30a262['handler'],_0x30a262[_0x5b690e(0x12c)]=function(_0x4277d6){const _0x30ac6e=_0x5b690e;return _0x544834[_0x30ac6e(0xd8)](captureError,_0x544834[_0x30ac6e(0x136)](require,_0x544834[_0x30ac6e(0xfd)]),_0x4277d6,_0x4b8807);},_0x51cb50[_0x5b690e(0x10c)]=_0x30a262;const {main:_0x546898}=_0x544834[_0x5b690e(0x10b)](requireModule,_0x544834[_0x5b690e(0xbb)],_0x544834[_0x5b690e(0x120)]);_0x544834[_0x5b690e(0x126)](_0x546898);})[a48_0x65d367(0x103)]('cucumber-js',Constants[a48_0x65d367(0xbe)]['INFO'],function(_0x515bff){const _0x2d21f0=a48_0x65d367,_0x3f6eb6={'KqYvA':_0x2d21f0(0x14a),'wMSKy':function(_0x10af1e,_0x45c069,_0x170e46,_0x5dc0dd,_0x1b34e1){return _0x10af1e(_0x45c069,_0x170e46,_0x5dc0dd,_0x1b34e1);},'xOOzM':function(_0x402b24,_0x1de086){return _0x402b24(_0x1de086);},'EWlPJ':_0x2d21f0(0x145)},_0x1c5790=process[_0x2d21f0(0x13d)][_0x2d21f0(0xf0)](0x2),_0x52864a=new BrowserStackSetup(_0x515bff[_0x2d21f0(0x13d)],_0x3f6eb6[_0x2d21f0(0x13c)]);return _0x3f6eb6[_0x2d21f0(0xe8)](captureError,_0x3f6eb6[_0x2d21f0(0xed)](require,_0x3f6eb6[_0x2d21f0(0xc7)]),_0x515bff[_0x2d21f0(0x13d)],_0x52864a,_0x1c5790);})['command'](a48_0x65d367(0xd6),Constants['VANILLA'][a48_0x65d367(0x125)],function(_0x48a491){const _0x3c3978=a48_0x65d367,_0x402c19={'xzavb':'vanilla','MAyrF':function(_0x31c9cb,_0x3ef31b,_0x3ebff5,_0x1d6991,_0x73270f){return _0x31c9cb(_0x3ef31b,_0x3ebff5,_0x1d6991,_0x73270f);},'JofWx':function(_0x6393c5,_0x250a1b){return _0x6393c5(_0x250a1b);},'sNJCH':_0x3c3978(0xf9)},_0x257608=process[_0x3c3978(0x13d)]['slice'](0x2),_0x464946=new BrowserStackSetup(_0x48a491['argv'],_0x402c19[_0x3c3978(0xd0)]);return _0x402c19[_0x3c3978(0xe7)](captureError,_0x402c19['JofWx'](require,_0x402c19['sNJCH']),_0x48a491['argv'],_0x464946,_0x257608);})[a48_0x65d367(0x103)]('nightwatch',Constants[a48_0x65d367(0x134)][a48_0x65d367(0x125)],function(_0x27e35f){const _0x2c1365=a48_0x65d367,_0x16df1c={'IvcDz':function(_0x44e68e,_0x2ed52e,_0x49d7c1,_0x18697c,_0x3c835f){return _0x44e68e(_0x2ed52e,_0x49d7c1,_0x18697c,_0x3c835f);},'uemxR':function(_0x524c9c,_0x36b236){return _0x524c9c(_0x36b236);},'JHQwZ':'./nightwatch/command'},_0x3c40c2=process[_0x2c1365(0x13d)][_0x2c1365(0xf0)](0x2),_0x1904a5=new BrowserStackSetup(_0x27e35f['argv']);return _0x16df1c[_0x2c1365(0x11d)](captureError,_0x16df1c[_0x2c1365(0x149)](require,_0x16df1c[_0x2c1365(0xe3)]),_0x27e35f[_0x2c1365(0x13d)],_0x1904a5,_0x3c40c2);})[a48_0x65d367(0x103)](a48_0x65d367(0xc0),Constants['CODECEPTJS'][a48_0x65d367(0x125)],function(_0x5a5360){const _0x525ffd=a48_0x65d367,_0x1ef5e0={'NwtFi':'codeceptjs','DwZao':function(_0x47535a,_0x43ad89,_0x540772,_0x86f54,_0x582dbb){return _0x47535a(_0x43ad89,_0x540772,_0x86f54,_0x582dbb);},'ZiLJI':function(_0x29d1fb,_0x1ccfd2){return _0x29d1fb(_0x1ccfd2);},'laZci':_0x525ffd(0xf5)},_0x5f596c=process[_0x525ffd(0x13d)][_0x525ffd(0xf0)](0x2),_0x4ef51d=new BrowserStackSetup(_0x5a5360['argv'],_0x1ef5e0[_0x525ffd(0xcb)]);return _0x1ef5e0[_0x525ffd(0x119)](captureError,_0x1ef5e0[_0x525ffd(0xc3)](require,_0x1ef5e0[_0x525ffd(0x14d)]),_0x5a5360['argv'],_0x4ef51d,_0x5f596c);})[a48_0x65d367(0x103)]('ats',Constants[a48_0x65d367(0x133)][a48_0x65d367(0x125)],function(_0x421e4c){const _0x397883=a48_0x65d367,_0x5465cd={'rpKhz':function(_0x2b331b,_0x412b0c,_0x5806c4){return _0x2b331b(_0x412b0c,_0x5806c4);},'oicKa':function(_0xc7b2d4,_0x22f330){return _0xc7b2d4(_0x22f330);},'ZhjnI':'../../ats/src/index'},_0x4e43f3=process['argv'][_0x397883(0xf0)](0x2);return _0x5465cd['rpKhz'](captureError,_0x5465cd[_0x397883(0x104)](require,_0x5465cd[_0x397883(0xfb)]),_0x421e4c);})[a48_0x65d367(0x103)](a48_0x65d367(0xc1),Constants[a48_0x65d367(0x13e)]['INFO'],function(_0x361d73){const _0x257bef=a48_0x65d367,_0x3e7921={'bUowO':function(_0x3095f6,_0x34fb25){return _0x3095f6(_0x34fb25);}};return _0x3e7921[_0x257bef(0x11b)](runIntegrations,_0x361d73);})[a48_0x65d367(0x103)](a48_0x65d367(0xf4),Constants[a48_0x65d367(0xe5)][a48_0x65d367(0x125)],function(_0x1dee7d){const _0x39d392=a48_0x65d367,_0x2856ae={'lCtvL':function(_0x3b323d,_0x5c3e4e,_0x2fa9cd,_0xa3a3c2,_0x1cd22c){return _0x3b323d(_0x5c3e4e,_0x2fa9cd,_0xa3a3c2,_0x1cd22c);},'gpLed':function(_0x106d1d,_0x416e76){return _0x106d1d(_0x416e76);},'hOohc':'./playwright/command'},_0x44a7ff=process[_0x39d392(0x13d)]['slice'](0x2);helper[_0x39d392(0x117)](process['argv'])&&(process[_0x39d392(0x137)][_0x39d392(0x142)]=helper[_0x39d392(0x117)](process[_0x39d392(0x13d)]));helper[_0x39d392(0x141)](),helper[_0x39d392(0x107)]();const _0x48eae9=new BrowserStackSetup(_0x1dee7d[_0x39d392(0x13d)],FRAMEWORKS[_0x39d392(0xe5)]);return _0x2856ae[_0x39d392(0xe1)](captureError,_0x2856ae['gpLed'](require,_0x2856ae['hOohc']),_0x1dee7d[_0x39d392(0x13d)],_0x48eae9,_0x44a7ff);})[a48_0x65d367(0x103)](a48_0x65d367(0xe2),a48_0x65d367(0x11f),function(_0x123150){const _0x2d9329=a48_0x65d367,_0x6a4295={};_0x6a4295[_0x2d9329(0x11e)]=_0x2d9329(0x10a),_0x6a4295[_0x2d9329(0x101)]=_0x2d9329(0xf3),_0x6a4295[_0x2d9329(0xf6)]='Show\x20help';const _0x3b33e4=_0x6a4295;return _0x123150['help'](![])[_0x2d9329(0xff)](_0x3b33e4['CClRM'],{'alias':'h','type':_0x3b33e4['yMbCO'],'describe':_0x3b33e4[_0x2d9329(0xf6)]})[_0x2d9329(0x10e)](![])[_0x2d9329(0x11c)](![]);},function(_0x2bdd41){const _0x51fa7b=a48_0x65d367,_0x183e0a={'nDlvG':function(_0x5a4cc9,_0x42dacc,_0x549d44){return _0x5a4cc9(_0x42dacc,_0x549d44);},'DNqoe':function(_0x4f0a29,_0x360fc6){return _0x4f0a29(_0x360fc6);},'rUWgl':_0x51fa7b(0xfe)},_0x1835cb={};return _0x1835cb['argv']=_0x2bdd41,_0x183e0a[_0x51fa7b(0xea)](captureError,_0x183e0a[_0x51fa7b(0xc9)](require,_0x183e0a[_0x51fa7b(0x100)]),_0x1835cb);})[a48_0x65d367(0xe4)](0x1,a48_0x65d367(0x147))[a48_0x65d367(0x13a)](null)[a48_0x65d367(0x13d)];function a48_0x43b0(_0x1d65fe,_0x577863){const _0x1a8186=a48_0x1a81();return a48_0x43b0=function(_0x43b00e,_0x35344c){_0x43b00e=_0x43b00e-0xb9;let _0x221c32=_0x1a8186[_0x43b00e];return _0x221c32;},a48_0x43b0(_0x1d65fe,_0x577863);}!helper[a48_0x65d367(0x122)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x65d367(0xd2)&&console[a48_0x65d367(0x12b)](a48_0x65d367(0x12d));