browserstack-node-sdk 1.36.4 → 1.36.5

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 (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a39_0x43d5(){const _0x427835=['doo11ySync','CtiFp','1173561QlybIm','zLuAb','817418fLbwhv','join','BrowserContext','AlnMg','evaluate','RrCZn','pwPage','1210372xiVEaL','getAccessibilityResults','Dispatcher','BROWSERSTACK_TEST_ACCESSIBILITY_YML','nYldX','vAApl','runner/dispatcher.js','jwjGW','BROWSERSTACK_TEST_OBSERVABILITY','2Zjofxm','getAccessibilityResultsSummary','HwuBV','VTzXc','14oALyuR','debug','iXgaY','ObservabilitySync:','GelTP','__workerDetails','mockContextNewPage','13762190YcmdvC','../../helpers/helper','env','2798785HmKTyf','_isWorkerRedundant','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','lib','newPage','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','756162KWLilh','../../helpers/performance/constants','./accessibility-helper','defineProperty','format','22617pjQBGH','performScan','browserstack_executor:\x20','SYNC','apply','../../helpers/test-observability/error-handler','util','BkICB','2872jaZIbs','AVYnV','WDjoz','client','browserContext.js','../../helpers/logger','measureWrapper','o11ySyncDone','xjiHB','Unable\x20to\x20import\x20context\x20for\x20page','nKYns'];a39_0x43d5=function(){return _0x427835;};return a39_0x43d5();}const a39_0x1d838a=a39_0x5731;function a39_0x5731(_0x15b94f,_0x388435){const _0x43d5d9=a39_0x43d5();return a39_0x5731=function(_0x57311b,_0x3e3be4){_0x57311b=_0x57311b-0x1ac;let _0x332930=_0x43d5d9[_0x57311b];return _0x332930;},a39_0x5731(_0x15b94f,_0x388435);}(function(_0x5b588c,_0x42ce06){const _0x40c399=a39_0x5731,_0x3c5444=_0x5b588c();while(!![]){try{const _0x55c947=-parseInt(_0x40c399(0x1c4))/0x1+-parseInt(_0x40c399(0x1d4))/0x2*(parseInt(_0x40c399(0x1c2))/0x3)+parseInt(_0x40c399(0x1cb))/0x4+-parseInt(_0x40c399(0x1e2))/0x5+-parseInt(_0x40c399(0x1e8))/0x6*(parseInt(_0x40c399(0x1d8))/0x7)+parseInt(_0x40c399(0x1b5))/0x8*(parseInt(_0x40c399(0x1ad))/0x9)+parseInt(_0x40c399(0x1df))/0xa;if(_0x55c947===_0x42ce06)break;else _0x3c5444['push'](_0x3c5444['shift']());}catch(_0x32ba1c){_0x3c5444['push'](_0x3c5444['shift']());}}}(a39_0x43d5,0x88db3));const path=require('path'),util=require(a39_0x1d838a(0x1b3)),logger=require(a39_0x1d838a(0x1ba)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a39_0x1d838a(0x1e0)),{o11yErrorHandler}=require(a39_0x1d838a(0x1b2)),AccessibilityHelper=require(a39_0x1d838a(0x1ea)),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a39_0x1d838a(0x1e9)),doo11ySync=PerformanceTester[a39_0x1d838a(0x1bb)](PerformanceO11yEvents[a39_0x1d838a(0x1b0)],o11yErrorHandler(async function doo11ySync(_0x4f087d){const _0x3e55f5=a39_0x1d838a,_0x3a30cb={'VTzXc':function(_0x214c5e,_0x4c0ac6,_0x5641bc){return _0x214c5e(_0x4c0ac6,_0x5641bc);},'vRqod':_0x3e55f5(0x1dd),'GelTP':'o11ySyncDone','CtiFp':'annotate','lPiHp':_0x3e55f5(0x1d9)};if(_0x3a30cb[_0x3e55f5(0x1d7)](nestedKeyValue,global,[_0x3a30cb['vRqod'],_0x3a30cb[_0x3e55f5(0x1dc)]]))return;await _0x4f087d[_0x3e55f5(0x1c8)](_0x4b7b63=>{},_0x3e55f5(0x1af)+JSON['stringify']({'action':_0x3a30cb[_0x3e55f5(0x1c1)],'arguments':{'data':_0x3e55f5(0x1db)+Date['now'](),'level':_0x3a30cb['lPiHp']}})),global[_0x3e55f5(0x1dd)][_0x3e55f5(0x1bc)]=!![];},a39_0x1d838a(0x1c0)));exports[a39_0x1d838a(0x1de)]=()=>{const _0x1af8b2=a39_0x1d838a,_0x5bfc3f={'AlnMg':function(_0x1f20dc,_0x195af0){return _0x1f20dc(_0x195af0);},'WDjoz':function(_0x1eb924,_0x1507c0){return _0x1eb924(_0x1507c0);},'nKYns':function(_0x26c059,_0x13593b){return _0x26c059(_0x13593b);},'RrCZn':function(_0x5d85c2,_0x3d9e53,_0x509ba5){return _0x5d85c2(_0x3d9e53,_0x509ba5);},'xjiHB':'__workerDetails','bJdfO':_0x1af8b2(0x1e5),'nYldX':_0x1af8b2(0x1b8),'iXgaY':_0x1af8b2(0x1b9),'AVYnV':function(_0x9fe331,_0x46c0a1){return _0x9fe331(_0x46c0a1);},'zLuAb':_0x1af8b2(0x1be),'HwuBV':_0x1af8b2(0x1e6)},_0x3ddeec=path[_0x1af8b2(0x1c5)](_0x5bfc3f['bJdfO'],_0x5bfc3f[_0x1af8b2(0x1cf)],_0x5bfc3f[_0x1af8b2(0x1da)]),_0x57f39a=_0x5bfc3f[_0x1af8b2(0x1b6)](importFileFromPWCore,_0x3ddeec);if(!_0x57f39a){logger[_0x1af8b2(0x1d9)](_0x5bfc3f[_0x1af8b2(0x1c3)]);return;}const _0x21aa83=_0x57f39a[_0x1af8b2(0x1c6)],_0x376ff5=_0x21aa83['prototype'],_0x2ccb9d=_0x376ff5[_0x1af8b2(0x1e6)];Object[_0x1af8b2(0x1eb)](_0x376ff5,_0x5bfc3f[_0x1af8b2(0x1d6)],{'get':function(){return async function _0x11f272(){const _0x2042fd=a39_0x5731,_0x1e3410=await _0x2ccb9d[_0x2042fd(0x1b1)](this,arguments);try{!_0x5bfc3f[_0x2042fd(0x1c7)](isFalse,process[_0x2042fd(0x1e1)][_0x2042fd(0x1d3)])&&await _0x5bfc3f[_0x2042fd(0x1b7)](doo11ySync,_0x1e3410),!_0x5bfc3f[_0x2042fd(0x1bf)](isFalse,process['env'][_0x2042fd(0x1ce)])&&(_0x1e3410[_0x2042fd(0x1cc)]=async()=>{const _0x363a3c=_0x2042fd;return await AccessibilityHelper[_0x363a3c(0x1cc)](_0x1e3410);},_0x1e3410[_0x2042fd(0x1d5)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x1e3410);},_0x1e3410[_0x2042fd(0x1ae)]=async()=>{return await AccessibilityHelper['performScan'](_0x1e3410);});}catch(_0x1f6973){logger[_0x2042fd(0x1d9)](_0x2042fd(0x1e4)+util['format'](_0x1f6973));}return _0x5bfc3f[_0x2042fd(0x1c9)](nestedKeyValue,global,[_0x5bfc3f[_0x2042fd(0x1bd)]])&&(global['__workerDetails'][_0x2042fd(0x1ca)]=_0x1e3410),_0x1e3410;};}});},exports['mockIsWorkerRedundant']=()=>{const _0x35af33=a39_0x1d838a,_0x120f2c={'jwjGW':function(_0x41f326,_0xa36991){return _0x41f326(_0xa36991);},'BkICB':_0x35af33(0x1d1),'mqyGF':_0x35af33(0x1e7),'vAApl':_0x35af33(0x1e3)};try{const _0x4a72f2=requirePWModule[_0x35af33(0x1b1)](null,_0x120f2c[_0x35af33(0x1d2)](getPlaywrightLibPath,_0x120f2c[_0x35af33(0x1b4)]));if(!_0x4a72f2){logger[_0x35af33(0x1d9)](_0x120f2c['mqyGF']);return;}const _0x5c7e6e=_0x4a72f2[_0x35af33(0x1cd)],_0x191749=_0x5c7e6e['prototype'],_0x1b804b=_0x191749['_isWorkerRedundant'];Object[_0x35af33(0x1eb)](_0x191749,_0x120f2c[_0x35af33(0x1d0)],{'get':function(){return function _0xd0cf81(){const _0x1a0610=a39_0x5731;return _0x1b804b[_0x1a0610(0x1b1)](this,arguments),!![];};}});}catch(_0x406a1c){logger['debug']('Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20'+util[_0x35af33(0x1ac)](_0x406a1c));}};
1
+ const a39_0x56d3c7=a39_0x4c62;(function(_0x3c5f70,_0x229dde){const _0x56d041=a39_0x4c62,_0x36b635=_0x3c5f70();while(!![]){try{const _0x422312=parseInt(_0x56d041(0x201))/0x1*(-parseInt(_0x56d041(0x1e9))/0x2)+-parseInt(_0x56d041(0x1e2))/0x3+parseInt(_0x56d041(0x1e8))/0x4*(parseInt(_0x56d041(0x210))/0x5)+parseInt(_0x56d041(0x216))/0x6+-parseInt(_0x56d041(0x21e))/0x7+-parseInt(_0x56d041(0x21b))/0x8*(parseInt(_0x56d041(0x1f6))/0x9)+parseInt(_0x56d041(0x20f))/0xa;if(_0x422312===_0x229dde)break;else _0x36b635['push'](_0x36b635['shift']());}catch(_0x198ca7){_0x36b635['push'](_0x36b635['shift']());}}}(a39_0x5c09,0xa8b57));function a39_0x4c62(_0x491f47,_0x56fd23){const _0x5c09da=a39_0x5c09();return a39_0x4c62=function(_0x4c62c4,_0x17b9af){_0x4c62c4=_0x4c62c4-0x1e1;let _0x4d1da9=_0x5c09da[_0x4c62c4];return _0x4d1da9;},a39_0x4c62(_0x491f47,_0x56fd23);}const path=require(a39_0x56d3c7(0x1ec)),util=require(a39_0x56d3c7(0x21f)),logger=require(a39_0x56d3c7(0x1f7)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a39_0x56d3c7(0x218)),{o11yErrorHandler}=require(a39_0x56d3c7(0x212)),AccessibilityHelper=require(a39_0x56d3c7(0x1f2)),PerformanceTester=require(a39_0x56d3c7(0x205)),{O11y_EVENTS:PerformanceO11yEvents}=require(a39_0x56d3c7(0x220)),doo11ySync=PerformanceTester[a39_0x56d3c7(0x21d)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x437658){const _0xf6843f=a39_0x56d3c7,_0x48efdf={'aKOtr':function(_0x5b92d9,_0x23857d,_0x103342){return _0x5b92d9(_0x23857d,_0x103342);},'KvSxD':'__workerDetails','WAduJ':'o11ySyncDone','Vvubn':_0xf6843f(0x21c),'EPqsl':_0xf6843f(0x1ff)};if(_0x48efdf[_0xf6843f(0x20a)](nestedKeyValue,global,[_0x48efdf[_0xf6843f(0x1e6)],_0x48efdf[_0xf6843f(0x1f3)]]))return;await _0x437658['evaluate'](_0x3a1a7f=>{},_0xf6843f(0x211)+JSON[_0xf6843f(0x214)]({'action':_0x48efdf[_0xf6843f(0x208)],'arguments':{'data':_0xf6843f(0x203)+Date[_0xf6843f(0x1e1)](),'level':_0x48efdf['EPqsl']}})),global[_0xf6843f(0x1eb)][_0xf6843f(0x219)]=!![];},a39_0x56d3c7(0x1e7)));function a39_0x5c09(){const _0x58422a=['3535902onGGTi','VEHBv','../../helpers/helper','o11ySyncDone','lib','192yqlfLV','annotate','measureWrapper','2194472yERRWv','util','../../helpers/performance/constants','getAccessibilityResultsSummary','now','1675410pGOsIb','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','env','newPage','KvSxD','doo11ySync','4YHcBpG','211604JalJmQ','apply','__workerDetails','path','getAccessibilityResults','performScan','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','BrowserContext','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','./accessibility-helper','WAduJ','Dispatcher','prototype','329463AqsIdM','../../helpers/logger','BROWSERSTACK_TEST_OBSERVABILITY','FdPVy','znfLb','hNkgD','client','defineProperty','runner/dispatcher.js','debug','browserContext.js','4ONlVek','format','ObservabilitySync:','NqLnk','../../helpers/performance/performance-tester','bkAGF','fFfvD','Vvubn','mockContextNewPage','aKOtr','RWaHT','cqRNx','BROWSERSTACK_TEST_ACCESSIBILITY_YML','_isWorkerRedundant','13016130TGSlbG','4869215xZTEuB','browserstack_executor:\x20','../../helpers/test-observability/error-handler','WEyro','stringify','mockIsWorkerRedundant'];a39_0x5c09=function(){return _0x58422a;};return a39_0x5c09();}exports[a39_0x56d3c7(0x209)]=()=>{const _0x5a5c7c=a39_0x56d3c7,_0x52e81a={'EklmV':function(_0x7abf58,_0x28b76a){return _0x7abf58(_0x28b76a);},'PgicA':function(_0x1084f7,_0x3332ec,_0x44430c){return _0x1084f7(_0x3332ec,_0x44430c);},'fFfvD':'__workerDetails','WEyro':_0x5a5c7c(0x21a),'bkAGF':_0x5a5c7c(0x1fc),'uMLNC':_0x5a5c7c(0x200),'FdPVy':function(_0x27b44b,_0x58fea3){return _0x27b44b(_0x58fea3);},'HxMOL':'Unable\x20to\x20import\x20context\x20for\x20page','RWaHT':_0x5a5c7c(0x1e5)},_0x3609ef=path['join'](_0x52e81a[_0x5a5c7c(0x213)],_0x52e81a[_0x5a5c7c(0x206)],_0x52e81a['uMLNC']),_0x18e4b2=_0x52e81a[_0x5a5c7c(0x1f9)](importFileFromPWCore,_0x3609ef);if(!_0x18e4b2){logger[_0x5a5c7c(0x1ff)](_0x52e81a['HxMOL']);return;}const _0x3fa016=_0x18e4b2[_0x5a5c7c(0x1f0)],_0x2ad1da=_0x3fa016['prototype'],_0x44a8bb=_0x2ad1da[_0x5a5c7c(0x1e5)];Object[_0x5a5c7c(0x1fd)](_0x2ad1da,_0x52e81a[_0x5a5c7c(0x20b)],{'get':function(){const _0x137a19=_0x5a5c7c,_0x55a57f={'cqRNx':function(_0xc437d5,_0x199b41){return _0x52e81a['EklmV'](_0xc437d5,_0x199b41);},'znfLb':function(_0x302a40,_0x13cc30,_0x583a9c){return _0x52e81a['PgicA'](_0x302a40,_0x13cc30,_0x583a9c);},'NqLnk':_0x52e81a[_0x137a19(0x207)]};return async function _0x3318ac(){const _0x2232ef=_0x137a19,_0x1cd0b4=await _0x44a8bb[_0x2232ef(0x1ea)](this,arguments);try{!_0x55a57f[_0x2232ef(0x20c)](isFalse,process[_0x2232ef(0x1e4)][_0x2232ef(0x1f8)])&&await _0x55a57f[_0x2232ef(0x20c)](doo11ySync,_0x1cd0b4),!_0x55a57f[_0x2232ef(0x20c)](isFalse,process[_0x2232ef(0x1e4)][_0x2232ef(0x20d)])&&(_0x1cd0b4[_0x2232ef(0x1ed)]=async()=>{const _0x3b863c=_0x2232ef;return await AccessibilityHelper[_0x3b863c(0x1ed)](_0x1cd0b4);},_0x1cd0b4[_0x2232ef(0x221)]=async()=>{const _0x765af0=_0x2232ef;return await AccessibilityHelper[_0x765af0(0x221)](_0x1cd0b4);},_0x1cd0b4[_0x2232ef(0x1ee)]=async()=>{const _0x2f1dfa=_0x2232ef;return await AccessibilityHelper[_0x2f1dfa(0x1ee)](_0x1cd0b4);});}catch(_0x55b504){logger[_0x2232ef(0x1ff)](_0x2232ef(0x1f1)+util[_0x2232ef(0x202)](_0x55b504));}return _0x55a57f[_0x2232ef(0x1fa)](nestedKeyValue,global,[_0x55a57f[_0x2232ef(0x204)]])&&(global['__workerDetails']['pwPage']=_0x1cd0b4),_0x1cd0b4;};}});},exports[a39_0x56d3c7(0x215)]=()=>{const _0x1e5c36=a39_0x56d3c7,_0x1a8f51={'RgMZC':function(_0x1ab7ec,_0x1898d7){return _0x1ab7ec(_0x1898d7);},'hNkgD':_0x1e5c36(0x1fe),'VEHBv':_0x1e5c36(0x1e3),'EEBWt':_0x1e5c36(0x20e)};try{const _0x42c695=requirePWModule[_0x1e5c36(0x1ea)](null,_0x1a8f51['RgMZC'](getPlaywrightLibPath,_0x1a8f51[_0x1e5c36(0x1fb)]));if(!_0x42c695){logger[_0x1e5c36(0x1ff)](_0x1a8f51[_0x1e5c36(0x217)]);return;}const _0x5bff5c=_0x42c695[_0x1e5c36(0x1f4)],_0x22d5de=_0x5bff5c[_0x1e5c36(0x1f5)],_0x1426be=_0x22d5de['_isWorkerRedundant'];Object[_0x1e5c36(0x1fd)](_0x22d5de,_0x1a8f51['EEBWt'],{'get':function(){return function _0x586afd(){return _0x1426be['apply'](this,arguments),!![];};}});}catch(_0x3d222d){logger[_0x1e5c36(0x1ff)](_0x1e5c36(0x1ef)+util[_0x1e5c36(0x202)](_0x3d222d));}};
@@ -1 +1 @@
1
- const a40_0x584fa0=a40_0x4893;(function(_0x6c66b3,_0x3804d8){const _0x315997=a40_0x4893,_0x7d17da=_0x6c66b3();while(!![]){try{const _0x4c5b29=parseInt(_0x315997(0x22a))/0x1*(parseInt(_0x315997(0x216))/0x2)+-parseInt(_0x315997(0x258))/0x3+parseInt(_0x315997(0x222))/0x4+-parseInt(_0x315997(0x254))/0x5+-parseInt(_0x315997(0x1da))/0x6+parseInt(_0x315997(0x239))/0x7+-parseInt(_0x315997(0x1e8))/0x8*(parseInt(_0x315997(0x223))/0x9);if(_0x4c5b29===_0x3804d8)break;else _0x7d17da['push'](_0x7d17da['shift']());}catch(_0x55593d){_0x7d17da['push'](_0x7d17da['shift']());}}}(a40_0x56b8,0x5ccf4));function a40_0x4893(_0x145706,_0x21b158){const _0x56b80d=a40_0x56b8();return a40_0x4893=function(_0x4893e8,_0x2d0c51){_0x4893e8=_0x4893e8-0x1ce;let _0x457ddb=_0x56b80d[_0x4893e8];return _0x457ddb;},a40_0x4893(_0x145706,_0x21b158);}function a40_0x56b8(){const _0x2e52fe=['onwTC','1411874tRgnbw','zAfbz','find','mbRXp','xfTBv','sygfW','SZNbj','test','getLoadUtilsPath','tFoBU','runner/projectUtils.js','wiujs','2410840gKZAJm','38835reHppa','getTestTags','Found\x20key:\x20','getProjectUtilsPath','validateFilePath','BJqXI','\x20bytes','1bWTCdC','rqwfI','calculatePerformance','Error\x20in\x20sending\x20trace\x20file:\x20%s','wZvLv','tags','yCgzd','OsdlM','START_TIME','LogCreated','1.38.0','FEauF','BaDvY','../../../helpers/test-observability/utils','HYavd','1883469AUVSmy','AnBZu','ICXnW','doo11ySync','../../../helpers/performance/performance-tester','ZpbFM','cTbsk','eRQls','BxVJv','Trace\x20enabled','afterWorkerHook','VPPNp','calculateTimesFromMultipleFiles','lHWVV','1.35.0','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','join','jtpwW','vvcrk','sendEventData','length','includes','Searching\x20for\x20key:\x20','onStepBegin','anxKo','LQeRF','pRKKJ','282500bxceqx','lib','cXynx','fjXSb','1926354wNgEvR','.zip','getPlaywrightLibPath','sirmc','call','extname','playwright/lib/common/configLoader.js','@playwright/test/lib/common/transform.js','wIXto','OSvJp','slice','txFVb','toISOString','sendSessionDetails','@playwright/test','../../../helpers/test-observability/constants','onStepEnd','testUId','xnPcZ','onTestBegin','lmdNk','./test-details','util','compareVersions','.json','JPBcm','NfMYf','issZb','playwright/lib/transform/transform.js','DqZAH','process.js','name','error','statSync','LPbqI','../../../helpers/test-observability/sessionHandler','Total\x20duration\x20for\x20whole\x20build\x20is\x20','\x20in\x20arguments','getTransformPath','format','RHMWc','runner/loadUtils.js','896598spTRTD','uploadTraceZip','\x20in\x20attachments','BsCfh','stopAndGenerate','winstonLogger','CPXje','onBegin','VRgbN','toString','getForkProcessPath','iHQHg','TEST_LOG','../../../helpers/logger','648wKfEgz','createReadStream','attachments','match','common','XdWXB','debug','filter','stack','sendTraceZip','ERROR','WBNMH','path','existsSync','beforeTestHook','afterTestHook','JQBHs','getTime','sendTestLog','lSeEd','size','PLAYWRIGHT','Test\x20timeout\x20of','processPageScreenshot','getFailureData','aivmP','map','JKlpT','pYUAp','UmzDd','findNestedKey','readdirSync','DtLrY','getConfigLoaderPath','substr','qXLFw','addTraceFilePath','mMSWo','rIlLR','env','AMMIO','startsWith','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','OYhbq','WumkH'];a40_0x56b8=function(){return _0x2e52fe;};return a40_0x56b8();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a40_0x584fa0(0x237)),PerformanceTester=require(a40_0x584fa0(0x23d)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x584fa0(0x267)),helper=require('../../../helpers/helper'),path=require('path'),logger=require(a40_0x584fa0(0x1e7))[a40_0x584fa0(0x1df)],SessionHandler=require(a40_0x584fa0(0x1d3)),TestDetails=require(a40_0x584fa0(0x26d)),util=require(a40_0x584fa0(0x26e)),getTagsFromTitle=_0x45bae9=>{const _0x12e2c6=a40_0x584fa0;return _0x45bae9[_0x12e2c6(0x1eb)](/@(\w+)/g)?.[_0x12e2c6(0x202)](_0x52ce94=>_0x52ce94[_0x12e2c6(0x262)](0x1))||[];};exports[a40_0x584fa0(0x224)]=_0x454aa2=>{const _0x45c498=a40_0x584fa0,_0x59e241={'WBNMH':function(_0xfb7f1e,_0x3ce2f0){return _0xfb7f1e(_0x3ce2f0);}};if(_0x454aa2[_0x45c498(0x22f)])return _0x454aa2['tags'][_0x45c498(0x202)](_0x1c10c1=>_0x1c10c1[_0x45c498(0x211)]('@')?_0x1c10c1[_0x45c498(0x20a)](0x1):_0x1c10c1);return _0x59e241[_0x45c498(0x1f3)](getTagsFromTitle,_0x454aa2['title']);},exports[a40_0x584fa0(0x22c)]=async()=>{const _0x571906=a40_0x584fa0,_0x38f876={'xfTBv':function(_0x512322,_0x16081f){return _0x512322-_0x16081f;},'LQeRF':'performance-reporter.html','cTbsk':_0x571906(0x1e1),'OSvJp':'endSession','JPBcm':_0x571906(0x26b),'SZNbj':'onTestEnd','CPXje':_0x571906(0x250),'IhYWC':_0x571906(0x268),'eRQls':'beforeWorkerHook','rIlLR':_0x571906(0x243),'lSeEd':_0x571906(0x1f6),'akZMS':_0x571906(0x1f7),'rqwfI':_0x571906(0x23c),'LPbqI':_0x571906(0x1ff),'VPPNp':_0x571906(0x265),'cXynx':'setupBrowserDetails','zAfbz':'requestSpyCallback','pYUAp':_0x571906(0x1fa),'UmzDd':function(_0x58e020,_0x50877a){return _0x58e020(_0x50877a);},'lmdNk':function(_0x1952a1,_0x36f518){return _0x1952a1/_0x36f518;},'BJqXI':function(_0x35b023,_0x5eb0fc){return _0x35b023+_0x5eb0fc;},'AnBZu':function(_0x5ebcd6,_0x74ccc0){return _0x5ebcd6(_0x74ccc0);},'tFoBU':function(_0x2f0c35,_0x2a0b16){return _0x2f0c35*_0x2a0b16;},'RHMWc':function(_0x24d222,_0x57639e){return _0x24d222/_0x57639e;}};if(!process[_0x571906(0x20f)]['START_TIME'])return;const _0x2ae200=_0x38f876[_0x571906(0x21a)](new Date()[_0x571906(0x1f9)](),new Date(process['env'][_0x571906(0x232)])[_0x571906(0x1f9)]()),_0x156d96=await PerformanceTester[_0x571906(0x1de)](_0x38f876[_0x571906(0x252)],[_0x38f876[_0x571906(0x23f)],_0x38f876[_0x571906(0x261)],_0x38f876[_0x571906(0x271)],_0x38f876[_0x571906(0x21c)],_0x38f876[_0x571906(0x1e0)],_0x38f876['IhYWC']]),_0x2b8b8e=fs[_0x571906(0x207)]('.'),_0x59cf57=_0x2b8b8e[_0x571906(0x1ef)](_0x38a8c6=>_0x38a8c6[_0x571906(0x211)]('performance-report-worker-')&&_0x38a8c6['endsWith'](_0x571906(0x270))),_0x4719c0=await PerformanceTester[_0x571906(0x245)](_0x59cf57,[_0x38f876[_0x571906(0x240)],_0x38f876[_0x571906(0x20e)],_0x38f876[_0x571906(0x1fb)],_0x38f876['akZMS'],_0x38f876[_0x571906(0x22b)],_0x38f876[_0x571906(0x1d2)],_0x38f876[_0x571906(0x244)],_0x38f876[_0x571906(0x256)],_0x38f876[_0x571906(0x217)],_0x38f876[_0x571906(0x204)]]);_0x38f876['UmzDd'](debug,_0x571906(0x1d4)+_0x38f876[_0x571906(0x26c)](_0x2ae200,0x3e8)+'\x20s'),_0x38f876[_0x571906(0x205)](debug,_0x571906(0x212)+_0x38f876['BJqXI'](_0x4719c0,_0x156d96)),_0x38f876[_0x571906(0x23a)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x38f876[_0x571906(0x21f)](_0x38f876[_0x571906(0x1d8)](_0x38f876[_0x571906(0x228)](_0x4719c0,_0x156d96),_0x2ae200),0x64));},exports[a40_0x584fa0(0x1d6)]=()=>{const _0x3b78b6=a40_0x584fa0,_0x280d34={'BaDvY':function(_0x5b7905,_0x292a90){return _0x5b7905(_0x292a90);},'VRgbN':function(_0x374229,_0x377e59){return _0x374229>=_0x377e59;},'wiujs':'1.38.0','Mmaik':_0x3b78b6(0x274),'onwTC':'playwright','jtpwW':_0x3b78b6(0x247),'issZb':'@playwright/test/lib/transform/transform.js','lHWVV':_0x3b78b6(0x266),'ICXnW':_0x3b78b6(0x25f)},_0x53dce9=_0x280d34[_0x3b78b6(0x236)](getFrameworkVersion,FRAMEWORKS[_0x3b78b6(0x1fd)]);if(_0x280d34[_0x3b78b6(0x1e2)](helper[_0x3b78b6(0x26f)](_0x53dce9,_0x280d34[_0x3b78b6(0x221)]),0x0))return[_0x280d34['Mmaik'],_0x280d34[_0x3b78b6(0x215)]];if(_0x280d34[_0x3b78b6(0x1e2)](helper['compareVersions'](_0x53dce9,_0x280d34[_0x3b78b6(0x24a)]),0x0))return[_0x280d34[_0x3b78b6(0x273)],_0x280d34[_0x3b78b6(0x246)]];return[_0x280d34[_0x3b78b6(0x23b)],_0x280d34[_0x3b78b6(0x246)]];},exports[a40_0x584fa0(0x209)]=()=>{const _0x25ac55=a40_0x584fa0,_0x137887={'mMSWo':function(_0xa1aa5c,_0x398311){return _0xa1aa5c(_0x398311);},'uGgaN':function(_0x275318,_0x4a7492){return _0x275318>=_0x4a7492;},'JQBHs':_0x25ac55(0x234),'mbRXp':_0x25ac55(0x25e),'pRKKJ':'playwright','zEdHl':'@playwright/test/lib/common/configLoader.js','WumkH':_0x25ac55(0x266)},_0x1ac802=_0x137887[_0x25ac55(0x20d)](getFrameworkVersion,FRAMEWORKS[_0x25ac55(0x1fd)]);if(_0x137887['uGgaN'](helper['compareVersions'](_0x1ac802,_0x137887[_0x25ac55(0x1f8)]),0x0))return[_0x137887[_0x25ac55(0x219)],_0x137887[_0x25ac55(0x253)]];return[_0x137887['zEdHl'],_0x137887[_0x25ac55(0x214)]];},exports[a40_0x584fa0(0x21e)]=()=>{const _0x1931e3=a40_0x584fa0,_0x22d312={};_0x22d312[_0x1931e3(0x23e)]=_0x1931e3(0x1d9);const _0x3648a4=_0x22d312;return helper['getPlaywrightLibPath'](_0x3648a4[_0x1931e3(0x23e)]);},exports[a40_0x584fa0(0x226)]=()=>{const _0x20bed3=a40_0x584fa0,_0x1f1ee1={};_0x1f1ee1[_0x20bed3(0x201)]=_0x20bed3(0x220);const _0x5a9c7b=_0x1f1ee1;return helper[_0x20bed3(0x25a)](_0x5a9c7b['aivmP']);},exports[a40_0x584fa0(0x1e4)]=()=>{const _0x208a45=a40_0x584fa0,_0x5352a3={'AMMIO':function(_0x4b1f73,_0x2bfd6d){return _0x4b1f73(_0x2bfd6d);},'XdWXB':function(_0x1fe0e1,_0x52c35e){return _0x1fe0e1>=_0x52c35e;},'EHPeX':_0x208a45(0x234),'wZvLv':_0x208a45(0x255),'qXLFw':_0x208a45(0x1ec),'BxVJv':_0x208a45(0x1ce),'txFVb':_0x208a45(0x21d)},_0x40c9a5=_0x5352a3[_0x208a45(0x210)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x5352a3[_0x208a45(0x1ed)](helper[_0x208a45(0x26f)](_0x40c9a5,_0x5352a3['EHPeX']),0x0))return path[_0x208a45(0x249)](_0x5352a3[_0x208a45(0x22e)],_0x5352a3[_0x208a45(0x20b)],_0x5352a3[_0x208a45(0x241)]);return path[_0x208a45(0x249)](_0x5352a3[_0x208a45(0x263)],_0x5352a3[_0x208a45(0x22e)],_0x5352a3[_0x208a45(0x20b)],_0x5352a3[_0x208a45(0x241)]);},exports[a40_0x584fa0(0x200)]=(_0x1b892c,{test_run_uuid:_0xfa74ed})=>{const _0x240a28=a40_0x584fa0,_0x327a0c={'plJfr':_0x240a28(0x1f2),'yCgzd':_0x240a28(0x1e6),'DtLrY':function(_0xfee67c,_0x293cbd){return _0xfee67c<=_0x293cbd;},'vvcrk':function(_0x50982e,_0x50dd86){return _0x50982e(_0x50dd86);},'FEauF':_0x240a28(0x1fe),'GkKlF':function(_0x5215fb,_0x532dac){return _0x5215fb>=_0x532dac;},'BsCfh':'1.42.0','sygfW':function(_0x2a5b83,_0x45c37b){return _0x2a5b83>_0x45c37b;},'DqZAH':function(_0x40ddec,_0x3cfd14){return _0x40ddec(_0x3cfd14);},'VExxl':function(_0x1b3705,_0x5c4a9d,_0x8f319b){return _0x1b3705(_0x5c4a9d,_0x8f319b);},'OYhbq':_0x240a28(0x21d)};if(!_0x1b892c||_0x327a0c[_0x240a28(0x208)](_0x1b892c[_0x240a28(0x24d)],0x0))return[];const _0x141cb3=_0x327a0c[_0x240a28(0x24b)](removeAnsiColors,_0x1b892c[0x0]['message']);if(_0x141cb3[_0x240a28(0x211)](_0x327a0c[_0x240a28(0x235)])){const _0x4d0137=_0x1b892c[0x0],_0x24801d=_0x327a0c[_0x240a28(0x24b)](getFrameworkVersion,FRAMEWORKS[_0x240a28(0x1fd)]);if((!_0x4d0137[_0x240a28(0x1f0)]||_0x327a0c['GkKlF'](_0x24801d,_0x327a0c[_0x240a28(0x1dd)]))&&_0x327a0c[_0x240a28(0x21b)](_0x1b892c['length'],0x1))return{'failureData':[{'backtrace':[_0x141cb3,_0x327a0c[_0x240a28(0x275)](removeAnsiColors,_0x1b892c[0x1]['stack'])]}],'logs':_0x1b892c['slice'](0x2)[_0x240a28(0x202)](_0x5d69f8=>{const _0x40282e=_0x240a28;return{'timestamp':new Date()[_0x40282e(0x264)](),'level':_0x327a0c['plJfr'],'message':''+_0x5d69f8['message'],'kind':_0x327a0c[_0x40282e(0x230)],'http_response':{},'test_run_uuid':_0xfa74ed};})};}return{'failureData':_0x327a0c['VExxl'](failureData,_0x1b892c,_0x327a0c[_0x240a28(0x213)]),'logs':[]};},exports[a40_0x584fa0(0x227)]=_0x4822a0=>{const _0x6ec480=a40_0x584fa0,_0x3d88b3={};_0x3d88b3[_0x6ec480(0x203)]=function(_0x434321,_0x44981c){return _0x434321!==_0x44981c;},_0x3d88b3[_0x6ec480(0x1e5)]=_0x6ec480(0x259),_0x3d88b3[_0x6ec480(0x251)]=function(_0x18486f,_0x50cfb1){return _0x18486f>_0x50cfb1;};const _0x5e4d41=_0x3d88b3;if(_0x4822a0&&fs[_0x6ec480(0x1f5)](_0x4822a0)){if(_0x5e4d41[_0x6ec480(0x203)](path[_0x6ec480(0x25d)](_0x4822a0)['toLowerCase'](),_0x5e4d41[_0x6ec480(0x1e5)]))return logger[_0x6ec480(0x1d0)](_0x6ec480(0x248)+_0x4822a0),![];const _0x4041b9=fs[_0x6ec480(0x1d1)](_0x4822a0)[_0x6ec480(0x1fc)];if(_0x5e4d41[_0x6ec480(0x251)](_0x4041b9,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error']('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x4041b9+_0x6ec480(0x229)),![];return!![];}return![];},exports[a40_0x584fa0(0x206)]=(_0x364f1e,_0x174769)=>{const _0x4bd19b=a40_0x584fa0,_0x155b13={};_0x155b13['wIXto']='Arguments';const _0x88e8b8=_0x155b13;logger[_0x4bd19b(0x1ee)](_0x4bd19b(0x24f)+_0x174769);if(_0x364f1e[_0x4bd19b(0x1ea)]){const _0x2d0a60=_0x364f1e[_0x4bd19b(0x1ea)][_0x4bd19b(0x218)](_0xaf5f73=>_0xaf5f73[_0x4bd19b(0x1cf)]==='trace');if(_0x2d0a60)return logger[_0x4bd19b(0x1ee)](_0x4bd19b(0x225)+_0x174769+_0x4bd19b(0x1dc)),_0x2d0a60[_0x174769];}else{if(Object['prototype'][_0x4bd19b(0x1e3)][_0x4bd19b(0x25c)](_0x364f1e)[_0x4bd19b(0x24e)](_0x88e8b8[_0x4bd19b(0x260)]))for(const _0x40f5e2 of _0x364f1e){if(_0x40f5e2[_0x174769])return logger[_0x4bd19b(0x1ee)](_0x4bd19b(0x225)+_0x174769+_0x4bd19b(0x1d5)),_0x40f5e2[_0x174769];}}return'';},exports[a40_0x584fa0(0x1db)]=async(_0x1972ed,_0x289cf4)=>{const _0x1e814c=a40_0x584fa0,_0x2ccd2d={};_0x2ccd2d['ArFhY']=_0x1e814c(0x233),_0x2ccd2d[_0x1e814c(0x257)]='TEST_ATTACHMENT',_0x2ccd2d[_0x1e814c(0x26a)]=_0x1e814c(0x1f1),_0x2ccd2d['sirmc']=_0x1e814c(0x22d);const _0x3333cc=_0x2ccd2d;try{const _0x55bbb8={'event_type':_0x3333cc['ArFhY'],'logs':[{'data':_0x1972ed?fs[_0x1e814c(0x1e9)](_0x1972ed):'','test_run_uuid':_0x289cf4,'kind':_0x3333cc[_0x1e814c(0x257)],'fileName':_0x1972ed?path['basename'](_0x1972ed):''}]};return await SessionHandler[_0x1e814c(0x24c)](_0x55bbb8,0x0,_0x3333cc[_0x1e814c(0x26a)]);}catch(_0x55da8f){logger[_0x1e814c(0x1d0)](util[_0x1e814c(0x1d7)](_0x3333cc[_0x1e814c(0x25b)],_0x55da8f));}},exports[a40_0x584fa0(0x1f1)]=async(_0x57b208,_0x335c86)=>{const _0x220e3d=a40_0x584fa0,_0x78a4a2={};_0x78a4a2['OsdlM']=_0x220e3d(0x1f4),_0x78a4a2['NfMYf']=_0x220e3d(0x242),_0x78a4a2[_0x220e3d(0x238)]=_0x220e3d(0x22d);const _0x1f4985=_0x78a4a2;try{logger[_0x220e3d(0x1ee)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x335c86);const _0x5bbccb=await exports['findNestedKey'](_0x57b208,_0x1f4985[_0x220e3d(0x231)]);if(exports[_0x220e3d(0x227)](_0x5bbccb)){logger[_0x220e3d(0x1ee)](_0x1f4985[_0x220e3d(0x272)]);const _0x351ecb={};_0x351ecb[_0x220e3d(0x269)]=_0x335c86,_0x351ecb['filePath']=_0x5bbccb;const _0x42811c=_0x351ecb;TestDetails[_0x220e3d(0x20c)](_0x42811c);};}catch(_0x15114d){logger[_0x220e3d(0x1d0)](util[_0x220e3d(0x1d7)](_0x1f4985[_0x220e3d(0x238)],_0x15114d));}};
1
+ const a40_0x52c43d=a40_0x5044;(function(_0x6d87ff,_0x47fbf9){const _0x343f7e=a40_0x5044,_0x502362=_0x6d87ff();while(!![]){try{const _0x34b333=parseInt(_0x343f7e(0x15f))/0x1+parseInt(_0x343f7e(0x160))/0x2*(parseInt(_0x343f7e(0x147))/0x3)+parseInt(_0x343f7e(0x13d))/0x4*(-parseInt(_0x343f7e(0xe7))/0x5)+-parseInt(_0x343f7e(0x148))/0x6+parseInt(_0x343f7e(0x13a))/0x7*(-parseInt(_0x343f7e(0x149))/0x8)+parseInt(_0x343f7e(0xea))/0x9+parseInt(_0x343f7e(0xe1))/0xa;if(_0x34b333===_0x47fbf9)break;else _0x502362['push'](_0x502362['shift']());}catch(_0x5ad9d5){_0x502362['push'](_0x502362['shift']());}}}(a40_0x5db0,0x8ea09));function a40_0x5044(_0x41abc1,_0x5f1665){const _0x5db083=a40_0x5db0();return a40_0x5044=function(_0x504441,_0x5b191e){_0x504441=_0x504441-0xde;let _0x432db5=_0x5db083[_0x504441];return _0x432db5;},a40_0x5044(_0x41abc1,_0x5f1665);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a40_0x52c43d(0x11a)),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x52c43d(0x143)),helper=require('../../../helpers/helper'),path=require(a40_0x52c43d(0xf7)),logger=require(a40_0x52c43d(0xe5))[a40_0x52c43d(0x165)],SessionHandler=require(a40_0x52c43d(0x14c)),TestDetails=require(a40_0x52c43d(0x15e)),util=require(a40_0x52c43d(0x101)),getTagsFromTitle=_0x514231=>{const _0x5494ed=a40_0x52c43d;return _0x514231[_0x5494ed(0xef)](/@(\w+)/g)?.[_0x5494ed(0x169)](_0x542fed=>_0x542fed['slice'](0x1))||[];};function a40_0x5db0(){const _0x907c9a=['wErnw','CjMlu','112CNusEz','filter','getPlaywrightLibPath','onStepEnd','FPdii','START_TIME','../../../helpers/test-observability/constants','NZwZe','Searching\x20for\x20key:\x20','Test\x20timeout\x20of','3ksRVlY','5404692Xalcba','8PEscdn','endSession','calculatePerformance','../../../helpers/test-observability/sessionHandler','Error\x20in\x20sending\x20trace\x20file:\x20%s','\x20bytes','runner/loadUtils.js','size','findNestedKey','VWlmh','PIzIu','fJkSM','onStepBegin','Found\x20key:\x20','nXdUj','performance-report-worker-','addTraceFilePath','onTestBegin','qpqNk','readdirSync','UwArc','./test-details','288886rpeGkT','420124bGpvxN','zWmbt','Poiat','uploadTraceZip','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','winstonLogger','.zip','doo11ySync','SwCjB','map','Percentage\x20of\x20increased\x20time\x20is\x20','MMRyb','dWYWS','QSqXE','getTime','QrVco','UzEil','onTestEnd','toLowerCase','stopAndGenerate','sendSessionDetails','name','@playwright/test/lib/common/configLoader.js','zsQOn','playwright/lib/common/configLoader.js','IdwPx','getForkProcessPath','stack','format','afterWorkerHook','ZuKMo','message','17402240jcdIiO','length','trace','.json','../../../helpers/logger','Rcpek','158755TMtVQd','calculateTimesFromMultipleFiles','UJubn','2492091sCeGbj','zLrHc','vvZcD','setupBrowserDetails','ONzFh','match','MJYTQ','toString','TEST_ATTACHMENT','lib','testUId','sDIir','attachments','path','process.js','filePath','test','getConfigLoaderPath','@playwright/test/lib/transform/transform.js','onBegin','env','ppVmg','uIehX','util','PLAYWRIGHT','debug','XYAGr','sendTraceZip','mpcvM','zALdZ','error','beforeTestHook','Keglu','runner/projectUtils.js','gVLPS','@playwright/test','Rmgzs','common','includes','kblTv','getLoadUtilsPath','createReadStream','KIzYw','fYIxD','compareVersions','jBGXd','extname','tags','../../../helpers/test-observability/utils','playwright','EAbPE','kYSWL','startsWith','toISOString','GekRT','COAot','Trace\x20enabled','prototype','getTransformPath','ZAaxs','tOUsM','\x20in\x20attachments','Arguments','sqlPr','PrivH','getTestTags','HlfFG','VPAan','join','GbLJd','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','MreGI','existsSync','validateFilePath','OKFyA','@playwright/test/lib/common/transform.js','1.38.0','slice','TEST_LOG','TZGxm','994420SMDSAu'];a40_0x5db0=function(){return _0x907c9a;};return a40_0x5db0();}exports[a40_0x52c43d(0x12b)]=_0xfcc22e=>{const _0x284f2c=a40_0x52c43d,_0x4dce20={'EyNxf':function(_0x529530,_0x2d962a){return _0x529530(_0x2d962a);}};if(_0xfcc22e[_0x284f2c(0x119)])return _0xfcc22e[_0x284f2c(0x119)][_0x284f2c(0x169)](_0x2113b8=>_0x2113b8[_0x284f2c(0x11e)]('@')?_0x2113b8['substr'](0x1):_0x2113b8);return _0x4dce20['EyNxf'](getTagsFromTitle,_0xfcc22e['title']);},exports[a40_0x52c43d(0x14b)]=async()=>{const _0x498e70=a40_0x52c43d,_0x71e389={'fYIxD':function(_0x21034b,_0x20c046){return _0x21034b-_0x20c046;},'IdwPx':'performance-reporter.html','fJkSM':_0x498e70(0xfd),'ZAaxs':_0x498e70(0x14a),'Tnpjr':_0x498e70(0x15a),'UzEil':_0x498e70(0x171),'MMRyb':_0x498e70(0x155),'TZGxm':_0x498e70(0x140),'Poiat':'beforeWorkerHook','TlYFf':_0x498e70(0xde),'HHppF':_0x498e70(0x109),'TDIpf':'afterTestHook','ZuKMo':_0x498e70(0x167),'GbLJd':'processPageScreenshot','Keglu':_0x498e70(0x174),'sDIir':_0x498e70(0xed),'mSZFJ':'requestSpyCallback','Rcpek':'sendTestLog','MJYTQ':function(_0x7b079a,_0x1ce69f){return _0x7b079a(_0x1ce69f);},'SwCjB':function(_0x211c2b,_0x526a44){return _0x211c2b/_0x526a44;},'MreGI':function(_0x2e536d,_0x19ea45){return _0x2e536d+_0x19ea45;},'MahEg':function(_0x348652,_0x59c597){return _0x348652*_0x59c597;}};if(!process[_0x498e70(0xfe)][_0x498e70(0x142)])return;const _0x3d4bd0=_0x71e389[_0x498e70(0x115)](new Date()[_0x498e70(0x16e)](),new Date(process[_0x498e70(0xfe)][_0x498e70(0x142)])[_0x498e70(0x16e)]()),_0x2c198f=await PerformanceTester[_0x498e70(0x173)](_0x71e389[_0x498e70(0x179)],[_0x71e389[_0x498e70(0x154)],_0x71e389[_0x498e70(0x125)],_0x71e389['Tnpjr'],_0x71e389[_0x498e70(0x170)],_0x71e389[_0x498e70(0x16b)],_0x71e389[_0x498e70(0x139)]]),_0x5f5a4f=fs[_0x498e70(0x15c)]('.'),_0x3994ce=_0x5f5a4f[_0x498e70(0x13e)](_0x27c8bf=>_0x27c8bf['startsWith'](_0x498e70(0x158))&&_0x27c8bf['endsWith'](_0x498e70(0xe4))),_0x31f26c=await PerformanceTester[_0x498e70(0xe8)](_0x3994ce,[_0x71e389[_0x498e70(0x162)],_0x71e389['TlYFf'],_0x71e389['HHppF'],_0x71e389['TDIpf'],_0x71e389[_0x498e70(0xdf)],_0x71e389[_0x498e70(0x12f)],_0x71e389[_0x498e70(0x10a)],_0x71e389[_0x498e70(0xf5)],_0x71e389['mSZFJ'],_0x71e389[_0x498e70(0xe6)]]);_0x71e389[_0x498e70(0xf0)](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x71e389[_0x498e70(0x168)](_0x3d4bd0,0x3e8)+'\x20s'),_0x71e389[_0x498e70(0xf0)](debug,_0x498e70(0x130)+_0x71e389['MreGI'](_0x31f26c,_0x2c198f)),_0x71e389[_0x498e70(0xf0)](debug,_0x498e70(0x16a)+_0x71e389['MahEg'](_0x71e389[_0x498e70(0x168)](_0x71e389[_0x498e70(0x131)](_0x31f26c,_0x2c198f),_0x3d4bd0),0x64));},exports[a40_0x52c43d(0x124)]=()=>{const _0x30ba36=a40_0x52c43d,_0x3c7628={'VWlmh':function(_0x470c72,_0x19a852){return _0x470c72(_0x19a852);},'ppVmg':function(_0x2d714b,_0x59da03){return _0x2d714b>=_0x59da03;},'vvZcD':_0x30ba36(0x136),'KIzYw':'playwright/lib/transform/transform.js','Dbxvh':_0x30ba36(0x11b),'tOUsM':function(_0x335532,_0x2189f3){return _0x335532>=_0x2189f3;},'ixKQd':'1.35.0','sMIbe':_0x30ba36(0xfc),'sqlPr':'@playwright/test','weiXo':_0x30ba36(0x135)},_0x4b31c9=_0x3c7628[_0x30ba36(0x152)](getFrameworkVersion,FRAMEWORKS[_0x30ba36(0x102)]);if(_0x3c7628[_0x30ba36(0xff)](helper[_0x30ba36(0x116)](_0x4b31c9,_0x3c7628[_0x30ba36(0xec)]),0x0))return[_0x3c7628[_0x30ba36(0x114)],_0x3c7628['Dbxvh']];if(_0x3c7628[_0x30ba36(0x126)](helper[_0x30ba36(0x116)](_0x4b31c9,_0x3c7628['ixKQd']),0x0))return[_0x3c7628['sMIbe'],_0x3c7628[_0x30ba36(0x129)]];return[_0x3c7628['weiXo'],_0x3c7628[_0x30ba36(0x129)]];},exports[a40_0x52c43d(0xfb)]=()=>{const _0x129442=a40_0x52c43d,_0x3d9baa={'kblTv':function(_0x25bf2e,_0x2c8c28){return _0x25bf2e(_0x2c8c28);},'dWYWS':function(_0x43c772,_0xcbf574){return _0x43c772>=_0xcbf574;},'wErnw':_0x129442(0x136),'CjMlu':_0x129442(0x178),'XPxJO':_0x129442(0x11b),'NZwZe':_0x129442(0x176),'zALdZ':_0x129442(0x10d)},_0x192e2b=_0x3d9baa[_0x129442(0x111)](getFrameworkVersion,FRAMEWORKS[_0x129442(0x102)]);if(_0x3d9baa[_0x129442(0x16c)](helper[_0x129442(0x116)](_0x192e2b,_0x3d9baa[_0x129442(0x13b)]),0x0))return[_0x3d9baa[_0x129442(0x13c)],_0x3d9baa['XPxJO']];return[_0x3d9baa[_0x129442(0x144)],_0x3d9baa[_0x129442(0x107)]];},exports[a40_0x52c43d(0x112)]=()=>{const _0x5ef968=a40_0x52c43d,_0x4c7894={};_0x4c7894['Rmgzs']=_0x5ef968(0x14f);const _0x1f6700=_0x4c7894;return helper[_0x5ef968(0x13f)](_0x1f6700[_0x5ef968(0x10e)]);},exports['getProjectUtilsPath']=()=>{const _0x399527=a40_0x52c43d,_0x4d38e9={};_0x4d38e9['uIehX']=_0x399527(0x10b);const _0x442cfc=_0x4d38e9;return helper['getPlaywrightLibPath'](_0x442cfc[_0x399527(0x100)]);},exports[a40_0x52c43d(0x17a)]=()=>{const _0xb692bd=a40_0x52c43d,_0x4a69aa={'VPAan':function(_0x2a719a,_0x1506b7){return _0x2a719a(_0x1506b7);},'UJubn':function(_0x14bb20,_0x384bbe){return _0x14bb20>=_0x384bbe;},'mpcvM':_0xb692bd(0x136),'kYSWL':_0xb692bd(0xf3),'HlfFG':_0xb692bd(0x10f),'EAbPE':_0xb692bd(0xf8),'TXvcW':'test'},_0x527f78=_0x4a69aa[_0xb692bd(0x12d)](getFrameworkVersion,FRAMEWORKS[_0xb692bd(0x102)]);if(_0x4a69aa[_0xb692bd(0xe9)](helper['compareVersions'](_0x527f78,_0x4a69aa[_0xb692bd(0x106)]),0x0))return path[_0xb692bd(0x12e)](_0x4a69aa[_0xb692bd(0x11d)],_0x4a69aa[_0xb692bd(0x12c)],_0x4a69aa[_0xb692bd(0x11c)]);return path[_0xb692bd(0x12e)](_0x4a69aa['TXvcW'],_0x4a69aa[_0xb692bd(0x11d)],_0x4a69aa[_0xb692bd(0x12c)],_0x4a69aa[_0xb692bd(0x11c)]);},exports['getFailureData']=(_0x3808a8,{test_run_uuid:_0x13e4a9})=>{const _0x5b05e0=a40_0x52c43d,_0x1d87a0={'COAot':'ERROR','OKFyA':_0x5b05e0(0x138),'gyCNb':function(_0x52e4ac,_0x1062f5){return _0x52e4ac<=_0x1062f5;},'QSqXE':function(_0x5b828d,_0x1a5349){return _0x5b828d(_0x1a5349);},'jBSzi':_0x5b05e0(0x146),'qpqNk':function(_0xe6f982,_0x5a16b1){return _0xe6f982>=_0x5a16b1;},'FQsLY':'1.42.0','UwArc':function(_0x229c23,_0x33acc9){return _0x229c23>_0x33acc9;},'GekRT':function(_0x7b0aa9,_0x12efcb){return _0x7b0aa9(_0x12efcb);},'RAPXL':function(_0x12f4d9,_0x54ab26,_0x4c45c9){return _0x12f4d9(_0x54ab26,_0x4c45c9);},'ONzFh':_0x5b05e0(0xfa)};if(!_0x3808a8||_0x1d87a0['gyCNb'](_0x3808a8[_0x5b05e0(0xe2)],0x0))return[];const _0x52bac1=_0x1d87a0[_0x5b05e0(0x16d)](removeAnsiColors,_0x3808a8[0x0]['message']);if(_0x52bac1[_0x5b05e0(0x11e)](_0x1d87a0['jBSzi'])){const _0x5db5bb=_0x3808a8[0x0],_0x57f752=_0x1d87a0[_0x5b05e0(0x16d)](getFrameworkVersion,FRAMEWORKS[_0x5b05e0(0x102)]);if((!_0x5db5bb[_0x5b05e0(0x17b)]||_0x1d87a0[_0x5b05e0(0x15b)](_0x57f752,_0x1d87a0['FQsLY']))&&_0x1d87a0[_0x5b05e0(0x15d)](_0x3808a8['length'],0x1))return{'failureData':[{'backtrace':[_0x52bac1,_0x1d87a0[_0x5b05e0(0x120)](removeAnsiColors,_0x3808a8[0x1][_0x5b05e0(0x17b)])]}],'logs':_0x3808a8[_0x5b05e0(0x137)](0x2)['map'](_0x52a33f=>{const _0x4bfeda=_0x5b05e0;return{'timestamp':new Date()[_0x4bfeda(0x11f)](),'level':_0x1d87a0[_0x4bfeda(0x121)],'message':''+_0x52a33f[_0x4bfeda(0xe0)],'kind':_0x1d87a0[_0x4bfeda(0x134)],'http_response':{},'test_run_uuid':_0x13e4a9};})};}return{'failureData':_0x1d87a0['RAPXL'](failureData,_0x3808a8,_0x1d87a0[_0x5b05e0(0xee)]),'logs':[]};},exports[a40_0x52c43d(0x133)]=_0x50aa7f=>{const _0x2f75de=a40_0x52c43d,_0x431d5c={};_0x431d5c[_0x2f75de(0xeb)]=function(_0x345c3c,_0x23c624){return _0x345c3c!==_0x23c624;},_0x431d5c[_0x2f75de(0x157)]=_0x2f75de(0x166),_0x431d5c[_0x2f75de(0x177)]=function(_0x490cef,_0x1e7455){return _0x490cef>_0x1e7455;};const _0x1d532c=_0x431d5c;if(_0x50aa7f&&fs[_0x2f75de(0x132)](_0x50aa7f)){if(_0x1d532c[_0x2f75de(0xeb)](path[_0x2f75de(0x118)](_0x50aa7f)[_0x2f75de(0x172)](),_0x1d532c[_0x2f75de(0x157)]))return logger[_0x2f75de(0x108)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x50aa7f),![];const _0x1a714c=fs['statSync'](_0x50aa7f)[_0x2f75de(0x150)];if(_0x1d532c[_0x2f75de(0x177)](_0x1a714c,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x2f75de(0x108)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x1a714c+_0x2f75de(0x14e)),![];return!![];}return![];},exports[a40_0x52c43d(0x151)]=(_0x5f3a9b,_0x3516a5)=>{const _0x588871=a40_0x52c43d,_0x235fe0={};_0x235fe0[_0x588871(0x104)]=_0x588871(0x128);const _0x5b9e01=_0x235fe0;logger[_0x588871(0x103)](_0x588871(0x145)+_0x3516a5);if(_0x5f3a9b[_0x588871(0xf6)]){const _0x941e=_0x5f3a9b[_0x588871(0xf6)]['find'](_0x1f9b83=>_0x1f9b83[_0x588871(0x175)]===_0x588871(0xe3));if(_0x941e)return logger[_0x588871(0x103)]('Found\x20key:\x20'+_0x3516a5+_0x588871(0x127)),_0x941e[_0x3516a5];}else{if(Object[_0x588871(0x123)][_0x588871(0xf1)]['call'](_0x5f3a9b)[_0x588871(0x110)](_0x5b9e01[_0x588871(0x104)]))for(const _0x40c74b of _0x5f3a9b){if(_0x40c74b[_0x3516a5])return logger[_0x588871(0x103)](_0x588871(0x156)+_0x3516a5+'\x20in\x20arguments'),_0x40c74b[_0x3516a5];}}return'';},exports[a40_0x52c43d(0x163)]=async(_0x37d07b,_0x468997)=>{const _0x49fd93=a40_0x52c43d,_0x44de30={};_0x44de30[_0x49fd93(0x153)]='LogCreated',_0x44de30[_0x49fd93(0x117)]=_0x49fd93(0xf2),_0x44de30['PrivH']='sendTraceZip',_0x44de30['QrVco']=_0x49fd93(0x14d);const _0x242560=_0x44de30;try{const _0x3c56df={'event_type':_0x242560['PIzIu'],'logs':[{'data':_0x37d07b?fs[_0x49fd93(0x113)](_0x37d07b):'','test_run_uuid':_0x468997,'kind':_0x242560[_0x49fd93(0x117)],'fileName':_0x37d07b?path['basename'](_0x37d07b):''}]};return await SessionHandler['sendEventData'](_0x3c56df,0x0,_0x242560[_0x49fd93(0x12a)]);}catch(_0x4c63c0){logger[_0x49fd93(0x108)](util['format'](_0x242560[_0x49fd93(0x16f)],_0x4c63c0));}},exports[a40_0x52c43d(0x105)]=async(_0x40b750,_0x420cea)=>{const _0x54930=a40_0x52c43d,_0x7594de={};_0x7594de[_0x54930(0x141)]=_0x54930(0xf7),_0x7594de[_0x54930(0x161)]=_0x54930(0x122),_0x7594de['gVLPS']=_0x54930(0x14d);const _0x3bb1f5=_0x7594de;try{logger['debug'](_0x54930(0x164)+_0x420cea);const _0x44cf98=await exports[_0x54930(0x151)](_0x40b750,_0x3bb1f5['FPdii']);if(exports[_0x54930(0x133)](_0x44cf98)){logger['debug'](_0x3bb1f5[_0x54930(0x161)]);const _0x43b82e={};_0x43b82e[_0x54930(0xf4)]=_0x420cea,_0x43b82e[_0x54930(0xf9)]=_0x44cf98;const _0xd7d21d=_0x43b82e;TestDetails[_0x54930(0x159)](_0xd7d21d);};}catch(_0x58f4fb){logger[_0x54930(0x108)](util[_0x54930(0x17c)](_0x3bb1f5[_0x54930(0x10c)],_0x58f4fb));}};
@@ -1 +1 @@
1
- const a41_0x32ff0f=a41_0x5687;function a41_0x402c(){const _0x2f7d79=['getInstance','UCjzS','qPapB','homedir','util','hook','splice','JuImT','ZGLqd','path','logs','PbBrR','JCrBx','reverse','NnPIU','startedAt','3043720CTWBAq','location','zQHGq','QUYgS','aRBuz','env','push','getStepIdentifier','TBrVl','startsWith','LgrIb','options','configureGit','meta','PgCIB','AFTER_ALL','needToReportStep','err','After\x20Hooks','setup','ldpyt','AFTER_EACH','existsSync','logLevel','UGlMJ','BriBe','shutdown','relative','getScope','./test-details','depth','Test\x20Finished\x20with\x20unique\x20id\x20','hwIIN','DLdKR','file','kZyXK','34984UuuXEv','DJIBy','\x20at\x20','_bs_hookIdentifier','failure_type','reportLogs','filter','ksObP','DEQIs','lKBYj','FkNgG','getTestIdentifier','getTestUUID','HookRunStarted','getTime','mkdirSync','abiXR','getCustomRerunParam','onBegin','EbWDs','.txt','onTestEnd','beforeEach\x20hook','5441450OJSDVa','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','_gitConfigured','uploadEventData','title','beforeAll\x20hook','getHookType','Vfaqu','printsToStdio','hook_run','uFhgl','491532iOfnUP','../../../helpers/test-observability/constants','yekMV','passed','retry','cwd','expanded','onStepEnd','KpOjH','pRliC','211470wjEywM','afterEach\x20hook','xGviE','failure','_gitConfigPath','yBGHf','xrUjx','JzWLp','nFKiy','ZzsNj','attachments','cGdzK','PLAYWRIGHT_TRACE_LOGS','object','RrGPu','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','getStepsAndLogs','START_TIME','SKMBM','HookRunFinished','sNjFN','base64','KToPi','qQhjN','unknown','WubHX','name','NlEau','awuzk','setStepIdentifier','afterAll\x20hook','QHovE','Mjeia','RfggI','aBYft','LogCreated','errors','StWPd','test_run','uuid','wRDFB','RNUWi','./pwUtils','gRhNG','5lFfZRL','JpwlF','mcwsX','PIzjH','getTestRunIdentifier','../../../helpers/performance/performance-tester','cTGMP','DbndE','length','duration','_tags','ECtat','OAyZT','PLAYWRIGHT','yghid','javascript','SaSnf','FNlkZ','root','Hook\x20Started\x20with\x20unique\x20id\x20','560634bJdoPR','expectedStatus','OcGZo','4363548NlfQez','sendHookRunEvent','Before\x20Hooks','_tests','IQNWF','\x20is\x20triggered','steps','bSCFZ','KVljA','stack','hCMaw','xeYRH','status','hPYJo','Test\x20Started\x20with\x20unique\x20id\x20','hook_run_uuid','CpeLj','statSync','sKGTX','category','failure_reason','TEST_SCREENSHOT','NRuQB','1UPOAOh','sendSessionDetails','pending','hCbDl','event_type','\x20for\x20','qrolB','Hook\x20Finished\x20with\x20unique\x20id\x20','getHierarchy','endSession','Trace\x20file\x20found\x20for\x20test:\x20','uiAlh','dxsmj','../../../helpers/test-observability/requestQueueHandler','size','../../../helpers/test-observability/sessionHandler','sendTestRunEvent','toString','2052oEDbyx','wtqFc','MyReporter','mtime','basename','Oklwk','format','BROWSERSTACK_O11Y_PERF_MEASUREMENT','onTestBegin','../../../helpers/test-observability/error-handler','fMSWo','split','FdKjL','YDTEg','lDouA','onStepBegin','toISOString','join','../../../helpers/helper','hooks','inspect','message','startMonitoring','Otzpp','LeWpc','htrdv','map','failed','JyfnF','parent','titlePath','Dhfym','bpFUZ','retry_of','performance-report-reporter.json','_testHooksMap','trace_','0|4|3|1|2|5|6','XySRu','timedOut','BEFORE_ALL','.browserstack','TestRunFinished','test','forEach','QZmTT','hjVFq','startTime','CItjS','result','skipped','BROWSERSTACK_LOG_LEVEL','nBBhY','backtrace','readFileSync','XgvGC','ARuuT','addTestUIDAndReportLog','MxLCY','aaGod','error'];a41_0x402c=function(){return _0x2f7d79;};return a41_0x402c();}(function(_0x3122d1,_0x272f63){const _0xddb2c2=a41_0x5687,_0x3a1c7c=_0x3122d1();while(!![]){try{const _0x5ebed1=-parseInt(_0xddb2c2(0x2a4))/0x1*(parseInt(_0xddb2c2(0x240))/0x2)+parseInt(_0xddb2c2(0x24a))/0x3+parseInt(_0xddb2c2(0x1fa))/0x4+parseInt(_0xddb2c2(0x276))/0x5*(parseInt(_0xddb2c2(0x28a))/0x6)+-parseInt(_0xddb2c2(0x28d))/0x7+parseInt(_0xddb2c2(0x21e))/0x8*(parseInt(_0xddb2c2(0x2b6))/0x9)+-parseInt(_0xddb2c2(0x235))/0xa;if(_0x5ebed1===_0x272f63)break;else _0x3a1c7c['push'](_0x3a1c7c['shift']());}catch(_0x79658){_0x3a1c7c['push'](_0x3a1c7c['shift']());}}}(a41_0x402c,0x7c2d4));function a41_0x5687(_0x411456,_0x1786e3){const _0x402c37=a41_0x402c();return a41_0x5687=function(_0x568771,_0x36f5e1){_0x568771=_0x568771-0x1e0;let _0xdbc0a5=_0x402c37[_0x568771];return _0xdbc0a5;},a41_0x5687(_0x411456,_0x1786e3);}const RequestQueueHandler=require(a41_0x32ff0f(0x2b1)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x32ff0f(0x274)),{v4:uuidv4}=require(a41_0x32ff0f(0x271)),path=require(a41_0x32ff0f(0x1f3)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x32ff0f(0x2c8)),TestDetails=require(a41_0x32ff0f(0x217)),fs=require('fs'),util=require(a41_0x32ff0f(0x1ee)),{o11yClassErrorHandler}=require(a41_0x32ff0f(0x2bf)),PerformanceTester=require(a41_0x32ff0f(0x27b)),{FRAMEWORKS}=require(a41_0x32ff0f(0x241)),SessionHandler=require(a41_0x32ff0f(0x2b3)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a41_0x32ff0f(0x2c8));class MyReporter{constructor(_0x5ee414){const _0x4e243c=a41_0x32ff0f,_0x54a9cd={'yekMV':_0x4e243c(0x2db),'LgrIb':function(_0x53c652,_0x2880cc,_0x2207c7,_0x52f85e){return _0x53c652(_0x2880cc,_0x2207c7,_0x52f85e);},'aaGod':_0x4e243c(0x2d8)},_0x586e54=_0x54a9cd[_0x4e243c(0x242)][_0x4e243c(0x2c1)]('|');let _0x46134a=0x0;while(!![]){switch(_0x586e54[_0x46134a++]){case'0':const _0x27e5c0={};_0x27e5c0[_0x4e243c(0x211)]=process[_0x4e243c(0x1ff)][_0x4e243c(0x1e0)],_0x54a9cd[_0x4e243c(0x204)](setLogLevel,_0x27e5c0,new Map(),new Map());continue;case'1':this[_0x4e243c(0x2d9)]={};continue;case'2':this[_0x4e243c(0x205)]=_0x5ee414;continue;case'3':this[_0x4e243c(0x290)]={};continue;case'4':process[_0x4e243c(0x1ff)][_0x4e243c(0x2bd)]&&(PerformanceTester[_0x4e243c(0x2cc)](_0x54a9cd[_0x4e243c(0x1e8)]),process['env'][_0x4e243c(0x25b)]=new Date()['toISOString']());continue;case'5':this[_0x4e243c(0x237)]=![];continue;case'6':this[_0x4e243c(0x24e)]=null;continue;}break;}}async[a41_0x32ff0f(0x230)](){const _0x727912=a41_0x32ff0f;TestDetails[_0x727912(0x20d)](),await this[_0x727912(0x206)]();}async[a41_0x32ff0f(0x2be)](_0x5b8760,_0x528055){const _0x1260da=a41_0x32ff0f,_0x1ab9ac={'RfggI':function(_0xd954cb,_0x35a4b4){return _0xd954cb(_0x35a4b4);},'PbBrR':'TestRunStarted'},_0x3abd9c=this[_0x1260da(0x229)](_0x5b8760),_0x2d3130=TestDetails[_0x1260da(0x22a)](this[_0x1260da(0x27a)](_0x5b8760,_0x528055['retry']));process[_0x1260da(0x1ff)]['BROWSERSTACK_TEST_RUN_ID']=_0x2d3130;const _0x44772b={};_0x44772b[_0x1260da(0x271)]=_0x2d3130,_0x44772b[_0x1260da(0x1f9)]=_0x528055[_0x1260da(0x2e5)],this[_0x1260da(0x290)][_0x3abd9c]=_0x44772b,_0x1ab9ac[_0x1260da(0x26b)](trace,_0x1260da(0x29b)+_0x3abd9c),await this['sendTestRunEvent'](_0x5b8760,_0x1ab9ac[_0x1260da(0x1f5)],_0x528055);}async['onStepBegin'](_0x250483,_0x418152,_0x3b3285){const _0x151ad8=a41_0x32ff0f,_0x469cc2={'tGBvJ':function(_0x2ec5b9,_0x305486){return _0x2ec5b9(_0x305486);},'aRBuz':_0x151ad8(0x22b)};if(!this[_0x151ad8(0x20a)](_0x3b3285,_0x250483))return;const _0x383e6c=this[_0x151ad8(0x267)](_0x250483,_0x3b3285);this['_tests'][_0x383e6c]={'uuid':TestDetails['getTestUUID'](_0x383e6c),'startedAt':_0x3b3285['startTime'][_0x151ad8(0x2c6)]()};const _0x426675=this[_0x151ad8(0x27a)](_0x250483,_0x418152[_0x151ad8(0x244)]);!this['_testHooksMap'][_0x426675]&&(this['_testHooksMap'][_0x426675]=[]),this['_testHooksMap'][_0x426675][_0x151ad8(0x200)](this[_0x151ad8(0x290)][_0x383e6c][_0x151ad8(0x271)]),_0x469cc2['tGBvJ'](trace,_0x151ad8(0x289)+_0x383e6c+'\x20is\x20triggered\x20for\x20test\x20'+_0x426675),await this[_0x151ad8(0x28e)](_0x250483,_0x3b3285,_0x469cc2[_0x151ad8(0x1fe)],_0x418152);}async[a41_0x32ff0f(0x247)](_0x61db32,_0x1a0cd5,_0x423adf){const _0x2ed0d9=a41_0x32ff0f,_0x164faf={'qQhjN':function(_0xd009a9,_0x48d66f){return _0xd009a9+_0x48d66f;},'tIiTC':function(_0x378d8b,_0x1bb14f){return _0x378d8b(_0x1bb14f);},'CItjS':_0x2ed0d9(0x25d)};if(!this[_0x2ed0d9(0x20a)](_0x423adf,_0x61db32))return;const _0x3a923b=this['getStepIdentifier'](_0x61db32,_0x423adf);this['_tests'][_0x3a923b]={...this[_0x2ed0d9(0x290)][_0x3a923b]||{},'finishedAt':new Date(_0x164faf[_0x2ed0d9(0x261)](_0x423adf['startTime'][_0x2ed0d9(0x22c)](),_0x423adf['duration']))},_0x164faf['tIiTC'](trace,_0x2ed0d9(0x2ab)+_0x3a923b+_0x2ed0d9(0x292)),await this[_0x2ed0d9(0x28e)](_0x61db32,_0x423adf,_0x164faf[_0x2ed0d9(0x2e6)],_0x1a0cd5);}async[a41_0x32ff0f(0x233)](_0x9fa152,_0x2fb694){const _0x289b96=a41_0x32ff0f,_0x3a9a5e={'hwIIN':function(_0x4f69a2,_0x31ceb0){return _0x4f69a2===_0x31ceb0;},'rKipw':'screenshot','Otzpp':_0x289b96(0x2a2),'ZGLqd':_0x289b96(0x25f),'FNlkZ':function(_0x424c18,_0x125420){return _0x424c18(_0x125420);},'POCPN':_0x289b96(0x2e0),'JuImT':_0x289b96(0x236),'DbndE':function(_0x16b948,_0x3ba374,_0x32a0b6){return _0x16b948(_0x3ba374,_0x32a0b6);},'uiAlh':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','yMSsD':function(_0x2d7ff6,_0x44ba07){return _0x2d7ff6>_0x44ba07;}},_0x7329be=this[_0x289b96(0x229)](_0x9fa152),_0x298408=TestDetails['getTestUUID'](this[_0x289b96(0x27a)](_0x9fa152,_0x2fb694['retry']));this[_0x289b96(0x290)][_0x7329be]={...this[_0x289b96(0x290)][_0x7329be]||{},'finishedAt':new Date()[_0x289b96(0x2c6)]()},_0x3a9a5e['FNlkZ'](debug,_0x289b96(0x219)+_0x7329be);try{await this[_0x289b96(0x2b4)](_0x9fa152,_0x3a9a5e['POCPN'],_0x2fb694);}catch(_0xfcecaa){_0x3a9a5e[_0x289b96(0x287)](debug,util[_0x289b96(0x2bc)](_0x3a9a5e[_0x289b96(0x1f1)],_0xfcecaa[_0x289b96(0x2b5)]()));}try{_0x3a9a5e[_0x289b96(0x287)](debug,_0x289b96(0x259)+_0x298408),await _0x3a9a5e[_0x289b96(0x27d)](sendTraceZip,_0x2fb694,_0x298408);}catch(_0x583d44){_0x3a9a5e['FNlkZ'](debug,util[_0x289b96(0x2bc)](_0x3a9a5e[_0x289b96(0x2af)],_0x583d44[_0x289b96(0x2b5)]()));}const _0x1b4c39=[];_0x2fb694[_0x289b96(0x254)]&&_0x2fb694['attachments'][_0x289b96(0x2d0)](_0x6a77ed=>{const _0x58bf8c=_0x289b96;if(_0x3a9a5e[_0x58bf8c(0x21a)](_0x6a77ed[_0x58bf8c(0x264)],_0x3a9a5e['rKipw'])){if(!_0x6a77ed[_0x58bf8c(0x1f3)]||!fs['existsSync'](_0x6a77ed[_0x58bf8c(0x1f3)]))return;_0x1b4c39['push']({'test_run_uuid':_0x298408,'timestamp':fs[_0x58bf8c(0x29e)](_0x6a77ed[_0x58bf8c(0x1f3)])[_0x58bf8c(0x2b9)],'kind':_0x3a9a5e[_0x58bf8c(0x2cd)],'message':fs[_0x58bf8c(0x1e3)](_0x6a77ed[_0x58bf8c(0x1f3)],{'encoding':_0x3a9a5e[_0x58bf8c(0x1f2)]})});}}),_0x3a9a5e['yMSsD'](_0x1b4c39[_0x289b96(0x27e)],0x0)&&await MyReporter['reportLogs'](_0x1b4c39);}async['endSession'](){const _0x201616=a41_0x32ff0f;await RequestQueueHandler[_0x201616(0x1ea)]()[_0x201616(0x214)]();}async['onEnd'](_0x3e0e57){const _0x6149a8=a41_0x32ff0f,_0x4d38a1={'aBYft':function(_0x269eee){return _0x269eee();},'sDuex':function(_0x36da35,_0x5a7b01){return _0x36da35(_0x5a7b01);}};await this[_0x6149a8(0x2ad)]();try{process[_0x6149a8(0x1ff)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x4d38a1[_0x6149a8(0x26c)](calculatePerformance);}catch(_0x1c2c59){_0x4d38a1['sDuex'](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x1c2c59[_0x6149a8(0x2b5)]());}}static async[a41_0x32ff0f(0x1e6)](_0x27f33e,_0x497c42){const _0x3d0db6=a41_0x32ff0f;_0x497c42['test_run_uuid']=TestDetails['getTestUUID'](_0x27f33e),await this[_0x3d0db6(0x223)]([_0x497c42]);}static async[a41_0x32ff0f(0x223)](_0x10a6b5){const _0x9a709b=a41_0x32ff0f,_0x81c83f={};_0x81c83f[_0x9a709b(0x248)]=_0x9a709b(0x26d);const _0x7f3720=_0x81c83f,_0x27a5a9={};_0x27a5a9[_0x9a709b(0x2a8)]=_0x7f3720[_0x9a709b(0x248)],_0x27a5a9[_0x9a709b(0x1f4)]=_0x10a6b5,await SessionHandler['uploadEventData'](_0x27a5a9);}async[a41_0x32ff0f(0x28e)](_0x1c5400,_0x440684,_0xc9a4fd,_0x4202bb){const _0x5ad9db=a41_0x32ff0f,_0x5402c3={'DJIBy':'hook','lDouA':_0x5ad9db(0x285),'yBGHf':'pending','ksObP':function(_0x378208,_0x1237d5){return _0x378208>=_0x1237d5;},'TBrVl':function(_0x3629f8,_0x317210){return _0x3629f8===_0x317210;},'SrINH':'HookRunFinished','ARuuT':function(_0x4c9c33,_0xc420eb){return _0x4c9c33>_0xc420eb;},'StWPd':_0x5ad9db(0x2d1),'Vfaqu':function(_0x237cfc,_0x244b1f){return _0x237cfc(_0x244b1f);},'Mjeia':function(_0x1d0e84,_0x29087f,_0x44c882){return _0x1d0e84(_0x29087f,_0x44c882);},'QUYgS':_0x5ad9db(0x20b),'nBBhY':_0x5ad9db(0x243)},_0x5f847e=this[_0x5ad9db(0x201)](_0x1c5400,_0x440684),_0x3bd928=this[_0x5ad9db(0x290)][_0x5f847e],_0x30d917={'uuid':_0x3bd928[_0x5ad9db(0x271)],'type':_0x5402c3[_0x5ad9db(0x21f)],'hook_type':this[_0x5ad9db(0x23b)](_0x440684[_0x5ad9db(0x239)]),'name':_0x440684[_0x5ad9db(0x239)],'scope':this[_0x5ad9db(0x216)](_0x440684),'scopes':this[_0x5ad9db(0x2ac)](_0x1c5400),'body':{'lang':_0x5402c3[_0x5ad9db(0x2c4)],'code':null},'identifier':_0x5f847e,'file_name':path[_0x5ad9db(0x215)](process['cwd'](),_0x1c5400[_0x5ad9db(0x1fb)][_0x5ad9db(0x21c)]),'location':path['relative'](process[_0x5ad9db(0x245)](),_0x1c5400[_0x5ad9db(0x1fb)][_0x5ad9db(0x21c)]),'result':_0x5402c3[_0x5ad9db(0x24f)],'duration_in_ms':_0x5402c3[_0x5ad9db(0x225)](_0x440684[_0x5ad9db(0x27f)],0x0)?_0x440684[_0x5ad9db(0x27f)]:undefined,'vc_filepath':this[_0x5ad9db(0x24e)]&&_0x1c5400[_0x5ad9db(0x1fb)][_0x5ad9db(0x21c)]?path[_0x5ad9db(0x215)](this[_0x5ad9db(0x24e)],_0x1c5400[_0x5ad9db(0x1fb)]['file']):undefined,'started_at':_0x3bd928[_0x5ad9db(0x1f9)],'finished_at':_0x3bd928['finishedAt'],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x5402c3[_0x5ad9db(0x202)](_0xc9a4fd,_0x5402c3['SrINH'])){const {steps:_0x873824,logs:_0x334a58}=this[_0x5ad9db(0x25a)](_0x440684[_0x5ad9db(0x293)],_0x3bd928['uuid'],_0x5402c3[_0x5ad9db(0x21f)]);_0x334a58&&_0x5402c3[_0x5ad9db(0x1e5)](_0x334a58[_0x5ad9db(0x27e)],0x0)&&await MyReporter[_0x5ad9db(0x223)](_0x334a58);const _0x134e58={};_0x134e58[_0x5ad9db(0x293)]=_0x873824,_0x30d917[_0x5ad9db(0x207)]=_0x134e58;if(_0x440684[_0x5ad9db(0x1e9)]){_0x30d917['result']=_0x5402c3[_0x5ad9db(0x26f)],_0x30d917[_0x5ad9db(0x2a1)]=_0x5402c3[_0x5ad9db(0x23c)](removeAnsiColors,_0x440684['error']['message']),_0x30d917[_0x5ad9db(0x222)]=_0x5402c3[_0x5ad9db(0x23c)](getFailureType,_0x440684['error'][_0x5ad9db(0x2cb)]);const _0x843cc0=_0x5402c3[_0x5ad9db(0x26a)](failureData,_0x440684[_0x5ad9db(0x1e9)],_0x5402c3[_0x5ad9db(0x1fd)]);if(_0x843cc0&&_0x5402c3[_0x5ad9db(0x202)](_0x843cc0[_0x5ad9db(0x27e)],0x0)){const _0x396863={};_0x396863[_0x5ad9db(0x1e2)]=[_0x30d917[_0x5ad9db(0x2a1)]],_0x396863[_0x5ad9db(0x246)]=[],_0x843cc0[_0x5ad9db(0x200)](_0x396863);}_0x30d917['failure']=_0x843cc0;}else _0x30d917['result']=_0x5402c3[_0x5ad9db(0x1e1)];}const _0x1d87c6={};_0x1d87c6[_0x5ad9db(0x2a8)]=_0xc9a4fd,_0x1d87c6[_0x5ad9db(0x23e)]=_0x30d917;const _0x4dea72=_0x1d87c6;await SessionHandler[_0x5ad9db(0x238)](_0x4dea72);}[a41_0x32ff0f(0x25a)](_0x215856,_0x2b31cc,_0x36d7bd){const _0x3318e6=a41_0x32ff0f,_0x1fb4c4={'qPapB':function(_0x271c89,_0x1612ff){return _0x271c89===_0x1612ff;},'NlEau':_0x3318e6(0x1ef),'WubHX':_0x3318e6(0x20c),'UCjzS':_0x3318e6(0x28f),'wRDFB':function(_0x38a708,_0x2a5829){return _0x38a708===_0x2a5829;},'XySRu':_0x3318e6(0x2e1),'mcwsX':'test_run_uuid','monUM':_0x3318e6(0x29c),'bpFUZ':'TEST_STEP','hCMaw':_0x3318e6(0x2d1),'SKMBM':_0x3318e6(0x243),'YDTEg':function(_0x47582d,_0x226581){return _0x47582d(_0x226581);},'FyLzl':function(_0x85eee9,_0x4802fe){return _0x85eee9(_0x4802fe);},'fMSWo':function(_0x530aae){return _0x530aae();},'xeYRH':function(_0x432150,_0x88c958){return _0x432150(_0x88c958);},'dxsmj':function(_0x1f1ba0,_0x29946a,_0x5e7d60){return _0x1f1ba0(_0x29946a,_0x5e7d60);}},_0x2a2995=[],_0x1ac8ac=[],_0x2b896b=_0x215856[_0x3318e6(0x224)](_0x264329=>{const _0x3025af=_0x3318e6;if(_0x1fb4c4[_0x3025af(0x1ec)](_0x264329[_0x3025af(0x2a0)],_0x1fb4c4[_0x3025af(0x265)])&&(_0x1fb4c4['qPapB'](_0x264329[_0x3025af(0x239)],_0x1fb4c4[_0x3025af(0x263)])||_0x1fb4c4[_0x3025af(0x1ec)](_0x264329['title'],_0x1fb4c4[_0x3025af(0x1eb)])))return![];return!![];}),_0x22d0f8=(_0x501e90,_0x2de346=![])=>{const _0x4449c9=_0x3318e6;if(_0x1fb4c4['qPapB'](_0x501e90[_0x4449c9(0x293)][_0x4449c9(0x27e)],0x0)){const _0x11b41f=_0x1fb4c4[_0x4449c9(0x272)](_0x36d7bd,_0x1fb4c4[_0x4449c9(0x2dc)])?_0x1fb4c4[_0x4449c9(0x278)]:_0x1fb4c4['monUM'];_0x1ac8ac[_0x4449c9(0x200)]({'kind':_0x1fb4c4[_0x4449c9(0x2d6)],[_0x11b41f]:_0x2b31cc,'message':_0x501e90[_0x4449c9(0x239)],'timestamp':_0x501e90[_0x4449c9(0x2e5)][_0x4449c9(0x2c6)](),'level':_0x501e90[_0x4449c9(0x1e9)]?_0x1fb4c4[_0x4449c9(0x297)]:_0x1fb4c4[_0x4449c9(0x25c)],'duration':_0x501e90[_0x4449c9(0x27f)],'failure':_0x501e90[_0x4449c9(0x1e9)]&&_0x501e90[_0x4449c9(0x1e9)][_0x4449c9(0x2cb)]&&_0x1fb4c4[_0x4449c9(0x2c3)](removeAnsiColors,_0x501e90[_0x4449c9(0x1e9)][_0x4449c9(0x2cb)]),'failure_type':_0x1fb4c4['FyLzl'](getFailureType,_0x501e90[_0x4449c9(0x1e9)]&&_0x501e90[_0x4449c9(0x1e9)][_0x4449c9(0x2cb)])});}else{!_0x2de346&&_0x2a2995[_0x4449c9(0x200)]({'id':_0x1fb4c4[_0x4449c9(0x2c0)](uuidv4),'text':_0x501e90[_0x4449c9(0x239)],'keyword':undefined,'started_at':_0x501e90[_0x4449c9(0x2e5)][_0x4449c9(0x2c6)](),'duration':_0x501e90[_0x4449c9(0x27f)],'result':_0x501e90[_0x4449c9(0x1e9)]?_0x1fb4c4[_0x4449c9(0x297)]:_0x1fb4c4[_0x4449c9(0x25c)],'failure':_0x501e90['error']&&_0x501e90['error'][_0x4449c9(0x2cb)]&&_0x1fb4c4[_0x4449c9(0x2c3)](removeAnsiColors,_0x501e90[_0x4449c9(0x1e9)][_0x4449c9(0x2cb)]),'failure_type':_0x1fb4c4[_0x4449c9(0x298)](getFailureType,_0x501e90['error']&&_0x501e90[_0x4449c9(0x1e9)][_0x4449c9(0x2cb)])});for(const _0x94db44 of _0x501e90[_0x4449c9(0x293)]){_0x1fb4c4[_0x4449c9(0x2b0)](_0x22d0f8,_0x94db44,!![]);}}};for(const _0x108317 of _0x2b896b){_0x1fb4c4['dxsmj'](_0x22d0f8,_0x108317,![]);}const _0x3937dc={};return _0x3937dc[_0x3318e6(0x293)]=_0x2a2995,_0x3937dc[_0x3318e6(0x1f4)]=_0x1ac8ac,_0x3937dc;}async[a41_0x32ff0f(0x2b4)](_0x524494,_0x28c8b9,_0x38f1cb){const _0x417213=a41_0x32ff0f,_0x2923ff={'hjVFq':function(_0x3f5a73,_0x4e3f54){return _0x3f5a73(_0x4e3f54);},'SaSnf':'TEST_ATTACHMENT','xrUjx':_0x417213(0x256),'cGdzK':'test','awuzk':_0x417213(0x285),'RrGPu':_0x417213(0x2a6),'PgCIB':function(_0x3337c2,_0x561984,_0x39d601,_0x5ea57a,_0x30aaab){return _0x3337c2(_0x561984,_0x39d601,_0x5ea57a,_0x30aaab);},'Dhfym':function(_0x282e4b,_0x109f01){return _0x282e4b>_0x109f01;},'BwbIy':function(_0x156caf,_0xe2641e){return _0x156caf-_0xe2641e;},'bSCFZ':function(_0xc1f832,_0x16ebb3){return _0xc1f832===_0x16ebb3;},'IQNWF':_0x417213(0x2e0),'DEQIs':function(_0x5a8600,_0x505f7c){return _0x5a8600===_0x505f7c;},'lKBYj':_0x417213(0x2e8),'NnPIU':_0x417213(0x243),'OcGZo':function(_0x6093cd,_0x4b322a){return _0x6093cd===_0x4b322a;},'yghid':function(_0x2e268d,_0x428cd5){return _0x2e268d===_0x428cd5;},'UGlMJ':_0x417213(0x2d1),'abiXR':_0x417213(0x2dd),'RNUWi':function(_0x4e9cbf,_0x324aad){return _0x4e9cbf===_0x324aad;},'KVljA':function(_0x1cab7c,_0x2ab9dd){return _0x1cab7c===_0x2ab9dd;},'JCrBx':'Expected\x20to\x20fail,\x20but\x20passed.','Oklwk':function(_0x261c63,_0x565c24){return _0x261c63(_0x565c24);},'JyfnF':function(_0x4d7ce6,_0x338995,_0x9f3921){return _0x4d7ce6(_0x338995,_0x9f3921);},'mXPWr':_0x417213(0x1f3),'NRuQB':_0x417213(0x2df),'zLRrb':'utf8','wtqFc':function(_0x1592c0,_0x297ccf){return _0x1592c0!==_0x297ccf;},'XgvGC':function(_0x157f4b,_0x5c73cd){return _0x157f4b===_0x5c73cd;}},_0x30a583=this[_0x417213(0x229)](_0x524494),_0x2250a0=this[_0x417213(0x216)](_0x524494),_0xc36f92=this['_tests'][_0x30a583],_0x4b99c6=path[_0x417213(0x215)](process[_0x417213(0x245)](),_0x524494[_0x417213(0x1fb)][_0x417213(0x21c)]);await this['configureGit']();const _0x5817bc={'uuid':_0xc36f92[_0x417213(0x271)],'type':_0x2923ff['cGdzK'],'name':_0x524494[_0x417213(0x239)],'body':{'lang':_0x2923ff[_0x417213(0x266)],'code':_0x524494['fn'][_0x417213(0x2b5)]()},'scope':_0x2250a0,'scopes':this['getHierarchy'](_0x524494),'identifier':_0x30a583,'file_name':_0x4b99c6,'location':_0x4b99c6,'result':_0x2923ff[_0x417213(0x258)],'duration_in_ms':_0x38f1cb&&_0x38f1cb[_0x417213(0x27f)]?_0x38f1cb[_0x417213(0x27f)]:null,'vc_filepath':this[_0x417213(0x24e)]&&_0x524494['location'][_0x417213(0x21c)]?path[_0x417213(0x215)](this[_0x417213(0x24e)],_0x524494['location'][_0x417213(0x21c)]):undefined,'started_at':_0xc36f92[_0x417213(0x1f9)],'finished_at':_0xc36f92['finishedAt'],'framework':FRAMEWORKS[_0x417213(0x283)],'customRerunParam':{'rerun_name':this[_0x417213(0x22f)](_0x524494)},'tags':_0x2923ff[_0x417213(0x2e4)](getTestTags,_0x524494)};_0x2923ff[_0x417213(0x208)](appendTesthubParams,_0x5817bc,_0x28c8b9,_0x524494,FRAMEWORKS['PLAYWRIGHT']);_0x38f1cb&&_0x2923ff[_0x417213(0x2d5)](_0x38f1cb[_0x417213(0x244)],0x0)&&(_0x5817bc[_0x417213(0x2d7)]=TestDetails[_0x417213(0x22a)](this[_0x417213(0x27a)](_0x524494,_0x2923ff['BwbIy'](_0x38f1cb[_0x417213(0x244)],0x1))));if(_0x2923ff[_0x417213(0x294)](_0x28c8b9,_0x2923ff[_0x417213(0x291)])){_0x5817bc[_0x417213(0x2e7)]=_0x38f1cb[_0x417213(0x299)];if(_0x2923ff['DEQIs'](_0x38f1cb[_0x417213(0x299)],_0x524494['expectedStatus']))_0x5817bc['result']=_0x2923ff[_0x417213(0x226)](_0x38f1cb['status'],_0x2923ff['lKBYj'])?_0x2923ff[_0x417213(0x227)]:_0x2923ff[_0x417213(0x1f8)];else{(_0x2923ff[_0x417213(0x28c)](_0x5817bc['result'],_0x2923ff[_0x417213(0x1f8)])||_0x2923ff[_0x417213(0x284)](_0x5817bc[_0x417213(0x2e7)],_0x2923ff[_0x417213(0x212)])||_0x2923ff[_0x417213(0x28c)](_0x5817bc[_0x417213(0x2e7)],_0x2923ff[_0x417213(0x22e)]))&&(_0x5817bc[_0x417213(0x2e7)]=_0x2923ff[_0x417213(0x212)]);if(_0x2923ff[_0x417213(0x273)](_0x38f1cb[_0x417213(0x299)],_0x2923ff[_0x417213(0x1f8)])&&_0x2923ff[_0x417213(0x295)](_0x524494[_0x417213(0x28b)],_0x2923ff[_0x417213(0x212)])){const _0x35bd7d={};_0x35bd7d[_0x417213(0x2cb)]=_0x2923ff[_0x417213(0x1f6)],_0x35bd7d[_0x417213(0x296)]=_0x2923ff[_0x417213(0x1f6)],_0x38f1cb[_0x417213(0x1e9)]=_0x35bd7d,_0x38f1cb[_0x417213(0x26e)]=[_0x38f1cb[_0x417213(0x1e9)]];}}const _0x3ffb64=this[_0x417213(0x27a)](_0x524494,_0x38f1cb[_0x417213(0x244)]);_0x5817bc[_0x417213(0x2c9)]=this[_0x417213(0x2d9)][_0x3ffb64];const {steps:_0x405eee,logs:_0x514bef}=this['getStepsAndLogs'](_0x38f1cb[_0x417213(0x293)],_0xc36f92[_0x417213(0x271)],_0x2923ff[_0x417213(0x255)]);await MyReporter[_0x417213(0x223)](_0x514bef);const _0x209a01={};_0x209a01[_0x417213(0x293)]=_0x405eee,_0x5817bc[_0x417213(0x207)]=_0x209a01;if(_0x38f1cb[_0x417213(0x1e9)]){_0x5817bc[_0x417213(0x2a1)]=_0x2923ff['hjVFq'](removeAnsiColors,_0x38f1cb[_0x417213(0x1e9)]['message']),_0x5817bc[_0x417213(0x222)]=_0x2923ff['Oklwk'](getFailureType,_0x38f1cb['error']['message']);const _0x3f3fa0={};_0x3f3fa0['test_run_uuid']=_0xc36f92[_0x417213(0x271)];const {failureData:_0x34fd4c,logs:_0x550325}=_0x2923ff[_0x417213(0x2d2)](getFailureData,_0x38f1cb[_0x417213(0x26e)],_0x3f3fa0);if(_0x34fd4c&&_0x2923ff[_0x417213(0x294)](_0x34fd4c['length'],0x0)){const _0x43c14d={};_0x43c14d['backtrace']=[_0x5817bc[_0x417213(0x2a1)]],_0x43c14d[_0x417213(0x246)]=[],_0x34fd4c[_0x417213(0x200)](_0x43c14d);}_0x5817bc[_0x417213(0x24d)]=_0x34fd4c,_0x550325&&_0x2923ff[_0x417213(0x2d5)](_0x550325['length'],0x0)&&await MyReporter[_0x417213(0x223)](_0x550325);}}let _0x3ff43f=_0x2923ff['JyfnF'](findNestedKey,_0x38f1cb,_0x2923ff['mXPWr']);if(_0x3ff43f&&_0x2923ff[_0x417213(0x2e4)](validateFilePath,_0x3ff43f))_0x2923ff['hjVFq'](debug,_0x417213(0x2ae)+_0xc36f92[_0x417213(0x271)]+_0x417213(0x220)+_0x3ff43f);else{const _0x583a38=path[_0x417213(0x2c7)](helper[_0x417213(0x1ed)](),_0x2923ff[_0x417213(0x2a3)]);!fs['existsSync'](_0x583a38)&&fs[_0x417213(0x22d)](_0x583a38),fs[_0x417213(0x210)](path[_0x417213(0x2c7)](_0x583a38,_0x417213(0x2da)+_0xc36f92[_0x417213(0x271)]+'.txt'))&&(_0x3ff43f=fs[_0x417213(0x1e3)](path['join'](_0x583a38,_0x417213(0x2da)+_0xc36f92[_0x417213(0x271)]+_0x417213(0x232)),_0x2923ff['zLRrb']),_0x2923ff[_0x417213(0x2bb)](debug,_0x417213(0x2ae)+_0xc36f92['uuid']+_0x417213(0x220)+_0x3ff43f));}const _0x50943b={};_0x50943b[_0x417213(0x2a8)]=_0x28c8b9,_0x50943b[_0x417213(0x270)]=_0x5817bc;const _0x13253a=_0x50943b;_0x3ff43f&&_0x2923ff[_0x417213(0x2b7)](_0x3ff43f,'')&&_0x2923ff[_0x417213(0x1e4)](_0x28c8b9,_0x2923ff[_0x417213(0x291)])&&(!_0x13253a[_0x417213(0x1f4)]&&(_0x13253a['logs']=[]),_0x3ff43f[_0x417213(0x2c1)]('\x0a')[_0x417213(0x2e2)](_0x27812a=>{const _0x41f4f2=_0x417213;_0x27812a&&_0x2923ff['hjVFq'](validateFilePath,_0x27812a)&&_0x13253a[_0x41f4f2(0x1f4)]['push']({'kind':_0x2923ff[_0x41f4f2(0x286)],'timestamp':new Date()[_0x41f4f2(0x2c6)](),'test_run_uuid':_0xc36f92[_0x41f4f2(0x271)],'file_name':path[_0x41f4f2(0x2ba)](_0x27812a),'file_size':fs[_0x41f4f2(0x29e)](_0x27812a)[_0x41f4f2(0x2b2)],'attachment_type':_0x2923ff[_0x41f4f2(0x250)]});})),await SessionHandler[_0x417213(0x238)](_0x13253a);}['getCustomRerunParam'](_0x37480e){const _0xf46d36=a41_0x32ff0f,_0x201058={};_0x201058[_0xf46d36(0x251)]=function(_0x16531f,_0x4cc0a5){return _0x16531f===_0x4cc0a5;},_0x201058[_0xf46d36(0x253)]=function(_0x260e22,_0x463dc5){return _0x260e22>_0x463dc5;},_0x201058[_0xf46d36(0x23f)]=function(_0x22bc1d,_0x1134b6){return _0x22bc1d+_0x1134b6;},_0x201058[_0xf46d36(0x260)]=function(_0x2e9902,_0x2f0aea){return _0x2e9902===_0x2f0aea;},_0x201058[_0xf46d36(0x2e3)]=function(_0x52212c,_0x4d7963){return _0x52212c+_0x4d7963;},_0x201058['CPpJV']=function(_0x5d25e3,_0x38eb26){return _0x5d25e3+_0x38eb26;};const _0x1c9337=_0x201058,_0x31aff4=_0x37480e[_0xf46d36(0x2d4)]()[_0xf46d36(0x2d0)](_0x1d73df=>{const _0x3e0ef4=_0xf46d36;if(_0x37480e[_0x3e0ef4(0x2d3)]&&_0x1c9337['JzWLp'](_0x1d73df,_0x37480e[_0x3e0ef4(0x2d3)][_0x3e0ef4(0x239)])&&_0x37480e[_0x3e0ef4(0x2d3)][_0x3e0ef4(0x280)]&&_0x1c9337[_0x3e0ef4(0x253)](_0x37480e['parent'][_0x3e0ef4(0x280)]['length'],0x0))return _0x1c9337[_0x3e0ef4(0x23f)](_0x1c9337['uFhgl'](_0x1d73df,'\x20'),_0x37480e['parent'][_0x3e0ef4(0x280)][_0x3e0ef4(0x2c7)]('\x20'));if(_0x1c9337[_0x3e0ef4(0x260)](_0x1d73df,_0x37480e[_0x3e0ef4(0x239)])&&_0x37480e['_tags']&&_0x1c9337['ZzsNj'](_0x37480e[_0x3e0ef4(0x280)][_0x3e0ef4(0x27e)],0x0))return _0x1c9337[_0x3e0ef4(0x2e3)](_0x1c9337['CPpJV'](_0x1d73df,'\x20'),_0x37480e[_0x3e0ef4(0x280)][_0x3e0ef4(0x2c7)]('\x20'));return _0x1d73df;})[_0xf46d36(0x2c7)]('\x20');return _0x31aff4;}static async[a41_0x32ff0f(0x2a5)](_0x2e868d,_0x52a27f){const _0x4f19fe=a41_0x32ff0f,_0x8ae6b1={'xGviE':function(_0x5a76eb,_0x1fbc02){return _0x5a76eb(_0x1fbc02);},'htrdv':'CBTSessionCreated'},_0x254b3d={'uuid':TestDetails[_0x4f19fe(0x22a)](_0x2e868d),'integrations':_0x52a27f},_0x47b36b={};_0x47b36b[_0x4f19fe(0x218)]=null,_0x8ae6b1[_0x4f19fe(0x24c)](debug,'Sending\x20session\x20details\x20for\x20'+_0x2e868d+',\x20'+util[_0x4f19fe(0x2ca)](_0x52a27f,_0x47b36b));const _0x9e15db={};_0x9e15db[_0x4f19fe(0x2a8)]=_0x8ae6b1[_0x4f19fe(0x2cf)],_0x9e15db[_0x4f19fe(0x270)]=_0x254b3d,await SessionHandler[_0x4f19fe(0x238)](_0x9e15db);}async[a41_0x32ff0f(0x206)](){const _0xa46a46=a41_0x32ff0f,_0x3c3a81={'QHovE':function(_0x1ce0a0){return _0x1ce0a0();}};if(this[_0xa46a46(0x237)])return;const _0x5a15b1=await _0x3c3a81[_0xa46a46(0x269)](getGitMetaData);_0x5a15b1&&(this['_gitConfigPath']=_0x5a15b1[_0xa46a46(0x288)]),this[_0xa46a46(0x237)]=!![];}[a41_0x32ff0f(0x2ac)](_0x366173){const _0x5db920=a41_0x32ff0f,_0x423bc9={};_0x423bc9[_0x5db920(0x27c)]=function(_0x5123e,_0x57cb06){return _0x5123e!==_0x57cb06;};const _0x64fa17=_0x423bc9,_0x5db0df=[];if(_0x366173&&_0x366173[_0x5db920(0x2d3)]){let _0x4d2ab4=_0x366173[_0x5db920(0x2d3)];while(_0x4d2ab4&&_0x64fa17[_0x5db920(0x27c)](_0x4d2ab4[_0x5db920(0x239)],'')){_0x5db0df[_0x5db920(0x200)](_0x4d2ab4[_0x5db920(0x239)]),_0x4d2ab4=_0x4d2ab4[_0x5db920(0x2d3)];}}return _0x5db0df[_0x5db920(0x1f7)]()[_0x5db920(0x1f0)](0x0,0x2),_0x5db0df;}[a41_0x32ff0f(0x20a)](_0x7c7e9a){const _0x5eabd6=a41_0x32ff0f,_0x16076d={};_0x16076d[_0x5eabd6(0x2aa)]=function(_0xf228b9,_0x2dd54c){return _0xf228b9!==_0x2dd54c;},_0x16076d[_0x5eabd6(0x275)]=_0x5eabd6(0x1ef),_0x16076d['DLdKR']=function(_0x48aa26,_0x1dc90d){return _0x48aa26===_0x1dc90d;},_0x16076d[_0x5eabd6(0x1fc)]='beforeEach\x20hook',_0x16076d[_0x5eabd6(0x231)]=_0x5eabd6(0x23a),_0x16076d[_0x5eabd6(0x1e7)]=_0x5eabd6(0x268),_0x16076d[_0x5eabd6(0x2a7)]=_0x5eabd6(0x24b);const _0x4f4384=_0x16076d;if(_0x4f4384[_0x5eabd6(0x2aa)](_0x7c7e9a[_0x5eabd6(0x2a0)],_0x4f4384[_0x5eabd6(0x275)]))return![];if(_0x4f4384[_0x5eabd6(0x21b)]([_0x4f4384[_0x5eabd6(0x1fc)],_0x4f4384[_0x5eabd6(0x231)],_0x4f4384[_0x5eabd6(0x1e7)],_0x4f4384[_0x5eabd6(0x2a7)]]['indexOf'](_0x7c7e9a[_0x5eabd6(0x239)]),-0x1))return![];return!![];}[a41_0x32ff0f(0x201)](_0x559939,_0x4a4f62){const _0x12245b=a41_0x32ff0f,_0x28cb19=_0x4a4f62[_0x12245b(0x221)];if(_0x28cb19)return _0x28cb19;return _0x4a4f62[_0x12245b(0x239)]+_0x12245b(0x2a9)+this[_0x12245b(0x229)](_0x559939);}[a41_0x32ff0f(0x267)](_0x47f529,_0x3f3cc1){const _0x16ec26=a41_0x32ff0f,_0x5a3782={'LeWpc':function(_0x3416be){return _0x3416be();}};let _0x35b603=_0x3f3cc1[_0x16ec26(0x239)]+_0x16ec26(0x2a9)+this[_0x16ec26(0x229)](_0x47f529);return this['_tests'][_0x35b603]&&(_0x35b603=_0x35b603+'\x20-\x20'+_0x5a3782[_0x16ec26(0x2ce)](uuidv4)),_0x3f3cc1['_bs_hookIdentifier']=_0x35b603,_0x35b603;}[a41_0x32ff0f(0x229)]=_0xa1ab2d=>{const _0x4d5663=a41_0x32ff0f,_0x294074={};_0x294074['OAyZT']=function(_0x4e9a4e,_0x4e35b3){return _0x4e9a4e+_0x4e35b3;},_0x294074['ECtat']=function(_0x2f1fa3,_0x23f84c){return _0x2f1fa3+_0x23f84c;};const _0x32987b=_0x294074;return _0x32987b[_0x4d5663(0x282)](_0x32987b[_0x4d5663(0x281)](_0xa1ab2d['_projectId'],'-'),_0xa1ab2d['id']);};['getTestRunIdentifier']=(_0x3073a4,_0x37fe90)=>{const _0x1a716f=a41_0x32ff0f,_0x1ce559={};_0x1ce559['ldpyt']=function(_0x195e5d,_0x1cdef1){return _0x195e5d+_0x1cdef1;},_0x1ce559[_0x1a716f(0x25e)]=function(_0x562368,_0x3b78bc){return _0x562368+_0x3b78bc;};const _0x2754dd=_0x1ce559;return _0x2754dd[_0x1a716f(0x20e)](_0x2754dd['sNjFN'](this[_0x1a716f(0x229)](_0x3073a4),'-'),_0x37fe90);};[a41_0x32ff0f(0x23b)]=_0x26909f=>{const _0x324065=a41_0x32ff0f,_0x236f69={};_0x236f69['FdKjL']=_0x324065(0x234),_0x236f69[_0x324065(0x213)]='BEFORE_EACH',_0x236f69[_0x324065(0x29a)]=_0x324065(0x23a),_0x236f69[_0x324065(0x29d)]=_0x324065(0x2de),_0x236f69['JpwlF']='afterEach\x20hook',_0x236f69[_0x324065(0x21d)]=_0x324065(0x20f),_0x236f69[_0x324065(0x279)]=_0x324065(0x268),_0x236f69[_0x324065(0x29f)]=_0x324065(0x209),_0x236f69[_0x324065(0x249)]=_0x324065(0x262);const _0x3e3d95=_0x236f69;if(_0x26909f[_0x324065(0x203)](_0x3e3d95[_0x324065(0x2c2)]))return _0x3e3d95[_0x324065(0x213)];else{if(_0x26909f[_0x324065(0x203)](_0x3e3d95['hPYJo']))return _0x3e3d95[_0x324065(0x29d)];else{if(_0x26909f[_0x324065(0x203)](_0x3e3d95[_0x324065(0x277)]))return _0x3e3d95[_0x324065(0x21d)];else{if(_0x26909f[_0x324065(0x203)](_0x3e3d95['PIzjH']))return _0x3e3d95[_0x324065(0x29f)];}}}return _0x3e3d95[_0x324065(0x249)];};['getScope']=_0x9e6a2b=>{const _0x68059e=a41_0x32ff0f,_0x542742={};_0x542742[_0x68059e(0x228)]=function(_0x7ae957,_0x33e3ae){return _0x7ae957===_0x33e3ae;},_0x542742[_0x68059e(0x252)]=_0x68059e(0x257);const _0x8d9199=_0x542742;let _0x30fdc7=_0x9e6a2b[_0x68059e(0x2d3)];return _0x8d9199[_0x68059e(0x228)](typeof _0x9e6a2b[_0x68059e(0x2d3)],_0x8d9199[_0x68059e(0x252)])&&(_0x30fdc7=_0x30fdc7['title']),_0x30fdc7+'\x20-\x20'+_0x9e6a2b['title'];};[a41_0x32ff0f(0x23d)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,['onBegin',a41_0x32ff0f(0x2ad),a41_0x32ff0f(0x2be),a41_0x32ff0f(0x233),a41_0x32ff0f(0x2c5),'onStepEnd',a41_0x32ff0f(0x2a5)],a41_0x32ff0f(0x2b8));
1
+ const a41_0x534e25=a41_0x4523;function a41_0x4523(_0x485353,_0x56d524){const _0x58f242=a41_0x58f2();return a41_0x4523=function(_0x45234e,_0x2f1a5){_0x45234e=_0x45234e-0x9c;let _0x2c0052=_0x58f242[_0x45234e];return _0x2c0052;},a41_0x4523(_0x485353,_0x56d524);}(function(_0x56cb08,_0x5345ec){const _0x30e2c1=a41_0x4523,_0x2cf601=_0x56cb08();while(!![]){try{const _0x16077d=parseInt(_0x30e2c1(0x137))/0x1+parseInt(_0x30e2c1(0xd9))/0x2+-parseInt(_0x30e2c1(0x159))/0x3*(parseInt(_0x30e2c1(0xf2))/0x4)+-parseInt(_0x30e2c1(0xee))/0x5+-parseInt(_0x30e2c1(0x146))/0x6+parseInt(_0x30e2c1(0x189))/0x7*(-parseInt(_0x30e2c1(0x186))/0x8)+parseInt(_0x30e2c1(0x15a))/0x9;if(_0x16077d===_0x5345ec)break;else _0x2cf601['push'](_0x2cf601['shift']());}catch(_0x15fda9){_0x2cf601['push'](_0x2cf601['shift']());}}}(a41_0x58f2,0xa8654));const RequestQueueHandler=require(a41_0x534e25(0xcc)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require('./pwUtils'),{v4:uuidv4}=require('uuid'),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x534e25(0x119)),TestDetails=require(a41_0x534e25(0x14f)),fs=require('fs'),util=require(a41_0x534e25(0x165)),{o11yClassErrorHandler}=require(a41_0x534e25(0xe2)),PerformanceTester=require(a41_0x534e25(0x145)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a41_0x534e25(0x154)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a41_0x534e25(0x119));class MyReporter{constructor(_0x1f4604){const _0x5905b8=a41_0x534e25,_0x1224ba={'Jznto':_0x5905b8(0xec),'WXpgo':function(_0x2302ed,_0x353905,_0x365251,_0x3b1767){return _0x2302ed(_0x353905,_0x365251,_0x3b1767);},'lMBAR':'performance-report-reporter.json'},_0xf38a03=_0x1224ba['Jznto']['split']('|');let _0x60955b=0x0;while(!![]){switch(_0xf38a03[_0x60955b++]){case'0':const _0x168277={};_0x168277[_0x5905b8(0xbf)]=process[_0x5905b8(0xbb)][_0x5905b8(0x11d)],_0x1224ba['WXpgo'](setLogLevel,_0x168277,new Map(),new Map());continue;case'1':this[_0x5905b8(0xaa)]=_0x1f4604;continue;case'2':this['_gitConfigured']=![];continue;case'3':process['env'][_0x5905b8(0xf6)]&&(PerformanceTester[_0x5905b8(0xfa)](_0x1224ba['lMBAR']),process[_0x5905b8(0xbb)]['START_TIME']=new Date()[_0x5905b8(0xa5)]());continue;case'4':this[_0x5905b8(0x121)]={};continue;case'5':this[_0x5905b8(0x163)]={};continue;case'6':this['_gitConfigPath']=null;continue;}break;}}async[a41_0x534e25(0x122)](){const _0x1ec0e9=a41_0x534e25;TestDetails[_0x1ec0e9(0xf7)](),await this[_0x1ec0e9(0x129)]();}async[a41_0x534e25(0x149)](_0x3cb6fe,_0x4b74db){const _0x11ed12=a41_0x534e25,_0x3f7aee={'CvJqA':function(_0x614a76,_0x4a3c6f){return _0x614a76(_0x4a3c6f);},'CUSPQ':_0x11ed12(0x112)},_0x491781=this['getTestIdentifier'](_0x3cb6fe),_0x399c05=TestDetails[_0x11ed12(0x123)](this[_0x11ed12(0x179)](_0x3cb6fe,_0x4b74db[_0x11ed12(0x109)]));process[_0x11ed12(0xbb)][_0x11ed12(0xcf)]=_0x399c05;const _0x31e350={};_0x31e350[_0x11ed12(0x9c)]=_0x399c05,_0x31e350[_0x11ed12(0x14a)]=_0x4b74db[_0x11ed12(0x11f)],this[_0x11ed12(0x163)][_0x491781]=_0x31e350,_0x3f7aee['CvJqA'](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x491781),await this[_0x11ed12(0x18a)](_0x3cb6fe,_0x3f7aee[_0x11ed12(0xe1)],_0x4b74db);}async[a41_0x534e25(0x176)](_0x3a4a15,_0x5d2be5,_0x8366ef){const _0x4b27a0=a41_0x534e25,_0x453204={'AAxHO':function(_0x33b1eb,_0x40951d){return _0x33b1eb(_0x40951d);},'MrDRc':_0x4b27a0(0xf3)};if(!this[_0x4b27a0(0x178)](_0x8366ef,_0x3a4a15))return;const _0x36ea8c=this[_0x4b27a0(0xb9)](_0x3a4a15,_0x8366ef);this[_0x4b27a0(0x163)][_0x36ea8c]={'uuid':TestDetails[_0x4b27a0(0x123)](_0x36ea8c),'startedAt':_0x8366ef[_0x4b27a0(0x11f)][_0x4b27a0(0xa5)]()};const _0x4b181c=this[_0x4b27a0(0x179)](_0x3a4a15,_0x5d2be5[_0x4b27a0(0x109)]);!this[_0x4b27a0(0x121)][_0x4b181c]&&(this[_0x4b27a0(0x121)][_0x4b181c]=[]),this[_0x4b27a0(0x121)][_0x4b181c][_0x4b27a0(0xea)](this[_0x4b27a0(0x163)][_0x36ea8c]['uuid']),_0x453204['AAxHO'](trace,_0x4b27a0(0xca)+_0x36ea8c+_0x4b27a0(0xe4)+_0x4b181c),await this[_0x4b27a0(0xc1)](_0x3a4a15,_0x8366ef,_0x453204[_0x4b27a0(0x183)],_0x5d2be5);}async['onStepEnd'](_0x390b7d,_0x17552c,_0x125a5a){const _0x48fe8f=a41_0x534e25,_0x4d774e={'sXHgK':function(_0x28b945,_0x2a6a01){return _0x28b945+_0x2a6a01;},'JwmTx':function(_0x49eaa2,_0x4ac2c4){return _0x49eaa2(_0x4ac2c4);},'aLUXr':_0x48fe8f(0x181)};if(!this[_0x48fe8f(0x178)](_0x125a5a,_0x390b7d))return;const _0x179940=this[_0x48fe8f(0xdd)](_0x390b7d,_0x125a5a);this['_tests'][_0x179940]={...this[_0x48fe8f(0x163)][_0x179940]||{},'finishedAt':new Date(_0x4d774e[_0x48fe8f(0xd5)](_0x125a5a[_0x48fe8f(0x11f)]['getTime'](),_0x125a5a[_0x48fe8f(0x160)]))},_0x4d774e['JwmTx'](trace,_0x48fe8f(0x171)+_0x179940+_0x48fe8f(0x106)),await this[_0x48fe8f(0xc1)](_0x390b7d,_0x125a5a,_0x4d774e['aLUXr'],_0x17552c);}async['onTestEnd'](_0xbea2f5,_0x253dae){const _0x3808b9=a41_0x534e25,_0x359379={'UnOVP':function(_0x2f1d66,_0x13f503){return _0x2f1d66===_0x13f503;},'bKlks':_0x3808b9(0x187),'RHCiZ':_0x3808b9(0xe9),'hICOg':'base64','pWvfx':function(_0x4ea2f3,_0x5d3031){return _0x4ea2f3(_0x5d3031);},'zywBk':_0x3808b9(0x13c),'JrNbS':_0x3808b9(0x161),'qFYRP':function(_0x3ab1a4,_0x1145ea){return _0x3ab1a4(_0x1145ea);},'nGLOy':function(_0x3455ac,_0x350738,_0x1cccba){return _0x3455ac(_0x350738,_0x1cccba);},'jNCsZ':_0x3808b9(0x9e),'UOXdS':function(_0x5c24fe,_0x1fa471){return _0x5c24fe>_0x1fa471;}},_0x2aa2c5=this['getTestIdentifier'](_0xbea2f5),_0x4287fd=TestDetails[_0x3808b9(0x123)](this[_0x3808b9(0x179)](_0xbea2f5,_0x253dae[_0x3808b9(0x109)]));this[_0x3808b9(0x163)][_0x2aa2c5]={...this[_0x3808b9(0x163)][_0x2aa2c5]||{},'finishedAt':new Date()[_0x3808b9(0xa5)]()},_0x359379[_0x3808b9(0x17e)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x2aa2c5);try{await this[_0x3808b9(0x18a)](_0xbea2f5,_0x359379[_0x3808b9(0x12b)],_0x253dae);}catch(_0x49eac4){_0x359379[_0x3808b9(0x17e)](debug,util[_0x3808b9(0xab)](_0x359379[_0x3808b9(0x100)],_0x49eac4[_0x3808b9(0xfe)]()));}try{_0x359379[_0x3808b9(0x15f)](debug,_0x3808b9(0x16a)+_0x4287fd),await _0x359379[_0x3808b9(0x115)](sendTraceZip,_0x253dae,_0x4287fd);}catch(_0x578748){_0x359379[_0x3808b9(0x17e)](debug,util[_0x3808b9(0xab)](_0x359379['jNCsZ'],_0x578748['toString']()));}const _0x4fd326=[];_0x253dae['attachments']&&_0x253dae[_0x3808b9(0xd1)][_0x3808b9(0xad)](_0x55650b=>{const _0x39290b=_0x3808b9;if(_0x359379['UnOVP'](_0x55650b[_0x39290b(0x185)],_0x359379['bKlks'])){if(!_0x55650b[_0x39290b(0x142)]||!fs[_0x39290b(0x17b)](_0x55650b[_0x39290b(0x142)]))return;_0x4fd326[_0x39290b(0xea)]({'test_run_uuid':_0x4287fd,'timestamp':fs['statSync'](_0x55650b[_0x39290b(0x142)])[_0x39290b(0xe7)],'kind':_0x359379[_0x39290b(0xb5)],'message':fs[_0x39290b(0x15b)](_0x55650b[_0x39290b(0x142)],{'encoding':_0x359379[_0x39290b(0xb1)]})});}}),_0x359379[_0x3808b9(0x173)](_0x4fd326[_0x3808b9(0x125)],0x0)&&await MyReporter['reportLogs'](_0x4fd326);}async['endSession'](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a41_0x534e25(0x156)](_0x41634d){const _0xe92b3f=a41_0x534e25,_0x472973={'sMWuP':function(_0x287032){return _0x287032();},'tEHqC':function(_0x81e5c0,_0x38417a){return _0x81e5c0(_0x38417a);}};await this[_0xe92b3f(0xc0)]();try{process[_0xe92b3f(0xbb)][_0xe92b3f(0xf6)]&&await _0x472973[_0xe92b3f(0xc5)](calculatePerformance);}catch(_0x2108e4){_0x472973[_0xe92b3f(0xf5)](debug,_0xe92b3f(0x14d)+_0x2108e4['toString']());}}static async['addTestUIDAndReportLog'](_0x2b88f4,_0x20bc9b){const _0x35583b=a41_0x534e25;_0x20bc9b[_0x35583b(0x168)]=TestDetails[_0x35583b(0x123)](_0x2b88f4),await this[_0x35583b(0xef)]([_0x20bc9b]);}static async[a41_0x534e25(0xef)](_0x2b407f){const _0x31f9d0=a41_0x534e25,_0x8dbadc={};_0x8dbadc[_0x31f9d0(0x138)]='LogCreated';const _0x15c844=_0x8dbadc,_0x4d38e6={};_0x4d38e6[_0x31f9d0(0xae)]=_0x15c844[_0x31f9d0(0x138)],_0x4d38e6[_0x31f9d0(0xc4)]=_0x2b407f,await SessionHandler[_0x31f9d0(0x116)](_0x4d38e6);}async[a41_0x534e25(0xc1)](_0x43cb9b,_0x127bcb,_0x5d5f07,_0x471728){const _0x24104d=a41_0x534e25,_0x12ceb8={'mOGdY':'hook','rVxvO':_0x24104d(0xda),'QBmnh':_0x24104d(0x150),'joWfi':function(_0x1a181a,_0x126584){return _0x1a181a>=_0x126584;},'YQDOE':function(_0x5e8362,_0x19b694){return _0x5e8362===_0x19b694;},'DLJWN':_0x24104d(0x181),'YtIEZ':function(_0x6a347d,_0x29a07b){return _0x6a347d>_0x29a07b;},'ZjBpF':'failed','xXzul':function(_0x255a27,_0x4fabd3){return _0x255a27(_0x4fabd3);},'lyanK':function(_0x35bc0b,_0x4314b6){return _0x35bc0b(_0x4314b6);},'EjywQ':function(_0x148fba,_0x110a0a,_0x7f46c6){return _0x148fba(_0x110a0a,_0x7f46c6);},'FkAlg':_0x24104d(0x147),'rVoKb':function(_0x1a4516,_0xe13eb1){return _0x1a4516===_0xe13eb1;},'jNrlS':_0x24104d(0x157)},_0x13bb57=this[_0x24104d(0xdd)](_0x43cb9b,_0x127bcb),_0x2f8724=this[_0x24104d(0x163)][_0x13bb57],_0x47267d={'uuid':_0x2f8724[_0x24104d(0x9c)],'type':_0x12ceb8[_0x24104d(0xbe)],'hook_type':this[_0x24104d(0x166)](_0x127bcb['title']),'name':_0x127bcb[_0x24104d(0x131)],'scope':this['getScope'](_0x127bcb),'scopes':this[_0x24104d(0x139)](_0x43cb9b),'body':{'lang':_0x12ceb8[_0x24104d(0xb0)],'code':null},'identifier':_0x13bb57,'file_name':path[_0x24104d(0xed)](process[_0x24104d(0x188)](),_0x43cb9b['location'][_0x24104d(0xf8)]),'location':path[_0x24104d(0xed)](process[_0x24104d(0x188)](),_0x43cb9b[_0x24104d(0xa6)][_0x24104d(0xf8)]),'result':_0x12ceb8['QBmnh'],'duration_in_ms':_0x12ceb8['joWfi'](_0x127bcb[_0x24104d(0x160)],0x0)?_0x127bcb[_0x24104d(0x160)]:undefined,'vc_filepath':this[_0x24104d(0xde)]&&_0x43cb9b['location'][_0x24104d(0xf8)]?path['relative'](this[_0x24104d(0xde)],_0x43cb9b[_0x24104d(0xa6)][_0x24104d(0xf8)]):undefined,'started_at':_0x2f8724[_0x24104d(0x14a)],'finished_at':_0x2f8724['finishedAt'],'framework':FRAMEWORKS[_0x24104d(0xd4)]};if(_0x12ceb8['YQDOE'](_0x5d5f07,_0x12ceb8[_0x24104d(0xb6)])){const {steps:_0x351b0b,logs:_0x529708}=this[_0x24104d(0x111)](_0x127bcb[_0x24104d(0x117)],_0x2f8724[_0x24104d(0x9c)],_0x12ceb8[_0x24104d(0xbe)]);_0x529708&&_0x12ceb8[_0x24104d(0x132)](_0x529708[_0x24104d(0x125)],0x0)&&await MyReporter['reportLogs'](_0x529708);const _0x355fc8={};_0x355fc8[_0x24104d(0x117)]=_0x351b0b,_0x47267d[_0x24104d(0x12a)]=_0x355fc8;if(_0x127bcb[_0x24104d(0x136)]){_0x47267d[_0x24104d(0x16c)]=_0x12ceb8[_0x24104d(0xc8)],_0x47267d['failure_reason']=_0x12ceb8['xXzul'](removeAnsiColors,_0x127bcb[_0x24104d(0x136)]['message']),_0x47267d[_0x24104d(0x13f)]=_0x12ceb8['lyanK'](getFailureType,_0x127bcb['error']['message']);const _0x52f0e8=_0x12ceb8[_0x24104d(0x162)](failureData,_0x127bcb[_0x24104d(0x136)],_0x12ceb8[_0x24104d(0x18b)]);if(_0x52f0e8&&_0x12ceb8['rVoKb'](_0x52f0e8[_0x24104d(0x125)],0x0)){const _0x24740a={};_0x24740a['backtrace']=[_0x47267d[_0x24104d(0x114)]],_0x24740a[_0x24104d(0x15e)]=[],_0x52f0e8[_0x24104d(0xea)](_0x24740a);}_0x47267d['failure']=_0x52f0e8;}else _0x47267d['result']=_0x12ceb8[_0x24104d(0x17c)];}const _0x5bd9f5={};_0x5bd9f5[_0x24104d(0xae)]=_0x5d5f07,_0x5bd9f5[_0x24104d(0xc7)]=_0x47267d;const _0x46cf18=_0x5bd9f5;await SessionHandler['uploadEventData'](_0x46cf18);}['getStepsAndLogs'](_0x1a87b8,_0x2d6baa,_0x29cf47){const _0x149d23=a41_0x534e25,_0xcb2c2c={'FpAVm':function(_0x3372e8,_0xe212b7){return _0x3372e8===_0xe212b7;},'ptieo':'hook','oYljA':function(_0x1e04d4,_0x47b442){return _0x1e04d4===_0x47b442;},'mPZrM':_0x149d23(0x14c),'zTDPT':function(_0x1409a3,_0x4b793a){return _0x1409a3===_0x4b793a;},'KoCYK':'Before\x20Hooks','KyVlG':function(_0x1667b1,_0x2a493f){return _0x1667b1===_0x2a493f;},'iMESZ':_0x149d23(0x148),'IGobK':_0x149d23(0x168),'PkBKc':_0x149d23(0x17a),'CrDOk':_0x149d23(0xb4),'BdbLP':_0x149d23(0x134),'KrMfJ':_0x149d23(0x157),'OsMYW':function(_0x57741d,_0x5966cb){return _0x57741d(_0x5966cb);},'rtCAW':function(_0x45d490){return _0x45d490();},'NOnWo':function(_0x567fb4,_0x5ed1c0){return _0x567fb4(_0x5ed1c0);},'KtCdN':function(_0x4283e5,_0x2da7a7,_0xb9ebf9){return _0x4283e5(_0x2da7a7,_0xb9ebf9);},'PIHtY':function(_0x2aacc1,_0x5aba73,_0x25ebc6){return _0x2aacc1(_0x5aba73,_0x25ebc6);}},_0x5b766e=[],_0x5edf0e=[],_0x252925=_0x1a87b8['filter'](_0x24c5ff=>{const _0x4aa98c=_0x149d23;if(_0xcb2c2c[_0x4aa98c(0xe3)](_0x24c5ff[_0x4aa98c(0x9f)],_0xcb2c2c[_0x4aa98c(0x16b)])&&(_0xcb2c2c[_0x4aa98c(0x10c)](_0x24c5ff[_0x4aa98c(0x131)],_0xcb2c2c[_0x4aa98c(0x128)])||_0xcb2c2c[_0x4aa98c(0x13a)](_0x24c5ff[_0x4aa98c(0x131)],_0xcb2c2c[_0x4aa98c(0xe5)])))return![];return!![];}),_0x484bc3=(_0x1de0c4,_0x262e70=![])=>{const _0x30a8f7=_0x149d23;if(_0xcb2c2c[_0x30a8f7(0x10e)](_0x1de0c4[_0x30a8f7(0x117)][_0x30a8f7(0x125)],0x0)){const _0x463bcc=_0xcb2c2c[_0x30a8f7(0xe3)](_0x29cf47,_0xcb2c2c[_0x30a8f7(0x15d)])?_0xcb2c2c[_0x30a8f7(0xdb)]:_0xcb2c2c['PkBKc'];_0x5edf0e['push']({'kind':_0xcb2c2c['CrDOk'],[_0x463bcc]:_0x2d6baa,'message':_0x1de0c4[_0x30a8f7(0x131)],'timestamp':_0x1de0c4[_0x30a8f7(0x11f)][_0x30a8f7(0xa5)](),'level':_0x1de0c4['error']?_0xcb2c2c['BdbLP']:_0xcb2c2c[_0x30a8f7(0x143)],'duration':_0x1de0c4[_0x30a8f7(0x160)],'failure':_0x1de0c4[_0x30a8f7(0x136)]&&_0x1de0c4[_0x30a8f7(0x136)]['message']&&_0xcb2c2c[_0x30a8f7(0x18d)](removeAnsiColors,_0x1de0c4['error'][_0x30a8f7(0x180)]),'failure_type':_0xcb2c2c[_0x30a8f7(0x18d)](getFailureType,_0x1de0c4[_0x30a8f7(0x136)]&&_0x1de0c4[_0x30a8f7(0x136)][_0x30a8f7(0x180)])});}else{!_0x262e70&&_0x5b766e[_0x30a8f7(0xea)]({'id':_0xcb2c2c[_0x30a8f7(0x158)](uuidv4),'text':_0x1de0c4[_0x30a8f7(0x131)],'keyword':undefined,'started_at':_0x1de0c4[_0x30a8f7(0x11f)][_0x30a8f7(0xa5)](),'duration':_0x1de0c4['duration'],'result':_0x1de0c4[_0x30a8f7(0x136)]?_0xcb2c2c[_0x30a8f7(0xaf)]:_0xcb2c2c[_0x30a8f7(0x143)],'failure':_0x1de0c4[_0x30a8f7(0x136)]&&_0x1de0c4[_0x30a8f7(0x136)]['message']&&_0xcb2c2c[_0x30a8f7(0xd7)](removeAnsiColors,_0x1de0c4[_0x30a8f7(0x136)][_0x30a8f7(0x180)]),'failure_type':_0xcb2c2c['OsMYW'](getFailureType,_0x1de0c4[_0x30a8f7(0x136)]&&_0x1de0c4[_0x30a8f7(0x136)][_0x30a8f7(0x180)])});for(const _0x14ddb1 of _0x1de0c4[_0x30a8f7(0x117)]){_0xcb2c2c['KtCdN'](_0x484bc3,_0x14ddb1,!![]);}}};for(const _0x57acfb of _0x252925){_0xcb2c2c['PIHtY'](_0x484bc3,_0x57acfb,![]);}const _0x5ea3ce={};return _0x5ea3ce['steps']=_0x5b766e,_0x5ea3ce[_0x149d23(0xc4)]=_0x5edf0e,_0x5ea3ce;}async[a41_0x534e25(0x18a)](_0x4abed6,_0x1be6c3,_0x224be6){const _0x5a3f0f=a41_0x534e25,_0x5e9cb4={'Kmbmb':function(_0x4bc65e,_0x595340){return _0x4bc65e(_0x595340);},'Donfa':_0x5a3f0f(0x12e),'XDlVD':_0x5a3f0f(0x130),'bfeUB':_0x5a3f0f(0x148),'Ikzqx':_0x5a3f0f(0xda),'UQRjO':_0x5a3f0f(0x150),'UBAOT':function(_0x27c211,_0x3ff485){return _0x27c211(_0x3ff485);},'kOPCr':function(_0x8bcc1c,_0x496ea5,_0x5ebd5f,_0x1b2a8b,_0x2db8ea){return _0x8bcc1c(_0x496ea5,_0x5ebd5f,_0x1b2a8b,_0x2db8ea);},'JiJIc':function(_0x2bd9e5,_0x33a2cc){return _0x2bd9e5>_0x33a2cc;},'pqEUh':function(_0x26b983,_0xc43962){return _0x26b983-_0xc43962;},'iehKu':function(_0xad5ff6,_0x45da6b){return _0xad5ff6===_0x45da6b;},'FCbJI':_0x5a3f0f(0x13c),'rnnJs':function(_0x501acd,_0x1b0a1a){return _0x501acd===_0x1b0a1a;},'MKaPT':'skipped','tMGzy':'passed','ygVCK':function(_0x1a4222,_0x3a954b){return _0x1a4222===_0x3a954b;},'oMVEa':'failed','aSbLu':'timedOut','dLXJI':function(_0x49c49d,_0x54c23d){return _0x49c49d===_0x54c23d;},'hSUdM':function(_0x45a4b3,_0x3779a0){return _0x45a4b3===_0x3779a0;},'NJMAu':_0x5a3f0f(0x13d),'RnAMS':function(_0x4516e5,_0x4f4155){return _0x4516e5(_0x4f4155);},'FubYk':function(_0x3fb12e,_0x56d6ef,_0xa6e514){return _0x3fb12e(_0x56d6ef,_0xa6e514);},'yZwor':_0x5a3f0f(0x142),'vmJMo':function(_0x1374df,_0x2ae0e0){return _0x1374df(_0x2ae0e0);},'xBXmP':_0x5a3f0f(0xf4),'JjIBK':'utf8','swkqc':function(_0xf1821,_0x2d5210){return _0xf1821(_0x2d5210);},'gHOzl':function(_0x31cf40,_0xffd3b9){return _0x31cf40!==_0xffd3b9;},'fEqiy':function(_0x1eb229,_0x418d25){return _0x1eb229===_0x418d25;}},_0x473001=this[_0x5a3f0f(0x17f)](_0x4abed6),_0x2d2a75=this['getScope'](_0x4abed6),_0x12ee36=this[_0x5a3f0f(0x163)][_0x473001],_0x408d7d=path['relative'](process[_0x5a3f0f(0x188)](),_0x4abed6['location'][_0x5a3f0f(0xf8)]);await this[_0x5a3f0f(0x129)]();const _0x433444={'uuid':_0x12ee36[_0x5a3f0f(0x9c)],'type':_0x5e9cb4[_0x5a3f0f(0x105)],'name':_0x4abed6[_0x5a3f0f(0x131)],'body':{'lang':_0x5e9cb4[_0x5a3f0f(0x135)],'code':_0x4abed6['fn']['toString']()},'scope':_0x2d2a75,'scopes':this[_0x5a3f0f(0x139)](_0x4abed6),'identifier':_0x473001,'file_name':_0x408d7d,'location':_0x408d7d,'result':_0x5e9cb4[_0x5a3f0f(0xeb)],'duration_in_ms':_0x224be6&&_0x224be6['duration']?_0x224be6[_0x5a3f0f(0x160)]:null,'vc_filepath':this['_gitConfigPath']&&_0x4abed6[_0x5a3f0f(0xa6)][_0x5a3f0f(0xf8)]?path['relative'](this[_0x5a3f0f(0xde)],_0x4abed6[_0x5a3f0f(0xa6)][_0x5a3f0f(0xf8)]):undefined,'started_at':_0x12ee36[_0x5a3f0f(0x14a)],'finished_at':_0x12ee36[_0x5a3f0f(0x12d)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x5a3f0f(0xfc)](_0x4abed6)},'tags':_0x5e9cb4[_0x5a3f0f(0xd2)](getTestTags,_0x4abed6)};_0x5e9cb4[_0x5a3f0f(0xac)](appendTesthubParams,_0x433444,_0x1be6c3,_0x4abed6,FRAMEWORKS['PLAYWRIGHT']);_0x224be6&&_0x5e9cb4['JiJIc'](_0x224be6['retry'],0x0)&&(_0x433444['retry_of']=TestDetails[_0x5a3f0f(0x123)](this[_0x5a3f0f(0x179)](_0x4abed6,_0x5e9cb4[_0x5a3f0f(0xd6)](_0x224be6[_0x5a3f0f(0x109)],0x1))));if(_0x5e9cb4['iehKu'](_0x1be6c3,_0x5e9cb4[_0x5a3f0f(0x164)])){_0x433444[_0x5a3f0f(0x16c)]=_0x224be6[_0x5a3f0f(0xa7)];if(_0x5e9cb4[_0x5a3f0f(0xcd)](_0x224be6[_0x5a3f0f(0xa7)],_0x4abed6[_0x5a3f0f(0xe8)]))_0x433444[_0x5a3f0f(0x16c)]=_0x5e9cb4[_0x5a3f0f(0xcd)](_0x224be6['status'],_0x5e9cb4[_0x5a3f0f(0x14b)])?_0x5e9cb4[_0x5a3f0f(0x14b)]:_0x5e9cb4[_0x5a3f0f(0xdf)];else{(_0x5e9cb4['iehKu'](_0x433444['result'],_0x5e9cb4['tMGzy'])||_0x5e9cb4[_0x5a3f0f(0x11a)](_0x433444[_0x5a3f0f(0x16c)],_0x5e9cb4[_0x5a3f0f(0xbd)])||_0x5e9cb4[_0x5a3f0f(0x11a)](_0x433444['result'],_0x5e9cb4[_0x5a3f0f(0x13b)]))&&(_0x433444[_0x5a3f0f(0x16c)]=_0x5e9cb4[_0x5a3f0f(0xbd)]);if(_0x5e9cb4[_0x5a3f0f(0x10a)](_0x224be6['status'],_0x5e9cb4[_0x5a3f0f(0xdf)])&&_0x5e9cb4['hSUdM'](_0x4abed6[_0x5a3f0f(0xe8)],_0x5e9cb4[_0x5a3f0f(0xbd)])){const _0x275ab4={};_0x275ab4['message']=_0x5e9cb4[_0x5a3f0f(0xc2)],_0x275ab4[_0x5a3f0f(0x11b)]=_0x5e9cb4['NJMAu'],_0x224be6[_0x5a3f0f(0x136)]=_0x275ab4,_0x224be6[_0x5a3f0f(0x155)]=[_0x224be6[_0x5a3f0f(0x136)]];}}const _0x26dc07=this[_0x5a3f0f(0x179)](_0x4abed6,_0x224be6['retry']);_0x433444[_0x5a3f0f(0xf0)]=this[_0x5a3f0f(0x121)][_0x26dc07];const {steps:_0x598f62,logs:_0x10c26a}=this['getStepsAndLogs'](_0x224be6[_0x5a3f0f(0x117)],_0x12ee36[_0x5a3f0f(0x9c)],_0x5e9cb4[_0x5a3f0f(0x105)]);await MyReporter[_0x5a3f0f(0xef)](_0x10c26a);const _0x5a3ba5={};_0x5a3ba5['steps']=_0x598f62,_0x433444[_0x5a3f0f(0x12a)]=_0x5a3ba5;if(_0x224be6[_0x5a3f0f(0x136)]){_0x433444[_0x5a3f0f(0x114)]=_0x5e9cb4[_0x5a3f0f(0x172)](removeAnsiColors,_0x224be6[_0x5a3f0f(0x136)][_0x5a3f0f(0x180)]),_0x433444[_0x5a3f0f(0x13f)]=_0x5e9cb4['Kmbmb'](getFailureType,_0x224be6[_0x5a3f0f(0x136)][_0x5a3f0f(0x180)]);const _0x3e03a8={};_0x3e03a8[_0x5a3f0f(0x168)]=_0x12ee36[_0x5a3f0f(0x9c)];const {failureData:_0x123cd3,logs:_0x21ba6f}=_0x5e9cb4['FubYk'](getFailureData,_0x224be6['errors'],_0x3e03a8);if(_0x123cd3&&_0x5e9cb4['ygVCK'](_0x123cd3[_0x5a3f0f(0x125)],0x0)){const _0x4fd990={};_0x4fd990[_0x5a3f0f(0x182)]=[_0x433444[_0x5a3f0f(0x114)]],_0x4fd990[_0x5a3f0f(0x15e)]=[],_0x123cd3['push'](_0x4fd990);}_0x433444[_0x5a3f0f(0x118)]=_0x123cd3,_0x21ba6f&&_0x5e9cb4[_0x5a3f0f(0xb3)](_0x21ba6f[_0x5a3f0f(0x125)],0x0)&&await MyReporter[_0x5a3f0f(0xef)](_0x21ba6f);}}let _0x3cfb50=_0x5e9cb4['FubYk'](findNestedKey,_0x224be6,_0x5e9cb4[_0x5a3f0f(0xd3)]);if(_0x3cfb50&&_0x5e9cb4[_0x5a3f0f(0xd2)](validateFilePath,_0x3cfb50))_0x5e9cb4[_0x5a3f0f(0x174)](debug,_0x5a3f0f(0x13e)+_0x12ee36[_0x5a3f0f(0x9c)]+_0x5a3f0f(0x140)+_0x3cfb50);else{const _0x2be511=path[_0x5a3f0f(0x102)](helper['homedir'](),_0x5e9cb4[_0x5a3f0f(0xcb)]);!fs[_0x5a3f0f(0x17b)](_0x2be511)&&fs[_0x5a3f0f(0x170)](_0x2be511),fs[_0x5a3f0f(0x17b)](path[_0x5a3f0f(0x102)](_0x2be511,_0x5a3f0f(0xbc)+_0x12ee36[_0x5a3f0f(0x9c)]+_0x5a3f0f(0xc3)))&&(_0x3cfb50=fs['readFileSync'](path[_0x5a3f0f(0x102)](_0x2be511,'trace_'+_0x12ee36[_0x5a3f0f(0x9c)]+_0x5a3f0f(0xc3)),_0x5e9cb4['JjIBK']),_0x5e9cb4[_0x5a3f0f(0x16d)](debug,_0x5a3f0f(0x13e)+_0x12ee36[_0x5a3f0f(0x9c)]+_0x5a3f0f(0x140)+_0x3cfb50));}const _0x3a5101={};_0x3a5101[_0x5a3f0f(0xae)]=_0x1be6c3,_0x3a5101[_0x5a3f0f(0xa2)]=_0x433444;const _0x4514b5=_0x3a5101;_0x3cfb50&&_0x5e9cb4['gHOzl'](_0x3cfb50,'')&&_0x5e9cb4['fEqiy'](_0x1be6c3,_0x5e9cb4[_0x5a3f0f(0x164)])&&(!_0x4514b5['logs']&&(_0x4514b5['logs']=[]),_0x3cfb50[_0x5a3f0f(0x18c)]('\x0a')[_0x5a3f0f(0xe0)](_0x45b586=>{const _0x29547c=_0x5a3f0f;_0x45b586&&_0x5e9cb4[_0x29547c(0xa9)](validateFilePath,_0x45b586)&&_0x4514b5[_0x29547c(0xc4)]['push']({'kind':_0x5e9cb4['Donfa'],'timestamp':new Date()[_0x29547c(0xa5)](),'test_run_uuid':_0x12ee36[_0x29547c(0x9c)],'file_name':path[_0x29547c(0xba)](_0x45b586),'file_size':fs['statSync'](_0x45b586)[_0x29547c(0x169)],'attachment_type':_0x5e9cb4[_0x29547c(0x10d)]});})),await SessionHandler[_0x5a3f0f(0x116)](_0x4514b5);}[a41_0x534e25(0xfc)](_0x119f7f){const _0x4ddca2=a41_0x534e25,_0x966fc1={};_0x966fc1['kWdvR']=function(_0x3ea751,_0x9c5d24){return _0x3ea751===_0x9c5d24;},_0x966fc1[_0x4ddca2(0xd0)]=function(_0x44908a,_0x16b531){return _0x44908a>_0x16b531;},_0x966fc1[_0x4ddca2(0x133)]=function(_0x373674,_0x3105c3){return _0x373674+_0x3105c3;},_0x966fc1['hXiek']=function(_0x230e62,_0x2a4ea6){return _0x230e62===_0x2a4ea6;};const _0x7baea3=_0x966fc1,_0x4ac7fc=_0x119f7f['titlePath']()[_0x4ddca2(0xad)](_0x1f731e=>{const _0x382124=_0x4ddca2;if(_0x119f7f[_0x382124(0x108)]&&_0x7baea3[_0x382124(0xce)](_0x1f731e,_0x119f7f[_0x382124(0x108)][_0x382124(0x131)])&&_0x119f7f[_0x382124(0x108)][_0x382124(0x127)]&&_0x7baea3['UJOTR'](_0x119f7f['parent'][_0x382124(0x127)][_0x382124(0x125)],0x0))return _0x7baea3['EVSGo'](_0x7baea3[_0x382124(0x133)](_0x1f731e,'\x20'),_0x119f7f[_0x382124(0x108)]['_tags']['join']('\x20'));if(_0x7baea3[_0x382124(0xa1)](_0x1f731e,_0x119f7f[_0x382124(0x131)])&&_0x119f7f[_0x382124(0x127)]&&_0x7baea3[_0x382124(0xd0)](_0x119f7f[_0x382124(0x127)]['length'],0x0))return _0x7baea3[_0x382124(0x133)](_0x7baea3[_0x382124(0x133)](_0x1f731e,'\x20'),_0x119f7f['_tags'][_0x382124(0x102)]('\x20'));return _0x1f731e;})[_0x4ddca2(0x102)]('\x20');return _0x4ac7fc;}static async[a41_0x534e25(0x14e)](_0x15d94a,_0x4361a4){const _0x437f4c=a41_0x534e25,_0x1a78b1={'PImNm':function(_0x3c2c02,_0x1a1fe1){return _0x3c2c02(_0x1a1fe1);},'aLVIv':_0x437f4c(0xe6)},_0x3a6c78={'uuid':TestDetails['getTestUUID'](_0x15d94a),'integrations':_0x4361a4},_0x3623e8={};_0x3623e8[_0x437f4c(0x12f)]=null,_0x1a78b1['PImNm'](debug,_0x437f4c(0x152)+_0x15d94a+',\x20'+util[_0x437f4c(0x10b)](_0x4361a4,_0x3623e8));const _0x17577d={};_0x17577d[_0x437f4c(0xae)]=_0x1a78b1[_0x437f4c(0x104)],_0x17577d['test_run']=_0x3a6c78,await SessionHandler[_0x437f4c(0x116)](_0x17577d);}async[a41_0x534e25(0x129)](){const _0x209915=a41_0x534e25,_0x4fb5c2={'SlJGe':function(_0x3b8a80){return _0x3b8a80();}};if(this[_0x209915(0xf9)])return;const _0x22c292=await _0x4fb5c2[_0x209915(0x184)](getGitMetaData);_0x22c292&&(this['_gitConfigPath']=_0x22c292['root']),this[_0x209915(0xf9)]=!![];}['getHierarchy'](_0x456129){const _0x3b9fd7=a41_0x534e25,_0x22cbd8={};_0x22cbd8[_0x3b9fd7(0x101)]=function(_0x1100d0,_0x284ce7){return _0x1100d0!==_0x284ce7;};const _0x2e5270=_0x22cbd8,_0x59f779=[];if(_0x456129&&_0x456129[_0x3b9fd7(0x108)]){let _0x1c84fd=_0x456129[_0x3b9fd7(0x108)];while(_0x1c84fd&&_0x2e5270[_0x3b9fd7(0x101)](_0x1c84fd[_0x3b9fd7(0x131)],'')){_0x59f779[_0x3b9fd7(0xea)](_0x1c84fd[_0x3b9fd7(0x131)]),_0x1c84fd=_0x1c84fd[_0x3b9fd7(0x108)];}}return _0x59f779[_0x3b9fd7(0x151)]()[_0x3b9fd7(0xf1)](0x0,0x2),_0x59f779;}['needToReportStep'](_0xa8ec25){const _0x456e69=a41_0x534e25,_0x7a612={};_0x7a612[_0x456e69(0x141)]=function(_0x5d096a,_0x4d44ef){return _0x5d096a!==_0x4d44ef;},_0x7a612[_0x456e69(0xb7)]='hook',_0x7a612['ntOJp']=function(_0x27ef4b,_0x5881d1){return _0x27ef4b===_0x5881d1;},_0x7a612[_0x456e69(0x12c)]=_0x456e69(0xa8),_0x7a612[_0x456e69(0x103)]=_0x456e69(0xc6),_0x7a612[_0x456e69(0x110)]=_0x456e69(0xfd),_0x7a612[_0x456e69(0x175)]=_0x456e69(0x113);const _0x42ac8c=_0x7a612;if(_0x42ac8c[_0x456e69(0x141)](_0xa8ec25[_0x456e69(0x9f)],_0x42ac8c['sTwaU']))return![];if(_0x42ac8c[_0x456e69(0xfb)]([_0x42ac8c[_0x456e69(0x12c)],_0x42ac8c['fUihA'],_0x42ac8c[_0x456e69(0x110)],_0x42ac8c['TuDwg']][_0x456e69(0x9d)](_0xa8ec25[_0x456e69(0x131)]),-0x1))return![];return!![];}[a41_0x534e25(0xdd)](_0x2ae40e,_0x302b47){const _0x31b1f0=a41_0x534e25,_0x3a9cce=_0x302b47[_0x31b1f0(0xa4)];if(_0x3a9cce)return _0x3a9cce;return _0x302b47[_0x31b1f0(0x131)]+'\x20for\x20'+this['getTestIdentifier'](_0x2ae40e);}[a41_0x534e25(0xb9)](_0x4dbb1a,_0x2f3ff3){const _0x30191a=a41_0x534e25,_0x505cb3={'oZGIe':function(_0x50aee6){return _0x50aee6();}};let _0x454bbd=_0x2f3ff3[_0x30191a(0x131)]+_0x30191a(0xc9)+this[_0x30191a(0x17f)](_0x4dbb1a);return this[_0x30191a(0x163)][_0x454bbd]&&(_0x454bbd=_0x454bbd+_0x30191a(0x167)+_0x505cb3[_0x30191a(0x16e)](uuidv4)),_0x2f3ff3[_0x30191a(0xa4)]=_0x454bbd,_0x454bbd;}[a41_0x534e25(0x17f)]=_0x1afd0f=>{const _0x188644=a41_0x534e25,_0x406ea8={};_0x406ea8['vtgsu']=function(_0xc0986c,_0x5db5b1){return _0xc0986c+_0x5db5b1;};const _0x15ce47=_0x406ea8;return _0x15ce47['vtgsu'](_0x15ce47[_0x188644(0x153)](_0x1afd0f['_projectId'],'-'),_0x1afd0f['id']);};[a41_0x534e25(0x179)]=(_0x53fd39,_0x258a4c)=>{const _0x569363=a41_0x534e25,_0x1e22db={};_0x1e22db['VVBHD']=function(_0xd754fa,_0x588ee8){return _0xd754fa+_0x588ee8;};const _0x3a00c3=_0x1e22db;return _0x3a00c3[_0x569363(0x11e)](_0x3a00c3['VVBHD'](this[_0x569363(0x17f)](_0x53fd39),'-'),_0x258a4c);};[a41_0x534e25(0x166)]=_0x249870=>{const _0x4cf1ef=a41_0x534e25,_0x28e1fb={};_0x28e1fb[_0x4cf1ef(0x16f)]='beforeEach\x20hook',_0x28e1fb[_0x4cf1ef(0xdc)]=_0x4cf1ef(0xa0),_0x28e1fb[_0x4cf1ef(0xb2)]=_0x4cf1ef(0xc6),_0x28e1fb[_0x4cf1ef(0x124)]=_0x4cf1ef(0x10f),_0x28e1fb['gGbvd']=_0x4cf1ef(0x113),_0x28e1fb[_0x4cf1ef(0x126)]='AFTER_EACH',_0x28e1fb[_0x4cf1ef(0xa3)]=_0x4cf1ef(0xfd),_0x28e1fb[_0x4cf1ef(0xb8)]=_0x4cf1ef(0xd8),_0x28e1fb[_0x4cf1ef(0x120)]=_0x4cf1ef(0xff);const _0x46e2f4=_0x28e1fb;if(_0x249870[_0x4cf1ef(0x17d)](_0x46e2f4[_0x4cf1ef(0x16f)]))return _0x46e2f4[_0x4cf1ef(0xdc)];else{if(_0x249870[_0x4cf1ef(0x17d)](_0x46e2f4[_0x4cf1ef(0xb2)]))return _0x46e2f4[_0x4cf1ef(0x124)];else{if(_0x249870['startsWith'](_0x46e2f4[_0x4cf1ef(0x15c)]))return _0x46e2f4[_0x4cf1ef(0x126)];else{if(_0x249870[_0x4cf1ef(0x17d)](_0x46e2f4['Pqguq']))return _0x46e2f4[_0x4cf1ef(0xb8)];}}}return _0x46e2f4[_0x4cf1ef(0x120)];};['getScope']=_0x36e84d=>{const _0x54310c=a41_0x534e25,_0x1fa163={};_0x1fa163['eTFOn']=function(_0x1433fe,_0x318519){return _0x1433fe===_0x318519;},_0x1fa163[_0x54310c(0x11c)]='object';const _0x1df9b8=_0x1fa163;let _0x1cd2e3=_0x36e84d[_0x54310c(0x108)];return _0x1df9b8['eTFOn'](typeof _0x36e84d[_0x54310c(0x108)],_0x1df9b8[_0x54310c(0x11c)])&&(_0x1cd2e3=_0x1cd2e3['title']),_0x1cd2e3+'\x20-\x20'+_0x36e84d[_0x54310c(0x131)];};[a41_0x534e25(0x177)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a41_0x534e25(0x122),'endSession',a41_0x534e25(0x149),a41_0x534e25(0x107),'onStepBegin','onStepEnd',a41_0x534e25(0x14e)],a41_0x534e25(0x144));function a41_0x58f2(){const _0x28664a=['getStepIdentifier','_gitConfigPath','tMGzy','forEach','CUSPQ','../../../helpers/test-observability/error-handler','FpAVm','\x20is\x20triggered\x20for\x20test\x20','KoCYK','CBTSessionCreated','mtime','expectedStatus','TEST_SCREENSHOT','push','UQRjO','0|3|5|4|1|2|6','relative','2701515WBhFrg','reportLogs','hooks','splice','3325652tQZIGu','HookRunStarted','.browserstack','tEHqC','BROWSERSTACK_O11Y_PERF_MEASUREMENT','setup','file','_gitConfigured','startMonitoring','ntOJp','getCustomRerunParam','afterAll\x20hook','toString','unknown','JrNbS','PMPOT','join','fUihA','aLVIv','bfeUB','\x20is\x20triggered','onTestEnd','parent','retry','dLXJI','inspect','oYljA','XDlVD','KyVlG','BEFORE_ALL','hIXKg','getStepsAndLogs','TestRunStarted','afterEach\x20hook','failure_reason','nGLOy','uploadEventData','steps','failure','../../../helpers/helper','ygVCK','stack','sKJoH','BROWSERSTACK_LOG_LEVEL','VVBHD','startTime','OjWmu','_testHooksMap','onBegin','getTestUUID','YXywA','length','yjAMn','_tags','mPZrM','configureGit','meta','zywBk','kpYRH','finishedAt','TEST_ATTACHMENT','depth','PLAYWRIGHT_TRACE_LOGS','title','YtIEZ','EVSGo','failed','Ikzqx','error','1272983JXcPPO','RphHi','getHierarchy','zTDPT','aSbLu','TestRunFinished','Expected\x20to\x20fail,\x20but\x20passed.','Trace\x20file\x20found\x20for\x20test:\x20','failure_type','\x20at\x20','PRLBK','path','KrMfJ','MyReporter','../../../helpers/performance/performance-tester','6806304XecZyh','err','test','onTestBegin','startedAt','MKaPT','After\x20Hooks','Error\x20in\x20calculating\x20performance:\x20','sendSessionDetails','./test-details','pending','reverse','Sending\x20session\x20details\x20for\x20','vtgsu','../../../helpers/test-observability/sessionHandler','errors','onEnd','passed','rtCAW','3UPgnis','18568746MKDrcg','readFileSync','gGbvd','iMESZ','expanded','qFYRP','duration','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','EjywQ','_tests','FCbJI','util','getHookType','\x20-\x20','test_run_uuid','size','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','ptieo','result','swkqc','oZGIe','tTLxW','mkdirSync','Hook\x20Finished\x20with\x20unique\x20id\x20','RnAMS','UOXdS','vmJMo','TuDwg','onStepBegin','printsToStdio','needToReportStep','getTestRunIdentifier','hook_run_uuid','existsSync','jNrlS','startsWith','pWvfx','getTestIdentifier','message','HookRunFinished','backtrace','MrDRc','SlJGe','name','364264VLdxpi','screenshot','cwd','49MtComV','sendTestRunEvent','FkAlg','split','OsMYW','uuid','indexOf','Error\x20in\x20sending\x20trace\x20zip:\x20%s','category','BEFORE_EACH','hXiek','test_run','Pqguq','_bs_hookIdentifier','toISOString','location','status','beforeEach\x20hook','Kmbmb','options','format','kOPCr','map','event_type','BdbLP','rVxvO','hICOg','LbxuW','JiJIc','TEST_STEP','RHCiZ','DLJWN','sTwaU','RnALw','setStepIdentifier','basename','env','trace_','oMVEa','mOGdY','logLevel','endSession','sendHookRunEvent','NJMAu','.txt','logs','sMWuP','beforeAll\x20hook','hook_run','ZjBpF','\x20for\x20','Hook\x20Started\x20with\x20unique\x20id\x20','xBXmP','../../../helpers/test-observability/requestQueueHandler','rnnJs','kWdvR','BROWSERSTACK_TEST_RUN_ID','UJOTR','attachments','UBAOT','yZwor','PLAYWRIGHT','sXHgK','pqEUh','NOnWo','AFTER_ALL','356804eswdhk','javascript','IGobK','HtjAg'];a41_0x58f2=function(){return _0x28664a;};return a41_0x58f2();}
@@ -1 +1 @@
1
- const a42_0x57c4e4=a42_0x4931;(function(_0x49ab17,_0x14ddea){const _0x313870=a42_0x4931,_0x5b1299=_0x49ab17();while(!![]){try{const _0x38779a=parseInt(_0x313870(0x1ba))/0x1*(-parseInt(_0x313870(0x17f))/0x2)+-parseInt(_0x313870(0x174))/0x3*(parseInt(_0x313870(0x19a))/0x4)+-parseInt(_0x313870(0x1a1))/0x5+-parseInt(_0x313870(0x18f))/0x6+parseInt(_0x313870(0x1b9))/0x7*(parseInt(_0x313870(0x186))/0x8)+-parseInt(_0x313870(0x185))/0x9*(-parseInt(_0x313870(0x190))/0xa)+parseInt(_0x313870(0x1b3))/0xb*(parseInt(_0x313870(0x1c4))/0xc);if(_0x38779a===_0x14ddea)break;else _0x5b1299['push'](_0x5b1299['shift']());}catch(_0x3138ca){_0x5b1299['push'](_0x5b1299['shift']());}}}(a42_0x5c74,0x737d7));function a42_0x4931(_0x559165,_0x43315c){const _0x5c74f1=a42_0x5c74();return a42_0x4931=function(_0x4931f7,_0x29fdbc){_0x4931f7=_0x4931f7-0x170;let _0x1edbd0=_0x5c74f1[_0x4931f7];return _0x1edbd0;},a42_0x4931(_0x559165,_0x43315c);}const fs=require('fs'),path=require(a42_0x57c4e4(0x178)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x57c4e4(0x179)),{nestedKeyValue}=require(a42_0x57c4e4(0x181)),logger=require(a42_0x57c4e4(0x191))[a42_0x57c4e4(0x187)],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require('../../../helpers/helper');function a42_0x5c74(){const _0x5812a4=['../../../helpers/test-observability/constants','getTestIdFromTestInfo','string','readFileSync','uceFW','getStoreDirPath','2sbaFdH','__projectId','../../../helpers/helper','jPErx','setup','sprgh','765DldDtj','18248plzDAk','winstonLogger','getDirPath','exxPX','toString','readdirSync','_traceZipPaths.json','default','stringify','3779604sDBoZz','50240qUoqyC','../../../helpers/logger','exports','recursive','shutdown','error','traceZipPaths','.browserstack','force','filePath','4Psjpas','DKhQX','irbwI','forEach','mZCxc','IYjma','pid','2651860pnUURB','getFilePath','bGcVD','cGuVr','trace_','parse','getTestRunIdFromTestInfo','EHlqo','BPhaI','xrmlf','_projectId','getProjectIdFromTestInfo','format','Error\x20writing\x20trace\x20file:\x20','mkdirSync','IPHeA','setTestDetails','OZGLv','107195fvmoWQ','tDWdI','getTraceZipDir','testId','env','some','1456VBFrkw','533366FbzrMM','ozcvG','xIWlL','NOQMk','addTraceFilePath','HxdWJ','writeFileSync','.json','_platformDetails.json','rmSync','2532oJPXqS','ZlZnr','Cscqy','appendFileSync','push','project','getAccessibilityPlatformValidation','tests','BS_TESTOPS_BUILD_HASHED_ID','existsSync','getStoreDirName','_test','2372892gPxGkG','getTraceFilePaths','join','uuid','path'];a42_0x5c74=function(){return _0x5812a4;};return a42_0x5c74();}class TestDetails{static [a42_0x57c4e4(0x1cb)]={};static[a42_0x57c4e4(0x183)](){const _0x3cc0b9=a42_0x57c4e4;this[_0x3cc0b9(0x194)]();const _0x25c54c={};_0x25c54c[_0x3cc0b9(0x193)]=!![],fs[_0x3cc0b9(0x1af)](this[_0x3cc0b9(0x188)](),_0x25c54c);const _0x2ba47f={};_0x2ba47f[_0x3cc0b9(0x193)]=!![],fs[_0x3cc0b9(0x1af)](this[_0x3cc0b9(0x1b5)](),_0x2ba47f);}static[a42_0x57c4e4(0x172)](){const _0x127d87=a42_0x57c4e4,_0x3e3ee4={};_0x3e3ee4[_0x127d87(0x19b)]=function(_0x39f268,_0x3d1de7){return _0x39f268+_0x3d1de7;};const _0x390b53=_0x3e3ee4;return _0x390b53['DKhQX'](_0x390b53[_0x127d87(0x19b)](TEMP_STORE_DIR_NAME,'-'),process[_0x127d87(0x1b7)][_0x127d87(0x170)]);}static[a42_0x57c4e4(0x17e)](){const _0x4dd30a=a42_0x57c4e4,_0x56e29a={'ZlZnr':function(_0x39ea11){return _0x39ea11();},'ozcvG':function(_0x3a0b60,_0x7fe404){return _0x3a0b60+_0x7fe404;},'xIWlL':function(_0xc7f21e,_0x3da5aa){return _0xc7f21e+_0x3da5aa;},'tDWdI':_0x4dd30a(0x18d)};return path[_0x4dd30a(0x176)](_0x56e29a[_0x4dd30a(0x1c5)](getLogDir),_0x56e29a[_0x4dd30a(0x1bb)](_0x56e29a[_0x4dd30a(0x1bc)](TEMP_STORE_DIR_NAME,'-'),process[_0x4dd30a(0x1b7)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x56e29a[_0x4dd30a(0x1b4)]));}static[a42_0x57c4e4(0x1b5)](){const _0x392ac4=a42_0x57c4e4,_0x526228={};_0x526228[_0x392ac4(0x189)]=_0x392ac4(0x196);const _0x336880=_0x526228;return path[_0x392ac4(0x176)](this[_0x392ac4(0x17e)](),_0x336880['exxPX']);}static[a42_0x57c4e4(0x188)](){const _0x40e2c7=a42_0x57c4e4,_0x225e25={'wRqab':function(_0x3c04e9){return _0x3c04e9();}};return path[_0x40e2c7(0x176)](_0x225e25['wRqab'](getLogDir),TestDetails[_0x40e2c7(0x172)]());}static[a42_0x57c4e4(0x1a2)](_0x51e10d){const _0x4fb246=a42_0x57c4e4,_0xe420c6={};_0xe420c6[_0x4fb246(0x184)]=function(_0x20728f,_0x3e0de6){return _0x20728f+_0x3e0de6;},_0xe420c6['BPhaI']=_0x4fb246(0x1c1);const _0x5c31cf=_0xe420c6;return path['join'](this[_0x4fb246(0x188)](),_0x5c31cf[_0x4fb246(0x184)](_0x51e10d,_0x5c31cf[_0x4fb246(0x1a9)]));}static[a42_0x57c4e4(0x1a7)](_0x1b0b4e){const _0x199078=a42_0x57c4e4,_0x4a987b={};_0x4a987b[_0x199078(0x182)]=function(_0x5ef971,_0x4d3131){return _0x5ef971+_0x4d3131;},_0x4a987b[_0x199078(0x1bd)]=function(_0x45556f,_0x341365){return _0x45556f+_0x341365;};const _0x2e2a0f=_0x4a987b;return _0x2e2a0f[_0x199078(0x182)](_0x2e2a0f[_0x199078(0x1bd)](_0x2e2a0f[_0x199078(0x1bd)](_0x2e2a0f['jPErx'](this[_0x199078(0x1ac)](_0x1b0b4e),'-'),this[_0x199078(0x17a)](_0x1b0b4e)),'-'),_0x1b0b4e['retry']);}static[a42_0x57c4e4(0x1ac)](_0x1cab30){const _0x7a8350=a42_0x57c4e4,_0x5d859={'EHlqo':function(_0xad1ab4,_0x1985c1,_0x23d589){return _0xad1ab4(_0x1985c1,_0x23d589);},'fiihR':_0x7a8350(0x173),'VBPeL':_0x7a8350(0x1ab),'SRZNC':_0x7a8350(0x1c9),'bGcVD':_0x7a8350(0x180)};return _0x5d859[_0x7a8350(0x1a8)](nestedKeyValue,_0x1cab30,[_0x5d859['fiihR'],_0x5d859['VBPeL']])||_0x5d859['EHlqo'](nestedKeyValue,_0x1cab30,[_0x5d859['SRZNC'],_0x5d859[_0x7a8350(0x1a3)]]);}static[a42_0x57c4e4(0x17a)](_0x5c9ea5){const _0x48bee0=a42_0x57c4e4,_0x3f44f4={'uceFW':function(_0x48d640,_0x104f22,_0x1e2b11){return _0x48d640(_0x104f22,_0x1e2b11);},'HxdWJ':_0x48bee0(0x173)};return _0x3f44f4[_0x48bee0(0x17d)](nestedKeyValue,_0x5c9ea5,[_0x3f44f4[_0x48bee0(0x1bf)],'id'])||_0x5c9ea5[_0x48bee0(0x1b6)];}static['getTestUUID'](_0x4d7d25){const _0x2b9786=a42_0x57c4e4,_0x45e843={'IPHeA':function(_0x5686bd,_0x330e74){return _0x5686bd===_0x330e74;},'cGuVr':_0x2b9786(0x17b),'xrmlf':function(_0x317dfa){return _0x317dfa();}};if(this[_0x2b9786(0x1cb)][_0x4d7d25]&&_0x45e843[_0x2b9786(0x1b0)](typeof this[_0x2b9786(0x1cb)][_0x4d7d25]['uuid'],_0x45e843[_0x2b9786(0x1a4)]))return this[_0x2b9786(0x1cb)][_0x4d7d25][_0x2b9786(0x177)];const _0x5182c6=this[_0x2b9786(0x1a2)](_0x4d7d25);if(_0x5182c6&&fs[_0x2b9786(0x171)](_0x5182c6)){const _0xce4a9=JSON[_0x2b9786(0x1a6)](fs['readFileSync'](_0x5182c6)['toString']());return this[_0x2b9786(0x1cb)][_0x4d7d25]=_0xce4a9,this[_0x2b9786(0x1cb)][_0x4d7d25][_0x2b9786(0x177)];}return this[_0x2b9786(0x1cb)][_0x4d7d25]={'uuid':_0x45e843[_0x2b9786(0x1aa)](uuidv4)},fs['writeFileSync'](_0x5182c6,JSON[_0x2b9786(0x18e)](this[_0x2b9786(0x1cb)][_0x4d7d25])),this[_0x2b9786(0x1cb)][_0x4d7d25][_0x2b9786(0x177)];}static[a42_0x57c4e4(0x1ca)](_0x49a935){const _0x4a3945=a42_0x57c4e4,_0x27545b=path[_0x4a3945(0x176)](this[_0x4a3945(0x188)](),_0x49a935+_0x4a3945(0x1c2));if(_0x27545b&&fs[_0x4a3945(0x171)](_0x27545b))return fs[_0x4a3945(0x17c)](_0x27545b)[_0x4a3945(0x18a)]();}static['setAccessibilityPlatformValidation'](_0x13560d,_0x46e2bd){const _0x5698c1=a42_0x57c4e4,_0xeda88=path[_0x5698c1(0x176)](this[_0x5698c1(0x188)](),_0x46e2bd+'_platformDetails.json');fs[_0x5698c1(0x1c0)](_0xeda88,_0x13560d[_0x5698c1(0x18a)]());}static[a42_0x57c4e4(0x194)](){const _0x202ab1=a42_0x57c4e4,_0x394fab={};_0x394fab['recursive']=!![],_0x394fab[_0x202ab1(0x198)]=!![],fs[_0x202ab1(0x1c3)](this[_0x202ab1(0x188)](),_0x394fab);}static['getTestDetails'](_0x348d2c){const _0x1aec33=a42_0x57c4e4;if(this[_0x1aec33(0x1cb)][_0x348d2c])return this[_0x1aec33(0x1cb)][_0x348d2c];const _0x48d05f=this[_0x1aec33(0x1a2)](_0x348d2c);if(_0x48d05f&&fs[_0x1aec33(0x171)](_0x48d05f)){const _0x5edce0=JSON[_0x1aec33(0x1a6)](fs[_0x1aec33(0x17c)](_0x48d05f)[_0x1aec33(0x18a)]());return this[_0x1aec33(0x1cb)][_0x348d2c]=_0x5edce0,_0x5edce0;}return{};}static[a42_0x57c4e4(0x1b1)](_0x331041,_0x4d6ce8){const _0x270930=a42_0x57c4e4,_0x5b9953=this['getFilePath'](_0x331041);if(_0x5b9953&&fs['existsSync'](_0x5b9953)){const _0xb3b40a=JSON['parse'](fs['readFileSync'](_0x5b9953)[_0x270930(0x18a)]()),_0x1ea31a={..._0xb3b40a,..._0x4d6ce8};this['tests'][_0x331041]=_0x1ea31a;}else this[_0x270930(0x1cb)][_0x331041]=_0x4d6ce8;fs[_0x270930(0x1c0)](_0x5b9953,this[_0x270930(0x1cb)][_0x331041]);}static[a42_0x57c4e4(0x1be)](_0x4de389){const _0x3aec9c=a42_0x57c4e4,_0x5de4ee={};_0x5de4ee[_0x3aec9c(0x1b2)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x2c5240=_0x5de4ee;try{const _0x568eab=process[_0x3aec9c(0x1a0)],_0x1779fe=path[_0x3aec9c(0x176)](TestDetails[_0x3aec9c(0x1b5)](),_0x568eab+_0x3aec9c(0x18c));let _0x33353b=[];_0x1779fe&&fs[_0x3aec9c(0x171)](_0x1779fe)&&(_0x33353b=JSON[_0x3aec9c(0x1a6)](fs[_0x3aec9c(0x17c)](_0x1779fe)[_0x3aec9c(0x18a)]())),!_0x33353b[_0x3aec9c(0x1b8)](_0x24b566=>_0x24b566[_0x3aec9c(0x199)]===_0x4de389['filePath'])&&(_0x33353b['push'](_0x4de389),fs['writeFileSync'](_0x1779fe,JSON[_0x3aec9c(0x18e)](_0x33353b)));}catch(_0x4b8cc2){logger['error'](_0x2c5240[_0x3aec9c(0x1b2)],_0x4b8cc2);}}static[a42_0x57c4e4(0x175)](){const _0x2100f1=a42_0x57c4e4,_0x83dacb={};_0x83dacb[_0x2100f1(0x1c6)]=_0x2100f1(0x18c),_0x83dacb[_0x2100f1(0x19f)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x38e72b=_0x83dacb,_0x3346d7=[];try{const _0x1bd6a3=TestDetails[_0x2100f1(0x1b5)]();if(_0x1bd6a3&&!fs['existsSync'](_0x1bd6a3))return _0x3346d7;const _0xf4c70b=fs[_0x2100f1(0x18b)](_0x1bd6a3);_0xf4c70b[_0x2100f1(0x19d)](_0xf6474c=>{const _0x2f55d8=_0x2100f1;if(_0xf6474c&&_0xf6474c['endsWith'](_0x38e72b[_0x2f55d8(0x1c6)])){const _0x2dcb14=JSON[_0x2f55d8(0x1a6)](fs['readFileSync'](path[_0x2f55d8(0x176)](_0x1bd6a3,_0xf6474c))[_0x2f55d8(0x18a)]());_0x3346d7[_0x2f55d8(0x1c8)](..._0x2dcb14);}});}catch(_0x3d545d){logger[_0x2100f1(0x195)](util[_0x2100f1(0x1ad)](_0x38e72b['IYjma'],_0x3d545d));}const _0x11d0c9={};return _0x3346d7[_0x2100f1(0x19d)](_0xcfc8f2=>{const _0x5134fc=_0x2100f1;_0x11d0c9[_0xcfc8f2[_0x5134fc(0x199)]]=_0xcfc8f2;}),Object['values'](_0x11d0c9);}static['appendToTracePaths'](_0x49efc0,_0x4929f7){const _0x333ca0=a42_0x57c4e4,_0x1668e5={};_0x1668e5[_0x333ca0(0x19e)]=_0x333ca0(0x197),_0x1668e5[_0x333ca0(0x19c)]='utf8';const _0x617c57=_0x1668e5;try{const _0x1a7887=path[_0x333ca0(0x176)](helper['homedir'](),_0x617c57[_0x333ca0(0x19e)]);if(!fs[_0x333ca0(0x171)](_0x1a7887)){const _0x4fcc8e={};_0x4fcc8e[_0x333ca0(0x193)]=!![],fs[_0x333ca0(0x1af)](_0x1a7887,_0x4fcc8e);}fs[_0x333ca0(0x1c7)](path[_0x333ca0(0x176)](_0x1a7887,_0x333ca0(0x1a5)+_0x4929f7+'.txt'),_0x49efc0+'\x0a',_0x617c57['irbwI']);}catch(_0x256bc5){console[_0x333ca0(0x195)](_0x333ca0(0x1ae)+_0x256bc5['message']);}}}module[a42_0x57c4e4(0x192)]=TestDetails;
1
+ const a42_0x52922e=a42_0xc524;function a42_0xc524(_0x9750b8,_0x2c1841){const _0x117d1c=a42_0x117d();return a42_0xc524=function(_0xc52468,_0x57101f){_0xc52468=_0xc52468-0x1d3;let _0x4f8beb=_0x117d1c[_0xc52468];return _0x4f8beb;},a42_0xc524(_0x9750b8,_0x2c1841);}(function(_0xd27836,_0x1649f6){const _0x2bb0ca=a42_0xc524,_0x3f4bdc=_0xd27836();while(!![]){try{const _0x44b5a4=parseInt(_0x2bb0ca(0x214))/0x1+parseInt(_0x2bb0ca(0x218))/0x2+-parseInt(_0x2bb0ca(0x21c))/0x3+-parseInt(_0x2bb0ca(0x1ff))/0x4*(-parseInt(_0x2bb0ca(0x1f6))/0x5)+parseInt(_0x2bb0ca(0x21b))/0x6*(parseInt(_0x2bb0ca(0x207))/0x7)+parseInt(_0x2bb0ca(0x225))/0x8+parseInt(_0x2bb0ca(0x1ed))/0x9*(-parseInt(_0x2bb0ca(0x20b))/0xa);if(_0x44b5a4===_0x1649f6)break;else _0x3f4bdc['push'](_0x3f4bdc['shift']());}catch(_0x47204b){_0x3f4bdc['push'](_0x3f4bdc['shift']());}}}(a42_0x117d,0x28ecf));const fs=require('fs'),path=require(a42_0x52922e(0x1f2)),{v4:uuidv4}=require(a42_0x52922e(0x20c)),{TEMP_STORE_DIR_NAME}=require(a42_0x52922e(0x1fd)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a42_0x52922e(0x205))[a42_0x52922e(0x224)],{getLogDir}=require('../../../helpers/logger'),util=require(a42_0x52922e(0x229)),helper=require(a42_0x52922e(0x1f9));class TestDetails{static [a42_0x52922e(0x219)]={};static[a42_0x52922e(0x20a)](){const _0x43a016=a42_0x52922e;this[_0x43a016(0x20f)]();const _0x54cb1a={};_0x54cb1a['recursive']=!![],fs[_0x43a016(0x22b)](this[_0x43a016(0x1d6)](),_0x54cb1a);const _0x598be9={};_0x598be9['recursive']=!![],fs[_0x43a016(0x22b)](this['getTraceZipDir'](),_0x598be9);}static['getStoreDirName'](){const _0x344df8=a42_0x52922e,_0x3a03c7={};_0x3a03c7[_0x344df8(0x1da)]=function(_0x579e20,_0x3b7d6c){return _0x579e20+_0x3b7d6c;};const _0xe5acb6=_0x3a03c7;return _0xe5acb6[_0x344df8(0x1da)](_0xe5acb6[_0x344df8(0x1da)](TEMP_STORE_DIR_NAME,'-'),process[_0x344df8(0x217)][_0x344df8(0x1f3)]);}static[a42_0x52922e(0x237)](){const _0x3beb45=a42_0x52922e,_0x2ccdcf={'VbajU':function(_0x534b22){return _0x534b22();},'NNmGy':function(_0x4d91f8,_0x11851f){return _0x4d91f8+_0x11851f;},'MgCxC':_0x3beb45(0x226)};return path['join'](_0x2ccdcf[_0x3beb45(0x21d)](getLogDir),_0x2ccdcf[_0x3beb45(0x1eb)](_0x2ccdcf[_0x3beb45(0x1eb)](TEMP_STORE_DIR_NAME,'-'),process[_0x3beb45(0x217)][_0x3beb45(0x1f3)]||_0x2ccdcf[_0x3beb45(0x202)]));}static[a42_0x52922e(0x22e)](){const _0x11700b=a42_0x52922e,_0x4fdbbc={};_0x4fdbbc[_0x11700b(0x1f1)]=_0x11700b(0x20d);const _0x9bd1a4=_0x4fdbbc;return path[_0x11700b(0x1e5)](this[_0x11700b(0x237)](),_0x9bd1a4[_0x11700b(0x1f1)]);}static['getDirPath'](){const _0x2532fe=a42_0x52922e,_0x1ec4cd={'zwQJk':function(_0x2eba91){return _0x2eba91();}};return path[_0x2532fe(0x1e5)](_0x1ec4cd[_0x2532fe(0x1db)](getLogDir),TestDetails[_0x2532fe(0x21a)]());}static['getFilePath'](_0x4f5339){const _0x27a219=a42_0x52922e,_0x1a8d26={};_0x1a8d26[_0x27a219(0x1ef)]=function(_0x5e99bb,_0x574e17){return _0x5e99bb+_0x574e17;},_0x1a8d26[_0x27a219(0x211)]=_0x27a219(0x209);const _0x22497b=_0x1a8d26;return path[_0x27a219(0x1e5)](this['getDirPath'](),_0x22497b[_0x27a219(0x1ef)](_0x4f5339,_0x22497b[_0x27a219(0x211)]));}static[a42_0x52922e(0x1f0)](_0x50dcea){const _0x29593e=a42_0x52922e,_0x461d42={};_0x461d42[_0x29593e(0x238)]=function(_0x5ea818,_0xf5c1ad){return _0x5ea818+_0xf5c1ad;},_0x461d42[_0x29593e(0x208)]=function(_0x12be14,_0x12c598){return _0x12be14+_0x12c598;},_0x461d42[_0x29593e(0x1ec)]=function(_0x1de55f,_0x5301df){return _0x1de55f+_0x5301df;},_0x461d42[_0x29593e(0x204)]=function(_0x4f8221,_0x44536f){return _0x4f8221+_0x44536f;};const _0x35db9f=_0x461d42;return _0x35db9f[_0x29593e(0x238)](_0x35db9f[_0x29593e(0x208)](_0x35db9f['cVrlY'](_0x35db9f[_0x29593e(0x204)](this[_0x29593e(0x1e2)](_0x50dcea),'-'),this[_0x29593e(0x1f4)](_0x50dcea)),'-'),_0x50dcea[_0x29593e(0x1d3)]);}static[a42_0x52922e(0x1e2)](_0x4f9ebb){const _0x34a1bc=a42_0x52922e,_0x411d63={'FQOay':function(_0x17730e,_0xbe6bfe,_0xe7d059){return _0x17730e(_0xbe6bfe,_0xe7d059);},'jQyHI':_0x34a1bc(0x223),'bcXSn':'_projectId','uNNRk':_0x34a1bc(0x216),'WIvcu':_0x34a1bc(0x233)};return _0x411d63[_0x34a1bc(0x1ee)](nestedKeyValue,_0x4f9ebb,[_0x411d63[_0x34a1bc(0x1d5)],_0x411d63[_0x34a1bc(0x203)]])||_0x411d63['FQOay'](nestedKeyValue,_0x4f9ebb,[_0x411d63[_0x34a1bc(0x201)],_0x411d63[_0x34a1bc(0x221)]]);}static[a42_0x52922e(0x1f4)](_0x8b7c3e){const _0x13e446=a42_0x52922e,_0x177de={'aPxpL':function(_0x58c03f,_0x48adcb,_0x3f0b98){return _0x58c03f(_0x48adcb,_0x3f0b98);},'Wdnsj':_0x13e446(0x223)};return _0x177de[_0x13e446(0x1d7)](nestedKeyValue,_0x8b7c3e,[_0x177de['Wdnsj'],'id'])||_0x8b7c3e[_0x13e446(0x200)];}static[a42_0x52922e(0x212)](_0x295155){const _0x33f5b1=a42_0x52922e,_0x3309e8={'tfcrf':function(_0x3debd1,_0xa43ca7){return _0x3debd1===_0xa43ca7;},'PbjZM':_0x33f5b1(0x1fa),'ftuIH':function(_0x2306e1){return _0x2306e1();}};if(this[_0x33f5b1(0x219)][_0x295155]&&_0x3309e8[_0x33f5b1(0x1e9)](typeof this[_0x33f5b1(0x219)][_0x295155][_0x33f5b1(0x20c)],_0x3309e8[_0x33f5b1(0x228)]))return this[_0x33f5b1(0x219)][_0x295155][_0x33f5b1(0x20c)];const _0x17701b=this['getFilePath'](_0x295155);if(_0x17701b&&fs[_0x33f5b1(0x22d)](_0x17701b)){const _0x3647d8=JSON[_0x33f5b1(0x1ea)](fs['readFileSync'](_0x17701b)['toString']());return this[_0x33f5b1(0x219)][_0x295155]=_0x3647d8,this[_0x33f5b1(0x219)][_0x295155][_0x33f5b1(0x20c)];}return this[_0x33f5b1(0x219)][_0x295155]={'uuid':_0x3309e8[_0x33f5b1(0x1fe)](uuidv4)},fs[_0x33f5b1(0x20e)](_0x17701b,JSON[_0x33f5b1(0x1fb)](this[_0x33f5b1(0x219)][_0x295155])),this['tests'][_0x295155][_0x33f5b1(0x20c)];}static[a42_0x52922e(0x21e)](_0x181e19){const _0x4ea91c=a42_0x52922e,_0x56a657=path[_0x4ea91c(0x1e5)](this[_0x4ea91c(0x1d6)](),_0x181e19+_0x4ea91c(0x1dc));if(_0x56a657&&fs[_0x4ea91c(0x22d)](_0x56a657))return fs[_0x4ea91c(0x1d4)](_0x56a657)['toString']();}static[a42_0x52922e(0x21f)](_0x211954,_0x1789c8){const _0x170529=a42_0x52922e,_0x475dd1=path[_0x170529(0x1e5)](this['getDirPath'](),_0x1789c8+_0x170529(0x1dc));fs[_0x170529(0x20e)](_0x475dd1,_0x211954[_0x170529(0x210)]());}static[a42_0x52922e(0x20f)](){const _0x1d7ce0=a42_0x52922e,_0x48053b={};_0x48053b[_0x1d7ce0(0x22a)]=!![],_0x48053b[_0x1d7ce0(0x1e0)]=!![],fs[_0x1d7ce0(0x1e6)](this[_0x1d7ce0(0x1d6)](),_0x48053b);}static[a42_0x52922e(0x1de)](_0x341f25){const _0x4a55ae=a42_0x52922e;if(this[_0x4a55ae(0x219)][_0x341f25])return this[_0x4a55ae(0x219)][_0x341f25];const _0x2ec71f=this[_0x4a55ae(0x1f5)](_0x341f25);if(_0x2ec71f&&fs[_0x4a55ae(0x22d)](_0x2ec71f)){const _0x5aa458=JSON[_0x4a55ae(0x1ea)](fs[_0x4a55ae(0x1d4)](_0x2ec71f)[_0x4a55ae(0x210)]());return this[_0x4a55ae(0x219)][_0x341f25]=_0x5aa458,_0x5aa458;}return{};}static[a42_0x52922e(0x1e7)](_0x18b9a7,_0xe7cf2a){const _0x329bf9=a42_0x52922e,_0x2e0951=this[_0x329bf9(0x1f5)](_0x18b9a7);if(_0x2e0951&&fs['existsSync'](_0x2e0951)){const _0x440e7b=JSON['parse'](fs['readFileSync'](_0x2e0951)[_0x329bf9(0x210)]()),_0x53a270={..._0x440e7b,..._0xe7cf2a};this[_0x329bf9(0x219)][_0x18b9a7]=_0x53a270;}else this['tests'][_0x18b9a7]=_0xe7cf2a;fs['writeFileSync'](_0x2e0951,this['tests'][_0x18b9a7]);}static[a42_0x52922e(0x232)](_0x903f43){const _0x33121=a42_0x52922e,_0x1eeabd={};_0x1eeabd['ZflOA']=_0x33121(0x215);const _0x37ce00=_0x1eeabd;try{const _0x3149a7=process[_0x33121(0x1f8)],_0x2ffe43=path[_0x33121(0x1e5)](TestDetails[_0x33121(0x22e)](),_0x3149a7+_0x33121(0x220));let _0x23e101=[];_0x2ffe43&&fs[_0x33121(0x22d)](_0x2ffe43)&&(_0x23e101=JSON[_0x33121(0x1ea)](fs[_0x33121(0x1d4)](_0x2ffe43)[_0x33121(0x210)]())),!_0x23e101[_0x33121(0x1d9)](_0x41ccbc=>_0x41ccbc['filePath']===_0x903f43[_0x33121(0x1e8)])&&(_0x23e101[_0x33121(0x231)](_0x903f43),fs[_0x33121(0x20e)](_0x2ffe43,JSON[_0x33121(0x1fb)](_0x23e101)));}catch(_0xde3f61){logger[_0x33121(0x234)](_0x37ce00['ZflOA'],_0xde3f61);}}static['getTraceFilePaths'](){const _0x520473=a42_0x52922e,_0x1c6829={};_0x1c6829[_0x520473(0x1f7)]=_0x520473(0x220),_0x1c6829[_0x520473(0x1df)]=_0x520473(0x230);const _0x3f85cf=_0x1c6829,_0x90c630=[];try{const _0x1897af=TestDetails[_0x520473(0x22e)]();if(_0x1897af&&!fs[_0x520473(0x22d)](_0x1897af))return _0x90c630;const _0x237cd1=fs[_0x520473(0x22f)](_0x1897af);_0x237cd1[_0x520473(0x1dd)](_0x4a1351=>{const _0x3cb459=_0x520473;if(_0x4a1351&&_0x4a1351[_0x3cb459(0x1d8)](_0x3f85cf[_0x3cb459(0x1f7)])){const _0x2c2f94=JSON[_0x3cb459(0x1ea)](fs['readFileSync'](path[_0x3cb459(0x1e5)](_0x1897af,_0x4a1351))['toString']());_0x90c630[_0x3cb459(0x231)](..._0x2c2f94);}});}catch(_0x45dafc){logger[_0x520473(0x234)](util[_0x520473(0x227)](_0x3f85cf['nXgOZ'],_0x45dafc));}const _0x368d87={};return _0x90c630[_0x520473(0x1dd)](_0x5535b3=>{const _0xd485ae=_0x520473;_0x368d87[_0x5535b3[_0xd485ae(0x1e8)]]=_0x5535b3;}),Object[_0x520473(0x1fc)](_0x368d87);}static['appendToTracePaths'](_0x5106cf,_0x6852a6){const _0x6c1861=a42_0x52922e,_0x2179ce={};_0x2179ce[_0x6c1861(0x236)]=_0x6c1861(0x22c),_0x2179ce[_0x6c1861(0x235)]=_0x6c1861(0x222);const _0x229b13=_0x2179ce;try{const _0x2b52c3=path['join'](helper[_0x6c1861(0x213)](),_0x229b13[_0x6c1861(0x236)]);if(!fs['existsSync'](_0x2b52c3)){const _0x3171f0={};_0x3171f0['recursive']=!![],fs[_0x6c1861(0x22b)](_0x2b52c3,_0x3171f0);}fs[_0x6c1861(0x1e1)](path['join'](_0x2b52c3,_0x6c1861(0x1e3)+_0x6852a6+'.txt'),_0x5106cf+'\x0a',_0x229b13[_0x6c1861(0x235)]);}catch(_0xa9295c){console[_0x6c1861(0x234)](_0x6c1861(0x1e4)+_0xa9295c[_0x6c1861(0x206)]);}}}function a42_0x117d(){const _0x2d88ba=['WIvcu','utf8','_test','winstonLogger','1209872mjePle','default','format','PbjZM','util','recursive','mkdirSync','.browserstack','existsSync','getTraceZipDir','readdirSync','Error\x20reading\x20trace\x20file\x20paths:\x20%s','push','addTraceFilePath','__projectId','error','PDYUZ','NDmae','getStoreDirPath','HhtiK','retry','readFileSync','jQyHI','getDirPath','aPxpL','endsWith','some','FPavY','zwQJk','_platformDetails.json','forEach','getTestDetails','nXgOZ','force','appendFileSync','getProjectIdFromTestInfo','trace_','Error\x20writing\x20trace\x20file:\x20','join','rmSync','setTestDetails','filePath','tfcrf','parse','NNmGy','cVrlY','4626ryodZM','FQOay','uAMsV','getTestRunIdFromTestInfo','dIpJH','path','BS_TESTOPS_BUILD_HASHED_ID','getTestIdFromTestInfo','getFilePath','14515fEtDYz','uUake','pid','../../../helpers/helper','string','stringify','values','../../../helpers/test-observability/constants','ftuIH','72raaaIo','testId','uNNRk','MgCxC','bcXSn','vHAVH','../../../helpers/logger','message','105lebgbF','GWovz','.json','setup','4280qcHBKX','uuid','traceZipPaths','writeFileSync','shutdown','toString','YXiXh','getTestUUID','homedir','104724zjZBbb','Error\x20handling\x20trace\x20file\x20paths:\x20','project','env','218932fFuWbE','tests','getStoreDirName','55272uwbmIi','504705FoZvAB','VbajU','getAccessibilityPlatformValidation','setAccessibilityPlatformValidation','_traceZipPaths.json'];a42_0x117d=function(){return _0x2d88ba;};return a42_0x117d();}module['exports']=TestDetails;
@@ -1 +1 @@
1
- const a43_0x5d54eb=a43_0x3fac;(function(_0x2e5c44,_0x3060bb){const _0x45444e=a43_0x3fac,_0x2250c2=_0x2e5c44();while(!![]){try{const _0x4539f1=-parseInt(_0x45444e(0x19e))/0x1+-parseInt(_0x45444e(0x130))/0x2*(-parseInt(_0x45444e(0x127))/0x3)+-parseInt(_0x45444e(0x123))/0x4*(-parseInt(_0x45444e(0x16c))/0x5)+parseInt(_0x45444e(0x16f))/0x6*(-parseInt(_0x45444e(0x165))/0x7)+-parseInt(_0x45444e(0x1a0))/0x8*(parseInt(_0x45444e(0x1a3))/0x9)+parseInt(_0x45444e(0x1a2))/0xa*(-parseInt(_0x45444e(0x195))/0xb)+parseInt(_0x45444e(0x145))/0xc*(parseInt(_0x45444e(0x10e))/0xd);if(_0x4539f1===_0x3060bb)break;else _0x2250c2['push'](_0x2250c2['shift']());}catch(_0x3f5559){_0x2250c2['push'](_0x2250c2['shift']());}}}(a43_0x49ea,0x346b5));const path=require('path'),url=require('url'),util=require(a43_0x5d54eb(0x12f)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x5d54eb(0x147)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x5d54eb(0x12c)),logger=require(a43_0x5d54eb(0x176))['winstonLogger'],scripts=require(a43_0x5d54eb(0x129)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0x5d54eb(0x13a)),constants=require('../utils/constants'),getBrowserNameFromChannel=_0x3129af=>{const _0x429668=a43_0x5d54eb,_0x4f94c2={};_0x4f94c2['DYJuf']=_0x429668(0x180),_0x4f94c2[_0x429668(0x1a5)]=_0x429668(0x1a8),_0x4f94c2[_0x429668(0x14f)]=_0x429668(0x11a),_0x4f94c2[_0x429668(0x143)]=_0x429668(0x103);const _0x2477cd=_0x4f94c2;if(_0x3129af[_0x429668(0x182)](_0x2477cd['DYJuf']))return _0x2477cd[_0x429668(0x140)];if(_0x3129af[_0x429668(0x182)](_0x2477cd[_0x429668(0x1a5)]))return _0x2477cd['BfyAy'];if(_0x3129af[_0x429668(0x182)](_0x2477cd[_0x429668(0x14f)]))return _0x2477cd[_0x429668(0x14f)];if(_0x3129af[_0x429668(0x182)](_0x2477cd[_0x429668(0x143)]))return _0x2477cd[_0x429668(0x143)];},getBrowserFromWSEndpoint=_0x154f5e=>{const _0x30700b=a43_0x5d54eb,_0x3e2165={'edYII':_0x30700b(0x180),'QsNjf':function(_0x422378,_0x5268b0){return _0x422378(_0x5268b0);}};try{const _0x1ac4ef=url[_0x30700b(0x191)](_0x154f5e),_0x554121=new URLSearchParams(_0x1ac4ef[_0x30700b(0x144)]),_0x59a0b6=Object[_0x30700b(0x18f)](_0x554121[_0x30700b(0x167)]()),_0x46f294=JSON[_0x30700b(0x191)](_0x59a0b6[_0x30700b(0x16b)]);if(_0x46f294&&(_0x46f294['browser']||_0x46f294[_0x30700b(0x139)]))return _0x46f294['browser']||_0x46f294['browserName'];return _0x3e2165[_0x30700b(0x179)];}catch(_0x1b90aa){_0x3e2165[_0x30700b(0x196)](debug,_0x30700b(0x1ad)+_0x1b90aa[_0x30700b(0x161)]());}},getCloudProviderFromWsEndpoint=_0x5da8c2=>{const _0x458cde=a43_0x5d54eb,_0x523403={};_0x523403['bBdNf']=_0x458cde(0x116),_0x523403['iHhgP']=_0x458cde(0x102),_0x523403[_0x458cde(0x19c)]=_0x458cde(0x13b),_0x523403[_0x458cde(0x122)]=_0x458cde(0x19b);const _0x318639=_0x523403;if(_0x5da8c2['includes'](_0x318639['bBdNf'])||_0x5da8c2[_0x458cde(0x182)](_0x318639[_0x458cde(0x1af)]))return _0x318639['ORihn'];return _0x318639[_0x458cde(0x122)];},a43_0x3e9d97={};a43_0x3e9d97[a43_0x5d54eb(0x137)]=undefined,a43_0x3e9d97[a43_0x5d54eb(0x183)]=undefined,a43_0x3e9d97[a43_0x5d54eb(0x136)]=undefined,a43_0x3e9d97[a43_0x5d54eb(0x181)]=undefined,a43_0x3e9d97[a43_0x5d54eb(0x125)]=undefined,a43_0x3e9d97[a43_0x5d54eb(0x155)]=undefined,a43_0x3e9d97[a43_0x5d54eb(0x11e)]=undefined,a43_0x3e9d97[a43_0x5d54eb(0x142)]={};function a43_0x49ea(){const _0x517a27=['unknown_grid','ORihn','model','239098npITeZ','function','256fgkYkv','currentSessionDetails','1560GZgbBA','14850ZFknyD','GcxtO','BfyAy','wsEndpoint','getDetails','edge','PWHOn','SMVCb','params','ulmlK','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','ATS_WSS_URL_REGEX','iHhgP','PFqmw','uCnup','ckxyG','FVmfY','bstackPerformA11yScan','_type','browserstack-ats.com','safari','_onMessage','chromium','prototype','ejeYj','crConnection.js','connection.js','sessionError','toLowerCase','xMHDq','MHTQB','13HWQOFd','project','kCEMZ','CyvAy','JDxLw','Page','VZZud','Error\x20in\x20importing\x20connection\x20','browserstack.com','Error\x20in\x20finding\x20platform\x20details\x20','client','LWChf','firefox','YWJsS','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','product','setupBrowserDetails','Device\x20Model\x20is\x20not\x20available','sendMessageToServer','OJjqE','170840rFzZnY','YJuHm','platform','platformName','861171vIQiVt','bStackParams','../../helpers/accessibility-automation/scripts','Fdfnc','ArSdc','../../helpers/accessibility-automation/helper','TLxJN','TqAFS','util','2iYaSgh','titlePath','ufAqw','server','shouldWrapCommand','JulDC','browser','cloudProvider','Bkrgz','browserName','./accessibility-helper','browserstack','playwright-','yWOVF','platformVersion','debug','DYJuf','turboscale','capabilities','tdLOa','query','10720224VMwTKC','RJRgi','../../helpers/test-observability/error-handler','Not\x20able\x20to\x20import\x20Connection','method','use','Connection','Setting\x20session\x20id\x20received\x20from\x20BS\x20','pwPage','NdPhQ','oACyh','patchConnection','bsParams','channel','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','Performing\x20scan\x20for\x20','platform_version','DxGfQ','CnGra','qMywG','euQeU','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Failed\x20to\x20perform\x20scan\x20','HjRwU','vYFXj','ioSdU','CRConnection','join','toString','defineProperty','deviceModel','_defaultConnectOptions','51604yAnfpi','_name','entries','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','testInfo','isRemote','caps','5YridXf','version','WqSxG','258uhohVL','dispatch','_browserType','NOGne','lib','platformDetails','automate','../../helpers/logger','lrSzY','yhWYP','edYII','sessionId','UYEiU','performScan','__workerDetails','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','ycdoV','chrome','browser_version','includes','bsSessionId','patch','TuYNX','lBHaJ','Error\x20in\x20importing\x20crConnection','aKLRR','mDGax','YWlLk','format','NAFHc','currentTest','JtjaI','fromEntries','apply','parse','zLKHi','PCsEb','sscrT','28171ZkPUcE','QsNjf','saOPw','_connection','akSHv','patchCRConnection'];a43_0x49ea=function(){return _0x517a27;};return a43_0x49ea();}function a43_0x3fac(_0x4763e0,_0x13a08c){const _0x49ea76=a43_0x49ea();return a43_0x3fac=function(_0x3facb0,_0x30858d){_0x3facb0=_0x3facb0-0x100;let _0x11a5f6=_0x49ea76[_0x3facb0];return _0x11a5f6;},a43_0x3fac(_0x4763e0,_0x13a08c);}class PlaywrightSessionDetails{static ['currentSessionDetails']=a43_0x3e9d97;constructor(){const _0x4b2348=a43_0x5d54eb,_0x575994={};_0x575994[_0x4b2348(0x1b1)]=_0x4b2348(0x168);const _0x59b28d=_0x575994;throw new Error(_0x59b28d[_0x4b2348(0x1b1)]);}static [a43_0x5d54eb(0x10a)]=null;static['setupBrowserDetails'](_0x1fea21,_0x376ac8,_0x7854f7=null){const _0x550149=a43_0x5d54eb,_0x2bd6b7={'qMywG':function(_0x3beddb,_0x5865c3){return _0x3beddb===_0x5865c3;},'zLKHi':_0x550149(0x19f),'CnGra':_0x550149(0x11c),'CDxqJ':function(_0x5a3bf1,_0x32b636){return _0x5a3bf1===_0x32b636;},'ycdoV':_0x550149(0x120),'vYFXj':'local_grid','RJRgi':function(_0x49f881,_0x335d6e,_0x3dd1bb){return _0x49f881(_0x335d6e,_0x3dd1bb);},'Fdfnc':_0x550149(0x171),'ejeYj':_0x550149(0x164),'TuYNX':function(_0x41bacb,_0x281994,_0x43c928){return _0x41bacb(_0x281994,_0x43c928);},'JDxLw':_0x550149(0x10f),'ulmlK':_0x550149(0x14a),'iiLXO':'connectOptions','NAFHc':function(_0x20fd8d,_0x5a6a12){return _0x20fd8d(_0x5a6a12);},'yhWYP':function(_0x4fef7d,_0x420527){return _0x4fef7d===_0x420527;},'WqSxG':_0x550149(0x13b),'akSHv':_0x550149(0x141),'Bkrgz':_0x550149(0x175),'xMHDq':function(_0x4f6577,_0x246353){return _0x4f6577(_0x246353);},'WpLwB':function(_0x2fa35c,_0xe3580){return _0x2fa35c+_0xe3580;},'ckxyG':_0x550149(0x13c),'SMVCb':function(_0x13cb98){return _0x13cb98();},'TLxJN':_0x550149(0x11f)},_0x3824b6=this;return _0x2bd6b7[_0x550149(0x146)](o11yErrorHandler,async function _0x3c1dae(_0x166c5a,_0x61a9a9,_0x1a2362=null){const _0x414879=_0x550149;let _0x5f4498=_0x166c5a[_0x414879(0x166)],_0x4874af=null;_0x166c5a&&_0x2bd6b7[_0x414879(0x158)](typeof _0x166c5a[_0x414879(0x16d)],_0x2bd6b7[_0x414879(0x192)])?_0x4874af=_0x166c5a[_0x414879(0x16d)]():logger[_0x414879(0x13f)](_0x2bd6b7[_0x414879(0x157)]);let _0x3ba786=null;_0x166c5a&&_0x2bd6b7['CDxqJ'](typeof _0x166c5a[_0x414879(0x19d)],_0x2bd6b7[_0x414879(0x192)])?_0x3ba786=_0x166c5a[_0x414879(0x19d)]():logger[_0x414879(0x13f)](_0x2bd6b7[_0x414879(0x17f)]);let _0x57e2d5=null,_0x36a227=null,_0xef1a0b=null,_0x1ec03c=_0x2bd6b7[_0x414879(0x15d)];if(_0x166c5a[_0x414879(0x198)][_0x414879(0x16a)]()||global['accessibilityPlatform']){let _0x18e686=null;_0x2bd6b7['RJRgi'](nestedKeyValue,_0x166c5a,[_0x2bd6b7[_0x414879(0x12a)],_0x2bd6b7[_0x414879(0x107)]])?_0x18e686=_0x166c5a[_0x414879(0x171)][_0x414879(0x164)]:_0x18e686=_0x2bd6b7[_0x414879(0x185)](nestedKeyValue,_0x61a9a9,[_0x2bd6b7[_0x414879(0x112)],_0x2bd6b7[_0x414879(0x1ac)],_0x2bd6b7['iiLXO']]);const _0x14f071=_0x1a2362||_0x18e686&&_0x18e686[_0x414879(0x1a6)];_0x14f071&&(_0x1ec03c=_0x2bd6b7[_0x414879(0x18c)](getCloudProviderFromWsEndpoint,_0x14f071),_0x2bd6b7[_0x414879(0x178)](_0x1ec03c,_0x2bd6b7[_0x414879(0x16e)])&&(_0xef1a0b=constants[_0x414879(0x1ae)]['test'](_0x14f071)?_0x2bd6b7[_0x414879(0x199)]:_0x2bd6b7[_0x414879(0x138)],_0x5f4498=_0x2bd6b7[_0x414879(0x10c)](getBrowserFromWSEndpoint,_0x14f071)||_0x5f4498,_0x57e2d5=_0x3824b6[_0x414879(0x1a1)][_0x414879(0x125)],_0x36a227=_0x3824b6[_0x414879(0x1a1)][_0x414879(0x155)]));}else{_0x61a9a9&&_0x61a9a9[_0x414879(0x10f)][_0x414879(0x14a)][_0x414879(0x152)]?_0x5f4498=_0x2bd6b7[_0x414879(0x18c)](getBrowserNameFromChannel,_0x61a9a9[_0x414879(0x10f)][_0x414879(0x14a)][_0x414879(0x152)]):_0x5f4498=_0x2bd6b7['WpLwB'](_0x2bd6b7[_0x414879(0x1b2)],_0x5f4498[_0x414879(0x10b)]());const _0x3c1e72=await _0x2bd6b7[_0x414879(0x1aa)](getPlatformDetails);_0x57e2d5=_0x3c1e72['platformName'],_0x36a227=_0x3c1e72['platformVersion'];}const _0x4171f0={};_0x4171f0[_0x414879(0x136)]=_0x5f4498,_0x4171f0['browser_version']=_0x4874af,_0x4171f0['capabilities']={},_0x4171f0[_0x414879(0x125)]=_0x57e2d5,_0x4171f0['platform_version']=_0x36a227,_0x4171f0[_0x414879(0x11e)]=_0xef1a0b;const _0x5f21b8=_0x4171f0;_0x3ba786&&(_0x5f21b8[_0x414879(0x142)][_0x414879(0x163)]=_0x3ba786);const _0x4184ad={};_0x4184ad[_0x414879(0x137)]=_0x1ec03c,_0x3824b6[_0x414879(0x1a1)]=Object['assign']({},_0x3824b6['currentSessionDetails'],_0x4184ad,_0x5f21b8);},_0x2bd6b7[_0x550149(0x12d)])(_0x1fea21,_0x376ac8,_0x7854f7);}static[a43_0x5d54eb(0x184)](){const _0x519b13=a43_0x5d54eb;this[_0x519b13(0x150)](),this[_0x519b13(0x19a)]();}static[a43_0x5d54eb(0x150)](){const _0x317c52=a43_0x5d54eb,_0x544c8f={'PFqmw':function(_0x580a54,_0x9a34e0,_0x24d9b6){return _0x580a54(_0x9a34e0,_0x24d9b6);},'YWJsS':_0x317c52(0x18d),'lBHaJ':_0x317c52(0x169),'JtjaI':_0x317c52(0x131),'MHTQB':function(_0x5e5e34,_0x5b66da,_0x4e2e83){return _0x5e5e34(_0x5b66da,_0x4e2e83);},'qFLpv':_0x317c52(0x17d),'saOPw':_0x317c52(0x14d),'sscrT':function(_0x2b885f,_0x56848e){return _0x2b885f===_0x56848e;},'LWChf':_0x317c52(0x113),'FVmfY':function(_0x50048f,_0x26d5e3,_0x16deae,_0x4ebff0){return _0x50048f(_0x26d5e3,_0x16deae,_0x4ebff0);},'PCsEb':function(_0x58ab42,_0xa149d4){return _0x58ab42(_0xa149d4);},'ArSdc':function(_0x352ba5,_0x59d7fb){return _0x352ba5(_0x59d7fb);},'NOGne':_0x317c52(0x173),'EOFAk':_0x317c52(0x118),'JulDC':_0x317c52(0x109),'NdPhQ':function(_0x15fd65,_0xf1ff57){return _0x15fd65(_0xf1ff57);},'BdyyM':_0x317c52(0x148),'DrnsJ':function(_0x5dd26e,_0x4d7e08){return _0x5dd26e!=_0x4d7e08;},'GcxtO':function(_0x13d8ae){return _0x13d8ae();},'TqAFS':_0x317c52(0x121),'VpHqe':function(_0xaece22,_0xaabd5){return _0xaece22(_0xaabd5);},'IsyTD':_0x317c52(0x170),'YWlLk':function(_0x3271e0,_0x4f7dbe){return _0x3271e0(_0x4f7dbe);}},_0x2fab18=this;if(!this[_0x317c52(0x14b)])try{const _0x545a1d=path[_0x317c52(0x160)](_0x544c8f[_0x317c52(0x172)],_0x544c8f['EOFAk'],_0x544c8f[_0x317c52(0x135)]),_0x383a61=_0x544c8f[_0x317c52(0x14e)](importFileFromPWCore,_0x545a1d);!_0x383a61?_0x544c8f[_0x317c52(0x193)](debug,_0x544c8f['BdyyM']):this[_0x317c52(0x14b)]=_0x383a61[_0x317c52(0x14b)];}catch(_0xc87142){_0x544c8f[_0x317c52(0x12b)](debug,_0x317c52(0x115)+_0xc87142[_0x317c52(0x161)]());}const _0x111ee0=this[_0x317c52(0x14b)];try{if(_0x544c8f['DrnsJ'](_0x111ee0,null)){const _0x55339c=_0x111ee0['prototype']['dispatch'],_0x38195f=_0x111ee0[_0x317c52(0x106)]['sendMessageToServer'];_0x544c8f[_0x317c52(0x1a4)](isAccessibilityAutomationSession)&&Object[_0x317c52(0x162)](_0x111ee0['prototype'],_0x544c8f[_0x317c52(0x12e)],{'get':function(){return async function(){const _0x16c87f=a43_0x3fac;try{if(!global[_0x16c87f(0x100)]&&global['accessibilityPlatform']&&_0x544c8f[_0x16c87f(0x1b0)](nestedKeyValue,global['__workerDetails'],[_0x544c8f[_0x16c87f(0x11b)],_0x544c8f[_0x16c87f(0x186)],_0x544c8f[_0x16c87f(0x18e)]])&&_0x544c8f[_0x16c87f(0x1b0)](shouldScanTestForAccessibility,global[_0x16c87f(0x17d)][_0x16c87f(0x18d)][_0x16c87f(0x169)][_0x16c87f(0x131)],!![])&&scripts[_0x16c87f(0x134)](arguments[0x1])){logger['debug'](_0x16c87f(0x154)+arguments[0x1]),global[_0x16c87f(0x100)]=!![];const _0x18bfec=_0x544c8f[_0x16c87f(0x10d)](nestedKeyValue,global,[_0x544c8f['qFLpv'],_0x544c8f[_0x16c87f(0x197)]]),_0x3d07ac={};_0x3d07ac[_0x16c87f(0x149)]=arguments[0x1],_0x18bfec&&logger['debug'](util[_0x16c87f(0x18b)](await AccessibilityHelper['performScan'](_0x18bfec,_0x3d07ac)));if(_0x544c8f[_0x16c87f(0x194)](arguments[0x0][_0x16c87f(0x101)],_0x544c8f[_0x16c87f(0x119)])&&global['__driver']){const _0x41958={};_0x41958[_0x16c87f(0x149)]=arguments[0x1],await _0x544c8f[_0x16c87f(0x1b3)](browserStackExecuteDriver,global['__driver'],scripts[_0x16c87f(0x17c)],_0x41958);}}}catch(_0x5b04d4){logger[_0x16c87f(0x13f)](_0x16c87f(0x15b)+util[_0x16c87f(0x18b)](_0x5b04d4));}return global[_0x16c87f(0x100)]=![],_0x38195f[_0x16c87f(0x190)](this,arguments);};}}),!_0x544c8f['VpHqe'](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x317c52(0x162)](_0x111ee0[_0x317c52(0x106)],_0x544c8f['IsyTD'],{'get':function(){const _0x38f362={'DxGfQ':function(_0x3203c3,_0x43ac20){return _0x544c8f['PCsEb'](_0x3203c3,_0x43ac20);},'tyIMl':function(_0x4aa5ec,_0x13945c){const _0x33d480=a43_0x3fac;return _0x544c8f[_0x33d480(0x12b)](_0x4aa5ec,_0x13945c);}};return function _0x39ced7(_0x29868b){const _0x37c893=a43_0x3fac,_0x2be017=_0x29868b&&_0x29868b[_0x37c893(0x1ab)]&&_0x29868b[_0x37c893(0x1ab)][_0x37c893(0x151)];if(_0x2be017){const _0x509a13=_0x2be017['sessionId'],_0x1528e2=_0x2be017[_0x37c893(0x174)];_0x1528e2&&(_0x38f362[_0x37c893(0x156)](debug,_0x37c893(0x17e)+_0x1528e2[_0x37c893(0x161)]()),_0x2fab18[_0x37c893(0x1a1)][_0x37c893(0x125)]=_0x1528e2[_0x37c893(0x126)],_0x2fab18[_0x37c893(0x1a1)][_0x37c893(0x155)]=_0x1528e2[_0x37c893(0x13e)]),_0x509a13&&(_0x38f362['tyIMl'](debug,_0x37c893(0x14c)+_0x509a13),_0x2fab18[_0x37c893(0x1a1)][_0x37c893(0x183)]=_0x509a13);}return _0x55339c[_0x37c893(0x190)](this,arguments);};}});}}catch(_0x552dc0){_0x544c8f[_0x317c52(0x18a)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x552dc0),_0x2fab18[_0x317c52(0x10a)]=_0x552dc0[_0x317c52(0x161)]();}}static['patchCRConnection'](){const _0x4fc0d3=a43_0x5d54eb,_0x27fd93={'yWOVF':function(_0xf9dbb1,_0x42d455){return _0xf9dbb1(_0x42d455);},'UYEiU':function(_0x3540db){return _0x3540db();},'YJuHm':_0x4fc0d3(0x173),'PWHOn':_0x4fc0d3(0x133),'lrSzY':_0x4fc0d3(0x105),'CyvAy':_0x4fc0d3(0x108),'ioSdU':function(_0x263ace,_0x489f5c){return _0x263ace(_0x489f5c);},'euQeU':'Not\x20able\x20to\x20import\x20crConnection','kCEMZ':_0x4fc0d3(0x187),'mDGax':function(_0x21c93d,_0x12d07e){return _0x21c93d!=_0x12d07e;},'HjRwU':_0x4fc0d3(0x104),'aKLRR':function(_0x52ba14,_0x84ef8a){return _0x52ba14(_0x84ef8a);}},_0x11407b=this;if(_0x27fd93[_0x4fc0d3(0x17b)](isAccessibilityAutomationSession)){let _0x3be882=null;try{const _0x177f98=path[_0x4fc0d3(0x160)](_0x27fd93[_0x4fc0d3(0x124)],_0x27fd93[_0x4fc0d3(0x1a9)],_0x27fd93[_0x4fc0d3(0x177)],_0x27fd93[_0x4fc0d3(0x111)]),_0x2cd10d=_0x27fd93[_0x4fc0d3(0x15e)](importFileFromPWCore,_0x177f98);!_0x2cd10d?_0x27fd93[_0x4fc0d3(0x15e)](debug,_0x27fd93[_0x4fc0d3(0x159)]):_0x3be882=_0x2cd10d[_0x4fc0d3(0x15f)];}catch(_0x492442){_0x27fd93[_0x4fc0d3(0x15e)](debug,_0x27fd93[_0x4fc0d3(0x110)]);}try{if(_0x27fd93[_0x4fc0d3(0x189)](_0x3be882,null)){const _0x19fa38=_0x3be882['prototype'][_0x4fc0d3(0x104)];Object[_0x4fc0d3(0x162)](_0x3be882['prototype'],_0x27fd93[_0x4fc0d3(0x15c)],{'get':function(){const _0x5670d1={'VZZud':function(_0x19d4e6,_0x3af58a){const _0x326020=a43_0x3fac;return _0x27fd93[_0x326020(0x13d)](_0x19d4e6,_0x3af58a);},'ufAqw':function(_0x1eb9dd,_0x1e3d82){const _0x4f3f35=a43_0x3fac;return _0x27fd93[_0x4f3f35(0x13d)](_0x1eb9dd,_0x1e3d82);}};return function _0x115c35(_0x4e5e25){const _0x3c5b08=a43_0x3fac;try{const _0x1204f9=_0x4e5e25[_0x3c5b08(0x128)];if(_0x1204f9){delete _0x4e5e25['bStackParams'];const _0x338a97=_0x1204f9[_0x3c5b08(0x17a)],_0x626b5=_0x1204f9[_0x3c5b08(0x174)];_0x626b5&&(_0x5670d1[_0x3c5b08(0x114)](debug,_0x3c5b08(0x15a)+_0x626b5[_0x3c5b08(0x161)]()),_0x11407b['currentSessionDetails'][_0x3c5b08(0x125)]=_0x626b5[_0x3c5b08(0x126)],_0x11407b[_0x3c5b08(0x1a1)]['platform_version']=_0x626b5[_0x3c5b08(0x13e)]),_0x338a97&&(_0x5670d1[_0x3c5b08(0x114)](debug,_0x3c5b08(0x153)+_0x338a97),_0x11407b[_0x3c5b08(0x1a1)]['bsSessionId']=_0x338a97);}}catch(_0x4b5efc){_0x5670d1[_0x3c5b08(0x132)](debug,_0x3c5b08(0x117)+_0x4b5efc['toString']());}return _0x19fa38[_0x3c5b08(0x190)](this,arguments);};}});}}catch(_0x4ddb84){_0x27fd93[_0x4fc0d3(0x188)](debug,_0x4fc0d3(0x11d)+_0x4ddb84),_0x11407b[_0x4fc0d3(0x10a)]=_0x4ddb84['toString']();}}}static[a43_0x5d54eb(0x1a7)](){const _0x2018a2=a43_0x5d54eb;return this[_0x2018a2(0x1a1)];}}module['exports']=PlaywrightSessionDetails;
1
+ const a43_0x8bb980=a43_0x49ce;(function(_0x8d54a4,_0x28f070){const _0x409856=a43_0x49ce,_0x524087=_0x8d54a4();while(!![]){try{const _0x374c7e=parseInt(_0x409856(0x130))/0x1+parseInt(_0x409856(0x164))/0x2*(parseInt(_0x409856(0x10c))/0x3)+parseInt(_0x409856(0x117))/0x4+-parseInt(_0x409856(0x1a4))/0x5*(-parseInt(_0x409856(0x16e))/0x6)+-parseInt(_0x409856(0x131))/0x7*(parseInt(_0x409856(0x1a9))/0x8)+-parseInt(_0x409856(0x13b))/0x9+-parseInt(_0x409856(0x137))/0xa;if(_0x374c7e===_0x28f070)break;else _0x524087['push'](_0x524087['shift']());}catch(_0x4687fe){_0x524087['push'](_0x524087['shift']());}}}(a43_0x50f0,0x84e2e));function a43_0x49ce(_0x18b057,_0x5c26d3){const _0x50f040=a43_0x50f0();return a43_0x49ce=function(_0x49cee3,_0x37bd2c){_0x49cee3=_0x49cee3-0xfc;let _0x4a9d5e=_0x50f040[_0x49cee3];return _0x4a9d5e;},a43_0x49ce(_0x18b057,_0x5c26d3);}const path=require(a43_0x8bb980(0x11b)),url=require(a43_0x8bb980(0x139)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x8bb980(0x14f)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a43_0x8bb980(0x160)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x8bb980(0x10b)),logger=require('../../helpers/logger')[a43_0x8bb980(0x126)],scripts=require(a43_0x8bb980(0x1ac)),{browserStackExecuteDriver}=require(a43_0x8bb980(0x19d)),AccessibilityHelper=require(a43_0x8bb980(0x136)),constants=require(a43_0x8bb980(0x1a6)),getBrowserNameFromChannel=_0x11b805=>{const _0x443735=a43_0x8bb980,_0x31fdaf={};_0x31fdaf['ivMEf']='chrome',_0x31fdaf['GICbI']='edge',_0x31fdaf[_0x443735(0x17c)]=_0x443735(0xff),_0x31fdaf[_0x443735(0x15e)]=_0x443735(0x1a7);const _0x2e23e0=_0x31fdaf;if(_0x11b805[_0x443735(0x17d)](_0x2e23e0[_0x443735(0x135)]))return _0x2e23e0[_0x443735(0x135)];if(_0x11b805['includes'](_0x2e23e0['GICbI']))return _0x2e23e0['GICbI'];if(_0x11b805[_0x443735(0x17d)](_0x2e23e0['RNhHc']))return _0x2e23e0[_0x443735(0x17c)];if(_0x11b805[_0x443735(0x17d)](_0x2e23e0[_0x443735(0x15e)]))return _0x2e23e0['BrlOd'];},getBrowserFromWSEndpoint=_0x3145cd=>{const _0x589d10=a43_0x8bb980,_0x77ad0b={'WIKBI':'chrome','XMhGw':function(_0x14ba3f,_0x55db6f){return _0x14ba3f(_0x55db6f);}};try{const _0x4c3e74=url[_0x589d10(0x10f)](_0x3145cd),_0x1d15af=new URLSearchParams(_0x4c3e74[_0x589d10(0x138)]),_0x233193=Object[_0x589d10(0x157)](_0x1d15af[_0x589d10(0x151)]()),_0x3b2c87=JSON['parse'](_0x233193[_0x589d10(0x161)]);if(_0x3b2c87&&(_0x3b2c87[_0x589d10(0x162)]||_0x3b2c87[_0x589d10(0x178)]))return _0x3b2c87[_0x589d10(0x162)]||_0x3b2c87[_0x589d10(0x178)];return _0x77ad0b['WIKBI'];}catch(_0x15d0e0){_0x77ad0b[_0x589d10(0x112)](debug,_0x589d10(0x11e)+_0x15d0e0[_0x589d10(0x12a)]());}},getCloudProviderFromWsEndpoint=_0x4c8260=>{const _0x4e581a=a43_0x8bb980,_0x5265d8={};_0x5265d8[_0x4e581a(0x187)]='browserstack.com',_0x5265d8[_0x4e581a(0x18f)]=_0x4e581a(0x179),_0x5265d8[_0x4e581a(0x193)]=_0x4e581a(0x141),_0x5265d8[_0x4e581a(0x140)]='unknown_grid';const _0x58acc6=_0x5265d8;if(_0x4c8260[_0x4e581a(0x17d)](_0x58acc6[_0x4e581a(0x187)])||_0x4c8260[_0x4e581a(0x17d)](_0x58acc6['IgLMR']))return _0x58acc6[_0x4e581a(0x193)];return _0x58acc6[_0x4e581a(0x140)];},a43_0x520b49={};function a43_0x50f0(){const _0xa644b=['ATS_WSS_URL_REGEX','_type','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','ppdvn','Device\x20Model\x20is\x20not\x20available','ZMAtd','../../helpers/accessibility-automation/helper','87spRRDd','client','xDikm','parse','xhAVl','__workerDetails','XMhGw','yumbN','_onMessage','testInfo','Error\x20in\x20finding\x20platform\x20details\x20','2871060NlFWeD','cloudProvider','titlePath','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','path','crConnection.js','capabilities','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','platformVersion','bsSessionId','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','browser_version','channel','platform','format','winstonLogger','nRvaO','hszEf','hPcoF','toString','dispatch','roakY','LtrCv','WGzwg','iVwzM','257653vLDnmF','3963547nXEyHF','sendMessageToServer','QQHSm','MuglK','ivMEf','./accessibility-helper','11995550buzCXr','query','url','apply','687501mUqqSi','ZUghg','_connection','currentTest','params','tPnAj','browserstack','tQZwk','LjMQu','cXApT','xHlXD','dVClh','project','QxiMR','sessionError','lib','_browserType','bStackParams','toLowerCase','chromium','../../helpers/helper','MjbQH','entries','wveJC','sessionId','deviceModel','server','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','fromEntries','PzOTq','EJmgF','_defaultConnectOptions','JHtbV','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Connection','BrlOd','NTpEK','../../helpers/test-observability/utils','caps','browser','aCwYB','33514zHxjaf','_name','Failed\x20to\x20perform\x20scan\x20','playwright-','version','turboscale','BROWSERSTACK_TEST_OBSERVABILITY','automate','bsParams','use','6hYWqIO','patchConnection','rHiBX','debug','gvqam','wvLCB','ePxuK','local_grid','HoLnA','defineProperty','browserName','browserstack-ats.com','Performing\x20scan\x20for\x20','prototype','RNhHc','includes','HzZaI','isRemote','getDetails','CRConnection','product','platformDetails','eRnMa','FHWJW','diPMG','TyoLe','performScan','method','QsoxO','PTohs','CdVsk','model','kOpVm','IgLMR','patch','platformName','currentSessionDetails','DZetm','cldTz','pHOwA','pHalj','HHPoM','__driver','Page','connection.js','zbULm','function','../../bin/playwright/accessibility-helper','accessibilityPlatform','KUkBI','shouldWrapCommand','join','Mvjqw','platform_version','4625480rWJoPt','vEcjM','../utils/constants','safari','VtVtJ','8yVJTTl','Not\x20able\x20to\x20import\x20Connection','patchCRConnection','../../helpers/accessibility-automation/scripts','YQuDa','pMAow','bstackPerformA11yScan','firefox','cctyQ','yWFJm','nVRfv','qandZ','env'];a43_0x50f0=function(){return _0xa644b;};return a43_0x50f0();}a43_0x520b49[a43_0x8bb980(0x118)]=undefined,a43_0x520b49[a43_0x8bb980(0x120)]=undefined,a43_0x520b49['browser']=undefined,a43_0x520b49[a43_0x8bb980(0x122)]=undefined,a43_0x520b49[a43_0x8bb980(0x124)]=undefined,a43_0x520b49[a43_0x8bb980(0x1a3)]=undefined,a43_0x520b49[a43_0x8bb980(0x182)]=undefined,a43_0x520b49[a43_0x8bb980(0x11d)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a43_0x520b49;constructor(){const _0xdd2225=a43_0x8bb980,_0x894267={};_0x894267[_0xdd2225(0x172)]=_0xdd2225(0x156);const _0x1f3b4f=_0x894267;throw new Error(_0x1f3b4f[_0xdd2225(0x172)]);}static [a43_0x8bb980(0x149)]=null;static['setupBrowserDetails'](_0xd7e8f0,_0xc44abd,_0x2e5067=null){const _0x4224e5=a43_0x8bb980,_0x385641={'rHiBX':function(_0x3fe17c,_0x543cc9){return _0x3fe17c===_0x543cc9;},'pMAow':_0x4224e5(0x19c),'LtrCv':_0x4224e5(0x121),'aCwYB':function(_0xa98f4e,_0x51c880){return _0xa98f4e===_0x51c880;},'KUkBI':_0x4224e5(0x109),'yumbN':_0x4224e5(0x175),'xHlXD':function(_0x5a2349,_0x2d5613,_0x8fd995){return _0x5a2349(_0x2d5613,_0x8fd995);},'ppdvn':_0x4224e5(0x14b),'xhAVl':_0x4224e5(0x15a),'VtVtJ':_0x4224e5(0x147),'cldTz':_0x4224e5(0x16d),'nVRfv':'connectOptions','QQHSm':function(_0xfac1ca,_0x30932a){return _0xfac1ca(_0x30932a);},'MjbQH':_0x4224e5(0x141),'vEcjM':_0x4224e5(0x169),'wveJC':_0x4224e5(0x16b),'kOpVm':function(_0x1dc804,_0x39419f){return _0x1dc804(_0x39419f);},'iVwzM':function(_0x40a7f7,_0x3196ab){return _0x40a7f7(_0x3196ab);},'QxiMR':function(_0x16681f,_0x26183d){return _0x16681f+_0x26183d;},'ycmWx':_0x4224e5(0x167),'yjFaO':function(_0x423172){return _0x423172();},'hPcoF':'setupBrowserDetails'},_0x4e5daf=this;return _0x385641[_0x4224e5(0x145)](o11yErrorHandler,async function _0x3b80c3(_0x40fb49,_0x530c00,_0x565989=null){const _0x5f0749=_0x4224e5;let _0x46f7bb=_0x40fb49[_0x5f0749(0x165)],_0x306636=null;_0x40fb49&&_0x385641[_0x5f0749(0x170)](typeof _0x40fb49[_0x5f0749(0x168)],_0x385641[_0x5f0749(0xfd)])?_0x306636=_0x40fb49['version']():logger['debug'](_0x385641[_0x5f0749(0x12d)]);let _0x5c0c65=null;_0x40fb49&&_0x385641[_0x5f0749(0x163)](typeof _0x40fb49[_0x5f0749(0x18d)],_0x385641['pMAow'])?_0x5c0c65=_0x40fb49['model']():logger[_0x5f0749(0x171)](_0x385641[_0x5f0749(0x19f)]);let _0x497a36=null,_0xe919d4=null,_0x2d13cc=null,_0x20d6de=_0x385641[_0x5f0749(0x113)];if(_0x40fb49[_0x5f0749(0x13d)][_0x5f0749(0x17f)]()||global[_0x5f0749(0x19e)]){let _0x4cd488=null;_0x385641[_0x5f0749(0x145)](nestedKeyValue,_0x40fb49,[_0x385641[_0x5f0749(0x108)],_0x385641[_0x5f0749(0x110)]])?_0x4cd488=_0x40fb49[_0x5f0749(0x14b)][_0x5f0749(0x15a)]:_0x4cd488=_0x385641[_0x5f0749(0x145)](nestedKeyValue,_0x530c00,[_0x385641[_0x5f0749(0x1a8)],_0x385641[_0x5f0749(0x194)],_0x385641[_0x5f0749(0x102)]]);const _0x44795b=_0x565989||_0x4cd488&&_0x4cd488['wsEndpoint'];_0x44795b&&(_0x20d6de=_0x385641[_0x5f0749(0x133)](getCloudProviderFromWsEndpoint,_0x44795b),_0x385641['rHiBX'](_0x20d6de,_0x385641[_0x5f0749(0x150)])&&(_0x2d13cc=constants[_0x5f0749(0x105)]['test'](_0x44795b)?_0x385641[_0x5f0749(0x1a5)]:_0x385641[_0x5f0749(0x152)],_0x46f7bb=_0x385641[_0x5f0749(0x18e)](getBrowserFromWSEndpoint,_0x44795b)||_0x46f7bb,_0x497a36=_0x4e5daf[_0x5f0749(0x192)]['platform'],_0xe919d4=_0x4e5daf[_0x5f0749(0x192)][_0x5f0749(0x1a3)]));}else{_0x530c00&&_0x530c00[_0x5f0749(0x147)][_0x5f0749(0x16d)][_0x5f0749(0x123)]?_0x46f7bb=_0x385641[_0x5f0749(0x12f)](getBrowserNameFromChannel,_0x530c00[_0x5f0749(0x147)][_0x5f0749(0x16d)][_0x5f0749(0x123)]):_0x46f7bb=_0x385641[_0x5f0749(0x148)](_0x385641['ycmWx'],_0x46f7bb[_0x5f0749(0x14d)]());const _0x25bdae=await _0x385641['yjFaO'](getPlatformDetails);_0x497a36=_0x25bdae[_0x5f0749(0x191)],_0xe919d4=_0x25bdae['platformVersion'];}const _0x9273ca={};_0x9273ca[_0x5f0749(0x162)]=_0x46f7bb,_0x9273ca[_0x5f0749(0x122)]=_0x306636,_0x9273ca[_0x5f0749(0x11d)]={},_0x9273ca['platform']=_0x497a36,_0x9273ca['platform_version']=_0xe919d4,_0x9273ca[_0x5f0749(0x182)]=_0x2d13cc;const _0xa20224=_0x9273ca;_0x5c0c65&&(_0xa20224[_0x5f0749(0x11d)][_0x5f0749(0x154)]=_0x5c0c65);const _0x1c4e01={};_0x1c4e01['cloudProvider']=_0x20d6de,_0x4e5daf[_0x5f0749(0x192)]=Object['assign']({},_0x4e5daf[_0x5f0749(0x192)],_0x1c4e01,_0xa20224);},_0x385641[_0x4224e5(0x129)])(_0xd7e8f0,_0xc44abd,_0x2e5067);}static[a43_0x8bb980(0x190)](){const _0x53bfb3=a43_0x8bb980;this[_0x53bfb3(0x16f)](),this['patchCRConnection']();}static['patchConnection'](){const _0x49ce14=a43_0x8bb980,_0x4eac82={'nRvaO':function(_0x47daf4,_0x22c7fe,_0x1a8473){return _0x47daf4(_0x22c7fe,_0x1a8473);},'cctyQ':_0x49ce14(0x13e),'TqjXe':'testInfo','yWFJm':_0x49ce14(0x119),'VVvnW':_0x49ce14(0x111),'QUrqg':'pwPage','YQuDa':function(_0x1d31af,_0x38c9b5){return _0x1d31af===_0x38c9b5;},'hszEf':_0x49ce14(0x199),'qandZ':function(_0x4c2c3d,_0x55a89f,_0xf18183,_0x4789af){return _0x4c2c3d(_0x55a89f,_0xf18183,_0x4789af);},'eRnMa':function(_0x37a559,_0x209ae1){return _0x37a559(_0x209ae1);},'pHOwA':_0x49ce14(0x14a),'wvLCB':_0x49ce14(0x10d),'PTohs':_0x49ce14(0x19a),'diPMG':function(_0x410411,_0x4e636f){return _0x410411(_0x4e636f);},'NTpEK':_0x49ce14(0x1aa),'GMZQh':function(_0x13e09c,_0x346469){return _0x13e09c(_0x346469);},'dVClh':function(_0x27a572,_0x523126){return _0x27a572!=_0x523126;},'xwsvR':function(_0x996600){return _0x996600();},'ZUghg':_0x49ce14(0x132),'WxpEA':function(_0x1eafc0,_0x3d4327){return _0x1eafc0(_0x3d4327);},'MuglK':_0x49ce14(0x12b)},_0x3783df=this;if(!this[_0x49ce14(0x15d)])try{const _0x4aad76=path['join'](_0x4eac82[_0x49ce14(0x195)],_0x4eac82[_0x49ce14(0x173)],_0x4eac82[_0x49ce14(0x18b)]),_0x39a206=_0x4eac82[_0x49ce14(0x184)](importFileFromPWCore,_0x4aad76);!_0x39a206?_0x4eac82[_0x49ce14(0x186)](debug,_0x4eac82[_0x49ce14(0x15f)]):this[_0x49ce14(0x15d)]=_0x39a206['Connection'];}catch(_0x1bc138){_0x4eac82['GMZQh'](debug,'Error\x20in\x20importing\x20connection\x20'+_0x1bc138['toString']());}const _0x1217d3=this[_0x49ce14(0x15d)];try{if(_0x4eac82[_0x49ce14(0x146)](_0x1217d3,null)){const _0x1207f6=_0x1217d3[_0x49ce14(0x17b)][_0x49ce14(0x12b)],_0x6de7bb=_0x1217d3[_0x49ce14(0x17b)][_0x49ce14(0x132)];_0x4eac82['xwsvR'](isAccessibilityAutomationSession)&&Object[_0x49ce14(0x177)](_0x1217d3[_0x49ce14(0x17b)],_0x4eac82[_0x49ce14(0x13c)],{'get':function(){const _0x52b276=_0x49ce14,_0x46fae1={'ZMAtd':function(_0x25f5a5,_0x1fced0,_0x344c5e){const _0x16602b=a43_0x49ce;return _0x4eac82[_0x16602b(0x127)](_0x25f5a5,_0x1fced0,_0x344c5e);},'ePxuK':_0x4eac82[_0x52b276(0x100)],'zbULm':_0x4eac82['TqjXe'],'QsoxO':_0x4eac82[_0x52b276(0x101)],'EJmgF':_0x4eac82['VVvnW'],'cXApT':_0x4eac82['QUrqg'],'xDikm':function(_0x3fac21,_0x2d6de9){const _0x106e1b=_0x52b276;return _0x4eac82[_0x106e1b(0xfc)](_0x3fac21,_0x2d6de9);},'roakY':_0x4eac82[_0x52b276(0x128)],'CdVsk':function(_0x4aafa8,_0x41a9c8,_0x508340,_0x18aea2){const _0xd35030=_0x52b276;return _0x4eac82[_0xd35030(0x103)](_0x4aafa8,_0x41a9c8,_0x508340,_0x18aea2);}};return async function(){const _0x4d21fb=_0x52b276;try{if(!global[_0x4d21fb(0xfe)]&&global[_0x4d21fb(0x19e)]&&_0x46fae1[_0x4d21fb(0x10a)](nestedKeyValue,global[_0x4d21fb(0x111)],[_0x46fae1[_0x4d21fb(0x174)],_0x46fae1[_0x4d21fb(0x19b)],_0x46fae1[_0x4d21fb(0x18a)]])&&_0x46fae1['ZMAtd'](shouldScanTestForAccessibility,global[_0x4d21fb(0x111)]['currentTest'][_0x4d21fb(0x115)][_0x4d21fb(0x119)],!![])&&scripts[_0x4d21fb(0x1a0)](arguments[0x1])){logger['debug'](_0x4d21fb(0x17a)+arguments[0x1]),global[_0x4d21fb(0xfe)]=!![];const _0x4d7be8=_0x46fae1[_0x4d21fb(0x10a)](nestedKeyValue,global,[_0x46fae1[_0x4d21fb(0x159)],_0x46fae1[_0x4d21fb(0x144)]]),_0x397d93={};_0x397d93[_0x4d21fb(0x189)]=arguments[0x1],_0x4d7be8&&logger['debug'](util[_0x4d21fb(0x125)](await AccessibilityHelper[_0x4d21fb(0x188)](_0x4d7be8,_0x397d93)));if(_0x46fae1[_0x4d21fb(0x10e)](arguments[0x0][_0x4d21fb(0x106)],_0x46fae1[_0x4d21fb(0x12c)])&&global[_0x4d21fb(0x198)]){const _0x30ec94={};_0x30ec94[_0x4d21fb(0x189)]=arguments[0x1],await _0x46fae1[_0x4d21fb(0x18c)](browserStackExecuteDriver,global[_0x4d21fb(0x198)],scripts[_0x4d21fb(0x188)],_0x30ec94);}}}catch(_0x348020){logger['debug'](_0x4d21fb(0x166)+util['format'](_0x348020));}return global[_0x4d21fb(0xfe)]=![],_0x6de7bb[_0x4d21fb(0x13a)](this,arguments);};}}),!_0x4eac82['WxpEA'](isFalse,process[_0x49ce14(0x104)][_0x49ce14(0x16a)])&&Object[_0x49ce14(0x177)](_0x1217d3[_0x49ce14(0x17b)],_0x4eac82[_0x49ce14(0x134)],{'get':function(){const _0x2ccd55={'FHWJW':function(_0x4fb99c,_0x5e700c){const _0xf80883=a43_0x49ce;return _0x4eac82[_0xf80883(0x184)](_0x4fb99c,_0x5e700c);}};return function _0x222dff(_0x53381f){const _0x4078a7=a43_0x49ce,_0x576fd1=_0x53381f&&_0x53381f[_0x4078a7(0x13f)]&&_0x53381f[_0x4078a7(0x13f)][_0x4078a7(0x16c)];if(_0x576fd1){const _0x262ae7=_0x576fd1['sessionId'],_0x5cd058=_0x576fd1['platformDetails'];_0x5cd058&&(_0x2ccd55[_0x4078a7(0x185)](debug,_0x4078a7(0x11a)+_0x5cd058[_0x4078a7(0x12a)]()),_0x3783df[_0x4078a7(0x192)][_0x4078a7(0x124)]=_0x5cd058[_0x4078a7(0x191)],_0x3783df[_0x4078a7(0x192)][_0x4078a7(0x1a3)]=_0x5cd058['platformVersion']),_0x262ae7&&(_0x2ccd55['FHWJW'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x262ae7),_0x3783df['currentSessionDetails'][_0x4078a7(0x120)]=_0x262ae7);}return _0x1207f6[_0x4078a7(0x13a)](this,arguments);};}});}}catch(_0x2d157f){_0x4eac82[_0x49ce14(0x184)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x2d157f),_0x3783df[_0x49ce14(0x149)]=_0x2d157f[_0x49ce14(0x12a)]();}}static[a43_0x8bb980(0x1ab)](){const _0x5e748f=a43_0x8bb980,_0x30551a={'JHtbV':function(_0x4d3552,_0x3ec0cd){return _0x4d3552(_0x3ec0cd);},'aETXk':function(_0x170524,_0x7952fe){return _0x170524(_0x7952fe);},'FlsYl':function(_0x400138,_0x448eab){return _0x400138(_0x448eab);},'HoLnA':function(_0x1e9470){return _0x1e9470();},'HJElY':_0x5e748f(0x14a),'HHPoM':_0x5e748f(0x155),'WGzwg':_0x5e748f(0x14e),'tQZwk':_0x5e748f(0x11c),'HzZaI':function(_0x35b00a,_0x17b03a){return _0x35b00a(_0x17b03a);},'PzOTq':function(_0x46e7ae,_0x39919a){return _0x46e7ae(_0x39919a);},'pHalj':'Not\x20able\x20to\x20import\x20crConnection','Mvjqw':function(_0x22e878,_0xd35602){return _0x22e878(_0xd35602);},'LjMQu':'Error\x20in\x20importing\x20crConnection','durpr':function(_0x36e269,_0x5c865b){return _0x36e269!=_0x5c865b;},'LYnHW':_0x5e748f(0x114)},_0x626c50=this;if(_0x30551a[_0x5e748f(0x176)](isAccessibilityAutomationSession)){let _0x2c20ff=null;try{const _0x316ec6=path[_0x5e748f(0x1a1)](_0x30551a['HJElY'],_0x30551a[_0x5e748f(0x197)],_0x30551a[_0x5e748f(0x12e)],_0x30551a[_0x5e748f(0x142)]),_0x43cc6a=_0x30551a[_0x5e748f(0x17e)](importFileFromPWCore,_0x316ec6);!_0x43cc6a?_0x30551a[_0x5e748f(0x158)](debug,_0x30551a[_0x5e748f(0x196)]):_0x2c20ff=_0x43cc6a[_0x5e748f(0x181)];}catch(_0x4c4f36){_0x30551a[_0x5e748f(0x1a2)](debug,_0x30551a[_0x5e748f(0x143)]);}try{if(_0x30551a['durpr'](_0x2c20ff,null)){const _0x1864b2=_0x2c20ff[_0x5e748f(0x17b)][_0x5e748f(0x114)];Object['defineProperty'](_0x2c20ff[_0x5e748f(0x17b)],_0x30551a['LYnHW'],{'get':function(){return function _0x477cf7(_0x256ab9){const _0x51d202=a43_0x49ce;try{const _0x3b2443=_0x256ab9[_0x51d202(0x14c)];if(_0x3b2443){delete _0x256ab9[_0x51d202(0x14c)];const _0x17f383=_0x3b2443[_0x51d202(0x153)],_0x356c36=_0x3b2443[_0x51d202(0x183)];_0x356c36&&(_0x30551a[_0x51d202(0x15b)](debug,_0x51d202(0x107)+_0x356c36[_0x51d202(0x12a)]()),_0x626c50[_0x51d202(0x192)][_0x51d202(0x124)]=_0x356c36['platformName'],_0x626c50[_0x51d202(0x192)][_0x51d202(0x1a3)]=_0x356c36[_0x51d202(0x11f)]),_0x17f383&&(_0x30551a['aETXk'](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x17f383),_0x626c50[_0x51d202(0x192)]['bsSessionId']=_0x17f383);}}catch(_0x40ff3f){_0x30551a['FlsYl'](debug,_0x51d202(0x116)+_0x40ff3f['toString']());}return _0x1864b2[_0x51d202(0x13a)](this,arguments);};}});}}catch(_0x3cd121){_0x30551a[_0x5e748f(0x17e)](debug,_0x5e748f(0x15c)+_0x3cd121),_0x626c50['sessionError']=_0x3cd121[_0x5e748f(0x12a)]();}}}static[a43_0x8bb980(0x180)](){const _0x2a32dd=a43_0x8bb980;return this[_0x2a32dd(0x192)];}}module['exports']=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x9b192d=a44_0xd8a8;(function(_0x4bfa30,_0x276810){const _0x31f6da=a44_0xd8a8,_0x32f882=_0x4bfa30();while(!![]){try{const _0x318a31=-parseInt(_0x31f6da(0x1f9))/0x1*(-parseInt(_0x31f6da(0x1f6))/0x2)+-parseInt(_0x31f6da(0x21b))/0x3*(parseInt(_0x31f6da(0x226))/0x4)+-parseInt(_0x31f6da(0x1e9))/0x5+-parseInt(_0x31f6da(0x213))/0x6*(-parseInt(_0x31f6da(0x22a))/0x7)+-parseInt(_0x31f6da(0x1fa))/0x8+-parseInt(_0x31f6da(0x1e0))/0x9*(-parseInt(_0x31f6da(0x244))/0xa)+parseInt(_0x31f6da(0x1cc))/0xb*(parseInt(_0x31f6da(0x1ea))/0xc);if(_0x318a31===_0x276810)break;else _0x32f882['push'](_0x32f882['shift']());}catch(_0x2aae41){_0x32f882['push'](_0x32f882['shift']());}}}(a44_0x1f76,0x6e883));function a44_0x1f76(){const _0x7f786f=['.local-not-set.json','usage','./integrations/command','eiXQA','integrations','zmltP','./mocha/command','FAZUx','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','argv','sendLogs','mocha/lib/cli/cli.js','version','framework','end','SBwQj','jest','./playwright/command','isUndefined','../helpers/performance/constants','usage:\x20$0\x20<command>\x20[args]','clfNo','INTEGRATIONS','findAndReplace','3890PzSINw','slice','mHlEV','unlinkSync','../helpers/performance/performance-tester','./jest/command','../helpers/logger','yargs','17037614inFhpL','HST','cucumber-js','winstonLogger','command','stack','--mochaRequire','pfYey','FLqif','config','JEST','rUrkV','NSpNU','node','alias','--no-config','handler','xKpgO','assign','../helpers/utilities','1530oQhgJJ','WFiqA','message','mocha/lib/cli/run.js','.browserstack','codeceptjs','laZTp','util','INFO','2671480ezKyuk','12Xalayd','EVENTS','./vanilla-js/command','./cucumber-js/command','PGHKz','VERSION','setTestObservabilityDisable','../../ats/src/index','existsSync','describe','PoKGW','format','1174310wRDcIo','includes','SDK_SETUP','1SYlxjx','6225304RvUgth','pTtes','vanilla','ioppL','CODECEPTJS','debug','PLAYWRIGHT','LDhRa','mocha/lib/cli/commands.js','NIGHTWATCH','playwright','exitCode','setBrowserStackAutomationDisable','join','ZSZUu','MNohP','Parsing\x20command\x20line\x20arguments','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','SsWxm','homedir','demandCommand','--no-opts','../helpers/helper','HELP','--require','7386GFTjih','ats','nightwatch','info','VHNFB','iQYeP','--no-package','CUCUMBER','3wsQICI','MOCHA','start','fireFunnelTestEvent','find','zNUam','SDK_CLEANUP','help','parserConfiguration','TTcqy','--package','1875868JrqdbF','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','push','dot-notation','182Aekivs','pYeYA'];a44_0x1f76=function(){return _0x7f786f;};return a44_0x1f76();}const fs=require('fs'),path=require('path'),util=require(a44_0x9b192d(0x1e7)),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a44_0x9b192d(0x248)),PerformanceEvents=require(a44_0x9b192d(0x23f))[a44_0x9b192d(0x1eb)],helper=require(a44_0x9b192d(0x210)),utilities=require(a44_0x9b192d(0x1df)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a44_0x9b192d(0x22e)),yargs=require(a44_0x9b192d(0x1cb)),Constants=require('./utils/constants'),logger=require(a44_0x9b192d(0x1ca))[a44_0x9b192d(0x1cf)],origArgs=Object[a44_0x9b192d(0x1de)]([],process[a44_0x9b192d(0x235)]),captureError=async(_0x827318,_0x2312ba,_0x541260,_0x1d62f0=null)=>{const _0x1d2dea=a44_0x9b192d,_0x5a88f1={'NKvPp':function(_0x5d21f7,_0xdbb1ae,_0x1e8f43,_0xb39312){return _0x5d21f7(_0xdbb1ae,_0x1e8f43,_0xb39312);},'wMKAk':'SDKTestSuccessful'};try{logger[_0x1d2dea(0x216)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x1d2dea(0x207)]('\x20')),await _0x5a88f1['NKvPp'](_0x827318,_0x2312ba,_0x1d62f0,_0x541260);}catch(_0x1453c9){process[_0x1d2dea(0x205)]=0x1,logger['error'](util[_0x1d2dea(0x1f5)](_0x1453c9));const _0x384317={'globalException':util[_0x1d2dea(0x1f5)]('%j',_0x1453c9)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x1d2dea(0x1f5)](_0x1453c9));if(helper[_0x1d2dea(0x23e)](global[_0x1d2dea(0x1d5)])&&helper[_0x1d2dea(0x23e)](global['framework']))return;try{utilities[_0x1d2dea(0x21e)](_0x5a88f1['wMKAk'],_0x384317,global[_0x1d2dea(0x1d5)],global[_0x1d2dea(0x239)]);}catch(_0x438e9a){logger[_0x1d2dea(0x1ff)](_0x1d2dea(0x227)+_0x438e9a['stack']);}try{await helper[_0x1d2dea(0x236)](global[_0x1d2dea(0x1d5)]);}catch(_0x370b33){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x370b33[_0x1d2dea(0x1d1)]);}PerformanceTester[_0x1d2dea(0x23a)](PerformanceEvents['SDK_SETUP'],![],util[_0x1d2dea(0x1f5)](_0x1453c9));}finally{PerformanceTester[_0x1d2dea(0x21d)](PerformanceEvents[_0x1d2dea(0x221)]);}};try{const browserstackFolderPath=path['join'](helper[a44_0x9b192d(0x20d)](),a44_0x9b192d(0x1e4));if(fs[a44_0x9b192d(0x1f2)](browserstackFolderPath)){const filePath=path[a44_0x9b192d(0x207)](browserstackFolderPath,a44_0x9b192d(0x22c));fs['existsSync'](filePath)&&fs[a44_0x9b192d(0x247)](filePath);}}catch(a44_0x2ce269){logger[a44_0x9b192d(0x1ff)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a44_0x2ce269[a44_0x9b192d(0x1e2)]);}process[a44_0x9b192d(0x235)]['includes']('mocha')&&(!process[a44_0x9b192d(0x235)][a44_0x9b192d(0x1f7)]('--opts')&&process['argv'][a44_0x9b192d(0x228)](a44_0x9b192d(0x20f)),!process['argv'][a44_0x9b192d(0x21f)](_0x19135b=>_0x19135b[a44_0x9b192d(0x1f7)]('--config'))&&process[a44_0x9b192d(0x235)][a44_0x9b192d(0x228)](a44_0x9b192d(0x1db)),!process[a44_0x9b192d(0x235)][a44_0x9b192d(0x1f7)](a44_0x9b192d(0x225))&&process['argv'][a44_0x9b192d(0x228)](a44_0x9b192d(0x219)),helper[a44_0x9b192d(0x243)](process[a44_0x9b192d(0x235)],a44_0x9b192d(0x212),a44_0x9b192d(0x1d2)));PerformanceTester[a44_0x9b192d(0x21d)](PerformanceEvents[a44_0x9b192d(0x1f8)]);const a44_0x374c8a={};a44_0x374c8a[a44_0x9b192d(0x229)]=![];function a44_0xd8a8(_0x2090e6,_0x1d62f9){const _0x1f7688=a44_0x1f76();return a44_0xd8a8=function(_0xd8a81,_0x9d8cbb){_0xd8a81=_0xd8a81-0x1ca;let _0x299295=_0x1f7688[_0xd8a81];return _0x299295;},a44_0xd8a8(_0x2090e6,_0x1d62f9);}const argv=yargs[a44_0x9b192d(0x223)](a44_0x374c8a)[a44_0x9b192d(0x22d)](a44_0x9b192d(0x240))[a44_0x9b192d(0x1da)]('v',a44_0x9b192d(0x238))[a44_0x9b192d(0x1f3)]('v')['alias']('h',a44_0x9b192d(0x222))[a44_0x9b192d(0x222)]('help')['showHelpOnFail'](!![],Constants[a44_0x9b192d(0x1ef)][a44_0x9b192d(0x211)])[a44_0x9b192d(0x1d0)](a44_0x9b192d(0x23c),Constants[a44_0x9b192d(0x1d6)]['INFO'],function(_0x54387a){const _0x195ceb=a44_0x9b192d,_0x353fc1={'ZSZUu':'jest','LDhRa':function(_0x1b0e37,_0x59ebf0,_0x4619a9,_0x3201bd,_0x290ce4){return _0x1b0e37(_0x59ebf0,_0x4619a9,_0x3201bd,_0x290ce4);},'dbtQI':function(_0x478809,_0x494753){return _0x478809(_0x494753);},'SBwQj':_0x195ceb(0x249)},_0x8ab1e7=process['argv'][_0x195ceb(0x245)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4d05ad=new BrowserStackSetup(_0x54387a[_0x195ceb(0x235)],_0x353fc1[_0x195ceb(0x208)]);return _0x353fc1[_0x195ceb(0x201)](captureError,_0x353fc1['dbtQI'](require,_0x353fc1[_0x195ceb(0x23b)]),_0x54387a['argv'],_0x4d05ad,_0x8ab1e7);})[a44_0x9b192d(0x1d0)]('mocha',Constants[a44_0x9b192d(0x21c)][a44_0x9b192d(0x1e8)],_0x450b0b=>{const _0x4062b2=a44_0x9b192d,_0x370af3={'pTtes':function(_0x5cf2c9,_0x52543b,_0x1f8edf,_0x5d5991){return _0x5cf2c9(_0x52543b,_0x1f8edf,_0x5d5991);},'zmltP':function(_0x475ad1,_0x2958a0){return _0x475ad1(_0x2958a0);},'FLqif':_0x4062b2(0x232),'pfYey':'mocha','hOEoZ':_0x4062b2(0x20a),'xKpgO':function(_0x161e35,_0x5706e3,_0x425fdb){return _0x161e35(_0x5706e3,_0x425fdb);},'nDJAN':_0x4062b2(0x1e3),'WFiqA':function(_0x3b0790,_0x41b5c8,_0x550eca){return _0x3b0790(_0x41b5c8,_0x550eca);},'hwrnQ':_0x4062b2(0x202),'SsWxm':function(_0x20c6a2,_0x95e2f2,_0x28543f){return _0x20c6a2(_0x95e2f2,_0x28543f);},'Jxicx':_0x4062b2(0x237),'MNohP':function(_0x11232d){return _0x11232d();}};process[_0x4062b2(0x235)]=process['argv'][_0x4062b2(0x245)](0x1),helper[_0x4062b2(0x1f0)](),helper[_0x4062b2(0x206)]();const _0x28cba2=new BrowserStackSetup(_0x450b0b[_0x4062b2(0x235)],_0x370af3[_0x4062b2(0x1d3)]);logger[_0x4062b2(0x1ff)](_0x370af3['hOEoZ']);const _0x4b8e83=_0x370af3[_0x4062b2(0x1dd)](requireModule,_0x370af3['nDJAN'],_0x370af3['pfYey']),_0x6afe98=_0x370af3[_0x4062b2(0x1e1)](requireModule,_0x370af3['hwrnQ'],_0x370af3['pfYey']);delete _0x4b8e83[_0x4062b2(0x1dc)],_0x4b8e83[_0x4062b2(0x1dc)]=function(_0x2a7f25){const _0x20a427=_0x4062b2;return _0x370af3[_0x20a427(0x1fb)](captureError,_0x370af3[_0x20a427(0x231)](require,_0x370af3[_0x20a427(0x1d4)]),_0x2a7f25,_0x28cba2);},_0x6afe98['run']=_0x4b8e83;const {main:_0x1cba7e}=_0x370af3[_0x4062b2(0x20c)](requireModule,_0x370af3['Jxicx'],_0x370af3['pfYey']);_0x370af3[_0x4062b2(0x209)](_0x1cba7e);})[a44_0x9b192d(0x1d0)](a44_0x9b192d(0x1ce),Constants[a44_0x9b192d(0x21a)][a44_0x9b192d(0x1e8)],function(_0x187331){const _0x20034b=a44_0x9b192d,_0x4344ce={'mHlEV':'cucumber-js','Ahnvq':function(_0x156d6e,_0x47f1cd,_0x6726f8,_0x5ace51,_0x1c14ef){return _0x156d6e(_0x47f1cd,_0x6726f8,_0x5ace51,_0x1c14ef);},'ioppL':function(_0x3d091d,_0x16f3c4){return _0x3d091d(_0x16f3c4);},'rwNBJ':_0x20034b(0x1ed)},_0x229d88=process[_0x20034b(0x235)][_0x20034b(0x245)](0x2),_0x8349de=new BrowserStackSetup(_0x187331[_0x20034b(0x235)],_0x4344ce[_0x20034b(0x246)]);return _0x4344ce['Ahnvq'](captureError,_0x4344ce[_0x20034b(0x1fd)](require,_0x4344ce['rwNBJ']),_0x187331[_0x20034b(0x235)],_0x8349de,_0x229d88);})['command'](a44_0x9b192d(0x1d9),Constants['VANILLA'][a44_0x9b192d(0x1e8)],function(_0x1d4940){const _0x41cd1d=a44_0x9b192d,_0x481855={'PGHKz':_0x41cd1d(0x1fc),'djrgB':function(_0xa76caa,_0x31c449,_0x140665,_0x414316,_0x1bd674){return _0xa76caa(_0x31c449,_0x140665,_0x414316,_0x1bd674);},'rUrkV':function(_0x528317,_0x49af6f){return _0x528317(_0x49af6f);},'TTcqy':_0x41cd1d(0x1ec)},_0x3ff1e4=process['argv'][_0x41cd1d(0x245)](0x2),_0x3a59b3=new BrowserStackSetup(_0x1d4940[_0x41cd1d(0x235)],_0x481855[_0x41cd1d(0x1ee)]);return _0x481855['djrgB'](captureError,_0x481855[_0x41cd1d(0x1d7)](require,_0x481855[_0x41cd1d(0x224)]),_0x1d4940['argv'],_0x3a59b3,_0x3ff1e4);})[a44_0x9b192d(0x1d0)](a44_0x9b192d(0x215),Constants[a44_0x9b192d(0x203)][a44_0x9b192d(0x1e8)],function(_0x134677){const _0x5229ad=a44_0x9b192d,_0x3bd0ee={'LoEUr':function(_0x3908e4,_0x2a50c0,_0x5d6d96,_0x3faa6e,_0x460a42){return _0x3908e4(_0x2a50c0,_0x5d6d96,_0x3faa6e,_0x460a42);},'yLYRC':function(_0x32ad4c,_0xa22210){return _0x32ad4c(_0xa22210);},'zNUam':'./nightwatch/command'},_0x5d85c8=process[_0x5229ad(0x235)][_0x5229ad(0x245)](0x2),_0x3d233c=new BrowserStackSetup(_0x134677[_0x5229ad(0x235)]);return _0x3bd0ee['LoEUr'](captureError,_0x3bd0ee['yLYRC'](require,_0x3bd0ee[_0x5229ad(0x220)]),_0x134677['argv'],_0x3d233c,_0x5d85c8);})[a44_0x9b192d(0x1d0)](a44_0x9b192d(0x1e5),Constants[a44_0x9b192d(0x1fe)][a44_0x9b192d(0x1e8)],function(_0x46c5c0){const _0x338489=a44_0x9b192d,_0x2df84c={'clfNo':_0x338489(0x1e5),'PoKGW':function(_0x3e0571,_0x276d60,_0x37bf64,_0x2152dc,_0x3a4519){return _0x3e0571(_0x276d60,_0x37bf64,_0x2152dc,_0x3a4519);},'cUWbc':function(_0x5979cb,_0x5abed4){return _0x5979cb(_0x5abed4);},'NSpNU':'./codeceptjs/command'},_0x52fe12=process['argv']['slice'](0x2),_0x239336=new BrowserStackSetup(_0x46c5c0[_0x338489(0x235)],_0x2df84c[_0x338489(0x241)]);return _0x2df84c[_0x338489(0x1f4)](captureError,_0x2df84c['cUWbc'](require,_0x2df84c[_0x338489(0x1d8)]),_0x46c5c0['argv'],_0x239336,_0x52fe12);})[a44_0x9b192d(0x1d0)]('ats',Constants[a44_0x9b192d(0x1cd)]['INFO'],function(_0x3695bf){const _0x2c15c4=a44_0x9b192d,_0x59db5c={'VHNFB':function(_0x3563b9,_0x3476e0,_0x4fe65d){return _0x3563b9(_0x3476e0,_0x4fe65d);},'iQYeP':function(_0x4018eb,_0x58976c){return _0x4018eb(_0x58976c);},'eiXQA':_0x2c15c4(0x1f1)},_0x543131=process[_0x2c15c4(0x235)][_0x2c15c4(0x245)](0x2);return _0x59db5c[_0x2c15c4(0x217)](captureError,_0x59db5c[_0x2c15c4(0x218)](require,_0x59db5c[_0x2c15c4(0x22f)]),_0x3695bf);})[a44_0x9b192d(0x1d0)](a44_0x9b192d(0x230),Constants[a44_0x9b192d(0x242)]['INFO'],function(_0x2b65b8){const _0x58799a=a44_0x9b192d,_0xc33835={'FAZUx':function(_0x1289d1,_0x558617){return _0x1289d1(_0x558617);}};return _0xc33835[_0x58799a(0x233)](runIntegrations,_0x2b65b8);})['command'](a44_0x9b192d(0x204),Constants[a44_0x9b192d(0x200)]['INFO'],function(_0x3862da){const _0x4ab079=a44_0x9b192d,_0x40acff={'laZTp':function(_0x4ff938,_0x2b0ed4,_0x5a985a,_0x2062ab,_0x1f5dfa){return _0x4ff938(_0x2b0ed4,_0x5a985a,_0x2062ab,_0x1f5dfa);},'pYeYA':function(_0x537c47,_0x1e0582){return _0x537c47(_0x1e0582);},'NDvAI':_0x4ab079(0x23d)},_0x3e49c5=process[_0x4ab079(0x235)][_0x4ab079(0x245)](0x2);helper['setTestObservabilityDisable'](),helper[_0x4ab079(0x206)]();const _0x48d6d0=new BrowserStackSetup(_0x3862da['argv'],FRAMEWORKS[_0x4ab079(0x200)]);return _0x40acff[_0x4ab079(0x1e6)](captureError,_0x40acff[_0x4ab079(0x22b)](require,_0x40acff['NDvAI']),_0x3862da[_0x4ab079(0x235)],_0x48d6d0,_0x3e49c5);})[a44_0x9b192d(0x20e)](0x1,a44_0x9b192d(0x234))['wrap'](null)[a44_0x9b192d(0x235)];!helper[a44_0x9b192d(0x23e)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x9b192d(0x214)&&console['error'](a44_0x9b192d(0x20b));
2
+ 'use strict';const a44_0x519900=a44_0x3911;(function(_0x1fdd1f,_0x24d13b){const _0x5a1031=a44_0x3911,_0x247636=_0x1fdd1f();while(!![]){try{const _0x44e3bb=parseInt(_0x5a1031(0x155))/0x1+-parseInt(_0x5a1031(0x18e))/0x2*(-parseInt(_0x5a1031(0x164))/0x3)+-parseInt(_0x5a1031(0x19a))/0x4*(-parseInt(_0x5a1031(0x173))/0x5)+-parseInt(_0x5a1031(0x149))/0x6*(-parseInt(_0x5a1031(0x163))/0x7)+parseInt(_0x5a1031(0x15c))/0x8+-parseInt(_0x5a1031(0x191))/0x9*(parseInt(_0x5a1031(0x1c0))/0xa)+parseInt(_0x5a1031(0x1a7))/0xb*(-parseInt(_0x5a1031(0x146))/0xc);if(_0x44e3bb===_0x24d13b)break;else _0x247636['push'](_0x247636['shift']());}catch(_0x3bdde3){_0x247636['push'](_0x247636['shift']());}}}(a44_0x36c8,0xaf0c8));const fs=require('fs'),path=require(a44_0x519900(0x151)),util=require(a44_0x519900(0x165)),{requireModule}=require(a44_0x519900(0x15b)),PerformanceTester=require(a44_0x519900(0x175)),PerformanceEvents=require(a44_0x519900(0x188))[a44_0x519900(0x148)],helper=require(a44_0x519900(0x15b)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a44_0x519900(0x1bf)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require('./integrations/command'),yargs=require(a44_0x519900(0x1bc)),Constants=require(a44_0x519900(0x1be)),logger=require(a44_0x519900(0x14e))[a44_0x519900(0x17d)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x133602,_0x5de42f,_0x10707e,_0x41466f=null)=>{const _0x4c51fc=a44_0x519900,_0x254849={'ZXXID':function(_0x454680,_0x53167e,_0x2272ac,_0x128800){return _0x454680(_0x53167e,_0x2272ac,_0x128800);},'pVvlr':_0x4c51fc(0x1a3)};try{logger[_0x4c51fc(0x198)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x4c51fc(0x1a4)]('\x20')),await _0x254849['ZXXID'](_0x133602,_0x5de42f,_0x41466f,_0x10707e);}catch(_0x5d9ca1){process['exitCode']=0x1,logger[_0x4c51fc(0x17e)](util[_0x4c51fc(0x141)](_0x5d9ca1));const _0x47a6ee={'globalException':util[_0x4c51fc(0x141)]('%j',_0x5d9ca1)};PerformanceTester[_0x4c51fc(0x17c)](PerformanceEvents[_0x4c51fc(0x1ae)],![],util[_0x4c51fc(0x141)](_0x5d9ca1));if(helper[_0x4c51fc(0x1b4)](global['config'])&&helper[_0x4c51fc(0x1b4)](global[_0x4c51fc(0x16d)]))return;try{utilities[_0x4c51fc(0x178)](_0x254849[_0x4c51fc(0x1b5)],_0x47a6ee,global['config'],global['framework']);}catch(_0x20b7af){logger[_0x4c51fc(0x15a)](_0x4c51fc(0x174)+_0x20b7af[_0x4c51fc(0x194)]);}try{await helper[_0x4c51fc(0x1a2)](global[_0x4c51fc(0x190)]);}catch(_0x591bd0){logger[_0x4c51fc(0x15a)](_0x4c51fc(0x19f)+_0x591bd0[_0x4c51fc(0x194)]);}PerformanceTester[_0x4c51fc(0x17c)](PerformanceEvents[_0x4c51fc(0x1ae)],![],util['format'](_0x5d9ca1));}finally{PerformanceTester['start'](PerformanceEvents[_0x4c51fc(0x14d)]);}};function a44_0x36c8(){const _0x2eb85c=['MOCHA','tVIHm','RqMgD','includes','PvqzN','command','../helpers/performance/constants','ScLgV','demandCommand','alias','usage','.local-not-set.json','41786lMtqIx','ats','config','71541tWPgyZ','Ugrwj','dRXib','stack','homedir','OlDxM','JEST','info','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','2188372pECYzh','VANILLA','INFO','ItBph','./playwright/command','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','start','./vanilla-js/command','sendLogs','SDKTestSuccessful','join','.browserstack','integrations','6661204qVvOYn','HELP','handler','INkfn','setBrowserStackAutomationDisable','mocha','nJTMl','SDK_SETUP','mocha/lib/cli/commands.js','yHGgb','argv','vanilla','jest','isUndefined','pVvlr','findAndReplace','setTestObservabilityDisable','codeceptjs','OPYST','version','slice','yargs','iYigV','./utils/constants','../helpers/BrowserStackSetup','270tRVRzw','qeKxZ','format','help','showHelpOnFail','NmwGC','describe','84YxwJff','--no-package','EVENTS','6cgDvvZ','qVpWp','jbcph','qFlVh','SDK_CLEANUP','../helpers/logger','VERSION','aeVng','path','--no-opts','GHoZE','existsSync','139279jGoDjm','mocha/lib/cli/cli.js','playwright','PLAYWRIGHT','vtNjH','debug','../helpers/helper','10217432KNPRrO','dot-notation','find','CUCUMBER','parserConfiguration','QfwQg','./mocha/command','9844429iuMkuf','180TZnWvG','util','./codeceptjs/command','dlsoe','YNrDu','push','HJcii','Hathg','node','framework','cucumber-js','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Parsing\x20command\x20line\x20arguments','./nightwatch/command','HWQhd','10rtjMBH','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','../helpers/performance/performance-tester','--require','eItYk','fireFunnelTestEvent','wrap','mocha/lib/cli/run.js','ZeakX','end','winstonLogger','error','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','run','INTEGRATIONS'];a44_0x36c8=function(){return _0x2eb85c;};return a44_0x36c8();}try{const browserstackFolderPath=path[a44_0x519900(0x1a4)](helper[a44_0x519900(0x195)](),a44_0x519900(0x1a5));if(fs[a44_0x519900(0x154)](browserstackFolderPath)){const filePath=path[a44_0x519900(0x1a4)](browserstackFolderPath,a44_0x519900(0x18d));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x42d8fe){logger[a44_0x519900(0x15a)](a44_0x519900(0x199)+a44_0x42d8fe['message']);}process[a44_0x519900(0x1b1)][a44_0x519900(0x185)]('mocha')&&(!process[a44_0x519900(0x1b1)]['includes']('--opts')&&process[a44_0x519900(0x1b1)][a44_0x519900(0x169)](a44_0x519900(0x152)),!process[a44_0x519900(0x1b1)][a44_0x519900(0x15e)](_0x1b6c5b=>_0x1b6c5b[a44_0x519900(0x185)]('--config'))&&process[a44_0x519900(0x1b1)]['push']('--no-config'),!process[a44_0x519900(0x1b1)][a44_0x519900(0x185)]('--package')&&process['argv'][a44_0x519900(0x169)](a44_0x519900(0x147)),helper[a44_0x519900(0x1b6)](process[a44_0x519900(0x1b1)],a44_0x519900(0x176),'--mochaRequire'));PerformanceTester[a44_0x519900(0x1a0)](PerformanceEvents[a44_0x519900(0x1ae)]);function a44_0x3911(_0x2ca9ff,_0x5669ca){const _0x36c8e0=a44_0x36c8();return a44_0x3911=function(_0x39118b,_0x352809){_0x39118b=_0x39118b-0x141;let _0x24fbe9=_0x36c8e0[_0x39118b];return _0x24fbe9;},a44_0x3911(_0x2ca9ff,_0x5669ca);}const a44_0x3a95b7={};a44_0x3a95b7[a44_0x519900(0x15d)]=![];const argv=yargs[a44_0x519900(0x160)](a44_0x3a95b7)[a44_0x519900(0x18c)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x519900(0x18b)]('v',a44_0x519900(0x1ba))[a44_0x519900(0x145)]('v')[a44_0x519900(0x18b)]('h',a44_0x519900(0x142))[a44_0x519900(0x142)](a44_0x519900(0x142))[a44_0x519900(0x143)](!![],Constants[a44_0x519900(0x14f)][a44_0x519900(0x1a8)])[a44_0x519900(0x187)](a44_0x519900(0x1b3),Constants[a44_0x519900(0x197)][a44_0x519900(0x19c)],function(_0x35113f){const _0x172492=a44_0x519900,_0x12f7ef={'HJcii':_0x172492(0x1b3),'eItYk':function(_0x1ab156,_0x338c53,_0x211041,_0x3b1e40,_0x282845){return _0x1ab156(_0x338c53,_0x211041,_0x3b1e40,_0x282845);},'HWQhd':function(_0xb050b6,_0x18dc1f){return _0xb050b6(_0x18dc1f);},'dlsoe':'./jest/command'},_0xb4100b=process['argv'][_0x172492(0x1bb)](0x2);helper[_0x172492(0x1b7)](),helper[_0x172492(0x1ab)]();const _0x3f0369=new BrowserStackSetup(_0x35113f[_0x172492(0x1b1)],_0x12f7ef[_0x172492(0x16a)]);return _0x12f7ef[_0x172492(0x177)](captureError,_0x12f7ef[_0x172492(0x172)](require,_0x12f7ef[_0x172492(0x167)]),_0x35113f[_0x172492(0x1b1)],_0x3f0369,_0xb4100b);})[a44_0x519900(0x187)](a44_0x519900(0x1ac),Constants[a44_0x519900(0x182)]['INFO'],_0x12a180=>{const _0x5e7827=a44_0x519900,_0x182631={'qVpWp':function(_0x33d55a,_0x3da5f4,_0x3a822e,_0x3cdc05){return _0x33d55a(_0x3da5f4,_0x3a822e,_0x3cdc05);},'RqMgD':function(_0x3d4431,_0x388716){return _0x3d4431(_0x388716);},'jbcph':_0x5e7827(0x162),'ScLgV':_0x5e7827(0x1ac),'RBxCM':_0x5e7827(0x170),'NrTLj':function(_0x4a0b3d,_0x23cbcb,_0xbaab86){return _0x4a0b3d(_0x23cbcb,_0xbaab86);},'yHGgb':_0x5e7827(0x17a),'VkXHY':_0x5e7827(0x1af),'ZeakX':function(_0x57ce40,_0xf28d37,_0x2b391d){return _0x57ce40(_0xf28d37,_0x2b391d);},'PvqzN':_0x5e7827(0x156),'aeVng':function(_0xdd29b1){return _0xdd29b1();}};process[_0x5e7827(0x1b1)]=process['argv']['slice'](0x1),helper[_0x5e7827(0x1b7)](),helper['setBrowserStackAutomationDisable']();const _0x5ab85a=new BrowserStackSetup(_0x12a180[_0x5e7827(0x1b1)],_0x182631[_0x5e7827(0x189)]);logger['debug'](_0x182631['RBxCM']);const _0x3ed1e1=_0x182631['NrTLj'](requireModule,_0x182631[_0x5e7827(0x1b0)],_0x182631[_0x5e7827(0x189)]),_0x38bffc=_0x182631['NrTLj'](requireModule,_0x182631['VkXHY'],_0x182631[_0x5e7827(0x189)]);delete _0x3ed1e1[_0x5e7827(0x1a9)],_0x3ed1e1[_0x5e7827(0x1a9)]=function(_0x344fe1){const _0x1a9a96=_0x5e7827;return _0x182631[_0x1a9a96(0x14a)](captureError,_0x182631[_0x1a9a96(0x184)](require,_0x182631[_0x1a9a96(0x14b)]),_0x344fe1,_0x5ab85a);},_0x38bffc[_0x5e7827(0x180)]=_0x3ed1e1;const {main:_0x49bf5b}=_0x182631[_0x5e7827(0x17b)](requireModule,_0x182631[_0x5e7827(0x186)],_0x182631[_0x5e7827(0x189)]);_0x182631[_0x5e7827(0x150)](_0x49bf5b);})[a44_0x519900(0x187)](a44_0x519900(0x16e),Constants[a44_0x519900(0x15f)]['INFO'],function(_0x41782d){const _0x49033a=a44_0x519900,_0x24023d={'ItBph':_0x49033a(0x16e),'vtNjH':function(_0x21ed0b,_0x1320e1,_0x4a7d99,_0x13f152,_0x2cf476){return _0x21ed0b(_0x1320e1,_0x4a7d99,_0x13f152,_0x2cf476);},'UMQZi':function(_0x6b7c96,_0xd9c48){return _0x6b7c96(_0xd9c48);},'QfwQg':'./cucumber-js/command'},_0x221c61=process[_0x49033a(0x1b1)]['slice'](0x2),_0x440bed=new BrowserStackSetup(_0x41782d[_0x49033a(0x1b1)],_0x24023d[_0x49033a(0x19d)]);return _0x24023d[_0x49033a(0x159)](captureError,_0x24023d['UMQZi'](require,_0x24023d[_0x49033a(0x161)]),_0x41782d[_0x49033a(0x1b1)],_0x440bed,_0x221c61);})[a44_0x519900(0x187)](a44_0x519900(0x16c),Constants[a44_0x519900(0x19b)][a44_0x519900(0x19c)],function(_0x551856){const _0x3be26d=a44_0x519900,_0x1fd05a={'OlDxM':_0x3be26d(0x1b2),'wlxfs':function(_0x1dc094,_0x32d8bd,_0xe48c4a,_0x2e0dce,_0x310f0b){return _0x1dc094(_0x32d8bd,_0xe48c4a,_0x2e0dce,_0x310f0b);},'fSqXF':function(_0x458313,_0x3c19a3){return _0x458313(_0x3c19a3);},'dRXib':_0x3be26d(0x1a1)},_0x3af23a=process['argv'][_0x3be26d(0x1bb)](0x2),_0x21e468=new BrowserStackSetup(_0x551856['argv'],_0x1fd05a[_0x3be26d(0x196)]);return _0x1fd05a['wlxfs'](captureError,_0x1fd05a['fSqXF'](require,_0x1fd05a[_0x3be26d(0x193)]),_0x551856[_0x3be26d(0x1b1)],_0x21e468,_0x3af23a);})[a44_0x519900(0x187)]('nightwatch',Constants['NIGHTWATCH'][a44_0x519900(0x19c)],function(_0x1bd8ee){const _0x4cea92=a44_0x519900,_0x4f3393={'nJTMl':function(_0x2cfa11,_0x5b5f93,_0x399b20,_0x3a0f22,_0x5ec862){return _0x2cfa11(_0x5b5f93,_0x399b20,_0x3a0f22,_0x5ec862);},'GHoZE':function(_0x3b592a,_0x55f24e){return _0x3b592a(_0x55f24e);},'iYigV':_0x4cea92(0x171)},_0x2ec73d=process[_0x4cea92(0x1b1)][_0x4cea92(0x1bb)](0x2),_0x5dc95c=new BrowserStackSetup(_0x1bd8ee[_0x4cea92(0x1b1)]);return _0x4f3393[_0x4cea92(0x1ad)](captureError,_0x4f3393[_0x4cea92(0x153)](require,_0x4f3393[_0x4cea92(0x1bd)]),_0x1bd8ee['argv'],_0x5dc95c,_0x2ec73d);})[a44_0x519900(0x187)](a44_0x519900(0x1b8),Constants['CODECEPTJS']['INFO'],function(_0x4d979c){const _0x14aeed=a44_0x519900,_0x448808={'Hathg':_0x14aeed(0x1b8),'gdUCt':function(_0xd88de9,_0x567f60,_0x59dfb3,_0x1cf2bf,_0x133607){return _0xd88de9(_0x567f60,_0x59dfb3,_0x1cf2bf,_0x133607);},'UNVrp':function(_0x33ab0c,_0xb6b553){return _0x33ab0c(_0xb6b553);},'qeKxZ':_0x14aeed(0x166)},_0xb0e7f1=process['argv'][_0x14aeed(0x1bb)](0x2),_0x344c6e=new BrowserStackSetup(_0x4d979c[_0x14aeed(0x1b1)],_0x448808[_0x14aeed(0x16b)]);return _0x448808['gdUCt'](captureError,_0x448808['UNVrp'](require,_0x448808[_0x14aeed(0x1c1)]),_0x4d979c[_0x14aeed(0x1b1)],_0x344c6e,_0xb0e7f1);})[a44_0x519900(0x187)](a44_0x519900(0x18f),Constants['HST']['INFO'],function(_0x3fcf17){const _0x5493e0=a44_0x519900,_0x4f459a={'OPYST':function(_0x4dcc25,_0x46e7a9,_0xb2e8d9){return _0x4dcc25(_0x46e7a9,_0xb2e8d9);},'qFlVh':function(_0x1e70c3,_0x557ddc){return _0x1e70c3(_0x557ddc);},'tVIHm':'../../ats/src/index'},_0x57874a=process['argv'][_0x5493e0(0x1bb)](0x2);return _0x4f459a[_0x5493e0(0x1b9)](captureError,_0x4f459a[_0x5493e0(0x14c)](require,_0x4f459a[_0x5493e0(0x183)]),_0x3fcf17);})[a44_0x519900(0x187)](a44_0x519900(0x1a6),Constants[a44_0x519900(0x181)][a44_0x519900(0x19c)],function(_0x10c8de){const _0x563756=a44_0x519900,_0x2f04ed={'NmwGC':function(_0xb8fbae,_0x56adc0){return _0xb8fbae(_0x56adc0);}};return _0x2f04ed[_0x563756(0x144)](runIntegrations,_0x10c8de);})[a44_0x519900(0x187)](a44_0x519900(0x157),Constants[a44_0x519900(0x158)][a44_0x519900(0x19c)],function(_0x4a3174){const _0x5b4d2c=a44_0x519900,_0x5e15ba={'INkfn':function(_0x14a213,_0x5255fa,_0x393ebe,_0x13bc73,_0x1553e4){return _0x14a213(_0x5255fa,_0x393ebe,_0x13bc73,_0x1553e4);},'YNrDu':function(_0x4ced33,_0x398e85){return _0x4ced33(_0x398e85);},'Ugrwj':_0x5b4d2c(0x19e)},_0x2ade7d=process[_0x5b4d2c(0x1b1)][_0x5b4d2c(0x1bb)](0x2);helper[_0x5b4d2c(0x1b7)](),helper[_0x5b4d2c(0x1ab)]();const _0x1c3d38=new BrowserStackSetup(_0x4a3174[_0x5b4d2c(0x1b1)],FRAMEWORKS[_0x5b4d2c(0x158)]);return _0x5e15ba[_0x5b4d2c(0x1aa)](captureError,_0x5e15ba[_0x5b4d2c(0x168)](require,_0x5e15ba[_0x5b4d2c(0x192)]),_0x4a3174[_0x5b4d2c(0x1b1)],_0x1c3d38,_0x2ade7d);})[a44_0x519900(0x18a)](0x1,a44_0x519900(0x16f))[a44_0x519900(0x179)](null)[a44_0x519900(0x1b1)];!helper[a44_0x519900(0x1b4)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x519900(0x18f)&&console[a44_0x519900(0x17e)](a44_0x519900(0x17f));