browserstack-node-sdk 1.53.6 → 1.54.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 (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +4 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a43_0x5cab3b=a43_0xfe60;function a43_0xfe60(_0x29151c,_0x3f5533){const _0x49de32=a43_0x49de();return a43_0xfe60=function(_0xfe600,_0x219f2a){_0xfe600=_0xfe600-0xbe;let _0x87eaee=_0x49de32[_0xfe600];return _0x87eaee;},a43_0xfe60(_0x29151c,_0x3f5533);}(function(_0x4b54f5,_0xdd764f){const _0x4cf37f=a43_0xfe60,_0x4437e4=_0x4b54f5();while(!![]){try{const _0x40f8d1=parseInt(_0x4cf37f(0xef))/0x1+parseInt(_0x4cf37f(0xe1))/0x2+-parseInt(_0x4cf37f(0xf0))/0x3+parseInt(_0x4cf37f(0x105))/0x4+-parseInt(_0x4cf37f(0xd6))/0x5+-parseInt(_0x4cf37f(0xe7))/0x6+-parseInt(_0x4cf37f(0xc0))/0x7*(-parseInt(_0x4cf37f(0xd4))/0x8);if(_0x40f8d1===_0xdd764f)break;else _0x4437e4['push'](_0x4437e4['shift']());}catch(_0x2a7369){_0x4437e4['push'](_0x4437e4['shift']());}}}(a43_0x49de,0xcd1b6));const path=require(a43_0x5cab3b(0xda)),util=require(a43_0x5cab3b(0xdf)),logger=require(a43_0x5cab3b(0xeb)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a43_0x5cab3b(0x10f)),{o11yErrorHandler}=require(a43_0x5cab3b(0x10a)),AccessibilityHelper=require('./accessibility-helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a43_0x5cab3b(0x110)),BrowserstackCLI=require(a43_0x5cab3b(0xd7)),CustomTagManager=require(a43_0x5cab3b(0xcf)),uploadAttachmentsManager=require(a43_0x5cab3b(0xf1)),{performScanWithRetry}=require(a43_0x5cab3b(0x10e)),doo11ySync=PerformanceTester[a43_0x5cab3b(0xea)](PerformanceO11yEvents[a43_0x5cab3b(0xc1)],o11yErrorHandler(async function doo11ySync(_0x40d6f3){const _0x48ac1b=a43_0x5cab3b,_0x2afe9e={'aPqwz':function(_0x318cbb,_0xeb6ea,_0x157126){return _0x318cbb(_0xeb6ea,_0x157126);},'JygPz':_0x48ac1b(0xe4),'nwVRB':_0x48ac1b(0x111),'SGfbb':_0x48ac1b(0x103),'qfhwk':_0x48ac1b(0xf5)};if(_0x2afe9e[_0x48ac1b(0xe0)](nestedKeyValue,global,[_0x2afe9e[_0x48ac1b(0x104)],_0x2afe9e[_0x48ac1b(0xc9)]]))return;await _0x40d6f3['evaluate'](_0x497d00=>{},_0x48ac1b(0xc7)+JSON[_0x48ac1b(0xdc)]({'action':_0x2afe9e[_0x48ac1b(0xcc)],'arguments':{'data':_0x48ac1b(0xe3)+Date[_0x48ac1b(0xc5)](),'level':_0x2afe9e['qfhwk']}})),global[_0x48ac1b(0xe4)][_0x48ac1b(0x111)]=!![];},a43_0x5cab3b(0xf8)));exports[a43_0x5cab3b(0xc3)]=()=>{const _0x2e4950=a43_0x5cab3b,_0x3f9f4b={'uCIMT':function(_0x4764b2,_0x49b960,_0x28308e,_0x17dbf1,_0x14a148,_0x1f64f5){return _0x4764b2(_0x49b960,_0x28308e,_0x17dbf1,_0x14a148,_0x1f64f5);},'bWgnH':function(_0x39caaa,_0x34a308){return _0x39caaa||_0x34a308;},'jeUlM':function(_0x598248,_0x599dd6){return _0x598248(_0x599dd6);},'WFdqP':function(_0x16e7ff,_0x398029){return _0x16e7ff(_0x398029);},'ChbHJ':_0x2e4950(0x112),'MtOUR':function(_0x1b053c,_0x3b041b,_0x4981bb){return _0x1b053c(_0x3b041b,_0x4981bb);},'ljuTz':_0x2e4950(0xe4),'Bsyoc':_0x2e4950(0xdb),'nqIrJ':_0x2e4950(0x102),'MbSeg':_0x2e4950(0xd1),'kWeoz':function(_0x21fe78,_0x11e92c){return _0x21fe78(_0x11e92c);},'hxbYF':_0x2e4950(0xff),'zOurO':_0x2e4950(0xd0)},_0x566634=path[_0x2e4950(0xc2)](_0x3f9f4b['Bsyoc'],_0x3f9f4b[_0x2e4950(0xe2)],_0x3f9f4b['MbSeg']),_0x2e246f=_0x3f9f4b[_0x2e4950(0xd5)](importFileFromPWCore,_0x566634);if(!_0x2e246f){logger[_0x2e4950(0xf5)](_0x3f9f4b[_0x2e4950(0x101)]);return;}const _0x3f25ce=_0x2e246f['BrowserContext'],_0x569e64=_0x3f25ce[_0x2e4950(0xd2)],_0x2da899=_0x569e64[_0x2e4950(0xd0)];Object[_0x2e4950(0xee)](_0x569e64,_0x3f9f4b[_0x2e4950(0xc8)],{'get':function(){const _0x3c0510=_0x2e4950,_0x208ca1={'Lnmih':function(_0x44abfd,_0x38b450,_0x5aab1c,_0x4a5af0,_0x38867b,_0x2e7b0d){const _0x438733=a43_0xfe60;return _0x3f9f4b[_0x438733(0xe8)](_0x44abfd,_0x38b450,_0x5aab1c,_0x4a5af0,_0x38867b,_0x2e7b0d);},'Ewhxm':function(_0x341c88,_0x55f518){const _0x5aea69=a43_0xfe60;return _0x3f9f4b[_0x5aea69(0xbe)](_0x341c88,_0x55f518);},'MelwM':function(_0x3ee5d4,_0x2b10b0){const _0x52b7b9=a43_0xfe60;return _0x3f9f4b[_0x52b7b9(0xd9)](_0x3ee5d4,_0x2b10b0);},'QFLqO':function(_0x530b72,_0x22c5b0){const _0x12a9c1=a43_0xfe60;return _0x3f9f4b[_0x12a9c1(0xd9)](_0x530b72,_0x22c5b0);},'ykgHf':function(_0x1b30b2,_0x2bc8db){const _0x4f19a1=a43_0xfe60;return _0x3f9f4b[_0x4f19a1(0xdd)](_0x1b30b2,_0x2bc8db);},'sSIsL':_0x3f9f4b[_0x3c0510(0xf9)],'fvTgE':function(_0x2436d7,_0x48d840,_0x16a878){const _0x3979a9=_0x3c0510;return _0x3f9f4b[_0x3979a9(0xe9)](_0x2436d7,_0x48d840,_0x16a878);},'EvQlI':_0x3f9f4b[_0x3c0510(0xc6)]};return async function _0x1516d4(){const _0x46481f=_0x3c0510,_0x167172={'OHrgY':function(_0x4cbc80,_0x10c71e){const _0x4be23e=a43_0xfe60;return _0x208ca1[_0x4be23e(0xca)](_0x4cbc80,_0x10c71e);}},_0x191036=await _0x2da899[_0x46481f(0xec)](this,arguments);try{!BrowserstackCLI[_0x46481f(0xcd)]()[_0x46481f(0x107)]()&&!_0x208ca1['MelwM'](isFalse,process[_0x46481f(0xbf)][_0x46481f(0x10d)])&&await _0x208ca1[_0x46481f(0xf2)](doo11ySync,_0x191036);BrowserstackCLI[_0x46481f(0xcd)]()[_0x46481f(0x107)]()&&(_0x191036[_0x46481f(0xfe)]=async(_0x6aa803,_0x5e2fb7,_0x42a656=![])=>{const _0x11587a=_0x46481f;await CustomTagManager[_0x11587a(0xfe)](_0x6aa803,_0x5e2fb7,_0x42a656);},_0x191036[_0x46481f(0xce)]=async(_0x3109f5,_0x368a79=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x3109f5,_0x368a79);});if(!_0x208ca1[_0x46481f(0x109)](isFalse,process[_0x46481f(0xbf)][_0x46481f(0xfb)])){const _0x12b6e9=_0x208ca1['sSIsL'][_0x46481f(0xde)]('|');let _0x3045aa=0x0;while(!![]){switch(_0x12b6e9[_0x3045aa++]){case'0':_0x191036[_0x46481f(0xf4)]=async _0x438131=>{const _0x42fddd=_0x46481f;global[_0x42fddd(0xf3)]=!![],global[_0x42fddd(0x10b)]=_0x167172[_0x42fddd(0xf6)](_0x438131,null);};continue;case'1':_0x191036['stopA11yScanning']=async()=>{const _0x101380=_0x46481f;global[_0x101380(0xf3)]=![],global[_0x101380(0x10b)]=null;};continue;case'2':_0x191036[_0x46481f(0xd3)]=async _0x3c2e4e=>{const _0x3ec809=_0x46481f;return await _0x208ca1[_0x3ec809(0xfd)](performScanWithRetry,_0x191036,null,null,!![],_0x3c2e4e);};continue;case'3':_0x191036[_0x46481f(0xe5)]=async()=>{const _0x2eff3b=_0x46481f;return await AccessibilityHelper[_0x2eff3b(0xe5)](_0x191036);};continue;case'4':_0x191036[_0x46481f(0xfa)]=async()=>{const _0x4d47ca=_0x46481f;return await AccessibilityHelper[_0x4d47ca(0xfa)](_0x191036);};continue;}break;}}}catch(_0x10d59c){logger[_0x46481f(0xf5)](_0x46481f(0xed)+util['format'](_0x10d59c));}return _0x208ca1['fvTgE'](nestedKeyValue,global,[_0x208ca1[_0x46481f(0xfc)]])&&(global[_0x46481f(0xe4)][_0x46481f(0xc4)]=_0x191036),_0x191036;};}});},exports['mockIsWorkerRedundant']=()=>{const _0x43df39=a43_0x5cab3b,_0x48c12f={'BaNWR':function(_0x7c87ba,_0x3e1e21){return _0x7c87ba(_0x3e1e21);},'EhjQv':_0x43df39(0xe6),'OJdbZ':_0x43df39(0xf7),'dcNXd':_0x43df39(0x100)};try{const _0x18db12=requirePWModule['apply'](null,_0x48c12f[_0x43df39(0xcb)](getPlaywrightLibPath,_0x48c12f['EhjQv']));if(!_0x18db12){logger[_0x43df39(0xf5)](_0x48c12f[_0x43df39(0xd8)]);return;}const _0x3819c5=_0x18db12[_0x43df39(0x10c)],_0x58a727=_0x3819c5['prototype'],_0x43b14b=_0x58a727[_0x43df39(0x100)];Object[_0x43df39(0xee)](_0x58a727,_0x48c12f['dcNXd'],{'get':function(){return function _0x20a3e3(){const _0x4744b2=a43_0xfe60;return _0x43b14b[_0x4744b2(0xec)](this,arguments),!![];};}});}catch(_0x121752){logger[_0x43df39(0xf5)](_0x43df39(0x106)+util[_0x43df39(0x108)](_0x121752));}};function a43_0x49de(){const _0x397e83=['setCustomTags','Unable\x20to\x20import\x20context\x20for\x20page','_isWorkerRedundant','hxbYF','client','annotate','JygPz','1068384BgNDSZ','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','isRunning','format','ykgHf','../../helpers/test-observability/error-handler','bstackA11yScanOptions','Dispatcher','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/accessibilityRetryHelper','../../helpers/helper','../../helpers/performance/constants','o11ySyncDone','3|4|2|0|1','bWgnH','env','985313NhsSPm','SYNC','join','mockContextNewPage','pwPage','now','ljuTz','browserstack_executor:\x20','zOurO','nwVRB','Ewhxm','BaNWR','SGfbb','getInstance','uploadAttachment','../v2/customTagManager','newPage','browserContext.js','prototype','performScan','88eFQkhj','kWeoz','3669430kenjDy','../v2/browserstackCLI','OJdbZ','jeUlM','path','lib','stringify','WFdqP','split','util','aPqwz','1916310DcRNOD','nqIrJ','ObservabilitySync:','__workerDetails','getAccessibilityResults','runner/dispatcher.js','6866676jKdQOs','uCIMT','MtOUR','measureWrapper','../../helpers/logger','apply','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','defineProperty','929403pKbDdy','2953659ftazOI','../v2/uploadAttachmentsManager','QFLqO','bstackA11yShouldScan','startA11yScanning','debug','OHrgY','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','doo11ySync','ChbHJ','getAccessibilityResultsSummary','BROWSERSTACK_TEST_ACCESSIBILITY_YML','EvQlI','Lnmih'];a43_0x49de=function(){return _0x397e83;};return a43_0x49de();}
1
+ function a43_0x1052(){const _0x37c104=['../v2/browserstackCLI','5897464mmnbMB','stopA11yScanning','debug','2290858mkXpyO','../../helpers/performance/constants','GbZfr','Oudxb','pwPage','BROWSERSTACK_TEST_OBSERVABILITY','./accessibility-helper','../../helpers/performance/performance-tester','yPUNe','czGzA','format','now','isRunning','util','path','mockContextNewPage','ObservabilitySync:','newPage','3AwzJLV','doo11ySync','INCCk','lib','SYNC','env','bstackA11yShouldScan','_isWorkerRedundant','prototype','getAccessibilityResultsSummary','uploadAttachments','cMltE','defineProperty','4442236rNcytK','split','mockIsWorkerRedundant','OqGps','FXNmu','setCustomTags','2008158sWjFeB','BROWSERSTACK_TEST_ACCESSIBILITY_YML','YNSzs','Vphmv','uploadAttachment','7NaNNTJ','getInstance','stringify','2|4|3|1|0','performScan','hGVgg','../../helpers/logger','annotate','WOrDI','evaluate','startA11yScanning','18014310TpBrnF','../v2/uploadAttachmentsManager','clxtP','sDoIq','o11ySyncDone','bstackA11yScanOptions','8320779WGWQGp','apply','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','BrowserContext','runner/dispatcher.js','1RpXpGR','__workerDetails','client','HrCyI','2988945UkNKCp'];a43_0x1052=function(){return _0x37c104;};return a43_0x1052();}function a43_0x419d(_0x51722b,_0x5317b6){const _0x1052f8=a43_0x1052();return a43_0x419d=function(_0x419d04,_0x1b82c5){_0x419d04=_0x419d04-0xe1;let _0x5f0fd5=_0x1052f8[_0x419d04];return _0x5f0fd5;},a43_0x419d(_0x51722b,_0x5317b6);}const a43_0x4bbc64=a43_0x419d;(function(_0x28da7f,_0x14bf1c){const _0x22de33=a43_0x419d,_0x3e9be8=_0x28da7f();while(!![]){try{const _0x49bfce=-parseInt(_0x22de33(0x118))/0x1*(parseInt(_0x22de33(0x121))/0x2)+-parseInt(_0x22de33(0xea))/0x3*(-parseInt(_0x22de33(0xf7))/0x4)+parseInt(_0x22de33(0x11c))/0x5+-parseInt(_0x22de33(0xfd))/0x6*(-parseInt(_0x22de33(0x102))/0x7)+parseInt(_0x22de33(0x11e))/0x8+parseInt(_0x22de33(0x113))/0x9+-parseInt(_0x22de33(0x10d))/0xa;if(_0x49bfce===_0x14bf1c)break;else _0x3e9be8['push'](_0x3e9be8['shift']());}catch(_0x2202a7){_0x3e9be8['push'](_0x3e9be8['shift']());}}}(a43_0x1052,0xb9087));const path=require(a43_0x4bbc64(0xe6)),util=require(a43_0x4bbc64(0xe5)),logger=require(a43_0x4bbc64(0x108)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),AccessibilityHelper=require(a43_0x4bbc64(0x127)),PerformanceTester=require(a43_0x4bbc64(0x128)),{O11y_EVENTS:PerformanceO11yEvents}=require(a43_0x4bbc64(0x122)),BrowserstackCLI=require(a43_0x4bbc64(0x11d)),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require(a43_0x4bbc64(0x10e)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a43_0x4bbc64(0xee)],o11yErrorHandler(async function doo11ySync(_0x4a6452){const _0x2e56e3=a43_0x4bbc64,_0x5c73a4={'QPuxu':function(_0x556047,_0x5f5803,_0x1cc6e2){return _0x556047(_0x5f5803,_0x1cc6e2);},'sDoIq':'__workerDetails','HrCyI':_0x2e56e3(0x111),'PXtrn':_0x2e56e3(0x109),'INCCk':_0x2e56e3(0x120)};if(_0x5c73a4['QPuxu'](nestedKeyValue,global,[_0x5c73a4[_0x2e56e3(0x110)],_0x5c73a4[_0x2e56e3(0x11b)]]))return;await _0x4a6452[_0x2e56e3(0x10b)](_0x68c900=>{},'browserstack_executor:\x20'+JSON[_0x2e56e3(0x104)]({'action':_0x5c73a4['PXtrn'],'arguments':{'data':_0x2e56e3(0xe8)+Date[_0x2e56e3(0xe3)](),'level':_0x5c73a4[_0x2e56e3(0xec)]}})),global[_0x2e56e3(0x119)][_0x2e56e3(0x111)]=!![];},a43_0x4bbc64(0xeb)));exports[a43_0x4bbc64(0xe7)]=()=>{const _0x5101a8=a43_0x4bbc64,_0x284e0a={'Oudxb':function(_0x578b1f,_0x5231e9){return _0x578b1f(_0x5231e9);},'YNSzs':function(_0x25395c,_0x524245){return _0x25395c(_0x524245);},'OqGps':function(_0x568ad8,_0x4ffbc1){return _0x568ad8(_0x4ffbc1);},'uZHwY':_0x5101a8(0x105),'FCGBN':function(_0x86d01d,_0x5c39ba,_0x56d1aa){return _0x86d01d(_0x5c39ba,_0x56d1aa);},'clxtP':_0x5101a8(0x119),'yUzMw':function(_0x3dbd8e,_0x4580ab,_0x406180,_0x1e453b,_0x365318,_0x4cea8d){return _0x3dbd8e(_0x4580ab,_0x406180,_0x1e453b,_0x365318,_0x4cea8d);},'GbZfr':function(_0xc75f59,_0x35261c){return _0xc75f59||_0x35261c;},'WOrDI':_0x5101a8(0xed),'hGVgg':_0x5101a8(0x11a),'pSaab':'browserContext.js','JklwE':function(_0x4bf66a,_0x132c20){return _0x4bf66a(_0x132c20);},'czGzA':'Unable\x20to\x20import\x20context\x20for\x20page','Vphmv':_0x5101a8(0xe9)},_0x193615=path['join'](_0x284e0a[_0x5101a8(0x10a)],_0x284e0a[_0x5101a8(0x107)],_0x284e0a['pSaab']),_0x266bfa=_0x284e0a['JklwE'](importFileFromPWCore,_0x193615);if(!_0x266bfa){logger[_0x5101a8(0x120)](_0x284e0a[_0x5101a8(0xe1)]);return;}const _0x4075a2=_0x266bfa[_0x5101a8(0x116)],_0x19fb36=_0x4075a2[_0x5101a8(0xf2)],_0x48d417=_0x19fb36['newPage'];Object['defineProperty'](_0x19fb36,_0x284e0a[_0x5101a8(0x100)],{'get':function(){const _0x46731d={'FXNmu':function(_0x41a6d7,_0x1ced65,_0x1d73ee,_0x342113,_0x2941d6,_0x80e78){return _0x284e0a['yUzMw'](_0x41a6d7,_0x1ced65,_0x1d73ee,_0x342113,_0x2941d6,_0x80e78);},'cMltE':function(_0x79025c,_0x5ddc13){const _0x4ad20f=a43_0x419d;return _0x284e0a[_0x4ad20f(0x123)](_0x79025c,_0x5ddc13);}};return async function _0xfe3b8(){const _0x2f8f91=a43_0x419d,_0x2dc6c0=await _0x48d417[_0x2f8f91(0x114)](this,arguments);try{!BrowserstackCLI[_0x2f8f91(0x103)]()[_0x2f8f91(0xe4)]()&&!_0x284e0a[_0x2f8f91(0x124)](isFalse,process[_0x2f8f91(0xef)][_0x2f8f91(0x126)])&&await _0x284e0a[_0x2f8f91(0xff)](doo11ySync,_0x2dc6c0);BrowserstackCLI[_0x2f8f91(0x103)]()[_0x2f8f91(0xe4)]()&&(_0x2dc6c0[_0x2f8f91(0xfc)]=async(_0x3c76b2,_0x810c3e,_0x3585dd=![])=>{await CustomTagManager['setCustomTags'](_0x3c76b2,_0x810c3e,_0x3585dd);},_0x2dc6c0[_0x2f8f91(0x101)]=async(_0x1d19b9,_0x34f0a8=![])=>{const _0x435d92=_0x2f8f91;await uploadAttachmentsManager[_0x435d92(0xf4)](_0x1d19b9,_0x34f0a8);});if(!_0x284e0a[_0x2f8f91(0xfa)](isFalse,process[_0x2f8f91(0xef)][_0x2f8f91(0xfe)])){const _0x4786df=_0x284e0a['uZHwY'][_0x2f8f91(0xf8)]('|');let _0x14fe94=0x0;while(!![]){switch(_0x4786df[_0x14fe94++]){case'0':_0x2dc6c0[_0x2f8f91(0x11f)]=async()=>{const _0x478c3e=_0x2f8f91;global['bstackA11yShouldScan']=![],global[_0x478c3e(0x112)]=null;};continue;case'1':_0x2dc6c0[_0x2f8f91(0x10c)]=async _0x165407=>{const _0x1ab3ec=_0x2f8f91;global[_0x1ab3ec(0xf0)]=!![],global[_0x1ab3ec(0x112)]=_0x46731d[_0x1ab3ec(0xf5)](_0x165407,null);};continue;case'2':_0x2dc6c0['getAccessibilityResults']=async()=>{return await AccessibilityHelper['getAccessibilityResults'](_0x2dc6c0);};continue;case'3':_0x2dc6c0[_0x2f8f91(0x106)]=async _0x205d98=>{const _0x55534e=_0x2f8f91;return await _0x46731d[_0x55534e(0xfb)](performScanWithRetry,_0x2dc6c0,null,null,!![],_0x205d98);};continue;case'4':_0x2dc6c0[_0x2f8f91(0xf3)]=async()=>{const _0x8ee107=_0x2f8f91;return await AccessibilityHelper[_0x8ee107(0xf3)](_0x2dc6c0);};continue;}break;}}}catch(_0x428498){logger[_0x2f8f91(0x120)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x2f8f91(0xe2)](_0x428498));}return _0x284e0a['FCGBN'](nestedKeyValue,global,[_0x284e0a[_0x2f8f91(0x10f)]])&&(global[_0x2f8f91(0x119)][_0x2f8f91(0x125)]=_0x2dc6c0),_0x2dc6c0;};}});},exports[a43_0x4bbc64(0xf9)]=()=>{const _0x37417b=a43_0x4bbc64,_0x5302e5={'tSRDw':function(_0x349573,_0xb77a73){return _0x349573(_0xb77a73);},'wzFqs':_0x37417b(0x117),'yPUNe':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','XrCIc':_0x37417b(0xf1)};try{const _0x23cfea=requirePWModule[_0x37417b(0x114)](null,_0x5302e5['tSRDw'](getPlaywrightLibPath,_0x5302e5['wzFqs']));if(!_0x23cfea){logger['debug'](_0x5302e5[_0x37417b(0x129)]);return;}const _0x38cfd2=_0x23cfea['Dispatcher'],_0x54d8e8=_0x38cfd2[_0x37417b(0xf2)],_0x24a8cb=_0x54d8e8[_0x37417b(0xf1)];Object[_0x37417b(0xf6)](_0x54d8e8,_0x5302e5['XrCIc'],{'get':function(){return function _0x3852e0(){const _0x3e1ac1=a43_0x419d;return _0x24a8cb[_0x3e1ac1(0x114)](this,arguments),!![];};}});}catch(_0x26a54e){logger[_0x37417b(0x120)](_0x37417b(0x115)+util[_0x37417b(0xe2)](_0x26a54e));}};
@@ -1 +1 @@
1
- const a44_0x47b809=a44_0x3e94;(function(_0xe8bf40,_0x34727d){const _0x4dac03=a44_0x3e94,_0x5d6d7b=_0xe8bf40();while(!![]){try{const _0x46f746=-parseInt(_0x4dac03(0x1a3))/0x1+-parseInt(_0x4dac03(0x177))/0x2*(-parseInt(_0x4dac03(0x1e2))/0x3)+-parseInt(_0x4dac03(0x1b1))/0x4*(parseInt(_0x4dac03(0x193))/0x5)+parseInt(_0x4dac03(0x1d1))/0x6+-parseInt(_0x4dac03(0x17b))/0x7*(parseInt(_0x4dac03(0x15e))/0x8)+parseInt(_0x4dac03(0x1a5))/0x9+-parseInt(_0x4dac03(0x1c3))/0xa*(-parseInt(_0x4dac03(0x19a))/0xb);if(_0x46f746===_0x34727d)break;else _0x5d6d7b['push'](_0x5d6d7b['shift']());}catch(_0x4e04ff){_0x5d6d7b['push'](_0x5d6d7b['shift']());}}}(a44_0x550c,0x6db45));function a44_0x3e94(_0x3ab5cb,_0x562719){const _0x550c3e=a44_0x550c();return a44_0x3e94=function(_0x3e94c4,_0x440ef7){_0x3e94c4=_0x3e94c4-0x156;let _0x2b46c5=_0x550c3e[_0x3e94c4];return _0x2b46c5;},a44_0x3e94(_0x3ab5cb,_0x562719);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x47b809(0x1e0)),PerformanceTester=require(a44_0x47b809(0x1f4)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x47b809(0x179)),helper=require(a44_0x47b809(0x1f2)),path=require('path'),logger=require(a44_0x47b809(0x167))['winstonLogger'],SessionHandler=require(a44_0x47b809(0x16d)),TestDetails=require(a44_0x47b809(0x1ce)),util=require(a44_0x47b809(0x1e9)),TestInfo=require(a44_0x47b809(0x166));let BrowserstackCLIInstance=null;function a44_0x550c(){const _0x4b717e=['../../../helpers/logger','AtgXb','Ivhld','find','Usnmn','.json','../../../helpers/test-observability/sessionHandler','addTraceFilePath','HZqTG','onStepEnd','trace','performance-reporter.html','TzsWq','drKmt','lOmdR','getTestRunIdentifier','2kOEulb','uploadTraceZip','../../../helpers/test-observability/constants','PCGqb','2371516MPmTjt','AxRVr','getPlaywrightLibPath','\x20in\x20attachments','RcZFy','path','QcjZn','map','onTestBegin','testUId','lfbLJ','TEST_LOG','createReadStream','kaaQD','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','endSession','1.38.0','cxkEV','startsWith','gKZFv','mZFJG','IcYdc','EKuGx','Arguments','46930kIKGJj','playwright','Trace\x20enabled','requestSpyCallback','YnnNm','1.35.0','sITyk','3821642xIhvey','length','jJVUi','getConfigLoaderPath','setupBrowserDetails','wbJAk','dEFSg','getForkProcessPath','getTestTags','420605jhgans','ecbRS','1528533tUGTuI','zwrcR','sendEventData','START_TIME','getTestIdentifier','pbWuq','onTestEnd','.zip','bEQWW','lib','DLLML','findNestedKey','304wZoPDY','ipnDQ','getFailureData','getTransformPath','debug','processPageScreenshot','compareVersions','size','extname','bkFzU','WzmZJ','readdirSync','error','toLowerCase','env','pKLWl','uyVUm','common','30MEIGMG','yXgdZ','calculateTimesFromMultipleFiles','TEST_ATTACHMENT','DhCme','wevfU','AnvRm','ERROR','QhtrG','Error\x20in\x20sending\x20trace\x20file:\x20%s','\x20in\x20arguments','./test-details','waVTl','qqOLM','65700pEBwac','ZCgIO','getTime','yGGpx','stopAndGenerate','ECUbm','getProjectUtilsPath','yvNgO','@playwright/test/lib/transform/transform.js','doo11ySync','PLAYWRIGHT','xVBty','ScOlz','prototype','runner/loadUtils.js','../../../helpers/test-observability/utils','lDrkm','2097075guiYir','dzFgu','includes','call','message','AMVXX','endsWith','util','test','getLoadUtilsPath','format','Total\x20duration\x20for\x20whole\x20build\x20is\x20','sendTraceZip','wAUTW','AHVnU','statSync','../../../helpers/helper','beforeTestHook','../../../helpers/performance/performance-tester','ZvQUp','slice','beforeWorkerHook','playwright/lib/transform/transform.js','sendSessionDetails','onStepBegin','GzsiM','resolve','KMQeJ','XXcvo','wCQSu','tags','stack','calculatePerformance','getInstance','yIJRR','IERqW','GYuKi','flKiD','Searching\x20for\x20key:\x20','runner/projectUtils.js','vXoKH','iVIuQ','WefNC','Test\x20timeout\x20of','afterWorkerHook','validateFilePath','afterTestHook','JfmfZ','attachments','Found\x20key:\x20','basename','8mRyycZ','name','kAjpF','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','process.js','@playwright/test','toString','title','../../v2/TestInfo'];a44_0x550c=function(){return _0x4b717e;};return a44_0x550c();}function getBrowserstackCLI(){const _0x1c40d0=a44_0x47b809,_0x1d1feb={'dzbpA':function(_0x237e1d,_0x1345aa){return _0x237e1d(_0x1345aa);},'ScOlz':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x1d1feb['dzbpA'](require,_0x1d1feb[_0x1c40d0(0x1dd)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x3116e6=>{const _0xbc5cd=a44_0x47b809;return _0x3116e6['match'](/@(\w+)/g)?.[_0xbc5cd(0x182)](_0x1fda81=>_0x1fda81[_0xbc5cd(0x1f6)](0x1))||[];};exports[a44_0x47b809(0x1a2)]=_0x48edec=>{const _0x5179b1=a44_0x47b809,_0x46d9aa={'wCQSu':function(_0x6cc36c,_0x570ff5){return _0x6cc36c(_0x570ff5);}};if(_0x48edec[_0x5179b1(0x200)])return _0x48edec[_0x5179b1(0x200)][_0x5179b1(0x182)](_0x58aace=>_0x58aace[_0x5179b1(0x18d)]('@')?_0x58aace['substr'](0x1):_0x58aace);return _0x46d9aa[_0x5179b1(0x1ff)](getTagsFromTitle,_0x48edec[_0x5179b1(0x165)]);},exports[a44_0x47b809(0x202)]=async()=>{const _0x274491=a44_0x47b809,_0x250b7c={'GYuKi':function(_0x365b97,_0x4ae279){return _0x365b97-_0x4ae279;},'zOjUz':_0x274491(0x172),'AMVXX':'onBegin','jJVUi':_0x274491(0x18a),'wAUTW':_0x274491(0x183),'dEFSg':_0x274491(0x1ab),'sYmZl':_0x274491(0x1fa),'xVBty':_0x274491(0x170),'Usnmn':_0x274491(0x1f7),'qhYHD':_0x274491(0x157),'YnnNm':_0x274491(0x1f3),'ZCgIO':_0x274491(0x159),'QcjZn':_0x274491(0x1da),'RcZFy':_0x274491(0x1b6),'WefNC':_0x274491(0x1f9),'kjBUA':_0x274491(0x19e),'YYVDL':_0x274491(0x196),'IcYdc':'sendTestLog','sITyk':function(_0x1ae95d,_0x54dd35){return _0x1ae95d(_0x54dd35);},'lfbLJ':function(_0x52ef23,_0x1ffd6c){return _0x52ef23/_0x1ffd6c;},'Ivhld':function(_0x4eefc3,_0x1977ae){return _0x4eefc3(_0x1977ae);},'vXoKH':function(_0x324ee4,_0x30f28c){return _0x324ee4+_0x30f28c;},'AHVnU':function(_0x1ee78d,_0x1ab701){return _0x1ee78d*_0x1ab701;},'pbWuq':function(_0x38afca,_0xbcd6a4){return _0x38afca+_0xbcd6a4;}};if(!process[_0x274491(0x1bf)][_0x274491(0x1a8)])return;const _0x474258=_0x250b7c[_0x274491(0x206)](new Date()[_0x274491(0x1d3)](),new Date(process[_0x274491(0x1bf)][_0x274491(0x1a8)])[_0x274491(0x1d3)]()),_0x2d69c9=await PerformanceTester[_0x274491(0x1d5)](_0x250b7c['zOjUz'],[_0x250b7c[_0x274491(0x1e7)],_0x250b7c[_0x274491(0x19c)],_0x250b7c[_0x274491(0x1ef)],_0x250b7c[_0x274491(0x1a0)],_0x250b7c['sYmZl'],_0x250b7c[_0x274491(0x1dc)]]),_0x1c6311=fs[_0x274491(0x1bc)]('.'),_0x1588ca=_0x1c6311['filter'](_0x3bc291=>_0x3bc291[_0x274491(0x18d)]('performance-report-worker-')&&_0x3bc291[_0x274491(0x1e8)](_0x274491(0x16c))),_0x4fc04e=await PerformanceTester[_0x274491(0x1c5)](_0x1588ca,[_0x250b7c[_0x274491(0x16b)],_0x250b7c['qhYHD'],_0x250b7c[_0x274491(0x197)],_0x250b7c[_0x274491(0x1d2)],_0x250b7c[_0x274491(0x181)],_0x250b7c[_0x274491(0x17f)],_0x250b7c[_0x274491(0x20c)],_0x250b7c['kjBUA'],_0x250b7c['YYVDL'],_0x250b7c[_0x274491(0x190)]]);_0x250b7c[_0x274491(0x199)](debug,_0x274491(0x1ed)+_0x250b7c[_0x274491(0x185)](_0x474258,0x3e8)+'\x20s'),_0x250b7c[_0x274491(0x169)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x250b7c[_0x274491(0x20a)](_0x4fc04e,_0x2d69c9)),_0x250b7c[_0x274491(0x169)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x250b7c[_0x274491(0x1f0)](_0x250b7c[_0x274491(0x185)](_0x250b7c[_0x274491(0x1aa)](_0x4fc04e,_0x2d69c9),_0x474258),0x64));},exports[a44_0x47b809(0x1b4)]=()=>{const _0x530b80=a44_0x47b809,_0x1fd451={'IERqW':function(_0x1ae864,_0x1a66f7){return _0x1ae864(_0x1a66f7);},'sUhqy':function(_0x3a9c63,_0x3bd821){return _0x3a9c63>=_0x3bd821;},'EKuGx':_0x530b80(0x18b),'HZqTG':_0x530b80(0x1f8),'ykTvW':_0x530b80(0x194),'kAjpF':function(_0x4258f4,_0x527adc){return _0x4258f4>=_0x527adc;},'GzsiM':_0x530b80(0x198),'XXcvo':_0x530b80(0x1d9),'qqOLM':_0x530b80(0x163),'iVIuQ':'@playwright/test/lib/common/transform.js'},_0x31a7b3=_0x1fd451[_0x530b80(0x205)](getFrameworkVersion,FRAMEWORKS[_0x530b80(0x1db)]);if(_0x1fd451['sUhqy'](helper[_0x530b80(0x1b7)](_0x31a7b3,_0x1fd451[_0x530b80(0x191)]),0x0))return[_0x1fd451[_0x530b80(0x16f)],_0x1fd451['ykTvW']];if(_0x1fd451[_0x530b80(0x160)](helper[_0x530b80(0x1b7)](_0x31a7b3,_0x1fd451[_0x530b80(0x1fb)]),0x0))return[_0x1fd451[_0x530b80(0x1fe)],_0x1fd451[_0x530b80(0x1d0)]];return[_0x1fd451[_0x530b80(0x20b)],_0x1fd451[_0x530b80(0x1d0)]];},exports[a44_0x47b809(0x19d)]=()=>{const _0x3475ef=a44_0x47b809,_0x6fd6cd={'DLLML':function(_0x1f1f2f,_0x3e25aa){return _0x1f1f2f(_0x3e25aa);},'bkFzU':function(_0x21ff72,_0x252125){return _0x21ff72>=_0x252125;},'uyVUm':_0x3475ef(0x18b),'yIJRR':'playwright/lib/common/configLoader.js','cxkEV':_0x3475ef(0x194),'ecbRS':'@playwright/test/lib/common/configLoader.js','DhCme':_0x3475ef(0x163)},_0x44af8e=_0x6fd6cd[_0x3475ef(0x1af)](getFrameworkVersion,FRAMEWORKS[_0x3475ef(0x1db)]);if(_0x6fd6cd[_0x3475ef(0x1ba)](helper['compareVersions'](_0x44af8e,_0x6fd6cd[_0x3475ef(0x1c1)]),0x0))return[_0x6fd6cd[_0x3475ef(0x204)],_0x6fd6cd[_0x3475ef(0x18c)]];return[_0x6fd6cd[_0x3475ef(0x1a4)],_0x6fd6cd[_0x3475ef(0x1c7)]];},exports[a44_0x47b809(0x1eb)]=()=>{const _0x289f3a=a44_0x47b809,_0x3941da={};_0x3941da[_0x289f3a(0x174)]=_0x289f3a(0x1df);const _0x4b654e=_0x3941da;return helper[_0x289f3a(0x17d)](_0x4b654e[_0x289f3a(0x174)]);},exports[a44_0x47b809(0x1d7)]=()=>{const _0x41bb6d=a44_0x47b809,_0x5d2d3a={};_0x5d2d3a[_0x41bb6d(0x1c9)]=_0x41bb6d(0x209);const _0x487416=_0x5d2d3a;return helper[_0x41bb6d(0x17d)](_0x487416[_0x41bb6d(0x1c9)]);},exports[a44_0x47b809(0x1a1)]=()=>{const _0x22238c=a44_0x47b809,_0x15fc8c={'yXgdZ':function(_0x681a88,_0x18eda6){return _0x681a88(_0x18eda6);},'AxRVr':function(_0x2057cb,_0x57c4d7){return _0x2057cb>=_0x57c4d7;},'waVTl':_0x22238c(0x18b),'mZFJG':_0x22238c(0x1ae),'zwrcR':_0x22238c(0x1c2),'JfmfZ':_0x22238c(0x162),'zQEZD':'test'},_0xf9464=_0x15fc8c[_0x22238c(0x1c4)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x15fc8c[_0x22238c(0x17c)](helper[_0x22238c(0x1b7)](_0xf9464,_0x15fc8c[_0x22238c(0x1cf)]),0x0))return path['join'](_0x15fc8c[_0x22238c(0x18f)],_0x15fc8c[_0x22238c(0x1a6)],_0x15fc8c[_0x22238c(0x15a)]);return path['join'](_0x15fc8c['zQEZD'],_0x15fc8c[_0x22238c(0x18f)],_0x15fc8c['zwrcR'],_0x15fc8c[_0x22238c(0x15a)]);},exports[a44_0x47b809(0x1b3)]=(_0x29ae89,{test_run_uuid:_0xd3e19f})=>{const _0x24d135=a44_0x47b809,_0x227d25={'yGGpx':_0x24d135(0x1ca),'CTPys':_0x24d135(0x186),'bEQWW':function(_0x277395,_0x345af6){return _0x277395<=_0x345af6;},'pKLWl':function(_0x224326,_0x5bceea){return _0x224326(_0x5bceea);},'lOmdR':_0x24d135(0x156),'gKZFv':function(_0x49f64b,_0x359eeb){return _0x49f64b(_0x359eeb);},'MOKht':function(_0x63cf78,_0x26767f){return _0x63cf78>=_0x26767f;},'yvNgO':'1.42.0','jbOZw':function(_0x44902b,_0x43b17d){return _0x44902b>_0x43b17d;},'WzmZJ':function(_0x208ac9,_0x13a3d1,_0x1e1cf4){return _0x208ac9(_0x13a3d1,_0x1e1cf4);},'wevfU':_0x24d135(0x1ea)};if(!_0x29ae89||_0x227d25[_0x24d135(0x1ad)](_0x29ae89[_0x24d135(0x19b)],0x0))return[];const _0x3f3095=_0x227d25[_0x24d135(0x1c0)](removeAnsiColors,_0x29ae89[0x0]['message']);if(_0x3f3095[_0x24d135(0x18d)](_0x227d25[_0x24d135(0x175)])){const _0x487ca2=_0x29ae89[0x0],_0xdad76d=_0x227d25[_0x24d135(0x18e)](getFrameworkVersion,FRAMEWORKS[_0x24d135(0x1db)]);if((!_0x487ca2[_0x24d135(0x201)]||_0x227d25['MOKht'](_0xdad76d,_0x227d25[_0x24d135(0x1d8)]))&&_0x227d25['jbOZw'](_0x29ae89[_0x24d135(0x19b)],0x1))return{'failureData':[{'backtrace':[_0x3f3095,_0x227d25[_0x24d135(0x18e)](removeAnsiColors,_0x29ae89[0x1][_0x24d135(0x201)])]}],'logs':_0x29ae89[_0x24d135(0x1f6)](0x2)['map'](_0x3292ed=>{const _0x57f82d=_0x24d135;return{'timestamp':new Date()['toISOString'](),'level':_0x227d25[_0x57f82d(0x1d4)],'message':''+_0x3292ed[_0x57f82d(0x1e6)],'kind':_0x227d25['CTPys'],'http_response':{},'test_run_uuid':_0xd3e19f};})};}return{'failureData':_0x227d25[_0x24d135(0x1bb)](failureData,_0x29ae89,_0x227d25[_0x24d135(0x1c8)]),'logs':[]};},exports[a44_0x47b809(0x158)]=_0x58cd56=>{const _0x2d344f=a44_0x47b809,_0x25df04={};_0x25df04['wbJAk']=function(_0x5ea0d8,_0x18ae8a){return _0x5ea0d8!==_0x18ae8a;},_0x25df04[_0x2d344f(0x168)]=_0x2d344f(0x1ac),_0x25df04[_0x2d344f(0x1e3)]=function(_0x13022b,_0x493cac){return _0x13022b>_0x493cac;};const _0x482c0c=_0x25df04;if(_0x58cd56&&fs['existsSync'](_0x58cd56)){if(_0x482c0c[_0x2d344f(0x19f)](path[_0x2d344f(0x1b9)](_0x58cd56)[_0x2d344f(0x1be)](),_0x482c0c[_0x2d344f(0x168)]))return logger[_0x2d344f(0x1bd)](_0x2d344f(0x161)+_0x58cd56),![];const _0x596e47=fs[_0x2d344f(0x1f1)](_0x58cd56)[_0x2d344f(0x1b8)];if(_0x482c0c['dzFgu'](_0x596e47,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x2d344f(0x1bd)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x596e47+'\x20bytes'),![];return!![];}return![];},exports[a44_0x47b809(0x1b0)]=(_0x159864,_0x19dba7)=>{const _0x3bd96a=a44_0x47b809,_0x132ee1={};_0x132ee1[_0x3bd96a(0x207)]=_0x3bd96a(0x192);const _0x3583d7=_0x132ee1;logger[_0x3bd96a(0x1b5)](_0x3bd96a(0x208)+_0x19dba7);if(_0x159864&&_0x159864[_0x3bd96a(0x15b)]){const _0x5666be=_0x159864[_0x3bd96a(0x15b)][_0x3bd96a(0x16a)](_0x33a7ab=>_0x33a7ab[_0x3bd96a(0x15f)]===_0x3bd96a(0x171));if(_0x5666be)return logger[_0x3bd96a(0x1b5)](_0x3bd96a(0x15c)+_0x19dba7+_0x3bd96a(0x17e)),_0x5666be[_0x19dba7];}else{if(_0x159864&&Object[_0x3bd96a(0x1de)][_0x3bd96a(0x164)][_0x3bd96a(0x1e5)](_0x159864)[_0x3bd96a(0x1e4)](_0x3583d7[_0x3bd96a(0x207)]))for(const _0x15634d of _0x159864){if(_0x15634d[_0x19dba7])return logger[_0x3bd96a(0x1b5)](_0x3bd96a(0x15c)+_0x19dba7+_0x3bd96a(0x1cd)),_0x15634d[_0x19dba7];}};return'';},exports[a44_0x47b809(0x178)]=async(_0x338c26,_0xf8d69d)=>{const _0x50e19c=a44_0x47b809,_0x515a21={};_0x515a21[_0x50e19c(0x1b2)]='LogCreated',_0x515a21[_0x50e19c(0x1fd)]=_0x50e19c(0x1c6),_0x515a21[_0x50e19c(0x173)]=_0x50e19c(0x1ee),_0x515a21[_0x50e19c(0x1cb)]=_0x50e19c(0x1cc);const _0x39d4d1=_0x515a21;try{const _0x13bd43={'event_type':_0x39d4d1[_0x50e19c(0x1b2)],'logs':[{'data':_0x338c26?fs[_0x50e19c(0x187)](_0x338c26):'','test_run_uuid':_0xf8d69d,'kind':_0x39d4d1['KMQeJ'],'fileName':_0x338c26?path[_0x50e19c(0x15d)](_0x338c26):''}]};return await SessionHandler[_0x50e19c(0x1a7)](_0x13bd43,0x0,_0x39d4d1['TzsWq']);}catch(_0x570c60){logger['error'](util[_0x50e19c(0x1ec)](_0x39d4d1[_0x50e19c(0x1cb)],_0x570c60));}},exports[a44_0x47b809(0x1ee)]=async(_0x3c3c6b,_0x2be1d0)=>{const _0x18338b=a44_0x47b809,_0x179645={'TdLqo':_0x18338b(0x180),'ZvQUp':_0x18338b(0x195),'lDrkm':function(_0x5953a9){return _0x5953a9();},'tXywN':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x18338b(0x1b5)](_0x18338b(0x189)+_0x2be1d0);let _0x4503f3=await exports['findNestedKey'](_0x3c3c6b,_0x179645['TdLqo']);if(exports[_0x18338b(0x158)](_0x4503f3)){logger[_0x18338b(0x1b5)](_0x179645[_0x18338b(0x1f5)]),_0x4503f3=path[_0x18338b(0x1fc)](_0x4503f3);const _0x20e026={};_0x20e026[_0x18338b(0x184)]=_0x2be1d0,_0x20e026['filePath']=_0x4503f3;const _0x5a3ed9=_0x20e026;_0x179645[_0x18338b(0x1e1)](getBrowserstackCLI)[_0x18338b(0x203)]()['isRunning']()?TestInfo[_0x18338b(0x16e)](_0x5a3ed9):TestDetails['addTraceFilePath'](_0x5a3ed9);};}catch(_0x1c5c51){logger[_0x18338b(0x1bd)](util['format'](_0x179645['tXywN'],_0x1c5c51));}},exports[a44_0x47b809(0x1a9)]=_0x596ff7=>{const _0x227864=a44_0x47b809,_0x1878fc={};_0x1878fc[_0x227864(0x1d6)]=function(_0x2dd2cf,_0x2e4f27){return _0x2dd2cf+_0x2e4f27;};const _0x54c3a7=_0x1878fc;return _0x54c3a7[_0x227864(0x1d6)](_0x54c3a7[_0x227864(0x1d6)](_0x596ff7['_projectId'],'-'),_0x596ff7['id']);},exports[a44_0x47b809(0x176)]=(_0x5f3c4a,_0x26eed0)=>{const _0x25fc44=a44_0x47b809,_0x1488a8={};_0x1488a8['PCGqb']=function(_0x48ce94,_0x4f0567){return _0x48ce94+_0x4f0567;},_0x1488a8[_0x25fc44(0x188)]=function(_0x20d949,_0x7e33da){return _0x20d949+_0x7e33da;};const _0x146643=_0x1488a8;return _0x146643[_0x25fc44(0x17a)](_0x146643['kaaQD'](_0x5f3c4a['id'],'-'),_0x26eed0);};
1
+ const a44_0x855092=a44_0x3fe4;function a44_0x3fe4(_0x25f72f,_0xfa08b9){const _0x435bf9=a44_0x435b();return a44_0x3fe4=function(_0x3fe4ba,_0x1904a5){_0x3fe4ba=_0x3fe4ba-0x10c;let _0x26dedb=_0x435bf9[_0x3fe4ba];return _0x26dedb;},a44_0x3fe4(_0x25f72f,_0xfa08b9);}(function(_0x4b8632,_0xdb5386){const _0x27c845=a44_0x3fe4,_0x9035bc=_0x4b8632();while(!![]){try{const _0x5474df=-parseInt(_0x27c845(0x1ac))/0x1+parseInt(_0x27c845(0x144))/0x2*(-parseInt(_0x27c845(0x137))/0x3)+parseInt(_0x27c845(0x145))/0x4+parseInt(_0x27c845(0x139))/0x5+-parseInt(_0x27c845(0x138))/0x6+parseInt(_0x27c845(0x15a))/0x7*(-parseInt(_0x27c845(0x130))/0x8)+parseInt(_0x27c845(0x134))/0x9*(parseInt(_0x27c845(0x11b))/0xa);if(_0x5474df===_0xdb5386)break;else _0x9035bc['push'](_0x9035bc['shift']());}catch(_0x24ae54){_0x9035bc['push'](_0x9035bc['shift']());}}}(a44_0x435b,0x7c9f0));function a44_0x435b(){const _0x263e3c=['@playwright/test/lib/transform/transform.js','oPUAU','toString','dlzQt','compareVersions','../../../helpers/test-observability/constants','1.42.0','attachments','onBegin','prototype','398602OufcQN','EqSsA','ERROR','TeFYU','beforeWorkerHook','../../v2/browserstackCLI','getTestTags','getPlaywrightLibPath','jPiTc','tnrlZ','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','YgBJj','1.35.0','path','uploadTraceZip','Total\x20duration\x20for\x20whole\x20build\x20is\x20','join','UYBmc','@playwright/test','onStepEnd','uONBQ','endsWith','calculateTimesFromMultipleFiles','../../../helpers/performance/performance-tester','slice','NOnsl','length','map','eNOTC','10NPFXVH','buvHv','readdirSync','QNbni','../../../helpers/logger','process.js','TDpln','findNestedKey','iLTsn','processPageScreenshot','basename','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','yTDYP','sendTraceZip','nnCII','RcIoa','onTestBegin','requestSpyCallback','YGYeN','../../../helpers/test-observability/utils','mRXPm','40184ZGyVMv','getConfigLoaderPath','endSession','tags','11035413RTZjch','Error\x20in\x20sending\x20trace\x20file:\x20%s','1.38.0','4965QUuGrZ','1914846laLwET','3012975DYWFIg','atCkZ','find','FlDzL','call','startsWith','Hwiwn','onStepBegin','QFYXV','getProjectUtilsPath','getLoadUtilsPath','1008UfFNFl','1315984QVeeAm','getTestRunIdentifier','VHXBr','setupBrowserDetails','Found\x20key:\x20','boeed','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','playwright/lib/transform/transform.js','createReadStream','seqNQ','testUId','azkKn','sSBAJ','beforeTestHook','kNnfK','toISOString','\x20bytes','bMfxK','Vrear','../../../helpers/test-observability/sessionHandler','name','133qorUWO','SCJZX','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','error','xGtqU','kMtHn','lkFVa','zyWRv','UGkNB','common','hfvmQ','WUseg','aejGC','GPGvZ','smlFl','TEST_ATTACHMENT','filter','sendEventData','isRunning','stack','FPFsV','test','SHITO','tRhyZ','resolve','extname','SsKlH','zenzK','ZlWFb','GdNMd','match','_projectId','calculatePerformance','toLowerCase','nuyxL','debug','vOxQz','format','statSync','./test-details','env','sendSessionDetails','Szkhl','runner/projectUtils.js','doo11ySync','NaGEg','size','playwright','gCtkE','Test\x20timeout\x20of','START_TIME','message','filePath','gpQym','byFfw','validateFilePath','ECTWO','getInstance','MMsqo','trace','afterTestHook','afterWorkerHook','title','getForkProcessPath','Searching\x20for\x20key:\x20','RNPds','LmqNZ','@playwright/test/lib/common/transform.js','Arguments','kGTCw','PLAYWRIGHT','gTyEL'];a44_0x435b=function(){return _0x263e3c;};return a44_0x435b();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x855092(0x12e)),PerformanceTester=require(a44_0x855092(0x115)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x855092(0x1a7)),helper=require('../../../helpers/helper'),path=require(a44_0x855092(0x1b9)),logger=require(a44_0x855092(0x11f))['winstonLogger'],SessionHandler=require(a44_0x855092(0x158)),TestDetails=require(a44_0x855092(0x181)),util=require('util'),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0xf94e66=a44_0x855092,_0x293ee4={'NaGEg':function(_0x56a0ad,_0x313aba){return _0x56a0ad(_0x313aba);},'xcMZt':_0xf94e66(0x1b1)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x293ee4[_0xf94e66(0x187)](require,_0x293ee4['xcMZt'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x217a01=>{const _0x55c7e4=a44_0x855092;return _0x217a01[_0x55c7e4(0x178)](/@(\w+)/g)?.[_0x55c7e4(0x119)](_0x3809b1=>_0x3809b1[_0x55c7e4(0x116)](0x1))||[];};exports[a44_0x855092(0x1b2)]=_0x418a35=>{const _0x4a0df4=a44_0x855092,_0x3c8faf={'kGTCw':function(_0x1237df,_0x1ec9e4){return _0x1237df(_0x1ec9e4);}};if(_0x418a35[_0x4a0df4(0x133)])return _0x418a35[_0x4a0df4(0x133)][_0x4a0df4(0x119)](_0xd26427=>_0xd26427[_0x4a0df4(0x13e)]('@')?_0xd26427['substr'](0x1):_0xd26427);return _0x3c8faf[_0x4a0df4(0x19f)](getTagsFromTitle,_0x418a35[_0x4a0df4(0x198)]);},exports[a44_0x855092(0x17a)]=async()=>{const _0x3ef6ad=a44_0x855092,_0x36f235={'gpQym':function(_0x26c615,_0x56b601){return _0x26c615-_0x56b601;},'YGYeN':'performance-reporter.html','UYBmc':_0x3ef6ad(0x1aa),'xJEmw':_0x3ef6ad(0x132),'TDpln':_0x3ef6ad(0x12b),'QNbni':'onTestEnd','yTDYP':_0x3ef6ad(0x140),'ZlWFb':_0x3ef6ad(0x111),'NOnsl':_0x3ef6ad(0x1b0),'Szkhl':_0x3ef6ad(0x197),'smlFl':_0x3ef6ad(0x152),'byFfw':_0x3ef6ad(0x196),'ZDkSk':_0x3ef6ad(0x186),'Hwiwn':_0x3ef6ad(0x124),'ECTWO':_0x3ef6ad(0x183),'GPGvZ':_0x3ef6ad(0x148),'ZkHOS':_0x3ef6ad(0x12c),'WUseg':'sendTestLog','vOxQz':function(_0x3036b9,_0x3f3144){return _0x3036b9(_0x3f3144);},'jteLC':function(_0x3ad289,_0x88a579){return _0x3ad289/_0x88a579;},'zCaQe':function(_0x3b1cdc,_0x352eab){return _0x3b1cdc(_0x352eab);},'FlDzL':function(_0x2c91a2,_0x1caac9){return _0x2c91a2+_0x1caac9;},'oPUAU':function(_0x2c5d74,_0x55cffc){return _0x2c5d74(_0x55cffc);},'JXZQk':function(_0x2e05b4,_0x47d48c){return _0x2e05b4*_0x47d48c;},'bMfxK':function(_0x251276,_0x4b4efa){return _0x251276/_0x4b4efa;}};if(!process[_0x3ef6ad(0x182)]['START_TIME'])return;const _0x3ff866=_0x36f235[_0x3ef6ad(0x18f)](new Date()['getTime'](),new Date(process[_0x3ef6ad(0x182)][_0x3ef6ad(0x18c)])['getTime']()),_0x2ffc57=await PerformanceTester['stopAndGenerate'](_0x36f235[_0x3ef6ad(0x12d)],[_0x36f235[_0x3ef6ad(0x10f)],_0x36f235['xJEmw'],_0x36f235[_0x3ef6ad(0x121)],_0x36f235[_0x3ef6ad(0x11e)],_0x36f235[_0x3ef6ad(0x127)],_0x36f235[_0x3ef6ad(0x176)]]),_0x462d0c=fs[_0x3ef6ad(0x11d)]('.'),_0x25df91=_0x462d0c[_0x3ef6ad(0x16a)](_0x52f0b8=>_0x52f0b8[_0x3ef6ad(0x13e)]('performance-report-worker-')&&_0x52f0b8[_0x3ef6ad(0x113)]('.json')),_0x46ca7f=await PerformanceTester[_0x3ef6ad(0x114)](_0x25df91,[_0x36f235[_0x3ef6ad(0x117)],_0x36f235[_0x3ef6ad(0x184)],_0x36f235[_0x3ef6ad(0x168)],_0x36f235[_0x3ef6ad(0x190)],_0x36f235['ZDkSk'],_0x36f235[_0x3ef6ad(0x13f)],_0x36f235[_0x3ef6ad(0x192)],_0x36f235[_0x3ef6ad(0x167)],_0x36f235['ZkHOS'],_0x36f235[_0x3ef6ad(0x165)]]);_0x36f235[_0x3ef6ad(0x17e)](debug,_0x3ef6ad(0x10d)+_0x36f235['jteLC'](_0x3ff866,0x3e8)+'\x20s'),_0x36f235['zCaQe'](debug,_0x3ef6ad(0x1b6)+_0x36f235[_0x3ef6ad(0x13c)](_0x46ca7f,_0x2ffc57)),_0x36f235[_0x3ef6ad(0x1a3)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x36f235['JXZQk'](_0x36f235[_0x3ef6ad(0x156)](_0x36f235[_0x3ef6ad(0x13c)](_0x46ca7f,_0x2ffc57),_0x3ff866),0x64));},exports['getTransformPath']=()=>{const _0xc83dcf=a44_0x855092,_0x8a9a9f={'kMtHn':function(_0x4d51ae,_0xbf592d){return _0x4d51ae(_0xbf592d);},'SHITO':function(_0x248455,_0x56266d){return _0x248455>=_0x56266d;},'VHXBr':_0xc83dcf(0x136),'kNnfK':_0xc83dcf(0x14c),'atCkZ':_0xc83dcf(0x189),'zyWRv':function(_0x11b5d4,_0x114811){return _0x11b5d4>=_0x114811;},'xGtqU':_0xc83dcf(0x1b8),'azkKn':_0xc83dcf(0x1a2),'lRpMB':_0xc83dcf(0x110),'zenzK':_0xc83dcf(0x19d)},_0x10c038=_0x8a9a9f[_0xc83dcf(0x15f)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x8a9a9f[_0xc83dcf(0x170)](helper[_0xc83dcf(0x1a6)](_0x10c038,_0x8a9a9f[_0xc83dcf(0x147)]),0x0))return[_0x8a9a9f[_0xc83dcf(0x153)],_0x8a9a9f[_0xc83dcf(0x13a)]];if(_0x8a9a9f[_0xc83dcf(0x161)](helper[_0xc83dcf(0x1a6)](_0x10c038,_0x8a9a9f[_0xc83dcf(0x15e)]),0x0))return[_0x8a9a9f[_0xc83dcf(0x150)],_0x8a9a9f['lRpMB']];return[_0x8a9a9f[_0xc83dcf(0x175)],_0x8a9a9f['lRpMB']];},exports[a44_0x855092(0x131)]=()=>{const _0x49feec=a44_0x855092,_0x517821={'tRhyZ':function(_0x1528c1,_0xb8faa7){return _0x1528c1(_0xb8faa7);},'IvUvM':function(_0x4c20e7,_0x37a084){return _0x4c20e7>=_0x37a084;},'kyGWO':_0x49feec(0x136),'SCJZX':'playwright/lib/common/configLoader.js','iLTsn':_0x49feec(0x189),'nuyxL':'@playwright/test/lib/common/configLoader.js','dlzQt':'@playwright/test'},_0x53250e=_0x517821[_0x49feec(0x171)](getFrameworkVersion,FRAMEWORKS[_0x49feec(0x1a0)]);if(_0x517821['IvUvM'](helper['compareVersions'](_0x53250e,_0x517821['kyGWO']),0x0))return[_0x517821[_0x49feec(0x15b)],_0x517821[_0x49feec(0x123)]];return[_0x517821[_0x49feec(0x17c)],_0x517821[_0x49feec(0x1a5)]];},exports[a44_0x855092(0x143)]=()=>{const _0x514670=a44_0x855092,_0x34c002={};_0x34c002[_0x514670(0x151)]='runner/loadUtils.js';const _0x3d9dde=_0x34c002;return helper[_0x514670(0x1b3)](_0x3d9dde[_0x514670(0x151)]);},exports[a44_0x855092(0x142)]=()=>{const _0x3bee75=a44_0x855092,_0x3fe8c5={};_0x3fe8c5[_0x3bee75(0x1ad)]=_0x3bee75(0x185);const _0x4cb7ae=_0x3fe8c5;return helper[_0x3bee75(0x1b3)](_0x4cb7ae['EqSsA']);},exports[a44_0x855092(0x199)]=()=>{const _0x2f2d17=a44_0x855092,_0x39f321={'eNOTC':function(_0x3e2a27,_0x4df02c){return _0x3e2a27(_0x4df02c);},'HUcLU':function(_0x46a9e1,_0x3119f4){return _0x46a9e1>=_0x3119f4;},'zmVQc':_0x2f2d17(0x136),'UGkNB':'lib','gTyEL':_0x2f2d17(0x163),'hfvmQ':_0x2f2d17(0x120),'RcIoa':_0x2f2d17(0x16f)},_0x3cd6cc=_0x39f321[_0x2f2d17(0x11a)](getFrameworkVersion,FRAMEWORKS[_0x2f2d17(0x1a0)]);if(_0x39f321['HUcLU'](helper[_0x2f2d17(0x1a6)](_0x3cd6cc,_0x39f321['zmVQc']),0x0))return path[_0x2f2d17(0x10e)](_0x39f321[_0x2f2d17(0x162)],_0x39f321['gTyEL'],_0x39f321[_0x2f2d17(0x164)]);return path['join'](_0x39f321[_0x2f2d17(0x12a)],_0x39f321[_0x2f2d17(0x162)],_0x39f321[_0x2f2d17(0x1a1)],_0x39f321['hfvmQ']);},exports['getFailureData']=(_0x795be9,{test_run_uuid:_0x5a9069})=>{const _0x452618=a44_0x855092,_0x37252c={'LmqNZ':_0x452618(0x1ae),'FPFsV':'TEST_LOG','GdNMd':function(_0x26784a,_0x54bca4){return _0x26784a<=_0x54bca4;},'lkFVa':function(_0x3b6fcd,_0x67ffe){return _0x3b6fcd(_0x67ffe);},'RNPds':_0x452618(0x18b),'gCtkE':function(_0x57b8ba,_0xcb0306){return _0x57b8ba>=_0xcb0306;},'ekekz':_0x452618(0x1a8),'JWLes':function(_0x1fa908,_0x2481ae){return _0x1fa908>_0x2481ae;},'boeed':function(_0x1f857c,_0x1d0c96,_0x3b7aeb){return _0x1f857c(_0x1d0c96,_0x3b7aeb);},'MMsqo':'test'};if(!_0x795be9||_0x37252c[_0x452618(0x177)](_0x795be9[_0x452618(0x118)],0x0))return[];const _0x5a7dc0=_0x37252c[_0x452618(0x160)](removeAnsiColors,_0x795be9[0x0][_0x452618(0x18d)]);if(_0x5a7dc0[_0x452618(0x13e)](_0x37252c[_0x452618(0x19b)])){const _0x304f04=_0x795be9[0x0],_0x494523=_0x37252c[_0x452618(0x160)](getFrameworkVersion,FRAMEWORKS[_0x452618(0x1a0)]);if((!_0x304f04[_0x452618(0x16d)]||_0x37252c[_0x452618(0x18a)](_0x494523,_0x37252c['ekekz']))&&_0x37252c['JWLes'](_0x795be9[_0x452618(0x118)],0x1))return{'failureData':[{'backtrace':[_0x5a7dc0,_0x37252c[_0x452618(0x160)](removeAnsiColors,_0x795be9[0x1][_0x452618(0x16d)])]}],'logs':_0x795be9['slice'](0x2)[_0x452618(0x119)](_0x8a0e7b=>{const _0x28a725=_0x452618;return{'timestamp':new Date()[_0x28a725(0x154)](),'level':_0x37252c[_0x28a725(0x19c)],'message':''+_0x8a0e7b[_0x28a725(0x18d)],'kind':_0x37252c[_0x28a725(0x16e)],'http_response':{},'test_run_uuid':_0x5a9069};})};}return{'failureData':_0x37252c[_0x452618(0x14a)](failureData,_0x795be9,_0x37252c[_0x452618(0x194)]),'logs':[]};},exports[a44_0x855092(0x191)]=_0x1fe12e=>{const _0x52dcf0=a44_0x855092,_0x31148c={};_0x31148c['jPiTc']=function(_0xa54931,_0x5fd6b6){return _0xa54931!==_0x5fd6b6;},_0x31148c[_0x52dcf0(0x1b5)]='.zip',_0x31148c[_0x52dcf0(0x12f)]=function(_0x563638,_0x366f4b){return _0x563638>_0x366f4b;};const _0x31510f=_0x31148c;if(_0x1fe12e&&fs['existsSync'](_0x1fe12e)){if(_0x31510f[_0x52dcf0(0x1b4)](path[_0x52dcf0(0x173)](_0x1fe12e)[_0x52dcf0(0x17b)](),_0x31510f['tnrlZ']))return logger[_0x52dcf0(0x15d)](_0x52dcf0(0x14b)+_0x1fe12e),![];const _0x5096fc=fs[_0x52dcf0(0x180)](_0x1fe12e)[_0x52dcf0(0x188)];if(_0x31510f[_0x52dcf0(0x12f)](_0x5096fc,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x52dcf0(0x15d)](_0x52dcf0(0x126)+_0x5096fc+_0x52dcf0(0x155)),![];return!![];}return![];},exports[a44_0x855092(0x122)]=(_0x1fbb2b,_0x269b17)=>{const _0x4a8b84=a44_0x855092,_0x478032={};_0x478032[_0x4a8b84(0x112)]=_0x4a8b84(0x19e);const _0x37e749=_0x478032;logger[_0x4a8b84(0x17d)](_0x4a8b84(0x19a)+_0x269b17);if(_0x1fbb2b&&_0x1fbb2b['attachments']){const _0x773f5b=_0x1fbb2b[_0x4a8b84(0x1a9)][_0x4a8b84(0x13b)](_0x506545=>_0x506545[_0x4a8b84(0x159)]===_0x4a8b84(0x195));if(_0x773f5b)return logger[_0x4a8b84(0x17d)](_0x4a8b84(0x149)+_0x269b17+'\x20in\x20attachments'),_0x773f5b[_0x269b17];}else{if(_0x1fbb2b&&Object[_0x4a8b84(0x1ab)][_0x4a8b84(0x1a4)][_0x4a8b84(0x13d)](_0x1fbb2b)['includes'](_0x37e749[_0x4a8b84(0x112)]))for(const _0x58464a of _0x1fbb2b){if(_0x58464a[_0x269b17])return logger[_0x4a8b84(0x17d)]('Found\x20key:\x20'+_0x269b17+'\x20in\x20arguments'),_0x58464a[_0x269b17];}};return'';},exports[a44_0x855092(0x10c)]=async(_0x9de679,_0x5660f6)=>{const _0x4d0e3a=a44_0x855092,_0x57c5d3={};_0x57c5d3[_0x4d0e3a(0x1af)]='LogCreated',_0x57c5d3[_0x4d0e3a(0x174)]=_0x4d0e3a(0x169),_0x57c5d3[_0x4d0e3a(0x157)]='sendTraceZip',_0x57c5d3[_0x4d0e3a(0x166)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x3d4dc3=_0x57c5d3;try{const _0x247698={'event_type':_0x3d4dc3['TeFYU'],'logs':[{'data':_0x9de679?fs[_0x4d0e3a(0x14d)](_0x9de679):'','test_run_uuid':_0x5660f6,'kind':_0x3d4dc3['SsKlH'],'fileName':_0x9de679?path[_0x4d0e3a(0x125)](_0x9de679):''}]};return await SessionHandler[_0x4d0e3a(0x16b)](_0x247698,0x0,_0x3d4dc3[_0x4d0e3a(0x157)]);}catch(_0x1d2555){logger['error'](util[_0x4d0e3a(0x17f)](_0x3d4dc3['aejGC'],_0x1d2555));}},exports[a44_0x855092(0x128)]=async(_0xb79b1b,_0x1fbf09)=>{const _0x4217ae=a44_0x855092,_0x31c9ad={'seqNQ':_0x4217ae(0x1b9),'rztrI':'Trace\x20enabled','nnCII':function(_0x11ba88){return _0x11ba88();},'QFYXV':_0x4217ae(0x135)};try{logger[_0x4217ae(0x17d)](_0x4217ae(0x15c)+_0x1fbf09);let _0x5832fa=await exports[_0x4217ae(0x122)](_0xb79b1b,_0x31c9ad[_0x4217ae(0x14e)]);if(exports[_0x4217ae(0x191)](_0x5832fa)){logger[_0x4217ae(0x17d)](_0x31c9ad['rztrI']),_0x5832fa=path[_0x4217ae(0x172)](_0x5832fa);const _0x1e6d69={};_0x1e6d69[_0x4217ae(0x14f)]=_0x1fbf09,_0x1e6d69[_0x4217ae(0x18e)]=_0x5832fa;const _0x503121=_0x1e6d69;_0x31c9ad[_0x4217ae(0x129)](getBrowserstackCLI)[_0x4217ae(0x193)]()[_0x4217ae(0x16c)]()?TestInfo['addTraceFilePath'](_0x503121):TestDetails['addTraceFilePath'](_0x503121);};}catch(_0x601c10){logger[_0x4217ae(0x15d)](util['format'](_0x31c9ad[_0x4217ae(0x141)],_0x601c10));}},exports['getTestIdentifier']=_0x18c20b=>{const _0x853f45=a44_0x855092,_0x1ee930={};_0x1ee930[_0x853f45(0x1b7)]=function(_0x13bd51,_0x4de999){return _0x13bd51+_0x4de999;};const _0x10d766=_0x1ee930;return _0x10d766['YgBJj'](_0x10d766[_0x853f45(0x1b7)](_0x18c20b[_0x853f45(0x179)],'-'),_0x18c20b['id']);},exports[a44_0x855092(0x146)]=(_0x339d1a,_0x3dd61e)=>{const _0x587bef=a44_0x855092,_0x10d889={};_0x10d889['buvHv']=function(_0x4d7812,_0x143d9d){return _0x4d7812+_0x143d9d;};const _0x56dcec=_0x10d889;return _0x56dcec[_0x587bef(0x11c)](_0x56dcec[_0x587bef(0x11c)](_0x339d1a['id'],'-'),_0x3dd61e);};
@@ -1 +1 @@
1
- function a45_0x3e02(){const _0x5cb51a=['Epbxi','EKFER','\x20is\x20triggered','nbKOW','getTime','zSvBH','Error\x20in\x20sending\x20trace\x20zip:\x20%s','TOwOb','eUDMU','TEST','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','ZcMZW','file','jXziI','../../v2/state/testFrameworkState','Test\x20Started\x20with\x20unique\x20id\x20','_bs_hookIdentifier','NdXoP','step','onStepBegin','9596436TyqPrL','eSpyr','Error\x20in\x20calculating\x20performance:\x20','getScope','util','MNJLt','znVHt','URUav','xlhSm','1530816AoeKoq','meta','test','UeslT','cwd','NVINn','BTUFX','azrYs','RYcEN','2|1|0|4|7|5|6|3','kHoQv','1497306hxjUNm','hNbpG','error','569574iitufj','lkrdE','dkREO','yUcqi','IBCbv','7831089CdqMey','toISOString','getStepsAndLogs','gcarA','passed','message','TestRunStarted','./pwUtils','lMiPi','pending','LeWrm','configureGit','reportLogs','../../../helpers/test-observability/constants','relative','CBTSessionCreated','getTestFramework','Expected\x20to\x20fail,\x20but\x20passed.','location','afterEach\x20hook','expectedStatus','getCustomRerunParam','TaltQ','QnaJk','IoaSD','../../../../src/bin/utils/constants','fNIhP','../../../helpers/helper','endSession','backtrace','TEST_STEP','TEST_SCREENSHOT','stack','skipped','format','llZzm','isRunning','kjZhG','zANml','BROWSERSTACK_LOG_LEVEL','hJnIQ','CCbnb','BEFORE_EACH','oOcYs','trackEvent','basename','VTWZr','attachments','inspect','hook_run','sendTestRunEvent','logs','ZjpPv','AZYbZ','rwEiK','smoOJ','split','needToReportStep','WirBU','retry_of','../../v2/state/hookState','drulG','errors','indexOf','BROWSERSTACK_O11Y_PERF_MEASUREMENT','XPufU','josST','root','setStepIdentifier','sDTRV','.browserstack','noFuJ','INWcz','EXshD','nWJjR','addTestUIDAndReportLog','cqSzp','kZmno','Test\x20Finished\x20with\x20unique\x20id\x20','RutTH','event_type','No\x20integrations\x20found\x20for\x20test\x20','test_run_uuid','uploadEventData','DxaXv','duration','PRE','getHierarchy','Trace\x20file\x20found\x20for\x20test:\x20','afterAll\x20hook','failure_type','emtVB','test.step','sendHookRunEvent','push','Hsilh','560JRxyvF','statSync','onStepEnd','BROWSERSTACK_TEST_RUN_ID','printsToStdio','3086524cgttJl','depth','getHookType','bZZTd','HookRunStarted','_testHooksMap','dJpkD','beforeAll\x20hook','pSexs','startTime','hook','UeaHa','_tags','5BtQwAF','AFTER_ALL','Hook\x20Started\x20with\x20unique\x20id\x20','title','getStepIdentifier','mHlKJ','RzFVO','jaCFI','../../v2/browserstackCLI','parent','options','getTestUUID','wBcpQ','toString','\x20at\x20','Sending\x20session\x20details\x20for\x20','finishedAt','\x20-\x20','failed','shutdown','base64','PLAYWRIGHT','CemiX','START_TIME','BnCmF','UxpDf','POST','utf8','WNXvB','homedir','retry','YWcZt','JLTgc','../../../helpers/testhub/utils','ONYrS','IKRBf','TEOfN','expanded','startedAt','onTestEnd','INIT_TEST','join','getInstance','javascript','_trackedEvents','category','uuid','uzCWU','sendSessionDetails','existsSync','LogCreated','map','err','TestRunFinished','yFezk','path','env','qWrPi','\x20for\x20','\x20is\x20triggered\x20for\x20test\x20','startMonitoring','jNzBW','DjRms','MyReporter','mtime','zLHJd','../../../helpers/test-observability/utils','MlIGe','getIntegrations','sKRwj','tgGCu','Playwright','_gitConfigured','QoWnc','titlePath','nSOKz','YDCzH','readFileSync','failure','XaAsY','eALGB','_gitConfigPath','HookRunFinished','failure_reason','beforeEach\x20hook','status','object','poQPl','esEyL','length','cyXyn','name','startsWith','result','_tests','../../../helpers/performance/performance-tester','3139380oWnybc','.txt','steps','onTestBegin'];a45_0x3e02=function(){return _0x5cb51a;};return a45_0x3e02();}function a45_0x925e(_0x7d83e5,_0x5d82d7){const _0x3e0297=a45_0x3e02();return a45_0x925e=function(_0x925e06,_0xfba129){_0x925e06=_0x925e06-0x146;let _0x9f09de=_0x3e0297[_0x925e06];return _0x9f09de;},a45_0x925e(_0x7d83e5,_0x5d82d7);}const a45_0x1c929d=a45_0x925e;(function(_0x374884,_0x52753c){const _0x2cb97c=a45_0x925e,_0x4c7a9e=_0x374884();while(!![]){try{const _0x3c2cf9=parseInt(_0x2cb97c(0x219))/0x1+-parseInt(_0x2cb97c(0x20e))/0x2+parseInt(_0x2cb97c(0x1ed))/0x3+parseInt(_0x2cb97c(0x180))/0x4+-parseInt(_0x2cb97c(0x18d))/0x5*(-parseInt(_0x2cb97c(0x205))/0x6)+parseInt(_0x2cb97c(0x221))/0x7+parseInt(_0x2cb97c(0x17b))/0x8*(-parseInt(_0x2cb97c(0x21c))/0x9);if(_0x3c2cf9===_0x52753c)break;else _0x4c7a9e['push'](_0x4c7a9e['shift']());}catch(_0x65d22a){_0x4c7a9e['push'](_0x4c7a9e['shift']());}}}(a45_0x3e02,0xcc9d6));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x1c929d(0x228)),{v4:uuidv4}=require('uuid'),path=require(a45_0x1c929d(0x1c4)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x1c929d(0x1cf)),{getGitMetaData,setLogLevel}=require(a45_0x1c929d(0x23c)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a45_0x1c929d(0x209)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a45_0x1c929d(0x1ec)),{FRAMEWORKS}=require(a45_0x1c929d(0x22e)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a45_0x1c929d(0x1ae)),helper=require(a45_0x1c929d(0x23c)),BrowserstackCLI=require(a45_0x1c929d(0x195)),TestFrameworkState=require(a45_0x1c929d(0x1ff)),HookState=require(a45_0x1c929d(0x157)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x1c929d(0x23a));class MyReporter{constructor(_0x3346e1){const _0x4af351=a45_0x1c929d,_0x4d173d={'JtdcJ':_0x4af351(0x217),'jXziI':'performance-report-reporter.json','oOcYs':function(_0x5d1d3b,_0x3ec4c3,_0xec8719,_0x234a39){return _0x5d1d3b(_0x3ec4c3,_0xec8719,_0x234a39);}},_0x84418a=_0x4d173d['JtdcJ'][_0x4af351(0x153)]('|');let _0x10ccc0=0x0;while(!![]){switch(_0x84418a[_0x10ccc0++]){case'0':this['_tests']={};continue;case'1':process[_0x4af351(0x1c5)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x4af351(0x1c9)](_0x4d173d[_0x4af351(0x1fe)]),process[_0x4af351(0x1c5)][_0x4af351(0x1a4)]=new Date()['toISOString']());continue;case'2':const _0x5b9e80={};_0x5b9e80['logLevel']=process['env'][_0x4af351(0x248)],_0x4d173d[_0x4af351(0x146)](setLogLevel,_0x5b9e80,new Map(),new Map());continue;case'3':this[_0x4af351(0x1b9)]=[];continue;case'4':this[_0x4af351(0x185)]={};continue;case'5':this[_0x4af351(0x1d5)]=![];continue;case'6':this['_gitConfigPath']=null;continue;case'7':this[_0x4af351(0x197)]=_0x3346e1;continue;}break;}}async['onBegin'](){const _0x273ee6=a45_0x1c929d,_0x27a9d6={};_0x27a9d6[_0x273ee6(0x20d)]=_0x273ee6(0x1d4);const _0x26421e=_0x27a9d6;TestDetails['setup'](),await this[_0x273ee6(0x22c)](),TestInfo['setup'](_0x26421e[_0x273ee6(0x20d)]);if(BrowserstackCLI[_0x273ee6(0x1b7)]()['isRunning']()){await BrowserstackCLI['getInstance']()[_0x273ee6(0x231)]()[_0x273ee6(0x147)](TestFrameworkState[_0x273ee6(0x1b5)],HookState[_0x273ee6(0x171)],{});return;}}async[a45_0x1c929d(0x1f0)](_0x384a81,_0x6b158e){const _0x33804e=a45_0x1c929d,_0x18745f={'TEOfN':function(_0x29851b,_0x2ee9a9){return _0x29851b(_0x2ee9a9);},'BbhIb':function(_0x2e981e,_0x24d387,_0x25898c){return _0x2e981e(_0x24d387,_0x25898c);},'eSpyr':_0x33804e(0x227)};if(BrowserstackCLI['getInstance']()[_0x33804e(0x245)]()){const _0x32331a={};_0x32331a[_0x33804e(0x210)]=_0x384a81,_0x32331a['result']=_0x6b158e,await BrowserstackCLI['getInstance']()[_0x33804e(0x231)]()['trackEvent'](TestFrameworkState[_0x33804e(0x1fa)],HookState[_0x33804e(0x171)],_0x32331a);return;}const _0x57d8f5=_0x18745f[_0x33804e(0x1b1)](getTestIdentifier,_0x384a81),_0x61beba=TestDetails[_0x33804e(0x198)](_0x18745f['BbhIb'](getTestRunIdentifier,_0x384a81,_0x6b158e[_0x33804e(0x1ab)]));process[_0x33804e(0x1c5)][_0x33804e(0x17e)]=_0x61beba;const _0x304f03={};_0x304f03[_0x33804e(0x1bb)]=_0x61beba,_0x304f03[_0x33804e(0x1b3)]=_0x6b158e[_0x33804e(0x189)],this[_0x33804e(0x1eb)][_0x57d8f5]=_0x304f03,_0x18745f[_0x33804e(0x1b1)](trace,_0x33804e(0x200)+_0x57d8f5),await this['sendTestRunEvent'](_0x384a81,_0x18745f[_0x33804e(0x206)],_0x6b158e);}async[a45_0x1c929d(0x204)](_0x2a2d1c,_0x399d62,_0xbe0c98){const _0x4bbb00=a45_0x1c929d,_0x101d56={'nbKOW':function(_0x1f13fe,_0x3b9eb9){return _0x1f13fe===_0x3b9eb9;},'Epbxi':_0x4bbb00(0x177),'poQPl':function(_0x1bdcb2,_0x3cd120,_0x1e76aa){return _0x1bdcb2(_0x3cd120,_0x1e76aa);},'cyXyn':function(_0x26ca1a,_0xde0843){return _0x26ca1a(_0xde0843);},'josST':_0x4bbb00(0x184)};if(!this[_0x4bbb00(0x154)](_0xbe0c98,_0x2a2d1c))return;if(_0x101d56[_0x4bbb00(0x1f4)](_0xbe0c98[_0x4bbb00(0x1ba)],_0x101d56[_0x4bbb00(0x1f1)])){if(BrowserstackCLI['getInstance']()[_0x4bbb00(0x245)]()){const _0x3b743a={};_0x3b743a[_0x4bbb00(0x210)]=_0x2a2d1c,_0x3b743a[_0x4bbb00(0x1ea)]=_0x399d62,_0x3b743a[_0x4bbb00(0x203)]=_0xbe0c98,await BrowserstackCLI[_0x4bbb00(0x1b7)]()[_0x4bbb00(0x231)]()['trackEvent'](TestFrameworkState[_0x4bbb00(0x23f)],HookState[_0x4bbb00(0x171)],_0x3b743a);}return;}if(BrowserstackCLI[_0x4bbb00(0x1b7)]()['isRunning']()){const _0x2d28db=this[_0x4bbb00(0x182)](_0xbe0c98['title']),_0x53522c=TestFrameworkState[_0x2d28db],_0x11d938={};_0x11d938['test']=_0x2a2d1c,_0x11d938['result']=_0x399d62,_0x11d938[_0x4bbb00(0x203)]=_0xbe0c98,await BrowserstackCLI[_0x4bbb00(0x1b7)]()['getTestFramework']()[_0x4bbb00(0x147)](_0x53522c,HookState[_0x4bbb00(0x171)],_0x11d938);return;}const _0x45a603=this['setStepIdentifier'](_0x2a2d1c,_0xbe0c98);this[_0x4bbb00(0x1eb)][_0x45a603]={'uuid':TestDetails['getTestUUID'](_0x45a603),'startedAt':_0xbe0c98['startTime'][_0x4bbb00(0x222)]()};const _0x2652e0=_0x101d56[_0x4bbb00(0x1e4)](getTestRunIdentifier,_0x2a2d1c,_0x399d62[_0x4bbb00(0x1ab)]);!this['_testHooksMap'][_0x2652e0]&&(this['_testHooksMap'][_0x2652e0]=[]),this[_0x4bbb00(0x185)][_0x2652e0][_0x4bbb00(0x179)](this[_0x4bbb00(0x1eb)][_0x45a603][_0x4bbb00(0x1bb)]),_0x101d56[_0x4bbb00(0x1e7)](trace,_0x4bbb00(0x18f)+_0x45a603+_0x4bbb00(0x1c8)+_0x2652e0),await this[_0x4bbb00(0x178)](_0x2a2d1c,_0xbe0c98,_0x101d56[_0x4bbb00(0x15d)],_0x399d62);}async[a45_0x1c929d(0x17d)](_0x3bd57f,_0x5d0fbb,_0x4e6cf1){const _0x57dc3a=a45_0x1c929d,_0x48a5c7={'LeWrm':function(_0x14aa82,_0x4f5a6e){return _0x14aa82===_0x4f5a6e;},'REwOU':_0x57dc3a(0x177),'RYcEN':function(_0x25e491,_0x259caf){return _0x25e491+_0x259caf;},'fNIhP':function(_0x15fbab,_0x25e62f){return _0x15fbab(_0x25e62f);},'eALGB':_0x57dc3a(0x1df)};if(!this['needToReportStep'](_0x4e6cf1,_0x3bd57f))return;if(_0x48a5c7[_0x57dc3a(0x22b)](_0x4e6cf1[_0x57dc3a(0x1ba)],_0x48a5c7['REwOU'])){if(BrowserstackCLI['getInstance']()[_0x57dc3a(0x245)]()){const _0x445d86={};_0x445d86['test']=_0x3bd57f,_0x445d86[_0x57dc3a(0x1ea)]=_0x5d0fbb,_0x445d86[_0x57dc3a(0x203)]=_0x4e6cf1,await BrowserstackCLI['getInstance']()[_0x57dc3a(0x231)]()[_0x57dc3a(0x147)](TestFrameworkState[_0x57dc3a(0x23f)],HookState[_0x57dc3a(0x1a7)],_0x445d86);}return;}if(BrowserstackCLI['getInstance']()[_0x57dc3a(0x245)]()){const _0x6350c5=this[_0x57dc3a(0x182)](_0x4e6cf1['title']),_0x1885b2=TestFrameworkState[_0x6350c5],_0x3c2440={};_0x3c2440[_0x57dc3a(0x210)]=_0x3bd57f,_0x3c2440[_0x57dc3a(0x1ea)]=_0x5d0fbb,_0x3c2440[_0x57dc3a(0x203)]=_0x4e6cf1,await BrowserstackCLI[_0x57dc3a(0x1b7)]()['getTestFramework']()[_0x57dc3a(0x147)](_0x1885b2,HookState['POST'],_0x3c2440);return;}const _0x3c93d4=this[_0x57dc3a(0x191)](_0x3bd57f,_0x4e6cf1);this['_tests'][_0x3c93d4]={...this[_0x57dc3a(0x1eb)][_0x3c93d4]||{},'finishedAt':new Date(_0x48a5c7[_0x57dc3a(0x216)](_0x4e6cf1[_0x57dc3a(0x189)][_0x57dc3a(0x1f5)](),_0x4e6cf1['duration']))},_0x48a5c7[_0x57dc3a(0x23b)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x3c93d4+_0x57dc3a(0x1f3)),await this[_0x57dc3a(0x178)](_0x3bd57f,_0x4e6cf1,_0x48a5c7[_0x57dc3a(0x1dd)],_0x5d0fbb);}async['onTestEnd'](_0x2aeff0,_0xd48a89){const _0x4fd63e=a45_0x1c929d,_0x35becb={'cjrKD':function(_0x2046e6,_0x450b15){return _0x2046e6===_0x450b15;},'QoWnc':'screenshot','LQFig':_0x4fd63e(0x240),'UxpDf':_0x4fd63e(0x1a1),'dJpkD':function(_0xded3d0,_0x574cc8){return _0xded3d0(_0x574cc8);},'hpNSh':function(_0x31512e,_0x14e942,_0x1c75a0){return _0x31512e(_0x14e942,_0x1c75a0);},'URUav':_0x4fd63e(0x1c2),'VbIzj':function(_0x19395f,_0x252904){return _0x19395f(_0x252904);},'wBcpQ':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','tgGCu':function(_0x427690,_0x1a9077){return _0x427690(_0x1a9077);},'CemiX':function(_0x27c094,_0x12240e,_0x4246dc){return _0x27c094(_0x12240e,_0x4246dc);},'UeaHa':_0x4fd63e(0x1f7),'znVHt':function(_0x2dae29,_0x472500){return _0x2dae29>_0x472500;}};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x367751={};_0x367751['test']=_0x2aeff0,_0x367751[_0x4fd63e(0x1ea)]=_0xd48a89,this[_0x4fd63e(0x1b9)][_0x4fd63e(0x179)](BrowserstackCLI[_0x4fd63e(0x1b7)]()[_0x4fd63e(0x231)]()[_0x4fd63e(0x147)](TestFrameworkState[_0x4fd63e(0x1fa)],HookState[_0x4fd63e(0x1a7)],_0x367751));return;}const _0x3403e5=_0x35becb[_0x4fd63e(0x186)](getTestIdentifier,_0x2aeff0),_0x5a6fee=TestDetails[_0x4fd63e(0x198)](_0x35becb['hpNSh'](getTestRunIdentifier,_0x2aeff0,_0xd48a89[_0x4fd63e(0x1ab)]));this[_0x4fd63e(0x1eb)][_0x3403e5]={...this[_0x4fd63e(0x1eb)][_0x3403e5]||{},'finishedAt':new Date()[_0x4fd63e(0x222)]()},_0x35becb[_0x4fd63e(0x186)](debug,_0x4fd63e(0x169)+_0x3403e5);try{await this['sendTestRunEvent'](_0x2aeff0,_0x35becb[_0x4fd63e(0x20c)],_0xd48a89);}catch(_0x5e3331){_0x35becb['VbIzj'](debug,util[_0x4fd63e(0x243)](_0x35becb[_0x4fd63e(0x199)],_0x5e3331[_0x4fd63e(0x19a)]()));}try{_0x35becb['tgGCu'](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x5a6fee),await _0x35becb[_0x4fd63e(0x1a3)](sendTraceZip,_0xd48a89,_0x5a6fee);}catch(_0x53cfce){_0x35becb[_0x4fd63e(0x1d3)](debug,util[_0x4fd63e(0x243)](_0x35becb[_0x4fd63e(0x18b)],_0x53cfce[_0x4fd63e(0x19a)]()));}const _0x26f04f=[];_0xd48a89[_0x4fd63e(0x14a)]&&_0xd48a89[_0x4fd63e(0x14a)][_0x4fd63e(0x1c0)](_0x42ef75=>{const _0x43a5fc=_0x4fd63e;if(_0x35becb['cjrKD'](_0x42ef75[_0x43a5fc(0x1e8)],_0x35becb[_0x43a5fc(0x1d6)])){if(!_0x42ef75[_0x43a5fc(0x1c4)]||!fs[_0x43a5fc(0x1be)](_0x42ef75['path']))return;_0x26f04f[_0x43a5fc(0x179)]({'test_run_uuid':_0x5a6fee,'timestamp':fs[_0x43a5fc(0x17c)](_0x42ef75[_0x43a5fc(0x1c4)])[_0x43a5fc(0x1cd)],'kind':_0x35becb['LQFig'],'message':fs[_0x43a5fc(0x1da)](_0x42ef75['path'],{'encoding':_0x35becb[_0x43a5fc(0x1a6)]})});}}),_0x35becb[_0x4fd63e(0x20b)](_0x26f04f[_0x4fd63e(0x1e6)],0x0)&&await MyReporter[_0x4fd63e(0x22d)](_0x26f04f);}async[a45_0x1c929d(0x23d)](){const _0x4a22f5=a45_0x1c929d;await RequestQueueHandler['getInstance']()[_0x4a22f5(0x1a0)]();}async['onEnd'](_0x2cfd76){const _0x38ad5d=a45_0x1c929d,_0x283f56={'VTWZr':function(_0xab282){return _0xab282();},'cqSzp':function(_0x48c539,_0x46e9a5){return _0x48c539(_0x46e9a5);}};await Promise['all'](this['_trackedEvents']),await this['endSession']();try{process[_0x38ad5d(0x1c5)][_0x38ad5d(0x15b)]&&await _0x283f56[_0x38ad5d(0x149)](calculatePerformance);}catch(_0x559c17){_0x283f56[_0x38ad5d(0x167)](debug,_0x38ad5d(0x207)+_0x559c17[_0x38ad5d(0x19a)]());}}static async[a45_0x1c929d(0x166)](_0x415efe,_0x5cab67){const _0x37f9cf=a45_0x1c929d;_0x5cab67[_0x37f9cf(0x16d)]=TestDetails[_0x37f9cf(0x198)](_0x415efe),await this[_0x37f9cf(0x22d)]([_0x5cab67]);}static async['reportLogs'](_0x4442ac){const _0x5df13a=a45_0x1c929d,_0x3e2ee3={};_0x3e2ee3['RutTH']=_0x5df13a(0x1bf);const _0x53cab0=_0x3e2ee3;if(BrowserstackCLI['getInstance']()[_0x5df13a(0x245)]())return;const _0x2c3968={};_0x2c3968['event_type']=_0x53cab0[_0x5df13a(0x16a)],_0x2c3968['logs']=_0x4442ac,await SessionHandler[_0x5df13a(0x16e)](_0x2c3968);}async[a45_0x1c929d(0x178)](_0x574d93,_0x141548,_0x24b715,_0x24895e){const _0x2b767b=a45_0x1c929d,_0x5be305={'MNJLt':_0x2b767b(0x18a),'sDTRV':_0x2b767b(0x1b8),'OlglD':_0x2b767b(0x22a),'WchtO':function(_0x383a41,_0x484289){return _0x383a41>=_0x484289;},'dftQS':function(_0x47f951,_0x4bd773){return _0x47f951===_0x4bd773;},'Iutxi':_0x2b767b(0x1df),'zSvBH':function(_0x58b75e,_0x22635d){return _0x58b75e>_0x22635d;},'smoOJ':'failed','QnaJk':function(_0x1d53da,_0x21de43){return _0x1d53da(_0x21de43);},'aLJFn':function(_0x419e49,_0x227c81,_0x21884e){return _0x419e49(_0x227c81,_0x21884e);},'lkrdE':_0x2b767b(0x1c1),'EXshD':function(_0x12afd6,_0x20c997){return _0x12afd6===_0x20c997;},'llZzm':_0x2b767b(0x225)},_0x1adc77=this[_0x2b767b(0x191)](_0x574d93,_0x141548),_0x3bee85=this[_0x2b767b(0x1eb)][_0x1adc77],_0x116a4b={'uuid':_0x3bee85['uuid'],'type':_0x5be305[_0x2b767b(0x20a)],'hook_type':this[_0x2b767b(0x182)](_0x141548[_0x2b767b(0x190)]),'name':_0x141548['title'],'scope':this[_0x2b767b(0x208)](_0x141548),'scopes':this[_0x2b767b(0x172)](_0x574d93),'body':{'lang':_0x5be305[_0x2b767b(0x160)],'code':null},'identifier':_0x1adc77,'file_name':path['relative'](process[_0x2b767b(0x212)](),_0x574d93[_0x2b767b(0x233)]['file']),'location':path[_0x2b767b(0x22f)](process['cwd'](),_0x574d93['location'][_0x2b767b(0x1fd)]),'result':_0x5be305['OlglD'],'duration_in_ms':_0x5be305['WchtO'](_0x141548[_0x2b767b(0x170)],0x0)?_0x141548['duration']:undefined,'vc_filepath':this[_0x2b767b(0x1de)]&&_0x574d93[_0x2b767b(0x233)][_0x2b767b(0x1fd)]?path[_0x2b767b(0x22f)](this[_0x2b767b(0x1de)],_0x574d93[_0x2b767b(0x233)][_0x2b767b(0x1fd)]):undefined,'started_at':_0x3bee85[_0x2b767b(0x1b3)],'finished_at':_0x3bee85[_0x2b767b(0x19d)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x5be305['dftQS'](_0x24b715,_0x5be305['Iutxi'])){const {steps:_0x29706f,logs:_0x5b3158}=this['getStepsAndLogs'](_0x141548[_0x2b767b(0x1ef)],_0x3bee85['uuid'],_0x5be305[_0x2b767b(0x20a)]);_0x5b3158&&_0x5be305[_0x2b767b(0x1f6)](_0x5b3158[_0x2b767b(0x1e6)],0x0)&&await MyReporter[_0x2b767b(0x22d)](_0x5b3158);const _0x406fc2={};_0x406fc2[_0x2b767b(0x1ef)]=_0x29706f,_0x116a4b[_0x2b767b(0x20f)]=_0x406fc2;if(_0x141548[_0x2b767b(0x21b)]){_0x116a4b['result']=_0x5be305[_0x2b767b(0x152)],_0x116a4b['failure_reason']=_0x5be305['QnaJk'](removeAnsiColors,_0x141548['error'][_0x2b767b(0x226)]),_0x116a4b['failure_type']=_0x5be305[_0x2b767b(0x238)](getFailureType,_0x141548[_0x2b767b(0x21b)][_0x2b767b(0x226)]);const _0x53aec7=_0x5be305['aLJFn'](failureData,_0x141548['error'],_0x5be305[_0x2b767b(0x21d)]);if(_0x53aec7&&_0x5be305[_0x2b767b(0x164)](_0x53aec7['length'],0x0)){const _0x48d76d={};_0x48d76d[_0x2b767b(0x23e)]=[_0x116a4b[_0x2b767b(0x1e0)]],_0x48d76d[_0x2b767b(0x1b2)]=[],_0x53aec7['push'](_0x48d76d);}_0x116a4b[_0x2b767b(0x1db)]=_0x53aec7;}else _0x116a4b[_0x2b767b(0x1ea)]=_0x5be305[_0x2b767b(0x244)];}const _0x390e01={};_0x390e01[_0x2b767b(0x16b)]=_0x24b715,_0x390e01[_0x2b767b(0x14c)]=_0x116a4b;const _0x1919b5=_0x390e01;await SessionHandler['uploadEventData'](_0x1919b5);}['getStepsAndLogs'](_0x3b4d2f,_0x22549e,_0x57f7c6){const _0x25d006=a45_0x1c929d;return helper[_0x25d006(0x223)](_0x3b4d2f,_0x22549e,_0x57f7c6);}async[a45_0x1c929d(0x14d)](_0x1481b1,_0x10948e,_0x16e732){const _0x4b72f9=a45_0x1c929d,_0x151eef={'IBCbv':function(_0x33356c,_0x267a21){return _0x33356c(_0x267a21);},'WtQgm':'TEST_ATTACHMENT','xFMWJ':function(_0x25aa29,_0x4b998a){return _0x25aa29(_0x4b998a);},'kZmno':'test','gcarA':_0x4b72f9(0x1b8),'FCynT':_0x4b72f9(0x22a),'YDCzH':function(_0x3653ac,_0x573558){return _0x3653ac(_0x573558);},'pSexs':function(_0x26f66b,_0x519fa0,_0x10fd93,_0x1f36e7,_0x40eb02){return _0x26f66b(_0x519fa0,_0x10fd93,_0x1f36e7,_0x40eb02);},'NdXoP':function(_0x23f206,_0x2060a1){return _0x23f206>_0x2060a1;},'BnCmF':function(_0x2907d4,_0x29f9dd,_0x1bfa75){return _0x2907d4(_0x29f9dd,_0x1bfa75);},'QLawp':function(_0xb08b51,_0x31aba6){return _0xb08b51-_0x31aba6;},'dkREO':function(_0xa23e8d,_0x56eb9b){return _0xa23e8d===_0x56eb9b;},'TOwOb':_0x4b72f9(0x1c2),'VVkKZ':function(_0x16fa7e,_0xefc995){return _0x16fa7e>_0xefc995;},'sKRwj':function(_0x115a95,_0xdf9c14){return _0x115a95(_0xdf9c14);},'TuvDo':function(_0x201f02,_0x598a60){return _0x201f02(_0x598a60);},'hNbpG':_0x4b72f9(0x242),'emtVB':_0x4b72f9(0x225),'nSOKz':function(_0x1388d8,_0x1674d6){return _0x1388d8===_0x1674d6;},'dBuCu':function(_0x3e37d0,_0x4e4cb4){return _0x3e37d0===_0x4e4cb4;},'WirBU':_0x4b72f9(0x19f),'zLHJd':function(_0x108b7e,_0xf725b7){return _0x108b7e===_0xf725b7;},'nWJjR':'timedOut','YWcZt':function(_0x4e1a87,_0x52f893){return _0x4e1a87===_0x52f893;},'kHoQv':function(_0x5088d7,_0x586714){return _0x5088d7===_0x586714;},'noFuJ':_0x4b72f9(0x232),'yFezk':function(_0x242230,_0x691a41,_0x464915){return _0x242230(_0x691a41,_0x464915);},'jaCFI':function(_0x3e1e4e,_0x1d8ae9,_0x5a03e2){return _0x3e1e4e(_0x1d8ae9,_0x5a03e2);},'OmtOi':function(_0x498c2d,_0xfcb5fe){return _0x498c2d===_0xfcb5fe;},'hJnIQ':function(_0x1698f6,_0x318602){return _0x1698f6>_0x318602;},'DjRms':function(_0x5a8540,_0x49aad1,_0xc6fda8){return _0x5a8540(_0x49aad1,_0xc6fda8);},'WNXvB':_0x4b72f9(0x1c4),'drulG':function(_0x1a582b,_0x29ae90){return _0x1a582b(_0x29ae90);},'RzFVO':_0x4b72f9(0x161),'esEyL':_0x4b72f9(0x1a8),'rwEiK':function(_0x2a3f3f,_0x1dbe79){return _0x2a3f3f!==_0x1dbe79;}},_0x3e7c54=_0x151eef['xFMWJ'](getTestIdentifier,_0x1481b1),_0x48b6ba=this[_0x4b72f9(0x208)](_0x1481b1),_0x2aff31=this[_0x4b72f9(0x1eb)][_0x3e7c54],_0x76c61d=path[_0x4b72f9(0x22f)](process[_0x4b72f9(0x212)](),_0x1481b1['location'][_0x4b72f9(0x1fd)]);await this[_0x4b72f9(0x22c)]();const _0x4d4510={'uuid':_0x2aff31[_0x4b72f9(0x1bb)],'type':_0x151eef[_0x4b72f9(0x168)],'name':_0x1481b1[_0x4b72f9(0x190)],'body':{'lang':_0x151eef[_0x4b72f9(0x224)],'code':_0x1481b1['fn']['toString']()},'scope':_0x48b6ba,'scopes':this[_0x4b72f9(0x172)](_0x1481b1),'identifier':_0x3e7c54,'file_name':_0x76c61d,'location':_0x76c61d,'result':_0x151eef['FCynT'],'duration_in_ms':_0x16e732&&_0x16e732['duration']?_0x16e732[_0x4b72f9(0x170)]:null,'vc_filepath':this['_gitConfigPath']&&_0x1481b1['location'][_0x4b72f9(0x1fd)]?path[_0x4b72f9(0x22f)](this['_gitConfigPath'],_0x1481b1[_0x4b72f9(0x233)][_0x4b72f9(0x1fd)]):undefined,'started_at':_0x2aff31[_0x4b72f9(0x1b3)],'finished_at':_0x2aff31[_0x4b72f9(0x19d)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x4b72f9(0x236)](_0x1481b1)},'tags':_0x151eef[_0x4b72f9(0x1d9)](getTestTags,_0x1481b1)};_0x151eef[_0x4b72f9(0x188)](appendTesthubParams,_0x4d4510,_0x10948e,_0x1481b1,FRAMEWORKS[_0x4b72f9(0x1a2)]);_0x16e732&&_0x151eef[_0x4b72f9(0x202)](_0x16e732[_0x4b72f9(0x1ab)],0x0)&&(_0x4d4510[_0x4b72f9(0x156)]=TestDetails[_0x4b72f9(0x198)](_0x151eef[_0x4b72f9(0x1a5)](getTestRunIdentifier,_0x1481b1,_0x151eef['QLawp'](_0x16e732['retry'],0x1))));if(_0x151eef[_0x4b72f9(0x21e)](_0x10948e,_0x151eef[_0x4b72f9(0x1f8)])){try{const _0x106325=TestDetails[_0x4b72f9(0x1d1)](_0x2aff31['uuid']);_0x106325&&_0x151eef['VVkKZ'](Object['keys'](_0x106325)['length'],0x0)?_0x4d4510['integrations']=_0x106325:_0x151eef[_0x4b72f9(0x1d2)](debug,_0x4b72f9(0x16c)+_0x2aff31[_0x4b72f9(0x1bb)]+_0x4b72f9(0x1fb));}catch(_0x316ad7){_0x151eef['TuvDo'](debug,'Error\x20reading\x20integrations\x20for\x20test\x20'+_0x2aff31[_0x4b72f9(0x1bb)]+':\x20'+util[_0x4b72f9(0x243)](_0x316ad7));}_0x4d4510[_0x4b72f9(0x1ea)]=_0x16e732[_0x4b72f9(0x1e2)];if(_0x151eef[_0x4b72f9(0x21e)](_0x16e732[_0x4b72f9(0x1e2)],_0x1481b1[_0x4b72f9(0x235)]))_0x4d4510['result']=_0x151eef['dkREO'](_0x16e732['status'],_0x151eef[_0x4b72f9(0x21a)])?_0x151eef[_0x4b72f9(0x21a)]:_0x151eef[_0x4b72f9(0x176)];else{(_0x151eef[_0x4b72f9(0x1d8)](_0x4d4510[_0x4b72f9(0x1ea)],_0x151eef[_0x4b72f9(0x176)])||_0x151eef['dBuCu'](_0x4d4510['result'],_0x151eef[_0x4b72f9(0x155)])||_0x151eef[_0x4b72f9(0x1ce)](_0x4d4510[_0x4b72f9(0x1ea)],_0x151eef[_0x4b72f9(0x165)]))&&(_0x4d4510[_0x4b72f9(0x1ea)]=_0x151eef[_0x4b72f9(0x155)]);if(_0x151eef[_0x4b72f9(0x1ac)](_0x16e732[_0x4b72f9(0x1e2)],_0x151eef[_0x4b72f9(0x176)])&&_0x151eef[_0x4b72f9(0x218)](_0x1481b1['expectedStatus'],_0x151eef[_0x4b72f9(0x155)])){const _0x5ac1c4={};_0x5ac1c4[_0x4b72f9(0x226)]=_0x151eef[_0x4b72f9(0x162)],_0x5ac1c4[_0x4b72f9(0x241)]=_0x151eef[_0x4b72f9(0x162)],_0x16e732['error']=_0x5ac1c4,_0x16e732[_0x4b72f9(0x159)]=[_0x16e732[_0x4b72f9(0x21b)]];}}const _0x42de8c=_0x151eef[_0x4b72f9(0x1c3)](getTestRunIdentifier,_0x1481b1,_0x16e732[_0x4b72f9(0x1ab)]);_0x4d4510['hooks']=this['_testHooksMap'][_0x42de8c];const {steps:_0x521f92,logs:_0x517966}=this[_0x4b72f9(0x223)](_0x16e732[_0x4b72f9(0x1ef)],_0x2aff31['uuid'],_0x151eef[_0x4b72f9(0x168)]);await MyReporter['reportLogs'](_0x517966);const _0x35c800={};_0x35c800[_0x4b72f9(0x1ef)]=_0x521f92,_0x4d4510[_0x4b72f9(0x20f)]=_0x35c800;if(_0x16e732['error']){_0x4d4510[_0x4b72f9(0x1e0)]=_0x151eef['IBCbv'](removeAnsiColors,_0x16e732[_0x4b72f9(0x21b)][_0x4b72f9(0x226)]),_0x4d4510[_0x4b72f9(0x175)]=_0x151eef[_0x4b72f9(0x220)](getFailureType,_0x16e732['error'][_0x4b72f9(0x226)]);const _0x566603={};_0x566603[_0x4b72f9(0x16d)]=_0x2aff31['uuid'];const {failureData:_0x1b2a1c,logs:_0x32b5cc}=_0x151eef[_0x4b72f9(0x194)](getFailureData,_0x16e732['errors'],_0x566603);if(_0x1b2a1c&&_0x151eef['OmtOi'](_0x1b2a1c[_0x4b72f9(0x1e6)],0x0)){const _0x5a2ef6={};_0x5a2ef6[_0x4b72f9(0x23e)]=[_0x4d4510['failure_reason']],_0x5a2ef6[_0x4b72f9(0x1b2)]=[],_0x1b2a1c['push'](_0x5a2ef6);}_0x4d4510[_0x4b72f9(0x1db)]=_0x1b2a1c,_0x32b5cc&&_0x151eef[_0x4b72f9(0x249)](_0x32b5cc[_0x4b72f9(0x1e6)],0x0)&&await MyReporter[_0x4b72f9(0x22d)](_0x32b5cc);}}let _0x10e861=_0x151eef[_0x4b72f9(0x1cb)](findNestedKey,_0x16e732,_0x151eef[_0x4b72f9(0x1a9)]);if(_0x10e861&&_0x151eef['drulG'](validateFilePath,_0x10e861))_0x151eef['sKRwj'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x2aff31[_0x4b72f9(0x1bb)]+_0x4b72f9(0x19b)+_0x10e861);else{const _0x1e29f7=path[_0x4b72f9(0x1b6)](helper[_0x4b72f9(0x1aa)](),_0x151eef[_0x4b72f9(0x193)]);!fs[_0x4b72f9(0x1be)](_0x1e29f7)&&fs['mkdirSync'](_0x1e29f7),fs['existsSync'](path['join'](_0x1e29f7,'trace_'+_0x2aff31[_0x4b72f9(0x1bb)]+_0x4b72f9(0x1ee)))&&(_0x10e861=fs[_0x4b72f9(0x1da)](path[_0x4b72f9(0x1b6)](_0x1e29f7,'trace_'+_0x2aff31[_0x4b72f9(0x1bb)]+'.txt'),_0x151eef[_0x4b72f9(0x1e5)]),_0x151eef[_0x4b72f9(0x158)](debug,_0x4b72f9(0x173)+_0x2aff31['uuid']+_0x4b72f9(0x19b)+_0x10e861));}const _0x4d8d45={};_0x4d8d45['event_type']=_0x10948e,_0x4d8d45['test_run']=_0x4d4510;const _0x1ab221=_0x4d8d45;_0x10e861&&_0x151eef[_0x4b72f9(0x151)](_0x10e861,'')&&_0x151eef[_0x4b72f9(0x218)](_0x10948e,_0x151eef[_0x4b72f9(0x1f8)])&&(!_0x1ab221[_0x4b72f9(0x14e)]&&(_0x1ab221[_0x4b72f9(0x14e)]=[]),_0x10e861[_0x4b72f9(0x153)]('\x0a')['forEach'](_0x333098=>{const _0x55cf8b=_0x4b72f9;_0x333098&&_0x151eef[_0x55cf8b(0x220)](validateFilePath,_0x333098)&&_0x1ab221[_0x55cf8b(0x14e)][_0x55cf8b(0x179)]({'kind':_0x151eef['WtQgm'],'timestamp':new Date()[_0x55cf8b(0x222)](),'test_run_uuid':_0x2aff31['uuid'],'file_name':path[_0x55cf8b(0x148)](_0x333098),'file_size':fs[_0x55cf8b(0x17c)](_0x333098)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x4b72f9(0x16e)](_0x1ab221);}[a45_0x1c929d(0x236)](_0x44ef84){const _0x904826=a45_0x1c929d,_0x1b4729={};_0x1b4729[_0x904826(0x213)]=function(_0x46a00a,_0x1c4c20){return _0x46a00a===_0x1c4c20;},_0x1b4729[_0x904826(0x163)]=function(_0x149169,_0x13c5d7){return _0x149169>_0x13c5d7;},_0x1b4729[_0x904826(0x15c)]=function(_0x44208a,_0x4310ae){return _0x44208a+_0x4310ae;},_0x1b4729[_0x904826(0x183)]=function(_0x29f547,_0x1f642a){return _0x29f547+_0x1f642a;},_0x1b4729[_0x904826(0x1bc)]=function(_0x676931,_0x2eebe4){return _0x676931===_0x2eebe4;},_0x1b4729[_0x904826(0x211)]=function(_0x8a7e88,_0x4257fe){return _0x8a7e88>_0x4257fe;};const _0x498fc7=_0x1b4729,_0x779719=_0x44ef84[_0x904826(0x1d7)]()[_0x904826(0x1c0)](_0x2a9377=>{const _0x5ef078=_0x904826;if(_0x44ef84[_0x5ef078(0x196)]&&_0x498fc7['NVINn'](_0x2a9377,_0x44ef84[_0x5ef078(0x196)][_0x5ef078(0x190)])&&_0x44ef84[_0x5ef078(0x196)][_0x5ef078(0x18c)]&&_0x498fc7[_0x5ef078(0x163)](_0x44ef84['parent']['_tags'][_0x5ef078(0x1e6)],0x0))return _0x498fc7[_0x5ef078(0x15c)](_0x498fc7[_0x5ef078(0x183)](_0x2a9377,'\x20'),_0x44ef84['parent'][_0x5ef078(0x18c)][_0x5ef078(0x1b6)]('\x20'));if(_0x498fc7[_0x5ef078(0x1bc)](_0x2a9377,_0x44ef84[_0x5ef078(0x190)])&&_0x44ef84[_0x5ef078(0x18c)]&&_0x498fc7[_0x5ef078(0x211)](_0x44ef84[_0x5ef078(0x18c)][_0x5ef078(0x1e6)],0x0))return _0x498fc7[_0x5ef078(0x183)](_0x498fc7['XPufU'](_0x2a9377,'\x20'),_0x44ef84[_0x5ef078(0x18c)]['join']('\x20'));return _0x2a9377;})[_0x904826(0x1b6)]('\x20');return _0x779719;}static async['sendSessionDetails'](_0xe37e12,_0x2fa292){const _0x4cf491=a45_0x1c929d,_0x2d4175={'jNzBW':function(_0x43b26e,_0x1dcee9){return _0x43b26e(_0x1dcee9);},'Lamxe':_0x4cf491(0x230)},_0x2b7d67={'uuid':TestDetails[_0x4cf491(0x198)](_0xe37e12),'integrations':_0x2fa292},_0x4e9c7b={};_0x4e9c7b[_0x4cf491(0x181)]=null,_0x2d4175[_0x4cf491(0x1ca)](debug,_0x4cf491(0x19c)+_0xe37e12+',\x20'+util[_0x4cf491(0x14b)](_0x2fa292,_0x4e9c7b));const _0x2b8e7a={};_0x2b8e7a[_0x4cf491(0x16b)]=_0x2d4175['Lamxe'],_0x2b8e7a['test_run']=_0x2b7d67,await SessionHandler[_0x4cf491(0x16e)](_0x2b8e7a);}async[a45_0x1c929d(0x22c)](){const _0x2467fd=a45_0x1c929d,_0x27d814={'qWrPi':function(_0x57f6c4){return _0x57f6c4();}};if(this[_0x2467fd(0x1d5)])return;const _0x2f3f0d=await _0x27d814[_0x2467fd(0x1c6)](getGitMetaData);_0x2f3f0d&&(this[_0x2467fd(0x1de)]=_0x2f3f0d[_0x2467fd(0x15e)]),this[_0x2467fd(0x1d5)]=!![];}[a45_0x1c929d(0x172)](_0x2c62ab){const _0x55b0f5=a45_0x1c929d,_0x277626={};_0x277626['BTUFX']=function(_0x1fa46d,_0x204f59){return _0x1fa46d!==_0x204f59;};const _0x808781=_0x277626,_0x5766e2=[];if(_0x2c62ab&&_0x2c62ab['parent']){let _0x458bbb=_0x2c62ab[_0x55b0f5(0x196)];while(_0x458bbb&&_0x808781[_0x55b0f5(0x214)](_0x458bbb[_0x55b0f5(0x190)],'')){_0x5766e2['push'](_0x458bbb['title']),_0x458bbb=_0x458bbb[_0x55b0f5(0x196)];}}return _0x5766e2['reverse']()['splice'](0x0,0x2),_0x5766e2;}[a45_0x1c929d(0x154)](_0x3073c9){const _0x40e2c1=a45_0x1c929d,_0x2da29c={};_0x2da29c[_0x40e2c1(0x1b0)]=function(_0x1aa779,_0x429d4c){return _0x1aa779===_0x429d4c;},_0x2da29c['mHlKJ']='test.step',_0x2da29c[_0x40e2c1(0x215)]=function(_0x29a75b,_0x1bac98){return _0x29a75b!==_0x1bac98;},_0x2da29c[_0x40e2c1(0x1dc)]=_0x40e2c1(0x18a),_0x2da29c[_0x40e2c1(0x1d0)]=function(_0x2d60c6,_0x31a674){return _0x2d60c6===_0x31a674;},_0x2da29c[_0x40e2c1(0x150)]=_0x40e2c1(0x1e1),_0x2da29c['Hsilh']=_0x40e2c1(0x187),_0x2da29c[_0x40e2c1(0x229)]=_0x40e2c1(0x174),_0x2da29c[_0x40e2c1(0x247)]='afterEach\x20hook';const _0xfeba5e=_0x2da29c;if(_0xfeba5e[_0x40e2c1(0x1b0)](_0x3073c9[_0x40e2c1(0x1ba)],_0xfeba5e[_0x40e2c1(0x192)]))return!![];if(_0xfeba5e[_0x40e2c1(0x215)](_0x3073c9[_0x40e2c1(0x1ba)],_0xfeba5e[_0x40e2c1(0x1dc)]))return![];if(_0xfeba5e[_0x40e2c1(0x1d0)]([_0xfeba5e[_0x40e2c1(0x150)],_0xfeba5e[_0x40e2c1(0x17a)],_0xfeba5e[_0x40e2c1(0x229)],_0xfeba5e[_0x40e2c1(0x247)]][_0x40e2c1(0x15a)](_0x3073c9[_0x40e2c1(0x190)]),-0x1))return![];return!![];}[a45_0x1c929d(0x191)](_0x173fd7,_0x4a6482){const _0x255133=a45_0x1c929d,_0x29eb81={'fEbYU':function(_0x1572bf,_0x4c4dd5){return _0x1572bf(_0x4c4dd5);}},_0x2786ad=_0x4a6482[_0x255133(0x201)];if(_0x2786ad)return _0x2786ad;return _0x4a6482['title']+_0x255133(0x1c7)+_0x29eb81['fEbYU'](getTestIdentifier,_0x173fd7);}[a45_0x1c929d(0x15f)](_0x2e3060,_0x507e7e){const _0x156e5c=a45_0x1c929d,_0x579885={'kjZhG':function(_0x153fe1,_0x8dcfa6){return _0x153fe1(_0x8dcfa6);},'yUcqi':function(_0xab684b){return _0xab684b();}};let _0x3a1a0a=_0x507e7e[_0x156e5c(0x190)]+_0x156e5c(0x1c7)+_0x579885[_0x156e5c(0x246)](getTestIdentifier,_0x2e3060);return this['_tests'][_0x3a1a0a]&&(_0x3a1a0a=_0x3a1a0a+_0x156e5c(0x19e)+_0x579885[_0x156e5c(0x21f)](uuidv4)),_0x507e7e[_0x156e5c(0x201)]=_0x3a1a0a,_0x3a1a0a;}['getHookType']=_0x37aca4=>{const _0x226b04=a45_0x1c929d,_0x5ce7b6={};_0x5ce7b6[_0x226b04(0x14f)]=_0x226b04(0x1e1),_0x5ce7b6[_0x226b04(0x239)]=_0x226b04(0x24b),_0x5ce7b6['DrabD']=_0x226b04(0x187),_0x5ce7b6[_0x226b04(0x16f)]='BEFORE_ALL',_0x5ce7b6['TaltQ']=_0x226b04(0x234),_0x5ce7b6['CCbnb']='AFTER_EACH',_0x5ce7b6[_0x226b04(0x1ad)]=_0x226b04(0x174),_0x5ce7b6[_0x226b04(0x1fc)]=_0x226b04(0x18e),_0x5ce7b6[_0x226b04(0x1f2)]='unknown';const _0x3505ca=_0x5ce7b6;if(_0x37aca4[_0x226b04(0x1e9)](_0x3505ca[_0x226b04(0x14f)]))return _0x3505ca[_0x226b04(0x239)];else{if(_0x37aca4['startsWith'](_0x3505ca['DrabD']))return _0x3505ca['DxaXv'];else{if(_0x37aca4[_0x226b04(0x1e9)](_0x3505ca[_0x226b04(0x237)]))return _0x3505ca[_0x226b04(0x24a)];else{if(_0x37aca4['startsWith'](_0x3505ca[_0x226b04(0x1ad)]))return _0x3505ca['ZcMZW'];}}}return _0x3505ca[_0x226b04(0x1f2)];};[a45_0x1c929d(0x208)]=_0x327248=>{const _0x2bad83=a45_0x1c929d,_0x210498={};_0x210498['eUDMU']=function(_0x514457,_0x3f97d5){return _0x514457===_0x3f97d5;},_0x210498[_0x2bad83(0x1af)]=_0x2bad83(0x1e3);const _0x365e01=_0x210498;let _0xc5c6f3=_0x327248['parent'];return _0x365e01[_0x2bad83(0x1f9)](typeof _0x327248[_0x2bad83(0x196)],_0x365e01[_0x2bad83(0x1af)])&&(_0xc5c6f3=_0xc5c6f3['title']),_0xc5c6f3+'\x20-\x20'+_0x327248[_0x2bad83(0x190)];};[a45_0x1c929d(0x17f)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,['onBegin',a45_0x1c929d(0x23d),a45_0x1c929d(0x1f0),a45_0x1c929d(0x1b4),a45_0x1c929d(0x204),'onStepEnd',a45_0x1c929d(0x1bd)],a45_0x1c929d(0x1cc));
1
+ const a45_0x52233c=a45_0x5822;(function(_0x218285,_0xdc43b0){const _0x3b1202=a45_0x5822,_0x13e990=_0x218285();while(!![]){try{const _0x1525b4=parseInt(_0x3b1202(0x1c3))/0x1*(-parseInt(_0x3b1202(0x132))/0x2)+-parseInt(_0x3b1202(0x136))/0x3+-parseInt(_0x3b1202(0x201))/0x4*(parseInt(_0x3b1202(0x1b4))/0x5)+-parseInt(_0x3b1202(0x1c1))/0x6+-parseInt(_0x3b1202(0x193))/0x7+parseInt(_0x3b1202(0x222))/0x8*(-parseInt(_0x3b1202(0x1d1))/0x9)+parseInt(_0x3b1202(0x129))/0xa;if(_0x1525b4===_0xdc43b0)break;else _0x13e990['push'](_0x13e990['shift']());}catch(_0x1e291b){_0x13e990['push'](_0x13e990['shift']());}}}(a45_0x465b,0x50814));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require(a45_0x52233c(0x13e)),path=require(a45_0x52233c(0x160)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x52233c(0x1f3)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0x52233c(0x1d9)),fs=require('fs'),util=require(a45_0x52233c(0x1d3)),{o11yClassErrorHandler}=require(a45_0x52233c(0x21a)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0x52233c(0x1df)),SessionHandler=require(a45_0x52233c(0x1ef)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a45_0x52233c(0x1e6)),BrowserstackCLI=require(a45_0x52233c(0x22d)),TestFrameworkState=require(a45_0x52233c(0x12a)),HookState=require(a45_0x52233c(0x1ba)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x52233c(0x1b1));function a45_0x465b(){const _0x44f1d1=['reportLogs','../../v2/state/hookState','statSync','rHRPv','qdQZK','printsToStdio','jLcSk','hook','2623908rdHuWV','toString','311723VgyFBZ','configureGit','IoELs','Hook\x20Started\x20with\x20unique\x20id\x20','EJZAV','YtZZG','foKXW','vQtZm','Test\x20Finished\x20with\x20unique\x20id\x20','tFEfJ','attachments','BEFORE_EACH','onStepEnd','XQFbM','522PryLHC','TEST_SCREENSHOT','util','afterAll\x20hook','slzcJ','apoep','FvPuQ','stack','./test-details','RkpZe','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','failed','iLTNF','Trace\x20file\x20found\x20for\x20test:\x20','../../../helpers/test-observability/constants','TZdtm','GxmAh','onTestBegin','getHookType','onStepBegin','Error\x20reading\x20integrations\x20for\x20test\x20','../../../helpers/helper','endSession','HookRunFinished','pending','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','result','afterEach\x20hook','getIntegrations','getStepsAndLogs','../../../helpers/test-observability/sessionHandler','hooks','IFOAI','PLAYWRIGHT','../../../helpers/test-observability/utils','failure_reason','CNbul','exports','NVfie','MyReporter','hCDhA','wsags','AFTER_ALL','oKJej','test_run_uuid','failure_type','unknown','format','4nKRgwi','TEST_STEP','MNsug','toISOString','status','logs','step','indexOf','RQxHN','error','JpAGj','split','sAVdq','meta','lvFux','_testHooksMap','_tags','cGrnQ','BROWSERSTACK_TEST_RUN_ID','join','readFileSync','trackEvent','lFJzB','relative','TestRunStarted','../../../helpers/test-observability/error-handler','.txt','trace_','mkdirSync','sendTestRunEvent','hynHc','parent','PVizt','55064ysDwiq','AFTER_EACH','yYFCI','setStepIdentifier','failure','getInstance','expectedStatus','hPvOQ','UqQZg','Playwright','backtrace','../../v2/browserstackCLI','bqaDi','YuuSJ','object','needToReportStep','env','mtime','RMczl','uploadEventData','26609510aGgZIG','../../v2/state/testFrameworkState','event_type','category','BBfRr','isRunning','YCyOk','skipped','beforeAll\x20hook','2LAVClT','sendSessionDetails','bbMeV','ZmzXD','1834830RQcalV','Error\x20in\x20sending\x20trace\x20zip:\x20%s','title','OmIPH','\x20is\x20triggered\x20for\x20test\x20','uJRLV','Sending\x20session\x20details\x20for\x20','timedOut','uuid','errors','getTime','getTestUUID','BROWSERSTACK_O11Y_PERF_MEASUREMENT','oZJSj','location','JGVcK','phQre','PeLJP','screenshot','onBegin','RUhla','startedAt','HookRunStarted','Expected\x20to\x20fail,\x20but\x20passed.','cFdSB','getStepIdentifier','forEach','gSscn','YWahT','test','PRE','XKRLe','mTFOp','tusyv','file','cwd','teDbg','TEST','LOIip','AzLQq','yYPdl','startsWith','path','getHierarchy','DWZBB','tFXPl','_gitConfigured','pjbpG','performance-report-reporter.json','startMonitoring','getTestFramework','iJtGN','\x20is\x20triggered','shutdown','KQCXB','expanded','POST','nbVaM','HOpkx','name','basename','uvKWv','_bs_hookIdentifier','startTime','titlePath','gVZvi','jZvfi','START_TIME','AyTBp','root','ppzqW','kTnIE','ECdeR','_gitConfigPath','lHthb','Wwjdw','MwHAS','test.step','getScope','aPlMK','onTestEnd','PUwcP','setup','map','splice','BROWSERSTACK_LOG_LEVEL','yLawP','lBrmG','DrkxK','hook_run','getCustomRerunParam','sendHookRunEvent','MGROp','3774043jAlSIb','BEFORE_ALL','Nfuli','AqvqP','retry','julbt','YRBwy','finishedAt','vocap','oVeZF','_tests','length','options','_trackedEvents','UDJzZ','\x20-\x20','logLevel','test_run','keys','vQrsH','message','GXgZS','WNMRJ','beforeEach\x20hook','passed','Error\x20in\x20calculating\x20performance:\x20','LpEVq','qvsji','duration','PXnZx','../../../../src/bin/utils/constants','push','bORHE','160945IKZhql','TestRunFinished','steps','existsSync','\x20for\x20'];a45_0x465b=function(){return _0x44f1d1;};return a45_0x465b();}class MyReporter{constructor(_0x1ff779){const _0x3d36f1=a45_0x52233c,_0x92050d={'rZpxR':'4|2|0|6|5|1|7|3','Nfuli':_0x3d36f1(0x166),'IFOAI':function(_0x2ef27b,_0x11cad2,_0x5c57fd,_0x32f6bc){return _0x2ef27b(_0x11cad2,_0x5c57fd,_0x32f6bc);}},_0x3c5cfb=_0x92050d['rZpxR']['split']('|');let _0x4c5fee=0x0;while(!![]){switch(_0x3c5cfb[_0x4c5fee++]){case'0':this['_tests']={};continue;case'1':this['_gitConfigured']=![];continue;case'2':process[_0x3d36f1(0x232)][_0x3d36f1(0x142)]&&(PerformanceTester[_0x3d36f1(0x167)](_0x92050d[_0x3d36f1(0x195)]),process['env'][_0x3d36f1(0x179)]=new Date()[_0x3d36f1(0x204)]());continue;case'3':this[_0x3d36f1(0x1a0)]=[];continue;case'4':const _0x34cd92={};_0x34cd92[_0x3d36f1(0x1a3)]=process[_0x3d36f1(0x232)][_0x3d36f1(0x18b)],_0x92050d[_0x3d36f1(0x1f1)](setLogLevel,_0x34cd92,new Map(),new Map());continue;case'5':this[_0x3d36f1(0x19f)]=_0x1ff779;continue;case'6':this[_0x3d36f1(0x210)]={};continue;case'7':this[_0x3d36f1(0x17f)]=null;continue;}break;}}async[a45_0x52233c(0x149)](){const _0x4f55f1=a45_0x52233c,_0x424fae={};_0x424fae[_0x4f55f1(0x1bc)]=_0x4f55f1(0x22b);const _0x1a3d75=_0x424fae;TestDetails[_0x4f55f1(0x188)](),await this[_0x4f55f1(0x1c4)](),TestInfo[_0x4f55f1(0x188)](_0x1a3d75[_0x4f55f1(0x1bc)]);if(BrowserstackCLI[_0x4f55f1(0x227)]()[_0x4f55f1(0x12e)]()){await BrowserstackCLI['getInstance']()[_0x4f55f1(0x168)]()[_0x4f55f1(0x216)](TestFrameworkState['INIT_TEST'],HookState['PRE'],{});return;}}async[a45_0x52233c(0x1e2)](_0x21b3b8,_0x4b121b){const _0x5d29c9=a45_0x52233c,_0x251cc6={'MNsug':function(_0x3509d2,_0x27b79f){return _0x3509d2(_0x27b79f);},'kapml':function(_0x2ac1b8,_0x5c056f,_0x3b4daf){return _0x2ac1b8(_0x5c056f,_0x3b4daf);},'foKXW':_0x5d29c9(0x219)};if(BrowserstackCLI[_0x5d29c9(0x227)]()[_0x5d29c9(0x12e)]()){const _0x2ca4a7={};_0x2ca4a7[_0x5d29c9(0x153)]=_0x21b3b8,_0x2ca4a7['result']=_0x4b121b,await BrowserstackCLI[_0x5d29c9(0x227)]()['getTestFramework']()[_0x5d29c9(0x216)](TestFrameworkState[_0x5d29c9(0x15b)],HookState[_0x5d29c9(0x154)],_0x2ca4a7);return;}const _0x1cbc55=_0x251cc6[_0x5d29c9(0x203)](getTestIdentifier,_0x21b3b8),_0x5e1e8d=TestDetails['getTestUUID'](_0x251cc6['kapml'](getTestRunIdentifier,_0x21b3b8,_0x4b121b['retry']));process['env'][_0x5d29c9(0x213)]=_0x5e1e8d;const _0x5afb9d={};_0x5afb9d[_0x5d29c9(0x13e)]=_0x5e1e8d,_0x5afb9d['startedAt']=_0x4b121b[_0x5d29c9(0x175)],this[_0x5d29c9(0x19d)][_0x1cbc55]=_0x5afb9d,_0x251cc6['MNsug'](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x1cbc55),await this[_0x5d29c9(0x21e)](_0x21b3b8,_0x251cc6[_0x5d29c9(0x1c9)],_0x4b121b);}async[a45_0x52233c(0x1e4)](_0x230b89,_0x23f03d,_0x525122){const _0x271132=a45_0x52233c,_0xb368f0={'YWahT':function(_0x571ae4,_0x2fdcab){return _0x571ae4===_0x2fdcab;},'JGVcK':_0x271132(0x183),'nbVaM':function(_0x274af6,_0x50f8cd,_0x3d9d92){return _0x274af6(_0x50f8cd,_0x3d9d92);},'kudJq':function(_0x4b8155,_0x42cd99){return _0x4b8155(_0x42cd99);},'UqQZg':_0x271132(0x14c)};if(!this[_0x271132(0x231)](_0x525122,_0x230b89))return;if(_0xb368f0[_0x271132(0x152)](_0x525122[_0x271132(0x12c)],_0xb368f0[_0x271132(0x145)])){if(BrowserstackCLI[_0x271132(0x227)]()[_0x271132(0x12e)]()){const _0x6db09d={};_0x6db09d[_0x271132(0x153)]=_0x230b89,_0x6db09d[_0x271132(0x1eb)]=_0x23f03d,_0x6db09d['step']=_0x525122,await BrowserstackCLI['getInstance']()[_0x271132(0x168)]()[_0x271132(0x216)](TestFrameworkState['TEST_STEP'],HookState['PRE'],_0x6db09d);}return;}if(BrowserstackCLI[_0x271132(0x227)]()[_0x271132(0x12e)]()){const _0xe5e45a=this[_0x271132(0x1e3)](_0x525122[_0x271132(0x138)]),_0x159938=TestFrameworkState[_0xe5e45a],_0x244e62={};_0x244e62[_0x271132(0x153)]=_0x230b89,_0x244e62[_0x271132(0x1eb)]=_0x23f03d,_0x244e62[_0x271132(0x207)]=_0x525122,await BrowserstackCLI[_0x271132(0x227)]()['getTestFramework']()[_0x271132(0x216)](_0x159938,HookState[_0x271132(0x154)],_0x244e62);return;}const _0x191bf7=this['setStepIdentifier'](_0x230b89,_0x525122);this[_0x271132(0x19d)][_0x191bf7]={'uuid':TestDetails[_0x271132(0x141)](_0x191bf7),'startedAt':_0x525122[_0x271132(0x175)][_0x271132(0x204)]()};const _0x342da4=_0xb368f0[_0x271132(0x16f)](getTestRunIdentifier,_0x230b89,_0x23f03d['retry']);!this['_testHooksMap'][_0x342da4]&&(this[_0x271132(0x210)][_0x342da4]=[]),this[_0x271132(0x210)][_0x342da4][_0x271132(0x1b2)](this['_tests'][_0x191bf7]['uuid']),_0xb368f0['kudJq'](trace,_0x271132(0x1c6)+_0x191bf7+_0x271132(0x13a)+_0x342da4),await this[_0x271132(0x191)](_0x230b89,_0x525122,_0xb368f0[_0x271132(0x22a)],_0x23f03d);}async[a45_0x52233c(0x1cf)](_0x594805,_0x3064bd,_0x59a2f4){const _0x4396d6=a45_0x52233c,_0x2c3ac1={'RMczl':function(_0x39da61,_0x539c8f){return _0x39da61===_0x539c8f;},'SesWz':_0x4396d6(0x183),'WNMRJ':function(_0x1842b8,_0x7c4b7e){return _0x1842b8+_0x7c4b7e;},'RkpZe':function(_0x8d6743,_0x11a041){return _0x8d6743(_0x11a041);},'oKJej':_0x4396d6(0x1e8)};if(!this['needToReportStep'](_0x59a2f4,_0x594805))return;if(_0x2c3ac1[_0x4396d6(0x234)](_0x59a2f4[_0x4396d6(0x12c)],_0x2c3ac1['SesWz'])){if(BrowserstackCLI['getInstance']()[_0x4396d6(0x12e)]()){const _0x388a87={};_0x388a87[_0x4396d6(0x153)]=_0x594805,_0x388a87[_0x4396d6(0x1eb)]=_0x3064bd,_0x388a87[_0x4396d6(0x207)]=_0x59a2f4,await BrowserstackCLI['getInstance']()[_0x4396d6(0x168)]()['trackEvent'](TestFrameworkState[_0x4396d6(0x202)],HookState[_0x4396d6(0x16e)],_0x388a87);}return;}if(BrowserstackCLI['getInstance']()[_0x4396d6(0x12e)]()){const _0x3b417c=this[_0x4396d6(0x1e3)](_0x59a2f4[_0x4396d6(0x138)]),_0x394135=TestFrameworkState[_0x3b417c],_0x198860={};_0x198860['test']=_0x594805,_0x198860[_0x4396d6(0x1eb)]=_0x3064bd,_0x198860[_0x4396d6(0x207)]=_0x59a2f4,await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x4396d6(0x216)](_0x394135,HookState[_0x4396d6(0x16e)],_0x198860);return;}const _0x4d88e5=this[_0x4396d6(0x14f)](_0x594805,_0x59a2f4);this['_tests'][_0x4d88e5]={...this[_0x4396d6(0x19d)][_0x4d88e5]||{},'finishedAt':new Date(_0x2c3ac1[_0x4396d6(0x1a9)](_0x59a2f4[_0x4396d6(0x175)][_0x4396d6(0x140)](),_0x59a2f4[_0x4396d6(0x1af)]))},_0x2c3ac1[_0x4396d6(0x1da)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x4d88e5+_0x4396d6(0x16a)),await this[_0x4396d6(0x191)](_0x594805,_0x59a2f4,_0x2c3ac1[_0x4396d6(0x1fc)],_0x3064bd);}async[a45_0x52233c(0x186)](_0x4c511c,_0x59daea){const _0x54736e=a45_0x52233c,_0x289420={'CNbul':function(_0x39ddb9,_0x2762e2){return _0x39ddb9===_0x2762e2;},'WVcVr':_0x54736e(0x148),'RUhla':_0x54736e(0x1d2),'XqhOG':'base64','GXgZS':function(_0x5cc1f6,_0x397f46){return _0x5cc1f6(_0x397f46);},'AWivA':function(_0x527d52,_0x5de9d7,_0x99c108){return _0x527d52(_0x5de9d7,_0x99c108);},'teDbg':function(_0x12f7f9,_0x214b83){return _0x12f7f9(_0x214b83);},'LOIip':_0x54736e(0x1b5),'swsyV':_0x54736e(0x1db),'PVizt':function(_0x2fbbb7,_0x12748d,_0x1d7dd4){return _0x2fbbb7(_0x12748d,_0x1d7dd4);},'MwHAS':function(_0x5299ce,_0x52c7a0){return _0x5299ce(_0x52c7a0);},'FvPuQ':_0x54736e(0x137),'qvsji':function(_0x17ccac,_0x24b7c1){return _0x17ccac>_0x24b7c1;}};if(BrowserstackCLI[_0x54736e(0x227)]()[_0x54736e(0x12e)]()){const _0x4299a7={};_0x4299a7['test']=_0x4c511c,_0x4299a7['result']=_0x59daea,this[_0x54736e(0x1a0)][_0x54736e(0x1b2)](BrowserstackCLI['getInstance']()[_0x54736e(0x168)]()[_0x54736e(0x216)](TestFrameworkState['TEST'],HookState[_0x54736e(0x16e)],_0x4299a7));return;}const _0x2ba275=_0x289420[_0x54736e(0x1a8)](getTestIdentifier,_0x4c511c),_0x1471a1=TestDetails[_0x54736e(0x141)](_0x289420['AWivA'](getTestRunIdentifier,_0x4c511c,_0x59daea[_0x54736e(0x197)]));this[_0x54736e(0x19d)][_0x2ba275]={...this['_tests'][_0x2ba275]||{},'finishedAt':new Date()[_0x54736e(0x204)]()},_0x289420['teDbg'](debug,_0x54736e(0x1cb)+_0x2ba275);try{await this['sendTestRunEvent'](_0x4c511c,_0x289420[_0x54736e(0x15c)],_0x59daea);}catch(_0x52bbd2){_0x289420[_0x54736e(0x1a8)](debug,util[_0x54736e(0x200)](_0x289420['swsyV'],_0x52bbd2['toString']()));}try{_0x289420[_0x54736e(0x15a)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x1471a1),await _0x289420[_0x54736e(0x221)](sendTraceZip,_0x59daea,_0x1471a1);}catch(_0x5ac8bd){_0x289420[_0x54736e(0x182)](debug,util[_0x54736e(0x200)](_0x289420[_0x54736e(0x1d7)],_0x5ac8bd[_0x54736e(0x1c2)]()));}const _0x8c346f=[];_0x59daea[_0x54736e(0x1cd)]&&_0x59daea[_0x54736e(0x1cd)][_0x54736e(0x189)](_0x5190d4=>{const _0x3c7a04=_0x54736e;if(_0x289420[_0x3c7a04(0x1f5)](_0x5190d4[_0x3c7a04(0x171)],_0x289420['WVcVr'])){if(!_0x5190d4[_0x3c7a04(0x160)]||!fs[_0x3c7a04(0x1b7)](_0x5190d4['path']))return;_0x8c346f[_0x3c7a04(0x1b2)]({'test_run_uuid':_0x1471a1,'timestamp':fs[_0x3c7a04(0x1bb)](_0x5190d4[_0x3c7a04(0x160)])[_0x3c7a04(0x233)],'kind':_0x289420[_0x3c7a04(0x14a)],'message':fs['readFileSync'](_0x5190d4['path'],{'encoding':_0x289420['XqhOG']})});}}),_0x289420[_0x54736e(0x1ae)](_0x8c346f[_0x54736e(0x19e)],0x0)&&await MyReporter[_0x54736e(0x1b9)](_0x8c346f);}async[a45_0x52233c(0x1e7)](){const _0x570d02=a45_0x52233c;await RequestQueueHandler[_0x570d02(0x227)]()[_0x570d02(0x16b)]();}async['onEnd'](_0x42f3a0){const _0x4103d7=a45_0x52233c,_0x5cba6a={'bqaDi':function(_0x39ccaf){return _0x39ccaf();},'oZJSj':function(_0x549307,_0x2e7425){return _0x549307(_0x2e7425);}};await Promise['all'](this[_0x4103d7(0x1a0)]),await this[_0x4103d7(0x1e7)]();try{process[_0x4103d7(0x232)][_0x4103d7(0x142)]&&await _0x5cba6a[_0x4103d7(0x22e)](calculatePerformance);}catch(_0x2f7132){_0x5cba6a[_0x4103d7(0x143)](debug,_0x4103d7(0x1ac)+_0x2f7132[_0x4103d7(0x1c2)]());}}static async['addTestUIDAndReportLog'](_0x3fc1b2,_0x27f0f6){const _0x4c5c87=a45_0x52233c;_0x27f0f6[_0x4c5c87(0x1fd)]=TestDetails[_0x4c5c87(0x141)](_0x3fc1b2),await this['reportLogs']([_0x27f0f6]);}static async['reportLogs'](_0x3acf54){const _0x5d1455=a45_0x52233c,_0x3a481f={};_0x3a481f[_0x5d1455(0x185)]='LogCreated';const _0x4ab5b2=_0x3a481f;if(BrowserstackCLI[_0x5d1455(0x227)]()[_0x5d1455(0x12e)]())return;const _0x446cb4={};_0x446cb4[_0x5d1455(0x12b)]=_0x4ab5b2['aPlMK'],_0x446cb4[_0x5d1455(0x206)]=_0x3acf54,await SessionHandler['uploadEventData'](_0x446cb4);}async[a45_0x52233c(0x191)](_0x10c033,_0x54f56e,_0x2be98f,_0x2b4e38){const _0x5a57de=a45_0x52233c,_0x6b7015={'AzLQq':_0x5a57de(0x1c0),'lBrmG':'javascript','Wwjdw':_0x5a57de(0x1e9),'OmIPH':function(_0x1aacc9,_0x197456){return _0x1aacc9>=_0x197456;},'YuuSJ':function(_0x427b5c,_0x13acd1){return _0x427b5c===_0x13acd1;},'hPvOQ':_0x5a57de(0x1e8),'BAGXW':function(_0x5e59d4,_0xdb5ef4){return _0x5e59d4>_0xdb5ef4;},'XQFbM':_0x5a57de(0x1dc),'cGrnQ':function(_0x1f8f6d,_0x41303c){return _0x1f8f6d(_0x41303c);},'YCyOk':function(_0x1c29c8,_0x5d2198,_0x31c3f9){return _0x1c29c8(_0x5d2198,_0x31c3f9);},'gSscn':'err','YtZZG':function(_0x3bb507,_0xe1bd3c){return _0x3bb507===_0xe1bd3c;},'ECdeR':_0x5a57de(0x1ab)},_0x142938=this['getStepIdentifier'](_0x10c033,_0x54f56e),_0x27b9ea=this[_0x5a57de(0x19d)][_0x142938],_0x5b5634={'uuid':_0x27b9ea[_0x5a57de(0x13e)],'type':_0x6b7015[_0x5a57de(0x15d)],'hook_type':this[_0x5a57de(0x1e3)](_0x54f56e['title']),'name':_0x54f56e[_0x5a57de(0x138)],'scope':this['getScope'](_0x54f56e),'scopes':this[_0x5a57de(0x161)](_0x10c033),'body':{'lang':_0x6b7015[_0x5a57de(0x18d)],'code':null},'identifier':_0x142938,'file_name':path[_0x5a57de(0x218)](process[_0x5a57de(0x159)](),_0x10c033['location'][_0x5a57de(0x158)]),'location':path[_0x5a57de(0x218)](process['cwd'](),_0x10c033[_0x5a57de(0x144)][_0x5a57de(0x158)]),'result':_0x6b7015[_0x5a57de(0x181)],'duration_in_ms':_0x6b7015[_0x5a57de(0x139)](_0x54f56e[_0x5a57de(0x1af)],0x0)?_0x54f56e[_0x5a57de(0x1af)]:undefined,'vc_filepath':this[_0x5a57de(0x17f)]&&_0x10c033[_0x5a57de(0x144)]['file']?path[_0x5a57de(0x218)](this[_0x5a57de(0x17f)],_0x10c033[_0x5a57de(0x144)]['file']):undefined,'started_at':_0x27b9ea[_0x5a57de(0x14b)],'finished_at':_0x27b9ea[_0x5a57de(0x19a)],'framework':FRAMEWORKS[_0x5a57de(0x1f2)]};if(_0x6b7015[_0x5a57de(0x22f)](_0x2be98f,_0x6b7015[_0x5a57de(0x229)])){const {steps:_0x3eab39,logs:_0x59020c}=this['getStepsAndLogs'](_0x54f56e[_0x5a57de(0x1b6)],_0x27b9ea[_0x5a57de(0x13e)],_0x6b7015[_0x5a57de(0x15d)]);_0x59020c&&_0x6b7015['BAGXW'](_0x59020c[_0x5a57de(0x19e)],0x0)&&await MyReporter[_0x5a57de(0x1b9)](_0x59020c);const _0x248011={};_0x248011[_0x5a57de(0x1b6)]=_0x3eab39,_0x5b5634[_0x5a57de(0x20e)]=_0x248011;if(_0x54f56e[_0x5a57de(0x20a)]){_0x5b5634[_0x5a57de(0x1eb)]=_0x6b7015[_0x5a57de(0x1d0)],_0x5b5634[_0x5a57de(0x1f4)]=_0x6b7015[_0x5a57de(0x212)](removeAnsiColors,_0x54f56e['error'][_0x5a57de(0x1a7)]),_0x5b5634['failure_type']=_0x6b7015[_0x5a57de(0x212)](getFailureType,_0x54f56e['error'][_0x5a57de(0x1a7)]);const _0x32ad28=_0x6b7015[_0x5a57de(0x12f)](failureData,_0x54f56e['error'],_0x6b7015[_0x5a57de(0x151)]);if(_0x32ad28&&_0x6b7015[_0x5a57de(0x1c8)](_0x32ad28[_0x5a57de(0x19e)],0x0)){const _0x1c892d={};_0x1c892d['backtrace']=[_0x5b5634[_0x5a57de(0x1f4)]],_0x1c892d[_0x5a57de(0x16d)]=[],_0x32ad28[_0x5a57de(0x1b2)](_0x1c892d);}_0x5b5634[_0x5a57de(0x226)]=_0x32ad28;}else _0x5b5634[_0x5a57de(0x1eb)]=_0x6b7015[_0x5a57de(0x17e)];}const _0x86bc3d={};_0x86bc3d[_0x5a57de(0x12b)]=_0x2be98f,_0x86bc3d[_0x5a57de(0x18f)]=_0x5b5634;const _0x46542b=_0x86bc3d;await SessionHandler[_0x5a57de(0x235)](_0x46542b);}[a45_0x52233c(0x1ee)](_0x4c2e37,_0x33265f,_0x3060e4){return helper['getStepsAndLogs'](_0x4c2e37,_0x33265f,_0x3060e4);}async['sendTestRunEvent'](_0x3d57d4,_0xc98c11,_0x987a3c){const _0x3551db=a45_0x52233c,_0x3ec39e={'qdQZK':function(_0x45278f,_0x4dc167){return _0x45278f(_0x4dc167);},'lOwer':'TEST_ATTACHMENT','AyTBp':function(_0x1a8e9f,_0x16905e){return _0x1a8e9f(_0x16905e);},'iJtGN':'test','fYmVt':'javascript','DrkxK':_0x3551db(0x1e9),'MGROp':function(_0x227cdd,_0x3664b7,_0x3a50a6,_0x2cec9f,_0x589e06){return _0x227cdd(_0x3664b7,_0x3a50a6,_0x2cec9f,_0x589e06);},'lHthb':function(_0x3e3ea7,_0x4c6680){return _0x3e3ea7>_0x4c6680;},'LpEVq':function(_0x4800ac,_0x21a580,_0x3ebea1){return _0x4800ac(_0x21a580,_0x3ebea1);},'kTnIE':function(_0x2a055b,_0x4f5bb9){return _0x2a055b-_0x4f5bb9;},'iLTNF':function(_0xf2b690,_0x35c3f3){return _0xf2b690===_0x35c3f3;},'YRBwy':_0x3551db(0x1b5),'GxmAh':function(_0x14d4de,_0x2f956f){return _0x14d4de(_0x2f956f);},'GGAlH':function(_0x1bd179,_0x10b8d1){return _0x1bd179===_0x10b8d1;},'hCDhA':_0x3551db(0x130),'ZmzXD':_0x3551db(0x1ab),'HOpkx':function(_0x156a7c,_0x156f54){return _0x156a7c===_0x156f54;},'lvFux':_0x3551db(0x1dc),'AzfVj':_0x3551db(0x13d),'bbMeV':function(_0x3de04f,_0x5afa96){return _0x3de04f===_0x5afa96;},'XKRLe':function(_0x5766f7,_0x9cb236){return _0x5766f7===_0x9cb236;},'JpAGj':_0x3551db(0x14d),'jmpaT':function(_0x16cb26,_0xe14492){return _0x16cb26(_0xe14492);},'phQre':function(_0x27d722,_0x2e05a0){return _0x27d722(_0x2e05a0);},'lFJzB':function(_0x2b165d,_0x5998bd){return _0x2b165d===_0x5998bd;},'PXnZx':function(_0x2d873d,_0x441539){return _0x2d873d>_0x441539;},'yLawP':function(_0x51020c,_0x440fef,_0x337ae4){return _0x51020c(_0x440fef,_0x337ae4);},'slzcJ':'path','apoep':'.browserstack','MiFff':'utf8','DWZBB':function(_0x2a5bd9,_0x1c3022){return _0x2a5bd9(_0x1c3022);},'TZdtm':function(_0xdac2bf,_0x1b9976){return _0xdac2bf!==_0x1b9976;}},_0x461eb4=_0x3ec39e[_0x3551db(0x17a)](getTestIdentifier,_0x3d57d4),_0x2f5f08=this['getScope'](_0x3d57d4),_0x16ceef=this['_tests'][_0x461eb4],_0x3ed483=path[_0x3551db(0x218)](process[_0x3551db(0x159)](),_0x3d57d4['location'][_0x3551db(0x158)]);await this[_0x3551db(0x1c4)]();const _0x3aa62b={'uuid':_0x16ceef[_0x3551db(0x13e)],'type':_0x3ec39e[_0x3551db(0x169)],'name':_0x3d57d4[_0x3551db(0x138)],'body':{'lang':_0x3ec39e['fYmVt'],'code':_0x3d57d4['fn'][_0x3551db(0x1c2)]()},'scope':_0x2f5f08,'scopes':this[_0x3551db(0x161)](_0x3d57d4),'identifier':_0x461eb4,'file_name':_0x3ed483,'location':_0x3ed483,'result':_0x3ec39e[_0x3551db(0x18e)],'duration_in_ms':_0x987a3c&&_0x987a3c['duration']?_0x987a3c[_0x3551db(0x1af)]:null,'vc_filepath':this[_0x3551db(0x17f)]&&_0x3d57d4[_0x3551db(0x144)]['file']?path['relative'](this['_gitConfigPath'],_0x3d57d4[_0x3551db(0x144)][_0x3551db(0x158)]):undefined,'started_at':_0x16ceef[_0x3551db(0x14b)],'finished_at':_0x16ceef[_0x3551db(0x19a)],'framework':FRAMEWORKS[_0x3551db(0x1f2)],'customRerunParam':{'rerun_name':this[_0x3551db(0x190)](_0x3d57d4)},'tags':_0x3ec39e[_0x3551db(0x1bd)](getTestTags,_0x3d57d4)};_0x3ec39e[_0x3551db(0x192)](appendTesthubParams,_0x3aa62b,_0xc98c11,_0x3d57d4,FRAMEWORKS[_0x3551db(0x1f2)]);_0x987a3c&&_0x3ec39e[_0x3551db(0x180)](_0x987a3c[_0x3551db(0x197)],0x0)&&(_0x3aa62b['retry_of']=TestDetails['getTestUUID'](_0x3ec39e[_0x3551db(0x1ad)](getTestRunIdentifier,_0x3d57d4,_0x3ec39e[_0x3551db(0x17d)](_0x987a3c[_0x3551db(0x197)],0x1))));if(_0x3ec39e[_0x3551db(0x1dd)](_0xc98c11,_0x3ec39e['YRBwy'])){try{const _0x27fa27=TestDetails[_0x3551db(0x1ed)](_0x16ceef[_0x3551db(0x13e)]);_0x27fa27&&_0x3ec39e[_0x3551db(0x180)](Object[_0x3551db(0x1a5)](_0x27fa27)['length'],0x0)?_0x3aa62b['integrations']=_0x27fa27:_0x3ec39e[_0x3551db(0x1e1)](debug,'No\x20integrations\x20found\x20for\x20test\x20'+_0x16ceef[_0x3551db(0x13e)]+_0x3551db(0x1ea));}catch(_0x3a4aa0){_0x3ec39e[_0x3551db(0x17a)](debug,_0x3551db(0x1e5)+_0x16ceef['uuid']+':\x20'+util[_0x3551db(0x200)](_0x3a4aa0));}_0x3aa62b['result']=_0x987a3c[_0x3551db(0x205)];if(_0x3ec39e['GGAlH'](_0x987a3c['status'],_0x3d57d4[_0x3551db(0x228)]))_0x3aa62b[_0x3551db(0x1eb)]=_0x3ec39e['GGAlH'](_0x987a3c[_0x3551db(0x205)],_0x3ec39e[_0x3551db(0x1f9)])?_0x3ec39e[_0x3551db(0x1f9)]:_0x3ec39e[_0x3551db(0x135)];else{(_0x3ec39e[_0x3551db(0x170)](_0x3aa62b[_0x3551db(0x1eb)],_0x3ec39e[_0x3551db(0x135)])||_0x3ec39e[_0x3551db(0x1dd)](_0x3aa62b[_0x3551db(0x1eb)],_0x3ec39e[_0x3551db(0x20f)])||_0x3ec39e[_0x3551db(0x1dd)](_0x3aa62b[_0x3551db(0x1eb)],_0x3ec39e['AzfVj']))&&(_0x3aa62b[_0x3551db(0x1eb)]=_0x3ec39e[_0x3551db(0x20f)]);if(_0x3ec39e['bbMeV'](_0x987a3c['status'],_0x3ec39e[_0x3551db(0x135)])&&_0x3ec39e[_0x3551db(0x155)](_0x3d57d4['expectedStatus'],_0x3ec39e[_0x3551db(0x20f)])){const _0x30df0e={};_0x30df0e[_0x3551db(0x1a7)]=_0x3ec39e['JpAGj'],_0x30df0e[_0x3551db(0x1d8)]=_0x3ec39e[_0x3551db(0x20b)],_0x987a3c[_0x3551db(0x20a)]=_0x30df0e,_0x987a3c['errors']=[_0x987a3c[_0x3551db(0x20a)]];}}const _0x2942d1=_0x3ec39e[_0x3551db(0x1ad)](getTestRunIdentifier,_0x3d57d4,_0x987a3c[_0x3551db(0x197)]);_0x3aa62b[_0x3551db(0x1f0)]=this[_0x3551db(0x210)][_0x2942d1];const {steps:_0x2e1c59,logs:_0x664f4e}=this['getStepsAndLogs'](_0x987a3c[_0x3551db(0x1b6)],_0x16ceef[_0x3551db(0x13e)],_0x3ec39e[_0x3551db(0x169)]);await MyReporter[_0x3551db(0x1b9)](_0x664f4e);const _0x4c1010={};_0x4c1010[_0x3551db(0x1b6)]=_0x2e1c59,_0x3aa62b[_0x3551db(0x20e)]=_0x4c1010;if(_0x987a3c[_0x3551db(0x20a)]){_0x3aa62b[_0x3551db(0x1f4)]=_0x3ec39e['jmpaT'](removeAnsiColors,_0x987a3c[_0x3551db(0x20a)][_0x3551db(0x1a7)]),_0x3aa62b[_0x3551db(0x1fe)]=_0x3ec39e['phQre'](getFailureType,_0x987a3c[_0x3551db(0x20a)]['message']);const _0x152143={};_0x152143[_0x3551db(0x1fd)]=_0x16ceef[_0x3551db(0x13e)];const {failureData:_0xe02bba,logs:_0x3c3897}=_0x3ec39e['LpEVq'](getFailureData,_0x987a3c[_0x3551db(0x13f)],_0x152143);if(_0xe02bba&&_0x3ec39e[_0x3551db(0x217)](_0xe02bba[_0x3551db(0x19e)],0x0)){const _0x49da36={};_0x49da36[_0x3551db(0x22c)]=[_0x3aa62b[_0x3551db(0x1f4)]],_0x49da36[_0x3551db(0x16d)]=[],_0xe02bba[_0x3551db(0x1b2)](_0x49da36);}_0x3aa62b[_0x3551db(0x226)]=_0xe02bba,_0x3c3897&&_0x3ec39e[_0x3551db(0x1b0)](_0x3c3897[_0x3551db(0x19e)],0x0)&&await MyReporter[_0x3551db(0x1b9)](_0x3c3897);}}let _0x36f9be=_0x3ec39e[_0x3551db(0x18c)](findNestedKey,_0x987a3c,_0x3ec39e[_0x3551db(0x1d5)]);if(_0x36f9be&&_0x3ec39e[_0x3551db(0x146)](validateFilePath,_0x36f9be))_0x3ec39e[_0x3551db(0x1e1)](debug,_0x3551db(0x1de)+_0x16ceef[_0x3551db(0x13e)]+'\x20at\x20'+_0x36f9be);else{const _0x848b82=path[_0x3551db(0x214)](helper['homedir'](),_0x3ec39e[_0x3551db(0x1d6)]);!fs['existsSync'](_0x848b82)&&fs[_0x3551db(0x21d)](_0x848b82),fs['existsSync'](path[_0x3551db(0x214)](_0x848b82,_0x3551db(0x21c)+_0x16ceef[_0x3551db(0x13e)]+_0x3551db(0x21b)))&&(_0x36f9be=fs[_0x3551db(0x215)](path[_0x3551db(0x214)](_0x848b82,_0x3551db(0x21c)+_0x16ceef['uuid']+_0x3551db(0x21b)),_0x3ec39e['MiFff']),_0x3ec39e[_0x3551db(0x162)](debug,_0x3551db(0x1de)+_0x16ceef[_0x3551db(0x13e)]+'\x20at\x20'+_0x36f9be));}const _0x3d47c7={};_0x3d47c7['event_type']=_0xc98c11,_0x3d47c7[_0x3551db(0x1a4)]=_0x3aa62b;const _0x15422d=_0x3d47c7;_0x36f9be&&_0x3ec39e[_0x3551db(0x1e0)](_0x36f9be,'')&&_0x3ec39e[_0x3551db(0x134)](_0xc98c11,_0x3ec39e[_0x3551db(0x199)])&&(!_0x15422d[_0x3551db(0x206)]&&(_0x15422d[_0x3551db(0x206)]=[]),_0x36f9be[_0x3551db(0x20c)]('\x0a')[_0x3551db(0x150)](_0x51c8ee=>{const _0x3312c8=_0x3551db;_0x51c8ee&&_0x3ec39e[_0x3312c8(0x1bd)](validateFilePath,_0x51c8ee)&&_0x15422d[_0x3312c8(0x206)][_0x3312c8(0x1b2)]({'kind':_0x3ec39e['lOwer'],'timestamp':new Date()[_0x3312c8(0x204)](),'test_run_uuid':_0x16ceef[_0x3312c8(0x13e)],'file_name':path[_0x3312c8(0x172)](_0x51c8ee),'file_size':fs[_0x3312c8(0x1bb)](_0x51c8ee)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x3551db(0x235)](_0x15422d);}['getCustomRerunParam'](_0x10dc74){const _0x5a0bfa=a45_0x52233c,_0x1968d1={};_0x1968d1['tFEfJ']=function(_0x2a2eff,_0x52b534){return _0x2a2eff===_0x52b534;},_0x1968d1['tusyv']=function(_0x3ed2fa,_0x523cbb){return _0x3ed2fa>_0x523cbb;},_0x1968d1[_0x5a0bfa(0x147)]=function(_0x5aa6e5,_0x5535d0){return _0x5aa6e5+_0x5535d0;},_0x1968d1['yYFCI']=function(_0x3f107f,_0x474d04){return _0x3f107f+_0x474d04;},_0x1968d1[_0x5a0bfa(0x1b3)]=function(_0x541282,_0x3b03d8){return _0x541282===_0x3b03d8;},_0x1968d1[_0x5a0bfa(0x16c)]=function(_0x22e95a,_0x2213e4){return _0x22e95a>_0x2213e4;},_0x1968d1['AqvqP']=function(_0x426599,_0x3b0c02){return _0x426599+_0x3b0c02;};const _0xfb1b29=_0x1968d1,_0xbcfeab=_0x10dc74[_0x5a0bfa(0x176)]()[_0x5a0bfa(0x189)](_0xba343=>{const _0x353db2=_0x5a0bfa;if(_0x10dc74[_0x353db2(0x220)]&&_0xfb1b29[_0x353db2(0x1cc)](_0xba343,_0x10dc74[_0x353db2(0x220)][_0x353db2(0x138)])&&_0x10dc74['parent'][_0x353db2(0x211)]&&_0xfb1b29[_0x353db2(0x157)](_0x10dc74[_0x353db2(0x220)][_0x353db2(0x211)]['length'],0x0))return _0xfb1b29['PeLJP'](_0xfb1b29[_0x353db2(0x224)](_0xba343,'\x20'),_0x10dc74[_0x353db2(0x220)][_0x353db2(0x211)][_0x353db2(0x214)]('\x20'));if(_0xfb1b29[_0x353db2(0x1b3)](_0xba343,_0x10dc74['title'])&&_0x10dc74[_0x353db2(0x211)]&&_0xfb1b29[_0x353db2(0x16c)](_0x10dc74['_tags'][_0x353db2(0x19e)],0x0))return _0xfb1b29[_0x353db2(0x196)](_0xfb1b29[_0x353db2(0x147)](_0xba343,'\x20'),_0x10dc74[_0x353db2(0x211)][_0x353db2(0x214)]('\x20'));return _0xba343;})[_0x5a0bfa(0x214)]('\x20');return _0xbcfeab;}static async[a45_0x52233c(0x133)](_0xfb80f0,_0x29938e){const _0x47aa4e=a45_0x52233c,_0x2a12a4={'mTFOp':function(_0x201248,_0x312fa6){return _0x201248(_0x312fa6);},'FhxTl':'CBTSessionCreated'},_0x389b46={'uuid':TestDetails[_0x47aa4e(0x141)](_0xfb80f0),'integrations':_0x29938e},_0x236cc4={};_0x236cc4['depth']=null,_0x2a12a4[_0x47aa4e(0x156)](debug,_0x47aa4e(0x13c)+_0xfb80f0+',\x20'+util['inspect'](_0x29938e,_0x236cc4));const _0x3dfca9={};_0x3dfca9[_0x47aa4e(0x12b)]=_0x2a12a4['FhxTl'],_0x3dfca9[_0x47aa4e(0x1a4)]=_0x389b46,await SessionHandler[_0x47aa4e(0x235)](_0x3dfca9);}async[a45_0x52233c(0x1c4)](){const _0x227e8f=a45_0x52233c,_0x7c4a80={'gVZvi':function(_0x2ee2a4){return _0x2ee2a4();}};if(this[_0x227e8f(0x164)])return;const _0x5b1d01=await _0x7c4a80[_0x227e8f(0x177)](getGitMetaData);_0x5b1d01&&(this[_0x227e8f(0x17f)]=_0x5b1d01[_0x227e8f(0x17b)]),this[_0x227e8f(0x164)]=!![];}[a45_0x52233c(0x161)](_0x5a23a6){const _0x24461f=a45_0x52233c,_0x1b4711={};_0x1b4711[_0x24461f(0x1a1)]=function(_0x291660,_0x2fd896){return _0x291660!==_0x2fd896;};const _0x5a1097=_0x1b4711,_0x3ff312=[];if(_0x5a23a6&&_0x5a23a6[_0x24461f(0x220)]){let _0x4e9eb5=_0x5a23a6[_0x24461f(0x220)];while(_0x4e9eb5&&_0x5a1097[_0x24461f(0x1a1)](_0x4e9eb5['title'],'')){_0x3ff312[_0x24461f(0x1b2)](_0x4e9eb5[_0x24461f(0x138)]),_0x4e9eb5=_0x4e9eb5[_0x24461f(0x220)];}}return _0x3ff312['reverse']()[_0x24461f(0x18a)](0x0,0x2),_0x3ff312;}['needToReportStep'](_0x144af8){const _0x2534ec=a45_0x52233c,_0x1a178a={};_0x1a178a[_0x2534ec(0x20d)]=function(_0x482293,_0x1e1554){return _0x482293===_0x1e1554;},_0x1a178a[_0x2534ec(0x187)]=_0x2534ec(0x183),_0x1a178a[_0x2534ec(0x209)]=function(_0x5072d6,_0x1513b9){return _0x5072d6!==_0x1513b9;},_0x1a178a['hynHc']='hook',_0x1a178a[_0x2534ec(0x15e)]=function(_0xff2bb1,_0xb8fb33){return _0xff2bb1===_0xb8fb33;},_0x1a178a[_0x2534ec(0x163)]=_0x2534ec(0x1aa),_0x1a178a[_0x2534ec(0x1fa)]=_0x2534ec(0x131),_0x1a178a['oVeZF']=_0x2534ec(0x1d4),_0x1a178a[_0x2534ec(0x12d)]='afterEach\x20hook';const _0x515ac9=_0x1a178a;if(_0x515ac9[_0x2534ec(0x20d)](_0x144af8[_0x2534ec(0x12c)],_0x515ac9[_0x2534ec(0x187)]))return!![];if(_0x515ac9['RQxHN'](_0x144af8['category'],_0x515ac9[_0x2534ec(0x21f)]))return![];if(_0x515ac9[_0x2534ec(0x15e)]([_0x515ac9[_0x2534ec(0x163)],_0x515ac9[_0x2534ec(0x1fa)],_0x515ac9[_0x2534ec(0x19c)],_0x515ac9['BBfRr']][_0x2534ec(0x208)](_0x144af8['title']),-0x1))return![];return!![];}['getStepIdentifier'](_0x5da820,_0x3e72f4){const _0x3f2dba=a45_0x52233c,_0x39ee56={'pjbpG':function(_0x7bb05f,_0x1da16a){return _0x7bb05f(_0x1da16a);}},_0x12e30e=_0x3e72f4[_0x3f2dba(0x174)];if(_0x12e30e)return _0x12e30e;return _0x3e72f4[_0x3f2dba(0x138)]+'\x20for\x20'+_0x39ee56[_0x3f2dba(0x165)](getTestIdentifier,_0x5da820);}[a45_0x52233c(0x225)](_0x454fbd,_0x3582a1){const _0x59291e=a45_0x52233c,_0x68c71f={'uJRLV':function(_0xf12975,_0x3cf6cc){return _0xf12975(_0x3cf6cc);},'IoELs':function(_0x529267){return _0x529267();}};let _0x2e8aa3=_0x3582a1['title']+_0x59291e(0x1b8)+_0x68c71f[_0x59291e(0x13b)](getTestIdentifier,_0x454fbd);return this[_0x59291e(0x19d)][_0x2e8aa3]&&(_0x2e8aa3=_0x2e8aa3+_0x59291e(0x1a2)+_0x68c71f[_0x59291e(0x1c5)](uuidv4)),_0x3582a1[_0x59291e(0x174)]=_0x2e8aa3,_0x2e8aa3;}['getHookType']=_0x260df5=>{const _0x35e7ed=a45_0x52233c,_0xa53148={};_0xa53148['cFdSB']=_0x35e7ed(0x1aa),_0xa53148['jZvfi']=_0x35e7ed(0x1ce),_0xa53148[_0x35e7ed(0x19b)]=_0x35e7ed(0x131),_0xa53148[_0x35e7ed(0x1c7)]=_0x35e7ed(0x194),_0xa53148[_0x35e7ed(0x1f7)]=_0x35e7ed(0x1ec),_0xa53148[_0x35e7ed(0x17c)]=_0x35e7ed(0x223),_0xa53148['julbt']=_0x35e7ed(0x1d4),_0xa53148[_0x35e7ed(0x1bf)]=_0x35e7ed(0x1fb),_0xa53148[_0x35e7ed(0x1a6)]=_0x35e7ed(0x1ff);const _0x3cd711=_0xa53148;if(_0x260df5[_0x35e7ed(0x15f)](_0x3cd711[_0x35e7ed(0x14e)]))return _0x3cd711[_0x35e7ed(0x178)];else{if(_0x260df5[_0x35e7ed(0x15f)](_0x3cd711['vocap']))return _0x3cd711[_0x35e7ed(0x1c7)];else{if(_0x260df5[_0x35e7ed(0x15f)](_0x3cd711[_0x35e7ed(0x1f7)]))return _0x3cd711[_0x35e7ed(0x17c)];else{if(_0x260df5[_0x35e7ed(0x15f)](_0x3cd711[_0x35e7ed(0x198)]))return _0x3cd711[_0x35e7ed(0x1bf)];}}}return _0x3cd711[_0x35e7ed(0x1a6)];};[a45_0x52233c(0x184)]=_0x13411c=>{const _0x4ce5d6=a45_0x52233c,_0x1e7dae={};_0x1e7dae['uvKWv']=function(_0xde2d69,_0x261ef0){return _0xde2d69===_0x261ef0;},_0x1e7dae[_0x4ce5d6(0x1ca)]=_0x4ce5d6(0x230);const _0x3bf496=_0x1e7dae;let _0x5db0f6=_0x13411c[_0x4ce5d6(0x220)];return _0x3bf496[_0x4ce5d6(0x173)](typeof _0x13411c[_0x4ce5d6(0x220)],_0x3bf496[_0x4ce5d6(0x1ca)])&&(_0x5db0f6=_0x5db0f6['title']),_0x5db0f6+_0x4ce5d6(0x1a2)+_0x13411c[_0x4ce5d6(0x138)];};[a45_0x52233c(0x1be)](){return![];}}function a45_0x5822(_0x23a0e,_0x3846b7){const _0x465b9e=a45_0x465b();return a45_0x5822=function(_0x5822a4,_0x37168f){_0x5822a4=_0x5822a4-0x129;let _0x59966d=_0x465b9e[_0x5822a4];return _0x59966d;},a45_0x5822(_0x23a0e,_0x3846b7);}module[a45_0x52233c(0x1f6)]=o11yClassErrorHandler(MyReporter,[a45_0x52233c(0x149),a45_0x52233c(0x1e7),a45_0x52233c(0x1e2),a45_0x52233c(0x186),'onStepBegin',a45_0x52233c(0x1cf),a45_0x52233c(0x133)],a45_0x52233c(0x1f8));
@@ -1 +1 @@
1
- const a46_0x1bcd03=a46_0x1fe0;function a46_0x1fe0(_0x364fae,_0x489db0){const _0x188bef=a46_0x188b();return a46_0x1fe0=function(_0x1fe002,_0x2a1ba9){_0x1fe002=_0x1fe002-0x117;let _0x5313ba=_0x188bef[_0x1fe002];return _0x5313ba;},a46_0x1fe0(_0x364fae,_0x489db0);}function a46_0x188b(){const _0x301c14=['setTestDetails','exports','BQKEh','nqrBR','3354YeKKWl','_traceZipPaths.json','_projectId','getTraceZipDir','YpbRG','PtHFA','_platformDetails.json','message','util','readFileSync','24YwvFYU','3980uFdtVT','getProjectIdFromTestInfo','_test','getFilePath','qsZcX','vWQeB','4pSriKM','shutdown','.browserstack','RACeQ','.json','env','force','cFywr','641184xJCCNB','trace_','getTestIdFromTestInfo','BS_TESTOPS_BUILD_HASHED_ID','getTestRunIdFromTestInfo','endsWith','getTraceFilePaths','winstonLogger','filePath','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','ZxOgB','581daXPsq','iAolJ','existsSync','utf8','WgGlp','../../../helpers/logger','string','KESCB','SWSab','__projectId','1mgKKrB','setIntegrations','join','getStoreDirName','1724558ZzgcYT','readdirSync','getStoreDirPath','traceZipPaths','Error\x20writing\x20trace\x20file:\x20','.txt','parse','Error\x20handling\x20trace\x20file\x20paths:\x20','TvuxT','rEwhL','aRMmX','696394PRNfiK','JIEWF','values','project','forEach','getIntegrations','push','homedir','fcqhL','setAccessibilityPlatformValidation','writeFileSync','getTestUUID','testId','kEPUs','default','lBjKp','addTraceFilePath','appendFileSync','odXNO','format','error','some','YgTMV','_integrations.json','toString','recursive','../../../helpers/helper','mkdirSync','863880tJCihW','weiIe','appendToTracePaths','uuid','4149EnBpwI','pid','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','1175570UDnzwZ','tests','Error\x20reading\x20trace\x20file\x20paths:\x20%s','stringify','getDirPath','path','BqjRn','getTestDetails'];a46_0x188b=function(){return _0x301c14;};return a46_0x188b();}(function(_0x5069be,_0x10d113){const _0x5e4d3c=a46_0x1fe0,_0x6fce1a=_0x5069be();while(!![]){try{const _0x166f35=-parseInt(_0x5e4d3c(0x15f))/0x1*(-parseInt(_0x5e4d3c(0x16e))/0x2)+-parseInt(_0x5e4d3c(0x14a))/0x3+parseInt(_0x5e4d3c(0x142))/0x4*(parseInt(_0x5e4d3c(0x125))/0x5)+-parseInt(_0x5e4d3c(0x131))/0x6*(-parseInt(_0x5e4d3c(0x155))/0x7)+-parseInt(_0x5e4d3c(0x11e))/0x8+parseInt(_0x5e4d3c(0x122))/0x9*(parseInt(_0x5e4d3c(0x13c))/0xa)+-parseInt(_0x5e4d3c(0x163))/0xb*(parseInt(_0x5e4d3c(0x13b))/0xc);if(_0x166f35===_0x10d113)break;else _0x6fce1a['push'](_0x6fce1a['shift']());}catch(_0x8d7556){_0x6fce1a['push'](_0x6fce1a['shift']());}}}(a46_0x188b,0x2b6fd));const fs=require('fs'),path=require(a46_0x1bcd03(0x12a)),{v4:uuidv4}=require(a46_0x1bcd03(0x121)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x1bcd03(0x15a))[a46_0x1bcd03(0x151)],{getLogDir}=require(a46_0x1bcd03(0x15a)),util=require(a46_0x1bcd03(0x139)),helper=require(a46_0x1bcd03(0x11c));class TestDetails{static [a46_0x1bcd03(0x126)]={};static['setup'](){const _0x1f5def=a46_0x1bcd03;this[_0x1f5def(0x143)]();const _0xdaa8e4={};_0xdaa8e4['recursive']=!![],fs[_0x1f5def(0x11d)](this['getDirPath'](),_0xdaa8e4);const _0x17cb33={};_0x17cb33[_0x1f5def(0x11b)]=!![],fs['mkdirSync'](this[_0x1f5def(0x134)](),_0x17cb33);}static[a46_0x1bcd03(0x162)](){const _0x445313=a46_0x1bcd03,_0x4ceba8={};_0x4ceba8[_0x445313(0x130)]=function(_0x3a858f,_0x3c2a1f){return _0x3a858f+_0x3c2a1f;};const _0x1ac21e=_0x4ceba8;return _0x1ac21e[_0x445313(0x130)](_0x1ac21e[_0x445313(0x130)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']);}static[a46_0x1bcd03(0x165)](){const _0x52fb4f=a46_0x1bcd03,_0x2da8b5={};_0x2da8b5['rEwhL']=function(_0x458199,_0x229ce4){return _0x458199+_0x229ce4;},_0x2da8b5['YpbRG']=function(_0xb973c,_0x238f9b){return _0xb973c+_0x238f9b;},_0x2da8b5[_0x52fb4f(0x136)]=_0x52fb4f(0x17c);const _0x1819d0=_0x2da8b5;return path[_0x52fb4f(0x161)](_0x1819d0[_0x52fb4f(0x16c)](_0x1819d0[_0x52fb4f(0x135)](TEMP_STORE_DIR_NAME,'-'),process[_0x52fb4f(0x147)][_0x52fb4f(0x14d)]||_0x1819d0[_0x52fb4f(0x136)]));}static['getTraceZipDir'](){const _0x994606=a46_0x1bcd03,_0x94cef7={};_0x94cef7['TvuxT']=_0x994606(0x166);const _0xc5f45a=_0x94cef7;return path[_0x994606(0x161)](this['getStoreDirPath'](),_0xc5f45a[_0x994606(0x16b)]);}static['getDirPath'](){return TestDetails['getStoreDirName']();}static[a46_0x1bcd03(0x13f)](_0x5497da){const _0x7b7664=a46_0x1bcd03,_0xbb30bc={};_0xbb30bc[_0x7b7664(0x156)]=function(_0x4b0679,_0x473b1d){return _0x4b0679+_0x473b1d;},_0xbb30bc[_0x7b7664(0x180)]=_0x7b7664(0x146);const _0x550f96=_0xbb30bc;return path[_0x7b7664(0x161)](this['getDirPath'](),_0x550f96[_0x7b7664(0x156)](_0x5497da,_0x550f96[_0x7b7664(0x180)]));}static[a46_0x1bcd03(0x14e)](_0x52665d){const _0x4eed19=a46_0x1bcd03,_0x320823={};_0x320823[_0x4eed19(0x145)]=function(_0x28e825,_0x41a9da){return _0x28e825+_0x41a9da;},_0x320823[_0x4eed19(0x16d)]=function(_0x599c43,_0x456b6c){return _0x599c43+_0x456b6c;},_0x320823[_0x4eed19(0x15d)]=function(_0x28d7df,_0x5a23e9){return _0x28d7df+_0x5a23e9;};const _0x3dc326=_0x320823;return _0x3dc326[_0x4eed19(0x145)](_0x3dc326[_0x4eed19(0x145)](_0x3dc326[_0x4eed19(0x16d)](_0x3dc326[_0x4eed19(0x15d)](this[_0x4eed19(0x13d)](_0x52665d),'-'),this[_0x4eed19(0x14c)](_0x52665d)),'-'),_0x52665d['retry']);}static['getProjectIdFromTestInfo'](_0xd081b3){const _0x342a0f=a46_0x1bcd03,_0x807cfb={'qsZcX':function(_0x48b747,_0x8953f3,_0x39d83b){return _0x48b747(_0x8953f3,_0x39d83b);},'cFywr':_0x342a0f(0x13e),'JIEWF':_0x342a0f(0x133),'vWQeB':_0x342a0f(0x171),'lBjKp':_0x342a0f(0x15e)};return _0x807cfb[_0x342a0f(0x140)](nestedKeyValue,_0xd081b3,[_0x807cfb[_0x342a0f(0x149)],_0x807cfb[_0x342a0f(0x16f)]])||_0x807cfb[_0x342a0f(0x140)](nestedKeyValue,_0xd081b3,[_0x807cfb[_0x342a0f(0x141)],_0x807cfb[_0x342a0f(0x17d)]]);}static[a46_0x1bcd03(0x14c)](_0xf0b8e3){const _0x2d95d4=a46_0x1bcd03,_0x31bedc={'KESCB':function(_0x3f48ec,_0xe523a2,_0x474223){return _0x3f48ec(_0xe523a2,_0x474223);},'YgTMV':'_test'};return _0x31bedc[_0x2d95d4(0x15c)](nestedKeyValue,_0xf0b8e3,[_0x31bedc[_0x2d95d4(0x118)],'id'])||_0xf0b8e3[_0x2d95d4(0x17a)];}static[a46_0x1bcd03(0x179)](_0x4207cb){const _0x574c88=a46_0x1bcd03,_0x4a8c23={'aLchQ':function(_0x577997,_0x3b5155){return _0x577997===_0x3b5155;},'BqjRn':_0x574c88(0x15b),'TAInG':function(_0x3194bc){return _0x3194bc();}};if(this['tests'][_0x4207cb]&&_0x4a8c23['aLchQ'](typeof this[_0x574c88(0x126)][_0x4207cb][_0x574c88(0x121)],_0x4a8c23[_0x574c88(0x12b)]))return this[_0x574c88(0x126)][_0x4207cb][_0x574c88(0x121)];const _0x38ac53=this['getFilePath'](_0x4207cb);if(_0x38ac53&&fs[_0x574c88(0x157)](_0x38ac53)){const _0x496b05=JSON[_0x574c88(0x169)](fs['readFileSync'](_0x38ac53)['toString']());return this['tests'][_0x4207cb]=_0x496b05,this[_0x574c88(0x126)][_0x4207cb][_0x574c88(0x121)];}return this[_0x574c88(0x126)][_0x4207cb]={'uuid':_0x4a8c23['TAInG'](uuidv4)},fs[_0x574c88(0x178)](_0x38ac53,JSON[_0x574c88(0x128)](this['tests'][_0x4207cb])),this[_0x574c88(0x126)][_0x4207cb][_0x574c88(0x121)];}static['getAccessibilityPlatformValidation'](_0x52782b){const _0x365ff6=a46_0x1bcd03,_0x2634f1=path['join'](this[_0x365ff6(0x129)](),_0x52782b+'_platformDetails.json');if(_0x2634f1&&fs['existsSync'](_0x2634f1))return fs[_0x365ff6(0x13a)](_0x2634f1)[_0x365ff6(0x11a)]();}static[a46_0x1bcd03(0x177)](_0x59fcd4,_0x4850fc){const _0x228e43=a46_0x1bcd03,_0x68b1b5=path[_0x228e43(0x161)](this[_0x228e43(0x129)](),_0x4850fc+_0x228e43(0x137));fs[_0x228e43(0x178)](_0x68b1b5,_0x59fcd4[_0x228e43(0x11a)]());}static[a46_0x1bcd03(0x173)](_0x2956fc){const _0x5a4a68=a46_0x1bcd03,_0x292f95=path[_0x5a4a68(0x161)](this[_0x5a4a68(0x129)](),_0x2956fc+'_integrations.json');if(_0x292f95&&fs[_0x5a4a68(0x157)](_0x292f95))try{return JSON[_0x5a4a68(0x169)](fs[_0x5a4a68(0x13a)](_0x292f95)['toString']());}catch(_0x5b5f6a){return logger['debug'](_0x5a4a68(0x153)+_0x2956fc+':\x20'+(_0x5b5f6a&&_0x5b5f6a['message'])),null;}return null;}static[a46_0x1bcd03(0x160)](_0x4aef8a,_0x2753f1){const _0x47b4b5=a46_0x1bcd03,_0x481d58={};_0x481d58['WgGlp']=function(_0x5cd4dc,_0xe6298){return _0x5cd4dc||_0xe6298;};const _0x41f581=_0x481d58;if(_0x41f581[_0x47b4b5(0x159)](!_0x4aef8a,!_0x2753f1))return;try{const _0x44ad98=this['getDirPath'](),_0x256f8f={};_0x256f8f['recursive']=!![],fs[_0x47b4b5(0x11d)](_0x44ad98,_0x256f8f);const _0xcca23=path[_0x47b4b5(0x161)](_0x44ad98,_0x4aef8a+_0x47b4b5(0x119));fs[_0x47b4b5(0x178)](_0xcca23,JSON[_0x47b4b5(0x128)](_0x2753f1));}catch(_0x3cb668){logger['debug'](_0x47b4b5(0x124)+_0x4aef8a+':\x20'+(_0x3cb668&&_0x3cb668[_0x47b4b5(0x138)]));}}static[a46_0x1bcd03(0x143)](){const _0x4f41b1=a46_0x1bcd03,_0x8363af={};_0x8363af[_0x4f41b1(0x11b)]=!![],_0x8363af[_0x4f41b1(0x148)]=!![],fs['rmSync'](this[_0x4f41b1(0x129)](),_0x8363af);}static[a46_0x1bcd03(0x12c)](_0x2bb951){const _0x2b045d=a46_0x1bcd03;if(this[_0x2b045d(0x126)][_0x2bb951])return this[_0x2b045d(0x126)][_0x2bb951];const _0x3f88b9=this['getFilePath'](_0x2bb951);if(_0x3f88b9&&fs[_0x2b045d(0x157)](_0x3f88b9)){const _0x5e4243=JSON[_0x2b045d(0x169)](fs['readFileSync'](_0x3f88b9)[_0x2b045d(0x11a)]());return this[_0x2b045d(0x126)][_0x2bb951]=_0x5e4243,_0x5e4243;}return{};}static[a46_0x1bcd03(0x12d)](_0x33ab63,_0x149bd0){const _0x1dc1b3=a46_0x1bcd03,_0x165bb3=this[_0x1dc1b3(0x13f)](_0x33ab63);if(_0x165bb3&&fs[_0x1dc1b3(0x157)](_0x165bb3)){const _0x279467=JSON[_0x1dc1b3(0x169)](fs[_0x1dc1b3(0x13a)](_0x165bb3)['toString']()),_0x48b73f={..._0x279467,..._0x149bd0};this[_0x1dc1b3(0x126)][_0x33ab63]=_0x48b73f;}else this[_0x1dc1b3(0x126)][_0x33ab63]=_0x149bd0;fs[_0x1dc1b3(0x178)](_0x165bb3,this['tests'][_0x33ab63]);}static[a46_0x1bcd03(0x17e)](_0x22439e){const _0x1b40cb=a46_0x1bcd03,_0xe03521={};_0xe03521[_0x1b40cb(0x12f)]=_0x1b40cb(0x16a);const _0x50722a=_0xe03521;try{const _0x51954c=process[_0x1b40cb(0x123)],_0x2dd414=path[_0x1b40cb(0x161)](TestDetails[_0x1b40cb(0x134)](),_0x51954c+_0x1b40cb(0x132));let _0x545732=[];_0x2dd414&&fs[_0x1b40cb(0x157)](_0x2dd414)&&(_0x545732=JSON[_0x1b40cb(0x169)](fs[_0x1b40cb(0x13a)](_0x2dd414)[_0x1b40cb(0x11a)]())),!_0x545732[_0x1b40cb(0x117)](_0x300f71=>_0x300f71['filePath']===_0x22439e[_0x1b40cb(0x152)])&&(_0x545732[_0x1b40cb(0x174)](_0x22439e),fs[_0x1b40cb(0x178)](_0x2dd414,JSON[_0x1b40cb(0x128)](_0x545732)));}catch(_0x132e71){logger[_0x1b40cb(0x182)](_0x50722a[_0x1b40cb(0x12f)],_0x132e71);}}static[a46_0x1bcd03(0x150)](){const _0x141103=a46_0x1bcd03,_0x5eb9c5={};_0x5eb9c5[_0x141103(0x11f)]=_0x141103(0x132),_0x5eb9c5[_0x141103(0x176)]=_0x141103(0x127);const _0x49c243=_0x5eb9c5,_0x2690d3=[];try{const _0xa47db2=TestDetails[_0x141103(0x134)]();if(_0xa47db2&&!fs[_0x141103(0x157)](_0xa47db2))return _0x2690d3;const _0x4c30a=fs[_0x141103(0x164)](_0xa47db2);_0x4c30a[_0x141103(0x172)](_0x243d15=>{const _0x19b6b2=_0x141103;if(_0x243d15&&_0x243d15[_0x19b6b2(0x14f)](_0x49c243[_0x19b6b2(0x11f)])){const _0x3d7a33=JSON[_0x19b6b2(0x169)](fs[_0x19b6b2(0x13a)](path[_0x19b6b2(0x161)](_0xa47db2,_0x243d15))[_0x19b6b2(0x11a)]());_0x2690d3[_0x19b6b2(0x174)](..._0x3d7a33);}});}catch(_0x36663c){logger[_0x141103(0x182)](util[_0x141103(0x181)](_0x49c243[_0x141103(0x176)],_0x36663c));}const _0x292215={};return _0x2690d3['forEach'](_0x188164=>{const _0x352e13=_0x141103;_0x292215[_0x188164[_0x352e13(0x152)]]=_0x188164;}),Object[_0x141103(0x170)](_0x292215);}static[a46_0x1bcd03(0x120)](_0x3b4991,_0xd84b0a){const _0x7e682=a46_0x1bcd03,_0x33bcd5={};_0x33bcd5[_0x7e682(0x17b)]=_0x7e682(0x144),_0x33bcd5[_0x7e682(0x154)]=_0x7e682(0x158);const _0x4b6ea8=_0x33bcd5;try{const _0x16fea2=path[_0x7e682(0x161)](helper[_0x7e682(0x175)](),_0x4b6ea8[_0x7e682(0x17b)]);if(!fs[_0x7e682(0x157)](_0x16fea2)){const _0xff89bf={};_0xff89bf[_0x7e682(0x11b)]=!![],fs[_0x7e682(0x11d)](_0x16fea2,_0xff89bf);}fs[_0x7e682(0x17f)](path[_0x7e682(0x161)](_0x16fea2,_0x7e682(0x14b)+_0xd84b0a+_0x7e682(0x168)),_0x3b4991+'\x0a',_0x4b6ea8[_0x7e682(0x154)]);}catch(_0x4f4711){console[_0x7e682(0x182)](_0x7e682(0x167)+_0x4f4711[_0x7e682(0x138)]);}}}module[a46_0x1bcd03(0x12e)]=TestDetails;
1
+ const a46_0x4e5bf3=a46_0x26fa;(function(_0x2a6a7e,_0x268df8){const _0x10f35e=a46_0x26fa,_0x3550bb=_0x2a6a7e();while(!![]){try{const _0x48ab29=-parseInt(_0x10f35e(0x102))/0x1+parseInt(_0x10f35e(0xfc))/0x2+-parseInt(_0x10f35e(0x11e))/0x3*(-parseInt(_0x10f35e(0x131))/0x4)+-parseInt(_0x10f35e(0x123))/0x5*(-parseInt(_0x10f35e(0x158))/0x6)+parseInt(_0x10f35e(0xf9))/0x7*(-parseInt(_0x10f35e(0x120))/0x8)+parseInt(_0x10f35e(0x13d))/0x9*(-parseInt(_0x10f35e(0x153))/0xa)+parseInt(_0x10f35e(0xf7))/0xb*(parseInt(_0x10f35e(0x135))/0xc);if(_0x48ab29===_0x268df8)break;else _0x3550bb['push'](_0x3550bb['shift']());}catch(_0x18b244){_0x3550bb['push'](_0x3550bb['shift']());}}}(a46_0x49ca,0xbdf63));const fs=require('fs'),path=require(a46_0x4e5bf3(0x157)),{v4:uuidv4}=require(a46_0x4e5bf3(0x152)),{TEMP_STORE_DIR_NAME}=require(a46_0x4e5bf3(0x130)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x4e5bf3(0x138))[a46_0x4e5bf3(0xfe)],{getLogDir}=require(a46_0x4e5bf3(0x138)),util=require(a46_0x4e5bf3(0xf6)),helper=require(a46_0x4e5bf3(0x107));function a46_0x26fa(_0x40d986,_0x162c85){const _0x49cac1=a46_0x49ca();return a46_0x26fa=function(_0x26fa45,_0x481017){_0x26fa45=_0x26fa45-0xf6;let _0x51f852=_0x49cac1[_0x26fa45];return _0x51f852;},a46_0x26fa(_0x40d986,_0x162c85);}class TestDetails{static [a46_0x4e5bf3(0x121)]={};static[a46_0x4e5bf3(0x111)](){const _0xe47fea=a46_0x4e5bf3;this['shutdown']();const _0xc9d050={};_0xc9d050[_0xe47fea(0x125)]=!![],fs[_0xe47fea(0x115)](this['getDirPath'](),_0xc9d050);const _0x2b251a={};_0x2b251a['recursive']=!![],fs[_0xe47fea(0x115)](this['getTraceZipDir'](),_0x2b251a);}static[a46_0x4e5bf3(0x150)](){const _0x590ab3=a46_0x4e5bf3,_0xce8007={};_0xce8007[_0x590ab3(0x128)]=function(_0x2c6ab6,_0x30d18f){return _0x2c6ab6+_0x30d18f;},_0xce8007[_0x590ab3(0x10f)]=function(_0x33cd7a,_0x5b97e1){return _0x33cd7a+_0x5b97e1;};const _0x22d4bc=_0xce8007;return _0x22d4bc[_0x590ab3(0x128)](_0x22d4bc['BDqEL'](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x590ab3(0x139)]);}static[a46_0x4e5bf3(0xf8)](){const _0x3a5081=a46_0x4e5bf3,_0x50dc2c={};_0x50dc2c[_0x3a5081(0x129)]=function(_0x44e22b,_0x5515bd){return _0x44e22b+_0x5515bd;},_0x50dc2c['HVPju']=function(_0x2f5509,_0x5c1dae){return _0x2f5509+_0x5c1dae;},_0x50dc2c[_0x3a5081(0xff)]=_0x3a5081(0x159);const _0x192aa2=_0x50dc2c;return path[_0x3a5081(0x141)](_0x192aa2[_0x3a5081(0x129)](_0x192aa2[_0x3a5081(0x118)](TEMP_STORE_DIR_NAME,'-'),process[_0x3a5081(0xfa)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x192aa2[_0x3a5081(0xff)]));}static[a46_0x4e5bf3(0x132)](){const _0x25aa92=a46_0x4e5bf3,_0x3695e1={};_0x3695e1[_0x25aa92(0x10a)]=_0x25aa92(0x146);const _0x5ca4a3=_0x3695e1;return path[_0x25aa92(0x141)](this[_0x25aa92(0xf8)](),_0x5ca4a3[_0x25aa92(0x10a)]);}static['getDirPath'](){const _0x512031=a46_0x4e5bf3;return TestDetails[_0x512031(0x150)]();}static[a46_0x4e5bf3(0x127)](_0x1b4fb5){const _0x16442a=a46_0x4e5bf3,_0x67383a={};_0x67383a['NqZnc']=function(_0x426084,_0x5bacb0){return _0x426084+_0x5bacb0;},_0x67383a['jVcRf']=_0x16442a(0xfd);const _0x34dbb8=_0x67383a;return path[_0x16442a(0x141)](this['getDirPath'](),_0x34dbb8[_0x16442a(0x126)](_0x1b4fb5,_0x34dbb8[_0x16442a(0x137)]));}static[a46_0x4e5bf3(0x12e)](_0xaa9cec){const _0x227425=a46_0x4e5bf3,_0x3a2201={};_0x3a2201[_0x227425(0x10e)]=function(_0x3252f8,_0x423c23){return _0x3252f8+_0x423c23;},_0x3a2201[_0x227425(0xfb)]=function(_0x17b8bd,_0x367c76){return _0x17b8bd+_0x367c76;},_0x3a2201[_0x227425(0x147)]=function(_0x49f8e0,_0x20fcf8){return _0x49f8e0+_0x20fcf8;},_0x3a2201[_0x227425(0x133)]=function(_0x418c47,_0x5bc70d){return _0x418c47+_0x5bc70d;};const _0x339904=_0x3a2201;return _0x339904[_0x227425(0x10e)](_0x339904[_0x227425(0xfb)](_0x339904[_0x227425(0x147)](_0x339904['CGHVo'](this['getProjectIdFromTestInfo'](_0xaa9cec),'-'),this[_0x227425(0x124)](_0xaa9cec)),'-'),_0xaa9cec[_0x227425(0x144)]);}static[a46_0x4e5bf3(0x11c)](_0x2f56fc){const _0x574168=a46_0x4e5bf3,_0x4359f7={'PVSeX':function(_0x4ebfe2,_0x51c758,_0x6b3fee){return _0x4ebfe2(_0x51c758,_0x6b3fee);},'WwKcg':_0x574168(0x154),'ZvZpc':_0x574168(0x109),'NpyIa':_0x574168(0x140),'AzeYL':_0x574168(0x11b)};return _0x4359f7[_0x574168(0x114)](nestedKeyValue,_0x2f56fc,[_0x4359f7[_0x574168(0x14a)],_0x4359f7[_0x574168(0x155)]])||_0x4359f7[_0x574168(0x114)](nestedKeyValue,_0x2f56fc,[_0x4359f7['NpyIa'],_0x4359f7[_0x574168(0x10b)]]);}static[a46_0x4e5bf3(0x124)](_0x405889){const _0x1bb412=a46_0x4e5bf3,_0x3866ae={'ezSFZ':function(_0x389bf8,_0x23bd48,_0x5c9dcc){return _0x389bf8(_0x23bd48,_0x5c9dcc);},'hlEqV':_0x1bb412(0x154)};return _0x3866ae[_0x1bb412(0x12d)](nestedKeyValue,_0x405889,[_0x3866ae[_0x1bb412(0x14b)],'id'])||_0x405889['testId'];}static['getTestUUID'](_0xde80){const _0xa1a315=a46_0x4e5bf3,_0x3e5c75={'haHwd':function(_0x41643c,_0x42c3e1){return _0x41643c===_0x42c3e1;},'PCcdP':'string','pfbpp':function(_0x2d7041){return _0x2d7041();}};if(this['tests'][_0xde80]&&_0x3e5c75[_0xa1a315(0x12c)](typeof this['tests'][_0xde80][_0xa1a315(0x152)],_0x3e5c75[_0xa1a315(0x143)]))return this[_0xa1a315(0x121)][_0xde80][_0xa1a315(0x152)];const _0x40e045=this[_0xa1a315(0x127)](_0xde80);if(_0x40e045&&fs['existsSync'](_0x40e045)){const _0x13f55e=JSON[_0xa1a315(0x11d)](fs[_0xa1a315(0x142)](_0x40e045)[_0xa1a315(0x148)]());return this['tests'][_0xde80]=_0x13f55e,this[_0xa1a315(0x121)][_0xde80][_0xa1a315(0x152)];}return this[_0xa1a315(0x121)][_0xde80]={'uuid':_0x3e5c75[_0xa1a315(0x14f)](uuidv4)},fs[_0xa1a315(0x13e)](_0x40e045,JSON[_0xa1a315(0x112)](this['tests'][_0xde80])),this['tests'][_0xde80]['uuid'];}static[a46_0x4e5bf3(0x11f)](_0x1930a0){const _0x3a935e=a46_0x4e5bf3,_0x508894=path['join'](this[_0x3a935e(0x12a)](),_0x1930a0+'_platformDetails.json');if(_0x508894&&fs[_0x3a935e(0x15a)](_0x508894))return fs[_0x3a935e(0x142)](_0x508894)[_0x3a935e(0x148)]();}static[a46_0x4e5bf3(0x116)](_0x306e6f,_0x3ba46f){const _0x5a6f20=a46_0x4e5bf3,_0x1e01fd=path['join'](this[_0x5a6f20(0x12a)](),_0x3ba46f+_0x5a6f20(0x14e));fs[_0x5a6f20(0x13e)](_0x1e01fd,_0x306e6f[_0x5a6f20(0x148)]());}static['getIntegrations'](_0x128384){const _0x25f461=a46_0x4e5bf3,_0x962f86=path[_0x25f461(0x141)](this['getDirPath'](),_0x128384+'_integrations.json');if(_0x962f86&&fs[_0x25f461(0x15a)](_0x962f86))try{return JSON[_0x25f461(0x11d)](fs[_0x25f461(0x142)](_0x962f86)[_0x25f461(0x148)]());}catch(_0x295461){return logger[_0x25f461(0x100)](_0x25f461(0x119)+_0x128384+':\x20'+(_0x295461&&_0x295461['message'])),null;}return null;}static[a46_0x4e5bf3(0x12b)](_0x249468,_0x3ab9e9){const _0x1aca08=a46_0x4e5bf3,_0xb6cb16={};_0xb6cb16[_0x1aca08(0x105)]=function(_0x416b90,_0x24aac7){return _0x416b90||_0x24aac7;};const _0x2e8a33=_0xb6cb16;if(_0x2e8a33['VDxUH'](!_0x249468,!_0x3ab9e9))return;try{const _0x26bd3d=this[_0x1aca08(0x12a)](),_0x376115={};_0x376115['recursive']=!![],fs[_0x1aca08(0x115)](_0x26bd3d,_0x376115);const _0x2bf31a=path[_0x1aca08(0x141)](_0x26bd3d,_0x249468+_0x1aca08(0x13c));fs[_0x1aca08(0x13e)](_0x2bf31a,JSON[_0x1aca08(0x112)](_0x3ab9e9));}catch(_0x25da68){logger[_0x1aca08(0x100)](_0x1aca08(0x10c)+_0x249468+':\x20'+(_0x25da68&&_0x25da68[_0x1aca08(0x10d)]));}}static['shutdown'](){const _0x398719=a46_0x4e5bf3,_0xb8bb7f={};_0xb8bb7f[_0x398719(0x125)]=!![],_0xb8bb7f['force']=!![],fs[_0x398719(0x11a)](this[_0x398719(0x12a)](),_0xb8bb7f);}static[a46_0x4e5bf3(0x104)](_0x497ce1){const _0x36166e=a46_0x4e5bf3;if(this[_0x36166e(0x121)][_0x497ce1])return this[_0x36166e(0x121)][_0x497ce1];const _0x46428f=this['getFilePath'](_0x497ce1);if(_0x46428f&&fs[_0x36166e(0x15a)](_0x46428f)){const _0x1a62ad=JSON['parse'](fs[_0x36166e(0x142)](_0x46428f)[_0x36166e(0x148)]());return this[_0x36166e(0x121)][_0x497ce1]=_0x1a62ad,_0x1a62ad;}return{};}static['setTestDetails'](_0x104704,_0x51d289){const _0x153266=a46_0x4e5bf3,_0x1a97f3=this[_0x153266(0x127)](_0x104704);if(_0x1a97f3&&fs['existsSync'](_0x1a97f3)){const _0x31e6ba=JSON[_0x153266(0x11d)](fs[_0x153266(0x142)](_0x1a97f3)[_0x153266(0x148)]()),_0x1cb7af={..._0x31e6ba,..._0x51d289};this[_0x153266(0x121)][_0x104704]=_0x1cb7af;}else this[_0x153266(0x121)][_0x104704]=_0x51d289;fs['writeFileSync'](_0x1a97f3,this['tests'][_0x104704]);}static[a46_0x4e5bf3(0x151)](_0x372de4){const _0x7c2816=a46_0x4e5bf3,_0x1af33={};_0x1af33[_0x7c2816(0x12f)]=_0x7c2816(0x134);const _0x5c2781=_0x1af33;try{const _0xa6e56c=process[_0x7c2816(0x117)],_0x284215=path[_0x7c2816(0x141)](TestDetails[_0x7c2816(0x132)](),_0xa6e56c+_0x7c2816(0x13b));let _0x6a96da=[];_0x284215&&fs[_0x7c2816(0x15a)](_0x284215)&&(_0x6a96da=JSON[_0x7c2816(0x11d)](fs[_0x7c2816(0x142)](_0x284215)[_0x7c2816(0x148)]())),!_0x6a96da['some'](_0x1518ab=>_0x1518ab[_0x7c2816(0x122)]===_0x372de4[_0x7c2816(0x122)])&&(_0x6a96da['push'](_0x372de4),fs['writeFileSync'](_0x284215,JSON['stringify'](_0x6a96da)));}catch(_0xdd5fe7){logger['error'](_0x5c2781[_0x7c2816(0x12f)],_0xdd5fe7);}}static[a46_0x4e5bf3(0x13f)](){const _0x43a615=a46_0x4e5bf3,_0x410413={};_0x410413[_0x43a615(0x103)]=_0x43a615(0x13b),_0x410413[_0x43a615(0x106)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x4982af=_0x410413,_0x110a8a=[];try{const _0xff7091=TestDetails[_0x43a615(0x132)]();if(_0xff7091&&!fs[_0x43a615(0x15a)](_0xff7091))return _0x110a8a;const _0xe5f695=fs['readdirSync'](_0xff7091);_0xe5f695[_0x43a615(0x113)](_0x241109=>{const _0x206f9e=_0x43a615;if(_0x241109&&_0x241109[_0x206f9e(0x136)](_0x4982af[_0x206f9e(0x103)])){const _0xc912be=JSON[_0x206f9e(0x11d)](fs['readFileSync'](path[_0x206f9e(0x141)](_0xff7091,_0x241109))[_0x206f9e(0x148)]());_0x110a8a['push'](..._0xc912be);}});}catch(_0x4d75c4){logger['error'](util[_0x43a615(0x14c)](_0x4982af[_0x43a615(0x106)],_0x4d75c4));}const _0x34104d={};return _0x110a8a[_0x43a615(0x113)](_0x37c498=>{const _0x3284f6=_0x43a615;_0x34104d[_0x37c498[_0x3284f6(0x122)]]=_0x37c498;}),Object['values'](_0x34104d);}static[a46_0x4e5bf3(0x149)](_0x41c8b8,_0x4c7de5){const _0x41a700=a46_0x4e5bf3,_0x4116b5={};_0x4116b5[_0x41a700(0x110)]='.browserstack',_0x4116b5['MesZI']=_0x41a700(0x108);const _0xc357cf=_0x4116b5;try{const _0x28decd=path[_0x41a700(0x141)](helper[_0x41a700(0x14d)](),_0xc357cf[_0x41a700(0x110)]);if(!fs[_0x41a700(0x15a)](_0x28decd)){const _0x500325={};_0x500325['recursive']=!![],fs[_0x41a700(0x115)](_0x28decd,_0x500325);}fs[_0x41a700(0x145)](path[_0x41a700(0x141)](_0x28decd,'trace_'+_0x4c7de5+_0x41a700(0x156)),_0x41c8b8+'\x0a',_0xc357cf['MesZI']);}catch(_0x599c85){console[_0x41a700(0x13a)](_0x41a700(0x101)+_0x599c85[_0x41a700(0x10d)]);}}}module['exports']=TestDetails;function a46_0x49ca(){const _0x3ce76b=['tests','filePath','14450XFXGFO','getTestIdFromTestInfo','recursive','NqZnc','getFilePath','HXlMy','EmjUr','getDirPath','setIntegrations','haHwd','ezSFZ','getTestRunIdFromTestInfo','nKbrG','../../../helpers/test-observability/constants','1794380BHeKdt','getTraceZipDir','CGHVo','Error\x20handling\x20trace\x20file\x20paths:\x20','15944436UCKPPa','endsWith','jVcRf','../../../helpers/logger','BS_TESTOPS_BUILD_HASHED_ID','error','_traceZipPaths.json','_integrations.json','41229CCaRxA','writeFileSync','getTraceFilePaths','project','join','readFileSync','PCcdP','retry','appendFileSync','traceZipPaths','uLnie','toString','appendToTracePaths','WwKcg','hlEqV','format','homedir','_platformDetails.json','pfbpp','getStoreDirName','addTraceFilePath','uuid','2050wXIyHt','_test','ZvZpc','.txt','path','1842yiKELp','default','existsSync','util','11KvGSve','getStoreDirPath','81053EjTdxF','env','FMnmk','294996EkRmsR','.json','winstonLogger','EVTYQ','debug','Error\x20writing\x20trace\x20file:\x20','1531854iqbzkX','BByzy','getTestDetails','VDxUH','YbchL','../../../helpers/helper','utf8','_projectId','dlSZY','AzeYL','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','message','daVLe','BDqEL','vInkJ','setup','stringify','forEach','PVSeX','mkdirSync','setAccessibilityPlatformValidation','pid','HVPju','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','rmSync','__projectId','getProjectIdFromTestInfo','parse','6dwawJI','getAccessibilityPlatformValidation','8JnzmTT'];a46_0x49ca=function(){return _0x3ce76b;};return a46_0x49ca();}
@@ -1 +1 @@
1
- const a47_0x39ff75=a47_0x3bef;(function(_0x305379,_0x58da7b){const _0x41b632=a47_0x3bef,_0x5c4913=_0x305379();while(!![]){try{const _0x141182=-parseInt(_0x41b632(0x1e0))/0x1*(-parseInt(_0x41b632(0x1b5))/0x2)+-parseInt(_0x41b632(0x191))/0x3+-parseInt(_0x41b632(0x1e2))/0x4+parseInt(_0x41b632(0x187))/0x5*(-parseInt(_0x41b632(0x1d2))/0x6)+-parseInt(_0x41b632(0x1a7))/0x7+parseInt(_0x41b632(0x1dd))/0x8*(parseInt(_0x41b632(0x1c8))/0x9)+parseInt(_0x41b632(0x227))/0xa;if(_0x141182===_0x58da7b)break;else _0x5c4913['push'](_0x5c4913['shift']());}catch(_0x4dd89b){_0x5c4913['push'](_0x5c4913['shift']());}}}(a47_0x2a53,0xbcbfe));const path=require(a47_0x39ff75(0x215)),url=require(a47_0x39ff75(0x211)),util=require(a47_0x39ff75(0x1dc)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a47_0x39ff75(0x1ac)),{o11yErrorHandler}=require(a47_0x39ff75(0x21d)),{debug,getPlatformDetails}=require(a47_0x39ff75(0x1fe)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x39ff75(0x1f9)),logger=require('../../helpers/logger')[a47_0x39ff75(0x22a)],scripts=require(a47_0x39ff75(0x21c)),{browserStackExecuteDriver}=require(a47_0x39ff75(0x20c)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a47_0x39ff75(0x18b)),BrowserstackCLI=require(a47_0x39ff75(0x186)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a47_0x39ff75(0x19c)),{performScanWithRetry}=require(a47_0x39ff75(0x1f4)),ClientTroubleShootingService=require(a47_0x39ff75(0x214)),getBrowserNameFromChannel=_0x2cf180=>{const _0x1bff35=a47_0x39ff75,_0x433cb0={};_0x433cb0[_0x1bff35(0x1a2)]=_0x1bff35(0x216),_0x433cb0['dwbql']=function(_0x271030,_0x2beed7){return _0x271030===_0x2beed7;},_0x433cb0['zakST']='webkit',_0x433cb0[_0x1bff35(0x1c7)]=_0x1bff35(0x1cd),_0x433cb0[_0x1bff35(0x1d8)]='firefox',_0x433cb0['HbPBk']=_0x1bff35(0x1d4),_0x433cb0[_0x1bff35(0x232)]=_0x1bff35(0x192),_0x433cb0[_0x1bff35(0x221)]=_0x1bff35(0x1aa);const _0x389c6a=_0x433cb0,_0x34dce4=_0x389c6a[_0x1bff35(0x1a2)]['split']('|');let _0x4aa0f5=0x0;while(!![]){switch(_0x34dce4[_0x4aa0f5++]){case'0':if(_0x389c6a[_0x1bff35(0x1a0)](_0x2cf180,_0x389c6a['zakST']))return _0x389c6a['zakST'];continue;case'1':if(_0x2cf180[_0x1bff35(0x21b)](_0x389c6a[_0x1bff35(0x1c7)]))return _0x389c6a[_0x1bff35(0x1c7)];continue;case'2':if(_0x2cf180[_0x1bff35(0x21b)](_0x389c6a[_0x1bff35(0x1d8)]))return _0x389c6a[_0x1bff35(0x1d8)];continue;case'3':if(_0x2cf180['includes'](_0x389c6a[_0x1bff35(0x229)]))return _0x389c6a[_0x1bff35(0x229)];continue;case'4':if(_0x2cf180[_0x1bff35(0x21b)](_0x389c6a[_0x1bff35(0x232)]))return _0x389c6a[_0x1bff35(0x232)];continue;case'5':if(_0x2cf180[_0x1bff35(0x21b)](_0x389c6a[_0x1bff35(0x221)]))return _0x389c6a[_0x1bff35(0x221)];continue;}break;}},getBrowserFromWSEndpoint=_0x3cefd4=>{const _0x5289c6=a47_0x39ff75,_0x5b72d8={'aSwkp':_0x5289c6(0x192),'vRDHl':function(_0x439986,_0x8c2239){return _0x439986(_0x8c2239);}};try{const _0x296390=url[_0x5289c6(0x1ff)](_0x3cefd4),_0x53dc28=new URLSearchParams(_0x296390[_0x5289c6(0x1b7)]),_0x1c239e=Object[_0x5289c6(0x1af)](_0x53dc28[_0x5289c6(0x1c4)]()),_0x592233=JSON[_0x5289c6(0x1ff)](_0x1c239e['caps']);if(_0x592233&&(_0x592233['browser']||_0x592233['browserName']))return _0x592233[_0x5289c6(0x183)]||_0x592233['browserName'];return _0x5b72d8['aSwkp'];}catch(_0x525021){_0x5b72d8[_0x5289c6(0x224)](debug,_0x5289c6(0x1ef)+_0x525021[_0x5289c6(0x1b8)]());}},getCloudProviderFromWsEndpoint=_0xeaed12=>{const _0xe69ed6=a47_0x39ff75,_0x3138a4={};_0x3138a4[_0xe69ed6(0x1ed)]=_0xe69ed6(0x185),_0x3138a4[_0xe69ed6(0x180)]=_0xe69ed6(0x1d3);const _0x35fdbf=_0x3138a4;if(_0xeaed12[_0xe69ed6(0x21b)](constants[_0xe69ed6(0x193)])||_0xeaed12[_0xe69ed6(0x21b)](constants[_0xe69ed6(0x21f)]))return _0x35fdbf[_0xe69ed6(0x1ed)];return _0x35fdbf['AOKyq'];},a47_0xed3ae1={};a47_0xed3ae1['cloudProvider']=undefined,a47_0xed3ae1[a47_0x39ff75(0x19a)]=undefined,a47_0xed3ae1[a47_0x39ff75(0x183)]=undefined,a47_0xed3ae1[a47_0x39ff75(0x188)]=undefined,a47_0xed3ae1[a47_0x39ff75(0x1f1)]=undefined,a47_0xed3ae1[a47_0x39ff75(0x204)]=undefined,a47_0xed3ae1[a47_0x39ff75(0x1b2)]=undefined,a47_0xed3ae1[a47_0x39ff75(0x1fc)]={};function a47_0x2a53(){const _0x1bcaec=['sessionId','__workerDetails','dispatch','titlePath','dlpkc','currentTest','entries','rePSO','eIZav','uVSVM','9WWBgZg','Not\x20able\x20to\x20import\x20crConnection','oUqMj','bStackParams','lib','edge','rlLzR','prototype','oXxFK','uKkYE','4434TnuRGK','unknown_grid','safari','accessibilityPlatform','patch','Performing\x20scan\x20for\x20','QntFH','apply','yCyyn','DyIvL','util','11237392BvUeva','MMWfV','setupBrowserDetails','1sBZCzZ','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','2519396nZMAev','_defaultConnectOptions','Error\x20in\x20importing\x20connection\x20','fZpAt','client','mPoMU','_type','ZYegt','cloudProvider','join','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','PiHZN','defineProperty','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','connection.js','platform','getInstance','mVshT','../../helpers/accessibility-automation/accessibilityRetryHelper.js','connectOptions','dXszi','exports','platformVersion','../../helpers/accessibility-automation/helper','Device\x20Model\x20is\x20not\x20available','MlmsW','capabilities','testInfo','../../helpers/test-observability/utils','parse','playwright-','zycNV','server','channel','platform_version','toLowerCase','MbmkJ','Yaryq','getDetails','tKMRs','deviceModel','project','../../bin/playwright/accessibility-helper','IYcEY','debug','Failed\x20to\x20perform\x20scan\x20','getAutomationFramework','url','isRemote','message','../utils/clientTroubleshootingService.js','path','5|4|1|2|3|0','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','nIlJU','test','stRwT','includes','../../helpers/accessibility-automation/scripts','../../helpers/test-observability/error-handler','nrvsn','BSTACK_ATS_URL','xQBjY','lhHFG','POST','turboscale','vRDHl','sendMessageToServer','BGiUZ','15144520cKHgHr','currentSessionDetails','HbPBk','winstonLogger','info','pwPage','use','HEFdO','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','UkIrq','vDqiy','XgGDp','uLmzM','ZFCLO','fLyKh','patchConnection','bstackPerformA11yScan','platformDetails','_browserType','CRConnection','AOKyq','patchCRConnection','EIUqq','browser','vwNfr','browserstack','../v2/browserstackCLI','6100jemMpP','browser_version','ATS_WSS_URL_REGEX','BROWSERSTACK_TEST_OBSERVABILITY','../utils/constants','TJKAC','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','Setting\x20session\x20id\x20received\x20from\x20BS\x20','rERbR','EUnCZ','2465676htcJwm','chrome','BSTACK_URL','assign','params','format','Not\x20able\x20to\x20import\x20Connection','env','Connection','bsSessionId','gTfpt','../v2/state/hookState.js','trackEvent','crConnection.js','wsEndpoint','dwbql','shouldWrapCommand','hQJam','NzxKz','SqeyG','isRunning','_connection','1717002gQQOsx','__driver','Error\x20in\x20importing\x20crConnection','chromium','tHfqg','../../helpers/helper','automate','local_grid','fromEntries','sessionError','Page','product','version','platformName','905198wJXLAw','vhPek','query','toString','function','lqRDO','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','utOMy'];a47_0x2a53=function(){return _0x1bcaec;};return a47_0x2a53();}function a47_0x3bef(_0x4138d9,_0x1245eb){const _0x2a53ed=a47_0x2a53();return a47_0x3bef=function(_0x3befec,_0x13b9f4){_0x3befec=_0x3befec-0x180;let _0x320a2d=_0x2a53ed[_0x3befec];return _0x320a2d;},a47_0x3bef(_0x4138d9,_0x1245eb);}class PlaywrightSessionDetails{static [a47_0x39ff75(0x228)]=a47_0xed3ae1;constructor(){const _0x2d3f8b=a47_0x39ff75,_0xf793bd={};_0xf793bd[_0x2d3f8b(0x18c)]=_0x2d3f8b(0x1bc);const _0xac600a=_0xf793bd;throw new Error(_0xac600a[_0x2d3f8b(0x18c)]);}static ['sessionError']=null;static[a47_0x39ff75(0x1df)](_0x4662b1,_0x2daf61,_0x5220dd=null){const _0x37ff44=a47_0x39ff75,_0x1c6515={'rERbR':function(_0x2916a2,_0x30726e){return _0x2916a2===_0x30726e;},'oXxFK':_0x37ff44(0x1b9),'uLmzM':_0x37ff44(0x1bb),'BGiUZ':_0x37ff44(0x1fa),'zycNV':_0x37ff44(0x1ae),'vDqiy':function(_0x206a50,_0x1ff2cb,_0x122636){return _0x206a50(_0x1ff2cb,_0x122636);},'ZYegt':_0x37ff44(0x239),'GtYZa':_0x37ff44(0x1e3),'IYcEY':_0x37ff44(0x20b),'IfEIZ':_0x37ff44(0x22d),'FUGUE':_0x37ff44(0x1f5),'xQBjY':function(_0x7fc160,_0x3ee117){return _0x7fc160(_0x3ee117);},'SqeyG':_0x37ff44(0x185),'IkFfW':_0x37ff44(0x223),'gTfpt':_0x37ff44(0x1ad),'tHfqg':function(_0x344da2){return _0x344da2();},'EvtQC':function(_0x3692da,_0x4a5e81){return _0x3692da&&_0x4a5e81;},'dlpkc':function(_0x126360){return _0x126360();},'nIlJU':function(_0x3d9439){return _0x3d9439();},'WDxrF':function(_0x22dfb3,_0x584945){return _0x22dfb3(_0x584945);},'JsjrY':function(_0x4558cf,_0x5e4f8c){return _0x4558cf+_0x5e4f8c;},'rePSO':_0x37ff44(0x200),'EZYtj':function(_0x9ed59b){return _0x9ed59b();},'eIZav':_0x37ff44(0x1df)},_0x582384=this;return _0x1c6515[_0x37ff44(0x231)](o11yErrorHandler,async function _0x3cd8ee(_0xcd49b8,_0x1bceb3,_0x3bf49d=null){const _0x3e3cef=_0x37ff44;let _0x48c6b6=_0xcd49b8['_name'],_0x18279c=null;_0xcd49b8&&_0x1c6515[_0x3e3cef(0x18f)](typeof _0xcd49b8['version'],_0x1c6515[_0x3e3cef(0x1d0)])?_0x18279c=_0xcd49b8[_0x3e3cef(0x1b3)]():logger[_0x3e3cef(0x20e)](_0x1c6515[_0x3e3cef(0x233)]);let _0x500054=null;_0xcd49b8&&_0x1c6515['rERbR'](typeof _0xcd49b8['model'],_0x1c6515['oXxFK'])?_0x500054=_0xcd49b8['model']():logger['debug'](_0x1c6515[_0x3e3cef(0x226)]);let _0x37799b=null,_0x2d3f82=null,_0x2338d5=null,_0x58270c=_0x1c6515[_0x3e3cef(0x201)];if(_0xcd49b8[_0x3e3cef(0x1a6)][_0x3e3cef(0x212)]()||global['accessibilityPlatform']&&!process[_0x3e3cef(0x198)][_0x3e3cef(0x22f)]){let _0x1b97f1=null;_0x1c6515[_0x3e3cef(0x231)](nestedKeyValue,_0xcd49b8,[_0x1c6515[_0x3e3cef(0x1e9)],_0x1c6515['GtYZa']])?_0x1b97f1=_0xcd49b8[_0x3e3cef(0x239)][_0x3e3cef(0x1e3)]:_0x1b97f1=_0x1c6515[_0x3e3cef(0x231)](nestedKeyValue,_0x1bceb3,[_0x1c6515[_0x3e3cef(0x20d)],_0x1c6515['IfEIZ'],_0x1c6515['FUGUE']]);const _0x25d5aa=_0x3bf49d||_0x1b97f1&&_0x1b97f1[_0x3e3cef(0x19f)];if(_0x25d5aa){_0x58270c=_0x1c6515[_0x3e3cef(0x220)](getCloudProviderFromWsEndpoint,_0x25d5aa);if(_0x1c6515[_0x3e3cef(0x18f)](_0x58270c,_0x1c6515[_0x3e3cef(0x1a4)]))_0x2338d5=constants[_0x3e3cef(0x189)][_0x3e3cef(0x219)](_0x25d5aa)?_0x1c6515['IkFfW']:_0x1c6515[_0x3e3cef(0x19b)],_0x48c6b6=_0x1c6515['xQBjY'](getBrowserFromWSEndpoint,_0x25d5aa)||_0x48c6b6,_0x37799b=_0x582384[_0x3e3cef(0x228)]['platform'],_0x2d3f82=_0x582384[_0x3e3cef(0x228)]['platform_version'];else{const _0x3e88a6=await _0x1c6515[_0x3e3cef(0x1ab)](getPlatformDetails);_0x37799b=_0x3e88a6[_0x3e3cef(0x1b4)],_0x2d3f82=_0x3e88a6[_0x3e3cef(0x1f8)];}}if(_0x1c6515['EvtQC'](!_0x37799b,!_0x2d3f82)&&!_0x1c6515[_0x3e3cef(0x1c2)](isBrowserstackInfra)){const _0x4e5bf2=await _0x1c6515[_0x3e3cef(0x218)](getPlatformDetails);_0x37799b=_0x4e5bf2[_0x3e3cef(0x1b4)],_0x2d3f82=_0x4e5bf2[_0x3e3cef(0x1f8)];}}else{_0x1bceb3&&_0x1bceb3['project'][_0x3e3cef(0x22d)][_0x3e3cef(0x203)]?_0x48c6b6=_0x1c6515['WDxrF'](getBrowserNameFromChannel,_0x1bceb3[_0x3e3cef(0x20b)][_0x3e3cef(0x22d)]['channel']):_0x48c6b6=_0x1c6515['JsjrY'](_0x1c6515[_0x3e3cef(0x1c5)],_0x48c6b6[_0x3e3cef(0x205)]());const _0x390ce1=await _0x1c6515['EZYtj'](getPlatformDetails);_0x37799b=_0x390ce1[_0x3e3cef(0x1b4)],_0x2d3f82=_0x390ce1[_0x3e3cef(0x1f8)];}const _0x420a5e={};_0x420a5e['browser']=_0x48c6b6,_0x420a5e[_0x3e3cef(0x188)]=_0x18279c,_0x420a5e['capabilities']={},_0x420a5e[_0x3e3cef(0x1f1)]=_0x37799b,_0x420a5e[_0x3e3cef(0x204)]=_0x2d3f82,_0x420a5e[_0x3e3cef(0x1b2)]=_0x2338d5;const _0x174e51=_0x420a5e;_0x500054&&(_0x174e51[_0x3e3cef(0x1fc)][_0x3e3cef(0x20a)]=_0x500054);const _0x308385={};_0x308385[_0x3e3cef(0x1ea)]=_0x58270c,_0x582384['currentSessionDetails']=Object[_0x3e3cef(0x194)]({},_0x582384[_0x3e3cef(0x228)],_0x308385,_0x174e51);},_0x1c6515[_0x37ff44(0x1c6)])(_0x4662b1,_0x2daf61,_0x5220dd);}static[a47_0x39ff75(0x1d6)](){const _0x1ad9f7=a47_0x39ff75;this[_0x1ad9f7(0x236)](),this[_0x1ad9f7(0x181)]();}static['patchConnection'](){const _0xdb6066=a47_0x39ff75,_0x2607a6={'dVcdm':function(_0x3e2462,_0x1ba96d,_0x316da8){return _0x3e2462(_0x1ba96d,_0x316da8);},'vhPek':_0xdb6066(0x1c3),'yCyyn':_0xdb6066(0x1fd),'HEFdO':'titlePath','nrvsn':function(_0x41fc86,_0x486c3d,_0x93483a){return _0x41fc86(_0x486c3d,_0x93483a);},'TChRW':function(_0x208857,_0x2dd87f,_0x279bf6){return _0x208857(_0x2dd87f,_0x279bf6);},'uKkYE':_0xdb6066(0x1bf),'vwNfr':_0xdb6066(0x22c),'LDoHA':function(_0x8112a3,_0x575dd7){return _0x8112a3===_0x575dd7;},'dXszi':_0xdb6066(0x1b1),'fZpAt':function(_0x4cd5cd,_0x2f73f3,_0x311e4c,_0xd997de){return _0x4cd5cd(_0x2f73f3,_0x311e4c,_0xd997de);},'BOozL':function(_0x6b4dfa,_0x3a8931){return _0x6b4dfa||_0x3a8931;},'EIUqq':function(_0x40e5a8,_0x52d706){return _0x40e5a8(_0x52d706);},'NzxKz':function(_0x328ede,_0x5e6a21){return _0x328ede(_0x5e6a21);},'MbmkJ':_0xdb6066(0x1cc),'lqRDO':_0xdb6066(0x1e6),'UkIrq':_0xdb6066(0x1f0),'HQEQB':function(_0x4a0dc6,_0x1dc54d){return _0x4a0dc6(_0x1dc54d);},'MMWfV':_0xdb6066(0x197),'gjxuO':function(_0x234aff,_0x1e0908){return _0x234aff!=_0x1e0908;},'tKMRs':function(_0x136918){return _0x136918();},'DyIvL':_0xdb6066(0x225),'ZFCLO':function(_0x6cd1e7,_0xd60127){return _0x6cd1e7(_0xd60127);},'utOMy':_0xdb6066(0x1c0),'Yaryq':function(_0x46d8f8,_0x5c5ce0){return _0x46d8f8(_0x5c5ce0);}},_0x48021a=this;if(!this[_0xdb6066(0x199)])try{const _0x4706c8=path[_0xdb6066(0x1eb)](_0x2607a6[_0xdb6066(0x206)],_0x2607a6[_0xdb6066(0x1ba)],_0x2607a6[_0xdb6066(0x230)]),_0x14807a=_0x2607a6[_0xdb6066(0x182)](importFileFromPWCore,_0x4706c8);!_0x14807a?_0x2607a6['HQEQB'](debug,_0x2607a6[_0xdb6066(0x1de)]):this['Connection']=_0x14807a[_0xdb6066(0x199)];}catch(_0x34f2eb){_0x2607a6[_0xdb6066(0x182)](debug,_0xdb6066(0x1e4)+_0x34f2eb[_0xdb6066(0x1b8)]());}const _0x2a655e=this['Connection'];try{if(_0x2607a6['gjxuO'](_0x2a655e,null)){const _0xf0de9=_0x2a655e['prototype'][_0xdb6066(0x1c0)],_0x54b6a7=_0x2a655e[_0xdb6066(0x1cf)][_0xdb6066(0x225)];_0x2607a6[_0xdb6066(0x209)](isAccessibilityAutomationSession)&&Object[_0xdb6066(0x1ee)](_0x2a655e[_0xdb6066(0x1cf)],_0x2607a6[_0xdb6066(0x1db)],{'get':function(){return async function(){const _0x5411cd=a47_0x3bef;try{if(!global['bstackPerformA11yScan']&&global[_0x5411cd(0x1d5)]&&_0x2607a6['dVcdm'](nestedKeyValue,global['__workerDetails'],[_0x2607a6[_0x5411cd(0x1b6)],_0x2607a6[_0x5411cd(0x1da)],_0x2607a6[_0x5411cd(0x22e)]])&&_0x2607a6[_0x5411cd(0x21e)](shouldScanTestForAccessibility,global[_0x5411cd(0x1bf)]['currentTest'][_0x5411cd(0x1fd)][_0x5411cd(0x1c1)],!![])&&scripts[_0x5411cd(0x1a1)](arguments[0x1])){logger[_0x5411cd(0x20e)](_0x5411cd(0x1d7)+arguments[0x1]),global[_0x5411cd(0x237)]=!![];const _0x43d28a=_0x2607a6['TChRW'](nestedKeyValue,global,[_0x2607a6[_0x5411cd(0x1d1)],_0x2607a6[_0x5411cd(0x184)]]);_0x43d28a&&logger[_0x5411cd(0x22b)]('Page\x20Scan\x20result='+util[_0x5411cd(0x196)](await _0x2607a6['dVcdm'](performScanWithRetry,_0x43d28a,arguments[0x1]))),_0x2607a6['LDoHA'](arguments[0x0][_0x5411cd(0x1e8)],_0x2607a6[_0x5411cd(0x1f6)])&&global['__driver']&&logger[_0x5411cd(0x22b)]('Driver\x20Scan\x20result='+util[_0x5411cd(0x196)](await _0x2607a6[_0x5411cd(0x1e5)](performScanWithRetry,global[_0x5411cd(0x1a8)],arguments[0x1],scripts['performScan'])));}}catch(_0x1fc7c5){logger['debug'](_0x5411cd(0x20f)+util[_0x5411cd(0x196)](_0x1fc7c5));}return global[_0x5411cd(0x237)]=![],_0x54b6a7[_0x5411cd(0x1d9)](this,arguments);};}}),!_0x2607a6[_0xdb6066(0x234)](isFalse,process[_0xdb6066(0x198)][_0xdb6066(0x18a)])&&Object[_0xdb6066(0x1ee)](_0x2a655e[_0xdb6066(0x1cf)],_0x2607a6[_0xdb6066(0x1bd)],{'get':function(){const _0x5a964a={'ukGiQ':function(_0xa95d8,_0x106c99){return _0x2607a6['BOozL'](_0xa95d8,_0x106c99);},'mVshT':function(_0x259d91,_0x13f927){const _0x4d98c7=a47_0x3bef;return _0x2607a6[_0x4d98c7(0x182)](_0x259d91,_0x13f927);},'MlmsW':function(_0xc6d982,_0x512aad){const _0x225a17=a47_0x3bef;return _0x2607a6[_0x225a17(0x1a3)](_0xc6d982,_0x512aad);}};return async function _0x21ebb8(_0x31c5c7){const _0x49bc57=a47_0x3bef;if(BrowserstackCLI[_0x49bc57(0x1f2)]()[_0x49bc57(0x1a5)]()){const _0x31ffd4={};_0x31ffd4[_0x49bc57(0x213)]=_0x31c5c7,await BrowserstackCLI[_0x49bc57(0x1f2)]()[_0x49bc57(0x210)]()[_0x49bc57(0x19d)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],_0x31ffd4);}else{const _0x2f078c=_0x31c5c7&&_0x31c5c7[_0x49bc57(0x195)]&&_0x31c5c7[_0x49bc57(0x195)]['bsParams'];if(_0x2f078c){const _0x25d2b5=_0x2f078c[_0x49bc57(0x1be)],_0x1c0cd4=_0x2f078c[_0x49bc57(0x238)];_0x5a964a['ukGiQ'](!_0x25d2b5,!_0x1c0cd4)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0x1c0cd4&&(_0x5a964a[_0x49bc57(0x1f3)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x1c0cd4[_0x49bc57(0x1b8)]()),_0x48021a['currentSessionDetails'][_0x49bc57(0x1f1)]=_0x1c0cd4[_0x49bc57(0x1b4)],_0x48021a[_0x49bc57(0x228)]['platform_version']=_0x1c0cd4['platformVersion']),_0x25d2b5&&(_0x5a964a[_0x49bc57(0x1fb)](debug,_0x49bc57(0x18e)+_0x25d2b5),_0x48021a['currentSessionDetails'][_0x49bc57(0x19a)]=_0x25d2b5);}}return _0xf0de9['apply'](this,arguments);};}});}}catch(_0x42b30c){_0x2607a6[_0xdb6066(0x207)](debug,_0xdb6066(0x18d)+_0x42b30c),_0x48021a['sessionError']=_0x42b30c[_0xdb6066(0x1b8)]();}}static[a47_0x39ff75(0x181)](){const _0x503fd7=a47_0x39ff75,_0xc5ccb9={'stRwT':function(_0x17e7d7,_0x1a3184){return _0x17e7d7(_0x1a3184);},'mPoMU':function(_0x51d53b,_0x381784){return _0x51d53b(_0x381784);},'gvrkS':function(_0x419037){return _0x419037();},'EUnCZ':'lib','iUSVT':_0x503fd7(0x202),'fLyKh':'chromium','eXTBn':_0x503fd7(0x19e),'oUqMj':_0x503fd7(0x1c9),'CpeUK':_0x503fd7(0x1a9),'hrbHb':function(_0x68e62b,_0x17e6de){return _0x68e62b!=_0x17e6de;},'rlLzR':'_onMessage'},_0x3b1682=this;if(_0xc5ccb9['gvrkS'](isAccessibilityAutomationSession)){let _0x270a40=null;try{const _0x40a1f1=path[_0x503fd7(0x1eb)](_0xc5ccb9[_0x503fd7(0x190)],_0xc5ccb9['iUSVT'],_0xc5ccb9[_0x503fd7(0x235)],_0xc5ccb9['eXTBn']),_0xd76803=_0xc5ccb9[_0x503fd7(0x1e7)](importFileFromPWCore,_0x40a1f1);!_0xd76803?_0xc5ccb9['stRwT'](debug,_0xc5ccb9[_0x503fd7(0x1ca)]):_0x270a40=_0xd76803[_0x503fd7(0x23a)];}catch(_0x3c5fff){_0xc5ccb9[_0x503fd7(0x21a)](debug,_0xc5ccb9['CpeUK']);}try{if(_0xc5ccb9['hrbHb'](_0x270a40,null)){const _0x5ca8e5=_0x270a40[_0x503fd7(0x1cf)]['_onMessage'];Object['defineProperty'](_0x270a40[_0x503fd7(0x1cf)],_0xc5ccb9[_0x503fd7(0x1ce)],{'get':function(){const _0x812217={'cDPZP':function(_0x2e2970,_0x39fd29){const _0x5e14ca=a47_0x3bef;return _0xc5ccb9[_0x5e14ca(0x21a)](_0x2e2970,_0x39fd29);},'dUvrd':function(_0x23c3ac,_0x94347b){const _0x24b101=a47_0x3bef;return _0xc5ccb9[_0x24b101(0x1e7)](_0x23c3ac,_0x94347b);}};return async function _0x1620d8(_0x342253){const _0x3b4ff8=a47_0x3bef;try{if(BrowserstackCLI['getInstance']()[_0x3b4ff8(0x1a5)]()){const _0x4d732a={};_0x4d732a[_0x3b4ff8(0x213)]=_0x342253,await BrowserstackCLI['getInstance']()[_0x3b4ff8(0x210)]()[_0x3b4ff8(0x19d)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3b4ff8(0x222)],_0x4d732a),delete _0x342253[_0x3b4ff8(0x1cb)];}else{const _0xcd3f81=_0x342253[_0x3b4ff8(0x1cb)];if(_0xcd3f81){delete _0x342253[_0x3b4ff8(0x1cb)];const _0x2e4bcb=_0xcd3f81[_0x3b4ff8(0x1be)],_0x5955ce=_0xcd3f81[_0x3b4ff8(0x238)];_0x5955ce&&(_0x812217['cDPZP'](debug,_0x3b4ff8(0x1e1)+_0x5955ce[_0x3b4ff8(0x1b8)]()),_0x3b1682[_0x3b4ff8(0x228)][_0x3b4ff8(0x1f1)]=_0x5955ce['platformName'],_0x3b1682[_0x3b4ff8(0x228)][_0x3b4ff8(0x204)]=_0x5955ce[_0x3b4ff8(0x1f8)]),_0x2e4bcb&&(_0x812217['dUvrd'](debug,_0x3b4ff8(0x217)+_0x2e4bcb),_0x3b1682[_0x3b4ff8(0x228)][_0x3b4ff8(0x19a)]=_0x2e4bcb);}}}catch(_0x8d98be){_0x812217['cDPZP'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x8d98be[_0x3b4ff8(0x1b8)]());}return _0x5ca8e5[_0x3b4ff8(0x1d9)](this,arguments);};}});}}catch(_0x433def){_0xc5ccb9[_0x503fd7(0x21a)](debug,_0x503fd7(0x1ec)+_0x433def),_0x3b1682[_0x503fd7(0x1b0)]=_0x433def['toString']();}}}static[a47_0x39ff75(0x208)](){const _0x20307b=a47_0x39ff75;return this[_0x20307b(0x228)];}}module[a47_0x39ff75(0x1f7)]=PlaywrightSessionDetails;
1
+ const a47_0x67ae3f=a47_0xb41c;function a47_0xb41c(_0x59f918,_0x455737){const _0x3af233=a47_0x3af2();return a47_0xb41c=function(_0xb41c59,_0x360ace){_0xb41c59=_0xb41c59-0x171;let _0x321bc2=_0x3af233[_0xb41c59];return _0x321bc2;},a47_0xb41c(_0x59f918,_0x455737);}(function(_0x2a217d,_0x38f3b7){const _0x31abf3=a47_0xb41c,_0x388037=_0x2a217d();while(!![]){try{const _0x539d35=-parseInt(_0x31abf3(0x1a2))/0x1+parseInt(_0x31abf3(0x209))/0x2+parseInt(_0x31abf3(0x207))/0x3*(-parseInt(_0x31abf3(0x1aa))/0x4)+parseInt(_0x31abf3(0x1af))/0x5+parseInt(_0x31abf3(0x1a8))/0x6+-parseInt(_0x31abf3(0x1e3))/0x7*(parseInt(_0x31abf3(0x1ff))/0x8)+parseInt(_0x31abf3(0x1dc))/0x9;if(_0x539d35===_0x38f3b7)break;else _0x388037['push'](_0x388037['shift']());}catch(_0x2a1fc4){_0x388037['push'](_0x388037['shift']());}}}(a47_0x3af2,0x3ee34));const path=require(a47_0x67ae3f(0x190)),url=require(a47_0x67ae3f(0x1d0)),util=require(a47_0x67ae3f(0x1ec)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a47_0x67ae3f(0x1c2)),{o11yErrorHandler}=require(a47_0x67ae3f(0x175)),{debug,getPlatformDetails}=require(a47_0x67ae3f(0x197)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x67ae3f(0x17e)),logger=require('../../helpers/logger')[a47_0x67ae3f(0x1e0)],scripts=require(a47_0x67ae3f(0x186)),{browserStackExecuteDriver}=require(a47_0x67ae3f(0x213)),AccessibilityHelper=require(a47_0x67ae3f(0x22c)),constants=require(a47_0x67ae3f(0x227)),BrowserstackCLI=require(a47_0x67ae3f(0x195)),AutomationFrameworkState=require(a47_0x67ae3f(0x199)),HookState=require(a47_0x67ae3f(0x1c1)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a47_0x67ae3f(0x182)),getBrowserNameFromChannel=_0x4ff282=>{const _0xc664c9=a47_0x67ae3f,_0x401a00={};_0x401a00[_0xc664c9(0x1ab)]=_0xc664c9(0x219),_0x401a00[_0xc664c9(0x21a)]='chromium',_0x401a00[_0xc664c9(0x22f)]=function(_0xf3b030,_0x59f6a5){return _0xf3b030===_0x59f6a5;},_0x401a00[_0xc664c9(0x19a)]='webkit',_0x401a00[_0xc664c9(0x217)]=_0xc664c9(0x17f),_0x401a00[_0xc664c9(0x1e6)]=_0xc664c9(0x1ed),_0x401a00['YUBtK']=_0xc664c9(0x210),_0x401a00['bHxur']=_0xc664c9(0x22d);const _0x4974d1=_0x401a00,_0x50aa80=_0x4974d1[_0xc664c9(0x1ab)]['split']('|');let _0x2a7723=0x0;while(!![]){switch(_0x50aa80[_0x2a7723++]){case'0':if(_0x4ff282['includes'](_0x4974d1['mCCgU']))return _0x4974d1[_0xc664c9(0x21a)];continue;case'1':if(_0x4974d1['PfAuE'](_0x4ff282,_0x4974d1['miOWn']))return _0x4974d1['miOWn'];continue;case'2':if(_0x4ff282[_0xc664c9(0x17a)](_0x4974d1[_0xc664c9(0x217)]))return _0x4974d1[_0xc664c9(0x217)];continue;case'3':if(_0x4ff282[_0xc664c9(0x17a)](_0x4974d1['krdjk']))return _0x4974d1['krdjk'];continue;case'4':if(_0x4ff282[_0xc664c9(0x17a)](_0x4974d1[_0xc664c9(0x20e)]))return _0x4974d1['YUBtK'];continue;case'5':if(_0x4ff282[_0xc664c9(0x17a)](_0x4974d1[_0xc664c9(0x211)]))return _0x4974d1[_0xc664c9(0x211)];continue;}break;}},getBrowserFromWSEndpoint=_0x2d22e1=>{const _0x1d6792=a47_0x67ae3f,_0x5d7d9b={'bjmPs':_0x1d6792(0x1ed),'HAHat':function(_0x12d9ac,_0x49207c){return _0x12d9ac(_0x49207c);}};try{const _0x5a0e98=url[_0x1d6792(0x222)](_0x2d22e1),_0x423338=new URLSearchParams(_0x5a0e98['query']),_0x352499=Object[_0x1d6792(0x1f4)](_0x423338['entries']()),_0x14e709=JSON[_0x1d6792(0x222)](_0x352499['caps']);if(_0x14e709&&(_0x14e709['browser']||_0x14e709[_0x1d6792(0x21b)]))return _0x14e709[_0x1d6792(0x187)]||_0x14e709[_0x1d6792(0x21b)];return _0x5d7d9b[_0x1d6792(0x1b0)];}catch(_0x5e3fcf){_0x5d7d9b[_0x1d6792(0x1c4)](debug,_0x1d6792(0x226)+_0x5e3fcf[_0x1d6792(0x1c5)]());}},getCloudProviderFromWsEndpoint=_0x10b421=>{const _0x1c789a=a47_0x67ae3f,_0x154c63={};_0x154c63[_0x1c789a(0x17c)]='browserstack',_0x154c63[_0x1c789a(0x1ae)]=_0x1c789a(0x1c6);const _0x1c560f=_0x154c63;if(_0x10b421['includes'](constants['BSTACK_URL'])||_0x10b421[_0x1c789a(0x17a)](constants[_0x1c789a(0x1b5)]))return _0x1c560f['EKGAW'];return _0x1c560f[_0x1c789a(0x1ae)];},a47_0x571c49={};a47_0x571c49[a47_0x67ae3f(0x20a)]=undefined,a47_0x571c49[a47_0x67ae3f(0x1a4)]=undefined,a47_0x571c49[a47_0x67ae3f(0x187)]=undefined,a47_0x571c49[a47_0x67ae3f(0x1d9)]=undefined,a47_0x571c49[a47_0x67ae3f(0x1cd)]=undefined,a47_0x571c49[a47_0x67ae3f(0x228)]=undefined,a47_0x571c49[a47_0x67ae3f(0x192)]=undefined,a47_0x571c49[a47_0x67ae3f(0x1e8)]={};class PlaywrightSessionDetails{static [a47_0x67ae3f(0x196)]=a47_0x571c49;constructor(){const _0x3d2726=a47_0x67ae3f,_0x550087={};_0x550087[_0x3d2726(0x21f)]=_0x3d2726(0x1e9);const _0x23a22e=_0x550087;throw new Error(_0x23a22e[_0x3d2726(0x21f)]);}static [a47_0x67ae3f(0x18e)]=null;static[a47_0x67ae3f(0x1d7)](_0x3f937e,_0x221229,_0x2e3b78=null){const _0x3586c1=a47_0x67ae3f,_0x22b71f={'kEWVs':function(_0x365bfd,_0x11c866){return _0x365bfd===_0x11c866;},'GChgI':_0x3586c1(0x1bf),'OdZrq':_0x3586c1(0x1b6),'CaNfi':function(_0x3c5166,_0x2dbfae){return _0x3c5166===_0x2dbfae;},'jvJdz':_0x3586c1(0x1b1),'wIxuG':_0x3586c1(0x188),'xlXyj':function(_0x552d7d,_0x72932f,_0x186f5c){return _0x552d7d(_0x72932f,_0x186f5c);},'huAxw':_0x3586c1(0x218),'jjMjE':_0x3586c1(0x1b9),'HcTlO':_0x3586c1(0x177),'QRVnR':'use','CrwRT':_0x3586c1(0x1a0),'pJHLh':function(_0x2bdd1a,_0x51b2d8){return _0x2bdd1a(_0x51b2d8);},'Fssts':_0x3586c1(0x1a1),'ZzkQv':'turboscale','VQGzX':_0x3586c1(0x1f6),'gmJlc':function(_0x4b8adb,_0x2b655f){return _0x4b8adb(_0x2b655f);},'gOurV':function(_0x59adbb){return _0x59adbb();},'xJBrD':function(_0x463363,_0x245b95){return _0x463363&&_0x245b95;},'jPwcJ':function(_0xad51a6,_0x32d10f){return _0xad51a6+_0x32d10f;},'agfsp':_0x3586c1(0x1fc),'WeEXc':_0x3586c1(0x1d7)},_0x47c87a=this;return _0x22b71f[_0x3586c1(0x180)](o11yErrorHandler,async function _0xac75(_0x466bc7,_0x4f1d4b,_0x33edb4=null){const _0x1ede3e=_0x3586c1;let _0x4c5e21=_0x466bc7[_0x1ede3e(0x232)],_0x41cc04=null;_0x466bc7&&_0x22b71f[_0x1ede3e(0x1a6)](typeof _0x466bc7[_0x1ede3e(0x1bd)],_0x22b71f[_0x1ede3e(0x18f)])?_0x41cc04=_0x466bc7['version']():logger[_0x1ede3e(0x229)](_0x22b71f[_0x1ede3e(0x198)]);let _0x23e274=null;_0x466bc7&&_0x22b71f[_0x1ede3e(0x20c)](typeof _0x466bc7[_0x1ede3e(0x22e)],_0x22b71f['GChgI'])?_0x23e274=_0x466bc7[_0x1ede3e(0x22e)]():logger[_0x1ede3e(0x229)](_0x22b71f[_0x1ede3e(0x1cb)]);let _0x57c446=null,_0x15d5ab=null,_0x13c21d=null,_0x134767=_0x22b71f[_0x1ede3e(0x176)];if(_0x466bc7['_connection'][_0x1ede3e(0x18a)]()||global['accessibilityPlatform']&&!process[_0x1ede3e(0x1ca)][_0x1ede3e(0x204)]){let _0x7eef05=null;_0x22b71f['xlXyj'](nestedKeyValue,_0x466bc7,[_0x22b71f[_0x1ede3e(0x215)],_0x22b71f[_0x1ede3e(0x18d)]])?_0x7eef05=_0x466bc7[_0x1ede3e(0x218)]['_defaultConnectOptions']:_0x7eef05=_0x22b71f[_0x1ede3e(0x180)](nestedKeyValue,_0x4f1d4b,[_0x22b71f[_0x1ede3e(0x1e4)],_0x22b71f['QRVnR'],_0x22b71f[_0x1ede3e(0x221)]]);const _0x24180a=_0x33edb4||_0x7eef05&&_0x7eef05[_0x1ede3e(0x1fb)];if(_0x24180a){_0x134767=_0x22b71f[_0x1ede3e(0x1bb)](getCloudProviderFromWsEndpoint,_0x24180a);if(_0x22b71f[_0x1ede3e(0x20c)](_0x134767,_0x22b71f['Fssts']))_0x13c21d=constants[_0x1ede3e(0x19e)][_0x1ede3e(0x1d6)](_0x24180a)?_0x22b71f['ZzkQv']:_0x22b71f[_0x1ede3e(0x20f)],_0x4c5e21=_0x22b71f[_0x1ede3e(0x1da)](getBrowserFromWSEndpoint,_0x24180a)||_0x4c5e21,_0x57c446=_0x47c87a[_0x1ede3e(0x196)][_0x1ede3e(0x1cd)],_0x15d5ab=_0x47c87a[_0x1ede3e(0x196)][_0x1ede3e(0x228)];else{const _0x389f93=await _0x22b71f[_0x1ede3e(0x194)](getPlatformDetails);_0x57c446=_0x389f93[_0x1ede3e(0x1b8)],_0x15d5ab=_0x389f93[_0x1ede3e(0x189)];}}if(_0x22b71f['xJBrD'](!_0x57c446,!_0x15d5ab)&&!_0x22b71f[_0x1ede3e(0x194)](isBrowserstackInfra)){const _0x4b77e6=await _0x22b71f['gOurV'](getPlatformDetails);_0x57c446=_0x4b77e6['platformName'],_0x15d5ab=_0x4b77e6[_0x1ede3e(0x189)];}}else{_0x4f1d4b&&_0x4f1d4b[_0x1ede3e(0x177)]['use']['channel']?_0x4c5e21=_0x22b71f[_0x1ede3e(0x1bb)](getBrowserNameFromChannel,_0x4f1d4b['project']['use'][_0x1ede3e(0x1b7)]):_0x4c5e21=_0x22b71f[_0x1ede3e(0x1fe)](_0x22b71f[_0x1ede3e(0x1d8)],_0x4c5e21[_0x1ede3e(0x206)]());const _0x1278ea=await _0x22b71f['gOurV'](getPlatformDetails);_0x57c446=_0x1278ea['platformName'],_0x15d5ab=_0x1278ea[_0x1ede3e(0x189)];}const _0x146d4f={};_0x146d4f[_0x1ede3e(0x187)]=_0x4c5e21,_0x146d4f[_0x1ede3e(0x1d9)]=_0x41cc04,_0x146d4f[_0x1ede3e(0x1e8)]={},_0x146d4f[_0x1ede3e(0x1cd)]=_0x57c446,_0x146d4f['platform_version']=_0x15d5ab,_0x146d4f[_0x1ede3e(0x192)]=_0x13c21d;const _0x2151ba=_0x146d4f;_0x23e274&&(_0x2151ba[_0x1ede3e(0x1e8)]['deviceModel']=_0x23e274);const _0x496ac9={};_0x496ac9[_0x1ede3e(0x20a)]=_0x134767,_0x47c87a[_0x1ede3e(0x196)]=Object['assign']({},_0x47c87a[_0x1ede3e(0x196)],_0x496ac9,_0x2151ba);},_0x22b71f[_0x3586c1(0x184)])(_0x3f937e,_0x221229,_0x2e3b78);}static[a47_0x67ae3f(0x1b2)](){const _0x448f84=a47_0x67ae3f;this[_0x448f84(0x1fd)](),this[_0x448f84(0x21d)]();}static['patchConnection'](){const _0x26755a=a47_0x67ae3f,_0x5743c6={'XeNvh':function(_0x5d20a6,_0x3857f8,_0x3172fb){return _0x5d20a6(_0x3857f8,_0x3172fb);},'xhNKH':'currentTest','CNvRN':_0x26755a(0x1f2),'daTLr':_0x26755a(0x1ef),'oGOzK':function(_0x1bf25d,_0xda8d70,_0x37a4bf){return _0x1bf25d(_0xda8d70,_0x37a4bf);},'WUQuL':'__workerDetails','jrWtU':_0x26755a(0x1f7),'RquxT':function(_0x38d682,_0x2f14d7){return _0x38d682===_0x2f14d7;},'MZiAW':_0x26755a(0x1e1),'CZhpB':function(_0x45b6cd,_0x787099,_0x574ffb,_0x51ce4f){return _0x45b6cd(_0x787099,_0x574ffb,_0x51ce4f);},'sSkwP':function(_0x478890,_0x1de69d){return _0x478890||_0x1de69d;},'MLQTH':function(_0x3030f6,_0x4edc58){return _0x3030f6(_0x4edc58);},'QhPzr':'lib','gXlYM':_0x26755a(0x1bc),'PlTZM':_0x26755a(0x19c),'gooul':_0x26755a(0x1cc),'RdyIo':function(_0x58852d,_0x20475f){return _0x58852d!=_0x20475f;},'QccIF':function(_0x27ae17){return _0x27ae17();},'FseGE':_0x26755a(0x174),'AzeNk':_0x26755a(0x1cf),'YdKhr':function(_0x19523a,_0x5d619d){return _0x19523a(_0x5d619d);}},_0x14c4f8=this;if(!this[_0x26755a(0x1de)])try{const _0x1f0414=path[_0x26755a(0x181)](_0x5743c6[_0x26755a(0x1c7)],_0x5743c6[_0x26755a(0x19b)],_0x5743c6['PlTZM']),_0x1e0d89=_0x5743c6['MLQTH'](importFileFromPWCore,_0x1f0414);!_0x1e0d89?_0x5743c6[_0x26755a(0x1d2)](debug,_0x5743c6[_0x26755a(0x1d1)]):this[_0x26755a(0x1de)]=_0x1e0d89[_0x26755a(0x1de)];}catch(_0x21786e){_0x5743c6['MLQTH'](debug,'Error\x20in\x20importing\x20connection\x20'+_0x21786e['toString']());}const _0x3c3fcf=this[_0x26755a(0x1de)];try{if(_0x5743c6['RdyIo'](_0x3c3fcf,null)){const _0xb2d982=_0x3c3fcf['prototype']['dispatch'],_0x345d16=_0x3c3fcf[_0x26755a(0x1e7)][_0x26755a(0x174)];_0x5743c6[_0x26755a(0x1c3)](isAccessibilityAutomationSession)&&Object[_0x26755a(0x1b4)](_0x3c3fcf['prototype'],_0x5743c6['FseGE'],{'get':function(){const _0x58bbd5=_0x26755a,_0x667684={'sGIQc':function(_0xc84cae,_0x4c7fb4,_0x409e91){return _0x5743c6['XeNvh'](_0xc84cae,_0x4c7fb4,_0x409e91);},'QPGsd':_0x5743c6[_0x58bbd5(0x212)],'NBgDQ':_0x5743c6[_0x58bbd5(0x1dd)],'TmDqq':_0x5743c6['daTLr'],'FFgqi':function(_0x4b2978,_0x1e05ff,_0x49747e){const _0xe77a15=_0x58bbd5;return _0x5743c6[_0xe77a15(0x1a9)](_0x4b2978,_0x1e05ff,_0x49747e);},'FfMLc':function(_0x2861d3,_0x221d62,_0x41e923){const _0x544c0c=_0x58bbd5;return _0x5743c6[_0x544c0c(0x214)](_0x2861d3,_0x221d62,_0x41e923);},'HTXEE':_0x5743c6[_0x58bbd5(0x18c)],'yLKGF':_0x5743c6['jrWtU'],'LXKKg':function(_0x59f821,_0x3145d1){const _0x55b87f=_0x58bbd5;return _0x5743c6[_0x55b87f(0x1f1)](_0x59f821,_0x3145d1);},'inDSL':_0x5743c6[_0x58bbd5(0x1f3)],'olELP':function(_0x15bd70,_0x52cd38,_0x98398d,_0x3a6bd8){return _0x5743c6['CZhpB'](_0x15bd70,_0x52cd38,_0x98398d,_0x3a6bd8);}};return async function(){const _0x46e929=_0x58bbd5;try{if(!global[_0x46e929(0x1c0)]&&global[_0x46e929(0x1eb)]&&_0x667684[_0x46e929(0x22b)](nestedKeyValue,global[_0x46e929(0x1ba)],[_0x667684[_0x46e929(0x20b)],_0x667684[_0x46e929(0x1be)],_0x667684[_0x46e929(0x220)]])&&_0x667684['FFgqi'](shouldScanTestForAccessibility,global[_0x46e929(0x1ba)][_0x46e929(0x202)][_0x46e929(0x1f2)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x46e929(0x229)](_0x46e929(0x1a7)+arguments[0x1]),global[_0x46e929(0x1c0)]=!![];const _0x33234a=_0x667684['FfMLc'](nestedKeyValue,global,[_0x667684[_0x46e929(0x1ce)],_0x667684[_0x46e929(0x1ee)]]);_0x33234a&&logger[_0x46e929(0x1c9)](_0x46e929(0x233)+util[_0x46e929(0x231)](await _0x667684[_0x46e929(0x1f5)](performScanWithRetry,_0x33234a,arguments[0x1]))),_0x667684[_0x46e929(0x17d)](arguments[0x0][_0x46e929(0x230)],_0x667684[_0x46e929(0x21e)])&&global[_0x46e929(0x20d)]&&logger['info'](_0x46e929(0x1d4)+util[_0x46e929(0x231)](await _0x667684[_0x46e929(0x183)](performScanWithRetry,global[_0x46e929(0x20d)],arguments[0x1],scripts[_0x46e929(0x22a)])));}}catch(_0x2d7f7b){logger[_0x46e929(0x229)](_0x46e929(0x1f0)+util[_0x46e929(0x231)](_0x2d7f7b));}return global[_0x46e929(0x1c0)]=![],_0x345d16[_0x46e929(0x1b3)](this,arguments);};}}),!_0x5743c6[_0x26755a(0x1d2)](isFalse,process[_0x26755a(0x1ca)][_0x26755a(0x225)])&&Object['defineProperty'](_0x3c3fcf[_0x26755a(0x1e7)],_0x5743c6['AzeNk'],{'get':function(){const _0x575696={'ebIfN':function(_0x183cca,_0x5a9407){const _0x4d6200=a47_0xb41c;return _0x5743c6[_0x4d6200(0x205)](_0x183cca,_0x5a9407);},'IQNmZ':function(_0x4fd576,_0x5bc1d1){const _0x34d378=a47_0xb41c;return _0x5743c6[_0x34d378(0x1d2)](_0x4fd576,_0x5bc1d1);}};return async function _0x3b9e5b(_0x3c375c){const _0x396abc=a47_0xb41c;if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x11f700={};_0x11f700[_0x396abc(0x1a5)]=_0x3c375c,await BrowserstackCLI[_0x396abc(0x216)]()['getAutomationFramework']()[_0x396abc(0x1f8)](AutomationFrameworkState[_0x396abc(0x17b)],HookState[_0x396abc(0x191)],_0x11f700);}else{const _0x7637bc=_0x3c375c&&_0x3c375c[_0x396abc(0x1f9)]&&_0x3c375c[_0x396abc(0x1f9)][_0x396abc(0x1db)];if(_0x7637bc){const _0x1ffcf4=_0x7637bc[_0x396abc(0x1d3)],_0xe646f6=_0x7637bc[_0x396abc(0x208)];_0x575696[_0x396abc(0x1d5)](!_0x1ffcf4,!_0xe646f6)&&await ClientTroubleShootingService[_0x396abc(0x172)](),_0xe646f6&&(_0x575696[_0x396abc(0x224)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0xe646f6[_0x396abc(0x1c5)]()),_0x14c4f8['currentSessionDetails'][_0x396abc(0x1cd)]=_0xe646f6[_0x396abc(0x1b8)],_0x14c4f8['currentSessionDetails']['platform_version']=_0xe646f6[_0x396abc(0x189)]),_0x1ffcf4&&(_0x575696['IQNmZ'](debug,_0x396abc(0x171)+_0x1ffcf4),_0x14c4f8[_0x396abc(0x196)][_0x396abc(0x1a4)]=_0x1ffcf4);}}return _0xb2d982[_0x396abc(0x1b3)](this,arguments);};}});}}catch(_0x21017b){_0x5743c6['YdKhr'](debug,_0x26755a(0x1ea)+_0x21017b),_0x14c4f8[_0x26755a(0x18e)]=_0x21017b['toString']();}}static['patchCRConnection'](){const _0x1e65bc=a47_0x67ae3f,_0xd5ccce={'wrhfo':function(_0x8ee9cb,_0x40562e){return _0x8ee9cb(_0x40562e);},'SeeYM':function(_0xa9f882,_0x1fcb51){return _0xa9f882(_0x1fcb51);},'fvRzJ':function(_0x58ee4c){return _0x58ee4c();},'CZqie':_0x1e65bc(0x178),'NwDmZ':'server','uuGgT':_0x1e65bc(0x193),'EUVDH':_0x1e65bc(0x1e2),'NtKaN':function(_0x11cd7c,_0x2d73b5){return _0x11cd7c(_0x2d73b5);},'spfua':_0x1e65bc(0x201),'rXnBB':'Error\x20in\x20importing\x20crConnection','YALgc':function(_0x318a19,_0x184e7a){return _0x318a19!=_0x184e7a;},'IXUnI':_0x1e65bc(0x19d),'YGRYd':function(_0x5ed811,_0x2ac4b2){return _0x5ed811(_0x2ac4b2);}},_0x4611af=this;if(_0xd5ccce['fvRzJ'](isAccessibilityAutomationSession)){let _0x5e86a1=null;try{const _0x43f603=path[_0x1e65bc(0x181)](_0xd5ccce['CZqie'],_0xd5ccce[_0x1e65bc(0x179)],_0xd5ccce[_0x1e65bc(0x173)],_0xd5ccce[_0x1e65bc(0x1fa)]),_0x245f41=_0xd5ccce[_0x1e65bc(0x200)](importFileFromPWCore,_0x43f603);!_0x245f41?_0xd5ccce[_0x1e65bc(0x21c)](debug,_0xd5ccce[_0x1e65bc(0x18b)]):_0x5e86a1=_0x245f41[_0x1e65bc(0x203)];}catch(_0x2ea4fb){_0xd5ccce[_0x1e65bc(0x21c)](debug,_0xd5ccce[_0x1e65bc(0x185)]);}try{if(_0xd5ccce['YALgc'](_0x5e86a1,null)){const _0x156c40=_0x5e86a1[_0x1e65bc(0x1e7)]['_onMessage'];Object[_0x1e65bc(0x1b4)](_0x5e86a1[_0x1e65bc(0x1e7)],_0xd5ccce[_0x1e65bc(0x1ad)],{'get':function(){return async function _0x4c07d6(_0x3bfe07){const _0x4bc030=a47_0xb41c;try{if(BrowserstackCLI[_0x4bc030(0x216)]()[_0x4bc030(0x223)]()){const _0x32b9fa={};_0x32b9fa['message']=_0x3bfe07,await BrowserstackCLI[_0x4bc030(0x216)]()[_0x4bc030(0x1c8)]()['trackEvent'](AutomationFrameworkState[_0x4bc030(0x17b)],HookState[_0x4bc030(0x191)],_0x32b9fa),delete _0x3bfe07['bStackParams'];}else{const _0x58aa2a=_0x3bfe07[_0x4bc030(0x1a3)];if(_0x58aa2a){delete _0x3bfe07[_0x4bc030(0x1a3)];const _0x584ed1=_0x58aa2a[_0x4bc030(0x1d3)],_0x96be94=_0x58aa2a['platformDetails'];_0x96be94&&(_0xd5ccce[_0x4bc030(0x200)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x96be94[_0x4bc030(0x1c5)]()),_0x4611af[_0x4bc030(0x196)][_0x4bc030(0x1cd)]=_0x96be94[_0x4bc030(0x1b8)],_0x4611af['currentSessionDetails'][_0x4bc030(0x228)]=_0x96be94[_0x4bc030(0x189)]),_0x584ed1&&(_0xd5ccce['SeeYM'](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x584ed1),_0x4611af['currentSessionDetails']['bsSessionId']=_0x584ed1);}}}catch(_0x557b5c){_0xd5ccce[_0x4bc030(0x19f)](debug,_0x4bc030(0x1e5)+_0x557b5c['toString']());}return _0x156c40[_0x4bc030(0x1b3)](this,arguments);};}});}}catch(_0x358328){_0xd5ccce['YGRYd'](debug,_0x1e65bc(0x1df)+_0x358328),_0x4611af['sessionError']=_0x358328['toString']();}}}static['getDetails'](){const _0x401978=a47_0x67ae3f;return this[_0x401978(0x196)];}}module[a47_0x67ae3f(0x1ac)]=PlaywrightSessionDetails;function a47_0x3af2(){const _0x23aa54=['_defaultConnectOptions','__workerDetails','pJHLh','client','version','NBgDQ','function','bstackPerformA11yScan','../v2/state/hookState.js','../../helpers/helper','QccIF','HAHat','toString','unknown_grid','QhPzr','getAutomationFramework','info','env','jvJdz','Not\x20able\x20to\x20import\x20Connection','platform','HTXEE','dispatch','url','gooul','MLQTH','sessionId','Driver\x20Scan\x20result=','ebIfN','test','setupBrowserDetails','agfsp','browser_version','gmJlc','bsParams','2562318Lcrfmx','CNvRN','Connection','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','winstonLogger','Page','crConnection.js','1001WfgPJv','HcTlO','Error\x20in\x20finding\x20platform\x20details\x20','krdjk','prototype','capabilities','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','accessibilityPlatform','util','chrome','yLKGF','titlePath','Failed\x20to\x20perform\x20scan\x20','RquxT','testInfo','MZiAW','fromEntries','FFgqi','automate','pwPage','trackEvent','params','EUVDH','wsEndpoint','playwright-','patchConnection','jPwcJ','20760ejRXIk','wrhfo','Not\x20able\x20to\x20import\x20crConnection','currentTest','CRConnection','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','sSkwP','toLowerCase','1072017eSyBMl','platformDetails','815544ATWZPn','cloudProvider','QPGsd','CaNfi','__driver','YUBtK','VQGzX','safari','bHxur','xhNKH','../../bin/playwright/accessibility-helper','oGOzK','huAxw','getInstance','jiBpm','_browserType','0|3|5|2|4|1','mCCgU','browserName','NtKaN','patchCRConnection','inDSL','QFpFz','TmDqq','CrwRT','parse','isRunning','IQNmZ','BROWSERSTACK_TEST_OBSERVABILITY','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','../utils/constants','platform_version','debug','performScan','sGIQc','./accessibility-helper','edge','model','PfAuE','_type','format','_name','Page\x20Scan\x20result=','Setting\x20session\x20id\x20received\x20from\x20BS\x20','reportSessionLinkingIssue','uuGgT','sendMessageToServer','../../helpers/test-observability/error-handler','wIxuG','project','lib','NwDmZ','includes','PLAYWRIGHT_DISPATCH','EKGAW','LXKKg','../../helpers/accessibility-automation/helper','firefox','xlXyj','join','../utils/clientTroubleshootingService.js','olELP','WeEXc','rXnBB','../../helpers/accessibility-automation/scripts','browser','local_grid','platformVersion','isRemote','spfua','WUQuL','jjMjE','sessionError','GChgI','path','POST','product','chromium','gOurV','../v2/browserstackCLI','currentSessionDetails','../../helpers/test-observability/utils','OdZrq','../v2/state/automationFrameworkState.js','miOWn','gXlYM','connection.js','_onMessage','ATS_WSS_URL_REGEX','SeeYM','connectOptions','browserstack','247213BoNwuk','bStackParams','bsSessionId','message','kEWVs','Performing\x20scan\x20for\x20','873972JHdDdA','XeNvh','4HxBObc','tvmDa','exports','IXUnI','vaxnb','1975445rjAJqJ','bjmPs','Device\x20Model\x20is\x20not\x20available','patch','apply','defineProperty','BSTACK_ATS_URL','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','channel','platformName'];a47_0x3af2=function(){return _0x23aa54;};return a47_0x3af2();}
@@ -1 +1 @@
1
- const a48_0xe62d7a=a48_0x1252;(function(_0x1ad57d,_0x35c753){const _0x2225cd=a48_0x1252,_0x3bd36d=_0x1ad57d();while(!![]){try{const _0x114290=parseInt(_0x2225cd(0x161))/0x1+-parseInt(_0x2225cd(0x155))/0x2+-parseInt(_0x2225cd(0x16f))/0x3*(-parseInt(_0x2225cd(0x171))/0x4)+-parseInt(_0x2225cd(0x17f))/0x5*(parseInt(_0x2225cd(0x163))/0x6)+parseInt(_0x2225cd(0x169))/0x7*(parseInt(_0x2225cd(0x16d))/0x8)+-parseInt(_0x2225cd(0x173))/0x9*(parseInt(_0x2225cd(0x180))/0xa)+-parseInt(_0x2225cd(0x15a))/0xb*(-parseInt(_0x2225cd(0x17b))/0xc);if(_0x114290===_0x35c753)break;else _0x3bd36d['push'](_0x3bd36d['shift']());}catch(_0x29a577){_0x3bd36d['push'](_0x3bd36d['shift']());}}}(a48_0x1578,0xe6dcb));const util=require('util'),logger=require(a48_0xe62d7a(0x17a)),{nestedKeyValue,isFalse}=require(a48_0xe62d7a(0x164)),{o11yErrorHandler}=require(a48_0xe62d7a(0x178)),PerformanceTester=require(a48_0xe62d7a(0x157)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a48_0xe62d7a(0x15f)),CustomTagManager=require(a48_0xe62d7a(0x15e)),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a48_0xe62d7a(0x167)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x443986){const _0x559961=a48_0xe62d7a,_0x34f291={'oCHcT':function(_0x5d8008,_0x4572ff,_0x204dcb){return _0x5d8008(_0x4572ff,_0x204dcb);},'rKQqc':_0x559961(0x16c),'Tcmpn':_0x559961(0x160),'YqjnF':_0x559961(0x17e),'mCTGJ':_0x559961(0x17c)};if(_0x34f291[_0x559961(0x183)](nestedKeyValue,global,[_0x34f291[_0x559961(0x156)],_0x34f291['Tcmpn']]))return;await _0x443986[_0x559961(0x15d)](_0x2d65bc=>{},_0x559961(0x170)+JSON['stringify']({'action':_0x34f291[_0x559961(0x182)],'arguments':{'data':_0x559961(0x177)+Date[_0x559961(0x166)](),'level':_0x34f291[_0x559961(0x16e)]}})),global[_0x559961(0x16c)][_0x559961(0x160)]=!![];},a48_0xe62d7a(0x179)));exports[a48_0xe62d7a(0x16b)]=_0xf2e188=>{const _0x168e7b=a48_0xe62d7a,_0x4a7955={'QDyls':function(_0x1000d7,_0x5a8b64){return _0x1000d7(_0x5a8b64);},'ujent':function(_0x5e8fe4,_0x30d40d){return _0x5e8fe4(_0x30d40d);},'UOafM':function(_0x1e205d,_0x276f8d,_0x59adc0){return _0x1e205d(_0x276f8d,_0x59adc0);},'aWBDr':_0x168e7b(0x16c)};if(!_0xf2e188||_0xf2e188[_0x168e7b(0x181)])return;const _0x1adfee=_0xf2e188[_0x168e7b(0x15c)][_0x168e7b(0x168)](_0xf2e188);_0xf2e188[_0x168e7b(0x15c)]=async function _0x28b245(){const _0x44bd64=_0x168e7b,_0x1862a5=await _0x1adfee[_0x44bd64(0x159)](_0xf2e188,arguments);try{!BrowserstackCLI[_0x44bd64(0x174)]()['isRunning']()&&!_0x4a7955[_0x44bd64(0x16a)](isFalse,process['env'][_0x44bd64(0x175)])&&await _0x4a7955['ujent'](doo11ySync,_0x1862a5),BrowserstackCLI['getInstance']()[_0x44bd64(0x15b)]()&&(_0x1862a5[_0x44bd64(0x162)]=async(_0x4e8654,_0x3c466f,_0x20e29e=![])=>{await CustomTagManager['setCustomTags'](_0x4e8654,_0x3c466f,_0x20e29e);},_0x1862a5['uploadAttachment']=async(_0x32d0a3,_0x1051df=![])=>{const _0x13a170=_0x44bd64;await uploadAttachmentsManager[_0x13a170(0x154)](_0x32d0a3,_0x1051df);});}catch(_0x5acb63){logger['debug'](_0x44bd64(0x176)+util[_0x44bd64(0x17d)](_0x5acb63));}return _0x4a7955[_0x44bd64(0x165)](nestedKeyValue,global,[_0x4a7955[_0x44bd64(0x158)]])&&(global[_0x44bd64(0x16c)][_0x44bd64(0x172)]=_0x1862a5),_0x1862a5;},_0xf2e188[_0x168e7b(0x181)]=!![];};function a48_0x1252(_0x415211,_0x13b66a){const _0x157836=a48_0x1578();return a48_0x1252=function(_0x1252e2,_0x168aa3){_0x1252e2=_0x1252e2-0x154;let _0x1ae808=_0x157836[_0x1252e2];return _0x1ae808;},a48_0x1252(_0x415211,_0x13b66a);}function a48_0x1578(){const _0x5d7b77=['mCTGJ','15YzEDjx','browserstack_executor:\x20','617332Ywqasp','pwPage','4876407fSpvjK','getInstance','BROWSERSTACK_TEST_OBSERVABILITY','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','ObservabilitySync:','../../helpers/test-observability/error-handler','doo11ySync','../../helpers/logger','277380nMLgnK','debug','format','annotate','5vIWFNq','20NKBXxq','_bstackNewPagePatched','YqjnF','oCHcT','uploadAttachments','90oHNZSR','rKQqc','../../helpers/performance/performance-tester','aWBDr','apply','649tJsKez','isRunning','newPage','evaluate','../v2/customTagManager','../v2/browserstackCLI','o11ySyncDone','1375887VIRHLG','setCustomTags','9587730VRNmuP','../../helpers/helper','UOafM','now','measureWrapper','bind','1260FQSFyY','QDyls','patchBrowserNewPage','__workerDetails','5152OTDNEG'];a48_0x1578=function(){return _0x5d7b77;};return a48_0x1578();}
1
+ const a48_0x408bc4=a48_0x2d30;function a48_0x2d30(_0x3b8c2b,_0x3d95a1){const _0x10b918=a48_0x10b9();return a48_0x2d30=function(_0x2d30b6,_0x49ba3d){_0x2d30b6=_0x2d30b6-0xce;let _0x5928c2=_0x10b918[_0x2d30b6];return _0x5928c2;},a48_0x2d30(_0x3b8c2b,_0x3d95a1);}(function(_0x1aba82,_0x48e729){const _0x1b9344=a48_0x2d30,_0xda8daf=_0x1aba82();while(!![]){try{const _0x2000e7=parseInt(_0x1b9344(0xe4))/0x1*(-parseInt(_0x1b9344(0xf6))/0x2)+parseInt(_0x1b9344(0xf9))/0x3*(-parseInt(_0x1b9344(0xf0))/0x4)+parseInt(_0x1b9344(0xe2))/0x5*(-parseInt(_0x1b9344(0xfb))/0x6)+parseInt(_0x1b9344(0xf1))/0x7*(parseInt(_0x1b9344(0xf5))/0x8)+-parseInt(_0x1b9344(0xfa))/0x9+-parseInt(_0x1b9344(0xd8))/0xa+-parseInt(_0x1b9344(0xdc))/0xb*(-parseInt(_0x1b9344(0xf8))/0xc);if(_0x2000e7===_0x48e729)break;else _0xda8daf['push'](_0xda8daf['shift']());}catch(_0x3b6897){_0xda8daf['push'](_0xda8daf['shift']());}}}(a48_0x10b9,0xc1afa));const util=require('util'),logger=require(a48_0x408bc4(0xd4)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require(a48_0x408bc4(0xd5)),PerformanceTester=require(a48_0x408bc4(0xf3)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a48_0x408bc4(0xd1)),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a48_0x408bc4(0xe1)](PerformanceO11yEvents[a48_0x408bc4(0xce)],o11yErrorHandler(async function doo11ySync(_0x3fcc50){const _0x50904=a48_0x408bc4,_0x3cfdbd={'GshqL':function(_0x14b500,_0x564d04,_0x5756a4){return _0x14b500(_0x564d04,_0x5756a4);},'BhpCL':_0x50904(0xf7),'qgGyp':_0x50904(0xdf),'UavYo':_0x50904(0xe3),'zeyOM':_0x50904(0xeb)};if(_0x3cfdbd[_0x50904(0xec)](nestedKeyValue,global,[_0x3cfdbd[_0x50904(0xe8)],_0x3cfdbd[_0x50904(0xd2)]]))return;await _0x3fcc50[_0x50904(0xd6)](_0xf880a1=>{},_0x50904(0xed)+JSON[_0x50904(0xf2)]({'action':_0x3cfdbd[_0x50904(0xe5)],'arguments':{'data':'ObservabilitySync:'+Date[_0x50904(0xef)](),'level':_0x3cfdbd[_0x50904(0xf4)]}})),global[_0x50904(0xf7)][_0x50904(0xdf)]=!![];},a48_0x408bc4(0xe6)));exports[a48_0x408bc4(0xda)]=_0x3958fe=>{const _0x4c2af7=a48_0x408bc4,_0x4596ee={'vvxuV':function(_0x36c612,_0xf9602a){return _0x36c612(_0xf9602a);},'mtNwI':function(_0x54cf0e,_0x70418b){return _0x54cf0e(_0x70418b);},'sbRdS':function(_0x4767d3,_0x1e65a3,_0x19c91c){return _0x4767d3(_0x1e65a3,_0x19c91c);},'suzKT':_0x4c2af7(0xf7)};if(!_0x3958fe||_0x3958fe['_bstackNewPagePatched'])return;const _0x13238a=_0x3958fe['newPage']['bind'](_0x3958fe);_0x3958fe['newPage']=async function _0x1ee6be(){const _0x4a7d11=_0x4c2af7,_0x3dd500=await _0x13238a[_0x4a7d11(0xd0)](_0x3958fe,arguments);try{!BrowserstackCLI[_0x4a7d11(0xe9)]()[_0x4a7d11(0xea)]()&&!_0x4596ee[_0x4a7d11(0xdd)](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x4596ee[_0x4a7d11(0xdb)](doo11ySync,_0x3dd500),BrowserstackCLI['getInstance']()['isRunning']()&&(_0x3dd500[_0x4a7d11(0xcf)]=async(_0x54c89f,_0x1b7ac1,_0x5421e6=![])=>{const _0x5e3a68=_0x4a7d11;await CustomTagManager[_0x5e3a68(0xcf)](_0x54c89f,_0x1b7ac1,_0x5421e6);},_0x3dd500[_0x4a7d11(0xde)]=async(_0x4d5890,_0x16c768=![])=>{const _0x16c353=_0x4a7d11;await uploadAttachmentsManager[_0x16c353(0xd3)](_0x4d5890,_0x16c768);});}catch(_0x36ceed){logger[_0x4a7d11(0xeb)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x4a7d11(0xee)](_0x36ceed));}return _0x4596ee[_0x4a7d11(0xe0)](nestedKeyValue,global,[_0x4596ee[_0x4a7d11(0xd9)]])&&(global['__workerDetails'][_0x4a7d11(0xd7)]=_0x3dd500),_0x3dd500;},_0x3958fe[_0x4c2af7(0xe7)]=!![];};function a48_0x10b9(){const _0x2f9ebb=['11704cUQPwf','stringify','../../helpers/performance/performance-tester','zeyOM','3704NbyIzn','34fxyykI','__workerDetails','132SPIjxT','404037cVIzDy','5897871pnXXtP','193398ETegGn','SYNC','setCustomTags','apply','../v2/browserstackCLI','qgGyp','uploadAttachments','../../helpers/logger','../../helpers/test-observability/error-handler','evaluate','pwPage','10520960PhkDFJ','suzKT','patchBrowserNewPage','mtNwI','2926891zpivHR','vvxuV','uploadAttachment','o11ySyncDone','sbRdS','measureWrapper','40OtxCWJ','annotate','31669xdNfKE','UavYo','doo11ySync','_bstackNewPagePatched','BhpCL','getInstance','isRunning','debug','GshqL','browserstack_executor:\x20','format','now','12szpPSo'];a48_0x10b9=function(){return _0x2f9ebb;};return a48_0x10b9();}