browserstack-node-sdk 1.43.1 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +70 -0
  41. package/generated/sdk-messages_pb.js +550 -0
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +33 -0
  44. package/package.json +7 -2
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  53. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  54. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  55. package/src/bin/cucumber-js/test-observability.js +1 -1
  56. package/src/bin/cucumber-js/test.setup.js +1 -1
  57. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  58. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  59. package/src/bin/integrations/command.js +1 -1
  60. package/src/bin/integrations/constants.js +1 -1
  61. package/src/bin/jest/command.js +1 -1
  62. package/src/bin/jest/customImplements/customCircus.js +1 -1
  63. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  64. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  65. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  66. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  67. package/src/bin/jest/jest.setup.js +1 -1
  68. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  69. package/src/bin/jest/test-observability/helper.js +1 -1
  70. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  71. package/src/bin/jest/test-observability/test-details.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/nightwatch/command.js +1 -1
  84. package/src/bin/playwright/accessibility-helper.js +1 -1
  85. package/src/bin/playwright/command.js +1 -1
  86. package/src/bin/playwright/globalSetup.js +1 -1
  87. package/src/bin/playwright/mock-process.js +1 -1
  88. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  89. package/src/bin/playwright/patches.js +1 -1
  90. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  91. package/src/bin/playwright/reporter/reporter.js +1 -1
  92. package/src/bin/playwright/reporter/test-details.js +1 -1
  93. package/src/bin/playwright/sessionDetails.js +1 -1
  94. package/src/bin/runner.js +1 -1
  95. package/src/bin/setup.js +1 -1
  96. package/src/bin/test-runner/index.js +1 -1
  97. package/src/bin/test-runner/runTest.js +1 -1
  98. package/src/bin/test-runner/testWorker.js +1 -1
  99. package/src/bin/utils/apiUtilityMethods.js +1 -0
  100. package/src/bin/utils/constants.js +1 -1
  101. package/src/bin/utils/log4jsAppender.js +1 -1
  102. package/src/bin/utils/logPatcher.js +1 -1
  103. package/src/bin/utils/logReportingAPI.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -0
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.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/observabilityModule.js +1 -1
  124. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  125. package/src/bin/v2/modules/testhubModule.js +1 -1
  126. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  127. package/src/bin/v2/state/hookState.js +1 -1
  128. package/src/bin/v2/state/testFrameworkState.js +1 -1
  129. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  130. package/src/bin/vanilla-js/command.js +1 -1
  131. package/src/browserStackSdk.js +1 -1
  132. package/src/helpers/BrowserStackSetup.js +1 -1
  133. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  134. package/src/helpers/accessibility-automation/constants.js +1 -1
  135. package/src/helpers/accessibility-automation/helper.js +1 -1
  136. package/src/helpers/accessibility-automation/scripts.js +1 -1
  137. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  138. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  139. package/src/helpers/ats/constants.js +1 -1
  140. package/src/helpers/ats/helper.js +1 -1
  141. package/src/helpers/capsMapping.js +1 -1
  142. package/src/helpers/central-scanner/constants.js +1 -1
  143. package/src/helpers/central-scanner/helpers.js +1 -1
  144. package/src/helpers/classLogger.js +1 -1
  145. package/src/helpers/globals.js +1 -1
  146. package/src/helpers/helper.js +1 -1
  147. package/src/helpers/logger.js +1 -1
  148. package/src/helpers/metadata.js +1 -1
  149. package/src/helpers/patchHelper.js +1 -1
  150. package/src/helpers/patchHelpers.js +1 -1
  151. package/src/helpers/percy/Percy.js +1 -1
  152. package/src/helpers/percy/PercyBinary.js +1 -1
  153. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  154. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  155. package/src/helpers/percy/PercySDK.js +1 -1
  156. package/src/helpers/percy/index.js +1 -1
  157. package/src/helpers/percy/utils.js +1 -1
  158. package/src/helpers/performance/constants.js +1 -1
  159. package/src/helpers/performance/performance-tester.js +1 -1
  160. package/src/helpers/playwright-helper.js +1 -1
  161. package/src/helpers/processHelper.js +1 -1
  162. package/src/helpers/request-spy.js +1 -1
  163. package/src/helpers/setKeepAlive.js +1 -1
  164. package/src/helpers/test-observability/constants.js +1 -1
  165. package/src/helpers/test-observability/error-handler.js +1 -1
  166. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  167. package/src/helpers/test-observability/sessionHandler.js +1 -1
  168. package/src/helpers/test-observability/utils.js +1 -1
  169. package/src/helpers/test-orchestration/constants.js +1 -1
  170. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  171. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  172. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  173. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  174. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  175. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  176. package/src/helpers/testhub/constants.js +1 -1
  177. package/src/helpers/testhub/testhubHandler.js +1 -1
  178. package/src/helpers/testhub/utils.js +1 -1
  179. package/src/helpers/timeoutPromise.js +1 -1
  180. package/src/helpers/utilities.js +1 -1
  181. package/src/helpers/w3cMapping.js +1 -1
  182. package/src/hubAllocationMethods.js +1 -1
  183. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a45_0x278e(_0x4b1774,_0x7d98ce){const _0x3b1534=a45_0x3b15();return a45_0x278e=function(_0x278e41,_0x1c5072){_0x278e41=_0x278e41-0x1ae;let _0xfabc55=_0x3b1534[_0x278e41];return _0xfabc55;},a45_0x278e(_0x4b1774,_0x7d98ce);}const a45_0x2f44df=a45_0x278e;(function(_0x5e9a95,_0x1665b3){const _0x8fd08=a45_0x278e,_0x247386=_0x5e9a95();while(!![]){try{const _0x3fadf1=-parseInt(_0x8fd08(0x1fc))/0x1+parseInt(_0x8fd08(0x1af))/0x2*(-parseInt(_0x8fd08(0x25b))/0x3)+-parseInt(_0x8fd08(0x20e))/0x4*(-parseInt(_0x8fd08(0x21e))/0x5)+-parseInt(_0x8fd08(0x211))/0x6*(parseInt(_0x8fd08(0x235))/0x7)+parseInt(_0x8fd08(0x204))/0x8*(-parseInt(_0x8fd08(0x1f1))/0x9)+-parseInt(_0x8fd08(0x236))/0xa*(-parseInt(_0x8fd08(0x1d0))/0xb)+parseInt(_0x8fd08(0x262))/0xc;if(_0x3fadf1===_0x1665b3)break;else _0x247386['push'](_0x247386['shift']());}catch(_0x240f46){_0x247386['push'](_0x247386['shift']());}}}(a45_0x3b15,0x31019));function a45_0x3b15(){const _0x26c52f=['uploadTraceZip','statSync','substr','filter','sendTraceZip','REMkQ','Kadco','toLowerCase','100rzWyUG','getPlaywrightLibPath','existsSync','119022jnJriz','LogCreated','fBUim','Lfptf','lEmgW','.zip','wQZSt','DcDvq','validateFilePath','stopAndGenerate','fPOWf','afterWorkerHook','QKKqs','48155RhTtJc','cqOTr','RhmlT','../../../helpers/logger','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','qyLzK','readdirSync','format','XqJzl','endsWith','getConfigLoaderPath','mlIih','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','error','aLkSt','sbrVH','UBhIY','process.js','CcIuu','START_TIME','bjueX','calculateTimesFromMultipleFiles','map','14idMCdn','60pYvoUI','debug','YfXyr','onStepEnd','BGVBm','afterTestHook','kcrHm','@playwright/test','addTraceFilePath','Percentage\x20of\x20increased\x20time\x20is\x20','\x20bytes','calculatePerformance','getTestTags','DweKt','cNvmV','../../../helpers/performance/performance-tester','toISOString','getForkProcessPath','size','lib','processPageScreenshot','fdUJV','resolve','../../../helpers/test-observability/utils','_projectId','rsBkZ','KPwhU','PItWU','getInstance','playwright/lib/transform/transform.js','GvrOM','call','DGvKM','Searching\x20for\x20key:\x20','toString','slice','YCnQo','6gKhgKH','../../../helpers/test-observability/constants','performance-report-worker-','HNNIQ','GszIP','SxtTB','qIioh','3778080XgnzsI','1.38.0','Error\x20in\x20sending\x20trace\x20file:\x20%s','187428gWpRAu','mxGAS','OXEoh','IqPES','KFQkl','GKLga','length','test','.json','onStepBegin','../../../helpers/helper','beforeTestHook','kuICp','RHEFA','startsWith','getLoadUtilsPath','gfdLH','AWIbb','Akjah','zafjv','beforeWorkerHook','stack','IvVOf','runner/projectUtils.js','jOmup','fiyFz','PLAYWRIGHT','Total\x20duration\x20for\x20whole\x20build\x20is\x20','path','../../../helpers/test-observability/sessionHandler','Found\x20key:\x20','doo11ySync','playwright','406021NoxrxI','vohOC','onTestEnd','includes','endSession','sendEventData','IcdAR','mBHdm','onTestBegin','find','MJlMc','tags','yDGKn','TEST_ATTACHMENT','util','YakTb','attachments','OjBZJ','basename','runner/loadUtils.js','apbZR','winstonLogger','testUId','getFailureData','Trace\x20enabled','filePath','iBjXX','createReadStream','KOCRE','getTestRunIdentifier','@playwright/test/lib/common/transform.js','env','extname','27vzURqw','@playwright/test/lib/common/configLoader.js','common','fiKDd','1.42.0','message','KuiOx','getTestIdentifier','performance-reporter.html','geFVC','EsbDb','117344xkixmr','sendTestLog','OBDJb','DwuSz','findNestedKey','XlnqM','dnaRH','compareVersions','618416zRlgYr','FhtmH'];a45_0x3b15=function(){return _0x26c52f;};return a45_0x3b15();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a45_0x2f44df(0x24d)),PerformanceTester=require(a45_0x2f44df(0x245)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a45_0x2f44df(0x25c)),helper=require(a45_0x2f44df(0x1b9)),path=require(a45_0x2f44df(0x1cb)),logger=require(a45_0x2f44df(0x221))[a45_0x2f44df(0x1e5)],SessionHandler=require(a45_0x2f44df(0x1cc)),TestDetails=require('./test-details'),util=require(a45_0x2f44df(0x1de)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x70f163=a45_0x2f44df,_0x2de2ee={'wQZSt':function(_0x3affc2,_0x3f5f72){return _0x3affc2(_0x3f5f72);},'OBDJb':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x2de2ee[_0x70f163(0x217)](require,_0x2de2ee[_0x70f163(0x1fe)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x11713f=>{const _0x8d51e5=a45_0x2f44df;return _0x11713f['match'](/@(\w+)/g)?.[_0x8d51e5(0x234)](_0x2204f9=>_0x2204f9['slice'](0x1))||[];};exports[a45_0x2f44df(0x242)]=_0x54c2dd=>{const _0x570353=a45_0x2f44df,_0x31a68e={'BGVBm':function(_0x3d2606,_0x439608){return _0x3d2606(_0x439608);}};if(_0x54c2dd['tags'])return _0x54c2dd[_0x570353(0x1db)][_0x570353(0x234)](_0x1d3055=>_0x1d3055[_0x570353(0x1bd)]('@')?_0x1d3055[_0x570353(0x208)](0x1):_0x1d3055);return _0x31a68e[_0x570353(0x23a)](getTagsFromTitle,_0x54c2dd['title']);},exports[a45_0x2f44df(0x241)]=async()=>{const _0xa59a9f=a45_0x2f44df,_0x2cd39d={'dnaRH':function(_0x1a5850,_0x3f2802){return _0x1a5850-_0x3f2802;},'CcIuu':_0xa59a9f(0x1f9),'vYMyB':'onBegin','agwDt':_0xa59a9f(0x1d4),'mxGAS':_0xa59a9f(0x1d8),'DcDvq':_0xa59a9f(0x1d2),'RhmlT':_0xa59a9f(0x1b8),'cqOTr':_0xa59a9f(0x239),'DwuSz':_0xa59a9f(0x1c3),'cNvmV':_0xa59a9f(0x21c),'DGvKM':_0xa59a9f(0x1ba),'mlIih':_0xa59a9f(0x23b),'SxtTB':_0xa59a9f(0x1ce),'YCnQo':_0xa59a9f(0x24a),'XlnqM':'sendSessionDetails','gfdLH':'setupBrowserDetails','rsBkZ':'requestSpyCallback','MJlMc':_0xa59a9f(0x1fd),'LFvNw':function(_0x209f00,_0x17b624){return _0x209f00(_0x17b624);},'mBHdm':function(_0x9e062,_0x320e75){return _0x9e062/_0x320e75;},'fdUJV':function(_0x3239d1,_0x3f8310){return _0x3239d1+_0x3f8310;},'vohOC':function(_0x28589a,_0x158587){return _0x28589a(_0x158587);},'yDGKn':function(_0x4ffe79,_0x1b8dc2){return _0x4ffe79*_0x1b8dc2;},'Kadco':function(_0x50ea7e,_0x1bae1d){return _0x50ea7e/_0x1bae1d;}};if(!process[_0xa59a9f(0x1ef)][_0xa59a9f(0x231)])return;const _0x34de02=_0x2cd39d[_0xa59a9f(0x202)](new Date()['getTime'](),new Date(process[_0xa59a9f(0x1ef)][_0xa59a9f(0x231)])['getTime']()),_0xe21084=await PerformanceTester[_0xa59a9f(0x21a)](_0x2cd39d[_0xa59a9f(0x230)],[_0x2cd39d['vYMyB'],_0x2cd39d['agwDt'],_0x2cd39d[_0xa59a9f(0x1b0)],_0x2cd39d[_0xa59a9f(0x218)],_0x2cd39d[_0xa59a9f(0x220)],_0x2cd39d[_0xa59a9f(0x21f)]]),_0x48770d=fs[_0xa59a9f(0x224)]('.'),_0x2da279=_0x48770d[_0xa59a9f(0x209)](_0x32a969=>_0x32a969[_0xa59a9f(0x1bd)](_0xa59a9f(0x25d))&&_0x32a969[_0xa59a9f(0x227)](_0xa59a9f(0x1b7))),_0x3c73b8=await PerformanceTester[_0xa59a9f(0x233)](_0x2da279,[_0x2cd39d[_0xa59a9f(0x1ff)],_0x2cd39d[_0xa59a9f(0x244)],_0x2cd39d[_0xa59a9f(0x256)],_0x2cd39d[_0xa59a9f(0x229)],_0x2cd39d[_0xa59a9f(0x260)],_0x2cd39d[_0xa59a9f(0x25a)],_0x2cd39d[_0xa59a9f(0x201)],_0x2cd39d[_0xa59a9f(0x1bf)],_0x2cd39d[_0xa59a9f(0x24f)],_0x2cd39d[_0xa59a9f(0x1da)]]);_0x2cd39d['LFvNw'](debug,_0xa59a9f(0x1ca)+_0x2cd39d[_0xa59a9f(0x1d7)](_0x34de02,0x3e8)+'\x20s'),_0x2cd39d['LFvNw'](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x2cd39d[_0xa59a9f(0x24b)](_0x3c73b8,_0xe21084)),_0x2cd39d[_0xa59a9f(0x1d1)](debug,_0xa59a9f(0x23f)+_0x2cd39d[_0xa59a9f(0x1dc)](_0x2cd39d[_0xa59a9f(0x20c)](_0x2cd39d['fdUJV'](_0x3c73b8,_0xe21084),_0x34de02),0x64));},exports['getTransformPath']=()=>{const _0x5869d4=a45_0x2f44df,_0xaf1560={'FhtmH':function(_0x5cb6c6,_0x1fd5f4){return _0x5cb6c6(_0x1fd5f4);},'YsUOM':function(_0x42ce7f,_0x51b61b){return _0x42ce7f>=_0x51b61b;},'RHEFA':_0x5869d4(0x263),'IcdAR':_0x5869d4(0x253),'GvrOM':_0x5869d4(0x1cf),'hBTdI':'1.35.0','KFQkl':'@playwright/test/lib/transform/transform.js','GKLga':'@playwright/test','fBUim':_0x5869d4(0x1ee)},_0x3224f0=_0xaf1560[_0x5869d4(0x205)](getFrameworkVersion,FRAMEWORKS[_0x5869d4(0x1c9)]);if(_0xaf1560['YsUOM'](helper['compareVersions'](_0x3224f0,_0xaf1560[_0x5869d4(0x1bc)]),0x0))return[_0xaf1560[_0x5869d4(0x1d6)],_0xaf1560[_0x5869d4(0x254)]];if(_0xaf1560['YsUOM'](helper['compareVersions'](_0x3224f0,_0xaf1560['hBTdI']),0x0))return[_0xaf1560[_0x5869d4(0x1b3)],_0xaf1560[_0x5869d4(0x1b4)]];return[_0xaf1560[_0x5869d4(0x213)],_0xaf1560['GKLga']];},exports[a45_0x2f44df(0x228)]=()=>{const _0x338022=a45_0x2f44df,_0x3f1d7a={'fPOWf':function(_0xfe8e16,_0xda59fc){return _0xfe8e16(_0xda59fc);},'QKKqs':function(_0xd8f3b,_0x4fb9eb){return _0xd8f3b>=_0x4fb9eb;},'mplaR':_0x338022(0x263),'GszIP':'playwright/lib/common/configLoader.js','lEmgW':_0x338022(0x1cf),'bjueX':_0x338022(0x1f2),'apbZR':_0x338022(0x23d)},_0x9388c9=_0x3f1d7a[_0x338022(0x21b)](getFrameworkVersion,FRAMEWORKS[_0x338022(0x1c9)]);if(_0x3f1d7a[_0x338022(0x21d)](helper['compareVersions'](_0x9388c9,_0x3f1d7a['mplaR']),0x0))return[_0x3f1d7a[_0x338022(0x25f)],_0x3f1d7a[_0x338022(0x215)]];return[_0x3f1d7a[_0x338022(0x232)],_0x3f1d7a[_0x338022(0x1e4)]];},exports[a45_0x2f44df(0x1be)]=()=>{const _0x50d3cc=a45_0x2f44df,_0x216e44={};_0x216e44['XvjzP']=_0x50d3cc(0x1e3);const _0x2fc051=_0x216e44;return helper[_0x50d3cc(0x20f)](_0x2fc051['XvjzP']);},exports['getProjectUtilsPath']=()=>{const _0x211225=a45_0x2f44df,_0x16ff2d={};_0x16ff2d['abcjZ']=_0x211225(0x1c6);const _0x593eb7=_0x16ff2d;return helper[_0x211225(0x20f)](_0x593eb7['abcjZ']);},exports[a45_0x2f44df(0x247)]=()=>{const _0x3bb926=a45_0x2f44df,_0x4cfc02={'kcrHm':function(_0x3d7009,_0x1b6283){return _0x3d7009(_0x1b6283);},'YakTb':function(_0x9f2358,_0x26eae1){return _0x9f2358>=_0x26eae1;},'YfXyr':_0x3bb926(0x263),'kuICp':_0x3bb926(0x249),'IqPES':_0x3bb926(0x1f3),'XqJzl':_0x3bb926(0x22f),'qyLzK':_0x3bb926(0x1b6)},_0x2d7721=_0x4cfc02[_0x3bb926(0x23c)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x4cfc02[_0x3bb926(0x1df)](helper[_0x3bb926(0x203)](_0x2d7721,_0x4cfc02[_0x3bb926(0x238)]),0x0))return path['join'](_0x4cfc02['kuICp'],_0x4cfc02[_0x3bb926(0x1b2)],_0x4cfc02[_0x3bb926(0x226)]);return path['join'](_0x4cfc02[_0x3bb926(0x223)],_0x4cfc02[_0x3bb926(0x1bb)],_0x4cfc02[_0x3bb926(0x1b2)],_0x4cfc02[_0x3bb926(0x226)]);},exports[a45_0x2f44df(0x1e7)]=(_0x1299f6,{test_run_uuid:_0x2a39a4})=>{const _0xfbebb8=a45_0x2f44df,_0x4e0c92={'geFVC':'ERROR','fiyFz':'TEST_LOG','zrYRZ':function(_0x1fcbb6,_0xdd2aa0){return _0x1fcbb6<=_0xdd2aa0;},'sbrVH':function(_0x2e268d,_0xbc6a21){return _0x2e268d(_0xbc6a21);},'IvVOf':'Test\x20timeout\x20of','PItWU':function(_0x4be9cb,_0x3835b3){return _0x4be9cb>=_0x3835b3;},'KOCRE':_0xfbebb8(0x1f5),'UBhIY':function(_0x52c675,_0x47e4a0){return _0x52c675>_0x47e4a0;},'DweKt':function(_0x4698f2,_0x549036){return _0x4698f2(_0x549036);},'KuiOx':function(_0x16b5c6,_0x37a91f,_0x11ed40){return _0x16b5c6(_0x37a91f,_0x11ed40);},'AWIbb':'test'};if(!_0x1299f6||_0x4e0c92['zrYRZ'](_0x1299f6[_0xfbebb8(0x1b5)],0x0))return[];const _0x23b66c=_0x4e0c92[_0xfbebb8(0x22d)](removeAnsiColors,_0x1299f6[0x0][_0xfbebb8(0x1f6)]);if(_0x23b66c[_0xfbebb8(0x1bd)](_0x4e0c92[_0xfbebb8(0x1c5)])){const _0x4e9065=_0x1299f6[0x0],_0x3174f9=_0x4e0c92[_0xfbebb8(0x22d)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x4e9065['stack']||_0x4e0c92[_0xfbebb8(0x251)](_0x3174f9,_0x4e0c92[_0xfbebb8(0x1ec)]))&&_0x4e0c92[_0xfbebb8(0x22e)](_0x1299f6['length'],0x1))return{'failureData':[{'backtrace':[_0x23b66c,_0x4e0c92[_0xfbebb8(0x243)](removeAnsiColors,_0x1299f6[0x1][_0xfbebb8(0x1c4)])]}],'logs':_0x1299f6[_0xfbebb8(0x259)](0x2)[_0xfbebb8(0x234)](_0x12b800=>{const _0xbe9b33=_0xfbebb8;return{'timestamp':new Date()[_0xbe9b33(0x246)](),'level':_0x4e0c92[_0xbe9b33(0x1fa)],'message':''+_0x12b800[_0xbe9b33(0x1f6)],'kind':_0x4e0c92[_0xbe9b33(0x1c8)],'http_response':{},'test_run_uuid':_0x2a39a4};})};}return{'failureData':_0x4e0c92[_0xfbebb8(0x1f7)](failureData,_0x1299f6,_0x4e0c92[_0xfbebb8(0x1c0)]),'logs':[]};},exports[a45_0x2f44df(0x219)]=_0x21e680=>{const _0x452169=a45_0x2f44df,_0x1fd1a4={};_0x1fd1a4[_0x452169(0x1e1)]=function(_0x4190e9,_0x4f7e21){return _0x4190e9!==_0x4f7e21;},_0x1fd1a4[_0x452169(0x214)]=_0x452169(0x216),_0x1fd1a4[_0x452169(0x1b1)]=function(_0x1c1ee8,_0x1d343e){return _0x1c1ee8>_0x1d343e;};const _0x1aa210=_0x1fd1a4;if(_0x21e680&&fs[_0x452169(0x210)](_0x21e680)){if(_0x1aa210[_0x452169(0x1e1)](path[_0x452169(0x1f0)](_0x21e680)[_0x452169(0x20d)](),_0x1aa210[_0x452169(0x214)]))return logger[_0x452169(0x22b)](_0x452169(0x222)+_0x21e680),![];const _0x45e74a=fs[_0x452169(0x207)](_0x21e680)[_0x452169(0x248)];if(_0x1aa210['OXEoh'](_0x45e74a,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x452169(0x22b)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x45e74a+_0x452169(0x240)),![];return!![];}return![];},exports[a45_0x2f44df(0x200)]=(_0x30c5bc,_0x111a9e)=>{const _0x47c402=a45_0x2f44df,_0x234b18={};_0x234b18[_0x47c402(0x22c)]='Arguments';const _0xe55817=_0x234b18;logger['debug'](_0x47c402(0x257)+_0x111a9e);if(_0x30c5bc&&_0x30c5bc[_0x47c402(0x1e0)]){const _0xdcbc9e=_0x30c5bc[_0x47c402(0x1e0)][_0x47c402(0x1d9)](_0x2a42c7=>_0x2a42c7['name']==='trace');if(_0xdcbc9e)return logger['debug'](_0x47c402(0x1cd)+_0x111a9e+'\x20in\x20attachments'),_0xdcbc9e[_0x111a9e];}else{if(_0x30c5bc&&Object['prototype'][_0x47c402(0x258)][_0x47c402(0x255)](_0x30c5bc)[_0x47c402(0x1d3)](_0xe55817['aLkSt']))for(const _0x182279 of _0x30c5bc){if(_0x182279[_0x111a9e])return logger[_0x47c402(0x237)](_0x47c402(0x1cd)+_0x111a9e+'\x20in\x20arguments'),_0x182279[_0x111a9e];}};return'';},exports[a45_0x2f44df(0x206)]=async(_0x2be74a,_0x982103)=>{const _0x141231=a45_0x2f44df,_0x52d157={};_0x52d157[_0x141231(0x1f4)]=_0x141231(0x212),_0x52d157['RDoOZ']=_0x141231(0x1dd),_0x52d157[_0x141231(0x1c7)]=_0x141231(0x20a),_0x52d157[_0x141231(0x261)]=_0x141231(0x1ae);const _0x2065af=_0x52d157;try{const _0x399289={'event_type':_0x2065af[_0x141231(0x1f4)],'logs':[{'data':_0x2be74a?fs[_0x141231(0x1eb)](_0x2be74a):'','test_run_uuid':_0x982103,'kind':_0x2065af['RDoOZ'],'fileName':_0x2be74a?path[_0x141231(0x1e2)](_0x2be74a):''}]};return await SessionHandler[_0x141231(0x1d5)](_0x399289,0x0,_0x2065af[_0x141231(0x1c7)]);}catch(_0x25f6bf){logger[_0x141231(0x22b)](util[_0x141231(0x225)](_0x2065af['qIioh'],_0x25f6bf));}},exports['sendTraceZip']=async(_0x5c1487,_0x1b0f68)=>{const _0x2a699b=a45_0x2f44df,_0x31b774={'iBjXX':'path','HNNIQ':_0x2a699b(0x1e8),'Akjah':function(_0x3052b1){return _0x3052b1();},'bjyyD':_0x2a699b(0x1ae)};try{logger[_0x2a699b(0x237)](_0x2a699b(0x22a)+_0x1b0f68);let _0x205a96=await exports[_0x2a699b(0x200)](_0x5c1487,_0x31b774[_0x2a699b(0x1ea)]);if(exports['validateFilePath'](_0x205a96)){logger[_0x2a699b(0x237)](_0x31b774[_0x2a699b(0x25e)]),_0x205a96=path[_0x2a699b(0x24c)](_0x205a96);const _0xcbc6ee={};_0xcbc6ee[_0x2a699b(0x1e6)]=_0x1b0f68,_0xcbc6ee[_0x2a699b(0x1e9)]=_0x205a96;const _0x3d7bc1=_0xcbc6ee;_0x31b774[_0x2a699b(0x1c1)](getBrowserstackCLI)[_0x2a699b(0x252)]()['isRunning']()?TestInfo[_0x2a699b(0x23e)](_0x3d7bc1):TestDetails[_0x2a699b(0x23e)](_0x3d7bc1);};}catch(_0x15f4fe){logger[_0x2a699b(0x22b)](util[_0x2a699b(0x225)](_0x31b774['bjyyD'],_0x15f4fe));}},exports[a45_0x2f44df(0x1f8)]=_0x263758=>{const _0x107ba3=a45_0x2f44df,_0x5ae1a0={};_0x5ae1a0[_0x107ba3(0x20b)]=function(_0x3dbb33,_0x43cab2){return _0x3dbb33+_0x43cab2;},_0x5ae1a0['KPwhU']=function(_0x1c7ae1,_0x6e5ae7){return _0x1c7ae1+_0x6e5ae7;};const _0xc976d4=_0x5ae1a0;return _0xc976d4['REMkQ'](_0xc976d4[_0x107ba3(0x250)](_0x263758[_0x107ba3(0x24e)],'-'),_0x263758['id']);},exports[a45_0x2f44df(0x1ed)]=(_0x34e8ff,_0x131a50)=>{const _0x1a561a=a45_0x2f44df,_0x99038a={};_0x99038a[_0x1a561a(0x1fb)]=function(_0x46d428,_0xaf92a6){return _0x46d428+_0xaf92a6;},_0x99038a[_0x1a561a(0x1c2)]=function(_0x506c47,_0x78a72f){return _0x506c47+_0x78a72f;};const _0x2f83f0=_0x99038a;return _0x2f83f0[_0x1a561a(0x1fb)](_0x2f83f0['zafjv'](exports['getTestIdentifier'](_0x34e8ff),'-'),_0x131a50);};
1
+ const a45_0x57ba09=a45_0x46c1;function a45_0x46c1(_0x45c7ac,_0x39199f){const _0x14ccc0=a45_0x14cc();return a45_0x46c1=function(_0x46c1b7,_0x1364b8){_0x46c1b7=_0x46c1b7-0x10d;let _0x2562a6=_0x14ccc0[_0x46c1b7];return _0x2562a6;},a45_0x46c1(_0x45c7ac,_0x39199f);}(function(_0x35dec1,_0x2dcbf5){const _0x472956=a45_0x46c1,_0x5eedf4=_0x35dec1();while(!![]){try{const _0x1354ea=parseInt(_0x472956(0x129))/0x1+parseInt(_0x472956(0x12e))/0x2+-parseInt(_0x472956(0x1bb))/0x3*(-parseInt(_0x472956(0x177))/0x4)+-parseInt(_0x472956(0x18b))/0x5+-parseInt(_0x472956(0x15d))/0x6*(parseInt(_0x472956(0x148))/0x7)+-parseInt(_0x472956(0x151))/0x8*(-parseInt(_0x472956(0x178))/0x9)+parseInt(_0x472956(0x14e))/0xa*(-parseInt(_0x472956(0x12b))/0xb);if(_0x1354ea===_0x2dcbf5)break;else _0x5eedf4['push'](_0x5eedf4['shift']());}catch(_0x5b32bb){_0x5eedf4['push'](_0x5eedf4['shift']());}}}(a45_0x14cc,0x8a5c3));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a45_0x57ba09(0x19a)),PerformanceTester=require(a45_0x57ba09(0x1c0)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a45_0x57ba09(0x1bc)),helper=require(a45_0x57ba09(0x14b)),path=require(a45_0x57ba09(0x11a)),logger=require('../../../helpers/logger')['winstonLogger'],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a45_0x57ba09(0x135)),util=require(a45_0x57ba09(0x186)),TestInfo=require(a45_0x57ba09(0x1be));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x19721b=a45_0x57ba09,_0x181f37={'LtGZp':function(_0x25a6c3,_0x268ae5){return _0x25a6c3(_0x268ae5);},'OdjHS':_0x19721b(0x180)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x181f37['LtGZp'](require,_0x181f37[_0x19721b(0x117)])),BrowserstackCLIInstance;}function a45_0x14cc(){const _0x2d0d7b=['JbKcg','111unBHuB','../../../helpers/test-observability/constants','calculatePerformance','../../v2/TestInfo','basename','../../../helpers/performance/performance-tester','playwright/lib/common/configLoader.js','getTestRunIdentifier','jqVsj','qDFjK','qWslo','crzWF','Percentage\x20of\x20increased\x20time\x20is\x20','vGddq','pADuE','yaRqy','Searching\x20for\x20key:\x20','Error\x20in\x20sending\x20trace\x20file:\x20%s','process.js','getTestTags','BpyCf','getConfigLoaderPath','OdjHS','IqBfW','getTime','path','runner/loadUtils.js','dIQnZ','kmkXh','IshGY','endSession','Hkylv','@playwright/test/lib/transform/transform.js','jVcXH','HeGry','XOVbT','\x20in\x20attachments','ojZtf','samsg','ORGPN','590890AScffy','qXrfC','22IlFcqa','map','1.38.0','1845916EwRVAk','sFNBi','getFailureData','error','Arguments','EitAe','DgKtX','./test-details','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','validateFilePath','addTraceFilePath','lHWwo','debug','CoAAH','message','eSQPu','qCmsX','START_TIME','bUeMQ','playwright/lib/transform/transform.js','isRunning','jSXgQ','onStepBegin','find','nqxDZ','beforeWorkerHook','4907kakUbc','\x20bytes','stack','../../../helpers/helper','testUId','readdirSync','4580530QoKknE','sendTraceZip','lib','104GPnMkh','kumoQ','zMCjP','extname','UaUzv','LogCreated','PLAYWRIGHT','ToaJa','filePath','bPSZC','getForkProcessPath','title','2670vcwBrp','Test\x20timeout\x20of','afterTestHook','tizqk','fTtMD','join','includes','TqZNS','performance-reporter.html','env','slice','_projectId','getLoadUtilsPath','.zip','toString','prototype','getPlaywrightLibPath','KWwur','LTVbO','substr','YQkRa','startsWith','ZgNdr','sendEventData','toISOString','uYMYz','6676czZqJW','675981HawNRI','CamGU','SZKqH','\x20in\x20arguments','createReadStream','ZxFkT','findNestedKey','length','../../v2/browserstackCLI','onTestBegin','existsSync','RFYpF','NNONt','GVlUT','util','doo11ySync','.json','mbUbG','test','3786220rSbZKk','xHDlu','1.42.0','beforeTestHook','TEST_ATTACHMENT','compareVersions','TEST_LOG','afterWorkerHook','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','wpuZJ','PgZto','processPageScreenshot','sendSessionDetails','ZdMMc','rXhal','../../../helpers/test-observability/utils','playwright','Trace\x20enabled','getTransformPath','Gvlaw','@playwright/test','resolve','getTestIdentifier','yyKZb','match','onStepEnd','zBFCj','attachments','SmGyM','onBegin','ERROR','size','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','SucZM','name','performance-report-worker-','sendTestLog','afjAG','Found\x20key:\x20','NxetY','tags','getInstance','1.35.0','stopAndGenerate','statSync','toLowerCase','czBJw'];a45_0x14cc=function(){return _0x2d0d7b;};return a45_0x14cc();}const getTagsFromTitle=_0x280a64=>{const _0x462885=a45_0x57ba09;return _0x280a64[_0x462885(0x1a3)](/@(\w+)/g)?.['map'](_0x11d9c1=>_0x11d9c1[_0x462885(0x167)](0x1))||[];};exports[a45_0x57ba09(0x114)]=_0x155bbe=>{const _0x5182b8=a45_0x57ba09,_0x2cae03={'pADuE':function(_0x1d968d,_0xc0dc9){return _0x1d968d(_0xc0dc9);}};if(_0x155bbe[_0x5182b8(0x1b3)])return _0x155bbe['tags'][_0x5182b8(0x12c)](_0x4d75ba=>_0x4d75ba[_0x5182b8(0x172)]('@')?_0x4d75ba[_0x5182b8(0x170)](0x1):_0x4d75ba);return _0x2cae03[_0x5182b8(0x10f)](getTagsFromTitle,_0x155bbe[_0x5182b8(0x15c)]);},exports[a45_0x57ba09(0x1bd)]=async()=>{const _0x181aec=a45_0x57ba09,_0xb2f6ec={'eSQPu':function(_0x412686,_0x3ce492){return _0x412686-_0x3ce492;},'afjAG':_0x181aec(0x165),'yaRqy':_0x181aec(0x1a8),'vhydL':_0x181aec(0x11f),'yyKZb':_0x181aec(0x181),'IlrdN':'onTestEnd','TjFPz':_0x181aec(0x144),'Hkylv':_0x181aec(0x1a4),'lHWwo':_0x181aec(0x147),'HeGry':_0x181aec(0x192),'ToaJa':_0x181aec(0x18e),'CoAAH':_0x181aec(0x15f),'ZgNdr':_0x181aec(0x187),'dhCoa':_0x181aec(0x196),'SYLBL':_0x181aec(0x197),'qDFjK':'setupBrowserDetails','CamGU':'requestSpyCallback','rXhal':_0x181aec(0x1af),'cNroY':function(_0x3efd8d,_0x13cbf4){return _0x3efd8d(_0x13cbf4);},'EitAe':function(_0x2315b9,_0x34bbd6){return _0x2315b9/_0x34bbd6;},'LibyE':function(_0x25a36b,_0x2af796){return _0x25a36b(_0x2af796);},'GVlUT':function(_0x35dc16,_0x52340a){return _0x35dc16+_0x52340a;},'nqxDZ':function(_0x3533ac,_0x3cb90e){return _0x3533ac(_0x3cb90e);},'mbUbG':function(_0x28e377,_0x577dc7){return _0x28e377*_0x577dc7;}};if(!process[_0x181aec(0x166)][_0x181aec(0x13f)])return;const _0x483895=_0xb2f6ec[_0x181aec(0x13d)](new Date()['getTime'](),new Date(process['env'][_0x181aec(0x13f)])[_0x181aec(0x119)]()),_0x57a04c=await PerformanceTester[_0x181aec(0x1b6)](_0xb2f6ec[_0x181aec(0x1b0)],[_0xb2f6ec[_0x181aec(0x110)],_0xb2f6ec['vhydL'],_0xb2f6ec[_0x181aec(0x1a2)],_0xb2f6ec['IlrdN'],_0xb2f6ec['TjFPz'],_0xb2f6ec[_0x181aec(0x120)]]),_0x2f61ee=fs[_0x181aec(0x14d)]('.'),_0x1af9c4=_0x2f61ee['filter'](_0x51488b=>_0x51488b[_0x181aec(0x172)](_0x181aec(0x1ae))&&_0x51488b['endsWith'](_0x181aec(0x188))),_0x1cd340=await PerformanceTester['calculateTimesFromMultipleFiles'](_0x1af9c4,[_0xb2f6ec[_0x181aec(0x139)],_0xb2f6ec[_0x181aec(0x123)],_0xb2f6ec[_0x181aec(0x158)],_0xb2f6ec[_0x181aec(0x13b)],_0xb2f6ec[_0x181aec(0x173)],_0xb2f6ec['dhCoa'],_0xb2f6ec['SYLBL'],_0xb2f6ec[_0x181aec(0x1c4)],_0xb2f6ec[_0x181aec(0x179)],_0xb2f6ec[_0x181aec(0x199)]]);_0xb2f6ec['cNroY'](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0xb2f6ec[_0x181aec(0x133)](_0x483895,0x3e8)+'\x20s'),_0xb2f6ec['LibyE'](debug,_0x181aec(0x1ab)+_0xb2f6ec[_0x181aec(0x185)](_0x1cd340,_0x57a04c)),_0xb2f6ec[_0x181aec(0x146)](debug,_0x181aec(0x10d)+_0xb2f6ec[_0x181aec(0x189)](_0xb2f6ec[_0x181aec(0x133)](_0xb2f6ec['GVlUT'](_0x1cd340,_0x57a04c),_0x483895),0x64));},exports[a45_0x57ba09(0x19d)]=()=>{const _0x3afab3=a45_0x57ba09,_0x19a5c4={'crzWF':function(_0x3e37e8,_0x43c160){return _0x3e37e8(_0x43c160);},'LnVKY':function(_0x224f3d,_0x234e02){return _0x224f3d>=_0x234e02;},'PgZto':'1.38.0','xHDlu':_0x3afab3(0x141),'vGddq':_0x3afab3(0x19b),'ojZtf':function(_0x1f11a8,_0x148e22){return _0x1f11a8>=_0x148e22;},'qWslo':_0x3afab3(0x1b5),'samsg':_0x3afab3(0x121),'zMCjP':'@playwright/test','DkMQC':'@playwright/test/lib/common/transform.js'},_0x1a8f23=_0x19a5c4[_0x3afab3(0x1c6)](getFrameworkVersion,FRAMEWORKS[_0x3afab3(0x157)]);if(_0x19a5c4['LnVKY'](helper[_0x3afab3(0x190)](_0x1a8f23,_0x19a5c4[_0x3afab3(0x195)]),0x0))return[_0x19a5c4[_0x3afab3(0x18c)],_0x19a5c4[_0x3afab3(0x10e)]];if(_0x19a5c4[_0x3afab3(0x126)](helper[_0x3afab3(0x190)](_0x1a8f23,_0x19a5c4[_0x3afab3(0x1c5)]),0x0))return[_0x19a5c4[_0x3afab3(0x127)],_0x19a5c4[_0x3afab3(0x153)]];return[_0x19a5c4['DkMQC'],_0x19a5c4['zMCjP']];},exports[a45_0x57ba09(0x116)]=()=>{const _0x4ae3d0=a45_0x57ba09,_0x548d7e={'SucZM':function(_0x116042,_0x453b40){return _0x116042(_0x453b40);},'jqVsj':function(_0x4be655,_0x17c486){return _0x4be655>=_0x17c486;},'tizqk':_0x4ae3d0(0x12d),'NNONt':_0x4ae3d0(0x1c1),'TqZNS':'playwright','IshGY':'@playwright/test/lib/common/configLoader.js','uYMYz':_0x4ae3d0(0x19f)},_0x3144a4=_0x548d7e[_0x4ae3d0(0x1ac)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x548d7e[_0x4ae3d0(0x1c3)](helper['compareVersions'](_0x3144a4,_0x548d7e[_0x4ae3d0(0x160)]),0x0))return[_0x548d7e[_0x4ae3d0(0x184)],_0x548d7e[_0x4ae3d0(0x164)]];return[_0x548d7e[_0x4ae3d0(0x11e)],_0x548d7e[_0x4ae3d0(0x176)]];},exports[a45_0x57ba09(0x169)]=()=>{const _0xb807de=a45_0x57ba09,_0x2065c3={};_0x2065c3['BpyCf']=_0xb807de(0x11b);const _0x4306ae=_0x2065c3;return helper['getPlaywrightLibPath'](_0x4306ae[_0xb807de(0x115)]);},exports['getProjectUtilsPath']=()=>{const _0x571002=a45_0x57ba09,_0xeff84a={};_0xeff84a[_0x571002(0x1ba)]='runner/projectUtils.js';const _0x53e0a5=_0xeff84a;return helper[_0x571002(0x16d)](_0x53e0a5['JbKcg']);},exports[a45_0x57ba09(0x15b)]=()=>{const _0x17616c=a45_0x57ba09,_0x2fbfa6={'jSXgQ':function(_0x48d412,_0x3345ce){return _0x48d412(_0x3345ce);},'SmGyM':function(_0x57d047,_0xd97c5a){return _0x57d047>=_0xd97c5a;},'CurHX':'1.38.0','sFNBi':_0x17616c(0x150),'ZxFkT':'common','IqBfW':_0x17616c(0x113),'fTtMD':_0x17616c(0x18a)},_0x2cf2f6=_0x2fbfa6[_0x17616c(0x143)](getFrameworkVersion,FRAMEWORKS[_0x17616c(0x157)]);if(_0x2fbfa6[_0x17616c(0x1a7)](helper['compareVersions'](_0x2cf2f6,_0x2fbfa6['CurHX']),0x0))return path[_0x17616c(0x162)](_0x2fbfa6[_0x17616c(0x12f)],_0x2fbfa6[_0x17616c(0x17d)],_0x2fbfa6['IqBfW']);return path[_0x17616c(0x162)](_0x2fbfa6[_0x17616c(0x161)],_0x2fbfa6['sFNBi'],_0x2fbfa6[_0x17616c(0x17d)],_0x2fbfa6[_0x17616c(0x118)]);},exports[a45_0x57ba09(0x130)]=(_0x48c353,{test_run_uuid:_0x20dcce})=>{const _0x1c7820=a45_0x57ba09,_0x2be831={'qXrfC':_0x1c7820(0x1a9),'PtopK':_0x1c7820(0x191),'dIQnZ':function(_0x43573a,_0x4e3aaa){return _0x43573a<=_0x4e3aaa;},'LTVbO':function(_0x17ad0b,_0x1c73be){return _0x17ad0b(_0x1c73be);},'gPPDU':_0x1c7820(0x15e),'XHThk':function(_0x1048a6,_0x4ebe63){return _0x1048a6>=_0x4ebe63;},'zBFCj':_0x1c7820(0x18d),'NxetY':function(_0x149cb2,_0x3e80d7){return _0x149cb2>_0x3e80d7;},'bUeMQ':function(_0x46d412,_0x1d641b){return _0x46d412(_0x1d641b);},'Gvlaw':function(_0x4a0ce9,_0x641d6f,_0x6e9429){return _0x4a0ce9(_0x641d6f,_0x6e9429);},'YQkRa':'test'};if(!_0x48c353||_0x2be831[_0x1c7820(0x11c)](_0x48c353['length'],0x0))return[];const _0x308bd7=_0x2be831['LTVbO'](removeAnsiColors,_0x48c353[0x0][_0x1c7820(0x13c)]);if(_0x308bd7['startsWith'](_0x2be831['gPPDU'])){const _0x13c8bc=_0x48c353[0x0],_0x47b571=_0x2be831[_0x1c7820(0x16f)](getFrameworkVersion,FRAMEWORKS[_0x1c7820(0x157)]);if((!_0x13c8bc[_0x1c7820(0x14a)]||_0x2be831['XHThk'](_0x47b571,_0x2be831[_0x1c7820(0x1a5)]))&&_0x2be831[_0x1c7820(0x1b2)](_0x48c353[_0x1c7820(0x17f)],0x1))return{'failureData':[{'backtrace':[_0x308bd7,_0x2be831[_0x1c7820(0x140)](removeAnsiColors,_0x48c353[0x1][_0x1c7820(0x14a)])]}],'logs':_0x48c353[_0x1c7820(0x167)](0x2)['map'](_0x36d99d=>{const _0x2a38af=_0x1c7820;return{'timestamp':new Date()[_0x2a38af(0x175)](),'level':_0x2be831[_0x2a38af(0x12a)],'message':''+_0x36d99d[_0x2a38af(0x13c)],'kind':_0x2be831['PtopK'],'http_response':{},'test_run_uuid':_0x20dcce};})};}return{'failureData':_0x2be831[_0x1c7820(0x19e)](failureData,_0x48c353,_0x2be831[_0x1c7820(0x171)]),'logs':[]};},exports[a45_0x57ba09(0x137)]=_0xc43fca=>{const _0x2bbf02=a45_0x57ba09,_0x19852f={};_0x19852f[_0x2bbf02(0x16e)]=function(_0x5d4164,_0x1f8da2){return _0x5d4164!==_0x1f8da2;},_0x19852f[_0x2bbf02(0x152)]=_0x2bbf02(0x16a),_0x19852f[_0x2bbf02(0x122)]=function(_0x2f39c6,_0x124d1a){return _0x2f39c6>_0x124d1a;};const _0x1ee3e2=_0x19852f;if(_0xc43fca&&fs[_0x2bbf02(0x182)](_0xc43fca)){if(_0x1ee3e2['KWwur'](path[_0x2bbf02(0x154)](_0xc43fca)[_0x2bbf02(0x1b8)](),_0x1ee3e2[_0x2bbf02(0x152)]))return logger['error'](_0x2bbf02(0x136)+_0xc43fca),![];const _0x152c39=fs[_0x2bbf02(0x1b7)](_0xc43fca)[_0x2bbf02(0x1aa)];if(_0x1ee3e2[_0x2bbf02(0x122)](_0x152c39,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x2bbf02(0x131)](_0x2bbf02(0x193)+_0x152c39+_0x2bbf02(0x149)),![];return!![];}return![];},exports[a45_0x57ba09(0x17e)]=(_0x58f7ea,_0x365401)=>{const _0x1f5771=a45_0x57ba09,_0x2d6256={};_0x2d6256[_0x1f5771(0x194)]=_0x1f5771(0x132);const _0x4c0260=_0x2d6256;logger[_0x1f5771(0x13a)](_0x1f5771(0x111)+_0x365401);if(_0x58f7ea&&_0x58f7ea[_0x1f5771(0x1a6)]){const _0x3f1ead=_0x58f7ea[_0x1f5771(0x1a6)][_0x1f5771(0x145)](_0x473378=>_0x473378[_0x1f5771(0x1ad)]==='trace');if(_0x3f1ead)return logger['debug'](_0x1f5771(0x1b1)+_0x365401+_0x1f5771(0x125)),_0x3f1ead[_0x365401];}else{if(_0x58f7ea&&Object[_0x1f5771(0x16c)][_0x1f5771(0x16b)]['call'](_0x58f7ea)[_0x1f5771(0x163)](_0x4c0260[_0x1f5771(0x194)]))for(const _0x30c797 of _0x58f7ea){if(_0x30c797[_0x365401])return logger[_0x1f5771(0x13a)](_0x1f5771(0x1b1)+_0x365401+_0x1f5771(0x17b)),_0x30c797[_0x365401];}};return'';},exports['uploadTraceZip']=async(_0x3bf46f,_0x30be48)=>{const _0x11ee2a=a45_0x57ba09,_0x15bedd={};_0x15bedd[_0x11ee2a(0x198)]=_0x11ee2a(0x156),_0x15bedd[_0x11ee2a(0x134)]=_0x11ee2a(0x18f),_0x15bedd[_0x11ee2a(0x124)]='sendTraceZip',_0x15bedd['RFYpF']=_0x11ee2a(0x112);const _0x4ea022=_0x15bedd;try{const _0x24fd02={'event_type':_0x4ea022[_0x11ee2a(0x198)],'logs':[{'data':_0x3bf46f?fs[_0x11ee2a(0x17c)](_0x3bf46f):'','test_run_uuid':_0x30be48,'kind':_0x4ea022[_0x11ee2a(0x134)],'fileName':_0x3bf46f?path[_0x11ee2a(0x1bf)](_0x3bf46f):''}]};return await SessionHandler[_0x11ee2a(0x174)](_0x24fd02,0x0,_0x4ea022[_0x11ee2a(0x124)]);}catch(_0x37704a){logger[_0x11ee2a(0x131)](util['format'](_0x4ea022[_0x11ee2a(0x183)],_0x37704a));}},exports[a45_0x57ba09(0x14f)]=async(_0x2b3166,_0x33a459)=>{const _0x2617e4=a45_0x57ba09,_0x1d32d0={'UaUzv':_0x2617e4(0x11a),'czBJw':_0x2617e4(0x19c),'lWzMi':function(_0x78d8b6){return _0x78d8b6();},'bPSZC':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x2617e4(0x13a)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x33a459);let _0x3f7ee5=await exports['findNestedKey'](_0x2b3166,_0x1d32d0[_0x2617e4(0x155)]);if(exports[_0x2617e4(0x137)](_0x3f7ee5)){logger[_0x2617e4(0x13a)](_0x1d32d0[_0x2617e4(0x1b9)]),_0x3f7ee5=path[_0x2617e4(0x1a0)](_0x3f7ee5);const _0xecfe26={};_0xecfe26[_0x2617e4(0x14c)]=_0x33a459,_0xecfe26[_0x2617e4(0x159)]=_0x3f7ee5;const _0x5d4119=_0xecfe26;_0x1d32d0['lWzMi'](getBrowserstackCLI)[_0x2617e4(0x1b4)]()[_0x2617e4(0x142)]()?TestInfo[_0x2617e4(0x138)](_0x5d4119):TestDetails[_0x2617e4(0x138)](_0x5d4119);};}catch(_0x27e58a){logger[_0x2617e4(0x131)](util['format'](_0x1d32d0[_0x2617e4(0x15a)],_0x27e58a));}},exports[a45_0x57ba09(0x1a1)]=_0x1bec35=>{const _0x35afcd=a45_0x57ba09,_0x55b538={};_0x55b538['qCmsX']=function(_0x235069,_0x56bf97){return _0x235069+_0x56bf97;},_0x55b538['ORGPN']=function(_0x37336d,_0x37c8a6){return _0x37336d+_0x37c8a6;};const _0x3740e7=_0x55b538;return _0x3740e7[_0x35afcd(0x13e)](_0x3740e7[_0x35afcd(0x128)](_0x1bec35[_0x35afcd(0x168)],'-'),_0x1bec35['id']);},exports[a45_0x57ba09(0x1c2)]=(_0x1d6216,_0x134e83)=>{const _0x5b2afe=a45_0x57ba09,_0x3099fd={};_0x3099fd[_0x5b2afe(0x11d)]=function(_0x4064ab,_0x84b9da){return _0x4064ab+_0x84b9da;},_0x3099fd[_0x5b2afe(0x17a)]=function(_0x3bc0b3,_0x1f6e78){return _0x3bc0b3+_0x1f6e78;};const _0x4d2346=_0x3099fd;return _0x4d2346[_0x5b2afe(0x11d)](_0x4d2346[_0x5b2afe(0x17a)](exports['getTestIdentifier'](_0x1d6216),'-'),_0x134e83);};
@@ -1 +1 @@
1
- function a46_0x5c61(){const _0x2f1a02=['hzXEa','test','Before\x20Hooks','nOhxo','category','kloHf','AoKgP','startTime','path','step','expanded','screenshot','MyReporter','base64','errors','oAiQh','options','tiQrj','AViyn','SbzDG','aajib','util','beforeAll\x20hook','BweHH','heAsW','IdndR','ioYCL','statSync','reportLogs','DvwPm','XpPtO','name','RVJUy','../../../helpers/test-observability/requestQueueHandler','iustl','startsWith','29536sthZxR','CBTSessionCreated','title','toString','endSession','aBEyk','javascript','test_run','relative','HxFBq','Hook\x20Finished\x20with\x20unique\x20id\x20','bAvsj','skipped','trace_','wtTgK','1268850BdTbaL','reverse','failure','XVJdP','3103992ZxKtjr','zFjlF','LCeVA','dBXfN','_testHooksMap','lQTms','isRunning','VriTw','steps','PBYOz','HookRunStarted','Test\x20Started\x20with\x20unique\x20id\x20','MONYA','VfvTU','FLvwM','aJEMW','OwMMY','OLduf','UcmRp','NqGUR','onEnd','env','readFileSync','yWOWQ','getStepIdentifier','Hook\x20Started\x20with\x20unique\x20id\x20','sendSessionDetails','afterAll\x20hook','383064VJYsYm','logs','xgZto','hook_run_uuid','exports','beforeEach\x20hook','PYNKD','\x20for\x20','getScope','\x20-\x20','uuid','Error\x20in\x20calculating\x20performance:\x20','error','pending','getTestUUID','uLyJp','OnjtP','qXzHr','startedAt','After\x20Hooks','length','needToReportStep','XwyRD','LWrDW','format','wBVYz','failed','Error\x20in\x20sending\x20trace\x20zip:\x20%s','stack','../../../helpers/test-observability/error-handler','parent','IEPOW','tCrad','yrwqs','result','UJNJx','failure_reason','pdsyJ','status','rjHZK','dIJfM','WGTDQ','cwd','push','passed','llCbL','attachments','existsSync','hook_run','location','1684606HqTKfd','sEEGT','TestRunStarted','meta','TRDhT','lRxco','mtime','44777EBjANs','./test-details','Emgtv','ycrLq','backtrace','zrMLR','event_type','_gitConfigured','configureGit','2601hmjEgV','.browserstack','FSyfH','trackEvent','MHbRL','mQnul','sendTestRunEvent','lHDBq','BEFORE_ALL','TestRunFinished','onStepBegin','DxvFw','wHlMm','mkdirSync','HjoRy','RxEsR','filter','split','object','utf8','forEach','ptoDV','TEST','utGUW','homedir','../../../helpers/performance/performance-tester','../../../helpers/test-observability/utils','BEFORE_EACH','err','sendHookRunEvent','zwwZo','setup','\x20at\x20','titlePath','rOzeW','niobC','AFTER_ALL','qaZug','getHookType','.txt','_tags','LogCreated','TKqrU','xiUiP','\x20is\x20triggered\x20for\x20test\x20','WORkX','TEST_SCREENSHOT','getTestFramework','duration','KGBve','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','getStepsAndLogs','PEYjb','AFTER_EACH','CCbtA','TEST_STEP','../../v2/state/testFrameworkState','retry','Test\x20Finished\x20with\x20unique\x20id\x20','onTestBegin','_tests','../../../helpers/test-observability/constants','map','getHierarchy','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','vEaWZ','CIDGc','wAORF','shutdown','XQxMp','BROWSERSTACK_TEST_RUN_ID','splice','mzIlp','getInstance','rGFcT','PLAYWRIGHT','onStepEnd','pdMLb','printsToStdio','addTestUIDAndReportLog','10rlLFrP','finishedAt','test_run_uuid','Sending\x20session\x20details\x20for\x20','message','uploadEventData','HookRunFinished','ppIHK','821652BJJKMC','TEST_ATTACHMENT','../../../../src/bin/utils/constants','../../../helpers/testhub/utils','_bs_hookIdentifier','onBegin','onTestEnd','setStepIdentifier','_gitConfigPath','qydwM','getTime','START_TIME','GzNbq','asPLH','oVMSR','biOFL','timedOut','WOwdM','Trace\x20file\x20found\x20for\x20test:\x20','failure_type','file','AxJWM','xREYb','join','hook','root','BROWSERSTACK_O11Y_PERF_MEASUREMENT','InmNQ','toISOString','4|5|6|0|2|1|3'];a46_0x5c61=function(){return _0x2f1a02;};return a46_0x5c61();}const a46_0x4d9de4=a46_0x1830;(function(_0x5ea53f,_0x5a4714){const _0x3f5c8b=a46_0x1830,_0x4cc96b=_0x5ea53f();while(!![]){try{const _0x237790=-parseInt(_0x3f5c8b(0x18f))/0x1*(parseInt(_0x3f5c8b(0xdd))/0x2)+-parseInt(_0x3f5c8b(0x156))/0x3+-parseInt(_0x3f5c8b(0x13a))/0x4+parseInt(_0x3f5c8b(0x136))/0x5+parseInt(_0x3f5c8b(0xe5))/0x6+parseInt(_0x3f5c8b(0x188))/0x7+-parseInt(_0x3f5c8b(0x127))/0x8*(-parseInt(_0x3f5c8b(0x198))/0x9);if(_0x237790===_0x5a4714)break;else _0x4cc96b['push'](_0x4cc96b['shift']());}catch(_0x385d44){_0x4cc96b['push'](_0x4cc96b['shift']());}}}(a46_0x5c61,0x8b5a3));function a46_0x1830(_0x475e18,_0x1a0802){const _0x5c6165=a46_0x5c61();return a46_0x1830=function(_0x183038,_0x1e398d){_0x183038=_0x183038-0xd2;let _0x1a9d01=_0x5c6165[_0x183038];return _0x1a9d01;},a46_0x1830(_0x475e18,_0x1a0802);}const RequestQueueHandler=require(a46_0x4d9de4(0x124)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require('uuid'),path=require(a46_0x4d9de4(0x10b)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a46_0x4d9de4(0x1b2)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a46_0x4d9de4(0x190)),fs=require('fs'),util=require(a46_0x4d9de4(0x118)),{o11yClassErrorHandler}=require(a46_0x4d9de4(0x173)),PerformanceTester=require(a46_0x4d9de4(0x1b1)),{FRAMEWORKS}=require(a46_0x4d9de4(0x1d5)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a46_0x4d9de4(0xe8)),helper=require('../../../helpers/helper'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a46_0x4d9de4(0x1d0)),HookState=require('../../v2/state/hookState'),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a46_0x4d9de4(0xe7));class MyReporter{constructor(_0x3a930f){const _0x1b07a6=a46_0x4d9de4,_0xb8b9c={'OwMMY':_0x1b07a6(0x102),'lQTms':function(_0x294d42,_0x3482ed,_0x368320,_0xf0717c){return _0x294d42(_0x3482ed,_0x368320,_0xf0717c);},'uChDH':'performance-report-reporter.json'},_0x11f6f5=_0xb8b9c[_0x1b07a6(0x14a)]['split']('|');let _0x33636f=0x0;while(!![]){switch(_0x11f6f5[_0x33636f++]){case'0':this[_0x1b07a6(0x13e)]={};continue;case'1':this[_0x1b07a6(0x196)]=![];continue;case'2':this[_0x1b07a6(0x113)]=_0x3a930f;continue;case'3':this[_0x1b07a6(0xed)]=null;continue;case'4':const _0x497bbe={};_0x497bbe['logLevel']=process['env']['BROWSERSTACK_LOG_LEVEL'],_0xb8b9c[_0x1b07a6(0x13f)](setLogLevel,_0x497bbe,new Map(),new Map());continue;case'5':process[_0x1b07a6(0x14f)][_0x1b07a6(0xff)]&&(PerformanceTester['startMonitoring'](_0xb8b9c['uChDH']),process[_0x1b07a6(0x14f)][_0x1b07a6(0xf0)]=new Date()[_0x1b07a6(0x101)]());continue;case'6':this[_0x1b07a6(0x1d4)]={};continue;}break;}}async['onBegin'](){const _0x5d3c9c=a46_0x4d9de4;TestDetails[_0x5d3c9c(0x1b7)](),await this[_0x5d3c9c(0x197)](),TestInfo['setup']();if(BrowserstackCLI['getInstance']()['isRunning']()){await BrowserstackCLI['getInstance']()[_0x5d3c9c(0x1c7)]()['trackEvent'](TestFrameworkState['INIT_TEST'],HookState['PRE'],{});return;}}async['onTestBegin'](_0x2ca2e2,_0x264db7){const _0x13d3b4=a46_0x4d9de4,_0x4f28e8={'oAiQh':function(_0x32a179,_0x313a04){return _0x32a179(_0x313a04);},'NqGUR':function(_0x296c30,_0x3a968d,_0x209401){return _0x296c30(_0x3a968d,_0x209401);},'DRddC':_0x13d3b4(0x18a)};if(BrowserstackCLI[_0x13d3b4(0xd6)]()[_0x13d3b4(0x140)]()){const _0x285bf4={};_0x285bf4[_0x13d3b4(0x104)]=_0x2ca2e2,_0x285bf4['result']=_0x264db7,await BrowserstackCLI[_0x13d3b4(0xd6)]()[_0x13d3b4(0x1c7)]()[_0x13d3b4(0x19b)](TestFrameworkState[_0x13d3b4(0x1ae)],HookState['PRE'],_0x285bf4);return;}const _0x4ad4fd=_0x4f28e8['oAiQh'](getTestIdentifier,_0x2ca2e2),_0x2ea718=TestDetails[_0x13d3b4(0x164)](_0x4f28e8[_0x13d3b4(0x14d)](getTestRunIdentifier,_0x2ca2e2,_0x264db7[_0x13d3b4(0x1d1)]));process[_0x13d3b4(0x14f)][_0x13d3b4(0xd3)]=_0x2ea718;const _0x3372ba={};_0x3372ba[_0x13d3b4(0x160)]=_0x2ea718,_0x3372ba[_0x13d3b4(0x168)]=_0x264db7['startTime'],this[_0x13d3b4(0x1d4)][_0x4ad4fd]=_0x3372ba,_0x4f28e8[_0x13d3b4(0x112)](trace,_0x13d3b4(0x145)+_0x4ad4fd),await this[_0x13d3b4(0x19e)](_0x2ca2e2,_0x4f28e8['DRddC'],_0x264db7);}async[a46_0x4d9de4(0x1a2)](_0x34c324,_0x10b7e9,_0x1a7da5){const _0x34e3f8=a46_0x4d9de4,_0x51fb3a={'ptoDV':function(_0x6cf236,_0x485e1c,_0x37b546){return _0x6cf236(_0x485e1c,_0x37b546);},'qYClu':function(_0x56850f,_0x5a6bc0){return _0x56850f(_0x5a6bc0);},'sEEGT':_0x34e3f8(0x144)};if(!this[_0x34e3f8(0x16b)](_0x1a7da5,_0x34c324))return;if(BrowserstackCLI['getInstance']()[_0x34e3f8(0x140)]()){const _0x52f81f=this[_0x34e3f8(0x1be)](_0x1a7da5[_0x34e3f8(0x129)]),_0xff5639=TestFrameworkState[_0x52f81f],_0x37fae7={};_0x37fae7[_0x34e3f8(0x104)]=_0x34c324,_0x37fae7[_0x34e3f8(0x178)]=_0x10b7e9,_0x37fae7[_0x34e3f8(0x10c)]=_0x1a7da5,await BrowserstackCLI[_0x34e3f8(0xd6)]()['getTestFramework']()[_0x34e3f8(0x19b)](_0xff5639,HookState['PRE'],_0x37fae7);return;}const _0x551414=this[_0x34e3f8(0xec)](_0x34c324,_0x1a7da5);this[_0x34e3f8(0x1d4)][_0x551414]={'uuid':TestDetails['getTestUUID'](_0x551414),'startedAt':_0x1a7da5[_0x34e3f8(0x10a)]['toISOString']()};const _0x6b5781=_0x51fb3a[_0x34e3f8(0x1ad)](getTestRunIdentifier,_0x34c324,_0x10b7e9[_0x34e3f8(0x1d1)]);!this[_0x34e3f8(0x13e)][_0x6b5781]&&(this[_0x34e3f8(0x13e)][_0x6b5781]=[]),this['_testHooksMap'][_0x6b5781][_0x34e3f8(0x181)](this[_0x34e3f8(0x1d4)][_0x551414]['uuid']),_0x51fb3a['qYClu'](trace,_0x34e3f8(0x153)+_0x551414+_0x34e3f8(0x1c4)+_0x6b5781),await this[_0x34e3f8(0x1b5)](_0x34c324,_0x1a7da5,_0x51fb3a[_0x34e3f8(0x189)],_0x10b7e9);}async[a46_0x4d9de4(0xd9)](_0x49743d,_0x42336a,_0x3ac0cc){const _0xedbaa7=a46_0x4d9de4,_0x11d2d3={'FLvwM':function(_0x50b304,_0x437029){return _0x50b304+_0x437029;},'llCbL':function(_0x48160c,_0x3c9d46){return _0x48160c(_0x3c9d46);},'DqcxD':'HookRunFinished'};if(!this[_0xedbaa7(0x16b)](_0x3ac0cc,_0x49743d))return;if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x4d79a2=this['getHookType'](_0x3ac0cc['title']),_0x50ca2e=TestFrameworkState[_0x4d79a2],_0x1e8684={};_0x1e8684[_0xedbaa7(0x104)]=_0x49743d,_0x1e8684[_0xedbaa7(0x178)]=_0x42336a,_0x1e8684['step']=_0x3ac0cc,await BrowserstackCLI[_0xedbaa7(0xd6)]()[_0xedbaa7(0x1c7)]()[_0xedbaa7(0x19b)](_0x50ca2e,HookState['POST'],_0x1e8684);return;}const _0x44876c=this[_0xedbaa7(0x152)](_0x49743d,_0x3ac0cc);this[_0xedbaa7(0x1d4)][_0x44876c]={...this[_0xedbaa7(0x1d4)][_0x44876c]||{},'finishedAt':new Date(_0x11d2d3[_0xedbaa7(0x148)](_0x3ac0cc[_0xedbaa7(0x10a)][_0xedbaa7(0xef)](),_0x3ac0cc[_0xedbaa7(0x1c8)]))},_0x11d2d3[_0xedbaa7(0x183)](trace,_0xedbaa7(0x131)+_0x44876c+'\x20is\x20triggered'),await this[_0xedbaa7(0x1b5)](_0x49743d,_0x3ac0cc,_0x11d2d3['DqcxD'],_0x42336a);}async[a46_0x4d9de4(0xeb)](_0x25b24b,_0x348a1f){const _0x335402=a46_0x4d9de4,_0x171ae4={'GzNbq':function(_0x1cfe8b,_0x4b4db1){return _0x1cfe8b===_0x4b4db1;},'ycrLq':_0x335402(0x10e),'zrMLR':_0x335402(0x1c6),'sKomW':_0x335402(0x110),'kloHf':function(_0x5349b2,_0x3ae356){return _0x5349b2(_0x3ae356);},'nOhxo':function(_0x1d2161,_0x144763,_0x3a7bcd){return _0x1d2161(_0x144763,_0x3a7bcd);},'yWOWQ':function(_0x5b3937,_0x19ad13){return _0x5b3937(_0x19ad13);},'rjHZK':_0x335402(0x1a1),'UJNJx':function(_0x4df999,_0xc2567b){return _0x4df999(_0xc2567b);},'RbwVM':_0x335402(0x1ca),'mQnul':function(_0x28cb0d,_0x1318af,_0x9d20b){return _0x28cb0d(_0x1318af,_0x9d20b);},'niobC':_0x335402(0x171),'tCrad':function(_0x1f603e,_0x357c1e){return _0x1f603e>_0x357c1e;}};if(BrowserstackCLI[_0x335402(0xd6)]()[_0x335402(0x140)]()){const _0x26c41c={};_0x26c41c['test']=_0x25b24b,_0x26c41c[_0x335402(0x178)]=_0x348a1f,await BrowserstackCLI[_0x335402(0xd6)]()[_0x335402(0x1c7)]()[_0x335402(0x19b)](TestFrameworkState[_0x335402(0x1ae)],HookState['POST'],_0x26c41c);return;}const _0xbf272e=_0x171ae4[_0x335402(0x108)](getTestIdentifier,_0x25b24b),_0xa841ee=TestDetails[_0x335402(0x164)](_0x171ae4[_0x335402(0x106)](getTestRunIdentifier,_0x25b24b,_0x348a1f[_0x335402(0x1d1)]));this[_0x335402(0x1d4)][_0xbf272e]={...this[_0x335402(0x1d4)][_0xbf272e]||{},'finishedAt':new Date()[_0x335402(0x101)]()},_0x171ae4[_0x335402(0x151)](debug,_0x335402(0x1d2)+_0xbf272e);try{await this[_0x335402(0x19e)](_0x25b24b,_0x171ae4[_0x335402(0x17d)],_0x348a1f);}catch(_0x146c56){_0x171ae4[_0x335402(0x179)](debug,util[_0x335402(0x16e)](_0x171ae4['RbwVM'],_0x146c56[_0x335402(0x12a)]()));}try{_0x171ae4[_0x335402(0x151)](debug,_0x335402(0x1d8)+_0xa841ee),await _0x171ae4[_0x335402(0x19d)](sendTraceZip,_0x348a1f,_0xa841ee);}catch(_0x3c5edf){_0x171ae4[_0x335402(0x108)](debug,util[_0x335402(0x16e)](_0x171ae4[_0x335402(0x1bb)],_0x3c5edf['toString']()));}const _0x4b99d4=[];_0x348a1f['attachments']&&_0x348a1f[_0x335402(0x184)]['map'](_0x4cdf64=>{const _0x5c5560=_0x335402;if(_0x171ae4[_0x5c5560(0xf1)](_0x4cdf64[_0x5c5560(0x122)],_0x171ae4[_0x5c5560(0x192)])){if(!_0x4cdf64[_0x5c5560(0x10b)]||!fs[_0x5c5560(0x185)](_0x4cdf64[_0x5c5560(0x10b)]))return;_0x4b99d4[_0x5c5560(0x181)]({'test_run_uuid':_0xa841ee,'timestamp':fs[_0x5c5560(0x11e)](_0x4cdf64[_0x5c5560(0x10b)])[_0x5c5560(0x18e)],'kind':_0x171ae4[_0x5c5560(0x194)],'message':fs[_0x5c5560(0x150)](_0x4cdf64[_0x5c5560(0x10b)],{'encoding':_0x171ae4['sKomW']})});}}),_0x171ae4[_0x335402(0x176)](_0x4b99d4['length'],0x0)&&await MyReporter[_0x335402(0x11f)](_0x4b99d4);}async[a46_0x4d9de4(0x12b)](){const _0x84152e=a46_0x4d9de4;await RequestQueueHandler[_0x84152e(0xd6)]()[_0x84152e(0x1dc)]();}async[a46_0x4d9de4(0x14e)](_0x1d06bd){const _0x50a9c2=a46_0x4d9de4,_0x5660a0={'uSyzB':function(_0x297aa2){return _0x297aa2();},'yrwqs':function(_0x5ed7ef,_0x1f199b){return _0x5ed7ef(_0x1f199b);}};await this[_0x50a9c2(0x12b)]();try{process[_0x50a9c2(0x14f)][_0x50a9c2(0xff)]&&await _0x5660a0['uSyzB'](calculatePerformance);}catch(_0x3a1d30){_0x5660a0[_0x50a9c2(0x177)](debug,_0x50a9c2(0x161)+_0x3a1d30['toString']());}}static async[a46_0x4d9de4(0xdc)](_0x7945df,_0x2c54cc){const _0x1d4361=a46_0x4d9de4;_0x2c54cc[_0x1d4361(0xdf)]=TestDetails[_0x1d4361(0x164)](_0x7945df),await this[_0x1d4361(0x11f)]([_0x2c54cc]);}static async[a46_0x4d9de4(0x11f)](_0x318a03){const _0x15067b=a46_0x4d9de4,_0x180645={};_0x180645[_0x15067b(0xf6)]=_0x15067b(0x1c1);const _0x38575e=_0x180645;if(BrowserstackCLI[_0x15067b(0xd6)]()[_0x15067b(0x140)]())return;const _0x2f230b={};_0x2f230b[_0x15067b(0x195)]=_0x38575e[_0x15067b(0xf6)],_0x2f230b['logs']=_0x318a03,await SessionHandler[_0x15067b(0xe2)](_0x2f230b);}async[a46_0x4d9de4(0x1b5)](_0x45b7f3,_0x53d62f,_0x580881,_0x475d80){const _0x3338dd=a46_0x4d9de4,_0x1a1e20={'tiQrj':_0x3338dd(0xfd),'InmNQ':'javascript','vsJUq':_0x3338dd(0x163),'cLxSp':function(_0x40f21b,_0x40b81b){return _0x40f21b>=_0x40b81b;},'kOcKC':function(_0x204a3e,_0x2d5203){return _0x204a3e===_0x2d5203;},'RlzyP':_0x3338dd(0xe3),'qXzHr':function(_0x113ef5,_0x4c5c38){return _0x113ef5>_0x4c5c38;},'CCbtA':_0x3338dd(0x170),'pdsyJ':function(_0x371bbe,_0x2f4d03){return _0x371bbe(_0x2f4d03);},'vEaWZ':function(_0x1f7ded,_0x1cdaf9){return _0x1f7ded(_0x1cdaf9);},'TpCww':function(_0x49672f,_0x9ee508,_0x5287ed){return _0x49672f(_0x9ee508,_0x5287ed);},'HxFBq':_0x3338dd(0x1b4),'TKqrU':function(_0x67cb2f,_0x3caca7){return _0x67cb2f===_0x3caca7;},'aJEMW':_0x3338dd(0x182)},_0x5ba65e=this[_0x3338dd(0x152)](_0x45b7f3,_0x53d62f),_0x173848=this[_0x3338dd(0x1d4)][_0x5ba65e],_0x188aaa={'uuid':_0x173848[_0x3338dd(0x160)],'type':_0x1a1e20[_0x3338dd(0x114)],'hook_type':this['getHookType'](_0x53d62f[_0x3338dd(0x129)]),'name':_0x53d62f[_0x3338dd(0x129)],'scope':this[_0x3338dd(0x15e)](_0x53d62f),'scopes':this['getHierarchy'](_0x45b7f3),'body':{'lang':_0x1a1e20[_0x3338dd(0x100)],'code':null},'identifier':_0x5ba65e,'file_name':path[_0x3338dd(0x12f)](process[_0x3338dd(0x180)](),_0x45b7f3[_0x3338dd(0x187)][_0x3338dd(0xf9)]),'location':path[_0x3338dd(0x12f)](process[_0x3338dd(0x180)](),_0x45b7f3[_0x3338dd(0x187)][_0x3338dd(0xf9)]),'result':_0x1a1e20['vsJUq'],'duration_in_ms':_0x1a1e20['cLxSp'](_0x53d62f[_0x3338dd(0x1c8)],0x0)?_0x53d62f[_0x3338dd(0x1c8)]:undefined,'vc_filepath':this[_0x3338dd(0xed)]&&_0x45b7f3['location'][_0x3338dd(0xf9)]?path[_0x3338dd(0x12f)](this[_0x3338dd(0xed)],_0x45b7f3[_0x3338dd(0x187)][_0x3338dd(0xf9)]):undefined,'started_at':_0x173848[_0x3338dd(0x168)],'finished_at':_0x173848[_0x3338dd(0xde)],'framework':FRAMEWORKS[_0x3338dd(0xd8)]};if(_0x1a1e20['kOcKC'](_0x580881,_0x1a1e20['RlzyP'])){const {steps:_0x4bbf8e,logs:_0xedb96c}=this[_0x3338dd(0x1cb)](_0x53d62f[_0x3338dd(0x142)],_0x173848[_0x3338dd(0x160)],_0x1a1e20[_0x3338dd(0x114)]);_0xedb96c&&_0x1a1e20[_0x3338dd(0x167)](_0xedb96c['length'],0x0)&&await MyReporter[_0x3338dd(0x11f)](_0xedb96c);const _0x5dc269={};_0x5dc269[_0x3338dd(0x142)]=_0x4bbf8e,_0x188aaa['meta']=_0x5dc269;if(_0x53d62f[_0x3338dd(0x162)]){_0x188aaa[_0x3338dd(0x178)]=_0x1a1e20[_0x3338dd(0x1ce)],_0x188aaa[_0x3338dd(0x17a)]=_0x1a1e20[_0x3338dd(0x17b)](removeAnsiColors,_0x53d62f[_0x3338dd(0x162)][_0x3338dd(0xe1)]),_0x188aaa[_0x3338dd(0xf8)]=_0x1a1e20[_0x3338dd(0x1d9)](getFailureType,_0x53d62f[_0x3338dd(0x162)]['message']);const _0x93bfea=_0x1a1e20['TpCww'](failureData,_0x53d62f[_0x3338dd(0x162)],_0x1a1e20[_0x3338dd(0x130)]);if(_0x93bfea&&_0x1a1e20[_0x3338dd(0x1c2)](_0x93bfea[_0x3338dd(0x16a)],0x0)){const _0x29b979={};_0x29b979[_0x3338dd(0x193)]=[_0x188aaa[_0x3338dd(0x17a)]],_0x29b979[_0x3338dd(0x10d)]=[],_0x93bfea[_0x3338dd(0x181)](_0x29b979);}_0x188aaa[_0x3338dd(0x138)]=_0x93bfea;}else _0x188aaa[_0x3338dd(0x178)]=_0x1a1e20[_0x3338dd(0x149)];}const _0x581375={};_0x581375['event_type']=_0x580881,_0x581375[_0x3338dd(0x186)]=_0x188aaa;const _0x94056f=_0x581375;await SessionHandler['uploadEventData'](_0x94056f);}[a46_0x4d9de4(0x1cb)](_0x359559,_0x4951d9,_0x2fc365){const _0x5640df=a46_0x4d9de4,_0x530810={'UcmRp':function(_0x962672,_0x104509){return _0x962672===_0x104509;},'Qqvnx':_0x5640df(0xfd),'tfGCV':function(_0x49e09f,_0x540690){return _0x49e09f===_0x540690;},'CIDGc':_0x5640df(0x169),'qwCkL':_0x5640df(0x105),'PEYjb':function(_0x2b0db1,_0x245daa){return _0x2b0db1===_0x245daa;},'WORkX':function(_0x8fe2f9,_0x54c28a){return _0x8fe2f9===_0x54c28a;},'BweHH':'test','PBYOz':_0x5640df(0xdf),'VriTw':_0x5640df(0x159),'LCeVA':_0x5640df(0x1cf),'AoKgP':'failed','xiUiP':'passed','XwyRD':function(_0x714dca,_0x25f43b){return _0x714dca(_0x25f43b);},'ioYCL':function(_0x26659a,_0x6d7291){return _0x26659a(_0x6d7291);},'dLLTA':function(_0x319981){return _0x319981();},'wBVYz':function(_0x24eef1,_0x538d3a,_0x40aa6d){return _0x24eef1(_0x538d3a,_0x40aa6d);}},_0x5e0246=[],_0x33660e=[],_0x5de83e=_0x359559[_0x5640df(0x1a8)](_0x87b60b=>{const _0x27bd0f=_0x5640df;if(_0x530810[_0x27bd0f(0x14c)](_0x87b60b[_0x27bd0f(0x107)],_0x530810['Qqvnx'])&&(_0x530810['tfGCV'](_0x87b60b[_0x27bd0f(0x129)],_0x530810[_0x27bd0f(0x1da)])||_0x530810[_0x27bd0f(0x14c)](_0x87b60b[_0x27bd0f(0x129)],_0x530810['qwCkL'])))return![];return!![];}),_0x115bb4=(_0x5983b2,_0x1e8ab2=![])=>{const _0x56e08b=_0x5640df;if(_0x530810[_0x56e08b(0x1cc)](_0x5983b2[_0x56e08b(0x142)][_0x56e08b(0x16a)],0x0)){const _0x45f0eb=_0x530810[_0x56e08b(0x1c5)](_0x2fc365,_0x530810[_0x56e08b(0x11a)])?_0x530810[_0x56e08b(0x143)]:_0x530810[_0x56e08b(0x141)];_0x33660e[_0x56e08b(0x181)]({'kind':_0x530810[_0x56e08b(0x13c)],[_0x45f0eb]:_0x4951d9,'message':_0x5983b2[_0x56e08b(0x129)],'timestamp':_0x5983b2[_0x56e08b(0x10a)][_0x56e08b(0x101)](),'level':_0x5983b2[_0x56e08b(0x162)]?_0x530810[_0x56e08b(0x109)]:_0x530810[_0x56e08b(0x1c3)],'duration':_0x5983b2[_0x56e08b(0x1c8)],'failure':_0x5983b2[_0x56e08b(0x162)]&&_0x5983b2['error'][_0x56e08b(0xe1)]&&_0x530810[_0x56e08b(0x16c)](removeAnsiColors,_0x5983b2['error'][_0x56e08b(0xe1)]),'failure_type':_0x530810[_0x56e08b(0x11d)](getFailureType,_0x5983b2[_0x56e08b(0x162)]&&_0x5983b2['error'][_0x56e08b(0xe1)])});}else{!_0x1e8ab2&&_0x5e0246[_0x56e08b(0x181)]({'id':_0x530810['dLLTA'](uuidv4),'text':_0x5983b2[_0x56e08b(0x129)],'keyword':undefined,'started_at':_0x5983b2[_0x56e08b(0x10a)][_0x56e08b(0x101)](),'duration':_0x5983b2[_0x56e08b(0x1c8)],'result':_0x5983b2[_0x56e08b(0x162)]?_0x530810['AoKgP']:_0x530810[_0x56e08b(0x1c3)],'failure':_0x5983b2[_0x56e08b(0x162)]&&_0x5983b2['error'][_0x56e08b(0xe1)]&&_0x530810[_0x56e08b(0x11d)](removeAnsiColors,_0x5983b2[_0x56e08b(0x162)][_0x56e08b(0xe1)]),'failure_type':_0x530810[_0x56e08b(0x16c)](getFailureType,_0x5983b2[_0x56e08b(0x162)]&&_0x5983b2['error']['message'])});for(const _0x3cbcfa of _0x5983b2[_0x56e08b(0x142)]){_0x530810[_0x56e08b(0x16f)](_0x115bb4,_0x3cbcfa,!![]);}}};for(const _0x2d62f5 of _0x5de83e){_0x530810['wBVYz'](_0x115bb4,_0x2d62f5,![]);}const _0x281e6c={};return _0x281e6c['steps']=_0x5e0246,_0x281e6c[_0x5640df(0x157)]=_0x33660e,_0x281e6c;}async['sendTestRunEvent'](_0x2e2390,_0xcca87a,_0x37a3c7){const _0x6ea546=a46_0x4d9de4,_0x25a42c={'biOFL':function(_0x21220b,_0x56e5b0){return _0x21220b(_0x56e5b0);},'VfvTU':_0x6ea546(0xe6),'wtTgK':function(_0x306cc6,_0x12b19c){return _0x306cc6(_0x12b19c);},'LWrDW':_0x6ea546(0x104),'KGBve':_0x6ea546(0x12d),'zwwZo':_0x6ea546(0x163),'iustl':function(_0x3c81ec,_0x3cebcc){return _0x3c81ec(_0x3cebcc);},'SbzDG':function(_0x2ec08b,_0x5c0aba,_0x347874,_0x31711d,_0x162cf2){return _0x2ec08b(_0x5c0aba,_0x347874,_0x31711d,_0x162cf2);},'AViyn':function(_0x2bd13b,_0xc9497c){return _0x2bd13b>_0xc9497c;},'IEPOW':function(_0x22491e,_0x518821,_0x18f835){return _0x22491e(_0x518821,_0x18f835);},'oVMSR':function(_0x2abaa2,_0xb33078){return _0x2abaa2-_0xb33078;},'rOzeW':function(_0x56044f,_0x2f209c){return _0x56044f===_0x2f209c;},'MHbRL':_0x6ea546(0x1a1),'mcaOC':function(_0x21b845,_0x39ca3b){return _0x21b845===_0x39ca3b;},'AxJWM':function(_0x325f3c,_0x239ee2){return _0x325f3c===_0x239ee2;},'xREYb':_0x6ea546(0x133),'zFjlF':_0x6ea546(0x182),'FSyfH':'failed','VQfmG':_0x6ea546(0xf5),'uLyJp':function(_0x487620,_0x4eba30){return _0x487620===_0x4eba30;},'heAsW':'Expected\x20to\x20fail,\x20but\x20passed.','RxEsR':function(_0x166022,_0x2f63a0){return _0x166022(_0x2f63a0);},'RUIdA':function(_0x49eab4,_0x4f0a40,_0x2601f6){return _0x49eab4(_0x4f0a40,_0x2601f6);},'IdndR':'path','WGTDQ':function(_0x4cf285,_0x4a20d2){return _0x4cf285(_0x4a20d2);},'xgZto':_0x6ea546(0x199),'wHlMm':_0x6ea546(0x1ab),'dIJfM':function(_0x284dc3,_0x1b4242){return _0x284dc3!==_0x1b4242;}},_0x21cf50=_0x25a42c[_0x6ea546(0x135)](getTestIdentifier,_0x2e2390),_0x1afe56=this['getScope'](_0x2e2390),_0x171515=this[_0x6ea546(0x1d4)][_0x21cf50],_0x1510f7=path[_0x6ea546(0x12f)](process[_0x6ea546(0x180)](),_0x2e2390[_0x6ea546(0x187)][_0x6ea546(0xf9)]);await this[_0x6ea546(0x197)]();const _0x41490f={'uuid':_0x171515[_0x6ea546(0x160)],'type':_0x25a42c['LWrDW'],'name':_0x2e2390[_0x6ea546(0x129)],'body':{'lang':_0x25a42c[_0x6ea546(0x1c9)],'code':_0x2e2390['fn']['toString']()},'scope':_0x1afe56,'scopes':this['getHierarchy'](_0x2e2390),'identifier':_0x21cf50,'file_name':_0x1510f7,'location':_0x1510f7,'result':_0x25a42c[_0x6ea546(0x1b6)],'duration_in_ms':_0x37a3c7&&_0x37a3c7[_0x6ea546(0x1c8)]?_0x37a3c7[_0x6ea546(0x1c8)]:null,'vc_filepath':this[_0x6ea546(0xed)]&&_0x2e2390[_0x6ea546(0x187)]['file']?path[_0x6ea546(0x12f)](this[_0x6ea546(0xed)],_0x2e2390[_0x6ea546(0x187)][_0x6ea546(0xf9)]):undefined,'started_at':_0x171515[_0x6ea546(0x168)],'finished_at':_0x171515[_0x6ea546(0xde)],'framework':FRAMEWORKS[_0x6ea546(0xd8)],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x2e2390)},'tags':_0x25a42c[_0x6ea546(0x125)](getTestTags,_0x2e2390)};_0x25a42c[_0x6ea546(0x116)](appendTesthubParams,_0x41490f,_0xcca87a,_0x2e2390,FRAMEWORKS[_0x6ea546(0xd8)]);_0x37a3c7&&_0x25a42c[_0x6ea546(0x115)](_0x37a3c7[_0x6ea546(0x1d1)],0x0)&&(_0x41490f['retry_of']=TestDetails['getTestUUID'](_0x25a42c[_0x6ea546(0x175)](getTestRunIdentifier,_0x2e2390,_0x25a42c[_0x6ea546(0xf3)](_0x37a3c7[_0x6ea546(0x1d1)],0x1))));if(_0x25a42c[_0x6ea546(0x1ba)](_0xcca87a,_0x25a42c[_0x6ea546(0x19c)])){_0x41490f[_0x6ea546(0x178)]=_0x37a3c7[_0x6ea546(0x17c)];if(_0x25a42c['mcaOC'](_0x37a3c7[_0x6ea546(0x17c)],_0x2e2390['expectedStatus']))_0x41490f[_0x6ea546(0x178)]=_0x25a42c[_0x6ea546(0xfa)](_0x37a3c7[_0x6ea546(0x17c)],_0x25a42c[_0x6ea546(0xfb)])?_0x25a42c['xREYb']:_0x25a42c[_0x6ea546(0x13b)];else{(_0x25a42c[_0x6ea546(0xfa)](_0x41490f[_0x6ea546(0x178)],_0x25a42c['zFjlF'])||_0x25a42c[_0x6ea546(0xfa)](_0x41490f[_0x6ea546(0x178)],_0x25a42c[_0x6ea546(0x19a)])||_0x25a42c['AxJWM'](_0x41490f['result'],_0x25a42c['VQfmG']))&&(_0x41490f[_0x6ea546(0x178)]=_0x25a42c['FSyfH']);if(_0x25a42c[_0x6ea546(0x165)](_0x37a3c7[_0x6ea546(0x17c)],_0x25a42c[_0x6ea546(0x13b)])&&_0x25a42c['AxJWM'](_0x2e2390['expectedStatus'],_0x25a42c[_0x6ea546(0x19a)])){const _0x3617be={};_0x3617be['message']=_0x25a42c['heAsW'],_0x3617be[_0x6ea546(0x172)]=_0x25a42c[_0x6ea546(0x11b)],_0x37a3c7[_0x6ea546(0x162)]=_0x3617be,_0x37a3c7[_0x6ea546(0x111)]=[_0x37a3c7[_0x6ea546(0x162)]];}}const _0x3ea754=_0x25a42c[_0x6ea546(0x175)](getTestRunIdentifier,_0x2e2390,_0x37a3c7[_0x6ea546(0x1d1)]);_0x41490f['hooks']=this[_0x6ea546(0x13e)][_0x3ea754];const {steps:_0x46fc91,logs:_0xd7e87e}=this[_0x6ea546(0x1cb)](_0x37a3c7[_0x6ea546(0x142)],_0x171515['uuid'],_0x25a42c[_0x6ea546(0x16d)]);await MyReporter[_0x6ea546(0x11f)](_0xd7e87e);const _0x21250a={};_0x21250a[_0x6ea546(0x142)]=_0x46fc91,_0x41490f[_0x6ea546(0x18b)]=_0x21250a;if(_0x37a3c7[_0x6ea546(0x162)]){_0x41490f['failure_reason']=_0x25a42c[_0x6ea546(0xf4)](removeAnsiColors,_0x37a3c7[_0x6ea546(0x162)]['message']),_0x41490f[_0x6ea546(0xf8)]=_0x25a42c[_0x6ea546(0x1a7)](getFailureType,_0x37a3c7[_0x6ea546(0x162)][_0x6ea546(0xe1)]);const _0xec9eb1={};_0xec9eb1[_0x6ea546(0xdf)]=_0x171515[_0x6ea546(0x160)];const {failureData:_0x43b381,logs:_0x2febed}=_0x25a42c['RUIdA'](getFailureData,_0x37a3c7['errors'],_0xec9eb1);if(_0x43b381&&_0x25a42c[_0x6ea546(0x165)](_0x43b381[_0x6ea546(0x16a)],0x0)){const _0x1cf5bc={};_0x1cf5bc[_0x6ea546(0x193)]=[_0x41490f[_0x6ea546(0x17a)]],_0x1cf5bc['expanded']=[],_0x43b381[_0x6ea546(0x181)](_0x1cf5bc);}_0x41490f[_0x6ea546(0x138)]=_0x43b381,_0x2febed&&_0x25a42c[_0x6ea546(0x115)](_0x2febed[_0x6ea546(0x16a)],0x0)&&await MyReporter[_0x6ea546(0x11f)](_0x2febed);}}let _0x4a7a55=_0x25a42c[_0x6ea546(0x175)](findNestedKey,_0x37a3c7,_0x25a42c[_0x6ea546(0x11c)]);if(_0x4a7a55&&_0x25a42c['iustl'](validateFilePath,_0x4a7a55))_0x25a42c[_0x6ea546(0x17f)](debug,_0x6ea546(0xf7)+_0x171515[_0x6ea546(0x160)]+_0x6ea546(0x1b8)+_0x4a7a55);else{const _0x47113d=path[_0x6ea546(0xfc)](helper[_0x6ea546(0x1b0)](),_0x25a42c[_0x6ea546(0x158)]);!fs[_0x6ea546(0x185)](_0x47113d)&&fs[_0x6ea546(0x1a5)](_0x47113d),fs[_0x6ea546(0x185)](path['join'](_0x47113d,_0x6ea546(0x134)+_0x171515[_0x6ea546(0x160)]+_0x6ea546(0x1bf)))&&(_0x4a7a55=fs[_0x6ea546(0x150)](path[_0x6ea546(0xfc)](_0x47113d,_0x6ea546(0x134)+_0x171515['uuid']+_0x6ea546(0x1bf)),_0x25a42c[_0x6ea546(0x1a4)]),_0x25a42c[_0x6ea546(0xf4)](debug,_0x6ea546(0xf7)+_0x171515[_0x6ea546(0x160)]+_0x6ea546(0x1b8)+_0x4a7a55));}const _0x5efef8={};_0x5efef8[_0x6ea546(0x195)]=_0xcca87a,_0x5efef8[_0x6ea546(0x12e)]=_0x41490f;const _0x1c6e63=_0x5efef8;_0x4a7a55&&_0x25a42c[_0x6ea546(0x17e)](_0x4a7a55,'')&&_0x25a42c[_0x6ea546(0x1ba)](_0xcca87a,_0x25a42c[_0x6ea546(0x19c)])&&(!_0x1c6e63['logs']&&(_0x1c6e63[_0x6ea546(0x157)]=[]),_0x4a7a55[_0x6ea546(0x1a9)]('\x0a')[_0x6ea546(0x1ac)](_0x1e1406=>{const _0x5ab0d9=_0x6ea546;_0x1e1406&&_0x25a42c[_0x5ab0d9(0xf4)](validateFilePath,_0x1e1406)&&_0x1c6e63[_0x5ab0d9(0x157)]['push']({'kind':_0x25a42c[_0x5ab0d9(0x147)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x171515[_0x5ab0d9(0x160)],'file_name':path['basename'](_0x1e1406),'file_size':fs[_0x5ab0d9(0x11e)](_0x1e1406)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x6ea546(0xe2)](_0x1c6e63);}['getCustomRerunParam'](_0x2bf95d){const _0x4845d6=a46_0x4d9de4,_0x163b6e={};_0x163b6e[_0x4845d6(0x117)]=function(_0x3f9ef8,_0x354cef){return _0x3f9ef8===_0x354cef;},_0x163b6e[_0x4845d6(0x191)]=function(_0x3bca06,_0x246260){return _0x3bca06>_0x246260;},_0x163b6e[_0x4845d6(0xd5)]=function(_0x4e3f63,_0x35503a){return _0x4e3f63+_0x35503a;},_0x163b6e['ppIHK']=function(_0x348ac3,_0x1b6cc4){return _0x348ac3>_0x1b6cc4;},_0x163b6e[_0x4845d6(0x18d)]=function(_0x408965,_0x28fcdc){return _0x408965+_0x28fcdc;};const _0x18b3eb=_0x163b6e,_0x185382=_0x2bf95d[_0x4845d6(0x1b9)]()[_0x4845d6(0x1d6)](_0x54bebc=>{const _0x57d032=_0x4845d6;if(_0x2bf95d[_0x57d032(0x174)]&&_0x18b3eb[_0x57d032(0x117)](_0x54bebc,_0x2bf95d[_0x57d032(0x174)][_0x57d032(0x129)])&&_0x2bf95d[_0x57d032(0x174)][_0x57d032(0x1c0)]&&_0x18b3eb['Emgtv'](_0x2bf95d[_0x57d032(0x174)]['_tags'][_0x57d032(0x16a)],0x0))return _0x18b3eb['mzIlp'](_0x18b3eb[_0x57d032(0xd5)](_0x54bebc,'\x20'),_0x2bf95d[_0x57d032(0x174)][_0x57d032(0x1c0)]['join']('\x20'));if(_0x18b3eb[_0x57d032(0x117)](_0x54bebc,_0x2bf95d[_0x57d032(0x129)])&&_0x2bf95d[_0x57d032(0x1c0)]&&_0x18b3eb[_0x57d032(0xe4)](_0x2bf95d['_tags']['length'],0x0))return _0x18b3eb['mzIlp'](_0x18b3eb[_0x57d032(0x18d)](_0x54bebc,'\x20'),_0x2bf95d[_0x57d032(0x1c0)]['join']('\x20'));return _0x54bebc;})['join']('\x20');return _0x185382;}static async['sendSessionDetails'](_0x476457,_0x421fa4){const _0x4b8b66=a46_0x4d9de4,_0x47516b={'pdMLb':function(_0x4b0454,_0xb6fe56){return _0x4b0454(_0xb6fe56);},'rGFcT':_0x4b8b66(0x128)},_0x24cc4b={'uuid':TestDetails[_0x4b8b66(0x164)](_0x476457),'integrations':_0x421fa4},_0x4be048={};_0x4be048['depth']=null,_0x47516b[_0x4b8b66(0xda)](debug,_0x4b8b66(0xe0)+_0x476457+',\x20'+util['inspect'](_0x421fa4,_0x4be048));const _0x217132={};_0x217132[_0x4b8b66(0x195)]=_0x47516b[_0x4b8b66(0xd7)],_0x217132[_0x4b8b66(0x12e)]=_0x24cc4b,await SessionHandler['uploadEventData'](_0x217132);}async[a46_0x4d9de4(0x197)](){const _0x35a333=a46_0x4d9de4,_0x245deb={'HjoRy':function(_0x40c38c){return _0x40c38c();}};if(this[_0x35a333(0x196)])return;const _0x32c5bf=await _0x245deb[_0x35a333(0x1a6)](getGitMetaData);_0x32c5bf&&(this[_0x35a333(0xed)]=_0x32c5bf[_0x35a333(0xfe)]),this['_gitConfigured']=!![];}[a46_0x4d9de4(0x1d7)](_0x2ddb9f){const _0x2d0fdd=a46_0x4d9de4,_0x33dfd7={};_0x33dfd7[_0x2d0fdd(0x1db)]=function(_0x3f832d,_0x5011bd){return _0x3f832d!==_0x5011bd;};const _0x46a5d1=_0x33dfd7,_0x5bf30c=[];if(_0x2ddb9f&&_0x2ddb9f['parent']){let _0x538658=_0x2ddb9f[_0x2d0fdd(0x174)];while(_0x538658&&_0x46a5d1[_0x2d0fdd(0x1db)](_0x538658[_0x2d0fdd(0x129)],'')){_0x5bf30c[_0x2d0fdd(0x181)](_0x538658[_0x2d0fdd(0x129)]),_0x538658=_0x538658[_0x2d0fdd(0x174)];}}return _0x5bf30c[_0x2d0fdd(0x137)]()[_0x2d0fdd(0xd4)](0x0,0x2),_0x5bf30c;}[a46_0x4d9de4(0x16b)](_0x3ebdce){const _0x50e6b6=a46_0x4d9de4,_0x4f84ca={};_0x4f84ca[_0x50e6b6(0x15c)]=function(_0x57ab75,_0x42234d){return _0x57ab75!==_0x42234d;},_0x4f84ca[_0x50e6b6(0x18c)]='hook',_0x4f84ca[_0x50e6b6(0x132)]=function(_0x3f0ec4,_0x1ee6e9){return _0x3f0ec4===_0x1ee6e9;},_0x4f84ca[_0x50e6b6(0x12c)]=_0x50e6b6(0x15b),_0x4f84ca[_0x50e6b6(0x1a3)]=_0x50e6b6(0x119),_0x4f84ca[_0x50e6b6(0xee)]=_0x50e6b6(0x155),_0x4f84ca[_0x50e6b6(0x123)]='afterEach\x20hook';const _0x825b3f=_0x4f84ca;if(_0x825b3f[_0x50e6b6(0x15c)](_0x3ebdce[_0x50e6b6(0x107)],_0x825b3f[_0x50e6b6(0x18c)]))return![];if(_0x825b3f[_0x50e6b6(0x132)]([_0x825b3f[_0x50e6b6(0x12c)],_0x825b3f['DxvFw'],_0x825b3f[_0x50e6b6(0xee)],_0x825b3f['RVJUy']]['indexOf'](_0x3ebdce[_0x50e6b6(0x129)]),-0x1))return![];return!![];}[a46_0x4d9de4(0x152)](_0x4db1dd,_0x3e7b71){const _0x2ef5a1=a46_0x4d9de4,_0x31c9e8={'asPLH':function(_0x45d084,_0x5f4a7f){return _0x45d084(_0x5f4a7f);}},_0x15b9bb=_0x3e7b71[_0x2ef5a1(0xe9)];if(_0x15b9bb)return _0x15b9bb;return _0x3e7b71[_0x2ef5a1(0x129)]+_0x2ef5a1(0x15d)+_0x31c9e8[_0x2ef5a1(0xf2)](getTestIdentifier,_0x4db1dd);}[a46_0x4d9de4(0xec)](_0xb60c9,_0x534647){const _0x5dc44d=a46_0x4d9de4,_0x2c7809={'BoSqW':function(_0x177138,_0x3ce229){return _0x177138(_0x3ce229);},'qaZug':function(_0x8be580){return _0x8be580();}};let _0x39dcc6=_0x534647['title']+'\x20for\x20'+_0x2c7809['BoSqW'](getTestIdentifier,_0xb60c9);return this['_tests'][_0x39dcc6]&&(_0x39dcc6=_0x39dcc6+_0x5dc44d(0x15f)+_0x2c7809[_0x5dc44d(0x1bd)](uuidv4)),_0x534647['_bs_hookIdentifier']=_0x39dcc6,_0x39dcc6;}[a46_0x4d9de4(0x1be)]=_0x1cc855=>{const _0x22de6c=a46_0x4d9de4,_0x3c2691={};_0x3c2691['OLduf']=_0x22de6c(0x15b),_0x3c2691[_0x22de6c(0x13d)]=_0x22de6c(0x1b3),_0x3c2691[_0x22de6c(0x19f)]=_0x22de6c(0x119),_0x3c2691[_0x22de6c(0xd2)]=_0x22de6c(0x1a0),_0x3c2691[_0x22de6c(0x139)]='afterEach\x20hook',_0x3c2691[_0x22de6c(0x1af)]=_0x22de6c(0x1cd),_0x3c2691['hzXEa']=_0x22de6c(0x155),_0x3c2691[_0x22de6c(0x120)]=_0x22de6c(0x1bc),_0x3c2691[_0x22de6c(0x121)]='unknown';const _0x2d6b68=_0x3c2691;if(_0x1cc855[_0x22de6c(0x126)](_0x2d6b68[_0x22de6c(0x14b)]))return _0x2d6b68[_0x22de6c(0x13d)];else{if(_0x1cc855[_0x22de6c(0x126)](_0x2d6b68[_0x22de6c(0x19f)]))return _0x2d6b68[_0x22de6c(0xd2)];else{if(_0x1cc855[_0x22de6c(0x126)](_0x2d6b68['XVJdP']))return _0x2d6b68[_0x22de6c(0x1af)];else{if(_0x1cc855[_0x22de6c(0x126)](_0x2d6b68[_0x22de6c(0x103)]))return _0x2d6b68[_0x22de6c(0x120)];}}}return _0x2d6b68[_0x22de6c(0x121)];};[a46_0x4d9de4(0x15e)]=_0x5355bc=>{const _0x31f122=a46_0x4d9de4,_0x150cd5={};_0x150cd5[_0x31f122(0x166)]=function(_0x10263a,_0x16bb43){return _0x10263a===_0x16bb43;},_0x150cd5['MONYA']=_0x31f122(0x1aa);const _0x57a7e8=_0x150cd5;let _0x437bad=_0x5355bc[_0x31f122(0x174)];return _0x57a7e8[_0x31f122(0x166)](typeof _0x5355bc[_0x31f122(0x174)],_0x57a7e8[_0x31f122(0x146)])&&(_0x437bad=_0x437bad['title']),_0x437bad+_0x31f122(0x15f)+_0x5355bc[_0x31f122(0x129)];};[a46_0x4d9de4(0xdb)](){return![];}}module[a46_0x4d9de4(0x15a)]=o11yClassErrorHandler(MyReporter,[a46_0x4d9de4(0xea),a46_0x4d9de4(0x12b),a46_0x4d9de4(0x1d3),a46_0x4d9de4(0xeb),a46_0x4d9de4(0x1a2),a46_0x4d9de4(0xd9),a46_0x4d9de4(0x154)],a46_0x4d9de4(0x10f));
1
+ const a46_0x5e582f=a46_0x19d5;function a46_0x19d5(_0x27566c,_0x562fe2){const _0x5d5d01=a46_0x5d5d();return a46_0x19d5=function(_0x19d516,_0x3679a3){_0x19d516=_0x19d516-0x192;let _0x2111f6=_0x5d5d01[_0x19d516];return _0x2111f6;},a46_0x19d5(_0x27566c,_0x562fe2);}(function(_0x4b703a,_0x235843){const _0x54a894=a46_0x19d5,_0x4af319=_0x4b703a();while(!![]){try{const _0x2a8e5a=-parseInt(_0x54a894(0x1c2))/0x1*(parseInt(_0x54a894(0x264))/0x2)+parseInt(_0x54a894(0x26c))/0x3*(-parseInt(_0x54a894(0x1bb))/0x4)+parseInt(_0x54a894(0x25a))/0x5*(parseInt(_0x54a894(0x27b))/0x6)+-parseInt(_0x54a894(0x1f1))/0x7+-parseInt(_0x54a894(0x204))/0x8+-parseInt(_0x54a894(0x22c))/0x9*(-parseInt(_0x54a894(0x1d7))/0xa)+parseInt(_0x54a894(0x247))/0xb;if(_0x2a8e5a===_0x235843)break;else _0x4af319['push'](_0x4af319['shift']());}catch(_0x48506b){_0x4af319['push'](_0x4af319['shift']());}}}(a46_0x5d5d,0x21237));const RequestQueueHandler=require(a46_0x5e582f(0x1ac)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a46_0x5e582f(0x1e3)),{v4:uuidv4}=require(a46_0x5e582f(0x1df)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a46_0x5e582f(0x267)),TestDetails=require(a46_0x5e582f(0x269)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a46_0x5e582f(0x254)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a46_0x5e582f(0x1e0)),SessionHandler=require(a46_0x5e582f(0x1b7)),{appendTesthubParams}=require(a46_0x5e582f(0x255)),helper=require('../../../helpers/helper'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a46_0x5e582f(0x1ca)),HookState=require('../../v2/state/hookState'),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a46_0x5e582f(0x22a));class MyReporter{constructor(_0x4098c2){const _0xa002be=a46_0x5e582f,_0x1bd7bb={'Yogkc':_0xa002be(0x209),'hveaC':_0xa002be(0x212),'BPWvx':function(_0x3078ec,_0x297fbb,_0xaaf40d,_0x4acb91){return _0x3078ec(_0x297fbb,_0xaaf40d,_0x4acb91);}},_0x50043b=_0x1bd7bb[_0xa002be(0x1dc)][_0xa002be(0x288)]('|');let _0x4dbc9b=0x0;while(!![]){switch(_0x50043b[_0x4dbc9b++]){case'0':this[_0xa002be(0x281)]={};continue;case'1':this[_0xa002be(0x1d0)]=![];continue;case'2':this[_0xa002be(0x20c)]={};continue;case'3':process[_0xa002be(0x1ce)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0xa002be(0x26d)](_0x1bd7bb[_0xa002be(0x242)]),process[_0xa002be(0x1ce)][_0xa002be(0x243)]=new Date()[_0xa002be(0x1f0)]());continue;case'4':const _0x47b8ff={};_0x47b8ff[_0xa002be(0x273)]=process[_0xa002be(0x1ce)][_0xa002be(0x292)],_0x1bd7bb['BPWvx'](setLogLevel,_0x47b8ff,new Map(),new Map());continue;case'5':this[_0xa002be(0x215)]=_0x4098c2;continue;case'6':this['_gitConfigPath']=null;continue;}break;}}async['onBegin'](){const _0x26181a=a46_0x5e582f;TestDetails[_0x26181a(0x1c8)](),await this['configureGit'](),TestInfo[_0x26181a(0x1c8)]();if(BrowserstackCLI[_0x26181a(0x285)]()[_0x26181a(0x202)]()){await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x26181a(0x28b)](TestFrameworkState[_0x26181a(0x217)],HookState[_0x26181a(0x1fa)],{});return;}}async[a46_0x5e582f(0x1d6)](_0x25d234,_0x4c0205){const _0x2be203=a46_0x5e582f,_0x2a9294={'IsQPM':function(_0x490232,_0x164135){return _0x490232(_0x164135);},'JiSWi':function(_0x49aa59,_0x418e67,_0x256a91){return _0x49aa59(_0x418e67,_0x256a91);},'WIvlW':function(_0x5345ce,_0x32683c){return _0x5345ce(_0x32683c);},'YNChx':_0x2be203(0x1ea)};if(BrowserstackCLI['getInstance']()[_0x2be203(0x202)]()){const _0xf95807={};_0xf95807[_0x2be203(0x24c)]=_0x25d234,_0xf95807[_0x2be203(0x1da)]=_0x4c0205,await BrowserstackCLI[_0x2be203(0x285)]()[_0x2be203(0x1d4)]()[_0x2be203(0x28b)](TestFrameworkState[_0x2be203(0x25c)],HookState['PRE'],_0xf95807);return;}const _0xd9bc85=_0x2a9294[_0x2be203(0x29c)](getTestIdentifier,_0x25d234),_0x2247ac=TestDetails[_0x2be203(0x1a4)](_0x2a9294[_0x2be203(0x272)](getTestRunIdentifier,_0x25d234,_0x4c0205[_0x2be203(0x1a8)]));process[_0x2be203(0x1ce)][_0x2be203(0x1f3)]=_0x2247ac;const _0x22026a={};_0x22026a[_0x2be203(0x1df)]=_0x2247ac,_0x22026a['startedAt']=_0x4c0205[_0x2be203(0x1ab)],this[_0x2be203(0x281)][_0xd9bc85]=_0x22026a,_0x2a9294[_0x2be203(0x20f)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0xd9bc85),await this[_0x2be203(0x29d)](_0x25d234,_0x2a9294[_0x2be203(0x29f)],_0x4c0205);}async['onStepBegin'](_0x2f91d8,_0x32586b,_0xcda5f8){const _0x6b80e5=a46_0x5e582f,_0x3efcb6={'UWSxJ':function(_0x50b042,_0x34c58a,_0x17662c){return _0x50b042(_0x34c58a,_0x17662c);},'KWgfb':function(_0x4f3858,_0xf26b7f){return _0x4f3858(_0xf26b7f);},'VTcLc':_0x6b80e5(0x1b8)};if(!this['needToReportStep'](_0xcda5f8,_0x2f91d8))return;if(BrowserstackCLI[_0x6b80e5(0x285)]()[_0x6b80e5(0x202)]()){const _0x47f033=this['getHookType'](_0xcda5f8[_0x6b80e5(0x1f5)]),_0x24bc9e=TestFrameworkState[_0x47f033],_0x233442={};_0x233442[_0x6b80e5(0x24c)]=_0x2f91d8,_0x233442['result']=_0x32586b,_0x233442[_0x6b80e5(0x1e2)]=_0xcda5f8,await BrowserstackCLI[_0x6b80e5(0x285)]()[_0x6b80e5(0x1d4)]()[_0x6b80e5(0x28b)](_0x24bc9e,HookState[_0x6b80e5(0x1fa)],_0x233442);return;}const _0x12d208=this[_0x6b80e5(0x1d1)](_0x2f91d8,_0xcda5f8);this[_0x6b80e5(0x281)][_0x12d208]={'uuid':TestDetails[_0x6b80e5(0x1a4)](_0x12d208),'startedAt':_0xcda5f8[_0x6b80e5(0x1ab)]['toISOString']()};const _0x41ded0=_0x3efcb6[_0x6b80e5(0x251)](getTestRunIdentifier,_0x2f91d8,_0x32586b['retry']);!this['_testHooksMap'][_0x41ded0]&&(this[_0x6b80e5(0x20c)][_0x41ded0]=[]),this[_0x6b80e5(0x20c)][_0x41ded0]['push'](this[_0x6b80e5(0x281)][_0x12d208][_0x6b80e5(0x1df)]),_0x3efcb6[_0x6b80e5(0x27d)](trace,_0x6b80e5(0x1fd)+_0x12d208+_0x6b80e5(0x271)+_0x41ded0),await this['sendHookRunEvent'](_0x2f91d8,_0xcda5f8,_0x3efcb6[_0x6b80e5(0x23c)],_0x32586b);}async[a46_0x5e582f(0x1fc)](_0x152691,_0x4d9b7b,_0x392332){const _0x59ab25=a46_0x5e582f,_0x1f790e={'bkWkR':function(_0x39c05d,_0x3d0225){return _0x39c05d+_0x3d0225;},'PtERc':function(_0x558217,_0x295bcb){return _0x558217(_0x295bcb);},'suMYP':_0x59ab25(0x262)};if(!this['needToReportStep'](_0x392332,_0x152691))return;if(BrowserstackCLI[_0x59ab25(0x285)]()[_0x59ab25(0x202)]()){const _0x9c50a=this[_0x59ab25(0x1c9)](_0x392332[_0x59ab25(0x1f5)]),_0x1657dc=TestFrameworkState[_0x9c50a],_0x31794a={};_0x31794a[_0x59ab25(0x24c)]=_0x152691,_0x31794a[_0x59ab25(0x1da)]=_0x4d9b7b,_0x31794a['step']=_0x392332,await BrowserstackCLI['getInstance']()[_0x59ab25(0x1d4)]()[_0x59ab25(0x28b)](_0x1657dc,HookState[_0x59ab25(0x256)],_0x31794a);return;}const _0x1650b2=this[_0x59ab25(0x240)](_0x152691,_0x392332);this[_0x59ab25(0x281)][_0x1650b2]={...this['_tests'][_0x1650b2]||{},'finishedAt':new Date(_0x1f790e[_0x59ab25(0x233)](_0x392332[_0x59ab25(0x1ab)][_0x59ab25(0x234)](),_0x392332[_0x59ab25(0x1db)]))},_0x1f790e[_0x59ab25(0x259)](trace,_0x59ab25(0x193)+_0x1650b2+'\x20is\x20triggered'),await this[_0x59ab25(0x241)](_0x152691,_0x392332,_0x1f790e[_0x59ab25(0x21e)],_0x4d9b7b);}async['onTestEnd'](_0x70a4f5,_0x305d18){const _0x1ebf66=a46_0x5e582f,_0x3523df={'kjZZn':function(_0x2d6d48,_0x2fe7ef){return _0x2d6d48===_0x2fe7ef;},'psiZE':_0x1ebf66(0x276),'HrvIg':_0x1ebf66(0x299),'SpGaz':_0x1ebf66(0x1a5),'NkoEa':function(_0x102b8c,_0x23374a){return _0x102b8c(_0x23374a);},'fssNk':function(_0x373cb0,_0x2ad448,_0x200675){return _0x373cb0(_0x2ad448,_0x200675);},'EyVfP':function(_0x3ff9e7,_0xb5b61c){return _0x3ff9e7(_0xb5b61c);},'ZiLcr':_0x1ebf66(0x205),'nscUu':function(_0x3d620e,_0x3426ed){return _0x3d620e(_0x3426ed);},'qTIxW':_0x1ebf66(0x277),'CXfcR':function(_0x17a132,_0x33423d){return _0x17a132(_0x33423d);},'nxQtq':function(_0x4f8811,_0x3aad14,_0x182492){return _0x4f8811(_0x3aad14,_0x182492);},'DxaZD':_0x1ebf66(0x206),'KMCUH':function(_0xa73d2d,_0x1571d5){return _0xa73d2d>_0x1571d5;}};if(BrowserstackCLI[_0x1ebf66(0x285)]()[_0x1ebf66(0x202)]()){const _0x33d696={};_0x33d696[_0x1ebf66(0x24c)]=_0x70a4f5,_0x33d696[_0x1ebf66(0x1da)]=_0x305d18,await BrowserstackCLI[_0x1ebf66(0x285)]()['getTestFramework']()[_0x1ebf66(0x28b)](TestFrameworkState[_0x1ebf66(0x25c)],HookState[_0x1ebf66(0x256)],_0x33d696);return;}const _0x1a494c=_0x3523df[_0x1ebf66(0x295)](getTestIdentifier,_0x70a4f5),_0x28a4d0=TestDetails[_0x1ebf66(0x1a4)](_0x3523df[_0x1ebf66(0x257)](getTestRunIdentifier,_0x70a4f5,_0x305d18[_0x1ebf66(0x1a8)]));this[_0x1ebf66(0x281)][_0x1a494c]={...this['_tests'][_0x1a494c]||{},'finishedAt':new Date()[_0x1ebf66(0x1f0)]()},_0x3523df[_0x1ebf66(0x253)](debug,_0x1ebf66(0x1d8)+_0x1a494c);try{await this[_0x1ebf66(0x29d)](_0x70a4f5,_0x3523df['ZiLcr'],_0x305d18);}catch(_0x1eaf15){_0x3523df['nscUu'](debug,util[_0x1ebf66(0x23e)](_0x3523df[_0x1ebf66(0x26f)],_0x1eaf15[_0x1ebf66(0x1ba)]()));}try{_0x3523df[_0x1ebf66(0x197)](debug,_0x1ebf66(0x23d)+_0x28a4d0),await _0x3523df['nxQtq'](sendTraceZip,_0x305d18,_0x28a4d0);}catch(_0x580e0e){_0x3523df[_0x1ebf66(0x197)](debug,util[_0x1ebf66(0x23e)](_0x3523df[_0x1ebf66(0x228)],_0x580e0e[_0x1ebf66(0x1ba)]()));}const _0x2e6113=[];_0x305d18[_0x1ebf66(0x195)]&&_0x305d18['attachments'][_0x1ebf66(0x1b5)](_0x2b5dd1=>{const _0x5819c9=_0x1ebf66;if(_0x3523df[_0x5819c9(0x25e)](_0x2b5dd1[_0x5819c9(0x203)],_0x3523df['psiZE'])){if(!_0x2b5dd1[_0x5819c9(0x237)]||!fs[_0x5819c9(0x20a)](_0x2b5dd1['path']))return;_0x2e6113[_0x5819c9(0x1b1)]({'test_run_uuid':_0x28a4d0,'timestamp':fs[_0x5819c9(0x29b)](_0x2b5dd1[_0x5819c9(0x237)])[_0x5819c9(0x293)],'kind':_0x3523df[_0x5819c9(0x29e)],'message':fs[_0x5819c9(0x1ae)](_0x2b5dd1['path'],{'encoding':_0x3523df[_0x5819c9(0x224)]})});}}),_0x3523df[_0x1ebf66(0x1f6)](_0x2e6113[_0x1ebf66(0x27e)],0x0)&&await MyReporter[_0x1ebf66(0x286)](_0x2e6113);}async['endSession'](){const _0x323788=a46_0x5e582f;await RequestQueueHandler['getInstance']()[_0x323788(0x225)]();}async[a46_0x5e582f(0x26b)](_0x2f8316){const _0x1c6da7=a46_0x5e582f,_0x2cf18e={'pwTPf':function(_0x51b94b){return _0x51b94b();},'klDQZ':function(_0x43a67b,_0x87bfde){return _0x43a67b(_0x87bfde);}};await this[_0x1c6da7(0x1ec)]();try{process[_0x1c6da7(0x1ce)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x2cf18e[_0x1c6da7(0x1e9)](calculatePerformance);}catch(_0x33b9cb){_0x2cf18e[_0x1c6da7(0x192)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x33b9cb[_0x1c6da7(0x1ba)]());}}static async['addTestUIDAndReportLog'](_0x5a9991,_0x1c3a5f){const _0x3a1c24=a46_0x5e582f;_0x1c3a5f[_0x3a1c24(0x200)]=TestDetails['getTestUUID'](_0x5a9991),await this[_0x3a1c24(0x286)]([_0x1c3a5f]);}static async['reportLogs'](_0x4beee4){const _0x256101=a46_0x5e582f,_0x17d598={};_0x17d598['YihUC']=_0x256101(0x26a);const _0x2c1859=_0x17d598;if(BrowserstackCLI[_0x256101(0x285)]()['isRunning']())return;const _0x2f829b={};_0x2f829b[_0x256101(0x232)]=_0x2c1859[_0x256101(0x283)],_0x2f829b['logs']=_0x4beee4,await SessionHandler[_0x256101(0x291)](_0x2f829b);}async[a46_0x5e582f(0x241)](_0x4af2da,_0x2829b3,_0x28e48d,_0xa669d7){const _0x24cb69=a46_0x5e582f,_0x52cc33={'vzPdS':_0x24cb69(0x24e),'wDYCp':_0x24cb69(0x1f8),'dDSIC':_0x24cb69(0x1fb),'xtIDo':function(_0x4df955,_0x23a4a5){return _0x4df955>=_0x23a4a5;},'AJVNU':function(_0x3bcabb,_0x15451d){return _0x3bcabb===_0x15451d;},'nMYdG':'HookRunFinished','Hmxcf':function(_0x435269,_0x87e505){return _0x435269>_0x87e505;},'GtUbZ':_0x24cb69(0x22f),'Irrqc':function(_0x5b01f2,_0x582df9){return _0x5b01f2(_0x582df9);},'VCVNq':function(_0x304a94,_0xc6680b){return _0x304a94(_0xc6680b);},'FjFIc':function(_0x12f7e9,_0xf30184,_0x2a85a2){return _0x12f7e9(_0xf30184,_0x2a85a2);},'uNXTU':'err','NsnbG':_0x24cb69(0x1f2)},_0x440779=this['getStepIdentifier'](_0x4af2da,_0x2829b3),_0x109728=this['_tests'][_0x440779],_0xf17761={'uuid':_0x109728[_0x24cb69(0x1df)],'type':_0x52cc33['vzPdS'],'hook_type':this[_0x24cb69(0x1c9)](_0x2829b3['title']),'name':_0x2829b3[_0x24cb69(0x1f5)],'scope':this[_0x24cb69(0x297)](_0x2829b3),'scopes':this[_0x24cb69(0x19b)](_0x4af2da),'body':{'lang':_0x52cc33[_0x24cb69(0x258)],'code':null},'identifier':_0x440779,'file_name':path['relative'](process['cwd'](),_0x4af2da[_0x24cb69(0x1af)][_0x24cb69(0x229)]),'location':path[_0x24cb69(0x261)](process['cwd'](),_0x4af2da[_0x24cb69(0x1af)][_0x24cb69(0x229)]),'result':_0x52cc33[_0x24cb69(0x1a0)],'duration_in_ms':_0x52cc33['xtIDo'](_0x2829b3[_0x24cb69(0x1db)],0x0)?_0x2829b3[_0x24cb69(0x1db)]:undefined,'vc_filepath':this[_0x24cb69(0x216)]&&_0x4af2da[_0x24cb69(0x1af)][_0x24cb69(0x229)]?path['relative'](this[_0x24cb69(0x216)],_0x4af2da['location'][_0x24cb69(0x229)]):undefined,'started_at':_0x109728['startedAt'],'finished_at':_0x109728['finishedAt'],'framework':FRAMEWORKS[_0x24cb69(0x21b)]};if(_0x52cc33[_0x24cb69(0x22e)](_0x28e48d,_0x52cc33['nMYdG'])){const {steps:_0x483595,logs:_0x5d0f3e}=this[_0x24cb69(0x19f)](_0x2829b3[_0x24cb69(0x19c)],_0x109728[_0x24cb69(0x1df)],_0x52cc33['vzPdS']);_0x5d0f3e&&_0x52cc33['Hmxcf'](_0x5d0f3e[_0x24cb69(0x27e)],0x0)&&await MyReporter[_0x24cb69(0x286)](_0x5d0f3e);const _0x17001a={};_0x17001a[_0x24cb69(0x19c)]=_0x483595,_0xf17761[_0x24cb69(0x1a7)]=_0x17001a;if(_0x2829b3[_0x24cb69(0x213)]){_0xf17761[_0x24cb69(0x1da)]=_0x52cc33['GtUbZ'],_0xf17761[_0x24cb69(0x220)]=_0x52cc33[_0x24cb69(0x1f7)](removeAnsiColors,_0x2829b3[_0x24cb69(0x213)][_0x24cb69(0x22b)]),_0xf17761['failure_type']=_0x52cc33[_0x24cb69(0x266)](getFailureType,_0x2829b3[_0x24cb69(0x213)][_0x24cb69(0x22b)]);const _0x13db69=_0x52cc33[_0x24cb69(0x219)](failureData,_0x2829b3[_0x24cb69(0x213)],_0x52cc33[_0x24cb69(0x25f)]);if(_0x13db69&&_0x52cc33['AJVNU'](_0x13db69['length'],0x0)){const _0x588abc={};_0x588abc['backtrace']=[_0xf17761[_0x24cb69(0x220)]],_0x588abc[_0x24cb69(0x24f)]=[],_0x13db69[_0x24cb69(0x1b1)](_0x588abc);}_0xf17761[_0x24cb69(0x1b2)]=_0x13db69;}else _0xf17761[_0x24cb69(0x1da)]=_0x52cc33[_0x24cb69(0x1a3)];}const _0x44518b={};_0x44518b[_0x24cb69(0x232)]=_0x28e48d,_0x44518b[_0x24cb69(0x1c1)]=_0xf17761;const _0x355d87=_0x44518b;await SessionHandler[_0x24cb69(0x291)](_0x355d87);}[a46_0x5e582f(0x19f)](_0x22cd67,_0x80c255,_0x5cbd5a){const _0x3a18b9=a46_0x5e582f,_0x3d8e36={'puJNn':function(_0x1e6792,_0x44ba01){return _0x1e6792===_0x44ba01;},'yTkpj':_0x3a18b9(0x24e),'rOTlF':_0x3a18b9(0x249),'hYhhN':function(_0x505f9a,_0xc484e7){return _0x505f9a===_0xc484e7;},'ciqxM':_0x3a18b9(0x26e),'pTIWw':function(_0x16f509,_0xee7083){return _0x16f509===_0xee7083;},'PnZzE':_0x3a18b9(0x24c),'isqVU':'test_run_uuid','lfjlZ':'hook_run_uuid','xQrRq':_0x3a18b9(0x27f),'KcOEZ':_0x3a18b9(0x22f),'mPNFZ':'passed','gFako':function(_0x2d1941,_0x445d6f){return _0x2d1941(_0x445d6f);},'kfpTe':function(_0x44ada2){return _0x44ada2();},'fhnEt':function(_0x1f7cad,_0x54de28){return _0x1f7cad(_0x54de28);},'QHRyM':function(_0x30c202,_0x3c1e4d,_0xc1ff7f){return _0x30c202(_0x3c1e4d,_0xc1ff7f);},'aWKDx':function(_0x12def1,_0x4416fb,_0x906938){return _0x12def1(_0x4416fb,_0x906938);}},_0x2a5f04=[],_0x262564=[],_0x200db7=_0x22cd67[_0x3a18b9(0x24d)](_0x3718c9=>{const _0x332538=_0x3a18b9;if(_0x3d8e36[_0x332538(0x1c0)](_0x3718c9[_0x332538(0x289)],_0x3d8e36[_0x332538(0x236)])&&(_0x3d8e36[_0x332538(0x1c0)](_0x3718c9[_0x332538(0x1f5)],_0x3d8e36['rOTlF'])||_0x3d8e36['hYhhN'](_0x3718c9[_0x332538(0x1f5)],_0x3d8e36[_0x332538(0x22d)])))return![];return!![];}),_0x53175c=(_0x51d4d2,_0x4611fc=![])=>{const _0x26229e=_0x3a18b9;if(_0x3d8e36[_0x26229e(0x23b)](_0x51d4d2[_0x26229e(0x19c)]['length'],0x0)){const _0x2ddf0b=_0x3d8e36[_0x26229e(0x24b)](_0x5cbd5a,_0x3d8e36[_0x26229e(0x28c)])?_0x3d8e36[_0x26229e(0x27c)]:_0x3d8e36[_0x26229e(0x1c7)];_0x262564[_0x26229e(0x1b1)]({'kind':_0x3d8e36[_0x26229e(0x27a)],[_0x2ddf0b]:_0x80c255,'message':_0x51d4d2['title'],'timestamp':_0x51d4d2['startTime'][_0x26229e(0x1f0)](),'level':_0x51d4d2[_0x26229e(0x213)]?_0x3d8e36['KcOEZ']:_0x3d8e36['mPNFZ'],'duration':_0x51d4d2[_0x26229e(0x1db)],'failure':_0x51d4d2[_0x26229e(0x213)]&&_0x51d4d2[_0x26229e(0x213)][_0x26229e(0x22b)]&&_0x3d8e36[_0x26229e(0x231)](removeAnsiColors,_0x51d4d2['error'][_0x26229e(0x22b)]),'failure_type':_0x3d8e36['gFako'](getFailureType,_0x51d4d2[_0x26229e(0x213)]&&_0x51d4d2[_0x26229e(0x213)][_0x26229e(0x22b)])});}else{!_0x4611fc&&_0x2a5f04[_0x26229e(0x1b1)]({'id':_0x3d8e36[_0x26229e(0x21c)](uuidv4),'text':_0x51d4d2[_0x26229e(0x1f5)],'keyword':undefined,'started_at':_0x51d4d2[_0x26229e(0x1ab)][_0x26229e(0x1f0)](),'duration':_0x51d4d2['duration'],'result':_0x51d4d2[_0x26229e(0x213)]?_0x3d8e36[_0x26229e(0x1bc)]:_0x3d8e36[_0x26229e(0x1c6)],'failure':_0x51d4d2['error']&&_0x51d4d2[_0x26229e(0x213)][_0x26229e(0x22b)]&&_0x3d8e36[_0x26229e(0x231)](removeAnsiColors,_0x51d4d2[_0x26229e(0x213)][_0x26229e(0x22b)]),'failure_type':_0x3d8e36[_0x26229e(0x1e1)](getFailureType,_0x51d4d2[_0x26229e(0x213)]&&_0x51d4d2['error'][_0x26229e(0x22b)])});for(const _0x5ebe7c of _0x51d4d2['steps']){_0x3d8e36['QHRyM'](_0x53175c,_0x5ebe7c,!![]);}}};for(const _0x209e30 of _0x200db7){_0x3d8e36[_0x3a18b9(0x1f4)](_0x53175c,_0x209e30,![]);}const _0x75dd23={};return _0x75dd23[_0x3a18b9(0x19c)]=_0x2a5f04,_0x75dd23['logs']=_0x262564,_0x75dd23;}async[a46_0x5e582f(0x29d)](_0x31e87f,_0x3cc7df,_0x1f3746){const _0x4e71f0=a46_0x5e582f,_0x2fc79e={'JKlJL':function(_0x416b19,_0x28a48b){return _0x416b19(_0x28a48b);},'Szxiz':'TEST_ATTACHMENT','VdFio':function(_0x1e4ab7,_0x51d8f3){return _0x1e4ab7(_0x51d8f3);},'bAayo':'test','voYZJ':_0x4e71f0(0x1f8),'fypzx':'pending','RPDun':function(_0x46125c,_0x20eb4d){return _0x46125c(_0x20eb4d);},'gEUNv':function(_0x56c9b0,_0x44e1a1,_0x118427,_0x4cbb91,_0x1b93f2){return _0x56c9b0(_0x44e1a1,_0x118427,_0x4cbb91,_0x1b93f2);},'EEtdz':function(_0x23d8ca,_0x55d322){return _0x23d8ca>_0x55d322;},'AmFJZ':function(_0x5c7e85,_0x496d2c,_0x4ca586){return _0x5c7e85(_0x496d2c,_0x4ca586);},'Plclj':function(_0x486d60,_0x2c78a1){return _0x486d60-_0x2c78a1;},'iyxCO':function(_0x3e2ee,_0x463d8f){return _0x3e2ee===_0x463d8f;},'VEFvv':_0x4e71f0(0x205),'CfTYa':function(_0x44444c,_0x1f7515){return _0x44444c===_0x1f7515;},'CXheg':_0x4e71f0(0x21a),'mTMRb':'passed','OOStM':'failed','NHzkJ':_0x4e71f0(0x294),'AZucI':_0x4e71f0(0x1ad),'IDasi':function(_0x127de4,_0x392295,_0x4f40fa){return _0x127de4(_0x392295,_0x4f40fa);},'ovCnI':function(_0x490079,_0x1d98ae){return _0x490079(_0x1d98ae);},'SugbH':function(_0x180920,_0x43a621,_0x30e983){return _0x180920(_0x43a621,_0x30e983);},'lAStB':_0x4e71f0(0x237),'NKGiI':function(_0x5c1546,_0x3be7e3){return _0x5c1546(_0x3be7e3);},'sHMAm':_0x4e71f0(0x28e),'lByaf':'utf8','MpYjE':function(_0x5be171,_0x245c61){return _0x5be171(_0x245c61);},'hSdLf':function(_0x2f9e0a,_0x40d9f6){return _0x2f9e0a!==_0x40d9f6;},'sdEHD':function(_0xc05fb3,_0x11e01e){return _0xc05fb3===_0x11e01e;}},_0x2a08da=_0x2fc79e[_0x4e71f0(0x239)](getTestIdentifier,_0x31e87f),_0x3e87ac=this[_0x4e71f0(0x297)](_0x31e87f),_0x13e95a=this[_0x4e71f0(0x281)][_0x2a08da],_0x589a1f=path['relative'](process[_0x4e71f0(0x1be)](),_0x31e87f[_0x4e71f0(0x1af)][_0x4e71f0(0x229)]);await this[_0x4e71f0(0x244)]();const _0x36a7e1={'uuid':_0x13e95a['uuid'],'type':_0x2fc79e[_0x4e71f0(0x275)],'name':_0x31e87f[_0x4e71f0(0x1f5)],'body':{'lang':_0x2fc79e['voYZJ'],'code':_0x31e87f['fn'][_0x4e71f0(0x1ba)]()},'scope':_0x3e87ac,'scopes':this[_0x4e71f0(0x19b)](_0x31e87f),'identifier':_0x2a08da,'file_name':_0x589a1f,'location':_0x589a1f,'result':_0x2fc79e[_0x4e71f0(0x1e5)],'duration_in_ms':_0x1f3746&&_0x1f3746[_0x4e71f0(0x1db)]?_0x1f3746[_0x4e71f0(0x1db)]:null,'vc_filepath':this[_0x4e71f0(0x216)]&&_0x31e87f[_0x4e71f0(0x1af)]['file']?path[_0x4e71f0(0x261)](this[_0x4e71f0(0x216)],_0x31e87f['location']['file']):undefined,'started_at':_0x13e95a[_0x4e71f0(0x265)],'finished_at':_0x13e95a['finishedAt'],'framework':FRAMEWORKS[_0x4e71f0(0x21b)],'customRerunParam':{'rerun_name':this[_0x4e71f0(0x1dd)](_0x31e87f)},'tags':_0x2fc79e[_0x4e71f0(0x207)](getTestTags,_0x31e87f)};_0x2fc79e['gEUNv'](appendTesthubParams,_0x36a7e1,_0x3cc7df,_0x31e87f,FRAMEWORKS[_0x4e71f0(0x21b)]);_0x1f3746&&_0x2fc79e[_0x4e71f0(0x227)](_0x1f3746[_0x4e71f0(0x1a8)],0x0)&&(_0x36a7e1[_0x4e71f0(0x274)]=TestDetails[_0x4e71f0(0x1a4)](_0x2fc79e[_0x4e71f0(0x246)](getTestRunIdentifier,_0x31e87f,_0x2fc79e[_0x4e71f0(0x20d)](_0x1f3746[_0x4e71f0(0x1a8)],0x1))));if(_0x2fc79e['iyxCO'](_0x3cc7df,_0x2fc79e[_0x4e71f0(0x290)])){_0x36a7e1[_0x4e71f0(0x1da)]=_0x1f3746[_0x4e71f0(0x24a)];if(_0x2fc79e[_0x4e71f0(0x19a)](_0x1f3746[_0x4e71f0(0x24a)],_0x31e87f[_0x4e71f0(0x210)]))_0x36a7e1[_0x4e71f0(0x1da)]=_0x2fc79e['CfTYa'](_0x1f3746[_0x4e71f0(0x24a)],_0x2fc79e['CXheg'])?_0x2fc79e['CXheg']:_0x2fc79e['mTMRb'];else{(_0x2fc79e[_0x4e71f0(0x19a)](_0x36a7e1['result'],_0x2fc79e[_0x4e71f0(0x1ef)])||_0x2fc79e[_0x4e71f0(0x19a)](_0x36a7e1[_0x4e71f0(0x1da)],_0x2fc79e[_0x4e71f0(0x1c4)])||_0x2fc79e['iyxCO'](_0x36a7e1[_0x4e71f0(0x1da)],_0x2fc79e['NHzkJ']))&&(_0x36a7e1[_0x4e71f0(0x1da)]=_0x2fc79e[_0x4e71f0(0x1c4)]);if(_0x2fc79e[_0x4e71f0(0x19a)](_0x1f3746['status'],_0x2fc79e[_0x4e71f0(0x1ef)])&&_0x2fc79e[_0x4e71f0(0x280)](_0x31e87f['expectedStatus'],_0x2fc79e[_0x4e71f0(0x1c4)])){const _0x136589={};_0x136589[_0x4e71f0(0x22b)]=_0x2fc79e['AZucI'],_0x136589[_0x4e71f0(0x1aa)]=_0x2fc79e['AZucI'],_0x1f3746[_0x4e71f0(0x213)]=_0x136589,_0x1f3746[_0x4e71f0(0x1c3)]=[_0x1f3746[_0x4e71f0(0x213)]];}}const _0x423a5c=_0x2fc79e[_0x4e71f0(0x263)](getTestRunIdentifier,_0x31e87f,_0x1f3746[_0x4e71f0(0x1a8)]);_0x36a7e1['hooks']=this[_0x4e71f0(0x20c)][_0x423a5c];const {steps:_0x33bae7,logs:_0x1cacc4}=this[_0x4e71f0(0x19f)](_0x1f3746[_0x4e71f0(0x19c)],_0x13e95a[_0x4e71f0(0x1df)],_0x2fc79e[_0x4e71f0(0x275)]);await MyReporter['reportLogs'](_0x1cacc4);const _0x4316f1={};_0x4316f1[_0x4e71f0(0x19c)]=_0x33bae7,_0x36a7e1[_0x4e71f0(0x1a7)]=_0x4316f1;if(_0x1f3746[_0x4e71f0(0x213)]){_0x36a7e1['failure_reason']=_0x2fc79e[_0x4e71f0(0x1ee)](removeAnsiColors,_0x1f3746[_0x4e71f0(0x213)]['message']),_0x36a7e1['failure_type']=_0x2fc79e[_0x4e71f0(0x1ee)](getFailureType,_0x1f3746[_0x4e71f0(0x213)][_0x4e71f0(0x22b)]);const _0x48a429={};_0x48a429[_0x4e71f0(0x200)]=_0x13e95a[_0x4e71f0(0x1df)];const {failureData:_0x4038e7,logs:_0x34da16}=_0x2fc79e[_0x4e71f0(0x1e8)](getFailureData,_0x1f3746[_0x4e71f0(0x1c3)],_0x48a429);if(_0x4038e7&&_0x2fc79e[_0x4e71f0(0x280)](_0x4038e7[_0x4e71f0(0x27e)],0x0)){const _0x1d8106={};_0x1d8106[_0x4e71f0(0x1a1)]=[_0x36a7e1[_0x4e71f0(0x220)]],_0x1d8106['expanded']=[],_0x4038e7[_0x4e71f0(0x1b1)](_0x1d8106);}_0x36a7e1[_0x4e71f0(0x1b2)]=_0x4038e7,_0x34da16&&_0x2fc79e[_0x4e71f0(0x227)](_0x34da16[_0x4e71f0(0x27e)],0x0)&&await MyReporter[_0x4e71f0(0x286)](_0x34da16);}}let _0x10f1a8=_0x2fc79e[_0x4e71f0(0x246)](findNestedKey,_0x1f3746,_0x2fc79e[_0x4e71f0(0x284)]);if(_0x10f1a8&&_0x2fc79e[_0x4e71f0(0x207)](validateFilePath,_0x10f1a8))_0x2fc79e[_0x4e71f0(0x1d2)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x13e95a[_0x4e71f0(0x1df)]+'\x20at\x20'+_0x10f1a8);else{const _0x392204=path[_0x4e71f0(0x1e4)](helper[_0x4e71f0(0x196)](),_0x2fc79e[_0x4e71f0(0x287)]);!fs['existsSync'](_0x392204)&&fs[_0x4e71f0(0x238)](_0x392204),fs[_0x4e71f0(0x20a)](path[_0x4e71f0(0x1e4)](_0x392204,_0x4e71f0(0x298)+_0x13e95a[_0x4e71f0(0x1df)]+_0x4e71f0(0x19d)))&&(_0x10f1a8=fs[_0x4e71f0(0x1ae)](path['join'](_0x392204,'trace_'+_0x13e95a[_0x4e71f0(0x1df)]+_0x4e71f0(0x19d)),_0x2fc79e[_0x4e71f0(0x282)]),_0x2fc79e[_0x4e71f0(0x1b0)](debug,_0x4e71f0(0x245)+_0x13e95a[_0x4e71f0(0x1df)]+_0x4e71f0(0x1eb)+_0x10f1a8));}const _0x30bb6b={};_0x30bb6b[_0x4e71f0(0x232)]=_0x3cc7df,_0x30bb6b[_0x4e71f0(0x268)]=_0x36a7e1;const _0x45108b=_0x30bb6b;_0x10f1a8&&_0x2fc79e[_0x4e71f0(0x211)](_0x10f1a8,'')&&_0x2fc79e[_0x4e71f0(0x28d)](_0x3cc7df,_0x2fc79e['VEFvv'])&&(!_0x45108b[_0x4e71f0(0x1d9)]&&(_0x45108b['logs']=[]),_0x10f1a8[_0x4e71f0(0x288)]('\x0a')[_0x4e71f0(0x1a2)](_0x355346=>{const _0x4ab27e=_0x4e71f0;_0x355346&&_0x2fc79e[_0x4ab27e(0x1ed)](validateFilePath,_0x355346)&&_0x45108b['logs'][_0x4ab27e(0x1b1)]({'kind':_0x2fc79e['Szxiz'],'timestamp':new Date()[_0x4ab27e(0x1f0)](),'test_run_uuid':_0x13e95a['uuid'],'file_name':path[_0x4ab27e(0x235)](_0x355346),'file_size':fs[_0x4ab27e(0x29b)](_0x355346)[_0x4ab27e(0x279)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x4e71f0(0x291)](_0x45108b);}[a46_0x5e582f(0x1dd)](_0x3ab071){const _0x1cae95=a46_0x5e582f,_0x1706cc={};_0x1706cc[_0x1cae95(0x1d3)]=function(_0x3b736d,_0x53cb78){return _0x3b736d===_0x53cb78;},_0x1706cc[_0x1cae95(0x1cc)]=function(_0x55452d,_0x1543bc){return _0x55452d>_0x1543bc;},_0x1706cc[_0x1cae95(0x25d)]=function(_0x3de849,_0x3f826e){return _0x3de849+_0x3f826e;},_0x1706cc[_0x1cae95(0x214)]=function(_0x272d88,_0x5ac16a){return _0x272d88===_0x5ac16a;};const _0x587395=_0x1706cc,_0xb28b58=_0x3ab071[_0x1cae95(0x250)]()[_0x1cae95(0x1b5)](_0x44b659=>{const _0x2f77aa=_0x1cae95;if(_0x3ab071['parent']&&_0x587395[_0x2f77aa(0x1d3)](_0x44b659,_0x3ab071['parent'][_0x2f77aa(0x1f5)])&&_0x3ab071[_0x2f77aa(0x19e)][_0x2f77aa(0x198)]&&_0x587395[_0x2f77aa(0x1cc)](_0x3ab071['parent'][_0x2f77aa(0x198)][_0x2f77aa(0x27e)],0x0))return _0x587395[_0x2f77aa(0x25d)](_0x587395[_0x2f77aa(0x25d)](_0x44b659,'\x20'),_0x3ab071[_0x2f77aa(0x19e)][_0x2f77aa(0x198)][_0x2f77aa(0x1e4)]('\x20'));if(_0x587395[_0x2f77aa(0x214)](_0x44b659,_0x3ab071['title'])&&_0x3ab071[_0x2f77aa(0x198)]&&_0x587395[_0x2f77aa(0x1cc)](_0x3ab071['_tags'][_0x2f77aa(0x27e)],0x0))return _0x587395['uAooL'](_0x587395[_0x2f77aa(0x25d)](_0x44b659,'\x20'),_0x3ab071[_0x2f77aa(0x198)]['join']('\x20'));return _0x44b659;})[_0x1cae95(0x1e4)]('\x20');return _0xb28b58;}static async[a46_0x5e582f(0x1c5)](_0x5735b3,_0x351ec5){const _0x1549a6=a46_0x5e582f,_0x411529={'wUHBE':function(_0x27c98d,_0x4fde31){return _0x27c98d(_0x4fde31);},'Zisck':_0x1549a6(0x278)},_0x16ae01={'uuid':TestDetails[_0x1549a6(0x1a4)](_0x5735b3),'integrations':_0x351ec5},_0x5e3b30={};_0x5e3b30[_0x1549a6(0x1b4)]=null,_0x411529[_0x1549a6(0x1cf)](debug,_0x1549a6(0x201)+_0x5735b3+',\x20'+util[_0x1549a6(0x1fe)](_0x351ec5,_0x5e3b30));const _0x410d61={};_0x410d61[_0x1549a6(0x232)]=_0x411529['Zisck'],_0x410d61[_0x1549a6(0x268)]=_0x16ae01,await SessionHandler[_0x1549a6(0x291)](_0x410d61);}async[a46_0x5e582f(0x244)](){const _0x900b8a=a46_0x5e582f,_0x422243={'AfatG':function(_0x11b7a7){return _0x11b7a7();}};if(this[_0x900b8a(0x1d0)])return;const _0x355dce=await _0x422243[_0x900b8a(0x1bf)](getGitMetaData);_0x355dce&&(this[_0x900b8a(0x216)]=_0x355dce[_0x900b8a(0x2a0)]),this['_gitConfigured']=!![];}[a46_0x5e582f(0x19b)](_0x86c8f4){const _0x21601a=a46_0x5e582f,_0x337675={};_0x337675['Mzncn']=function(_0x4a6b3c,_0x106439){return _0x4a6b3c!==_0x106439;};const _0x515443=_0x337675,_0x54c7d9=[];if(_0x86c8f4&&_0x86c8f4['parent']){let _0x7d731b=_0x86c8f4['parent'];while(_0x7d731b&&_0x515443['Mzncn'](_0x7d731b['title'],'')){_0x54c7d9[_0x21601a(0x1b1)](_0x7d731b['title']),_0x7d731b=_0x7d731b[_0x21601a(0x19e)];}}return _0x54c7d9['reverse']()[_0x21601a(0x221)](0x0,0x2),_0x54c7d9;}['needToReportStep'](_0xbb18c4){const _0x42cecb=a46_0x5e582f,_0x1fcbb9={};_0x1fcbb9[_0x42cecb(0x1de)]=function(_0x3dbffb,_0x337482){return _0x3dbffb!==_0x337482;},_0x1fcbb9[_0x42cecb(0x20e)]=_0x42cecb(0x24e),_0x1fcbb9[_0x42cecb(0x1ff)]=function(_0x46d6a8,_0x4f7abd){return _0x46d6a8===_0x4f7abd;},_0x1fcbb9[_0x42cecb(0x28a)]=_0x42cecb(0x1f9),_0x1fcbb9['mVnFn']=_0x42cecb(0x29a),_0x1fcbb9[_0x42cecb(0x21f)]=_0x42cecb(0x1a6),_0x1fcbb9[_0x42cecb(0x248)]=_0x42cecb(0x1b9);const _0x553828=_0x1fcbb9;if(_0x553828[_0x42cecb(0x1de)](_0xbb18c4[_0x42cecb(0x289)],_0x553828[_0x42cecb(0x20e)]))return![];if(_0x553828['HnLfa']([_0x553828['xcZCb'],_0x553828['mVnFn'],_0x553828[_0x42cecb(0x21f)],_0x553828[_0x42cecb(0x248)]][_0x42cecb(0x1e6)](_0xbb18c4[_0x42cecb(0x1f5)]),-0x1))return![];return!![];}[a46_0x5e582f(0x240)](_0xdd0943,_0x558733){const _0x3ab263=a46_0x5e582f,_0x2367d9={'HNXYi':function(_0x29feb9,_0x2df331){return _0x29feb9(_0x2df331);}},_0x394968=_0x558733['_bs_hookIdentifier'];if(_0x394968)return _0x394968;return _0x558733['title']+'\x20for\x20'+_0x2367d9[_0x3ab263(0x20b)](getTestIdentifier,_0xdd0943);}[a46_0x5e582f(0x1d1)](_0x1c7c72,_0x31c6fa){const _0x28e499=a46_0x5e582f,_0x59533b={'vHOHX':function(_0x187ab5,_0x2fe1b9){return _0x187ab5(_0x2fe1b9);},'YjeKl':function(_0x12a80a){return _0x12a80a();}};let _0x3aef81=_0x31c6fa[_0x28e499(0x1f5)]+'\x20for\x20'+_0x59533b[_0x28e499(0x296)](getTestIdentifier,_0x1c7c72);return this['_tests'][_0x3aef81]&&(_0x3aef81=_0x3aef81+_0x28e499(0x1bd)+_0x59533b[_0x28e499(0x21d)](uuidv4)),_0x31c6fa['_bs_hookIdentifier']=_0x3aef81,_0x3aef81;}['getHookType']=_0x8786bf=>{const _0x1c5c00=a46_0x5e582f,_0x2dbc05={};_0x2dbc05[_0x1c5c00(0x252)]='beforeEach\x20hook',_0x2dbc05[_0x1c5c00(0x1cd)]=_0x1c5c00(0x1b6),_0x2dbc05['CFeUO']=_0x1c5c00(0x29a),_0x2dbc05[_0x1c5c00(0x1b3)]=_0x1c5c00(0x199),_0x2dbc05['xaQln']=_0x1c5c00(0x1b9),_0x2dbc05[_0x1c5c00(0x1cb)]='AFTER_EACH',_0x2dbc05['MatBq']='afterAll\x20hook',_0x2dbc05[_0x1c5c00(0x223)]=_0x1c5c00(0x260),_0x2dbc05[_0x1c5c00(0x208)]=_0x1c5c00(0x25b);const _0x4133b8=_0x2dbc05;if(_0x8786bf[_0x1c5c00(0x28f)](_0x4133b8[_0x1c5c00(0x252)]))return _0x4133b8[_0x1c5c00(0x1cd)];else{if(_0x8786bf[_0x1c5c00(0x28f)](_0x4133b8[_0x1c5c00(0x218)]))return _0x4133b8[_0x1c5c00(0x1b3)];else{if(_0x8786bf[_0x1c5c00(0x28f)](_0x4133b8[_0x1c5c00(0x270)]))return _0x4133b8[_0x1c5c00(0x1cb)];else{if(_0x8786bf[_0x1c5c00(0x28f)](_0x4133b8[_0x1c5c00(0x1a9)]))return _0x4133b8[_0x1c5c00(0x223)];}}}return _0x4133b8['plUXc'];};['getScope']=_0x4eac53=>{const _0x489778=a46_0x5e582f,_0x47a890={};_0x47a890[_0x489778(0x230)]=function(_0x12bbb1,_0xb0d177){return _0x12bbb1===_0xb0d177;},_0x47a890['YttGb']=_0x489778(0x226);const _0x2d462f=_0x47a890;let _0x2c783b=_0x4eac53[_0x489778(0x19e)];return _0x2d462f[_0x489778(0x230)](typeof _0x4eac53['parent'],_0x2d462f[_0x489778(0x222)])&&(_0x2c783b=_0x2c783b[_0x489778(0x1f5)]),_0x2c783b+_0x489778(0x1bd)+_0x4eac53[_0x489778(0x1f5)];};[a46_0x5e582f(0x23a)](){return![];}}module[a46_0x5e582f(0x194)]=o11yClassErrorHandler(MyReporter,[a46_0x5e582f(0x1e7),a46_0x5e582f(0x1ec),'onTestBegin',a46_0x5e582f(0x23f),a46_0x5e582f(0x1d5),a46_0x5e582f(0x1fc),a46_0x5e582f(0x1c5)],'MyReporter');function a46_0x5d5d(){const _0x290667=['test','filter','hook','expanded','titlePath','UWSxJ','bhEKY','EyVfP','../../../helpers/test-observability/error-handler','../../../helpers/testhub/utils','POST','fssNk','wDYCp','PtERc','16255JKZUyA','unknown','TEST','uAooL','kjZZn','uNXTU','AFTER_ALL','relative','HookRunFinished','IDasi','483526eJWljI','startedAt','VCVNq','../../../helpers/helper','test_run','./test-details','LogCreated','onEnd','192747cRNrmC','startMonitoring','Before\x20Hooks','qTIxW','xaQln','\x20is\x20triggered\x20for\x20test\x20','JiSWi','logLevel','retry_of','bAayo','screenshot','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','CBTSessionCreated','size','xQrRq','84GWrEva','isqVU','KWgfb','length','TEST_STEP','CfTYa','_tests','lByaf','YihUC','lAStB','getInstance','reportLogs','sHMAm','split','category','xcZCb','trackEvent','PnZzE','sdEHD','.browserstack','startsWith','VEFvv','uploadEventData','BROWSERSTACK_LOG_LEVEL','mtime','timedOut','NkoEa','vHOHX','getScope','trace_','TEST_SCREENSHOT','beforeAll\x20hook','statSync','IsQPM','sendTestRunEvent','HrvIg','YNChx','root','klDQZ','Hook\x20Finished\x20with\x20unique\x20id\x20','exports','attachments','homedir','CXfcR','_tags','BEFORE_ALL','iyxCO','getHierarchy','steps','.txt','parent','getStepsAndLogs','dDSIC','backtrace','forEach','NsnbG','getTestUUID','base64','afterAll\x20hook','meta','retry','MatBq','stack','startTime','../../../helpers/test-observability/requestQueueHandler','Expected\x20to\x20fail,\x20but\x20passed.','readFileSync','location','MpYjE','push','failure','UvQWz','depth','map','BEFORE_EACH','../../../helpers/test-observability/sessionHandler','HookRunStarted','afterEach\x20hook','toString','8NFjzUr','KcOEZ','\x20-\x20','cwd','AfatG','puJNn','hook_run','1zsClfT','errors','OOStM','sendSessionDetails','mPNFZ','lfjlZ','setup','getHookType','../../v2/state/testFrameworkState','NJAAk','sMHNP','NXslz','env','wUHBE','_gitConfigured','setStepIdentifier','NKGiI','XktcG','getTestFramework','onStepBegin','onTestBegin','10PYdNnS','Test\x20Finished\x20with\x20unique\x20id\x20','logs','result','duration','Yogkc','getCustomRerunParam','PgroT','uuid','../../../helpers/test-observability/constants','fhnEt','step','./pwUtils','join','fypzx','indexOf','onBegin','SugbH','pwTPf','TestRunStarted','\x20at\x20','endSession','JKlJL','ovCnI','mTMRb','toISOString','330211saIAzu','passed','BROWSERSTACK_TEST_RUN_ID','aWKDx','title','KMCUH','Irrqc','javascript','beforeEach\x20hook','PRE','pending','onStepEnd','Hook\x20Started\x20with\x20unique\x20id\x20','inspect','HnLfa','test_run_uuid','Sending\x20session\x20details\x20for\x20','isRunning','name','2029208oaAyYB','TestRunFinished','Error\x20in\x20sending\x20trace\x20zip:\x20%s','RPDun','plUXc','4|3|0|2|5|1|6','existsSync','HNXYi','_testHooksMap','Plclj','pVKWU','WIvlW','expectedStatus','hSdLf','performance-report-reporter.json','error','QnmOj','options','_gitConfigPath','INIT_TEST','CFeUO','FjFIc','skipped','PLAYWRIGHT','kfpTe','YjeKl','suMYP','RvpDw','failure_reason','splice','YttGb','QrUnB','SpGaz','shutdown','object','EEtdz','DxaZD','file','../../../../src/bin/utils/constants','message','233433ntflYO','ciqxM','AJVNU','failed','RjaHc','gFako','event_type','bkWkR','getTime','basename','yTkpj','path','mkdirSync','VdFio','printsToStdio','pTIWw','VTcLc','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','format','onTestEnd','getStepIdentifier','sendHookRunEvent','hveaC','START_TIME','configureGit','Trace\x20file\x20found\x20for\x20test:\x20','AmFJZ','8089059wyQWAh','TsZqM','After\x20Hooks','status','hYhhN'];a46_0x5d5d=function(){return _0x290667;};return a46_0x5d5d();}
@@ -1 +1 @@
1
- const a47_0x4db36c=a47_0xf31d;(function(_0x4dd4b5,_0x610cb0){const _0x20cb4c=a47_0xf31d,_0x5dd2d7=_0x4dd4b5();while(!![]){try{const _0x3a3b5d=parseInt(_0x20cb4c(0xff))/0x1*(-parseInt(_0x20cb4c(0x12f))/0x2)+-parseInt(_0x20cb4c(0x101))/0x3+-parseInt(_0x20cb4c(0x11f))/0x4*(parseInt(_0x20cb4c(0x11c))/0x5)+parseInt(_0x20cb4c(0x129))/0x6+parseInt(_0x20cb4c(0xf2))/0x7*(-parseInt(_0x20cb4c(0x12d))/0x8)+parseInt(_0x20cb4c(0x111))/0x9*(-parseInt(_0x20cb4c(0x127))/0xa)+parseInt(_0x20cb4c(0x109))/0xb*(parseInt(_0x20cb4c(0x10c))/0xc);if(_0x3a3b5d===_0x610cb0)break;else _0x5dd2d7['push'](_0x5dd2d7['shift']());}catch(_0x26af8b){_0x5dd2d7['push'](_0x5dd2d7['shift']());}}}(a47_0x4b20,0x8b5c6));const fs=require('fs'),path=require(a47_0x4db36c(0xee)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a47_0x4db36c(0x143)),{nestedKeyValue}=require(a47_0x4db36c(0x10e)),logger=require(a47_0x4db36c(0x140))[a47_0x4db36c(0xf3)],{getLogDir}=require('../../../helpers/logger'),util=require(a47_0x4db36c(0x12e)),helper=require(a47_0x4db36c(0x10e));function a47_0xf31d(_0x23b681,_0x48301a){const _0x4b2023=a47_0x4b20();return a47_0xf31d=function(_0xf31dfa,_0x301a44){_0xf31dfa=_0xf31dfa-0xe9;let _0x137a40=_0x4b2023[_0xf31dfa];return _0x137a40;},a47_0xf31d(_0x23b681,_0x48301a);}class TestDetails{static [a47_0x4db36c(0x147)]={};static[a47_0x4db36c(0x114)](){const _0x371bde=a47_0x4db36c;this[_0x371bde(0x138)]();const _0x37899b={};_0x37899b[_0x371bde(0x125)]=!![],fs[_0x371bde(0x12b)](this[_0x371bde(0xeb)](),_0x37899b);const _0x210150={};_0x210150[_0x371bde(0x125)]=!![],fs['mkdirSync'](this[_0x371bde(0x12a)](),_0x210150);}static[a47_0x4db36c(0x121)](){const _0x37b649=a47_0x4db36c,_0x3cda73={};_0x3cda73[_0x37b649(0x11d)]=function(_0x5a12c4,_0x5d58d9){return _0x5a12c4+_0x5d58d9;},_0x3cda73[_0x37b649(0x145)]=function(_0x502614,_0x997460){return _0x502614+_0x997460;};const _0x1c00e0=_0x3cda73;return _0x1c00e0[_0x37b649(0x11d)](_0x1c00e0[_0x37b649(0x145)](TEMP_STORE_DIR_NAME,'-'),process[_0x37b649(0x110)][_0x37b649(0x10f)]);}static['getStoreDirPath'](){const _0x52c9f6=a47_0x4db36c,_0x48b91c={};_0x48b91c[_0x52c9f6(0x133)]=function(_0x323a70,_0xc40fca){return _0x323a70+_0xc40fca;},_0x48b91c[_0x52c9f6(0x107)]='default';const _0x3981b1=_0x48b91c;return path[_0x52c9f6(0xf7)](_0x3981b1[_0x52c9f6(0x133)](_0x3981b1[_0x52c9f6(0x133)](TEMP_STORE_DIR_NAME,'-'),process[_0x52c9f6(0x110)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x3981b1[_0x52c9f6(0x107)]));}static['getTraceZipDir'](){const _0x51722d=a47_0x4db36c,_0xef1f38={};_0xef1f38[_0x51722d(0xf4)]=_0x51722d(0x13d);const _0xe5676c=_0xef1f38;return path['join'](this[_0x51722d(0x132)](),_0xe5676c[_0x51722d(0xf4)]);}static[a47_0x4db36c(0xeb)](){const _0x3b248f=a47_0x4db36c;return TestDetails[_0x3b248f(0x121)]();}static[a47_0x4db36c(0x116)](_0x9cb26){const _0x2919dd=a47_0x4db36c,_0x5955be={};_0x5955be[_0x2919dd(0x11e)]=function(_0x21be8b,_0x201e9b){return _0x21be8b+_0x201e9b;},_0x5955be[_0x2919dd(0x123)]=_0x2919dd(0x124);const _0x4892cb=_0x5955be;return path['join'](this[_0x2919dd(0xeb)](),_0x4892cb[_0x2919dd(0x11e)](_0x9cb26,_0x4892cb['JqsPH']));}static['getTestRunIdFromTestInfo'](_0x1c4d5b){const _0x2ff993=a47_0x4db36c,_0x528650={};_0x528650['QwxZC']=function(_0x4c94b4,_0x2dab63){return _0x4c94b4+_0x2dab63;},_0x528650['LLgNE']=function(_0x3bf79e,_0x170e0e){return _0x3bf79e+_0x170e0e;},_0x528650[_0x2ff993(0xf9)]=function(_0xa2d76d,_0x5d2734){return _0xa2d76d+_0x5d2734;},_0x528650['YaAZK']=function(_0x55c223,_0xef9097){return _0x55c223+_0xef9097;};const _0x483004=_0x528650;return _0x483004[_0x2ff993(0x10d)](_0x483004['LLgNE'](_0x483004['iDexs'](_0x483004[_0x2ff993(0x108)](this['getProjectIdFromTestInfo'](_0x1c4d5b),'-'),this[_0x2ff993(0x120)](_0x1c4d5b)),'-'),_0x1c4d5b['retry']);}static[a47_0x4db36c(0x146)](_0x2c697c){const _0x233cf9=a47_0x4db36c,_0x33f86f={'ATYUH':function(_0x55060d,_0x1a0f1e,_0x31f03a){return _0x55060d(_0x1a0f1e,_0x31f03a);},'oFBlF':_0x233cf9(0xf5),'MYPWJ':_0x233cf9(0xf1),'xCiMd':'project','EXPuY':_0x233cf9(0x11a)};return _0x33f86f[_0x233cf9(0x126)](nestedKeyValue,_0x2c697c,[_0x33f86f[_0x233cf9(0x13b)],_0x33f86f['MYPWJ']])||_0x33f86f[_0x233cf9(0x126)](nestedKeyValue,_0x2c697c,[_0x33f86f[_0x233cf9(0xfe)],_0x33f86f[_0x233cf9(0x105)]]);}static['getTestIdFromTestInfo'](_0x1bfb06){const _0x27e955=a47_0x4db36c,_0x5a9366={'UyyME':function(_0x430a8c,_0x5e9ff2,_0x452ff9){return _0x430a8c(_0x5e9ff2,_0x452ff9);},'CFKQG':_0x27e955(0xf5)};return _0x5a9366[_0x27e955(0x106)](nestedKeyValue,_0x1bfb06,[_0x5a9366['CFKQG'],'id'])||_0x1bfb06[_0x27e955(0x103)];}static[a47_0x4db36c(0xea)](_0x17ef71){const _0x24db55=a47_0x4db36c,_0x3bfb7c={'IWjBJ':function(_0x2c9973,_0x28cf42){return _0x2c9973===_0x28cf42;},'MZKwJ':_0x24db55(0x118),'gLzEX':function(_0x435c87){return _0x435c87();}};if(this['tests'][_0x17ef71]&&_0x3bfb7c[_0x24db55(0x134)](typeof this[_0x24db55(0x147)][_0x17ef71][_0x24db55(0xf6)],_0x3bfb7c[_0x24db55(0x13e)]))return this[_0x24db55(0x147)][_0x17ef71][_0x24db55(0xf6)];const _0x3893cd=this[_0x24db55(0x116)](_0x17ef71);if(_0x3893cd&&fs[_0x24db55(0xe9)](_0x3893cd)){const _0x5983cf=JSON['parse'](fs['readFileSync'](_0x3893cd)[_0x24db55(0x113)]());return this[_0x24db55(0x147)][_0x17ef71]=_0x5983cf,this[_0x24db55(0x147)][_0x17ef71][_0x24db55(0xf6)];}return this[_0x24db55(0x147)][_0x17ef71]={'uuid':_0x3bfb7c[_0x24db55(0xef)](uuidv4)},fs[_0x24db55(0x142)](_0x3893cd,JSON[_0x24db55(0x13c)](this[_0x24db55(0x147)][_0x17ef71])),this[_0x24db55(0x147)][_0x17ef71][_0x24db55(0xf6)];}static['getAccessibilityPlatformValidation'](_0xaa54df){const _0x1e7085=a47_0x4db36c,_0x41a0bc=path['join'](this['getDirPath'](),_0xaa54df+_0x1e7085(0x13f));if(_0x41a0bc&&fs['existsSync'](_0x41a0bc))return fs[_0x1e7085(0xfd)](_0x41a0bc)['toString']();}static[a47_0x4db36c(0xfb)](_0x4df4be,_0x200750){const _0x554483=a47_0x4db36c,_0x1411fe=path[_0x554483(0xf7)](this[_0x554483(0xeb)](),_0x200750+_0x554483(0x13f));fs['writeFileSync'](_0x1411fe,_0x4df4be[_0x554483(0x113)]());}static[a47_0x4db36c(0x138)](){const _0x8fb3ad=a47_0x4db36c,_0x43e472={};_0x43e472['recursive']=!![],_0x43e472[_0x8fb3ad(0xec)]=!![],fs['rmSync'](this[_0x8fb3ad(0xeb)](),_0x43e472);}static[a47_0x4db36c(0x10a)](_0x2fcea0){const _0x179c66=a47_0x4db36c;if(this[_0x179c66(0x147)][_0x2fcea0])return this[_0x179c66(0x147)][_0x2fcea0];const _0x588522=this[_0x179c66(0x116)](_0x2fcea0);if(_0x588522&&fs[_0x179c66(0xe9)](_0x588522)){const _0x57eb36=JSON['parse'](fs[_0x179c66(0xfd)](_0x588522)['toString']());return this[_0x179c66(0x147)][_0x2fcea0]=_0x57eb36,_0x57eb36;}return{};}static['setTestDetails'](_0x30d067,_0x1cc10a){const _0x58b41f=a47_0x4db36c,_0x138480=this[_0x58b41f(0x116)](_0x30d067);if(_0x138480&&fs[_0x58b41f(0xe9)](_0x138480)){const _0x379aea=JSON[_0x58b41f(0xed)](fs['readFileSync'](_0x138480)[_0x58b41f(0x113)]()),_0x667203={..._0x379aea,..._0x1cc10a};this[_0x58b41f(0x147)][_0x30d067]=_0x667203;}else this[_0x58b41f(0x147)][_0x30d067]=_0x1cc10a;fs['writeFileSync'](_0x138480,this[_0x58b41f(0x147)][_0x30d067]);}static['addTraceFilePath'](_0x596d05){const _0x1dcda8=a47_0x4db36c,_0x419704={};_0x419704[_0x1dcda8(0x102)]=_0x1dcda8(0x117);const _0x30bf87=_0x419704;try{const _0x22a7c2=process[_0x1dcda8(0x119)],_0x3d4a35=path[_0x1dcda8(0xf7)](TestDetails[_0x1dcda8(0x12a)](),_0x22a7c2+'_traceZipPaths.json');let _0x8a2d8b=[];_0x3d4a35&&fs['existsSync'](_0x3d4a35)&&(_0x8a2d8b=JSON['parse'](fs[_0x1dcda8(0xfd)](_0x3d4a35)[_0x1dcda8(0x113)]())),!_0x8a2d8b[_0x1dcda8(0x141)](_0xd75b81=>_0xd75b81[_0x1dcda8(0xfc)]===_0x596d05[_0x1dcda8(0xfc)])&&(_0x8a2d8b[_0x1dcda8(0x131)](_0x596d05),fs[_0x1dcda8(0x142)](_0x3d4a35,JSON['stringify'](_0x8a2d8b)));}catch(_0x2a4aa7){logger[_0x1dcda8(0x104)](_0x30bf87[_0x1dcda8(0x102)],_0x2a4aa7);}}static[a47_0x4db36c(0x130)](){const _0x3a4117=a47_0x4db36c,_0x515a87={};_0x515a87[_0x3a4117(0x100)]='_traceZipPaths.json',_0x515a87[_0x3a4117(0x122)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x3fd790=_0x515a87,_0x32de5e=[];try{const _0x2e23af=TestDetails[_0x3a4117(0x12a)]();if(_0x2e23af&&!fs[_0x3a4117(0xe9)](_0x2e23af))return _0x32de5e;const _0x234d60=fs[_0x3a4117(0x144)](_0x2e23af);_0x234d60[_0x3a4117(0x136)](_0x1ce06b=>{const _0x3d2744=_0x3a4117;if(_0x1ce06b&&_0x1ce06b['endsWith'](_0x3fd790[_0x3d2744(0x100)])){const _0x1c4339=JSON[_0x3d2744(0xed)](fs[_0x3d2744(0xfd)](path[_0x3d2744(0xf7)](_0x2e23af,_0x1ce06b))[_0x3d2744(0x113)]());_0x32de5e[_0x3d2744(0x131)](..._0x1c4339);}});}catch(_0x4fc185){logger[_0x3a4117(0x104)](util[_0x3a4117(0xf0)](_0x3fd790[_0x3a4117(0x122)],_0x4fc185));}const _0xd04194={};return _0x32de5e['forEach'](_0x34d6a9=>{_0xd04194[_0x34d6a9['filePath']]=_0x34d6a9;}),Object[_0x3a4117(0x10b)](_0xd04194);}static['appendToTracePaths'](_0x4ea8f2,_0x148de5){const _0x2262d6=a47_0x4db36c,_0x5943a3={};_0x5943a3[_0x2262d6(0xf8)]=_0x2262d6(0xfa),_0x5943a3['MsewH']=_0x2262d6(0x13a);const _0x688262=_0x5943a3;try{const _0x3e406e=path[_0x2262d6(0xf7)](helper[_0x2262d6(0x112)](),_0x688262[_0x2262d6(0xf8)]);if(!fs[_0x2262d6(0xe9)](_0x3e406e)){const _0x38db27={};_0x38db27['recursive']=!![],fs[_0x2262d6(0x12b)](_0x3e406e,_0x38db27);}fs[_0x2262d6(0x137)](path[_0x2262d6(0xf7)](_0x3e406e,_0x2262d6(0x115)+_0x148de5+_0x2262d6(0x128)),_0x4ea8f2+'\x0a',_0x688262[_0x2262d6(0x11b)]);}catch(_0x49fcd8){console[_0x2262d6(0x104)](_0x2262d6(0x135)+_0x49fcd8[_0x2262d6(0x139)]);}}}module[a47_0x4db36c(0x12c)]=TestDetails;function a47_0x4b20(){const _0x5c8b4c=['117237kuxgGX','TzntE','2418108rgXaPB','KUHZF','testId','error','EXPuY','UyyME','mDIrz','YaAZK','40778661QZlXBp','getTestDetails','values','12JBuIJC','QwxZC','../../../helpers/helper','BS_TESTOPS_BUILD_HASHED_ID','env','1170ZhsnHi','homedir','toString','setup','trace_','getFilePath','Error\x20handling\x20trace\x20file\x20paths:\x20','string','pid','__projectId','MsewH','2642410dIsEzg','vPScq','NronM','8fnKZFH','getTestIdFromTestInfo','getStoreDirName','KhpAW','JqsPH','.json','recursive','ATYUH','67290FoBFAf','.txt','2199924XTlsaR','getTraceZipDir','mkdirSync','exports','551336aseyMG','util','6TXaSeq','getTraceFilePaths','push','getStoreDirPath','ccazc','IWjBJ','Error\x20writing\x20trace\x20file:\x20','forEach','appendFileSync','shutdown','message','utf8','oFBlF','stringify','traceZipPaths','MZKwJ','_platformDetails.json','../../../helpers/logger','some','writeFileSync','../../../helpers/test-observability/constants','readdirSync','vRkny','getProjectIdFromTestInfo','tests','existsSync','getTestUUID','getDirPath','force','parse','path','gLzEX','format','_projectId','42GfPfOZ','winstonLogger','EBDhL','_test','uuid','join','BfSXQ','iDexs','.browserstack','setAccessibilityPlatformValidation','filePath','readFileSync','xCiMd'];a47_0x4b20=function(){return _0x5c8b4c;};return a47_0x4b20();}
1
+ const a47_0x3e04df=a47_0x2138;(function(_0x410463,_0x35cf5e){const _0x3e9cba=a47_0x2138,_0x19c0b4=_0x410463();while(!![]){try{const _0x82787e=-parseInt(_0x3e9cba(0x9e))/0x1+-parseInt(_0x3e9cba(0xa7))/0x2+-parseInt(_0x3e9cba(0x99))/0x3+parseInt(_0x3e9cba(0x9a))/0x4+-parseInt(_0x3e9cba(0xe2))/0x5+-parseInt(_0x3e9cba(0xbc))/0x6*(parseInt(_0x3e9cba(0xc9))/0x7)+parseInt(_0x3e9cba(0xc1))/0x8*(parseInt(_0x3e9cba(0xaa))/0x9);if(_0x82787e===_0x35cf5e)break;else _0x19c0b4['push'](_0x19c0b4['shift']());}catch(_0x399b3d){_0x19c0b4['push'](_0x19c0b4['shift']());}}}(a47_0x9558,0x2e85e));const fs=require('fs'),path=require(a47_0x3e04df(0xd2)),{v4:uuidv4}=require(a47_0x3e04df(0xa2)),{TEMP_STORE_DIR_NAME}=require(a47_0x3e04df(0x9b)),{nestedKeyValue}=require(a47_0x3e04df(0xbb)),logger=require(a47_0x3e04df(0xdd))['winstonLogger'],{getLogDir}=require(a47_0x3e04df(0xdd)),util=require('util'),helper=require(a47_0x3e04df(0xbb));class TestDetails{static [a47_0x3e04df(0xa5)]={};static[a47_0x3e04df(0xb5)](){const _0x108494=a47_0x3e04df;this['shutdown']();const _0x682ede={};_0x682ede[_0x108494(0xc6)]=!![],fs[_0x108494(0xdf)](this[_0x108494(0xe8)](),_0x682ede);const _0x57419a={};_0x57419a[_0x108494(0xc6)]=!![],fs[_0x108494(0xdf)](this['getTraceZipDir'](),_0x57419a);}static[a47_0x3e04df(0xc4)](){const _0x9da074=a47_0x3e04df,_0x1fd29f={};_0x1fd29f['LZPkc']=function(_0x2cc6ce,_0x5c70a8){return _0x2cc6ce+_0x5c70a8;},_0x1fd29f['RDUNc']=function(_0x36e20f,_0x29533f){return _0x36e20f+_0x29533f;};const _0x1a5b74=_0x1fd29f;return _0x1a5b74[_0x9da074(0xb2)](_0x1a5b74[_0x9da074(0xc7)](TEMP_STORE_DIR_NAME,'-'),process[_0x9da074(0xa6)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a47_0x3e04df(0xac)](){const _0x1084df=a47_0x3e04df,_0x32f83f={};_0x32f83f[_0x1084df(0xb4)]=function(_0x417950,_0x55fa59){return _0x417950+_0x55fa59;},_0x32f83f[_0x1084df(0xd7)]=function(_0x320fe3,_0xc0281b){return _0x320fe3+_0xc0281b;},_0x32f83f[_0x1084df(0xdc)]='default';const _0xe1fc93=_0x32f83f;return path[_0x1084df(0xad)](_0xe1fc93[_0x1084df(0xb4)](_0xe1fc93[_0x1084df(0xd7)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x1084df(0xb7)]||_0xe1fc93[_0x1084df(0xdc)]));}static[a47_0x3e04df(0xce)](){const _0x4d60a9=a47_0x3e04df,_0x2f556a={};_0x2f556a[_0x4d60a9(0xe5)]='traceZipPaths';const _0x29689b=_0x2f556a;return path[_0x4d60a9(0xad)](this[_0x4d60a9(0xac)](),_0x29689b[_0x4d60a9(0xe5)]);}static[a47_0x3e04df(0xe8)](){const _0x14df36=a47_0x3e04df;return TestDetails[_0x14df36(0xc4)]();}static[a47_0x3e04df(0xd1)](_0x1ef8fb){const _0x12a388=a47_0x3e04df,_0x1bb946={};_0x1bb946[_0x12a388(0xd5)]=function(_0x1909af,_0x49bd6b){return _0x1909af+_0x49bd6b;},_0x1bb946['VaHBu']=_0x12a388(0xb0);const _0xbc5003=_0x1bb946;return path[_0x12a388(0xad)](this[_0x12a388(0xe8)](),_0xbc5003[_0x12a388(0xd5)](_0x1ef8fb,_0xbc5003[_0x12a388(0xbd)]));}static[a47_0x3e04df(0xba)](_0x4d800e){const _0x41d5cb=a47_0x3e04df,_0x4eb264={};_0x4eb264[_0x41d5cb(0xa4)]=function(_0x46dc4d,_0x2de713){return _0x46dc4d+_0x2de713;},_0x4eb264[_0x41d5cb(0xb9)]=function(_0x28191e,_0x515ae8){return _0x28191e+_0x515ae8;},_0x4eb264[_0x41d5cb(0xd3)]=function(_0x13aad6,_0x417f48){return _0x13aad6+_0x417f48;};const _0x3086fb=_0x4eb264;return _0x3086fb['dQqkI'](_0x3086fb[_0x41d5cb(0xa4)](_0x3086fb[_0x41d5cb(0xb9)](_0x3086fb[_0x41d5cb(0xd3)](this[_0x41d5cb(0xbe)](_0x4d800e),'-'),this['getTestIdFromTestInfo'](_0x4d800e)),'-'),_0x4d800e['retry']);}static[a47_0x3e04df(0xbe)](_0x3c2c63){const _0x4d35ae=a47_0x3e04df,_0x59dd5e={'pWbcB':function(_0x545c6f,_0x15d1dd,_0x12c38a){return _0x545c6f(_0x15d1dd,_0x12c38a);},'pOYlx':_0x4d35ae(0xb8),'amRdo':_0x4d35ae(0xdb),'ULswB':_0x4d35ae(0xeb),'jrBSC':'__projectId'};return _0x59dd5e[_0x4d35ae(0xe9)](nestedKeyValue,_0x3c2c63,[_0x59dd5e[_0x4d35ae(0xd6)],_0x59dd5e['amRdo']])||_0x59dd5e[_0x4d35ae(0xe9)](nestedKeyValue,_0x3c2c63,[_0x59dd5e[_0x4d35ae(0xa0)],_0x59dd5e[_0x4d35ae(0xe4)]]);}static[a47_0x3e04df(0xbf)](_0x2b1a84){const _0x48b51c=a47_0x3e04df,_0x150ca5={'PkXWQ':function(_0x3d84a4,_0x3b9d1d,_0x523597){return _0x3d84a4(_0x3b9d1d,_0x523597);},'vCkQE':'_test'};return _0x150ca5[_0x48b51c(0xe1)](nestedKeyValue,_0x2b1a84,[_0x150ca5[_0x48b51c(0xd8)],'id'])||_0x2b1a84['testId'];}static[a47_0x3e04df(0x96)](_0x22502d){const _0x194465=a47_0x3e04df,_0xd14f43={'ZPkKt':function(_0x19828e,_0x1ef9e1){return _0x19828e===_0x1ef9e1;},'BNDLX':_0x194465(0x97),'VldJp':function(_0x51c241){return _0x51c241();}};if(this[_0x194465(0xa5)][_0x22502d]&&_0xd14f43[_0x194465(0xe0)](typeof this[_0x194465(0xa5)][_0x22502d]['uuid'],_0xd14f43['BNDLX']))return this[_0x194465(0xa5)][_0x22502d]['uuid'];const _0x5c9821=this[_0x194465(0xd1)](_0x22502d);if(_0x5c9821&&fs[_0x194465(0xda)](_0x5c9821)){const _0x14568a=JSON['parse'](fs[_0x194465(0xb1)](_0x5c9821)['toString']());return this[_0x194465(0xa5)][_0x22502d]=_0x14568a,this['tests'][_0x22502d][_0x194465(0xa2)];}return this[_0x194465(0xa5)][_0x22502d]={'uuid':_0xd14f43[_0x194465(0xde)](uuidv4)},fs[_0x194465(0xb3)](_0x5c9821,JSON['stringify'](this[_0x194465(0xa5)][_0x22502d])),this[_0x194465(0xa5)][_0x22502d][_0x194465(0xa2)];}static['getAccessibilityPlatformValidation'](_0x407f02){const _0x493a72=a47_0x3e04df,_0x49a315=path['join'](this[_0x493a72(0xe8)](),_0x407f02+_0x493a72(0xcc));if(_0x49a315&&fs[_0x493a72(0xda)](_0x49a315))return fs[_0x493a72(0xb1)](_0x49a315)[_0x493a72(0xea)]();}static['setAccessibilityPlatformValidation'](_0x29b36a,_0x37cf9c){const _0x28faba=a47_0x3e04df,_0x172212=path[_0x28faba(0xad)](this[_0x28faba(0xe8)](),_0x37cf9c+'_platformDetails.json');fs[_0x28faba(0xb3)](_0x172212,_0x29b36a[_0x28faba(0xea)]());}static[a47_0x3e04df(0xef)](){const _0xef7c81=a47_0x3e04df,_0xf71e07={};_0xf71e07[_0xef7c81(0xc6)]=!![],_0xf71e07[_0xef7c81(0x9c)]=!![],fs[_0xef7c81(0xee)](this['getDirPath'](),_0xf71e07);}static[a47_0x3e04df(0xcb)](_0x3fb77e){const _0x24c544=a47_0x3e04df;if(this[_0x24c544(0xa5)][_0x3fb77e])return this[_0x24c544(0xa5)][_0x3fb77e];const _0x55db50=this[_0x24c544(0xd1)](_0x3fb77e);if(_0x55db50&&fs[_0x24c544(0xda)](_0x55db50)){const _0x588425=JSON[_0x24c544(0xc3)](fs[_0x24c544(0xb1)](_0x55db50)[_0x24c544(0xea)]());return this[_0x24c544(0xa5)][_0x3fb77e]=_0x588425,_0x588425;}return{};}static[a47_0x3e04df(0xae)](_0x5a73f1,_0x13ec52){const _0x5d4472=a47_0x3e04df,_0x44dbee=this[_0x5d4472(0xd1)](_0x5a73f1);if(_0x44dbee&&fs[_0x5d4472(0xda)](_0x44dbee)){const _0x85369f=JSON[_0x5d4472(0xc3)](fs[_0x5d4472(0xb1)](_0x44dbee)[_0x5d4472(0xea)]()),_0x276241={..._0x85369f,..._0x13ec52};this[_0x5d4472(0xa5)][_0x5a73f1]=_0x276241;}else this['tests'][_0x5a73f1]=_0x13ec52;fs[_0x5d4472(0xb3)](_0x44dbee,this[_0x5d4472(0xa5)][_0x5a73f1]);}static[a47_0x3e04df(0xe7)](_0x2e97b4){const _0x3bb834=a47_0x3e04df,_0x342058={};_0x342058[_0x3bb834(0xe6)]=_0x3bb834(0xf1);const _0x1fe1d2=_0x342058;try{const _0x44fe50=process[_0x3bb834(0xe3)],_0x236307=path[_0x3bb834(0xad)](TestDetails[_0x3bb834(0xce)](),_0x44fe50+_0x3bb834(0xd0));let _0x20fd79=[];_0x236307&&fs['existsSync'](_0x236307)&&(_0x20fd79=JSON[_0x3bb834(0xc3)](fs[_0x3bb834(0xb1)](_0x236307)[_0x3bb834(0xea)]())),!_0x20fd79['some'](_0x179139=>_0x179139['filePath']===_0x2e97b4[_0x3bb834(0xd4)])&&(_0x20fd79[_0x3bb834(0x9d)](_0x2e97b4),fs[_0x3bb834(0xb3)](_0x236307,JSON[_0x3bb834(0xc5)](_0x20fd79)));}catch(_0xef5ee1){logger[_0x3bb834(0xf0)](_0x1fe1d2[_0x3bb834(0xe6)],_0xef5ee1);}}static[a47_0x3e04df(0xab)](){const _0x4c3198=a47_0x3e04df,_0x3d1ad5={};_0x3d1ad5[_0x4c3198(0xc2)]=_0x4c3198(0xd0),_0x3d1ad5[_0x4c3198(0xc8)]=_0x4c3198(0xcf);const _0x3c9900=_0x3d1ad5,_0xcfbb06=[];try{const _0x496fc6=TestDetails[_0x4c3198(0xce)]();if(_0x496fc6&&!fs[_0x4c3198(0xda)](_0x496fc6))return _0xcfbb06;const _0x3178f6=fs['readdirSync'](_0x496fc6);_0x3178f6[_0x4c3198(0xec)](_0xa97cf7=>{const _0x18f458=_0x4c3198;if(_0xa97cf7&&_0xa97cf7['endsWith'](_0x3c9900[_0x18f458(0xc2)])){const _0x224248=JSON[_0x18f458(0xc3)](fs[_0x18f458(0xb1)](path[_0x18f458(0xad)](_0x496fc6,_0xa97cf7))['toString']());_0xcfbb06[_0x18f458(0x9d)](..._0x224248);}});}catch(_0xdf2c47){logger['error'](util[_0x4c3198(0xd9)](_0x3c9900[_0x4c3198(0xc8)],_0xdf2c47));}const _0x687e51={};return _0xcfbb06['forEach'](_0x5a05c4=>{_0x687e51[_0x5a05c4['filePath']]=_0x5a05c4;}),Object[_0x4c3198(0xca)](_0x687e51);}static[a47_0x3e04df(0xb6)](_0x271de7,_0x645ecc){const _0x3b3ea1=a47_0x3e04df,_0x4268df={};_0x4268df['sQKSN']=_0x3b3ea1(0xa3),_0x4268df[_0x3b3ea1(0xc0)]=_0x3b3ea1(0xed);const _0x117e42=_0x4268df;try{const _0x413498=path['join'](helper[_0x3b3ea1(0x9f)](),_0x117e42[_0x3b3ea1(0xa8)]);if(!fs['existsSync'](_0x413498)){const _0x531e8={};_0x531e8[_0x3b3ea1(0xc6)]=!![],fs[_0x3b3ea1(0xdf)](_0x413498,_0x531e8);}fs['appendFileSync'](path['join'](_0x413498,_0x3b3ea1(0xa1)+_0x645ecc+_0x3b3ea1(0xcd)),_0x271de7+'\x0a',_0x117e42[_0x3b3ea1(0xc0)]);}catch(_0x5f12bc){console[_0x3b3ea1(0xf0)](_0x3b3ea1(0xa9)+_0x5f12bc[_0x3b3ea1(0x98)]);}}}module[a47_0x3e04df(0xaf)]=TestDetails;function a47_0x2138(_0x2578a8,_0x23eaa7){const _0x955804=a47_0x9558();return a47_0x2138=function(_0x2138e9,_0x18d904){_0x2138e9=_0x2138e9-0x96;let _0x22241d=_0x955804[_0x2138e9];return _0x22241d;},a47_0x2138(_0x2578a8,_0x23eaa7);}function a47_0x9558(){const _0x26bbb7=['_projectId','qNkbX','../../../helpers/logger','VldJp','mkdirSync','ZPkKt','PkXWQ','441595aYUfWH','pid','jrBSC','lBrGh','PSpyn','addTraceFilePath','getDirPath','pWbcB','toString','project','forEach','utf8','rmSync','shutdown','error','Error\x20handling\x20trace\x20file\x20paths:\x20','getTestUUID','string','message','588405pPmHjy','456708Nyylui','../../../helpers/test-observability/constants','force','push','164889zLujwK','homedir','ULswB','trace_','uuid','.browserstack','dQqkI','tests','env','275212tstsYq','sQKSN','Error\x20writing\x20trace\x20file:\x20','97794hpyUNZ','getTraceFilePaths','getStoreDirPath','join','setTestDetails','exports','.json','readFileSync','LZPkc','writeFileSync','CJnEk','setup','appendToTracePaths','BS_TESTOPS_BUILD_HASHED_ID','_test','WzRWJ','getTestRunIdFromTestInfo','../../../helpers/helper','180nZXbMw','VaHBu','getProjectIdFromTestInfo','getTestIdFromTestInfo','IDTQG','640qvOytt','xQgMr','parse','getStoreDirName','stringify','recursive','RDUNc','vDZfx','48055pdrtyx','values','getTestDetails','_platformDetails.json','.txt','getTraceZipDir','Error\x20reading\x20trace\x20file\x20paths:\x20%s','_traceZipPaths.json','getFilePath','path','PvfDR','filePath','ZFguV','pOYlx','BTdUQ','vCkQE','format','existsSync'];a47_0x9558=function(){return _0x26bbb7;};return a47_0x9558();}
@@ -1 +1 @@
1
- const a48_0x414739=a48_0x2410;(function(_0x569839,_0x203b0d){const _0x14cc72=a48_0x2410,_0x1418c8=_0x569839();while(!![]){try{const _0x16b49a=parseInt(_0x14cc72(0x1bd))/0x1+-parseInt(_0x14cc72(0x13d))/0x2*(-parseInt(_0x14cc72(0x189))/0x3)+parseInt(_0x14cc72(0x149))/0x4+parseInt(_0x14cc72(0x154))/0x5+parseInt(_0x14cc72(0x17c))/0x6*(parseInt(_0x14cc72(0x15d))/0x7)+-parseInt(_0x14cc72(0x168))/0x8*(-parseInt(_0x14cc72(0x134))/0x9)+-parseInt(_0x14cc72(0x1b1))/0xa;if(_0x16b49a===_0x203b0d)break;else _0x1418c8['push'](_0x1418c8['shift']());}catch(_0x418861){_0x1418c8['push'](_0x1418c8['shift']());}}}(a48_0x33c5,0xbb6bc));const path=require('path'),url=require('url'),util=require(a48_0x414739(0x15b)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a48_0x414739(0x1bf)),logger=require('../../helpers/logger')[a48_0x414739(0x14d)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require('./accessibility-helper'),constants=require(a48_0x414739(0x1c1)),BrowserstackCLI=require(a48_0x414739(0x137)),AutomationFrameworkState=require(a48_0x414739(0x1cd)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a48_0x414739(0x180)),getBrowserNameFromChannel=_0x239b52=>{const _0x559e4c=a48_0x414739,_0x59d9c9={};_0x59d9c9[_0x559e4c(0x1c4)]='chrome',_0x59d9c9[_0x559e4c(0x145)]=_0x559e4c(0x16f),_0x59d9c9[_0x559e4c(0x191)]=_0x559e4c(0x1cb),_0x59d9c9[_0x559e4c(0x181)]='safari';const _0x14becf=_0x59d9c9;if(_0x239b52[_0x559e4c(0x182)](_0x14becf[_0x559e4c(0x1c4)]))return _0x14becf['moyik'];if(_0x239b52[_0x559e4c(0x182)](_0x14becf[_0x559e4c(0x145)]))return _0x14becf[_0x559e4c(0x145)];if(_0x239b52[_0x559e4c(0x182)](_0x14becf['ZhFSL']))return _0x14becf['ZhFSL'];if(_0x239b52['includes'](_0x14becf[_0x559e4c(0x181)]))return _0x14becf['hvLog'];},getBrowserFromWSEndpoint=_0x59700c=>{const _0x1dd895=a48_0x414739,_0x6b22da={'zzUfA':'chrome','EgCSh':function(_0x3a8468,_0x131c8d){return _0x3a8468(_0x131c8d);}};try{const _0x43bdfc=url[_0x1dd895(0x14a)](_0x59700c),_0x938c=new URLSearchParams(_0x43bdfc[_0x1dd895(0x19e)]),_0x29496d=Object[_0x1dd895(0x17b)](_0x938c[_0x1dd895(0x19d)]()),_0x51e965=JSON['parse'](_0x29496d['caps']);if(_0x51e965&&(_0x51e965[_0x1dd895(0x186)]||_0x51e965[_0x1dd895(0x179)]))return _0x51e965[_0x1dd895(0x186)]||_0x51e965['browserName'];return _0x6b22da[_0x1dd895(0x142)];}catch(_0x5e643d){_0x6b22da[_0x1dd895(0x18d)](debug,_0x1dd895(0x13f)+_0x5e643d['toString']());}},getCloudProviderFromWsEndpoint=_0x1b1696=>{const _0x41efd6=a48_0x414739,_0x244379={};_0x244379[_0x41efd6(0x171)]=_0x41efd6(0x1b5),_0x244379[_0x41efd6(0x15f)]=_0x41efd6(0x1c2);const _0x259dd5=_0x244379;if(_0x1b1696['includes'](constants[_0x41efd6(0x12c)])||_0x1b1696[_0x41efd6(0x182)](constants[_0x41efd6(0x14b)]))return _0x259dd5[_0x41efd6(0x171)];return _0x259dd5[_0x41efd6(0x15f)];},a48_0x1aeb99={};a48_0x1aeb99[a48_0x414739(0x1b6)]=undefined,a48_0x1aeb99[a48_0x414739(0x15c)]=undefined,a48_0x1aeb99[a48_0x414739(0x186)]=undefined,a48_0x1aeb99['browser_version']=undefined,a48_0x1aeb99[a48_0x414739(0x1cc)]=undefined,a48_0x1aeb99[a48_0x414739(0x135)]=undefined,a48_0x1aeb99[a48_0x414739(0x196)]=undefined,a48_0x1aeb99[a48_0x414739(0x1a2)]={};class PlaywrightSessionDetails{static [a48_0x414739(0x1ad)]=a48_0x1aeb99;constructor(){const _0x368e53=a48_0x414739,_0x2b7d8a={};_0x2b7d8a['WtlFN']='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0xcc2f87=_0x2b7d8a;throw new Error(_0xcc2f87[_0x368e53(0x1a9)]);}static [a48_0x414739(0x170)]=null;static[a48_0x414739(0x13a)](_0x245a11,_0x53cbfb,_0x18d53c=null){const _0x1857a8=a48_0x414739,_0x321880={'kqqvd':function(_0x1ea986,_0x2ada4a){return _0x1ea986===_0x2ada4a;},'TaaZi':_0x1857a8(0x157),'TaBQT':_0x1857a8(0x1a1),'edDrM':function(_0x1bdf65,_0x1c70b0){return _0x1bdf65===_0x1c70b0;},'aycFR':'Device\x20Model\x20is\x20not\x20available','EuhJY':'local_grid','IXjvq':function(_0x13c90b,_0x50f966,_0x4c5738){return _0x13c90b(_0x50f966,_0x4c5738);},'qTZgc':_0x1857a8(0x18e),'bIptD':_0x1857a8(0x1c7),'SpaSD':function(_0x5a8a83,_0x4e0179,_0x196649){return _0x5a8a83(_0x4e0179,_0x196649);},'mTgSl':_0x1857a8(0x13b),'aqfEf':_0x1857a8(0x17d),'ANcqT':_0x1857a8(0x199),'BOFwV':function(_0x448e28,_0x513c3c){return _0x448e28(_0x513c3c);},'IrcLx':'browserstack','ndaaG':_0x1857a8(0x18b),'hBReG':_0x1857a8(0x1a6),'DUbFV':function(_0x4303c6,_0x4304d0){return _0x4303c6(_0x4304d0);},'RjghA':function(_0x38e713,_0x452c49){return _0x38e713+_0x452c49;},'TCPDk':_0x1857a8(0x1c5),'belar':function(_0x4975f0){return _0x4975f0();},'zzlbi':_0x1857a8(0x13a)},_0x1c9f92=this;return _0x321880['IXjvq'](o11yErrorHandler,async function _0x1425e0(_0x4d3fb9,_0x516314,_0xade2a2=null){const _0x5d6277=_0x1857a8;let _0x397605=_0x4d3fb9[_0x5d6277(0x169)],_0xe89ae3=null;_0x4d3fb9&&_0x321880['kqqvd'](typeof _0x4d3fb9[_0x5d6277(0x16e)],_0x321880[_0x5d6277(0x138)])?_0xe89ae3=_0x4d3fb9[_0x5d6277(0x16e)]():logger[_0x5d6277(0x130)](_0x321880[_0x5d6277(0x1ca)]);let _0xeda3ad=null;_0x4d3fb9&&_0x321880['edDrM'](typeof _0x4d3fb9[_0x5d6277(0x163)],_0x321880[_0x5d6277(0x138)])?_0xeda3ad=_0x4d3fb9[_0x5d6277(0x163)]():logger[_0x5d6277(0x130)](_0x321880['aycFR']);let _0x4dc161=null,_0x4f0f41=null,_0x2977fb=null,_0xa610de=_0x321880[_0x5d6277(0x19a)];if(_0x4d3fb9[_0x5d6277(0x18f)][_0x5d6277(0x160)]()||global[_0x5d6277(0x17a)]){let _0x31826d=null;_0x321880[_0x5d6277(0x1b0)](nestedKeyValue,_0x4d3fb9,[_0x321880[_0x5d6277(0x159)],_0x321880[_0x5d6277(0x148)]])?_0x31826d=_0x4d3fb9[_0x5d6277(0x18e)][_0x5d6277(0x1c7)]:_0x31826d=_0x321880['SpaSD'](nestedKeyValue,_0x516314,[_0x321880['mTgSl'],_0x321880[_0x5d6277(0x144)],_0x321880[_0x5d6277(0x18c)]]);const _0x262b22=_0xade2a2||_0x31826d&&_0x31826d['wsEndpoint'];_0x262b22&&(_0xa610de=_0x321880['BOFwV'](getCloudProviderFromWsEndpoint,_0x262b22),_0x321880[_0x5d6277(0x1be)](_0xa610de,_0x321880['IrcLx'])&&(_0x2977fb=constants['ATS_WSS_URL_REGEX'][_0x5d6277(0x197)](_0x262b22)?_0x321880['ndaaG']:_0x321880['hBReG'],_0x397605=_0x321880[_0x5d6277(0x1ae)](getBrowserFromWSEndpoint,_0x262b22)||_0x397605,_0x4dc161=_0x1c9f92[_0x5d6277(0x1ad)][_0x5d6277(0x1cc)],_0x4f0f41=_0x1c9f92['currentSessionDetails'][_0x5d6277(0x135)]));}else{_0x516314&&_0x516314['project'][_0x5d6277(0x17d)][_0x5d6277(0x1a0)]?_0x397605=_0x321880['DUbFV'](getBrowserNameFromChannel,_0x516314[_0x5d6277(0x13b)]['use'][_0x5d6277(0x1a0)]):_0x397605=_0x321880['RjghA'](_0x321880[_0x5d6277(0x1c9)],_0x397605[_0x5d6277(0x166)]());const _0x4702ff=await _0x321880[_0x5d6277(0x19f)](getPlatformDetails);_0x4dc161=_0x4702ff[_0x5d6277(0x1ac)],_0x4f0f41=_0x4702ff['platformVersion'];}const _0x49ab11={};_0x49ab11[_0x5d6277(0x186)]=_0x397605,_0x49ab11[_0x5d6277(0x1b4)]=_0xe89ae3,_0x49ab11[_0x5d6277(0x1a2)]={},_0x49ab11[_0x5d6277(0x1cc)]=_0x4dc161,_0x49ab11[_0x5d6277(0x135)]=_0x4f0f41,_0x49ab11['product']=_0x2977fb;const _0x7b14f6=_0x49ab11;_0xeda3ad&&(_0x7b14f6['capabilities']['deviceModel']=_0xeda3ad);const _0x378e98={};_0x378e98[_0x5d6277(0x1b6)]=_0xa610de,_0x1c9f92[_0x5d6277(0x1ad)]=Object['assign']({},_0x1c9f92[_0x5d6277(0x1ad)],_0x378e98,_0x7b14f6);},_0x321880[_0x1857a8(0x16a)])(_0x245a11,_0x53cbfb,_0x18d53c);}static[a48_0x414739(0x147)](){const _0x5e37c3=a48_0x414739;this['patchConnection'](),this[_0x5e37c3(0x15a)]();}static[a48_0x414739(0x1aa)](){const _0x318e37=a48_0x414739,_0x5270b3={'JpvqI':function(_0x354e6c,_0x295047,_0x3e6142){return _0x354e6c(_0x295047,_0x3e6142);},'BrCvJ':_0x318e37(0x1bc),'uziDD':'testInfo','Qhala':_0x318e37(0x158),'RCgVS':function(_0x1f08fc,_0x5a107b,_0x3ebcbf){return _0x1f08fc(_0x5a107b,_0x3ebcbf);},'nQgbI':_0x318e37(0x132),'MFeCu':_0x318e37(0x143),'scRLI':function(_0x2b0189,_0x15a20a){return _0x2b0189===_0x15a20a;},'KxLGF':_0x318e37(0x167),'tFJKU':function(_0x52d7e5,_0x5ea8a1,_0x3b1c0e,_0x23376d){return _0x52d7e5(_0x5ea8a1,_0x3b1c0e,_0x23376d);},'PLteN':function(_0x3b8595,_0x1f2c0e){return _0x3b8595(_0x1f2c0e);},'YWAyV':_0x318e37(0x175),'jagDR':_0x318e37(0x16d),'RikIb':'connection.js','XVyms':_0x318e37(0x1a4),'UFphX':function(_0x5ec8c2,_0x4d664b){return _0x5ec8c2(_0x4d664b);},'tXLpA':function(_0x515873,_0x37e1ce){return _0x515873!=_0x37e1ce;},'LKhhd':function(_0x210354){return _0x210354();},'MTzMD':_0x318e37(0x174),'wbYyE':function(_0x47d6ff,_0x5d7af3){return _0x47d6ff(_0x5d7af3);},'mMAIW':_0x318e37(0x161)},_0x3040dd=this;if(!this[_0x318e37(0x1ba)])try{const _0x22bc9d=path[_0x318e37(0x1bb)](_0x5270b3['YWAyV'],_0x5270b3[_0x318e37(0x188)],_0x5270b3[_0x318e37(0x17e)]),_0x34e108=_0x5270b3[_0x318e37(0x12d)](importFileFromPWCore,_0x22bc9d);!_0x34e108?_0x5270b3[_0x318e37(0x12d)](debug,_0x5270b3['XVyms']):this[_0x318e37(0x1ba)]=_0x34e108[_0x318e37(0x1ba)];}catch(_0x1caf7f){_0x5270b3['UFphX'](debug,_0x318e37(0x17f)+_0x1caf7f[_0x318e37(0x1ab)]());}const _0x14c904=this['Connection'];try{if(_0x5270b3[_0x318e37(0x16b)](_0x14c904,null)){const _0x107152=_0x14c904[_0x318e37(0x156)][_0x318e37(0x161)],_0x467945=_0x14c904['prototype'][_0x318e37(0x174)];_0x5270b3[_0x318e37(0x152)](isAccessibilityAutomationSession)&&Object[_0x318e37(0x173)](_0x14c904[_0x318e37(0x156)],_0x5270b3[_0x318e37(0x1a8)],{'get':function(){return async function(){const _0x26eed3=a48_0x2410;try{if(!global['bstackPerformA11yScan']&&global[_0x26eed3(0x17a)]&&_0x5270b3[_0x26eed3(0x164)](nestedKeyValue,global[_0x26eed3(0x132)],[_0x5270b3[_0x26eed3(0x12f)],_0x5270b3['uziDD'],_0x5270b3[_0x26eed3(0x141)]])&&_0x5270b3[_0x26eed3(0x164)](shouldScanTestForAccessibility,global[_0x26eed3(0x132)][_0x26eed3(0x1bc)]['testInfo']['titlePath'],!![])&&scripts[_0x26eed3(0x14c)](arguments[0x1])){logger['debug'](_0x26eed3(0x193)+arguments[0x1]),global[_0x26eed3(0x176)]=!![];const _0x390e77=_0x5270b3[_0x26eed3(0x13c)](nestedKeyValue,global,[_0x5270b3['nQgbI'],_0x5270b3['MFeCu']]);_0x390e77&&logger[_0x26eed3(0x1b8)](_0x26eed3(0x150)+util['format'](await _0x5270b3['JpvqI'](performScanWithRetry,_0x390e77,arguments[0x1]))),_0x5270b3['scRLI'](arguments[0x0][_0x26eed3(0x187)],_0x5270b3['KxLGF'])&&global[_0x26eed3(0x1a5)]&&logger[_0x26eed3(0x1b8)](_0x26eed3(0x14e)+util['format'](await _0x5270b3[_0x26eed3(0x162)](performScanWithRetry,global[_0x26eed3(0x1a5)],arguments[0x1],scripts[_0x26eed3(0x183)])));}}catch(_0x592650){logger[_0x26eed3(0x130)](_0x26eed3(0x133)+util['format'](_0x592650));}return global[_0x26eed3(0x176)]=![],_0x467945[_0x26eed3(0x1c3)](this,arguments);};}}),!_0x5270b3[_0x318e37(0x178)](isFalse,process[_0x318e37(0x151)][_0x318e37(0x198)])&&Object[_0x318e37(0x173)](_0x14c904['prototype'],_0x5270b3['mMAIW'],{'get':function(){return async function _0x58761f(_0x218723){const _0x4e4373=a48_0x2410;if(BrowserstackCLI['getInstance']()[_0x4e4373(0x140)]()){const _0x4da28d={};_0x4da28d[_0x4e4373(0x1c0)]=_0x218723,await BrowserstackCLI[_0x4e4373(0x194)]()['getAutomationFramework']()[_0x4e4373(0x139)](AutomationFrameworkState[_0x4e4373(0x136)],HookState['POST'],_0x4da28d);}else{const _0x5bb16f=_0x218723&&_0x218723[_0x4e4373(0x155)]&&_0x218723[_0x4e4373(0x155)][_0x4e4373(0x1ce)];if(_0x5bb16f){const _0xc0381=_0x5bb16f[_0x4e4373(0x19c)],_0x5bd9bc=_0x5bb16f['platformDetails'];_0x5bd9bc&&(_0x5270b3[_0x4e4373(0x12d)](debug,_0x4e4373(0x153)+_0x5bd9bc[_0x4e4373(0x1ab)]()),_0x3040dd[_0x4e4373(0x1ad)][_0x4e4373(0x1cc)]=_0x5bd9bc[_0x4e4373(0x1ac)],_0x3040dd['currentSessionDetails']['platform_version']=_0x5bd9bc[_0x4e4373(0x1c6)]),_0xc0381&&(_0x5270b3[_0x4e4373(0x12d)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0xc0381),_0x3040dd[_0x4e4373(0x1ad)][_0x4e4373(0x15c)]=_0xc0381);}}return _0x107152[_0x4e4373(0x1c3)](this,arguments);};}});}}catch(_0x32c630){_0x5270b3['UFphX'](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x32c630),_0x3040dd[_0x318e37(0x170)]=_0x32c630[_0x318e37(0x1ab)]();}}static[a48_0x414739(0x15a)](){const _0x27afaa=a48_0x414739,_0x274561={'TgfUe':function(_0x585390,_0x4d69c4){return _0x585390(_0x4d69c4);},'paEKy':function(_0xceabe5){return _0xceabe5();},'CExce':'lib','tSfVt':'server','VJeLR':'chromium','wKcOQ':_0x27afaa(0x185),'kxvLn':function(_0x2e4566,_0x193008){return _0x2e4566(_0x193008);},'eoOxC':_0x27afaa(0x184),'mRAxY':function(_0x150be6,_0x137d89){return _0x150be6(_0x137d89);},'DTwLK':_0x27afaa(0x195),'XQdZl':function(_0x5934dc,_0x218fc4){return _0x5934dc!=_0x218fc4;},'RaGQR':'_onMessage'},_0x13a6e6=this;if(_0x274561[_0x27afaa(0x18a)](isAccessibilityAutomationSession)){let _0x16c73d=null;try{const _0x6d239a=path[_0x27afaa(0x1bb)](_0x274561[_0x27afaa(0x1cf)],_0x274561[_0x27afaa(0x1af)],_0x274561[_0x27afaa(0x1a7)],_0x274561[_0x27afaa(0x146)]),_0x3409d4=_0x274561['TgfUe'](importFileFromPWCore,_0x6d239a);!_0x3409d4?_0x274561[_0x27afaa(0x131)](debug,_0x274561[_0x27afaa(0x13e)]):_0x16c73d=_0x3409d4[_0x27afaa(0x12e)];}catch(_0x1e2435){_0x274561[_0x27afaa(0x1b3)](debug,_0x274561[_0x27afaa(0x1b7)]);}try{if(_0x274561[_0x27afaa(0x190)](_0x16c73d,null)){const _0x4287be=_0x16c73d[_0x27afaa(0x156)][_0x27afaa(0x1b9)];Object[_0x27afaa(0x173)](_0x16c73d[_0x27afaa(0x156)],_0x274561[_0x27afaa(0x165)],{'get':function(){const _0x30c85d={'LTfIl':function(_0x11f510,_0x13823a){const _0xeec565=a48_0x2410;return _0x274561[_0xeec565(0x172)](_0x11f510,_0x13823a);},'NITDk':function(_0x5e7c5b,_0x42fb2e){const _0xa42abe=a48_0x2410;return _0x274561[_0xa42abe(0x172)](_0x5e7c5b,_0x42fb2e);},'CxZSY':function(_0xc11cc4,_0x4d3e28){const _0x24bd5b=a48_0x2410;return _0x274561[_0x24bd5b(0x172)](_0xc11cc4,_0x4d3e28);}};return async function _0x38a126(_0x1b3bab){const _0x1b1f5d=a48_0x2410;try{if(BrowserstackCLI['getInstance']()[_0x1b1f5d(0x140)]()){const _0x280894={};_0x280894[_0x1b1f5d(0x1c0)]=_0x1b3bab,await BrowserstackCLI[_0x1b1f5d(0x194)]()[_0x1b1f5d(0x15e)]()[_0x1b1f5d(0x139)](AutomationFrameworkState[_0x1b1f5d(0x136)],HookState[_0x1b1f5d(0x19b)],_0x280894),delete _0x1b3bab[_0x1b1f5d(0x1b2)];}else{const _0x4ab11f=_0x1b3bab[_0x1b1f5d(0x1b2)];if(_0x4ab11f){delete _0x1b3bab[_0x1b1f5d(0x1b2)];const _0x59a02b=_0x4ab11f[_0x1b1f5d(0x19c)],_0x1a2e81=_0x4ab11f['platformDetails'];_0x1a2e81&&(_0x30c85d['LTfIl'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x1a2e81['toString']()),_0x13a6e6['currentSessionDetails']['platform']=_0x1a2e81[_0x1b1f5d(0x1ac)],_0x13a6e6[_0x1b1f5d(0x1ad)][_0x1b1f5d(0x135)]=_0x1a2e81[_0x1b1f5d(0x1c6)]),_0x59a02b&&(_0x30c85d[_0x1b1f5d(0x1c8)](debug,_0x1b1f5d(0x1a3)+_0x59a02b),_0x13a6e6[_0x1b1f5d(0x1ad)][_0x1b1f5d(0x15c)]=_0x59a02b);}}}catch(_0x17db03){_0x30c85d[_0x1b1f5d(0x192)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x17db03[_0x1b1f5d(0x1ab)]());}return _0x4287be[_0x1b1f5d(0x1c3)](this,arguments);};}});}}catch(_0x256790){_0x274561[_0x27afaa(0x131)](debug,_0x27afaa(0x16c)+_0x256790),_0x13a6e6[_0x27afaa(0x170)]=_0x256790[_0x27afaa(0x1ab)]();}}}static[a48_0x414739(0x177)](){const _0x1ee5ab=a48_0x414739;return this[_0x1ee5ab(0x1ad)];}}function a48_0x2410(_0x45e0d2,_0x1a1ed0){const _0x33c51b=a48_0x33c5();return a48_0x2410=function(_0x24100d,_0x1f57de){_0x24100d=_0x24100d-0x12c;let _0x7ced72=_0x33c51b[_0x24100d];return _0x7ced72;},a48_0x2410(_0x45e0d2,_0x1a1ed0);}function a48_0x33c5(){const _0x4108fa=['RaGQR','toLowerCase','Page','409312iGDKSz','_name','zzlbi','tXLpA','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','client','version','edge','sessionError','aRBDG','TgfUe','defineProperty','sendMessageToServer','lib','bstackPerformA11yScan','getDetails','wbYyE','browserName','accessibilityPlatform','fromEntries','1494zntrBX','use','RikIb','Error\x20in\x20importing\x20connection\x20','../../helpers/accessibility-automation/accessibilityRetryHelper.js','hvLog','includes','performScan','Not\x20able\x20to\x20import\x20crConnection','crConnection.js','browser','_type','jagDR','3kHREcl','paEKy','turboscale','ANcqT','EgCSh','_browserType','_connection','XQdZl','ZhFSL','CxZSY','Performing\x20scan\x20for\x20','getInstance','Error\x20in\x20importing\x20crConnection','product','test','BROWSERSTACK_TEST_OBSERVABILITY','connectOptions','EuhJY','POST','sessionId','entries','query','belar','channel','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','capabilities','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','Not\x20able\x20to\x20import\x20Connection','__driver','automate','VJeLR','MTzMD','WtlFN','patchConnection','toString','platformName','currentSessionDetails','DUbFV','tSfVt','IXjvq','21500000MQMapV','bStackParams','mRAxY','browser_version','browserstack','cloudProvider','DTwLK','info','_onMessage','Connection','join','currentTest','48796RpCxUP','edDrM','../../helpers/accessibility-automation/helper','message','../utils/constants','unknown_grid','apply','moyik','playwright-','platformVersion','_defaultConnectOptions','NITDk','TCPDk','TaBQT','firefox','platform','../v2/state/automationFrameworkState.js','bsParams','CExce','BSTACK_URL','PLteN','CRConnection','BrCvJ','debug','kxvLn','__workerDetails','Failed\x20to\x20perform\x20scan\x20','63uGSKRR','platform_version','PLAYWRIGHT_DISPATCH','../v2/browserstackCLI','TaaZi','trackEvent','setupBrowserDetails','project','RCgVS','560618MuapZQ','eoOxC','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','isRunning','Qhala','zzUfA','pwPage','aqfEf','WCzry','wKcOQ','patch','bIptD','4426948pzchDy','parse','BSTACK_ATS_URL','shouldWrapCommand','winstonLogger','Driver\x20Scan\x20result=','exports','Page\x20Scan\x20result=','env','LKhhd','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','2218335LiMDrM','params','prototype','function','titlePath','qTZgc','patchCRConnection','util','bsSessionId','19117UsEbfW','getAutomationFramework','nsOJu','isRemote','dispatch','tFJKU','model','JpvqI'];a48_0x33c5=function(){return _0x4108fa;};return a48_0x33c5();}module[a48_0x414739(0x14f)]=PlaywrightSessionDetails;
1
+ function a48_0x2fba(){const _0x194905=['bfODO','getAutomationFramework','HWXzl','eEqZs','POST','120ykitac','PLAYWRIGHT_DISPATCH','__workerDetails','sessionError','GHfGs','HfImV','prototype','./accessibility-helper','assign','crConnection.js','KRiXX','bstackPerformA11yScan','local_grid','setupBrowserDetails','dispatch','_connection','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','parse','deviceModel','join','112749etCayw','safari','patchCRConnection','YJulg','4568808rGsWwI','turboscale','browser','aBHEb','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','titlePath','chromium','GDFEB','WAxBt','currentSessionDetails','sessionId','GxaUE','ASUHB','platform_version','apply','isRemote','query','Device\x20Model\x20is\x20not\x20available','aSmvI','message','client','siCXU','winstonLogger','caps','includes','use','unknown_grid','ODzLA','format','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','performScan','Connection','BSTACK_URL','Bijgr','../utils/constants','GHFST','platform','pxlVY','firefox','UMlUu','channel','edge','zqqgT','Page\x20Scan\x20result=','patch','Performing\x20scan\x20for\x20','../../helpers/accessibility-automation/scripts','OAOuw','_type','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','Error\x20in\x20finding\x20platform\x20details\x20','cloudProvider','Page','jYeVi','defineProperty','version','Error\x20in\x20importing\x20crConnection','KzzSx','EUyXN','chrome','model','CRConnection','bMhJC','1429580FXxXpZ','__driver','../v2/state/automationFrameworkState.js','tfYMC','params','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Ijazi','url','bStackParams','platformVersion','FozbG','platformDetails','toLowerCase','../../bin/playwright/accessibility-helper','uZeZT','Setting\x20session\x20id\x20received\x20from\x20BS\x20','platformName','testInfo','../../helpers/test-observability/error-handler','browserName','juiIw','TcFNo','pAeky','_onMessage','currentTest','toString','Driver\x20Scan\x20result=','automate','test','rFDtW','Not\x20able\x20to\x20import\x20Connection','yZywe','EpOkA','project','12feIltN','nLZYc','playwright-','browserstack','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','TmnJA','sendMessageToServer','../../helpers/test-observability/utils','connectOptions','wsEndpoint','KFCMn','nZSQK','_defaultConnectOptions','36313948JzOjcX','gGcmF','product','jDSlA','getInstance','RSpPZ','../../helpers/logger','crcfg','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','kwQzJ','_name','XQowj','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','server','yXhXu','EcWAD','function','475470mLDjnz','6KNqrSv','TFJiF','QkFdN','../../helpers/helper','5458089kNsfie','Failed\x20to\x20perform\x20scan\x20','rzbFN','1518785DQJXCt','mtcoy','debug','patchConnection','tLlED','capabilities','Error\x20in\x20importing\x20connection\x20','xbdie','getDetails','accessibilityPlatform','env','info','ATS_WSS_URL_REGEX','browser_version','bsParams','16vtlssd','nZVwQ','bsSessionId','exports','KSHDV'];a48_0x2fba=function(){return _0x194905;};return a48_0x2fba();}const a48_0x32c572=a48_0x4ae4;(function(_0x571e66,_0x2d1f72){const _0x8920f5=a48_0x4ae4,_0x203b4d=_0x571e66();while(!![]){try{const _0x556505=-parseInt(_0x8920f5(0x15c))/0x1+-parseInt(_0x8920f5(0x19f))/0x2*(-parseInt(_0x8920f5(0x128))/0x3)+parseInt(_0x8920f5(0x13e))/0x4*(parseInt(_0x8920f5(0x12f))/0x5)+parseInt(_0x8920f5(0x108))/0x6*(parseInt(_0x8920f5(0x12c))/0x7)+-parseInt(_0x8920f5(0x160))/0x8+-parseInt(_0x8920f5(0x127))/0x9*(-parseInt(_0x8920f5(0x148))/0xa)+-parseInt(_0x8920f5(0x115))/0xb;if(_0x556505===_0x2d1f72)break;else _0x203b4d['push'](_0x203b4d['shift']());}catch(_0x6070f0){_0x203b4d['push'](_0x203b4d['shift']());}}}(a48_0x2fba,0xd03a8));const path=require('path'),url=require(a48_0x32c572(0x1a6)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a48_0x32c572(0x12b)),{o11yErrorHandler}=require(a48_0x32c572(0x1b1)),{debug,getPlatformDetails}=require(a48_0x32c572(0x10f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a48_0x32c572(0x11b))[a48_0x32c572(0x176)],scripts=require(a48_0x32c572(0x18e)),{browserStackExecuteDriver}=require(a48_0x32c572(0x1ac)),AccessibilityHelper=require(a48_0x32c572(0x14f)),constants=require(a48_0x32c572(0x182)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a48_0x32c572(0x1a1)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a48_0x32c572(0x11d)),getBrowserNameFromChannel=_0x731688=>{const _0x5c4ef0=a48_0x32c572,_0x3be851={};_0x3be851[_0x5c4ef0(0x16c)]=_0x5c4ef0(0x19b),_0x3be851['nZVwQ']=_0x5c4ef0(0x189),_0x3be851[_0x5c4ef0(0x12a)]=_0x5c4ef0(0x186),_0x3be851['KSHDV']=_0x5c4ef0(0x15d);const _0x435999=_0x3be851;if(_0x731688['includes'](_0x435999[_0x5c4ef0(0x16c)]))return _0x435999[_0x5c4ef0(0x16c)];if(_0x731688[_0x5c4ef0(0x178)](_0x435999['nZVwQ']))return _0x435999[_0x5c4ef0(0x13f)];if(_0x731688[_0x5c4ef0(0x178)](_0x435999[_0x5c4ef0(0x12a)]))return _0x435999[_0x5c4ef0(0x12a)];if(_0x731688[_0x5c4ef0(0x178)](_0x435999[_0x5c4ef0(0x142)]))return _0x435999[_0x5c4ef0(0x142)];},getBrowserFromWSEndpoint=_0x395487=>{const _0x702f2e=a48_0x32c572,_0x19a65b={'tfYMC':_0x702f2e(0x19b),'EUyXN':function(_0xcc311a,_0x4479f7){return _0xcc311a(_0x4479f7);}};try{const _0x591c73=url[_0x702f2e(0x159)](_0x395487),_0x3e4357=new URLSearchParams(_0x591c73[_0x702f2e(0x170)]),_0x5908b0=Object['fromEntries'](_0x3e4357['entries']()),_0x512b02=JSON['parse'](_0x5908b0[_0x702f2e(0x177)]);if(_0x512b02&&(_0x512b02[_0x702f2e(0x162)]||_0x512b02['browserName']))return _0x512b02[_0x702f2e(0x162)]||_0x512b02[_0x702f2e(0x1b2)];return _0x19a65b[_0x702f2e(0x1a2)];}catch(_0x48489e){_0x19a65b[_0x702f2e(0x19a)](debug,_0x702f2e(0x122)+_0x48489e['toString']());}},getCloudProviderFromWsEndpoint=_0x35d104=>{const _0x588a60=a48_0x32c572,_0x56f9e9={};_0x56f9e9[_0x588a60(0x146)]=_0x588a60(0x10b),_0x56f9e9[_0x588a60(0x16b)]=_0x588a60(0x17a);const _0x2eddcc=_0x56f9e9;if(_0x35d104[_0x588a60(0x178)](constants[_0x588a60(0x180)])||_0x35d104[_0x588a60(0x178)](constants['BSTACK_ATS_URL']))return _0x2eddcc[_0x588a60(0x146)];return _0x2eddcc[_0x588a60(0x16b)];},a48_0x19f07d={};function a48_0x4ae4(_0x317bc5,_0x3a4ee5){const _0x2fbacc=a48_0x2fba();return a48_0x4ae4=function(_0x4ae48f,_0x35f00e){_0x4ae48f=_0x4ae48f-0xfb;let _0x3b2627=_0x2fbacc[_0x4ae48f];return _0x3b2627;},a48_0x4ae4(_0x317bc5,_0x3a4ee5);}a48_0x19f07d['cloudProvider']=undefined,a48_0x19f07d[a48_0x32c572(0x140)]=undefined,a48_0x19f07d['browser']=undefined,a48_0x19f07d[a48_0x32c572(0x13c)]=undefined,a48_0x19f07d[a48_0x32c572(0x184)]=undefined,a48_0x19f07d[a48_0x32c572(0x16d)]=undefined,a48_0x19f07d[a48_0x32c572(0x117)]=undefined,a48_0x19f07d[a48_0x32c572(0x134)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a48_0x19f07d;constructor(){const _0x283793=a48_0x32c572,_0x32c997={};_0x32c997[_0x283793(0x18f)]=_0x283793(0x10c);const _0x8c93c3=_0x32c997;throw new Error(_0x8c93c3[_0x283793(0x18f)]);}static [a48_0x32c572(0x14b)]=null;static['setupBrowserDetails'](_0xa62300,_0xb9c53d,_0x370d94=null){const _0x28e826=a48_0x32c572,_0x3e3924={'yXhXu':function(_0x149250,_0x52d5b1){return _0x149250===_0x52d5b1;},'nLZYc':_0x28e826(0x126),'Bijgr':_0x28e826(0x164),'zqqgT':function(_0x8cac0f,_0x5c7460){return _0x8cac0f===_0x5c7460;},'bfODO':_0x28e826(0x171),'bMhJC':_0x28e826(0x154),'mtcoy':function(_0x45be49,_0x3956a3,_0xfb7440){return _0x45be49(_0x3956a3,_0xfb7440);},'EpOkA':'_browserType','pxlVY':'_defaultConnectOptions','YJulg':_0x28e826(0x107),'KRiXX':_0x28e826(0x179),'GHFST':_0x28e826(0x110),'xbdie':function(_0x3f3645,_0x53ed0e){return _0x3f3645(_0x53ed0e);},'WAxBt':_0x28e826(0x10b),'jDSlA':_0x28e826(0x161),'BynFC':_0x28e826(0x101),'siCXU':function(_0x2a7db9,_0x12f0b0){return _0x2a7db9(_0x12f0b0);},'kwQzJ':function(_0x29e29a,_0x2ac830){return _0x29e29a+_0x2ac830;},'aWaCh':_0x28e826(0x10a),'pAeky':function(_0x280f1c){return _0x280f1c();},'qZvNL':function(_0x411c7d,_0x1bcd45,_0x5ce08a){return _0x411c7d(_0x1bcd45,_0x5ce08a);},'aBHEb':_0x28e826(0x155)},_0x47d83f=this;return _0x3e3924['qZvNL'](o11yErrorHandler,async function _0x1b4bd3(_0x2549dd,_0x1e4acf,_0x2eb8c6=null){const _0x469d8d=_0x28e826;let _0x3374c4=_0x2549dd[_0x469d8d(0x120)],_0x248be9=null;_0x2549dd&&_0x3e3924[_0x469d8d(0x124)](typeof _0x2549dd[_0x469d8d(0x197)],_0x3e3924[_0x469d8d(0x109)])?_0x248be9=_0x2549dd[_0x469d8d(0x197)]():logger['debug'](_0x3e3924[_0x469d8d(0x181)]);let _0x40da78=null;_0x2549dd&&_0x3e3924[_0x469d8d(0x18a)](typeof _0x2549dd['model'],_0x3e3924[_0x469d8d(0x109)])?_0x40da78=_0x2549dd[_0x469d8d(0x19c)]():logger[_0x469d8d(0x131)](_0x3e3924[_0x469d8d(0x143)]);let _0x21620f=null,_0x324a01=null,_0x340c13=null,_0x1bbd74=_0x3e3924[_0x469d8d(0x19e)];if(_0x2549dd[_0x469d8d(0x157)][_0x469d8d(0x16f)]()||global[_0x469d8d(0x138)]){let _0x1e0bfc=null;_0x3e3924[_0x469d8d(0x130)](nestedKeyValue,_0x2549dd,[_0x3e3924[_0x469d8d(0x106)],_0x3e3924[_0x469d8d(0x185)]])?_0x1e0bfc=_0x2549dd['_browserType'][_0x469d8d(0x114)]:_0x1e0bfc=_0x3e3924[_0x469d8d(0x130)](nestedKeyValue,_0x1e4acf,[_0x3e3924[_0x469d8d(0x15f)],_0x3e3924[_0x469d8d(0x152)],_0x3e3924[_0x469d8d(0x183)]]);const _0x38e864=_0x2eb8c6||_0x1e0bfc&&_0x1e0bfc[_0x469d8d(0x111)];_0x38e864&&(_0x1bbd74=_0x3e3924[_0x469d8d(0x136)](getCloudProviderFromWsEndpoint,_0x38e864),_0x3e3924['yXhXu'](_0x1bbd74,_0x3e3924[_0x469d8d(0x168)])&&(_0x340c13=constants[_0x469d8d(0x13b)][_0x469d8d(0x102)](_0x38e864)?_0x3e3924[_0x469d8d(0x118)]:_0x3e3924['BynFC'],_0x3374c4=_0x3e3924[_0x469d8d(0x175)](getBrowserFromWSEndpoint,_0x38e864)||_0x3374c4,_0x21620f=_0x47d83f['currentSessionDetails'][_0x469d8d(0x184)],_0x324a01=_0x47d83f[_0x469d8d(0x169)][_0x469d8d(0x16d)]));}else{_0x1e4acf&&_0x1e4acf[_0x469d8d(0x107)]['use'][_0x469d8d(0x188)]?_0x3374c4=_0x3e3924[_0x469d8d(0x136)](getBrowserNameFromChannel,_0x1e4acf[_0x469d8d(0x107)][_0x469d8d(0x179)]['channel']):_0x3374c4=_0x3e3924[_0x469d8d(0x11f)](_0x3e3924['aWaCh'],_0x3374c4[_0x469d8d(0x1ab)]());const _0x1d8213=await _0x3e3924[_0x469d8d(0xfc)](getPlatformDetails);_0x21620f=_0x1d8213[_0x469d8d(0x1af)],_0x324a01=_0x1d8213[_0x469d8d(0x1a8)];}const _0x3faef6={};_0x3faef6['browser']=_0x3374c4,_0x3faef6[_0x469d8d(0x13c)]=_0x248be9,_0x3faef6[_0x469d8d(0x134)]={},_0x3faef6[_0x469d8d(0x184)]=_0x21620f,_0x3faef6['platform_version']=_0x324a01,_0x3faef6[_0x469d8d(0x117)]=_0x340c13;const _0x587bd3=_0x3faef6;_0x40da78&&(_0x587bd3[_0x469d8d(0x134)][_0x469d8d(0x15a)]=_0x40da78);const _0x34de8a={};_0x34de8a[_0x469d8d(0x193)]=_0x1bbd74,_0x47d83f[_0x469d8d(0x169)]=Object[_0x469d8d(0x150)]({},_0x47d83f[_0x469d8d(0x169)],_0x34de8a,_0x587bd3);},_0x3e3924[_0x28e826(0x163)])(_0xa62300,_0xb9c53d,_0x370d94);}static[a48_0x32c572(0x18c)](){const _0x85c7f9=a48_0x32c572;this[_0x85c7f9(0x132)](),this[_0x85c7f9(0x15e)]();}static[a48_0x32c572(0x132)](){const _0x3ffa4c=a48_0x32c572,_0x1e6c90={'TcFNo':function(_0xda65ff,_0x54ed47,_0x57fb1e){return _0xda65ff(_0x54ed47,_0x57fb1e);},'tLlED':_0x3ffa4c(0xfe),'ZRqDH':'testInfo','GHfGs':_0x3ffa4c(0x165),'cdgvR':_0x3ffa4c(0x14a),'toLDk':'pwPage','aSmvI':function(_0x5ba654,_0x38a425){return _0x5ba654===_0x38a425;},'KFCMn':_0x3ffa4c(0x194),'TmnJA':function(_0x38092,_0x3b103c,_0x4c8257,_0x324261){return _0x38092(_0x3b103c,_0x4c8257,_0x324261);},'UMlUu':function(_0x530c58,_0x23be3c){return _0x530c58(_0x23be3c);},'TFJiF':'lib','HWXzl':_0x3ffa4c(0x174),'HfImV':'connection.js','juiIw':function(_0x4af1bb,_0x10bf6a){return _0x4af1bb(_0x10bf6a);},'Ijazi':function(_0x31ccb5,_0x5ea08f){return _0x31ccb5(_0x5ea08f);},'crcfg':_0x3ffa4c(0x104),'rFDtW':function(_0x1544d5,_0x450fd9){return _0x1544d5!=_0x450fd9;},'FozbG':function(_0x3db2ac){return _0x3db2ac();},'yZywe':_0x3ffa4c(0x10e),'jYeVi':'dispatch'},_0x293f9c=this;if(!this[_0x3ffa4c(0x17f)])try{const _0xb2939b=path[_0x3ffa4c(0x15b)](_0x1e6c90[_0x3ffa4c(0x129)],_0x1e6c90[_0x3ffa4c(0x145)],_0x1e6c90[_0x3ffa4c(0x14d)]),_0x145483=_0x1e6c90[_0x3ffa4c(0x1b3)](importFileFromPWCore,_0xb2939b);!_0x145483?_0x1e6c90[_0x3ffa4c(0x1a5)](debug,_0x1e6c90[_0x3ffa4c(0x11c)]):this[_0x3ffa4c(0x17f)]=_0x145483['Connection'];}catch(_0xdcf5d8){_0x1e6c90['Ijazi'](debug,_0x3ffa4c(0x135)+_0xdcf5d8[_0x3ffa4c(0xff)]());}const _0x29206b=this[_0x3ffa4c(0x17f)];try{if(_0x1e6c90[_0x3ffa4c(0x103)](_0x29206b,null)){const _0x4deea6=_0x29206b[_0x3ffa4c(0x14e)][_0x3ffa4c(0x156)],_0x419955=_0x29206b['prototype'][_0x3ffa4c(0x10e)];_0x1e6c90[_0x3ffa4c(0x1a9)](isAccessibilityAutomationSession)&&Object[_0x3ffa4c(0x196)](_0x29206b[_0x3ffa4c(0x14e)],_0x1e6c90[_0x3ffa4c(0x105)],{'get':function(){return async function(){const _0x384a2d=a48_0x4ae4;try{if(!global[_0x384a2d(0x153)]&&global[_0x384a2d(0x138)]&&_0x1e6c90[_0x384a2d(0xfb)](nestedKeyValue,global[_0x384a2d(0x14a)],[_0x1e6c90[_0x384a2d(0x133)],_0x1e6c90['ZRqDH'],_0x1e6c90[_0x384a2d(0x14c)]])&&_0x1e6c90[_0x384a2d(0xfb)](shouldScanTestForAccessibility,global[_0x384a2d(0x14a)][_0x384a2d(0xfe)][_0x384a2d(0x1b0)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x384a2d(0x131)](_0x384a2d(0x18d)+arguments[0x1]),global[_0x384a2d(0x153)]=!![];const _0x181c06=_0x1e6c90[_0x384a2d(0xfb)](nestedKeyValue,global,[_0x1e6c90['cdgvR'],_0x1e6c90['toLDk']]);_0x181c06&&logger['info'](_0x384a2d(0x18b)+util[_0x384a2d(0x17c)](await _0x1e6c90[_0x384a2d(0xfb)](performScanWithRetry,_0x181c06,arguments[0x1]))),_0x1e6c90[_0x384a2d(0x172)](arguments[0x0][_0x384a2d(0x190)],_0x1e6c90[_0x384a2d(0x112)])&&global[_0x384a2d(0x1a0)]&&logger[_0x384a2d(0x13a)](_0x384a2d(0x100)+util[_0x384a2d(0x17c)](await _0x1e6c90[_0x384a2d(0x10d)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x384a2d(0x17e)])));}}catch(_0x4c0d80){logger[_0x384a2d(0x131)](_0x384a2d(0x12d)+util[_0x384a2d(0x17c)](_0x4c0d80));}return global[_0x384a2d(0x153)]=![],_0x419955[_0x384a2d(0x16e)](this,arguments);};}}),!_0x1e6c90[_0x3ffa4c(0x187)](isFalse,process[_0x3ffa4c(0x139)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x3ffa4c(0x196)](_0x29206b[_0x3ffa4c(0x14e)],_0x1e6c90[_0x3ffa4c(0x195)],{'get':function(){return async function _0x215ac8(_0x420e1b){const _0x297ea8=a48_0x4ae4;if(BrowserstackCLI[_0x297ea8(0x119)]()['isRunning']()){const _0x1f0644={};_0x1f0644[_0x297ea8(0x173)]=_0x420e1b,await BrowserstackCLI[_0x297ea8(0x119)]()[_0x297ea8(0x144)]()['trackEvent'](AutomationFrameworkState[_0x297ea8(0x149)],HookState[_0x297ea8(0x147)],_0x1f0644);}else{const _0x25346f=_0x420e1b&&_0x420e1b[_0x297ea8(0x1a3)]&&_0x420e1b[_0x297ea8(0x1a3)][_0x297ea8(0x13d)];if(_0x25346f){const _0x179309=_0x25346f[_0x297ea8(0x16a)],_0x4cf202=_0x25346f[_0x297ea8(0x1aa)];_0x4cf202&&(_0x1e6c90['UMlUu'](debug,_0x297ea8(0x191)+_0x4cf202[_0x297ea8(0xff)]()),_0x293f9c['currentSessionDetails'][_0x297ea8(0x184)]=_0x4cf202[_0x297ea8(0x1af)],_0x293f9c[_0x297ea8(0x169)]['platform_version']=_0x4cf202[_0x297ea8(0x1a8)]),_0x179309&&(_0x1e6c90[_0x297ea8(0x187)](debug,_0x297ea8(0x1ae)+_0x179309),_0x293f9c[_0x297ea8(0x169)][_0x297ea8(0x140)]=_0x179309);}}return _0x4deea6[_0x297ea8(0x16e)](this,arguments);};}});}}catch(_0x11e187){_0x1e6c90['UMlUu'](debug,_0x3ffa4c(0x158)+_0x11e187),_0x293f9c[_0x3ffa4c(0x14b)]=_0x11e187[_0x3ffa4c(0xff)]();}}static[a48_0x32c572(0x15e)](){const _0x42daa2=a48_0x32c572,_0x5efa02={'whjCC':function(_0x82b58e,_0x586e1a){return _0x82b58e(_0x586e1a);},'ODzLA':function(_0x225b6c,_0x28ad1f){return _0x225b6c(_0x28ad1f);},'XQowj':function(_0x4ad09c,_0x952689){return _0x4ad09c(_0x952689);},'ONvFq':function(_0x248aaa){return _0x248aaa();},'fnfCL':'lib','RSpPZ':_0x42daa2(0x123),'nZSQK':_0x42daa2(0x166),'GDFEB':_0x42daa2(0x151),'uZeZT':function(_0x2ccbbf,_0x1ac523){return _0x2ccbbf(_0x1ac523);},'EcWAD':function(_0x1f5626,_0x350cb4){return _0x1f5626(_0x350cb4);},'zxlMn':'Not\x20able\x20to\x20import\x20crConnection','tuFcu':function(_0x41ee14,_0x117716){return _0x41ee14(_0x117716);},'gGcmF':_0x42daa2(0x198),'aXWkP':function(_0x2e3d01,_0x4b0eee){return _0x2e3d01!=_0x4b0eee;},'rzbFN':_0x42daa2(0xfd),'KzzSx':function(_0x44351b,_0x2f6de6){return _0x44351b(_0x2f6de6);}},_0x59f571=this;if(_0x5efa02['ONvFq'](isAccessibilityAutomationSession)){let _0x446f65=null;try{const _0x31a7ba=path['join'](_0x5efa02['fnfCL'],_0x5efa02[_0x42daa2(0x11a)],_0x5efa02[_0x42daa2(0x113)],_0x5efa02[_0x42daa2(0x167)]),_0xe14a94=_0x5efa02[_0x42daa2(0x1ad)](importFileFromPWCore,_0x31a7ba);!_0xe14a94?_0x5efa02[_0x42daa2(0x125)](debug,_0x5efa02['zxlMn']):_0x446f65=_0xe14a94[_0x42daa2(0x19d)];}catch(_0x2f5d05){_0x5efa02['tuFcu'](debug,_0x5efa02[_0x42daa2(0x116)]);}try{if(_0x5efa02['aXWkP'](_0x446f65,null)){const _0x5af4c4=_0x446f65['prototype'][_0x42daa2(0xfd)];Object[_0x42daa2(0x196)](_0x446f65[_0x42daa2(0x14e)],_0x5efa02[_0x42daa2(0x12e)],{'get':function(){return async function _0x30452f(_0x47321c){const _0x4844a7=a48_0x4ae4;try{if(BrowserstackCLI[_0x4844a7(0x119)]()['isRunning']()){const _0xa95c13={};_0xa95c13[_0x4844a7(0x173)]=_0x47321c,await BrowserstackCLI[_0x4844a7(0x119)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x4844a7(0x149)],HookState[_0x4844a7(0x147)],_0xa95c13),delete _0x47321c['bStackParams'];}else{const _0x5bab5d=_0x47321c[_0x4844a7(0x1a7)];if(_0x5bab5d){delete _0x47321c[_0x4844a7(0x1a7)];const _0xd1bd4d=_0x5bab5d[_0x4844a7(0x16a)],_0x224a29=_0x5bab5d['platformDetails'];_0x224a29&&(_0x5efa02['whjCC'](debug,_0x4844a7(0x17d)+_0x224a29[_0x4844a7(0xff)]()),_0x59f571[_0x4844a7(0x169)][_0x4844a7(0x184)]=_0x224a29[_0x4844a7(0x1af)],_0x59f571['currentSessionDetails'][_0x4844a7(0x16d)]=_0x224a29['platformVersion']),_0xd1bd4d&&(_0x5efa02[_0x4844a7(0x17b)](debug,_0x4844a7(0x11e)+_0xd1bd4d),_0x59f571[_0x4844a7(0x169)][_0x4844a7(0x140)]=_0xd1bd4d);}}}catch(_0x48613e){_0x5efa02[_0x4844a7(0x121)](debug,_0x4844a7(0x192)+_0x48613e[_0x4844a7(0xff)]());}return _0x5af4c4[_0x4844a7(0x16e)](this,arguments);};}});}}catch(_0x47ee82){_0x5efa02[_0x42daa2(0x199)](debug,_0x42daa2(0x1a4)+_0x47ee82),_0x59f571[_0x42daa2(0x14b)]=_0x47ee82[_0x42daa2(0xff)]();}}}static[a48_0x32c572(0x137)](){const _0x1752b9=a48_0x32c572;return this[_0x1752b9(0x169)];}}module[a48_0x32c572(0x141)]=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a49_0x5bb165=a49_0x5236;function a49_0x5236(_0xa98612,_0x4e5e60){const _0x1e37cf=a49_0x1e37();return a49_0x5236=function(_0x5236f0,_0x2352eb){_0x5236f0=_0x5236f0-0x1db;let _0x6f9d04=_0x1e37cf[_0x5236f0];return _0x6f9d04;},a49_0x5236(_0xa98612,_0x4e5e60);}(function(_0x18e9e1,_0x595a6a){const _0x52048d=a49_0x5236,_0x30fbc7=_0x18e9e1();while(!![]){try{const _0x44bfbe=-parseInt(_0x52048d(0x231))/0x1*(-parseInt(_0x52048d(0x236))/0x2)+parseInt(_0x52048d(0x25b))/0x3*(-parseInt(_0x52048d(0x223))/0x4)+-parseInt(_0x52048d(0x1f5))/0x5*(-parseInt(_0x52048d(0x246))/0x6)+parseInt(_0x52048d(0x1e8))/0x7+parseInt(_0x52048d(0x261))/0x8+-parseInt(_0x52048d(0x256))/0x9+parseInt(_0x52048d(0x219))/0xa;if(_0x44bfbe===_0x595a6a)break;else _0x30fbc7['push'](_0x30fbc7['shift']());}catch(_0x44b94e){_0x30fbc7['push'](_0x30fbc7['shift']());}}}(a49_0x1e37,0x47bc1));const fs=require('fs'),path=require(a49_0x5bb165(0x21a)),util=require(a49_0x5bb165(0x242)),spawn=require('child_process')['spawn'],{requireModule}=require(a49_0x5bb165(0x1e4)),PerformanceTester=require(a49_0x5bb165(0x259)),PerformanceEvents=require('../helpers/performance/constants')[a49_0x5bb165(0x235)],helper=require(a49_0x5bb165(0x1e4)),utilities=require(a49_0x5bb165(0x225)),{default:BrowserStackSetup}=require(a49_0x5bb165(0x1dd)),{FRAMEWORKS}=require(a49_0x5bb165(0x21b)),runIntegrations=require('./integrations/command'),yargs=require('yargs'),Constants=require(a49_0x5bb165(0x248)),BrowserstackCLI=require(a49_0x5bb165(0x1f0)),logger=require(a49_0x5bb165(0x23a))[a49_0x5bb165(0x234)],origArgs=Object['assign']([],process[a49_0x5bb165(0x20f)]),captureError=async(_0x14621c,_0x123df8,_0x1b3757,_0x35f4f8=null)=>{const _0x5c52f2=a49_0x5bb165,_0x24ff61={'vHfww':function(_0x399e2c,_0x588341,_0x527a0e,_0x102696){return _0x399e2c(_0x588341,_0x527a0e,_0x102696);},'gykTg':_0x5c52f2(0x270)};try{logger[_0x5c52f2(0x267)](_0x5c52f2(0x1fb)+origArgs[_0x5c52f2(0x239)]('\x20')),await _0x24ff61['vHfww'](_0x14621c,_0x123df8,_0x35f4f8,_0x1b3757);}catch(_0x1679b1){process[_0x5c52f2(0x1f1)]=0x1,logger[_0x5c52f2(0x24a)](util[_0x5c52f2(0x23e)](_0x1679b1));const _0x142742={'globalException':util['format']('%j',_0x1679b1)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x5c52f2(0x23e)](_0x1679b1));if(helper['isUndefined'](global[_0x5c52f2(0x252)])&&helper['isUndefined'](global['framework']))return;try{utilities[_0x5c52f2(0x260)](_0x24ff61[_0x5c52f2(0x254)],_0x142742,global[_0x5c52f2(0x252)],global[_0x5c52f2(0x22b)]);}catch(_0x20f538){logger[_0x5c52f2(0x211)](_0x5c52f2(0x204)+_0x20f538[_0x5c52f2(0x24d)]);}try{await helper[_0x5c52f2(0x23c)](global[_0x5c52f2(0x252)]);}catch(_0x4af5a4){logger[_0x5c52f2(0x211)](_0x5c52f2(0x244)+_0x4af5a4[_0x5c52f2(0x24d)]);}await BrowserstackCLI[_0x5c52f2(0x20b)]()['stop'](),PerformanceTester[_0x5c52f2(0x265)](PerformanceEvents[_0x5c52f2(0x22e)],![],util['format'](_0x1679b1));}finally{PerformanceTester[_0x5c52f2(0x22c)](PerformanceEvents[_0x5c52f2(0x1f7)]);}};try{const browserstackFolderPath=path[a49_0x5bb165(0x239)](helper[a49_0x5bb165(0x21f)](),a49_0x5bb165(0x209));if(fs[a49_0x5bb165(0x20d)](browserstackFolderPath)){const filePath=path[a49_0x5bb165(0x239)](browserstackFolderPath,a49_0x5bb165(0x203));fs[a49_0x5bb165(0x20d)](filePath)&&fs[a49_0x5bb165(0x220)](filePath);}}catch(a49_0x24a73b){logger[a49_0x5bb165(0x211)](a49_0x5bb165(0x24b)+a49_0x24a73b[a49_0x5bb165(0x25e)]);}process[a49_0x5bb165(0x20f)]['includes'](a49_0x5bb165(0x26b))&&(!process['argv'][a49_0x5bb165(0x266)]('--opts')&&process[a49_0x5bb165(0x20f)]['push'](a49_0x5bb165(0x215)),!process[a49_0x5bb165(0x20f)]['find'](_0x2656ae=>_0x2656ae[a49_0x5bb165(0x266)]('--config'))&&process[a49_0x5bb165(0x20f)][a49_0x5bb165(0x1fc)](a49_0x5bb165(0x1eb)),!process[a49_0x5bb165(0x20f)][a49_0x5bb165(0x266)](a49_0x5bb165(0x255))&&process[a49_0x5bb165(0x20f)][a49_0x5bb165(0x1fc)](a49_0x5bb165(0x237)),helper['findAndReplace'](process[a49_0x5bb165(0x20f)],'--require',a49_0x5bb165(0x20e)));function a49_0x1e37(){const _0x174f31=['handler','INFO','mocha','yHeoN','IVNeN','axYxj','xhHUL','SDKTestSuccessful','isUndefined','VANILLA','../helpers/BrowserStackSetup','RHepr','MOCHA','KJTUd','usage','VJuFq','playwright','../helpers/helper','evtFp','CXGXV','FCjvj','1492925ZSIhqR','ZXiDP','codeceptjs','--no-config','alias','XsmRd','../../ats/src/index','BROWSERSTACK_CONFIG_FILE_PATH','./v2/browserstackCLI','exitCode','RYHeJ','describe','Runs\x20the\x20binary\x20with\x20load\x20command','260sEeHim','Show\x20help','SDK_CLEANUP','setTestObservabilityDisable','XoTAU','INTEGRATIONS','Running\x20SDK\x20with\x20args\x20','push','mocha/lib/cli/commands.js','mocha/lib/cli/cli.js','XcKTV','NIGHTWATCH','HELP','meYvT','.local-not-set.json','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','load\x20[subcommand]','OuuuQ','vanilla','VWUwG','.browserstack','nightwatch','getInstance','showHelpOnFail','existsSync','--mochaRequire','argv','demandCommand','debug','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./load/index','oGSZx','--no-opts','VYJZs','XlYxx','peTLQ','2408570KgFsWe','path','../helpers/test-observability/constants','AZyDj','exitProcess','wrap','homedir','unlinkSync','SAwWi','HiEry','908aPKPwp','slice','../helpers/utilities','PLAYWRIGHT','./playwright/command','./jest/command','strict','getConfigPath','framework','start','parserConfiguration','SDK_SETUP','jUaGt','usage:\x20$0\x20<command>\x20[args]','14177GhLiwK','command','CmsVv','winstonLogger','EVENTS','6jEEHLm','--no-package','./codeceptjs/command','join','../helpers/logger','./cucumber-js/command','sendLogs','bLxUM','format','zzvEn','yEaJJ','mocha/lib/cli/run.js','util','sMfYD','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','boolean','4848YzfAuz','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./utils/constants','DucFp','error','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','HST','stack','tZgbe','FJAXl','ats','cucumber-js','config','EOHvQ','gykTg','--package','3549114IPOFUd','env','VrqSB','../helpers/performance/performance-tester','dot-notation','888bYORkv','./mocha/command','aWzrf','message','help','fireFunnelTestEvent','1733472JgXuYQ','nGcbm','run','JEST','end','includes','info','setBrowserStackAutomationDisable'];a49_0x1e37=function(){return _0x174f31;};return a49_0x1e37();}PerformanceTester[a49_0x5bb165(0x22c)](PerformanceEvents[a49_0x5bb165(0x22e)]);const a49_0x3f38c5={};a49_0x3f38c5[a49_0x5bb165(0x25a)]=![];const argv=yargs[a49_0x5bb165(0x22d)](a49_0x3f38c5)[a49_0x5bb165(0x1e1)](a49_0x5bb165(0x230))[a49_0x5bb165(0x1ec)]('v','version')[a49_0x5bb165(0x1f3)]('v')[a49_0x5bb165(0x1ec)]('h',a49_0x5bb165(0x25f))[a49_0x5bb165(0x25f)](a49_0x5bb165(0x25f))[a49_0x5bb165(0x20c)](!![],Constants['VERSION'][a49_0x5bb165(0x201)])['command']('jest',Constants[a49_0x5bb165(0x264)][a49_0x5bb165(0x26a)],function(_0x18aa25){const _0x598866=a49_0x5bb165,_0x5977d7={'FCjvj':'jest','DucFp':function(_0x31a3e3,_0x42321d,_0xae9a54,_0x33dbca,_0x1b43c0){return _0x31a3e3(_0x42321d,_0xae9a54,_0x33dbca,_0x1b43c0);},'YHHpU':function(_0x3240ed,_0x321eb5){return _0x3240ed(_0x321eb5);},'VWUwG':_0x598866(0x228)},_0x322ced=process[_0x598866(0x20f)][_0x598866(0x224)](0x2);helper[_0x598866(0x1f8)](),helper['setBrowserStackAutomationDisable']();const _0x3f9abd=new BrowserStackSetup(_0x18aa25[_0x598866(0x20f)],_0x5977d7[_0x598866(0x1e7)]);return _0x5977d7[_0x598866(0x249)](captureError,_0x5977d7['YHHpU'](require,_0x5977d7[_0x598866(0x208)]),_0x18aa25['argv'],_0x3f9abd,_0x322ced);})['command'](a49_0x5bb165(0x26b),Constants[a49_0x5bb165(0x1df)][a49_0x5bb165(0x26a)],_0x1f6731=>{const _0xaf29ef=a49_0x5bb165,_0xd58c9c={'peTLQ':function(_0x3e4a38,_0x1f3da3,_0x5b0e5f,_0x35e91e){return _0x3e4a38(_0x1f3da3,_0x5b0e5f,_0x35e91e);},'tZgbe':function(_0x3b8a4e,_0x275c3c){return _0x3b8a4e(_0x275c3c);},'VYJZs':_0xaf29ef(0x25c),'bLxUM':_0xaf29ef(0x26b),'nGcbm':'Parsing\x20command\x20line\x20arguments','AZyDj':function(_0x1b9a6a,_0x50a49a,_0x13acfc){return _0x1b9a6a(_0x50a49a,_0x13acfc);},'zhZOX':_0xaf29ef(0x241),'CXGXV':function(_0x5d9b1f,_0x2fdc8a,_0x351fcb){return _0x5d9b1f(_0x2fdc8a,_0x351fcb);},'RYHeJ':_0xaf29ef(0x1fd),'IVNeN':function(_0x566836,_0xfd2061,_0x17f25f){return _0x566836(_0xfd2061,_0x17f25f);},'jmfJu':_0xaf29ef(0x1fe),'jUaGt':function(_0x5ec5b4){return _0x5ec5b4();}};process[_0xaf29ef(0x20f)]=process['argv'][_0xaf29ef(0x224)](0x1),helper[_0xaf29ef(0x1f8)](),helper['setBrowserStackAutomationDisable']();const _0x303361=new BrowserStackSetup(_0x1f6731[_0xaf29ef(0x20f)],_0xd58c9c['bLxUM']);logger['debug'](_0xd58c9c[_0xaf29ef(0x262)]);const _0x507073=_0xd58c9c[_0xaf29ef(0x21c)](requireModule,_0xd58c9c['zhZOX'],_0xd58c9c['bLxUM']),_0x27e870=_0xd58c9c[_0xaf29ef(0x1e6)](requireModule,_0xd58c9c[_0xaf29ef(0x1f2)],_0xd58c9c['bLxUM']);delete _0x507073['handler'],_0x507073[_0xaf29ef(0x269)]=function(_0x202b97){const _0x23d4a8=_0xaf29ef;return _0xd58c9c[_0x23d4a8(0x218)](captureError,_0xd58c9c[_0x23d4a8(0x24e)](require,_0xd58c9c[_0x23d4a8(0x216)]),_0x202b97,_0x303361);},_0x27e870[_0xaf29ef(0x263)]=_0x507073;const {main:_0x2cef13}=_0xd58c9c[_0xaf29ef(0x26d)](requireModule,_0xd58c9c['jmfJu'],_0xd58c9c[_0xaf29ef(0x23d)]);_0xd58c9c[_0xaf29ef(0x22f)](_0x2cef13);})[a49_0x5bb165(0x232)]('cucumber-js',Constants['CUCUMBER'][a49_0x5bb165(0x26a)],function(_0x57258c){const _0x50ad72=a49_0x5bb165,_0x1c09b8={'CmsVv':_0x50ad72(0x251),'meYvT':function(_0x377181,_0x43ee68,_0xdad2c8,_0x4388ae,_0x2e32be){return _0x377181(_0x43ee68,_0xdad2c8,_0x4388ae,_0x2e32be);},'FJAXl':function(_0x36896d,_0x17b053){return _0x36896d(_0x17b053);},'evtFp':_0x50ad72(0x23b)},_0x71e6d5=process[_0x50ad72(0x20f)][_0x50ad72(0x224)](0x2),_0x37b295=new BrowserStackSetup(_0x57258c[_0x50ad72(0x20f)],_0x1c09b8[_0x50ad72(0x233)]);return _0x1c09b8[_0x50ad72(0x202)](captureError,_0x1c09b8[_0x50ad72(0x24f)](require,_0x1c09b8[_0x50ad72(0x1e5)]),_0x57258c[_0x50ad72(0x20f)],_0x37b295,_0x71e6d5);})['command']('node',Constants[a49_0x5bb165(0x1dc)][a49_0x5bb165(0x26a)],function(_0x624e38){const _0x76a4dd=a49_0x5bb165,_0x2f83f2={'oGSZx':_0x76a4dd(0x207),'XlYxx':function(_0x15777a,_0x7891f1,_0x2ddf3f,_0x4172ab,_0x548d02){return _0x15777a(_0x7891f1,_0x2ddf3f,_0x4172ab,_0x548d02);},'HiEry':function(_0x11a879,_0x3b49fb){return _0x11a879(_0x3b49fb);},'RHepr':'./vanilla-js/command'},_0xa62fd1=process[_0x76a4dd(0x20f)]['slice'](0x2),_0x1ea3c7=new BrowserStackSetup(_0x624e38[_0x76a4dd(0x20f)],_0x2f83f2[_0x76a4dd(0x214)]);return _0x2f83f2[_0x76a4dd(0x217)](captureError,_0x2f83f2[_0x76a4dd(0x222)](require,_0x2f83f2[_0x76a4dd(0x1de)]),_0x624e38[_0x76a4dd(0x20f)],_0x1ea3c7,_0xa62fd1);})['command'](a49_0x5bb165(0x20a),Constants[a49_0x5bb165(0x200)]['INFO'],function(_0x1e9c23){const _0x2a5401=a49_0x5bb165,_0x2e8a12={'XsmRd':function(_0x2baa6a,_0xec5801,_0x32c552,_0x19bb38,_0x35587f){return _0x2baa6a(_0xec5801,_0x32c552,_0x19bb38,_0x35587f);},'XoTAU':function(_0xedd05,_0x660e8d){return _0xedd05(_0x660e8d);},'yHeoN':'./nightwatch/command'},_0x2acd7b=process[_0x2a5401(0x20f)][_0x2a5401(0x224)](0x2),_0x5e09cd=new BrowserStackSetup(_0x1e9c23[_0x2a5401(0x20f)]);return _0x2e8a12[_0x2a5401(0x1ed)](captureError,_0x2e8a12[_0x2a5401(0x1f9)](require,_0x2e8a12[_0x2a5401(0x26c)]),_0x1e9c23[_0x2a5401(0x20f)],_0x5e09cd,_0x2acd7b);})['command'](a49_0x5bb165(0x1ea),Constants['CODECEPTJS']['INFO'],function(_0x3354f9){const _0x4ccd0a=a49_0x5bb165,_0x2263bf={'xhHUL':_0x4ccd0a(0x1ea),'wGOzM':function(_0x57fb47,_0x7423bd,_0x4301f9,_0x4a134c,_0x516c1a){return _0x57fb47(_0x7423bd,_0x4301f9,_0x4a134c,_0x516c1a);},'aWzrf':function(_0x546675,_0x5197b1){return _0x546675(_0x5197b1);},'EOHvQ':_0x4ccd0a(0x238)},_0x11ea48=process[_0x4ccd0a(0x20f)][_0x4ccd0a(0x224)](0x2),_0x1e2325=new BrowserStackSetup(_0x3354f9[_0x4ccd0a(0x20f)],_0x2263bf[_0x4ccd0a(0x26f)]);return _0x2263bf['wGOzM'](captureError,_0x2263bf[_0x4ccd0a(0x25d)](require,_0x2263bf[_0x4ccd0a(0x253)]),_0x3354f9[_0x4ccd0a(0x20f)],_0x1e2325,_0x11ea48);})[a49_0x5bb165(0x232)](a49_0x5bb165(0x250),Constants[a49_0x5bb165(0x24c)][a49_0x5bb165(0x26a)],function(_0x27fb37){const _0x220759=a49_0x5bb165,_0x424c26={'axYxj':function(_0x524386,_0xe10fe1,_0x210499){return _0x524386(_0xe10fe1,_0x210499);},'STCpm':function(_0x150e86,_0x57762c){return _0x150e86(_0x57762c);},'zzvEn':_0x220759(0x1ee)},_0x134b76=process[_0x220759(0x20f)][_0x220759(0x224)](0x2);return _0x424c26[_0x220759(0x26e)](captureError,_0x424c26['STCpm'](require,_0x424c26[_0x220759(0x23f)]),_0x27fb37);})['command']('integrations',Constants[a49_0x5bb165(0x1fa)][a49_0x5bb165(0x26a)],function(_0x46ce4d){const _0x8d2adb={'RsHHi':function(_0x5e3c43,_0x688651){return _0x5e3c43(_0x688651);}};return _0x8d2adb['RsHHi'](runIntegrations,_0x46ce4d);})[a49_0x5bb165(0x232)](a49_0x5bb165(0x1e3),Constants[a49_0x5bb165(0x226)]['INFO'],function(_0x25e221){const _0x13793c=a49_0x5bb165,_0x5a41ec={'KJTUd':function(_0x2cbca4,_0x423f9b,_0x1b1e03,_0x32565a,_0x18f653){return _0x2cbca4(_0x423f9b,_0x1b1e03,_0x32565a,_0x18f653);},'OuuuQ':function(_0x5bbcbe,_0x3a132f){return _0x5bbcbe(_0x3a132f);},'XcKTV':_0x13793c(0x227)},_0x494a9b=process['argv'][_0x13793c(0x224)](0x2);helper[_0x13793c(0x22a)](process[_0x13793c(0x20f)])&&(process[_0x13793c(0x257)][_0x13793c(0x1ef)]=helper['getConfigPath'](process[_0x13793c(0x20f)]));helper[_0x13793c(0x1f8)](),helper[_0x13793c(0x268)]();const _0x1a53b8=new BrowserStackSetup(_0x25e221['argv'],FRAMEWORKS[_0x13793c(0x226)]);return _0x5a41ec[_0x13793c(0x1e0)](captureError,_0x5a41ec[_0x13793c(0x206)](require,_0x5a41ec[_0x13793c(0x1ff)]),_0x25e221['argv'],_0x1a53b8,_0x494a9b);})[a49_0x5bb165(0x232)](a49_0x5bb165(0x205),a49_0x5bb165(0x1f4),function(_0x25c8a5){const _0x49066c=a49_0x5bb165,_0x148664={};_0x148664[_0x49066c(0x258)]='help',_0x148664[_0x49066c(0x1e9)]=_0x49066c(0x245),_0x148664['SAwWi']=_0x49066c(0x1f6);const _0x41fa8b=_0x148664;return _0x25c8a5[_0x49066c(0x25f)](![])['option'](_0x41fa8b['VrqSB'],{'alias':'h','type':_0x41fa8b[_0x49066c(0x1e9)],'describe':_0x41fa8b[_0x49066c(0x221)]})[_0x49066c(0x229)](![])[_0x49066c(0x21d)](![]);},function(_0x4c6f69){const _0x5bd5c7=a49_0x5bb165,_0x469833={'VJuFq':function(_0x42702f,_0x7c09a9,_0x2aabd3){return _0x42702f(_0x7c09a9,_0x2aabd3);},'yEaJJ':function(_0x1fe573,_0x30d2d4){return _0x1fe573(_0x30d2d4);},'sMfYD':_0x5bd5c7(0x213)},_0x110f42={};return _0x110f42['argv']=_0x4c6f69,_0x469833[_0x5bd5c7(0x1e2)](captureError,_0x469833[_0x5bd5c7(0x240)](require,_0x469833[_0x5bd5c7(0x243)]),_0x110f42);})[a49_0x5bb165(0x210)](0x1,a49_0x5bb165(0x247))[a49_0x5bb165(0x21e)](null)[a49_0x5bb165(0x20f)];!helper[a49_0x5bb165(0x1db)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a49_0x5bb165(0x250)&&console[a49_0x5bb165(0x24a)](a49_0x5bb165(0x212));
2
+ 'use strict';const a49_0x4f8928=a49_0x358e;(function(_0x4da621,_0x36e2fc){const _0x42e6ac=a49_0x358e,_0x22cc45=_0x4da621();while(!![]){try{const _0x11d454=parseInt(_0x42e6ac(0xfb))/0x1+parseInt(_0x42e6ac(0x132))/0x2*(-parseInt(_0x42e6ac(0x115))/0x3)+-parseInt(_0x42e6ac(0x13c))/0x4+parseInt(_0x42e6ac(0xda))/0x5+parseInt(_0x42e6ac(0x147))/0x6+-parseInt(_0x42e6ac(0xe5))/0x7*(-parseInt(_0x42e6ac(0xe9))/0x8)+-parseInt(_0x42e6ac(0xcf))/0x9;if(_0x11d454===_0x36e2fc)break;else _0x22cc45['push'](_0x22cc45['shift']());}catch(_0x126e55){_0x22cc45['push'](_0x22cc45['shift']());}}}(a49_0x5641,0x796f5));function a49_0x358e(_0x78840e,_0x5f20df){const _0x5641e6=a49_0x5641();return a49_0x358e=function(_0x358e73,_0x3d73a4){_0x358e73=_0x358e73-0xc3;let _0x596e7d=_0x5641e6[_0x358e73];return _0x596e7d;},a49_0x358e(_0x78840e,_0x5f20df);}const fs=require('fs'),path=require('path'),util=require(a49_0x4f8928(0xed)),spawn=require(a49_0x4f8928(0x100))[a49_0x4f8928(0x137)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a49_0x4f8928(0xd1)),PerformanceEvents=require(a49_0x4f8928(0xea))['EVENTS'],helper=require(a49_0x4f8928(0xd3)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a49_0x4f8928(0xfc)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require('./integrations/command'),yargs=require(a49_0x4f8928(0xe0)),Constants=require('./utils/constants'),BrowserstackCLI=require(a49_0x4f8928(0xe8)),logger=require('../helpers/logger')[a49_0x4f8928(0xd8)],origArgs=Object[a49_0x4f8928(0x118)]([],process['argv']),captureError=async(_0x23cb2e,_0x54b9aa,_0x271069,_0x3b0604=null)=>{const _0x2b4e8e=a49_0x4f8928,_0x321c0f={'yepkD':function(_0x10ce37,_0x1b1fe8,_0x45bf87,_0xeeb457){return _0x10ce37(_0x1b1fe8,_0x45bf87,_0xeeb457);},'MHChH':_0x2b4e8e(0xff)};try{logger[_0x2b4e8e(0x105)](_0x2b4e8e(0x123)+origArgs[_0x2b4e8e(0x104)]('\x20')),await _0x321c0f[_0x2b4e8e(0x108)](_0x23cb2e,_0x54b9aa,_0x3b0604,_0x271069);}catch(_0x191303){process['exitCode']=0x1,logger[_0x2b4e8e(0x10d)](util[_0x2b4e8e(0x114)](_0x191303));const _0xa6ceab={'globalException':util[_0x2b4e8e(0x114)]('%j',_0x191303)};PerformanceTester['end'](PerformanceEvents[_0x2b4e8e(0x122)],![],util['format'](_0x191303));if(helper[_0x2b4e8e(0xcd)](global[_0x2b4e8e(0xfe)])&&helper[_0x2b4e8e(0xcd)](global[_0x2b4e8e(0xe2)]))return;try{utilities[_0x2b4e8e(0x135)](_0x321c0f[_0x2b4e8e(0xe4)],_0xa6ceab,global[_0x2b4e8e(0xfe)],global[_0x2b4e8e(0xe2)]);}catch(_0x277129){logger[_0x2b4e8e(0x145)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x277129[_0x2b4e8e(0xef)]);}try{await helper[_0x2b4e8e(0xc7)](global[_0x2b4e8e(0xfe)]);}catch(_0x1f2409){logger[_0x2b4e8e(0x145)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x1f2409[_0x2b4e8e(0xef)]);}await BrowserstackCLI[_0x2b4e8e(0x128)]()['stop'](),PerformanceTester[_0x2b4e8e(0xdc)](PerformanceEvents[_0x2b4e8e(0x122)],![],util[_0x2b4e8e(0x114)](_0x191303));}finally{PerformanceTester[_0x2b4e8e(0xdf)](PerformanceEvents[_0x2b4e8e(0xca)]);}};try{const browserstackFolderPath=path[a49_0x4f8928(0x104)](helper[a49_0x4f8928(0xdd)](),a49_0x4f8928(0xe7));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a49_0x4f8928(0x104)](browserstackFolderPath,'.local-not-set.json');fs[a49_0x4f8928(0xf7)](filePath)&&fs['unlinkSync'](filePath);}}catch(a49_0x3be0a4){logger[a49_0x4f8928(0x145)](a49_0x4f8928(0x11d)+a49_0x3be0a4[a49_0x4f8928(0x142)]);}function a49_0x5641(){const _0x3bbaa7=['message','jest','VERSION','debug','dot-notation','3658260lMCOIZ','MUMbK','setTestObservabilityDisable','usage:\x20$0\x20<command>\x20[args]','integrations','cucumber-js','NIGHTWATCH','sendLogs','QHKeI','kzxDU','SDK_CLEANUP','ZbkDy','mocha/lib/cli/commands.js','isUndefined','nightwatch','942300vhJYhv','Runs\x20the\x20binary\x20with\x20load\x20command','../helpers/performance/performance-tester','bCnHY','../helpers/helper','codeceptjs','strict','GXMyp','zaEiD','winstonLogger','BpflU','3616735bNpGjd','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','end','homedir','ats','start','yargs','showHelpOnFail','framework','CODECEPTJS','MHChH','1146586sERcXL','HST','.browserstack','./v2/browserstackCLI','8vzXhQs','../helpers/performance/constants','SWLDd','exitProcess','util','bKhie','stack','usage','--mochaRequire','--package','PLAYWRIGHT','uEMEd','ekUHp','./playwright/command','existsSync','--no-opts','XmkfX','rneoW','228976ujyIYg','../helpers/BrowserStackSetup','bugtY','config','SDKTestSuccessful','child_process','version','run','NUFZh','join','info','--opts','HMSQy','yepkD','setBrowserStackAutomationDisable','argv','MOCHA','--config','error','./load/index','getConfigPath','BzVwC','mocha/lib/cli/run.js','command','./codeceptjs/command','format','12Oisjdr','--require','JEST','assign','KGaLB','parserConfiguration','--no-config','xKuEE','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha','handler','../../ats/src/index','demandCommand','SDK_SETUP','Running\x20SDK\x20with\x20args\x20','hkMdh','INFO','alias','find','getInstance','help','Parsing\x20command\x20line\x20arguments','EZpke','pysEx','BROWSERSTACK_CONFIG_FILE_PATH','./vanilla-js/command','includes','playwright','nyEeZ','359552BmqFeg','euraq','vanilla','fireFunnelTestEvent','push','spawn','Lixoj','--no-package','iOsxc','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','1618520otdajS','findAndReplace','load\x20[subcommand]','mocha/lib/cli/cli.js','slice','CAoHa'];a49_0x5641=function(){return _0x3bbaa7;};return a49_0x5641();}process['argv'][a49_0x4f8928(0x12f)](a49_0x4f8928(0x11e))&&(!process[a49_0x4f8928(0x10a)]['includes'](a49_0x4f8928(0x106))&&process[a49_0x4f8928(0x10a)][a49_0x4f8928(0x136)](a49_0x4f8928(0xf8)),!process[a49_0x4f8928(0x10a)][a49_0x4f8928(0x127)](_0x5a0dcf=>_0x5a0dcf[a49_0x4f8928(0x12f)](a49_0x4f8928(0x10c)))&&process[a49_0x4f8928(0x10a)]['push'](a49_0x4f8928(0x11b)),!process[a49_0x4f8928(0x10a)][a49_0x4f8928(0x12f)](a49_0x4f8928(0xf2))&&process[a49_0x4f8928(0x10a)][a49_0x4f8928(0x136)](a49_0x4f8928(0x139)),helper[a49_0x4f8928(0x13d)](process[a49_0x4f8928(0x10a)],a49_0x4f8928(0x116),a49_0x4f8928(0xf1)));PerformanceTester[a49_0x4f8928(0xdf)](PerformanceEvents[a49_0x4f8928(0x122)]);const a49_0x3e0e9e={};a49_0x3e0e9e[a49_0x4f8928(0x146)]=![];const argv=yargs[a49_0x4f8928(0x11a)](a49_0x3e0e9e)[a49_0x4f8928(0xf0)](a49_0x4f8928(0xc3))[a49_0x4f8928(0x126)]('v',a49_0x4f8928(0x101))['describe']('v')[a49_0x4f8928(0x126)]('h','help')[a49_0x4f8928(0x129)](a49_0x4f8928(0x129))[a49_0x4f8928(0xe1)](!![],Constants[a49_0x4f8928(0x144)]['HELP'])[a49_0x4f8928(0x112)](a49_0x4f8928(0x143),Constants[a49_0x4f8928(0x117)][a49_0x4f8928(0x125)],function(_0x539749){const _0x2f475f=a49_0x4f8928,_0x3037c1={'uEMEd':'jest','afIiq':function(_0x4613d0,_0x360329,_0x1bd7e0,_0x27a84e,_0x293111){return _0x4613d0(_0x360329,_0x1bd7e0,_0x27a84e,_0x293111);},'SWLDd':function(_0x45d0cb,_0x108d09){return _0x45d0cb(_0x108d09);},'QHKeI':'./jest/command'},_0x21f6b8=process[_0x2f475f(0x10a)][_0x2f475f(0x140)](0x2);helper[_0x2f475f(0x149)](),helper[_0x2f475f(0x109)]();const _0x3881a1=new BrowserStackSetup(_0x539749[_0x2f475f(0x10a)],_0x3037c1[_0x2f475f(0xf4)]);return _0x3037c1['afIiq'](captureError,_0x3037c1[_0x2f475f(0xeb)](require,_0x3037c1[_0x2f475f(0xc8)]),_0x539749[_0x2f475f(0x10a)],_0x3881a1,_0x21f6b8);})[a49_0x4f8928(0x112)](a49_0x4f8928(0x11e),Constants[a49_0x4f8928(0x10b)]['INFO'],_0x5d00fb=>{const _0x10f896=a49_0x4f8928,_0x237298={'eNIwf':function(_0x51b76d,_0x3eddda,_0x130d85,_0x58ec2a){return _0x51b76d(_0x3eddda,_0x130d85,_0x58ec2a);},'euraq':function(_0x5038f8,_0x5e6223){return _0x5038f8(_0x5e6223);},'rnsBk':'./mocha/command','Lixoj':_0x10f896(0x11e),'bCnHY':_0x10f896(0x12a),'JNOvN':function(_0x4d7185,_0x3cd55d,_0xb594ea){return _0x4d7185(_0x3cd55d,_0xb594ea);},'NUFZh':_0x10f896(0x111),'TwHfv':function(_0x1a6d74,_0x4dfea8,_0x266cf9){return _0x1a6d74(_0x4dfea8,_0x266cf9);},'pysEx':_0x10f896(0xcc),'yuYDd':function(_0xaf105e,_0x36da0a,_0x21b2ce){return _0xaf105e(_0x36da0a,_0x21b2ce);},'yiLUd':_0x10f896(0x13f),'bugtY':function(_0x3428bb){return _0x3428bb();}};process[_0x10f896(0x10a)]=process['argv'][_0x10f896(0x140)](0x1),helper['setTestObservabilityDisable'](),helper[_0x10f896(0x109)]();const _0x8d193f=new BrowserStackSetup(_0x5d00fb[_0x10f896(0x10a)],_0x237298[_0x10f896(0x138)]);logger['debug'](_0x237298[_0x10f896(0xd2)]);const _0x47c1ad=_0x237298['JNOvN'](requireModule,_0x237298[_0x10f896(0x103)],_0x237298[_0x10f896(0x138)]),_0x28657e=_0x237298['TwHfv'](requireModule,_0x237298[_0x10f896(0x12c)],_0x237298['Lixoj']);delete _0x47c1ad[_0x10f896(0x11f)],_0x47c1ad[_0x10f896(0x11f)]=function(_0x3faca8){const _0x5eb50f=_0x10f896;return _0x237298['eNIwf'](captureError,_0x237298[_0x5eb50f(0x133)](require,_0x237298['rnsBk']),_0x3faca8,_0x8d193f);},_0x28657e[_0x10f896(0x102)]=_0x47c1ad;const {main:_0x1aedc2}=_0x237298['yuYDd'](requireModule,_0x237298['yiLUd'],_0x237298['Lixoj']);_0x237298[_0x10f896(0xfd)](_0x1aedc2);})[a49_0x4f8928(0x112)](a49_0x4f8928(0xc5),Constants['CUCUMBER'][a49_0x4f8928(0x125)],function(_0x263dae){const _0x516708=a49_0x4f8928,_0x288dc7={'MUMbK':_0x516708(0xc5),'hkMdh':function(_0x2806b5,_0x36c8fd,_0x5b1861,_0x510d01,_0x2fa9f){return _0x2806b5(_0x36c8fd,_0x5b1861,_0x510d01,_0x2fa9f);},'XmkfX':function(_0x435316,_0x362cfa){return _0x435316(_0x362cfa);},'boegD':'./cucumber-js/command'},_0xa5b62d=process[_0x516708(0x10a)][_0x516708(0x140)](0x2),_0x2994db=new BrowserStackSetup(_0x263dae[_0x516708(0x10a)],_0x288dc7[_0x516708(0x148)]);return _0x288dc7[_0x516708(0x124)](captureError,_0x288dc7[_0x516708(0xf9)](require,_0x288dc7['boegD']),_0x263dae[_0x516708(0x10a)],_0x2994db,_0xa5b62d);})['command']('node',Constants['VANILLA']['INFO'],function(_0x2a62cd){const _0x3fdffe=a49_0x4f8928,_0x4e8a14={'nyEeZ':_0x3fdffe(0x134),'ZbkDy':function(_0x14b0a7,_0x29feeb,_0x23d148,_0x15b43d,_0x11c37f){return _0x14b0a7(_0x29feeb,_0x23d148,_0x15b43d,_0x11c37f);},'zaEiD':function(_0x10ae8c,_0x5c4dd8){return _0x10ae8c(_0x5c4dd8);},'OTZsE':_0x3fdffe(0x12e)},_0x12e754=process[_0x3fdffe(0x10a)][_0x3fdffe(0x140)](0x2),_0x4c1554=new BrowserStackSetup(_0x2a62cd[_0x3fdffe(0x10a)],_0x4e8a14[_0x3fdffe(0x131)]);return _0x4e8a14[_0x3fdffe(0xcb)](captureError,_0x4e8a14[_0x3fdffe(0xd7)](require,_0x4e8a14['OTZsE']),_0x2a62cd[_0x3fdffe(0x10a)],_0x4c1554,_0x12e754);})[a49_0x4f8928(0x112)](a49_0x4f8928(0xce),Constants[a49_0x4f8928(0xc6)][a49_0x4f8928(0x125)],function(_0x3f83f9){const _0x4d452e=a49_0x4f8928,_0x2de2e4={'rneoW':function(_0x4cf959,_0x4058b1,_0x4de85a,_0x1aabdc,_0x408ad6){return _0x4cf959(_0x4058b1,_0x4de85a,_0x1aabdc,_0x408ad6);},'BzVwC':function(_0x1b0569,_0x14bd24){return _0x1b0569(_0x14bd24);},'dqfqI':'./nightwatch/command'},_0x584850=process[_0x4d452e(0x10a)]['slice'](0x2),_0x33d5fe=new BrowserStackSetup(_0x3f83f9[_0x4d452e(0x10a)]);return _0x2de2e4[_0x4d452e(0xfa)](captureError,_0x2de2e4[_0x4d452e(0x110)](require,_0x2de2e4['dqfqI']),_0x3f83f9['argv'],_0x33d5fe,_0x584850);})[a49_0x4f8928(0x112)]('codeceptjs',Constants[a49_0x4f8928(0xe3)][a49_0x4f8928(0x125)],function(_0x11199e){const _0x5b4193=a49_0x4f8928,_0x281f8b={'EZpke':_0x5b4193(0xd4),'ONBEU':function(_0x12bc03,_0x5c6f0e,_0x2bb42c,_0xba0e7a,_0x14303c){return _0x12bc03(_0x5c6f0e,_0x2bb42c,_0xba0e7a,_0x14303c);},'wUtML':function(_0x393ecb,_0x482631){return _0x393ecb(_0x482631);},'YKBHB':_0x5b4193(0x113)},_0x55f633=process['argv'][_0x5b4193(0x140)](0x2),_0x461448=new BrowserStackSetup(_0x11199e[_0x5b4193(0x10a)],_0x281f8b[_0x5b4193(0x12b)]);return _0x281f8b['ONBEU'](captureError,_0x281f8b['wUtML'](require,_0x281f8b['YKBHB']),_0x11199e['argv'],_0x461448,_0x55f633);})['command'](a49_0x4f8928(0xde),Constants[a49_0x4f8928(0xe6)][a49_0x4f8928(0x125)],function(_0x32d68d){const _0x5b68a1=a49_0x4f8928,_0x12c0b9={'ddXAN':function(_0x56b2de,_0x4b2ac4,_0x2524ab){return _0x56b2de(_0x4b2ac4,_0x2524ab);},'iOsxc':function(_0x22c21b,_0x2ef05b){return _0x22c21b(_0x2ef05b);},'uvUrp':_0x5b68a1(0x120)},_0x35f4c5=process[_0x5b68a1(0x10a)]['slice'](0x2);return _0x12c0b9['ddXAN'](captureError,_0x12c0b9[_0x5b68a1(0x13a)](require,_0x12c0b9['uvUrp']),_0x32d68d);})['command'](a49_0x4f8928(0xc4),Constants['INTEGRATIONS']['INFO'],function(_0x404a92){const _0x5a00df=a49_0x4f8928,_0x52b153={'ekUHp':function(_0x3bad3a,_0x279b56){return _0x3bad3a(_0x279b56);}};return _0x52b153[_0x5a00df(0xf5)](runIntegrations,_0x404a92);})[a49_0x4f8928(0x112)](a49_0x4f8928(0x130),Constants[a49_0x4f8928(0xf3)][a49_0x4f8928(0x125)],function(_0x515b5b){const _0x3c6be8=a49_0x4f8928,_0x2dd3ca={'BpflU':function(_0x7c0fb,_0x555980,_0x6f05c0,_0x23df56,_0x587d1f){return _0x7c0fb(_0x555980,_0x6f05c0,_0x23df56,_0x587d1f);},'KGaLB':function(_0x4642bf,_0xcb035f){return _0x4642bf(_0xcb035f);},'HMSQy':_0x3c6be8(0xf6)},_0x388cf4=process[_0x3c6be8(0x10a)]['slice'](0x2);helper[_0x3c6be8(0x10f)](process['argv'])&&(process['env'][_0x3c6be8(0x12d)]=helper[_0x3c6be8(0x10f)](process[_0x3c6be8(0x10a)]));helper[_0x3c6be8(0x149)](),helper['setBrowserStackAutomationDisable']();const _0x2512d3=new BrowserStackSetup(_0x515b5b[_0x3c6be8(0x10a)],FRAMEWORKS['PLAYWRIGHT']);return _0x2dd3ca[_0x3c6be8(0xd9)](captureError,_0x2dd3ca[_0x3c6be8(0x119)](require,_0x2dd3ca[_0x3c6be8(0x107)]),_0x515b5b[_0x3c6be8(0x10a)],_0x2512d3,_0x388cf4);})['command'](a49_0x4f8928(0x13e),a49_0x4f8928(0xd0),function(_0x2f626a){const _0x247c08=a49_0x4f8928,_0x4c229c={};_0x4c229c[_0x247c08(0x11c)]=_0x247c08(0x129),_0x4c229c[_0x247c08(0xd6)]='boolean',_0x4c229c[_0x247c08(0xc9)]='Show\x20help';const _0x472418=_0x4c229c;return _0x2f626a['help'](![])['option'](_0x472418['xKuEE'],{'alias':'h','type':_0x472418[_0x247c08(0xd6)],'describe':_0x472418[_0x247c08(0xc9)]})[_0x247c08(0xd5)](![])[_0x247c08(0xec)](![]);},function(_0x334c9a){const _0x851d31=a49_0x4f8928,_0x405a56={'bKhie':function(_0x356438,_0x7807f9,_0x1429d1){return _0x356438(_0x7807f9,_0x1429d1);},'CAoHa':function(_0x393198,_0x19967c){return _0x393198(_0x19967c);},'UzSHt':_0x851d31(0x10e)},_0x2d55dc={};return _0x2d55dc[_0x851d31(0x10a)]=_0x334c9a,_0x405a56[_0x851d31(0xee)](captureError,_0x405a56[_0x851d31(0x141)](require,_0x405a56['UzSHt']),_0x2d55dc);})[a49_0x4f8928(0x121)](0x1,a49_0x4f8928(0xdb))['wrap'](null)[a49_0x4f8928(0x10a)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console['error'](a49_0x4f8928(0x13b));