browserstack-node-sdk 1.52.1 → 1.52.3

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 +5 -5
  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 a90_0x58263f=a90_0xd53d;(function(_0x39db1d,_0x28bf8f){const _0x54945b=a90_0xd53d,_0x2e4f9b=_0x39db1d();while(!![]){try{const _0x497234=-parseInt(_0x54945b(0xef))/0x1*(-parseInt(_0x54945b(0xbd))/0x2)+parseInt(_0x54945b(0x9a))/0x3*(-parseInt(_0x54945b(0x71))/0x4)+-parseInt(_0x54945b(0x10d))/0x5+parseInt(_0x54945b(0x156))/0x6*(parseInt(_0x54945b(0x108))/0x7)+parseInt(_0x54945b(0x124))/0x8*(parseInt(_0x54945b(0xd3))/0x9)+parseInt(_0x54945b(0xd7))/0xa*(-parseInt(_0x54945b(0xb5))/0xb)+-parseInt(_0x54945b(0xa0))/0xc*(-parseInt(_0x54945b(0x136))/0xd);if(_0x497234===_0x28bf8f)break;else _0x2e4f9b['push'](_0x2e4f9b['shift']());}catch(_0x32041a){_0x2e4f9b['push'](_0x2e4f9b['shift']());}}}(a90_0x416f,0xb1438));const util=require(a90_0x58263f(0xe4)),BaseModule=require(a90_0x58263f(0x138)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a90_0x58263f(0x7d)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a90_0x58263f(0x6a)),AutomationFrameworkState=require(a90_0x58263f(0x14a)),HookState=require('../state/hookState.js'),{nestedKeyValue,playwrightBstackJsExecutor}=require(a90_0x58263f(0x120)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a90_0x58263f(0x126)),GrpcClient=require(a90_0x58263f(0x107)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a90_0x58263f(0xd9))[a90_0x58263f(0x106)],TestInfo=require(a90_0x58263f(0xda)),{getPlaywrightProvider,getProductForSession}=require(a90_0x58263f(0x120)),LoadTestModule=require(a90_0x58263f(0x79)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require('../utils/jest-utils.js'),TestFramework=require(a90_0x58263f(0x72));class PuppeteerDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']=a90_0x58263f(0xa7);static ['KEY_PAGE_OBJECT']=a90_0x58263f(0x6d);static ['KEY_SESSION_ID']=a90_0x58263f(0x148);static [a90_0x58263f(0xde)]='puppeteer_platform_index';static ['KEY_CAPABILITIES']=a90_0x58263f(0x10b);static [a90_0x58263f(0xc5)]=a90_0x58263f(0xea);static [a90_0x58263f(0x6f)]=a90_0x58263f(0x6b);static [a90_0x58263f(0x98)]=a90_0x58263f(0x9f);static ['MODULE_NAME']=a90_0x58263f(0x139);static [a90_0x58263f(0x89)]=new Set();static [a90_0x58263f(0xe2)]=null;[a90_0x58263f(0x9e)]=createClassLogger('PuppeteerDriverModule');constructor(_0x2fa7f8=null){const _0x531fb1=a90_0x58263f,_0x4bb4cc={};_0x4bb4cc[_0x531fb1(0xdb)]=_0x531fb1(0x8f),_0x4bb4cc[_0x531fb1(0xf3)]=_0x531fb1(0x139);const _0x27c712=_0x4bb4cc,_0x3751d6=_0x27c712[_0x531fb1(0xdb)][_0x531fb1(0x127)]('|');let _0x59cc05=0x0;while(!![]){switch(_0x3751d6[_0x59cc05++]){case'0':super(_0x2fa7f8);continue;case'1':this[_0x531fb1(0xfd)]=null;continue;case'2':this[_0x531fb1(0x145)]=null;continue;case'3':AutomationFramework[_0x531fb1(0xd4)](AutomationFrameworkState[_0x531fb1(0xcf)],HookState[_0x531fb1(0x7e)],this[_0x531fb1(0x9b)]['bind'](this));continue;case'4':this[_0x531fb1(0x14b)]=null;continue;case'5':AutomationFramework[_0x531fb1(0xd4)](AutomationFrameworkState[_0x531fb1(0xcf)],HookState[_0x531fb1(0xb8)],this[_0x531fb1(0x73)][_0x531fb1(0xed)](this));continue;case'6':this[_0x531fb1(0x8c)]=_0x27c712['sSaKd'];continue;case'7':this['puppeteerVersion']=null;continue;case'8':AutomationFramework[_0x531fb1(0xd4)](AutomationFrameworkState[_0x531fb1(0x10c)],HookState[_0x531fb1(0xb8)],this[_0x531fb1(0xba)][_0x531fb1(0xed)](this));continue;case'9':this['platforms']=[];continue;case'10':TestFramework[_0x531fb1(0xd4)](TestFrameworkState[_0x531fb1(0x103)],HookState[_0x531fb1(0x7e)],this[_0x531fb1(0xb6)][_0x531fb1(0xed)](this));continue;case'11':this[_0x531fb1(0x14e)]=new JestUtils();continue;}break;}}[a90_0x58263f(0x78)](){const _0x2bfe14=a90_0x58263f;return PuppeteerDriverModule[_0x2bfe14(0xeb)];}async[a90_0x58263f(0x73)](_0x96f71b){const _0x46ee15=a90_0x58263f,_0x2ef4a9={};_0x2ef4a9[_0x46ee15(0x143)]=_0x46ee15(0xb9),_0x2ef4a9[_0x46ee15(0xf9)]=_0x46ee15(0x11e),_0x2ef4a9[_0x46ee15(0xbe)]='onAfterDriverCreate:\x20driverInit\x20response\x20received',_0x2ef4a9[_0x46ee15(0xaa)]=_0x46ee15(0xff),_0x2ef4a9[_0x46ee15(0xd1)]=function(_0x4b1b41,_0x56864f){return _0x4b1b41===_0x56864f;},_0x2ef4a9[_0x46ee15(0xc0)]=_0x46ee15(0xce),_0x2ef4a9[_0x46ee15(0x141)]=function(_0x4ae971,_0x49b5fe){return _0x4ae971!==_0x49b5fe;},_0x2ef4a9[_0x46ee15(0xfa)]=function(_0x417a92,_0x1279c3){return _0x417a92===_0x1279c3;},_0x2ef4a9[_0x46ee15(0x15a)]=_0x46ee15(0xe8),_0x2ef4a9[_0x46ee15(0xdc)]=function(_0x24c804,_0x13c6c9){return _0x24c804>_0x13c6c9;},_0x2ef4a9[_0x46ee15(0x113)]=_0x46ee15(0x81);const _0x82dffd=_0x2ef4a9;try{this[_0x46ee15(0x9e)][_0x46ee15(0xac)](_0x82dffd['ddLQN']);const _0xd8208d=_0x96f71b[_0x46ee15(0x15b)],_0x39d04d=_0x96f71b[_0x46ee15(0xf7)];AutomationFramework[_0x46ee15(0x112)](_0x96f71b[_0x46ee15(0x125)],PuppeteerDriverModule[_0x46ee15(0x82)],_0xd8208d),AutomationFramework[_0x46ee15(0x112)](_0x96f71b[_0x46ee15(0x125)],PuppeteerDriverModule['KEY_HUB_URL'],_0x39d04d);const _0x2dcfe2=_0x96f71b[_0x46ee15(0x125)][_0x46ee15(0xab)](),_0x7b6621=global[_0x46ee15(0x7c)]||0x0;AutomationFramework[_0x46ee15(0x112)](_0x96f71b['instance'],PuppeteerDriverModule[_0x46ee15(0xde)],_0x7b6621);if(PuppeteerDriverModule[_0x46ee15(0x89)][_0x46ee15(0x13e)](_0x2dcfe2))this['logger']['debug']('onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20'+_0x2dcfe2+_0x46ee15(0xc9));else{PuppeteerDriverModule['_driverInitCalledForRef'][_0x46ee15(0xb3)](_0x2dcfe2),PuppeteerDriverModule[_0x46ee15(0xe2)]=_0x2dcfe2;const _0xb737ee={..._0xd8208d};_0xb737ee[_0x46ee15(0xc6)]=!![];const _0x47c6c2=Buffer['from'](JSON[_0x46ee15(0xe9)](_0xb737ee)['toString'](_0x82dffd[_0x46ee15(0xf9)])),_0x53e590={};_0x53e590[_0x46ee15(0x96)]=_0x7b6621,_0x53e590[_0x46ee15(0x129)]=_0x2dcfe2,_0x53e590[_0x46ee15(0x10f)]=_0x47c6c2,_0x53e590[_0x46ee15(0xf7)]=_0x39d04d;const _0x2f1802=await GrpcClient['getInstance']()[_0x46ee15(0x95)](_0x53e590);this['logger'][_0x46ee15(0xac)](_0x82dffd[_0x46ee15(0xbe)]);if(_0x2f1802)try{const _0x1251e1=_0x2f1802[_0x46ee15(0xca)]?_0x2f1802[_0x46ee15(0xca)]():_0x2f1802['capabilities'];if(_0x1251e1){let _0x4a5450;if(Buffer['isBuffer'](_0x1251e1))_0x4a5450=JSON[_0x46ee15(0xe6)](_0x1251e1[_0x46ee15(0xcd)](_0x82dffd[_0x46ee15(0xaa)]));else{if(_0x82dffd[_0x46ee15(0xd1)](typeof _0x1251e1,_0x82dffd[_0x46ee15(0xc0)])&&_0x82dffd['vlSfZ'](_0x1251e1,null)){const _0x1fae51=Buffer[_0x46ee15(0x84)](Object[_0x46ee15(0x152)](_0x1251e1));_0x4a5450=JSON[_0x46ee15(0xe6)](_0x1fae51[_0x46ee15(0xcd)](_0x82dffd[_0x46ee15(0xaa)]));}else _0x82dffd[_0x46ee15(0xfa)](typeof _0x1251e1,_0x82dffd['NDFrs'])?_0x4a5450=JSON[_0x46ee15(0xe6)](_0x1251e1):_0x4a5450=_0x1251e1;}this[_0x46ee15(0x9e)][_0x46ee15(0xac)](_0x46ee15(0x67)+JSON[_0x46ee15(0xe9)](_0x4a5450)),_0x4a5450&&_0x82dffd[_0x46ee15(0xdc)](Object[_0x46ee15(0x11d)](_0x4a5450)[_0x46ee15(0xc8)],0x0)&&(AutomationFramework[_0x46ee15(0x112)](_0x96f71b[_0x46ee15(0x125)],PuppeteerDriverModule[_0x46ee15(0x82)],_0x4a5450),global['__launchCaps']=_0x4a5450,this[_0x46ee15(0x9e)][_0x46ee15(0xac)](_0x82dffd[_0x46ee15(0x113)]));}const _0x46f986=_0x2f1802['getHubUrl']?_0x2f1802['getHubUrl']():_0x2f1802[_0x46ee15(0xf7)];_0x46f986&&AutomationFramework[_0x46ee15(0x112)](_0x96f71b[_0x46ee15(0x125)],PuppeteerDriverModule[_0x46ee15(0xc5)],_0x46f986);}catch(_0x201d42){this[_0x46ee15(0x9e)]['debug'](_0x46ee15(0xcb)+util[_0x46ee15(0xa3)](_0x201d42));}}}catch(_0x20a2c9){this[_0x46ee15(0x9e)][_0x46ee15(0x128)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x46ee15(0xa3)](_0x20a2c9));}}async[a90_0x58263f(0x9b)](_0xf99ded){const _0x5433df=a90_0x58263f,_0x917f2c={'AJrcy':function(_0x2d8498,_0x27e3b2){return _0x2d8498(_0x27e3b2);},'Pmdjt':_0x5433df(0xe7),'TbkjQ':_0x5433df(0xc4),'fPVMG':_0x5433df(0x14d),'AGniU':_0x5433df(0x7a),'bCVzF':function(_0x14c9ee,_0x57cab4){return _0x14c9ee>_0x57cab4;},'EpJQD':_0x5433df(0xb4),'ijCmM':'browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','Egjld':function(_0x26e546,_0x2d5d0a){return _0x26e546===_0x2d5d0a;},'fuXnD':_0x5433df(0xe8)};try{this[_0x5433df(0x9e)][_0x5433df(0xac)](_0x5433df(0xa8)+JSON[_0x5433df(0xe9)](_0xf99ded));const _0x9ae85c=_0xf99ded[_0x5433df(0x125)];this[_0x5433df(0x114)]=_0x917f2c['AJrcy'](getFrameworkVersion,FRAMEWORKS[_0x5433df(0x111)]);_0xf99ded['page']&&(this[_0x5433df(0x9e)]['debug'](_0x917f2c[_0x5433df(0xa2)]),AutomationFramework[_0x5433df(0x112)](_0x9ae85c,PuppeteerDriverModule[_0x5433df(0x85)],_0xf99ded[_0x5433df(0x12a)]),_0xf99ded[_0x5433df(0xbf)]?(this[_0x5433df(0x9e)]['debug'](_0x917f2c[_0x5433df(0x7f)]),AutomationFramework['setState'](_0x9ae85c,PuppeteerDriverModule[_0x5433df(0x98)],_0xf99ded[_0x5433df(0xbf)]['id']||''),await this[_0x5433df(0x10a)](_0x9ae85c,_0xf99ded[_0x5433df(0xbf)])):this[_0x5433df(0x9e)]['debug'](_0x917f2c['fPVMG']));if(_0xf99ded['browser']){this['logger'][_0x5433df(0xac)](_0x917f2c[_0x5433df(0x122)]),AutomationFramework[_0x5433df(0x112)](_0x9ae85c,PuppeteerDriverModule[_0x5433df(0x12c)],_0xf99ded[_0x5433df(0x14c)]);global[_0x5433df(0x13f)]&&_0x917f2c[_0x5433df(0x137)](Object[_0x5433df(0x11d)](global[_0x5433df(0x13f)])[_0x5433df(0xc8)],0x0)&&(AutomationFramework[_0x5433df(0x112)](_0x9ae85c,PuppeteerDriverModule['KEY_CAPABILITIES'],global[_0x5433df(0x13f)]),this['logger'][_0x5433df(0xac)](_0x917f2c[_0x5433df(0xdf)]));if(_0xf99ded[_0x5433df(0x13c)])AutomationFramework[_0x5433df(0x112)](_0x9ae85c,PuppeteerDriverModule[_0x5433df(0x149)],_0xf99ded[_0x5433df(0x13c)]),this[_0x5433df(0x9e)][_0x5433df(0xac)]('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20'+_0xf99ded[_0x5433df(0x13c)]);else{if(global[_0x5433df(0x154)])AutomationFramework[_0x5433df(0x112)](_0x9ae85c,PuppeteerDriverModule[_0x5433df(0x149)],global[_0x5433df(0x154)]),this['logger'][_0x5433df(0xac)](_0x5433df(0xa6)+global[_0x5433df(0x154)]);else try{const _0x56f718=_0xf99ded[_0x5433df(0x12a)]||AutomationFramework[_0x5433df(0x13b)](_0x9ae85c,PuppeteerDriverModule[_0x5433df(0x85)]);if(_0x56f718){const _0x34ceeb=await _0x56f718[_0x5433df(0x92)](_0x216410=>{},_0x917f2c[_0x5433df(0x6c)]);if(_0x34ceeb){const _0x4f4d90=_0x917f2c[_0x5433df(0x8a)](typeof _0x34ceeb,_0x917f2c[_0x5433df(0x74)])?JSON[_0x5433df(0xe6)](_0x34ceeb):_0x34ceeb;_0x4f4d90&&_0x4f4d90[_0x5433df(0x88)]&&(AutomationFramework[_0x5433df(0x112)](_0x9ae85c,PuppeteerDriverModule['KEY_SESSION_ID'],_0x4f4d90['hashed_id']),global[_0x5433df(0x154)]=_0x4f4d90[_0x5433df(0x88)],this[_0x5433df(0x9e)][_0x5433df(0xac)](_0x5433df(0xd8)+_0x4f4d90['hashed_id']));}}}catch(_0x22fc00){this[_0x5433df(0x9e)][_0x5433df(0xac)](_0x5433df(0xfb)+util[_0x5433df(0xa3)](_0x22fc00));if(_0xf99ded[_0x5433df(0x14c)]['_connection']&&_0xf99ded[_0x5433df(0x14c)][_0x5433df(0x116)][_0x5433df(0x134)])try{const _0x57a152=_0xf99ded[_0x5433df(0x14c)]['_connection'][_0x5433df(0x134)];AutomationFramework[_0x5433df(0x112)](_0x9ae85c,PuppeteerDriverModule[_0x5433df(0x149)],_0x57a152),this[_0x5433df(0x9e)][_0x5433df(0xac)]('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20'+_0x57a152);}catch(_0x13e685){this[_0x5433df(0x9e)][_0x5433df(0xac)]('onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20'+util[_0x5433df(0xa3)](_0x13e685));}}}}}catch(_0x35d05b){this[_0x5433df(0x9e)][_0x5433df(0x128)](_0x5433df(0x131)+util[_0x5433df(0xa3)](_0x35d05b));}}async[a90_0x58263f(0xb6)](_0x326b80){const _0x19d2a9=a90_0x58263f,_0x2afd31={'gDcSj':_0x19d2a9(0xe5),'xegWD':_0x19d2a9(0x153),'axpuZ':_0x19d2a9(0x157),'qXcQT':'Unknown\x20Test','DyOEz':function(_0x35c1e9,_0x21a788){return _0x35c1e9>_0x21a788;},'niFZq':function(_0x1d5e98,_0x30f6ae){return _0x1d5e98===_0x30f6ae;},'bQgDB':'passed','LwFDE':function(_0x108083,_0x165bb7){return _0x108083===_0x165bb7;},'gMrhW':_0x19d2a9(0x11c),'KPCxO':_0x19d2a9(0x8b),'OtttS':function(_0xfe223,_0x554480){return _0xfe223===_0x554480;},'WhVbS':_0x19d2a9(0x13d),'fNhEB':function(_0x5f3bf4,_0x3889aa){return _0x5f3bf4===_0x3889aa;},'igptL':_0x19d2a9(0xb7),'dPHAw':_0x19d2a9(0x76),'EkaHO':function(_0x4eb948,_0x2086ee){return _0x4eb948===_0x2086ee;},'vKRMA':function(_0x546601,_0x20265b){return _0x546601(_0x20265b);},'ZXkqw':_0x19d2a9(0x11a),'IMDoY':function(_0x1bdb2b){return _0x1bdb2b();},'qztmO':_0x19d2a9(0x11e),'VAaHi':_0x19d2a9(0xa5),'DkAih':'Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status'};this['logger'][_0x19d2a9(0xac)](_0x2afd31[_0x19d2a9(0xc3)]);const _0x2f5f91=_0x326b80[_0x19d2a9(0x125)];if(!_0x2f5f91){this[_0x19d2a9(0x9e)][_0x19d2a9(0xac)](_0x2afd31['xegWD']);return;}try{const _0x29b456=_0x326b80[_0x19d2a9(0xbf)],_0xc1eac4=_0x326b80[_0x19d2a9(0xfc)];let _0x508ed2=_0x326b80[_0x19d2a9(0x12f)],_0x46ffa9=_0x2afd31[_0x19d2a9(0xf6)],_0x3f2ce8=_0x2afd31['qXcQT'],_0x32955c=null;_0x29b456&&(_0x46ffa9=_0x29b456[_0x19d2a9(0x101)]||_0xc1eac4?.[_0x19d2a9(0xee)]||_0x2afd31[_0x19d2a9(0xf6)],_0x3f2ce8=_0x29b456[_0x19d2a9(0x8c)]||_0x29b456[_0x19d2a9(0x100)]||_0xc1eac4?.[_0x19d2a9(0x8c)]||_0xc1eac4?.[_0x19d2a9(0x100)]||_0x2afd31[_0x19d2a9(0xf8)],_0x32955c=_0x29b456[_0x19d2a9(0x93)]||_0x29b456[_0x19d2a9(0x128)]?.[_0x19d2a9(0x146)]||null,_0xc1eac4?.[_0x19d2a9(0x144)]&&_0x2afd31[_0x19d2a9(0xc7)](_0xc1eac4[_0x19d2a9(0x144)][_0x19d2a9(0xc8)],0x0)&&(_0x32955c=_0x32955c||_0xc1eac4[_0x19d2a9(0x144)][_0x19d2a9(0xd6)](_0x2b5907=>_0x2b5907['message']||_0x2b5907)[_0x19d2a9(0x91)]('\x0a')));let _0x2bc1e6=null;if(_0x2afd31[_0x19d2a9(0x150)](_0x46ffa9,_0x2afd31[_0x19d2a9(0x110)]))_0x2bc1e6=_0x2afd31[_0x19d2a9(0x110)];else{if(_0x2afd31[_0x19d2a9(0x86)](_0x46ffa9,_0x2afd31[_0x19d2a9(0x10e)])||_0x2afd31[_0x19d2a9(0x150)](_0x46ffa9,_0x2afd31[_0x19d2a9(0x123)])||_0x2afd31['OtttS'](_0x46ffa9,_0x2afd31[_0x19d2a9(0x104)]))_0x2bc1e6=_0x2afd31[_0x19d2a9(0x10e)];else(_0x2afd31[_0x19d2a9(0x70)](_0x46ffa9,_0x2afd31[_0x19d2a9(0x158)])||_0x2afd31[_0x19d2a9(0x86)](_0x46ffa9,_0x2afd31['dPHAw']))&&(_0x2bc1e6=_0x2afd31[_0x19d2a9(0x158)]);}this[_0x19d2a9(0x75)]&&_0x2afd31[_0x19d2a9(0x87)](this[_0x19d2a9(0x75)][_0x19d2a9(0x8c)],FRAMEWORKS[_0x19d2a9(0xc1)])?(_0x508ed2=this[_0x19d2a9(0x14e)][_0x19d2a9(0x9c)](_0x29b456,_0x508ed2),this[_0x19d2a9(0x9e)][_0x19d2a9(0xac)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x508ed2)):_0x508ed2=_0xc1eac4?.['id']||_0xc1eac4?.['uuid']||process['pid']+_0x19d2a9(0x155);const _0x33ade1=TestInfo['getTestDetails'](_0x508ed2),_0x39d9af=AutomationFramework['getState'](_0x2f5f91,PuppeteerDriverModule[_0x19d2a9(0xde)])||global['__bstackPlatformIndex'],_0xab42b4=_0x33ade1?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this['testFrameworkData']&&this[_0x19d2a9(0x75)][_0x19d2a9(0x8c)],_0x2ff393=_0x33ade1?.[TestFrameworkConstants[_0x19d2a9(0xf1)]]||this[_0x19d2a9(0x75)]&&this[_0x19d2a9(0x75)][_0x19d2a9(0x83)],_0x4092ad=TestFrameworkState[_0x19d2a9(0x103)][_0x19d2a9(0xcd)]()['split']('.')[0x1],_0x5ca472=HookState[_0x19d2a9(0x7e)][_0x19d2a9(0xcd)]()[_0x19d2a9(0x127)]('.')[0x1],_0x193622=_0x2f5f91['getContext'](),_0x2a3a63=AutomationFramework['getState'](_0x2f5f91,PuppeteerDriverModule[_0x19d2a9(0xc5)],'')||BrowserstackCLI['getInstance']()[_0x19d2a9(0x132)]()?.[_0x19d2a9(0xf7)]||'',_0x5e2f96=AutomationFramework[_0x19d2a9(0x13b)](_0x2f5f91,PuppeteerDriverModule[_0x19d2a9(0x149)],'')||global['__bstackSessionId']||'',_0x14c8ff={'provider':_0x2afd31[_0x19d2a9(0x102)](getPlaywrightProvider,_0x2a3a63),'frameworkName':_0x2afd31[_0x19d2a9(0xaf)],'frameworkVersion':this[_0x19d2a9(0x114)]||'','frameworkSessionId':LoadTestModule[_0x19d2a9(0x99)]()?LoadTestModule[_0x19d2a9(0x121)]():_0x5e2f96,'ref':PuppeteerDriverModule[_0x19d2a9(0xe2)]||_0x2f5f91['getRef'](),'hubUrl':_0x2a3a63,'product':_0x2afd31[_0x19d2a9(0x90)](getProductForSession)};let _0x1bdce2=AutomationFramework[_0x19d2a9(0x13b)](_0x2f5f91,PuppeteerDriverModule[_0x19d2a9(0x82)],null)||global[_0x19d2a9(0x13f)]||global[_0x19d2a9(0xec)]||{};_0x1bdce2&&_0x2afd31[_0x19d2a9(0xc7)](Object[_0x19d2a9(0x11d)](_0x1bdce2)['length'],0x0)?_0x1bdce2=Buffer[_0x19d2a9(0x84)](JSON[_0x19d2a9(0xe9)](_0x1bdce2))[_0x19d2a9(0xcd)](_0x2afd31[_0x19d2a9(0xd2)]):_0x1bdce2=Buffer[_0x19d2a9(0x84)](JSON[_0x19d2a9(0xe9)]({}))[_0x19d2a9(0xcd)](_0x2afd31[_0x19d2a9(0xd2)]);const _0x1c9988={'hash':_0x193622[_0x19d2a9(0xbb)](),'threadId':_0x193622[_0x19d2a9(0x142)]()[_0x19d2a9(0xcd)](),'processId':_0x193622[_0x19d2a9(0x7b)]()[_0x19d2a9(0xcd)]()},_0xad0e71={};_0xad0e71['platformIndex']=_0x39d9af,_0xad0e71[_0x19d2a9(0x133)]=_0xab42b4,_0xad0e71[_0x19d2a9(0x12e)]=_0x2ff393,_0xad0e71[_0x19d2a9(0xe1)]=_0x4092ad,_0xad0e71[_0x19d2a9(0x14f)]=_0x5ca472,_0xad0e71[_0x19d2a9(0xf5)]=_0x508ed2,_0xad0e71[_0x19d2a9(0xdd)]=_0x14c8ff,_0xad0e71['capabilities']=_0x1bdce2,_0xad0e71[_0x19d2a9(0x135)]=_0x1c9988;const _0x52395b=_0xad0e71;this['logger'][_0x19d2a9(0xac)](_0x19d2a9(0xfe)+util['format'](_0x52395b)),GrpcClient[_0x19d2a9(0x11b)]()[_0x19d2a9(0x6e)](_0x52395b),this[_0x19d2a9(0x9e)][_0x19d2a9(0xac)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20'+_0x508ed2);if(!_0x2bc1e6){this[_0x19d2a9(0x9e)]['debug'](_0x2afd31[_0x19d2a9(0xa1)],_0x46ffa9);return;}this['logger'][_0x19d2a9(0xac)](_0x2afd31[_0x19d2a9(0xb1)]),_0x29b456&&await this[_0x19d2a9(0x10a)](_0x2f5f91,_0x29b456),await this[_0x19d2a9(0x68)](_0x2f5f91,_0x3f2ce8,_0x2bc1e6,_0x32955c);}catch(_0x523c6b){this[_0x19d2a9(0x9e)][_0x19d2a9(0x128)](_0x19d2a9(0x130)+util[_0x19d2a9(0xa3)](_0x523c6b));}}async[a90_0x58263f(0xba)](_0x4fe045){const _0x264b26=a90_0x58263f,_0x652dcf={};_0x652dcf[_0x264b26(0x105)]='onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit',_0x652dcf[_0x264b26(0x8d)]=_0x264b26(0xa9),_0x652dcf[_0x264b26(0x80)]=_0x264b26(0xad);const _0x48d9fe=_0x652dcf;try{this[_0x264b26(0x9e)]['debug'](_0x48d9fe[_0x264b26(0x105)]);const _0x1a58a5=_0x4fe045['instance'];if(!_0x1a58a5){this[_0x264b26(0x9e)]['debug'](_0x48d9fe['LysnH']);return;}AutomationFramework[_0x264b26(0x112)](_0x1a58a5,PuppeteerDriverModule[_0x264b26(0x85)],null),AutomationFramework[_0x264b26(0x112)](_0x1a58a5,PuppeteerDriverModule[_0x264b26(0x12c)],null),this['logger']['debug'](_0x48d9fe[_0x264b26(0x80)]);}catch(_0x2994c4){this[_0x264b26(0x9e)]['error']('Error\x20in\x20onBeforeQuit:\x20'+util[_0x264b26(0xa3)](_0x2994c4));}}async['markSessionName'](_0x3a5d2a,_0x38893c){const _0xd2b736=a90_0x58263f,_0x30c047={};_0x30c047['EGIAO']='markSessionName:\x20Skipping\x20session\x20name\x20marking',_0x30c047[_0xd2b736(0x9d)]=_0xd2b736(0x8e),_0x30c047[_0xd2b736(0x140)]='setSessionName';const _0x133bc=_0x30c047;try{if(CLIUtils[_0xd2b736(0xae)](BrowserstackCLI[_0xd2b736(0x11b)]()['getConfig']())){this[_0xd2b736(0x9e)][_0xd2b736(0xac)](_0x133bc['EGIAO']);return;}const _0x1ad0dc=AutomationFramework[_0xd2b736(0x13b)](_0x3a5d2a,PuppeteerDriverModule[_0xd2b736(0x85)]);if(!_0x1ad0dc){this[_0xd2b736(0x9e)][_0xd2b736(0xac)](_0x133bc[_0xd2b736(0x9d)]);return;}const _0x52f394=_0x38893c[_0xd2b736(0x8c)]||_0x38893c[_0xd2b736(0x100)]||_0x38893c[_0xd2b736(0x12b)],_0x544dcd={};_0x544dcd['name']=_0x52f394;const _0x2a704d={};_0x2a704d[_0xd2b736(0xb2)]=_0x133bc['jKPjd'],_0x2a704d[_0xd2b736(0x77)]=_0x544dcd;const _0x2d86b3=_0x2a704d;PerformanceTester[_0xd2b736(0xbc)](PerformanceEvents[_0xd2b736(0xf0)]),await this[_0xd2b736(0x11f)](_0x1ad0dc,_0x2d86b3),PerformanceTester['end'](PerformanceEvents[_0xd2b736(0xf0)]);}catch(_0x37c323){PerformanceTester[_0xd2b736(0x97)](PerformanceEvents['SESSION_NAME'],![],util[_0xd2b736(0xa3)](_0x37c323)),this[_0xd2b736(0x9e)]['error'](_0xd2b736(0x151)+util[_0xd2b736(0xa3)](_0x37c323));}}async[a90_0x58263f(0x68)](_0x54fd9d,_0x111689,_0x5ddfb4,_0x24ac3b){const _0x1741b7=a90_0x58263f,_0x55aedf={};_0x55aedf['sLjYo']='markSessionStatus:\x20Skipping\x20session\x20status\x20marking',_0x55aedf[_0x1741b7(0x13a)]=_0x1741b7(0xe3),_0x55aedf[_0x1741b7(0xe0)]=_0x1741b7(0xd0),_0x55aedf[_0x1741b7(0x109)]=_0x1741b7(0xa5),_0x55aedf[_0x1741b7(0xf2)]=_0x1741b7(0x119),_0x55aedf[_0x1741b7(0x147)]=_0x1741b7(0x118),_0x55aedf[_0x1741b7(0xa4)]=_0x1741b7(0xf4);const _0xb5ed0c=_0x55aedf;if(CLIUtils[_0x1741b7(0x115)](BrowserstackCLI['getInstance']()[_0x1741b7(0x132)]())){this['logger'][_0x1741b7(0xac)](_0xb5ed0c[_0x1741b7(0xc2)]);return;}const _0x458eac=_0x54fd9d;if(!_0x458eac){this[_0x1741b7(0x9e)][_0x1741b7(0xac)](_0xb5ed0c['CFVJj']);return;}const _0x161aac=AutomationFramework['getState'](_0x458eac,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(!_0x161aac){this[_0x1741b7(0x9e)][_0x1741b7(0xac)](_0xb5ed0c['YkFrc']);return;}if(!_0x5ddfb4){this[_0x1741b7(0x9e)][_0x1741b7(0xac)](_0xb5ed0c[_0x1741b7(0x109)],_0x5ddfb4);return;}const _0x58f0ce={};_0x58f0ce['status']=_0x5ddfb4;const _0x193bf0={};_0x193bf0[_0x1741b7(0xb2)]=_0xb5ed0c[_0x1741b7(0xf2)],_0x193bf0[_0x1741b7(0x77)]=_0x58f0ce;const _0x102d20=_0x193bf0;_0x24ac3b&&(_0x102d20[_0x1741b7(0x77)][_0xb5ed0c[_0x1741b7(0x147)]]=_0x24ac3b),PerformanceTester[_0x1741b7(0xbc)](PerformanceEvents[_0x1741b7(0xcc)]),this['logger'][_0x1741b7(0xac)](_0xb5ed0c[_0x1741b7(0xa4)]),await this[_0x1741b7(0x11f)](_0x161aac,_0x102d20),PerformanceTester[_0x1741b7(0x97)](PerformanceEvents[_0x1741b7(0xcc)]);}async['puppeteerBstackExecutor'](_0x3e3b41,_0x563cdf){const _0x1a5b2d=a90_0x58263f,_0x5e25ba={'vYvqC':function(_0x1b874d,_0x29e605,_0x3d83c2){return _0x1b874d(_0x29e605,_0x3d83c2);},'Aaxrq':function(_0xe788b9,_0x6845ea){return _0xe788b9(_0x6845ea);}};try{const _0x2ea9aa=0x3a98,_0x1b4d7b=_0x1a5b2d(0x69)+JSON[_0x1a5b2d(0xe9)](_0x563cdf),_0x4e62ff=_0x3e3b41['evaluate'](_0x297e66=>{},_0x1b4d7b);let _0x1d05ae;await Promise[_0x1a5b2d(0xd5)]([_0x4e62ff,new Promise((_0x6d8746,_0x78af63)=>{const _0x2e65eb=_0x1a5b2d;_0x1d05ae=_0x5e25ba[_0x2e65eb(0x66)](setTimeout,()=>_0x78af63(new Error(_0x2e65eb(0xb0)+_0x2ea9aa+'ms')),_0x2ea9aa);})])[_0x1a5b2d(0x159)](()=>{const _0x295579=_0x1a5b2d;_0x5e25ba[_0x295579(0x117)](clearTimeout,_0x1d05ae);});}catch(_0xc67712){this[_0x1a5b2d(0x9e)][_0x1a5b2d(0xac)](_0x1a5b2d(0x94)+(_0xc67712[_0x1a5b2d(0x146)]||_0xc67712));}}}function a90_0xd53d(_0x175e7c,_0x3841b1){const _0x416f71=a90_0x416f();return a90_0xd53d=function(_0xd53ded,_0x4a096f){_0xd53ded=_0xd53ded-0x66;let _0x370a8c=_0x416f71[_0xd53ded];return _0x370a8c;},a90_0xd53d(_0x175e7c,_0x3841b1);}module[a90_0x58263f(0x12d)]=PuppeteerDriverModule;function a90_0x416f(){const _0x5a43d3=['KKJpi','testInfo','VJnvn','JEST','sLjYo','gDcSj','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','KEY_HUB_URL','isPuppeteer','DyOEz','length',',\x20skipping\x20duplicate','getCapabilities','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','SESSION_STATUS','toString','object','CREATE','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','TEWxf','qztmO','1827GfnSYy','registerObserver','race','map','10QaqZrA','onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20','../../../helpers/performance/constants.js','../TestInfo.js','jxMuK','OkGYA','automationSession','KEY_PLATFORM_INDEX','EpJQD','YkFrc','testFrameworkState','_driverInitRef','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','util','Automation\x20onAfterTest:\x20Test\x20completed','parse','onAfterDriverCreate:\x20Setting\x20page\x20object','string','stringify','puppeteer_hub_url','MODULE_NAME','__platformCaps','bind','result','1tfRTNE','SESSION_NAME','KEY_TEST_FRAMEWORK_VERSION','Dweme','sSaKd','markSessionStatus:\x20Marking\x20session\x20status','test_identifier','axpuZ','hubUrl','qXcQT','Keffg','qBFAJ','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20','test','browserVersion','onAfterTest\x20CBTSession\x20payload:\x20','utf8','title','status','vKRMA','TEST','WhVbS','CzImc','AUTOMATE_EVENTS','../grpcClient.js','14gVmlkb','vDiPr','markSessionName','puppeteer_capabilities','QUIT','2618680nDsBDn','gMrhW','userInputParams','bQgDB','PUPPETEER','setState','FzlGx','puppeteerVersion','shouldSkipSessionStatus','_connection','Aaxrq','reason','setSessionStatus','Puppeteer','getInstance','failed','keys','base64','puppeteerBstackExecutor','../../../helpers/helper.js','getLTSSessionId','AGniU','KPCxO','36136jayCAu','instance','../browserstackCLI.js','split','error','ref','page','fullName','KEY_BROWSER_OBJECT','exports','testFrameworkVersion','testIdentifier','Error\x20in\x20onAfterTest:\x20','Error\x20in\x20onAfterDriverCreate:\x20','getConfig','testFrameworkName','_url','executionContext','27365xOiQww','bCVzF','./baseModule','PuppeteerDriverModule','CFVJj','getState','sessionId','timedOut','has','__launchCaps','jKPjd','vlSfZ','getThreadId','ddLQN','errorsDetailed','browserName','message','JheQV','puppeteer_session_id','KEY_SESSION_ID','../state/automationFrameworkState.js','testRunId','browser','onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','jestUtils','testHookState','niFZq','Error\x20in\x20markSessionName:\x20','values','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','__bstackSessionId',':testAnalyticsId','473754umimcD','unknown','igptL','finally','NDFrs','launchcaps','vYvqC','onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20','markSessionStatus','browserstack_executor:\x20','../framework/automationFramework.js','puppeteer_platform_details','ijCmM','puppeteer_page','testSessionEvent','KEY_PLATFORM_DETAILS','fNhEB','4cmQECK','../framework/testFramework.js','onBeforeDriverCreate','fuXnD','testFrameworkData','skip','arguments','getModuleName','./loadTestModule.js','onAfterDriverCreate:\x20Setting\x20browser\x20object','getProcessId','__bstackPlatformIndex','../../../helpers/helper','POST','TbkjQ','gSnOo','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','KEY_CAPABILITIES','version','from','KEY_PAGE_OBJECT','LwFDE','EkaHO','hashed_id','_driverInitCalledForRef','Egjld','timedout','name','LysnH','markSessionName:\x20Page\x20object\x20is\x20not\x20available','0|6|7|2|1|9|4|11|5|3|10|8','IMDoY','join','evaluate','failureMessage','Error\x20in\x20puppeteerBstackExecutor:\x20','driverInit','platformIndex','end','KEY_TEST_ID','isLTSSession','1572123sQfSyH','onAfterDriverCreate','recreateIdentifierFromTestInfo','UPXtz','logger','puppeteer_test_id','5040Gepezq','VAaHi','Pmdjt','format','WKvkt','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20','puppeteer_browser','onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20','onBeforeQuit:\x20No\x20automation\x20instance\x20available','ZhLmo','getRef','debug','onBeforeQuit:\x20Cleanup\x20complete','shouldSkipSessionName','ZXkqw','browserstack_executor\x20timeout\x20after\x20','DkAih','action','add','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','4805823MUpSQG','onAfterTest','skipped','PRE','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','onBeforeQuit','getId','start','503546ruZchs'];a90_0x416f=function(){return _0x5a43d3;};return a90_0x416f();}
1
+ function a90_0x2b65(){const _0x2c7c1f=[':testAnalyticsId','PuppeteerDriverModule','failureMessage','shouldSkipSessionName','RUQmn','onBeforeDriverCreate','QUIT','SESSION_NAME','__bstackSessionId','KEY_PLATFORM_INDEX','333166lQXXJR','getRef','Error\x20in\x20onBeforeQuit:\x20','jiMzK','testFrameworkVersion','getConfig','YfjZB','util','../../../helpers/performance/performance-tester.js','toString','getModuleName','puppeteer_test_id','automationSession','testRunId','setState','test_identifier','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','browserVersion','getContext','browser','wrZwD','markSessionStatus','platforms','base64','message','join','format','onBeforeQuit','CZlGj','itmqA','TkvVi','Qazzw','4345200dncZgT','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','njaJF','testIdentifier','_driverInitRef','zXAJm','getCapabilities','RuKXc','onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit','parse','WOJPe','VVadL','isBuffer','__bstackPlatformIndex','executionContext','onAfterDriverCreate:\x20Setting\x20browser\x20object','uuid','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20','length','NUjjj','KEY_TEST_FRAMEWORK_NAME','6ecTfsB','start','mObse','PSWVb','../cliUtils.js','ZMUxu','isLTSSession','OhfMz','error','LJnlU','testFrameworkName','string','_connection','getThreadId','puppeteer_platform_details','evaluate','10HHlmXT','NJuvK','platformIndex','KEY_PAGE_OBJECT','../framework/constants/testFrameworkConstants.js','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','onBeforeQuit:\x20Cleanup\x20complete','4811422oHAziC','lYxyA','finally','KEY_BROWSER_OBJECT','../../../helpers/helper.js','testHookState','../browserstackCLI.js','hashed_id','from','VgjyW','9LuEUGj','errorsDetailed','onAfterDriverCreate','map','testSessionEvent','QqFAk','_driverInitCalledForRef','pmcXw','hubUrl','onAfterTest\x20CBTSession\x20payload:\x20','kuhwF','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20','getInstance','puppeteerBstackExecutor','timedout','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status','testFrameworkState','vAyev','keys','logger','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','kgxZJ','instance','capabilities','Error\x20in\x20puppeteerBstackExecutor:\x20','dAbwp','testInfo','getState','KEY_TEST_ID','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','testFrameworkData','GBLis','Unknown\x20Test','version','5|2|7|8|0|3|6|9|11|10|1|4','kfkvl','../../../helpers/classLogger.js','title','failed','bind','end','aRWvI','PUPPETEER','utf8','onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20','browserstack_executor:\x20','AUTOMATE_EVENTS','bgJdq','Error\x20in\x20onBeforeDriverCreate:\x20','2636944YoGkYr','getId','browserstack_executor\x20timeout\x20after\x20','VfyYt','wzhKU','browserName','71783ZSYWHM','../utils/jest-utils.js','onAfterTest','JEST','status','wBhSx','wgIiA','1599508CxPMzZ','HKVjU','action','getTestDetails','add','_url','pid','arguments','onAfterDriverCreate:\x20driverInit\x20response\x20received',',\x20skipping\x20duplicate','puppeteer_platform_index','ItKiE','../../../helpers/test-observability/utils','passed','setSessionName','puppeteer_page','../framework/automationFramework.js','ref','NCgdN','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','jestUtils','has','markSessionName:\x20Page\x20object\x20is\x20not\x20available','oqLcD','name','onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20','../state/hookState.js','KEY_HUB_URL','sessionId','values','registerObserver','SRjAd','markSessionName:\x20Skipping\x20session\x20name\x20marking','CREATE','split','race','puppeteer_browser','15OKXVOH','pBrVZ','debug','../state/testFrameworkState','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','__platformCaps','shouldSkipSessionStatus','POST','Error\x20in\x20markSessionName:\x20','yeBUO','stringify','__launchCaps','KEY_CAPABILITIES','onBeforeQuit:\x20No\x20automation\x20instance\x20available','KEY_TEST_FRAMEWORK_VERSION','getHubUrl','jOLAT','PRE','browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','zPdws','TazzZ','../../utils/constants','isPuppeteer','TEST','2553661asBKFP','getLTSSessionId','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20','MODULE_NAME','fApqQ','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','airye','markSessionName','KEY_SESSION_ID','puppeteerVersion','onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20','XhMeu','page','onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','hclvR'];a90_0x2b65=function(){return _0x2c7c1f;};return a90_0x2b65();}const a90_0x4bfcc7=a90_0x337b;(function(_0x3c4239,_0x4176cf){const _0x52d525=a90_0x337b,_0x18c58f=_0x3c4239();while(!![]){try{const _0x194ee7=-parseInt(_0x52d525(0x1bd))/0x1+-parseInt(_0x52d525(0x12f))/0x2+-parseInt(_0x52d525(0x14f))/0x3+parseInt(_0x52d525(0x1c4))/0x4*(parseInt(_0x52d525(0x1e9))/0x5)+-parseInt(_0x52d525(0x164))/0x6*(-parseInt(_0x52d525(0x17b))/0x7)+-parseInt(_0x52d525(0x1b7))/0x8*(-parseInt(_0x52d525(0x185))/0x9)+parseInt(_0x52d525(0x174))/0xa*(parseInt(_0x52d525(0x116))/0xb);if(_0x194ee7===_0x4176cf)break;else _0x18c58f['push'](_0x18c58f['shift']());}catch(_0x965125){_0x18c58f['push'](_0x18c58f['shift']());}}}(a90_0x2b65,0xba07c));function a90_0x337b(_0x1d0e5a,_0x129781){const _0x2b6544=a90_0x2b65();return a90_0x337b=function(_0x337b62,_0x290583){_0x337b62=_0x337b62-0x10a;let _0x3c3b72=_0x2b6544[_0x337b62];return _0x3c3b72;},a90_0x337b(_0x1d0e5a,_0x129781);}const util=require(a90_0x4bfcc7(0x136)),BaseModule=require('./baseModule'),{createClassLogger}=require(a90_0x4bfcc7(0x1aa)),{getFrameworkVersion}=require(a90_0x4bfcc7(0x1d0)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a90_0x4bfcc7(0x113)),AutomationFramework=require(a90_0x4bfcc7(0x1d4)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a90_0x4bfcc7(0x1de)),{nestedKeyValue,playwrightBstackJsExecutor}=require(a90_0x4bfcc7(0x17f)),CLIUtils=require(a90_0x4bfcc7(0x168)),BrowserstackCLI=require(a90_0x4bfcc7(0x181)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a90_0x4bfcc7(0x137)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a90_0x4bfcc7(0x1b4)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a90_0x4bfcc7(0x17f)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a90_0x4bfcc7(0x178)),TestFrameworkState=require(a90_0x4bfcc7(0x1ec)),JestUtils=require(a90_0x4bfcc7(0x1be)),TestFramework=require('../framework/testFramework.js');class PuppeteerDriverModule extends BaseModule{static [a90_0x4bfcc7(0x17e)]=a90_0x4bfcc7(0x1e8);static [a90_0x4bfcc7(0x177)]=a90_0x4bfcc7(0x1d3);static ['KEY_SESSION_ID']='puppeteer_session_id';static [a90_0x4bfcc7(0x12e)]=a90_0x4bfcc7(0x1ce);static ['KEY_CAPABILITIES']='puppeteer_capabilities';static [a90_0x4bfcc7(0x1df)]='puppeteer_hub_url';static ['KEY_PLATFORM_DETAILS']=a90_0x4bfcc7(0x172);static [a90_0x4bfcc7(0x1a2)]=a90_0x4bfcc7(0x13a);static [a90_0x4bfcc7(0x119)]='PuppeteerDriverModule';static [a90_0x4bfcc7(0x18b)]=new Set();static [a90_0x4bfcc7(0x153)]=null;[a90_0x4bfcc7(0x199)]=createClassLogger('PuppeteerDriverModule');constructor(_0x1ade28=null){const _0x98e0e7=a90_0x4bfcc7,_0x174866={};_0x174866[_0x98e0e7(0x10e)]=_0x98e0e7(0x1a8),_0x174866[_0x98e0e7(0x19f)]=_0x98e0e7(0x126);const _0x47fcde=_0x174866,_0x34a4f0=_0x47fcde[_0x98e0e7(0x10e)]['split']('|');let _0x302ecd=0x0;while(!![]){switch(_0x34a4f0[_0x302ecd++]){case'0':this[_0x98e0e7(0x140)]=null;continue;case'1':TestFramework[_0x98e0e7(0x1e2)](TestFrameworkState[_0x98e0e7(0x115)],HookState['POST'],this[_0x98e0e7(0x1bf)]['bind'](this));continue;case'2':this[_0x98e0e7(0x1dc)]=_0x47fcde[_0x98e0e7(0x19f)];continue;case'3':this[_0x98e0e7(0x145)]=[];continue;case'4':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x98e0e7(0x12b)],HookState['PRE'],this['onBeforeQuit'][_0x98e0e7(0x1ad)](this));continue;case'5':super(_0x1ade28);continue;case'6':this[_0x98e0e7(0x13c)]=null;continue;case'7':this[_0x98e0e7(0x11f)]=null;continue;case'8':this[_0x98e0e7(0x1bc)]=null;continue;case'9':this[_0x98e0e7(0x1d8)]=new JestUtils();continue;case'10':AutomationFramework[_0x98e0e7(0x1e2)](AutomationFrameworkState[_0x98e0e7(0x1e5)],HookState[_0x98e0e7(0x1f1)],this[_0x98e0e7(0x187)][_0x98e0e7(0x1ad)](this));continue;case'11':AutomationFramework[_0x98e0e7(0x1e2)](AutomationFrameworkState[_0x98e0e7(0x1e5)],HookState[_0x98e0e7(0x10f)],this[_0x98e0e7(0x12a)][_0x98e0e7(0x1ad)](this));continue;}break;}}[a90_0x4bfcc7(0x139)](){return PuppeteerDriverModule['MODULE_NAME'];}async['onBeforeDriverCreate'](_0xdb25fd){const _0x382956=a90_0x4bfcc7,_0x4aff70={};_0x4aff70['airye']=_0x382956(0x190),_0x4aff70[_0x382956(0x16b)]=_0x382956(0x146),_0x4aff70['lYxyA']=_0x382956(0x1cc),_0x4aff70[_0x382956(0x135)]=_0x382956(0x1b1),_0x4aff70['oqLcD']=function(_0x161620,_0x58ca0e){return _0x161620===_0x58ca0e;},_0x4aff70[_0x382956(0x156)]='object',_0x4aff70[_0x382956(0x197)]=function(_0x5309e4,_0x4b9a1a){return _0x5309e4!==_0x4b9a1a;},_0x4aff70[_0x382956(0x14d)]='string',_0x4aff70[_0x382956(0x154)]=function(_0x243b14,_0x35b7b6){return _0x243b14>_0x35b7b6;},_0x4aff70[_0x382956(0x18a)]=_0x382956(0x1ee);const _0x4e94c9=_0x4aff70;try{this[_0x382956(0x199)][_0x382956(0x1eb)](_0x4e94c9[_0x382956(0x11c)]);const _0x1d7c2c=_0xdb25fd['launchcaps'],_0x3f6fd3=_0xdb25fd[_0x382956(0x18d)];AutomationFramework[_0x382956(0x13d)](_0xdb25fd[_0x382956(0x19c)],PuppeteerDriverModule[_0x382956(0x10a)],_0x1d7c2c),AutomationFramework['setState'](_0xdb25fd[_0x382956(0x19c)],PuppeteerDriverModule[_0x382956(0x1df)],_0x3f6fd3);const _0xf78abc=_0xdb25fd[_0x382956(0x19c)]['getRef'](),_0x325dfd=global[_0x382956(0x15c)]||0x0;AutomationFramework[_0x382956(0x13d)](_0xdb25fd[_0x382956(0x19c)],PuppeteerDriverModule['KEY_PLATFORM_INDEX'],_0x325dfd);if(PuppeteerDriverModule[_0x382956(0x18b)][_0x382956(0x1d9)](_0xf78abc))this[_0x382956(0x199)][_0x382956(0x1eb)](_0x382956(0x1b2)+_0xf78abc+_0x382956(0x1cd));else{PuppeteerDriverModule[_0x382956(0x18b)][_0x382956(0x1c8)](_0xf78abc),PuppeteerDriverModule[_0x382956(0x153)]=_0xf78abc;const _0x71572d={..._0x1d7c2c};_0x71572d[_0x382956(0x114)]=!![];const _0x2d84e8=Buffer[_0x382956(0x183)](JSON[_0x382956(0x1f4)](_0x71572d)['toString'](_0x4e94c9['OhfMz'])),_0x23dc61={};_0x23dc61[_0x382956(0x176)]=_0x325dfd,_0x23dc61[_0x382956(0x1d5)]=_0xf78abc,_0x23dc61['userInputParams']=_0x2d84e8,_0x23dc61[_0x382956(0x18d)]=_0x3f6fd3;const _0x4b2311=await GrpcClient[_0x382956(0x192)]()['driverInit'](_0x23dc61);this['logger'][_0x382956(0x1eb)](_0x4e94c9[_0x382956(0x17c)]);if(_0x4b2311)try{const _0x189f08=_0x4b2311[_0x382956(0x155)]?_0x4b2311[_0x382956(0x155)]():_0x4b2311[_0x382956(0x19d)];if(_0x189f08){let _0x365305;if(Buffer[_0x382956(0x15b)](_0x189f08))_0x365305=JSON[_0x382956(0x158)](_0x189f08[_0x382956(0x138)](_0x4e94c9[_0x382956(0x135)]));else{if(_0x4e94c9[_0x382956(0x1db)](typeof _0x189f08,_0x4e94c9[_0x382956(0x156)])&&_0x4e94c9[_0x382956(0x197)](_0x189f08,null)){const _0x46e26d=Buffer[_0x382956(0x183)](Object[_0x382956(0x1e1)](_0x189f08));_0x365305=JSON[_0x382956(0x158)](_0x46e26d['toString'](_0x4e94c9[_0x382956(0x135)]));}else _0x4e94c9[_0x382956(0x1db)](typeof _0x189f08,_0x4e94c9[_0x382956(0x14d)])?_0x365305=JSON[_0x382956(0x158)](_0x189f08):_0x365305=_0x189f08;}this['logger'][_0x382956(0x1eb)]('onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20'+JSON[_0x382956(0x1f4)](_0x365305)),_0x365305&&_0x4e94c9[_0x382956(0x154)](Object['keys'](_0x365305)['length'],0x0)&&(AutomationFramework[_0x382956(0x13d)](_0xdb25fd['instance'],PuppeteerDriverModule['KEY_CAPABILITIES'],_0x365305),global[_0x382956(0x1f5)]=_0x365305,this[_0x382956(0x199)][_0x382956(0x1eb)](_0x4e94c9[_0x382956(0x18a)]));}const _0x2e2daf=_0x4b2311[_0x382956(0x10d)]?_0x4b2311[_0x382956(0x10d)]():_0x4b2311[_0x382956(0x18d)];_0x2e2daf&&AutomationFramework[_0x382956(0x13d)](_0xdb25fd['instance'],PuppeteerDriverModule[_0x382956(0x1df)],_0x2e2daf);}catch(_0x534445){this[_0x382956(0x199)][_0x382956(0x1eb)](_0x382956(0x13f)+util['format'](_0x534445));}}}catch(_0x4cd747){this[_0x382956(0x199)][_0x382956(0x16c)](_0x382956(0x1b6)+util[_0x382956(0x149)](_0x4cd747));}}async[a90_0x4bfcc7(0x187)](_0x3605e7){const _0x2706b8=a90_0x4bfcc7,_0x370df2={'BKaBw':function(_0x5c874d,_0x2c886f){return _0x5c874d(_0x2c886f);},'hclvR':'onAfterDriverCreate:\x20Setting\x20page\x20object','VfyYt':_0x2706b8(0x1a3),'VVadL':_0x2706b8(0x123),'gBJYY':_0x2706b8(0x15e),'njaJF':function(_0xd2ac,_0x52c2b3){return _0xd2ac>_0x52c2b3;},'VAwkc':_0x2706b8(0x150),'pBrVZ':_0x2706b8(0x110),'Qazzw':function(_0xb9e121,_0x2ad1a9){return _0xb9e121===_0x2ad1a9;},'CZlGj':_0x2706b8(0x16f)};try{this[_0x2706b8(0x199)]['debug']('onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20'+JSON[_0x2706b8(0x1f4)](_0x3605e7));const _0x416192=_0x3605e7[_0x2706b8(0x19c)];this[_0x2706b8(0x11f)]=_0x370df2['BKaBw'](getFrameworkVersion,FRAMEWORKS[_0x2706b8(0x1b0)]);_0x3605e7['page']&&(this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2[_0x2706b8(0x124)]),AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x177)],_0x3605e7[_0x2706b8(0x122)]),_0x3605e7[_0x2706b8(0x1a0)]?(this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2[_0x2706b8(0x1ba)]),AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x1a2)],_0x3605e7[_0x2706b8(0x1a0)]['id']||''),await this[_0x2706b8(0x11d)](_0x416192,_0x3605e7[_0x2706b8(0x1a0)])):this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2[_0x2706b8(0x15a)]));if(_0x3605e7[_0x2706b8(0x142)]){this['logger'][_0x2706b8(0x1eb)](_0x370df2['gBJYY']),AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x17e)],_0x3605e7['browser']);global[_0x2706b8(0x1f5)]&&_0x370df2[_0x2706b8(0x151)](Object[_0x2706b8(0x198)](global[_0x2706b8(0x1f5)])[_0x2706b8(0x161)],0x0)&&(AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x10a)],global[_0x2706b8(0x1f5)]),this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2['VAwkc']));if(_0x3605e7[_0x2706b8(0x1e0)])AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],_0x3605e7[_0x2706b8(0x1e0)]),this[_0x2706b8(0x199)][_0x2706b8(0x1eb)]('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20'+_0x3605e7[_0x2706b8(0x1e0)]);else{if(global[_0x2706b8(0x12d)])AutomationFramework['setState'](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],global['__bstackSessionId']),this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x2706b8(0x1ed)+global[_0x2706b8(0x12d)]);else try{const _0x25c408=_0x3605e7[_0x2706b8(0x122)]||AutomationFramework[_0x2706b8(0x1a1)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x177)]);if(_0x25c408){const _0x147684=await _0x25c408['evaluate'](_0x1084bb=>{},_0x370df2[_0x2706b8(0x1ea)]);if(_0x147684){const _0x359d40=_0x370df2[_0x2706b8(0x14e)](typeof _0x147684,_0x370df2[_0x2706b8(0x14b)])?JSON[_0x2706b8(0x158)](_0x147684):_0x147684;_0x359d40&&_0x359d40[_0x2706b8(0x182)]&&(AutomationFramework['setState'](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],_0x359d40[_0x2706b8(0x182)]),global['__bstackSessionId']=_0x359d40[_0x2706b8(0x182)],this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x2706b8(0x1dd)+_0x359d40[_0x2706b8(0x182)]));}}}catch(_0x40ae2c){this['logger'][_0x2706b8(0x1eb)](_0x2706b8(0x118)+util[_0x2706b8(0x149)](_0x40ae2c));if(_0x3605e7['browser'][_0x2706b8(0x170)]&&_0x3605e7[_0x2706b8(0x142)][_0x2706b8(0x170)][_0x2706b8(0x1c9)])try{const _0x403c46=_0x3605e7[_0x2706b8(0x142)]['_connection'][_0x2706b8(0x1c9)];AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],_0x403c46),this['logger'][_0x2706b8(0x1eb)](_0x2706b8(0x160)+_0x403c46);}catch(_0x3f4653){this[_0x2706b8(0x199)]['debug'](_0x2706b8(0x191)+util[_0x2706b8(0x149)](_0x3f4653));}}}}}catch(_0x2f72cc){this[_0x2706b8(0x199)][_0x2706b8(0x16c)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x2706b8(0x149)](_0x2f72cc));}}async['onAfterTest'](_0x3e084b){const _0x3d3adf=a90_0x4bfcc7,_0x5c4cbe={'WOJPe':'Automation\x20onAfterTest:\x20Test\x20completed','WNSlj':_0x3d3adf(0x179),'kfkvl':'unknown','NUjjj':_0x3d3adf(0x1a6),'wgIiA':function(_0x3d578a,_0x502305){return _0x3d578a>_0x502305;},'wrZwD':function(_0x10d4fd,_0x472281){return _0x10d4fd===_0x472281;},'XhMeu':_0x3d3adf(0x1d1),'wzhKU':_0x3d3adf(0x1ac),'mObse':_0x3d3adf(0x194),'jiMzK':function(_0x30dbe4,_0x590214){return _0x30dbe4===_0x590214;},'fApqQ':'timedOut','pmcXw':function(_0x2e021e,_0x310b80){return _0x2e021e===_0x310b80;},'PSWVb':'skipped','SRjAd':function(_0x39f132,_0x4ab8a9){return _0x39f132===_0x4ab8a9;},'EkvdJ':'skip','HKVjU':function(_0x9e91fc,_0x3e1873){return _0x9e91fc(_0x3e1873);},'NJuvK':'Puppeteer','wBhSx':function(_0x2aa13f){return _0x2aa13f();},'aRWvI':_0x3d3adf(0x146),'xyYFW':_0x3d3adf(0x1d7),'OPofC':_0x3d3adf(0x195)};this[_0x3d3adf(0x199)]['debug'](_0x5c4cbe[_0x3d3adf(0x159)]);const _0x5cbce5=_0x3e084b[_0x3d3adf(0x19c)];if(!_0x5cbce5){this[_0x3d3adf(0x199)][_0x3d3adf(0x1eb)](_0x5c4cbe['WNSlj']);return;}try{const _0x5a928e=_0x3e084b[_0x3d3adf(0x1a0)],_0x112753=_0x3e084b['test'];let _0xff9a90=_0x3e084b[_0x3d3adf(0x152)],_0xd79759=_0x5c4cbe['kfkvl'],_0x35e92d=_0x5c4cbe['NUjjj'],_0x4c9c37=null;_0x5a928e&&(_0xd79759=_0x5a928e[_0x3d3adf(0x1c1)]||_0x112753?.['result']||_0x5c4cbe[_0x3d3adf(0x1a9)],_0x35e92d=_0x5a928e['name']||_0x5a928e[_0x3d3adf(0x1ab)]||_0x112753?.['name']||_0x112753?.[_0x3d3adf(0x1ab)]||_0x5c4cbe[_0x3d3adf(0x162)],_0x4c9c37=_0x5a928e[_0x3d3adf(0x127)]||_0x5a928e[_0x3d3adf(0x16c)]?.[_0x3d3adf(0x147)]||null,_0x112753?.[_0x3d3adf(0x186)]&&_0x5c4cbe[_0x3d3adf(0x1c3)](_0x112753[_0x3d3adf(0x186)][_0x3d3adf(0x161)],0x0)&&(_0x4c9c37=_0x4c9c37||_0x112753[_0x3d3adf(0x186)][_0x3d3adf(0x188)](_0x1c0cce=>_0x1c0cce[_0x3d3adf(0x147)]||_0x1c0cce)[_0x3d3adf(0x148)]('\x0a')));let _0x3ba13e=null;if(_0x5c4cbe['wrZwD'](_0xd79759,_0x5c4cbe['XhMeu']))_0x3ba13e=_0x5c4cbe[_0x3d3adf(0x121)];else{if(_0x5c4cbe[_0x3d3adf(0x143)](_0xd79759,_0x5c4cbe['wzhKU'])||_0x5c4cbe[_0x3d3adf(0x143)](_0xd79759,_0x5c4cbe[_0x3d3adf(0x166)])||_0x5c4cbe[_0x3d3adf(0x132)](_0xd79759,_0x5c4cbe[_0x3d3adf(0x11a)]))_0x3ba13e=_0x5c4cbe[_0x3d3adf(0x1bb)];else(_0x5c4cbe[_0x3d3adf(0x18c)](_0xd79759,_0x5c4cbe[_0x3d3adf(0x167)])||_0x5c4cbe[_0x3d3adf(0x1e3)](_0xd79759,_0x5c4cbe['EkvdJ']))&&(_0x3ba13e=_0x5c4cbe[_0x3d3adf(0x167)]);}this[_0x3d3adf(0x1a4)]&&_0x5c4cbe[_0x3d3adf(0x143)](this[_0x3d3adf(0x1a4)][_0x3d3adf(0x1dc)],FRAMEWORKS[_0x3d3adf(0x1c0)])?(_0xff9a90=this[_0x3d3adf(0x1d8)]['recreateIdentifierFromTestInfo'](_0x5a928e,_0xff9a90),this[_0x3d3adf(0x199)]['debug']('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0xff9a90)):_0xff9a90=_0x112753?.['id']||_0x112753?.[_0x3d3adf(0x15f)]||process[_0x3d3adf(0x1ca)]+_0x3d3adf(0x125);const _0x543c2b=TestInfo[_0x3d3adf(0x1c7)](_0xff9a90),_0x15cd30=AutomationFramework[_0x3d3adf(0x1a1)](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x12e)])||global['__bstackPlatformIndex'],_0x26d6c6=_0x543c2b?.[TestFrameworkConstants[_0x3d3adf(0x163)]]||this[_0x3d3adf(0x1a4)]&&this[_0x3d3adf(0x1a4)][_0x3d3adf(0x1dc)],_0x3c8f42=_0x543c2b?.[TestFrameworkConstants[_0x3d3adf(0x10c)]]||this['testFrameworkData']&&this[_0x3d3adf(0x1a4)][_0x3d3adf(0x1a7)],_0x6f5c46=TestFrameworkState['TEST'][_0x3d3adf(0x138)]()[_0x3d3adf(0x1e6)]('.')[0x1],_0x414969=HookState[_0x3d3adf(0x1f1)][_0x3d3adf(0x138)]()[_0x3d3adf(0x1e6)]('.')[0x1],_0x1ef670=_0x5cbce5[_0x3d3adf(0x141)](),_0x3b5039=AutomationFramework[_0x3d3adf(0x1a1)](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x1df)],'')||BrowserstackCLI[_0x3d3adf(0x192)]()['getConfig']()?.['hubUrl']||'',_0x51fc2a=AutomationFramework[_0x3d3adf(0x1a1)](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x11e)],'')||global[_0x3d3adf(0x12d)]||'',_0x14adea={'provider':_0x5c4cbe[_0x3d3adf(0x1c5)](getPlaywrightProvider,_0x3b5039),'frameworkName':_0x5c4cbe[_0x3d3adf(0x175)],'frameworkVersion':this['puppeteerVersion']||'','frameworkSessionId':LoadTestModule[_0x3d3adf(0x16a)]()?LoadTestModule[_0x3d3adf(0x117)]():_0x51fc2a,'ref':PuppeteerDriverModule[_0x3d3adf(0x153)]||_0x5cbce5[_0x3d3adf(0x130)](),'hubUrl':_0x3b5039,'product':_0x5c4cbe[_0x3d3adf(0x1c2)](getProductForSession)};let _0x31cf5a=AutomationFramework['getState'](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x10a)],null)||global[_0x3d3adf(0x1f5)]||global[_0x3d3adf(0x1ef)]||{};_0x31cf5a&&_0x5c4cbe[_0x3d3adf(0x1c3)](Object[_0x3d3adf(0x198)](_0x31cf5a)['length'],0x0)?_0x31cf5a=Buffer[_0x3d3adf(0x183)](JSON[_0x3d3adf(0x1f4)](_0x31cf5a))['toString'](_0x5c4cbe[_0x3d3adf(0x1af)]):_0x31cf5a=Buffer[_0x3d3adf(0x183)](JSON[_0x3d3adf(0x1f4)]({}))[_0x3d3adf(0x138)](_0x5c4cbe['aRWvI']);const _0x168ba4={'hash':_0x1ef670[_0x3d3adf(0x1b8)](),'threadId':_0x1ef670[_0x3d3adf(0x171)]()['toString'](),'processId':_0x1ef670['getProcessId']()[_0x3d3adf(0x138)]()},_0x341fb1={};_0x341fb1[_0x3d3adf(0x176)]=_0x15cd30,_0x341fb1[_0x3d3adf(0x16e)]=_0x26d6c6,_0x341fb1[_0x3d3adf(0x133)]=_0x3c8f42,_0x341fb1[_0x3d3adf(0x196)]=_0x6f5c46,_0x341fb1[_0x3d3adf(0x180)]=_0x414969,_0x341fb1[_0x3d3adf(0x13e)]=_0xff9a90,_0x341fb1[_0x3d3adf(0x13b)]=_0x14adea,_0x341fb1[_0x3d3adf(0x19d)]=_0x31cf5a,_0x341fb1[_0x3d3adf(0x15d)]=_0x168ba4;const _0x33011b=_0x341fb1;this[_0x3d3adf(0x199)]['debug'](_0x3d3adf(0x18e)+util[_0x3d3adf(0x149)](_0x33011b)),GrpcClient[_0x3d3adf(0x192)]()[_0x3d3adf(0x189)](_0x33011b),this[_0x3d3adf(0x199)][_0x3d3adf(0x1eb)](_0x3d3adf(0x120)+_0xff9a90);if(!_0x3ba13e){this['logger'][_0x3d3adf(0x1eb)](_0x5c4cbe['xyYFW'],_0xd79759);return;}this[_0x3d3adf(0x199)]['debug'](_0x5c4cbe['OPofC']),_0x5a928e&&await this[_0x3d3adf(0x11d)](_0x5cbce5,_0x5a928e),await this[_0x3d3adf(0x144)](_0x5cbce5,_0x35e92d,_0x3ba13e,_0x4c9c37);}catch(_0x235255){this[_0x3d3adf(0x199)][_0x3d3adf(0x16c)]('Error\x20in\x20onAfterTest:\x20'+util[_0x3d3adf(0x149)](_0x235255));}}async[a90_0x4bfcc7(0x14a)](_0x453567){const _0x4da028=a90_0x4bfcc7,_0x18104f={};_0x18104f['RUQmn']=_0x4da028(0x157),_0x18104f[_0x4da028(0x19b)]=_0x4da028(0x10b),_0x18104f[_0x4da028(0x14c)]=_0x4da028(0x17a);const _0x26e8dc=_0x18104f;try{this[_0x4da028(0x199)]['debug'](_0x26e8dc[_0x4da028(0x129)]);const _0xb050ac=_0x453567[_0x4da028(0x19c)];if(!_0xb050ac){this[_0x4da028(0x199)][_0x4da028(0x1eb)](_0x26e8dc[_0x4da028(0x19b)]);return;}AutomationFramework[_0x4da028(0x13d)](_0xb050ac,PuppeteerDriverModule['KEY_PAGE_OBJECT'],null),AutomationFramework[_0x4da028(0x13d)](_0xb050ac,PuppeteerDriverModule['KEY_BROWSER_OBJECT'],null),this[_0x4da028(0x199)]['debug'](_0x26e8dc[_0x4da028(0x14c)]);}catch(_0x6d437a){this['logger']['error'](_0x4da028(0x131)+util[_0x4da028(0x149)](_0x6d437a));}}async[a90_0x4bfcc7(0x11d)](_0x40fc74,_0x143dc1){const _0x395ac9=a90_0x4bfcc7,_0x16817c={};_0x16817c['GBLis']=_0x395ac9(0x1e4),_0x16817c['VgjyW']=_0x395ac9(0x1da),_0x16817c[_0x395ac9(0x169)]=_0x395ac9(0x1d2);const _0x166a70=_0x16817c;try{if(CLIUtils[_0x395ac9(0x128)](BrowserstackCLI[_0x395ac9(0x192)]()[_0x395ac9(0x134)]())){this[_0x395ac9(0x199)][_0x395ac9(0x1eb)](_0x166a70[_0x395ac9(0x1a5)]);return;}const _0x59251a=AutomationFramework[_0x395ac9(0x1a1)](_0x40fc74,PuppeteerDriverModule[_0x395ac9(0x177)]);if(!_0x59251a){this['logger']['debug'](_0x166a70[_0x395ac9(0x184)]);return;}const _0x3a3a0a=_0x143dc1[_0x395ac9(0x1dc)]||_0x143dc1[_0x395ac9(0x1ab)]||_0x143dc1['fullName'],_0x2d88f3={};_0x2d88f3[_0x395ac9(0x1dc)]=_0x3a3a0a;const _0x4d8636={};_0x4d8636['action']=_0x166a70[_0x395ac9(0x169)],_0x4d8636['arguments']=_0x2d88f3;const _0x4fb9ba=_0x4d8636;PerformanceTester[_0x395ac9(0x165)](PerformanceEvents['SESSION_NAME']),await this[_0x395ac9(0x193)](_0x59251a,_0x4fb9ba),PerformanceTester[_0x395ac9(0x1ae)](PerformanceEvents['SESSION_NAME']);}catch(_0x591364){PerformanceTester['end'](PerformanceEvents[_0x395ac9(0x12c)],![],util[_0x395ac9(0x149)](_0x591364)),this[_0x395ac9(0x199)][_0x395ac9(0x16c)](_0x395ac9(0x1f2)+util['format'](_0x591364));}}async['markSessionStatus'](_0x4f4ca1,_0x1acd13,_0x3eb70f,_0xfb5851){const _0xef0893=a90_0x4bfcc7,_0x51073f={};_0x51073f['TazzZ']=_0xef0893(0x11b),_0x51073f[_0xef0893(0x111)]='markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available',_0x51073f[_0xef0893(0x1b5)]=_0xef0893(0x19a),_0x51073f[_0xef0893(0x1f3)]=_0xef0893(0x1d7),_0x51073f[_0xef0893(0x1cf)]='setSessionStatus',_0x51073f[_0xef0893(0x16d)]='reason',_0x51073f['kuhwF']='markSessionStatus:\x20Marking\x20session\x20status';const _0x31a1c0=_0x51073f;if(CLIUtils[_0xef0893(0x1f0)](BrowserstackCLI[_0xef0893(0x192)]()[_0xef0893(0x134)]())){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x112)]);return;}const _0x39355b=_0x4f4ca1;if(!_0x39355b){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0['zPdws']);return;}const _0x20ca04=AutomationFramework[_0xef0893(0x1a1)](_0x39355b,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(!_0x20ca04){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x1b5)]);return;}if(!_0x3eb70f){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x1f3)],_0x3eb70f);return;}const _0x30e1ef={};_0x30e1ef['status']=_0x3eb70f;const _0x48e4b7={};_0x48e4b7[_0xef0893(0x1c6)]=_0x31a1c0[_0xef0893(0x1cf)],_0x48e4b7[_0xef0893(0x1cb)]=_0x30e1ef;const _0x24a116=_0x48e4b7;_0xfb5851&&(_0x24a116[_0xef0893(0x1cb)][_0x31a1c0[_0xef0893(0x16d)]]=_0xfb5851),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x18f)]),await this[_0xef0893(0x193)](_0x20ca04,_0x24a116),PerformanceTester[_0xef0893(0x1ae)](PerformanceEvents['SESSION_STATUS']);}async[a90_0x4bfcc7(0x193)](_0x1cac8c,_0x5c249e){const _0x593c8d=a90_0x4bfcc7,_0xace88={'NCgdN':function(_0x40b3e9,_0x4601b9,_0x453319){return _0x40b3e9(_0x4601b9,_0x453319);},'XUGAL':function(_0x280319,_0x568b47){return _0x280319(_0x568b47);}};try{const _0x414c6a=0x3a98,_0x3063cf=_0x593c8d(0x1b3)+JSON[_0x593c8d(0x1f4)](_0x5c249e),_0x202f10=_0x1cac8c[_0x593c8d(0x173)](_0x21e903=>{},_0x3063cf);let _0x3e31c6;await Promise[_0x593c8d(0x1e7)]([_0x202f10,new Promise((_0x555fe8,_0x3834bb)=>{const _0xe6c0b7=_0x593c8d;_0x3e31c6=_0xace88[_0xe6c0b7(0x1d6)](setTimeout,()=>_0x3834bb(new Error(_0xe6c0b7(0x1b9)+_0x414c6a+'ms')),_0x414c6a);})])[_0x593c8d(0x17d)](()=>{_0xace88['XUGAL'](clearTimeout,_0x3e31c6);});}catch(_0x4c7e11){this[_0x593c8d(0x199)][_0x593c8d(0x1eb)](_0x593c8d(0x19e)+(_0x4c7e11[_0x593c8d(0x147)]||_0x4c7e11));}}}module['exports']=PuppeteerDriverModule;
@@ -1 +1 @@
1
- const a91_0x3ed4b0=a91_0x5a03;(function(_0x22ff3c,_0x49117b){const _0x179173=a91_0x5a03,_0x448ff6=_0x22ff3c();while(!![]){try{const _0x5c86b1=parseInt(_0x179173(0x12c))/0x1*(parseInt(_0x179173(0x13c))/0x2)+-parseInt(_0x179173(0x136))/0x3*(-parseInt(_0x179173(0xf1))/0x4)+parseInt(_0x179173(0x14b))/0x5*(parseInt(_0x179173(0x139))/0x6)+parseInt(_0x179173(0x126))/0x7+parseInt(_0x179173(0xfa))/0x8+parseInt(_0x179173(0xef))/0x9*(-parseInt(_0x179173(0x146))/0xa)+parseInt(_0x179173(0x132))/0xb*(-parseInt(_0x179173(0x12d))/0xc);if(_0x5c86b1===_0x49117b)break;else _0x448ff6['push'](_0x448ff6['shift']());}catch(_0x355338){_0x448ff6['push'](_0x448ff6['shift']());}}}(a91_0x30ad,0x88d94));const util=require(a91_0x3ed4b0(0x135)),BaseModule=require(a91_0x3ed4b0(0x134)),{createClassLogger}=require(a91_0x3ed4b0(0x114)),AutomationFramework=require(a91_0x3ed4b0(0x152)),AutomationFrameworkState=require(a91_0x3ed4b0(0x133)),HookState=require(a91_0x3ed4b0(0x13a)),TestFramework=require(a91_0x3ed4b0(0x14d)),TestFrameworkState=require(a91_0x3ed4b0(0x128)),PlaywrightDriverModule=require('./playwrightDriverModule.js'),PuppeteerDriverModule=require('./puppeteerDriverModule.js'),TestFrameworkConstants=require(a91_0x3ed4b0(0x147)),GrpcClient=require(a91_0x3ed4b0(0x13f)),CLIUtils=require(a91_0x3ed4b0(0xf7)),TestInfo=require('../TestInfo.js'),testHubConstants=require(a91_0x3ed4b0(0x12e)),{FRAMEWORKS}=require(a91_0x3ed4b0(0x144)),helper=require(a91_0x3ed4b0(0x154)),LoadTestModule=require('./loadTestModule.js'),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a91_0x3ed4b0(0x143)),{getPlaywrightProvider,getProductForSession}=require(a91_0x3ed4b0(0x154));class TestHubModule extends BaseModule{[a91_0x3ed4b0(0x148)]=createClassLogger(a91_0x3ed4b0(0x127));constructor(_0x565811,_0x50fd95=null){const _0x511460=a91_0x3ed4b0,_0x40e715={};_0x40e715[_0x511460(0x131)]=_0x511460(0xec),_0x40e715[_0x511460(0x100)]=_0x511460(0x127);const _0x2457d9=_0x40e715,_0x212da9=_0x2457d9[_0x511460(0x131)][_0x511460(0x11a)]('|');let _0x4cf80a=0x0;while(!![]){switch(_0x212da9[_0x4cf80a++]){case'0':Object[_0x511460(0xf6)](TestFrameworkState)['forEach'](_0x548a2b=>{const _0x3fb4e7=_0x511460;Object[_0x3fb4e7(0xf6)](HookState)[_0x3fb4e7(0xed)](_0x29c254=>{const _0x1c409b=_0x3fb4e7;TestFramework[_0x1c409b(0x145)](_0x548a2b,_0x29c254,this[_0x1c409b(0x123)][_0x1c409b(0xf4)](this));});});continue;case'1':super(_0x50fd95);continue;case'2':BrowserstackCLI[_0x511460(0xf5)]=this[_0x511460(0x120)]['getBuildHashedId']();continue;case'3':process[_0x511460(0x10c)][testHubConstants[_0x511460(0x130)][_0x511460(0x117)]]=this[_0x511460(0x120)][_0x511460(0xf2)]();continue;case'4':AutomationFramework[_0x511460(0x145)](AutomationFrameworkState['CREATE'],HookState[_0x511460(0x10b)],this[_0x511460(0x107)][_0x511460(0xf4)](this));continue;case'5':process[_0x511460(0x10c)][testHubConstants[_0x511460(0x130)][_0x511460(0x10f)]]=this['testhubConfig'][_0x511460(0x110)]();continue;case'6':this[_0x511460(0x120)]=_0x565811;continue;case'7':this[_0x511460(0xe5)]=_0x2457d9[_0x511460(0x100)];continue;case'8':this[_0x511460(0x10a)]=new JestUtils();continue;}break;}}['getModuleName'](){const _0x3ba392=a91_0x3ed4b0;return TestHubModule[_0x3ba392(0xeb)];}[a91_0x3ed4b0(0x123)](_0x19bf49){const _0x13cbeb=a91_0x3ed4b0,_0x2bb8a8={};_0x2bb8a8[_0x13cbeb(0xf0)]=function(_0xfdd780,_0x19f131){return _0xfdd780===_0x19f131;};const _0x2706d1=_0x2bb8a8,_0x5ab43b=_0x19bf49[_0x13cbeb(0x14c)],_0xbe3cda=_0x5ab43b[_0x13cbeb(0x12a)]();(_0x2706d1[_0x13cbeb(0xf0)](_0xbe3cda,TestFrameworkState[_0x13cbeb(0x104)])||CLIUtils[_0x13cbeb(0x11d)](_0xbe3cda[_0x13cbeb(0x129)]()[_0x13cbeb(0x11a)]('.')[0x1]))&&this[_0x13cbeb(0x149)](_0x19bf49);}async['sendTestFrameworkEvent'](_0x234be6){const _0x13d0eb=a91_0x3ed4b0,_0x1b8b68={};_0x1b8b68[_0x13d0eb(0x122)]=function(_0x5ac963,_0x16c9b0){return _0x5ac963===_0x16c9b0;},_0x1b8b68[_0x13d0eb(0x103)]=_0x13d0eb(0xff);const _0x429721=_0x1b8b68;try{const _0x4d0ec7=BrowserstackCLI[_0x13d0eb(0x11f)]()[_0x13d0eb(0x11e)]()[_0x13d0eb(0x11c)](_0x234be6);if(!_0x4d0ec7||_0x429721[_0x13d0eb(0x122)](Object[_0x13d0eb(0x14a)](_0x4d0ec7)[_0x13d0eb(0x10d)],0x0)){this['logger']['debug'](_0x429721[_0x13d0eb(0x103)]);return;}const _0x1a20ec=await GrpcClient[_0x13d0eb(0x11f)]()[_0x13d0eb(0xee)](_0x4d0ec7);this[_0x13d0eb(0x148)][_0x13d0eb(0xf8)](_0x13d0eb(0x102)+_0x4d0ec7['testFrameworkState']+_0x13d0eb(0x113)+_0x4d0ec7[_0x13d0eb(0xfd)]);}catch(_0x28a666){this[_0x13d0eb(0x148)][_0x13d0eb(0x115)](_0x13d0eb(0x138)+util[_0x13d0eb(0x108)](_0x28a666));}}async[a91_0x3ed4b0(0x107)](_0x1b3ae0){const _0x159324=a91_0x3ed4b0,_0x5c1ae9={'nyclh':function(_0x35528f,_0x298bd2){return _0x35528f===_0x298bd2;},'SnLAB':_0x159324(0x13b),'urnyE':function(_0x1199cb,_0x76fd87){return _0x1199cb===_0x76fd87;},'OEBRI':function(_0x5c77df,_0x1d1612){return _0x5c77df===_0x1d1612;},'mPlDn':function(_0x2bdbc2,_0x2e90d2){return _0x2bdbc2(_0x2e90d2);},'uUOeZ':function(_0x3b4ba1){return _0x3b4ba1();},'jVrZR':_0x159324(0x105)};try{if(_0x1b3ae0[_0x159324(0x112)]){const _0x223ca6=this[_0x159324(0xf3)](_0x1b3ae0);this['logger'][_0x159324(0xf8)](_0x159324(0x13e)+_0x223ca6);if(this['testFrameworkData']&&_0x5c1ae9[_0x159324(0xe6)](this[_0x159324(0x124)][_0x159324(0xe5)],FRAMEWORKS[_0x159324(0x118)])&&!_0x1b3ae0['testInfo']){this['logger'][_0x159324(0xf8)](_0x5c1ae9[_0x159324(0x142)]);return;}let _0x5b303b,_0x2615e3;if(this[_0x159324(0x124)]&&_0x5c1ae9[_0x159324(0x106)](this['testFrameworkData']['name'],FRAMEWORKS['CUCUMBER']))_0x5b303b=_0x223ca6,_0x2615e3=TestInfo[_0x159324(0x111)](_0x5b303b);else this[_0x159324(0x124)]&&_0x5c1ae9['OEBRI'](this[_0x159324(0x124)][_0x159324(0xe5)],FRAMEWORKS[_0x159324(0x118)])?(_0x5b303b=this[_0x159324(0x10a)][_0x159324(0x14f)](_0x1b3ae0[_0x159324(0x121)]),this[_0x159324(0x148)]['debug'](_0x159324(0x155)+_0x5b303b)):(_0x5b303b=TestInfo['getTestIdentifierFromTestInfo'](_0x1b3ae0['testInfo'],_0x1b3ae0['testInfo'][_0x159324(0xe7)]),_0x2615e3=TestInfo[_0x159324(0x111)](_0x5b303b));const _0x3c09eb=TestInfo['getTestDetails'](_0x5b303b),_0x15294a=_0x1b3ae0[_0x159324(0x14c)],_0xa7c200=AutomationFramework['getState'](_0x15294a,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||AutomationFramework[_0x159324(0x137)](_0x15294a,PuppeteerDriverModule[_0x159324(0x141)]),_0x49f402=_0x3c09eb?.[TestFrameworkConstants[_0x159324(0x109)]]||this[_0x159324(0x124)]&&this[_0x159324(0x124)]['name'],_0x4eeb2b=_0x3c09eb?.[TestFrameworkConstants[_0x159324(0x10e)]]||this[_0x159324(0x124)]&&this['testFrameworkData'][_0x159324(0x119)],_0x65e827=TestFrameworkState[_0x159324(0x104)][_0x159324(0x129)]()[_0x159324(0x11a)]('.')[0x1],_0xa0195e=HookState[_0x159324(0x10b)][_0x159324(0x129)]()[_0x159324(0x11a)]('.')[0x1],_0x1a76e6=_0x15294a[_0x159324(0x151)](),_0x2a5f79=AutomationFramework[_0x159324(0x137)](_0x15294a,PlaywrightDriverModule[_0x159324(0xe9)],'')||AutomationFramework[_0x159324(0x137)](_0x15294a,PuppeteerDriverModule[_0x159324(0xe9)],''),_0x46caea=LoadTestModule[_0x159324(0xfe)]()?LoadTestModule[_0x159324(0x12f)]():AutomationFramework['getState'](_0x15294a,PlaywrightDriverModule[_0x159324(0x153)],'')||AutomationFramework[_0x159324(0x137)](_0x15294a,PuppeteerDriverModule['KEY_SESSION_ID'],''),_0x13fb3a={'provider':_0x5c1ae9[_0x159324(0xfc)](getPlaywrightProvider,_0x2a5f79),'frameworkName':_0x15294a['frameworkName'],'frameworkVersion':_0x15294a['frameworkVersion'],'frameworkSessionId':_0x46caea,'ref':_0x15294a[_0x159324(0xe4)](),'hubUrl':_0x2a5f79,'product':_0x5c1ae9['uUOeZ'](getProductForSession)},_0x22df80=AutomationFramework['getState'](_0x15294a,PlaywrightDriverModule['KEY_CAPABILITIES'],null)||AutomationFramework[_0x159324(0x137)](_0x15294a,PuppeteerDriverModule[_0x159324(0x140)],null),_0x77e41a=_0x22df80?Buffer[_0x159324(0x12b)](JSON[_0x159324(0xfb)](_0x22df80))[_0x159324(0x129)](_0x5c1ae9['jVrZR']):null,_0x53b49e={'hash':_0x1a76e6[_0x159324(0x116)](),'threadId':_0x1a76e6['getThreadId']()['toString'](),'processId':_0x1a76e6[_0x159324(0xf9)]()[_0x159324(0x129)]()},_0x32f37d={};_0x32f37d[_0x159324(0x150)]=_0x5b303b;const _0xcc0bff={};_0xcc0bff[_0x159324(0x13d)]=_0x2615e3;const _0x473763={'platformIndex':_0xa7c200,'testFrameworkName':_0x49f402,'testFrameworkVersion':_0x4eeb2b,'testFrameworkState':_0x65e827,'testHookState':_0xa0195e,...this[_0x159324(0x124)]&&_0x5c1ae9[_0x159324(0xea)](this[_0x159324(0x124)][_0x159324(0xe5)],FRAMEWORKS[_0x159324(0x118)])?_0x32f37d:_0xcc0bff,'automationSession':_0x13fb3a,'capabilities':_0x77e41a,'executionContext':_0x53b49e};this[_0x159324(0x148)][_0x159324(0xf8)](_0x159324(0x11b)+util[_0x159324(0x108)](_0x473763));const _0x8a549=await GrpcClient[_0x159324(0x11f)]()['testSessionEvent'](_0x473763);this['logger'][_0x159324(0xf8)](_0x159324(0x14e)+_0x223ca6+(this[_0x159324(0x124)]&&_0x5c1ae9[_0x159324(0x106)](this[_0x159324(0x124)][_0x159324(0xe5)],FRAMEWORKS[_0x159324(0x118)])?',\x20test_identifier:\x20'+_0x5b303b:''));}}catch(_0x3e75c2){this[_0x159324(0x148)][_0x159324(0x115)]('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0x159324(0x108)](_0x3e75c2));}}}function a91_0x30ad(){const _0x142eda=['onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','76702nwyKCB','testUuid','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','../grpcClient.js','KEY_CAPABILITIES','KEY_PLATFORM_INDEX','SnLAB','../browserstackCLI.js','../../../helpers/test-observability/constants.js','registerObserver','2590tndswx','../framework/constants/testFrameworkConstants.js','logger','sendTestFrameworkEvent','keys','3605DZofoa','instance','../framework/testFramework.js','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','recreateIdentifierFromTestInfo','test_identifier','getContext','../framework/automationFramework.js','KEY_SESSION_ID','../../../helpers/helper.js','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','getRef','name','nyclh','retry','KEY_TEST_DEFERRED','KEY_HUB_URL','OEBRI','MODULE_NAME','1|7|6|8|4|0|3|5|2','forEach','testFrameworkEvent','11223keGMUk','aCymq','12GASfLU','getJwt','getTestId','bind','O11yHashedID','values','../cliUtils.js','debug','getProcessId','4435512GZzGSE','stringify','mPlDn','hookState','isLTSSession','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','PhAFo','test_deferred','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','LYmzH','TEST','base64','urnyE','onPageCreate','format','KEY_TEST_FRAMEWORK_NAME','jestUtils','POST','env','length','KEY_TEST_FRAMEWORK_VERSION','BROWSERSTACK_TESTHUB_UUID','getBuildHashedId','getTestUUID','page','\x20hookState:\x20','../../../helpers/classLogger.js','error','getId','BROWSERSTACK_TESTHUB_JWT','JEST','version','split','onPageCreate\x20CBTSession\x20payload:\x20','createTestFrameworkEventPayload','matchHookRegex','getTestFramework','getInstance','testhubConfig','testInfo','ZgQyG','onAllTestEvents','testFrameworkData','exports','4557987UcEijg','TestHubModule','../state/testFrameworkState.js','toString','getCurrentTestState','from','5cyrWhj','7116YAnAkB','../../../helpers/testhub/constants','getLTSSessionId','ENV_VAR','xjFHJ','16225LhvzIl','../state/automationFrameworkState.js','./baseModule','util','318306vvBKcZ','getState','Error\x20in\x20sendTestFrameworkEvent:\x20','354jaEctb','../state/hookState.js'];a91_0x30ad=function(){return _0x142eda;};return a91_0x30ad();}function a91_0x5a03(_0x1d145c,_0x7846fa){const _0x30adf8=a91_0x30ad();return a91_0x5a03=function(_0x5a031a,_0xa18c18){_0x5a031a=_0x5a031a-0xe4;let _0x352e25=_0x30adf8[_0x5a031a];return _0x352e25;},a91_0x5a03(_0x1d145c,_0x7846fa);}TestHubModule[a91_0x3ed4b0(0xeb)]=a91_0x3ed4b0(0x127),TestHubModule[a91_0x3ed4b0(0xe8)]=a91_0x3ed4b0(0x101),module[a91_0x3ed4b0(0x125)]=TestHubModule;
1
+ const a91_0x561cbf=a91_0x41d8;(function(_0x2db543,_0x28322b){const _0x33435b=a91_0x41d8,_0x145d36=_0x2db543();while(!![]){try{const _0x4657d4=-parseInt(_0x33435b(0x1f6))/0x1+parseInt(_0x33435b(0x22a))/0x2+-parseInt(_0x33435b(0x1ff))/0x3+-parseInt(_0x33435b(0x1f5))/0x4+-parseInt(_0x33435b(0x238))/0x5*(parseInt(_0x33435b(0x240))/0x6)+parseInt(_0x33435b(0x211))/0x7*(parseInt(_0x33435b(0x1f4))/0x8)+parseInt(_0x33435b(0x202))/0x9;if(_0x4657d4===_0x28322b)break;else _0x145d36['push'](_0x145d36['shift']());}catch(_0x2520a7){_0x145d36['push'](_0x145d36['shift']());}}}(a91_0x2427,0xd9727));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require(a91_0x561cbf(0x205)),AutomationFramework=require(a91_0x561cbf(0x243)),AutomationFrameworkState=require(a91_0x561cbf(0x23d)),HookState=require(a91_0x561cbf(0x215)),TestFramework=require(a91_0x561cbf(0x223)),TestFrameworkState=require('../state/testFrameworkState.js'),PlaywrightDriverModule=require(a91_0x561cbf(0x249)),PuppeteerDriverModule=require(a91_0x561cbf(0x209)),TestFrameworkConstants=require(a91_0x561cbf(0x1fc)),GrpcClient=require('../grpcClient.js'),CLIUtils=require('../cliUtils.js'),TestInfo=require(a91_0x561cbf(0x224)),testHubConstants=require(a91_0x561cbf(0x236)),{FRAMEWORKS}=require(a91_0x561cbf(0x254)),helper=require(a91_0x561cbf(0x252)),LoadTestModule=require(a91_0x561cbf(0x22d)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a91_0x561cbf(0x21c)),{getPlaywrightProvider,getProductForSession}=require(a91_0x561cbf(0x252));class TestHubModule extends BaseModule{[a91_0x561cbf(0x222)]=createClassLogger(a91_0x561cbf(0x1f9));constructor(_0x34f439,_0x1de4d7=null){const _0x197a1c=a91_0x561cbf,_0x79fce1={};_0x79fce1[_0x197a1c(0x206)]=_0x197a1c(0x201),_0x79fce1[_0x197a1c(0x21b)]=_0x197a1c(0x1f9);const _0x414568=_0x79fce1,_0x31d8dc=_0x414568[_0x197a1c(0x206)][_0x197a1c(0x207)]('|');let _0x3b23dc=0x0;while(!![]){switch(_0x31d8dc[_0x3b23dc++]){case'0':BrowserstackCLI[_0x197a1c(0x218)]=this[_0x197a1c(0x233)]['getBuildHashedId']();continue;case'1':super(_0x1de4d7);continue;case'2':process[_0x197a1c(0x23c)][testHubConstants[_0x197a1c(0x1fd)][_0x197a1c(0x216)]]=this['testhubConfig']['getJwt']();continue;case'3':this['name']=_0x414568[_0x197a1c(0x21b)];continue;case'4':Object['values'](TestFrameworkState)[_0x197a1c(0x1ea)](_0xb5c2a4=>{const _0x3e7331=_0x197a1c;Object['values'](HookState)[_0x3e7331(0x1ea)](_0x1d3c8c=>{const _0x118afa=_0x3e7331;TestFramework[_0x118afa(0x1f2)](_0xb5c2a4,_0x1d3c8c,this['onAllTestEvents'][_0x118afa(0x1f0)](this));});});continue;case'5':AutomationFramework[_0x197a1c(0x1f2)](AutomationFrameworkState[_0x197a1c(0x200)],HookState[_0x197a1c(0x21e)],this[_0x197a1c(0x225)][_0x197a1c(0x1f0)](this));continue;case'6':this[_0x197a1c(0x233)]=_0x34f439;continue;case'7':process['env'][testHubConstants[_0x197a1c(0x1fd)]['BROWSERSTACK_TESTHUB_UUID']]=this['testhubConfig']['getBuildHashedId']();continue;case'8':this[_0x197a1c(0x220)]=new JestUtils();continue;}break;}}['getModuleName'](){const _0x2268f7=a91_0x561cbf;return TestHubModule[_0x2268f7(0x1fe)];}[a91_0x561cbf(0x237)](_0x23ff4f){const _0xd74f3a=a91_0x561cbf,_0x18306a={};_0x18306a[_0xd74f3a(0x234)]=function(_0x42f1ab,_0x2f7eb9){return _0x42f1ab===_0x2f7eb9;};const _0x3e65bb=_0x18306a,_0x2ac43d=_0x23ff4f[_0xd74f3a(0x24d)],_0xd47050=_0x2ac43d[_0xd74f3a(0x1eb)]();(_0x3e65bb[_0xd74f3a(0x234)](_0xd47050,TestFrameworkState[_0xd74f3a(0x23b)])||CLIUtils['matchHookRegex'](_0xd47050[_0xd74f3a(0x226)]()[_0xd74f3a(0x207)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x23ff4f);}async[a91_0x561cbf(0x1fa)](_0x5c8655){const _0x5b8b6e=a91_0x561cbf,_0x3c5026={};_0x3c5026['OxXOv']=function(_0x1eddc2,_0x4d4f2c){return _0x1eddc2===_0x4d4f2c;},_0x3c5026[_0x5b8b6e(0x235)]=_0x5b8b6e(0x1ee);const _0xa020c7=_0x3c5026;try{const _0x28da91=BrowserstackCLI[_0x5b8b6e(0x23a)]()['getTestFramework']()[_0x5b8b6e(0x21f)](_0x5c8655);if(!_0x28da91||_0xa020c7['OxXOv'](Object[_0x5b8b6e(0x248)](_0x28da91)[_0x5b8b6e(0x1ef)],0x0)){this[_0x5b8b6e(0x222)][_0x5b8b6e(0x23f)](_0xa020c7[_0x5b8b6e(0x235)]);return;}const _0x22ed27=await GrpcClient[_0x5b8b6e(0x23a)]()['testFrameworkEvent'](_0x28da91);this['logger']['debug'](_0x5b8b6e(0x22f)+_0x28da91[_0x5b8b6e(0x24b)]+_0x5b8b6e(0x24c)+_0x28da91[_0x5b8b6e(0x230)]);}catch(_0x603f15){this['logger'][_0x5b8b6e(0x227)](_0x5b8b6e(0x203)+util[_0x5b8b6e(0x20e)](_0x603f15));}}async[a91_0x561cbf(0x225)](_0x3fef23){const _0x56b59a=a91_0x561cbf,_0x3e8952={'cFwOn':function(_0x3f5f5f,_0x3029d0){return _0x3f5f5f===_0x3029d0;},'hLRQh':_0x56b59a(0x245),'mNcDp':function(_0x827d,_0x508f62){return _0x827d===_0x508f62;},'RZLjR':function(_0x510bd7,_0x430e8b){return _0x510bd7===_0x430e8b;},'rmGNh':function(_0x19268c,_0x455b7b){return _0x19268c(_0x455b7b);},'WPfYt':function(_0x36b62d){return _0x36b62d();},'USofF':'base64'};try{if(_0x3fef23[_0x56b59a(0x1ed)]){const _0x267de6=this['getTestId'](_0x3fef23);this[_0x56b59a(0x222)][_0x56b59a(0x23f)](_0x56b59a(0x247)+_0x267de6);if(this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x217)](this['testFrameworkData']['name'],FRAMEWORKS['JEST'])&&!_0x3fef23[_0x56b59a(0x1f7)]){this['logger'][_0x56b59a(0x23f)](_0x3e8952['hLRQh']);return;}let _0x8b7d4a,_0x34a365;if(this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x1ec)](this[_0x56b59a(0x231)][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x228)]))_0x8b7d4a=_0x267de6,_0x34a365=TestInfo[_0x56b59a(0x212)](_0x8b7d4a);else this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x1f8)](this[_0x56b59a(0x231)][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x1fb)])?(_0x8b7d4a=this[_0x56b59a(0x220)][_0x56b59a(0x213)](_0x3fef23[_0x56b59a(0x1f7)]),this[_0x56b59a(0x222)][_0x56b59a(0x23f)](_0x56b59a(0x21a)+_0x8b7d4a)):(_0x8b7d4a=TestInfo[_0x56b59a(0x241)](_0x3fef23[_0x56b59a(0x1f7)],_0x3fef23[_0x56b59a(0x1f7)][_0x56b59a(0x20b)]),_0x34a365=TestInfo[_0x56b59a(0x212)](_0x8b7d4a));const _0x79d47b=TestInfo[_0x56b59a(0x214)](_0x8b7d4a),_0x3ab7b0=_0x3fef23['instance'],_0x3ed14a=AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x22c)])||AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PuppeteerDriverModule[_0x56b59a(0x22c)]),_0xe423dc=_0x79d47b?.[TestFrameworkConstants[_0x56b59a(0x242)]]||this['testFrameworkData']&&this[_0x56b59a(0x231)][_0x56b59a(0x251)],_0xd8fee9=_0x79d47b?.[TestFrameworkConstants[_0x56b59a(0x21d)]]||this['testFrameworkData']&&this[_0x56b59a(0x231)][_0x56b59a(0x1f1)],_0x315d04=TestFrameworkState[_0x56b59a(0x23b)][_0x56b59a(0x226)]()['split']('.')[0x1],_0x22f02f=HookState[_0x56b59a(0x21e)][_0x56b59a(0x226)]()[_0x56b59a(0x207)]('.')[0x1],_0x376d57=_0x3ab7b0[_0x56b59a(0x229)](),_0x7d1bc1=AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x20c)],'')||AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PuppeteerDriverModule[_0x56b59a(0x20c)],''),_0x27eb62=LoadTestModule['isLTSSession']()?LoadTestModule['getLTSSessionId']():AutomationFramework['getState'](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x1f3)],'')||AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PuppeteerDriverModule['KEY_SESSION_ID'],''),_0x32b13a={'provider':_0x3e8952[_0x56b59a(0x204)](getPlaywrightProvider,_0x7d1bc1),'frameworkName':_0x3ab7b0[_0x56b59a(0x244)],'frameworkVersion':_0x3ab7b0[_0x56b59a(0x20a)],'frameworkSessionId':_0x27eb62,'ref':_0x3ab7b0[_0x56b59a(0x253)](),'hubUrl':_0x7d1bc1,'product':_0x3e8952[_0x56b59a(0x208)](getProductForSession)},_0x1c9dbf=AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x22e)],null)||AutomationFramework['getState'](_0x3ab7b0,PuppeteerDriverModule[_0x56b59a(0x22e)],null),_0x3f46b3=_0x1c9dbf?Buffer[_0x56b59a(0x24f)](JSON[_0x56b59a(0x20f)](_0x1c9dbf))['toString'](_0x3e8952[_0x56b59a(0x232)]):null,_0x51c569={'hash':_0x376d57['getId'](),'threadId':_0x376d57[_0x56b59a(0x22b)]()[_0x56b59a(0x226)](),'processId':_0x376d57[_0x56b59a(0x1e9)]()['toString']()},_0x254cda={};_0x254cda[_0x56b59a(0x24a)]=_0x8b7d4a;const _0x2d2e9b={};_0x2d2e9b[_0x56b59a(0x23e)]=_0x34a365;const _0xaf8b9f={'platformIndex':_0x3ed14a,'testFrameworkName':_0xe423dc,'testFrameworkVersion':_0xd8fee9,'testFrameworkState':_0x315d04,'testHookState':_0x22f02f,...this[_0x56b59a(0x231)]&&_0x3e8952['RZLjR'](this[_0x56b59a(0x231)][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x1fb)])?_0x254cda:_0x2d2e9b,'automationSession':_0x32b13a,'capabilities':_0x3f46b3,'executionContext':_0x51c569};this[_0x56b59a(0x222)][_0x56b59a(0x23f)](_0x56b59a(0x246)+util[_0x56b59a(0x20e)](_0xaf8b9f));const _0xf363d=await GrpcClient['getInstance']()[_0x56b59a(0x24e)](_0xaf8b9f);this['logger'][_0x56b59a(0x23f)](_0x56b59a(0x210)+_0x267de6+(this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x1ec)](this['testFrameworkData'][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x1fb)])?_0x56b59a(0x219)+_0x8b7d4a:''));}}catch(_0x452796){this[_0x56b59a(0x222)][_0x56b59a(0x227)]('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0x56b59a(0x20e)](_0x452796));}}}function a91_0x41d8(_0x4c8959,_0x518074){const _0x24273e=a91_0x2427();return a91_0x41d8=function(_0x41d8bc,_0x4bba01){_0x41d8bc=_0x41d8bc-0x1e9;let _0x39a805=_0x24273e[_0x41d8bc];return _0x39a805;},a91_0x41d8(_0x4c8959,_0x518074);}TestHubModule['MODULE_NAME']=a91_0x561cbf(0x1f9),TestHubModule[a91_0x561cbf(0x221)]=a91_0x561cbf(0x250),module[a91_0x561cbf(0x239)]=TestHubModule;function a91_0x2427(){const _0x447807=['onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','LPvcD','../browserstackCLI.js','KEY_TEST_FRAMEWORK_VERSION','POST','createTestFrameworkEventPayload','jestUtils','KEY_TEST_DEFERRED','logger','../framework/testFramework.js','../TestInfo.js','onPageCreate','toString','error','CUCUMBER','getContext','2900320Rckggc','getThreadId','KEY_PLATFORM_INDEX','./loadTestModule.js','KEY_CAPABILITIES','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','hookState','testFrameworkData','USofF','testhubConfig','LdNSq','aCFNO','../../../helpers/testhub/constants','onAllTestEvents','192130RmGXPZ','exports','getInstance','TEST','env','../state/automationFrameworkState.js','testUuid','debug','24RKbIdw','getTestIdentifierFromTestInfo','KEY_TEST_FRAMEWORK_NAME','../framework/automationFramework.js','frameworkName','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','onPageCreate\x20CBTSession\x20payload:\x20','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','keys','./playwrightDriverModule.js','test_identifier','testFrameworkState','\x20hookState:\x20','instance','testSessionEvent','from','test_deferred','name','../../../helpers/helper.js','getRef','../../../helpers/test-observability/constants.js','getProcessId','forEach','getCurrentTestState','mNcDp','page','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','length','bind','version','registerObserver','KEY_SESSION_ID','8019688BuzgRy','1267088ZKkTAV','795871iZbxae','testInfo','RZLjR','TestHubModule','sendTestFrameworkEvent','JEST','../framework/constants/testFrameworkConstants.js','ENV_VAR','MODULE_NAME','1839642RWqnQz','CREATE','1|3|6|8|5|4|2|7|0','2858427hnHOyH','Error\x20in\x20sendTestFrameworkEvent:\x20','rmGNh','../../../helpers/classLogger.js','KZJHz','split','WPfYt','./puppeteerDriverModule.js','frameworkVersion','retry','KEY_HUB_URL','getState','format','stringify','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','7ezkxze','getTestUUID','recreateIdentifierFromTestInfo','getTestDetails','../state/hookState.js','BROWSERSTACK_TESTHUB_JWT','cFwOn','O11yHashedID',',\x20test_identifier:\x20'];a91_0x2427=function(){return _0x447807;};return a91_0x2427();}
@@ -1 +1 @@
1
- function a92_0xee8f(){const _0x45bdc8=['AutomationFrameworkState.PLAYWRIGHT_DISPATCH','value','422152OGblyV','AutomationFrameworkState.CREATE','uBaEj','freeze','20bacpYj','exports','10gchsiy','PEmRl','4324122WqTyST','tVdHk','64HkHBKK','479511KRYGmo','PpBgh','mSrTM','1776774WKTlDv','AutomationFrameworkState.IDLE','310765zCCWAn','AutomationFrameworkState.EXECUTE','4659150KIRism','toString','17926128WFpDcU','find','PLOsA','AutomationFrameworkState.NONE','AutomationFrameworkState.QUIT','1Raluzl','values'];a92_0xee8f=function(){return _0x45bdc8;};return a92_0xee8f();}const a92_0x4b5c91=a92_0x3e35;(function(_0x26511b,_0x2381aa){const _0x4fb3a9=a92_0x3e35,_0x554a6e=_0x26511b();while(!![]){try{const _0x55985e=parseInt(_0x4fb3a9(0x1a9))/0x1*(parseInt(_0x4fb3a9(0x1bb))/0x2)+parseInt(_0x4fb3a9(0x1bf))/0x3+-parseInt(_0x4fb3a9(0x1ad))/0x4*(-parseInt(_0x4fb3a9(0x1b1))/0x5)+-parseInt(_0x4fb3a9(0x1b5))/0x6+-parseInt(_0x4fb3a9(0x1bd))/0x7*(-parseInt(_0x4fb3a9(0x1b7))/0x8)+parseInt(_0x4fb3a9(0x1b8))/0x9*(-parseInt(_0x4fb3a9(0x1b3))/0xa)+-parseInt(_0x4fb3a9(0x1c1))/0xb;if(_0x55985e===_0x2381aa)break;else _0x554a6e['push'](_0x554a6e['shift']());}catch(_0x310f90){_0x554a6e['push'](_0x554a6e['shift']());}}}(a92_0xee8f,0xc701f));const {PLAYWRIGHT}=require('../../utils/constants'),a92_0x5a759a={};a92_0x5a759a[a92_0x4b5c91(0x1ac)]=0x0,a92_0x5a759a['toString']=function(){const _0x3b9818=a92_0x4b5c91,_0xbe6ecc={};_0xbe6ecc['uBaEj']=_0x3b9818(0x1a7);const _0x56cc0c=_0xbe6ecc;return _0x56cc0c[_0x3b9818(0x1af)];};const a92_0x3001a1={};a92_0x3001a1[a92_0x4b5c91(0x1ac)]=0x1,a92_0x3001a1[a92_0x4b5c91(0x1c0)]=function(){const _0x54b674=a92_0x4b5c91,_0x2282cd={};_0x2282cd[_0x54b674(0x1b4)]=_0x54b674(0x1ae);const _0x17fa9=_0x2282cd;return _0x17fa9[_0x54b674(0x1b4)];};const a92_0x9f6baf={};a92_0x9f6baf[a92_0x4b5c91(0x1ac)]=0x2,a92_0x9f6baf[a92_0x4b5c91(0x1c0)]=function(){const _0x1c85a8=a92_0x4b5c91,_0x694b5e={};_0x694b5e[_0x1c85a8(0x1b6)]=_0x1c85a8(0x1ab);const _0x2c8657=_0x694b5e;return _0x2c8657['tVdHk'];};const a92_0x94d3dc={};a92_0x94d3dc[a92_0x4b5c91(0x1ac)]=0x3,a92_0x94d3dc[a92_0x4b5c91(0x1c0)]=function(){const _0x33779c=a92_0x4b5c91,_0x17df20={};_0x17df20[_0x33779c(0x1ba)]=_0x33779c(0x1be);const _0x29c77b=_0x17df20;return _0x29c77b[_0x33779c(0x1ba)];};const a92_0xf34d7c={};a92_0xf34d7c['value']=0x4,a92_0xf34d7c[a92_0x4b5c91(0x1c0)]=function(){const _0x1cb42e=a92_0x4b5c91,_0x43eca1={};_0x43eca1['PpBgh']=_0x1cb42e(0x1bc);const _0x26c097=_0x43eca1;return _0x26c097[_0x1cb42e(0x1b9)];};const a92_0x2d3762={};a92_0x2d3762[a92_0x4b5c91(0x1ac)]=0x5,a92_0x2d3762['toString']=function(){const _0xf2fcba=a92_0x4b5c91,_0x662e73={};_0x662e73['PLOsA']=_0xf2fcba(0x1a8);const _0xc45d83=_0x662e73;return _0xc45d83[_0xf2fcba(0x1c3)];};const AutomationFrameworkState=Object[a92_0x4b5c91(0x1b0)]({'NONE':a92_0x5a759a,'CREATE':a92_0x3001a1,'PLAYWRIGHT_DISPATCH':a92_0x9f6baf,'EXECUTE':a92_0x94d3dc,'IDLE':a92_0xf34d7c,'QUIT':a92_0x2d3762,'fromValue'(_0x358468){const _0x42956c=a92_0x4b5c91;return Object[_0x42956c(0x1aa)](AutomationFrameworkState)[_0x42956c(0x1c2)](_0x4adea8=>_0x4adea8[_0x42956c(0x1ac)]===_0x358468);}});function a92_0x3e35(_0x431b84,_0x3cc28f){const _0xee8f01=a92_0xee8f();return a92_0x3e35=function(_0x3e35f3,_0x1afa57){_0x3e35f3=_0x3e35f3-0x1a7;let _0x40f592=_0xee8f01[_0x3e35f3];return _0x40f592;},a92_0x3e35(_0x431b84,_0x3cc28f);}module[a92_0x4b5c91(0x1b2)]=AutomationFrameworkState;
1
+ const a92_0x283668=a92_0x2c23;(function(_0x5a7d0d,_0x1da308){const _0x551ae6=a92_0x2c23,_0x2c98d4=_0x5a7d0d();while(!![]){try{const _0x17c7e7=parseInt(_0x551ae6(0xc6))/0x1*(parseInt(_0x551ae6(0xd0))/0x2)+-parseInt(_0x551ae6(0xcd))/0x3+-parseInt(_0x551ae6(0xd6))/0x4*(parseInt(_0x551ae6(0xd9))/0x5)+parseInt(_0x551ae6(0xd1))/0x6*(-parseInt(_0x551ae6(0xce))/0x7)+-parseInt(_0x551ae6(0xdf))/0x8+-parseInt(_0x551ae6(0xd7))/0x9+parseInt(_0x551ae6(0xc8))/0xa*(parseInt(_0x551ae6(0xcc))/0xb);if(_0x17c7e7===_0x1da308)break;else _0x2c98d4['push'](_0x2c98d4['shift']());}catch(_0x506a42){_0x2c98d4['push'](_0x2c98d4['shift']());}}}(a92_0x219d,0x95561));const {PLAYWRIGHT}=require(a92_0x283668(0xd3)),a92_0x2897b7={};a92_0x2897b7[a92_0x283668(0xc5)]=0x0,a92_0x2897b7['toString']=function(){const _0x25d494=a92_0x283668,_0x5a0a7f={};_0x5a0a7f['WUwEI']=_0x25d494(0xe0);const _0x354a08=_0x5a0a7f;return _0x354a08[_0x25d494(0xc9)];};const a92_0x2c9dd3={};function a92_0x2c23(_0x327058,_0x2cea0b){const _0x219dc3=a92_0x219d();return a92_0x2c23=function(_0x2c234f,_0xb27a3f){_0x2c234f=_0x2c234f-0xc5;let _0x193fde=_0x219dc3[_0x2c234f];return _0x193fde;},a92_0x2c23(_0x327058,_0x2cea0b);}a92_0x2c9dd3[a92_0x283668(0xc5)]=0x1,a92_0x2c9dd3[a92_0x283668(0xd5)]=function(){const _0x5cc072=a92_0x283668,_0x39e49b={};_0x39e49b[_0x5cc072(0xdd)]=_0x5cc072(0xdc);const _0xf901fe=_0x39e49b;return _0xf901fe[_0x5cc072(0xdd)];};const a92_0x514dca={};a92_0x514dca[a92_0x283668(0xc5)]=0x2,a92_0x514dca[a92_0x283668(0xd5)]=function(){const _0x4fca62=a92_0x283668,_0x53347a={};_0x53347a[_0x4fca62(0xd8)]=_0x4fca62(0xcf);const _0x5d4be2=_0x53347a;return _0x5d4be2[_0x4fca62(0xd8)];};const a92_0x51b08d={};a92_0x51b08d[a92_0x283668(0xc5)]=0x3,a92_0x51b08d['toString']=function(){const _0x54fc75=a92_0x283668,_0x27959b={};_0x27959b[_0x54fc75(0xe1)]=_0x54fc75(0xe2);const _0x407d42=_0x27959b;return _0x407d42['OmNlt'];};const a92_0x52664a={};a92_0x52664a[a92_0x283668(0xc5)]=0x4,a92_0x52664a[a92_0x283668(0xd5)]=function(){const _0x299599=a92_0x283668,_0x9f452b={};_0x9f452b[_0x299599(0xda)]=_0x299599(0xde);const _0x449857=_0x9f452b;return _0x449857['SbgMO'];};const a92_0x514056={};a92_0x514056['value']=0x5,a92_0x514056['toString']=function(){const _0x30efb7=a92_0x283668,_0x43d090={};_0x43d090[_0x30efb7(0xd4)]=_0x30efb7(0xdb);const _0x2981c9=_0x43d090;return _0x2981c9[_0x30efb7(0xd4)];};function a92_0x219d(){const _0x2d9dd4=['SbgMO','AutomationFrameworkState.QUIT','AutomationFrameworkState.CREATE','fekob','AutomationFrameworkState.IDLE','1194456pxMSiG','AutomationFrameworkState.NONE','OmNlt','AutomationFrameworkState.EXECUTE','value','89652YClpwd','find','6950rHgwwi','WUwEI','values','exports','47245SXNHye','2336037YZTZdI','2025233dPZSoc','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','24feCXjW','24AzPwUp','freeze','../../utils/constants','AlZYA','toString','81688rDLwKZ','4188042UBKTXp','vHLhF','220hICLsj'];a92_0x219d=function(){return _0x2d9dd4;};return a92_0x219d();}const AutomationFrameworkState=Object[a92_0x283668(0xd2)]({'NONE':a92_0x2897b7,'CREATE':a92_0x2c9dd3,'PLAYWRIGHT_DISPATCH':a92_0x514dca,'EXECUTE':a92_0x51b08d,'IDLE':a92_0x52664a,'QUIT':a92_0x514056,'fromValue'(_0x438145){const _0x23ab7d=a92_0x283668;return Object[_0x23ab7d(0xca)](AutomationFrameworkState)[_0x23ab7d(0xc7)](_0x376b03=>_0x376b03[_0x23ab7d(0xc5)]===_0x438145);}});module[a92_0x283668(0xcb)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- function a93_0x3fa8(_0x162b3f,_0x427058){const _0x20cefc=a93_0x20ce();return a93_0x3fa8=function(_0x3fa864,_0x2c80d0){_0x3fa864=_0x3fa864-0xb8;let _0x1d1afa=_0x20cefc[_0x3fa864];return _0x1d1afa;},a93_0x3fa8(_0x162b3f,_0x427058);}const a93_0x447189=a93_0x3fa8;(function(_0x30af17,_0x106db6){const _0x2bd915=a93_0x3fa8,_0x2c20b7=_0x30af17();while(!![]){try{const _0x4fc4d7=parseInt(_0x2bd915(0xc1))/0x1+parseInt(_0x2bd915(0xbf))/0x2+parseInt(_0x2bd915(0xc2))/0x3*(-parseInt(_0x2bd915(0xc3))/0x4)+parseInt(_0x2bd915(0xca))/0x5*(parseInt(_0x2bd915(0xcb))/0x6)+parseInt(_0x2bd915(0xbe))/0x7*(-parseInt(_0x2bd915(0xc8))/0x8)+parseInt(_0x2bd915(0xcc))/0x9*(parseInt(_0x2bd915(0xc4))/0xa)+-parseInt(_0x2bd915(0xb9))/0xb*(parseInt(_0x2bd915(0xc5))/0xc);if(_0x4fc4d7===_0x106db6)break;else _0x2c20b7['push'](_0x2c20b7['shift']());}catch(_0x1c9969){_0x2c20b7['push'](_0x2c20b7['shift']());}}}(a93_0x20ce,0x6bc93));const a93_0x3f8f6f={};a93_0x3f8f6f[a93_0x447189(0xc7)]=0x0,a93_0x3f8f6f['toString']=function(){const _0xabb8ab=a93_0x447189,_0x5b63ab={};_0x5b63ab[_0xabb8ab(0xba)]=_0xabb8ab(0xc6);const _0x27a054=_0x5b63ab;return _0x27a054['mBgmI'];};const a93_0x432965={};a93_0x432965[a93_0x447189(0xc7)]=0x1,a93_0x432965[a93_0x447189(0xc9)]=function(){const _0x20f6e6=a93_0x447189,_0x4ef195={};_0x4ef195[_0x20f6e6(0xbb)]='HookState.PRE';const _0x818de=_0x4ef195;return _0x818de['qGjOo'];};const a93_0x2e23dd={};a93_0x2e23dd['value']=0x2,a93_0x2e23dd[a93_0x447189(0xc9)]=function(){const _0x490631=a93_0x447189,_0x56f255={};_0x56f255[_0x490631(0xb8)]=_0x490631(0xc0);const _0x2b1e29=_0x56f255;return _0x2b1e29['qrHFA'];};const HookState=Object['freeze']({'NONE':a93_0x3f8f6f,'PRE':a93_0x432965,'POST':a93_0x2e23dd,'fromValue'(_0x457a25){const _0x3f16f2=a93_0x447189;return Object[_0x3f16f2(0xbc)](HookState)[_0x3f16f2(0xbd)](_0x259b78=>_0x259b78['value']===_0x457a25);}});function a93_0x20ce(){const _0x23b10f=['60lbcHnV','103568nleGlM','2868490tGXIqG','84KPVyZr','HookState.NONE','value','6104XhaIon','toString','832055mvjuGi','12qtPXMB','27yfYHoO','qrHFA','834922kqwbCL','mBgmI','qGjOo','values','find','1393roRKCq','451552bgHPPS','HookState.POST','223337kBgBkY'];a93_0x20ce=function(){return _0x23b10f;};return a93_0x20ce();}module['exports']=HookState;
1
+ const a93_0x2ada23=a93_0x1c1b;(function(_0xf8e27e,_0x2be06d){const _0x40dc5c=a93_0x1c1b,_0x22b019=_0xf8e27e();while(!![]){try{const _0x3a476a=-parseInt(_0x40dc5c(0xe7))/0x1*(parseInt(_0x40dc5c(0xef))/0x2)+parseInt(_0x40dc5c(0xe6))/0x3+-parseInt(_0x40dc5c(0xe2))/0x4+parseInt(_0x40dc5c(0xe1))/0x5+parseInt(_0x40dc5c(0xe4))/0x6+parseInt(_0x40dc5c(0xee))/0x7*(-parseInt(_0x40dc5c(0xea))/0x8)+parseInt(_0x40dc5c(0xec))/0x9*(parseInt(_0x40dc5c(0xe3))/0xa);if(_0x3a476a===_0x2be06d)break;else _0x22b019['push'](_0x22b019['shift']());}catch(_0x5d4d93){_0x22b019['push'](_0x22b019['shift']());}}}(a93_0x59ee,0x3a37a));function a93_0x59ee(){const _0x2e0928=['HookState.PRE','find','value','QXqbj','freeze','1181285sACzVR','980344UWofEH','1492820IPoTCy','2227614sutEHh','uoNNr','340596KAaSzM','311NnemPK','GUoca','HookState.NONE','16geGFIY','toString','9HAPigE','values','689801vVNCgI','1220higjgd'];a93_0x59ee=function(){return _0x2e0928;};return a93_0x59ee();}const a93_0xae8ae5={};a93_0xae8ae5[a93_0x2ada23(0xf2)]=0x0,a93_0xae8ae5['toString']=function(){const _0x296f9f=a93_0x2ada23,_0x3894c1={};_0x3894c1['uoNNr']=_0x296f9f(0xe9);const _0x1abb4a=_0x3894c1;return _0x1abb4a[_0x296f9f(0xe5)];};const a93_0x52f093={};a93_0x52f093[a93_0x2ada23(0xf2)]=0x1,a93_0x52f093[a93_0x2ada23(0xeb)]=function(){const _0x3a1670=a93_0x2ada23,_0x3f27ef={};_0x3f27ef[_0x3a1670(0xf3)]=_0x3a1670(0xf0);const _0x3a767c=_0x3f27ef;return _0x3a767c['QXqbj'];};function a93_0x1c1b(_0x25baa8,_0x375674){const _0x59ee06=a93_0x59ee();return a93_0x1c1b=function(_0x1c1b85,_0x2425ca){_0x1c1b85=_0x1c1b85-0xe1;let _0x4efd1a=_0x59ee06[_0x1c1b85];return _0x4efd1a;},a93_0x1c1b(_0x25baa8,_0x375674);}const a93_0x4611d4={};a93_0x4611d4[a93_0x2ada23(0xf2)]=0x2,a93_0x4611d4[a93_0x2ada23(0xeb)]=function(){const _0x4663f6=a93_0x2ada23,_0x28a9e2={};_0x28a9e2[_0x4663f6(0xe8)]='HookState.POST';const _0x2e38f3=_0x28a9e2;return _0x2e38f3[_0x4663f6(0xe8)];};const HookState=Object[a93_0x2ada23(0xf4)]({'NONE':a93_0xae8ae5,'PRE':a93_0x52f093,'POST':a93_0x4611d4,'fromValue'(_0x43c520){const _0x56b617=a93_0x2ada23;return Object[_0x56b617(0xed)](HookState)[_0x56b617(0xf1)](_0x1ac438=>_0x1ac438[_0x56b617(0xf2)]===_0x43c520);}});module['exports']=HookState;
@@ -1 +1 @@
1
- function a94_0x4129(_0x112c6c,_0x3b2a5e){const _0x5e2890=a94_0x5e28();return a94_0x4129=function(_0x412997,_0x43fbfa){_0x412997=_0x412997-0x175;let _0x211393=_0x5e2890[_0x412997];return _0x211393;},a94_0x4129(_0x112c6c,_0x3b2a5e);}const a94_0x3bf6a1=a94_0x4129;(function(_0xdbb460,_0x4f37ec){const _0x5e383d=a94_0x4129,_0x2b917b=_0xdbb460();while(!![]){try{const _0x271600=parseInt(_0x5e383d(0x18c))/0x1*(-parseInt(_0x5e383d(0x17d))/0x2)+parseInt(_0x5e383d(0x193))/0x3*(-parseInt(_0x5e383d(0x180))/0x4)+parseInt(_0x5e383d(0x197))/0x5+parseInt(_0x5e383d(0x191))/0x6+-parseInt(_0x5e383d(0x179))/0x7*(-parseInt(_0x5e383d(0x188))/0x8)+parseInt(_0x5e383d(0x194))/0x9*(parseInt(_0x5e383d(0x176))/0xa)+-parseInt(_0x5e383d(0x175))/0xb*(-parseInt(_0x5e383d(0x178))/0xc);if(_0x271600===_0x4f37ec)break;else _0x2b917b['push'](_0x2b917b['shift']());}catch(_0x3a6ac7){_0x2b917b['push'](_0x2b917b['shift']());}}}(a94_0x5e28,0x781ae));const a94_0x4fa46c={};a94_0x4fa46c[a94_0x3bf6a1(0x177)]=0x0,a94_0x4fa46c['toString']=function(){const _0x312a74=a94_0x3bf6a1,_0x304fe0={};_0x304fe0[_0x312a74(0x184)]=_0x312a74(0x17a);const _0x26fd3e=_0x304fe0;return _0x26fd3e[_0x312a74(0x184)];};const a94_0x5f3d0c={};a94_0x5f3d0c[a94_0x3bf6a1(0x177)]=0x1,a94_0x5f3d0c['toString']=function(){const _0x29ffc1=a94_0x3bf6a1,_0x2c9ff3={};_0x2c9ff3['bsIMi']=_0x29ffc1(0x18e);const _0x1c9e9a=_0x2c9ff3;return _0x1c9e9a['bsIMi'];};const a94_0x522c2f={};a94_0x522c2f[a94_0x3bf6a1(0x177)]=0x2,a94_0x522c2f[a94_0x3bf6a1(0x17c)]=function(){const _0x269b19=a94_0x3bf6a1,_0x54b4d0={};_0x54b4d0[_0x269b19(0x192)]='TestFrameworkState.LOG';const _0x193113=_0x54b4d0;return _0x193113['ytvUO'];};const a94_0x4a0abd={};a94_0x4a0abd[a94_0x3bf6a1(0x177)]=0x3,a94_0x4a0abd[a94_0x3bf6a1(0x17c)]=function(){const _0x3c7157=a94_0x3bf6a1,_0x3a1978={};_0x3a1978['vylcG']=_0x3c7157(0x187);const _0xf3576f=_0x3a1978;return _0xf3576f[_0x3c7157(0x199)];};const a94_0x3ff918={};a94_0x3ff918[a94_0x3bf6a1(0x177)]=0x4,a94_0x3ff918[a94_0x3bf6a1(0x17c)]=function(){const _0x45ecbe=a94_0x3bf6a1,_0x55b17c={};_0x55b17c[_0x45ecbe(0x18d)]=_0x45ecbe(0x198);const _0x27fc5d=_0x55b17c;return _0x27fc5d[_0x45ecbe(0x18d)];};const a94_0xcdda0c={};a94_0xcdda0c[a94_0x3bf6a1(0x177)]=0x5,a94_0xcdda0c['toString']=function(){const _0x49a78b={};_0x49a78b['WVQnI']='TestFrameworkState.BEFORE_EACH';const _0x5bb06d=_0x49a78b;return _0x5bb06d['WVQnI'];};const a94_0x1da10c={};a94_0x1da10c['value']=0x6,a94_0x1da10c[a94_0x3bf6a1(0x17c)]=function(){const _0x3de308=a94_0x3bf6a1,_0x79d048={};_0x79d048[_0x3de308(0x185)]=_0x3de308(0x17f);const _0x274a8e=_0x79d048;return _0x274a8e[_0x3de308(0x185)];};const a94_0x3f4832={};a94_0x3f4832[a94_0x3bf6a1(0x177)]=0x7,a94_0x3f4832['toString']=function(){const _0x24da5e=a94_0x3bf6a1,_0x30f4cf={};_0x30f4cf[_0x24da5e(0x190)]=_0x24da5e(0x182);const _0x49e9fe=_0x30f4cf;return _0x49e9fe[_0x24da5e(0x190)];};const a94_0x560348={};a94_0x560348[a94_0x3bf6a1(0x177)]=0x8,a94_0x560348[a94_0x3bf6a1(0x17c)]=function(){const _0x31e8b8=a94_0x3bf6a1,_0x3ff45b={};_0x3ff45b['uddBH']=_0x31e8b8(0x18b);const _0x2e8857=_0x3ff45b;return _0x2e8857[_0x31e8b8(0x17b)];};const a94_0x56b1bf={};a94_0x56b1bf[a94_0x3bf6a1(0x177)]=0x9,a94_0x56b1bf[a94_0x3bf6a1(0x17c)]=function(){const _0x412420=a94_0x3bf6a1,_0x4ff30b={};_0x4ff30b[_0x412420(0x186)]=_0x412420(0x183);const _0x4f1d43=_0x4ff30b;return _0x4f1d43[_0x412420(0x186)];};const a94_0x5e78a9={};a94_0x5e78a9[a94_0x3bf6a1(0x177)]=0xa,a94_0x5e78a9['toString']=function(){const _0x4c8fee=a94_0x3bf6a1,_0x183e03={};_0x183e03[_0x4c8fee(0x195)]=_0x4c8fee(0x181);const _0x1efb60=_0x183e03;return _0x1efb60[_0x4c8fee(0x195)];};const a94_0x5bc01b={};a94_0x5bc01b[a94_0x3bf6a1(0x177)]=0xb,a94_0x5bc01b[a94_0x3bf6a1(0x17c)]=function(){const _0x46eb3a=a94_0x3bf6a1,_0x1203bb={};_0x1203bb[_0x46eb3a(0x18a)]=_0x46eb3a(0x189);const _0x662dc7=_0x1203bb;return _0x662dc7[_0x46eb3a(0x18a)];};function a94_0x5e28(){const _0x3a0e22=['TestFrameworkState.INIT_TEST','vylcG','55ikZFqp','10twMcDh','value','1204932FeickA','5873833GPIqln','TestFrameworkState.NONE','uddBH','toString','69970eLggSw','freeze','TestFrameworkState.AFTER_EACH','4dReBQW','TestFrameworkState.AFTER_ALL','TestFrameworkState.TEST','TestFrameworkState.LOG_REPORT','HgjdW','szlGd','SvVVP','TestFrameworkState.SETUP_FIXTURE','8gEcDyS','TestFrameworkState.TEST_SCREENSHOT','bUDlU','TestFrameworkState.STEP','25RERvED','BQRcM','TestFrameworkState.BEFORE_ALL','exports','yYmAP','1751526SmaLFz','ytvUO','2051889hYfnRf','311319xWbWpn','XZlbC','values','1914260tBSJbp'];a94_0x5e28=function(){return _0x3a0e22;};return a94_0x5e28();}const TestFrameworkState=Object[a94_0x3bf6a1(0x17e)]({'NONE':a94_0x4fa46c,'BEFORE_ALL':a94_0x5f3d0c,'LOG':a94_0x522c2f,'SETUP_FIXTURE':a94_0x4a0abd,'INIT_TEST':a94_0x3ff918,'BEFORE_EACH':a94_0xcdda0c,'AFTER_EACH':a94_0x1da10c,'TEST':a94_0x3f4832,'STEP':a94_0x560348,'LOG_REPORT':a94_0x56b1bf,'AFTER_ALL':a94_0x5e78a9,'TEST_SCREENSHOT':a94_0x5bc01b,'fromValue'(_0x540309){const _0x5234b7=a94_0x3bf6a1;return Object[_0x5234b7(0x196)](TestFrameworkState)['find'](_0x306c21=>_0x306c21[_0x5234b7(0x177)]===_0x540309);}});module[a94_0x3bf6a1(0x18f)]=TestFrameworkState;
1
+ const a94_0x4aceba=a94_0x2a87;(function(_0x5a8f45,_0x54427b){const _0x3e7494=a94_0x2a87,_0x288bef=_0x5a8f45();while(!![]){try{const _0x4f2097=-parseInt(_0x3e7494(0x19e))/0x1+parseInt(_0x3e7494(0x1b1))/0x2+parseInt(_0x3e7494(0x1a8))/0x3+parseInt(_0x3e7494(0x1a9))/0x4*(parseInt(_0x3e7494(0x1a5))/0x5)+-parseInt(_0x3e7494(0x1aa))/0x6+parseInt(_0x3e7494(0x1af))/0x7+-parseInt(_0x3e7494(0x1a1))/0x8;if(_0x4f2097===_0x54427b)break;else _0x288bef['push'](_0x288bef['shift']());}catch(_0x54a15a){_0x288bef['push'](_0x288bef['shift']());}}}(a94_0x2a4d,0x37089));const a94_0x1877fa={};a94_0x1877fa[a94_0x4aceba(0x1b7)]=0x0,a94_0x1877fa[a94_0x4aceba(0x1b6)]=function(){const _0x44681d=a94_0x4aceba,_0x322038={};_0x322038[_0x44681d(0x1a0)]=_0x44681d(0x1a3);const _0xb6ab10=_0x322038;return _0xb6ab10[_0x44681d(0x1a0)];};const a94_0x23e6c6={};a94_0x23e6c6[a94_0x4aceba(0x1b7)]=0x1,a94_0x23e6c6[a94_0x4aceba(0x1b6)]=function(){const _0x4a512e=a94_0x4aceba,_0x11e8e3={};_0x11e8e3[_0x4a512e(0x1ae)]=_0x4a512e(0x1a4);const _0xc1282c=_0x11e8e3;return _0xc1282c[_0x4a512e(0x1ae)];};function a94_0x2a87(_0x5eba92,_0x77b52b){const _0x2a4da2=a94_0x2a4d();return a94_0x2a87=function(_0x2a874b,_0x21d2d8){_0x2a874b=_0x2a874b-0x19d;let _0x5e7365=_0x2a4da2[_0x2a874b];return _0x5e7365;},a94_0x2a87(_0x5eba92,_0x77b52b);}const a94_0x1bbd19={};a94_0x1bbd19[a94_0x4aceba(0x1b7)]=0x2,a94_0x1bbd19[a94_0x4aceba(0x1b6)]=function(){const _0x176113=a94_0x4aceba,_0x38e212={};_0x38e212[_0x176113(0x19f)]=_0x176113(0x1b8);const _0x602444=_0x38e212;return _0x602444[_0x176113(0x19f)];};const a94_0xfeaceb={};a94_0xfeaceb[a94_0x4aceba(0x1b7)]=0x3,a94_0xfeaceb[a94_0x4aceba(0x1b6)]=function(){const _0x3f222e=a94_0x4aceba,_0x1bac1a={};_0x1bac1a[_0x3f222e(0x1bf)]='TestFrameworkState.SETUP_FIXTURE';const _0x51a585=_0x1bac1a;return _0x51a585[_0x3f222e(0x1bf)];};const a94_0x89bac={};a94_0x89bac['value']=0x4,a94_0x89bac[a94_0x4aceba(0x1b6)]=function(){const _0x4f4a16=a94_0x4aceba,_0x291a22={};_0x291a22['BJRsH']=_0x4f4a16(0x1b5);const _0x4426b0=_0x291a22;return _0x4426b0[_0x4f4a16(0x1b2)];};const a94_0x2f1ed4={};a94_0x2f1ed4[a94_0x4aceba(0x1b7)]=0x5,a94_0x2f1ed4[a94_0x4aceba(0x1b6)]=function(){const _0x23d634=a94_0x4aceba,_0x339415={};_0x339415[_0x23d634(0x1a7)]=_0x23d634(0x1b9);const _0x21e858=_0x339415;return _0x21e858[_0x23d634(0x1a7)];};const a94_0x5d660f={};a94_0x5d660f[a94_0x4aceba(0x1b7)]=0x6,a94_0x5d660f[a94_0x4aceba(0x1b6)]=function(){const _0x354dc8=a94_0x4aceba,_0x277132={};_0x277132[_0x354dc8(0x1b3)]=_0x354dc8(0x1ba);const _0x3f6a12=_0x277132;return _0x3f6a12['xeiFg'];};function a94_0x2a4d(){const _0x52a51d=['383023gOcbeb','Qsuug','HcUwp','1109584oyIkPj','TestFrameworkState.TEST_SCREENSHOT','TestFrameworkState.NONE','TestFrameworkState.BEFORE_ALL','149355moAYsG','TestFrameworkState.STEP','BArGO','363294xAZCBr','28YHqqFy','2108988zXhcxi','gAuUn','ImuoN','exports','yUVuA','2365699QKRhcr','TestFrameworkState.AFTER_ALL','860968LfidAO','BJRsH','xeiFg','find','TestFrameworkState.INIT_TEST','toString','value','TestFrameworkState.LOG','TestFrameworkState.BEFORE_EACH','TestFrameworkState.AFTER_EACH','TestFrameworkState.TEST','freeze','sMaoo','EWLzw','btkvK','values'];a94_0x2a4d=function(){return _0x52a51d;};return a94_0x2a4d();}const a94_0x3c8ebe={};a94_0x3c8ebe['value']=0x7,a94_0x3c8ebe[a94_0x4aceba(0x1b6)]=function(){const _0x188b19=a94_0x4aceba,_0x181977={};_0x181977[_0x188b19(0x1be)]=_0x188b19(0x1bb);const _0x3b27b1=_0x181977;return _0x3b27b1[_0x188b19(0x1be)];};const a94_0x2e807b={};a94_0x2e807b[a94_0x4aceba(0x1b7)]=0x8,a94_0x2e807b['toString']=function(){const _0x5de7df=a94_0x4aceba,_0x55ebf1={};_0x55ebf1['nHhfS']=_0x5de7df(0x1a6);const _0x49563c=_0x55ebf1;return _0x49563c['nHhfS'];};const a94_0x2f8e03={};a94_0x2f8e03[a94_0x4aceba(0x1b7)]=0x9,a94_0x2f8e03[a94_0x4aceba(0x1b6)]=function(){const _0x22ffed=a94_0x4aceba,_0x169bd1={};_0x169bd1[_0x22ffed(0x1ac)]='TestFrameworkState.LOG_REPORT';const _0x4123f0=_0x169bd1;return _0x4123f0['ImuoN'];};const a94_0x36c739={};a94_0x36c739[a94_0x4aceba(0x1b7)]=0xa,a94_0x36c739['toString']=function(){const _0x4aef5f=a94_0x4aceba,_0x575c13={};_0x575c13[_0x4aef5f(0x1bd)]=_0x4aef5f(0x1b0);const _0x82f5b=_0x575c13;return _0x82f5b[_0x4aef5f(0x1bd)];};const a94_0x4251c7={};a94_0x4251c7[a94_0x4aceba(0x1b7)]=0xb,a94_0x4251c7['toString']=function(){const _0x2d7325=a94_0x4aceba,_0x1f740f={};_0x1f740f[_0x2d7325(0x1ab)]=_0x2d7325(0x1a2);const _0x5a716e=_0x1f740f;return _0x5a716e[_0x2d7325(0x1ab)];};const TestFrameworkState=Object[a94_0x4aceba(0x1bc)]({'NONE':a94_0x1877fa,'BEFORE_ALL':a94_0x23e6c6,'LOG':a94_0x1bbd19,'SETUP_FIXTURE':a94_0xfeaceb,'INIT_TEST':a94_0x89bac,'BEFORE_EACH':a94_0x2f1ed4,'AFTER_EACH':a94_0x5d660f,'TEST':a94_0x3c8ebe,'STEP':a94_0x2e807b,'LOG_REPORT':a94_0x2f8e03,'AFTER_ALL':a94_0x36c739,'TEST_SCREENSHOT':a94_0x4251c7,'fromValue'(_0x4fb037){const _0x15b6f1=a94_0x4aceba;return Object[_0x15b6f1(0x19d)](TestFrameworkState)[_0x15b6f1(0x1b4)](_0x5ebd74=>_0x5ebd74[_0x15b6f1(0x1b7)]===_0x4fb037);}});module[a94_0x4aceba(0x1ad)]=TestFrameworkState;
@@ -1 +1 @@
1
- const a95_0x2784f5=a95_0x37a5;(function(_0x21394f,_0x4fca50){const _0x4ed94d=a95_0x37a5,_0x50f0ba=_0x21394f();while(!![]){try{const _0x1ce685=-parseInt(_0x4ed94d(0x136))/0x1+parseInt(_0x4ed94d(0x177))/0x2+-parseInt(_0x4ed94d(0x163))/0x3+parseInt(_0x4ed94d(0x127))/0x4+parseInt(_0x4ed94d(0x19f))/0x5+parseInt(_0x4ed94d(0x17b))/0x6+-parseInt(_0x4ed94d(0x143))/0x7;if(_0x1ce685===_0x4fca50)break;else _0x50f0ba['push'](_0x50f0ba['shift']());}catch(_0x4bb315){_0x50f0ba['push'](_0x50f0ba['shift']());}}}(a95_0x290e,0x2a06a));const os=require('os'),fs=require('fs'),path=require(a95_0x2784f5(0x154)),util=require(a95_0x2784f5(0x13a)),BrowserstackCLI=require('./browserstackCLI'),https=require(a95_0x2784f5(0x152)),http=require('http'),AutomationFramework=require(a95_0x2784f5(0x151)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a95_0x2784f5(0x1a5)),{createClassLogger}=require(a95_0x2784f5(0x166));function a95_0x37a5(_0x5435ae,_0x28e509){const _0x290e56=a95_0x290e();return a95_0x37a5=function(_0x37a5ea,_0xc3836b){_0x37a5ea=_0x37a5ea-0x124;let _0x296cbd=_0x290e56[_0x37a5ea];return _0x296cbd;},a95_0x37a5(_0x5435ae,_0x28e509);}class uploadAttachmentsManager{static ['logger']=createClassLogger(a95_0x2784f5(0x13c));static[a95_0x2784f5(0x138)](_0xf7cfcd,_0x52f877=![]){const _0x229aba=a95_0x2784f5,_0x3d64b4={};_0x3d64b4[_0x229aba(0x170)]=function(_0x30c06f,_0x48b96b){return _0x30c06f/_0x48b96b;},_0x3d64b4[_0x229aba(0x1a2)]=function(_0x4dcd65,_0x1a7c06){return _0x4dcd65*_0x1a7c06;},_0x3d64b4[_0x229aba(0x172)]=function(_0x3dc3b9,_0x5c94f0){return _0x3dc3b9>_0x5c94f0;},_0x3d64b4[_0x229aba(0x128)]=_0x229aba(0x197),_0x3d64b4['BcZWT']=_0x229aba(0x12b),_0x3d64b4[_0x229aba(0x156)]=function(_0x16281b,_0x1e2c6a){return _0x16281b===_0x1e2c6a;},_0x3d64b4[_0x229aba(0x19a)]=_0x229aba(0x19b),_0x3d64b4[_0x229aba(0x16f)]=_0x229aba(0x15e),_0x3d64b4[_0x229aba(0x148)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0x3d64b4[_0x229aba(0x14f)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x3d64b4[_0x229aba(0x135)]='.browserstack',_0x3d64b4[_0x229aba(0x181)]=_0x229aba(0x1a1),_0x3d64b4[_0x229aba(0x16d)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x3d64b4[_0x229aba(0x167)]=_0x229aba(0x182),_0x3d64b4['SNdlg']=function(_0x120e6f,_0x549046){return _0x120e6f===_0x549046;},_0x3d64b4[_0x229aba(0x1a0)]=_0x229aba(0x178),_0x3d64b4[_0x229aba(0x157)]=_0x229aba(0x133),_0x3d64b4['KQvml']=_0x229aba(0x149),_0x3d64b4[_0x229aba(0x15f)]=_0x229aba(0x180),_0x3d64b4['hgzqm']=_0x229aba(0x194),_0x3d64b4[_0x229aba(0x18c)]=function(_0x813f8e,_0x18dc3b){return _0x813f8e/_0x18dc3b;},_0x3d64b4[_0x229aba(0x162)]=function(_0x5c6614,_0x1bf445){return _0x5c6614*_0x1bf445;},_0x3d64b4[_0x229aba(0x17d)]=_0x229aba(0x18a);const _0x565af4=_0x3d64b4;this[_0x229aba(0x179)][_0x229aba(0x164)](util[_0x229aba(0x131)](_0x565af4[_0x229aba(0x14f)],_0xf7cfcd));const _0x3c55fe=os[_0x229aba(0x126)](),_0x53c2b2=path[_0x229aba(0x189)](_0x3c55fe,_0x565af4[_0x229aba(0x135)]);!fs['existsSync'](_0x53c2b2)&&(this[_0x229aba(0x179)][_0x229aba(0x164)](util[_0x229aba(0x131)](_0x565af4['ulSGS'],_0x53c2b2)),fs[_0x229aba(0x12d)](_0x53c2b2),this[_0x229aba(0x179)]['debug'](util['format'](_0x565af4[_0x229aba(0x16d)],_0x53c2b2)));const _0x5dec03=BrowserstackCLI[_0x229aba(0x15c)]()['modules'][_0x229aba(0x13e)]?.[_0x229aba(0x188)]?.[_0x229aba(0x186)]()?.[_0x229aba(0x1a3)],_0x2988f7=path[_0x229aba(0x189)](_0x53c2b2,_0x5dec03);!fs[_0x229aba(0x146)](_0x2988f7)&&(fs[_0x229aba(0x12d)](_0x2988f7),this[_0x229aba(0x179)]['debug'](util['format'](_0x565af4['Sxehr'],_0x2988f7)));if(_0x565af4['SNdlg'](_0xf7cfcd[_0x229aba(0x17e)](),'')){this[_0x229aba(0x179)][_0x229aba(0x164)](util[_0x229aba(0x131)](_0x565af4['OkyHd']));return;}if(_0xf7cfcd['startsWith'](_0x565af4[_0x229aba(0x157)])||_0xf7cfcd['startsWith'](_0x565af4[_0x229aba(0x1a6)])){const _0x4c709a=_0xf7cfcd[_0x229aba(0x185)](_0x565af4['ByfOK'])?https:http,_0x1fe6dd=path[_0x229aba(0x168)](_0xf7cfcd),_0x5ec93a=path[_0x229aba(0x189)](_0x2988f7,_0x1fe6dd),_0xb26c4=fs[_0x229aba(0x141)](_0x5ec93a);_0x4c709a[_0x229aba(0x13d)](_0xf7cfcd,_0x4ab990=>{const _0x1badaa=_0x229aba;if(_0x565af4[_0x1badaa(0x156)](_0x4ab990[_0x1badaa(0x165)],0xc8))_0x4ab990[_0x1badaa(0x1a8)](_0xb26c4),_0xb26c4['on'](_0x565af4[_0x1badaa(0x19a)],()=>{const _0x3c01ad=_0x1badaa;_0xb26c4[_0x3c01ad(0x199)]();const _0xdcd11f=fs['statSync'](_0x5ec93a),_0x3919d9=_0x565af4[_0x3c01ad(0x170)](_0xdcd11f['size'],_0x565af4['mMyBf'](0x400,0x400));if(_0x565af4[_0x3c01ad(0x172)](_0x3919d9,0x64)){this[_0x3c01ad(0x179)][_0x3c01ad(0x164)](util['format'](_0x565af4['kZqtH'],_0x3919d9['toFixed'](0x2))),fs[_0x3c01ad(0x14c)](_0x5ec93a);return;}this['logger'][_0x3c01ad(0x164)](util[_0x3c01ad(0x131)](_0x565af4[_0x3c01ad(0x150)],_0x5ec93a)),uploadAttachmentsManager[_0x3c01ad(0x12a)](_0x5ec93a,_0x52f877);});else{this[_0x1badaa(0x179)]['debug'](util[_0x1badaa(0x131)](_0x565af4[_0x1badaa(0x16f)],_0x4ab990[_0x1badaa(0x165)])),_0xb26c4[_0x1badaa(0x199)](),fs[_0x1badaa(0x14c)](_0x5ec93a);return;}})['on'](_0x565af4[_0x229aba(0x15f)],_0x4bcf32=>{const _0x277944=_0x229aba;this[_0x277944(0x179)]['debug'](util[_0x277944(0x131)](_0x565af4[_0x277944(0x148)],_0x4bcf32['message'])),_0xb26c4[_0x277944(0x199)](),fs['unlinkSync'](_0x5ec93a);return;});}else{if(!fs[_0x229aba(0x146)](_0xf7cfcd)){this[_0x229aba(0x179)][_0x229aba(0x164)](util[_0x229aba(0x131)](_0x565af4[_0x229aba(0x153)],_0xf7cfcd));return;}const _0x2a2510=fs[_0x229aba(0x19c)](_0xf7cfcd),_0x303f11=_0x565af4[_0x229aba(0x18c)](_0x2a2510['size'],_0x565af4[_0x229aba(0x162)](0x400,0x400));if(_0x565af4[_0x229aba(0x172)](_0x303f11,0x64)){this['logger'][_0x229aba(0x164)](util['format'](_0x565af4[_0x229aba(0x17d)],_0x303f11[_0x229aba(0x17f)](0x2)));return;}const _0x3dcc71=path[_0x229aba(0x168)](_0xf7cfcd),_0x5a540e=path[_0x229aba(0x189)](_0x2988f7,_0x3dcc71);fs[_0x229aba(0x16c)](_0xf7cfcd,_0x5a540e),uploadAttachmentsManager['trackFile'](_0x5a540e,_0x52f877);}}static[a95_0x2784f5(0x12a)](_0x22db3e,_0x503a1e){const _0x13f835=a95_0x2784f5,_0x35e366={'XuvfV':function(_0x4de827,_0x4bf768){return _0x4de827(_0x4bf768);},'gaoNh':_0x13f835(0x176),'ifacu':_0x13f835(0x174),'PoOQN':function(_0x4913e1,_0x422edd){return _0x4913e1===_0x422edd;},'sjoEF':_0x13f835(0x161),'awrKl':_0x13f835(0x190),'NEubZ':_0x13f835(0x16e),'DFpWe':_0x13f835(0x15a),'QYXSS':_0x13f835(0x159),'zJeCP':function(_0x4b4f0f,_0x1d3805){return _0x4b4f0f(_0x1d3805);},'ffJQT':_0x13f835(0x14d),'ZxFxL':_0x13f835(0x19d),'YIpEA':_0x13f835(0x17a),'pIQbJ':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','trPOB':_0x13f835(0x13b)};try{let _0x155e7a;const _0xce202c=global[_0x13f835(0x198)]?.[_0x13f835(0x15b)]?.[_0x13f835(0x134)],_0x2eb5c2=_0x35e366[_0x13f835(0x144)](require,_0x35e366[_0x13f835(0x160)]),_0xa7c8d6=_0x35e366['XuvfV'](require,_0x35e366['ifacu']),_0xfc965=_0x2eb5c2[_0x13f835(0x15c)]()['isRunning']()&&_0x35e366[_0x13f835(0x14a)](_0xa7c8d6['getTestFrameworkDetail']()?.[_0x13f835(0x147)]?.[_0x13f835(0x184)](),_0x35e366['sjoEF']);if(_0xfc965){_0x155e7a=global['__jestCurrentTestIdentifier'];if(!_0x155e7a){const _0x19fb6f=AutomationFramework['getTrackedInstance']();_0x155e7a=AutomationFramework['getState'](_0x19fb6f,PlaywrightDriverModule[_0x13f835(0x16a)],'');}this['logger'][_0x13f835(0x164)]('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x155e7a);}else{if(!_0xce202c){const _0x82f577=AutomationFramework[_0x13f835(0x129)]();_0x155e7a=AutomationFramework[_0x13f835(0x145)](_0x82f577,PlaywrightDriverModule[_0x13f835(0x16a)],'');}else _0x155e7a=TestInfo[_0x13f835(0x139)](_0xce202c,_0xce202c[_0x13f835(0x1a7)]);this[_0x13f835(0x179)][_0x13f835(0x164)]('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x155e7a);}if(!_0x155e7a){this[_0x13f835(0x179)][_0x13f835(0x164)](_0x35e366['awrKl']);return;}const _0x2e39f2={[TestFrameworkConstants[_0x13f835(0x13f)]]:fs[_0x13f835(0x19c)](_0x22db3e)[_0x13f835(0x191)],[TestFrameworkConstants[_0x13f835(0x142)]]:path[_0x13f835(0x168)](_0x22db3e),[TestFrameworkConstants[_0x13f835(0x12e)]]:_0x22db3e,[TestFrameworkConstants[_0x13f835(0x196)]]:_0x503a1e?_0x35e366[_0x13f835(0x12c)]:_0x35e366[_0x13f835(0x171)]};if(_0xfc965){const _0x4a7788=_0x2eb5c2['getInstance']()[_0x13f835(0x12f)]();if(!_0x4a7788){this[_0x13f835(0x179)]['debug'](_0x35e366[_0x13f835(0x19e)]);return;}const _0x4bd98d=_0x35e366['zJeCP'](require,_0x35e366[_0x13f835(0x173)]),_0x3f04c2=_0x35e366[_0x13f835(0x144)](require,_0x35e366[_0x13f835(0x155)]),_0x5eaec0=_0x4a7788[_0x13f835(0x169)](_0x4bd98d[_0x13f835(0x18b)],_0x3f04c2[_0x13f835(0x14b)]);if(!_0x5eaec0){this[_0x13f835(0x179)][_0x13f835(0x164)](_0x35e366[_0x13f835(0x195)]);return;}const _0x14094c=_0x5eaec0[_0x13f835(0x18d)]()['get'](_0x155e7a)||{},_0x3f99ef=_0x14094c[TestFrameworkConstants[_0x13f835(0x17c)]]||{},_0x113239={..._0x3f99ef};_0x113239[_0x22db3e]=_0x2e39f2;const _0x128012=_0x113239,_0x536942={[TestFrameworkConstants[_0x13f835(0x17c)]]:_0x128012},_0xb7ee97={};_0xb7ee97[_0x155e7a]=_0x536942,_0x5eaec0[_0x13f835(0x18e)](_0xb7ee97),this[_0x13f835(0x179)][_0x13f835(0x164)](_0x13f835(0x15d)+_0x155e7a+_0x13f835(0x18f)+_0x22db3e);}else{const _0x146b35=TestInfo[_0x13f835(0x187)](_0x155e7a),_0x17bbcb=_0x146b35[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x17bbcb[_0x22db3e]=_0x2e39f2,_0x146b35[TestFrameworkConstants[_0x13f835(0x17c)]]=_0x17bbcb,TestInfo[_0x13f835(0x175)](_0x155e7a,_0x146b35),this['logger'][_0x13f835(0x164)](_0x13f835(0x158)+_0x155e7a+_0x13f835(0x18f)+_0x22db3e);}this[_0x13f835(0x179)][_0x13f835(0x164)](util[_0x13f835(0x131)](_0x35e366[_0x13f835(0x192)],_0x22db3e));}catch(_0x1fcc44){this[_0x13f835(0x179)][_0x13f835(0x164)](util[_0x13f835(0x131)](_0x35e366[_0x13f835(0x14e)],_0x1fcc44['message']));}}static[a95_0x2784f5(0x125)](){const _0x18be77=a95_0x2784f5,_0x1d9561={};_0x1d9561[_0x18be77(0x132)]=_0x18be77(0x1a4),_0x1d9561['xfUPU']=_0x18be77(0x16b),_0x1d9561[_0x18be77(0x183)]=_0x18be77(0x193);const _0x4731a4=_0x1d9561,_0x361d6d=os[_0x18be77(0x126)](),_0x264875=path[_0x18be77(0x189)](_0x361d6d,_0x4731a4[_0x18be77(0x132)]);if(!fs['existsSync'](_0x264875))return;const _0x3c8f09=BrowserstackCLI[_0x18be77(0x15c)]()['modules']['TestHubModule']?.['testhubConfig']?.['toObject']()?.['buildHashedId'],_0x5554ed=_0x3c8f09?path[_0x18be77(0x189)](_0x264875,_0x3c8f09):null;if(!_0x5554ed||!fs[_0x18be77(0x146)](_0x5554ed)){this[_0x18be77(0x179)][_0x18be77(0x164)](util[_0x18be77(0x131)](_0x4731a4[_0x18be77(0x130)],_0x3c8f09));return;}const _0x3ddfc0={};_0x3ddfc0[_0x18be77(0x140)]=!![],_0x3ddfc0['force']=!![],fs[_0x18be77(0x137)](_0x5554ed,_0x3ddfc0),this[_0x18be77(0x179)][_0x18be77(0x164)](util[_0x18be77(0x131)](_0x4731a4[_0x18be77(0x183)]));}}function a95_0x290e(){const _0x638409=['getTestFramework','xfUPU','format','fPEZK','https://','testInfo','QZqfZ','81696WBEgbI','rmSync','uploadAttachments','getTestIdentifierFromTestInfo','util','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','uploadAttachmentsManager','get','TestHubModule','KEY_FILE_SIZE','recursive','createWriteStream','KEY_FILE_NAME','845887igJtan','XuvfV','getState','existsSync','name','iLgEq','http://','PoOQN','POST','unlinkSync','./state/testFrameworkState','trPOB','EvtyW','BcZWT','./framework/automationFramework','https','hgzqm','path','ZxFxL','OEvbQ','ByfOK','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','TestLevel','currentTest','getInstance','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','bSjEG','gaoNh','jest','uSOYb','453438fVcDpS','debug','statusCode','../../helpers/classLogger.js','Sxehr','basename','resolveInstance','KEY_TEST_ID','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','copyFileSync','oIqaY','BuildLevel','QLFQq','tVSnZ','DFpWe','hDxsr','ffJQT','./cliUtils','setTestDetails','./browserstackCLI','248246AHIAJk','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','logger','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','24090azLpAa','KEY_TEST_ATTACHMENTS','xhSqO','trim','toFixed','error','ulSGS','Created\x20folder:\x20%s','zQDDF','toLowerCase','startsWith','toObject','getTestDetails','testhubConfig','join','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','TEST','Bgbhd','getAllData','addMultipleEntries',',\x20filepath:\x20','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','size','pIQbJ','Cleared\x20attachment\x20folder','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','YIpEA','KEY_FILE_LEVEL','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','__workerDetails','close','nGdxs','finish','statSync','./state/hookState','QYXSS','1462295xssUQZ','OkyHd','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','mMyBf','buildHashedId','.browserstack','./framework/constants/testFrameworkConstants','KQvml','retry','pipe','exports','clearAttachments','homedir','420896DsAEhq','kZqtH','getTrackedInstance','trackFile','File\x20downloaded\x20to:\x20%s','NEubZ','mkdirSync','KEY_FILE_PATH'];a95_0x290e=function(){return _0x638409;};return a95_0x290e();}module[a95_0x2784f5(0x124)]=uploadAttachmentsManager;
1
+ const a95_0x3af381=a95_0x4bf9;(function(_0x408418,_0x40cfad){const _0x3d72e5=a95_0x4bf9,_0x26e8dc=_0x408418();while(!![]){try{const _0x590591=parseInt(_0x3d72e5(0x204))/0x1+-parseInt(_0x3d72e5(0x187))/0x2*(parseInt(_0x3d72e5(0x1a8))/0x3)+-parseInt(_0x3d72e5(0x1f2))/0x4+-parseInt(_0x3d72e5(0x1b4))/0x5*(-parseInt(_0x3d72e5(0x1d8))/0x6)+-parseInt(_0x3d72e5(0x1ed))/0x7*(parseInt(_0x3d72e5(0x1e9))/0x8)+-parseInt(_0x3d72e5(0x1e6))/0x9+parseInt(_0x3d72e5(0x196))/0xa;if(_0x590591===_0x40cfad)break;else _0x26e8dc['push'](_0x26e8dc['shift']());}catch(_0x307bf4){_0x26e8dc['push'](_0x26e8dc['shift']());}}}(a95_0x559d,0x20369));function a95_0x4bf9(_0x3b7bd6,_0x499ab8){const _0x559d9b=a95_0x559d();return a95_0x4bf9=function(_0x4bf926,_0xd72aad){_0x4bf926=_0x4bf926-0x185;let _0x28a3f1=_0x559d9b[_0x4bf926];return _0x28a3f1;},a95_0x4bf9(_0x3b7bd6,_0x499ab8);}function a95_0x559d(){const _0x479770=['buildHashedId','CartF','zxsES','YHoKJ','./browserstackCLI','KBfBW','lzxqq','jest','https://','http://','TestHubModule','BKDtx','__workerDetails','RbMfJ','oIkjV','MGKxk','Created\x20.browserstack\x20folder\x20at:\x20%s','statSync','name','Cleared\x20attachment\x20folder','Eeneb','uploadAttachments','TEST','wAOjg','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','toFixed','get','../../helpers/classLogger.js','KEY_TEST_ATTACHMENTS','6uIMooa','TrYDf','oVywN','path','setTestDetails','__jestCurrentTestIdentifier','gVepN','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','FOtDc','getAllData','pipe','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','unlinkSync','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','2086524GpYxqk','addMultipleEntries','./state/testFrameworkState','27448fjruKN','hogRL','KEY_FILE_PATH','exvSF','259rawijz','trim','ETgyb','finish','xxJEj','287820igcQRZ','getTestFrameworkDetail','isRunning','testhubConfig','qhFgo','debug','GGnox','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','modules','createWriteStream','startsWith','uKFOh','getState','xKXLF','retry','toObject','trackFile','TQoDS','137230DRWSvq','getInstance','homedir','JJevk','copyFileSync','JWUES','fdBsO','inQct','KEY_FILE_NAME','202YwyxHo','uploadAttachmentsManager','resolveInstance','kIqVB','./TestInfo','force','format','statusCode','currentTest','close','EPIqX','getTestDetails','KEY_FILE_SIZE','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','util','4047770GpkxDS','join','EzHwd','.browserstack','https','Created\x20folder:\x20%s','clearAttachments','VfNRO','wzyFB','getTestIdentifierFromTestInfo','IbpnT','NUpZY','existsSync','getTestFramework','basename',',\x20filepath:\x20','getTrackedInstance','HiClO','7089UonvrO','exports','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','Attachment\x20recevied\x20for\x20path:\x20%s','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','alOGf','TestLevel','JGpTW','size','logger','message','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','1296695vWNCeQ','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','POST','KEY_TEST_ID','vryit','./cliUtils','BuildLevel'];a95_0x559d=function(){return _0x479770;};return a95_0x559d();}const os=require('os'),fs=require('fs'),path=require(a95_0x3af381(0x1db)),util=require(a95_0x3af381(0x195)),BrowserstackCLI=require(a95_0x3af381(0x1bf)),https=require(a95_0x3af381(0x19a)),http=require('http'),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a95_0x3af381(0x18b)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a95_0x3af381(0x1d6));class uploadAttachmentsManager{static [a95_0x3af381(0x1b1)]=createClassLogger(a95_0x3af381(0x188));static[a95_0x3af381(0x1d0)](_0x1b21e1,_0x319c63=![]){const _0x399e4b=a95_0x3af381,_0x38ecfc={};_0x38ecfc['ETgyb']=function(_0x3d6002,_0x4c225f){return _0x3d6002/_0x4c225f;},_0x38ecfc['uKFOh']=function(_0x5819c7,_0x2eadf3){return _0x5819c7*_0x2eadf3;},_0x38ecfc['keWIM']=function(_0x25987b,_0x1c452e){return _0x25987b>_0x1c452e;},_0x38ecfc[_0x399e4b(0x1cf)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x38ecfc[_0x399e4b(0x1d9)]='File\x20downloaded\x20to:\x20%s',_0x38ecfc[_0x399e4b(0x1ea)]=function(_0x140ae6,_0x51c0dd){return _0x140ae6===_0x51c0dd;},_0x38ecfc[_0x399e4b(0x1be)]=_0x399e4b(0x1f0),_0x38ecfc[_0x399e4b(0x1bc)]=_0x399e4b(0x1e5),_0x38ecfc[_0x399e4b(0x191)]=_0x399e4b(0x1e3),_0x38ecfc[_0x399e4b(0x20a)]=_0x399e4b(0x1ab),_0x38ecfc[_0x399e4b(0x203)]=_0x399e4b(0x199),_0x38ecfc[_0x399e4b(0x185)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x38ecfc[_0x399e4b(0x1b8)]=_0x399e4b(0x1cb),_0x38ecfc[_0x399e4b(0x1ad)]=_0x399e4b(0x19b),_0x38ecfc[_0x399e4b(0x198)]=_0x399e4b(0x1d3),_0x38ecfc[_0x399e4b(0x1a7)]=_0x399e4b(0x1c3),_0x38ecfc['IbpnT']=_0x399e4b(0x1c4),_0x38ecfc[_0x399e4b(0x1ff)]='error',_0x38ecfc[_0x399e4b(0x1d2)]=_0x399e4b(0x1df),_0x38ecfc['JWUES']=_0x399e4b(0x1b5);const _0x7c07c5=_0x38ecfc;this['logger'][_0x399e4b(0x1f7)](util[_0x399e4b(0x18d)](_0x7c07c5[_0x399e4b(0x20a)],_0x1b21e1));const _0x55e458=os[_0x399e4b(0x206)](),_0x45d67d=path['join'](_0x55e458,_0x7c07c5['TQoDS']);!fs[_0x399e4b(0x1a2)](_0x45d67d)&&(this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util[_0x399e4b(0x18d)](_0x7c07c5[_0x399e4b(0x185)],_0x45d67d)),fs['mkdirSync'](_0x45d67d),this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util['format'](_0x7c07c5[_0x399e4b(0x1b8)],_0x45d67d)));const _0x7ddc1b=BrowserstackCLI[_0x399e4b(0x205)]()[_0x399e4b(0x1fa)][_0x399e4b(0x1c5)]?.['testhubConfig']?.[_0x399e4b(0x201)]()?.[_0x399e4b(0x1bb)],_0x290d3f=path[_0x399e4b(0x197)](_0x45d67d,_0x7ddc1b);!fs[_0x399e4b(0x1a2)](_0x290d3f)&&(fs['mkdirSync'](_0x290d3f),this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util[_0x399e4b(0x18d)](_0x7c07c5['alOGf'],_0x290d3f)));if(_0x7c07c5[_0x399e4b(0x1ea)](_0x1b21e1[_0x399e4b(0x1ee)](),'')){this[_0x399e4b(0x1b1)]['debug'](util['format'](_0x7c07c5['EzHwd']));return;}if(_0x1b21e1[_0x399e4b(0x1fc)](_0x7c07c5[_0x399e4b(0x1a7)])||_0x1b21e1[_0x399e4b(0x1fc)](_0x7c07c5[_0x399e4b(0x1a0)])){const _0x4f6460=_0x1b21e1[_0x399e4b(0x1fc)](_0x7c07c5['HiClO'])?https:http,_0xee32b0=path[_0x399e4b(0x1a4)](_0x1b21e1),_0x45734f=path[_0x399e4b(0x197)](_0x290d3f,_0xee32b0),_0x1ce601=fs[_0x399e4b(0x1fb)](_0x45734f);_0x4f6460[_0x399e4b(0x1d5)](_0x1b21e1,_0x4077df=>{const _0x13b02a=_0x399e4b,_0x27d1fb={'oIkjV':function(_0x158889,_0x1f7157){return _0x7c07c5['ETgyb'](_0x158889,_0x1f7157);},'KBfBW':function(_0x52cc43,_0x119632){const _0x236825=a95_0x4bf9;return _0x7c07c5[_0x236825(0x1fd)](_0x52cc43,_0x119632);},'MGKxk':function(_0x383ca5,_0x2ab1aa){return _0x7c07c5['keWIM'](_0x383ca5,_0x2ab1aa);},'BKDtx':_0x7c07c5[_0x13b02a(0x1cf)],'wzyFB':_0x7c07c5['TrYDf']};if(_0x7c07c5['hogRL'](_0x4077df['statusCode'],0xc8))_0x4077df[_0x13b02a(0x1e2)](_0x1ce601),_0x1ce601['on'](_0x7c07c5[_0x13b02a(0x1be)],()=>{const _0x1cf414=_0x13b02a;_0x1ce601['close']();const _0xb04e98=fs['statSync'](_0x45734f),_0x4cac5d=_0x27d1fb[_0x1cf414(0x1c9)](_0xb04e98['size'],_0x27d1fb[_0x1cf414(0x1c0)](0x400,0x400));if(_0x27d1fb[_0x1cf414(0x1ca)](_0x4cac5d,0x64)){this[_0x1cf414(0x1b1)][_0x1cf414(0x1f7)](util[_0x1cf414(0x18d)](_0x27d1fb[_0x1cf414(0x1c6)],_0x4cac5d[_0x1cf414(0x1d4)](0x2))),fs[_0x1cf414(0x1e4)](_0x45734f);return;}this[_0x1cf414(0x1b1)][_0x1cf414(0x1f7)](util[_0x1cf414(0x18d)](_0x27d1fb[_0x1cf414(0x19e)],_0x45734f)),uploadAttachmentsManager[_0x1cf414(0x202)](_0x45734f,_0x319c63);});else{this['logger'][_0x13b02a(0x1f7)](util[_0x13b02a(0x18d)](_0x7c07c5[_0x13b02a(0x1bc)],_0x4077df[_0x13b02a(0x18e)])),_0x1ce601[_0x13b02a(0x190)](),fs[_0x13b02a(0x1e4)](_0x45734f);return;}})['on'](_0x7c07c5['xKXLF'],_0x54f5ab=>{const _0x59b2c6=_0x399e4b;this[_0x59b2c6(0x1b1)]['debug'](util['format'](_0x7c07c5['EPIqX'],_0x54f5ab[_0x59b2c6(0x1b2)])),_0x1ce601['close'](),fs['unlinkSync'](_0x45734f);return;});}else{if(!fs[_0x399e4b(0x1a2)](_0x1b21e1)){this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util['format'](_0x7c07c5[_0x399e4b(0x1d2)],_0x1b21e1));return;}const _0x230758=fs[_0x399e4b(0x1cc)](_0x1b21e1),_0x265b54=_0x7c07c5[_0x399e4b(0x1ef)](_0x230758[_0x399e4b(0x1b0)],_0x7c07c5['uKFOh'](0x400,0x400));if(_0x7c07c5['keWIM'](_0x265b54,0x64)){this[_0x399e4b(0x1b1)]['debug'](util[_0x399e4b(0x18d)](_0x7c07c5[_0x399e4b(0x209)],_0x265b54['toFixed'](0x2)));return;}const _0xbff2ad=path[_0x399e4b(0x1a4)](_0x1b21e1),_0x220fd7=path[_0x399e4b(0x197)](_0x290d3f,_0xbff2ad);fs[_0x399e4b(0x208)](_0x1b21e1,_0x220fd7),uploadAttachmentsManager[_0x399e4b(0x202)](_0x220fd7,_0x319c63);}}static['trackFile'](_0xe09b7c,_0x2d7f02){const _0x105b4b=a95_0x3af381,_0x5d4472={'RbMfJ':function(_0x25cce1,_0x3032c9){return _0x25cce1(_0x3032c9);},'GGnox':'./browserstackCLI','kIqVB':_0x105b4b(0x1b9),'xxJEj':function(_0x37d108,_0x55d77e){return _0x37d108===_0x55d77e;},'NUpZY':_0x105b4b(0x1c2),'NGHfV':_0x105b4b(0x1b3),'exvSF':_0x105b4b(0x1ba),'lzxqq':_0x105b4b(0x1ae),'xigiJ':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','zxsES':_0x105b4b(0x1e8),'FOtDc':'./state/hookState','JGpTW':_0x105b4b(0x1ac),'oVywN':_0x105b4b(0x1aa),'VfNRO':'Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload'};try{let _0x35f99a;const _0x53c160=global[_0x105b4b(0x1c7)]?.[_0x105b4b(0x18f)]?.['testInfo'],_0x52c07=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x1f8)]),_0x5e67d3=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x18a)]),_0x450eea=_0x52c07[_0x105b4b(0x205)]()[_0x105b4b(0x1f4)]()&&_0x5d4472[_0x105b4b(0x1f1)](_0x5e67d3[_0x105b4b(0x1f3)]()?.[_0x105b4b(0x1cd)]?.['toLowerCase'](),_0x5d4472[_0x105b4b(0x1a1)]);if(_0x450eea){_0x35f99a=global[_0x105b4b(0x1dd)];if(!_0x35f99a){const _0x37238a=AutomationFramework[_0x105b4b(0x1a6)]();_0x35f99a=AutomationFramework[_0x105b4b(0x1fe)](_0x37238a,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0x105b4b(0x1b1)]['debug'](_0x105b4b(0x1f9)+_0x35f99a);}else{if(!_0x53c160){const _0x1cb875=AutomationFramework[_0x105b4b(0x1a6)]();_0x35f99a=AutomationFramework[_0x105b4b(0x1fe)](_0x1cb875,PlaywrightDriverModule[_0x105b4b(0x1b7)],'');}else _0x35f99a=TestInfo[_0x105b4b(0x19f)](_0x53c160,_0x53c160[_0x105b4b(0x200)]);this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)]('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x35f99a);}if(!_0x35f99a){this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)](_0x5d4472['NGHfV']);return;}const _0x472802={[TestFrameworkConstants[_0x105b4b(0x193)]]:fs[_0x105b4b(0x1cc)](_0xe09b7c)[_0x105b4b(0x1b0)],[TestFrameworkConstants[_0x105b4b(0x186)]]:path['basename'](_0xe09b7c),[TestFrameworkConstants[_0x105b4b(0x1eb)]]:_0xe09b7c,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x2d7f02?_0x5d4472[_0x105b4b(0x1ec)]:_0x5d4472[_0x105b4b(0x1c1)]};if(_0x450eea){const _0x578f60=_0x52c07[_0x105b4b(0x205)]()[_0x105b4b(0x1a3)]();if(!_0x578f60){this[_0x105b4b(0x1b1)]['debug'](_0x5d4472['xigiJ']);return;}const _0x3ef858=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x1bd)]),_0x126e80=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x1e0)]),_0x2ee0c3=_0x578f60[_0x105b4b(0x189)](_0x3ef858[_0x105b4b(0x1d1)],_0x126e80[_0x105b4b(0x1b6)]);if(!_0x2ee0c3){this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)](_0x5d4472[_0x105b4b(0x1af)]);return;}const _0x37aa31=_0x2ee0c3[_0x105b4b(0x1e1)]()[_0x105b4b(0x1d5)](_0x35f99a)||{},_0x3ed4cd=_0x37aa31[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1fca3f={..._0x3ed4cd};_0x1fca3f[_0xe09b7c]=_0x472802;const _0x27321b=_0x1fca3f,_0x581583={[TestFrameworkConstants[_0x105b4b(0x1d7)]]:_0x27321b},_0x34d4fe={};_0x34d4fe[_0x35f99a]=_0x581583,_0x2ee0c3[_0x105b4b(0x1e7)](_0x34d4fe),this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x35f99a+',\x20filepath:\x20'+_0xe09b7c);}else{const _0x4519b3=TestInfo[_0x105b4b(0x192)](_0x35f99a),_0x451e7e=_0x4519b3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x451e7e[_0xe09b7c]=_0x472802,_0x4519b3[TestFrameworkConstants[_0x105b4b(0x1d7)]]=_0x451e7e,TestInfo[_0x105b4b(0x1dc)](_0x35f99a,_0x4519b3),this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)](_0x105b4b(0x194)+_0x35f99a+_0x105b4b(0x1a5)+_0xe09b7c);}this[_0x105b4b(0x1b1)]['debug'](util[_0x105b4b(0x18d)](_0x5d4472[_0x105b4b(0x1da)],_0xe09b7c));}catch(_0x4787da){this['logger'][_0x105b4b(0x1f7)](util[_0x105b4b(0x18d)](_0x5d4472[_0x105b4b(0x19d)],_0x4787da[_0x105b4b(0x1b2)]));}}static[a95_0x3af381(0x19c)](){const _0x5d540c=a95_0x3af381,_0x19b812={};_0x19b812[_0x5d540c(0x207)]='.browserstack',_0x19b812[_0x5d540c(0x1f6)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x19b812[_0x5d540c(0x1de)]=_0x5d540c(0x1ce);const _0x468e76=_0x19b812,_0x5b1b4b=os[_0x5d540c(0x206)](),_0xc57c08=path[_0x5d540c(0x197)](_0x5b1b4b,_0x468e76[_0x5d540c(0x207)]);if(!fs[_0x5d540c(0x1a2)](_0xc57c08))return;const _0xae2482=BrowserstackCLI[_0x5d540c(0x205)]()[_0x5d540c(0x1fa)][_0x5d540c(0x1c5)]?.[_0x5d540c(0x1f5)]?.[_0x5d540c(0x201)]()?.[_0x5d540c(0x1bb)],_0x4eeb21=_0xae2482?path[_0x5d540c(0x197)](_0xc57c08,_0xae2482):null;if(!_0x4eeb21||!fs[_0x5d540c(0x1a2)](_0x4eeb21)){this[_0x5d540c(0x1b1)][_0x5d540c(0x1f7)](util[_0x5d540c(0x18d)](_0x468e76[_0x5d540c(0x1f6)],_0xae2482));return;}const _0x4be80e={};_0x4be80e['recursive']=!![],_0x4be80e[_0x5d540c(0x18c)]=!![],fs['rmSync'](_0x4eeb21,_0x4be80e),this[_0x5d540c(0x1b1)]['debug'](util[_0x5d540c(0x18d)](_0x468e76[_0x5d540c(0x1de)]));}}module[a95_0x3af381(0x1a9)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a96_0x352194=a96_0x195d;(function(_0x54d83a,_0x58e84f){const _0x559adc=a96_0x195d,_0x55903c=_0x54d83a();while(!![]){try{const _0x4f47a7=-parseInt(_0x559adc(0xbc))/0x1+parseInt(_0x559adc(0xce))/0x2*(-parseInt(_0x559adc(0x111))/0x3)+-parseInt(_0x559adc(0x108))/0x4*(-parseInt(_0x559adc(0xb9))/0x5)+-parseInt(_0x559adc(0x88))/0x6+parseInt(_0x559adc(0x87))/0x7*(-parseInt(_0x559adc(0xdf))/0x8)+parseInt(_0x559adc(0xdd))/0x9*(parseInt(_0x559adc(0xe2))/0xa)+parseInt(_0x559adc(0xa7))/0xb;if(_0x4f47a7===_0x58e84f)break;else _0x55903c['push'](_0x55903c['shift']());}catch(_0x590cf1){_0x55903c['push'](_0x55903c['shift']());}}}(a96_0x1d98,0x98e09));function a96_0x195d(_0x1f0d98,_0x1e0a17){const _0x1d984e=a96_0x1d98();return a96_0x195d=function(_0x195d5e,_0x5543a6){_0x195d5e=_0x195d5e-0x83;let _0x500e04=_0x1d984e[_0x195d5e];return _0x500e04;},a96_0x195d(_0x1f0d98,_0x1e0a17);}const path=require(a96_0x352194(0xe5)),util=require(a96_0x352194(0xa1)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a96_0x352194(0xa8)),logger=require(a96_0x352194(0xe7))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a96_0x352194(0x8a)),hooksMap={};class CucumberUtils{constructor(){const _0x45fced=a96_0x352194;this[_0x45fced(0x9c)]=![],this[_0x45fced(0xf7)]=null;}async[a96_0x352194(0xfb)](_0x137687,_0x9ec0f5,_0x24ab66,_0x314800,_0xc848d1,_0x1d7e46){const _0x7fc755=a96_0x352194,_0x2bc859={'juSdG':function(_0x558dd6,_0x5d722c){return _0x558dd6===_0x5d722c;},'ZiySj':'FAILED','xRAiC':_0x7fc755(0xe4),'VzgBz':function(_0x2deb62,_0x24b1f9){return _0x2deb62===_0x24b1f9;},'dUFLn':_0x7fc755(0xd7),'WLZlD':'skipped','UwzAi':function(_0x3f5161,_0x38d36d){return _0x3f5161||_0x38d36d;},'EImlw':function(_0x28f5ad,_0x4a733d){return _0x28f5ad+_0x4a733d;},'QQlzW':function(_0x37eba7,_0xa0367b){return _0x37eba7+_0xa0367b;},'cGWEe':_0x7fc755(0xcf),'GwCwH':_0x7fc755(0x94),'TVXxs':_0x7fc755(0xab),'QchNp':'pending','HIinn':_0x7fc755(0x84),'gqrIt':function(_0x13c8d3,_0x3b29ac){return _0x13c8d3!==_0x3b29ac;},'wpfGz':function(_0x3ff4ca,_0x5298e2){return _0x3ff4ca/_0x5298e2;},'ghYWE':function(_0x4f6773,_0x3f36d2){return _0x4f6773===_0x3f36d2;},'TbnwG':_0x7fc755(0xc4),'ShhLH':function(_0x11ac2f,_0x32dd01){return _0x11ac2f(_0x32dd01);},'lZsQD':_0x7fc755(0x8d),'Yrjuu':function(_0xb6a78c,_0x4e06d5){return _0xb6a78c(_0x4e06d5);},'LitSM':_0x7fc755(0x97),'LtaoZ':_0x7fc755(0xb7)},{feature:_0x169441,scenario:_0x3e17dd,steps:_0x2ce36a,uuid:_0x12c823,startedAt:_0xdcf60f,finishedAt:_0x1e60ef}=_0x2bc859['UwzAi'](_0x137687,{}),_0x3f0fee=this[_0x7fc755(0x98)](_0x314800,_0x9ec0f5);await this[_0x7fc755(0xfe)]();const _0x404e1b=_0x3f0fee?_0x2bc859['EImlw'](_0x2bc859[_0x7fc755(0x103)](_0x2bc859[_0x7fc755(0x103)](_0x9ec0f5[_0x7fc755(0x105)],'\x20('),_0x3f0fee[_0x7fc755(0xbf)](',\x20')),')'):_0x9ec0f5[_0x7fc755(0x105)],_0x1b4261={'id':_0xc848d1,'uuid':_0xc848d1,'startedAt':_0xdcf60f,'finishedAt':_0x1e60ef,'type':_0x2bc859[_0x7fc755(0xf2)],'body':{'lang':_0x2bc859['GwCwH'],'code':null},'name':_0x404e1b,'scopes':[_0x169441&&_0x169441['name']?_0x169441['name']:''],'tags':_0x9ec0f5[_0x7fc755(0xc8)]?_0x9ec0f5[_0x7fc755(0xc8)][_0x7fc755(0x102)](({name:_0x1ae9c6})=>_0x1ae9c6):[],'file_name':_0x9ec0f5['uri'],'location':_0x9ec0f5['uri'],'vc_filepath':this[_0x7fc755(0xf7)]&&_0x9ec0f5['uri']?path[_0x7fc755(0xd4)](this[_0x7fc755(0xf7)],_0x9ec0f5[_0x7fc755(0xcd)]):null,'framework':_0x2bc859[_0x7fc755(0x109)],'result':_0x2bc859[_0x7fc755(0x9e)],'meta':{'feature':_0x169441,'scenario':_0x3e17dd,'steps':_0x2ce36a,'examples':_0x3f0fee},'customRerunParam':{'rerun_name':_0x404e1b}};if(_0x24ab66[_0x7fc755(0xac)]&&_0x2ce36a){const _0x93d1ef=_0x24ab66[_0x7fc755(0xac)];let _0xb2bb99=_0x2bc859['HIinn'];_0x2ce36a[_0x7fc755(0xf9)](_0x4d0279=>{const _0x15351e=_0x7fc755;if(_0x2bc859[_0x15351e(0xc7)](_0x4d0279[_0x15351e(0xb5)],_0x2bc859['ZiySj']))return _0xb2bb99=_0x2bc859[_0x15351e(0xef)],_0x93d1ef[_0x15351e(0xff)]=_0x4d0279[_0x15351e(0xff)],_0x93d1ef[_0x15351e(0xf6)]=_0x4d0279[_0x15351e(0xf6)],![];else{if(_0x2bc859[_0x15351e(0xbb)](_0x4d0279['result'],_0x2bc859[_0x15351e(0xfc)]))return _0xb2bb99=_0x2bc859[_0x15351e(0xdc)],![];}return!![];}),_0x1b4261[_0x7fc755(0x86)]=new Date()[_0x7fc755(0x8e)](),_0x1b4261['result']=_0xb2bb99;_0x93d1ef['timestamp']&&_0x2bc859[_0x7fc755(0xc2)](_0x93d1ef[_0x7fc755(0xe0)][_0x7fc755(0x8c)],undefined)?_0x1b4261[_0x7fc755(0xd0)]=_0x2bc859[_0x7fc755(0xb8)](_0x93d1ef[_0x7fc755(0xe0)][_0x7fc755(0x8c)],0xf4240):_0x1b4261[_0x7fc755(0xd0)]=undefined;if(_0x2bc859[_0x7fc755(0xf5)](_0xb2bb99,_0x2bc859['xRAiC'])){const {default:_0x2dd9fe}=await import(_0x2bc859[_0x7fc755(0xf3)]);_0x1b4261[_0x7fc755(0xff)]=[{'backtrace':[_0x93d1ef['failure']?_0x2bc859[_0x7fc755(0xd3)](_0x2dd9fe,_0x93d1ef[_0x7fc755(0xff)]):_0x2bc859[_0x7fc755(0xea)]]}],_0x1b4261['failure_reason']=_0x93d1ef[_0x7fc755(0xff)]?_0x2bc859[_0x7fc755(0xd1)](_0x2dd9fe,_0x93d1ef[_0x7fc755(0xff)]):_0x93d1ef[_0x7fc755(0x106)],_0x93d1ef[_0x7fc755(0xf6)]&&(_0x1b4261[_0x7fc755(0xa5)]=_0x93d1ef[_0x7fc755(0xf6)]['match'](/AssertError/)?_0x2bc859[_0x7fc755(0xc9)]:_0x2bc859[_0x7fc755(0xb6)]);}}return _0x1b4261;}[a96_0x352194(0xed)](_0x219954,_0x14b6b0,_0xb510c9,_0x1791f2,_0x1ea9ba,_0x3515f9){const _0x47b3e6=a96_0x352194,_0x192930={'jAtrX':function(_0x3321a8,_0x96c2b6){return _0x3321a8===_0x96c2b6;},'zatCg':_0x47b3e6(0xaf),'MFkFY':function(_0x5dcb09,_0x3410b4,_0x2f5059){return _0x5dcb09(_0x3410b4,_0x2f5059);},'xJwZy':'sourceReference','gtVKU':'uri','bWwWD':'pending','VieRo':_0x47b3e6(0xa2),'AnnNF':_0x47b3e6(0x94),'EKQDm':'feature','gciUb':_0x47b3e6(0x105),'thajA':function(_0x57c6f3,_0x30a997,_0x2efee8){return _0x57c6f3(_0x30a997,_0x2efee8);},'UAvAc':_0x47b3e6(0xab)};try{if(_0x192930[_0x47b3e6(0x10f)](_0xb510c9,_0x192930[_0x47b3e6(0xc1)])){const _0x16acc3=new Date()[_0x47b3e6(0x8e)](),_0x170b8f=hooksMap[_0x14b6b0];if(!_0x170b8f)return;const _0x32fc15=_0x170b8f[_0x47b3e6(0xde)](_0x165a3f=>_0x165a3f[_0x47b3e6(0xc3)]===_0x1791f2['id']);if(!_0x32fc15)return;const _0x3c7e70=this[_0x47b3e6(0x10e)](_0x219954,_0x14b6b0);_0x32fc15['result']=_0x3c7e70[_0x47b3e6(0xda)],_0x32fc15['finished_at']=_0x16acc3,_0x32fc15[_0x47b3e6(0xa5)]=_0x3c7e70[_0x47b3e6(0xf6)];const _0x563b18={};return _0x563b18['backtrace']=_0x3c7e70[_0x47b3e6(0xaa)],_0x32fc15[_0x47b3e6(0xee)]=[_0x563b18],_0x32fc15;}const _0x2adf4c=TestInfo[_0x47b3e6(0x93)](_0x14b6b0),_0x655f3a=_0x219954['hooks'][_0x47b3e6(0xde)](_0xfebcb2=>_0xfebcb2['id']===_0x1791f2['hookId']),_0xf5c8bf=_0x192930[_0x47b3e6(0x100)](nestedKeyValue,_0x655f3a,[_0x192930[_0x47b3e6(0xa4)],_0x192930[_0x47b3e6(0xcb)]]),_0x17b7df=new Date()[_0x47b3e6(0x8e)](),_0x14e6e8=_0x192930[_0x47b3e6(0xba)],_0x1a3954=_0x655f3a['tagExpression']?_0x655f3a['tagExpression'][_0x47b3e6(0x96)]('\x20')[_0x47b3e6(0x9f)](_0x5db10e=>_0x5db10e['includes']('@')):[],_0x4b68ec={'uuid':_0x1791f2['id'],'type':_0x192930[_0x47b3e6(0xf4)],'hook_type':_0x3515f9,'name':_0x655f3a[_0x47b3e6(0x105)],'body':{'lang':_0x192930[_0x47b3e6(0xbe)],'code':null},'tags':_0x1a3954,'test_run_id':_0x2adf4c,'scope':_0x192930['MFkFY'](nestedKeyValue,_0x1ea9ba,[_0x192930[_0x47b3e6(0xa9)],_0x192930[_0x47b3e6(0xf8)]]),'scopes':[_0x192930['thajA'](nestedKeyValue,_0x1ea9ba,[_0x192930['EKQDm'],_0x192930[_0x47b3e6(0xf8)]])||''],'file_name':_0xf5c8bf,'location':_0xf5c8bf,'vc_filepath':this[_0x47b3e6(0xf7)]?path[_0x47b3e6(0xd4)](this[_0x47b3e6(0xf7)],_0xf5c8bf):null,'result':_0x14e6e8,'started_at':_0x17b7df,'framework':_0x192930['UAvAc']};return _0x4b68ec;}catch(_0x1fa84c){logger[_0x47b3e6(0x99)](_0x47b3e6(0xa0)+util[_0x47b3e6(0xd2)](_0x1fa84c)+'\x20');}}async[a96_0x352194(0x8b)](_0x16f2a1,_0x1b0aa8,_0x8e68fb,_0x3d1dae,_0x5a2e27,_0x4a67ac){const _0x3c39bc=a96_0x352194,_0x23d52e={'nsrsp':function(_0x161944,_0x36dd49){return _0x161944===_0x36dd49;},'TIWoB':_0x3c39bc(0x10a),'OCdOw':function(_0x4a178c,_0x23fdd8,_0x465c9e){return _0x4a178c(_0x23fdd8,_0x465c9e);},'tyeyT':_0x3c39bc(0x9d),'RmMbC':_0x3c39bc(0xcd),'dHRpq':_0x3c39bc(0xcc),'OCiOM':function(_0x6fec52,_0x3e5815){return _0x6fec52===_0x3e5815;},'AwFCH':_0x3c39bc(0xfa)};try{const _0x2d8d25=_0x3d1dae[_0x3c39bc(0xde)](_0x2f671f=>_0x2f671f['id']===_0x5a2e27);if(!_0x2d8d25[_0x3c39bc(0xbd)])return;const _0x5edfdd=this[_0x3c39bc(0xd8)](_0x3d1dae,_0x2d8d25),_0x538bb4=this['getHookRunEventData'](_0x16f2a1,_0x1b0aa8,_0x8e68fb,_0x2d8d25,_0x4a67ac,_0x5edfdd);if(!_0x538bb4)return;_0x23d52e[_0x3c39bc(0x89)](_0x8e68fb,_0x23d52e['TIWoB'])&&(hooksMap[_0x1b0aa8]?hooksMap[_0x1b0aa8]['push'](_0x538bb4):hooksMap[_0x1b0aa8]=[_0x538bb4]);const _0x38bc42=_0x16f2a1[_0x3c39bc(0x83)][_0x3c39bc(0xde)](_0x7ed464=>_0x7ed464['id']===_0x2d8d25[_0x3c39bc(0xbd)]),_0x38be70=_0x23d52e[_0x3c39bc(0xf1)](nestedKeyValue,_0x38bc42,[_0x23d52e[_0x3c39bc(0xc5)],_0x23d52e['RmMbC']]);if(!_0x38be70)return;else{if(_0x38be70[_0x3c39bc(0xd9)](_0x23d52e[_0x3c39bc(0x92)]))return;}if(_0x23d52e[_0x3c39bc(0xe6)](_0x538bb4['name'],_0x23d52e[_0x3c39bc(0xa6)]))return;return _0x538bb4;}catch(_0x5519a1){logger[_0x3c39bc(0x99)](_0x3c39bc(0xae)+util[_0x3c39bc(0xd2)](_0x5519a1)+'\x20');}}[a96_0x352194(0x10e)](_0x3d574f,_0x31c727){const _0x1a0d68=a96_0x352194,_0x133410={};_0x133410['XHmQX']=function(_0x2a2adf,_0x1a84f6){return _0x2a2adf===_0x1a84f6;},_0x133410[_0x1a0d68(0xfd)]=_0x1a0d68(0xe4),_0x133410[_0x1a0d68(0x90)]=function(_0x52be09,_0xd41703){return _0x52be09===_0xd41703;},_0x133410[_0x1a0d68(0x107)]=_0x1a0d68(0xb7),_0x133410[_0x1a0d68(0x85)]=_0x1a0d68(0x97),_0x133410[_0x1a0d68(0xe3)]=function(_0x223c40,_0x31d2c4){return _0x223c40||_0x31d2c4;};const _0x919f8d=_0x133410,_0x1c3d94=_0x3d574f[_0x1a0d68(0x110)][_0x31c727][_0x1a0d68(0x95)];let _0x431fcf,_0x13ab90;return _0x1c3d94&&_0x919f8d[_0x1a0d68(0x101)](_0x1c3d94['status'][_0x1a0d68(0x104)]()[_0x1a0d68(0xdb)](),_0x919f8d[_0x1a0d68(0xfd)])&&(_0x431fcf=_0x919f8d[_0x1a0d68(0x90)](_0x1c3d94[_0x1a0d68(0x9a)],undefined)?_0x1c3d94[_0x1a0d68(0x106)]:_0x1c3d94[_0x1a0d68(0x9a)]['message'],_0x13ab90=_0x919f8d[_0x1a0d68(0x101)](_0x1c3d94[_0x1a0d68(0x9a)],undefined)?_0x919f8d[_0x1a0d68(0x107)]:_0x1c3d94[_0x1a0d68(0x106)][_0x1a0d68(0xe9)](/Assert/)?_0x919f8d[_0x1a0d68(0x85)]:_0x919f8d['dECtL']),{'status':_0x1c3d94[_0x1a0d68(0xda)]['toLowerCase'](),'failureType':_0x919f8d[_0x1a0d68(0xe3)](_0x13ab90,null),'failureData':!_0x431fcf?null:[_0x431fcf]};}['getCucumberHookType'](_0x4b6471,_0x4d6393){const _0x41beee=a96_0x352194,_0x5ce7c7={};_0x5ce7c7[_0x41beee(0xd5)]=function(_0x15fbd2,_0x494a7a){return _0x15fbd2===_0x494a7a;},_0x5ce7c7['fyUZy']='AFTER_EACH',_0x5ce7c7[_0x41beee(0xc0)]='BEFORE_EACH';const _0x4cfe0e=_0x5ce7c7;let _0x2e9f14=![];for(const _0x12afe9 of _0x4b6471){_0x12afe9[_0x41beee(0xb0)]&&(_0x2e9f14=!![]);if(_0x4cfe0e['KxqjK'](_0x4d6393['id'],_0x12afe9['id']))return _0x2e9f14?_0x4cfe0e[_0x41beee(0xa3)]:_0x4cfe0e[_0x41beee(0xc0)];}}[a96_0x352194(0x98)]=(_0x22ea96,_0x4969f1)=>{const _0x435d03=a96_0x352194,_0x40de68={};_0x40de68['JnVlf']=function(_0x557912,_0x3c03b1){return _0x557912===_0x3c03b1;},_0x40de68[_0x435d03(0x9b)]=function(_0x589ffe,_0x1b107e){return _0x589ffe===_0x1b107e;},_0x40de68[_0x435d03(0xb2)]=function(_0x40f512,_0x509fea){return _0x40f512>_0x509fea;};const _0x51accc=_0x40de68;if(!(_0x4969f1[_0x435d03(0xe8)]&&_0x51accc['YgUls'](_0x4969f1[_0x435d03(0xe8)][_0x435d03(0xb3)],0x1)))return;const _0x26b1e6=_0x4969f1[_0x435d03(0xe8)][0x0],_0x364de6=_0x4969f1['astNodeIds'][0x1],_0x51d938=_0x22ea96['feature']&&_0x22ea96[_0x435d03(0xc6)]['children']?_0x22ea96[_0x435d03(0xc6)][_0x435d03(0xb4)]:undefined;let _0x615e1c=[];_0x51d938&&_0x51d938[_0x435d03(0x8f)](_0x3d0c97=>{const _0x2a1efc=_0x435d03;if(_0x3d0c97[_0x2a1efc(0xec)])_0x3d0c97[_0x2a1efc(0xec)][_0x2a1efc(0xb4)][_0x2a1efc(0x8f)](_0x178197=>{const _0x381c7d=_0x2a1efc;if(_0x178197['scenario']&&_0x51accc[_0x381c7d(0xf0)](_0x178197['scenario']['id'],_0x26b1e6)&&_0x178197[_0x381c7d(0x10c)]['examples']){const _0x53ee42=_0x178197[_0x381c7d(0x10c)][_0x381c7d(0xca)][_0x381c7d(0xb1)](_0x249bfa=>_0x249bfa['tableBody'])[_0x381c7d(0xde)](_0x496af7=>_0x496af7['id']===_0x364de6);let _0x1f079c;_0x53ee42&&_0x53ee42[_0x381c7d(0x91)]?_0x1f079c=_0x53ee42[_0x381c7d(0x91)]['map'](_0x410a68=>_0x410a68[_0x381c7d(0xd6)]):_0x1f079c=[],_0x1f079c&&(_0x615e1c=_0x1f079c);}});else{if(_0x3d0c97[_0x2a1efc(0x10c)]&&_0x51accc['ZBdqC'](_0x3d0c97['scenario']['id'],_0x26b1e6)&&_0x3d0c97[_0x2a1efc(0x10c)]['examples']){const _0x23a3d6=_0x3d0c97[_0x2a1efc(0x10c)][_0x2a1efc(0xca)]['flatMap'](_0x37c728=>_0x37c728[_0x2a1efc(0x10d)])[_0x2a1efc(0xde)](_0x2a7b61=>_0x2a7b61['id']===_0x364de6);let _0xd7a6e1;_0x23a3d6&&_0x23a3d6['cells']?_0xd7a6e1=_0x23a3d6['cells']['map'](_0xcea003=>_0xcea003[_0x2a1efc(0xd6)]):_0xd7a6e1=[],_0xd7a6e1&&(_0x615e1c=_0xd7a6e1);}}});if(_0x615e1c[_0x435d03(0xb3)])return _0x615e1c;return;};async[a96_0x352194(0xfe)](){const _0x4e2980=a96_0x352194,_0x45de40={'EMfRa':function(_0x4b377e){return _0x4b377e();}};if(this[_0x4e2980(0x9c)])return this['_gitConfigPath'];const _0x2c6e2e=await _0x45de40[_0x4e2980(0xad)](getGitMetaData);_0x2c6e2e&&(this['_gitConfigPath']=_0x2c6e2e['root']),this[_0x4e2980(0x9c)]=!![];}}module[a96_0x352194(0x10b)]=o11yClassErrorHandler(CucumberUtils,[a96_0x352194(0xfe),a96_0x352194(0x98),a96_0x352194(0xd8),'getHookResult',a96_0x352194(0xeb),a96_0x352194(0xed),a96_0x352194(0xe1),a96_0x352194(0xfb)]);function a96_0x1d98(){const _0x5cdee7=['status','toLowerCase','WLZlD','9CahTOn','find','40392SSkkio','timestamp','sendTestRunEventForCucumber','8108650gSCuDa','QfxWj','failed','path','OCiOM','../../../helpers/logger.js','astNodeIds','match','lZsQD','sendHook','rule','getHookRunEventData','failure_data','xRAiC','JnVlf','OCdOw','cGWEe','TbnwG','VieRo','ghYWE','failureType','_gitConfigPath','gciUb','every','bstack','createTestFrameworkData','dUFLn','LxryC','configureGit','failure','MFkFY','XHmQX','map','QQlzW','toString','name','message','dECtL','372888ALhNQK','TVXxs','HookRunStarted','exports','scenario','tableBody','getHookResult','jAtrX','testStepFinished','6rCCzCm','hooks','passed','zYYDh','finishedAt','315boXcNE','6622182QMybRz','nsrsp','../TestInfo.js','createHookData','nanos','unknown','toISOString','forEach','VjZbL','cells','dHRpq','getTestUUID','javascript','testStepResult','split','AssertionError','getScenarioExamples','debug','exception','ZBdqC','_gitConfigured','sourceReference','QchNp','filter','Exception\x20in\x20getHookRunEventData:\x20','util','hook','fyUZy','xJwZy','failure_type','AwFCH','16373478wHAtdD','../../../helpers/helper.js','EKQDm','failureData','cucumber','testCaseFinished','EMfRa','Exception\x20in\x20createHookData:\x20','HookRunFinished','pickleStepId','flatMap','YgUls','length','children','result','LtaoZ','UnhandledError','wpfGz','40UaBLWX','bWwWD','VzgBz','769358FTSEFs','hookId','AnnNF','join','SLEot','zatCg','gqrIt','uuid','strip-ansi','tyeyT','feature','juSdG','tags','LitSM','examples','gtVKU','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','uri','318694NIMRxA','test','duration_in_ms','Yrjuu','format','ShhLH','relative','KxqjK','value','SKIPPED','getCucumberHookType','includes'];a96_0x1d98=function(){return _0x5cdee7;};return a96_0x1d98();}
1
+ const a96_0x44196e=a96_0x1b7b;(function(_0xd6f22b,_0x1624a9){const _0x4d22b8=a96_0x1b7b,_0x124b9f=_0xd6f22b();while(!![]){try{const _0x260140=-parseInt(_0x4d22b8(0x108))/0x1*(parseInt(_0x4d22b8(0xd1))/0x2)+-parseInt(_0x4d22b8(0xad))/0x3*(-parseInt(_0x4d22b8(0xce))/0x4)+-parseInt(_0x4d22b8(0xef))/0x5*(parseInt(_0x4d22b8(0xd2))/0x6)+-parseInt(_0x4d22b8(0xbb))/0x7+parseInt(_0x4d22b8(0x114))/0x8+-parseInt(_0x4d22b8(0xcc))/0x9+parseInt(_0x4d22b8(0x95))/0xa*(parseInt(_0x4d22b8(0x101))/0xb);if(_0x260140===_0x1624a9)break;else _0x124b9f['push'](_0x124b9f['shift']());}catch(_0x80972b){_0x124b9f['push'](_0x124b9f['shift']());}}}(a96_0x56ac,0xcad66));function a96_0x56ac(){const _0x67fb97=['javascript','WzJzp','Jbunl','13610CekDFn','AVKnF','createTestFrameworkData','failure_type','../../../helpers/logger.js','passed','children','xNqGj','exports','toString','failure_reason','SKIPPED','failure','QKFQV','YdhaR','RPYdI','exception','strip-ansi','timestamp','DySSG','match','ikQxp','getCucumberHookType','TCcDC','1017MhqnJI','forEach','rwtsg','PxDAe','getScenarioExamples','HookRunStarted','path','RsCzG','Exception\x20in\x20createHookData:\x20','status','CrNNV','map','hooks','AssertionError','2414769mqkvNE','hookId','HookRunFinished','_gitConfigPath','tYjHU','flatMap','rQwnC','split','bgCLw','DFyHe','cells','dnFdI','format','jGLze','unknown','ajPDu','jLxPo','8008758kSCjFv','tags','17564vqzGjA','winstonLogger','testStepFinished','67362uDvyOc','30aBitUT','BEFORE_EACH','push','scenario','SyzYi','gIbSx','../../../helpers/helper.js','tableBody','MjaPP','xpgVU','feature','yaYhn','bUXDN','nanos','includes','configureGit','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','createHookData','ZOdrh','examples','rZGqW','result','failed','rJynL','getHookRunEventData','ODrVo','_gitConfigured','xQSPF','getHookResult','1566245TixMwy','ABnzU','SfZkA','bIKlf','value','cucumber','pickleStepId','failureData','uri','../TestInfo.js','tagExpression','pKvqA','join','duration_in_ms','debug','FchAm','xqHpp','finishedAt','9713ZfTBby','root','test','HJOVi','astNodeIds','xKiqz','sendTestRunEventForCucumber','13aqJaSW','AFTER_EACH','VCbQv','name','WDXuF','length','WJyNZ','uuid','relative','testStepResult','find','message','11035496snAjMD','failureType','aXsMr','getTestUUID','UnhandledError','toISOString','vgevq','toLowerCase','sourceReference'];a96_0x56ac=function(){return _0x67fb97;};return a96_0x56ac();}function a96_0x1b7b(_0xefc50a,_0x193c0d){const _0x56ace4=a96_0x56ac();return a96_0x1b7b=function(_0x1b7bbb,_0x5202b7){_0x1b7bbb=_0x1b7bbb-0x8a;let _0x22152a=_0x56ace4[_0x1b7bbb];return _0x22152a;},a96_0x1b7b(_0xefc50a,_0x193c0d);}const path=require(a96_0x44196e(0xb3)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a96_0x44196e(0xd8)),logger=require(a96_0x44196e(0x99))[a96_0x44196e(0xcf)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a96_0x44196e(0xf8)),hooksMap={};class CucumberUtils{constructor(){const _0x585023=a96_0x44196e;this[_0x585023(0xec)]=![],this[_0x585023(0xbe)]=null;}async[a96_0x44196e(0x97)](_0x502f28,_0x79d468,_0x3010ab,_0x47193a,_0x4647dc,_0x4d0d6f){const _0x15cc06=a96_0x44196e,_0x161d6a={'xQSPF':function(_0x284af2,_0x2cec3b){return _0x284af2===_0x2cec3b;},'WzJzp':'FAILED','xKiqz':'failed','MdjgW':_0x15cc06(0xa0),'bUXDN':'skipped','GluZA':function(_0x10359b,_0x29cd15){return _0x10359b||_0x29cd15;},'jLxPo':function(_0xe6f552,_0x364826){return _0xe6f552+_0x364826;},'ikQxp':_0x15cc06(0x103),'gIbSx':_0x15cc06(0x92),'rQwnC':_0x15cc06(0xf4),'FoJlq':'pending','MjaPP':_0x15cc06(0x9a),'CrNNV':function(_0x1968cc,_0x6334f1){return _0x1968cc!==_0x6334f1;},'bIKlf':function(_0x4c0853,_0x41f4a2){return _0x4c0853/_0x41f4a2;},'xNqGj':function(_0xe16aab,_0x24bdbb){return _0xe16aab===_0x24bdbb;},'SoClT':_0x15cc06(0xa6),'dzQXg':function(_0x5cd07f,_0x402c35){return _0x5cd07f(_0x402c35);},'YdhaR':_0x15cc06(0xc9),'badfr':_0x15cc06(0xba),'RPYdI':_0x15cc06(0x8d)},{feature:_0x5ddb2c,scenario:_0x56c20f,steps:_0x59a462,uuid:_0x9157b3,startedAt:_0x1679dc,finishedAt:_0x55badb}=_0x161d6a['GluZA'](_0x502f28,{}),_0x133e68=this[_0x15cc06(0xb1)](_0x47193a,_0x79d468);await this[_0x15cc06(0xe1)]();const _0x4e8995=_0x133e68?_0x161d6a[_0x15cc06(0xcb)](_0x161d6a['jLxPo'](_0x161d6a[_0x15cc06(0xcb)](_0x79d468[_0x15cc06(0x10b)],'\x20('),_0x133e68[_0x15cc06(0xfb)](',\x20')),')'):_0x79d468['name'],_0x4699bc={'id':_0x4647dc,'uuid':_0x4647dc,'startedAt':_0x1679dc,'finishedAt':_0x55badb,'type':_0x161d6a[_0x15cc06(0xaa)],'body':{'lang':_0x161d6a[_0x15cc06(0xd7)],'code':null},'name':_0x4e8995,'scopes':[_0x5ddb2c&&_0x5ddb2c[_0x15cc06(0x10b)]?_0x5ddb2c[_0x15cc06(0x10b)]:''],'tags':_0x79d468[_0x15cc06(0xcd)]?_0x79d468['tags'][_0x15cc06(0xb8)](({name:_0x464abd})=>_0x464abd):[],'file_name':_0x79d468[_0x15cc06(0xf7)],'location':_0x79d468['uri'],'vc_filepath':this[_0x15cc06(0xbe)]&&_0x79d468['uri']?path['relative'](this[_0x15cc06(0xbe)],_0x79d468[_0x15cc06(0xf7)]):null,'framework':_0x161d6a[_0x15cc06(0xc1)],'result':_0x161d6a['FoJlq'],'meta':{'feature':_0x5ddb2c,'scenario':_0x56c20f,'steps':_0x59a462,'examples':_0x133e68},'customRerunParam':{'rerun_name':_0x4e8995}};if(_0x3010ab['testCaseFinished']&&_0x59a462){const _0x416fc=_0x3010ab['testCaseFinished'];let _0x3c9e69=_0x161d6a[_0x15cc06(0xda)];_0x59a462['every'](_0x4950d8=>{const _0x5d77fb=_0x15cc06;if(_0x161d6a[_0x5d77fb(0xed)](_0x4950d8[_0x5d77fb(0xe7)],_0x161d6a[_0x5d77fb(0x93)]))return _0x3c9e69=_0x161d6a[_0x5d77fb(0x106)],_0x416fc[_0x5d77fb(0xa1)]=_0x4950d8['failure'],_0x416fc[_0x5d77fb(0x8a)]=_0x4950d8[_0x5d77fb(0x8a)],![];else{if(_0x161d6a[_0x5d77fb(0xed)](_0x4950d8[_0x5d77fb(0xe7)],_0x161d6a['MdjgW']))return _0x3c9e69=_0x161d6a[_0x5d77fb(0xde)],![];}return!![];}),_0x4699bc[_0x15cc06(0x100)]=new Date()[_0x15cc06(0x8e)](),_0x4699bc['result']=_0x3c9e69;_0x416fc['timestamp']&&_0x161d6a[_0x15cc06(0xb7)](_0x416fc[_0x15cc06(0xa7)][_0x15cc06(0xdf)],undefined)?_0x4699bc[_0x15cc06(0xfc)]=_0x161d6a[_0x15cc06(0xf2)](_0x416fc[_0x15cc06(0xa7)][_0x15cc06(0xdf)],0xf4240):_0x4699bc[_0x15cc06(0xfc)]=undefined;if(_0x161d6a[_0x15cc06(0x9c)](_0x3c9e69,_0x161d6a[_0x15cc06(0x106)])){const {default:_0x10b639}=await import(_0x161d6a['SoClT']);_0x4699bc[_0x15cc06(0xa1)]=[{'backtrace':[_0x416fc[_0x15cc06(0xa1)]?_0x161d6a['dzQXg'](_0x10b639,_0x416fc[_0x15cc06(0xa1)]):_0x161d6a[_0x15cc06(0xa3)]]}],_0x4699bc[_0x15cc06(0x9f)]=_0x416fc['failure']?_0x161d6a['dzQXg'](_0x10b639,_0x416fc['failure']):_0x416fc[_0x15cc06(0x113)],_0x416fc[_0x15cc06(0x8a)]&&(_0x4699bc[_0x15cc06(0x98)]=_0x416fc['failureType'][_0x15cc06(0xa9)](/AssertError/)?_0x161d6a['badfr']:_0x161d6a[_0x15cc06(0xa4)]);}}return _0x4699bc;}['getHookRunEventData'](_0xee295c,_0x364116,_0x2ade35,_0x339eec,_0x2e7c40,_0x5cf0dc){const _0x55ad48=a96_0x44196e,_0x2902a5={'ODrVo':function(_0x3d89c5,_0x4f3f4e){return _0x3d89c5===_0x4f3f4e;},'WDXuF':_0x55ad48(0xbd),'RsCzG':function(_0x20c2f2,_0x27f282,_0x2196ed){return _0x20c2f2(_0x27f282,_0x2196ed);},'VCbQv':_0x55ad48(0x91),'tYjHU':_0x55ad48(0xf7),'rJynL':'pending','TCcDC':'hook','aVAOd':_0x55ad48(0x92),'vgevq':_0x55ad48(0xdc),'jGLze':_0x55ad48(0x10b),'xqHpp':function(_0x26c8de,_0xc42948,_0x3c5ddd){return _0x26c8de(_0xc42948,_0x3c5ddd);},'xpgVU':'cucumber'};try{if(_0x2902a5[_0x55ad48(0xeb)](_0x2ade35,_0x2902a5[_0x55ad48(0x10c)])){const _0x3cf85f=new Date()[_0x55ad48(0x8e)](),_0x4da057=hooksMap[_0x364116];if(!_0x4da057)return;const _0xf04f7c=_0x4da057['find'](_0x325a83=>_0x325a83[_0x55ad48(0x10f)]===_0x339eec['id']);if(!_0xf04f7c)return;const _0xe120b3=this[_0x55ad48(0xee)](_0xee295c,_0x364116);_0xf04f7c[_0x55ad48(0xe7)]=_0xe120b3['status'],_0xf04f7c['finished_at']=_0x3cf85f,_0xf04f7c['failure_type']=_0xe120b3[_0x55ad48(0x8a)];const _0x40451d={};return _0x40451d['backtrace']=_0xe120b3[_0x55ad48(0xf6)],_0xf04f7c['failure_data']=[_0x40451d],_0xf04f7c;}const _0x537df9=TestInfo[_0x55ad48(0x8c)](_0x364116),_0x1ec560=_0xee295c[_0x55ad48(0xb9)]['find'](_0x386b0f=>_0x386b0f['id']===_0x339eec[_0x55ad48(0xbc)]),_0xebfc07=_0x2902a5[_0x55ad48(0xb4)](nestedKeyValue,_0x1ec560,[_0x2902a5[_0x55ad48(0x10a)],_0x2902a5[_0x55ad48(0xbf)]]),_0x494ff0=new Date()[_0x55ad48(0x8e)](),_0x2c463c=_0x2902a5[_0x55ad48(0xe9)],_0x13cf16=_0x1ec560[_0x55ad48(0xf9)]?_0x1ec560['tagExpression'][_0x55ad48(0xc2)]('\x20')['filter'](_0x2f66be=>_0x2f66be[_0x55ad48(0xe0)]('@')):[],_0x4b9d3={'uuid':_0x339eec['id'],'type':_0x2902a5[_0x55ad48(0xac)],'hook_type':_0x5cf0dc,'name':_0x1ec560[_0x55ad48(0x10b)],'body':{'lang':_0x2902a5['aVAOd'],'code':null},'tags':_0x13cf16,'test_run_id':_0x537df9,'scope':_0x2902a5['RsCzG'](nestedKeyValue,_0x2e7c40,[_0x2902a5[_0x55ad48(0x8f)],_0x2902a5['jGLze']]),'scopes':[_0x2902a5[_0x55ad48(0xff)](nestedKeyValue,_0x2e7c40,[_0x2902a5[_0x55ad48(0x8f)],_0x2902a5[_0x55ad48(0xc8)]])||''],'file_name':_0xebfc07,'location':_0xebfc07,'vc_filepath':this[_0x55ad48(0xbe)]?path[_0x55ad48(0x110)](this[_0x55ad48(0xbe)],_0xebfc07):null,'result':_0x2c463c,'started_at':_0x494ff0,'framework':_0x2902a5[_0x55ad48(0xdb)]};return _0x4b9d3;}catch(_0x49bee4){logger[_0x55ad48(0xfd)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x55ad48(0xc7)](_0x49bee4)+'\x20');}}async[a96_0x44196e(0xe3)](_0x214414,_0x4a34d6,_0x31a689,_0xc6fa69,_0x192ed4,_0x3c7dcb){const _0x497911=a96_0x44196e,_0x1c1495={'DFyHe':function(_0x3b645d,_0x31dd24){return _0x3b645d===_0x31dd24;},'yaYhn':_0x497911(0xb2),'ZOdrh':function(_0x4c9d98,_0x2d699c,_0xc4d5df){return _0x4c9d98(_0x2d699c,_0xc4d5df);},'ABnzU':_0x497911(0x91),'HJOVi':'uri','rZGqW':_0x497911(0xe2),'pKvqA':function(_0x5f434c,_0x43a9e0){return _0x5f434c===_0x43a9e0;},'Jbunl':'bstack'};try{const _0x349866=_0xc6fa69[_0x497911(0x112)](_0xc10e0e=>_0xc10e0e['id']===_0x192ed4);if(!_0x349866[_0x497911(0xbc)])return;const _0x4e5c58=this[_0x497911(0xab)](_0xc6fa69,_0x349866),_0x3bf47d=this[_0x497911(0xea)](_0x214414,_0x4a34d6,_0x31a689,_0x349866,_0x3c7dcb,_0x4e5c58);if(!_0x3bf47d)return;_0x1c1495[_0x497911(0xc4)](_0x31a689,_0x1c1495[_0x497911(0xdd)])&&(hooksMap[_0x4a34d6]?hooksMap[_0x4a34d6][_0x497911(0xd4)](_0x3bf47d):hooksMap[_0x4a34d6]=[_0x3bf47d]);const _0x226130=_0x214414[_0x497911(0xb9)]['find'](_0x1f3658=>_0x1f3658['id']===_0x349866[_0x497911(0xbc)]),_0x483c98=_0x1c1495[_0x497911(0xe4)](nestedKeyValue,_0x226130,[_0x1c1495[_0x497911(0xf0)],_0x1c1495[_0x497911(0x104)]]);if(!_0x483c98)return;else{if(_0x483c98[_0x497911(0xe0)](_0x1c1495[_0x497911(0xe6)]))return;}if(_0x1c1495[_0x497911(0xfa)](_0x3bf47d[_0x497911(0x10b)],_0x1c1495[_0x497911(0x94)]))return;return _0x3bf47d;}catch(_0x1835ed){logger[_0x497911(0xfd)](_0x497911(0xb5)+util[_0x497911(0xc7)](_0x1835ed)+'\x20');}}['getHookResult'](_0x5897f2,_0x409938){const _0x220001=a96_0x44196e,_0x1071e8={};_0x1071e8[_0x220001(0xfe)]=function(_0x273ed3,_0x5a3f4e){return _0x273ed3===_0x5a3f4e;},_0x1071e8[_0x220001(0xa2)]=_0x220001(0xe8),_0x1071e8['SfZkA']=_0x220001(0x8d),_0x1071e8[_0x220001(0x96)]=_0x220001(0xba),_0x1071e8[_0x220001(0x10e)]=function(_0x33fded,_0xff437c){return _0x33fded||_0xff437c;};const _0x1160b7=_0x1071e8,_0x4e0054=_0x5897f2[_0x220001(0xd0)][_0x409938][_0x220001(0x111)];let _0x325d10,_0x5180d0;return _0x4e0054&&_0x1160b7['FchAm'](_0x4e0054['status'][_0x220001(0x9e)]()[_0x220001(0x90)](),_0x1160b7[_0x220001(0xa2)])&&(_0x325d10=_0x1160b7[_0x220001(0xfe)](_0x4e0054[_0x220001(0xa5)],undefined)?_0x4e0054[_0x220001(0x113)]:_0x4e0054[_0x220001(0xa5)][_0x220001(0x113)],_0x5180d0=_0x1160b7[_0x220001(0xfe)](_0x4e0054[_0x220001(0xa5)],undefined)?_0x1160b7[_0x220001(0xf1)]:_0x4e0054[_0x220001(0x113)][_0x220001(0xa9)](/Assert/)?_0x1160b7[_0x220001(0x96)]:_0x1160b7['SfZkA']),{'status':_0x4e0054[_0x220001(0xb6)][_0x220001(0x90)](),'failureType':_0x1160b7[_0x220001(0x10e)](_0x5180d0,null),'failureData':!_0x325d10?null:[_0x325d10]};}[a96_0x44196e(0xab)](_0x1b4396,_0x2d76a0){const _0x28aee8=a96_0x44196e,_0x2d1260={};_0x2d1260[_0x28aee8(0xc3)]=function(_0xe2370a,_0x411c65){return _0xe2370a===_0x411c65;},_0x2d1260['rwtsg']=_0x28aee8(0x109),_0x2d1260[_0x28aee8(0xa8)]=_0x28aee8(0xd3);const _0x179c33=_0x2d1260;let _0x4d25ed=![];for(const _0x1d9cb8 of _0x1b4396){_0x1d9cb8[_0x28aee8(0xf5)]&&(_0x4d25ed=!![]);if(_0x179c33[_0x28aee8(0xc3)](_0x2d76a0['id'],_0x1d9cb8['id']))return _0x4d25ed?_0x179c33[_0x28aee8(0xaf)]:_0x179c33[_0x28aee8(0xa8)];}}[a96_0x44196e(0xb1)]=(_0x18f17b,_0x1b3f4d)=>{const _0x59d18f=a96_0x44196e,_0x558100={};_0x558100[_0x59d18f(0xc6)]=function(_0x4bcbf2,_0x5b40ff){return _0x4bcbf2===_0x5b40ff;},_0x558100[_0x59d18f(0xb0)]=function(_0x14284e,_0x415668){return _0x14284e===_0x415668;},_0x558100[_0x59d18f(0x8b)]=function(_0x1fb6c5,_0x3c0294){return _0x1fb6c5>_0x3c0294;};const _0x5b0e9a=_0x558100;if(!(_0x1b3f4d[_0x59d18f(0x105)]&&_0x5b0e9a[_0x59d18f(0x8b)](_0x1b3f4d[_0x59d18f(0x105)][_0x59d18f(0x10d)],0x1)))return;const _0x54015c=_0x1b3f4d[_0x59d18f(0x105)][0x0],_0x50989f=_0x1b3f4d[_0x59d18f(0x105)][0x1],_0x157896=_0x18f17b[_0x59d18f(0xdc)]&&_0x18f17b['feature'][_0x59d18f(0x9b)]?_0x18f17b[_0x59d18f(0xdc)]['children']:undefined;let _0x189a53=[];_0x157896&&_0x157896['forEach'](_0x5eb03a=>{const _0xbae6b0=_0x59d18f,_0x2fc5c9={'ajPDu':function(_0x21f4bf,_0x43f416){return _0x5b0e9a['dnFdI'](_0x21f4bf,_0x43f416);}};if(_0x5eb03a['rule'])_0x5eb03a['rule'][_0xbae6b0(0x9b)][_0xbae6b0(0xae)](_0x19fa46=>{const _0x2c9f02=_0xbae6b0;if(_0x19fa46[_0x2c9f02(0xd5)]&&_0x2fc5c9[_0x2c9f02(0xca)](_0x19fa46[_0x2c9f02(0xd5)]['id'],_0x54015c)&&_0x19fa46['scenario'][_0x2c9f02(0xe5)]){const _0x523722=_0x19fa46[_0x2c9f02(0xd5)]['examples'][_0x2c9f02(0xc0)](_0x5e124e=>_0x5e124e[_0x2c9f02(0xd9)])[_0x2c9f02(0x112)](_0x19e2cb=>_0x19e2cb['id']===_0x50989f);let _0x50dc36;_0x523722&&_0x523722[_0x2c9f02(0xc5)]?_0x50dc36=_0x523722['cells']['map'](_0x308c10=>_0x308c10[_0x2c9f02(0xf3)]):_0x50dc36=[],_0x50dc36&&(_0x189a53=_0x50dc36);}});else{if(_0x5eb03a['scenario']&&_0x5b0e9a[_0xbae6b0(0xb0)](_0x5eb03a[_0xbae6b0(0xd5)]['id'],_0x54015c)&&_0x5eb03a[_0xbae6b0(0xd5)]['examples']){const _0xd038e9=_0x5eb03a['scenario']['examples']['flatMap'](_0x54b7cc=>_0x54b7cc[_0xbae6b0(0xd9)])[_0xbae6b0(0x112)](_0x27b4b2=>_0x27b4b2['id']===_0x50989f);let _0x18076a;_0xd038e9&&_0xd038e9[_0xbae6b0(0xc5)]?_0x18076a=_0xd038e9[_0xbae6b0(0xc5)]['map'](_0x525025=>_0x525025[_0xbae6b0(0xf3)]):_0x18076a=[],_0x18076a&&(_0x189a53=_0x18076a);}}});if(_0x189a53[_0x59d18f(0x10d)])return _0x189a53;return;};async[a96_0x44196e(0xe1)](){const _0x13d529=a96_0x44196e,_0x4afea0={'SyzYi':function(_0x5c421c){return _0x5c421c();}};if(this[_0x13d529(0xec)])return this[_0x13d529(0xbe)];const _0x3b7517=await _0x4afea0[_0x13d529(0xd6)](getGitMetaData);_0x3b7517&&(this['_gitConfigPath']=_0x3b7517[_0x13d529(0x102)]),this[_0x13d529(0xec)]=!![];}}module[a96_0x44196e(0x9d)]=o11yClassErrorHandler(CucumberUtils,[a96_0x44196e(0xe1),a96_0x44196e(0xb1),a96_0x44196e(0xab),'getHookResult','sendHook',a96_0x44196e(0xea),a96_0x44196e(0x107),a96_0x44196e(0x97)]);