browserstack-node-sdk 1.53.3 → 1.53.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a43_0x1bc3a0=a43_0x13cc;(function(_0xb52e8d,_0x15cea0){const _0x40f486=a43_0x13cc,_0x428af5=_0xb52e8d();while(!![]){try{const _0x56aae3=parseInt(_0x40f486(0x19f))/0x1*(-parseInt(_0x40f486(0x1d5))/0x2)+-parseInt(_0x40f486(0x1b5))/0x3+-parseInt(_0x40f486(0x1d2))/0x4*(parseInt(_0x40f486(0x1cb))/0x5)+parseInt(_0x40f486(0x19a))/0x6+-parseInt(_0x40f486(0x1c6))/0x7+parseInt(_0x40f486(0x1d7))/0x8+parseInt(_0x40f486(0x1d4))/0x9;if(_0x56aae3===_0x15cea0)break;else _0x428af5['push'](_0x428af5['shift']());}catch(_0x1d4463){_0x428af5['push'](_0x428af5['shift']());}}}(a43_0x1725,0xe1c03));function a43_0x1725(){const _0x2f65ed=['prototype','cWnrR','join','now','akXHU','apply','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','split','BrowserContext','zKiFb','MBcCF','stringify','Unable\x20to\x20import\x20context\x20for\x20page','cZigv','browserstack_executor:\x20','o11ySyncDone','749793nQazYM','bstackA11yScanOptions','pwPage','mockContextNewPage','browserContext.js','tlgQS','setCustomTags','uploadAttachment','format','diOnT','uploadAttachments','doo11ySync','stopA11yScanning','../../helpers/test-observability/error-handler','../../helpers/accessibility-automation/accessibilityRetryHelper','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','./accessibility-helper','7461818Whqoxg','getAccessibilityResultsSummary','1|0|4|3|2','startA11yScanning','TKuAS','35USZRsu','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','path','NcloR','YZoxo','../../helpers/helper','../v2/uploadAttachmentsManager','32908MAlrCf','citOZ','13059918YEjzbS','6TeLzvs','isRunning','9560128IDkXJh','debug','util','../../helpers/performance/performance-tester','defineProperty','../v2/browserstackCLI','../v2/customTagManager','ShMlH','bckYd','gmLLk','../../helpers/performance/constants','lib','evaluate','env','__workerDetails','XCgYx','getAccessibilityResults','411030zYVCmn','BROWSERSTACK_TEST_OBSERVABILITY','measureWrapper','mPRrH','fsEHf','138818sllxYe','newPage','bstackA11yShouldScan','_isWorkerRedundant','ObservabilitySync:','client'];a43_0x1725=function(){return _0x2f65ed;};return a43_0x1725();}function a43_0x13cc(_0x2ee54a,_0x1ab452){const _0x1725a4=a43_0x1725();return a43_0x13cc=function(_0x13cc65,_0x1fae7e){_0x13cc65=_0x13cc65-0x18a;let _0x1287ec=_0x1725a4[_0x13cc65];return _0x1287ec;},a43_0x13cc(_0x2ee54a,_0x1ab452);}const path=require(a43_0x1bc3a0(0x1cd)),util=require(a43_0x1bc3a0(0x18b)),logger=require('../../helpers/logger'),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a43_0x1bc3a0(0x1d0)),{o11yErrorHandler}=require(a43_0x1bc3a0(0x1c2)),AccessibilityHelper=require(a43_0x1bc3a0(0x1c5)),PerformanceTester=require(a43_0x1bc3a0(0x18c)),{O11y_EVENTS:PerformanceO11yEvents}=require(a43_0x1bc3a0(0x193)),BrowserstackCLI=require(a43_0x1bc3a0(0x18e)),CustomTagManager=require(a43_0x1bc3a0(0x18f)),uploadAttachmentsManager=require(a43_0x1bc3a0(0x1d1)),{performScanWithRetry}=require(a43_0x1bc3a0(0x1c3)),doo11ySync=PerformanceTester[a43_0x1bc3a0(0x19c)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x2732b){const _0x431472=a43_0x1bc3a0,_0x2248f0={'TKuAS':function(_0x2535c3,_0x457747,_0xd64510){return _0x2535c3(_0x457747,_0xd64510);},'XCgYx':_0x431472(0x197),'SWchk':_0x431472(0x1b4),'cZigv':'annotate','akXHU':_0x431472(0x18a)};if(_0x2248f0[_0x431472(0x1ca)](nestedKeyValue,global,[_0x2248f0[_0x431472(0x198)],_0x2248f0['SWchk']]))return;await _0x2732b[_0x431472(0x195)](_0x261ebb=>{},_0x431472(0x1b3)+JSON[_0x431472(0x1b0)]({'action':_0x2248f0[_0x431472(0x1b2)],'arguments':{'data':_0x431472(0x1a3)+Date[_0x431472(0x1a8)](),'level':_0x2248f0[_0x431472(0x1a9)]}})),global[_0x431472(0x197)][_0x431472(0x1b4)]=!![];},a43_0x1bc3a0(0x1c0)));exports[a43_0x1bc3a0(0x1b8)]=()=>{const _0x3daec3=a43_0x1bc3a0,_0x18ccbe={'ShMlH':function(_0x23bc28,_0x1eccbd){return _0x23bc28(_0x1eccbd);},'MBcCF':_0x3daec3(0x1c8),'fsEHf':function(_0x3fd4ec,_0xe52e4a,_0x47f807){return _0x3fd4ec(_0xe52e4a,_0x47f807);},'cWnrR':_0x3daec3(0x197),'bckYd':function(_0x36e395,_0x366a23,_0x3ad551,_0x2810e9,_0x75671d,_0x1361e9){return _0x36e395(_0x366a23,_0x3ad551,_0x2810e9,_0x75671d,_0x1361e9);},'gsIjT':function(_0x1bfc08,_0x54b584){return _0x1bfc08||_0x54b584;},'tlgQS':_0x3daec3(0x194),'sGbuQ':_0x3daec3(0x1a4),'gmLLk':_0x3daec3(0x1b9),'zKiFb':_0x3daec3(0x1b1),'NcloR':_0x3daec3(0x1a0)},_0x118877=path[_0x3daec3(0x1a7)](_0x18ccbe[_0x3daec3(0x1ba)],_0x18ccbe['sGbuQ'],_0x18ccbe[_0x3daec3(0x192)]),_0x2ffe53=_0x18ccbe['ShMlH'](importFileFromPWCore,_0x118877);if(!_0x2ffe53){logger[_0x3daec3(0x18a)](_0x18ccbe[_0x3daec3(0x1ae)]);return;}const _0x26d8db=_0x2ffe53[_0x3daec3(0x1ad)],_0x17df91=_0x26d8db[_0x3daec3(0x1a5)],_0x53a67f=_0x17df91[_0x3daec3(0x1a0)];Object[_0x3daec3(0x18d)](_0x17df91,_0x18ccbe[_0x3daec3(0x1ce)],{'get':function(){const _0x47f6b1={'mPRrH':function(_0x15f27e,_0x201d62,_0xc74975,_0x3336d0,_0x16dd1d,_0x383fab){const _0x1990d3=a43_0x13cc;return _0x18ccbe[_0x1990d3(0x191)](_0x15f27e,_0x201d62,_0xc74975,_0x3336d0,_0x16dd1d,_0x383fab);},'diOnT':function(_0x5238cb,_0x5a3cb8){return _0x18ccbe['gsIjT'](_0x5238cb,_0x5a3cb8);}};return async function _0x2d0ec3(){const _0x111662=a43_0x13cc,_0x5942c3=await _0x53a67f[_0x111662(0x1aa)](this,arguments);try{!BrowserstackCLI['getInstance']()[_0x111662(0x1d6)]()&&!_0x18ccbe[_0x111662(0x190)](isFalse,process['env'][_0x111662(0x19b)])&&await _0x18ccbe[_0x111662(0x190)](doo11ySync,_0x5942c3);BrowserstackCLI['getInstance']()[_0x111662(0x1d6)]()&&(_0x5942c3[_0x111662(0x1bb)]=async(_0x3683e3,_0x48e3a4,_0x439258=![])=>{await CustomTagManager['setCustomTags'](_0x3683e3,_0x48e3a4,_0x439258);},_0x5942c3[_0x111662(0x1bc)]=async(_0x53063a,_0x501327=![])=>{const _0x5c0c85=_0x111662;await uploadAttachmentsManager[_0x5c0c85(0x1bf)](_0x53063a,_0x501327);});if(!_0x18ccbe[_0x111662(0x190)](isFalse,process[_0x111662(0x196)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])){const _0x49dbdc=_0x18ccbe[_0x111662(0x1af)][_0x111662(0x1ac)]('|');let _0x114fd3=0x0;while(!![]){switch(_0x49dbdc[_0x114fd3++]){case'0':_0x5942c3[_0x111662(0x1c7)]=async()=>{const _0x21551f=_0x111662;return await AccessibilityHelper[_0x21551f(0x1c7)](_0x5942c3);};continue;case'1':_0x5942c3[_0x111662(0x199)]=async()=>{const _0x3289e2=_0x111662;return await AccessibilityHelper[_0x3289e2(0x199)](_0x5942c3);};continue;case'2':_0x5942c3[_0x111662(0x1c1)]=async()=>{const _0x5ac811=_0x111662;global['bstackA11yShouldScan']=![],global[_0x5ac811(0x1b6)]=null;};continue;case'3':_0x5942c3[_0x111662(0x1c9)]=async _0x132540=>{const _0x3d5c31=_0x111662;global[_0x3d5c31(0x1a1)]=!![],global[_0x3d5c31(0x1b6)]=_0x47f6b1[_0x3d5c31(0x1be)](_0x132540,null);};continue;case'4':_0x5942c3['performScan']=async _0x53df81=>{const _0x112faf=_0x111662;return await _0x47f6b1[_0x112faf(0x19d)](performScanWithRetry,_0x5942c3,null,null,!![],_0x53df81);};continue;}break;}}}catch(_0x24877b){logger['debug'](_0x111662(0x1c4)+util['format'](_0x24877b));}return _0x18ccbe[_0x111662(0x19e)](nestedKeyValue,global,[_0x18ccbe[_0x111662(0x1a6)]])&&(global[_0x111662(0x197)][_0x111662(0x1b7)]=_0x5942c3),_0x5942c3;};}});},exports['mockIsWorkerRedundant']=()=>{const _0x5d06d4=a43_0x1bc3a0,_0x1e1d00={'YZoxo':function(_0x5e277c,_0x27db84){return _0x5e277c(_0x27db84);},'MFLRi':'runner/dispatcher.js','citOZ':_0x5d06d4(0x1cc),'RcTtM':_0x5d06d4(0x1a2)};try{const _0xeb3f34=requirePWModule[_0x5d06d4(0x1aa)](null,_0x1e1d00[_0x5d06d4(0x1cf)](getPlaywrightLibPath,_0x1e1d00['MFLRi']));if(!_0xeb3f34){logger[_0x5d06d4(0x18a)](_0x1e1d00[_0x5d06d4(0x1d3)]);return;}const _0xd4c84e=_0xeb3f34['Dispatcher'],_0x349d8d=_0xd4c84e[_0x5d06d4(0x1a5)],_0x23b7ff=_0x349d8d[_0x5d06d4(0x1a2)];Object[_0x5d06d4(0x18d)](_0x349d8d,_0x1e1d00['RcTtM'],{'get':function(){return function _0x574e39(){const _0x54aa92=a43_0x13cc;return _0x23b7ff[_0x54aa92(0x1aa)](this,arguments),!![];};}});}catch(_0x5c7757){logger['debug'](_0x5d06d4(0x1ab)+util[_0x5d06d4(0x1bd)](_0x5c7757));}};
1
+ const a43_0x54839e=a43_0x4b82;(function(_0x4c7197,_0x2e6e43){const _0x3e6a45=a43_0x4b82,_0x39e4bd=_0x4c7197();while(!![]){try{const _0x35e020=parseInt(_0x3e6a45(0x128))/0x1+-parseInt(_0x3e6a45(0x10f))/0x2*(-parseInt(_0x3e6a45(0x148))/0x3)+-parseInt(_0x3e6a45(0x125))/0x4*(-parseInt(_0x3e6a45(0x11b))/0x5)+parseInt(_0x3e6a45(0x153))/0x6*(-parseInt(_0x3e6a45(0x138))/0x7)+parseInt(_0x3e6a45(0x14f))/0x8+parseInt(_0x3e6a45(0x145))/0x9+-parseInt(_0x3e6a45(0x10e))/0xa;if(_0x35e020===_0x2e6e43)break;else _0x39e4bd['push'](_0x39e4bd['shift']());}catch(_0xe7d228){_0x39e4bd['push'](_0x39e4bd['shift']());}}}(a43_0x17c5,0x548d0));function a43_0x4b82(_0xda9783,_0x44efb2){const _0x17c5c0=a43_0x17c5();return a43_0x4b82=function(_0x4b82ed,_0x508ce8){_0x4b82ed=_0x4b82ed-0x10e;let _0x31ad26=_0x17c5c0[_0x4b82ed];return _0x31ad26;},a43_0x4b82(_0xda9783,_0x44efb2);}const path=require(a43_0x54839e(0x15d)),util=require(a43_0x54839e(0x11a)),logger=require(a43_0x54839e(0x158)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a43_0x54839e(0x140)),{o11yErrorHandler}=require(a43_0x54839e(0x123)),AccessibilityHelper=require(a43_0x54839e(0x11e)),PerformanceTester=require(a43_0x54839e(0x12f)),{O11y_EVENTS:PerformanceO11yEvents}=require(a43_0x54839e(0x116)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a43_0x54839e(0x143)),uploadAttachmentsManager=require(a43_0x54839e(0x14a)),{performScanWithRetry}=require(a43_0x54839e(0x133)),doo11ySync=PerformanceTester[a43_0x54839e(0x13f)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x56799d){const _0x5adc57=a43_0x54839e,_0x1d419e={'lrhXp':function(_0x483378,_0xa24763,_0x57ab0e){return _0x483378(_0xa24763,_0x57ab0e);},'LsnPJ':_0x5adc57(0x11f),'kliNY':_0x5adc57(0x110),'ypQCO':_0x5adc57(0x115),'HOILW':_0x5adc57(0x117)};if(_0x1d419e[_0x5adc57(0x144)](nestedKeyValue,global,[_0x1d419e['LsnPJ'],_0x1d419e[_0x5adc57(0x12a)]]))return;await _0x56799d['evaluate'](_0x2ca70c=>{},_0x5adc57(0x130)+JSON[_0x5adc57(0x155)]({'action':_0x1d419e[_0x5adc57(0x14b)],'arguments':{'data':_0x5adc57(0x12b)+Date[_0x5adc57(0x118)](),'level':_0x1d419e['HOILW']}})),global[_0x5adc57(0x11f)]['o11ySyncDone']=!![];},'doo11ySync'));function a43_0x17c5(){const _0x3ebf99=['__workerDetails','setCustomTags','lib','apply','../../helpers/test-observability/error-handler','getInstance','4PvcbhA','cMeBI','_isWorkerRedundant','344408QHFjyB','stopA11yScanning','kliNY','ObservabilitySync:','env','lcvlC','gZltF','../../helpers/performance/performance-tester','browserstack_executor:\x20','client','defineProperty','../../helpers/accessibility-automation/accessibilityRetryHelper','QDtnF','hOZPe','getAccessibilityResults','Dispatcher','707NLXjuh','join','prototype','vOxhh','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','DImrJ','startA11yScanning','measureWrapper','../../helpers/helper','uploadAttachment','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','../v2/customTagManager','lrhXp','557136yPKWxk','BROWSERSTACK_TEST_OBSERVABILITY','gjzap','31209YvXuPL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../v2/uploadAttachmentsManager','ypQCO','yMAmj','vjPct','runner/dispatcher.js','962952SshkOT','mYTCT','getAccessibilityResultsSummary','bstackA11yShouldScan','15108QMwRwR','format','stringify','mockContextNewPage','performScan','../../helpers/logger','kmjdw','bstackA11yScanOptions','Unable\x20to\x20import\x20context\x20for\x20page','newPage','path','10071320dAykTb','124GzVGWs','o11ySyncDone','ZSnQc','Atsfj','mockIsWorkerRedundant','dLHkP','annotate','../../helpers/performance/constants','debug','now','CrRJb','util','2180515RiBEAz','pwPage','isRunning','./accessibility-helper'];a43_0x17c5=function(){return _0x3ebf99;};return a43_0x17c5();}exports[a43_0x54839e(0x156)]=()=>{const _0x1664e7=a43_0x54839e,_0x530b73={'dLHkP':function(_0x33e053,_0x43fb0d){return _0x33e053(_0x43fb0d);},'MwMry':function(_0x59d183,_0x392a9f){return _0x59d183(_0x392a9f);},'cMeBI':function(_0x30a9bd,_0x376326){return _0x30a9bd(_0x376326);},'CsdrD':'3|0|2|4|1','vjPct':function(_0x159f43,_0xdc199b,_0x177864){return _0x159f43(_0xdc199b,_0x177864);},'DImrJ':_0x1664e7(0x11f),'yMAmj':function(_0x47c34f,_0x53e304,_0x2f6a84,_0x575821,_0x5b03e2,_0x5bc780){return _0x47c34f(_0x53e304,_0x2f6a84,_0x575821,_0x5b03e2,_0x5bc780);},'vOxhh':function(_0x5ec678,_0x204610){return _0x5ec678||_0x204610;},'CrRJb':_0x1664e7(0x121),'Atsfj':_0x1664e7(0x131),'SHLdo':'browserContext.js','kmjdw':function(_0x14edea,_0x4a5118){return _0x14edea(_0x4a5118);},'MeuYv':_0x1664e7(0x15b),'gZltF':_0x1664e7(0x15c)},_0x4120d2=path[_0x1664e7(0x139)](_0x530b73[_0x1664e7(0x119)],_0x530b73[_0x1664e7(0x112)],_0x530b73['SHLdo']),_0x49a86b=_0x530b73[_0x1664e7(0x159)](importFileFromPWCore,_0x4120d2);if(!_0x49a86b){logger[_0x1664e7(0x117)](_0x530b73['MeuYv']);return;}const _0x270150=_0x49a86b['BrowserContext'],_0x31e707=_0x270150['prototype'],_0x55cf12=_0x31e707[_0x1664e7(0x15c)];Object[_0x1664e7(0x132)](_0x31e707,_0x530b73[_0x1664e7(0x12e)],{'get':function(){const _0x1495f8={'mYTCT':function(_0x4e5c98,_0x506119,_0x2ebf4a,_0xbda13b,_0x264fd1,_0x132c30){const _0x44e78b=a43_0x4b82;return _0x530b73[_0x44e78b(0x14c)](_0x4e5c98,_0x506119,_0x2ebf4a,_0xbda13b,_0x264fd1,_0x132c30);},'ZSnQc':function(_0x5aa583,_0x5e463d){const _0x344680=a43_0x4b82;return _0x530b73[_0x344680(0x13b)](_0x5aa583,_0x5e463d);}};return async function _0x1fe66b(){const _0x17b055=a43_0x4b82,_0x498ca3=await _0x55cf12[_0x17b055(0x122)](this,arguments);try{!BrowserstackCLI[_0x17b055(0x124)]()[_0x17b055(0x11d)]()&&!_0x530b73[_0x17b055(0x114)](isFalse,process[_0x17b055(0x12c)][_0x17b055(0x146)])&&await _0x530b73['MwMry'](doo11ySync,_0x498ca3);BrowserstackCLI[_0x17b055(0x124)]()[_0x17b055(0x11d)]()&&(_0x498ca3[_0x17b055(0x120)]=async(_0x2039e4,_0x2265c4,_0x232ace=![])=>{const _0x3ffa2f=_0x17b055;await CustomTagManager[_0x3ffa2f(0x120)](_0x2039e4,_0x2265c4,_0x232ace);},_0x498ca3[_0x17b055(0x141)]=async(_0x3126eb,_0x1c6b79=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x3126eb,_0x1c6b79);});if(!_0x530b73[_0x17b055(0x126)](isFalse,process[_0x17b055(0x12c)][_0x17b055(0x149)])){const _0x472ab3=_0x530b73['CsdrD']['split']('|');let _0x578420=0x0;while(!![]){switch(_0x472ab3[_0x578420++]){case'0':_0x498ca3[_0x17b055(0x151)]=async()=>{const _0x34f9bf=_0x17b055;return await AccessibilityHelper[_0x34f9bf(0x151)](_0x498ca3);};continue;case'1':_0x498ca3[_0x17b055(0x129)]=async()=>{const _0xc63f5e=_0x17b055;global[_0xc63f5e(0x152)]=![],global[_0xc63f5e(0x15a)]=null;};continue;case'2':_0x498ca3[_0x17b055(0x157)]=async _0x1c9110=>{const _0x20294d=_0x17b055;return await _0x1495f8[_0x20294d(0x150)](performScanWithRetry,_0x498ca3,null,null,!![],_0x1c9110);};continue;case'3':_0x498ca3['getAccessibilityResults']=async()=>{const _0xb8bcc3=_0x17b055;return await AccessibilityHelper[_0xb8bcc3(0x136)](_0x498ca3);};continue;case'4':_0x498ca3[_0x17b055(0x13e)]=async _0x4589cb=>{const _0x54f7ea=_0x17b055;global['bstackA11yShouldScan']=!![],global[_0x54f7ea(0x15a)]=_0x1495f8[_0x54f7ea(0x111)](_0x4589cb,null);};continue;}break;}}}catch(_0x3fdb2a){logger[_0x17b055(0x117)](_0x17b055(0x142)+util[_0x17b055(0x154)](_0x3fdb2a));}return _0x530b73[_0x17b055(0x14d)](nestedKeyValue,global,[_0x530b73[_0x17b055(0x13d)]])&&(global[_0x17b055(0x11f)][_0x17b055(0x11c)]=_0x498ca3),_0x498ca3;};}});},exports[a43_0x54839e(0x113)]=()=>{const _0x411577=a43_0x54839e,_0xc34fd2={'lcvlC':function(_0x5a71a6,_0x46a809){return _0x5a71a6(_0x46a809);},'hOZPe':_0x411577(0x14e),'gjzap':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','QDtnF':_0x411577(0x127)};try{const _0x1779fb=requirePWModule['apply'](null,_0xc34fd2[_0x411577(0x12d)](getPlaywrightLibPath,_0xc34fd2[_0x411577(0x135)]));if(!_0x1779fb){logger[_0x411577(0x117)](_0xc34fd2[_0x411577(0x147)]);return;}const _0x339fd0=_0x1779fb[_0x411577(0x137)],_0x5e6e0f=_0x339fd0[_0x411577(0x13a)],_0x561010=_0x5e6e0f['_isWorkerRedundant'];Object[_0x411577(0x132)](_0x5e6e0f,_0xc34fd2[_0x411577(0x134)],{'get':function(){return function _0x57123e(){return _0x561010['apply'](this,arguments),!![];};}});}catch(_0x52e1d3){logger['debug'](_0x411577(0x13c)+util[_0x411577(0x154)](_0x52e1d3));}};
@@ -1 +1 @@
1
- const a44_0x40d738=a44_0x2035;(function(_0x268196,_0x130112){const _0x4b7683=a44_0x2035,_0x4931f5=_0x268196();while(!![]){try{const _0x5b1e87=parseInt(_0x4b7683(0x178))/0x1+-parseInt(_0x4b7683(0x148))/0x2*(-parseInt(_0x4b7683(0x182))/0x3)+-parseInt(_0x4b7683(0x11e))/0x4+-parseInt(_0x4b7683(0x147))/0x5*(-parseInt(_0x4b7683(0x10a))/0x6)+parseInt(_0x4b7683(0x183))/0x7*(parseInt(_0x4b7683(0x106))/0x8)+-parseInt(_0x4b7683(0x153))/0x9+-parseInt(_0x4b7683(0x1b6))/0xa;if(_0x5b1e87===_0x130112)break;else _0x4931f5['push'](_0x4931f5['shift']());}catch(_0x123666){_0x4931f5['push'](_0x4931f5['shift']());}}}(a44_0x29b0,0xf2a47));function a44_0x29b0(){const _0x5de24b=['toISOString','existsSync','HRAuB','../../v2/browserstackCLI','playwright/lib/transform/transform.js','HDgjE','PLAYWRIGHT','sendSessionDetails','afterTestHook','Trace\x20enabled','format','uploadTraceZip','Error\x20in\x20sending\x20trace\x20file:\x20%s','getInstance','6515396mUuINR','getLoadUtilsPath','Percentage\x20of\x20increased\x20time\x20is\x20','statSync','lofAr','endsWith','@playwright/test/lib/common/transform.js','pbQeS','sendTestLog','qzLmq','prototype','AXVlk','extname','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','pSjfx','lcIuQ','slice','LogCreated','onStepEnd','BCAsN','calculateTimesFromMultipleFiles','beforeWorkerHook','setupBrowserDetails','Found\x20key:\x20','ndFMS','beforeTestHook','RYjFs','ybYwA','onTestBegin','DScWZ','sendTraceZip','error','\x20in\x20attachments','resolve','TyzTE','getTransformPath','eptkY','basename','isRunning','env','../../../helpers/helper','10UiDXOw','86VxxXAk','lPYzm','qucog','./test-details','TEST_LOG','join','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','compareVersions','../../../helpers/test-observability/sessionHandler','YUCsd','length','9772821XWfnKi','LVzQI','testUId','IxVwt','Gplwb','1.38.0','AeHDg','winstonLogger','stack','size','@playwright/test/lib/common/configLoader.js','util','test','call','yMwSB','FjcDU','toLowerCase','getProjectUtilsPath','ERROR','wSiUS','FpwSE','xhsBt','match','sendEventData','dRypu','hmbmL','Searching\x20for\x20key:\x20','eEnut','IYgsC','YWRTX','wriOi','../../../helpers/logger','processPageScreenshot','onTestEnd','createReadStream','getFailureData','process.js','1501949NOkgvn','../../../helpers/test-observability/constants','hPzmb','vMNyH','calculatePerformance','message','@playwright/test','vkQPn','onStepBegin','QXCeL','115914aptKMp','56HpPoTu','filter','getTestRunIdentifier','addTraceFilePath','PUqHZ','DbuFs','jSRrQ','getTestIdentifier','performance-reporter.html','_projectId','EOLQP','find','Test\x20timeout\x20of','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','map','pKsef','gxmxl','atqaz','findNestedKey','startsWith','GyKKb','ZkTJh','getTestTags','START_TIME','EBzxi','tags','playwright/lib/common/configLoader.js','../../v2/TestInfo','\x20in\x20arguments','\x20bytes','haCWc','runner/projectUtils.js','doo11ySync','pyIIL','includes','1.35.0','wUKtY','playwright','performance-report-worker-','getPlaywrightLibPath','FCujp','JwMrf','debug','filePath','1.42.0','gTRwo','.json','chhZH','name','toString','onBegin','850700NVVWWS','invBd','qkuMm','trace','substr','stopAndGenerate','qtNrf','Kwzjz','.zip','1784OvOnOa','common','Arguments','wGDlR','1885452HwImoD','MuDpJ','WfvjX','../../../helpers/performance/performance-tester','title','endSession'];a44_0x29b0=function(){return _0x5de24b;};return a44_0x29b0();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a44_0x40d738(0x10d)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x40d738(0x179)),helper=require(a44_0x40d738(0x146)),path=require('path'),logger=require(a44_0x40d738(0x172))[a44_0x40d738(0x15a)],SessionHandler=require(a44_0x40d738(0x150)),TestDetails=require(a44_0x40d738(0x14b)),util=require(a44_0x40d738(0x15e)),TestInfo=require(a44_0x40d738(0x19e));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x8f54e4=a44_0x40d738,_0x20a69a={'WfvjX':function(_0x33a603,_0x631954){return _0x33a603(_0x631954);},'pSjfx':_0x8f54e4(0x113)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x20a69a[_0x8f54e4(0x10c)](require,_0x20a69a[_0x8f54e4(0x12c)])),BrowserstackCLIInstance;}function a44_0x2035(_0x2bbac0,_0x3f7425){const _0x29b09d=a44_0x29b0();return a44_0x2035=function(_0x203579,_0x29bfa8){_0x203579=_0x203579-0x106;let _0x2f79de=_0x29b09d[_0x203579];return _0x2f79de;},a44_0x2035(_0x2bbac0,_0x3f7425);}const getTagsFromTitle=_0x259f7d=>{const _0x124596=a44_0x40d738;return _0x259f7d[_0x124596(0x169)](/@(\w+)/g)?.[_0x124596(0x191)](_0x586fa3=>_0x586fa3[_0x124596(0x12e)](0x1))||[];};exports[a44_0x40d738(0x199)]=_0x3e2746=>{const _0x1a8713=a44_0x40d738,_0x53445a={'YUCsd':function(_0x1be4c9,_0x2f0fe6){return _0x1be4c9(_0x2f0fe6);}};if(_0x3e2746[_0x1a8713(0x19c)])return _0x3e2746[_0x1a8713(0x19c)][_0x1a8713(0x191)](_0xa95f40=>_0xa95f40[_0x1a8713(0x196)]('@')?_0xa95f40[_0x1a8713(0x1ba)](0x1):_0xa95f40);return _0x53445a[_0x1a8713(0x151)](getTagsFromTitle,_0x3e2746[_0x1a8713(0x10e)]);},exports[a44_0x40d738(0x17c)]=async()=>{const _0x57a065=a44_0x40d738,_0x2e2ff9={'TyzTE':function(_0x1ec527,_0x2a518c){return _0x1ec527-_0x2a518c;},'yuExD':_0x57a065(0x18b),'mdVsM':_0x57a065(0x1b5),'qucog':_0x57a065(0x10f),'FcjUm':_0x57a065(0x13a),'IxVwt':_0x57a065(0x174),'Gplwb':_0x57a065(0x180),'LXBWO':_0x57a065(0x130),'mHgrZ':_0x57a065(0x133),'BCAsN':'afterWorkerHook','lofAr':_0x57a065(0x137),'RYjFs':_0x57a065(0x118),'pbQeS':_0x57a065(0x1a3),'DPqjn':_0x57a065(0x173),'qzLmq':_0x57a065(0x117),'wUKtY':_0x57a065(0x134),'lcIuQ':'requestSpyCallback','xhsBt':_0x57a065(0x126),'YWRTX':function(_0xa45a3a,_0x3b65fa){return _0xa45a3a(_0x3b65fa);},'hmbmL':function(_0x4b3b81,_0x50b615){return _0x4b3b81/_0x50b615;},'wriOi':function(_0x44da5e,_0x17bdc8){return _0x44da5e+_0x17bdc8;},'JwMrf':function(_0x3181eb,_0x8e9929){return _0x3181eb(_0x8e9929);},'DScWZ':function(_0x303d2c,_0x2a97d7){return _0x303d2c*_0x2a97d7;},'lPYzm':function(_0x429467,_0x2ea978){return _0x429467/_0x2ea978;}};if(!process[_0x57a065(0x145)][_0x57a065(0x19a)])return;const _0x4f91b5=_0x2e2ff9[_0x57a065(0x140)](new Date()['getTime'](),new Date(process['env'][_0x57a065(0x19a)])['getTime']()),_0x175af0=await PerformanceTester[_0x57a065(0x1bb)](_0x2e2ff9['yuExD'],[_0x2e2ff9['mdVsM'],_0x2e2ff9[_0x57a065(0x14a)],_0x2e2ff9['FcjUm'],_0x2e2ff9[_0x57a065(0x156)],_0x2e2ff9[_0x57a065(0x157)],_0x2e2ff9['LXBWO']]),_0x2d75b3=fs['readdirSync']('.'),_0x23ba28=_0x2d75b3[_0x57a065(0x184)](_0x59a2db=>_0x59a2db['startsWith'](_0x57a065(0x1a9))&&_0x59a2db[_0x57a065(0x123)](_0x57a065(0x1b1))),_0x1a9c4b=await PerformanceTester[_0x57a065(0x132)](_0x23ba28,[_0x2e2ff9['mHgrZ'],_0x2e2ff9[_0x57a065(0x131)],_0x2e2ff9[_0x57a065(0x122)],_0x2e2ff9[_0x57a065(0x138)],_0x2e2ff9[_0x57a065(0x125)],_0x2e2ff9['DPqjn'],_0x2e2ff9[_0x57a065(0x127)],_0x2e2ff9[_0x57a065(0x1a7)],_0x2e2ff9[_0x57a065(0x12d)],_0x2e2ff9[_0x57a065(0x168)]]);_0x2e2ff9[_0x57a065(0x170)](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x2e2ff9[_0x57a065(0x16c)](_0x4f91b5,0x3e8)+'\x20s'),_0x2e2ff9[_0x57a065(0x170)](debug,_0x57a065(0x14e)+_0x2e2ff9[_0x57a065(0x171)](_0x1a9c4b,_0x175af0)),_0x2e2ff9[_0x57a065(0x1ac)](debug,_0x57a065(0x120)+_0x2e2ff9[_0x57a065(0x13b)](_0x2e2ff9[_0x57a065(0x149)](_0x2e2ff9[_0x57a065(0x171)](_0x1a9c4b,_0x175af0),_0x4f91b5),0x64));},exports[a44_0x40d738(0x141)]=()=>{const _0x509999=a44_0x40d738,_0x4572ef={'PKwvF':function(_0x52a057,_0x1ddb3c){return _0x52a057(_0x1ddb3c);},'qtNrf':function(_0xe4ead,_0x2174bc){return _0xe4ead>=_0x2174bc;},'wGDlR':_0x509999(0x158),'LVzQI':_0x509999(0x114),'REWYX':_0x509999(0x1a8),'atqaz':function(_0x2f72ef,_0x38fac8){return _0x2f72ef>=_0x38fac8;},'Kwzjz':_0x509999(0x1a6),'HRAuB':'@playwright/test/lib/transform/transform.js','EBzxi':'@playwright/test','Yvzhj':_0x509999(0x124)},_0x591df7=_0x4572ef['PKwvF'](getFrameworkVersion,FRAMEWORKS[_0x509999(0x116)]);if(_0x4572ef[_0x509999(0x1bc)](helper['compareVersions'](_0x591df7,_0x4572ef[_0x509999(0x109)]),0x0))return[_0x4572ef[_0x509999(0x154)],_0x4572ef['REWYX']];if(_0x4572ef[_0x509999(0x194)](helper[_0x509999(0x14f)](_0x591df7,_0x4572ef[_0x509999(0x1bd)]),0x0))return[_0x4572ef[_0x509999(0x112)],_0x4572ef[_0x509999(0x19b)]];return[_0x4572ef['Yvzhj'],_0x4572ef[_0x509999(0x19b)]];},exports['getConfigLoaderPath']=()=>{const _0x12c632=a44_0x40d738,_0x363024={'EOLQP':function(_0x5061a6,_0x13617e){return _0x5061a6(_0x13617e);},'chhZH':function(_0xfbc045,_0x456ce9){return _0xfbc045>=_0x456ce9;},'MuDpJ':_0x12c632(0x158),'uDCSk':_0x12c632(0x19d),'GyKKb':_0x12c632(0x1a8),'amowp':_0x12c632(0x15d),'FpwSE':_0x12c632(0x17e)},_0x4fbc42=_0x363024[_0x12c632(0x18d)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x363024[_0x12c632(0x1b2)](helper[_0x12c632(0x14f)](_0x4fbc42,_0x363024[_0x12c632(0x10b)]),0x0))return[_0x363024['uDCSk'],_0x363024[_0x12c632(0x197)]];return[_0x363024['amowp'],_0x363024[_0x12c632(0x167)]];},exports[a44_0x40d738(0x11f)]=()=>{const _0x57972=a44_0x40d738,_0x2a87f2={};_0x2a87f2[_0x57972(0x129)]='runner/loadUtils.js';const _0x1b1d81=_0x2a87f2;return helper[_0x57972(0x1aa)](_0x1b1d81[_0x57972(0x129)]);},exports[a44_0x40d738(0x164)]=()=>{const _0x2d89f7=a44_0x40d738,_0x4e44f1={};_0x4e44f1[_0x2d89f7(0x142)]=_0x2d89f7(0x1a2);const _0x5ded01=_0x4e44f1;return helper['getPlaywrightLibPath'](_0x5ded01['eptkY']);},exports['getForkProcessPath']=()=>{const _0x30e792=a44_0x40d738,_0x4e04ae={'pyIIL':function(_0x30b96e,_0x3530e1){return _0x30b96e(_0x3530e1);},'WNZOo':function(_0x5efadd,_0x4a0049){return _0x5efadd>=_0x4a0049;},'bBxZZ':_0x30e792(0x158),'ZkTJh':'lib','dRypu':_0x30e792(0x107),'vkQPn':_0x30e792(0x177),'haCWc':_0x30e792(0x15f)},_0x2f5c26=_0x4e04ae[_0x30e792(0x1a4)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x4e04ae['WNZOo'](helper[_0x30e792(0x14f)](_0x2f5c26,_0x4e04ae['bBxZZ']),0x0))return path[_0x30e792(0x14d)](_0x4e04ae[_0x30e792(0x198)],_0x4e04ae['dRypu'],_0x4e04ae[_0x30e792(0x17f)]);return path[_0x30e792(0x14d)](_0x4e04ae[_0x30e792(0x1a1)],_0x4e04ae['ZkTJh'],_0x4e04ae[_0x30e792(0x16b)],_0x4e04ae['vkQPn']);},exports[a44_0x40d738(0x176)]=(_0xb5c418,{test_run_uuid:_0x3fb25d})=>{const _0x21c40=a44_0x40d738,_0x4c35e8={'hPzmb':_0x21c40(0x165),'ndFMS':_0x21c40(0x14c),'DFzMk':function(_0x46b3fb,_0x421109){return _0x46b3fb<=_0x421109;},'PUqHZ':function(_0x4cc814,_0x3a636d){return _0x4cc814(_0x3a636d);},'GIQOi':_0x21c40(0x18f),'vMNyH':function(_0x1c924e,_0x412fee){return _0x1c924e(_0x412fee);},'FSZSA':function(_0xd7e4a2,_0x1161f9){return _0xd7e4a2>=_0x1161f9;},'NOsGu':_0x21c40(0x1af),'wSiUS':function(_0x1fcfc0,_0x5e88ac){return _0x1fcfc0>_0x5e88ac;},'IYgsC':function(_0x3e05fe,_0x5c8951,_0x1ce32e){return _0x3e05fe(_0x5c8951,_0x1ce32e);},'eEnut':_0x21c40(0x15f)};if(!_0xb5c418||_0x4c35e8['DFzMk'](_0xb5c418[_0x21c40(0x152)],0x0))return[];const _0x2f7670=_0x4c35e8[_0x21c40(0x187)](removeAnsiColors,_0xb5c418[0x0][_0x21c40(0x17d)]);if(_0x2f7670['startsWith'](_0x4c35e8['GIQOi'])){const _0xd013a1=_0xb5c418[0x0],_0x4c0c02=_0x4c35e8[_0x21c40(0x17b)](getFrameworkVersion,FRAMEWORKS[_0x21c40(0x116)]);if((!_0xd013a1[_0x21c40(0x15b)]||_0x4c35e8['FSZSA'](_0x4c0c02,_0x4c35e8['NOsGu']))&&_0x4c35e8[_0x21c40(0x166)](_0xb5c418[_0x21c40(0x152)],0x1))return{'failureData':[{'backtrace':[_0x2f7670,_0x4c35e8['PUqHZ'](removeAnsiColors,_0xb5c418[0x1][_0x21c40(0x15b)])]}],'logs':_0xb5c418[_0x21c40(0x12e)](0x2)[_0x21c40(0x191)](_0x3983ed=>{const _0x298210=_0x21c40;return{'timestamp':new Date()[_0x298210(0x110)](),'level':_0x4c35e8[_0x298210(0x17a)],'message':''+_0x3983ed[_0x298210(0x17d)],'kind':_0x4c35e8[_0x298210(0x136)],'http_response':{},'test_run_uuid':_0x3fb25d};})};}return{'failureData':_0x4c35e8[_0x21c40(0x16f)](failureData,_0xb5c418,_0x4c35e8[_0x21c40(0x16e)]),'logs':[]};},exports['validateFilePath']=_0x431a29=>{const _0x36817a=a44_0x40d738,_0x484a1b={};_0x484a1b['FjcDU']=function(_0x3c9a46,_0x1136cc){return _0x3c9a46!==_0x1136cc;},_0x484a1b['invBd']=_0x36817a(0x1be),_0x484a1b['GPQRe']=function(_0x16186c,_0xae647b){return _0x16186c>_0xae647b;};const _0x58b9aa=_0x484a1b;if(_0x431a29&&fs[_0x36817a(0x111)](_0x431a29)){if(_0x58b9aa[_0x36817a(0x162)](path[_0x36817a(0x12a)](_0x431a29)[_0x36817a(0x163)](),_0x58b9aa[_0x36817a(0x1b7)]))return logger[_0x36817a(0x13d)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x431a29),![];const _0x36afc0=fs[_0x36817a(0x121)](_0x431a29)[_0x36817a(0x15c)];if(_0x58b9aa['GPQRe'](_0x36afc0,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x36817a(0x190)+_0x36afc0+_0x36817a(0x1a0)),![];return!![];}return![];},exports[a44_0x40d738(0x195)]=(_0x3eb428,_0x462f06)=>{const _0x2c01c6=a44_0x40d738,_0x3e6ed8={};_0x3e6ed8[_0x2c01c6(0x189)]=_0x2c01c6(0x108);const _0x4472a8=_0x3e6ed8;logger[_0x2c01c6(0x1ad)](_0x2c01c6(0x16d)+_0x462f06);if(_0x3eb428&&_0x3eb428['attachments']){const _0x210535=_0x3eb428['attachments'][_0x2c01c6(0x18e)](_0x15bb1a=>_0x15bb1a[_0x2c01c6(0x1b3)]===_0x2c01c6(0x1b9));if(_0x210535)return logger[_0x2c01c6(0x1ad)]('Found\x20key:\x20'+_0x462f06+_0x2c01c6(0x13e)),_0x210535[_0x462f06];}else{if(_0x3eb428&&Object[_0x2c01c6(0x128)][_0x2c01c6(0x1b4)][_0x2c01c6(0x160)](_0x3eb428)[_0x2c01c6(0x1a5)](_0x4472a8[_0x2c01c6(0x189)]))for(const _0x52130b of _0x3eb428){if(_0x52130b[_0x462f06])return logger['debug'](_0x2c01c6(0x135)+_0x462f06+_0x2c01c6(0x19f)),_0x52130b[_0x462f06];}};return'';},exports[a44_0x40d738(0x11b)]=async(_0x59337b,_0x503842)=>{const _0x58fa36=a44_0x40d738,_0x16acc3={};_0x16acc3[_0x58fa36(0x115)]=_0x58fa36(0x12f),_0x16acc3[_0x58fa36(0x1ab)]='TEST_ATTACHMENT',_0x16acc3[_0x58fa36(0x188)]=_0x58fa36(0x13c),_0x16acc3[_0x58fa36(0x181)]=_0x58fa36(0x11c);const _0x53598b=_0x16acc3;try{const _0x350f22={'event_type':_0x53598b[_0x58fa36(0x115)],'logs':[{'data':_0x59337b?fs[_0x58fa36(0x175)](_0x59337b):'','test_run_uuid':_0x503842,'kind':_0x53598b[_0x58fa36(0x1ab)],'fileName':_0x59337b?path[_0x58fa36(0x143)](_0x59337b):''}]};return await SessionHandler[_0x58fa36(0x16a)](_0x350f22,0x0,_0x53598b[_0x58fa36(0x188)]);}catch(_0xe04f9a){logger[_0x58fa36(0x13d)](util[_0x58fa36(0x11a)](_0x53598b['QXCeL'],_0xe04f9a));}},exports[a44_0x40d738(0x13c)]=async(_0x59950b,_0x1971f3)=>{const _0x184716=a44_0x40d738,_0x5bf1e1={'AeHDg':'path','qkuMm':_0x184716(0x119),'gxmxl':function(_0x58c257){return _0x58c257();},'GpIfH':_0x184716(0x11c)};try{logger[_0x184716(0x1ad)](_0x184716(0x12b)+_0x1971f3);let _0x3210ed=await exports[_0x184716(0x195)](_0x59950b,_0x5bf1e1[_0x184716(0x159)]);if(exports['validateFilePath'](_0x3210ed)){logger[_0x184716(0x1ad)](_0x5bf1e1[_0x184716(0x1b8)]),_0x3210ed=path[_0x184716(0x13f)](_0x3210ed);const _0x3acb25={};_0x3acb25[_0x184716(0x155)]=_0x1971f3,_0x3acb25[_0x184716(0x1ae)]=_0x3210ed;const _0x4bb571=_0x3acb25;_0x5bf1e1[_0x184716(0x193)](getBrowserstackCLI)[_0x184716(0x11d)]()[_0x184716(0x144)]()?TestInfo[_0x184716(0x186)](_0x4bb571):TestDetails['addTraceFilePath'](_0x4bb571);};}catch(_0x40d76a){logger[_0x184716(0x13d)](util[_0x184716(0x11a)](_0x5bf1e1['GpIfH'],_0x40d76a));}},exports[a44_0x40d738(0x18a)]=_0x32e50=>{const _0x2d7a4d=a44_0x40d738,_0x575023={};_0x575023[_0x2d7a4d(0x161)]=function(_0x29a539,_0x2bf91b){return _0x29a539+_0x2bf91b;},_0x575023[_0x2d7a4d(0x1b0)]=function(_0x3abd58,_0xb4dcf2){return _0x3abd58+_0xb4dcf2;};const _0x45ac4f=_0x575023;return _0x45ac4f[_0x2d7a4d(0x161)](_0x45ac4f[_0x2d7a4d(0x1b0)](_0x32e50[_0x2d7a4d(0x18c)],'-'),_0x32e50['id']);},exports[a44_0x40d738(0x185)]=(_0x197374,_0x46f282)=>{const _0x3617f8=a44_0x40d738,_0x1218b3={};_0x1218b3[_0x3617f8(0x192)]=function(_0x3ea78d,_0x682f7d){return _0x3ea78d+_0x682f7d;},_0x1218b3['ybYwA']=function(_0x42d8c9,_0x4f7558){return _0x42d8c9+_0x4f7558;};const _0x92f08e=_0x1218b3;return _0x92f08e[_0x3617f8(0x192)](_0x92f08e[_0x3617f8(0x139)](_0x197374['id'],'-'),_0x46f282);};
1
+ function a44_0x357f(_0x131689,_0x13d7eb){const _0x206d27=a44_0x206d();return a44_0x357f=function(_0x357ffd,_0x1d147f){_0x357ffd=_0x357ffd-0x156;let _0x2ed405=_0x206d27[_0x357ffd];return _0x2ed405;},a44_0x357f(_0x131689,_0x13d7eb);}const a44_0x193d76=a44_0x357f;function a44_0x206d(){const _0x7b83=['getTransformPath','dZbJQ','schwn','../../../helpers/performance/performance-tester','HobZG','sendTraceZip','../../../helpers/test-observability/utils','DlXUQ','XKGKz','path','MtSnF','PCxov','substr','93356ChyAOO','PLAYWRIGHT','START_TIME','basename','AAwxg','uxlTQ','stack','WEjle','Bqixt','createReadStream','rYwIJ','trace','6XOboIX','validateFilePath','cvxYY','GXSUz','@playwright/test','_projectId','length','TEST_ATTACHMENT','AKRtZ','../../../helpers/test-observability/sessionHandler','map','Total\x20duration\x20for\x20whole\x20build\x20is\x20','VANCO','winstonLogger','Trace\x20enabled','VyNaw','cohTC','../../../helpers/helper','wuGaT','util','getProjectUtilsPath','../../../helpers/test-observability/constants','error','format','onStepEnd','getInstance','resolve','Test\x20timeout\x20of','tAcua','isRunning','DKdKK','11ifeFGf','NKjAF','1.42.0','getTestTags','performance-report-worker-','calculateTimesFromMultipleFiles','244716uloHYu','HcBLz','toLowerCase','getFailureData','./test-details','LogCreated','ERROR','YzRTI','IoLgL','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','OXmUh','wrsFK','sKLIi','endSession','Searching\x20for\x20key:\x20','setupBrowserDetails','.zip','DybLx','acEIL','getForkProcessPath','HYMTb','wiOCz','compareVersions','calculatePerformance','1017174rCKOzA','getTestIdentifier','WkjkJ','attachments','getPlaywrightLibPath','prototype','lfhwH','@playwright/test/lib/common/configLoader.js','filePath','cgIXA','HlTxS','100120MphDUs','wbYwM','WlSLe','debug','153528isnDcv','\x20bytes','getTime','Error\x20in\x20sending\x20trace\x20file:\x20%s','UqFOp','gvmgb','env','153qhMMcP','performance-reporter.html','getConfigLoaderPath','AfszI','doo11ySync','1.35.0','playwright/lib/transform/transform.js','test','HpAwR','message','slice','iVyLD','USOEB','tDPAG','1.38.0','readdirSync','WRvID','UFaov','SpRvE','CjxWs','26961aqTyAH','Ltyxy','klrFA','IWxIB','join','statSync','TEST_LOG','Dalzs','startsWith','includes','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','uploadTraceZip','title','stopAndGenerate','vBvCy','toISOString','Percentage\x20of\x20increased\x20time\x20is\x20','MSIat','5FnPRUh','getLoadUtilsPath','name','maLKv','Found\x20key:\x20','playwright','7uoFNFG','onTestEnd','addTraceFilePath','../../../helpers/logger','hbZKy','tags','JzgLD','Arguments','findNestedKey','lOAEu','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','common','VahFq','nhnlF','runner/projectUtils.js','595768SWYZcx','@playwright/test/lib/transform/transform.js','xYYlU','lib','.json','afterTestHook','PNlMJ','testUId','HGIqu','onBegin'];a44_0x206d=function(){return _0x7b83;};return a44_0x206d();}(function(_0x14d278,_0x3a3130){const _0x10dc0d=a44_0x357f,_0x55163f=_0x14d278();while(!![]){try{const _0x3b3a73=parseInt(_0x10dc0d(0x1ab))/0x1+parseInt(_0x10dc0d(0x1e9))/0x2*(-parseInt(_0x10dc0d(0x1f5))/0x3)+-parseInt(_0x10dc0d(0x1d2))/0x4*(-parseInt(_0x10dc0d(0x1bd))/0x5)+-parseInt(_0x10dc0d(0x181))/0x6+-parseInt(_0x10dc0d(0x1c3))/0x7*(-parseInt(_0x10dc0d(0x190))/0x8)+parseInt(_0x10dc0d(0x197))/0x9*(parseInt(_0x10dc0d(0x18c))/0xa)+-parseInt(_0x10dc0d(0x163))/0xb*(-parseInt(_0x10dc0d(0x169))/0xc);if(_0x3b3a73===_0x3a3130)break;else _0x55163f['push'](_0x55163f['shift']());}catch(_0x432e8e){_0x55163f['push'](_0x55163f['shift']());}}}(a44_0x206d,0x1dfb6));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x193d76(0x1e2)),PerformanceTester=require(a44_0x193d76(0x1df)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x193d76(0x159)),helper=require(a44_0x193d76(0x206)),path=require(a44_0x193d76(0x1e5)),logger=require(a44_0x193d76(0x1c6))[a44_0x193d76(0x202)],SessionHandler=require(a44_0x193d76(0x1fe)),TestDetails=require(a44_0x193d76(0x16d)),util=require(a44_0x193d76(0x157)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x477fdc=a44_0x193d76,_0xce4aa5={'tAcua':function(_0x7072b8,_0x5c7c85){return _0x7072b8(_0x5c7c85);},'uxlTQ':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0xce4aa5[_0x477fdc(0x160)](require,_0xce4aa5[_0x477fdc(0x1ee)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x525a24=>{const _0x3e9bc4=a44_0x193d76;return _0x525a24['match'](/@(\w+)/g)?.['map'](_0x1a6dee=>_0x1a6dee[_0x3e9bc4(0x1a1)](0x1))||[];};exports[a44_0x193d76(0x166)]=_0x20d477=>{const _0x10885f=a44_0x193d76,_0x10bcae={'XKGKz':function(_0x3c32d4,_0x54291e){return _0x3c32d4(_0x54291e);}};if(_0x20d477['tags'])return _0x20d477[_0x10885f(0x1c8)][_0x10885f(0x1ff)](_0x214e01=>_0x214e01[_0x10885f(0x1b3)]('@')?_0x214e01[_0x10885f(0x1e8)](0x1):_0x214e01);return _0x10bcae[_0x10885f(0x1e4)](getTagsFromTitle,_0x20d477[_0x10885f(0x1b7)]);},exports[a44_0x193d76(0x180)]=async()=>{const _0x23eb1d=a44_0x193d76,_0x570508={'nhnlF':function(_0x69e342,_0x26aa91){return _0x69e342-_0x26aa91;},'hHOkL':_0x23eb1d(0x198),'hazZN':_0x23eb1d(0x1db),'AfszI':_0x23eb1d(0x176),'WRvID':'onTestBegin','maLKv':_0x23eb1d(0x1c4),'VHpha':'onStepBegin','HobZG':_0x23eb1d(0x15c),'UqFOp':'beforeWorkerHook','dpPrR':'afterWorkerHook','WlSLe':'beforeTestHook','Dalzs':_0x23eb1d(0x1d7),'vBFFQ':_0x23eb1d(0x19b),'WEjle':'processPageScreenshot','VANCO':'sendSessionDetails','xkilr':_0x23eb1d(0x178),'PNlMJ':'requestSpyCallback','USOEB':'sendTestLog','gvmgb':function(_0x1686c7,_0xa404c3){return _0x1686c7(_0xa404c3);},'cgIXA':function(_0xe2c3e6,_0x5ab5c7){return _0xe2c3e6/_0x5ab5c7;},'Ltyxy':function(_0x18d0e1,_0x38b3ec){return _0x18d0e1(_0x38b3ec);},'cohTC':function(_0x10ed4d,_0x2c9ec9){return _0x10ed4d+_0x2c9ec9;},'wiOCz':function(_0x1997dc,_0x38cc68){return _0x1997dc*_0x38cc68;},'HGIqu':function(_0x5f0d10,_0x21336a){return _0x5f0d10/_0x21336a;},'IWxIB':function(_0x582947,_0x36eab0){return _0x582947+_0x36eab0;}};if(!process[_0x23eb1d(0x196)][_0x23eb1d(0x1eb)])return;const _0x205f8b=_0x570508[_0x23eb1d(0x1d0)](new Date()[_0x23eb1d(0x192)](),new Date(process[_0x23eb1d(0x196)][_0x23eb1d(0x1eb)])[_0x23eb1d(0x192)]()),_0x138f94=await PerformanceTester[_0x23eb1d(0x1b8)](_0x570508['hHOkL'],[_0x570508['hazZN'],_0x570508[_0x23eb1d(0x19a)],_0x570508[_0x23eb1d(0x1a7)],_0x570508[_0x23eb1d(0x1c0)],_0x570508['VHpha'],_0x570508[_0x23eb1d(0x1e0)]]),_0x3adb23=fs[_0x23eb1d(0x1a6)]('.'),_0x2256bc=_0x3adb23['filter'](_0x300cac=>_0x300cac['startsWith'](_0x23eb1d(0x167))&&_0x300cac['endsWith'](_0x23eb1d(0x1d6))),_0x19a7ac=await PerformanceTester[_0x23eb1d(0x168)](_0x2256bc,[_0x570508[_0x23eb1d(0x194)],_0x570508['dpPrR'],_0x570508[_0x23eb1d(0x18e)],_0x570508[_0x23eb1d(0x1b2)],_0x570508['vBFFQ'],_0x570508[_0x23eb1d(0x1f0)],_0x570508[_0x23eb1d(0x201)],_0x570508['xkilr'],_0x570508[_0x23eb1d(0x1d8)],_0x570508[_0x23eb1d(0x1a3)]]);_0x570508[_0x23eb1d(0x195)](debug,_0x23eb1d(0x200)+_0x570508[_0x23eb1d(0x18a)](_0x205f8b,0x3e8)+'\x20s'),_0x570508[_0x23eb1d(0x1ac)](debug,_0x23eb1d(0x1cd)+_0x570508[_0x23eb1d(0x205)](_0x19a7ac,_0x138f94)),_0x570508[_0x23eb1d(0x1ac)](debug,_0x23eb1d(0x1bb)+_0x570508[_0x23eb1d(0x17e)](_0x570508[_0x23eb1d(0x1da)](_0x570508[_0x23eb1d(0x1ae)](_0x19a7ac,_0x138f94),_0x205f8b),0x64));},exports[a44_0x193d76(0x1dc)]=()=>{const _0x38e4b4=a44_0x193d76,_0x422019={'NKjAF':function(_0x51afa1,_0x12b0c4){return _0x51afa1(_0x12b0c4);},'lfhwH':function(_0x337b33,_0x238460){return _0x337b33>=_0x238460;},'klrFA':_0x38e4b4(0x1a5),'tDPAG':_0x38e4b4(0x19d),'QMifc':_0x38e4b4(0x1c2),'DybLx':_0x38e4b4(0x19c),'AAwxg':_0x38e4b4(0x1d3),'AKRtZ':_0x38e4b4(0x1f9),'IoLgL':'@playwright/test/lib/common/transform.js'},_0x267e85=_0x422019[_0x38e4b4(0x164)](getFrameworkVersion,FRAMEWORKS[_0x38e4b4(0x1ea)]);if(_0x422019[_0x38e4b4(0x187)](helper['compareVersions'](_0x267e85,_0x422019[_0x38e4b4(0x1ad)]),0x0))return[_0x422019[_0x38e4b4(0x1a4)],_0x422019['QMifc']];if(_0x422019[_0x38e4b4(0x187)](helper[_0x38e4b4(0x17f)](_0x267e85,_0x422019[_0x38e4b4(0x17a)]),0x0))return[_0x422019[_0x38e4b4(0x1ed)],_0x422019['AKRtZ']];return[_0x422019[_0x38e4b4(0x171)],_0x422019[_0x38e4b4(0x1fd)]];},exports[a44_0x193d76(0x199)]=()=>{const _0x51b2e5=a44_0x193d76,_0xad5c13={'lOAEu':function(_0x16657c,_0x9071e4){return _0x16657c(_0x9071e4);},'UFaov':function(_0x554089,_0x4f8ed5){return _0x554089>=_0x4f8ed5;},'Bqixt':_0x51b2e5(0x1a5),'StVKD':'playwright/lib/common/configLoader.js','cdSLs':'playwright','YMKaI':_0x51b2e5(0x188),'UHMqx':'@playwright/test'},_0x4dae0a=_0xad5c13[_0x51b2e5(0x1cc)](getFrameworkVersion,FRAMEWORKS[_0x51b2e5(0x1ea)]);if(_0xad5c13[_0x51b2e5(0x1a8)](helper[_0x51b2e5(0x17f)](_0x4dae0a,_0xad5c13[_0x51b2e5(0x1f1)]),0x0))return[_0xad5c13['StVKD'],_0xad5c13['cdSLs']];return[_0xad5c13['YMKaI'],_0xad5c13['UHMqx']];},exports[a44_0x193d76(0x1be)]=()=>{const _0x3cd8e3=a44_0x193d76,_0x2ecbb2={};_0x2ecbb2[_0x3cd8e3(0x1b9)]='runner/loadUtils.js';const _0x48d700=_0x2ecbb2;return helper['getPlaywrightLibPath'](_0x48d700[_0x3cd8e3(0x1b9)]);},exports[a44_0x193d76(0x158)]=()=>{const _0x349b26=a44_0x193d76,_0x568f28={};_0x568f28[_0x349b26(0x1aa)]=_0x349b26(0x1d1);const _0x185dca=_0x568f28;return helper[_0x349b26(0x185)](_0x185dca['CjxWs']);},exports[a44_0x193d76(0x17c)]=()=>{const _0x425dbd=a44_0x193d76,_0x4c13a6={'ZuNok':function(_0x2d504c,_0x3df70e){return _0x2d504c(_0x3df70e);},'DlXUQ':function(_0x130a23,_0xc71dc6){return _0x130a23>=_0xc71dc6;},'sKLIi':_0x425dbd(0x1a5),'MtSnF':_0x425dbd(0x1d5),'GXSUz':_0x425dbd(0x1ce),'MSIat':'process.js','HlTxS':_0x425dbd(0x19e)},_0x30185f=_0x4c13a6['ZuNok'](getFrameworkVersion,FRAMEWORKS[_0x425dbd(0x1ea)]);if(_0x4c13a6[_0x425dbd(0x1e3)](helper[_0x425dbd(0x17f)](_0x30185f,_0x4c13a6[_0x425dbd(0x175)]),0x0))return path[_0x425dbd(0x1af)](_0x4c13a6['MtSnF'],_0x4c13a6['GXSUz'],_0x4c13a6[_0x425dbd(0x1bc)]);return path['join'](_0x4c13a6[_0x425dbd(0x18b)],_0x4c13a6[_0x425dbd(0x1e6)],_0x4c13a6[_0x425dbd(0x1f8)],_0x4c13a6[_0x425dbd(0x1bc)]);},exports[a44_0x193d76(0x16c)]=(_0x274968,{test_run_uuid:_0x67dd32})=>{const _0x52b5c7=a44_0x193d76,_0x2b8952={'dZbJQ':_0x52b5c7(0x16f),'daluA':_0x52b5c7(0x1b1),'HYMTb':function(_0x10315d,_0xa7e137){return _0x10315d<=_0xa7e137;},'hbZKy':function(_0x15a102,_0x4e5ae5){return _0x15a102(_0x4e5ae5);},'jwCqc':_0x52b5c7(0x15f),'wuGaT':function(_0x53e5d0,_0x4a2867){return _0x53e5d0(_0x4a2867);},'iVyLD':function(_0x11bdc3,_0x168940){return _0x11bdc3>=_0x168940;},'HpAwR':_0x52b5c7(0x165),'SpRvE':function(_0x5a3ce3,_0x36c5ff){return _0x5a3ce3>_0x36c5ff;},'YzRTI':function(_0x1907eb,_0x33f7f7,_0xae5d0e){return _0x1907eb(_0x33f7f7,_0xae5d0e);},'JzgLD':_0x52b5c7(0x19e)};if(!_0x274968||_0x2b8952[_0x52b5c7(0x17d)](_0x274968[_0x52b5c7(0x1fb)],0x0))return[];const _0xfd4e0f=_0x2b8952[_0x52b5c7(0x1c7)](removeAnsiColors,_0x274968[0x0][_0x52b5c7(0x1a0)]);if(_0xfd4e0f[_0x52b5c7(0x1b3)](_0x2b8952['jwCqc'])){const _0x3be061=_0x274968[0x0],_0x477d07=_0x2b8952['wuGaT'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x3be061[_0x52b5c7(0x1ef)]||_0x2b8952[_0x52b5c7(0x1a2)](_0x477d07,_0x2b8952[_0x52b5c7(0x19f)]))&&_0x2b8952[_0x52b5c7(0x1a9)](_0x274968[_0x52b5c7(0x1fb)],0x1))return{'failureData':[{'backtrace':[_0xfd4e0f,_0x2b8952[_0x52b5c7(0x156)](removeAnsiColors,_0x274968[0x1][_0x52b5c7(0x1ef)])]}],'logs':_0x274968[_0x52b5c7(0x1a1)](0x2)[_0x52b5c7(0x1ff)](_0x5c82cf=>{const _0x244303=_0x52b5c7;return{'timestamp':new Date()[_0x244303(0x1ba)](),'level':_0x2b8952[_0x244303(0x1dd)],'message':''+_0x5c82cf['message'],'kind':_0x2b8952['daluA'],'http_response':{},'test_run_uuid':_0x67dd32};})};}return{'failureData':_0x2b8952[_0x52b5c7(0x170)](failureData,_0x274968,_0x2b8952[_0x52b5c7(0x1c9)]),'logs':[]};},exports[a44_0x193d76(0x1f6)]=_0x120cd3=>{const _0x1973d5=a44_0x193d76,_0x1547e9={};_0x1547e9[_0x1973d5(0x1d4)]=function(_0x26f16a,_0x507a71){return _0x26f16a!==_0x507a71;},_0x1547e9[_0x1973d5(0x174)]=_0x1973d5(0x179),_0x1547e9[_0x1973d5(0x183)]=function(_0x594487,_0x219513){return _0x594487>_0x219513;};const _0x1d277c=_0x1547e9;if(_0x120cd3&&fs['existsSync'](_0x120cd3)){if(_0x1d277c['xYYlU'](path['extname'](_0x120cd3)[_0x1973d5(0x16b)](),_0x1d277c['wrsFK']))return logger['error'](_0x1973d5(0x1b5)+_0x120cd3),![];const _0x305671=fs[_0x1973d5(0x1b0)](_0x120cd3)['size'];if(_0x1d277c[_0x1973d5(0x183)](_0x305671,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x1973d5(0x15a)](_0x1973d5(0x172)+_0x305671+_0x1973d5(0x191)),![];return!![];}return![];},exports[a44_0x193d76(0x1cb)]=(_0x410a62,_0x33e680)=>{const _0x4eda9f=a44_0x193d76,_0x74cf09={};_0x74cf09[_0x4eda9f(0x18d)]=_0x4eda9f(0x1ca);const _0xa0a4cc=_0x74cf09;logger[_0x4eda9f(0x18f)](_0x4eda9f(0x177)+_0x33e680);if(_0x410a62&&_0x410a62[_0x4eda9f(0x184)]){const _0x252ff8=_0x410a62[_0x4eda9f(0x184)]['find'](_0x43dca8=>_0x43dca8[_0x4eda9f(0x1bf)]===_0x4eda9f(0x1f4));if(_0x252ff8)return logger['debug'](_0x4eda9f(0x1c1)+_0x33e680+'\x20in\x20attachments'),_0x252ff8[_0x33e680];}else{if(_0x410a62&&Object[_0x4eda9f(0x186)]['toString']['call'](_0x410a62)[_0x4eda9f(0x1b4)](_0xa0a4cc['wbYwM']))for(const _0x10dc88 of _0x410a62){if(_0x10dc88[_0x33e680])return logger[_0x4eda9f(0x18f)](_0x4eda9f(0x1c1)+_0x33e680+'\x20in\x20arguments'),_0x10dc88[_0x33e680];}};return'';},exports[a44_0x193d76(0x1b6)]=async(_0x29220e,_0x755d90)=>{const _0xde64ee=a44_0x193d76,_0xc077d7={};_0xc077d7['xzfJX']=_0xde64ee(0x16e),_0xc077d7['HcBLz']=_0xde64ee(0x1fc),_0xc077d7[_0xde64ee(0x162)]='sendTraceZip',_0xc077d7[_0xde64ee(0x1cf)]=_0xde64ee(0x193);const _0x307013=_0xc077d7;try{const _0x1e17ff={'event_type':_0x307013['xzfJX'],'logs':[{'data':_0x29220e?fs[_0xde64ee(0x1f2)](_0x29220e):'','test_run_uuid':_0x755d90,'kind':_0x307013[_0xde64ee(0x16a)],'fileName':_0x29220e?path[_0xde64ee(0x1ec)](_0x29220e):''}]};return await SessionHandler['sendEventData'](_0x1e17ff,0x0,_0x307013['DKdKK']);}catch(_0x1b0074){logger[_0xde64ee(0x15a)](util[_0xde64ee(0x15b)](_0x307013[_0xde64ee(0x1cf)],_0x1b0074));}},exports[a44_0x193d76(0x1e1)]=async(_0x4cd6db,_0x475f25)=>{const _0x549b5a=a44_0x193d76,_0x465fc6={'cvxYY':_0x549b5a(0x1e5),'schwn':_0x549b5a(0x203),'rYwIJ':function(_0x5eadd0){return _0x5eadd0();},'PCxov':_0x549b5a(0x193)};try{logger[_0x549b5a(0x18f)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x475f25);let _0x2d5e77=await exports[_0x549b5a(0x1cb)](_0x4cd6db,_0x465fc6[_0x549b5a(0x1f7)]);if(exports[_0x549b5a(0x1f6)](_0x2d5e77)){logger[_0x549b5a(0x18f)](_0x465fc6[_0x549b5a(0x1de)]),_0x2d5e77=path[_0x549b5a(0x15e)](_0x2d5e77);const _0x4f4cd3={};_0x4f4cd3[_0x549b5a(0x1d9)]=_0x475f25,_0x4f4cd3[_0x549b5a(0x189)]=_0x2d5e77;const _0x40e712=_0x4f4cd3;_0x465fc6[_0x549b5a(0x1f3)](getBrowserstackCLI)[_0x549b5a(0x15d)]()[_0x549b5a(0x161)]()?TestInfo[_0x549b5a(0x1c5)](_0x40e712):TestDetails[_0x549b5a(0x1c5)](_0x40e712);};}catch(_0x5dace2){logger[_0x549b5a(0x15a)](util[_0x549b5a(0x15b)](_0x465fc6[_0x549b5a(0x1e7)],_0x5dace2));}},exports[a44_0x193d76(0x182)]=_0xe45e0d=>{const _0x4fb8d8=a44_0x193d76,_0x17ac3f={};_0x17ac3f[_0x4fb8d8(0x204)]=function(_0x19ecda,_0x46dbf1){return _0x19ecda+_0x46dbf1;};const _0x1f3edc=_0x17ac3f;return _0x1f3edc[_0x4fb8d8(0x204)](_0x1f3edc[_0x4fb8d8(0x204)](_0xe45e0d[_0x4fb8d8(0x1fa)],'-'),_0xe45e0d['id']);},exports['getTestRunIdentifier']=(_0x1da8a2,_0x3e18ed)=>{const _0x4773ab=a44_0x193d76,_0x4ef8d2={};_0x4ef8d2[_0x4773ab(0x173)]=function(_0x2487d9,_0x1e8c6d){return _0x2487d9+_0x1e8c6d;},_0x4ef8d2[_0x4773ab(0x17b)]=function(_0x124f03,_0x324ace){return _0x124f03+_0x324ace;};const _0x1a35c1=_0x4ef8d2;return _0x1a35c1[_0x4773ab(0x173)](_0x1a35c1[_0x4773ab(0x17b)](_0x1da8a2['id'],'-'),_0x3e18ed);};
@@ -1 +1 @@
1
- function a45_0x1788(_0x4783b9,_0x358ad4){const _0x248ea8=a45_0x248e();return a45_0x1788=function(_0x1788bf,_0x40bbbe){_0x1788bf=_0x1788bf-0xb8;let _0x389650=_0x248ea8[_0x1788bf];return _0x389650;},a45_0x1788(_0x4783b9,_0x358ad4);}const a45_0x699482=a45_0x1788;function a45_0x248e(){const _0x42300c=['trackEvent','dNwJQ','stack','message','JAzoZ','fxulA','PRE','titlePath','xLoHh','sPeFz','base64','../../../helpers/test-observability/constants','HookRunFinished','pending','./pwUtils','shutdown','splice','performance-report-reporter.json','../../v2/state/testFrameworkState','\x20-\x20','../../../helpers/test-observability/utils','_gitConfigPath','error','13804860tPpraq','\x20at\x20','144kHlCGF','../../v2/TestInfo','iaJSV','setup','../../../helpers/test-observability/requestQueueHandler','getCustomRerunParam','format','getScope','gFlsL','getHookType','errors','YllXQ','onStepEnd','dbtub','ZkqLV','oJSrY','atLbG','failure_reason','AOsoL','basename','steps','skipped','screenshot','NDmar','failure_type','jhmFi','Zxgjy','hook_run_uuid','WAeUj','path','../../../helpers/helper','QfZDx','Trace\x20file\x20found\x20for\x20test:\x20','FUhNj','test_run_uuid','homedir','EpWTd','NnxwF','addTestUIDAndReportLog','AgUlQ','zhhjh','AyccO','Before\x20Hooks','readFileSync','_gitConfigured','Sending\x20session\x20details\x20for\x20','startTime','onEnd','QpAct','failure','jDKrD','retry','OUbng','sBSmA','step','env','oBCoF','size','KViDB','sendTestRunEvent','duration','wyMqh','TEST_ATTACHMENT','217830AfIHOK','failed','FaRog','TestRunFinished','map','depth','lVvzf','getStepIdentifier','hsBcM','RPvLu','pbJzG','setStepIdentifier','llTuf','attachments','tPBIc','BEFORE_ALL','result','POST','nFltr','lZPoU','CfyWc','CmmWN','hJLhv','join','After\x20Hooks','onTestEnd','7935IpiHcc','startedAt','./test-details','qwZuX','HookRunStarted','title','test','push','MXmNk','KnfoY','CBTSessionCreated','expectedStatus','REUIb','printsToStdio','status','110YiFkTw','../../v2/browserstackCLI','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','TEST_STEP','OFaTn','startMonitoring','UdiHB','ilTlu','sendSessionDetails','pYtXA','sIpQh','sEIOH','JRPne','javascript','beforeEach\x20hook','needToReportStep','getInstance','rHtwu','logs','SvkKi','DZgdB','statSync','beforeAll\x20hook','location','PLAYWRIGHT','Test\x20Finished\x20with\x20unique\x20id\x20','mkdirSync','util','parent','START_TIME','event_type','_tags','vlgFi','kzeQc','uEqGl','QOTpM','test_run','1|0|2|7|4|3|6|5','YgGJg','BKKhM','azCNj','endSession','BEFORE_EACH','KsILN','BROWSERSTACK_LOG_LEVEL','_trackedEvents','split','bMXrC','2984268SIMDhU','onStepBegin','expanded','wvZRu','getTestUUID','../../../helpers/testhub/utils','XrBMS','onTestBegin','isRunning','Koogm','logLevel','89082QOJfFF','\x20for\x20','uuid','_testHooksMap','getHierarchy','indexOf','FBzNk','sFHGL','iwqNY','3546976EsGIRd','backtrace','getStepsAndLogs','reportLogs','Hook\x20Started\x20with\x20unique\x20id\x20','WJBib','hooks','_bs_hookIdentifier','Test\x20Started\x20with\x20unique\x20id\x20','dYFCg','sendHookRunEvent','\x20is\x20triggered','TEST','SiAkv','passed','root','name','INIT_TEST','uxuiV','AXrUs','_tests','ratdJ','LaIOX','meta','startsWith','toString','configureGit','gZXif','UJquI','hook','IwrWi','getTestFramework','AdFVH','MyReporter','file','14283MosFkq','Playwright','../../v2/state/hookState','uploadEventData','kXMaL','object','tmVQu','qAJBV','cwd','trace_','3504cqrSoj','fjnzn','relative','options','all','mhvnd','afterEach\x20hook','category','Hook\x20Finished\x20with\x20unique\x20id\x20','finishedAt','vGurr','toISOString','hook_run','unknown','inspect','length','BROWSERSTACK_TEST_RUN_ID','TestRunStarted','retry_of','bAlcE','ZUPvS','.txt','existsSync'];a45_0x248e=function(){return _0x42300c;};return a45_0x248e();}(function(_0x198670,_0x6dc522){const _0x4b8a4d=a45_0x1788,_0x12426e=_0x198670();while(!![]){try{const _0x512ccb=parseInt(_0x4b8a4d(0x1b5))/0x1+-parseInt(_0x4b8a4d(0x112))/0x2*(parseInt(_0x4b8a4d(0x16b))/0x3)+parseInt(_0x4b8a4d(0x1be))/0x4+parseInt(_0x4b8a4d(0x17a))/0x5*(parseInt(_0x4b8a4d(0x151))/0x6)+-parseInt(_0x4b8a4d(0x1aa))/0x7+parseInt(_0x4b8a4d(0xe2))/0x8*(parseInt(_0x4b8a4d(0xd8))/0x9)+-parseInt(_0x4b8a4d(0x110))/0xa;if(_0x512ccb===_0x6dc522)break;else _0x12426e['push'](_0x12426e['shift']());}catch(_0x54e783){_0x12426e['push'](_0x12426e['shift']());}}}(a45_0x248e,0x73548));const RequestQueueHandler=require(a45_0x699482(0x116)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x699482(0x107)),{v4:uuidv4}=require(a45_0x699482(0x1b7)),path=require(a45_0x699482(0x12f)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x699482(0x10d)),{getGitMetaData,setLogLevel}=require(a45_0x699482(0x130)),TestDetails=require(a45_0x699482(0x16d)),fs=require('fs'),util=require(a45_0x699482(0x195)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0x699482(0x104)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a45_0x699482(0x1af)),helper=require(a45_0x699482(0x130)),BrowserstackCLI=require(a45_0x699482(0x17b)),TestFrameworkState=require(a45_0x699482(0x10b)),HookState=require(a45_0x699482(0xda)),TestInfo=require(a45_0x699482(0x113)),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');class MyReporter{constructor(_0x58e238){const _0x389bf3=a45_0x699482,_0x1ac3ef={'AOsoL':_0x389bf3(0x19f),'NDmar':_0x389bf3(0x10a),'xfVCL':function(_0x1424ed,_0x29845b,_0x4db302,_0x54be5a){return _0x1424ed(_0x29845b,_0x4db302,_0x54be5a);}},_0x582ce4=_0x1ac3ef[_0x389bf3(0x124)][_0x389bf3(0x1a8)]('|');let _0x2bdb87=0x0;while(!![]){switch(_0x582ce4[_0x2bdb87++]){case'0':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x389bf3(0x17f)](_0x1ac3ef[_0x389bf3(0x129)]),process[_0x389bf3(0x149)][_0x389bf3(0x197)]=new Date()[_0x389bf3(0xed)]());continue;case'1':const _0x1e9a32={};_0x1e9a32[_0x389bf3(0x1b4)]=process[_0x389bf3(0x149)][_0x389bf3(0x1a6)],_0x1ac3ef['xfVCL'](setLogLevel,_0x1e9a32,new Map(),new Map());continue;case'2':this[_0x389bf3(0xc9)]={};continue;case'3':this[_0x389bf3(0x13e)]=![];continue;case'4':this[_0x389bf3(0xe5)]=_0x58e238;continue;case'5':this[_0x389bf3(0x1a7)]=[];continue;case'6':this['_gitConfigPath']=null;continue;case'7':this[_0x389bf3(0x1b8)]={};continue;}break;}}async['onBegin'](){const _0x1d6569=a45_0x699482,_0x3d8942={};_0x3d8942['sIpQh']=_0x1d6569(0xd9);const _0x55d0f1=_0x3d8942;TestDetails[_0x1d6569(0x115)](),await this[_0x1d6569(0xcf)](),TestInfo['setup'](_0x55d0f1[_0x1d6569(0x184)]);if(BrowserstackCLI['getInstance']()[_0x1d6569(0x1b2)]()){await BrowserstackCLI[_0x1d6569(0x18a)]()[_0x1d6569(0xd4)]()['trackEvent'](TestFrameworkState[_0x1d6569(0xc6)],HookState[_0x1d6569(0xff)],{});return;}}async[a45_0x699482(0x1b1)](_0x464568,_0x4acdcf){const _0x22e95a=a45_0x699482,_0xed116b={'PwVlB':function(_0x204b4b,_0x25b35f){return _0x204b4b(_0x25b35f);},'sEIOH':function(_0x570d9c,_0x1b1a8e,_0x5b9a67){return _0x570d9c(_0x1b1a8e,_0x5b9a67);},'wCVPn':function(_0xa89a2e,_0x4f5565){return _0xa89a2e(_0x4f5565);},'Koogm':_0x22e95a(0xf3)};if(BrowserstackCLI[_0x22e95a(0x18a)]()[_0x22e95a(0x1b2)]()){const _0x17081d={};_0x17081d['test']=_0x464568,_0x17081d[_0x22e95a(0x161)]=_0x4acdcf,await BrowserstackCLI[_0x22e95a(0x18a)]()[_0x22e95a(0xd4)]()['trackEvent'](TestFrameworkState[_0x22e95a(0xc1)],HookState['PRE'],_0x17081d);return;}const _0x27c629=_0xed116b['PwVlB'](getTestIdentifier,_0x464568),_0x19c69e=TestDetails[_0x22e95a(0x1ae)](_0xed116b[_0x22e95a(0x185)](getTestRunIdentifier,_0x464568,_0x4acdcf[_0x22e95a(0x145)]));process[_0x22e95a(0x149)][_0x22e95a(0xf2)]=_0x19c69e;const _0x93af59={};_0x93af59['uuid']=_0x19c69e,_0x93af59[_0x22e95a(0x16c)]=_0x4acdcf[_0x22e95a(0x140)],this[_0x22e95a(0xc9)][_0x27c629]=_0x93af59,_0xed116b['wCVPn'](trace,_0x22e95a(0xbd)+_0x27c629),await this[_0x22e95a(0x14d)](_0x464568,_0xed116b[_0x22e95a(0x1b3)],_0x4acdcf);}async[a45_0x699482(0x1ab)](_0x5e5e04,_0x6bfd51,_0x1d213a){const _0x301c59=a45_0x699482,_0x24024f={'JAzoZ':function(_0x386c85,_0x3f5058,_0x5721ae){return _0x386c85(_0x3f5058,_0x5721ae);},'BKKhM':function(_0x45d997,_0x454550){return _0x45d997(_0x454550);},'oBCoF':_0x301c59(0x16f)};if(!this['needToReportStep'](_0x1d213a,_0x5e5e04))return;if(BrowserstackCLI[_0x301c59(0x18a)]()[_0x301c59(0x1b2)]()){const _0x2c24b2=this['getHookType'](_0x1d213a['title']),_0xe61803=TestFrameworkState[_0x2c24b2],_0x49db77={};_0x49db77[_0x301c59(0x171)]=_0x5e5e04,_0x49db77[_0x301c59(0x161)]=_0x6bfd51,_0x49db77[_0x301c59(0x148)]=_0x1d213a,await BrowserstackCLI[_0x301c59(0x18a)]()[_0x301c59(0xd4)]()[_0x301c59(0xf9)](_0xe61803,HookState[_0x301c59(0xff)],_0x49db77);return;}const _0x252f4d=this[_0x301c59(0x15c)](_0x5e5e04,_0x1d213a);this[_0x301c59(0xc9)][_0x252f4d]={'uuid':TestDetails[_0x301c59(0x1ae)](_0x252f4d),'startedAt':_0x1d213a[_0x301c59(0x140)][_0x301c59(0xed)]()};const _0x134500=_0x24024f[_0x301c59(0xfd)](getTestRunIdentifier,_0x5e5e04,_0x6bfd51[_0x301c59(0x145)]);!this[_0x301c59(0x1b8)][_0x134500]&&(this[_0x301c59(0x1b8)][_0x134500]=[]),this[_0x301c59(0x1b8)][_0x134500]['push'](this['_tests'][_0x252f4d]['uuid']),_0x24024f[_0x301c59(0x1a1)](trace,_0x301c59(0xb9)+_0x252f4d+'\x20is\x20triggered\x20for\x20test\x20'+_0x134500),await this[_0x301c59(0xbf)](_0x5e5e04,_0x1d213a,_0x24024f[_0x301c59(0x14a)],_0x6bfd51);}async['onStepEnd'](_0x3806c2,_0x2e38b3,_0x44cc28){const _0x160021=a45_0x699482,_0x1df8ba={'uEqGl':function(_0xdb13c3,_0x225ee4){return _0xdb13c3+_0x225ee4;},'jDKrD':function(_0x110b33,_0x242a4c){return _0x110b33(_0x242a4c);},'FBzNk':_0x160021(0x105)};if(!this[_0x160021(0x189)](_0x44cc28,_0x3806c2))return;if(BrowserstackCLI[_0x160021(0x18a)]()[_0x160021(0x1b2)]()){const _0x43515e=this[_0x160021(0x11b)](_0x44cc28[_0x160021(0x170)]),_0x3d4a80=TestFrameworkState[_0x43515e],_0x5ba380={};_0x5ba380[_0x160021(0x171)]=_0x3806c2,_0x5ba380['result']=_0x2e38b3,_0x5ba380[_0x160021(0x148)]=_0x44cc28,await BrowserstackCLI[_0x160021(0x18a)]()[_0x160021(0xd4)]()[_0x160021(0xf9)](_0x3d4a80,HookState['POST'],_0x5ba380);return;}const _0x314d3d=this['getStepIdentifier'](_0x3806c2,_0x44cc28);this[_0x160021(0xc9)][_0x314d3d]={...this[_0x160021(0xc9)][_0x314d3d]||{},'finishedAt':new Date(_0x1df8ba[_0x160021(0x19c)](_0x44cc28[_0x160021(0x140)]['getTime'](),_0x44cc28[_0x160021(0x14e)]))},_0x1df8ba[_0x160021(0x144)](trace,_0x160021(0xea)+_0x314d3d+_0x160021(0xc0)),await this[_0x160021(0xbf)](_0x3806c2,_0x44cc28,_0x1df8ba[_0x160021(0x1bb)],_0x2e38b3);}async[a45_0x699482(0x16a)](_0x265f77,_0x10ea7d){const _0x4a08fc=a45_0x699482,_0x5c4324={'ZdiGs':function(_0x151d03,_0x27be1c){return _0x151d03===_0x27be1c;},'MXmNk':_0x4a08fc(0x128),'ZUPvS':'TEST_SCREENSHOT','oJSrY':_0x4a08fc(0x103),'CfyWc':function(_0x139cf3,_0x5a7100){return _0x139cf3(_0x5a7100);},'QOTpM':function(_0x143082,_0x3c786f,_0x2e2b56){return _0x143082(_0x3c786f,_0x2e2b56);},'ssJGs':_0x4a08fc(0x154),'qZdnR':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','Fkiec':function(_0x403afa,_0x30e058,_0x1050f5){return _0x403afa(_0x30e058,_0x1050f5);},'ZkqLV':function(_0x2a7539,_0x1d6487){return _0x2a7539(_0x1d6487);},'jhmFi':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','JRPne':function(_0x166864,_0x5c3f5f){return _0x166864>_0x5c3f5f;}};if(BrowserstackCLI[_0x4a08fc(0x18a)]()[_0x4a08fc(0x1b2)]()){const _0x50dba4={};_0x50dba4[_0x4a08fc(0x171)]=_0x265f77,_0x50dba4[_0x4a08fc(0x161)]=_0x10ea7d,this[_0x4a08fc(0x1a7)][_0x4a08fc(0x172)](BrowserstackCLI[_0x4a08fc(0x18a)]()[_0x4a08fc(0xd4)]()[_0x4a08fc(0xf9)](TestFrameworkState[_0x4a08fc(0xc1)],HookState[_0x4a08fc(0x162)],_0x50dba4));return;}const _0x73b93d=_0x5c4324['CfyWc'](getTestIdentifier,_0x265f77),_0x3f4409=TestDetails[_0x4a08fc(0x1ae)](_0x5c4324[_0x4a08fc(0x19d)](getTestRunIdentifier,_0x265f77,_0x10ea7d[_0x4a08fc(0x145)]));this['_tests'][_0x73b93d]={...this[_0x4a08fc(0xc9)][_0x73b93d]||{},'finishedAt':new Date()[_0x4a08fc(0xed)]()},_0x5c4324[_0x4a08fc(0x165)](debug,_0x4a08fc(0x193)+_0x73b93d);try{await this[_0x4a08fc(0x14d)](_0x265f77,_0x5c4324['ssJGs'],_0x10ea7d);}catch(_0x126aad){_0x5c4324['CfyWc'](debug,util['format'](_0x5c4324['qZdnR'],_0x126aad[_0x4a08fc(0xce)]()));}try{_0x5c4324[_0x4a08fc(0x165)](debug,_0x4a08fc(0x17c)+_0x3f4409),await _0x5c4324['Fkiec'](sendTraceZip,_0x10ea7d,_0x3f4409);}catch(_0x43bc62){_0x5c4324[_0x4a08fc(0x120)](debug,util[_0x4a08fc(0x118)](_0x5c4324[_0x4a08fc(0x12b)],_0x43bc62['toString']()));}const _0x50dd34=[];_0x10ea7d[_0x4a08fc(0x15e)]&&_0x10ea7d['attachments'][_0x4a08fc(0x155)](_0x18f957=>{const _0x4c39e3=_0x4a08fc;if(_0x5c4324['ZdiGs'](_0x18f957[_0x4c39e3(0xc5)],_0x5c4324[_0x4c39e3(0x173)])){if(!_0x18f957[_0x4c39e3(0x12f)]||!fs[_0x4c39e3(0xf8)](_0x18f957[_0x4c39e3(0x12f)]))return;_0x50dd34['push']({'test_run_uuid':_0x3f4409,'timestamp':fs[_0x4c39e3(0x18f)](_0x18f957[_0x4c39e3(0x12f)])['mtime'],'kind':_0x5c4324[_0x4c39e3(0xf6)],'message':fs[_0x4c39e3(0x13d)](_0x18f957[_0x4c39e3(0x12f)],{'encoding':_0x5c4324[_0x4c39e3(0x121)]})});}}),_0x5c4324[_0x4a08fc(0x186)](_0x50dd34[_0x4a08fc(0xf1)],0x0)&&await MyReporter[_0x4a08fc(0xb8)](_0x50dd34);}async[a45_0x699482(0x1a3)](){const _0x17a30a=a45_0x699482;await RequestQueueHandler['getInstance']()[_0x17a30a(0x108)]();}async[a45_0x699482(0x141)](_0x2c6026){const _0x1dadf0=a45_0x699482,_0x1a3b53={'ratdJ':function(_0x6bbe0e){return _0x6bbe0e();},'kQwgB':function(_0x8d2093,_0x580003){return _0x8d2093(_0x580003);}};await Promise[_0x1dadf0(0xe6)](this[_0x1dadf0(0x1a7)]),await this[_0x1dadf0(0x1a3)]();try{process[_0x1dadf0(0x149)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x1a3b53[_0x1dadf0(0xca)](calculatePerformance);}catch(_0x334609){_0x1a3b53['kQwgB'](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x334609[_0x1dadf0(0xce)]());}}static async[a45_0x699482(0x138)](_0x22a463,_0x515832){const _0xe207f9=a45_0x699482;_0x515832[_0xe207f9(0x134)]=TestDetails[_0xe207f9(0x1ae)](_0x22a463),await this['reportLogs']([_0x515832]);}static async[a45_0x699482(0xb8)](_0xca8fba){const _0x36b113=a45_0x699482,_0x1081f2={};_0x1081f2[_0x36b113(0x153)]='LogCreated';const _0x7a67fd=_0x1081f2;if(BrowserstackCLI['getInstance']()[_0x36b113(0x1b2)]())return;const _0x2c058f={};_0x2c058f[_0x36b113(0x198)]=_0x7a67fd['FaRog'],_0x2c058f[_0x36b113(0x18c)]=_0xca8fba,await SessionHandler[_0x36b113(0xdb)](_0x2c058f);}async['sendHookRunEvent'](_0x2a0115,_0x15e59c,_0x17f6fd,_0x4716e8){const _0x5e32d9=a45_0x699482,_0x5ebcc8={'UdiHB':_0x5e32d9(0xd2),'uytdc':'javascript','HsRkk':_0x5e32d9(0x106),'zhhjh':function(_0x21a4f1,_0x1a052e){return _0x21a4f1>=_0x1a052e;},'tYKFk':function(_0x47c970,_0x506f3a){return _0x47c970===_0x506f3a;},'tmVQu':_0x5e32d9(0x105),'NBitz':function(_0x2d8cda,_0x3a61b6){return _0x2d8cda>_0x3a61b6;},'DLqWW':_0x5e32d9(0x152),'FMYNc':function(_0x463d36,_0x39be30){return _0x463d36(_0x39be30);},'LaIOX':function(_0x3c81a8,_0x5d9ab2){return _0x3c81a8(_0x5d9ab2);},'nJtPx':function(_0x164b2d,_0x34928c,_0x1c7ddb){return _0x164b2d(_0x34928c,_0x1c7ddb);},'sBSmA':'err','CmmWN':_0x5e32d9(0xc3)},_0x2ef69c=this[_0x5e32d9(0x158)](_0x2a0115,_0x15e59c),_0x27dcda=this[_0x5e32d9(0xc9)][_0x2ef69c],_0x1061c4={'uuid':_0x27dcda['uuid'],'type':_0x5ebcc8[_0x5e32d9(0x180)],'hook_type':this['getHookType'](_0x15e59c[_0x5e32d9(0x170)]),'name':_0x15e59c['title'],'scope':this['getScope'](_0x15e59c),'scopes':this['getHierarchy'](_0x2a0115),'body':{'lang':_0x5ebcc8['uytdc'],'code':null},'identifier':_0x2ef69c,'file_name':path[_0x5e32d9(0xe4)](process['cwd'](),_0x2a0115[_0x5e32d9(0x191)]['file']),'location':path[_0x5e32d9(0xe4)](process[_0x5e32d9(0xe0)](),_0x2a0115[_0x5e32d9(0x191)][_0x5e32d9(0xd7)]),'result':_0x5ebcc8['HsRkk'],'duration_in_ms':_0x5ebcc8[_0x5e32d9(0x13a)](_0x15e59c[_0x5e32d9(0x14e)],0x0)?_0x15e59c[_0x5e32d9(0x14e)]:undefined,'vc_filepath':this[_0x5e32d9(0x10e)]&&_0x2a0115[_0x5e32d9(0x191)][_0x5e32d9(0xd7)]?path[_0x5e32d9(0xe4)](this[_0x5e32d9(0x10e)],_0x2a0115[_0x5e32d9(0x191)]['file']):undefined,'started_at':_0x27dcda[_0x5e32d9(0x16c)],'finished_at':_0x27dcda[_0x5e32d9(0xeb)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x5ebcc8['tYKFk'](_0x17f6fd,_0x5ebcc8[_0x5e32d9(0xde)])){const {steps:_0x38babf,logs:_0x2c6b4c}=this[_0x5e32d9(0x1c0)](_0x15e59c[_0x5e32d9(0x126)],_0x27dcda[_0x5e32d9(0x1b7)],_0x5ebcc8[_0x5e32d9(0x180)]);_0x2c6b4c&&_0x5ebcc8['NBitz'](_0x2c6b4c['length'],0x0)&&await MyReporter[_0x5e32d9(0xb8)](_0x2c6b4c);const _0xb1525e={};_0xb1525e[_0x5e32d9(0x126)]=_0x38babf,_0x1061c4[_0x5e32d9(0xcc)]=_0xb1525e;if(_0x15e59c['error']){_0x1061c4[_0x5e32d9(0x161)]=_0x5ebcc8['DLqWW'],_0x1061c4[_0x5e32d9(0x123)]=_0x5ebcc8['FMYNc'](removeAnsiColors,_0x15e59c[_0x5e32d9(0x10f)][_0x5e32d9(0xfc)]),_0x1061c4['failure_type']=_0x5ebcc8[_0x5e32d9(0xcb)](getFailureType,_0x15e59c[_0x5e32d9(0x10f)][_0x5e32d9(0xfc)]);const _0x64be6d=_0x5ebcc8['nJtPx'](failureData,_0x15e59c['error'],_0x5ebcc8[_0x5e32d9(0x147)]);if(_0x64be6d&&_0x5ebcc8['tYKFk'](_0x64be6d['length'],0x0)){const _0x124220={};_0x124220[_0x5e32d9(0x1bf)]=[_0x1061c4[_0x5e32d9(0x123)]],_0x124220[_0x5e32d9(0x1ac)]=[],_0x64be6d[_0x5e32d9(0x172)](_0x124220);}_0x1061c4[_0x5e32d9(0x143)]=_0x64be6d;}else _0x1061c4[_0x5e32d9(0x161)]=_0x5ebcc8[_0x5e32d9(0x166)];}const _0x5278be={};_0x5278be['event_type']=_0x17f6fd,_0x5278be[_0x5e32d9(0xee)]=_0x1061c4;const _0xfa484a=_0x5278be;await SessionHandler[_0x5e32d9(0xdb)](_0xfa484a);}[a45_0x699482(0x1c0)](_0x11bfd4,_0x149384,_0x7140f4){const _0x3cd80e=a45_0x699482,_0x5b2b38={'mhvnd':function(_0x24a8c6,_0x2f7c99){return _0x24a8c6===_0x2f7c99;},'MvOhG':_0x3cd80e(0xd2),'lBwpK':function(_0x56308a,_0x316ff8){return _0x56308a===_0x316ff8;},'dNwJQ':_0x3cd80e(0x169),'llTuf':function(_0x151ef4,_0x141efe){return _0x151ef4===_0x141efe;},'OUbng':_0x3cd80e(0x13c),'YllXQ':function(_0x1d39e5,_0x8b69a6){return _0x1d39e5===_0x8b69a6;},'CCbrX':function(_0x352be5,_0x7c1dee){return _0x352be5===_0x7c1dee;},'YWUbT':_0x3cd80e(0x171),'atLbG':'test_run_uuid','fjnzn':_0x3cd80e(0x12d),'Iiveu':_0x3cd80e(0x17d),'nFltr':_0x3cd80e(0x152),'pYtXA':'passed','SvkKi':function(_0x2d5756,_0x4e520e){return _0x2d5756(_0x4e520e);},'WJBib':function(_0x37485b){return _0x37485b();},'qAJBV':function(_0x1d74cf,_0x257eb1){return _0x1d74cf(_0x257eb1);},'OFaTn':function(_0x404232,_0x321faa){return _0x404232(_0x321faa);},'QpAct':function(_0x3ef1e8,_0x28d8ea,_0x41b436){return _0x3ef1e8(_0x28d8ea,_0x41b436);},'lVvzf':function(_0x2b4131,_0x4ab3df,_0xe2c836){return _0x2b4131(_0x4ab3df,_0xe2c836);}},_0x235461=[],_0x11c0bd=[],_0xa6608a=_0x11bfd4['filter'](_0x5d1797=>{const _0x42ce24=_0x3cd80e;if(_0x5b2b38[_0x42ce24(0xe7)](_0x5d1797['category'],_0x5b2b38['MvOhG'])&&(_0x5b2b38['lBwpK'](_0x5d1797['title'],_0x5b2b38[_0x42ce24(0xfa)])||_0x5b2b38[_0x42ce24(0x15d)](_0x5d1797[_0x42ce24(0x170)],_0x5b2b38[_0x42ce24(0x146)])))return![];return!![];}),_0x3f1419=(_0x1f6df1,_0x2f1b92=![])=>{const _0x40959b=_0x3cd80e;if(_0x5b2b38[_0x40959b(0x11d)](_0x1f6df1[_0x40959b(0x126)][_0x40959b(0xf1)],0x0)){const _0x54a7e2=_0x5b2b38['CCbrX'](_0x7140f4,_0x5b2b38['YWUbT'])?_0x5b2b38[_0x40959b(0x122)]:_0x5b2b38[_0x40959b(0xe3)];_0x11c0bd[_0x40959b(0x172)]({'kind':_0x5b2b38['Iiveu'],[_0x54a7e2]:_0x149384,'message':_0x1f6df1[_0x40959b(0x170)],'timestamp':_0x1f6df1['startTime']['toISOString'](),'level':_0x1f6df1['error']?_0x5b2b38[_0x40959b(0x163)]:_0x5b2b38[_0x40959b(0x183)],'duration':_0x1f6df1[_0x40959b(0x14e)],'failure':_0x1f6df1['error']&&_0x1f6df1['error'][_0x40959b(0xfc)]&&_0x5b2b38[_0x40959b(0x18d)](removeAnsiColors,_0x1f6df1['error'][_0x40959b(0xfc)]),'failure_type':_0x5b2b38[_0x40959b(0x18d)](getFailureType,_0x1f6df1['error']&&_0x1f6df1['error']['message'])});}else{!_0x2f1b92&&_0x235461[_0x40959b(0x172)]({'id':_0x5b2b38[_0x40959b(0xba)](uuidv4),'text':_0x1f6df1[_0x40959b(0x170)],'keyword':undefined,'started_at':_0x1f6df1[_0x40959b(0x140)][_0x40959b(0xed)](),'duration':_0x1f6df1[_0x40959b(0x14e)],'result':_0x1f6df1[_0x40959b(0x10f)]?_0x5b2b38['nFltr']:_0x5b2b38['pYtXA'],'failure':_0x1f6df1[_0x40959b(0x10f)]&&_0x1f6df1[_0x40959b(0x10f)][_0x40959b(0xfc)]&&_0x5b2b38[_0x40959b(0xdf)](removeAnsiColors,_0x1f6df1[_0x40959b(0x10f)][_0x40959b(0xfc)]),'failure_type':_0x5b2b38[_0x40959b(0x17e)](getFailureType,_0x1f6df1[_0x40959b(0x10f)]&&_0x1f6df1[_0x40959b(0x10f)]['message'])});for(const _0x3c6305 of _0x1f6df1['steps']){_0x5b2b38[_0x40959b(0x142)](_0x3f1419,_0x3c6305,!![]);}}};for(const _0x5353cc of _0xa6608a){_0x5b2b38[_0x3cd80e(0x157)](_0x3f1419,_0x5353cc,![]);}const _0xa36fe5={};return _0xa36fe5[_0x3cd80e(0x126)]=_0x235461,_0xa36fe5['logs']=_0x11c0bd,_0xa36fe5;}async[a45_0x699482(0x14d)](_0x47fdb4,_0x5663b9,_0x3c4f49){const _0x51df09=a45_0x699482,_0x16ce37={'AgUlQ':function(_0x25f158,_0x22f82c){return _0x25f158(_0x22f82c);},'fxulA':_0x51df09(0x150),'pbJzG':function(_0x56dddf,_0x23ca97){return _0x56dddf(_0x23ca97);},'wyMqh':_0x51df09(0x171),'qwZuX':_0x51df09(0x187),'tUtoA':_0x51df09(0x106),'naBCm':function(_0x2e0ce5,_0xc198c6,_0x2660a,_0x483f32,_0x524cde){return _0x2e0ce5(_0xc198c6,_0x2660a,_0x483f32,_0x524cde);},'LGHVn':function(_0x3e5c8d,_0x558ec6){return _0x3e5c8d>_0x558ec6;},'xLoHh':function(_0x3b9166,_0x4d0822,_0x554996){return _0x3b9166(_0x4d0822,_0x554996);},'EpWTd':function(_0x3fa806,_0x5b5504){return _0x3fa806-_0x5b5504;},'dbtub':function(_0x15b223,_0x1b1a61){return _0x15b223===_0x1b1a61;},'FUhNj':'TestRunFinished','gFlsL':_0x51df09(0x127),'rHtwu':_0x51df09(0xc3),'hJLhv':function(_0x3dd557,_0x336561){return _0x3dd557===_0x336561;},'bAlcE':_0x51df09(0x152),'KnfoY':'timedOut','sFHGL':'Expected\x20to\x20fail,\x20but\x20passed.','NnxwF':function(_0x43b0fb,_0x16deb6){return _0x43b0fb(_0x16deb6);},'IwrWi':function(_0x26e33a,_0x41d22e,_0xf2730f){return _0x26e33a(_0x41d22e,_0xf2730f);},'AdFVH':function(_0x57ac99,_0x330143){return _0x57ac99===_0x330143;},'xMbpq':function(_0x4c3f01,_0x96e718){return _0x4c3f01>_0x96e718;},'WAeUj':function(_0x4b02b2,_0x23a8e0,_0x563222){return _0x4b02b2(_0x23a8e0,_0x563222);},'iaJSV':_0x51df09(0x12f),'dKDpw':'.browserstack','KViDB':'utf8','wvZRu':function(_0x59d870,_0x1d7e04){return _0x59d870(_0x1d7e04);},'sPeFz':function(_0x536f8e,_0x1ba5f8){return _0x536f8e!==_0x1ba5f8;}},_0x3c2728=_0x16ce37['pbJzG'](getTestIdentifier,_0x47fdb4),_0x4d6608=this[_0x51df09(0x119)](_0x47fdb4),_0xdb23a=this['_tests'][_0x3c2728],_0x1f92a9=path[_0x51df09(0xe4)](process[_0x51df09(0xe0)](),_0x47fdb4['location']['file']);await this['configureGit']();const _0x182ac4={'uuid':_0xdb23a[_0x51df09(0x1b7)],'type':_0x16ce37['wyMqh'],'name':_0x47fdb4[_0x51df09(0x170)],'body':{'lang':_0x16ce37[_0x51df09(0x16e)],'code':_0x47fdb4['fn'][_0x51df09(0xce)]()},'scope':_0x4d6608,'scopes':this[_0x51df09(0x1b9)](_0x47fdb4),'identifier':_0x3c2728,'file_name':_0x1f92a9,'location':_0x1f92a9,'result':_0x16ce37['tUtoA'],'duration_in_ms':_0x3c4f49&&_0x3c4f49[_0x51df09(0x14e)]?_0x3c4f49[_0x51df09(0x14e)]:null,'vc_filepath':this['_gitConfigPath']&&_0x47fdb4[_0x51df09(0x191)]['file']?path[_0x51df09(0xe4)](this[_0x51df09(0x10e)],_0x47fdb4['location']['file']):undefined,'started_at':_0xdb23a[_0x51df09(0x16c)],'finished_at':_0xdb23a[_0x51df09(0xeb)],'framework':FRAMEWORKS[_0x51df09(0x192)],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x47fdb4)},'tags':_0x16ce37[_0x51df09(0x139)](getTestTags,_0x47fdb4)};_0x16ce37['naBCm'](appendTesthubParams,_0x182ac4,_0x5663b9,_0x47fdb4,FRAMEWORKS[_0x51df09(0x192)]);_0x3c4f49&&_0x16ce37['LGHVn'](_0x3c4f49[_0x51df09(0x145)],0x0)&&(_0x182ac4[_0x51df09(0xf4)]=TestDetails[_0x51df09(0x1ae)](_0x16ce37[_0x51df09(0x101)](getTestRunIdentifier,_0x47fdb4,_0x16ce37[_0x51df09(0x136)](_0x3c4f49[_0x51df09(0x145)],0x1))));if(_0x16ce37['dbtub'](_0x5663b9,_0x16ce37[_0x51df09(0x133)])){_0x182ac4[_0x51df09(0x161)]=_0x3c4f49[_0x51df09(0x179)];if(_0x16ce37[_0x51df09(0x11f)](_0x3c4f49[_0x51df09(0x179)],_0x47fdb4[_0x51df09(0x176)]))_0x182ac4[_0x51df09(0x161)]=_0x16ce37[_0x51df09(0x11f)](_0x3c4f49[_0x51df09(0x179)],_0x16ce37[_0x51df09(0x11a)])?_0x16ce37[_0x51df09(0x11a)]:_0x16ce37[_0x51df09(0x18b)];else{(_0x16ce37[_0x51df09(0x167)](_0x182ac4[_0x51df09(0x161)],_0x16ce37[_0x51df09(0x18b)])||_0x16ce37[_0x51df09(0x11f)](_0x182ac4['result'],_0x16ce37[_0x51df09(0xf5)])||_0x16ce37['dbtub'](_0x182ac4[_0x51df09(0x161)],_0x16ce37[_0x51df09(0x174)]))&&(_0x182ac4[_0x51df09(0x161)]=_0x16ce37[_0x51df09(0xf5)]);if(_0x16ce37[_0x51df09(0x167)](_0x3c4f49[_0x51df09(0x179)],_0x16ce37[_0x51df09(0x18b)])&&_0x16ce37[_0x51df09(0x11f)](_0x47fdb4['expectedStatus'],_0x16ce37['bAlcE'])){const _0x40e438={};_0x40e438['message']=_0x16ce37[_0x51df09(0x1bc)],_0x40e438[_0x51df09(0xfb)]=_0x16ce37[_0x51df09(0x1bc)],_0x3c4f49[_0x51df09(0x10f)]=_0x40e438,_0x3c4f49[_0x51df09(0x11c)]=[_0x3c4f49[_0x51df09(0x10f)]];}}const _0x505540=_0x16ce37[_0x51df09(0x101)](getTestRunIdentifier,_0x47fdb4,_0x3c4f49['retry']);_0x182ac4[_0x51df09(0xbb)]=this[_0x51df09(0x1b8)][_0x505540];const {steps:_0xcf90f,logs:_0x354fc5}=this[_0x51df09(0x1c0)](_0x3c4f49['steps'],_0xdb23a[_0x51df09(0x1b7)],_0x16ce37[_0x51df09(0x14f)]);await MyReporter[_0x51df09(0xb8)](_0x354fc5);const _0xab7e77={};_0xab7e77['steps']=_0xcf90f,_0x182ac4[_0x51df09(0xcc)]=_0xab7e77;if(_0x3c4f49[_0x51df09(0x10f)]){_0x182ac4[_0x51df09(0x123)]=_0x16ce37[_0x51df09(0x137)](removeAnsiColors,_0x3c4f49[_0x51df09(0x10f)]['message']),_0x182ac4[_0x51df09(0x12a)]=_0x16ce37[_0x51df09(0x15b)](getFailureType,_0x3c4f49['error'][_0x51df09(0xfc)]);const _0x25b42d={};_0x25b42d['test_run_uuid']=_0xdb23a[_0x51df09(0x1b7)];const {failureData:_0x4b7ad2,logs:_0x113609}=_0x16ce37[_0x51df09(0xd3)](getFailureData,_0x3c4f49[_0x51df09(0x11c)],_0x25b42d);if(_0x4b7ad2&&_0x16ce37[_0x51df09(0xd5)](_0x4b7ad2['length'],0x0)){const _0x5a6c01={};_0x5a6c01[_0x51df09(0x1bf)]=[_0x182ac4['failure_reason']],_0x5a6c01[_0x51df09(0x1ac)]=[],_0x4b7ad2[_0x51df09(0x172)](_0x5a6c01);}_0x182ac4[_0x51df09(0x143)]=_0x4b7ad2,_0x113609&&_0x16ce37['xMbpq'](_0x113609[_0x51df09(0xf1)],0x0)&&await MyReporter[_0x51df09(0xb8)](_0x113609);}}let _0x27faf9=_0x16ce37[_0x51df09(0x12e)](findNestedKey,_0x3c4f49,_0x16ce37[_0x51df09(0x114)]);if(_0x27faf9&&_0x16ce37[_0x51df09(0x137)](validateFilePath,_0x27faf9))_0x16ce37[_0x51df09(0x139)](debug,_0x51df09(0x132)+_0xdb23a[_0x51df09(0x1b7)]+_0x51df09(0x111)+_0x27faf9);else{const _0x5df921=path[_0x51df09(0x168)](helper[_0x51df09(0x135)](),_0x16ce37['dKDpw']);!fs[_0x51df09(0xf8)](_0x5df921)&&fs[_0x51df09(0x194)](_0x5df921),fs[_0x51df09(0xf8)](path[_0x51df09(0x168)](_0x5df921,_0x51df09(0xe1)+_0xdb23a[_0x51df09(0x1b7)]+_0x51df09(0xf7)))&&(_0x27faf9=fs['readFileSync'](path['join'](_0x5df921,'trace_'+_0xdb23a[_0x51df09(0x1b7)]+_0x51df09(0xf7)),_0x16ce37[_0x51df09(0x14c)]),_0x16ce37[_0x51df09(0x1ad)](debug,_0x51df09(0x132)+_0xdb23a[_0x51df09(0x1b7)]+'\x20at\x20'+_0x27faf9));}const _0x13ed6a={};_0x13ed6a[_0x51df09(0x198)]=_0x5663b9,_0x13ed6a[_0x51df09(0x19e)]=_0x182ac4;const _0x81bbba=_0x13ed6a;_0x27faf9&&_0x16ce37[_0x51df09(0x102)](_0x27faf9,'')&&_0x16ce37[_0x51df09(0x11f)](_0x5663b9,_0x16ce37[_0x51df09(0x133)])&&(!_0x81bbba[_0x51df09(0x18c)]&&(_0x81bbba[_0x51df09(0x18c)]=[]),_0x27faf9[_0x51df09(0x1a8)]('\x0a')['forEach'](_0x178055=>{const _0x8a7e44=_0x51df09;_0x178055&&_0x16ce37[_0x8a7e44(0x139)](validateFilePath,_0x178055)&&_0x81bbba[_0x8a7e44(0x18c)]['push']({'kind':_0x16ce37[_0x8a7e44(0xfe)],'timestamp':new Date()[_0x8a7e44(0xed)](),'test_run_uuid':_0xdb23a['uuid'],'file_name':path[_0x8a7e44(0x125)](_0x178055),'file_size':fs['statSync'](_0x178055)[_0x8a7e44(0x14b)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x51df09(0xdb)](_0x81bbba);}[a45_0x699482(0x117)](_0x11dc88){const _0x515d03=a45_0x699482,_0x1c4a2d={};_0x1c4a2d['iwqNY']=function(_0x241a67,_0x7a7cd5){return _0x241a67===_0x7a7cd5;},_0x1c4a2d[_0x515d03(0xbe)]=function(_0x3f7dd6,_0x3dd47e){return _0x3f7dd6>_0x3dd47e;},_0x1c4a2d['KsILN']=function(_0x2ad4d3,_0x151dc3){return _0x2ad4d3+_0x151dc3;},_0x1c4a2d['Zxgjy']=function(_0x3f0bd3,_0x18bd46){return _0x3f0bd3+_0x18bd46;};const _0x1d75e1=_0x1c4a2d,_0x430f96=_0x11dc88[_0x515d03(0x100)]()['map'](_0x1de453=>{const _0x8f0e03=_0x515d03;if(_0x11dc88[_0x8f0e03(0x196)]&&_0x1d75e1[_0x8f0e03(0x1bd)](_0x1de453,_0x11dc88['parent'][_0x8f0e03(0x170)])&&_0x11dc88[_0x8f0e03(0x196)]['_tags']&&_0x1d75e1[_0x8f0e03(0xbe)](_0x11dc88['parent'][_0x8f0e03(0x199)][_0x8f0e03(0xf1)],0x0))return _0x1d75e1['KsILN'](_0x1d75e1[_0x8f0e03(0x12c)](_0x1de453,'\x20'),_0x11dc88[_0x8f0e03(0x196)][_0x8f0e03(0x199)][_0x8f0e03(0x168)]('\x20'));if(_0x1d75e1['iwqNY'](_0x1de453,_0x11dc88[_0x8f0e03(0x170)])&&_0x11dc88[_0x8f0e03(0x199)]&&_0x1d75e1['dYFCg'](_0x11dc88['_tags'][_0x8f0e03(0xf1)],0x0))return _0x1d75e1['Zxgjy'](_0x1d75e1[_0x8f0e03(0x1a5)](_0x1de453,'\x20'),_0x11dc88['_tags'][_0x8f0e03(0x168)]('\x20'));return _0x1de453;})[_0x515d03(0x168)]('\x20');return _0x430f96;}static async[a45_0x699482(0x182)](_0x159e10,_0x5044b6){const _0x3ec2ba=a45_0x699482,_0x406b12={'DZgdB':function(_0x389848,_0x4a6f3d){return _0x389848(_0x4a6f3d);},'AyccO':_0x3ec2ba(0x175)},_0x7021b5={'uuid':TestDetails['getTestUUID'](_0x159e10),'integrations':_0x5044b6},_0x6a7b88={};_0x6a7b88[_0x3ec2ba(0x156)]=null,_0x406b12[_0x3ec2ba(0x18e)](debug,_0x3ec2ba(0x13f)+_0x159e10+',\x20'+util[_0x3ec2ba(0xf0)](_0x5044b6,_0x6a7b88));const _0x17fd9f={};_0x17fd9f['event_type']=_0x406b12[_0x3ec2ba(0x13b)],_0x17fd9f[_0x3ec2ba(0x19e)]=_0x7021b5,await SessionHandler['uploadEventData'](_0x17fd9f);}async[a45_0x699482(0xcf)](){const _0x145f55=a45_0x699482,_0x1951de={'vGurr':function(_0x387318){return _0x387318();}};if(this[_0x145f55(0x13e)])return;const _0x5aedbe=await _0x1951de[_0x145f55(0xec)](getGitMetaData);_0x5aedbe&&(this[_0x145f55(0x10e)]=_0x5aedbe[_0x145f55(0xc4)]),this[_0x145f55(0x13e)]=!![];}[a45_0x699482(0x1b9)](_0x436da8){const _0x29848d=a45_0x699482,_0x266c07={};_0x266c07[_0x29848d(0x159)]=function(_0x55507e,_0x380d7d){return _0x55507e!==_0x380d7d;};const _0x4f8ca0=_0x266c07,_0x5ccf3e=[];if(_0x436da8&&_0x436da8['parent']){let _0x348a40=_0x436da8['parent'];while(_0x348a40&&_0x4f8ca0['hsBcM'](_0x348a40[_0x29848d(0x170)],'')){_0x5ccf3e['push'](_0x348a40[_0x29848d(0x170)]),_0x348a40=_0x348a40[_0x29848d(0x196)];}}return _0x5ccf3e['reverse']()[_0x29848d(0x109)](0x0,0x2),_0x5ccf3e;}[a45_0x699482(0x189)](_0x23254b){const _0xa1ff84=a45_0x699482,_0x20bc78={};_0x20bc78['AXrUs']=function(_0x55c18c,_0x151d7a){return _0x55c18c!==_0x151d7a;},_0x20bc78[_0xa1ff84(0x1a9)]=_0xa1ff84(0xd2),_0x20bc78[_0xa1ff84(0x1b0)]=function(_0x15c07d,_0x24d27e){return _0x15c07d===_0x24d27e;},_0x20bc78['yhUfP']=_0xa1ff84(0x188),_0x20bc78[_0xa1ff84(0x131)]='beforeAll\x20hook',_0x20bc78[_0xa1ff84(0xc2)]='afterAll\x20hook',_0x20bc78[_0xa1ff84(0xdc)]='afterEach\x20hook';const _0x21f470=_0x20bc78;if(_0x21f470[_0xa1ff84(0xc8)](_0x23254b[_0xa1ff84(0xe9)],_0x21f470['bMXrC']))return![];if(_0x21f470[_0xa1ff84(0x1b0)]([_0x21f470['yhUfP'],_0x21f470[_0xa1ff84(0x131)],_0x21f470[_0xa1ff84(0xc2)],_0x21f470[_0xa1ff84(0xdc)]][_0xa1ff84(0x1ba)](_0x23254b['title']),-0x1))return![];return!![];}[a45_0x699482(0x158)](_0xa20d71,_0x440dd6){const _0x63b677=a45_0x699482,_0x437ba4={'vlgFi':function(_0x5c75d6,_0x3caea7){return _0x5c75d6(_0x3caea7);}},_0x3764ee=_0x440dd6[_0x63b677(0xbc)];if(_0x3764ee)return _0x3764ee;return _0x440dd6[_0x63b677(0x170)]+_0x63b677(0x1b6)+_0x437ba4[_0x63b677(0x19a)](getTestIdentifier,_0xa20d71);}['setStepIdentifier'](_0x5aa175,_0x560911){const _0x24c162=a45_0x699482,_0x3ae064={'REUIb':function(_0x17d157,_0x24950d){return _0x17d157(_0x24950d);},'ilTlu':function(_0x474212){return _0x474212();}};let _0x214845=_0x560911['title']+_0x24c162(0x1b6)+_0x3ae064[_0x24c162(0x177)](getTestIdentifier,_0x5aa175);return this[_0x24c162(0xc9)][_0x214845]&&(_0x214845=_0x214845+'\x20-\x20'+_0x3ae064[_0x24c162(0x181)](uuidv4)),_0x560911[_0x24c162(0xbc)]=_0x214845,_0x214845;}[a45_0x699482(0x11b)]=_0xecea37=>{const _0x4790e9=a45_0x699482,_0x2d75a3={};_0x2d75a3['uxuiV']=_0x4790e9(0x188),_0x2d75a3[_0x4790e9(0x164)]=_0x4790e9(0x1a4),_0x2d75a3[_0x4790e9(0x19b)]=_0x4790e9(0x190),_0x2d75a3[_0x4790e9(0x15f)]=_0x4790e9(0x160),_0x2d75a3[_0x4790e9(0x1a0)]=_0x4790e9(0xe8),_0x2d75a3[_0x4790e9(0xd0)]='AFTER_EACH',_0x2d75a3['pdfUO']='afterAll\x20hook',_0x2d75a3[_0x4790e9(0x1a2)]='AFTER_ALL',_0x2d75a3['RPvLu']=_0x4790e9(0xef);const _0x9be6d6=_0x2d75a3;if(_0xecea37[_0x4790e9(0xcd)](_0x9be6d6[_0x4790e9(0xc7)]))return _0x9be6d6['lZPoU'];else{if(_0xecea37[_0x4790e9(0xcd)](_0x9be6d6[_0x4790e9(0x19b)]))return _0x9be6d6[_0x4790e9(0x15f)];else{if(_0xecea37[_0x4790e9(0xcd)](_0x9be6d6[_0x4790e9(0x1a0)]))return _0x9be6d6[_0x4790e9(0xd0)];else{if(_0xecea37[_0x4790e9(0xcd)](_0x9be6d6['pdfUO']))return _0x9be6d6['azCNj'];}}}return _0x9be6d6[_0x4790e9(0x15a)];};[a45_0x699482(0x119)]=_0x1eed1d=>{const _0x18b1f8=a45_0x699482,_0x3909ca={};_0x3909ca[_0x18b1f8(0xd1)]=function(_0x23dd81,_0x56db56){return _0x23dd81===_0x56db56;},_0x3909ca['AoHNk']=_0x18b1f8(0xdd);const _0x52e884=_0x3909ca;let _0x1a8fb5=_0x1eed1d['parent'];return _0x52e884[_0x18b1f8(0xd1)](typeof _0x1eed1d['parent'],_0x52e884['AoHNk'])&&(_0x1a8fb5=_0x1a8fb5[_0x18b1f8(0x170)]),_0x1a8fb5+_0x18b1f8(0x10c)+_0x1eed1d['title'];};[a45_0x699482(0x178)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,['onBegin',a45_0x699482(0x1a3),'onTestBegin',a45_0x699482(0x16a),a45_0x699482(0x1ab),a45_0x699482(0x11e),a45_0x699482(0x182)],a45_0x699482(0xd6));
1
+ const a45_0xc3ac7=a45_0x4928;(function(_0x53f415,_0x5d8bc9){const _0x4423d4=a45_0x4928,_0x24a677=_0x53f415();while(!![]){try{const _0x4aa122=-parseInt(_0x4423d4(0xa5))/0x1+parseInt(_0x4423d4(0x148))/0x2+-parseInt(_0x4423d4(0x121))/0x3+-parseInt(_0x4423d4(0x14d))/0x4+-parseInt(_0x4423d4(0x118))/0x5+parseInt(_0x4423d4(0xcc))/0x6+parseInt(_0x4423d4(0xa9))/0x7;if(_0x4aa122===_0x5d8bc9)break;else _0x24a677['push'](_0x24a677['shift']());}catch(_0x50618b){_0x24a677['push'](_0x24a677['shift']());}}}(a45_0x3336,0x4a207));const RequestQueueHandler=require(a45_0xc3ac7(0x99)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0xc3ac7(0x13a)),{v4:uuidv4}=require(a45_0xc3ac7(0xff)),path=require(a45_0xc3ac7(0x9a)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0xc3ac7(0x8f)),{getGitMetaData,setLogLevel}=require(a45_0xc3ac7(0x141)),TestDetails=require(a45_0xc3ac7(0xf3)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a45_0xc3ac7(0x15b)),SessionHandler=require(a45_0xc3ac7(0x12b)),{appendTesthubParams}=require(a45_0xc3ac7(0xbf)),helper=require(a45_0xc3ac7(0x141)),BrowserstackCLI=require(a45_0xc3ac7(0xfa)),TestFrameworkState=require(a45_0xc3ac7(0x15c)),HookState=require('../../v2/state/hookState'),TestInfo=require(a45_0xc3ac7(0xbc)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0xc3ac7(0x17a));function a45_0x4928(_0x34d5e1,_0x2b79fa){const _0x3336fe=a45_0x3336();return a45_0x4928=function(_0x49288e,_0xbf91b3){_0x49288e=_0x49288e-0x6e;let _0x5a3e8c=_0x3336fe[_0x49288e];return _0x5a3e8c;},a45_0x4928(_0x34d5e1,_0x2b79fa);}class MyReporter{constructor(_0x26d965){const _0x12b5d0=a45_0xc3ac7,_0x172777={'fXjEe':_0x12b5d0(0x108),'saZts':function(_0x57308d,_0x40b018,_0x59e9cc,_0x392ff0){return _0x57308d(_0x40b018,_0x59e9cc,_0x392ff0);},'jwaDV':'performance-report-reporter.json'},_0xdbff04=_0x172777[_0x12b5d0(0x110)][_0x12b5d0(0xc0)]('|');let _0x4bd2d6=0x0;while(!![]){switch(_0xdbff04[_0x4bd2d6++]){case'0':this[_0x12b5d0(0x14c)]=null;continue;case'1':const _0x5ddea3={};_0x5ddea3[_0x12b5d0(0xd4)]=process[_0x12b5d0(0x85)]['BROWSERSTACK_LOG_LEVEL'],_0x172777[_0x12b5d0(0xd2)](setLogLevel,_0x5ddea3,new Map(),new Map());continue;case'2':this[_0x12b5d0(0xe8)]=_0x26d965;continue;case'3':process[_0x12b5d0(0x85)][_0x12b5d0(0x104)]&&(PerformanceTester[_0x12b5d0(0x94)](_0x172777[_0x12b5d0(0x175)]),process[_0x12b5d0(0x85)][_0x12b5d0(0xb2)]=new Date()[_0x12b5d0(0x127)]());continue;case'4':this[_0x12b5d0(0x97)]={};continue;case'5':this[_0x12b5d0(0x112)]={};continue;case'6':this[_0x12b5d0(0xb6)]=![];continue;case'7':this[_0x12b5d0(0x72)]=[];continue;}break;}}async[a45_0xc3ac7(0x172)](){const _0x3eb123=a45_0xc3ac7,_0x2a58be={};_0x2a58be[_0x3eb123(0x16e)]='Playwright';const _0x28a260=_0x2a58be;TestDetails[_0x3eb123(0x9c)](),await this[_0x3eb123(0x7e)](),TestInfo['setup'](_0x28a260[_0x3eb123(0x16e)]);if(BrowserstackCLI['getInstance']()['isRunning']()){await BrowserstackCLI[_0x3eb123(0xf7)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x3eb123(0x14b)],HookState[_0x3eb123(0xcf)],{});return;}}async['onTestBegin'](_0x40a9ee,_0x2d4fed){const _0x48b546=a45_0xc3ac7,_0x14a058={'EzPDo':function(_0x545893,_0x1657fc){return _0x545893(_0x1657fc);},'fLCqU':function(_0x3b95da,_0x38f17b,_0x4b446c){return _0x3b95da(_0x38f17b,_0x4b446c);},'wbzEd':_0x48b546(0xc6)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x4cbc44={};_0x4cbc44[_0x48b546(0x113)]=_0x40a9ee,_0x4cbc44[_0x48b546(0x173)]=_0x2d4fed,await BrowserstackCLI[_0x48b546(0xf7)]()[_0x48b546(0xfd)]()[_0x48b546(0x8b)](TestFrameworkState[_0x48b546(0xc8)],HookState[_0x48b546(0xcf)],_0x4cbc44);return;}const _0x418b87=_0x14a058[_0x48b546(0xb4)](getTestIdentifier,_0x40a9ee),_0xc2553e=TestDetails[_0x48b546(0x125)](_0x14a058[_0x48b546(0x128)](getTestRunIdentifier,_0x40a9ee,_0x2d4fed[_0x48b546(0x11b)]));process[_0x48b546(0x85)][_0x48b546(0x131)]=_0xc2553e;const _0x3c6b3b={};_0x3c6b3b[_0x48b546(0xff)]=_0xc2553e,_0x3c6b3b[_0x48b546(0x102)]=_0x2d4fed[_0x48b546(0x162)],this[_0x48b546(0x97)][_0x418b87]=_0x3c6b3b,_0x14a058[_0x48b546(0xb4)](trace,_0x48b546(0xdc)+_0x418b87),await this[_0x48b546(0x152)](_0x40a9ee,_0x14a058[_0x48b546(0xba)],_0x2d4fed);}async[a45_0xc3ac7(0x120)](_0x4411e6,_0x2392b3,_0x52c0d5){const _0x5f03fa=a45_0xc3ac7,_0x33696d={'KqtXo':function(_0x2f9475,_0x1c22b5,_0x110a36){return _0x2f9475(_0x1c22b5,_0x110a36);},'IMFJZ':function(_0x47b830,_0x54a6fd){return _0x47b830(_0x54a6fd);},'BBSRu':_0x5f03fa(0xa3)};if(!this[_0x5f03fa(0x109)](_0x52c0d5,_0x4411e6))return;if(BrowserstackCLI[_0x5f03fa(0xf7)]()[_0x5f03fa(0x76)]()){const _0xa65a0=this[_0x5f03fa(0x166)](_0x52c0d5['title']),_0x52d6f1=TestFrameworkState[_0xa65a0],_0x39d694={};_0x39d694[_0x5f03fa(0x113)]=_0x4411e6,_0x39d694[_0x5f03fa(0x173)]=_0x2392b3,_0x39d694[_0x5f03fa(0xef)]=_0x52c0d5,await BrowserstackCLI[_0x5f03fa(0xf7)]()[_0x5f03fa(0xfd)]()[_0x5f03fa(0x8b)](_0x52d6f1,HookState[_0x5f03fa(0xcf)],_0x39d694);return;}const _0x232b2a=this[_0x5f03fa(0xe9)](_0x4411e6,_0x52c0d5);this[_0x5f03fa(0x97)][_0x232b2a]={'uuid':TestDetails[_0x5f03fa(0x125)](_0x232b2a),'startedAt':_0x52c0d5['startTime'][_0x5f03fa(0x127)]()};const _0x19a34d=_0x33696d[_0x5f03fa(0x143)](getTestRunIdentifier,_0x4411e6,_0x2392b3[_0x5f03fa(0x11b)]);!this[_0x5f03fa(0x112)][_0x19a34d]&&(this['_testHooksMap'][_0x19a34d]=[]),this[_0x5f03fa(0x112)][_0x19a34d][_0x5f03fa(0x75)](this['_tests'][_0x232b2a][_0x5f03fa(0xff)]),_0x33696d[_0x5f03fa(0x7c)](trace,_0x5f03fa(0x77)+_0x232b2a+_0x5f03fa(0x73)+_0x19a34d),await this[_0x5f03fa(0x10e)](_0x4411e6,_0x52c0d5,_0x33696d['BBSRu'],_0x2392b3);}async['onStepEnd'](_0x2f662a,_0x5d85aa,_0x15a68d){const _0x24a68c=a45_0xc3ac7,_0x2c7c7e={'WbSXt':function(_0x592287,_0x1ffbc6){return _0x592287+_0x1ffbc6;},'QtICN':function(_0x4b5568,_0x338a7f){return _0x4b5568(_0x338a7f);},'waGtv':_0x24a68c(0xf5)};if(!this[_0x24a68c(0x109)](_0x15a68d,_0x2f662a))return;if(BrowserstackCLI[_0x24a68c(0xf7)]()['isRunning']()){const _0x485f8f=this[_0x24a68c(0x166)](_0x15a68d[_0x24a68c(0x8c)]),_0x43deb8=TestFrameworkState[_0x485f8f],_0xe6e307={};_0xe6e307[_0x24a68c(0x113)]=_0x2f662a,_0xe6e307['result']=_0x5d85aa,_0xe6e307['step']=_0x15a68d,await BrowserstackCLI[_0x24a68c(0xf7)]()['getTestFramework']()[_0x24a68c(0x8b)](_0x43deb8,HookState[_0x24a68c(0x129)],_0xe6e307);return;}const _0x25d551=this[_0x24a68c(0x10d)](_0x2f662a,_0x15a68d);this[_0x24a68c(0x97)][_0x25d551]={...this['_tests'][_0x25d551]||{},'finishedAt':new Date(_0x2c7c7e[_0x24a68c(0xcd)](_0x15a68d['startTime']['getTime'](),_0x15a68d[_0x24a68c(0x16a)]))},_0x2c7c7e[_0x24a68c(0x156)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x25d551+'\x20is\x20triggered'),await this['sendHookRunEvent'](_0x2f662a,_0x15a68d,_0x2c7c7e[_0x24a68c(0x16c)],_0x5d85aa);}async[a45_0xc3ac7(0x8d)](_0x2cefc2,_0x4f29f2){const _0x24bd97=a45_0xc3ac7,_0x5081a2={'FlOvs':function(_0xfa5662,_0x5e023d){return _0xfa5662===_0x5e023d;},'Dlmry':'screenshot','OhsTV':_0x24bd97(0x17c),'blQHp':_0x24bd97(0xa1),'UnvZz':function(_0x181bfa,_0x397110){return _0x181bfa(_0x397110);},'hjQPE':function(_0x2341be,_0x3ff9a2,_0x299648){return _0x2341be(_0x3ff9a2,_0x299648);},'wzugf':_0x24bd97(0xb9),'WhoAw':function(_0x3d0465,_0x61ad6a){return _0x3d0465(_0x61ad6a);},'kLrFE':_0x24bd97(0x93),'fZOqo':function(_0x1ed6fc,_0x3c6f09,_0x55eaa6){return _0x1ed6fc(_0x3c6f09,_0x55eaa6);},'czBkH':function(_0xdd83e6,_0x2bc5db){return _0xdd83e6(_0x2bc5db);},'bgMNY':_0x24bd97(0x16d),'DGWyx':function(_0x559943,_0xe36c0e){return _0x559943>_0xe36c0e;}};if(BrowserstackCLI['getInstance']()[_0x24bd97(0x76)]()){const _0x4df0e4={};_0x4df0e4[_0x24bd97(0x113)]=_0x2cefc2,_0x4df0e4[_0x24bd97(0x173)]=_0x4f29f2,this[_0x24bd97(0x72)]['push'](BrowserstackCLI[_0x24bd97(0xf7)]()['getTestFramework']()[_0x24bd97(0x8b)](TestFrameworkState[_0x24bd97(0xc8)],HookState[_0x24bd97(0x129)],_0x4df0e4));return;}const _0x10c5a2=_0x5081a2[_0x24bd97(0x157)](getTestIdentifier,_0x2cefc2),_0x3451a0=TestDetails['getTestUUID'](_0x5081a2['hjQPE'](getTestRunIdentifier,_0x2cefc2,_0x4f29f2[_0x24bd97(0x11b)]));this[_0x24bd97(0x97)][_0x10c5a2]={...this[_0x24bd97(0x97)][_0x10c5a2]||{},'finishedAt':new Date()[_0x24bd97(0x127)]()},_0x5081a2[_0x24bd97(0x157)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x10c5a2);try{await this[_0x24bd97(0x152)](_0x2cefc2,_0x5081a2[_0x24bd97(0xda)],_0x4f29f2);}catch(_0x21ebb0){_0x5081a2[_0x24bd97(0x161)](debug,util[_0x24bd97(0xed)](_0x5081a2['kLrFE'],_0x21ebb0[_0x24bd97(0x176)]()));}try{_0x5081a2[_0x24bd97(0x161)](debug,_0x24bd97(0x117)+_0x3451a0),await _0x5081a2[_0x24bd97(0x80)](sendTraceZip,_0x4f29f2,_0x3451a0);}catch(_0x50ed30){_0x5081a2[_0x24bd97(0xfe)](debug,util[_0x24bd97(0xed)](_0x5081a2[_0x24bd97(0xf8)],_0x50ed30['toString']()));}const _0x3713b0=[];_0x4f29f2['attachments']&&_0x4f29f2[_0x24bd97(0xfc)]['map'](_0x355028=>{const _0x4d0b4c=_0x24bd97;if(_0x5081a2[_0x4d0b4c(0x177)](_0x355028[_0x4d0b4c(0x9b)],_0x5081a2[_0x4d0b4c(0x11f)])){if(!_0x355028[_0x4d0b4c(0x9a)]||!fs[_0x4d0b4c(0x150)](_0x355028[_0x4d0b4c(0x9a)]))return;_0x3713b0['push']({'test_run_uuid':_0x3451a0,'timestamp':fs[_0x4d0b4c(0x165)](_0x355028[_0x4d0b4c(0x9a)])['mtime'],'kind':_0x5081a2['OhsTV'],'message':fs[_0x4d0b4c(0x146)](_0x355028[_0x4d0b4c(0x9a)],{'encoding':_0x5081a2[_0x4d0b4c(0xad)]})});}}),_0x5081a2['DGWyx'](_0x3713b0[_0x24bd97(0x13b)],0x0)&&await MyReporter[_0x24bd97(0xa2)](_0x3713b0);}async[a45_0xc3ac7(0xee)](){const _0x263761=a45_0xc3ac7;await RequestQueueHandler[_0x263761(0xf7)]()[_0x263761(0xbb)]();}async['onEnd'](_0x715f19){const _0x835906=a45_0xc3ac7,_0x163070={'ghueE':function(_0x53c699){return _0x53c699();},'gNROF':function(_0x52b7a3,_0x4bd79f){return _0x52b7a3(_0x4bd79f);}};await Promise[_0x835906(0x15e)](this[_0x835906(0x72)]),await this[_0x835906(0xee)]();try{process['env'][_0x835906(0x104)]&&await _0x163070[_0x835906(0xb3)](calculatePerformance);}catch(_0x15c451){_0x163070[_0x835906(0x70)](debug,_0x835906(0xf0)+_0x15c451[_0x835906(0x176)]());}}static async[a45_0xc3ac7(0xe5)](_0x47bb9c,_0x2d88d0){const _0x1b4bbc=a45_0xc3ac7;_0x2d88d0['test_run_uuid']=TestDetails['getTestUUID'](_0x47bb9c),await this[_0x1b4bbc(0xa2)]([_0x2d88d0]);}static async[a45_0xc3ac7(0xa2)](_0x3cf5be){const _0x163e42=a45_0xc3ac7,_0x1332ef={};_0x1332ef[_0x163e42(0x130)]='LogCreated';const _0x2c9ae4=_0x1332ef;if(BrowserstackCLI['getInstance']()['isRunning']())return;const _0x115939={};_0x115939['event_type']=_0x2c9ae4[_0x163e42(0x130)],_0x115939[_0x163e42(0x140)]=_0x3cf5be,await SessionHandler['uploadEventData'](_0x115939);}async['sendHookRunEvent'](_0x57c99c,_0x832906,_0xfe8a5b,_0x26285b){const _0x1dec34=a45_0xc3ac7,_0x1378f7={'ZaMHz':_0x1dec34(0xac),'CyRrG':_0x1dec34(0xaf),'Wqgij':_0x1dec34(0x10b),'mtaOB':function(_0x585e5c,_0x16363d){return _0x585e5c>=_0x16363d;},'QyICt':function(_0x10d59a,_0x5c6ffd){return _0x10d59a===_0x5c6ffd;},'oVrxh':_0x1dec34(0xf5),'Uhmln':function(_0x5199e7,_0xf33b2a){return _0x5199e7>_0xf33b2a;},'qHbra':_0x1dec34(0x137),'oaaxn':function(_0x404488,_0x13ffc8){return _0x404488(_0x13ffc8);},'dvnyZ':function(_0x10ebda,_0x36e499){return _0x10ebda(_0x36e499);},'gjWXp':function(_0x203df0,_0x1f250f,_0x46d9e2){return _0x203df0(_0x1f250f,_0x46d9e2);},'jQucs':_0x1dec34(0xe1),'bHugM':_0x1dec34(0xd7)},_0x2683a0=this['getStepIdentifier'](_0x57c99c,_0x832906),_0x17afc5=this[_0x1dec34(0x97)][_0x2683a0],_0x6c5fca={'uuid':_0x17afc5[_0x1dec34(0xff)],'type':_0x1378f7['ZaMHz'],'hook_type':this[_0x1dec34(0x166)](_0x832906[_0x1dec34(0x8c)]),'name':_0x832906['title'],'scope':this[_0x1dec34(0x7a)](_0x832906),'scopes':this[_0x1dec34(0x71)](_0x57c99c),'body':{'lang':_0x1378f7[_0x1dec34(0xae)],'code':null},'identifier':_0x2683a0,'file_name':path['relative'](process[_0x1dec34(0x145)](),_0x57c99c[_0x1dec34(0x84)][_0x1dec34(0x7f)]),'location':path['relative'](process[_0x1dec34(0x145)](),_0x57c99c['location'][_0x1dec34(0x7f)]),'result':_0x1378f7[_0x1dec34(0xc5)],'duration_in_ms':_0x1378f7['mtaOB'](_0x832906[_0x1dec34(0x16a)],0x0)?_0x832906[_0x1dec34(0x16a)]:undefined,'vc_filepath':this[_0x1dec34(0x14c)]&&_0x57c99c[_0x1dec34(0x84)][_0x1dec34(0x7f)]?path['relative'](this['_gitConfigPath'],_0x57c99c[_0x1dec34(0x84)][_0x1dec34(0x7f)]):undefined,'started_at':_0x17afc5[_0x1dec34(0x102)],'finished_at':_0x17afc5[_0x1dec34(0xc7)],'framework':FRAMEWORKS[_0x1dec34(0xa8)]};if(_0x1378f7['QyICt'](_0xfe8a5b,_0x1378f7[_0x1dec34(0x116)])){const {steps:_0x32ab15,logs:_0x17be43}=this[_0x1dec34(0x144)](_0x832906[_0x1dec34(0xcb)],_0x17afc5[_0x1dec34(0xff)],_0x1378f7['ZaMHz']);_0x17be43&&_0x1378f7['Uhmln'](_0x17be43[_0x1dec34(0x13b)],0x0)&&await MyReporter['reportLogs'](_0x17be43);const _0x57ef74={};_0x57ef74[_0x1dec34(0xcb)]=_0x32ab15,_0x6c5fca[_0x1dec34(0x159)]=_0x57ef74;if(_0x832906['error']){_0x6c5fca[_0x1dec34(0x173)]=_0x1378f7['qHbra'],_0x6c5fca[_0x1dec34(0xf9)]=_0x1378f7[_0x1dec34(0x164)](removeAnsiColors,_0x832906[_0x1dec34(0x15d)]['message']),_0x6c5fca[_0x1dec34(0x135)]=_0x1378f7['dvnyZ'](getFailureType,_0x832906[_0x1dec34(0x15d)][_0x1dec34(0xe3)]);const _0x454bfd=_0x1378f7[_0x1dec34(0xeb)](failureData,_0x832906[_0x1dec34(0x15d)],_0x1378f7['jQucs']);if(_0x454bfd&&_0x1378f7[_0x1dec34(0x91)](_0x454bfd[_0x1dec34(0x13b)],0x0)){const _0x52947e={};_0x52947e[_0x1dec34(0xdf)]=[_0x6c5fca[_0x1dec34(0xf9)]],_0x52947e[_0x1dec34(0x100)]=[],_0x454bfd[_0x1dec34(0x75)](_0x52947e);}_0x6c5fca['failure']=_0x454bfd;}else _0x6c5fca[_0x1dec34(0x173)]=_0x1378f7['bHugM'];}const _0x165142={};_0x165142['event_type']=_0xfe8a5b,_0x165142['hook_run']=_0x6c5fca;const _0x1e3f3d=_0x165142;await SessionHandler['uploadEventData'](_0x1e3f3d);}[a45_0xc3ac7(0x144)](_0x26cc6b,_0x44dd0d,_0x1895f8){const _0x68604d=a45_0xc3ac7,_0x34e354={'xwZPU':function(_0x19b416,_0x5e3208){return _0x19b416===_0x5e3208;},'jOalw':_0x68604d(0xac),'kwJLL':function(_0x5b84c7,_0x27878d){return _0x5b84c7===_0x27878d;},'cURdi':_0x68604d(0x12a),'TOSBd':'Before\x20Hooks','eZMwC':function(_0x41257f,_0x5cd921){return _0x41257f===_0x5cd921;},'jxnRp':'test','roDnd':_0x68604d(0x114),'CYEXX':_0x68604d(0x95),'AAlzO':'TEST_STEP','QuRkA':_0x68604d(0x137),'tHpux':_0x68604d(0xd7),'OyWJa':function(_0x5b9ec1,_0x2b6f49){return _0x5b9ec1(_0x2b6f49);},'kTFIH':function(_0x3362df){return _0x3362df();},'SeRAQ':function(_0x54eae5,_0x1046d6){return _0x54eae5(_0x1046d6);},'lXYUu':function(_0x42c7bd,_0x48082c,_0x3ab12c){return _0x42c7bd(_0x48082c,_0x3ab12c);}},_0x5312c5=[],_0x21019d=[],_0x53ec94=_0x26cc6b[_0x68604d(0x139)](_0x455e2b=>{const _0x13c8e4=_0x68604d;if(_0x34e354[_0x13c8e4(0xb5)](_0x455e2b[_0x13c8e4(0x107)],_0x34e354[_0x13c8e4(0x10f)])&&(_0x34e354[_0x13c8e4(0x123)](_0x455e2b['title'],_0x34e354['cURdi'])||_0x34e354[_0x13c8e4(0xb5)](_0x455e2b[_0x13c8e4(0x8c)],_0x34e354[_0x13c8e4(0xc2)])))return![];return!![];}),_0xef2923=(_0x373989,_0x30a2b5=![])=>{const _0x3d2c41=_0x68604d;if(_0x34e354[_0x3d2c41(0x123)](_0x373989['steps'][_0x3d2c41(0x13b)],0x0)){const _0x39e879=_0x34e354[_0x3d2c41(0x12e)](_0x1895f8,_0x34e354[_0x3d2c41(0xb8)])?_0x34e354[_0x3d2c41(0xde)]:_0x34e354[_0x3d2c41(0x106)];_0x21019d['push']({'kind':_0x34e354['AAlzO'],[_0x39e879]:_0x44dd0d,'message':_0x373989['title'],'timestamp':_0x373989[_0x3d2c41(0x162)][_0x3d2c41(0x127)](),'level':_0x373989[_0x3d2c41(0x15d)]?_0x34e354['QuRkA']:_0x34e354[_0x3d2c41(0xe7)],'duration':_0x373989[_0x3d2c41(0x16a)],'failure':_0x373989[_0x3d2c41(0x15d)]&&_0x373989[_0x3d2c41(0x15d)]['message']&&_0x34e354[_0x3d2c41(0x14f)](removeAnsiColors,_0x373989['error'][_0x3d2c41(0xe3)]),'failure_type':_0x34e354[_0x3d2c41(0x14f)](getFailureType,_0x373989[_0x3d2c41(0x15d)]&&_0x373989[_0x3d2c41(0x15d)][_0x3d2c41(0xe3)])});}else{!_0x30a2b5&&_0x5312c5[_0x3d2c41(0x75)]({'id':_0x34e354[_0x3d2c41(0xec)](uuidv4),'text':_0x373989['title'],'keyword':undefined,'started_at':_0x373989[_0x3d2c41(0x162)][_0x3d2c41(0x127)](),'duration':_0x373989['duration'],'result':_0x373989[_0x3d2c41(0x15d)]?_0x34e354['QuRkA']:_0x34e354[_0x3d2c41(0xe7)],'failure':_0x373989['error']&&_0x373989[_0x3d2c41(0x15d)][_0x3d2c41(0xe3)]&&_0x34e354[_0x3d2c41(0x6f)](removeAnsiColors,_0x373989[_0x3d2c41(0x15d)][_0x3d2c41(0xe3)]),'failure_type':_0x34e354['SeRAQ'](getFailureType,_0x373989[_0x3d2c41(0x15d)]&&_0x373989['error'][_0x3d2c41(0xe3)])});for(const _0x10d06e of _0x373989[_0x3d2c41(0xcb)]){_0x34e354[_0x3d2c41(0x17b)](_0xef2923,_0x10d06e,!![]);}}};for(const _0x24e7d0 of _0x53ec94){_0x34e354[_0x68604d(0x17b)](_0xef2923,_0x24e7d0,![]);}const _0x477600={};return _0x477600[_0x68604d(0xcb)]=_0x5312c5,_0x477600['logs']=_0x21019d,_0x477600;}async['sendTestRunEvent'](_0xec44cb,_0x7c0c94,_0x2a9928){const _0x46ae70=a45_0xc3ac7,_0x28bbb1={'OJdmK':function(_0x1c59d4,_0x202c5d){return _0x1c59d4(_0x202c5d);},'ylvYn':_0x46ae70(0x79),'rYBwH':function(_0x57d5f6,_0x2b11ec){return _0x57d5f6(_0x2b11ec);},'RTmpc':_0x46ae70(0x113),'tkouj':'javascript','lZXgh':_0x46ae70(0x10b),'XEkez':function(_0x23cfb9,_0x58a284){return _0x23cfb9(_0x58a284);},'ukwpC':function(_0x244e9f,_0x295029,_0x58d8e4,_0x538439,_0x390727){return _0x244e9f(_0x295029,_0x58d8e4,_0x538439,_0x390727);},'aAZGu':function(_0x497596,_0x31a9ee){return _0x497596>_0x31a9ee;},'HTfCb':function(_0x1fb885,_0x4032f6,_0x22ece0){return _0x1fb885(_0x4032f6,_0x22ece0);},'vrFsO':function(_0x2a41ca,_0x9a436a){return _0x2a41ca-_0x9a436a;},'DxwuG':function(_0x2fa83b,_0x17768f){return _0x2fa83b===_0x17768f;},'Tgjly':'TestRunFinished','NJmvj':function(_0x30e2f3,_0x480bd0){return _0x30e2f3>_0x480bd0;},'HyMZM':function(_0x7a0059,_0x11bbac){return _0x7a0059===_0x11bbac;},'xAWnh':function(_0x181636,_0x18da7f){return _0x181636===_0x18da7f;},'jmqlK':_0x46ae70(0xa7),'QxQRt':'passed','JgkUo':function(_0x401a5f,_0x2a4346){return _0x401a5f===_0x2a4346;},'pGpQp':'failed','RcXFf':function(_0x310d3a,_0x2c4915){return _0x310d3a===_0x2c4915;},'GFZmt':_0x46ae70(0x134),'uovjK':function(_0x1f8598,_0x18feb7){return _0x1f8598===_0x18feb7;},'WRPEc':_0x46ae70(0xdd),'jfxdb':function(_0x12f850,_0x2478ff,_0x3b10f5){return _0x12f850(_0x2478ff,_0x3b10f5);},'kXonG':function(_0x5e6cf9,_0x94cb2b){return _0x5e6cf9(_0x94cb2b);},'NTtSI':function(_0x40591b,_0xa1504a){return _0x40591b(_0xa1504a);},'feStH':function(_0x4cd0ac,_0x531445,_0x4dc2b5){return _0x4cd0ac(_0x531445,_0x4dc2b5);},'ANCqG':function(_0x4436da,_0x11c326){return _0x4436da>_0x11c326;},'ZzfBQ':_0x46ae70(0x9a),'YnEwG':function(_0x3bfff9,_0x4a86f2){return _0x3bfff9(_0x4a86f2);},'qsgEw':_0x46ae70(0x101),'hZAqV':'utf8','QeraT':function(_0x279a72,_0x105cff){return _0x279a72(_0x105cff);},'eLMjT':function(_0x2429e4,_0x4db036){return _0x2429e4!==_0x4db036;}},_0x46b1d6=_0x28bbb1[_0x46ae70(0xd3)](getTestIdentifier,_0xec44cb),_0x79aea2=this[_0x46ae70(0x7a)](_0xec44cb),_0x303020=this[_0x46ae70(0x97)][_0x46b1d6],_0x32b827=path[_0x46ae70(0xd0)](process[_0x46ae70(0x145)](),_0xec44cb[_0x46ae70(0x84)]['file']);await this['configureGit']();const _0x4012ab={'uuid':_0x303020[_0x46ae70(0xff)],'type':_0x28bbb1[_0x46ae70(0x14e)],'name':_0xec44cb['title'],'body':{'lang':_0x28bbb1[_0x46ae70(0xa6)],'code':_0xec44cb['fn'][_0x46ae70(0x176)]()},'scope':_0x79aea2,'scopes':this[_0x46ae70(0x71)](_0xec44cb),'identifier':_0x46b1d6,'file_name':_0x32b827,'location':_0x32b827,'result':_0x28bbb1[_0x46ae70(0x160)],'duration_in_ms':_0x2a9928&&_0x2a9928[_0x46ae70(0x16a)]?_0x2a9928[_0x46ae70(0x16a)]:null,'vc_filepath':this[_0x46ae70(0x14c)]&&_0xec44cb[_0x46ae70(0x84)][_0x46ae70(0x7f)]?path[_0x46ae70(0xd0)](this[_0x46ae70(0x14c)],_0xec44cb[_0x46ae70(0x84)]['file']):undefined,'started_at':_0x303020[_0x46ae70(0x102)],'finished_at':_0x303020[_0x46ae70(0xc7)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x46ae70(0x7b)](_0xec44cb)},'tags':_0x28bbb1['XEkez'](getTestTags,_0xec44cb)};_0x28bbb1[_0x46ae70(0x115)](appendTesthubParams,_0x4012ab,_0x7c0c94,_0xec44cb,FRAMEWORKS[_0x46ae70(0xa8)]);_0x2a9928&&_0x28bbb1[_0x46ae70(0x151)](_0x2a9928[_0x46ae70(0x11b)],0x0)&&(_0x4012ab[_0x46ae70(0xf4)]=TestDetails['getTestUUID'](_0x28bbb1['HTfCb'](getTestRunIdentifier,_0xec44cb,_0x28bbb1[_0x46ae70(0x119)](_0x2a9928[_0x46ae70(0x11b)],0x1))));if(_0x28bbb1[_0x46ae70(0x11c)](_0x7c0c94,_0x28bbb1[_0x46ae70(0xfb)])){try{const _0x51b467=TestDetails[_0x46ae70(0x136)](_0x303020[_0x46ae70(0xff)]);_0x51b467&&_0x28bbb1[_0x46ae70(0x16b)](Object[_0x46ae70(0xca)](_0x51b467)[_0x46ae70(0x13b)],0x0)?_0x4012ab[_0x46ae70(0xd8)]=_0x51b467:_0x28bbb1[_0x46ae70(0xc1)](debug,'No\x20integrations\x20found\x20for\x20test\x20'+_0x303020[_0x46ae70(0xff)]+_0x46ae70(0xce));}catch(_0x9e6904){_0x28bbb1[_0x46ae70(0xc1)](debug,_0x46ae70(0x168)+_0x303020['uuid']+':\x20'+util['format'](_0x9e6904));}_0x4012ab[_0x46ae70(0x173)]=_0x2a9928[_0x46ae70(0xd1)];if(_0x28bbb1[_0x46ae70(0xc9)](_0x2a9928[_0x46ae70(0xd1)],_0xec44cb[_0x46ae70(0xf1)]))_0x4012ab[_0x46ae70(0x173)]=_0x28bbb1['xAWnh'](_0x2a9928['status'],_0x28bbb1[_0x46ae70(0x167)])?_0x28bbb1[_0x46ae70(0x167)]:_0x28bbb1[_0x46ae70(0x74)];else{(_0x28bbb1[_0x46ae70(0x13d)](_0x4012ab[_0x46ae70(0x173)],_0x28bbb1[_0x46ae70(0x74)])||_0x28bbb1[_0x46ae70(0x13d)](_0x4012ab[_0x46ae70(0x173)],_0x28bbb1[_0x46ae70(0x158)])||_0x28bbb1[_0x46ae70(0x12c)](_0x4012ab[_0x46ae70(0x173)],_0x28bbb1['GFZmt']))&&(_0x4012ab[_0x46ae70(0x173)]=_0x28bbb1['pGpQp']);if(_0x28bbb1[_0x46ae70(0x13d)](_0x2a9928[_0x46ae70(0xd1)],_0x28bbb1['QxQRt'])&&_0x28bbb1[_0x46ae70(0xb1)](_0xec44cb[_0x46ae70(0xf1)],_0x28bbb1[_0x46ae70(0x158)])){const _0x37a6ca={};_0x37a6ca[_0x46ae70(0xe3)]=_0x28bbb1[_0x46ae70(0x171)],_0x37a6ca[_0x46ae70(0x111)]=_0x28bbb1[_0x46ae70(0x171)],_0x2a9928[_0x46ae70(0x15d)]=_0x37a6ca,_0x2a9928[_0x46ae70(0x11d)]=[_0x2a9928['error']];}}const _0x449eee=_0x28bbb1[_0x46ae70(0x92)](getTestRunIdentifier,_0xec44cb,_0x2a9928[_0x46ae70(0x11b)]);_0x4012ab[_0x46ae70(0x9e)]=this[_0x46ae70(0x112)][_0x449eee];const {steps:_0x5cf97b,logs:_0x3b8e01}=this[_0x46ae70(0x144)](_0x2a9928[_0x46ae70(0xcb)],_0x303020['uuid'],_0x28bbb1[_0x46ae70(0x14e)]);await MyReporter[_0x46ae70(0xa2)](_0x3b8e01);const _0x489cf7={};_0x489cf7[_0x46ae70(0xcb)]=_0x5cf97b,_0x4012ab[_0x46ae70(0x159)]=_0x489cf7;if(_0x2a9928['error']){_0x4012ab[_0x46ae70(0xf9)]=_0x28bbb1['kXonG'](removeAnsiColors,_0x2a9928[_0x46ae70(0x15d)][_0x46ae70(0xe3)]),_0x4012ab[_0x46ae70(0x135)]=_0x28bbb1['NTtSI'](getFailureType,_0x2a9928[_0x46ae70(0x15d)][_0x46ae70(0xe3)]);const _0x26540a={};_0x26540a['test_run_uuid']=_0x303020['uuid'];const {failureData:_0x576319,logs:_0x4e7b58}=_0x28bbb1[_0x46ae70(0x147)](getFailureData,_0x2a9928[_0x46ae70(0x11d)],_0x26540a);if(_0x576319&&_0x28bbb1[_0x46ae70(0xd6)](_0x576319[_0x46ae70(0x13b)],0x0)){const _0xda7b13={};_0xda7b13[_0x46ae70(0xdf)]=[_0x4012ab[_0x46ae70(0xf9)]],_0xda7b13[_0x46ae70(0x100)]=[],_0x576319['push'](_0xda7b13);}_0x4012ab[_0x46ae70(0x96)]=_0x576319,_0x4e7b58&&_0x28bbb1['ANCqG'](_0x4e7b58[_0x46ae70(0x13b)],0x0)&&await MyReporter['reportLogs'](_0x4e7b58);}}let _0x3479c1=_0x28bbb1[_0x46ae70(0x92)](findNestedKey,_0x2a9928,_0x28bbb1[_0x46ae70(0x82)]);if(_0x3479c1&&_0x28bbb1['NTtSI'](validateFilePath,_0x3479c1))_0x28bbb1[_0x46ae70(0xab)](debug,_0x46ae70(0x11a)+_0x303020[_0x46ae70(0xff)]+_0x46ae70(0x170)+_0x3479c1);else{const _0x19ce88=path[_0x46ae70(0x9d)](helper['homedir'](),_0x28bbb1[_0x46ae70(0x105)]);!fs['existsSync'](_0x19ce88)&&fs[_0x46ae70(0xa4)](_0x19ce88),fs['existsSync'](path['join'](_0x19ce88,'trace_'+_0x303020[_0x46ae70(0xff)]+'.txt'))&&(_0x3479c1=fs[_0x46ae70(0x146)](path[_0x46ae70(0x9d)](_0x19ce88,_0x46ae70(0xf6)+_0x303020[_0x46ae70(0xff)]+_0x46ae70(0x88)),_0x28bbb1[_0x46ae70(0x15f)]),_0x28bbb1[_0x46ae70(0xc4)](debug,_0x46ae70(0x11a)+_0x303020['uuid']+_0x46ae70(0x170)+_0x3479c1));}const _0x5f2047={};_0x5f2047[_0x46ae70(0x154)]=_0x7c0c94,_0x5f2047[_0x46ae70(0x78)]=_0x4012ab;const _0x27d44f=_0x5f2047;_0x3479c1&&_0x28bbb1['eLMjT'](_0x3479c1,'')&&_0x28bbb1[_0x46ae70(0xb1)](_0x7c0c94,_0x28bbb1['Tgjly'])&&(!_0x27d44f[_0x46ae70(0x140)]&&(_0x27d44f['logs']=[]),_0x3479c1[_0x46ae70(0xc0)]('\x0a')[_0x46ae70(0x16f)](_0xb139f0=>{const _0x852f96=_0x46ae70;_0xb139f0&&_0x28bbb1[_0x852f96(0xc1)](validateFilePath,_0xb139f0)&&_0x27d44f['logs'][_0x852f96(0x75)]({'kind':_0x28bbb1['ylvYn'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x303020[_0x852f96(0xff)],'file_name':path[_0x852f96(0x153)](_0xb139f0),'file_size':fs[_0x852f96(0x165)](_0xb139f0)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x46ae70(0x14a)](_0x27d44f);}[a45_0xc3ac7(0x7b)](_0x45674a){const _0x5eb4cf=a45_0xc3ac7,_0x5ab7ce={};_0x5ab7ce[_0x5eb4cf(0x13f)]=function(_0x223519,_0x4e7fc5){return _0x223519===_0x4e7fc5;},_0x5ab7ce['OmWhS']=function(_0x5c9e44,_0x4d7e64){return _0x5c9e44>_0x4d7e64;},_0x5ab7ce[_0x5eb4cf(0x15a)]=function(_0xb815a4,_0x2d37ce){return _0xb815a4+_0x2d37ce;},_0x5ab7ce[_0x5eb4cf(0x89)]=function(_0x53e107,_0x530b7a){return _0x53e107+_0x530b7a;},_0x5ab7ce[_0x5eb4cf(0x12d)]=function(_0x2af9ca,_0x5ba841){return _0x2af9ca+_0x5ba841;};const _0x190ed3=_0x5ab7ce,_0x4c9dd7=_0x45674a[_0x5eb4cf(0x13e)]()[_0x5eb4cf(0xbd)](_0x16a544=>{const _0x357704=_0x5eb4cf;if(_0x45674a[_0x357704(0xbe)]&&_0x190ed3[_0x357704(0x13f)](_0x16a544,_0x45674a[_0x357704(0xbe)][_0x357704(0x8c)])&&_0x45674a[_0x357704(0xbe)][_0x357704(0xe2)]&&_0x190ed3[_0x357704(0xb0)](_0x45674a[_0x357704(0xbe)]['_tags'][_0x357704(0x13b)],0x0))return _0x190ed3[_0x357704(0x15a)](_0x190ed3[_0x357704(0x15a)](_0x16a544,'\x20'),_0x45674a[_0x357704(0xbe)][_0x357704(0xe2)][_0x357704(0x9d)]('\x20'));if(_0x190ed3[_0x357704(0x13f)](_0x16a544,_0x45674a[_0x357704(0x8c)])&&_0x45674a['_tags']&&_0x190ed3['OmWhS'](_0x45674a[_0x357704(0xe2)][_0x357704(0x13b)],0x0))return _0x190ed3['sCaYo'](_0x190ed3[_0x357704(0x12d)](_0x16a544,'\x20'),_0x45674a[_0x357704(0xe2)][_0x357704(0x9d)]('\x20'));return _0x16a544;})[_0x5eb4cf(0x9d)]('\x20');return _0x4c9dd7;}static async[a45_0xc3ac7(0xea)](_0x1cbf75,_0xc81b71){const _0x168f60=a45_0xc3ac7,_0x4d1e0f={'tLxgA':function(_0x473077,_0x1c7802){return _0x473077(_0x1c7802);},'SUeOC':_0x168f60(0xd5)},_0x31f8cc={'uuid':TestDetails[_0x168f60(0x125)](_0x1cbf75),'integrations':_0xc81b71},_0x1ab835={};_0x1ab835[_0x168f60(0x124)]=null,_0x4d1e0f['tLxgA'](debug,_0x168f60(0x83)+_0x1cbf75+',\x20'+util[_0x168f60(0xe0)](_0xc81b71,_0x1ab835));const _0x15f9c7={};_0x15f9c7[_0x168f60(0x154)]=_0x4d1e0f['SUeOC'],_0x15f9c7[_0x168f60(0x78)]=_0x31f8cc,await SessionHandler[_0x168f60(0x14a)](_0x15f9c7);}async[a45_0xc3ac7(0x7e)](){const _0x42920e=a45_0xc3ac7,_0x422e4e={'WGEmT':function(_0x132b1e){return _0x132b1e();}};if(this['_gitConfigured'])return;const _0x2e5307=await _0x422e4e[_0x42920e(0x126)](getGitMetaData);_0x2e5307&&(this[_0x42920e(0x14c)]=_0x2e5307[_0x42920e(0x6e)]),this[_0x42920e(0xb6)]=!![];}[a45_0xc3ac7(0x71)](_0x457394){const _0x2d0b3=a45_0xc3ac7,_0x35eb1d={};_0x35eb1d[_0x2d0b3(0x174)]=function(_0x3b571a,_0xd6b259){return _0x3b571a!==_0xd6b259;};const _0x57359d=_0x35eb1d,_0x58c109=[];if(_0x457394&&_0x457394[_0x2d0b3(0xbe)]){let _0x5aeee0=_0x457394[_0x2d0b3(0xbe)];while(_0x5aeee0&&_0x57359d['geDQp'](_0x5aeee0[_0x2d0b3(0x8c)],'')){_0x58c109[_0x2d0b3(0x75)](_0x5aeee0[_0x2d0b3(0x8c)]),_0x5aeee0=_0x5aeee0[_0x2d0b3(0xbe)];}}return _0x58c109[_0x2d0b3(0x10c)]()[_0x2d0b3(0x103)](0x0,0x2),_0x58c109;}[a45_0xc3ac7(0x109)](_0xd5d5d5){const _0xbe5b99=a45_0xc3ac7,_0x2983a4={};_0x2983a4[_0xbe5b99(0xb7)]=function(_0xfc2d91,_0x29c5ad){return _0xfc2d91!==_0x29c5ad;},_0x2983a4[_0xbe5b99(0x163)]='hook',_0x2983a4['LVVDa']=function(_0x9dd205,_0xac9f88){return _0x9dd205===_0xac9f88;},_0x2983a4[_0xbe5b99(0x9f)]=_0xbe5b99(0x98),_0x2983a4[_0xbe5b99(0xf2)]='beforeAll\x20hook',_0x2983a4[_0xbe5b99(0x87)]=_0xbe5b99(0x12f),_0x2983a4[_0xbe5b99(0xc3)]=_0xbe5b99(0x81);const _0x43ad1a=_0x2983a4;if(_0x43ad1a['unfgK'](_0xd5d5d5[_0xbe5b99(0x107)],_0x43ad1a[_0xbe5b99(0x163)]))return![];if(_0x43ad1a['LVVDa']([_0x43ad1a['DlmnO'],_0x43ad1a[_0xbe5b99(0xf2)],_0x43ad1a[_0xbe5b99(0x87)],_0x43ad1a[_0xbe5b99(0xc3)]]['indexOf'](_0xd5d5d5['title']),-0x1))return![];return!![];}[a45_0xc3ac7(0x10d)](_0x3668dd,_0x38c989){const _0x127327=a45_0xc3ac7,_0x2214f3={'qTBMn':function(_0x2d9649,_0x5e4c30){return _0x2d9649(_0x5e4c30);}},_0x500a0b=_0x38c989[_0x127327(0x122)];if(_0x500a0b)return _0x500a0b;return _0x38c989[_0x127327(0x8c)]+_0x127327(0xdb)+_0x2214f3['qTBMn'](getTestIdentifier,_0x3668dd);}['setStepIdentifier'](_0xe8f4d3,_0x3e7e24){const _0x1b54c3=a45_0xc3ac7,_0x38ecca={'iCCZe':function(_0x3f9370,_0x1985c8){return _0x3f9370(_0x1985c8);},'yNngy':function(_0x37c230){return _0x37c230();}};let _0x54a890=_0x3e7e24[_0x1b54c3(0x8c)]+_0x1b54c3(0xdb)+_0x38ecca[_0x1b54c3(0xe4)](getTestIdentifier,_0xe8f4d3);return this['_tests'][_0x54a890]&&(_0x54a890=_0x54a890+_0x1b54c3(0x133)+_0x38ecca[_0x1b54c3(0x179)](uuidv4)),_0x3e7e24[_0x1b54c3(0x122)]=_0x54a890,_0x54a890;}[a45_0xc3ac7(0x166)]=_0x57e029=>{const _0x1ea0c3=a45_0xc3ac7,_0x232599={};_0x232599[_0x1ea0c3(0x13c)]=_0x1ea0c3(0x98),_0x232599[_0x1ea0c3(0x132)]=_0x1ea0c3(0x169),_0x232599['tuDze']=_0x1ea0c3(0x149),_0x232599['SXCHP']=_0x1ea0c3(0xa0),_0x232599[_0x1ea0c3(0x11e)]='afterEach\x20hook',_0x232599[_0x1ea0c3(0x7d)]='AFTER_EACH',_0x232599[_0x1ea0c3(0xd9)]=_0x1ea0c3(0x12f),_0x232599[_0x1ea0c3(0xaa)]=_0x1ea0c3(0xe6),_0x232599[_0x1ea0c3(0x8e)]='unknown';const _0x4b5eb1=_0x232599;if(_0x57e029[_0x1ea0c3(0x142)](_0x4b5eb1[_0x1ea0c3(0x13c)]))return _0x4b5eb1['qtQXw'];else{if(_0x57e029[_0x1ea0c3(0x142)](_0x4b5eb1['tuDze']))return _0x4b5eb1[_0x1ea0c3(0x8a)];else{if(_0x57e029['startsWith'](_0x4b5eb1[_0x1ea0c3(0x11e)]))return _0x4b5eb1[_0x1ea0c3(0x7d)];else{if(_0x57e029[_0x1ea0c3(0x142)](_0x4b5eb1['yxrAt']))return _0x4b5eb1[_0x1ea0c3(0xaa)];}}}return _0x4b5eb1[_0x1ea0c3(0x8e)];};[a45_0xc3ac7(0x7a)]=_0x345af2=>{const _0x332eef=a45_0xc3ac7,_0x56230d={};_0x56230d['CSnjk']=function(_0x2b5bcc,_0x216b7b){return _0x2b5bcc===_0x216b7b;},_0x56230d[_0x332eef(0x178)]='object';const _0x1cfac9=_0x56230d;let _0xc1a7f6=_0x345af2['parent'];return _0x1cfac9['CSnjk'](typeof _0x345af2['parent'],_0x1cfac9[_0x332eef(0x178)])&&(_0xc1a7f6=_0xc1a7f6[_0x332eef(0x8c)]),_0xc1a7f6+_0x332eef(0x133)+_0x345af2[_0x332eef(0x8c)];};[a45_0xc3ac7(0x10a)](){return![];}}function a45_0x3336(){const _0x30ceba=['Tgjly','attachments','getTestFramework','czBkH','uuid','expanded','.browserstack','startedAt','splice','BROWSERSTACK_O11Y_PERF_MEASUREMENT','qsgEw','CYEXX','category','1|3|4|5|2|6|0|7','needToReportStep','printsToStdio','pending','reverse','getStepIdentifier','sendHookRunEvent','jOalw','fXjEe','stack','_testHooksMap','test','test_run_uuid','ukwpC','oVrxh','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','1698360spUnvj','vrFsO','Trace\x20file\x20found\x20for\x20test:\x20','retry','DxwuG','errors','TvHGV','Dlmry','onStepBegin','413991ZmOLkQ','_bs_hookIdentifier','kwJLL','depth','getTestUUID','WGEmT','toISOString','fLCqU','POST','After\x20Hooks','../../../helpers/test-observability/sessionHandler','RcXFf','KERmN','eZMwC','afterAll\x20hook','lnuFo','BROWSERSTACK_TEST_RUN_ID','qtQXw','\x20-\x20','timedOut','failure_type','getIntegrations','failed','exports','filter','./pwUtils','length','hafoU','JgkUo','titlePath','tPWYs','logs','../../../helpers/helper','startsWith','KqtXo','getStepsAndLogs','cwd','readFileSync','feStH','709880iNFOJM','beforeAll\x20hook','uploadEventData','INIT_TEST','_gitConfigPath','509776IlpImT','RTmpc','OyWJa','existsSync','aAZGu','sendTestRunEvent','basename','event_type','MyReporter','QtICN','UnvZz','pGpQp','meta','IuPLg','../../../helpers/test-observability/constants','../../v2/state/testFrameworkState','error','all','hZAqV','lZXgh','WhoAw','startTime','isznF','oaaxn','statSync','getHookType','jmqlK','Error\x20reading\x20integrations\x20for\x20test\x20','BEFORE_EACH','duration','NJmvj','waGtv','Error\x20in\x20sending\x20trace\x20zip:\x20%s','ecYYJ','forEach','\x20at\x20','WRPEc','onBegin','result','geDQp','jwaDV','toString','FlOvs','ydHnD','yNngy','../../../../src/bin/utils/constants','lXYUu','TEST_SCREENSHOT','root','SeRAQ','gNROF','getHierarchy','_trackedEvents','\x20is\x20triggered\x20for\x20test\x20','QxQRt','push','isRunning','Hook\x20Started\x20with\x20unique\x20id\x20','test_run','TEST_ATTACHMENT','getScope','getCustomRerunParam','IMFJZ','sxhFF','configureGit','file','fZOqo','afterEach\x20hook','ZzfBQ','Sending\x20session\x20details\x20for\x20','location','env','onStepEnd','flFqV','.txt','sCaYo','SXCHP','trackEvent','title','onTestEnd','WBwTW','../../../helpers/test-observability/utils','onTestBegin','QyICt','jfxdb','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','startMonitoring','hook_run_uuid','failure','_tests','beforeEach\x20hook','../../../helpers/test-observability/requestQueueHandler','path','name','setup','join','hooks','DlmnO','BEFORE_ALL','base64','reportLogs','HookRunStarted','mkdirSync','348360wvNNkG','tkouj','skipped','PLAYWRIGHT','3250653pSGSmq','nplom','YnEwG','hook','blQHp','CyRrG','javascript','OmWhS','uovjK','START_TIME','ghueE','EzPDo','xwZPU','_gitConfigured','unfgK','jxnRp','TestRunFinished','wbzEd','shutdown','../../v2/TestInfo','map','parent','../../../helpers/testhub/utils','split','OJdmK','TOSBd','ToRwI','QeraT','Wqgij','TestRunStarted','finishedAt','TEST','HyMZM','keys','steps','2626662FnCrVr','WbSXt','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','PRE','relative','status','saZts','rYBwH','logLevel','CBTSessionCreated','xAWnh','passed','integrations','yxrAt','wzugf','\x20for\x20','Test\x20Started\x20with\x20unique\x20id\x20','Expected\x20to\x20fail,\x20but\x20passed.','roDnd','backtrace','inspect','err','_tags','message','iCCZe','addTestUIDAndReportLog','AFTER_ALL','tHpux','options','setStepIdentifier','sendSessionDetails','gjWXp','kTFIH','format','endSession','step','Error\x20in\x20calculating\x20performance:\x20','expectedStatus','horkI','./test-details','retry_of','HookRunFinished','trace_','getInstance','bgMNY','failure_reason','../../v2/browserstackCLI'];a45_0x3336=function(){return _0x30ceba;};return a45_0x3336();}module[a45_0xc3ac7(0x138)]=o11yClassErrorHandler(MyReporter,[a45_0xc3ac7(0x172),'endSession',a45_0xc3ac7(0x90),a45_0xc3ac7(0x8d),'onStepBegin',a45_0xc3ac7(0x86),'sendSessionDetails'],a45_0xc3ac7(0x155));
@@ -1 +1 @@
1
- const a46_0x1097a3=a46_0x56ea;(function(_0x557df0,_0x517649){const _0x10a52f=a46_0x56ea,_0x3efd3e=_0x557df0();while(!![]){try{const _0x509945=-parseInt(_0x10a52f(0x17e))/0x1*(parseInt(_0x10a52f(0x156))/0x2)+-parseInt(_0x10a52f(0x159))/0x3+-parseInt(_0x10a52f(0x16d))/0x4+-parseInt(_0x10a52f(0x13c))/0x5+-parseInt(_0x10a52f(0x141))/0x6+-parseInt(_0x10a52f(0x164))/0x7*(-parseInt(_0x10a52f(0x148))/0x8)+parseInt(_0x10a52f(0x144))/0x9;if(_0x509945===_0x517649)break;else _0x3efd3e['push'](_0x3efd3e['shift']());}catch(_0xcda1d9){_0x3efd3e['push'](_0x3efd3e['shift']());}}}(a46_0x590f,0x881f2));function a46_0x590f(){const _0x3e0fbc=['3630760mGaprv','testId','utf8','xJIqr','getTraceZipDir','exports','default','uuid','cQxMH','getTestDetails','KVEnI','RCyUN','nRMvI','iXswm','14JMseJg','getTestIdFromTestInfo','eHfXm','1569696MxMdZa','recursive','values','parse','rAlLm','toString','SUEsC','force','getStoreDirPath','readFileSync','getProjectIdFromTestInfo','7qFxSTi','push','getTraceFilePaths','_platformDetails.json','join','Qswds','hPpLc','WzAJq','DYeIk','3811420vZxjbT','message','.browserstack','gxvPC','getTestUUID','stringify','project','error','some','VKmdc','Error\x20reading\x20trace\x20file\x20paths:\x20%s','getFilePath','existsSync','env','BS_TESTOPS_BUILD_HASHED_ID','tests','path','19961vvaCfT','ooWAD','homedir','.txt','pid','string','flIZI','rmSync','getStoreDirName','sVUbZ','PyBjX','../../../helpers/logger','setup','_traceZipPaths.json','trace_','setTestDetails','setAccessibilityPlatformValidation','getDirPath','1081185tbIVHZ','GhQeQ','../../../helpers/helper','Error\x20writing\x20trace\x20file:\x20','filePath','5362470sDLvDV','TDRqb','jVJne','25465545Dqqbmd','_projectId','_test','writeFileSync'];a46_0x590f=function(){return _0x3e0fbc;};return a46_0x590f();}const fs=require('fs'),path=require(a46_0x1097a3(0x17d)),{v4:uuidv4}=require(a46_0x1097a3(0x14f)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x1097a3(0x135))['winstonLogger'],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require(a46_0x1097a3(0x13e));function a46_0x56ea(_0x3206d4,_0x33704c){const _0x590f3f=a46_0x590f();return a46_0x56ea=function(_0x56eac4,_0x507966){_0x56eac4=_0x56eac4-0x12d;let _0x2c5f3c=_0x590f3f[_0x56eac4];return _0x2c5f3c;},a46_0x56ea(_0x3206d4,_0x33704c);}class TestDetails{static [a46_0x1097a3(0x17c)]={};static[a46_0x1097a3(0x136)](){const _0x2cfc89=a46_0x1097a3;this['shutdown']();const _0x109afc={};_0x109afc[_0x2cfc89(0x15a)]=!![],fs['mkdirSync'](this[_0x2cfc89(0x13b)](),_0x109afc);const _0x4e8083={};_0x4e8083[_0x2cfc89(0x15a)]=!![],fs['mkdirSync'](this[_0x2cfc89(0x14c)](),_0x4e8083);}static[a46_0x1097a3(0x132)](){const _0xb9eb78=a46_0x1097a3,_0x345620={};_0x345620[_0xb9eb78(0x13d)]=function(_0x1c59e3,_0x3049f3){return _0x1c59e3+_0x3049f3;};const _0x704940=_0x345620;return _0x704940[_0xb9eb78(0x13d)](_0x704940[_0xb9eb78(0x13d)](TEMP_STORE_DIR_NAME,'-'),process[_0xb9eb78(0x17a)][_0xb9eb78(0x17b)]);}static[a46_0x1097a3(0x161)](){const _0x3cd302=a46_0x1097a3,_0xd6bdf7={};_0xd6bdf7[_0x3cd302(0x152)]=function(_0x57c92c,_0x58638b){return _0x57c92c+_0x58638b;},_0xd6bdf7[_0x3cd302(0x134)]=_0x3cd302(0x14e);const _0xa324eb=_0xd6bdf7;return path['join'](_0xa324eb[_0x3cd302(0x152)](_0xa324eb[_0x3cd302(0x152)](TEMP_STORE_DIR_NAME,'-'),process[_0x3cd302(0x17a)][_0x3cd302(0x17b)]||_0xa324eb[_0x3cd302(0x134)]));}static[a46_0x1097a3(0x14c)](){const _0x1cea5b=a46_0x1097a3,_0x2cd760={};_0x2cd760['DYeIk']='traceZipPaths';const _0x2ac3b7=_0x2cd760;return path[_0x1cea5b(0x168)](this[_0x1cea5b(0x161)](),_0x2ac3b7[_0x1cea5b(0x16c)]);}static[a46_0x1097a3(0x13b)](){const _0x320e94=a46_0x1097a3;return TestDetails[_0x320e94(0x132)]();}static[a46_0x1097a3(0x178)](_0x4a9844){const _0x583833=a46_0x1097a3,_0x40b60c={};_0x40b60c[_0x583833(0x150)]=function(_0x59a7c8,_0x78eacc){return _0x59a7c8+_0x78eacc;},_0x40b60c['flIZI']='.json';const _0x2d89d3=_0x40b60c;return path[_0x583833(0x168)](this[_0x583833(0x13b)](),_0x2d89d3[_0x583833(0x150)](_0x4a9844,_0x2d89d3[_0x583833(0x130)]));}static['getTestRunIdFromTestInfo'](_0x5a950b){const _0x256088=a46_0x1097a3,_0x54bbac={};_0x54bbac[_0x256088(0x15f)]=function(_0x3c81ff,_0x562cf1){return _0x3c81ff+_0x562cf1;},_0x54bbac[_0x256088(0x16b)]=function(_0x52289a,_0x3bb5b3){return _0x52289a+_0x3bb5b3;};const _0x194c02=_0x54bbac;return _0x194c02[_0x256088(0x15f)](_0x194c02['WzAJq'](_0x194c02[_0x256088(0x16b)](_0x194c02['SUEsC'](this[_0x256088(0x163)](_0x5a950b),'-'),this['getTestIdFromTestInfo'](_0x5a950b)),'-'),_0x5a950b['retry']);}static[a46_0x1097a3(0x163)](_0x59f1f5){const _0x441a0a=a46_0x1097a3,_0x363f30={'eHfXm':function(_0x3aa084,_0x266992,_0x646b43){return _0x3aa084(_0x266992,_0x646b43);},'tRXRw':_0x441a0a(0x146),'nRMvI':_0x441a0a(0x145),'RCyUN':_0x441a0a(0x173),'jVJne':'__projectId'};return _0x363f30[_0x441a0a(0x158)](nestedKeyValue,_0x59f1f5,[_0x363f30['tRXRw'],_0x363f30[_0x441a0a(0x154)]])||_0x363f30[_0x441a0a(0x158)](nestedKeyValue,_0x59f1f5,[_0x363f30[_0x441a0a(0x153)],_0x363f30[_0x441a0a(0x143)]]);}static[a46_0x1097a3(0x157)](_0x4a6321){const _0x1036c8=a46_0x1097a3,_0x29091d={'gxvPC':function(_0x4c5c28,_0x8fe1e,_0x1aadb1){return _0x4c5c28(_0x8fe1e,_0x1aadb1);},'sVUbZ':_0x1036c8(0x146)};return _0x29091d[_0x1036c8(0x170)](nestedKeyValue,_0x4a6321,[_0x29091d[_0x1036c8(0x133)],'id'])||_0x4a6321[_0x1036c8(0x149)];}static[a46_0x1097a3(0x171)](_0x57520e){const _0x457e88=a46_0x1097a3,_0x553111={'VKmdc':function(_0x2d5389,_0x5946df){return _0x2d5389===_0x5946df;},'rAlLm':_0x457e88(0x12f),'ooWAD':function(_0x53f3bf){return _0x53f3bf();}};if(this[_0x457e88(0x17c)][_0x57520e]&&_0x553111[_0x457e88(0x176)](typeof this['tests'][_0x57520e][_0x457e88(0x14f)],_0x553111[_0x457e88(0x15d)]))return this[_0x457e88(0x17c)][_0x57520e]['uuid'];const _0x3926cd=this[_0x457e88(0x178)](_0x57520e);if(_0x3926cd&&fs[_0x457e88(0x179)](_0x3926cd)){const _0x54692b=JSON[_0x457e88(0x15c)](fs[_0x457e88(0x162)](_0x3926cd)[_0x457e88(0x15e)]());return this[_0x457e88(0x17c)][_0x57520e]=_0x54692b,this[_0x457e88(0x17c)][_0x57520e][_0x457e88(0x14f)];}return this[_0x457e88(0x17c)][_0x57520e]={'uuid':_0x553111[_0x457e88(0x17f)](uuidv4)},fs['writeFileSync'](_0x3926cd,JSON['stringify'](this['tests'][_0x57520e])),this[_0x457e88(0x17c)][_0x57520e]['uuid'];}static['getAccessibilityPlatformValidation'](_0x295ca7){const _0x24c6a0=a46_0x1097a3,_0x1d42e2=path[_0x24c6a0(0x168)](this[_0x24c6a0(0x13b)](),_0x295ca7+_0x24c6a0(0x167));if(_0x1d42e2&&fs[_0x24c6a0(0x179)](_0x1d42e2))return fs[_0x24c6a0(0x162)](_0x1d42e2)[_0x24c6a0(0x15e)]();}static[a46_0x1097a3(0x13a)](_0x1d32bd,_0x2739ea){const _0x3bd648=a46_0x1097a3,_0x558519=path[_0x3bd648(0x168)](this['getDirPath'](),_0x2739ea+'_platformDetails.json');fs[_0x3bd648(0x147)](_0x558519,_0x1d32bd[_0x3bd648(0x15e)]());}static['shutdown'](){const _0x239f39=a46_0x1097a3,_0x428ea9={};_0x428ea9[_0x239f39(0x15a)]=!![],_0x428ea9[_0x239f39(0x160)]=!![],fs[_0x239f39(0x131)](this['getDirPath'](),_0x428ea9);}static[a46_0x1097a3(0x151)](_0x306d85){const _0x257903=a46_0x1097a3;if(this[_0x257903(0x17c)][_0x306d85])return this['tests'][_0x306d85];const _0x2dacdd=this[_0x257903(0x178)](_0x306d85);if(_0x2dacdd&&fs[_0x257903(0x179)](_0x2dacdd)){const _0x328b19=JSON['parse'](fs[_0x257903(0x162)](_0x2dacdd)['toString']());return this[_0x257903(0x17c)][_0x306d85]=_0x328b19,_0x328b19;}return{};}static[a46_0x1097a3(0x139)](_0x27f539,_0x5a8486){const _0x15e080=a46_0x1097a3,_0x5c01fd=this[_0x15e080(0x178)](_0x27f539);if(_0x5c01fd&&fs[_0x15e080(0x179)](_0x5c01fd)){const _0x1ff24e=JSON['parse'](fs['readFileSync'](_0x5c01fd)['toString']()),_0x45ad3e={..._0x1ff24e,..._0x5a8486};this['tests'][_0x27f539]=_0x45ad3e;}else this[_0x15e080(0x17c)][_0x27f539]=_0x5a8486;fs[_0x15e080(0x147)](_0x5c01fd,this['tests'][_0x27f539]);}static['addTraceFilePath'](_0x9dcf13){const _0x14e077=a46_0x1097a3,_0x5af1a7={};_0x5af1a7[_0x14e077(0x14b)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x3c4f92=_0x5af1a7;try{const _0x5e89f9=process[_0x14e077(0x12e)],_0x1d4d4b=path['join'](TestDetails['getTraceZipDir'](),_0x5e89f9+_0x14e077(0x137));let _0x273dfe=[];_0x1d4d4b&&fs[_0x14e077(0x179)](_0x1d4d4b)&&(_0x273dfe=JSON['parse'](fs[_0x14e077(0x162)](_0x1d4d4b)['toString']())),!_0x273dfe[_0x14e077(0x175)](_0x3fa0e2=>_0x3fa0e2[_0x14e077(0x140)]===_0x9dcf13[_0x14e077(0x140)])&&(_0x273dfe['push'](_0x9dcf13),fs[_0x14e077(0x147)](_0x1d4d4b,JSON[_0x14e077(0x172)](_0x273dfe)));}catch(_0x1b9078){logger[_0x14e077(0x174)](_0x3c4f92['xJIqr'],_0x1b9078);}}static[a46_0x1097a3(0x166)](){const _0x1b8411=a46_0x1097a3,_0x41e9b7={};_0x41e9b7[_0x1b8411(0x169)]='_traceZipPaths.json',_0x41e9b7['TDRqb']=_0x1b8411(0x177);const _0x581ebd=_0x41e9b7,_0xc6e8c=[];try{const _0xc8cb5b=TestDetails['getTraceZipDir']();if(_0xc8cb5b&&!fs[_0x1b8411(0x179)](_0xc8cb5b))return _0xc6e8c;const _0x5517ca=fs['readdirSync'](_0xc8cb5b);_0x5517ca['forEach'](_0x321f50=>{const _0x54c907=_0x1b8411;if(_0x321f50&&_0x321f50['endsWith'](_0x581ebd[_0x54c907(0x169)])){const _0x4cc153=JSON[_0x54c907(0x15c)](fs['readFileSync'](path[_0x54c907(0x168)](_0xc8cb5b,_0x321f50))[_0x54c907(0x15e)]());_0xc6e8c[_0x54c907(0x165)](..._0x4cc153);}});}catch(_0xedd1ba){logger[_0x1b8411(0x174)](util['format'](_0x581ebd[_0x1b8411(0x142)],_0xedd1ba));}const _0xcec070={};return _0xc6e8c['forEach'](_0x19c8a8=>{const _0x59edee=_0x1b8411;_0xcec070[_0x19c8a8[_0x59edee(0x140)]]=_0x19c8a8;}),Object[_0x1b8411(0x15b)](_0xcec070);}static['appendToTracePaths'](_0x2bea5e,_0x5c05b4){const _0x143224=a46_0x1097a3,_0x5eb1ee={};_0x5eb1ee[_0x143224(0x155)]=_0x143224(0x16f),_0x5eb1ee[_0x143224(0x16a)]=_0x143224(0x14a);const _0x1ce966=_0x5eb1ee;try{const _0xc1f371=path[_0x143224(0x168)](helper[_0x143224(0x180)](),_0x1ce966[_0x143224(0x155)]);if(!fs[_0x143224(0x179)](_0xc1f371)){const _0x3329fa={};_0x3329fa[_0x143224(0x15a)]=!![],fs['mkdirSync'](_0xc1f371,_0x3329fa);}fs['appendFileSync'](path[_0x143224(0x168)](_0xc1f371,_0x143224(0x138)+_0x5c05b4+_0x143224(0x12d)),_0x2bea5e+'\x0a',_0x1ce966['hPpLc']);}catch(_0x52ef4d){console[_0x143224(0x174)](_0x143224(0x13f)+_0x52ef4d[_0x143224(0x16e)]);}}}module[a46_0x1097a3(0x14d)]=TestDetails;
1
+ const a46_0x33fd2b=a46_0x2ee5;function a46_0x2ee5(_0x4b5056,_0x27d05e){const _0x4359ab=a46_0x4359();return a46_0x2ee5=function(_0x2ee56a,_0x166773){_0x2ee56a=_0x2ee56a-0x125;let _0x249c1d=_0x4359ab[_0x2ee56a];return _0x249c1d;},a46_0x2ee5(_0x4b5056,_0x27d05e);}(function(_0x1912ac,_0x2eaf6d){const _0x36e38a=a46_0x2ee5,_0x566ced=_0x1912ac();while(!![]){try{const _0x362d86=parseInt(_0x36e38a(0x12f))/0x1+-parseInt(_0x36e38a(0x159))/0x2*(-parseInt(_0x36e38a(0x165))/0x3)+-parseInt(_0x36e38a(0x12d))/0x4*(-parseInt(_0x36e38a(0x155))/0x5)+parseInt(_0x36e38a(0x17d))/0x6+parseInt(_0x36e38a(0x16a))/0x7*(parseInt(_0x36e38a(0x148))/0x8)+-parseInt(_0x36e38a(0x12a))/0x9*(parseInt(_0x36e38a(0x164))/0xa)+-parseInt(_0x36e38a(0x138))/0xb;if(_0x362d86===_0x2eaf6d)break;else _0x566ced['push'](_0x566ced['shift']());}catch(_0x232f2e){_0x566ced['push'](_0x566ced['shift']());}}}(a46_0x4359,0x8fb36));const fs=require('fs'),path=require(a46_0x33fd2b(0x12b)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a46_0x33fd2b(0x13a)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x33fd2b(0x14c))[a46_0x33fd2b(0x140)],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require(a46_0x33fd2b(0x169));function a46_0x4359(){const _0x156039=['join','Error\x20handling\x20trace\x20file\x20paths:\x20','30wqWMBb','234540FFUwbB','_projectId','error','Lzmna','../../../helpers/helper','1723708TPdCHZ','stringify','writeFileSync','toString','getStoreDirPath','getTraceZipDir','setAccessibilityPlatformValidation','_test','setup','_platformDetails.json','getTestDetails','force','uuid','rmSync','BS_TESTOPS_BUILD_HASHED_ID','appendToTracePaths','getFilePath','forEach','homedir','4227816wWsAUV','getTestUUID','FRpWv','.json','values','__projectId','mKimS','readFileSync','MbQXl','utf8','wQMBV','env','project','Khqtv','_integrations.json','FUhHs','941859kMBNyq','path','getAccessibilityPlatformValidation','227036cPnAzx','readdirSync','321322FvyyYK','fdqNh','eyJNu','GHUun','format','filePath','getProjectIdFromTestInfo','Error\x20writing\x20trace\x20file:\x20','getStoreDirName','8259174nOKRPX','AURdo','../../../helpers/test-observability/constants','CEGFh','mvKuz','lsPGM','cSlBY','getTraceFilePaths','winstonLogger','acHnO','setTestDetails','parse','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','addTraceFilePath','mEspF','trace_','16kIiHvx','YLtPG','string','existsSync','../../../helpers/logger','.browserstack','rJpBy','URMMH','getDirPath','tests','.txt','push','debug','5BkwqYR','Error\x20reading\x20trace\x20file\x20paths:\x20%s','xcPAL','eoNFI','2ShLnGV','setIntegrations','recursive','mkdirSync','upjWr','shutdown','ibRzj','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','message'];a46_0x4359=function(){return _0x156039;};return a46_0x4359();}class TestDetails{static [a46_0x33fd2b(0x151)]={};static[a46_0x33fd2b(0x172)](){const _0x177936=a46_0x33fd2b;this[_0x177936(0x15e)]();const _0x360bba={};_0x360bba[_0x177936(0x15b)]=!![],fs[_0x177936(0x15c)](this[_0x177936(0x150)](),_0x360bba);const _0x33a408={};_0x33a408['recursive']=!![],fs[_0x177936(0x15c)](this[_0x177936(0x16f)](),_0x33a408);}static['getStoreDirName'](){const _0x497c17=a46_0x33fd2b,_0x3a6aad={};_0x3a6aad[_0x497c17(0x141)]=function(_0x18c662,_0xd2cc24){return _0x18c662+_0xd2cc24;};const _0x57d1c2=_0x3a6aad;return _0x57d1c2[_0x497c17(0x141)](_0x57d1c2[_0x497c17(0x141)](TEMP_STORE_DIR_NAME,'-'),process[_0x497c17(0x125)][_0x497c17(0x178)]);}static[a46_0x33fd2b(0x16e)](){const _0x14e43b=a46_0x33fd2b,_0x416bf6={};_0x416bf6['cSlBY']=function(_0x44f675,_0x13fe50){return _0x44f675+_0x13fe50;},_0x416bf6[_0x14e43b(0x157)]='default';const _0xf954aa=_0x416bf6;return path['join'](_0xf954aa[_0x14e43b(0x13e)](_0xf954aa[_0x14e43b(0x13e)](TEMP_STORE_DIR_NAME,'-'),process[_0x14e43b(0x125)][_0x14e43b(0x178)]||_0xf954aa[_0x14e43b(0x157)]));}static[a46_0x33fd2b(0x16f)](){const _0x5aa05f=a46_0x33fd2b,_0x2faac1={};_0x2faac1[_0x5aa05f(0x15f)]='traceZipPaths';const _0x2c82ba=_0x2faac1;return path[_0x5aa05f(0x162)](this[_0x5aa05f(0x16e)](),_0x2c82ba[_0x5aa05f(0x15f)]);}static[a46_0x33fd2b(0x150)](){const _0x325bee=a46_0x33fd2b;return TestDetails[_0x325bee(0x137)]();}static[a46_0x33fd2b(0x17a)](_0x5697de){const _0x54fb27=a46_0x33fd2b,_0x2c4591={};_0x2c4591[_0x54fb27(0x168)]=function(_0x5d5229,_0x146a13){return _0x5d5229+_0x146a13;},_0x2c4591[_0x54fb27(0x158)]=_0x54fb27(0x180);const _0xe08963=_0x2c4591;return path[_0x54fb27(0x162)](this[_0x54fb27(0x150)](),_0xe08963[_0x54fb27(0x168)](_0x5697de,_0xe08963[_0x54fb27(0x158)]));}static['getTestRunIdFromTestInfo'](_0x4307e1){const _0x4ecdc8=a46_0x33fd2b,_0xf7e108={};_0xf7e108[_0x4ecdc8(0x127)]=function(_0x1957e7,_0x1376db){return _0x1957e7+_0x1376db;},_0xf7e108['rJpBy']=function(_0x5984e6,_0x459bc7){return _0x5984e6+_0x459bc7;},_0xf7e108[_0x4ecdc8(0x13c)]=function(_0x14b842,_0x2cefcd){return _0x14b842+_0x2cefcd;};const _0x599665=_0xf7e108;return _0x599665['Khqtv'](_0x599665['rJpBy'](_0x599665[_0x4ecdc8(0x14e)](_0x599665[_0x4ecdc8(0x13c)](this[_0x4ecdc8(0x135)](_0x4307e1),'-'),this['getTestIdFromTestInfo'](_0x4307e1)),'-'),_0x4307e1['retry']);}static[a46_0x33fd2b(0x135)](_0x18aa2b){const _0x9b8c40=a46_0x33fd2b,_0x36977e={'wQMBV':function(_0x29a168,_0x423776,_0x47e6de){return _0x29a168(_0x423776,_0x47e6de);},'lsPGM':_0x9b8c40(0x171),'kPqNB':_0x9b8c40(0x166),'FRpWv':_0x9b8c40(0x126),'upjWr':_0x9b8c40(0x182)};return _0x36977e[_0x9b8c40(0x187)](nestedKeyValue,_0x18aa2b,[_0x36977e[_0x9b8c40(0x13d)],_0x36977e['kPqNB']])||_0x36977e[_0x9b8c40(0x187)](nestedKeyValue,_0x18aa2b,[_0x36977e[_0x9b8c40(0x17f)],_0x36977e[_0x9b8c40(0x15d)]]);}static['getTestIdFromTestInfo'](_0x1b72b8){const _0x2d0eab=a46_0x33fd2b,_0x1b28cd={'URMMH':function(_0x45d8a7,_0x40bc6c,_0x400141){return _0x45d8a7(_0x40bc6c,_0x400141);},'fdqNh':_0x2d0eab(0x171)};return _0x1b28cd[_0x2d0eab(0x14f)](nestedKeyValue,_0x1b72b8,[_0x1b28cd[_0x2d0eab(0x130)],'id'])||_0x1b72b8['testId'];}static[a46_0x33fd2b(0x17e)](_0x20014b){const _0x4d3685=a46_0x33fd2b,_0x1f7d2d={'YLtPG':function(_0x2de1a3,_0x1149b6){return _0x2de1a3===_0x1149b6;},'mKimS':_0x4d3685(0x14a),'eyJNu':function(_0x5a8b6e){return _0x5a8b6e();}};if(this[_0x4d3685(0x151)][_0x20014b]&&_0x1f7d2d[_0x4d3685(0x149)](typeof this['tests'][_0x20014b][_0x4d3685(0x176)],_0x1f7d2d[_0x4d3685(0x183)]))return this[_0x4d3685(0x151)][_0x20014b][_0x4d3685(0x176)];const _0x5477f7=this[_0x4d3685(0x17a)](_0x20014b);if(_0x5477f7&&fs[_0x4d3685(0x14b)](_0x5477f7)){const _0x57401e=JSON['parse'](fs['readFileSync'](_0x5477f7)[_0x4d3685(0x16d)]());return this['tests'][_0x20014b]=_0x57401e,this['tests'][_0x20014b][_0x4d3685(0x176)];}return this['tests'][_0x20014b]={'uuid':_0x1f7d2d[_0x4d3685(0x131)](uuidv4)},fs[_0x4d3685(0x16c)](_0x5477f7,JSON[_0x4d3685(0x16b)](this['tests'][_0x20014b])),this[_0x4d3685(0x151)][_0x20014b][_0x4d3685(0x176)];}static[a46_0x33fd2b(0x12c)](_0x504553){const _0x415b6f=a46_0x33fd2b,_0x4de461=path[_0x415b6f(0x162)](this['getDirPath'](),_0x504553+_0x415b6f(0x173));if(_0x4de461&&fs[_0x415b6f(0x14b)](_0x4de461))return fs[_0x415b6f(0x184)](_0x4de461)[_0x415b6f(0x16d)]();}static[a46_0x33fd2b(0x170)](_0x5db842,_0x47c2d6){const _0x37bc18=a46_0x33fd2b,_0x123528=path[_0x37bc18(0x162)](this[_0x37bc18(0x150)](),_0x47c2d6+_0x37bc18(0x173));fs[_0x37bc18(0x16c)](_0x123528,_0x5db842[_0x37bc18(0x16d)]());}static['getIntegrations'](_0x566944){const _0x419f18=a46_0x33fd2b,_0x2f9635=path[_0x419f18(0x162)](this['getDirPath'](),_0x566944+_0x419f18(0x128));if(_0x2f9635&&fs[_0x419f18(0x14b)](_0x2f9635))try{return JSON[_0x419f18(0x143)](fs[_0x419f18(0x184)](_0x2f9635)[_0x419f18(0x16d)]());}catch(_0x188f32){return logger[_0x419f18(0x154)](_0x419f18(0x144)+_0x566944+':\x20'+(_0x188f32&&_0x188f32[_0x419f18(0x161)])),null;}return null;}static[a46_0x33fd2b(0x15a)](_0x55fc32,_0x58e15b){const _0x32b2ae=a46_0x33fd2b,_0x4f8334={};_0x4f8334[_0x32b2ae(0x13b)]=function(_0x3dc01a,_0xa61e53){return _0x3dc01a||_0xa61e53;};const _0x1cb9d3=_0x4f8334;if(_0x1cb9d3[_0x32b2ae(0x13b)](!_0x55fc32,!_0x58e15b))return;try{const _0x3921de=this[_0x32b2ae(0x150)](),_0x45c15c={};_0x45c15c[_0x32b2ae(0x15b)]=!![],fs[_0x32b2ae(0x15c)](_0x3921de,_0x45c15c);const _0x268b41=path[_0x32b2ae(0x162)](_0x3921de,_0x55fc32+_0x32b2ae(0x128));fs[_0x32b2ae(0x16c)](_0x268b41,JSON[_0x32b2ae(0x16b)](_0x58e15b));}catch(_0x452a5a){logger[_0x32b2ae(0x154)](_0x32b2ae(0x160)+_0x55fc32+':\x20'+(_0x452a5a&&_0x452a5a['message']));}}static[a46_0x33fd2b(0x15e)](){const _0x505cbe=a46_0x33fd2b,_0x1d28a2={};_0x1d28a2[_0x505cbe(0x15b)]=!![],_0x1d28a2[_0x505cbe(0x175)]=!![],fs[_0x505cbe(0x177)](this['getDirPath'](),_0x1d28a2);}static[a46_0x33fd2b(0x174)](_0x1506ca){const _0x445674=a46_0x33fd2b;if(this[_0x445674(0x151)][_0x1506ca])return this[_0x445674(0x151)][_0x1506ca];const _0x24fd97=this['getFilePath'](_0x1506ca);if(_0x24fd97&&fs[_0x445674(0x14b)](_0x24fd97)){const _0x3414b9=JSON[_0x445674(0x143)](fs['readFileSync'](_0x24fd97)[_0x445674(0x16d)]());return this[_0x445674(0x151)][_0x1506ca]=_0x3414b9,_0x3414b9;}return{};}static[a46_0x33fd2b(0x142)](_0x5c3163,_0x1e8f92){const _0x35bc8e=a46_0x33fd2b,_0x3c8a37=this[_0x35bc8e(0x17a)](_0x5c3163);if(_0x3c8a37&&fs['existsSync'](_0x3c8a37)){const _0x213b68=JSON[_0x35bc8e(0x143)](fs['readFileSync'](_0x3c8a37)[_0x35bc8e(0x16d)]()),_0x6fe5f0={..._0x213b68,..._0x1e8f92};this[_0x35bc8e(0x151)][_0x5c3163]=_0x6fe5f0;}else this[_0x35bc8e(0x151)][_0x5c3163]=_0x1e8f92;fs['writeFileSync'](_0x3c8a37,this[_0x35bc8e(0x151)][_0x5c3163]);}static[a46_0x33fd2b(0x145)](_0x1244e0){const _0x517099=a46_0x33fd2b,_0x372144={};_0x372144[_0x517099(0x185)]=_0x517099(0x163);const _0x3b9885=_0x372144;try{const _0x492829=process['pid'],_0x2219b5=path[_0x517099(0x162)](TestDetails[_0x517099(0x16f)](),_0x492829+'_traceZipPaths.json');let _0x27e781=[];_0x2219b5&&fs['existsSync'](_0x2219b5)&&(_0x27e781=JSON[_0x517099(0x143)](fs[_0x517099(0x184)](_0x2219b5)[_0x517099(0x16d)]())),!_0x27e781['some'](_0x40ab24=>_0x40ab24[_0x517099(0x134)]===_0x1244e0[_0x517099(0x134)])&&(_0x27e781[_0x517099(0x153)](_0x1244e0),fs[_0x517099(0x16c)](_0x2219b5,JSON[_0x517099(0x16b)](_0x27e781)));}catch(_0x561d8c){logger[_0x517099(0x167)](_0x3b9885[_0x517099(0x185)],_0x561d8c);}}static[a46_0x33fd2b(0x13f)](){const _0x17eda7=a46_0x33fd2b,_0x3176b8={};_0x3176b8[_0x17eda7(0x146)]='_traceZipPaths.json',_0x3176b8[_0x17eda7(0x129)]=_0x17eda7(0x156);const _0x316f51=_0x3176b8,_0x105eff=[];try{const _0x1a7959=TestDetails['getTraceZipDir']();if(_0x1a7959&&!fs[_0x17eda7(0x14b)](_0x1a7959))return _0x105eff;const _0x10adee=fs[_0x17eda7(0x12e)](_0x1a7959);_0x10adee[_0x17eda7(0x17b)](_0xb62381=>{const _0x430a21=_0x17eda7;if(_0xb62381&&_0xb62381['endsWith'](_0x316f51[_0x430a21(0x146)])){const _0x551522=JSON[_0x430a21(0x143)](fs[_0x430a21(0x184)](path[_0x430a21(0x162)](_0x1a7959,_0xb62381))[_0x430a21(0x16d)]());_0x105eff['push'](..._0x551522);}});}catch(_0x337732){logger[_0x17eda7(0x167)](util[_0x17eda7(0x133)](_0x316f51[_0x17eda7(0x129)],_0x337732));}const _0x2bf9bd={};return _0x105eff[_0x17eda7(0x17b)](_0x2da42e=>{const _0xe4a585=_0x17eda7;_0x2bf9bd[_0x2da42e[_0xe4a585(0x134)]]=_0x2da42e;}),Object[_0x17eda7(0x181)](_0x2bf9bd);}static[a46_0x33fd2b(0x179)](_0x22e967,_0x1279bf){const _0x5c770=a46_0x33fd2b,_0x1b289b={};_0x1b289b[_0x5c770(0x132)]=_0x5c770(0x14d),_0x1b289b['AURdo']=_0x5c770(0x186);const _0x363085=_0x1b289b;try{const _0x7e226c=path['join'](helper[_0x5c770(0x17c)](),_0x363085[_0x5c770(0x132)]);if(!fs[_0x5c770(0x14b)](_0x7e226c)){const _0x3e7b27={};_0x3e7b27['recursive']=!![],fs[_0x5c770(0x15c)](_0x7e226c,_0x3e7b27);}fs['appendFileSync'](path[_0x5c770(0x162)](_0x7e226c,_0x5c770(0x147)+_0x1279bf+_0x5c770(0x152)),_0x22e967+'\x0a',_0x363085[_0x5c770(0x139)]);}catch(_0x26c5be){console['error'](_0x5c770(0x136)+_0x26c5be[_0x5c770(0x161)]);}}}module['exports']=TestDetails;
@@ -1 +1 @@
1
- function a47_0x5971(_0x5d8a63,_0xa94122){const _0x4bb08e=a47_0x4bb0();return a47_0x5971=function(_0x59712c,_0x19601c){_0x59712c=_0x59712c-0x12c;let _0x3e08bf=_0x4bb08e[_0x59712c];return _0x3e08bf;},a47_0x5971(_0x5d8a63,_0xa94122);}const a47_0x5ae183=a47_0x5971;(function(_0x1b5644,_0xc37474){const _0x2d4f65=a47_0x5971,_0x34832c=_0x1b5644();while(!![]){try{const _0xc20361=-parseInt(_0x2d4f65(0x1e9))/0x1+parseInt(_0x2d4f65(0x1af))/0x2+-parseInt(_0x2d4f65(0x1b5))/0x3+-parseInt(_0x2d4f65(0x19a))/0x4+-parseInt(_0x2d4f65(0x169))/0x5*(-parseInt(_0x2d4f65(0x1be))/0x6)+-parseInt(_0x2d4f65(0x17e))/0x7*(parseInt(_0x2d4f65(0x132))/0x8)+parseInt(_0x2d4f65(0x1ac))/0x9;if(_0xc20361===_0xc37474)break;else _0x34832c['push'](_0x34832c['shift']());}catch(_0x21624d){_0x34832c['push'](_0x34832c['shift']());}}}(a47_0x4bb0,0xda50c));const path=require(a47_0x5ae183(0x162)),url=require('url'),util=require(a47_0x5ae183(0x14f)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a47_0x5ae183(0x1da)),{o11yErrorHandler}=require(a47_0x5ae183(0x148)),{debug,getPlatformDetails}=require(a47_0x5ae183(0x1a2)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x5ae183(0x1d6)),logger=require(a47_0x5ae183(0x1c6))[a47_0x5ae183(0x19d)],scripts=require(a47_0x5ae183(0x12f)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require('./accessibility-helper'),constants=require(a47_0x5ae183(0x1cd)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a47_0x5ae183(0x187)),HookState=require(a47_0x5ae183(0x1d5)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a47_0x5ae183(0x190)),getBrowserNameFromChannel=_0x53cf2b=>{const _0x92bb0=a47_0x5ae183,_0x5921f7={};_0x5921f7['hqUug']=_0x92bb0(0x17b),_0x5921f7[_0x92bb0(0x1c3)]='chrome',_0x5921f7[_0x92bb0(0x183)]=_0x92bb0(0x1e6),_0x5921f7[_0x92bb0(0x144)]=function(_0x5eb5db,_0x17359e){return _0x5eb5db===_0x17359e;},_0x5921f7[_0x92bb0(0x145)]=_0x92bb0(0x137),_0x5921f7[_0x92bb0(0x1a7)]=_0x92bb0(0x19e),_0x5921f7[_0x92bb0(0x157)]=_0x92bb0(0x197),_0x5921f7[_0x92bb0(0x135)]='edge';const _0x3f7315=_0x5921f7,_0x39263c=_0x3f7315[_0x92bb0(0x1b7)][_0x92bb0(0x152)]('|');let _0x53f816=0x0;while(!![]){switch(_0x39263c[_0x53f816++]){case'0':if(_0x53cf2b[_0x92bb0(0x160)](_0x3f7315[_0x92bb0(0x1c3)]))return _0x3f7315[_0x92bb0(0x1c3)];continue;case'1':if(_0x53cf2b['includes'](_0x3f7315[_0x92bb0(0x183)]))return _0x3f7315[_0x92bb0(0x183)];continue;case'2':if(_0x3f7315[_0x92bb0(0x144)](_0x53cf2b,_0x3f7315['qTlPg']))return _0x3f7315[_0x92bb0(0x145)];continue;case'3':if(_0x53cf2b[_0x92bb0(0x160)](_0x3f7315[_0x92bb0(0x1a7)]))return _0x3f7315[_0x92bb0(0x1a7)];continue;case'4':if(_0x53cf2b[_0x92bb0(0x160)](_0x3f7315[_0x92bb0(0x157)]))return _0x3f7315[_0x92bb0(0x157)];continue;case'5':if(_0x53cf2b[_0x92bb0(0x160)](_0x3f7315['hqWNu']))return _0x3f7315['hqWNu'];continue;}break;}},getBrowserFromWSEndpoint=_0x2a3a1b=>{const _0x4cf4be=a47_0x5ae183,_0x3c5987={'LbAkl':_0x4cf4be(0x138),'KeIAl':function(_0x5c4ee7,_0x416c79){return _0x5c4ee7(_0x416c79);}};try{const _0x2c74f9=url[_0x4cf4be(0x14b)](_0x2a3a1b),_0x161549=new URLSearchParams(_0x2c74f9[_0x4cf4be(0x18a)]),_0x2130a0=Object[_0x4cf4be(0x186)](_0x161549[_0x4cf4be(0x170)]()),_0x3c9fed=JSON['parse'](_0x2130a0[_0x4cf4be(0x182)]);if(_0x3c9fed&&(_0x3c9fed[_0x4cf4be(0x151)]||_0x3c9fed[_0x4cf4be(0x1c7)]))return _0x3c9fed[_0x4cf4be(0x151)]||_0x3c9fed[_0x4cf4be(0x1c7)];return _0x3c5987['LbAkl'];}catch(_0x2a8ede){_0x3c5987[_0x4cf4be(0x167)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x2a8ede[_0x4cf4be(0x158)]());}},getCloudProviderFromWsEndpoint=_0x3c02ab=>{const _0x447770=a47_0x5ae183,_0x1e0d07={};_0x1e0d07[_0x447770(0x1a6)]=_0x447770(0x1bf),_0x1e0d07['WALkI']='unknown_grid';const _0x57a9b6=_0x1e0d07;if(_0x3c02ab[_0x447770(0x160)](constants['BSTACK_URL'])||_0x3c02ab[_0x447770(0x160)](constants[_0x447770(0x1b1)]))return _0x57a9b6[_0x447770(0x1a6)];return _0x57a9b6['WALkI'];},a47_0x245301={};a47_0x245301['cloudProvider']=undefined,a47_0x245301[a47_0x5ae183(0x1ec)]=undefined,a47_0x245301[a47_0x5ae183(0x151)]=undefined,a47_0x245301[a47_0x5ae183(0x1dd)]=undefined,a47_0x245301[a47_0x5ae183(0x133)]=undefined,a47_0x245301[a47_0x5ae183(0x1e8)]=undefined,a47_0x245301[a47_0x5ae183(0x153)]=undefined,a47_0x245301[a47_0x5ae183(0x1ed)]={};class PlaywrightSessionDetails{static [a47_0x5ae183(0x198)]=a47_0x245301;constructor(){const _0x10c982=a47_0x5ae183,_0x457a6f={};_0x457a6f[_0x10c982(0x149)]=_0x10c982(0x16e);const _0x37a99e=_0x457a6f;throw new Error(_0x37a99e['ssSrC']);}static ['sessionError']=null;static['setupBrowserDetails'](_0x5c1a4b,_0x352b3f,_0x198adf=null){const _0x25cf6d=a47_0x5ae183,_0x3394fd={'eKQPF':function(_0x26125d,_0x218ea4){return _0x26125d===_0x218ea4;},'ZfeZo':_0x25cf6d(0x1bc),'izoCm':_0x25cf6d(0x1c8),'EqKRM':function(_0x50baee,_0x3e2c9b){return _0x50baee===_0x3e2c9b;},'KbnBS':_0x25cf6d(0x1b4),'rDyXP':_0x25cf6d(0x14d),'cKPYR':function(_0x1eb832,_0x51a3d4,_0x20748c){return _0x1eb832(_0x51a3d4,_0x20748c);},'lxcpt':_0x25cf6d(0x161),'ZPYkk':_0x25cf6d(0x1c5),'sZtLl':function(_0x35667e,_0x361a37,_0x37e972){return _0x35667e(_0x361a37,_0x37e972);},'NuPIu':_0x25cf6d(0x1ca),'neyrz':_0x25cf6d(0x1ad),'TlCug':'connectOptions','QGfQH':function(_0x16bec5,_0x3c5b72){return _0x16bec5(_0x3c5b72);},'GRquG':_0x25cf6d(0x1bf),'LGVcT':_0x25cf6d(0x15a),'Fbpoz':_0x25cf6d(0x1ae),'YPkJS':function(_0x2b4485){return _0x2b4485();},'kBsoV':function(_0x3a76b2,_0x50d956){return _0x3a76b2&&_0x50d956;},'eHmBa':function(_0x4da77d){return _0x4da77d();},'aTErV':function(_0x4a6608,_0x2a3fa6){return _0x4a6608(_0x2a3fa6);},'BFRvq':function(_0x4ee77e,_0x3d4e82){return _0x4ee77e+_0x3d4e82;},'KnLOW':'playwright-','TRrqn':function(_0x3b2868){return _0x3b2868();},'MtAbu':'setupBrowserDetails'},_0x3122e4=this;return _0x3394fd[_0x25cf6d(0x1d0)](o11yErrorHandler,async function _0x28cbbd(_0x5b118a,_0x9f539e,_0x121655=null){const _0x5f5658=_0x25cf6d;let _0x25b49e=_0x5b118a[_0x5f5658(0x1aa)],_0x36a841=null;_0x5b118a&&_0x3394fd[_0x5f5658(0x1ea)](typeof _0x5b118a[_0x5f5658(0x1e3)],_0x3394fd[_0x5f5658(0x1e5)])?_0x36a841=_0x5b118a[_0x5f5658(0x1e3)]():logger[_0x5f5658(0x143)](_0x3394fd[_0x5f5658(0x184)]);let _0x116e13=null;_0x5b118a&&_0x3394fd[_0x5f5658(0x1e2)](typeof _0x5b118a[_0x5f5658(0x155)],_0x3394fd[_0x5f5658(0x1e5)])?_0x116e13=_0x5b118a[_0x5f5658(0x155)]():logger[_0x5f5658(0x143)](_0x3394fd[_0x5f5658(0x175)]);let _0x198744=null,_0x461a15=null,_0x4030dc=null,_0x7d5d55=_0x3394fd[_0x5f5658(0x159)];if(_0x5b118a[_0x5f5658(0x14e)]['isRemote']()||global['accessibilityPlatform']&&!process[_0x5f5658(0x15d)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0x2f6210=null;_0x3394fd[_0x5f5658(0x193)](nestedKeyValue,_0x5b118a,[_0x3394fd[_0x5f5658(0x1a0)],_0x3394fd[_0x5f5658(0x15c)]])?_0x2f6210=_0x5b118a[_0x5f5658(0x161)][_0x5f5658(0x1c5)]:_0x2f6210=_0x3394fd[_0x5f5658(0x1d0)](nestedKeyValue,_0x9f539e,[_0x3394fd['NuPIu'],_0x3394fd['neyrz'],_0x3394fd[_0x5f5658(0x1a9)]]);const _0xe57b0d=_0x121655||_0x2f6210&&_0x2f6210['wsEndpoint'];if(_0xe57b0d){_0x7d5d55=_0x3394fd[_0x5f5658(0x173)](getCloudProviderFromWsEndpoint,_0xe57b0d);if(_0x3394fd[_0x5f5658(0x1e2)](_0x7d5d55,_0x3394fd[_0x5f5658(0x1b2)]))_0x4030dc=constants[_0x5f5658(0x195)][_0x5f5658(0x13b)](_0xe57b0d)?_0x3394fd[_0x5f5658(0x15f)]:_0x3394fd[_0x5f5658(0x1dc)],_0x25b49e=_0x3394fd[_0x5f5658(0x173)](getBrowserFromWSEndpoint,_0xe57b0d)||_0x25b49e,_0x198744=_0x3122e4[_0x5f5658(0x198)][_0x5f5658(0x133)],_0x461a15=_0x3122e4[_0x5f5658(0x198)]['platform_version'];else{const _0x5c65ba=await _0x3394fd[_0x5f5658(0x1cf)](getPlatformDetails);_0x198744=_0x5c65ba['platformName'],_0x461a15=_0x5c65ba['platformVersion'];}}if(_0x3394fd[_0x5f5658(0x1d4)](!_0x198744,!_0x461a15)&&!_0x3394fd[_0x5f5658(0x1cf)](isBrowserstackInfra)){const _0x318ba9=await _0x3394fd[_0x5f5658(0x131)](getPlatformDetails);_0x198744=_0x318ba9[_0x5f5658(0x1ee)],_0x461a15=_0x318ba9[_0x5f5658(0x17c)];}}else{_0x9f539e&&_0x9f539e['project'][_0x5f5658(0x1ad)][_0x5f5658(0x164)]?_0x25b49e=_0x3394fd[_0x5f5658(0x1cb)](getBrowserNameFromChannel,_0x9f539e[_0x5f5658(0x1ca)]['use'][_0x5f5658(0x164)]):_0x25b49e=_0x3394fd[_0x5f5658(0x192)](_0x3394fd[_0x5f5658(0x163)],_0x25b49e[_0x5f5658(0x1db)]());const _0x28af24=await _0x3394fd[_0x5f5658(0x13f)](getPlatformDetails);_0x198744=_0x28af24[_0x5f5658(0x1ee)],_0x461a15=_0x28af24[_0x5f5658(0x17c)];}const _0x5ed2bc={};_0x5ed2bc[_0x5f5658(0x151)]=_0x25b49e,_0x5ed2bc[_0x5f5658(0x1dd)]=_0x36a841,_0x5ed2bc[_0x5f5658(0x1ed)]={},_0x5ed2bc[_0x5f5658(0x133)]=_0x198744,_0x5ed2bc[_0x5f5658(0x1e8)]=_0x461a15,_0x5ed2bc[_0x5f5658(0x153)]=_0x4030dc;const _0x17659a=_0x5ed2bc;_0x116e13&&(_0x17659a['capabilities'][_0x5f5658(0x1b8)]=_0x116e13);const _0xb74ae7={};_0xb74ae7['cloudProvider']=_0x7d5d55,_0x3122e4[_0x5f5658(0x198)]=Object['assign']({},_0x3122e4[_0x5f5658(0x198)],_0xb74ae7,_0x17659a);},_0x3394fd[_0x25cf6d(0x1a4)])(_0x5c1a4b,_0x352b3f,_0x198adf);}static[a47_0x5ae183(0x1e0)](){const _0x4836a9=a47_0x5ae183;this[_0x4836a9(0x1d2)](),this[_0x4836a9(0x1c9)]();}static[a47_0x5ae183(0x1d2)](){const _0x208ce1=a47_0x5ae183,_0x59b696={'NNfrG':function(_0x3b0519,_0x1a1ab1,_0x9ffea3){return _0x3b0519(_0x1a1ab1,_0x9ffea3);},'mHZHj':_0x208ce1(0x194),'bPzRa':_0x208ce1(0x1c1),'NOEcr':_0x208ce1(0x19b),'dnBnh':function(_0xc8dffd,_0x369c38,_0x3cce0a){return _0xc8dffd(_0x369c38,_0x3cce0a);},'gJAMA':_0x208ce1(0x1ce),'gfhat':_0x208ce1(0x139),'KNybj':function(_0x2a7152,_0x3fe816){return _0x2a7152===_0x3fe816;},'KfFMb':_0x208ce1(0x171),'IXoPn':function(_0x238f2a,_0x5cf6b4,_0x5ee700,_0x2e47a9){return _0x238f2a(_0x5cf6b4,_0x5ee700,_0x2e47a9);},'hwXfI':function(_0x5082a9,_0x4b4184){return _0x5082a9||_0x4b4184;},'PYNsI':function(_0x21a279,_0x42811c){return _0x21a279(_0x42811c);},'JVylR':_0x208ce1(0x18c),'rFjmc':'client','pKzaT':'connection.js','FxqMQ':function(_0x26f39b,_0x502712){return _0x26f39b(_0x502712);},'EtPHA':_0x208ce1(0x191),'BFAtq':function(_0x57d3fb,_0x83be4e){return _0x57d3fb(_0x83be4e);},'wCkLg':function(_0x3b5994,_0x4d09c2){return _0x3b5994!=_0x4d09c2;},'nqDEd':function(_0x50eb34){return _0x50eb34();},'KXIZB':_0x208ce1(0x172),'YiOoc':function(_0x4a18de,_0x1a97f5){return _0x4a18de(_0x1a97f5);},'Izdhw':'dispatch','dNRqF':function(_0x44e9ff,_0xf56dfb){return _0x44e9ff(_0xf56dfb);}},_0x22ec33=this;if(!this[_0x208ce1(0x1b6)])try{const _0x22c5e5=path[_0x208ce1(0x141)](_0x59b696[_0x208ce1(0x12e)],_0x59b696[_0x208ce1(0x1bd)],_0x59b696[_0x208ce1(0x147)]),_0x240019=_0x59b696['PYNsI'](importFileFromPWCore,_0x22c5e5);!_0x240019?_0x59b696[_0x208ce1(0x17f)](debug,_0x59b696['EtPHA']):this['Connection']=_0x240019[_0x208ce1(0x1b6)];}catch(_0xaae707){_0x59b696[_0x208ce1(0x1d1)](debug,_0x208ce1(0x165)+_0xaae707['toString']());}const _0x2ad4b7=this[_0x208ce1(0x1b6)];try{if(_0x59b696[_0x208ce1(0x168)](_0x2ad4b7,null)){const _0x5ad884=_0x2ad4b7['prototype'][_0x208ce1(0x16b)],_0x59ace9=_0x2ad4b7[_0x208ce1(0x134)][_0x208ce1(0x172)];_0x59b696[_0x208ce1(0x13c)](isAccessibilityAutomationSession)&&Object[_0x208ce1(0x1e1)](_0x2ad4b7[_0x208ce1(0x134)],_0x59b696[_0x208ce1(0x189)],{'get':function(){return async function(){const _0x483ea1=a47_0x5971;try{if(!global[_0x483ea1(0x196)]&&global[_0x483ea1(0x1df)]&&_0x59b696[_0x483ea1(0x180)](nestedKeyValue,global[_0x483ea1(0x1ce)],[_0x59b696['mHZHj'],_0x59b696[_0x483ea1(0x188)],_0x59b696[_0x483ea1(0x16c)]])&&_0x59b696[_0x483ea1(0x154)](shouldScanTestForAccessibility,global['__workerDetails']['currentTest'][_0x483ea1(0x1c1)][_0x483ea1(0x19b)],!![])&&scripts[_0x483ea1(0x1d8)](arguments[0x1])){logger[_0x483ea1(0x143)](_0x483ea1(0x179)+arguments[0x1]),global[_0x483ea1(0x196)]=!![];const _0x3e73cd=_0x59b696['dnBnh'](nestedKeyValue,global,[_0x59b696[_0x483ea1(0x156)],_0x59b696[_0x483ea1(0x19c)]]);_0x3e73cd&&logger[_0x483ea1(0x177)](_0x483ea1(0x1b9)+util['format'](await _0x59b696[_0x483ea1(0x154)](performScanWithRetry,_0x3e73cd,arguments[0x1]))),_0x59b696['KNybj'](arguments[0x0][_0x483ea1(0x136)],_0x59b696[_0x483ea1(0x18b)])&&global[_0x483ea1(0x185)]&&logger[_0x483ea1(0x177)](_0x483ea1(0x16a)+util[_0x483ea1(0x17d)](await _0x59b696['IXoPn'](performScanWithRetry,global['__driver'],arguments[0x1],scripts['performScan'])));}}catch(_0x3c242e){logger['debug'](_0x483ea1(0x1a8)+util['format'](_0x3c242e));}return global[_0x483ea1(0x196)]=![],_0x59ace9[_0x483ea1(0x18f)](this,arguments);};}}),!_0x59b696[_0x208ce1(0x13a)](isFalse,process['env'][_0x208ce1(0x17a)])&&Object[_0x208ce1(0x1e1)](_0x2ad4b7[_0x208ce1(0x134)],_0x59b696[_0x208ce1(0x13d)],{'get':function(){const _0x37d74e={'Chevf':function(_0x1076e1,_0x2e8ae5){const _0x3b6e53=a47_0x5971;return _0x59b696[_0x3b6e53(0x1ab)](_0x1076e1,_0x2e8ae5);},'YNMbx':function(_0x347b0e,_0x40d8d7){const _0x4f76e3=a47_0x5971;return _0x59b696[_0x4f76e3(0x18d)](_0x347b0e,_0x40d8d7);},'loKnr':function(_0xd5ff30,_0x394bcc){const _0x5ea5c8=a47_0x5971;return _0x59b696[_0x5ea5c8(0x18d)](_0xd5ff30,_0x394bcc);}};return async function _0x74f301(_0xd49f0c){const _0x10d1ea=a47_0x5971;if(BrowserstackCLI['getInstance']()[_0x10d1ea(0x1a3)]()){const _0x4de8f0={};_0x4de8f0[_0x10d1ea(0x18e)]=_0xd49f0c,await BrowserstackCLI[_0x10d1ea(0x1e4)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x10d1ea(0x150)],HookState[_0x10d1ea(0x16f)],_0x4de8f0);}else{const _0x8ad3ea=_0xd49f0c&&_0xd49f0c[_0x10d1ea(0x142)]&&_0xd49f0c[_0x10d1ea(0x142)][_0x10d1ea(0x199)];if(_0x8ad3ea){const _0x2ae714=_0x8ad3ea['sessionId'],_0xb4d5ba=_0x8ad3ea[_0x10d1ea(0x1eb)];_0x37d74e[_0x10d1ea(0x16d)](!_0x2ae714,!_0xb4d5ba)&&await ClientTroubleShootingService[_0x10d1ea(0x12d)](),_0xb4d5ba&&(_0x37d74e[_0x10d1ea(0x1bb)](debug,_0x10d1ea(0x1b0)+_0xb4d5ba[_0x10d1ea(0x158)]()),_0x22ec33[_0x10d1ea(0x198)][_0x10d1ea(0x133)]=_0xb4d5ba[_0x10d1ea(0x1ee)],_0x22ec33[_0x10d1ea(0x198)][_0x10d1ea(0x1e8)]=_0xb4d5ba[_0x10d1ea(0x17c)]),_0x2ae714&&(_0x37d74e[_0x10d1ea(0x166)](debug,_0x10d1ea(0x1a5)+_0x2ae714),_0x22ec33['currentSessionDetails'][_0x10d1ea(0x1ec)]=_0x2ae714);}}return _0x5ad884[_0x10d1ea(0x18f)](this,arguments);};}});}}catch(_0x435d36){_0x59b696['dNRqF'](debug,_0x208ce1(0x12c)+_0x435d36),_0x22ec33[_0x208ce1(0x1de)]=_0x435d36[_0x208ce1(0x158)]();}}static['patchCRConnection'](){const _0x44fc08=a47_0x5ae183,_0x9bdae7={'exSGU':function(_0x4397e5,_0x1b15e0){return _0x4397e5(_0x1b15e0);},'ZsaJg':function(_0x1c3b8b){return _0x1c3b8b();},'ZdhqV':_0x44fc08(0x18c),'cHAkQ':'server','dOYRb':_0x44fc08(0x1e6),'shwgW':_0x44fc08(0x13e),'RmYnH':function(_0x3781ea,_0x43c863){return _0x3781ea(_0x43c863);},'WTseJ':'Not\x20able\x20to\x20import\x20crConnection','MmfDR':function(_0x528ce8,_0x55ac88){return _0x528ce8(_0x55ac88);},'NHleE':_0x44fc08(0x1d7),'ZBhNM':function(_0x912911,_0x16f210){return _0x912911!=_0x16f210;},'aCDTV':_0x44fc08(0x15e),'FZgRZ':function(_0x146bc3,_0x929aac){return _0x146bc3(_0x929aac);}},_0x34da34=this;if(_0x9bdae7[_0x44fc08(0x174)](isAccessibilityAutomationSession)){let _0x1f3569=null;try{const _0x497003=path[_0x44fc08(0x141)](_0x9bdae7[_0x44fc08(0x1d3)],_0x9bdae7[_0x44fc08(0x1ba)],_0x9bdae7[_0x44fc08(0x130)],_0x9bdae7[_0x44fc08(0x178)]),_0x35de21=_0x9bdae7[_0x44fc08(0x140)](importFileFromPWCore,_0x497003);!_0x35de21?_0x9bdae7[_0x44fc08(0x1b3)](debug,_0x9bdae7[_0x44fc08(0x19f)]):_0x1f3569=_0x35de21[_0x44fc08(0x14a)];}catch(_0xe8652d){_0x9bdae7['MmfDR'](debug,_0x9bdae7['NHleE']);}try{if(_0x9bdae7['ZBhNM'](_0x1f3569,null)){const _0xdf5dd5=_0x1f3569[_0x44fc08(0x134)][_0x44fc08(0x15e)];Object['defineProperty'](_0x1f3569['prototype'],_0x9bdae7[_0x44fc08(0x1e7)],{'get':function(){const _0x47f0af={'gzKWO':function(_0x981f97,_0x294fbe){const _0x1ec3b2=a47_0x5971;return _0x9bdae7[_0x1ec3b2(0x140)](_0x981f97,_0x294fbe);}};return async function _0x4494bc(_0x2d8556){const _0x403df1=a47_0x5971;try{if(BrowserstackCLI['getInstance']()[_0x403df1(0x1a3)]()){const _0x3a8237={};_0x3a8237[_0x403df1(0x18e)]=_0x2d8556,await BrowserstackCLI[_0x403df1(0x1e4)]()[_0x403df1(0x1c4)]()[_0x403df1(0x1d9)](AutomationFrameworkState[_0x403df1(0x150)],HookState[_0x403df1(0x16f)],_0x3a8237),delete _0x2d8556[_0x403df1(0x1a1)];}else{const _0x3573aa=_0x2d8556['bStackParams'];if(_0x3573aa){delete _0x2d8556[_0x403df1(0x1a1)];const _0x11a890=_0x3573aa[_0x403df1(0x1cc)],_0x158d12=_0x3573aa['platformDetails'];_0x158d12&&(_0x47f0af['gzKWO'](debug,_0x403df1(0x146)+_0x158d12[_0x403df1(0x158)]()),_0x34da34[_0x403df1(0x198)][_0x403df1(0x133)]=_0x158d12['platformName'],_0x34da34[_0x403df1(0x198)]['platform_version']=_0x158d12[_0x403df1(0x17c)]),_0x11a890&&(_0x47f0af['gzKWO'](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x11a890),_0x34da34[_0x403df1(0x198)][_0x403df1(0x1ec)]=_0x11a890);}}}catch(_0x5f206d){_0x47f0af[_0x403df1(0x176)](debug,_0x403df1(0x1c2)+_0x5f206d[_0x403df1(0x158)]());}return _0xdf5dd5[_0x403df1(0x18f)](this,arguments);};}});}}catch(_0x100503){_0x9bdae7[_0x44fc08(0x1c0)](debug,_0x44fc08(0x181)+_0x100503),_0x34da34['sessionError']=_0x100503['toString']();}}}static[a47_0x5ae183(0x14c)](){return this['currentSessionDetails'];}}module[a47_0x5ae183(0x15b)]=PlaywrightSessionDetails;function a47_0x4bb0(){const _0x3096dd=['Driver\x20Scan\x20result=','dispatch','NOEcr','Chevf','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','POST','entries','Page','sendMessageToServer','QGfQH','ZsaJg','KbnBS','gzKWO','info','shwgW','Performing\x20scan\x20for\x20','BROWSERSTACK_TEST_OBSERVABILITY','1|0|5|3|4|2','platformVersion','format','56UAntfV','FxqMQ','NNfrG','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','caps','UHAgC','izoCm','__driver','fromEntries','../v2/state/automationFrameworkState.js','bPzRa','KXIZB','query','KfFMb','lib','PYNsI','message','apply','../utils/clientTroubleshootingService.js','Not\x20able\x20to\x20import\x20Connection','BFRvq','cKPYR','currentTest','ATS_WSS_URL_REGEX','bstackPerformA11yScan','safari','currentSessionDetails','bsParams','2869436NayTxK','titlePath','gfhat','winstonLogger','firefox','WTseJ','lxcpt','bStackParams','../../helpers/test-observability/utils','isRunning','MtAbu','Setting\x20session\x20id\x20received\x20from\x20BS\x20','HySsM','EwRoj','Failed\x20to\x20perform\x20scan\x20','TlCug','_name','hwXfI','31299372UUNBrX','use','automate','491172gFDTzO','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','BSTACK_ATS_URL','GRquG','RmYnH','Device\x20Model\x20is\x20not\x20available','228555pQrFyQ','Connection','hqUug','deviceModel','Page\x20Scan\x20result=','cHAkQ','YNMbx','function','rFjmc','226134TrIDbv','browserstack','FZgRZ','testInfo','Error\x20in\x20finding\x20platform\x20details\x20','SPqPj','getAutomationFramework','_defaultConnectOptions','../../helpers/logger','browserName','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','patchCRConnection','project','aTErV','sessionId','../utils/constants','__workerDetails','YPkJS','sZtLl','BFAtq','patchConnection','ZdhqV','kBsoV','../v2/state/hookState.js','../../helpers/accessibility-automation/helper','Error\x20in\x20importing\x20crConnection','shouldWrapCommand','trackEvent','../../helpers/helper','toLowerCase','Fbpoz','browser_version','sessionError','accessibilityPlatform','patch','defineProperty','EqKRM','version','getInstance','ZfeZo','chromium','aCDTV','platform_version','1642571IDvTnx','eKQPF','platformDetails','bsSessionId','capabilities','platformName','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','reportSessionLinkingIssue','JVylR','../../helpers/accessibility-automation/scripts','dOYRb','eHmBa','430648MesSKC','platform','prototype','hqWNu','_type','webkit','chrome','pwPage','YiOoc','test','nqDEd','Izdhw','crConnection.js','TRrqn','exSGU','join','params','debug','fvYFl','qTlPg','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','pKzaT','../../helpers/test-observability/error-handler','ssSrC','CRConnection','parse','getDetails','local_grid','_connection','util','PLAYWRIGHT_DISPATCH','browser','split','product','dnBnh','model','gJAMA','mSPCU','toString','rDyXP','turboscale','exports','ZPYkk','env','_onMessage','LGVcT','includes','_browserType','path','KnLOW','channel','Error\x20in\x20importing\x20connection\x20','loKnr','KeIAl','wCkLg','5PWiJBW'];a47_0x4bb0=function(){return _0x3096dd;};return a47_0x4bb0();}
1
+ function a47_0x997b(){const _0x97c490=['isRunning','npwGg','performScan','fromEntries','reportSessionLinkingIssue','ZXygO','Kqczn','channel','VpRny','__workerDetails','patchCRConnection','join','automate','lFDWU','UbmGq','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','UNmLG','lwOyO','params','ksGrw','fioXD','TdNFE','ioOmH','../../helpers/accessibility-automation/accessibilityRetryHelper.js','sendMessageToServer','_type','596485QvBFre','74mpDQQT','prototype','oFTeB','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','TRvqp','entries','chrome','iRXNu','QDaTO','product','split','test','../../helpers/accessibility-automation/scripts','UddTN','lxewC','bcbJT','query','CpPsQ','sessionError','mSqYR','hYlWT','isRemote','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','tRoJu','toLowerCase','xyxjd','QTmjG','exports','winstonLogger','defineProperty','bsSessionId','DoDxV','chromium','oGJbN','browser','PchrH','Qsvzr','crConnection.js','browserName','Error\x20in\x20importing\x20crConnection','tnIsk','pwPage','jqiHX','Error\x20in\x20importing\x20connection\x20','SInmR','1098062ZinCwg','zWIkW','project','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Performing\x20scan\x20for\x20','_name','../v2/state/automationFrameworkState.js','wsEndpoint','titlePath','baUWl','playwright-','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../../helpers/logger','model','FUeXO','_connection','getInstance','318qgYVDk','gTfhP','use','safari','Failed\x20to\x20perform\x20scan\x20','info','qYrJl','193380fHYtnH','PAcNn','../utils/clientTroubleshootingService.js','trackEvent','patch','Connection','lPtPx','6zdQWuZ','edge','7738OfpwwR','browserstack','apply','connectOptions','UFUVC','POST','vNQGI','LVFiw','url','aLsxA','zTHmc','../../helpers/test-observability/utils','PLAYWRIGHT_DISPATCH','cLLMy','TddqO','JYwMg','bStackParams','capabilities','env','currentTest','NcYEl','includes','Not\x20able\x20to\x20import\x20crConnection','platformVersion','setupBrowserDetails','platformName','deviceModel','16ZAVVkF','path','caps','_browserType','shouldWrapCommand','Error\x20in\x20finding\x20platform\x20details\x20','LuiBl','aQFiC','sJEti','patchConnection','YAREC','bsParams','bstackPerformA11yScan','../../helpers/helper','11tKYAAq','client','message','GksdS','browser_version','../../helpers/accessibility-automation/helper','nxpfH','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','UNrOT','../../helpers/test-observability/error-handler','util','oHcgt','BSTACK_ATS_URL','4630959RgraHN','ouEQf','platformDetails','firefox','accessibilityPlatform','version','currentSessionDetails','mivjz','assign','BROWSERSTACK_TEST_OBSERVABILITY','toString','getAutomationFramework','platform_version','format','NjMAt','FsVue','lib','RBdSM','BtcnM','Device\x20Model\x20is\x20not\x20available','BSTACK_URL','QQaYv','2|0|1|5|3|4','CRConnection','platform','parse','jkEJa','Page','cloudProvider','10336dtZhoj','debug','hKAgn','10047740boPtvo','dispatch','__driver','Not\x20able\x20to\x20import\x20Connection','_onMessage'];a47_0x997b=function(){return _0x97c490;};return a47_0x997b();}const a47_0x17e57b=a47_0x19c1;function a47_0x19c1(_0x3c3b3c,_0x5dbc39){const _0x997bd9=a47_0x997b();return a47_0x19c1=function(_0x19c124,_0x69a22b){_0x19c124=_0x19c124-0xb5;let _0x499c5d=_0x997bd9[_0x19c124];return _0x499c5d;},a47_0x19c1(_0x3c3b3c,_0x5dbc39);}(function(_0xdc0184,_0x2eb6af){const _0x3232fa=a47_0x19c1,_0x2c50ef=_0xdc0184();while(!![]){try{const _0x77728a=-parseInt(_0x3232fa(0x172))/0x1*(-parseInt(_0x3232fa(0x124))/0x2)+-parseInt(_0x3232fa(0x162))/0x3*(-parseInt(_0x3232fa(0x101))/0x4)+-parseInt(_0x3232fa(0x123))/0x5+-parseInt(_0x3232fa(0x170))/0x6*(-parseInt(_0x3232fa(0x151))/0x7)+-parseInt(_0x3232fa(0xc9))/0x8*(parseInt(_0x3232fa(0xe4))/0x9)+parseInt(_0x3232fa(0x104))/0xa+parseInt(_0x3232fa(0xd7))/0xb*(-parseInt(_0x3232fa(0x169))/0xc);if(_0x77728a===_0x2eb6af)break;else _0x2c50ef['push'](_0x2c50ef['shift']());}catch(_0x224178){_0x2c50ef['push'](_0x2c50ef['shift']());}}}(a47_0x997b,0x88118));const path=require(a47_0x17e57b(0xca)),url=require(a47_0x17e57b(0xb6)),util=require(a47_0x17e57b(0xe1)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a47_0x17e57b(0xd6)),{o11yErrorHandler}=require(a47_0x17e57b(0xe0)),{debug,getPlatformDetails}=require(a47_0x17e57b(0xb9)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x17e57b(0xdc)),logger=require(a47_0x17e57b(0x15d))[a47_0x17e57b(0x140)],scripts=require(a47_0x17e57b(0x130)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require('./accessibility-helper'),constants=require('../utils/constants'),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a47_0x17e57b(0x157)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a47_0x17e57b(0x120)),ClientTroubleShootingService=require(a47_0x17e57b(0x16b)),getBrowserNameFromChannel=_0x21c296=>{const _0x261362=a47_0x17e57b,_0x5709a5={};_0x5709a5[_0x261362(0x163)]=_0x261362(0xfa),_0x5709a5[_0x261362(0xbc)]=_0x261362(0x12a),_0x5709a5[_0x261362(0x126)]=_0x261362(0x171),_0x5709a5[_0x261362(0xf3)]=_0x261362(0x144),_0x5709a5[_0x261362(0x16a)]=_0x261362(0x165),_0x5709a5[_0x261362(0x10a)]=function(_0x354705,_0x334a2f){return _0x354705===_0x334a2f;},_0x5709a5['GksdS']='webkit',_0x5709a5[_0x261362(0x168)]=_0x261362(0xe7);const _0x14c311=_0x5709a5,_0x58ce7b=_0x14c311['gTfhP'][_0x261362(0x12e)]('|');let _0x34af21=0x0;while(!![]){switch(_0x58ce7b[_0x34af21++]){case'0':if(_0x21c296[_0x261362(0xc3)](_0x14c311[_0x261362(0xbc)]))return _0x14c311[_0x261362(0xbc)];continue;case'1':if(_0x21c296[_0x261362(0xc3)](_0x14c311[_0x261362(0x126)]))return _0x14c311['oFTeB'];continue;case'2':if(_0x21c296[_0x261362(0xc3)](_0x14c311['FsVue']))return _0x14c311['FsVue'];continue;case'3':if(_0x21c296[_0x261362(0xc3)](_0x14c311['PAcNn']))return _0x14c311[_0x261362(0x16a)];continue;case'4':if(_0x14c311[_0x261362(0x10a)](_0x21c296,_0x14c311[_0x261362(0xda)]))return _0x14c311[_0x261362(0xda)];continue;case'5':if(_0x21c296[_0x261362(0xc3)](_0x14c311[_0x261362(0x168)]))return _0x14c311[_0x261362(0x168)];continue;}break;}},getBrowserFromWSEndpoint=_0x113b59=>{const _0x8c7410=a47_0x17e57b,_0x59a070={'LVFiw':_0x8c7410(0x12a),'nxpfH':function(_0x23a428,_0x2359d7){return _0x23a428(_0x2359d7);}};try{const _0x42c507=url['parse'](_0x113b59),_0x47641a=new URLSearchParams(_0x42c507[_0x8c7410(0x134)]),_0x65d815=Object[_0x8c7410(0x10c)](_0x47641a[_0x8c7410(0x129)]()),_0x223dba=JSON[_0x8c7410(0xfd)](_0x65d815[_0x8c7410(0xcb)]);if(_0x223dba&&(_0x223dba[_0x8c7410(0x146)]||_0x223dba[_0x8c7410(0x14a)]))return _0x223dba['browser']||_0x223dba[_0x8c7410(0x14a)];return _0x59a070[_0x8c7410(0xb5)];}catch(_0x3cf438){_0x59a070[_0x8c7410(0xdd)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x3cf438[_0x8c7410(0xee)]());}},getCloudProviderFromWsEndpoint=_0x4eb6df=>{const _0x498b54=a47_0x17e57b,_0x14f5e1={};_0x14f5e1[_0x498b54(0x138)]=_0x498b54(0x173),_0x14f5e1[_0x498b54(0x11d)]='unknown_grid';const _0x45147c=_0x14f5e1;if(_0x4eb6df[_0x498b54(0xc3)](constants[_0x498b54(0xf8)])||_0x4eb6df[_0x498b54(0xc3)](constants[_0x498b54(0xe3)]))return _0x45147c[_0x498b54(0x138)];return _0x45147c[_0x498b54(0x11d)];},a47_0x26207f={};a47_0x26207f['cloudProvider']=undefined,a47_0x26207f[a47_0x17e57b(0x142)]=undefined,a47_0x26207f[a47_0x17e57b(0x146)]=undefined,a47_0x26207f['browser_version']=undefined,a47_0x26207f['platform']=undefined,a47_0x26207f[a47_0x17e57b(0xf0)]=undefined,a47_0x26207f[a47_0x17e57b(0x12d)]=undefined,a47_0x26207f[a47_0x17e57b(0xbf)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a47_0x26207f;constructor(){const _0x30a122=a47_0x17e57b,_0x3db516={};_0x3db516['iRXNu']=_0x30a122(0xde);const _0x2e4235=_0x3db516;throw new Error(_0x2e4235[_0x30a122(0x12b)]);}static [a47_0x17e57b(0x136)]=null;static['setupBrowserDetails'](_0x560ed9,_0x2e3896,_0x45ca2e=null){const _0x1d5df6=a47_0x17e57b,_0x308889={'cLLMy':function(_0x5f123a,_0x37271f){return _0x5f123a===_0x37271f;},'FNTpF':'function','UNrOT':_0x1d5df6(0x127),'baUWl':_0x1d5df6(0xf7),'DoDxV':'local_grid','EouQF':function(_0x1fa2e7,_0x1464f2,_0x37ec2b){return _0x1fa2e7(_0x1464f2,_0x37ec2b);},'lwOyO':'_browserType','oGJbN':'_defaultConnectOptions','bisXQ':function(_0x4d7189,_0x3cffdf,_0x32aa6e){return _0x4d7189(_0x3cffdf,_0x32aa6e);},'VpRny':_0x1d5df6(0x153),'CpPsQ':'use','xyxjd':_0x1d5df6(0x175),'zTHmc':function(_0x1ff625,_0x308353){return _0x1ff625(_0x308353);},'UbmGq':function(_0x49e519,_0x37d31f){return _0x49e519===_0x37d31f;},'FUeXO':_0x1d5df6(0x173),'aQFiC':'turboscale','UNmLG':_0x1d5df6(0x115),'ksGrw':function(_0x3c846c,_0x4d1f71){return _0x3c846c(_0x4d1f71);},'TRvqp':function(_0x42a9bd){return _0x42a9bd();},'NjMAt':function(_0x54c237,_0x3a3b82){return _0x54c237&&_0x3a3b82;},'KNjtW':function(_0x5e04ca){return _0x5e04ca();},'zWIkW':function(_0x1ceaa5,_0x5bc8a3){return _0x1ceaa5+_0x5bc8a3;},'QQaYv':_0x1d5df6(0x15b),'RBdSM':function(_0x571242,_0x52b488,_0x510ac4){return _0x571242(_0x52b488,_0x510ac4);},'jqiHX':_0x1d5df6(0xc6)},_0x2f7c9a=this;return _0x308889[_0x1d5df6(0xf5)](o11yErrorHandler,async function _0x5808d8(_0xe20196,_0x1e3e1b,_0x4c7c18=null){const _0x2d2b57=_0x1d5df6;let _0x23ecc0=_0xe20196[_0x2d2b57(0x156)],_0x342834=null;_0xe20196&&_0x308889[_0x2d2b57(0xbb)](typeof _0xe20196[_0x2d2b57(0xe9)],_0x308889['FNTpF'])?_0x342834=_0xe20196[_0x2d2b57(0xe9)]():logger[_0x2d2b57(0x102)](_0x308889[_0x2d2b57(0xdf)]);let _0x594b58=null;_0xe20196&&_0x308889[_0x2d2b57(0xbb)](typeof _0xe20196[_0x2d2b57(0x15e)],_0x308889['FNTpF'])?_0x594b58=_0xe20196[_0x2d2b57(0x15e)]():logger[_0x2d2b57(0x102)](_0x308889[_0x2d2b57(0x15a)]);let _0x5179e5=null,_0x3f861a=null,_0x23130c=null,_0x44b16e=_0x308889[_0x2d2b57(0x143)];if(_0xe20196[_0x2d2b57(0x160)][_0x2d2b57(0x139)]()||global[_0x2d2b57(0xe8)]&&!process[_0x2d2b57(0xc0)][_0x2d2b57(0x118)]){let _0xed033e=null;_0x308889['EouQF'](nestedKeyValue,_0xe20196,[_0x308889[_0x2d2b57(0x11a)],_0x308889[_0x2d2b57(0x145)]])?_0xed033e=_0xe20196[_0x2d2b57(0xcc)]['_defaultConnectOptions']:_0xed033e=_0x308889['bisXQ'](nestedKeyValue,_0x1e3e1b,[_0x308889[_0x2d2b57(0x111)],_0x308889[_0x2d2b57(0x135)],_0x308889[_0x2d2b57(0x13d)]]);const _0x44bcbc=_0x4c7c18||_0xed033e&&_0xed033e[_0x2d2b57(0x158)];if(_0x44bcbc){_0x44b16e=_0x308889[_0x2d2b57(0xb8)](getCloudProviderFromWsEndpoint,_0x44bcbc);if(_0x308889[_0x2d2b57(0x117)](_0x44b16e,_0x308889[_0x2d2b57(0x15f)]))_0x23130c=constants['ATS_WSS_URL_REGEX'][_0x2d2b57(0x12f)](_0x44bcbc)?_0x308889[_0x2d2b57(0xd0)]:_0x308889[_0x2d2b57(0x119)],_0x23ecc0=_0x308889['ksGrw'](getBrowserFromWSEndpoint,_0x44bcbc)||_0x23ecc0,_0x5179e5=_0x2f7c9a[_0x2d2b57(0xea)][_0x2d2b57(0xfc)],_0x3f861a=_0x2f7c9a[_0x2d2b57(0xea)]['platform_version'];else{const _0x5af0ac=await _0x308889[_0x2d2b57(0x128)](getPlatformDetails);_0x5179e5=_0x5af0ac['platformName'],_0x3f861a=_0x5af0ac[_0x2d2b57(0xc5)];}}if(_0x308889[_0x2d2b57(0xf2)](!_0x5179e5,!_0x3f861a)&&!_0x308889['KNjtW'](isBrowserstackInfra)){const _0x9d0eaa=await _0x308889['TRvqp'](getPlatformDetails);_0x5179e5=_0x9d0eaa[_0x2d2b57(0xc7)],_0x3f861a=_0x9d0eaa[_0x2d2b57(0xc5)];}}else{_0x1e3e1b&&_0x1e3e1b['project'][_0x2d2b57(0x164)][_0x2d2b57(0x110)]?_0x23ecc0=_0x308889[_0x2d2b57(0x11c)](getBrowserNameFromChannel,_0x1e3e1b[_0x2d2b57(0x153)][_0x2d2b57(0x164)][_0x2d2b57(0x110)]):_0x23ecc0=_0x308889[_0x2d2b57(0x152)](_0x308889[_0x2d2b57(0xf9)],_0x23ecc0[_0x2d2b57(0x13c)]());const _0x1d06e6=await _0x308889[_0x2d2b57(0x128)](getPlatformDetails);_0x5179e5=_0x1d06e6[_0x2d2b57(0xc7)],_0x3f861a=_0x1d06e6[_0x2d2b57(0xc5)];}const _0x592653={};_0x592653[_0x2d2b57(0x146)]=_0x23ecc0,_0x592653[_0x2d2b57(0xdb)]=_0x342834,_0x592653[_0x2d2b57(0xbf)]={},_0x592653[_0x2d2b57(0xfc)]=_0x5179e5,_0x592653[_0x2d2b57(0xf0)]=_0x3f861a,_0x592653[_0x2d2b57(0x12d)]=_0x23130c;const _0x367345=_0x592653;_0x594b58&&(_0x367345[_0x2d2b57(0xbf)][_0x2d2b57(0xc8)]=_0x594b58);const _0x1ccc66={};_0x1ccc66[_0x2d2b57(0x100)]=_0x44b16e,_0x2f7c9a[_0x2d2b57(0xea)]=Object[_0x2d2b57(0xec)]({},_0x2f7c9a['currentSessionDetails'],_0x1ccc66,_0x367345);},_0x308889[_0x1d5df6(0x14e)])(_0x560ed9,_0x2e3896,_0x45ca2e);}static[a47_0x17e57b(0x16d)](){const _0x19ac75=a47_0x17e57b;this[_0x19ac75(0xd2)](),this[_0x19ac75(0x113)]();}static[a47_0x17e57b(0xd2)](){const _0xa60675=a47_0x17e57b,_0x38d14c={'ZXygO':function(_0x424994,_0x52b734,_0xf8db6d){return _0x424994(_0x52b734,_0xf8db6d);},'hKAgn':_0xa60675(0xc1),'ZWxkl':'testInfo','TdNFE':_0xa60675(0x159),'xALSA':function(_0x3ebf71,_0x242420,_0x4d4ea6){return _0x3ebf71(_0x242420,_0x4d4ea6);},'SInmR':function(_0x7cc9f9,_0x16e1f2,_0x238a4b){return _0x7cc9f9(_0x16e1f2,_0x238a4b);},'UddTN':_0xa60675(0x112),'lFDWU':_0xa60675(0x14d),'ouEQf':function(_0x53c3f1,_0x2f4eff){return _0x53c3f1===_0x2f4eff;},'bcbJT':_0xa60675(0xff),'jkEJa':function(_0x43e9bb,_0x3a3be2,_0x1984a6,_0x21106a){return _0x43e9bb(_0x3a3be2,_0x1984a6,_0x21106a);},'lPtPx':function(_0x5ccc10,_0x2908c1){return _0x5ccc10||_0x2908c1;},'QTmjG':function(_0x63c71e,_0x1cc2fa){return _0x63c71e(_0x1cc2fa);},'NcYEl':function(_0x501ca7,_0x43b377){return _0x501ca7(_0x43b377);},'aLsxA':_0xa60675(0xf4),'BtcnM':_0xa60675(0xd8),'QDaTO':'connection.js','tnIsk':function(_0xa6ef1c,_0x477d4e){return _0xa6ef1c(_0x477d4e);},'YAREC':_0xa60675(0x107),'sJEti':function(_0x303f17,_0x59021a){return _0x303f17!=_0x59021a;},'Gkboj':function(_0x336d6f){return _0x336d6f();},'PchrH':_0xa60675(0x121),'Qsvzr':function(_0x1a2313,_0x11e0ef){return _0x1a2313(_0x11e0ef);},'ioOmH':_0xa60675(0x105),'mSqYR':function(_0xd26456,_0x15d883){return _0xd26456(_0x15d883);}},_0xc298b2=this;if(!this[_0xa60675(0x16e)])try{const _0x46a855=path[_0xa60675(0x114)](_0x38d14c[_0xa60675(0xb7)],_0x38d14c[_0xa60675(0xf6)],_0x38d14c[_0xa60675(0x12c)]),_0xe25996=_0x38d14c[_0xa60675(0xc2)](importFileFromPWCore,_0x46a855);!_0xe25996?_0x38d14c[_0xa60675(0x14c)](debug,_0x38d14c[_0xa60675(0xd3)]):this['Connection']=_0xe25996[_0xa60675(0x16e)];}catch(_0x391023){_0x38d14c[_0xa60675(0x13e)](debug,_0xa60675(0x14f)+_0x391023[_0xa60675(0xee)]());}const _0x4df88f=this[_0xa60675(0x16e)];try{if(_0x38d14c[_0xa60675(0xd1)](_0x4df88f,null)){const _0x2cbe93=_0x4df88f[_0xa60675(0x125)][_0xa60675(0x105)],_0x599590=_0x4df88f[_0xa60675(0x125)][_0xa60675(0x121)];_0x38d14c['Gkboj'](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x4df88f[_0xa60675(0x125)],_0x38d14c[_0xa60675(0x147)],{'get':function(){return async function(){const _0x468c53=a47_0x19c1;try{if(!global['bstackPerformA11yScan']&&global[_0x468c53(0xe8)]&&_0x38d14c[_0x468c53(0x10e)](nestedKeyValue,global[_0x468c53(0x112)],[_0x38d14c[_0x468c53(0x103)],_0x38d14c['ZWxkl'],_0x38d14c[_0x468c53(0x11e)]])&&_0x38d14c['xALSA'](shouldScanTestForAccessibility,global[_0x468c53(0x112)]['currentTest']['testInfo'][_0x468c53(0x159)],!![])&&scripts[_0x468c53(0xcd)](arguments[0x1])){logger['debug'](_0x468c53(0x155)+arguments[0x1]),global[_0x468c53(0xd5)]=!![];const _0x37840c=_0x38d14c[_0x468c53(0x150)](nestedKeyValue,global,[_0x38d14c[_0x468c53(0x131)],_0x38d14c[_0x468c53(0x116)]]);_0x37840c&&logger[_0x468c53(0x167)]('Page\x20Scan\x20result='+util[_0x468c53(0xf1)](await _0x38d14c[_0x468c53(0x150)](performScanWithRetry,_0x37840c,arguments[0x1]))),_0x38d14c[_0x468c53(0xe5)](arguments[0x0][_0x468c53(0x122)],_0x38d14c[_0x468c53(0x133)])&&global[_0x468c53(0x106)]&&logger[_0x468c53(0x167)]('Driver\x20Scan\x20result='+util['format'](await _0x38d14c[_0x468c53(0xfe)](performScanWithRetry,global[_0x468c53(0x106)],arguments[0x1],scripts[_0x468c53(0x10b)])));}}catch(_0x4d818e){logger[_0x468c53(0x102)](_0x468c53(0x166)+util[_0x468c53(0xf1)](_0x4d818e));}return global[_0x468c53(0xd5)]=![],_0x599590['apply'](this,arguments);};}}),!_0x38d14c[_0xa60675(0x148)](isFalse,process['env'][_0xa60675(0xed)])&&Object[_0xa60675(0x141)](_0x4df88f[_0xa60675(0x125)],_0x38d14c[_0xa60675(0x11f)],{'get':function(){return async function _0x2da3e1(_0x452d55){const _0x161b89=a47_0x19c1;if(BrowserstackCLI[_0x161b89(0x161)]()[_0x161b89(0x109)]()){const _0x3eb71b={};_0x3eb71b['message']=_0x452d55,await BrowserstackCLI[_0x161b89(0x161)]()[_0x161b89(0xef)]()[_0x161b89(0x16c)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x161b89(0x177)],_0x3eb71b);}else{const _0x14de06=_0x452d55&&_0x452d55[_0x161b89(0x11b)]&&_0x452d55[_0x161b89(0x11b)][_0x161b89(0xd4)];if(_0x14de06){const _0x30cb29=_0x14de06['sessionId'],_0x55d0df=_0x14de06[_0x161b89(0xe6)];_0x38d14c[_0x161b89(0x16f)](!_0x30cb29,!_0x55d0df)&&await ClientTroubleShootingService[_0x161b89(0x10d)](),_0x55d0df&&(_0x38d14c[_0x161b89(0x13e)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x55d0df['toString']()),_0xc298b2[_0x161b89(0xea)][_0x161b89(0xfc)]=_0x55d0df[_0x161b89(0xc7)],_0xc298b2[_0x161b89(0xea)][_0x161b89(0xf0)]=_0x55d0df[_0x161b89(0xc5)]),_0x30cb29&&(_0x38d14c[_0x161b89(0xc2)](debug,_0x161b89(0x154)+_0x30cb29),_0xc298b2[_0x161b89(0xea)][_0x161b89(0x142)]=_0x30cb29);}}return _0x2cbe93[_0x161b89(0x174)](this,arguments);};}});}}catch(_0x3f7829){_0x38d14c[_0xa60675(0x137)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x3f7829),_0xc298b2['sessionError']=_0x3f7829[_0xa60675(0xee)]();}}static[a47_0x17e57b(0x113)](){const _0x41f8ba=a47_0x17e57b,_0x5074e7={'mivjz':function(_0x5bb998,_0x4f3504){return _0x5bb998(_0x4f3504);},'XCXhR':function(_0x1b2466,_0x368145){return _0x1b2466(_0x368145);},'TddnT':function(_0x462547){return _0x462547();},'vNQGI':_0x41f8ba(0xf4),'lxewC':'server','ebgQL':_0x41f8ba(0x144),'Kqczn':_0x41f8ba(0x149),'kUlEa':function(_0x136388,_0x5b0b87){return _0x136388(_0x5b0b87);},'JYwMg':function(_0x3cf04e,_0x4ebd00){return _0x3cf04e(_0x4ebd00);},'tRoJu':_0x41f8ba(0xc4),'UFUVC':_0x41f8ba(0x14b),'oHcgt':function(_0x35b02d,_0x1db344){return _0x35b02d!=_0x1db344;},'LuiBl':'_onMessage'},_0x509364=this;if(_0x5074e7['TddnT'](isAccessibilityAutomationSession)){let _0x38cceb=null;try{const _0x12ce7f=path[_0x41f8ba(0x114)](_0x5074e7[_0x41f8ba(0x178)],_0x5074e7[_0x41f8ba(0x132)],_0x5074e7['ebgQL'],_0x5074e7[_0x41f8ba(0x10f)]),_0x24832b=_0x5074e7['kUlEa'](importFileFromPWCore,_0x12ce7f);!_0x24832b?_0x5074e7[_0x41f8ba(0xbd)](debug,_0x5074e7[_0x41f8ba(0x13b)]):_0x38cceb=_0x24832b[_0x41f8ba(0xfb)];}catch(_0x5e4b26){_0x5074e7['kUlEa'](debug,_0x5074e7[_0x41f8ba(0x176)]);}try{if(_0x5074e7[_0x41f8ba(0xe2)](_0x38cceb,null)){const _0x328c11=_0x38cceb[_0x41f8ba(0x125)][_0x41f8ba(0x108)];Object['defineProperty'](_0x38cceb['prototype'],_0x5074e7[_0x41f8ba(0xcf)],{'get':function(){return async function _0xec1089(_0x4635d7){const _0x245467=a47_0x19c1;try{if(BrowserstackCLI[_0x245467(0x161)]()[_0x245467(0x109)]()){const _0x5dd24a={};_0x5dd24a[_0x245467(0xd9)]=_0x4635d7,await BrowserstackCLI['getInstance']()[_0x245467(0xef)]()[_0x245467(0x16c)](AutomationFrameworkState[_0x245467(0xba)],HookState['POST'],_0x5dd24a),delete _0x4635d7[_0x245467(0xbe)];}else{const _0x47b331=_0x4635d7[_0x245467(0xbe)];if(_0x47b331){delete _0x4635d7['bStackParams'];const _0x597d94=_0x47b331['sessionId'],_0xe18577=_0x47b331['platformDetails'];_0xe18577&&(_0x5074e7[_0x245467(0xeb)](debug,_0x245467(0x13a)+_0xe18577[_0x245467(0xee)]()),_0x509364['currentSessionDetails']['platform']=_0xe18577[_0x245467(0xc7)],_0x509364[_0x245467(0xea)][_0x245467(0xf0)]=_0xe18577[_0x245467(0xc5)]),_0x597d94&&(_0x5074e7[_0x245467(0xeb)](debug,_0x245467(0x15c)+_0x597d94),_0x509364[_0x245467(0xea)][_0x245467(0x142)]=_0x597d94);}}}catch(_0x3ebb3d){_0x5074e7['XCXhR'](debug,_0x245467(0xce)+_0x3ebb3d[_0x245467(0xee)]());}return _0x328c11[_0x245467(0x174)](this,arguments);};}});}}catch(_0x2fcbc8){_0x5074e7[_0x41f8ba(0xbd)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x2fcbc8),_0x509364[_0x41f8ba(0x136)]=_0x2fcbc8['toString']();}}}static['getDetails'](){const _0x199b67=a47_0x17e57b;return this[_0x199b67(0xea)];}}module[a47_0x17e57b(0x13f)]=PlaywrightSessionDetails;
@@ -1 +1 @@
1
- const a48_0x3b77e0=a48_0x2e80;(function(_0x4b5905,_0x3dbfac){const _0xe8ee1=a48_0x2e80,_0x5ca3eb=_0x4b5905();while(!![]){try{const _0x3d57f7=-parseInt(_0xe8ee1(0xaf))/0x1+parseInt(_0xe8ee1(0xb4))/0x2*(-parseInt(_0xe8ee1(0xa6))/0x3)+parseInt(_0xe8ee1(0x9f))/0x4+parseInt(_0xe8ee1(0xae))/0x5*(parseInt(_0xe8ee1(0xb9))/0x6)+-parseInt(_0xe8ee1(0x96))/0x7*(-parseInt(_0xe8ee1(0x8f))/0x8)+-parseInt(_0xe8ee1(0xb7))/0x9+-parseInt(_0xe8ee1(0xa5))/0xa*(-parseInt(_0xe8ee1(0xaa))/0xb);if(_0x3d57f7===_0x3dbfac)break;else _0x5ca3eb['push'](_0x5ca3eb['shift']());}catch(_0x38ba04){_0x5ca3eb['push'](_0x5ca3eb['shift']());}}}(a48_0x5104,0x4fa9e));function a48_0x5104(){const _0x5dc78a=['debug','browserstack_executor:\x20','436380cTzRPG','813YdmsWD','../../helpers/helper','__workerDetails','setCustomTags','22lZvWdd','now','../../helpers/logger','pwPage','10XkBbXW','39809bmdfra','../v2/customTagManager','rKeWm','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','_bstackNewPagePatched','3296APwgpg','../v2/browserstackCLI','TzsGt','688419IkziAt','doo11ySync','298752krngXv','NYONx','format','Uczrz','1880776JrChvV','CHFkN','GPdlB','getInstance','env','uploadAttachments','newPage','7fQyBCj','isRunning','bind','stringify','JAHlX','ObservabilitySync:','../v2/uploadAttachmentsManager','measureWrapper','../../helpers/performance/performance-tester','1869012dFrvWl','evaluate','o11ySyncDone','util'];a48_0x5104=function(){return _0x5dc78a;};return a48_0x5104();}function a48_0x2e80(_0x360078,_0x48c3db){const _0x510457=a48_0x5104();return a48_0x2e80=function(_0x2e80ea,_0x463144){_0x2e80ea=_0x2e80ea-0x8c;let _0x1d647d=_0x510457[_0x2e80ea];return _0x1d647d;},a48_0x2e80(_0x360078,_0x48c3db);}const util=require(a48_0x3b77e0(0xa2)),logger=require(a48_0x3b77e0(0xac)),{nestedKeyValue,isFalse}=require(a48_0x3b77e0(0xa7)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),PerformanceTester=require(a48_0x3b77e0(0x9e)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a48_0x3b77e0(0xb5)),CustomTagManager=require(a48_0x3b77e0(0xb0)),uploadAttachmentsManager=require(a48_0x3b77e0(0x9c)),doo11ySync=PerformanceTester[a48_0x3b77e0(0x9d)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x42a232){const _0x8754b9=a48_0x3b77e0,_0x287062={'Uczrz':function(_0xb80cc4,_0x3020a6,_0x3a3df0){return _0xb80cc4(_0x3020a6,_0x3a3df0);},'glzaI':'__workerDetails','CHFkN':_0x8754b9(0xa1),'JAHlX':'annotate','TzsGt':_0x8754b9(0xa3)};if(_0x287062[_0x8754b9(0x8e)](nestedKeyValue,global,[_0x287062['glzaI'],_0x287062[_0x8754b9(0x90)]]))return;await _0x42a232[_0x8754b9(0xa0)](_0x2f103d=>{},_0x8754b9(0xa4)+JSON[_0x8754b9(0x99)]({'action':_0x287062[_0x8754b9(0x9a)],'arguments':{'data':_0x8754b9(0x9b)+Date[_0x8754b9(0xab)](),'level':_0x287062[_0x8754b9(0xb6)]}})),global[_0x8754b9(0xa8)][_0x8754b9(0xa1)]=!![];},a48_0x3b77e0(0xb8)));exports['patchBrowserNewPage']=_0x3318a3=>{const _0x228b08=a48_0x3b77e0,_0x209bff={'ChsUU':function(_0x43983b,_0x284068){return _0x43983b(_0x284068);},'rKeWm':function(_0x55c272,_0x40ad18){return _0x55c272(_0x40ad18);},'NYONx':function(_0x1025ab,_0x46cf5f,_0x3d22f2){return _0x1025ab(_0x46cf5f,_0x3d22f2);},'GPdlB':_0x228b08(0xa8)};if(!_0x3318a3||_0x3318a3['_bstackNewPagePatched'])return;const _0x4223d6=_0x3318a3[_0x228b08(0x95)][_0x228b08(0x98)](_0x3318a3);_0x3318a3['newPage']=async function _0x356766(){const _0x42bf9b=_0x228b08,_0x24b5f2=await _0x4223d6['apply'](_0x3318a3,arguments);try{!BrowserstackCLI[_0x42bf9b(0x92)]()['isRunning']()&&!_0x209bff['ChsUU'](isFalse,process[_0x42bf9b(0x93)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x209bff[_0x42bf9b(0xb1)](doo11ySync,_0x24b5f2),BrowserstackCLI[_0x42bf9b(0x92)]()[_0x42bf9b(0x97)]()&&(_0x24b5f2['setCustomTags']=async(_0x37fc0f,_0x590db2,_0x5ca1e3=![])=>{const _0x51fa11=_0x42bf9b;await CustomTagManager[_0x51fa11(0xa9)](_0x37fc0f,_0x590db2,_0x5ca1e3);},_0x24b5f2['uploadAttachment']=async(_0x482c3d,_0x1d83e6=![])=>{const _0x211fb1=_0x42bf9b;await uploadAttachmentsManager[_0x211fb1(0x94)](_0x482c3d,_0x1d83e6);});}catch(_0xa71e5){logger[_0x42bf9b(0xa3)](_0x42bf9b(0xb2)+util[_0x42bf9b(0x8d)](_0xa71e5));}return _0x209bff[_0x42bf9b(0x8c)](nestedKeyValue,global,[_0x209bff[_0x42bf9b(0x91)]])&&(global[_0x42bf9b(0xa8)][_0x42bf9b(0xad)]=_0x24b5f2),_0x24b5f2;},_0x3318a3[_0x228b08(0xb3)]=!![];};
1
+ const a48_0x30a688=a48_0x5694;function a48_0x5694(_0x163554,_0x3b0715){const _0x24c082=a48_0x24c0();return a48_0x5694=function(_0x569498,_0x8d9cf1){_0x569498=_0x569498-0x178;let _0x46a7af=_0x24c082[_0x569498];return _0x46a7af;},a48_0x5694(_0x163554,_0x3b0715);}(function(_0x5d8674,_0x407c5c){const _0x47a2b3=a48_0x5694,_0x4b6813=_0x5d8674();while(!![]){try{const _0x228522=-parseInt(_0x47a2b3(0x192))/0x1*(-parseInt(_0x47a2b3(0x195))/0x2)+-parseInt(_0x47a2b3(0x178))/0x3*(-parseInt(_0x47a2b3(0x17d))/0x4)+parseInt(_0x47a2b3(0x186))/0x5+parseInt(_0x47a2b3(0x18d))/0x6*(parseInt(_0x47a2b3(0x189))/0x7)+parseInt(_0x47a2b3(0x194))/0x8*(parseInt(_0x47a2b3(0x199))/0x9)+parseInt(_0x47a2b3(0x183))/0xa+-parseInt(_0x47a2b3(0x187))/0xb;if(_0x228522===_0x407c5c)break;else _0x4b6813['push'](_0x4b6813['shift']());}catch(_0x53f502){_0x4b6813['push'](_0x4b6813['shift']());}}}(a48_0x24c0,0x9c04c));const util=require(a48_0x30a688(0x19d)),logger=require(a48_0x30a688(0x179)),{nestedKeyValue,isFalse}=require(a48_0x30a688(0x17b)),{o11yErrorHandler}=require(a48_0x30a688(0x1a1)),PerformanceTester=require(a48_0x30a688(0x18c)),{O11y_EVENTS:PerformanceO11yEvents}=require(a48_0x30a688(0x19a)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a48_0x30a688(0x17a)),uploadAttachmentsManager=require(a48_0x30a688(0x1a2)),doo11ySync=PerformanceTester[a48_0x30a688(0x1a0)](PerformanceO11yEvents[a48_0x30a688(0x188)],o11yErrorHandler(async function doo11ySync(_0x334746){const _0x14ad02=a48_0x30a688,_0x2804f2={'gYLkj':function(_0x232c8d,_0x235707,_0x1f54e0){return _0x232c8d(_0x235707,_0x1f54e0);},'evdOb':_0x14ad02(0x196),'vcTMt':_0x14ad02(0x197),'vXjFU':'annotate','fgxim':_0x14ad02(0x19b)};if(_0x2804f2[_0x14ad02(0x185)](nestedKeyValue,global,[_0x2804f2[_0x14ad02(0x19e)],_0x2804f2[_0x14ad02(0x17f)]]))return;await _0x334746[_0x14ad02(0x17c)](_0x10e0c5=>{},_0x14ad02(0x19c)+JSON[_0x14ad02(0x1a4)]({'action':_0x2804f2[_0x14ad02(0x191)],'arguments':{'data':'ObservabilitySync:'+Date[_0x14ad02(0x19f)](),'level':_0x2804f2[_0x14ad02(0x18a)]}})),global[_0x14ad02(0x196)]['o11ySyncDone']=!![];},a48_0x30a688(0x17e)));exports['patchBrowserNewPage']=_0x35fd78=>{const _0x5f52ad=a48_0x30a688,_0x404c66={'rclCl':function(_0x2d6ec8,_0x35fff1){return _0x2d6ec8(_0x35fff1);},'qLFVP':function(_0x2354ba,_0x4696a0,_0x4a7fdc){return _0x2354ba(_0x4696a0,_0x4a7fdc);},'wqNce':_0x5f52ad(0x196)};if(!_0x35fd78||_0x35fd78['_bstackNewPagePatched'])return;const _0x54ae8a=_0x35fd78[_0x5f52ad(0x190)][_0x5f52ad(0x18e)](_0x35fd78);_0x35fd78[_0x5f52ad(0x190)]=async function _0x38b65d(){const _0xc7e23b=_0x5f52ad,_0x4c74fe=await _0x54ae8a['apply'](_0x35fd78,arguments);try{!BrowserstackCLI[_0xc7e23b(0x184)]()[_0xc7e23b(0x180)]()&&!_0x404c66[_0xc7e23b(0x193)](isFalse,process[_0xc7e23b(0x18f)][_0xc7e23b(0x181)])&&await _0x404c66[_0xc7e23b(0x193)](doo11ySync,_0x4c74fe),BrowserstackCLI[_0xc7e23b(0x184)]()[_0xc7e23b(0x180)]()&&(_0x4c74fe[_0xc7e23b(0x1a5)]=async(_0x4c2c6a,_0x4ba70e,_0x584ba3=![])=>{await CustomTagManager['setCustomTags'](_0x4c2c6a,_0x4ba70e,_0x584ba3);},_0x4c74fe[_0xc7e23b(0x1a6)]=async(_0x133118,_0x529d90=![])=>{const _0x4f66a6=_0xc7e23b;await uploadAttachmentsManager[_0x4f66a6(0x182)](_0x133118,_0x529d90);});}catch(_0x10b541){logger[_0xc7e23b(0x19b)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0xc7e23b(0x198)](_0x10b541));}return _0x404c66[_0xc7e23b(0x1a3)](nestedKeyValue,global,[_0x404c66[_0xc7e23b(0x1a7)]])&&(global[_0xc7e23b(0x196)][_0xc7e23b(0x18b)]=_0x4c74fe),_0x4c74fe;},_0x35fd78['_bstackNewPagePatched']=!![];};function a48_0x24c0(){const _0x465bf9=['newPage','vXjFU','398732bnWTBg','rclCl','4727832NoNiIE','2XKqMsO','__workerDetails','o11ySyncDone','format','18OBeopw','../../helpers/performance/constants','debug','browserstack_executor:\x20','util','evdOb','now','measureWrapper','../../helpers/test-observability/error-handler','../v2/uploadAttachmentsManager','qLFVP','stringify','setCustomTags','uploadAttachment','wqNce','6YzbBrY','../../helpers/logger','../v2/customTagManager','../../helpers/helper','evaluate','2441324NjNPJp','doo11ySync','vcTMt','isRunning','BROWSERSTACK_TEST_OBSERVABILITY','uploadAttachments','10552690mOiFKU','getInstance','gYLkj','2409385ZhDDrQ','47317193MaBjlt','SYNC','329olQcuk','fgxim','pwPage','../../helpers/performance/performance-tester','76866hGotiY','bind','env'];a48_0x24c0=function(){return _0x465bf9;};return a48_0x24c0();}