browserstack-node-sdk 1.43.0 → 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
- const a45_0x13c2ea=a45_0x3c55;function a45_0x3c55(_0x56d140,_0x4eedf2){const _0x769bc7=a45_0x769b();return a45_0x3c55=function(_0x3c554e,_0x33933e){_0x3c554e=_0x3c554e-0x94;let _0x513c73=_0x769bc7[_0x3c554e];return _0x513c73;},a45_0x3c55(_0x56d140,_0x4eedf2);}(function(_0x117aa0,_0x1a4b09){const _0x37d227=a45_0x3c55,_0x974bd=_0x117aa0();while(!![]){try{const _0x3c464e=parseInt(_0x37d227(0xe5))/0x1+-parseInt(_0x37d227(0xa9))/0x2+parseInt(_0x37d227(0x136))/0x3*(-parseInt(_0x37d227(0xa4))/0x4)+-parseInt(_0x37d227(0x115))/0x5*(-parseInt(_0x37d227(0xfb))/0x6)+parseInt(_0x37d227(0xcd))/0x7+-parseInt(_0x37d227(0x132))/0x8+parseInt(_0x37d227(0x101))/0x9;if(_0x3c464e===_0x1a4b09)break;else _0x974bd['push'](_0x974bd['shift']());}catch(_0x527b02){_0x974bd['push'](_0x974bd['shift']());}}}(a45_0x769b,0x1b912));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a45_0x13c2ea(0x12e)),helper=require(a45_0x13c2ea(0x125)),path=require(a45_0x13c2ea(0xee)),logger=require(a45_0x13c2ea(0xf5))[a45_0x13c2ea(0xe9)],SessionHandler=require(a45_0x13c2ea(0x10e)),TestDetails=require(a45_0x13c2ea(0xfc)),util=require(a45_0x13c2ea(0xae)),TestInfo=require(a45_0x13c2ea(0xf4));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x1661df=a45_0x13c2ea,_0x1fa889={'wIIJt':function(_0x5f3706,_0x56bc22){return _0x5f3706(_0x56bc22);},'UkNAi':_0x1661df(0x104)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x1fa889[_0x1661df(0xce)](require,_0x1fa889['UkNAi'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x1363ab=>{const _0x201696=a45_0x13c2ea;return _0x1363ab['match'](/@(\w+)/g)?.[_0x201696(0xf7)](_0x5e879e=>_0x5e879e[_0x201696(0xbe)](0x1))||[];};function a45_0x769b(){const _0x4efe78=['common','onBegin','hRSln','ltqQG','sendSessionDetails','sRVyB','substr','Arguments','title','jkltI','22564peJFNz','eVQAu','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','filePath','winstonLogger','name','getPlaywrightLibPath','doNsE','@playwright/test/lib/common/configLoader.js','path','LYjhY','length','toLowerCase','size','hrjVS','../../v2/TestInfo','../../../helpers/logger','\x20bytes','map','evewp','compareVersions','.zip','42wDaRlT','./test-details','crVBT','xSrPT','startsWith','bwZsu','3304449SyOoRe','yBqFd','test','../../v2/browserstackCLI','giblq','playwright','WAhDs','findNestedKey','xHQIW','zLEEa','RiSuu','uczYc','HTWOa','../../../helpers/test-observability/sessionHandler','extname','htZRO','message','PLAYWRIGHT','Found\x20key:\x20','MPsfl','54850kDVpJz','lmZAT','sendTraceZip','validateFilePath','mxZlM','TEST_ATTACHMENT','calculateTimesFromMultipleFiles','1.38.0','existsSync','xjmmp','endsWith','playwright/lib/common/configLoader.js','onStepBegin','getInstance','dPSLA','cYYkw','../../../helpers/helper','INKDZ','processPageScreenshot','nsmQf','PgnJg','ERROR','getTransformPath','@playwright/test/lib/common/transform.js','_projectId','../../../helpers/test-observability/constants','1.42.0','MTpVA','TEST_LOG','1586552rgwCYt','attachments','jvETF','johIy','101358pcXTcb','mqbIh','BCdQU','Test\x20timeout\x20of','UgmKF','debug','createReadStream','filter','FNcLn','Searching\x20for\x20key:\x20','toISOString','getTestTags','Mrwzf','isRunning','\x20in\x20attachments','env','nlPZl','eiGcI','.json','XHiXD','vJLVK','bixpA','afterWorkerHook','resolve','stack','WdGsr','tjObc','24cYgnrB','KFLhs','runner/projectUtils.js','mcsvc','join','193128TuhNij','\x20in\x20arguments','bBOwh','aSDix','PSlsn','util','basename','getTime','prototype','beforeTestHook','beforeWorkerHook','@playwright/test/lib/transform/transform.js','toString','performance-reporter.html','performance-report-worker-','statSync','MGouW','doo11ySync','includes','getTestRunIdentifier','NsKGT','slice','OKaYL','mJRaD','START_TIME','PBxhN','call','lib','getTestIdentifier','opsqE','VXxTJ','setupBrowserDetails','PKMhz','1.35.0','jEkHq','tags','1007986hnbgor','wIIJt','RFBac','error','addTraceFilePath','afterTestHook','find','Percentage\x20of\x20increased\x20time\x20is\x20','Trace\x20enabled','onrHD','rAPAA','getFailureData','LogCreated','@playwright/test'];a45_0x769b=function(){return _0x4efe78;};return a45_0x769b();}exports[a45_0x13c2ea(0x94)]=_0x2cd23a=>{const _0x4931a9=a45_0x13c2ea,_0x403dbf={'nlPZl':function(_0x52707f,_0x48a03a){return _0x52707f(_0x48a03a);}};if(_0x2cd23a[_0x4931a9(0xcc)])return _0x2cd23a['tags'][_0x4931a9(0xf7)](_0x31c717=>_0x31c717[_0x4931a9(0xff)]('@')?_0x31c717[_0x4931a9(0xe1)](0x1):_0x31c717);return _0x403dbf[_0x4931a9(0x99)](getTagsFromTitle,_0x2cd23a[_0x4931a9(0xe3)]);},exports['calculatePerformance']=async()=>{const _0x545c20=a45_0x13c2ea,_0x1f0b97={'MIZQF':function(_0x2bac72,_0x1163f7){return _0x2bac72-_0x1163f7;},'mDgGf':_0x545c20(0xb6),'PKMhz':_0x545c20(0xdc),'onrHD':'endSession','mqbIh':'onTestBegin','jYkON':'onTestEnd','MPsfl':_0x545c20(0x121),'UgmKF':'onStepEnd','cYYkw':_0x545c20(0xb3),'wuqyL':_0x545c20(0x9f),'rAPAA':_0x545c20(0xb2),'mxZlM':_0x545c20(0xd2),'xjmmp':_0x545c20(0xba),'jvETF':_0x545c20(0x127),'xSrPT':_0x545c20(0xdf),'WAhDs':_0x545c20(0xc8),'mJRaD':'requestSpyCallback','vJLVK':'sendTestLog','bogqF':function(_0x5c689e,_0x3c294c){return _0x5c689e(_0x3c294c);},'olTty':function(_0x355bbd,_0x24f249){return _0x355bbd/_0x24f249;},'VXxTJ':function(_0x1ceadc,_0x54076c){return _0x1ceadc(_0x54076c);},'crVBT':function(_0x1bc3e5,_0x34ce2e){return _0x1bc3e5+_0x34ce2e;},'LYjhY':function(_0x1d0874,_0xb0c542){return _0x1d0874(_0xb0c542);},'ungCY':function(_0x4c7c44,_0x23da47){return _0x4c7c44*_0x23da47;},'PBxhN':function(_0x7b7ec4,_0x2368d2){return _0x7b7ec4/_0x2368d2;},'RiSuu':function(_0x5f2ee3,_0x38f493){return _0x5f2ee3+_0x38f493;}};if(!process[_0x545c20(0x98)][_0x545c20(0xc1)])return;const _0x5c975c=_0x1f0b97['MIZQF'](new Date()[_0x545c20(0xb0)](),new Date(process[_0x545c20(0x98)]['START_TIME'])[_0x545c20(0xb0)]()),_0x5e317a=await PerformanceTester['stopAndGenerate'](_0x1f0b97['mDgGf'],[_0x1f0b97[_0x545c20(0xc9)],_0x1f0b97[_0x545c20(0xd6)],_0x1f0b97[_0x545c20(0x137)],_0x1f0b97['jYkON'],_0x1f0b97[_0x545c20(0x114)],_0x1f0b97[_0x545c20(0x13a)]]),_0x5da796=fs['readdirSync']('.'),_0x291b92=_0x5da796[_0x545c20(0x13d)](_0x4c561e=>_0x4c561e[_0x545c20(0xff)](_0x545c20(0xb7))&&_0x4c561e[_0x545c20(0x11f)](_0x545c20(0x9b))),_0x40e8e7=await PerformanceTester[_0x545c20(0x11b)](_0x291b92,[_0x1f0b97[_0x545c20(0x124)],_0x1f0b97['wuqyL'],_0x1f0b97[_0x545c20(0xd7)],_0x1f0b97[_0x545c20(0x119)],_0x1f0b97[_0x545c20(0x11e)],_0x1f0b97[_0x545c20(0x134)],_0x1f0b97[_0x545c20(0xfe)],_0x1f0b97[_0x545c20(0x107)],_0x1f0b97[_0x545c20(0xc0)],_0x1f0b97[_0x545c20(0x9d)]]);_0x1f0b97['bogqF'](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x1f0b97['olTty'](_0x5c975c,0x3e8)+'\x20s'),_0x1f0b97[_0x545c20(0xc7)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x1f0b97[_0x545c20(0xfd)](_0x40e8e7,_0x5e317a)),_0x1f0b97[_0x545c20(0xef)](debug,_0x545c20(0xd4)+_0x1f0b97['ungCY'](_0x1f0b97[_0x545c20(0xc2)](_0x1f0b97[_0x545c20(0x10b)](_0x40e8e7,_0x5e317a),_0x5c975c),0x64));},exports[a45_0x13c2ea(0x12b)]=()=>{const _0x2207e8=a45_0x13c2ea,_0x54d676={'uczYc':function(_0x373573,_0x1bbd5c){return _0x373573(_0x1bbd5c);},'INKDZ':function(_0x2ee3ff,_0x238f39){return _0x2ee3ff>=_0x238f39;},'fOxmT':'1.38.0','BCdQU':'playwright/lib/transform/transform.js','mcsvc':'playwright','RFBac':function(_0x2ebacc,_0x54b57d){return _0x2ebacc>=_0x54b57d;},'BvOWv':_0x2207e8(0xca),'bKdJW':_0x2207e8(0xb4),'MTpVA':_0x2207e8(0xda),'NsKGT':_0x2207e8(0x12c)},_0x14af0a=_0x54d676[_0x2207e8(0x10c)](getFrameworkVersion,FRAMEWORKS[_0x2207e8(0x112)]);if(_0x54d676[_0x2207e8(0x126)](helper['compareVersions'](_0x14af0a,_0x54d676['fOxmT']),0x0))return[_0x54d676[_0x2207e8(0x138)],_0x54d676[_0x2207e8(0xa7)]];if(_0x54d676[_0x2207e8(0xcf)](helper[_0x2207e8(0xf9)](_0x14af0a,_0x54d676['BvOWv']),0x0))return[_0x54d676['bKdJW'],_0x54d676[_0x2207e8(0x130)]];return[_0x54d676[_0x2207e8(0xbd)],_0x54d676[_0x2207e8(0x130)]];},exports['getConfigLoaderPath']=()=>{const _0x5d975b=a45_0x13c2ea,_0x11fd6d={'qzWsO':function(_0x1ea734,_0x5e3f63){return _0x1ea734(_0x5e3f63);},'htZRO':function(_0x5000af,_0x3de2e8){return _0x5000af>=_0x3de2e8;},'KFLhs':_0x5d975b(0x11c),'eiGcI':_0x5d975b(0x120),'hrjVS':_0x5d975b(0x106),'jEkHq':_0x5d975b(0xed),'xHQIW':_0x5d975b(0xda)},_0xcd91d0=_0x11fd6d['qzWsO'](getFrameworkVersion,FRAMEWORKS[_0x5d975b(0x112)]);if(_0x11fd6d[_0x5d975b(0x110)](helper['compareVersions'](_0xcd91d0,_0x11fd6d[_0x5d975b(0xa5)]),0x0))return[_0x11fd6d[_0x5d975b(0x9a)],_0x11fd6d[_0x5d975b(0xf3)]];return[_0x11fd6d[_0x5d975b(0xcb)],_0x11fd6d[_0x5d975b(0x109)]];},exports['getLoadUtilsPath']=()=>{const _0x1102eb=a45_0x13c2ea,_0x4d847f={};_0x4d847f['PgnJg']='runner/loadUtils.js';const _0x379bca=_0x4d847f;return helper[_0x1102eb(0xeb)](_0x379bca[_0x1102eb(0x129)]);},exports['getProjectUtilsPath']=()=>{const _0x4cbafc=a45_0x13c2ea,_0xd38e2f={};_0xd38e2f[_0x4cbafc(0xde)]=_0x4cbafc(0xa6);const _0xc70129=_0xd38e2f;return helper[_0x4cbafc(0xeb)](_0xc70129[_0x4cbafc(0xde)]);},exports['getForkProcessPath']=()=>{const _0x571bcf=a45_0x13c2ea,_0x2cc59b={'WORud':function(_0x349eeb,_0x1a0fd1){return _0x349eeb(_0x1a0fd1);},'eVQAu':function(_0x5a062,_0x251435){return _0x5a062>=_0x251435;},'MGouW':_0x571bcf(0x11c),'bBOwh':_0x571bcf(0xc4),'XHiXD':_0x571bcf(0xdb),'qkXGW':'process.js','FNcLn':_0x571bcf(0x103)},_0x20b99b=_0x2cc59b['WORud'](getFrameworkVersion,FRAMEWORKS[_0x571bcf(0x112)]);if(_0x2cc59b[_0x571bcf(0xe6)](helper['compareVersions'](_0x20b99b,_0x2cc59b[_0x571bcf(0xb9)]),0x0))return path[_0x571bcf(0xa8)](_0x2cc59b[_0x571bcf(0xab)],_0x2cc59b[_0x571bcf(0x9c)],_0x2cc59b['qkXGW']);return path[_0x571bcf(0xa8)](_0x2cc59b[_0x571bcf(0x13e)],_0x2cc59b[_0x571bcf(0xab)],_0x2cc59b[_0x571bcf(0x9c)],_0x2cc59b['qkXGW']);},exports[a45_0x13c2ea(0xd8)]=(_0x627b9c,{test_run_uuid:_0x30422c})=>{const _0x473ea2=a45_0x13c2ea,_0x43787f={'tjObc':_0x473ea2(0x12a),'nsmQf':_0x473ea2(0x131),'Mrwzf':function(_0x4f7e6f,_0x371b08){return _0x4f7e6f<=_0x371b08;},'dPSLA':function(_0x52e8cf,_0x53ef80){return _0x52e8cf(_0x53ef80);},'johIy':_0x473ea2(0x139),'hRSln':function(_0x1977d7,_0x5393aa){return _0x1977d7(_0x5393aa);},'giblq':function(_0xaa3003,_0x53d667){return _0xaa3003>=_0x53d667;},'bQNDc':_0x473ea2(0x12f),'HTWOa':function(_0x44010c,_0x47ae97){return _0x44010c>_0x47ae97;},'evewp':function(_0x4cc931,_0x35139b,_0x28b5c5){return _0x4cc931(_0x35139b,_0x28b5c5);},'EtJyD':_0x473ea2(0x103)};if(!_0x627b9c||_0x43787f[_0x473ea2(0x95)](_0x627b9c[_0x473ea2(0xf0)],0x0))return[];const _0x5590f9=_0x43787f[_0x473ea2(0x123)](removeAnsiColors,_0x627b9c[0x0][_0x473ea2(0x111)]);if(_0x5590f9[_0x473ea2(0xff)](_0x43787f[_0x473ea2(0x135)])){const _0x666762=_0x627b9c[0x0],_0x473dd8=_0x43787f[_0x473ea2(0xdd)](getFrameworkVersion,FRAMEWORKS[_0x473ea2(0x112)]);if((!_0x666762['stack']||_0x43787f[_0x473ea2(0x105)](_0x473dd8,_0x43787f['bQNDc']))&&_0x43787f[_0x473ea2(0x10d)](_0x627b9c['length'],0x1))return{'failureData':[{'backtrace':[_0x5590f9,_0x43787f[_0x473ea2(0x123)](removeAnsiColors,_0x627b9c[0x1][_0x473ea2(0xa1)])]}],'logs':_0x627b9c[_0x473ea2(0xbe)](0x2)['map'](_0x4fa761=>{const _0x3665f8=_0x473ea2;return{'timestamp':new Date()[_0x3665f8(0x140)](),'level':_0x43787f[_0x3665f8(0xa3)],'message':''+_0x4fa761['message'],'kind':_0x43787f[_0x3665f8(0x128)],'http_response':{},'test_run_uuid':_0x30422c};})};}return{'failureData':_0x43787f[_0x473ea2(0xf8)](failureData,_0x627b9c,_0x43787f['EtJyD']),'logs':[]};},exports[a45_0x13c2ea(0x118)]=_0x9045c2=>{const _0x246e3f=a45_0x13c2ea,_0x1060de={};_0x1060de[_0x246e3f(0x102)]=function(_0x5ae8d7,_0x483818){return _0x5ae8d7!==_0x483818;},_0x1060de[_0x246e3f(0xbf)]=_0x246e3f(0xfa),_0x1060de[_0x246e3f(0xac)]=function(_0x3aa505,_0x2e98c3){return _0x3aa505>_0x2e98c3;};const _0x17fffd=_0x1060de;if(_0x9045c2&&fs[_0x246e3f(0x11d)](_0x9045c2)){if(_0x17fffd[_0x246e3f(0x102)](path[_0x246e3f(0x10f)](_0x9045c2)[_0x246e3f(0xf1)](),_0x17fffd[_0x246e3f(0xbf)]))return logger[_0x246e3f(0xd0)](_0x246e3f(0xe7)+_0x9045c2),![];const _0x2c82d2=fs[_0x246e3f(0xb8)](_0x9045c2)[_0x246e3f(0xf2)];if(_0x17fffd[_0x246e3f(0xac)](_0x2c82d2,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x246e3f(0xd0)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x2c82d2+_0x246e3f(0xf6)),![];return!![];}return![];},exports[a45_0x13c2ea(0x108)]=(_0x371f07,_0x4f2ef8)=>{const _0x4f2567=a45_0x13c2ea,_0x53f8ca={};_0x53f8ca['UdKBh']=_0x4f2567(0xe2);const _0x2e4a55=_0x53f8ca;logger[_0x4f2567(0x13b)](_0x4f2567(0x13f)+_0x4f2ef8);if(_0x371f07&&_0x371f07[_0x4f2567(0x133)]){const _0x42896b=_0x371f07['attachments'][_0x4f2567(0xd3)](_0xc0d5d5=>_0xc0d5d5[_0x4f2567(0xea)]==='trace');if(_0x42896b)return logger[_0x4f2567(0x13b)](_0x4f2567(0x113)+_0x4f2ef8+_0x4f2567(0x97)),_0x42896b[_0x4f2ef8];}else{if(_0x371f07&&Object[_0x4f2567(0xb1)][_0x4f2567(0xb5)][_0x4f2567(0xc3)](_0x371f07)[_0x4f2567(0xbb)](_0x2e4a55['UdKBh']))for(const _0x33283f of _0x371f07){if(_0x33283f[_0x4f2ef8])return logger[_0x4f2567(0x13b)](_0x4f2567(0x113)+_0x4f2ef8+_0x4f2567(0xaa)),_0x33283f[_0x4f2ef8];}};return'';},exports['uploadTraceZip']=async(_0x29486a,_0xd470db)=>{const _0x31fc2c=a45_0x13c2ea,_0x4de6d2={};_0x4de6d2[_0x31fc2c(0xa2)]=_0x31fc2c(0xd9),_0x4de6d2[_0x31fc2c(0xad)]=_0x31fc2c(0x11a),_0x4de6d2[_0x31fc2c(0xec)]=_0x31fc2c(0x117),_0x4de6d2['jkltI']='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x53d98e=_0x4de6d2;try{const _0x9537f9={'event_type':_0x53d98e[_0x31fc2c(0xa2)],'logs':[{'data':_0x29486a?fs[_0x31fc2c(0x13c)](_0x29486a):'','test_run_uuid':_0xd470db,'kind':_0x53d98e[_0x31fc2c(0xad)],'fileName':_0x29486a?path[_0x31fc2c(0xaf)](_0x29486a):''}]};return await SessionHandler['sendEventData'](_0x9537f9,0x0,_0x53d98e[_0x31fc2c(0xec)]);}catch(_0x12cc48){logger['error'](util['format'](_0x53d98e[_0x31fc2c(0xe4)],_0x12cc48));}},exports[a45_0x13c2ea(0x117)]=async(_0xf8f481,_0x28800c)=>{const _0x4a2f52=a45_0x13c2ea,_0x2cd90e={'pdBwk':_0x4a2f52(0xee),'bixpA':_0x4a2f52(0xd5),'opsqE':function(_0x1b0bd2){return _0x1b0bd2();},'sRVyB':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x4a2f52(0x13b)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x28800c);let _0x4b629e=await exports['findNestedKey'](_0xf8f481,_0x2cd90e['pdBwk']);if(exports['validateFilePath'](_0x4b629e)){logger[_0x4a2f52(0x13b)](_0x2cd90e[_0x4a2f52(0x9e)]),_0x4b629e=path[_0x4a2f52(0xa0)](_0x4b629e);const _0x299d4c={};_0x299d4c['testUId']=_0x28800c,_0x299d4c[_0x4a2f52(0xe8)]=_0x4b629e;const _0x1da6d0=_0x299d4c;_0x2cd90e[_0x4a2f52(0xc6)](getBrowserstackCLI)[_0x4a2f52(0x122)]()[_0x4a2f52(0x96)]()?TestInfo[_0x4a2f52(0xd1)](_0x1da6d0):TestDetails[_0x4a2f52(0xd1)](_0x1da6d0);};}catch(_0x11c937){logger[_0x4a2f52(0xd0)](util['format'](_0x2cd90e[_0x4a2f52(0xe0)],_0x11c937));}},exports[a45_0x13c2ea(0xc5)]=_0x3258c4=>{const _0x46f240=a45_0x13c2ea,_0x2a9b35={};_0x2a9b35[_0x46f240(0x100)]=function(_0x516b48,_0xaf49b1){return _0x516b48+_0xaf49b1;},_0x2a9b35[_0x46f240(0x10a)]=function(_0x28fd45,_0x2e306f){return _0x28fd45+_0x2e306f;};const _0x1dfc26=_0x2a9b35;return _0x1dfc26[_0x46f240(0x100)](_0x1dfc26['zLEEa'](_0x3258c4[_0x46f240(0x12d)],'-'),_0x3258c4['id']);},exports[a45_0x13c2ea(0xbc)]=(_0x424a4b,_0x18dc57)=>{const _0x4d8969=a45_0x13c2ea,_0xd4bd37={};_0xd4bd37[_0x4d8969(0x116)]=function(_0x1109fd,_0x473022){return _0x1109fd+_0x473022;};const _0x36eb3d=_0xd4bd37;return _0x36eb3d[_0x4d8969(0x116)](_0x36eb3d[_0x4d8969(0x116)](exports[_0x4d8969(0xc5)](_0x424a4b),'-'),_0x18dc57);};
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
- const a46_0x548a0e=a46_0xba8e;(function(_0x36917a,_0x481e39){const _0x11e2b5=a46_0xba8e,_0x29ff47=_0x36917a();while(!![]){try{const _0x46cd49=-parseInt(_0x11e2b5(0xd6))/0x1*(-parseInt(_0x11e2b5(0xb4))/0x2)+parseInt(_0x11e2b5(0xf7))/0x3+-parseInt(_0x11e2b5(0x162))/0x4+-parseInt(_0x11e2b5(0x153))/0x5*(-parseInt(_0x11e2b5(0x13e))/0x6)+parseInt(_0x11e2b5(0x187))/0x7+-parseInt(_0x11e2b5(0x128))/0x8*(parseInt(_0x11e2b5(0xed))/0x9)+-parseInt(_0x11e2b5(0xdb))/0xa;if(_0x46cd49===_0x481e39)break;else _0x29ff47['push'](_0x29ff47['shift']());}catch(_0x51e5f0){_0x29ff47['push'](_0x29ff47['shift']());}}}(a46_0x3753,0xa6c49));function a46_0x3753(){const _0x1e701c=['getScope','onTestBegin','11184030cLVusb','expectedStatus','needToReportStep','AHcFJ','PLAYWRIGHT','wXiIZ','getInstance','map','logLevel','PdYuA','xKQYq','test_run','logs','hook','BEFORE_EACH','ZRzxr','ltbQk','retry','45RuBxPN','MPYeh','startTime','MyReporter','KEtvj','\x20is\x20triggered\x20for\x20test\x20','../../../helpers/test-observability/requestQueueHandler','IXBTz','uIOcx','splice','3077562BNzkFo','base64','BEFORE_ALL','Komcs','getCustomRerunParam','test','message','getTime','cytqM','trackEvent','skipped','zlXFS','format','.browserstack','./pwUtils','eRmiq','toString','unknown','cxmhd','expanded','QCTvp','PvoYM','setup','onEnd','../../../helpers/test-observability/utils','performance-report-reporter.json','event_type','failed','ZfPOm','addTestUIDAndReportLog','BxIIL','_tags','NSQbH','POST','../../../helpers/testhub/utils','VgQcF','\x20at\x20','startsWith','sendTestRunEvent','afterEach\x20hook','sgwPB','KRZGE','failure_type','CQCez','failure','FGqAl','meta','HookRunStarted','yGtZQ','762144XZPQmW','vZQYZ','split','OgBwK','vgawr','JpUvK','error','_tests','../../v2/TestInfo','_testHooksMap','options','PYRAI','sYqhj','getHookType','tnxyj','reportLogs','category','mESef','javascript','shutdown','yKWHd','depth','6JuJEeB','bfJlW','qURIZ','dEjBR','yzndj','filter','bZIRs','.txt','xrjqR','size','XcUjD','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','dNetE','TEST','finishedAt','util','Error\x20in\x20sending\x20trace\x20zip:\x20%s','XikFI','../../../helpers/test-observability/error-handler','_gitConfigPath','../../../../src/bin/utils/constants','4823305PmOfgK','titlePath','onStepEnd','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','iljqh','errors','_bs_hookIdentifier','UwYzG','homedir','IjaGq','BROWSERSTACK_O11Y_PERF_MEASUREMENT','beforeEach\x20hook','configureGit','../../v2/browserstackCLI','BROWSERSTACK_LOG_LEVEL','1237736wnHjUJ','huJbd','TestRunFinished','sendHookRunEvent','toISOString','VtAHt','AYezt','EzqQn','sOXZQ','HIvQW','Test\x20Finished\x20with\x20unique\x20id\x20','laWkW','_gitConfigured','cBSQo','../../v2/state/hookState','oLLrb','ZyNKn','passed','cwd','Trace\x20file\x20found\x20for\x20test:\x20','NPevp','onBegin','join','getStepIdentifier','THSBO','parent','bIxtJ','AXYbY','\x20-\x20','onStepBegin','relative','getTestUUID','uuid','length','file','LnfwM','Xeoub','2064160XgAqPD','hook_run_uuid','readFileSync','../../../helpers/test-observability/constants','\x20for\x20','AJNzC','getStepsAndLogs','location','hook_run','result','5|1|0|4|3|6|2','indexOf','sendSessionDetails','trace_','getHierarchy','Hook\x20Started\x20with\x20unique\x20id\x20','backtrace','DVNFP','IXwuh','setStepIdentifier','MgFcL','push','beforeAll\x20hook','fPezw','TEST_STEP','afterAll\x20hook','onTestEnd','DWrLt','object','TEST_ATTACHMENT','pVrRu','./test-details','root','inspect','test_run_uuid','startMonitoring','endSession','env','rSTFr','getTestFramework','attachments','KAXtU','screenshot','mkdirSync','jEhXp','retry_of','LHXQp','Expected\x20to\x20fail,\x20but\x20passed.','pfkpO','EvPWK','vLyqK','pending','vrMVu','TIDXp','status','hERRR','step','Hglsd','IqPCG','2YRhxyI','steps','IiHOH','YoZzq','xQhpC','INIT_TEST','mCqNm','../../../helpers/helper','eviov','bNQno','oLvIN','jPyqa','path','title','acSaW','mtime','uploadEventData','HookRunFinished','isRunning','GHesc','duration','JjzVx','Xygjo','statSync','failure_reason','Test\x20Started\x20with\x20unique\x20id\x20','existsSync','hooks','startedAt','PRE','basename','AUkvy','BQlnM','HskKd','301863ynBolT','name','zIcwF'];a46_0x3753=function(){return _0x1e701c;};return a46_0x3753();}function a46_0xba8e(_0xa5d374,_0xb3c88e){const _0x3753ab=a46_0x3753();return a46_0xba8e=function(_0xba8e93,_0x1d1fb5){_0xba8e93=_0xba8e93-0x81;let _0x1b5803=_0x3753ab[_0xba8e93];return _0x1b5803;},a46_0xba8e(_0xa5d374,_0xb3c88e);}const RequestQueueHandler=require(a46_0x548a0e(0xf3)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a46_0x548a0e(0x105)),{v4:uuidv4}=require(a46_0x548a0e(0x182)),path=require(a46_0x548a0e(0xc0)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a46_0x548a0e(0x10f)),{getGitMetaData,setLogLevel}=require(a46_0x548a0e(0xbb)),TestDetails=require(a46_0x548a0e(0x98)),fs=require('fs'),util=require(a46_0x548a0e(0x14d)),{o11yClassErrorHandler}=require(a46_0x548a0e(0x150)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a46_0x548a0e(0x18a)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a46_0x548a0e(0x119)),helper=require('../../../helpers/helper'),BrowserstackCLI=require(a46_0x548a0e(0x160)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a46_0x548a0e(0x170)),TestInfo=require(a46_0x548a0e(0x130)),{PLAYWRIGHT_TRACE_LOGS}=require(a46_0x548a0e(0x152));class MyReporter{constructor(_0x438691){const _0x259dff=a46_0x548a0e,_0x1ac221={'ZxNoz':_0x259dff(0x83),'MgFcL':_0x259dff(0x110),'IqPCG':function(_0x258559,_0x5b28d4,_0x2a501b,_0x3bfe6c){return _0x258559(_0x5b28d4,_0x2a501b,_0x3bfe6c);}},_0x397846=_0x1ac221['ZxNoz']['split']('|');let _0x56bd86=0x0;while(!![]){switch(_0x397846[_0x56bd86++]){case'0':this['_tests']={};continue;case'1':process[_0x259dff(0x9e)][_0x259dff(0x15d)]&&(PerformanceTester[_0x259dff(0x9c)](_0x1ac221[_0x259dff(0x8d)]),process[_0x259dff(0x9e)]['START_TIME']=new Date()[_0x259dff(0x166)]());continue;case'2':this[_0x259dff(0x151)]=null;continue;case'3':this[_0x259dff(0x132)]=_0x438691;continue;case'4':this[_0x259dff(0x131)]={};continue;case'5':const _0xc748b0={};_0xc748b0[_0x259dff(0xe3)]=process[_0x259dff(0x9e)][_0x259dff(0x161)],_0x1ac221[_0x259dff(0xb3)](setLogLevel,_0xc748b0,new Map(),new Map());continue;case'6':this['_gitConfigured']=![];continue;}break;}}async[a46_0x548a0e(0x177)](){const _0x25120f=a46_0x548a0e;TestDetails[_0x25120f(0x10d)](),await this[_0x25120f(0x15f)](),TestInfo[_0x25120f(0x10d)]();if(BrowserstackCLI[_0x25120f(0xe1)]()[_0x25120f(0xc6)]()){await BrowserstackCLI[_0x25120f(0xe1)]()[_0x25120f(0xa0)]()['trackEvent'](TestFrameworkState[_0x25120f(0xb9)],HookState[_0x25120f(0xd1)],{});return;}}async[a46_0x548a0e(0xda)](_0x3ef37d,_0x212c58){const _0x502872=a46_0x548a0e,_0x2afcb4={'dwhrl':function(_0x284735,_0x343f33){return _0x284735(_0x343f33);},'nPeQU':function(_0x1a41fe,_0x533192,_0x19e2ce){return _0x1a41fe(_0x533192,_0x19e2ce);},'cxmhd':function(_0x3104d1,_0x4a160a){return _0x3104d1(_0x4a160a);},'VpVJM':'TestRunStarted'};if(BrowserstackCLI['getInstance']()[_0x502872(0xc6)]()){const _0x11f756={};_0x11f756[_0x502872(0xfc)]=_0x3ef37d,_0x11f756[_0x502872(0x82)]=_0x212c58,await BrowserstackCLI[_0x502872(0xe1)]()[_0x502872(0xa0)]()['trackEvent'](TestFrameworkState[_0x502872(0x14b)],HookState[_0x502872(0xd1)],_0x11f756);return;}const _0x1f4642=_0x2afcb4['dwhrl'](getTestIdentifier,_0x3ef37d),_0x142b7d=TestDetails[_0x502872(0x181)](_0x2afcb4['nPeQU'](getTestRunIdentifier,_0x3ef37d,_0x212c58[_0x502872(0xec)]));process[_0x502872(0x9e)]['BROWSERSTACK_TEST_RUN_ID']=_0x142b7d;const _0x3d0e4a={};_0x3d0e4a[_0x502872(0x182)]=_0x142b7d,_0x3d0e4a[_0x502872(0xd0)]=_0x212c58[_0x502872(0xef)],this['_tests'][_0x1f4642]=_0x3d0e4a,_0x2afcb4[_0x502872(0x109)](trace,_0x502872(0xcd)+_0x1f4642),await this[_0x502872(0x11d)](_0x3ef37d,_0x2afcb4['VpVJM'],_0x212c58);}async[a46_0x548a0e(0x17f)](_0x41cb1f,_0x1a4ab8,_0x35d518){const _0x394870=a46_0x548a0e,_0x2f9a2e={'EvPWK':function(_0x10be66,_0x20cb24,_0x33c30d){return _0x10be66(_0x20cb24,_0x33c30d);},'KRZGE':function(_0x37fdcf,_0x1a7af8){return _0x37fdcf(_0x1a7af8);},'XcUjD':_0x394870(0x126)};if(!this[_0x394870(0xdd)](_0x35d518,_0x41cb1f))return;if(BrowserstackCLI[_0x394870(0xe1)]()['isRunning']()){const _0x583403=this[_0x394870(0x135)](_0x35d518[_0x394870(0xc1)]),_0x4fc857=TestFrameworkState[_0x583403],_0x1c0524={};_0x1c0524[_0x394870(0xfc)]=_0x41cb1f,_0x1c0524['result']=_0x1a4ab8,_0x1c0524[_0x394870(0xb1)]=_0x35d518,await BrowserstackCLI[_0x394870(0xe1)]()[_0x394870(0xa0)]()[_0x394870(0x100)](_0x4fc857,HookState[_0x394870(0xd1)],_0x1c0524);return;}const _0x29fd12=this[_0x394870(0x8c)](_0x41cb1f,_0x35d518);this[_0x394870(0x12f)][_0x29fd12]={'uuid':TestDetails[_0x394870(0x181)](_0x29fd12),'startedAt':_0x35d518['startTime'][_0x394870(0x166)]()};const _0xcbc3c0=_0x2f9a2e[_0x394870(0xaa)](getTestRunIdentifier,_0x41cb1f,_0x1a4ab8[_0x394870(0xec)]);!this[_0x394870(0x131)][_0xcbc3c0]&&(this[_0x394870(0x131)][_0xcbc3c0]=[]),this[_0x394870(0x131)][_0xcbc3c0][_0x394870(0x8e)](this[_0x394870(0x12f)][_0x29fd12]['uuid']),_0x2f9a2e[_0x394870(0x120)](trace,_0x394870(0x88)+_0x29fd12+_0x394870(0xf2)+_0xcbc3c0),await this[_0x394870(0x165)](_0x41cb1f,_0x35d518,_0x2f9a2e[_0x394870(0x148)],_0x1a4ab8);}async['onStepEnd'](_0xe9ba13,_0x4eec24,_0x502e6c){const _0x1f6ebc=a46_0x548a0e,_0x3ca689={'TIDXp':function(_0x309d8d,_0x5ab04d){return _0x309d8d+_0x5ab04d;},'BxIIL':function(_0x453cee,_0x276159){return _0x453cee(_0x276159);},'pVrRu':_0x1f6ebc(0xc5)};if(!this[_0x1f6ebc(0xdd)](_0x502e6c,_0xe9ba13))return;if(BrowserstackCLI[_0x1f6ebc(0xe1)]()['isRunning']()){const _0xaeb9d5=this[_0x1f6ebc(0x135)](_0x502e6c['title']),_0x5d2aca=TestFrameworkState[_0xaeb9d5],_0x568d74={};_0x568d74[_0x1f6ebc(0xfc)]=_0xe9ba13,_0x568d74[_0x1f6ebc(0x82)]=_0x4eec24,_0x568d74[_0x1f6ebc(0xb1)]=_0x502e6c,await BrowserstackCLI[_0x1f6ebc(0xe1)]()['getTestFramework']()[_0x1f6ebc(0x100)](_0x5d2aca,HookState[_0x1f6ebc(0x118)],_0x568d74);return;}const _0x4bece5=this[_0x1f6ebc(0x179)](_0xe9ba13,_0x502e6c);this[_0x1f6ebc(0x12f)][_0x4bece5]={...this[_0x1f6ebc(0x12f)][_0x4bece5]||{},'finishedAt':new Date(_0x3ca689[_0x1f6ebc(0xae)](_0x502e6c[_0x1f6ebc(0xef)][_0x1f6ebc(0xfe)](),_0x502e6c[_0x1f6ebc(0xc8)]))},_0x3ca689[_0x1f6ebc(0x115)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x4bece5+'\x20is\x20triggered'),await this['sendHookRunEvent'](_0xe9ba13,_0x502e6c,_0x3ca689[_0x1f6ebc(0x97)],_0x4eec24);}async[a46_0x548a0e(0x93)](_0x5236e8,_0x2d089a){const _0x588590=a46_0x548a0e,_0x298324={'AYafW':function(_0x1a9849,_0x394949){return _0x1a9849===_0x394949;},'UmwJV':_0x588590(0xa3),'QFGas':'TEST_SCREENSHOT','xKQYq':_0x588590(0xf8),'MPYeh':function(_0x8a85b3,_0x30e209){return _0x8a85b3(_0x30e209);},'DVNFP':function(_0x2c4c9a,_0x23a64f,_0x530952){return _0x2c4c9a(_0x23a64f,_0x530952);},'ZfPOm':_0x588590(0x164),'Hglsd':_0x588590(0x156),'KAXtU':function(_0xb40a72,_0x415926){return _0xb40a72(_0x415926);},'CQCez':function(_0x1e4aa9,_0xde2f3f){return _0x1e4aa9(_0xde2f3f);},'sYqhj':_0x588590(0x14e),'ZyNKn':function(_0x52d039,_0x351d3e){return _0x52d039>_0x351d3e;}};if(BrowserstackCLI[_0x588590(0xe1)]()[_0x588590(0xc6)]()){const _0x59024b={};_0x59024b[_0x588590(0xfc)]=_0x5236e8,_0x59024b[_0x588590(0x82)]=_0x2d089a,await BrowserstackCLI[_0x588590(0xe1)]()['getTestFramework']()[_0x588590(0x100)](TestFrameworkState[_0x588590(0x14b)],HookState[_0x588590(0x118)],_0x59024b);return;}const _0x497776=_0x298324[_0x588590(0xee)](getTestIdentifier,_0x5236e8),_0xbd0f50=TestDetails[_0x588590(0x181)](_0x298324[_0x588590(0x8a)](getTestRunIdentifier,_0x5236e8,_0x2d089a[_0x588590(0xec)]));this[_0x588590(0x12f)][_0x497776]={...this[_0x588590(0x12f)][_0x497776]||{},'finishedAt':new Date()['toISOString']()},_0x298324[_0x588590(0xee)](debug,_0x588590(0x16c)+_0x497776);try{await this['sendTestRunEvent'](_0x5236e8,_0x298324[_0x588590(0x113)],_0x2d089a);}catch(_0x23e0b5){_0x298324[_0x588590(0xee)](debug,util[_0x588590(0x103)](_0x298324[_0x588590(0xb2)],_0x23e0b5[_0x588590(0x107)]()));}try{_0x298324[_0x588590(0xa2)](debug,_0x588590(0x149)+_0xbd0f50),await _0x298324[_0x588590(0x8a)](sendTraceZip,_0x2d089a,_0xbd0f50);}catch(_0x38938a){_0x298324[_0x588590(0x122)](debug,util[_0x588590(0x103)](_0x298324[_0x588590(0x134)],_0x38938a['toString']()));}const _0x1fbfd4=[];_0x2d089a['attachments']&&_0x2d089a[_0x588590(0xa1)]['map'](_0x372292=>{const _0x228a82=_0x588590;if(_0x298324['AYafW'](_0x372292[_0x228a82(0xd7)],_0x298324['UmwJV'])){if(!_0x372292[_0x228a82(0xc0)]||!fs[_0x228a82(0xce)](_0x372292[_0x228a82(0xc0)]))return;_0x1fbfd4[_0x228a82(0x8e)]({'test_run_uuid':_0xbd0f50,'timestamp':fs[_0x228a82(0xcb)](_0x372292[_0x228a82(0xc0)])[_0x228a82(0xc3)],'kind':_0x298324['QFGas'],'message':fs[_0x228a82(0x189)](_0x372292[_0x228a82(0xc0)],{'encoding':_0x298324[_0x228a82(0xe5)]})});}}),_0x298324[_0x588590(0x172)](_0x1fbfd4['length'],0x0)&&await MyReporter[_0x588590(0x137)](_0x1fbfd4);}async[a46_0x548a0e(0x9d)](){const _0x2ce684=a46_0x548a0e;await RequestQueueHandler[_0x2ce684(0xe1)]()[_0x2ce684(0x13b)]();}async[a46_0x548a0e(0x10e)](_0xb0f27b){const _0xc4a4b1=a46_0x548a0e,_0x4c641a={'QCTvp':function(_0x41554e){return _0x41554e();},'JpUvK':function(_0x5385fd,_0x44c8b4){return _0x5385fd(_0x44c8b4);}};await this[_0xc4a4b1(0x9d)]();try{process[_0xc4a4b1(0x9e)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x4c641a[_0xc4a4b1(0x10b)](calculatePerformance);}catch(_0x55aad9){_0x4c641a[_0xc4a4b1(0x12d)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x55aad9['toString']());}}static async[a46_0x548a0e(0x114)](_0x4c2c5e,_0x29ab09){const _0x33363a=a46_0x548a0e;_0x29ab09['test_run_uuid']=TestDetails['getTestUUID'](_0x4c2c5e),await this[_0x33363a(0x137)]([_0x29ab09]);}static async[a46_0x548a0e(0x137)](_0x348cb){const _0x8a5b9b=a46_0x548a0e,_0x4de6da={};_0x4de6da[_0x8a5b9b(0x12c)]='LogCreated';const _0x2a112e=_0x4de6da;if(BrowserstackCLI['getInstance']()[_0x8a5b9b(0xc6)]())return;const _0x220cae={};_0x220cae[_0x8a5b9b(0x111)]=_0x2a112e[_0x8a5b9b(0x12c)],_0x220cae[_0x8a5b9b(0xe7)]=_0x348cb,await SessionHandler[_0x8a5b9b(0xc4)](_0x220cae);}async['sendHookRunEvent'](_0x110a7f,_0x576bf1,_0x452a7d,_0x116d02){const _0x362f12=a46_0x548a0e,_0x27f3f9={'KhPey':_0x362f12(0xe8),'XikFI':'javascript','xQhpC':'pending','AYezt':function(_0x42eb61,_0x47aeb4){return _0x42eb61>=_0x47aeb4;},'dEjBR':function(_0x60de4,_0x5acf4b){return _0x60de4===_0x5acf4b;},'LnfwM':_0x362f12(0xc5),'hADcC':function(_0x1bf550,_0x20cb86){return _0x1bf550>_0x20cb86;},'ignTt':_0x362f12(0x112),'oLvIN':function(_0x2d571b,_0x218ce9){return _0x2d571b(_0x218ce9);},'YoZzq':function(_0x3ec6f5,_0x237216){return _0x3ec6f5(_0x237216);},'AHcFJ':function(_0x1b890c,_0x2ff91,_0x68fbce){return _0x1b890c(_0x2ff91,_0x68fbce);},'jEhXp':'err','PvoYM':'passed'},_0x566e79=this[_0x362f12(0x179)](_0x110a7f,_0x576bf1),_0x4566a1=this[_0x362f12(0x12f)][_0x566e79],_0x23ddae={'uuid':_0x4566a1[_0x362f12(0x182)],'type':_0x27f3f9['KhPey'],'hook_type':this[_0x362f12(0x135)](_0x576bf1['title']),'name':_0x576bf1[_0x362f12(0xc1)],'scope':this[_0x362f12(0xd9)](_0x576bf1),'scopes':this[_0x362f12(0x87)](_0x110a7f),'body':{'lang':_0x27f3f9[_0x362f12(0x14f)],'code':null},'identifier':_0x566e79,'file_name':path['relative'](process[_0x362f12(0x174)](),_0x110a7f[_0x362f12(0x18e)][_0x362f12(0x184)]),'location':path[_0x362f12(0x180)](process[_0x362f12(0x174)](),_0x110a7f['location']['file']),'result':_0x27f3f9[_0x362f12(0xb8)],'duration_in_ms':_0x27f3f9[_0x362f12(0x168)](_0x576bf1[_0x362f12(0xc8)],0x0)?_0x576bf1['duration']:undefined,'vc_filepath':this[_0x362f12(0x151)]&&_0x110a7f[_0x362f12(0x18e)][_0x362f12(0x184)]?path['relative'](this['_gitConfigPath'],_0x110a7f[_0x362f12(0x18e)][_0x362f12(0x184)]):undefined,'started_at':_0x4566a1[_0x362f12(0xd0)],'finished_at':_0x4566a1['finishedAt'],'framework':FRAMEWORKS[_0x362f12(0xdf)]};if(_0x27f3f9[_0x362f12(0x141)](_0x452a7d,_0x27f3f9[_0x362f12(0x185)])){const {steps:_0x5e8628,logs:_0xef0946}=this[_0x362f12(0x18d)](_0x576bf1[_0x362f12(0xb5)],_0x4566a1[_0x362f12(0x182)],_0x27f3f9['KhPey']);_0xef0946&&_0x27f3f9['hADcC'](_0xef0946[_0x362f12(0x183)],0x0)&&await MyReporter['reportLogs'](_0xef0946);const _0x1419be={};_0x1419be[_0x362f12(0xb5)]=_0x5e8628,_0x23ddae[_0x362f12(0x125)]=_0x1419be;if(_0x576bf1[_0x362f12(0x12e)]){_0x23ddae[_0x362f12(0x82)]=_0x27f3f9['ignTt'],_0x23ddae[_0x362f12(0xcc)]=_0x27f3f9[_0x362f12(0xbe)](removeAnsiColors,_0x576bf1[_0x362f12(0x12e)]['message']),_0x23ddae[_0x362f12(0x121)]=_0x27f3f9[_0x362f12(0xb7)](getFailureType,_0x576bf1[_0x362f12(0x12e)][_0x362f12(0xfd)]);const _0x3dd526=_0x27f3f9[_0x362f12(0xde)](failureData,_0x576bf1[_0x362f12(0x12e)],_0x27f3f9[_0x362f12(0xa5)]);if(_0x3dd526&&_0x27f3f9['dEjBR'](_0x3dd526[_0x362f12(0x183)],0x0)){const _0x46b7db={};_0x46b7db[_0x362f12(0x89)]=[_0x23ddae[_0x362f12(0xcc)]],_0x46b7db[_0x362f12(0x10a)]=[],_0x3dd526[_0x362f12(0x8e)](_0x46b7db);}_0x23ddae['failure']=_0x3dd526;}else _0x23ddae['result']=_0x27f3f9[_0x362f12(0x10c)];}const _0x223752={};_0x223752[_0x362f12(0x111)]=_0x452a7d,_0x223752[_0x362f12(0x81)]=_0x23ddae;const _0x8312d9=_0x223752;await SessionHandler['uploadEventData'](_0x8312d9);}[a46_0x548a0e(0x18d)](_0x42d4d3,_0x565aae,_0x2ff694){const _0x1e21b5=a46_0x548a0e,_0x33154a={'DWrLt':function(_0x3ea8e,_0x18ffbd){return _0x3ea8e===_0x18ffbd;},'hERRR':_0x1e21b5(0xe8),'AXYbY':function(_0x44f3e5,_0x4d29a1){return _0x44f3e5===_0x4d29a1;},'ZRzxr':'After\x20Hooks','laWkW':function(_0x3dfee2,_0x2538c5){return _0x3dfee2===_0x2538c5;},'BQlnM':'Before\x20Hooks','yzndj':_0x1e21b5(0xfc),'eRmiq':_0x1e21b5(0x9b),'ltbQk':_0x1e21b5(0x188),'bIxtJ':_0x1e21b5(0x91),'vZQYZ':_0x1e21b5(0x112),'bNQno':_0x1e21b5(0x173),'THSBO':function(_0x42cf95,_0x35998a){return _0x42cf95(_0x35998a);},'eviov':function(_0x1981f9){return _0x1981f9();},'FGqAl':function(_0x1345e9,_0x190ea7){return _0x1345e9(_0x190ea7);},'fPezw':function(_0x44ab6b,_0x23b335,_0x16a10d){return _0x44ab6b(_0x23b335,_0x16a10d);}},_0xd5a894=[],_0x46a0a1=[],_0x320983=_0x42d4d3[_0x1e21b5(0x143)](_0x3ed8e0=>{const _0x2f49d2=_0x1e21b5;if(_0x33154a[_0x2f49d2(0x94)](_0x3ed8e0[_0x2f49d2(0x138)],_0x33154a[_0x2f49d2(0xb0)])&&(_0x33154a[_0x2f49d2(0x17d)](_0x3ed8e0['title'],_0x33154a[_0x2f49d2(0xea)])||_0x33154a[_0x2f49d2(0x16d)](_0x3ed8e0[_0x2f49d2(0xc1)],_0x33154a[_0x2f49d2(0xd4)])))return![];return!![];}),_0x382c0f=(_0x56a019,_0x43093f=![])=>{const _0x2ae29d=_0x1e21b5;if(_0x33154a[_0x2ae29d(0x94)](_0x56a019[_0x2ae29d(0xb5)][_0x2ae29d(0x183)],0x0)){const _0x4f7b2e=_0x33154a[_0x2ae29d(0x17d)](_0x2ff694,_0x33154a[_0x2ae29d(0x142)])?_0x33154a[_0x2ae29d(0x106)]:_0x33154a[_0x2ae29d(0xeb)];_0x46a0a1[_0x2ae29d(0x8e)]({'kind':_0x33154a[_0x2ae29d(0x17c)],[_0x4f7b2e]:_0x565aae,'message':_0x56a019[_0x2ae29d(0xc1)],'timestamp':_0x56a019['startTime'][_0x2ae29d(0x166)](),'level':_0x56a019[_0x2ae29d(0x12e)]?_0x33154a[_0x2ae29d(0x129)]:_0x33154a[_0x2ae29d(0xbd)],'duration':_0x56a019[_0x2ae29d(0xc8)],'failure':_0x56a019[_0x2ae29d(0x12e)]&&_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]&&_0x33154a['THSBO'](removeAnsiColors,_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]),'failure_type':_0x33154a['THSBO'](getFailureType,_0x56a019['error']&&_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)])});}else{!_0x43093f&&_0xd5a894['push']({'id':_0x33154a[_0x2ae29d(0xbc)](uuidv4),'text':_0x56a019['title'],'keyword':undefined,'started_at':_0x56a019[_0x2ae29d(0xef)][_0x2ae29d(0x166)](),'duration':_0x56a019[_0x2ae29d(0xc8)],'result':_0x56a019['error']?_0x33154a['vZQYZ']:_0x33154a['bNQno'],'failure':_0x56a019[_0x2ae29d(0x12e)]&&_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]&&_0x33154a[_0x2ae29d(0x17a)](removeAnsiColors,_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]),'failure_type':_0x33154a[_0x2ae29d(0x124)](getFailureType,_0x56a019[_0x2ae29d(0x12e)]&&_0x56a019[_0x2ae29d(0x12e)]['message'])});for(const _0x11513b of _0x56a019['steps']){_0x33154a[_0x2ae29d(0x90)](_0x382c0f,_0x11513b,!![]);}}};for(const _0x38095b of _0x320983){_0x33154a[_0x1e21b5(0x90)](_0x382c0f,_0x38095b,![]);}const _0x3fdb77={};return _0x3fdb77[_0x1e21b5(0xb5)]=_0xd5a894,_0x3fdb77[_0x1e21b5(0xe7)]=_0x46a0a1,_0x3fdb77;}async['sendTestRunEvent'](_0x2d6c75,_0x3e34b3,_0x25c33c){const _0x39fe85=a46_0x548a0e,_0x4af530={'vLyqK':function(_0x2c0b53,_0x160e06){return _0x2c0b53(_0x160e06);},'cBSQo':_0x39fe85(0x96),'tnxyj':function(_0x3c8fbe,_0x3b7784){return _0x3c8fbe(_0x3b7784);},'Komcs':_0x39fe85(0xfc),'gsKTC':_0x39fe85(0x13a),'NSQbH':_0x39fe85(0xac),'HskKd':function(_0x265d38,_0x11570f,_0x42a24e,_0x247259,_0x61f8ec){return _0x265d38(_0x11570f,_0x42a24e,_0x247259,_0x61f8ec);},'nEbne':function(_0x2acfd0,_0x9be064){return _0x2acfd0>_0x9be064;},'KEtvj':function(_0x285136,_0xafea76,_0x5dbab9){return _0x285136(_0xafea76,_0x5dbab9);},'UFjqu':function(_0x2df95b,_0x32def8){return _0x2df95b-_0x32def8;},'mESef':function(_0x1e1e02,_0x3a2c06){return _0x1e1e02===_0x3a2c06;},'zIcwF':_0x39fe85(0x164),'DZHAS':function(_0x2e3cd7,_0x3afd37){return _0x2e3cd7===_0x3afd37;},'sgwPB':_0x39fe85(0x101),'Xeoub':_0x39fe85(0x173),'iljqh':function(_0x5cea25,_0xb9c8d6){return _0x5cea25===_0xb9c8d6;},'pfkpO':function(_0x45180d,_0x526137){return _0x45180d===_0x526137;},'yGtZQ':_0x39fe85(0x112),'LHXQp':'timedOut','vNdvX':_0x39fe85(0xa8),'dNLDx':function(_0x4f43f9,_0xc597d8){return _0x4f43f9(_0xc597d8);},'rGAgA':function(_0x17ca8d,_0x39003e){return _0x17ca8d===_0x39003e;},'huJbd':function(_0x3d119c,_0x46c879){return _0x3d119c>_0x46c879;},'uIOcx':'path','oLLrb':function(_0xbb479f,_0x4043c6){return _0xbb479f(_0x4043c6);},'PYRAI':function(_0x4599a9,_0x26ea38){return _0x4599a9(_0x26ea38);},'AJNzC':_0x39fe85(0x104),'VtAHt':'utf8','EzqQn':function(_0x56fbd6,_0x2c8650){return _0x56fbd6(_0x2c8650);},'yKWHd':function(_0x260155,_0x30cc1a){return _0x260155!==_0x30cc1a;}},_0x10f459=_0x4af530[_0x39fe85(0x136)](getTestIdentifier,_0x2d6c75),_0x5ba349=this[_0x39fe85(0xd9)](_0x2d6c75),_0x337fcb=this['_tests'][_0x10f459],_0x177d1c=path['relative'](process[_0x39fe85(0x174)](),_0x2d6c75[_0x39fe85(0x18e)][_0x39fe85(0x184)]);await this[_0x39fe85(0x15f)]();const _0xa10c93={'uuid':_0x337fcb[_0x39fe85(0x182)],'type':_0x4af530['Komcs'],'name':_0x2d6c75[_0x39fe85(0xc1)],'body':{'lang':_0x4af530['gsKTC'],'code':_0x2d6c75['fn'][_0x39fe85(0x107)]()},'scope':_0x5ba349,'scopes':this[_0x39fe85(0x87)](_0x2d6c75),'identifier':_0x10f459,'file_name':_0x177d1c,'location':_0x177d1c,'result':_0x4af530[_0x39fe85(0x117)],'duration_in_ms':_0x25c33c&&_0x25c33c[_0x39fe85(0xc8)]?_0x25c33c[_0x39fe85(0xc8)]:null,'vc_filepath':this[_0x39fe85(0x151)]&&_0x2d6c75[_0x39fe85(0x18e)][_0x39fe85(0x184)]?path[_0x39fe85(0x180)](this['_gitConfigPath'],_0x2d6c75[_0x39fe85(0x18e)]['file']):undefined,'started_at':_0x337fcb[_0x39fe85(0xd0)],'finished_at':_0x337fcb[_0x39fe85(0x14c)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x39fe85(0xfb)](_0x2d6c75)},'tags':_0x4af530['tnxyj'](getTestTags,_0x2d6c75)};_0x4af530[_0x39fe85(0xd5)](appendTesthubParams,_0xa10c93,_0x3e34b3,_0x2d6c75,FRAMEWORKS[_0x39fe85(0xdf)]);_0x25c33c&&_0x4af530['nEbne'](_0x25c33c[_0x39fe85(0xec)],0x0)&&(_0xa10c93[_0x39fe85(0xa6)]=TestDetails[_0x39fe85(0x181)](_0x4af530[_0x39fe85(0xf1)](getTestRunIdentifier,_0x2d6c75,_0x4af530['UFjqu'](_0x25c33c[_0x39fe85(0xec)],0x1))));if(_0x4af530['mESef'](_0x3e34b3,_0x4af530[_0x39fe85(0xd8)])){_0xa10c93[_0x39fe85(0x82)]=_0x25c33c[_0x39fe85(0xaf)];if(_0x4af530['mESef'](_0x25c33c[_0x39fe85(0xaf)],_0x2d6c75[_0x39fe85(0xdc)]))_0xa10c93[_0x39fe85(0x82)]=_0x4af530['DZHAS'](_0x25c33c['status'],_0x4af530[_0x39fe85(0x11f)])?_0x4af530['sgwPB']:_0x4af530[_0x39fe85(0x186)];else{(_0x4af530[_0x39fe85(0x157)](_0xa10c93['result'],_0x4af530[_0x39fe85(0x186)])||_0x4af530[_0x39fe85(0xa9)](_0xa10c93[_0x39fe85(0x82)],_0x4af530[_0x39fe85(0x127)])||_0x4af530[_0x39fe85(0x157)](_0xa10c93[_0x39fe85(0x82)],_0x4af530[_0x39fe85(0xa7)]))&&(_0xa10c93['result']=_0x4af530[_0x39fe85(0x127)]);if(_0x4af530[_0x39fe85(0xa9)](_0x25c33c[_0x39fe85(0xaf)],_0x4af530['Xeoub'])&&_0x4af530[_0x39fe85(0xa9)](_0x2d6c75[_0x39fe85(0xdc)],_0x4af530[_0x39fe85(0x127)])){const _0x1c73fc={};_0x1c73fc[_0x39fe85(0xfd)]=_0x4af530['vNdvX'],_0x1c73fc['stack']=_0x4af530['vNdvX'],_0x25c33c[_0x39fe85(0x12e)]=_0x1c73fc,_0x25c33c[_0x39fe85(0x158)]=[_0x25c33c[_0x39fe85(0x12e)]];}}const _0x30fb6b=_0x4af530[_0x39fe85(0xf1)](getTestRunIdentifier,_0x2d6c75,_0x25c33c[_0x39fe85(0xec)]);_0xa10c93[_0x39fe85(0xcf)]=this[_0x39fe85(0x131)][_0x30fb6b];const {steps:_0x49e9ee,logs:_0x4dea43}=this[_0x39fe85(0x18d)](_0x25c33c[_0x39fe85(0xb5)],_0x337fcb['uuid'],_0x4af530[_0x39fe85(0xfa)]);await MyReporter[_0x39fe85(0x137)](_0x4dea43);const _0xd1bc7a={};_0xd1bc7a[_0x39fe85(0xb5)]=_0x49e9ee,_0xa10c93[_0x39fe85(0x125)]=_0xd1bc7a;if(_0x25c33c[_0x39fe85(0x12e)]){_0xa10c93[_0x39fe85(0xcc)]=_0x4af530['dNLDx'](removeAnsiColors,_0x25c33c['error']['message']),_0xa10c93['failure_type']=_0x4af530['vLyqK'](getFailureType,_0x25c33c[_0x39fe85(0x12e)][_0x39fe85(0xfd)]);const _0x1eb0c2={};_0x1eb0c2[_0x39fe85(0x9b)]=_0x337fcb[_0x39fe85(0x182)];const {failureData:_0x219358,logs:_0x1f29ad}=_0x4af530[_0x39fe85(0xf1)](getFailureData,_0x25c33c['errors'],_0x1eb0c2);if(_0x219358&&_0x4af530['rGAgA'](_0x219358['length'],0x0)){const _0x35b2cc={};_0x35b2cc[_0x39fe85(0x89)]=[_0xa10c93[_0x39fe85(0xcc)]],_0x35b2cc[_0x39fe85(0x10a)]=[],_0x219358[_0x39fe85(0x8e)](_0x35b2cc);}_0xa10c93[_0x39fe85(0x123)]=_0x219358,_0x1f29ad&&_0x4af530[_0x39fe85(0x163)](_0x1f29ad[_0x39fe85(0x183)],0x0)&&await MyReporter[_0x39fe85(0x137)](_0x1f29ad);}}let _0x5e9c3b=_0x4af530[_0x39fe85(0xf1)](findNestedKey,_0x25c33c,_0x4af530[_0x39fe85(0xf5)]);if(_0x5e9c3b&&_0x4af530[_0x39fe85(0x171)](validateFilePath,_0x5e9c3b))_0x4af530[_0x39fe85(0x133)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x337fcb[_0x39fe85(0x182)]+_0x39fe85(0x11b)+_0x5e9c3b);else{const _0x2857b2=path[_0x39fe85(0x178)](helper[_0x39fe85(0x15b)](),_0x4af530[_0x39fe85(0x18c)]);!fs[_0x39fe85(0xce)](_0x2857b2)&&fs[_0x39fe85(0xa4)](_0x2857b2),fs[_0x39fe85(0xce)](path[_0x39fe85(0x178)](_0x2857b2,_0x39fe85(0x86)+_0x337fcb[_0x39fe85(0x182)]+_0x39fe85(0x145)))&&(_0x5e9c3b=fs[_0x39fe85(0x189)](path['join'](_0x2857b2,_0x39fe85(0x86)+_0x337fcb[_0x39fe85(0x182)]+_0x39fe85(0x145)),_0x4af530[_0x39fe85(0x167)]),_0x4af530[_0x39fe85(0x169)](debug,_0x39fe85(0x175)+_0x337fcb[_0x39fe85(0x182)]+'\x20at\x20'+_0x5e9c3b));}const _0x2b80b7={};_0x2b80b7['event_type']=_0x3e34b3,_0x2b80b7[_0x39fe85(0xe6)]=_0xa10c93;const _0x5a0d95=_0x2b80b7;_0x5e9c3b&&_0x4af530[_0x39fe85(0x13c)](_0x5e9c3b,'')&&_0x4af530[_0x39fe85(0x139)](_0x3e34b3,_0x4af530[_0x39fe85(0xd8)])&&(!_0x5a0d95[_0x39fe85(0xe7)]&&(_0x5a0d95[_0x39fe85(0xe7)]=[]),_0x5e9c3b[_0x39fe85(0x12a)]('\x0a')['forEach'](_0x15e09a=>{const _0x2e0067=_0x39fe85;_0x15e09a&&_0x4af530[_0x2e0067(0xab)](validateFilePath,_0x15e09a)&&_0x5a0d95[_0x2e0067(0xe7)][_0x2e0067(0x8e)]({'kind':_0x4af530[_0x2e0067(0x16f)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x337fcb[_0x2e0067(0x182)],'file_name':path[_0x2e0067(0xd2)](_0x15e09a),'file_size':fs['statSync'](_0x15e09a)[_0x2e0067(0x147)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x39fe85(0xc4)](_0x5a0d95);}[a46_0x548a0e(0xfb)](_0x3a689b){const _0x4acf9b=a46_0x548a0e,_0x30d72d={};_0x30d72d[_0x4acf9b(0xf4)]=function(_0x4a867e,_0x520437){return _0x4a867e===_0x520437;},_0x30d72d[_0x4acf9b(0xe4)]=function(_0x4cd28d,_0x5bb074){return _0x4cd28d>_0x5bb074;},_0x30d72d[_0x4acf9b(0x8b)]=function(_0x1ee198,_0x271a52){return _0x1ee198+_0x271a52;},_0x30d72d[_0x4acf9b(0xb6)]=function(_0x301e68,_0x510e1d){return _0x301e68===_0x510e1d;};const _0x4e1413=_0x30d72d,_0x250a2b=_0x3a689b[_0x4acf9b(0x154)]()[_0x4acf9b(0xe2)](_0x13f56d=>{const _0x4daa53=_0x4acf9b;if(_0x3a689b[_0x4daa53(0x17b)]&&_0x4e1413[_0x4daa53(0xf4)](_0x13f56d,_0x3a689b[_0x4daa53(0x17b)]['title'])&&_0x3a689b['parent'][_0x4daa53(0x116)]&&_0x4e1413[_0x4daa53(0xe4)](_0x3a689b['parent'][_0x4daa53(0x116)][_0x4daa53(0x183)],0x0))return _0x4e1413[_0x4daa53(0x8b)](_0x4e1413['IXwuh'](_0x13f56d,'\x20'),_0x3a689b[_0x4daa53(0x17b)][_0x4daa53(0x116)][_0x4daa53(0x178)]('\x20'));if(_0x4e1413[_0x4daa53(0xb6)](_0x13f56d,_0x3a689b[_0x4daa53(0xc1)])&&_0x3a689b[_0x4daa53(0x116)]&&_0x4e1413['PdYuA'](_0x3a689b[_0x4daa53(0x116)][_0x4daa53(0x183)],0x0))return _0x4e1413[_0x4daa53(0x8b)](_0x4e1413['IXwuh'](_0x13f56d,'\x20'),_0x3a689b[_0x4daa53(0x116)][_0x4daa53(0x178)]('\x20'));return _0x13f56d;})[_0x4acf9b(0x178)]('\x20');return _0x250a2b;}static async[a46_0x548a0e(0x85)](_0x1f5e44,_0x31cdc4){const _0x4e519e=a46_0x548a0e,_0x3d4ad4={'GHesc':function(_0x33efd5,_0x51fd0d){return _0x33efd5(_0x51fd0d);},'Xygjo':'CBTSessionCreated'},_0x14cf60={'uuid':TestDetails[_0x4e519e(0x181)](_0x1f5e44),'integrations':_0x31cdc4},_0x1847dc={};_0x1847dc[_0x4e519e(0x13d)]=null,_0x3d4ad4[_0x4e519e(0xc7)](debug,'Sending\x20session\x20details\x20for\x20'+_0x1f5e44+',\x20'+util[_0x4e519e(0x9a)](_0x31cdc4,_0x1847dc));const _0x52d84e={};_0x52d84e[_0x4e519e(0x111)]=_0x3d4ad4[_0x4e519e(0xca)],_0x52d84e[_0x4e519e(0xe6)]=_0x14cf60,await SessionHandler[_0x4e519e(0xc4)](_0x52d84e);}async[a46_0x548a0e(0x15f)](){const _0x59a365=a46_0x548a0e,_0x45cef4={'jPyqa':function(_0x533c04){return _0x533c04();}};if(this['_gitConfigured'])return;const _0x3411c9=await _0x45cef4[_0x59a365(0xbf)](getGitMetaData);_0x3411c9&&(this[_0x59a365(0x151)]=_0x3411c9[_0x59a365(0x99)]),this[_0x59a365(0x16e)]=!![];}[a46_0x548a0e(0x87)](_0x473e61){const _0x3774ee=a46_0x548a0e,_0x193951={};_0x193951[_0x3774ee(0x16b)]=function(_0x2b84bd,_0x1e56c2){return _0x2b84bd!==_0x1e56c2;};const _0x1bdbeb=_0x193951,_0x55a6dc=[];if(_0x473e61&&_0x473e61['parent']){let _0x184097=_0x473e61[_0x3774ee(0x17b)];while(_0x184097&&_0x1bdbeb[_0x3774ee(0x16b)](_0x184097['title'],'')){_0x55a6dc[_0x3774ee(0x8e)](_0x184097[_0x3774ee(0xc1)]),_0x184097=_0x184097[_0x3774ee(0x17b)];}}return _0x55a6dc['reverse']()[_0x3774ee(0xf6)](0x0,0x2),_0x55a6dc;}[a46_0x548a0e(0xdd)](_0x29b08c){const _0x37c68e=a46_0x548a0e,_0x5e342b={};_0x5e342b[_0x37c68e(0x144)]=function(_0x4c23b6,_0x1d6f17){return _0x4c23b6!==_0x1d6f17;},_0x5e342b[_0x37c68e(0xff)]=_0x37c68e(0xe8),_0x5e342b['fMszs']=function(_0x1471d5,_0x2ac754){return _0x1471d5===_0x2ac754;},_0x5e342b[_0x37c68e(0x146)]='beforeEach\x20hook',_0x5e342b['VgQcF']=_0x37c68e(0x8f),_0x5e342b[_0x37c68e(0x9f)]=_0x37c68e(0x92),_0x5e342b[_0x37c68e(0x12b)]=_0x37c68e(0x11e);const _0x31de9d=_0x5e342b;if(_0x31de9d[_0x37c68e(0x144)](_0x29b08c['category'],_0x31de9d[_0x37c68e(0xff)]))return![];if(_0x31de9d['fMszs']([_0x31de9d[_0x37c68e(0x146)],_0x31de9d[_0x37c68e(0x11a)],_0x31de9d['rSTFr'],_0x31de9d[_0x37c68e(0x12b)]][_0x37c68e(0x84)](_0x29b08c['title']),-0x1))return![];return!![];}['getStepIdentifier'](_0xadfdea,_0x4a3755){const _0x52a29d=a46_0x548a0e,_0x13adef={'mCqNm':function(_0x51efe9,_0x429f2c){return _0x51efe9(_0x429f2c);}},_0x401173=_0x4a3755[_0x52a29d(0x159)];if(_0x401173)return _0x401173;return _0x4a3755[_0x52a29d(0xc1)]+_0x52a29d(0x18b)+_0x13adef[_0x52a29d(0xba)](getTestIdentifier,_0xadfdea);}[a46_0x548a0e(0x8c)](_0x520c11,_0x42371c){const _0x364164=a46_0x548a0e,_0x428bb2={'vrMVu':function(_0x2eb6e7,_0x58243e){return _0x2eb6e7(_0x58243e);},'wXiIZ':function(_0x3d95d7){return _0x3d95d7();}};let _0x2bcd26=_0x42371c[_0x364164(0xc1)]+_0x364164(0x18b)+_0x428bb2[_0x364164(0xad)](getTestIdentifier,_0x520c11);return this[_0x364164(0x12f)][_0x2bcd26]&&(_0x2bcd26=_0x2bcd26+_0x364164(0x17e)+_0x428bb2[_0x364164(0xe0)](uuidv4)),_0x42371c[_0x364164(0x159)]=_0x2bcd26,_0x2bcd26;}[a46_0x548a0e(0x135)]=_0x371a1f=>{const _0xebb76e=a46_0x548a0e,_0xba46c0={};_0xba46c0[_0xebb76e(0x14a)]=_0xebb76e(0x15e),_0xba46c0[_0xebb76e(0x16a)]=_0xebb76e(0xe9),_0xba46c0[_0xebb76e(0x13f)]='beforeAll\x20hook',_0xba46c0['qURIZ']=_0xebb76e(0xf9),_0xba46c0[_0xebb76e(0x15c)]='afterEach\x20hook',_0xba46c0[_0xebb76e(0x102)]='AFTER_EACH',_0xba46c0['acSaW']=_0xebb76e(0x92),_0xba46c0[_0xebb76e(0xd3)]='AFTER_ALL',_0xba46c0[_0xebb76e(0x176)]=_0xebb76e(0x108);const _0x488884=_0xba46c0;if(_0x371a1f[_0xebb76e(0x11c)](_0x488884[_0xebb76e(0x14a)]))return _0x488884[_0xebb76e(0x16a)];else{if(_0x371a1f[_0xebb76e(0x11c)](_0x488884[_0xebb76e(0x13f)]))return _0x488884[_0xebb76e(0x140)];else{if(_0x371a1f[_0xebb76e(0x11c)](_0x488884['IjaGq']))return _0x488884[_0xebb76e(0x102)];else{if(_0x371a1f[_0xebb76e(0x11c)](_0x488884[_0xebb76e(0xc2)]))return _0x488884[_0xebb76e(0xd3)];}}}return _0x488884[_0xebb76e(0x176)];};[a46_0x548a0e(0xd9)]=_0x5a4d83=>{const _0x1d5768=a46_0x548a0e,_0x480575={};_0x480575[_0x1d5768(0x15a)]=function(_0x4bd5f4,_0x180103){return _0x4bd5f4===_0x180103;},_0x480575[_0x1d5768(0xc9)]=_0x1d5768(0x95);const _0x3c70bb=_0x480575;let _0x10f10a=_0x5a4d83[_0x1d5768(0x17b)];return _0x3c70bb[_0x1d5768(0x15a)](typeof _0x5a4d83[_0x1d5768(0x17b)],_0x3c70bb['JjzVx'])&&(_0x10f10a=_0x10f10a[_0x1d5768(0xc1)]),_0x10f10a+_0x1d5768(0x17e)+_0x5a4d83[_0x1d5768(0xc1)];};['printsToStdio'](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a46_0x548a0e(0x177),a46_0x548a0e(0x9d),a46_0x548a0e(0xda),a46_0x548a0e(0x93),'onStepBegin',a46_0x548a0e(0x155),'sendSessionDetails'],a46_0x548a0e(0xf0));
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_0x585fef=a47_0xe564;function a47_0xe564(_0x373cd8,_0x13e613){const _0xa65be=a47_0xa65b();return a47_0xe564=function(_0xe564c1,_0x352111){_0xe564c1=_0xe564c1-0x1b2;let _0xd85009=_0xa65be[_0xe564c1];return _0xd85009;},a47_0xe564(_0x373cd8,_0x13e613);}function a47_0xa65b(){const _0x38284e=['getDirPath','format','5004909lCwFlq','aWLar','retry','ZXdjd','LPLfi','shutdown','tests','.browserstack','.txt','MnZLm','join','Error\x20writing\x20trace\x20file:\x20','values','parse','fQFrs','../../../helpers/helper','project','unobR','../../../helpers/logger','pOLnH','BHxCj','63434ZfckgU','__projectId','filePath','../../../helpers/test-observability/constants','_platformDetails.json','toString','getFilePath','getTestIdFromTestInfo','winstonLogger','mkdirSync','yNuxf','env','push','endsWith','Svyro','getAccessibilityPlatformValidation','MdDYL','trace_','homedir','_traceZipPaths.json','63epqyxZ','getStoreDirName','OjvdF','getProjectIdFromTestInfo','XZgzA','readFileSync','some','2qhSNwL','exports','Error\x20reading\x20trace\x20file\x20paths:\x20%s','_projectId','uuid','51502130vZZdpQ','oOvnV','getStoreDirPath','TOvSv','bzdlL','getTraceZipDir','recursive','utf8','Error\x20handling\x20trace\x20file\x20paths:\x20','1438286BeYXda','voLJV','ioCvf','kREGO','getTestUUID','path','getTestDetails','getTraceFilePaths','PujfA','string','lsbtY','_test','492lbeoHs','setTestDetails','2709524gjpong','default','message','BS_TESTOPS_BUILD_HASHED_ID','ITJjI','XaqSO','1964152vZtLZk','existsSync','stringify','674145uXHqUL','error','readdirSync','Ciiid','.json'];a47_0xa65b=function(){return _0x38284e;};return a47_0xa65b();}(function(_0x3db7af,_0x4519ea){const _0x3251bf=a47_0xe564,_0x87afaa=_0x3db7af();while(!![]){try{const _0x54511f=parseInt(_0x3251bf(0x1f4))/0x1*(parseInt(_0x3251bf(0x1e6))/0x2)+parseInt(_0x3251bf(0x1b6))/0x3+parseInt(_0x3251bf(0x202))/0x4+-parseInt(_0x3251bf(0x20b))/0x5+-parseInt(_0x3251bf(0x200))/0x6*(-parseInt(_0x3251bf(0x1cb))/0x7)+parseInt(_0x3251bf(0x208))/0x8*(parseInt(_0x3251bf(0x1df))/0x9)+-parseInt(_0x3251bf(0x1eb))/0xa;if(_0x54511f===_0x4519ea)break;else _0x87afaa['push'](_0x87afaa['shift']());}catch(_0xfe3d08){_0x87afaa['push'](_0x87afaa['shift']());}}}(a47_0xa65b,0xea885));const fs=require('fs'),path=require(a47_0x585fef(0x1f9)),{v4:uuidv4}=require(a47_0x585fef(0x1ea)),{TEMP_STORE_DIR_NAME}=require(a47_0x585fef(0x1ce)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')[a47_0x585fef(0x1d3)],{getLogDir}=require(a47_0x585fef(0x1c8)),util=require('util'),helper=require(a47_0x585fef(0x1c5));class TestDetails{static [a47_0x585fef(0x1bc)]={};static['setup'](){const _0x2aa7c2=a47_0x585fef;this['shutdown']();const _0x133846={};_0x133846[_0x2aa7c2(0x1f1)]=!![],fs[_0x2aa7c2(0x1d4)](this[_0x2aa7c2(0x1b4)](),_0x133846);const _0x4e1d43={};_0x4e1d43[_0x2aa7c2(0x1f1)]=!![],fs[_0x2aa7c2(0x1d4)](this[_0x2aa7c2(0x1f0)](),_0x4e1d43);}static[a47_0x585fef(0x1e0)](){const _0x47fa7c=a47_0x585fef,_0x281526={};_0x281526[_0x47fa7c(0x1b9)]=function(_0x223d5d,_0x2cc162){return _0x223d5d+_0x2cc162;},_0x281526['XZgzA']=function(_0x15a9ac,_0x5d338d){return _0x15a9ac+_0x5d338d;};const _0x5329b1=_0x281526;return _0x5329b1['ZXdjd'](_0x5329b1[_0x47fa7c(0x1e3)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x47fa7c(0x205)]);}static[a47_0x585fef(0x1ed)](){const _0x457c22=a47_0x585fef,_0x31a779={};_0x31a779[_0x457c22(0x1db)]=function(_0x36687a,_0x5ed8c7){return _0x36687a+_0x5ed8c7;},_0x31a779['fQFrs']=function(_0x1bbdd3,_0x4be6e4){return _0x1bbdd3+_0x4be6e4;},_0x31a779['MnZLm']=_0x457c22(0x203);const _0x28da56=_0x31a779;return path[_0x457c22(0x1c0)](_0x28da56[_0x457c22(0x1db)](_0x28da56[_0x457c22(0x1c4)](TEMP_STORE_DIR_NAME,'-'),process[_0x457c22(0x1d6)][_0x457c22(0x205)]||_0x28da56[_0x457c22(0x1bf)]));}static[a47_0x585fef(0x1f0)](){const _0xaacc78=a47_0x585fef,_0x3598df={};_0x3598df[_0xaacc78(0x1f7)]='traceZipPaths';const _0x6938c5=_0x3598df;return path[_0xaacc78(0x1c0)](this['getStoreDirPath'](),_0x6938c5[_0xaacc78(0x1f7)]);}static['getDirPath'](){const _0x4cbfa0=a47_0x585fef;return TestDetails[_0x4cbfa0(0x1e0)]();}static[a47_0x585fef(0x1d1)](_0x4bf8d4){const _0x6a0882=a47_0x585fef,_0xe4bd59={};_0xe4bd59[_0x6a0882(0x1fc)]=function(_0x2267eb,_0x5d31d1){return _0x2267eb+_0x5d31d1;},_0xe4bd59[_0x6a0882(0x1b2)]=_0x6a0882(0x1b3);const _0x2e4529=_0xe4bd59;return path[_0x6a0882(0x1c0)](this['getDirPath'](),_0x2e4529[_0x6a0882(0x1fc)](_0x4bf8d4,_0x2e4529[_0x6a0882(0x1b2)]));}static['getTestRunIdFromTestInfo'](_0x454668){const _0x38445e=a47_0x585fef,_0x484158={};_0x484158[_0x38445e(0x1ec)]=function(_0x37baa8,_0x47916c){return _0x37baa8+_0x47916c;},_0x484158['TOvSv']=function(_0x34d34a,_0x48acf4){return _0x34d34a+_0x48acf4;},_0x484158[_0x38445e(0x206)]=function(_0x39c941,_0x11b3a4){return _0x39c941+_0x11b3a4;},_0x484158[_0x38445e(0x1c9)]=function(_0x5f0fc1,_0x29f087){return _0x5f0fc1+_0x29f087;};const _0xd264e5=_0x484158;return _0xd264e5[_0x38445e(0x1ec)](_0xd264e5[_0x38445e(0x1ee)](_0xd264e5[_0x38445e(0x206)](_0xd264e5[_0x38445e(0x1c9)](this[_0x38445e(0x1e2)](_0x454668),'-'),this[_0x38445e(0x1d2)](_0x454668)),'-'),_0x454668[_0x38445e(0x1b8)]);}static['getProjectIdFromTestInfo'](_0x569808){const _0x315957=a47_0x585fef,_0xd5e8f0={'ioCvf':function(_0x1dd946,_0x49f5a0,_0x1a7163){return _0x1dd946(_0x49f5a0,_0x1a7163);},'bzdlL':_0x315957(0x1ff),'lsbtY':_0x315957(0x1e9),'yNuxf':_0x315957(0x1c6),'BHxCj':_0x315957(0x1cc)};return _0xd5e8f0[_0x315957(0x1f6)](nestedKeyValue,_0x569808,[_0xd5e8f0[_0x315957(0x1ef)],_0xd5e8f0[_0x315957(0x1fe)]])||_0xd5e8f0['ioCvf'](nestedKeyValue,_0x569808,[_0xd5e8f0[_0x315957(0x1d5)],_0xd5e8f0[_0x315957(0x1ca)]]);}static[a47_0x585fef(0x1d2)](_0x12e8ec){const _0x405a75={'wXsHJ':function(_0x198235,_0x4ad720,_0x5dbc78){return _0x198235(_0x4ad720,_0x5dbc78);},'ldqEZ':'_test'};return _0x405a75['wXsHJ'](nestedKeyValue,_0x12e8ec,[_0x405a75['ldqEZ'],'id'])||_0x12e8ec['testId'];}static[a47_0x585fef(0x1f8)](_0x527b7f){const _0x28cb13=a47_0x585fef,_0x285ee2={'Svyro':function(_0x4685e0,_0x1b3326){return _0x4685e0===_0x1b3326;},'LPLfi':_0x28cb13(0x1fd),'ZRmYB':function(_0x1b2b1e){return _0x1b2b1e();}};if(this[_0x28cb13(0x1bc)][_0x527b7f]&&_0x285ee2[_0x28cb13(0x1d9)](typeof this[_0x28cb13(0x1bc)][_0x527b7f][_0x28cb13(0x1ea)],_0x285ee2[_0x28cb13(0x1ba)]))return this[_0x28cb13(0x1bc)][_0x527b7f][_0x28cb13(0x1ea)];const _0x2e2282=this[_0x28cb13(0x1d1)](_0x527b7f);if(_0x2e2282&&fs[_0x28cb13(0x209)](_0x2e2282)){const _0x5d8971=JSON[_0x28cb13(0x1c3)](fs[_0x28cb13(0x1e4)](_0x2e2282)['toString']());return this[_0x28cb13(0x1bc)][_0x527b7f]=_0x5d8971,this['tests'][_0x527b7f][_0x28cb13(0x1ea)];}return this[_0x28cb13(0x1bc)][_0x527b7f]={'uuid':_0x285ee2['ZRmYB'](uuidv4)},fs['writeFileSync'](_0x2e2282,JSON[_0x28cb13(0x20a)](this[_0x28cb13(0x1bc)][_0x527b7f])),this['tests'][_0x527b7f][_0x28cb13(0x1ea)];}static[a47_0x585fef(0x1da)](_0x404946){const _0x134fa6=a47_0x585fef,_0x1a3aee=path[_0x134fa6(0x1c0)](this[_0x134fa6(0x1b4)](),_0x404946+_0x134fa6(0x1cf));if(_0x1a3aee&&fs[_0x134fa6(0x209)](_0x1a3aee))return fs[_0x134fa6(0x1e4)](_0x1a3aee)[_0x134fa6(0x1d0)]();}static['setAccessibilityPlatformValidation'](_0x1fc6a9,_0x1f9aa5){const _0x3915ad=a47_0x585fef,_0x59f763=path[_0x3915ad(0x1c0)](this[_0x3915ad(0x1b4)](),_0x1f9aa5+_0x3915ad(0x1cf));fs['writeFileSync'](_0x59f763,_0x1fc6a9[_0x3915ad(0x1d0)]());}static[a47_0x585fef(0x1bb)](){const _0x10b532={};_0x10b532['recursive']=!![],_0x10b532['force']=!![],fs['rmSync'](this['getDirPath'](),_0x10b532);}static[a47_0x585fef(0x1fa)](_0x19464d){const _0x5771a8=a47_0x585fef;if(this[_0x5771a8(0x1bc)][_0x19464d])return this['tests'][_0x19464d];const _0x1ef7bb=this[_0x5771a8(0x1d1)](_0x19464d);if(_0x1ef7bb&&fs[_0x5771a8(0x209)](_0x1ef7bb)){const _0x30524a=JSON[_0x5771a8(0x1c3)](fs[_0x5771a8(0x1e4)](_0x1ef7bb)[_0x5771a8(0x1d0)]());return this[_0x5771a8(0x1bc)][_0x19464d]=_0x30524a,_0x30524a;}return{};}static[a47_0x585fef(0x201)](_0x3c0ce9,_0x170904){const _0x59ea55=a47_0x585fef,_0x5b854c=this[_0x59ea55(0x1d1)](_0x3c0ce9);if(_0x5b854c&&fs[_0x59ea55(0x209)](_0x5b854c)){const _0x37baf6=JSON[_0x59ea55(0x1c3)](fs[_0x59ea55(0x1e4)](_0x5b854c)[_0x59ea55(0x1d0)]()),_0x57752b={..._0x37baf6,..._0x170904};this[_0x59ea55(0x1bc)][_0x3c0ce9]=_0x57752b;}else this[_0x59ea55(0x1bc)][_0x3c0ce9]=_0x170904;fs['writeFileSync'](_0x5b854c,this[_0x59ea55(0x1bc)][_0x3c0ce9]);}static['addTraceFilePath'](_0x57138c){const _0x4fc92a=a47_0x585fef,_0x3280c0={};_0x3280c0[_0x4fc92a(0x1b7)]=_0x4fc92a(0x1f3);const _0x4fdb2b=_0x3280c0;try{const _0x151a0a=process['pid'],_0x1e6e48=path[_0x4fc92a(0x1c0)](TestDetails[_0x4fc92a(0x1f0)](),_0x151a0a+_0x4fc92a(0x1de));let _0x4cf1c2=[];_0x1e6e48&&fs[_0x4fc92a(0x209)](_0x1e6e48)&&(_0x4cf1c2=JSON[_0x4fc92a(0x1c3)](fs[_0x4fc92a(0x1e4)](_0x1e6e48)[_0x4fc92a(0x1d0)]())),!_0x4cf1c2[_0x4fc92a(0x1e5)](_0x54c366=>_0x54c366['filePath']===_0x57138c[_0x4fc92a(0x1cd)])&&(_0x4cf1c2[_0x4fc92a(0x1d7)](_0x57138c),fs['writeFileSync'](_0x1e6e48,JSON[_0x4fc92a(0x20a)](_0x4cf1c2)));}catch(_0xe705a4){logger[_0x4fc92a(0x20c)](_0x4fdb2b['aWLar'],_0xe705a4);}}static[a47_0x585fef(0x1fb)](){const _0x5274c8=a47_0x585fef,_0x55a51c={};_0x55a51c[_0x5274c8(0x1e1)]='_traceZipPaths.json',_0x55a51c[_0x5274c8(0x1f5)]=_0x5274c8(0x1e8);const _0xa6a296=_0x55a51c,_0xe5c8ea=[];try{const _0xfb81d7=TestDetails[_0x5274c8(0x1f0)]();if(_0xfb81d7&&!fs[_0x5274c8(0x209)](_0xfb81d7))return _0xe5c8ea;const _0x113218=fs[_0x5274c8(0x20d)](_0xfb81d7);_0x113218['forEach'](_0x1a03fc=>{const _0x2c0e8c=_0x5274c8;if(_0x1a03fc&&_0x1a03fc[_0x2c0e8c(0x1d8)](_0xa6a296['OjvdF'])){const _0x5a3e93=JSON['parse'](fs[_0x2c0e8c(0x1e4)](path[_0x2c0e8c(0x1c0)](_0xfb81d7,_0x1a03fc))['toString']());_0xe5c8ea[_0x2c0e8c(0x1d7)](..._0x5a3e93);}});}catch(_0x27d46a){logger['error'](util[_0x5274c8(0x1b5)](_0xa6a296['voLJV'],_0x27d46a));}const _0x404527={};return _0xe5c8ea['forEach'](_0x389ddf=>{const _0x5e0113=_0x5274c8;_0x404527[_0x389ddf[_0x5e0113(0x1cd)]]=_0x389ddf;}),Object[_0x5274c8(0x1c2)](_0x404527);}static['appendToTracePaths'](_0x128d89,_0x5bbd84){const _0x5a97df=a47_0x585fef,_0x16083d={};_0x16083d['XaqSO']=_0x5a97df(0x1bd),_0x16083d['unobR']=_0x5a97df(0x1f2);const _0x4d487c=_0x16083d;try{const _0x36b62b=path[_0x5a97df(0x1c0)](helper[_0x5a97df(0x1dd)](),_0x4d487c[_0x5a97df(0x207)]);if(!fs[_0x5a97df(0x209)](_0x36b62b)){const _0x3b35ac={};_0x3b35ac[_0x5a97df(0x1f1)]=!![],fs[_0x5a97df(0x1d4)](_0x36b62b,_0x3b35ac);}fs['appendFileSync'](path[_0x5a97df(0x1c0)](_0x36b62b,_0x5a97df(0x1dc)+_0x5bbd84+_0x5a97df(0x1be)),_0x128d89+'\x0a',_0x4d487c[_0x5a97df(0x1c7)]);}catch(_0x3abfdc){console['error'](_0x5a97df(0x1c1)+_0x3abfdc[_0x5a97df(0x204)]);}}}module[a47_0x585fef(0x1e7)]=TestDetails;
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_0x33d7a1=a48_0x164b;(function(_0x2461a4,_0x251650){const _0x91f01c=a48_0x164b,_0x66f819=_0x2461a4();while(!![]){try{const _0x14ca73=parseInt(_0x91f01c(0x1d9))/0x1+-parseInt(_0x91f01c(0x166))/0x2*(-parseInt(_0x91f01c(0x155))/0x3)+parseInt(_0x91f01c(0x202))/0x4*(-parseInt(_0x91f01c(0x210))/0x5)+parseInt(_0x91f01c(0x1d4))/0x6*(-parseInt(_0x91f01c(0x18c))/0x7)+parseInt(_0x91f01c(0x1ab))/0x8+parseInt(_0x91f01c(0x1b7))/0x9*(parseInt(_0x91f01c(0x1d6))/0xa)+parseInt(_0x91f01c(0x169))/0xb*(-parseInt(_0x91f01c(0x1b1))/0xc);if(_0x14ca73===_0x251650)break;else _0x66f819['push'](_0x66f819['shift']());}catch(_0x32fb86){_0x66f819['push'](_0x66f819['shift']());}}}(a48_0x466b,0x2c325));const path=require(a48_0x33d7a1(0x179)),url=require(a48_0x33d7a1(0x1a1)),util=require(a48_0x33d7a1(0x1a4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a48_0x33d7a1(0x200)),{o11yErrorHandler}=require(a48_0x33d7a1(0x1c1)),{debug,getPlatformDetails}=require(a48_0x33d7a1(0x175)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a48_0x33d7a1(0x1bb)),logger=require(a48_0x33d7a1(0x212))[a48_0x33d7a1(0x164)],scripts=require(a48_0x33d7a1(0x1fa)),{browserStackExecuteDriver}=require(a48_0x33d7a1(0x1c6)),AccessibilityHelper=require(a48_0x33d7a1(0x187)),constants=require(a48_0x33d7a1(0x1bd)),BrowserstackCLI=require(a48_0x33d7a1(0x1ca)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a48_0x33d7a1(0x1c8)),{performScanWithRetry}=require(a48_0x33d7a1(0x1a6)),getBrowserNameFromChannel=_0x394cb1=>{const _0x45d8da=a48_0x33d7a1,_0x131a9c={};_0x131a9c[_0x45d8da(0x18d)]=_0x45d8da(0x17c),_0x131a9c[_0x45d8da(0x199)]=_0x45d8da(0x157),_0x131a9c[_0x45d8da(0x1cf)]=_0x45d8da(0x1bc),_0x131a9c[_0x45d8da(0x1f8)]=_0x45d8da(0x19b);const _0x1ef09b=_0x131a9c;if(_0x394cb1[_0x45d8da(0x1ea)](_0x1ef09b[_0x45d8da(0x18d)]))return _0x1ef09b[_0x45d8da(0x18d)];if(_0x394cb1[_0x45d8da(0x1ea)](_0x1ef09b[_0x45d8da(0x199)]))return _0x1ef09b[_0x45d8da(0x199)];if(_0x394cb1[_0x45d8da(0x1ea)](_0x1ef09b[_0x45d8da(0x1cf)]))return _0x1ef09b[_0x45d8da(0x1cf)];if(_0x394cb1['includes'](_0x1ef09b[_0x45d8da(0x1f8)]))return _0x1ef09b[_0x45d8da(0x1f8)];},getBrowserFromWSEndpoint=_0x3a7285=>{const _0x122ece=a48_0x33d7a1,_0x391172={'myRUQ':'chrome','OPNNY':function(_0x44f63d,_0x3dad37){return _0x44f63d(_0x3dad37);}};try{const _0x32b6cf=url[_0x122ece(0x198)](_0x3a7285),_0x1bdb80=new URLSearchParams(_0x32b6cf[_0x122ece(0x15f)]),_0x1d5f1a=Object[_0x122ece(0x15e)](_0x1bdb80[_0x122ece(0x1ee)]()),_0x1e368d=JSON['parse'](_0x1d5f1a[_0x122ece(0x191)]);if(_0x1e368d&&(_0x1e368d[_0x122ece(0x1e8)]||_0x1e368d[_0x122ece(0x185)]))return _0x1e368d['browser']||_0x1e368d[_0x122ece(0x185)];return _0x391172[_0x122ece(0x174)];}catch(_0xf4675b){_0x391172[_0x122ece(0x193)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0xf4675b[_0x122ece(0x1f1)]());}},getCloudProviderFromWsEndpoint=_0x51bc2c=>{const _0x2db06f=a48_0x33d7a1,_0x207351={};_0x207351[_0x2db06f(0x1ed)]=_0x2db06f(0x1e3),_0x207351[_0x2db06f(0x1cb)]='unknown_grid';const _0x4b9ce4=_0x207351;if(_0x51bc2c['includes'](constants[_0x2db06f(0x1f6)])||_0x51bc2c[_0x2db06f(0x1ea)](constants[_0x2db06f(0x182)]))return _0x4b9ce4[_0x2db06f(0x1ed)];return _0x4b9ce4[_0x2db06f(0x1cb)];},a48_0x3c34f7={};a48_0x3c34f7[a48_0x33d7a1(0x168)]=undefined,a48_0x3c34f7['bsSessionId']=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1e8)]=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1d8)]=undefined,a48_0x3c34f7['platform']=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1dd)]=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1b6)]=undefined,a48_0x3c34f7[a48_0x33d7a1(0x177)]={};class PlaywrightSessionDetails{static [a48_0x33d7a1(0x1fc)]=a48_0x3c34f7;constructor(){const _0x5729c8=a48_0x33d7a1,_0x5c2802={};_0x5c2802['RdegH']=_0x5729c8(0x1b9);const _0x332d06=_0x5c2802;throw new Error(_0x332d06[_0x5729c8(0x192)]);}static [a48_0x33d7a1(0x1cd)]=null;static['setupBrowserDetails'](_0x39c51b,_0x493e83,_0x54377a=null){const _0x1b003f=a48_0x33d7a1,_0x4ca2d0={'ihGUY':function(_0x9c0c6c,_0x250af5){return _0x9c0c6c===_0x250af5;},'mRRFD':_0x1b003f(0x1f4),'dLeZy':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','kEywT':function(_0x660153,_0x1cea67){return _0x660153===_0x1cea67;},'HEWfK':_0x1b003f(0x205),'gVTjU':_0x1b003f(0x1af),'lFycF':function(_0xabc440,_0x4c6db7,_0x34b4d3){return _0xabc440(_0x4c6db7,_0x34b4d3);},'zRyok':'_browserType','WLwAp':'_defaultConnectOptions','lgEAJ':_0x1b003f(0x1b5),'gjhRU':_0x1b003f(0x1b3),'WJYOX':_0x1b003f(0x16b),'CAVGh':function(_0x5ba7b4,_0x2ed831){return _0x5ba7b4(_0x2ed831);},'wQwGi':'browserstack','julqW':_0x1b003f(0x1be),'BniRt':'automate','mdfpj':function(_0x4a92d4,_0x2e5e9a){return _0x4a92d4+_0x2e5e9a;},'jmKjW':'playwright-','KMoyr':function(_0x174ba7){return _0x174ba7();},'qWIam':_0x1b003f(0x1c7)},_0x64cd4e=this;return _0x4ca2d0[_0x1b003f(0x1c0)](o11yErrorHandler,async function _0xbe250e(_0x3c4c2d,_0x313f44,_0x333892=null){const _0x46aff3=_0x1b003f;let _0x188f3b=_0x3c4c2d[_0x46aff3(0x195)],_0x39404c=null;_0x3c4c2d&&_0x4ca2d0[_0x46aff3(0x188)](typeof _0x3c4c2d['version'],_0x4ca2d0['mRRFD'])?_0x39404c=_0x3c4c2d[_0x46aff3(0x1f5)]():logger['debug'](_0x4ca2d0[_0x46aff3(0x19e)]);let _0x28b130=null;_0x3c4c2d&&_0x4ca2d0[_0x46aff3(0x17e)](typeof _0x3c4c2d[_0x46aff3(0x1a5)],_0x4ca2d0[_0x46aff3(0x173)])?_0x28b130=_0x3c4c2d['model']():logger[_0x46aff3(0x1ba)](_0x4ca2d0['HEWfK']);let _0x33686a=null,_0x55af8a=null,_0x2a7fab=null,_0xeea512=_0x4ca2d0[_0x46aff3(0x1d0)];if(_0x3c4c2d['_connection'][_0x46aff3(0x20b)]()||global[_0x46aff3(0x196)]){let _0x40d9b3=null;_0x4ca2d0[_0x46aff3(0x1c0)](nestedKeyValue,_0x3c4c2d,[_0x4ca2d0[_0x46aff3(0x19a)],_0x4ca2d0[_0x46aff3(0x197)]])?_0x40d9b3=_0x3c4c2d[_0x46aff3(0x1ce)][_0x46aff3(0x1ae)]:_0x40d9b3=_0x4ca2d0[_0x46aff3(0x1c0)](nestedKeyValue,_0x313f44,[_0x4ca2d0['lgEAJ'],_0x4ca2d0[_0x46aff3(0x1fd)],_0x4ca2d0[_0x46aff3(0x207)]]);const _0x2e4716=_0x333892||_0x40d9b3&&_0x40d9b3[_0x46aff3(0x156)];_0x2e4716&&(_0xeea512=_0x4ca2d0[_0x46aff3(0x19d)](getCloudProviderFromWsEndpoint,_0x2e4716),_0x4ca2d0[_0x46aff3(0x188)](_0xeea512,_0x4ca2d0[_0x46aff3(0x176)])&&(_0x2a7fab=constants[_0x46aff3(0x1c3)][_0x46aff3(0x203)](_0x2e4716)?_0x4ca2d0['julqW']:_0x4ca2d0[_0x46aff3(0x16a)],_0x188f3b=_0x4ca2d0[_0x46aff3(0x19d)](getBrowserFromWSEndpoint,_0x2e4716)||_0x188f3b,_0x33686a=_0x64cd4e['currentSessionDetails'][_0x46aff3(0x15c)],_0x55af8a=_0x64cd4e['currentSessionDetails'][_0x46aff3(0x1dd)]));}else{_0x313f44&&_0x313f44['project'][_0x46aff3(0x1b3)][_0x46aff3(0x1dc)]?_0x188f3b=_0x4ca2d0['CAVGh'](getBrowserNameFromChannel,_0x313f44[_0x46aff3(0x1b5)][_0x46aff3(0x1b3)][_0x46aff3(0x1dc)]):_0x188f3b=_0x4ca2d0[_0x46aff3(0x172)](_0x4ca2d0[_0x46aff3(0x167)],_0x188f3b[_0x46aff3(0x19c)]());const _0x59f489=await _0x4ca2d0['KMoyr'](getPlatformDetails);_0x33686a=_0x59f489[_0x46aff3(0x171)],_0x55af8a=_0x59f489[_0x46aff3(0x181)];}const _0x4b3dd2={};_0x4b3dd2[_0x46aff3(0x1e8)]=_0x188f3b,_0x4b3dd2[_0x46aff3(0x1d8)]=_0x39404c,_0x4b3dd2[_0x46aff3(0x177)]={},_0x4b3dd2[_0x46aff3(0x15c)]=_0x33686a,_0x4b3dd2[_0x46aff3(0x1dd)]=_0x55af8a,_0x4b3dd2[_0x46aff3(0x1b6)]=_0x2a7fab;const _0x131e78=_0x4b3dd2;_0x28b130&&(_0x131e78[_0x46aff3(0x177)][_0x46aff3(0x17b)]=_0x28b130);const _0x4467a1={};_0x4467a1[_0x46aff3(0x168)]=_0xeea512,_0x64cd4e[_0x46aff3(0x1fc)]=Object['assign']({},_0x64cd4e['currentSessionDetails'],_0x4467a1,_0x131e78);},_0x4ca2d0[_0x1b003f(0x1a9)])(_0x39c51b,_0x493e83,_0x54377a);}static[a48_0x33d7a1(0x208)](){const _0x5698ce=a48_0x33d7a1;this[_0x5698ce(0x20e)](),this['patchCRConnection']();}static[a48_0x33d7a1(0x20e)](){const _0x46cfce=a48_0x33d7a1,_0x3c2016={'ITXNM':function(_0x223392,_0x4c0a40,_0x597817){return _0x223392(_0x4c0a40,_0x597817);},'sGTSS':_0x46cfce(0x1e5),'FSXAJ':'testInfo','icOea':_0x46cfce(0x158),'INQyg':_0x46cfce(0x1ad),'Dvbje':_0x46cfce(0x1e1),'bkVPT':function(_0x37f9ac,_0xa8f61){return _0x37f9ac===_0xa8f61;},'sfssp':_0x46cfce(0x159),'xhiYi':function(_0x272c8c,_0x184fba,_0x18e9ec,_0x5815a6){return _0x272c8c(_0x184fba,_0x18e9ec,_0x5815a6);},'ZTFay':function(_0x46fb34,_0x14823a){return _0x46fb34(_0x14823a);},'UOuFB':function(_0x3e3a99,_0xd4d805){return _0x3e3a99(_0xd4d805);},'pXrEu':_0x46cfce(0x170),'FsKid':_0x46cfce(0x17d),'CzwEW':'connection.js','kRhpm':function(_0x5ea2ed,_0x2891ce){return _0x5ea2ed(_0x2891ce);},'GiteG':function(_0xde1e5,_0x23e411){return _0xde1e5(_0x23e411);},'wuSFX':_0x46cfce(0x1e0),'osRvU':function(_0xef9617,_0x128133){return _0xef9617!=_0x128133;},'OUHgm':function(_0x227d57){return _0x227d57();},'qZKoT':_0x46cfce(0x16f),'LAxvu':'dispatch','qoNRi':function(_0x24cbe5,_0x1673c7){return _0x24cbe5(_0x1673c7);}},_0x550eaf=this;if(!this[_0x46cfce(0x1b4)])try{const _0x6e9503=path[_0x46cfce(0x20c)](_0x3c2016['pXrEu'],_0x3c2016[_0x46cfce(0x1d3)],_0x3c2016[_0x46cfce(0x1c4)]),_0x3bd89b=_0x3c2016['kRhpm'](importFileFromPWCore,_0x6e9503);!_0x3bd89b?_0x3c2016['GiteG'](debug,_0x3c2016[_0x46cfce(0x1f9)]):this[_0x46cfce(0x1b4)]=_0x3bd89b[_0x46cfce(0x1b4)];}catch(_0x1d88bd){_0x3c2016[_0x46cfce(0x201)](debug,_0x46cfce(0x1ff)+_0x1d88bd[_0x46cfce(0x1f1)]());}const _0x18d44c=this['Connection'];try{if(_0x3c2016[_0x46cfce(0x190)](_0x18d44c,null)){const _0x3788c8=_0x18d44c[_0x46cfce(0x1b8)][_0x46cfce(0x16c)],_0x1567fc=_0x18d44c[_0x46cfce(0x1b8)][_0x46cfce(0x16f)];_0x3c2016['OUHgm'](isAccessibilityAutomationSession)&&Object[_0x46cfce(0x1f0)](_0x18d44c[_0x46cfce(0x1b8)],_0x3c2016[_0x46cfce(0x20a)],{'get':function(){const _0x468052=_0x46cfce,_0x1c5fbd={'DTlGB':function(_0x4610e1,_0x38cff8,_0x2819eb){const _0x59f3dd=a48_0x164b;return _0x3c2016[_0x59f3dd(0x16d)](_0x4610e1,_0x38cff8,_0x2819eb);},'mEWRQ':_0x3c2016[_0x468052(0x211)],'RifKJ':_0x3c2016[_0x468052(0x1de)],'kkomW':_0x3c2016[_0x468052(0x194)],'FyVqd':function(_0x5b2690,_0x29d713,_0x63095){return _0x3c2016['ITXNM'](_0x5b2690,_0x29d713,_0x63095);},'ddHTH':_0x3c2016['INQyg'],'ZNIot':_0x3c2016[_0x468052(0x1cc)],'mTXCm':function(_0x50c126,_0xb86c08){const _0x5cf0c3=_0x468052;return _0x3c2016[_0x5cf0c3(0x180)](_0x50c126,_0xb86c08);},'NVsmF':_0x3c2016[_0x468052(0x178)],'PdRle':function(_0x4c6e7d,_0x47a778,_0x3e4e99,_0x48c50a){const _0x39cebf=_0x468052;return _0x3c2016[_0x39cebf(0x1c2)](_0x4c6e7d,_0x47a778,_0x3e4e99,_0x48c50a);}};return async function(){const _0x3206b0=_0x468052;try{if(!global['bstackPerformA11yScan']&&global['accessibilityPlatform']&&_0x1c5fbd[_0x3206b0(0x209)](nestedKeyValue,global['__workerDetails'],[_0x1c5fbd['mEWRQ'],_0x1c5fbd[_0x3206b0(0x1d1)],_0x1c5fbd[_0x3206b0(0x186)]])&&_0x1c5fbd[_0x3206b0(0x165)](shouldScanTestForAccessibility,global['__workerDetails'][_0x3206b0(0x1e5)]['testInfo']['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x3206b0(0x1ba)](_0x3206b0(0x1a8)+arguments[0x1]),global[_0x3206b0(0x16e)]=!![];const _0x5d4f96=_0x1c5fbd[_0x3206b0(0x165)](nestedKeyValue,global,[_0x1c5fbd[_0x3206b0(0x1f7)],_0x1c5fbd[_0x3206b0(0x1a2)]]);_0x5d4f96&&logger[_0x3206b0(0x18e)](_0x3206b0(0x17a)+util['format'](await _0x1c5fbd[_0x3206b0(0x165)](performScanWithRetry,_0x5d4f96,arguments[0x1]))),_0x1c5fbd[_0x3206b0(0x1d7)](arguments[0x0][_0x3206b0(0x206)],_0x1c5fbd[_0x3206b0(0x162)])&&global[_0x3206b0(0x1e9)]&&logger['info'](_0x3206b0(0x183)+util[_0x3206b0(0x1a0)](await _0x1c5fbd[_0x3206b0(0x1fb)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x3206b0(0x1ec)])));}}catch(_0x936db){logger['debug']('Failed\x20to\x20perform\x20scan\x20'+util['format'](_0x936db));}return global['bstackPerformA11yScan']=![],_0x1567fc[_0x3206b0(0x20f)](this,arguments);};}}),!_0x3c2016[_0x46cfce(0x15a)](isFalse,process[_0x46cfce(0x17f)][_0x46cfce(0x1aa)])&&Object['defineProperty'](_0x18d44c['prototype'],_0x3c2016['LAxvu'],{'get':function(){return async function _0x358a4b(_0x55e44a){const _0x88e27=a48_0x164b;if(BrowserstackCLI[_0x88e27(0x160)]()['isRunning']()){const _0xafb4aa={};_0xafb4aa[_0x88e27(0x189)]=_0x55e44a,await BrowserstackCLI[_0x88e27(0x160)]()[_0x88e27(0x161)]()[_0x88e27(0x184)](AutomationFrameworkState[_0x88e27(0x1ac)],HookState['POST'],_0xafb4aa);}else{const _0x19112e=_0x55e44a&&_0x55e44a[_0x88e27(0x1e6)]&&_0x55e44a[_0x88e27(0x1e6)][_0x88e27(0x1a3)];if(_0x19112e){const _0x3b0ba4=_0x19112e[_0x88e27(0x1b2)],_0x3cc371=_0x19112e[_0x88e27(0x1fe)];_0x3cc371&&(_0x3c2016[_0x88e27(0x1f3)](debug,_0x88e27(0x19f)+_0x3cc371['toString']()),_0x550eaf['currentSessionDetails']['platform']=_0x3cc371[_0x88e27(0x171)],_0x550eaf[_0x88e27(0x1fc)]['platform_version']=_0x3cc371['platformVersion']),_0x3b0ba4&&(_0x3c2016[_0x88e27(0x1e7)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x3b0ba4),_0x550eaf[_0x88e27(0x1fc)][_0x88e27(0x1e4)]=_0x3b0ba4);}}return _0x3788c8[_0x88e27(0x20f)](this,arguments);};}});}}catch(_0x531bab){_0x3c2016[_0x46cfce(0x18a)](debug,_0x46cfce(0x1c5)+_0x531bab),_0x550eaf[_0x46cfce(0x1cd)]=_0x531bab[_0x46cfce(0x1f1)]();}}static[a48_0x33d7a1(0x1e2)](){const _0x298d04=a48_0x33d7a1,_0x2ec5d5={'WeGkW':function(_0x349898,_0x79fc00){return _0x349898(_0x79fc00);},'UtfjJ':function(_0x330583,_0x4fb04a){return _0x330583(_0x4fb04a);},'TdqbE':function(_0x475f2b){return _0x475f2b();},'aEGbI':'lib','Ecnzm':_0x298d04(0x18f),'LwcGQ':'chromium','MHEzG':'crConnection.js','lIFSs':function(_0x522308,_0x317331){return _0x522308(_0x317331);},'XEWcZ':'Not\x20able\x20to\x20import\x20crConnection','fshco':function(_0x2a267d,_0x1ff4b3){return _0x2a267d(_0x1ff4b3);},'BQqgy':'Error\x20in\x20importing\x20crConnection','aNmUx':function(_0x512268,_0x2db40c){return _0x512268!=_0x2db40c;},'VQpzd':_0x298d04(0x1d2)},_0x466f03=this;if(_0x2ec5d5['TdqbE'](isAccessibilityAutomationSession)){let _0x350bec=null;try{const _0x35f476=path[_0x298d04(0x20c)](_0x2ec5d5[_0x298d04(0x1b0)],_0x2ec5d5[_0x298d04(0x1d5)],_0x2ec5d5[_0x298d04(0x1db)],_0x2ec5d5['MHEzG']),_0x2f1638=_0x2ec5d5[_0x298d04(0x20d)](importFileFromPWCore,_0x35f476);!_0x2f1638?_0x2ec5d5['UtfjJ'](debug,_0x2ec5d5[_0x298d04(0x1da)]):_0x350bec=_0x2f1638[_0x298d04(0x1df)];}catch(_0x2f1e93){_0x2ec5d5[_0x298d04(0x163)](debug,_0x2ec5d5[_0x298d04(0x1bf)]);}try{if(_0x2ec5d5[_0x298d04(0x15b)](_0x350bec,null)){const _0x5d77f5=_0x350bec['prototype'][_0x298d04(0x1d2)];Object['defineProperty'](_0x350bec[_0x298d04(0x1b8)],_0x2ec5d5[_0x298d04(0x1ef)],{'get':function(){return async function _0x50358a(_0x4fee23){const _0x55bce2=a48_0x164b;try{if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x1d7592={};_0x1d7592[_0x55bce2(0x189)]=_0x4fee23,await BrowserstackCLI[_0x55bce2(0x160)]()[_0x55bce2(0x161)]()[_0x55bce2(0x184)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x55bce2(0x15d)],_0x1d7592),delete _0x4fee23['bStackParams'];}else{const _0x1ae425=_0x4fee23[_0x55bce2(0x1c9)];if(_0x1ae425){delete _0x4fee23[_0x55bce2(0x1c9)];const _0x3f56d9=_0x1ae425[_0x55bce2(0x1b2)],_0x5ad106=_0x1ae425[_0x55bce2(0x1fe)];_0x5ad106&&(_0x2ec5d5[_0x55bce2(0x1f2)](debug,_0x55bce2(0x1eb)+_0x5ad106['toString']()),_0x466f03[_0x55bce2(0x1fc)][_0x55bce2(0x15c)]=_0x5ad106[_0x55bce2(0x171)],_0x466f03[_0x55bce2(0x1fc)]['platform_version']=_0x5ad106['platformVersion']),_0x3f56d9&&(_0x2ec5d5[_0x55bce2(0x18b)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x3f56d9),_0x466f03['currentSessionDetails']['bsSessionId']=_0x3f56d9);}}}catch(_0x5652a4){_0x2ec5d5['UtfjJ'](debug,_0x55bce2(0x1a7)+_0x5652a4[_0x55bce2(0x1f1)]());}return _0x5d77f5[_0x55bce2(0x20f)](this,arguments);};}});}}catch(_0x3a5324){_0x2ec5d5[_0x298d04(0x20d)](debug,_0x298d04(0x204)+_0x3a5324),_0x466f03[_0x298d04(0x1cd)]=_0x3a5324[_0x298d04(0x1f1)]();}}}static['getDetails'](){return this['currentSessionDetails'];}}function a48_0x164b(_0x499cff,_0x3aafd3){const _0x466bf2=a48_0x466b();return a48_0x164b=function(_0x164b18,_0x3cfeb5){_0x164b18=_0x164b18-0x155;let _0x15d2a2=_0x466bf2[_0x164b18];return _0x15d2a2;},a48_0x164b(_0x499cff,_0x3aafd3);}function a48_0x466b(){const _0x485e91=['params','UOuFB','browser','__driver','includes','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','performScan','FtbLC','entries','VQpzd','defineProperty','toString','WeGkW','ZTFay','function','version','BSTACK_URL','ddHTH','aWWiu','wuSFX','../../helpers/accessibility-automation/scripts','PdRle','currentSessionDetails','gjhRU','platformDetails','Error\x20in\x20importing\x20connection\x20','../../helpers/helper','kRhpm','52748HtZvyk','test','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Device\x20Model\x20is\x20not\x20available','_type','WJYOX','patch','DTlGB','qZKoT','isRemote','join','lIFSs','patchConnection','apply','5PJcQgx','sGTSS','../../helpers/logger','99CGrDEp','wsEndpoint','edge','titlePath','Page','GiteG','aNmUx','platform','POST','fromEntries','query','getInstance','getAutomationFramework','NVsmF','fshco','winstonLogger','FyVqd','1142XTfBFO','jmKjW','cloudProvider','11itVqhm','BniRt','connectOptions','dispatch','ITXNM','bstackPerformA11yScan','sendMessageToServer','lib','platformName','mdfpj','mRRFD','myRUQ','../../helpers/test-observability/utils','wQwGi','capabilities','sfssp','path','Page\x20Scan\x20result=','deviceModel','chrome','client','kEywT','env','bkVPT','platformVersion','BSTACK_ATS_URL','Driver\x20Scan\x20result=','trackEvent','browserName','kkomW','./accessibility-helper','ihGUY','message','qoNRi','UtfjJ','35KQUiNm','HnGvs','info','server','osRvU','caps','RdegH','OPNNY','icOea','_name','accessibilityPlatform','WLwAp','parse','BkHRi','zRyok','safari','toLowerCase','CAVGh','dLeZy','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','format','url','ZNIot','bsParams','util','model','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Error\x20in\x20finding\x20platform\x20details\x20','Performing\x20scan\x20for\x20','qWIam','BROWSERSTACK_TEST_OBSERVABILITY','2156184sPrrYX','PLAYWRIGHT_DISPATCH','__workerDetails','_defaultConnectOptions','local_grid','aEGbI','3058404HovfLK','sessionId','use','Connection','project','product','23202gPGlNW','prototype','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','debug','../../helpers/accessibility-automation/helper','firefox','../utils/constants','turboscale','BQqgy','lFycF','../../helpers/test-observability/error-handler','xhiYi','ATS_WSS_URL_REGEX','CzwEW','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','../../bin/playwright/accessibility-helper','setupBrowserDetails','../v2/state/hookState.js','bStackParams','../v2/browserstackCLI','ePztK','Dvbje','sessionError','_browserType','DdMiv','gVTjU','RifKJ','_onMessage','FsKid','342096MASgkZ','Ecnzm','370ukOrBr','mTXCm','browser_version','350411KnlJYe','XEWcZ','LwcGQ','channel','platform_version','FSXAJ','CRConnection','Not\x20able\x20to\x20import\x20Connection','pwPage','patchCRConnection','browserstack','bsSessionId','currentTest'];a48_0x466b=function(){return _0x485e91;};return a48_0x466b();}module['exports']=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';function a49_0x9032(){const _0x280c9a=['RGdTC','./jest/command','10OGTPLw','wwJVt','cucumber-js','alias','info','zwZyR','./playwright/command','homedir','CbVrf','yHhOb','slice','24LzQATh','sendLogs','cVOhS','Runs\x20the\x20binary\x20with\x20load\x20command','../helpers/performance/performance-tester','vanilla','node','--no-opts','QYoRo','format','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','--no-package','BROWSERSTACK_CONFIG_FILE_PATH','join','setTestObservabilityDisable','describe','TsHNi','fireFunnelTestEvent','jIRZq','nbefT','exitCode','VERSION','2807903WaFXMc','start','error','IyIrb','--mochaRequire','nightwatch','FAlnb','CUCUMBER','mocha','mocha/lib/cli/cli.js','HbqXk','strict','playwright','143aBvKZq','command','cJGXE','Show\x20help','LBENp','GGuXB','load\x20[subcommand]','MOCHA','--package','yuzHa','getConfigPath','--config','./load/index','../helpers/logger','tTnYc','integrations','usage:\x20$0\x20<command>\x20[args]','CODECEPTJS','push','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','winstonLogger','message','HELP','4DBMzoc','253932exDtnW','EVENTS','isUndefined','CkDje','./integrations/command','HST','./utils/constants','exitProcess','SDK_CLEANUP','SDKTestSuccessful','./cucumber-js/command','./v2/browserstackCLI','oAUjL','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','6xQWUjs','INFO','child_process','Running\x20SDK\x20with\x20args\x20','find','1gIACfG','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','SoYuD','.local-not-set.json','jmkBa','../helpers/helper','eTOTB','uIujG','./codeceptjs/command','path','assign','codeceptjs','includes','--require','showHelpOnFail','run','framework','debug','1350590DpDbiw','5470894mRkOer','parserConfiguration','../../ats/src/index','PLAYWRIGHT','JaElY','wrap','VOfUO','boolean','setBrowserStackAutomationDisable','argv','end','config','demandCommand','dot-notation','EHoOL','ZBitL','INTEGRATIONS','help','NIGHTWATCH','2347833rTqHLM','mocha/lib/cli/run.js','wXQZI','10709631sUpXXt','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','handler','../helpers/BrowserStackSetup','VANILLA','xhpVE','stack','zMQsq','version','option','jest','ats','TXAeP','usage','./nightwatch/command','Parsing\x20command\x20line\x20arguments','yargs','aWMSe','2658956rMKYxx','SDK_SETUP','EYQyY'];a49_0x9032=function(){return _0x280c9a;};return a49_0x9032();}const a49_0xb843a7=a49_0x586d;(function(_0x5dbb3c,_0x1ea6ec){const _0x5cc18f=a49_0x586d,_0x5b41d7=_0x5dbb3c();while(!![]){try{const _0x5dafda=parseInt(_0x5cc18f(0x278))/0x1*(-parseInt(_0x5cc18f(0x21a))/0x2)+parseInt(_0x5cc18f(0x205))/0x3*(-parseInt(_0x5cc18f(0x264))/0x4)+parseInt(_0x5cc18f(0x28a))/0x5*(parseInt(_0x5cc18f(0x273))/0x6)+-parseInt(_0x5cc18f(0x240))/0x7*(-parseInt(_0x5cc18f(0x22a))/0x8)+parseInt(_0x5cc18f(0x208))/0x9*(parseInt(_0x5cc18f(0x21f))/0xa)+parseInt(_0x5cc18f(0x24d))/0xb*(-parseInt(_0x5cc18f(0x265))/0xc)+parseInt(_0x5cc18f(0x28b))/0xd;if(_0x5dafda===_0x1ea6ec)break;else _0x5b41d7['push'](_0x5b41d7['shift']());}catch(_0x1f1b1e){_0x5b41d7['push'](_0x5b41d7['shift']());}}}(a49_0x9032,0xaa320));const fs=require('fs'),path=require(a49_0xb843a7(0x281)),util=require('util'),spawn=require(a49_0xb843a7(0x275))['spawn'],{requireModule}=require(a49_0xb843a7(0x27d)),PerformanceTester=require(a49_0xb843a7(0x22e)),PerformanceEvents=require('../helpers/performance/constants')[a49_0xb843a7(0x266)],helper=require(a49_0xb843a7(0x27d)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a49_0xb843a7(0x20b)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a49_0xb843a7(0x269)),yargs=require(a49_0xb843a7(0x218)),Constants=require(a49_0xb843a7(0x26b)),BrowserstackCLI=require(a49_0xb843a7(0x270)),logger=require(a49_0xb843a7(0x25a))[a49_0xb843a7(0x261)],origArgs=Object[a49_0xb843a7(0x282)]([],process['argv']),captureError=async(_0x13c5f8,_0x3ff65e,_0x55b267,_0x2e7365=null)=>{const _0x55c1ca=a49_0xb843a7,_0x2747dd={'oeBPn':function(_0x3b78f8,_0x50e278,_0xa3953,_0x33c47c){return _0x3b78f8(_0x50e278,_0xa3953,_0x33c47c);},'htGan':_0x55c1ca(0x26e)};try{logger[_0x55c1ca(0x223)](_0x55c1ca(0x276)+origArgs[_0x55c1ca(0x237)]('\x20')),await _0x2747dd['oeBPn'](_0x13c5f8,_0x3ff65e,_0x2e7365,_0x55b267);}catch(_0x267187){process[_0x55c1ca(0x23e)]=0x1,logger[_0x55c1ca(0x242)](util[_0x55c1ca(0x233)](_0x267187));const _0x562999={'globalException':util[_0x55c1ca(0x233)]('%j',_0x267187)};PerformanceTester['end'](PerformanceEvents[_0x55c1ca(0x21b)],![],util[_0x55c1ca(0x233)](_0x267187));if(helper[_0x55c1ca(0x267)](global['config'])&&helper[_0x55c1ca(0x267)](global['framework']))return;try{utilities[_0x55c1ca(0x23b)](_0x2747dd['htGan'],_0x562999,global[_0x55c1ca(0x1fd)],global[_0x55c1ca(0x288)]);}catch(_0x2ccaba){logger[_0x55c1ca(0x289)](_0x55c1ca(0x234)+_0x2ccaba['stack']);}try{await helper[_0x55c1ca(0x22b)](global[_0x55c1ca(0x1fd)]);}catch(_0x279334){logger['debug'](_0x55c1ca(0x260)+_0x279334[_0x55c1ca(0x20e)]);}await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x55c1ca(0x1fc)](PerformanceEvents[_0x55c1ca(0x21b)],![],util['format'](_0x267187));}finally{PerformanceTester['start'](PerformanceEvents[_0x55c1ca(0x26d)]);}};try{const browserstackFolderPath=path[a49_0xb843a7(0x237)](helper[a49_0xb843a7(0x226)](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a49_0xb843a7(0x237)](browserstackFolderPath,a49_0xb843a7(0x27b));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a49_0x2d9b2f){logger[a49_0xb843a7(0x289)](a49_0xb843a7(0x209)+a49_0x2d9b2f[a49_0xb843a7(0x262)]);}process[a49_0xb843a7(0x1fb)][a49_0xb843a7(0x284)](a49_0xb843a7(0x248))&&(!process['argv'][a49_0xb843a7(0x284)]('--opts')&&process[a49_0xb843a7(0x1fb)][a49_0xb843a7(0x25f)](a49_0xb843a7(0x231)),!process['argv'][a49_0xb843a7(0x277)](_0x2d3422=>_0x2d3422[a49_0xb843a7(0x284)](a49_0xb843a7(0x258)))&&process[a49_0xb843a7(0x1fb)]['push']('--no-config'),!process[a49_0xb843a7(0x1fb)]['includes'](a49_0xb843a7(0x255))&&process[a49_0xb843a7(0x1fb)][a49_0xb843a7(0x25f)](a49_0xb843a7(0x235)),helper['findAndReplace'](process['argv'],a49_0xb843a7(0x285),a49_0xb843a7(0x244)));PerformanceTester[a49_0xb843a7(0x241)](PerformanceEvents[a49_0xb843a7(0x21b)]);const a49_0x27716f={};a49_0x27716f[a49_0xb843a7(0x1ff)]=![];const argv=yargs[a49_0xb843a7(0x28c)](a49_0x27716f)[a49_0xb843a7(0x215)](a49_0xb843a7(0x25d))[a49_0xb843a7(0x222)]('v',a49_0xb843a7(0x210))[a49_0xb843a7(0x239)]('v')[a49_0xb843a7(0x222)]('h',a49_0xb843a7(0x203))[a49_0xb843a7(0x203)](a49_0xb843a7(0x203))[a49_0xb843a7(0x286)](!![],Constants[a49_0xb843a7(0x23f)][a49_0xb843a7(0x263)])[a49_0xb843a7(0x24e)](a49_0xb843a7(0x212),Constants['JEST'][a49_0xb843a7(0x274)],function(_0x36dbee){const _0x14bbe9=a49_0xb843a7,_0x331152={'YOzGp':_0x14bbe9(0x212),'eTOTB':function(_0xf04e85,_0x3b2514,_0x2c1c04,_0x82e916,_0x408888){return _0xf04e85(_0x3b2514,_0x2c1c04,_0x82e916,_0x408888);},'zMRMk':function(_0x3393b4,_0x586587){return _0x3393b4(_0x586587);},'Zhhoq':_0x14bbe9(0x21e)},_0x41f712=process[_0x14bbe9(0x1fb)][_0x14bbe9(0x229)](0x2);helper[_0x14bbe9(0x238)](),helper['setBrowserStackAutomationDisable']();const _0x59651b=new BrowserStackSetup(_0x36dbee[_0x14bbe9(0x1fb)],_0x331152['YOzGp']);return _0x331152[_0x14bbe9(0x27e)](captureError,_0x331152['zMRMk'](require,_0x331152['Zhhoq']),_0x36dbee[_0x14bbe9(0x1fb)],_0x59651b,_0x41f712);})[a49_0xb843a7(0x24e)]('mocha',Constants[a49_0xb843a7(0x254)][a49_0xb843a7(0x274)],_0x20f9a0=>{const _0x448af6=a49_0xb843a7,_0x3ddaad={'cJteK':function(_0x3e4ecf,_0x43d627,_0x162e4f,_0x85741e){return _0x3e4ecf(_0x43d627,_0x162e4f,_0x85741e);},'QYoRo':function(_0x4f94f9,_0x39e068){return _0x4f94f9(_0x39e068);},'uIujG':'./mocha/command','RGdTC':_0x448af6(0x248),'CbVrf':_0x448af6(0x217),'wwJVt':function(_0x4608ad,_0x13d15a,_0x53945f){return _0x4608ad(_0x13d15a,_0x53945f);},'LBENp':_0x448af6(0x206),'QHcXM':'mocha/lib/cli/commands.js','cVOhS':function(_0x4b3eee,_0x5337dc,_0x462fb3){return _0x4b3eee(_0x5337dc,_0x462fb3);},'bhzbe':_0x448af6(0x249),'CkDje':function(_0x4b7309){return _0x4b7309();}};process[_0x448af6(0x1fb)]=process[_0x448af6(0x1fb)][_0x448af6(0x229)](0x1),helper['setTestObservabilityDisable'](),helper[_0x448af6(0x1fa)]();const _0x1164c7=new BrowserStackSetup(_0x20f9a0[_0x448af6(0x1fb)],_0x3ddaad['RGdTC']);logger['debug'](_0x3ddaad[_0x448af6(0x227)]);const _0x38f447=_0x3ddaad[_0x448af6(0x220)](requireModule,_0x3ddaad[_0x448af6(0x251)],_0x3ddaad[_0x448af6(0x21d)]),_0x82b1c1=_0x3ddaad[_0x448af6(0x220)](requireModule,_0x3ddaad['QHcXM'],_0x3ddaad[_0x448af6(0x21d)]);delete _0x38f447['handler'],_0x38f447[_0x448af6(0x20a)]=function(_0x1230fe){const _0x215ccd=_0x448af6;return _0x3ddaad['cJteK'](captureError,_0x3ddaad[_0x215ccd(0x232)](require,_0x3ddaad[_0x215ccd(0x27f)]),_0x1230fe,_0x1164c7);},_0x82b1c1[_0x448af6(0x287)]=_0x38f447;const {main:_0x52df5f}=_0x3ddaad[_0x448af6(0x22c)](requireModule,_0x3ddaad['bhzbe'],_0x3ddaad[_0x448af6(0x21d)]);_0x3ddaad[_0x448af6(0x268)](_0x52df5f);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x221),Constants[a49_0xb843a7(0x247)][a49_0xb843a7(0x274)],function(_0x1f6bdb){const _0x39a0f1=a49_0xb843a7,_0x58a98d={'VOfUO':'cucumber-js','LjKmk':function(_0x57282d,_0x3daace,_0x4d236b,_0x149aeb,_0x3130dd){return _0x57282d(_0x3daace,_0x4d236b,_0x149aeb,_0x3130dd);},'aWMSe':function(_0x43f128,_0x2c5e8e){return _0x43f128(_0x2c5e8e);},'EHoOL':_0x39a0f1(0x26f)},_0x162cf1=process['argv'][_0x39a0f1(0x229)](0x2),_0x4281b6=new BrowserStackSetup(_0x1f6bdb['argv'],_0x58a98d[_0x39a0f1(0x1f8)]);return _0x58a98d['LjKmk'](captureError,_0x58a98d[_0x39a0f1(0x219)](require,_0x58a98d[_0x39a0f1(0x200)]),_0x1f6bdb[_0x39a0f1(0x1fb)],_0x4281b6,_0x162cf1);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x230),Constants[a49_0xb843a7(0x20c)]['INFO'],function(_0x14b979){const _0x3895bc=a49_0xb843a7,_0x5298ca={'HbqXk':_0x3895bc(0x22f),'SoYuD':function(_0x434d1e,_0xd9f905,_0xe10c60,_0x3276ef,_0x53d423){return _0x434d1e(_0xd9f905,_0xe10c60,_0x3276ef,_0x53d423);},'TXAeP':function(_0x28afed,_0x265115){return _0x28afed(_0x265115);},'EYQyY':'./vanilla-js/command'},_0x2c6f6b=process['argv']['slice'](0x2),_0x1a62ed=new BrowserStackSetup(_0x14b979['argv'],_0x5298ca[_0x3895bc(0x24a)]);return _0x5298ca[_0x3895bc(0x27a)](captureError,_0x5298ca[_0x3895bc(0x214)](require,_0x5298ca[_0x3895bc(0x21c)]),_0x14b979['argv'],_0x1a62ed,_0x2c6f6b);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x245),Constants[a49_0xb843a7(0x204)][a49_0xb843a7(0x274)],function(_0x208d44){const _0x54734f=a49_0xb843a7,_0x83c7d1={'IyIrb':function(_0x483f18,_0x1f5578,_0xb89420,_0x2f026f,_0x2904e5){return _0x483f18(_0x1f5578,_0xb89420,_0x2f026f,_0x2904e5);},'cJGXE':function(_0x3e6081,_0x31bcdb){return _0x3e6081(_0x31bcdb);},'yHhOb':_0x54734f(0x216)},_0x2cb30a=process[_0x54734f(0x1fb)][_0x54734f(0x229)](0x2),_0x2afedf=new BrowserStackSetup(_0x208d44[_0x54734f(0x1fb)]);return _0x83c7d1[_0x54734f(0x243)](captureError,_0x83c7d1[_0x54734f(0x24f)](require,_0x83c7d1[_0x54734f(0x228)]),_0x208d44[_0x54734f(0x1fb)],_0x2afedf,_0x2cb30a);})['command'](a49_0xb843a7(0x283),Constants[a49_0xb843a7(0x25e)][a49_0xb843a7(0x274)],function(_0x4eeeb1){const _0x26d316=a49_0xb843a7,_0x40e93a={'zwZyR':'codeceptjs','GGuXB':function(_0x40f16d,_0x1b31a1,_0x1ee42a,_0x431945,_0x26f040){return _0x40f16d(_0x1b31a1,_0x1ee42a,_0x431945,_0x26f040);},'eVsAX':function(_0x4a3905,_0x1e4035){return _0x4a3905(_0x1e4035);},'ZBitL':_0x26d316(0x280)},_0x3e0d5e=process[_0x26d316(0x1fb)]['slice'](0x2),_0xcc8cd=new BrowserStackSetup(_0x4eeeb1['argv'],_0x40e93a[_0x26d316(0x224)]);return _0x40e93a[_0x26d316(0x252)](captureError,_0x40e93a['eVsAX'](require,_0x40e93a[_0x26d316(0x201)]),_0x4eeeb1['argv'],_0xcc8cd,_0x3e0d5e);})['command'](a49_0xb843a7(0x213),Constants[a49_0xb843a7(0x26a)][a49_0xb843a7(0x274)],function(_0x27abea){const _0x522bd9=a49_0xb843a7,_0x332432={'xhpVE':function(_0x3e5b2b,_0x40b258,_0x4fa38e){return _0x3e5b2b(_0x40b258,_0x4fa38e);},'wXQZI':function(_0x1e1b07,_0x21c2d8){return _0x1e1b07(_0x21c2d8);},'JaElY':_0x522bd9(0x1f4)},_0x21eb2a=process[_0x522bd9(0x1fb)][_0x522bd9(0x229)](0x2);return _0x332432[_0x522bd9(0x20d)](captureError,_0x332432[_0x522bd9(0x207)](require,_0x332432[_0x522bd9(0x1f6)]),_0x27abea);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x25c),Constants[a49_0xb843a7(0x202)]['INFO'],function(_0xaabbfe){const _0x5183b1=a49_0xb843a7,_0x431de0={'TsHNi':function(_0x1066c7,_0xba7ef2){return _0x1066c7(_0xba7ef2);}};return _0x431de0[_0x5183b1(0x23a)](runIntegrations,_0xaabbfe);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x24c),Constants[a49_0xb843a7(0x1f5)][a49_0xb843a7(0x274)],function(_0x1b99e3){const _0x4e5b19=a49_0xb843a7,_0x152396={'zMQsq':function(_0x277ead,_0x2d38ed,_0x43ab98,_0xaeaf41,_0x592745){return _0x277ead(_0x2d38ed,_0x43ab98,_0xaeaf41,_0x592745);},'KpOnJ':function(_0x1ac055,_0x52670b){return _0x1ac055(_0x52670b);},'oAUjL':_0x4e5b19(0x225)},_0x1d927c=process[_0x4e5b19(0x1fb)][_0x4e5b19(0x229)](0x2);helper[_0x4e5b19(0x257)](process['argv'])&&(process['env'][_0x4e5b19(0x236)]=helper[_0x4e5b19(0x257)](process[_0x4e5b19(0x1fb)]));helper[_0x4e5b19(0x238)](),helper[_0x4e5b19(0x1fa)]();const _0x5a702e=new BrowserStackSetup(_0x1b99e3[_0x4e5b19(0x1fb)],FRAMEWORKS[_0x4e5b19(0x1f5)]);return _0x152396[_0x4e5b19(0x20f)](captureError,_0x152396['KpOnJ'](require,_0x152396[_0x4e5b19(0x271)]),_0x1b99e3[_0x4e5b19(0x1fb)],_0x5a702e,_0x1d927c);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x253),a49_0xb843a7(0x22d),function(_0x254182){const _0x372e0a=a49_0xb843a7,_0x3f876c={};_0x3f876c[_0x372e0a(0x256)]='help',_0x3f876c['FAlnb']=_0x372e0a(0x1f9),_0x3f876c[_0x372e0a(0x25b)]=_0x372e0a(0x250);const _0x5b708b=_0x3f876c;return _0x254182[_0x372e0a(0x203)](![])[_0x372e0a(0x211)](_0x5b708b[_0x372e0a(0x256)],{'alias':'h','type':_0x5b708b[_0x372e0a(0x246)],'describe':_0x5b708b['tTnYc']})[_0x372e0a(0x24b)](![])[_0x372e0a(0x26c)](![]);},function(_0x4ede6d){const _0x56bf32=a49_0xb843a7,_0x43c55e={'jmkBa':function(_0x5b0b48,_0x156616,_0x22b3fb){return _0x5b0b48(_0x156616,_0x22b3fb);},'nbefT':function(_0x38f22d,_0x2df5cd){return _0x38f22d(_0x2df5cd);},'jIRZq':_0x56bf32(0x259)},_0x2a2d60={};return _0x2a2d60[_0x56bf32(0x1fb)]=_0x4ede6d,_0x43c55e[_0x56bf32(0x27c)](captureError,_0x43c55e[_0x56bf32(0x23d)](require,_0x43c55e[_0x56bf32(0x23c)]),_0x2a2d60);})[a49_0xb843a7(0x1fe)](0x1,a49_0xb843a7(0x279))[a49_0xb843a7(0x1f7)](null)[a49_0xb843a7(0x1fb)];function a49_0x586d(_0x36ca0e,_0x4969b7){const _0x903241=a49_0x9032();return a49_0x586d=function(_0x586d5d,_0x39922a){_0x586d5d=_0x586d5d-0x1f4;let _0x2786ba=_0x903241[_0x586d5d];return _0x2786ba;},a49_0x586d(_0x36ca0e,_0x4969b7);}!helper[a49_0xb843a7(0x267)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a49_0xb843a7(0x213)&&console['error'](a49_0xb843a7(0x272));
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));