browserstack-node-sdk 1.59.0 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) 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 +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/assets/report.html +1 -1
  43. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  44. package/src/bin/codeceptjs/command.js +1 -1
  45. package/src/bin/codeceptjs/helper.js +1 -1
  46. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  47. package/src/bin/cucumber-js/command.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/test-observability.js +1 -1
  51. package/src/bin/cucumber-js/test.setup.js +1 -1
  52. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  53. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  54. package/src/bin/integrations/command.js +1 -1
  55. package/src/bin/integrations/constants.js +1 -1
  56. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  57. package/src/bin/jasmine/command.js +1 -1
  58. package/src/bin/jasmine/test.setup.js +1 -1
  59. package/src/bin/jasmine/testRunMap.js +1 -1
  60. package/src/bin/jest/command.js +1 -1
  61. package/src/bin/jest/customImplements/customCircus.js +1 -1
  62. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  63. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  64. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  65. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  66. package/src/bin/jest/jest.setup.js +1 -1
  67. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  68. package/src/bin/jest/test-observability/helper.js +1 -1
  69. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  70. package/src/bin/jest/test-observability/test-details.js +1 -1
  71. package/src/bin/jest/test.setup.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  155. package/src/bin/v2/state/hookState.js +1 -1
  156. package/src/bin/v2/state/testFrameworkState.js +1 -1
  157. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  158. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  159. package/src/bin/v2/utils/jest-utils.js +1 -1
  160. package/src/bin/vanilla-js/command.js +1 -1
  161. package/src/browserStackSdk.js +1 -1
  162. package/src/helpers/BrowserStackSetup.js +1 -1
  163. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  164. package/src/helpers/accessibility-automation/constants.js +1 -1
  165. package/src/helpers/accessibility-automation/helper.js +1 -1
  166. package/src/helpers/accessibility-automation/scripts.js +1 -1
  167. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  168. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/timeoutPromise.js +1 -1
  214. package/src/helpers/utilities.js +1 -1
  215. package/src/helpers/w3cMapping.js +1 -1
  216. package/src/hubAllocationMethods.js +1 -1
  217. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a84_0x6f7930=a84_0x1b0e;function a84_0x8685(){const _0x1c5f4e=['../../helpers/test-observability/utils.js','ntllq','TiBYn','warn','QgkQF','parse','setupCliPath','startsWith','zEmvf','env','Temp\x20file\x20is\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','CMRDi','6033sdjKOZ','downloadLatestBinary','9DBhKun','120SYCcHj','data','unlink','mdcQt','EHJWl','length','EXDEV','UuFxm','createWriteStream','uFOBp','CLI\x20version\x20found\x20despite\x20error:\x20\x22','readEntry','path','closeSync','rqove','767602vYKfET','../../helpers/classLogger.js','Got\x20Error\x20while\x20downloading\x20SDK\x20binary\x20file\x20%s','unix:/tmp/sdk-platform-','reduce','rEcWN','BROWSERSTACK_BINARY_URL','rename','debug','hnePR','KIruW','join','test','Using\x20BROWSERSTACK_BINARY_URL\x20from\x20env\x20variable:\x20','copyFileSync','Unable\x20to\x20get\x20writable\x20directory,\x20exception\x20','rDvgP','skipSessionName','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','platform','close','pYoHK','aBOlc','getWritableDir','../utils/apiUtilityMethods.js','../../helpers/performance/performance-tester.js','xjWKA','1316722pjCiCt','.tmp.','mergeObject','worker_threads','existsSync','url','BROWSERSTACK_CLI_ENV','vMQyr','Failed\x20to\x20download\x20SDK\x20binary,\x20Exception:\x20','cli_version','error','No\x20writable\x20directory\x20available\x20for\x20the\x20CLI','GET','gMkyD','isDirectory','LvuJw','getSdkLanguage','getSdkVersion','getCurrentInstanceName','open','kkuGl','Temp\x20file\x20is\x20busy,\x20falling\x20back\x20to\x20existing\x20binary:\x20','Unable\x20to\x20set\x20required\x20permissions\x20to\x20','info','shouldSkipSessionStatus','entries',',\x20automationFramework=','hjbea','message','Test\x20or\x20Automation\x20framework\x20not\x20provided\x20testFramework=','downloaded_file_','MMxAP','fileName','matchHookRegex','openSync','zssCZ','requestToUpdateCLI','ytOXd','../../helpers/utilities','../../helpers/performance/constants','skipSessionStatus','lazyEntries','split','../../helpers/helper','kHmkJ','./state/testFrameworkState.js','JXKkZ','pid','shouldSkipSessionName','Error\x20in\x20setting\x20up\x20cli\x20path\x20directory,\x20Exception:\x20','arch','SDK_CLI_DOWNLOAD','Resolving\x20with\x20stdout:\x20\x22','tnUMV','Got\x20Error\x20in\x20SDK\x20binary\x20downloading\x20request\x20','getTestFrameworkDetail','statSync','testContextOptions','testFrameworkDetail','yauzl','lpCQg','Development\x20Cli\x20Path:\x20','mbyDv','ZijqN','LBAaz','kDoEj','KAXiB','./state/automationFrameworkState.js','pAtlk','code','end','tmpdir','concat','get','QAIFk','BfCMW','getCLIParamsForDevEnv','iaDWa','.sock','Configuring\x20Cli\x20path.','sgCyZ','timeout','vqHau','TwcQO','Failed\x20to\x20delete\x20zip\x20file:\x20','BROWSERSTACK_FILES_DIR','cli','DClGE','mtime','Cross-device\x20rename,\x20falling\x20back\x20to\x20copy:\x20','getExistingCliPath','node','automationFrameworkDetail','stringify','listen','getCliDir','2601358FuRnjX','isDevelopmentEnv','Folder\x20does\x20not\x20exist:\x20','gdILw','pipe','SHELL_EXECUTE_ERROR','IyvUB','SDK_CLI_BIN_PATH','filter','IHsmH','1492fruLML','development','\x20already\x20exists','VtegM','getAutomationFrameworkDetail','./state/hookState.js','downloadFileStream','JyQNQ','includes','OMtfS','XKPXk','lfOII','Error\x20checking\x20if\x20binary\x20is\x20busy:\x20','XcGgM','start','oUetq','Temp\x20file\x20became\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','gkUYA','../utils/constants','BdDUM','Error\x20in\x20getting\x20writable\x20directory,\x20writableDir=','trim','25UgysvU','4|3|0|2|1','PGtIh','1744784dIgeAG','homedir','once','checkAndUpdateCli','version','nBDvP','SGsKQ','sUNvM','1507794GQNeHv','GTjNN','0755','uTpNo','format','\x20version','3380958DBcgES','openReadStream','TAgTJ','SDK_CLI_CHECK_UPDATE','response\x20','filePath','vqSEt','EDIwK','BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL','Need\x20to\x20update\x20binary,\x20current\x20binary\x20version:\x20','uXkAJ','Setting\x20required\x20permissions\x20to\x20','Got\x20Error\x20in\x20SDK\x20binary\x20download\x20response\x20%s','child_process','isBinaryBusy','.browserstack','cJthP','jyeqq','exports','HWdic','follow-redirects','TEXkm','Binary\x20is\x20busy:\x20'];a84_0x8685=function(){return _0x1c5f4e;};return a84_0x8685();}(function(_0x49aad0,_0x3f7af4){const _0xbe71c6=a84_0x1b0e,_0x3cfbec=_0x49aad0();while(!![]){try{const _0x59b131=-parseInt(_0xbe71c6(0x1bb))/0x1+-parseInt(_0xbe71c6(0x155))/0x2+parseInt(_0xbe71c6(0x1a9))/0x3*(parseInt(_0xbe71c6(0x15f))/0x4)+-parseInt(_0xbe71c6(0x175))/0x5*(-parseInt(_0xbe71c6(0x180))/0x6)+-parseInt(_0xbe71c6(0x186))/0x7+-parseInt(_0xbe71c6(0x178))/0x8*(parseInt(_0xbe71c6(0x1ab))/0x9)+parseInt(_0xbe71c6(0x1ac))/0xa*(parseInt(_0xbe71c6(0x1d6))/0xb);if(_0x59b131===_0x3f7af4)break;else _0x3cfbec['push'](_0x3cfbec['shift']());}catch(_0xf902d0){_0x3cfbec['push'](_0x3cfbec['shift']());}}}(a84_0x8685,0xa4771));const fs=require('fs'),os=require('os'),url=require('url'),path=require(a84_0x6f7930(0x1b8)),{exec}=require(a84_0x6f7930(0x193)),{https}=require(a84_0x6f7930(0x19a)),yauzl=require(a84_0x6f7930(0x130)),util=require('util'),{getFrameworkVersion}=require(a84_0x6f7930(0x19d)),{threadId}=require(a84_0x6f7930(0x1d9)),PerformanceTester=require(a84_0x6f7930(0x1d4)),{EVENTS:PerformanceEvents}=require(a84_0x6f7930(0x1fd)),{isNullOrEmpty,isModifiable,setReadWriteExecuteAccess}=require(a84_0x6f7930(0x1fc)),{isTrue,createDir,getHostInfo,nodeRequest,nestedKeyValue}=require(a84_0x6f7930(0x201)),{UPDATED_CLI_ENDPOINT,BINARY_BUSY_ERROR_CODES}=require(a84_0x6f7930(0x171)),{createClassLogger}=require(a84_0x6f7930(0x1bc)),TestFrameworkInstance=require('./instances/testFrameworkInstance.js'),HookState=require(a84_0x6f7930(0x164)),TestFrameworkState=require(a84_0x6f7930(0x203)),AutomationFrameworkState=require(a84_0x6f7930(0x138)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants.js'),logger=createClassLogger('CLIUtils'),{getBStackAPIUrl}=require(a84_0x6f7930(0x1d3));class CLIUtils{[a84_0x6f7930(0x151)]={};[a84_0x6f7930(0x12f)]={};static[a84_0x6f7930(0x156)](){const _0x42bca2=a84_0x6f7930,_0x5749d8={};_0x5749d8[_0x42bca2(0x1a8)]=function(_0x4dd2e1,_0x419733){return _0x4dd2e1===_0x419733;},_0x5749d8['niiSc']=_0x42bca2(0x160);const _0x3642ee=_0x5749d8;return _0x3642ee[_0x42bca2(0x1a8)](process['env'][_0x42bca2(0x1dc)],_0x3642ee['niiSc']);}static[a84_0x6f7930(0x141)](){const _0x205d07=a84_0x6f7930,_0x138874={};return _0x138874['id']=process[_0x205d07(0x1a6)]['BROWSERSTACK_CLI_ENV'],_0x138874[_0x205d07(0x153)]=_0x205d07(0x1be)+process[_0x205d07(0x1a6)][_0x205d07(0x1dc)]+_0x205d07(0x143),_0x138874;}static[a84_0x6f7930(0x1e7)](){const _0x46251f=a84_0x6f7930,_0x8f92d3={'JyQNQ':function(_0x5d2e79,_0x1b143b){return _0x5d2e79(_0x1b143b);},'BdDUM':'../../../package.json'};return _0x8f92d3[_0x46251f(0x166)](require,_0x8f92d3[_0x46251f(0x172)])[_0x46251f(0x17c)];}static[a84_0x6f7930(0x1e6)](){const _0x4baccd=a84_0x6f7930,_0x1dfcb2={};_0x1dfcb2[_0x4baccd(0x1c5)]=_0x4baccd(0x150);const _0x25f4e8=_0x1dfcb2;return _0x25f4e8[_0x4baccd(0x1c5)];}static async[a84_0x6f7930(0x1a3)](_0x51aaa7){const _0x38b9f2=a84_0x6f7930,_0x321fec={'zEmvf':_0x38b9f2(0x144),'tnUMV':function(_0x55f32f,_0x4d88e3){return _0x55f32f(_0x4d88e3);},'aBOlc':_0x38b9f2(0x1e1)};logger['debug'](_0x321fec[_0x38b9f2(0x1a5)]);const _0x3a1427=process['env'][_0x38b9f2(0x15c)];if(!_0x321fec[_0x38b9f2(0x12a)](isNullOrEmpty,_0x3a1427))return logger['debug'](_0x38b9f2(0x132)+_0x3a1427),_0x3a1427;try{const _0x14cee8=this[_0x38b9f2(0x154)]();if(_0x321fec['tnUMV'](isNullOrEmpty,_0x14cee8))throw new Error(_0x321fec[_0x38b9f2(0x1d1)]);const _0x5b1112=this['getExistingCliPath'](_0x14cee8),_0x41cc04=await this['checkAndUpdateCli'](_0x5b1112,_0x14cee8,_0x51aaa7);return logger[_0x38b9f2(0x1c3)]('Resolved\x20binary\x20path:\x20'+_0x41cc04),_0x41cc04;}catch(_0x26b7fd){logger[_0x38b9f2(0x1c3)](_0x38b9f2(0x207)+util['format'](_0x26b7fd));}return null;}static async[a84_0x6f7930(0x17b)](_0x5ddb90,_0x4caddf,_0x3018a5){const _0x1d388a=a84_0x6f7930,_0x1f307e={'mWCVe':function(_0x4ea05e){return _0x4ea05e();},'IyvUB':function(_0x41544f,_0x800d49){return _0x41544f(_0x800d49);},'sUNvM':function(_0x11b660,_0x4e5b42,_0x463c8b){return _0x11b660(_0x4e5b42,_0x463c8b);},'uTpNo':_0x1d388a(0x1ad),'OMtfS':'url','XcGgM':function(_0x1f5714,_0x2a449b,_0x5b9615){return _0x1f5714(_0x2a449b,_0x5b9615);}};PerformanceTester[_0x1d388a(0x16d)](PerformanceEvents[_0x1d388a(0x189)]),logger['info']('Current\x20CLI\x20Path\x20Found:\x20'+_0x5ddb90);const _0x340cc0=_0x1f307e['mWCVe'](getHostInfo),_0x663d00={'sdk_version':CLIUtils[_0x1d388a(0x1e7)](),'os':_0x340cc0[_0x1d388a(0x1ce)],'os_arch':_0x340cc0[_0x1d388a(0x208)],'cli_version':'0','sdk_language':this[_0x1d388a(0x1e6)]()};!_0x1f307e[_0x1d388a(0x15b)](isNullOrEmpty,_0x5ddb90)&&(_0x663d00[_0x1d388a(0x1df)]=await this['runShellCommand'](_0x5ddb90+_0x1d388a(0x185)));const _0x5a4117=await this[_0x1d388a(0x1fa)](_0x663d00,_0x3018a5);process[_0x1d388a(0x1a6)][_0x1d388a(0x1c1)]&&(logger[_0x1d388a(0x1ed)](_0x1d388a(0x1c8)+process[_0x1d388a(0x1a6)][_0x1d388a(0x1c1)]),_0x5a4117[_0x1d388a(0x1ad)][_0x1d388a(0x1db)]=process['env'][_0x1d388a(0x1c1)]);if(_0x1f307e[_0x1d388a(0x17f)](nestedKeyValue,_0x5a4117,[_0x1f307e[_0x1d388a(0x183)],_0x1f307e[_0x1d388a(0x168)]])){logger[_0x1d388a(0x1c3)](_0x1d388a(0x18f)+_0x663d00[_0x1d388a(0x1df)]);if(!_0x1f307e['IyvUB'](isNullOrEmpty,_0x5ddb90)&&this[_0x1d388a(0x194)](_0x5ddb90))return logger['warn']('Existing\x20binary\x20is\x20currently\x20in\x20use,\x20skipping\x20update\x20and\x20continuing\x20with\x20current\x20version:\x20'+_0x5ddb90),PerformanceTester[_0x1d388a(0x13b)](PerformanceEvents[_0x1d388a(0x189)]),_0x5ddb90;const _0x510551=await this[_0x1d388a(0x1aa)](_0x1f307e[_0x1d388a(0x16c)](nestedKeyValue,_0x5a4117,[_0x1f307e[_0x1d388a(0x183)],_0x1f307e['OMtfS']]),_0x4caddf);return PerformanceTester[_0x1d388a(0x13b)](PerformanceEvents[_0x1d388a(0x189)]),_0x510551;}return PerformanceTester[_0x1d388a(0x13b)](PerformanceEvents[_0x1d388a(0x189)]),_0x5ddb90;}static[a84_0x6f7930(0x154)](){const _0x526f1d=a84_0x6f7930,_0x5ce73f={'iaDWa':function(_0x548f49,_0x15ece6){return _0x548f49(_0x15ece6);},'gMkyD':_0x526f1d(0x1e1),'xjWKA':_0x526f1d(0x14b)},_0x2bd930=this[_0x526f1d(0x1d2)]();try{if(_0x5ce73f[_0x526f1d(0x142)](isNullOrEmpty,_0x2bd930))throw new Error(_0x5ce73f[_0x526f1d(0x1e3)]);const _0x249cc7=path[_0x526f1d(0x1c6)](_0x2bd930,_0x5ce73f[_0x526f1d(0x1d5)]);return!fs['existsSync'](_0x249cc7)&&_0x5ce73f['iaDWa'](createDir,_0x249cc7),_0x249cc7;}catch(_0x36f744){logger['debug'](_0x526f1d(0x173)+util[_0x526f1d(0x184)](_0x36f744));}}static[a84_0x6f7930(0x1d2)](){const _0xce3d4b=a84_0x6f7930,_0x2b07d4={'JXKkZ':_0xce3d4b(0x195),'LBAaz':function(_0x5b34c9,_0x32b870){return _0x5b34c9(_0x32b870);},'sgCyZ':function(_0x504c1c,_0x32c4af){return _0x504c1c(_0x32c4af);}},_0x5ac0ad=[process['env'][_0xce3d4b(0x14a)],path[_0xce3d4b(0x1c6)](os[_0xce3d4b(0x179)](),_0x2b07d4[_0xce3d4b(0x204)]),path[_0xce3d4b(0x1c6)](os[_0xce3d4b(0x13c)](),_0x2b07d4[_0xce3d4b(0x204)])];for(const _0x4fb661 of _0x5ac0ad){if(_0x2b07d4['LBAaz'](isNullOrEmpty,_0x4fb661))continue;try{if(fs['existsSync'](_0x4fb661)){logger['debug']('Folder\x20'+_0x4fb661+_0xce3d4b(0x161));if(!_0x2b07d4[_0xce3d4b(0x135)](isModifiable,_0x4fb661)){logger[_0xce3d4b(0x1c3)](_0xce3d4b(0x191)+_0x4fb661);const _0x1e125c=_0x2b07d4[_0xce3d4b(0x135)](setReadWriteExecuteAccess,_0x4fb661);if(!_0x2b07d4[_0xce3d4b(0x145)](isTrue,_0x1e125c)){logger[_0xce3d4b(0x1a0)](_0xce3d4b(0x1ec)+_0x4fb661);continue;}}}else{logger[_0xce3d4b(0x1c3)](_0xce3d4b(0x157)+_0x4fb661),_0x2b07d4[_0xce3d4b(0x135)](createDir,_0x4fb661),logger[_0xce3d4b(0x1c3)]('Setting\x20required\x20permissions\x20to\x20'+_0x4fb661);const _0xba5820=_0x2b07d4[_0xce3d4b(0x135)](setReadWriteExecuteAccess,_0x4fb661);!_0x2b07d4[_0xce3d4b(0x145)](isTrue,_0xba5820)&&logger[_0xce3d4b(0x1a0)](_0xce3d4b(0x1ec)+_0x4fb661);}return _0x4fb661;}catch(_0x2518c1){logger['error'](_0xce3d4b(0x1ca)+util[_0xce3d4b(0x184)](_0x2518c1));}}return null;}static[a84_0x6f7930(0x14f)](_0x5c3310){const _0x1868ca=a84_0x6f7930,_0x1edfcc={};_0x1edfcc[_0x1868ca(0x181)]=function(_0x1ff9f1,_0x108fd9){return _0x1ff9f1>_0x108fd9;},_0x1edfcc[_0x1868ca(0x14c)]=function(_0x2de0be,_0xc284b5){return _0x2de0be>_0xc284b5;};const _0x416da4=_0x1edfcc;try{if(!fs[_0x1868ca(0x1da)](_0x5c3310)||!fs[_0x1868ca(0x12d)](_0x5c3310)[_0x1868ca(0x1e4)]())return'';const _0x36f466=fs['readdirSync'](_0x5c3310)['map'](_0x200e78=>path['join'](_0x5c3310,_0x200e78))[_0x1868ca(0x15d)](_0x3d870b=>fs[_0x1868ca(0x12d)](_0x3d870b)['isFile']()&&path['basename'](_0x3d870b)[_0x1868ca(0x1a4)]('binary-'));if(_0x416da4['DClGE'](_0x36f466[_0x1868ca(0x1b1)],0x0)){const _0x578757=_0x36f466['map'](_0x260f31=>({'filePath':_0x260f31,'mtime':fs[_0x1868ca(0x12d)](_0x260f31)['mtime']}))[_0x1868ca(0x1bf)]((_0x1bb7f2,_0x296d8f)=>{const _0x2a210d=_0x1868ca;if(!_0x1bb7f2||!_0x1bb7f2[_0x2a210d(0x14d)])return _0x296d8f;if(_0x416da4['GTjNN'](_0x296d8f[_0x2a210d(0x14d)],_0x1bb7f2[_0x2a210d(0x14d)]))return _0x296d8f;return _0x1bb7f2;},{});return _0x578757?_0x578757[_0x1868ca(0x18b)]:'';}return'';}catch(_0x521285){return logger['error']('Error\x20while\x20reading\x20CLI\x20path:\x20'+util[_0x1868ca(0x184)](_0x521285)),'';}}static [a84_0x6f7930(0x1fa)]=async(_0xa7dfa0,_0x3ed4c7)=>{const _0x28386d=a84_0x6f7930,_0x2bfce8={'ZijqN':function(_0x216cc9,_0xb09716,_0x547c15,_0x408a81,_0x15b1df){return _0x216cc9(_0xb09716,_0x547c15,_0x408a81,_0x15b1df);},'RbQXf':_0x28386d(0x1e2)},_0xbc2328={};_0xbc2328['qs']=_0xa7dfa0;const _0x44620b=await _0x2bfce8[_0x28386d(0x134)](nodeRequest,_0x2bfce8['RbQXf'],UPDATED_CLI_ENDPOINT,_0xbc2328,_0x3ed4c7);return logger[_0x28386d(0x1c3)](_0x28386d(0x18a)+JSON['stringify'](_0x44620b)),_0x44620b;};static[a84_0x6f7930(0x194)](_0x21e3dc){const _0x2f45d9=a84_0x6f7930;try{const _0x24c765=fs[_0x2f45d9(0x1f8)](_0x21e3dc,'r+');return fs[_0x2f45d9(0x1b9)](_0x24c765),![];}catch(_0x1e08a1){if(BINARY_BUSY_ERROR_CODES[_0x2f45d9(0x167)](_0x1e08a1[_0x2f45d9(0x13a)]))return logger[_0x2f45d9(0x1c3)](_0x2f45d9(0x19c)+_0x21e3dc),!![];return logger[_0x2f45d9(0x1c3)](_0x2f45d9(0x16b)+_0x1e08a1['message']),![];}}static['runShellCommand'](_0x137731,_0x1385d9=''){const _0x1b34ae=a84_0x6f7930,_0x720c1e={'QAIFk':_0x1b34ae(0x17c),'CPeMs':function(_0x23e156,_0x1aeeab){return _0x23e156(_0x1aeeab);},'USfiQ':_0x1b34ae(0x15a),'hYgTn':function(_0x586fec,_0x4a72b2){return _0x586fec(_0x4a72b2);},'kgjVn':function(_0x5b5438,_0xaac311,_0x2a39e3,_0x3b3e61){return _0x5b5438(_0xaac311,_0x2a39e3,_0x3b3e61);},'TEXkm':'error'};return new Promise((_0x3efa3a,_0x487a07)=>{const _0x165f47=_0x1b34ae,_0x526ec8={'gkUYA':_0x720c1e[_0x165f47(0x13f)],'MMxAP':function(_0xf8ddd,_0x59ce0d){return _0x720c1e['CPeMs'](_0xf8ddd,_0x59ce0d);},'gdILw':_0x720c1e['USfiQ'],'LZrpI':function(_0x5b004c,_0x263cf7){return _0x720c1e['hYgTn'](_0x5b004c,_0x263cf7);}},_0x3d0e4d={};_0x3d0e4d['cwd']=_0x1385d9,_0x3d0e4d[_0x165f47(0x146)]=0x1388;const _0x28bdba=_0x720c1e['kgjVn'](exec,_0x137731,_0x3d0e4d,(_0x5e4170,_0x1d0b96,_0x1be340)=>{const _0x2fbc14=_0x165f47;if(_0x5e4170){if(_0x137731[_0x2fbc14(0x167)](_0x526ec8[_0x2fbc14(0x170)])&&(_0x1d0b96[_0x2fbc14(0x174)]()||_0x1be340['trim']())){const _0x3e7d25=_0x1d0b96['trim']()||_0x1be340[_0x2fbc14(0x174)]();logger[_0x2fbc14(0x1c3)](_0x2fbc14(0x1b6)+_0x3e7d25+'\x22'),_0x526ec8[_0x2fbc14(0x1f5)](_0x3efa3a,_0x3e7d25);}else _0x526ec8['MMxAP'](_0x3efa3a,_0x1be340[_0x2fbc14(0x174)]()||_0x526ec8['gdILw']);}else logger[_0x2fbc14(0x1c3)](_0x2fbc14(0x20a)+_0x1d0b96[_0x2fbc14(0x174)]()+'\x22'),_0x526ec8['LZrpI'](_0x3efa3a,_0x1d0b96[_0x2fbc14(0x174)]());});_0x28bdba['on'](_0x720c1e[_0x165f47(0x19b)],()=>{const _0xf263d0=_0x165f47;_0x526ec8[_0xf263d0(0x1f5)](_0x3efa3a,_0x526ec8[_0xf263d0(0x158)]);});});}static [a84_0x6f7930(0x1aa)]=async(_0x396cd4,_0x366671)=>{const _0x3edd3b=a84_0x6f7930,_0x5521d8={'rDvgP':function(_0x64771c,_0x463f02){return _0x64771c(_0x463f02);},'SGsKQ':_0x3edd3b(0x192),'zjiGW':function(_0xd2c6f1,_0x4620aa){return _0xd2c6f1(_0x4620aa);},'PGtIh':_0x3edd3b(0x1bd),'GsBIt':_0x3edd3b(0x1e0)};PerformanceTester[_0x3edd3b(0x16d)](PerformanceEvents[_0x3edd3b(0x209)]),logger['debug']('Downloading\x20SDK\x20binary\x20from:\x20'+_0x396cd4);try{const _0x5a3f3f=url[_0x3edd3b(0x1a2)](_0x396cd4),_0x14ba87=path[_0x3edd3b(0x1c6)](_0x366671,_0x3edd3b(0x1f4)+process[_0x3edd3b(0x205)]+'.zip'),_0x5dcf76=fs[_0x3edd3b(0x1b4)](_0x14ba87);return new Promise((_0x288349,_0x662b65)=>{const _0x5c318b=_0x3edd3b,_0x42217a={'zGyHG':function(_0x47d36b,_0x48e3fd){const _0x5a7b9b=a84_0x1b0e;return _0x5521d8[_0x5a7b9b(0x1cb)](_0x47d36b,_0x48e3fd);},'VPzLw':_0x5521d8[_0x5c318b(0x17e)],'pYoHK':function(_0x4a72ba,_0x39c93f){return _0x5521d8['zjiGW'](_0x4a72ba,_0x39c93f);},'TwcQO':_0x5521d8[_0x5c318b(0x177)],'kDoEj':_0x5521d8['GsBIt']};https[_0x5c318b(0x13e)](_0x5a3f3f,function(_0x503d10){const _0x49d169=_0x5c318b,_0x876423={'rqove':_0x42217a['VPzLw'],'kHmkJ':function(_0xe8c7a6,_0x4aec37){const _0x25fb51=a84_0x1b0e;return _0x42217a[_0x25fb51(0x1d0)](_0xe8c7a6,_0x4aec37);},'UuFxm':_0x42217a[_0x49d169(0x148)],'jSjvE':function(_0x8c67b4,_0x2acec8){const _0x4c795d=_0x49d169;return _0x42217a[_0x4c795d(0x1d0)](_0x8c67b4,_0x2acec8);}},_0x2fd56d=null;_0x503d10[_0x49d169(0x159)](_0x5dcf76),_0x503d10['on'](_0x42217a['kDoEj'],function(_0xb0a2d6){const _0x1207ab=_0x49d169;logger['error'](util[_0x1207ab(0x184)](_0x876423[_0x1207ab(0x1ba)],_0xb0a2d6)),PerformanceTester[_0x1207ab(0x13b)](PerformanceEvents['SDK_CLI_DOWNLOAD'],![],util[_0x1207ab(0x184)](_0xb0a2d6)),_0x876423[_0x1207ab(0x202)](_0x662b65,_0xb0a2d6);}),_0x5dcf76['on'](_0x42217a[_0x49d169(0x136)],function(_0x57989d){const _0x329e8a=_0x49d169;logger['error'](util[_0x329e8a(0x184)](_0x876423[_0x329e8a(0x1b3)],_0x57989d)),PerformanceTester[_0x329e8a(0x13b)](PerformanceEvents[_0x329e8a(0x209)],![],util['format'](_0x57989d)),_0x876423[_0x329e8a(0x202)](_0x662b65,_0x57989d);}),CLIUtils[_0x49d169(0x165)](_0x5dcf76,_0x2fd56d,_0x14ba87,_0x366671,_0x184edf=>{const _0x5b98dd=_0x49d169;PerformanceTester['end'](PerformanceEvents[_0x5b98dd(0x209)]),_0x876423['jSjvE'](_0x288349,_0x184edf);},_0x1fdb98=>{const _0x3995df=_0x49d169;PerformanceTester[_0x3995df(0x13b)](PerformanceEvents[_0x3995df(0x209)],![],util[_0x3995df(0x184)](_0x1fdb98)),_0x42217a['zGyHG'](_0x662b65,_0x1fdb98);});})['on'](_0x5521d8['GsBIt'],function(_0x28a527){const _0x2882eb=_0x5c318b;logger[_0x2882eb(0x1e0)](_0x2882eb(0x12b)+util[_0x2882eb(0x184)](_0x28a527)),PerformanceTester['end'](PerformanceEvents[_0x2882eb(0x209)],![],util['format'](_0x28a527)),_0x42217a['zGyHG'](_0x662b65,_0x28a527);});});}catch(_0x4eccce){PerformanceTester[_0x3edd3b(0x13b)](PerformanceEvents[_0x3edd3b(0x209)],![],util[_0x3edd3b(0x184)](_0x4eccce)),logger[_0x3edd3b(0x1c3)](_0x3edd3b(0x1de)+util[_0x3edd3b(0x184)](_0x4eccce));}};static[a84_0x6f7930(0x165)](_0x5c47d7,_0xfbc61b,_0x1322d9,_0x16b52f,_0x2102e6,_0x232510){const _0x151c44=a84_0x6f7930,_0x376cfd={'kcaeL':function(_0x2710de,_0x417392){return _0x2710de(_0x417392);},'mbyDv':_0x151c44(0x1cf),'hnePR':_0x151c44(0x13b),'QgkQF':function(_0x4519a8,_0x3eaca2){return _0x4519a8(_0x3eaca2);},'zssCZ':function(_0x3d601a,_0x270539){return _0x3d601a(_0x270539);},'TAgTJ':'entry','EHJWl':_0x151c44(0x1e0),'BfCMW':function(_0x4ce11e,_0x161184){return _0x4ce11e!==_0x161184;},'oUetq':function(_0x5ae288,_0x1b7ad0){return _0x5ae288!==_0x1b7ad0;},'kkuGl':_0x151c44(0x1b2),'TiBYn':function(_0x580311,_0x3a90db){return _0x580311(_0x3a90db);},'MdDwb':function(_0xea78a4,_0xfa4f91){return _0xea78a4(_0xfa4f91);},'aXcfZ':_0x151c44(0x182)};_0x5c47d7['on'](_0x376cfd[_0x151c44(0x133)],function(){const _0x4dfc8c=_0x151c44,_0x3de49e={'hjbea':function(_0x355efa,_0x4a4ad4){const _0x960131=a84_0x1b0e;return _0x376cfd[_0x960131(0x140)](_0x355efa,_0x4a4ad4);},'XKPXk':function(_0x2cedc3,_0x391a7e){const _0x3ea628=a84_0x1b0e;return _0x376cfd[_0x3ea628(0x1f9)](_0x2cedc3,_0x391a7e);},'rEcWN':_0x376cfd[_0x4dfc8c(0x1b0)],'EDIwK':function(_0x15d34c,_0x4f7c04){const _0xd03bab=_0x4dfc8c;return _0x376cfd[_0xd03bab(0x16e)](_0x15d34c,_0x4f7c04);},'LvuJw':_0x376cfd[_0x4dfc8c(0x1ea)],'nfRjO':function(_0x493de8,_0x238ab7){const _0x47ddd1=_0x4dfc8c;return _0x376cfd[_0x47ddd1(0x19f)](_0x493de8,_0x238ab7);},'ytOXd':function(_0x24b294,_0x77a3d6){return _0x376cfd['MdDwb'](_0x24b294,_0x77a3d6);},'uFOBp':_0x376cfd['aXcfZ']},_0x44e4fb={};_0x44e4fb[_0x4dfc8c(0x1ff)]=!![],yauzl[_0x4dfc8c(0x1e9)](_0x1322d9,_0x44e4fb,function(_0x227ebf,_0x4be670){const _0x47f275=_0x4dfc8c,_0x15c1e7={'KAXiB':function(_0x2c1eb1,_0x5f2077){return _0x376cfd['kcaeL'](_0x2c1eb1,_0x5f2077);},'vqHau':_0x376cfd[_0x47f275(0x133)],'IHsmH':function(_0x1923e9,_0x35680c){return _0x376cfd['kcaeL'](_0x1923e9,_0x35680c);},'HWdic':_0x376cfd[_0x47f275(0x1c4)],'cJthP':function(_0x35bd0e,_0x58edda){const _0x4c90de=_0x47f275;return _0x376cfd[_0x4c90de(0x1a1)](_0x35bd0e,_0x58edda);}};if(_0x227ebf){_0x376cfd[_0x47f275(0x1f9)](_0x232510,_0x227ebf);return;}_0x4be670[_0x47f275(0x1b7)](),_0x4be670['on'](_0x376cfd[_0x47f275(0x188)],_0x3340e9=>{const _0x5b6333=_0x47f275;if(/\/$/[_0x5b6333(0x1c7)](_0x3340e9[_0x5b6333(0x1f6)])){_0x4be670['readEntry']();return;}!_0xfbc61b&&(_0xfbc61b=_0x3340e9['fileName']);if(_0x3de49e[_0x5b6333(0x1f1)](_0x3340e9[_0x5b6333(0x1f6)],_0xfbc61b))_0x4be670[_0x5b6333(0x1b7)]();else{const _0x574856=_0x3340e9[_0x5b6333(0x1f6)],_0x2e07b5=path['join'](_0x16b52f,_0x574856+_0x5b6333(0x1d7)+process['pid']);let _0x4f831a;try{_0x4f831a=fs[_0x5b6333(0x1b4)](_0x2e07b5);}catch(_0x26177a){if(BINARY_BUSY_ERROR_CODES[_0x5b6333(0x167)](_0x26177a[_0x5b6333(0x13a)])){const _0xd7bc2c=path[_0x5b6333(0x1c6)](_0x16b52f,_0x574856);if(fs[_0x5b6333(0x1da)](_0xd7bc2c)){logger[_0x5b6333(0x1a0)](_0x5b6333(0x1eb)+_0x574856),fs['unlink'](_0x1322d9,_0x301378=>{_0x301378&&logger['warn']('Failed\x20to\x20delete\x20zip\x20file:\x20'+_0x1322d9);}),_0x3de49e[_0x5b6333(0x169)](_0x2102e6,_0xd7bc2c);return;}logger['warn'](_0x5b6333(0x1a7)+_0x574856);}_0x3de49e[_0x5b6333(0x169)](_0x232510,_0x26177a);return;}_0x4f831a['on'](_0x3de49e[_0x5b6333(0x1c0)],_0x1cee56=>{const _0x33e08d=_0x5b6333;if(BINARY_BUSY_ERROR_CODES[_0x33e08d(0x167)](_0x1cee56[_0x33e08d(0x13a)])){const _0x3227c2=path[_0x33e08d(0x1c6)](_0x16b52f,_0x574856);_0x4f831a[_0x33e08d(0x1cf)](),fs[_0x33e08d(0x1da)](_0x3227c2)?(logger[_0x33e08d(0x1a0)]('Temp\x20file\x20became\x20busy\x20during\x20write,\x20falling\x20back\x20to\x20existing\x20binary:\x20'+_0x1cee56['message']),_0x4be670['close'](),fs[_0x33e08d(0x1ae)](_0x1322d9,_0x3c1729=>{const _0x1e85ed=_0x33e08d;_0x3c1729&&logger[_0x1e85ed(0x1a0)](_0x1e85ed(0x149)+_0x1322d9);}),_0x15c1e7[_0x33e08d(0x137)](_0x2102e6,_0x3227c2)):(logger[_0x33e08d(0x1a0)](_0x33e08d(0x16f)+_0x1cee56[_0x33e08d(0x1f2)]),fs['unlink'](_0x2e07b5,()=>{}),_0x15c1e7[_0x33e08d(0x137)](_0x232510,_0x1cee56));}else fs[_0x33e08d(0x1ae)](_0x2e07b5,()=>{}),_0x15c1e7['KAXiB'](_0x232510,_0x1cee56);}),_0x4be670[_0x5b6333(0x187)](_0x3340e9,function(_0x3280ac,_0x3c1ea5){const _0xb157be=_0x5b6333,_0x16e47={};_0x16e47[_0xb157be(0x139)]=_0x15c1e7[_0xb157be(0x147)];const _0x470f11=_0x16e47;if(_0x3280ac){fs['unlink'](_0x2e07b5,()=>{}),_0x15c1e7[_0xb157be(0x15e)](_0x232510,_0x3280ac);return;}_0x3c1ea5['on'](_0x15c1e7[_0xb157be(0x199)],function(){const _0x35cb16=_0xb157be;_0x4f831a[_0x35cb16(0x13b)](),_0x4f831a['on'](_0x470f11[_0x35cb16(0x139)],function(){const _0x54dcfe=_0x35cb16;_0x4be670[_0x54dcfe(0x1b7)]();});}),_0x3c1ea5['pipe'](_0x4f831a);});}}),_0x4be670['on'](_0x376cfd[_0x47f275(0x1b0)],_0x54cac3=>{_0x3de49e['XKPXk'](_0x232510,_0x54cac3);}),_0x4be670[_0x47f275(0x17a)](_0x376cfd['hnePR'],()=>{const _0x241eb3=_0x47f275,_0x17bcab={'UvKiC':function(_0x309fc0,_0x7c0d83){const _0x3fb9b9=a84_0x1b0e;return _0x3de49e[_0x3fb9b9(0x18d)](_0x309fc0,_0x7c0d83);},'vMQyr':_0x3de49e[_0x241eb3(0x1e5)],'lpCQg':function(_0xc6271b,_0x56cb60){return _0x3de49e['XKPXk'](_0xc6271b,_0x56cb60);},'nBDvP':function(_0x3eea0e,_0x582db5){return _0x3de49e['nfRjO'](_0x3eea0e,_0x582db5);},'tOzod':function(_0x2c0118,_0x1092b8){const _0x2178a5=_0x241eb3;return _0x3de49e[_0x2178a5(0x1fb)](_0x2c0118,_0x1092b8);}};fs[_0x241eb3(0x1ae)](_0x1322d9,_0x196ab9=>{const _0x4a2556=_0x241eb3;_0x196ab9&&logger[_0x4a2556(0x1a0)](_0x4a2556(0x149)+_0x1322d9);});const _0x59ec54=path[_0x241eb3(0x1c6)](_0x16b52f,_0xfbc61b+_0x241eb3(0x1d7)+process[_0x241eb3(0x205)]),_0x34fa86=path[_0x241eb3(0x1c6)](_0x16b52f,_0xfbc61b);fs['chmod'](_0x59ec54,_0x3de49e[_0x241eb3(0x1b5)],function(_0x54f4d3){const _0x2417d3=_0x241eb3;if(_0x54f4d3){_0x4be670[_0x2417d3(0x1cf)](),fs[_0x2417d3(0x1ae)](_0x59ec54,()=>{}),_0x15c1e7[_0x2417d3(0x196)](_0x232510,_0x54f4d3);return;}fs[_0x2417d3(0x1c2)](_0x59ec54,_0x34fa86,function(_0x51c173){const _0x2514e8=_0x2417d3;if(_0x51c173){if(_0x17bcab['UvKiC'](_0x51c173[_0x2514e8(0x13a)],_0x17bcab[_0x2514e8(0x1dd)])){_0x4be670[_0x2514e8(0x1cf)](),fs['unlink'](_0x59ec54,()=>{}),_0x17bcab[_0x2514e8(0x131)](_0x232510,_0x51c173);return;}logger[_0x2514e8(0x1a0)](_0x2514e8(0x14e)+_0x51c173[_0x2514e8(0x1f2)]);try{fs[_0x2514e8(0x1c9)](_0x59ec54,_0x34fa86);}catch(_0x12e2b1){_0x4be670[_0x2514e8(0x1cf)](),fs[_0x2514e8(0x1ae)](_0x59ec54,()=>{}),_0x17bcab[_0x2514e8(0x17d)](_0x232510,_0x12e2b1);return;}fs['unlink'](_0x59ec54,_0x19f5c9=>{const _0x5f2509=_0x2514e8;_0x19f5c9&&logger[_0x5f2509(0x1a0)]('Failed\x20to\x20unlink\x20temp\x20file\x20after\x20cross-device\x20copy:\x20'+_0x19f5c9[_0x5f2509(0x1f2)]);});}_0x4be670['close'](),_0x17bcab['tOzod'](_0x2102e6,_0x34fa86);});});});});});}static[a84_0x6f7930(0x12c)](){const _0x2fa829=a84_0x6f7930;if(process[_0x2fa829(0x1a6)][_0x2fa829(0x1cd)])return JSON['parse'](process['env'][_0x2fa829(0x1cd)]);return this[_0x2fa829(0x12f)];}static[a84_0x6f7930(0x163)](){const _0x4bb712=a84_0x6f7930;if(process[_0x4bb712(0x1a6)][_0x4bb712(0x18e)])return JSON[_0x4bb712(0x1a2)](process[_0x4bb712(0x1a6)][_0x4bb712(0x18e)]);return this[_0x4bb712(0x151)];}static['setFrameworkDetail'](_0x3c05f5,_0x221cd7){const _0x13bb03=a84_0x6f7930,_0x243faf={'ntllq':_0x13bb03(0x176),'VtegM':function(_0x41f06f,_0x4adb00){return _0x41f06f(_0x4adb00);},'mdcQt':function(_0x12093f,_0x360875){return _0x12093f(_0x360875);},'uXkAJ':function(_0x4e489c,_0x5af643){return _0x4e489c||_0x5af643;}},_0x5ec8f6=_0x243faf[_0x13bb03(0x19e)][_0x13bb03(0x200)]('|');let _0x339d35=0x0;while(!![]){switch(_0x5ec8f6[_0x339d35++]){case'0':this[_0x13bb03(0x151)]={'name':_0x221cd7,'version':_0x243faf[_0x13bb03(0x162)](getFrameworkVersion,_0x221cd7)};continue;case'1':process[_0x13bb03(0x1a6)][_0x13bb03(0x1cd)]=JSON['stringify'](this[_0x13bb03(0x12f)]);continue;case'2':process[_0x13bb03(0x1a6)][_0x13bb03(0x18e)]=JSON[_0x13bb03(0x152)](this[_0x13bb03(0x151)]);continue;case'3':this[_0x13bb03(0x12f)]={'name':_0x3c05f5,'version':{[_0x3c05f5]:_0x243faf[_0x13bb03(0x1af)](getFrameworkVersion,_0x3c05f5)}};continue;case'4':_0x243faf[_0x13bb03(0x190)](!_0x3c05f5,!_0x221cd7)&&logger[_0x13bb03(0x1c3)](_0x13bb03(0x1f3)+_0x3c05f5+_0x13bb03(0x1f0)+_0x221cd7);continue;}break;}}static['getHookRegistryKey'](_0x26a886,_0x43db62){return _0x26a886+':'+_0x43db62;}static[a84_0x6f7930(0x1e8)](){return process['pid']+':'+threadId;}static[a84_0x6f7930(0x206)](_0x4bea2a){const _0x4fb083=a84_0x6f7930;if(_0x4bea2a[_0x4fb083(0x12e)]&&_0x4bea2a[_0x4fb083(0x12e)][_0x4fb083(0x1cc)])return!![];return![];}static[a84_0x6f7930(0x1ee)](_0x239a78){const _0x2597ef=a84_0x6f7930;if(_0x239a78['testContextOptions']&&_0x239a78[_0x2597ef(0x12e)][_0x2597ef(0x1fe)])return!![];return![];}static[a84_0x6f7930(0x1f7)](_0x24745b){const _0x160aaa=new RegExp(TestFrameworkConstants['HOOK_REGEX']);return _0x160aaa['test'](_0x24745b);}static[a84_0x6f7930(0x1d8)](_0x2787fd,_0x4996f1){const _0x540dbc=a84_0x6f7930,_0x54ef82={};_0x54ef82[_0x540dbc(0x197)]=function(_0xa3ed44,_0x5e5897){return _0xa3ed44!==_0x5e5897;},_0x54ef82['lfOII']=function(_0x5c6d5a,_0x5bb982){return _0x5c6d5a===_0x5bb982;},_0x54ef82[_0x540dbc(0x18c)]='object';const _0x1c1008=_0x54ef82;for(const [_0xdc8721,_0x1a331e]of Object[_0x540dbc(0x1ef)](_0x4996f1)){if(_0x1c1008[_0x540dbc(0x197)](_0x1a331e,null)&&_0x1c1008[_0x540dbc(0x16a)](typeof _0x1a331e,_0x1c1008[_0x540dbc(0x18c)])&&!Array['isArray'](_0x1a331e))_0x2787fd[_0xdc8721]=this['mergeObject'](_0x2787fd[_0xdc8721]||{},_0x1a331e);else Array['isArray'](_0x1a331e)?_0x2787fd[_0xdc8721]=(_0x2787fd[_0xdc8721]||[])[_0x540dbc(0x13d)](_0x1a331e):_0x2787fd[_0xdc8721]=_0x1a331e;}return _0x2787fd;}}function a84_0x1b0e(_0x1f90b8,_0x3d7ce5){const _0x868503=a84_0x8685();return a84_0x1b0e=function(_0x1b0ecc,_0x5c543b){_0x1b0ecc=_0x1b0ecc-0x12a;let _0x3d5071=_0x868503[_0x1b0ecc];return _0x3d5071;},a84_0x1b0e(_0x1f90b8,_0x3d7ce5);}module[a84_0x6f7930(0x198)]=CLIUtils;
1
+ const a84_0x1aaf49=a84_0x5100;(function(_0x499bb7,_0x31393c){const _0x44cced=a84_0x5100,_0x49ce19=_0x499bb7();while(!![]){try{const _0x2635ff=parseInt(_0x44cced(0x24e))/0x1*(-parseInt(_0x44cced(0x222))/0x2)+parseInt(_0x44cced(0x2ab))/0x3*(parseInt(_0x44cced(0x234))/0x4)+parseInt(_0x44cced(0x240))/0x5+parseInt(_0x44cced(0x1ed))/0x6+-parseInt(_0x44cced(0x281))/0x7+-parseInt(_0x44cced(0x237))/0x8*(-parseInt(_0x44cced(0x29f))/0x9)+-parseInt(_0x44cced(0x28e))/0xa;if(_0x2635ff===_0x31393c)break;else _0x49ce19['push'](_0x49ce19['shift']());}catch(_0x13760b){_0x49ce19['push'](_0x49ce19['shift']());}}}(a84_0x3ce7,0xd36d4));const fs=require('fs'),os=require('os'),url=require(a84_0x1aaf49(0x1f3)),path=require(a84_0x1aaf49(0x24a)),{exec}=require('child_process'),{https}=require(a84_0x1aaf49(0x274)),yauzl=require(a84_0x1aaf49(0x1db)),util=require(a84_0x1aaf49(0x235)),{getFrameworkVersion}=require('../../helpers/test-observability/utils.js'),{threadId}=require(a84_0x1aaf49(0x267)),PerformanceTester=require(a84_0x1aaf49(0x271)),{EVENTS:PerformanceEvents}=require(a84_0x1aaf49(0x262)),{isNullOrEmpty,isModifiable,setReadWriteExecuteAccess}=require(a84_0x1aaf49(0x1d8)),{isTrue,createDir,getHostInfo,nodeRequest,nestedKeyValue}=require(a84_0x1aaf49(0x1f1)),{UPDATED_CLI_ENDPOINT,BINARY_BUSY_ERROR_CODES}=require(a84_0x1aaf49(0x1fd)),{createClassLogger}=require(a84_0x1aaf49(0x2a4)),TestFrameworkInstance=require(a84_0x1aaf49(0x1fa)),HookState=require(a84_0x1aaf49(0x288)),TestFrameworkState=require(a84_0x1aaf49(0x27a)),AutomationFrameworkState=require(a84_0x1aaf49(0x20f)),TestFrameworkConstants=require(a84_0x1aaf49(0x264)),logger=createClassLogger('CLIUtils'),{getBStackAPIUrl}=require('../utils/apiUtilityMethods.js');class CLIUtils{[a84_0x1aaf49(0x221)]={};[a84_0x1aaf49(0x255)]={};static['isDevelopmentEnv'](){const _0x131f58=a84_0x1aaf49,_0x3f5bba={};_0x3f5bba['WyEew']=function(_0x2e4eca,_0x3adbc3){return _0x2e4eca===_0x3adbc3;},_0x3f5bba[_0x131f58(0x242)]=_0x131f58(0x219);const _0x54056b=_0x3f5bba;return _0x54056b['WyEew'](process[_0x131f58(0x27e)][_0x131f58(0x295)],_0x54056b[_0x131f58(0x242)]);}static[a84_0x1aaf49(0x285)](){const _0x432dc2=a84_0x1aaf49,_0x7fba6={};return _0x7fba6['id']=process['env'][_0x432dc2(0x295)],_0x7fba6[_0x432dc2(0x258)]=_0x432dc2(0x27b)+process[_0x432dc2(0x27e)][_0x432dc2(0x295)]+_0x432dc2(0x23f),_0x7fba6;}static['getSdkVersion'](){const _0x4faff9=a84_0x1aaf49,_0x4a06d3={'qBQGB':function(_0x14f490,_0x28ced1){return _0x14f490(_0x28ced1);},'HvrYR':_0x4faff9(0x21a)};return _0x4a06d3[_0x4faff9(0x29c)](require,_0x4a06d3[_0x4faff9(0x2ac)])[_0x4faff9(0x1e7)];}static['getSdkLanguage'](){const _0x488b32=a84_0x1aaf49,_0x28c650={};_0x28c650['LssjS']='node';const _0x38744b=_0x28c650;return _0x38744b[_0x488b32(0x273)];}static async[a84_0x1aaf49(0x2b0)](_0x1dfce9){const _0x2fe410=a84_0x1aaf49,_0x475c2d={'ipVEo':_0x2fe410(0x1e8),'oghFf':function(_0x52a68f,_0x47999c){return _0x52a68f(_0x47999c);},'JYyQl':function(_0x9cfbf2,_0x17f9b7){return _0x9cfbf2(_0x17f9b7);},'IBMlV':_0x2fe410(0x233)};logger['debug'](_0x475c2d[_0x2fe410(0x296)]);const _0x35f9e4=process[_0x2fe410(0x27e)][_0x2fe410(0x251)];if(!_0x475c2d['oghFf'](isNullOrEmpty,_0x35f9e4))return logger[_0x2fe410(0x220)](_0x2fe410(0x276)+_0x35f9e4),_0x35f9e4;try{const _0x59e3df=this[_0x2fe410(0x24b)]();if(_0x475c2d[_0x2fe410(0x272)](isNullOrEmpty,_0x59e3df))throw new Error(_0x475c2d[_0x2fe410(0x1dc)]);const _0x2b952a=this[_0x2fe410(0x1d3)](_0x59e3df),_0x28ad88=await this[_0x2fe410(0x26a)](_0x2b952a,_0x59e3df,_0x1dfce9);return logger['debug'](_0x2fe410(0x1f6)+_0x28ad88),_0x28ad88;}catch(_0x28a126){logger[_0x2fe410(0x220)](_0x2fe410(0x28c)+util[_0x2fe410(0x21c)](_0x28a126));}return null;}static async[a84_0x1aaf49(0x26a)](_0x16f039,_0x4c3e2a,_0x13bc3f){const _0x3ddb9c=a84_0x1aaf49,_0x18935e={'FqxLS':function(_0x412cd5){return _0x412cd5();},'gGCnI':function(_0x7b1be2,_0x3b0e8a){return _0x7b1be2(_0x3b0e8a);},'FzBhE':function(_0x460123,_0x5a1545,_0x3ce1e2){return _0x460123(_0x5a1545,_0x3ce1e2);},'aVwoL':_0x3ddb9c(0x278),'UQqEl':'url','SeYmX':function(_0x28893a,_0x2cf290){return _0x28893a(_0x2cf290);}};PerformanceTester[_0x3ddb9c(0x2a7)](PerformanceEvents[_0x3ddb9c(0x1fc)]),logger['info'](_0x3ddb9c(0x26d)+_0x16f039);const _0x4bf216=_0x18935e[_0x3ddb9c(0x200)](getHostInfo),_0x343511={'sdk_version':CLIUtils[_0x3ddb9c(0x289)](),'os':_0x4bf216[_0x3ddb9c(0x266)],'os_arch':_0x4bf216[_0x3ddb9c(0x1f0)],'cli_version':'0','sdk_language':this[_0x3ddb9c(0x201)]()};!_0x18935e[_0x3ddb9c(0x2ae)](isNullOrEmpty,_0x16f039)&&(_0x343511[_0x3ddb9c(0x25b)]=await this[_0x3ddb9c(0x26b)](_0x16f039+'\x20version'));const _0x46479e=await this[_0x3ddb9c(0x287)](_0x343511,_0x13bc3f);process[_0x3ddb9c(0x27e)][_0x3ddb9c(0x263)]&&(logger[_0x3ddb9c(0x1d9)](_0x3ddb9c(0x282)+process[_0x3ddb9c(0x27e)][_0x3ddb9c(0x263)]),_0x46479e[_0x3ddb9c(0x278)][_0x3ddb9c(0x1f3)]=process[_0x3ddb9c(0x27e)]['BROWSERSTACK_BINARY_URL']);if(_0x18935e[_0x3ddb9c(0x22f)](nestedKeyValue,_0x46479e,[_0x18935e[_0x3ddb9c(0x284)],_0x18935e[_0x3ddb9c(0x290)]])){logger['debug'](_0x3ddb9c(0x1ff)+_0x343511['cli_version']);if(!_0x18935e['SeYmX'](isNullOrEmpty,_0x16f039)&&this[_0x3ddb9c(0x20a)](_0x16f039))return logger[_0x3ddb9c(0x275)](_0x3ddb9c(0x1f9)+_0x16f039),PerformanceTester[_0x3ddb9c(0x204)](PerformanceEvents[_0x3ddb9c(0x1fc)]),_0x16f039;const _0x1df678=await this[_0x3ddb9c(0x2af)](_0x18935e['FzBhE'](nestedKeyValue,_0x46479e,[_0x18935e[_0x3ddb9c(0x284)],_0x18935e['UQqEl']]),_0x4c3e2a);return PerformanceTester[_0x3ddb9c(0x204)](PerformanceEvents['SDK_CLI_CHECK_UPDATE']),_0x1df678;}return PerformanceTester[_0x3ddb9c(0x204)](PerformanceEvents[_0x3ddb9c(0x1fc)]),_0x16f039;}static[a84_0x1aaf49(0x24b)](){const _0x8a00bb=a84_0x1aaf49,_0x57d824={'niEMI':function(_0x22131d,_0x403857){return _0x22131d(_0x403857);},'LMvjl':_0x8a00bb(0x233),'GIhNH':_0x8a00bb(0x218)},_0xedbd34=this[_0x8a00bb(0x268)]();try{if(_0x57d824[_0x8a00bb(0x28d)](isNullOrEmpty,_0xedbd34))throw new Error(_0x57d824[_0x8a00bb(0x2a5)]);const _0x4b8787=path[_0x8a00bb(0x231)](_0xedbd34,_0x57d824['GIhNH']);return!fs['existsSync'](_0x4b8787)&&_0x57d824[_0x8a00bb(0x28d)](createDir,_0x4b8787),_0x4b8787;}catch(_0x95abad){logger['debug'](_0x8a00bb(0x261)+util[_0x8a00bb(0x21c)](_0x95abad));}}static['getWritableDir'](){const _0x201d1a=a84_0x1aaf49,_0x2d675f={'LuWWU':_0x201d1a(0x25f),'RVjPs':function(_0x49c5bc,_0x4391a3){return _0x49c5bc(_0x4391a3);},'GEfbn':function(_0x452754,_0x19ae95){return _0x452754(_0x19ae95);},'FQabO':function(_0x10906b,_0x2f4dd1){return _0x10906b(_0x2f4dd1);},'YmYKQ':function(_0xa733ca,_0x42fad6){return _0xa733ca(_0x42fad6);}},_0x339cc5=[process[_0x201d1a(0x27e)][_0x201d1a(0x241)],path[_0x201d1a(0x231)](os[_0x201d1a(0x214)](),_0x2d675f[_0x201d1a(0x1fb)]),path[_0x201d1a(0x231)](os[_0x201d1a(0x25d)](),_0x2d675f[_0x201d1a(0x1fb)])];for(const _0x5afe15 of _0x339cc5){if(_0x2d675f['RVjPs'](isNullOrEmpty,_0x5afe15))continue;try{if(fs[_0x201d1a(0x26e)](_0x5afe15)){logger[_0x201d1a(0x220)](_0x201d1a(0x21e)+_0x5afe15+_0x201d1a(0x20e));if(!_0x2d675f['RVjPs'](isModifiable,_0x5afe15)){logger[_0x201d1a(0x220)]('Setting\x20required\x20permissions\x20to\x20'+_0x5afe15);const _0x4ee86d=_0x2d675f[_0x201d1a(0x1e3)](setReadWriteExecuteAccess,_0x5afe15);if(!_0x2d675f[_0x201d1a(0x1d4)](isTrue,_0x4ee86d)){logger[_0x201d1a(0x275)]('Unable\x20to\x20set\x20required\x20permissions\x20to\x20'+_0x5afe15);continue;}}}else{logger[_0x201d1a(0x220)]('Folder\x20does\x20not\x20exist:\x20'+_0x5afe15),_0x2d675f[_0x201d1a(0x1e5)](createDir,_0x5afe15),logger[_0x201d1a(0x220)](_0x201d1a(0x202)+_0x5afe15);const _0x59023c=_0x2d675f[_0x201d1a(0x1e3)](setReadWriteExecuteAccess,_0x5afe15);!_0x2d675f[_0x201d1a(0x286)](isTrue,_0x59023c)&&logger[_0x201d1a(0x275)]('Unable\x20to\x20set\x20required\x20permissions\x20to\x20'+_0x5afe15);}return _0x5afe15;}catch(_0x480071){logger[_0x201d1a(0x23c)](_0x201d1a(0x216)+util[_0x201d1a(0x21c)](_0x480071));}}return null;}static['getExistingCliPath'](_0x4faffd){const _0x36bf9b=a84_0x1aaf49,_0x5427e1={};_0x5427e1[_0x36bf9b(0x225)]=function(_0x37bf67,_0x34140e){return _0x37bf67>_0x34140e;},_0x5427e1[_0x36bf9b(0x245)]=function(_0x733936,_0x2984b4){return _0x733936>_0x2984b4;};const _0x109e4d=_0x5427e1;try{if(!fs['existsSync'](_0x4faffd)||!fs[_0x36bf9b(0x22a)](_0x4faffd)['isDirectory']())return'';const _0x42585d=fs[_0x36bf9b(0x243)](_0x4faffd)[_0x36bf9b(0x269)](_0x45ccd1=>path[_0x36bf9b(0x231)](_0x4faffd,_0x45ccd1))['filter'](_0x2727f8=>fs[_0x36bf9b(0x22a)](_0x2727f8)[_0x36bf9b(0x249)]()&&path[_0x36bf9b(0x1d2)](_0x2727f8)[_0x36bf9b(0x203)](_0x36bf9b(0x21f)));if(_0x109e4d[_0x36bf9b(0x245)](_0x42585d['length'],0x0)){const _0x38ce5a=_0x42585d[_0x36bf9b(0x269)](_0x5a8caa=>({'filePath':_0x5a8caa,'mtime':fs['statSync'](_0x5a8caa)['mtime']}))[_0x36bf9b(0x236)]((_0x2c4a89,_0x411cfe)=>{const _0x454fa2=_0x36bf9b;if(!_0x2c4a89||!_0x2c4a89[_0x454fa2(0x1e0)])return _0x411cfe;if(_0x109e4d['aXyMp'](_0x411cfe[_0x454fa2(0x1e0)],_0x2c4a89[_0x454fa2(0x1e0)]))return _0x411cfe;return _0x2c4a89;},{});return _0x38ce5a?_0x38ce5a[_0x36bf9b(0x1f7)]:'';}return'';}catch(_0x97d843){return logger['error'](_0x36bf9b(0x230)+util[_0x36bf9b(0x21c)](_0x97d843)),'';}}static [a84_0x1aaf49(0x287)]=async(_0x1d5a7b,_0x322edb)=>{const _0x7064d2=a84_0x1aaf49,_0x361ac3={'rJYHN':function(_0xaf7311,_0x1cca33,_0x5cf193,_0x2b6d70,_0xceeb97){return _0xaf7311(_0x1cca33,_0x5cf193,_0x2b6d70,_0xceeb97);},'Wpdzu':_0x7064d2(0x22b)},_0x4320f2={};_0x4320f2['qs']=_0x1d5a7b;const _0x5c4556=await _0x361ac3['rJYHN'](nodeRequest,_0x361ac3[_0x7064d2(0x212)],UPDATED_CLI_ENDPOINT,_0x4320f2,_0x322edb);return logger[_0x7064d2(0x220)](_0x7064d2(0x283)+JSON['stringify'](_0x5c4556)),_0x5c4556;};static[a84_0x1aaf49(0x20a)](_0x104ab9){const _0x5613ee=a84_0x1aaf49;try{const _0x52b8a3=fs[_0x5613ee(0x2a9)](_0x104ab9,'r+');return fs[_0x5613ee(0x1ef)](_0x52b8a3),![];}catch(_0x2fa69d){if(BINARY_BUSY_ERROR_CODES['includes'](_0x2fa69d[_0x5613ee(0x291)]))return logger[_0x5613ee(0x220)](_0x5613ee(0x254)+_0x104ab9),!![];return logger['debug']('Error\x20checking\x20if\x20binary\x20is\x20busy:\x20'+_0x2fa69d['message']),![];}}static[a84_0x1aaf49(0x26b)](_0x4a2792,_0x8cdc00=''){const _0x3c08ab=a84_0x1aaf49,_0x4f010b={'VXSRZ':function(_0x35325b,_0x4781ff){return _0x35325b(_0x4781ff);},'BYEwn':_0x3c08ab(0x279),'pIvKF':_0x3c08ab(0x1e7),'aglrQ':function(_0x5a7a89,_0x14692d){return _0x5a7a89(_0x14692d);},'qAECz':function(_0x472d81,_0x3ec141,_0x4ccda2,_0x5c16df){return _0x472d81(_0x3ec141,_0x4ccda2,_0x5c16df);},'QurLA':_0x3c08ab(0x23c)};return new Promise((_0x35e41c,_0x329d72)=>{const _0x236775=_0x3c08ab,_0x259f3={'wXlFJ':_0x4f010b[_0x236775(0x244)],'KZgZO':function(_0x2025b2,_0x2dd61b){const _0x1d5d9b=_0x236775;return _0x4f010b[_0x1d5d9b(0x299)](_0x2025b2,_0x2dd61b);},'bSXUh':_0x4f010b['BYEwn'],'gvvIh':function(_0x41be9d,_0xde2694){return _0x4f010b['aglrQ'](_0x41be9d,_0xde2694);}},_0x3393fc={};_0x3393fc[_0x236775(0x1d5)]=_0x8cdc00,_0x3393fc[_0x236775(0x270)]=0x1388;const _0x3d4371=_0x4f010b[_0x236775(0x257)](exec,_0x4a2792,_0x3393fc,(_0x5700c9,_0x2a1103,_0x4959ae)=>{const _0x3c6f68=_0x236775;if(_0x5700c9){if(_0x4a2792['includes'](_0x259f3[_0x3c6f68(0x1ec)])&&(_0x2a1103[_0x3c6f68(0x293)]()||_0x4959ae[_0x3c6f68(0x293)]())){const _0x238ff9=_0x2a1103[_0x3c6f68(0x293)]()||_0x4959ae[_0x3c6f68(0x293)]();logger[_0x3c6f68(0x220)](_0x3c6f68(0x2a6)+_0x238ff9+'\x22'),_0x259f3[_0x3c6f68(0x2ad)](_0x35e41c,_0x238ff9);}else _0x259f3[_0x3c6f68(0x2ad)](_0x35e41c,_0x4959ae[_0x3c6f68(0x293)]()||_0x259f3['bSXUh']);}else logger[_0x3c6f68(0x220)](_0x3c6f68(0x25a)+_0x2a1103[_0x3c6f68(0x293)]()+'\x22'),_0x259f3[_0x3c6f68(0x27f)](_0x35e41c,_0x2a1103['trim']());});_0x3d4371['on'](_0x4f010b['QurLA'],()=>{const _0x3041bd=_0x236775;_0x4f010b[_0x3041bd(0x26c)](_0x35e41c,_0x4f010b[_0x3041bd(0x209)]);});});}static [a84_0x1aaf49(0x2af)]=async(_0x40f66c,_0x1fb9f1)=>{const _0x4f69e9=a84_0x1aaf49,_0x2ed0f0={'JIciE':_0x4f69e9(0x1d6),'qFTcC':function(_0x5f3c17,_0xe119d7){return _0x5f3c17(_0xe119d7);},'CRiWs':_0x4f69e9(0x23c),'JEdJI':_0x4f69e9(0x1de)};PerformanceTester[_0x4f69e9(0x2a7)](PerformanceEvents[_0x4f69e9(0x28a)]),logger['debug'](_0x4f69e9(0x23b)+_0x40f66c);try{const _0x395b0c=url['parse'](_0x40f66c),_0x19da72=path[_0x4f69e9(0x231)](_0x1fb9f1,_0x4f69e9(0x23e)+process[_0x4f69e9(0x1f4)]+_0x4f69e9(0x228)),_0x2187b9=fs[_0x4f69e9(0x1da)](_0x19da72);return new Promise((_0x41bf33,_0x3b13b0)=>{const _0x64d875=_0x4f69e9,_0x5c1b49={'SSjwA':_0x2ed0f0[_0x64d875(0x239)],'QsOJh':function(_0x2f1f93,_0x4c3a77){const _0x527d8e=_0x64d875;return _0x2ed0f0[_0x527d8e(0x29e)](_0x2f1f93,_0x4c3a77);}};https['get'](_0x395b0c,function(_0x2beccf){const _0x112c36=_0x64d875,_0x3145f7={'IIfNX':_0x2ed0f0[_0x112c36(0x1cf)],'hZJsp':function(_0x32e3cd,_0x207001){return _0x2ed0f0['qFTcC'](_0x32e3cd,_0x207001);},'mUCEF':function(_0x50fe1e,_0x2a40c4){const _0x537ff4=_0x112c36;return _0x2ed0f0[_0x537ff4(0x29e)](_0x50fe1e,_0x2a40c4);}},_0x11cbe1=null;_0x2beccf[_0x112c36(0x1ee)](_0x2187b9),_0x2beccf['on'](_0x2ed0f0[_0x112c36(0x27d)],function(_0x439a6b){const _0xaa5257=_0x112c36;logger['error'](util['format'](_0x5c1b49[_0xaa5257(0x22c)],_0x439a6b)),PerformanceTester['end'](PerformanceEvents[_0xaa5257(0x28a)],![],util[_0xaa5257(0x21c)](_0x439a6b)),_0x5c1b49[_0xaa5257(0x23a)](_0x3b13b0,_0x439a6b);}),_0x2187b9['on'](_0x2ed0f0[_0x112c36(0x27d)],function(_0x446806){const _0x323bb2=_0x112c36;logger[_0x323bb2(0x23c)](util[_0x323bb2(0x21c)](_0x3145f7['IIfNX'],_0x446806)),PerformanceTester[_0x323bb2(0x204)](PerformanceEvents[_0x323bb2(0x28a)],![],util[_0x323bb2(0x21c)](_0x446806)),_0x3145f7[_0x323bb2(0x23d)](_0x3b13b0,_0x446806);}),CLIUtils[_0x112c36(0x238)](_0x2187b9,_0x11cbe1,_0x19da72,_0x1fb9f1,_0x357356=>{const _0x4845b4=_0x112c36;PerformanceTester[_0x4845b4(0x204)](PerformanceEvents[_0x4845b4(0x28a)]),_0x3145f7[_0x4845b4(0x23d)](_0x41bf33,_0x357356);},_0x164889=>{const _0x82dbfb=_0x112c36;PerformanceTester['end'](PerformanceEvents[_0x82dbfb(0x28a)],![],util[_0x82dbfb(0x21c)](_0x164889)),_0x3145f7[_0x82dbfb(0x2aa)](_0x3b13b0,_0x164889);});})['on'](_0x2ed0f0[_0x64d875(0x27d)],function(_0xd04c14){const _0x1666a1=_0x64d875;logger[_0x1666a1(0x23c)](_0x1666a1(0x297)+util[_0x1666a1(0x21c)](_0xd04c14)),PerformanceTester[_0x1666a1(0x204)](PerformanceEvents[_0x1666a1(0x28a)],![],util[_0x1666a1(0x21c)](_0xd04c14)),_0x5c1b49[_0x1666a1(0x23a)](_0x3b13b0,_0xd04c14);});});}catch(_0x12c4f3){PerformanceTester[_0x4f69e9(0x204)](PerformanceEvents[_0x4f69e9(0x28a)],![],util[_0x4f69e9(0x21c)](_0x12c4f3)),logger[_0x4f69e9(0x220)](_0x4f69e9(0x1ea)+util[_0x4f69e9(0x21c)](_0x12c4f3));}};static[a84_0x1aaf49(0x238)](_0x1c2ff5,_0x3463e3,_0x293dc9,_0x301bb5,_0x37bf4b,_0x6761df){const _0x1c747f=a84_0x1aaf49,_0x3c3793={'uWNyQ':function(_0x4b648e,_0x5aa984){return _0x4b648e(_0x5aa984);},'YDucn':function(_0x4ba9e1,_0x597a3b){return _0x4ba9e1(_0x597a3b);},'yHoyF':function(_0x23ac3,_0x583698){return _0x23ac3(_0x583698);},'wXUuL':_0x1c747f(0x213),'QBrXj':_0x1c747f(0x23c),'lMiwn':_0x1c747f(0x204),'oLnta':_0x1c747f(0x252),'TNqEo':function(_0x283d96,_0x56eb64){return _0x283d96(_0x56eb64);},'jsbFY':function(_0x1d465f,_0x2d54ec){return _0x1d465f!==_0x2d54ec;},'jDhlE':function(_0x3e37cb,_0x1fc8e6){return _0x3e37cb(_0x1fc8e6);},'ZSydB':function(_0x1ae256,_0xb95f66){return _0x1ae256(_0xb95f66);},'ZHsQX':function(_0x134cb8,_0x3eb549){return _0x134cb8!==_0x3eb549;},'LGuZA':'EXDEV','sHZeH':_0x1c747f(0x22e)};_0x1c2ff5['on'](_0x3c3793[_0x1c747f(0x210)],function(){const _0x457675=_0x1c747f,_0x137ba8={'Aejfo':_0x3c3793[_0x457675(0x210)],'DjPVR':function(_0x4efb14,_0x203b49){const _0x2c68a0=_0x457675;return _0x3c3793[_0x2c68a0(0x29b)](_0x4efb14,_0x203b49);},'MmDmL':_0x3c3793['lMiwn'],'QqyST':function(_0x4ba461,_0x158d0c){const _0xe70517=_0x457675;return _0x3c3793[_0xe70517(0x1e4)](_0x4ba461,_0x158d0c);},'wffRl':function(_0x525821,_0x21dd25){const _0x281049=_0x457675;return _0x3c3793[_0x281049(0x256)](_0x525821,_0x21dd25);},'gTYjl':function(_0x196e99,_0x40fdfb){const _0x55d191=_0x457675;return _0x3c3793[_0x55d191(0x1f5)](_0x196e99,_0x40fdfb);},'otubr':_0x3c3793[_0x457675(0x1eb)],'sHudw':function(_0x33185e,_0x1ae6e2){return _0x3c3793['ZHsQX'](_0x33185e,_0x1ae6e2);},'lKGqh':_0x3c3793[_0x457675(0x1fe)],'YCbGm':function(_0x4e00e4,_0x3ac099){return _0x3c3793['jDhlE'](_0x4e00e4,_0x3ac099);},'jGAuk':_0x3c3793['sHZeH']},_0x509df2={};_0x509df2['lazyEntries']=!![],yauzl[_0x457675(0x280)](_0x293dc9,_0x509df2,function(_0x3c7916,_0x1aca02){const _0x527da8=_0x457675,_0x2e7c8b={'wAiub':function(_0x49cef8,_0x3234e3){const _0x4451a3=a84_0x5100;return _0x3c3793[_0x4451a3(0x265)](_0x49cef8,_0x3234e3);},'opCNp':function(_0x481555,_0xe12b61){const _0x39275e=a84_0x5100;return _0x3c3793[_0x39275e(0x265)](_0x481555,_0xe12b61);},'BbNlC':function(_0x332bb7,_0x444dc7){const _0x3339f4=a84_0x5100;return _0x3c3793[_0x3339f4(0x28f)](_0x332bb7,_0x444dc7);}};if(_0x3c7916){_0x3c3793[_0x527da8(0x2b1)](_0x6761df,_0x3c7916);return;}_0x1aca02[_0x527da8(0x211)](),_0x1aca02['on'](_0x3c3793[_0x527da8(0x28b)],_0x563c73=>{const _0x15cc39=_0x527da8,_0x562ed6={'cSLAB':_0x137ba8['Aejfo'],'nxaaY':function(_0x18bf68,_0x1b9355){return _0x137ba8['DjPVR'](_0x18bf68,_0x1b9355);},'XJNXO':_0x137ba8[_0x15cc39(0x227)]};if(/\/$/['test'](_0x563c73[_0x15cc39(0x206)])){_0x1aca02[_0x15cc39(0x211)]();return;}!_0x3463e3&&(_0x3463e3=_0x563c73[_0x15cc39(0x206)]);if(_0x137ba8[_0x15cc39(0x260)](_0x563c73[_0x15cc39(0x206)],_0x3463e3))_0x1aca02['readEntry']();else{const _0x1f54d0=_0x563c73[_0x15cc39(0x206)],_0x47c9d1=path[_0x15cc39(0x231)](_0x301bb5,_0x1f54d0+_0x15cc39(0x246)+process[_0x15cc39(0x1f4)]);let _0x1727d3;try{_0x1727d3=fs['createWriteStream'](_0x47c9d1);}catch(_0xff58a8){if(BINARY_BUSY_ERROR_CODES['includes'](_0xff58a8[_0x15cc39(0x291)])){const _0x4dbff2=path[_0x15cc39(0x231)](_0x301bb5,_0x1f54d0);if(fs[_0x15cc39(0x26e)](_0x4dbff2)){logger[_0x15cc39(0x275)](_0x15cc39(0x277)+_0x1f54d0),fs[_0x15cc39(0x250)](_0x293dc9,_0x4632f3=>{const _0x4c3c1e=_0x15cc39;_0x4632f3&&logger['warn'](_0x4c3c1e(0x226)+_0x293dc9);}),_0x137ba8[_0x15cc39(0x20c)](_0x37bf4b,_0x4dbff2);return;}logger[_0x15cc39(0x275)]('Temp\x20file\x20is\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20'+_0x1f54d0);}_0x137ba8[_0x15cc39(0x1d1)](_0x6761df,_0xff58a8);return;}_0x1727d3['on'](_0x137ba8['otubr'],_0x18f18a=>{const _0x4144bb=_0x15cc39;if(BINARY_BUSY_ERROR_CODES[_0x4144bb(0x1d7)](_0x18f18a[_0x4144bb(0x291)])){const _0x117c08=path[_0x4144bb(0x231)](_0x301bb5,_0x1f54d0);_0x1727d3[_0x4144bb(0x252)](),fs[_0x4144bb(0x26e)](_0x117c08)?(logger[_0x4144bb(0x275)](_0x4144bb(0x21d)+_0x18f18a['message']),_0x1aca02['close'](),fs[_0x4144bb(0x250)](_0x293dc9,_0x57706a=>{const _0x7917bf=_0x4144bb;_0x57706a&&logger[_0x7917bf(0x275)]('Failed\x20to\x20delete\x20zip\x20file:\x20'+_0x293dc9);}),_0x2e7c8b[_0x4144bb(0x24c)](_0x37bf4b,_0x117c08)):(logger[_0x4144bb(0x275)](_0x4144bb(0x29a)+_0x18f18a[_0x4144bb(0x25e)]),fs[_0x4144bb(0x250)](_0x47c9d1,()=>{}),_0x2e7c8b[_0x4144bb(0x2a1)](_0x6761df,_0x18f18a));}else fs['unlink'](_0x47c9d1,()=>{}),_0x2e7c8b['BbNlC'](_0x6761df,_0x18f18a);}),_0x1aca02['openReadStream'](_0x563c73,function(_0x21b041,_0x2bc4b5){const _0x3f1e5a=_0x15cc39;if(_0x21b041){fs['unlink'](_0x47c9d1,()=>{}),_0x562ed6[_0x3f1e5a(0x26f)](_0x6761df,_0x21b041);return;}_0x2bc4b5['on'](_0x562ed6[_0x3f1e5a(0x2a2)],function(){const _0x20f056=_0x3f1e5a;_0x1727d3[_0x20f056(0x204)](),_0x1727d3['on'](_0x562ed6[_0x20f056(0x24d)],function(){const _0x24ace8=_0x20f056;_0x1aca02[_0x24ace8(0x211)]();});}),_0x2bc4b5['pipe'](_0x1727d3);});}}),_0x1aca02['on'](_0x3c3793[_0x527da8(0x1eb)],_0x3acadc=>{_0x137ba8['wffRl'](_0x6761df,_0x3acadc);}),_0x1aca02['once'](_0x3c3793[_0x527da8(0x2a0)],()=>{const _0x230b83=_0x527da8,_0x45d25f={'pVyOU':function(_0x2ec300,_0x3438a3){const _0x35b898=a84_0x5100;return _0x137ba8[_0x35b898(0x20d)](_0x2ec300,_0x3438a3);},'qXyBS':_0x137ba8[_0x230b83(0x1f2)],'jpDUG':function(_0x1a12a9,_0x42f3c5){return _0x137ba8['YCbGm'](_0x1a12a9,_0x42f3c5);},'dHHTE':function(_0x23ac7f,_0x732a1){const _0x48d1d6=_0x230b83;return _0x137ba8[_0x48d1d6(0x20c)](_0x23ac7f,_0x732a1);},'GYkkN':function(_0x5c87b3,_0xb7f4ff){return _0x137ba8['gTYjl'](_0x5c87b3,_0xb7f4ff);}};fs[_0x230b83(0x250)](_0x293dc9,_0x5dfc76=>{const _0x17634d=_0x230b83;_0x5dfc76&&logger['warn'](_0x17634d(0x226)+_0x293dc9);});const _0x1a9fb4=path[_0x230b83(0x231)](_0x301bb5,_0x3463e3+_0x230b83(0x246)+process[_0x230b83(0x1f4)]),_0x503e71=path[_0x230b83(0x231)](_0x301bb5,_0x3463e3);fs[_0x230b83(0x29d)](_0x1a9fb4,_0x137ba8[_0x230b83(0x208)],function(_0x5aa1e2){const _0x5489f4=_0x230b83;if(_0x5aa1e2){_0x1aca02[_0x5489f4(0x252)](),fs[_0x5489f4(0x250)](_0x1a9fb4,()=>{}),_0x2e7c8b[_0x5489f4(0x2a1)](_0x6761df,_0x5aa1e2);return;}fs[_0x5489f4(0x253)](_0x1a9fb4,_0x503e71,function(_0x1fa9a4){const _0x29bce3=_0x5489f4;if(_0x1fa9a4){if(_0x45d25f[_0x29bce3(0x217)](_0x1fa9a4['code'],_0x45d25f['qXyBS'])){_0x1aca02[_0x29bce3(0x252)](),fs[_0x29bce3(0x250)](_0x1a9fb4,()=>{}),_0x45d25f['jpDUG'](_0x6761df,_0x1fa9a4);return;}logger[_0x29bce3(0x275)](_0x29bce3(0x2a3)+_0x1fa9a4[_0x29bce3(0x25e)]);try{fs[_0x29bce3(0x248)](_0x1a9fb4,_0x503e71);}catch(_0x4e610a){_0x1aca02[_0x29bce3(0x252)](),fs[_0x29bce3(0x250)](_0x1a9fb4,()=>{}),_0x45d25f['dHHTE'](_0x6761df,_0x4e610a);return;}fs[_0x29bce3(0x250)](_0x1a9fb4,_0x2f6595=>{const _0x26e58d=_0x29bce3;_0x2f6595&&logger[_0x26e58d(0x275)](_0x26e58d(0x20b)+_0x2f6595[_0x26e58d(0x25e)]);});}_0x1aca02[_0x29bce3(0x252)](),_0x45d25f['GYkkN'](_0x37bf4b,_0x503e71);});});});});});}static['getTestFrameworkDetail'](){const _0x35ec95=a84_0x1aaf49;if(process[_0x35ec95(0x27e)][_0x35ec95(0x22d)])return JSON['parse'](process[_0x35ec95(0x27e)][_0x35ec95(0x22d)]);return this[_0x35ec95(0x255)];}static['getAutomationFrameworkDetail'](){const _0x57aca4=a84_0x1aaf49;if(process['env'][_0x57aca4(0x24f)])return JSON['parse'](process[_0x57aca4(0x27e)][_0x57aca4(0x24f)]);return this['automationFrameworkDetail'];}static[a84_0x1aaf49(0x1e1)](_0x3927fd,_0x3e1642){const _0x394ecb=a84_0x1aaf49,_0x3c31d3={'teqEc':_0x394ecb(0x1e9),'PPOJT':function(_0x475eba,_0x402b5c){return _0x475eba(_0x402b5c);},'kGCIR':function(_0x3009e8,_0x3a26b4){return _0x3009e8||_0x3a26b4;},'sTElh':function(_0x5cbde2,_0x147916){return _0x5cbde2(_0x147916);}},_0x176d13=_0x3c31d3[_0x394ecb(0x1d0)][_0x394ecb(0x2a8)]('|');let _0x562734=0x0;while(!![]){switch(_0x176d13[_0x562734++]){case'0':this[_0x394ecb(0x255)]={'name':_0x3927fd,'version':{[_0x3927fd]:_0x3c31d3[_0x394ecb(0x207)](getFrameworkVersion,_0x3927fd)}};continue;case'1':process[_0x394ecb(0x27e)][_0x394ecb(0x24f)]=JSON[_0x394ecb(0x247)](this[_0x394ecb(0x221)]);continue;case'2':_0x3c31d3[_0x394ecb(0x223)](!_0x3927fd,!_0x3e1642)&&logger[_0x394ecb(0x220)](_0x394ecb(0x294)+_0x3927fd+_0x394ecb(0x298)+_0x3e1642);continue;case'3':process[_0x394ecb(0x27e)][_0x394ecb(0x22d)]=JSON['stringify'](this['testFrameworkDetail']);continue;case'4':this['automationFrameworkDetail']={'name':_0x3e1642,'version':_0x3c31d3['sTElh'](getFrameworkVersion,_0x3e1642)};continue;}break;}}static[a84_0x1aaf49(0x205)](_0xd2d402,_0x1a802b){return _0xd2d402+':'+_0x1a802b;}static[a84_0x1aaf49(0x1e2)](){const _0xafd1d3=a84_0x1aaf49;return process[_0xafd1d3(0x1f4)]+':'+threadId;}static[a84_0x1aaf49(0x215)](_0x458d24){const _0x3d62a1=a84_0x1aaf49;if(_0x458d24[_0x3d62a1(0x1dd)]&&_0x458d24[_0x3d62a1(0x1dd)]['skipSessionName'])return!![];return![];}static['shouldSkipSessionStatus'](_0x28afcd){const _0x56e34e=a84_0x1aaf49;if(_0x28afcd[_0x56e34e(0x1dd)]&&_0x28afcd[_0x56e34e(0x1dd)]['skipSessionStatus'])return!![];return![];}static[a84_0x1aaf49(0x1df)](_0x4da01c){const _0x5a51c9=a84_0x1aaf49,_0x19843c=new RegExp(TestFrameworkConstants[_0x5a51c9(0x25c)]);return _0x19843c['test'](_0x4da01c);}static[a84_0x1aaf49(0x292)](_0xeb9ebb,_0x2ad8bb){const _0x267b61=a84_0x1aaf49,_0x57b7eb={};_0x57b7eb[_0x267b61(0x1f8)]=function(_0x557ca3,_0x42d832){return _0x557ca3!==_0x42d832;},_0x57b7eb[_0x267b61(0x224)]=function(_0x26b767,_0x1ff61a){return _0x26b767===_0x1ff61a;},_0x57b7eb[_0x267b61(0x27c)]=_0x267b61(0x259);const _0x3875e0=_0x57b7eb;for(const [_0x547303,_0x48ca65]of Object[_0x267b61(0x229)](_0x2ad8bb)){if(_0x3875e0['etvTe'](_0x48ca65,null)&&_0x3875e0[_0x267b61(0x224)](typeof _0x48ca65,_0x3875e0['jyIFp'])&&!Array[_0x267b61(0x21b)](_0x48ca65))_0xeb9ebb[_0x547303]=this['mergeObject'](_0xeb9ebb[_0x547303]||{},_0x48ca65);else Array[_0x267b61(0x21b)](_0x48ca65)?_0xeb9ebb[_0x547303]=(_0xeb9ebb[_0x547303]||[])[_0x267b61(0x232)](_0x48ca65):_0xeb9ebb[_0x547303]=_0x48ca65;}return _0xeb9ebb;}}function a84_0x5100(_0x381b3c,_0x43f967){const _0x3ce788=a84_0x3ce7();return a84_0x5100=function(_0x5100e9,_0x509a08){_0x5100e9=_0x5100e9-0x1cf;let _0x3ea317=_0x3ce788[_0x5100e9];return _0x3ea317;},a84_0x5100(_0x381b3c,_0x43f967);}module[a84_0x1aaf49(0x1e6)]=CLIUtils;function a84_0x3ce7(){const _0x450cda=['Temp\x20file\x20became\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','TNqEo','qBQGB','chmod','qFTcC','27TDWtcF','lMiwn','opCNp','XJNXO','Cross-device\x20rename,\x20falling\x20back\x20to\x20copy:\x20','../../helpers/classLogger.js','LMvjl','CLI\x20version\x20found\x20despite\x20error:\x20\x22','start','split','openSync','mUCEF','3TPNJqq','HvrYR','KZgZO','gGCnI','downloadLatestBinary','setupCliPath','yHoyF','JIciE','teqEc','gTYjl','basename','getExistingCliPath','RVjPs','cwd','Got\x20Error\x20while\x20downloading\x20SDK\x20binary\x20file\x20%s','includes','../../helpers/utilities','info','createWriteStream','yauzl','IBMlV','testContextOptions','Got\x20Error\x20in\x20SDK\x20binary\x20download\x20response\x20%s','matchHookRegex','mtime','setFrameworkDetail','getCurrentInstanceName','GEfbn','jsbFY','FQabO','exports','version','Configuring\x20Cli\x20path.','2|0|4|1|3','Failed\x20to\x20download\x20SDK\x20binary,\x20Exception:\x20','QBrXj','wXlFJ','816708rlYIaI','pipe','closeSync','arch','../../helpers/helper','lKGqh','url','pid','ZSydB','Resolved\x20binary\x20path:\x20','filePath','etvTe','Existing\x20binary\x20is\x20currently\x20in\x20use,\x20skipping\x20update\x20and\x20continuing\x20with\x20current\x20version:\x20','./instances/testFrameworkInstance.js','LuWWU','SDK_CLI_CHECK_UPDATE','../utils/constants','LGuZA','Need\x20to\x20update\x20binary,\x20current\x20binary\x20version:\x20','FqxLS','getSdkLanguage','Setting\x20required\x20permissions\x20to\x20','startsWith','end','getHookRegistryKey','fileName','PPOJT','jGAuk','BYEwn','isBinaryBusy','Failed\x20to\x20unlink\x20temp\x20file\x20after\x20cross-device\x20copy:\x20','wffRl','sHudw','\x20already\x20exists','./state/automationFrameworkState.js','oLnta','readEntry','Wpdzu','entry','homedir','shouldSkipSessionName','Unable\x20to\x20get\x20writable\x20directory,\x20exception\x20','pVyOU','cli','development','../../../package.json','isArray','format','Temp\x20file\x20became\x20busy\x20during\x20write,\x20falling\x20back\x20to\x20existing\x20binary:\x20','Folder\x20','binary-','debug','automationFrameworkDetail','62EkNDQQ','kGCIR','pjaPY','aXyMp','Failed\x20to\x20delete\x20zip\x20file:\x20','MmDmL','.zip','entries','statSync','GET','SSjwA','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','0755','FzBhE','Error\x20while\x20reading\x20CLI\x20path:\x20','join','concat','No\x20writable\x20directory\x20available\x20for\x20the\x20CLI','3126908wOhRfG','util','reduce','3944808kOjWIp','downloadFileStream','JEdJI','QsOJh','Downloading\x20SDK\x20binary\x20from:\x20','error','hZJsp','downloaded_file_','.sock','822195pDOBKY','BROWSERSTACK_FILES_DIR','lrjxy','readdirSync','pIvKF','avcat','.tmp.','stringify','copyFileSync','isFile','path','getCliDir','wAiub','cSLAB','10103ZjFMnI','BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL','unlink','SDK_CLI_BIN_PATH','close','rename','Binary\x20is\x20busy:\x20','testFrameworkDetail','jDhlE','qAECz','listen','object','Resolving\x20with\x20stdout:\x20\x22','cli_version','HOOK_REGEX','tmpdir','message','.browserstack','QqyST','Error\x20in\x20getting\x20writable\x20directory,\x20writableDir=','../../helpers/performance/constants','BROWSERSTACK_BINARY_URL','./framework/constants/testFrameworkConstants.js','uWNyQ','platform','worker_threads','getWritableDir','map','checkAndUpdateCli','runShellCommand','VXSRZ','Current\x20CLI\x20Path\x20Found:\x20','existsSync','nxaaY','timeout','../../helpers/performance/performance-tester.js','JYyQl','LssjS','follow-redirects','warn','Development\x20Cli\x20Path:\x20','Temp\x20file\x20is\x20busy,\x20falling\x20back\x20to\x20existing\x20binary:\x20','data','SHELL_EXECUTE_ERROR','./state/testFrameworkState.js','unix:/tmp/sdk-platform-','jyIFp','CRiWs','env','gvvIh','open','7242816EOoSly','Using\x20BROWSERSTACK_BINARY_URL\x20from\x20env\x20variable:\x20','response\x20','aVwoL','getCLIParamsForDevEnv','YmYKQ','requestToUpdateCLI','./state/hookState.js','getSdkVersion','SDK_CLI_DOWNLOAD','wXUuL','Error\x20in\x20setting\x20up\x20cli\x20path\x20directory,\x20Exception:\x20','niEMI','3477020tboHnQ','YDucn','UQqEl','code','mergeObject','trim','Test\x20or\x20Automation\x20framework\x20not\x20provided\x20testFramework=','BROWSERSTACK_CLI_ENV','ipVEo','Got\x20Error\x20in\x20SDK\x20binary\x20downloading\x20request\x20',',\x20automationFramework=','aglrQ'];a84_0x3ce7=function(){return _0x450cda;};return a84_0x3ce7();}
@@ -1 +1 @@
1
- 'use strict';const a85_0x4c0812=a85_0x3caf;(function(_0x112c84,_0x55b3ef){const _0x5e46fb=a85_0x3caf,_0x2a2fc8=_0x112c84();while(!![]){try{const _0x312b16=parseInt(_0x5e46fb(0x18f))/0x1+parseInt(_0x5e46fb(0x1d3))/0x2*(parseInt(_0x5e46fb(0x1c2))/0x3)+-parseInt(_0x5e46fb(0x1b1))/0x4*(-parseInt(_0x5e46fb(0x198))/0x5)+-parseInt(_0x5e46fb(0x15c))/0x6+-parseInt(_0x5e46fb(0x16e))/0x7*(-parseInt(_0x5e46fb(0x19b))/0x8)+parseInt(_0x5e46fb(0x187))/0x9*(parseInt(_0x5e46fb(0x1d7))/0xa)+-parseInt(_0x5e46fb(0x1d1))/0xb;if(_0x312b16===_0x55b3ef)break;else _0x2a2fc8['push'](_0x2a2fc8['shift']());}catch(_0x33db5c){_0x2a2fc8['push'](_0x2a2fc8['shift']());}}}(a85_0x6447,0x3eced));const fs=require('fs'),os=require('os'),path=require('path'),helper=require(a85_0x4c0812(0x15f)),AutomationFramework=require(a85_0x4c0812(0x1a1)),TestFrameworkConstants=require(a85_0x4c0812(0x19c)),PlaywrightDriverModule=require(a85_0x4c0812(0x1aa)),TestInfo=require(a85_0x4c0812(0x1b6)),TestHubModule=require(a85_0x4c0812(0x1b7)),{createClassLogger}=require(a85_0x4c0812(0x1bb)),logger=createClassLogger(a85_0x4c0812(0x163)),BUILD_TAG_FILE_PREFIX=a85_0x4c0812(0x1c4);function getBuildTagsRunId(){const _0x29b9fc=a85_0x4c0812,_0x22aabd={};_0x22aabd[_0x29b9fc(0x1b3)]=function(_0x3d8432,_0x1e5a97){return _0x3d8432===_0x1e5a97;},_0x22aabd[_0x29b9fc(0x1ae)]=_0x29b9fc(0x180);const _0x21a5d3=_0x22aabd,_0x1a2f66=process[_0x29b9fc(0x156)][_0x29b9fc(0x197)];if(!_0x1a2f66||_0x21a5d3[_0x29b9fc(0x1b3)](_0x1a2f66,_0x21a5d3[_0x29b9fc(0x1ae)]))return null;return _0x1a2f66;}function getBuildTagsFilePath(_0x239642){const _0x51fdc2=a85_0x4c0812;return path['join'](os[_0x51fdc2(0x1b4)](),''+BUILD_TAG_FILE_PREFIX+_0x239642+'_'+process['pid']+_0x51fdc2(0x168));}class CustomTagManager{static [a85_0x4c0812(0x183)]={};static [a85_0x4c0812(0x1be)]={};static[a85_0x4c0812(0x15d)](_0x3458e5,_0x205fb9){return Array['from'](new Set([..._0x3458e5||[],..._0x205fb9||[]]));}static['mergeIntoTags'](_0x3ba64f,_0x121253,_0x2e7750){const _0x2d9914=a85_0x4c0812,_0x10a773={};_0x10a773[_0x2d9914(0x1b2)]='multi_dropdown';const _0x19417a=_0x10a773;if(!_0x3ba64f[_0x121253]){const _0x1cb887={};_0x1cb887[_0x2d9914(0x17e)]=_0x19417a[_0x2d9914(0x1b2)],_0x1cb887['values']=[..._0x2e7750||[]],_0x3ba64f[_0x121253]=_0x1cb887;}else!_0x3ba64f[_0x121253]['field_type']&&(_0x3ba64f[_0x121253][_0x2d9914(0x17e)]=_0x19417a[_0x2d9914(0x1b2)]),!Array[_0x2d9914(0x16c)](_0x3ba64f[_0x121253]['values'])&&(_0x3ba64f[_0x121253][_0x2d9914(0x1d4)]=[]),_0x3ba64f[_0x121253][_0x2d9914(0x1d4)]=CustomTagManager[_0x2d9914(0x15d)](_0x3ba64f[_0x121253][_0x2d9914(0x1d4)],_0x2e7750);return _0x3ba64f;}static async[a85_0x4c0812(0x1bc)](_0x43ca0b,_0x143b7c,_0x426550=![]){const _0x3da7c2=a85_0x4c0812,_0x136c73={'JMYzm':function(_0x329625,_0x57d751){return _0x329625!==_0x57d751;},'GKEHy':'string','GcNQG':_0x3da7c2(0x181),'LJVhU':function(_0x7f5631,_0x1d56aa){return _0x7f5631!==_0x1d56aa;},'bCpcf':_0x3da7c2(0x1b0),'lDSHq':function(_0x332196,_0x4d780a){return _0x332196===_0x4d780a;},'EigXh':_0x3da7c2(0x165),'pfWaT':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','CjmJz':function(_0x17627c,_0x418b50){return _0x17627c(_0x418b50);},'NYChU':_0x3da7c2(0x192),'Aamhf':function(_0x2c788b){return _0x2c788b();},'gbGGa':_0x3da7c2(0x1a4),'QffrO':function(_0x5e4b3e,_0x342ea1){return _0x5e4b3e>_0x342ea1;},'aftYE':function(_0x28dcb8,_0x133833){return _0x28dcb8(_0x133833);},'yTgmt':'CustomTagManager.setCustomTags:\x20BROWSERSTACK_TESTHUB_UUID\x20not\x20set;\x20skipping\x20build-tag\x20temp-file\x20write','TzBPP':':jest-','erDSK':function(_0x5258ad,_0x250b7b){return _0x5258ad(_0x250b7b);},'nOfFI':_0x3da7c2(0x158),'lGgRN':_0x3da7c2(0x16b),'MzoXa':_0x3da7c2(0x18c),'OFyna':_0x3da7c2(0x18b),'bFbgm':function(_0x3c6ef1,_0x3f4764){return _0x3c6ef1(_0x3f4764);},'StzVA':'./state/testFrameworkState','BAral':'./state/hookState','gJXMp':'CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright'};if(_0x136c73[_0x3da7c2(0x19a)](typeof _0x43ca0b,_0x136c73[_0x3da7c2(0x1d2)])){logger['debug'](_0x136c73[_0x3da7c2(0x1a0)]);return;}if(_0x136c73[_0x3da7c2(0x1a9)](typeof _0x143b7c,_0x136c73['GKEHy'])){logger[_0x3da7c2(0x154)](_0x136c73[_0x3da7c2(0x16a)]);return;}if(_0x136c73['lDSHq'](_0x43ca0b[_0x3da7c2(0x1a3)](),'')){logger[_0x3da7c2(0x154)](_0x136c73[_0x3da7c2(0x191)]);return;}if(_0x136c73[_0x3da7c2(0x161)](_0x143b7c[_0x3da7c2(0x1a3)](),'')){logger[_0x3da7c2(0x154)](_0x136c73[_0x3da7c2(0x1d8)]);return;}const _0x5c95cd=helper['parseCommaSeparatedValues'](_0x143b7c);if(_0x426550){const _0x3f0edc=_0x136c73[_0x3da7c2(0x170)](require,_0x136c73['NYChU']),_0x4a15c2=_0x3f0edc[_0x3da7c2(0x1c1)](),_0x5d79be=_0x4a15c2&&_0x4a15c2[_0x3da7c2(0x1a6)][TestHubModule[_0x3da7c2(0x175)]];if(_0x5d79be){const _0x380193=_0x5d79be?.[_0x3da7c2(0x18e)]?.[_0x3da7c2(0x1af)]()?.[_0x3da7c2(0x1b5)];TestInfo[_0x3da7c2(0x1a5)](_0x380193);const _0x281418=TestInfo[_0x3da7c2(0x169)](_0x380193),_0x4b4fe3=_0x281418[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};CustomTagManager[_0x3da7c2(0x186)](_0x4b4fe3,_0x43ca0b,_0x5c95cd),_0x281418[TestFrameworkConstants[_0x3da7c2(0x1c0)]]=_0x4b4fe3,TestInfo[_0x3da7c2(0x195)](_0x380193,_0x281418);!this['buildLevelTags'][_0x380193]&&(this[_0x3da7c2(0x183)][_0x380193]={});this[_0x3da7c2(0x183)][_0x380193][_0x43ca0b]=CustomTagManager[_0x3da7c2(0x15d)](this[_0x3da7c2(0x183)][_0x380193][_0x43ca0b],_0x5c95cd);try{const _0x2aae78=_0x136c73[_0x3da7c2(0x182)](getBuildTagsRunId);if(_0x2aae78){const _0x467c03={};for(const [_0xbf87b3,_0xff5508]of Object['entries'](this[_0x3da7c2(0x183)][_0x380193]||{})){_0x467c03[_0xbf87b3]={'field_type':_0x136c73[_0x3da7c2(0x1b8)],'values':Array[_0x3da7c2(0x16c)](_0xff5508)?[..._0xff5508]:[]};}_0x136c73['QffrO'](Object[_0x3da7c2(0x194)](_0x467c03)['length'],0x0)&&await fs[_0x3da7c2(0x17d)][_0x3da7c2(0x1c7)](_0x136c73[_0x3da7c2(0x1ac)](getBuildTagsFilePath,_0x2aae78),JSON['stringify'](_0x467c03));}else logger['debug'](_0x136c73[_0x3da7c2(0x1b9)]);}catch(_0x4815eb){logger[_0x3da7c2(0x154)](_0x3da7c2(0x171)+(_0x4815eb&&_0x4815eb[_0x3da7c2(0x193)]?_0x4815eb['message']:_0x4815eb));}}}else{let _0x300c70;const _0x396333=global['__jestCurrentTestIdentifier'];let _0x39e413=![];if(_0x396333&&_0x396333[_0x3da7c2(0x19f)](_0x136c73[_0x3da7c2(0x1a8)]))_0x39e413=!![],_0x300c70=_0x396333;else try{const _0x1cd4e8=_0x136c73[_0x3da7c2(0x1bd)](require,_0x136c73[_0x3da7c2(0x176)]),_0x140c73=_0x136c73[_0x3da7c2(0x1bd)](require,_0x136c73[_0x3da7c2(0x1ca)]);if(_0x140c73[_0x3da7c2(0x1c1)]()[_0x3da7c2(0x172)]()){const _0x2b8797=_0x1cd4e8[_0x3da7c2(0x177)]();if(_0x136c73[_0x3da7c2(0x161)](_0x2b8797?.[_0x3da7c2(0x1c6)]?.[_0x3da7c2(0x1da)](),_0x136c73['lGgRN'])){const _0x1cd881=AutomationFramework[_0x3da7c2(0x18a)]();_0x300c70=AutomationFramework[_0x3da7c2(0x17a)](_0x1cd881,PlaywrightDriverModule[_0x3da7c2(0x164)],''),_0x300c70&&_0x300c70['includes'](_0x136c73[_0x3da7c2(0x1a8)])&&(_0x39e413=!![]);}}}catch(_0x48a4ac){logger['debug'](_0x3da7c2(0x162)+_0x48a4ac);}if(_0x39e413){if(!_0x300c70)throw new Error(_0x136c73[_0x3da7c2(0x1d6)]);const _0x152588=_0x136c73[_0x3da7c2(0x170)](require,_0x136c73['NYChU']),_0x5327ee=_0x152588[_0x3da7c2(0x1c1)]()['getTestFramework']();if(!_0x5327ee)throw new Error(_0x136c73[_0x3da7c2(0x1d0)]);const _0x358b32=_0x136c73[_0x3da7c2(0x1c5)](require,_0x136c73[_0x3da7c2(0x159)]),_0x236e06=_0x136c73[_0x3da7c2(0x1c5)](require,_0x136c73[_0x3da7c2(0x16d)]),_0x344f2b=_0x5327ee['resolveInstance'](_0x358b32['TEST'],_0x236e06[_0x3da7c2(0x1c8)]);if(!_0x344f2b)throw new Error(_0x136c73[_0x3da7c2(0x190)]);const _0x359d72=_0x344f2b['getAllData']()['get'](_0x300c70)||{},_0x3a0fe6=_0x359d72[TestFrameworkConstants[_0x3da7c2(0x1c0)]]||{};logger[_0x3da7c2(0x154)](_0x3da7c2(0x155)+_0x300c70+_0x3da7c2(0x1ab)+_0x43ca0b+',\x20values='+JSON[_0x3da7c2(0x196)](_0x5c95cd)+',\x20existingTags='+JSON['stringify'](_0x3a0fe6)),CustomTagManager['mergeIntoTags'](_0x3a0fe6,_0x43ca0b,_0x5c95cd),logger[_0x3da7c2(0x154)](_0x3da7c2(0x174)+_0x43ca0b+'\x20->\x20values='+JSON[_0x3da7c2(0x196)](_0x3a0fe6[_0x43ca0b][_0x3da7c2(0x1d4)]));const _0x4fb7b6={[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3a0fe6},_0x1df864={};_0x1df864[_0x300c70]=_0x4fb7b6,_0x344f2b[_0x3da7c2(0x17b)](_0x1df864),logger[_0x3da7c2(0x154)]('[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier='+_0x300c70+_0x3da7c2(0x1ce)+JSON[_0x3da7c2(0x196)](_0x3a0fe6)),!this[_0x3da7c2(0x1be)][_0x300c70]&&(this[_0x3da7c2(0x1be)][_0x300c70]={}),this[_0x3da7c2(0x1be)][_0x300c70][_0x43ca0b]=CustomTagManager[_0x3da7c2(0x15d)](this['testLevelTags'][_0x300c70][_0x43ca0b],_0x5c95cd);}else{const _0x68bc72=global[_0x3da7c2(0x1a7)]?.[_0x3da7c2(0x18d)]?.[_0x3da7c2(0x1c9)];if(!_0x68bc72){const _0x7a95af=AutomationFramework['getTrackedInstance']();_0x300c70=AutomationFramework['getState'](_0x7a95af,PlaywrightDriverModule[_0x3da7c2(0x164)],'');}else _0x300c70=TestInfo[_0x3da7c2(0x17c)](_0x68bc72,_0x68bc72['retry']);const _0x1a2256=TestInfo['getTestDetails'](_0x300c70),_0x5b467d=_0x1a2256[TestFrameworkConstants[_0x3da7c2(0x1c0)]]||{};CustomTagManager[_0x3da7c2(0x186)](_0x5b467d,_0x43ca0b,_0x5c95cd),_0x1a2256[TestFrameworkConstants[_0x3da7c2(0x1c0)]]=_0x5b467d,TestInfo[_0x3da7c2(0x195)](_0x300c70,_0x1a2256),!this[_0x3da7c2(0x1be)][_0x300c70]&&(this[_0x3da7c2(0x1be)][_0x300c70]={}),this[_0x3da7c2(0x1be)][_0x300c70][_0x43ca0b]=CustomTagManager[_0x3da7c2(0x15d)](this[_0x3da7c2(0x1be)][_0x300c70][_0x43ca0b],_0x5c95cd);}}}static[a85_0x4c0812(0x1ad)](){const _0x541545=a85_0x4c0812,_0x593f04={...this[_0x541545(0x183)]};return _0x593f04;}static[a85_0x4c0812(0x199)](){const _0x58ed49=a85_0x4c0812,_0x123067={...this[_0x58ed49(0x1be)]};return _0x123067;}static['clearTags'](){const _0xd6529c=a85_0x4c0812;this[_0xd6529c(0x183)]={},this['testLevelTags']={};}static[a85_0x4c0812(0x167)](_0x1ecfa1,_0x39f5b7){const _0x1c0a73=a85_0x4c0812,_0x574971={};_0x574971[_0x1c0a73(0x184)]=function(_0x47352,_0x25ab56){return _0x47352||_0x25ab56;};const _0x5b5bf3=_0x574971;if(!_0x1ecfa1)return;!this[_0x1c0a73(0x183)][_0x1ecfa1]&&(this[_0x1c0a73(0x183)][_0x1ecfa1]={});for(const [_0x19ee81,_0x5a99a4]of Object[_0x1c0a73(0x1a2)](_0x5b5bf3[_0x1c0a73(0x184)](_0x39f5b7,{}))){if(!_0x5a99a4||!Array[_0x1c0a73(0x16c)](_0x5a99a4['values']))continue;this[_0x1c0a73(0x183)][_0x1ecfa1][_0x19ee81]=CustomTagManager['mergeValues'](this[_0x1c0a73(0x183)][_0x1ecfa1][_0x19ee81],_0x5a99a4[_0x1c0a73(0x1d4)]);}}static[a85_0x4c0812(0x1bf)](_0x27499c,_0x4aae66){const _0x4c7cf3=a85_0x4c0812,_0x1df9f5={};_0x1df9f5[_0x4c7cf3(0x1ba)]=_0x4c7cf3(0x1cc),_0x1df9f5[_0x4c7cf3(0x16f)]=function(_0x1f3519,_0x34e31e){return _0x1f3519*_0x34e31e;},_0x1df9f5[_0x4c7cf3(0x188)]=function(_0x4ce9f6,_0x1484ac){return _0x4ce9f6>_0x1484ac;},_0x1df9f5[_0x4c7cf3(0x1d5)]=function(_0x5737a0,_0x50152a){return _0x5737a0-_0x50152a;},_0x1df9f5[_0x4c7cf3(0x19e)]=_0x4c7cf3(0x160);const _0x212a3c=_0x1df9f5;if(!_0x27499c)return logger[_0x4c7cf3(0x154)](_0x212a3c[_0x4c7cf3(0x1ba)]),0x0;let _0x3cedb9;try{_0x3cedb9=os['tmpdir']();}catch(_0x49ed75){return logger[_0x4c7cf3(0x154)](_0x4c7cf3(0x19d)+_0x49ed75),0x0;}let _0x4c8211;try{_0x4c8211=fs[_0x4c7cf3(0x189)](_0x3cedb9);}catch(_0x17e270){return logger[_0x4c7cf3(0x154)](_0x4c7cf3(0x1c3)+_0x17e270),0x0;}const _0x3aff3f=''+BUILD_TAG_FILE_PREFIX+_0x27499c+'_',_0x58a632=_0x4c8211['filter'](_0x21f8b3=>_0x21f8b3[_0x4c7cf3(0x179)](_0x3aff3f)&&_0x21f8b3[_0x4c7cf3(0x17f)](_0x4c7cf3(0x168))),_0x1df189=_0x212a3c[_0x4c7cf3(0x16f)](_0x212a3c[_0x4c7cf3(0x16f)](_0x212a3c['KxFYs'](0x2,0x3c),0x3c),0x3e8);let _0x384efc=0x0;for(const _0x29caa5 of _0x58a632){const _0x5c87bb=path[_0x4c7cf3(0x157)](_0x3cedb9,_0x29caa5);try{const _0x1a8004=fs[_0x4c7cf3(0x15e)](_0x5c87bb);if(_0x212a3c[_0x4c7cf3(0x188)](_0x212a3c[_0x4c7cf3(0x1d5)](Date[_0x4c7cf3(0x185)](),_0x1a8004['mtimeMs']),_0x1df189)){logger[_0x4c7cf3(0x154)]('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20skipping\x20stale\x20file\x20(>'+_0x1df189+_0x4c7cf3(0x166)+_0x29caa5);try{fs[_0x4c7cf3(0x15a)](_0x5c87bb);}catch(_0x2cb074){logger[_0x4c7cf3(0x154)](_0x4c7cf3(0x15b)+_0x29caa5+':\x20'+(_0x2cb074&&_0x2cb074[_0x4c7cf3(0x193)]?_0x2cb074[_0x4c7cf3(0x193)]:_0x2cb074));}continue;}const _0x468ca9=fs[_0x4c7cf3(0x1cf)](_0x5c87bb,_0x212a3c[_0x4c7cf3(0x19e)]),_0x5f3cc9=JSON[_0x4c7cf3(0x173)](_0x468ca9);this[_0x4c7cf3(0x167)](_0x4aae66,_0x5f3cc9),_0x384efc+=0x1;}catch(_0x276dd2){logger[_0x4c7cf3(0x154)](_0x4c7cf3(0x1cb)+_0x29caa5+':\x20'+(_0x276dd2&&_0x276dd2['message']?_0x276dd2[_0x4c7cf3(0x193)]:_0x276dd2));}try{fs['unlinkSync'](_0x5c87bb);}catch(_0x368afa){logger[_0x4c7cf3(0x154)](_0x4c7cf3(0x1db)+_0x29caa5+':\x20'+(_0x368afa&&_0x368afa[_0x4c7cf3(0x193)]?_0x368afa[_0x4c7cf3(0x193)]:_0x368afa));}}return _0x384efc;}}function a85_0x3caf(_0x44536a,_0x34c6e3){const _0x644733=a85_0x6447();return a85_0x3caf=function(_0x3cafda,_0x3e58dc){_0x3cafda=_0x3cafda-0x154;let _0xd84a78=_0x644733[_0x3cafda];return _0xd84a78;},a85_0x3caf(_0x44536a,_0x34c6e3);}const a85_0x150135={};function a85_0x6447(){const _0x3bf501=['endsWith','null','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','Aamhf','buildLevelTags','aWmlN','now','mergeIntoTags','45XwFiwS','pJzFT','readdirSync','getTrackedInstance','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','currentTest','testhubConfig','357493FxRWdV','gJXMp','EigXh','./browserstackCLI','message','keys','setTestDetails','stringify','BROWSERSTACK_TESTHUB_UUID','578905wrtqtr','getTestLevelTags','JMYzm','1776fOaQde','./framework/constants/testFrameworkConstants','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20os.tmpdir()\x20failed:\x20','rcPOh','includes','GcNQG','./framework/automationFramework','entries','trim','multi_dropdown','getTestUUID','modules','__workerDetails','TzBPP','LJVhU','./modules/playwrightDriverModule',',\x20key=','aftYE','getBuildLevelTags','UVasv','toObject','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','4fVjjoR','Wabtm','NVMio','tmpdir','buildHashedId','./TestInfo','./modules/testhubModule','gbGGa','yTgmt','tQTZW','../../helpers/classLogger','setCustomTags','erDSK','testLevelTags','aggregateBuildLevelTagsFromTmp','KEY_CUSTOM_TAGS','getInstance','24aAAYSx','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20readdir\x20failed:\x20','bstack_build_tags_','bFbgm','name','writeFile','POST','testInfo','NYChU','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20error\x20reading\x20','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20no\x20runId\x20provided;\x20nothing\x20to\x20aggregate','getBuildTagsFilePath',',\x20finalTags=','readFileSync','OFyna','2919334IUzcWS','GKEHy','18820cOIWJb','values','aoYtk','MzoXa','854410QimMAS','pfWaT','getBuildTagsRunId','toLowerCase','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20','debug','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','env','join','./cliUtils','StzVA','unlinkSync','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20stale\x20','2887788hrTtDc','mergeValues','statSync','../../helpers/helper','utf8','lDSHq','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','CustomTagManager','KEY_TEST_ID','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','ms)\x20','mergeBuildLevelTags','.json','getTestDetails','bCpcf','jest','isArray','BAral','889TgTAKZ','KxFYs','CjmJz','CustomTagManager.setCustomTags:\x20build-tag\x20temp-file\x20write\x20failed:\x20','isRunning','parse','[CustomTagManager]\x20setCustomTags:\x20Merged\x20tag\x20key=','MODULE_NAME','nOfFI','getTestFrameworkDetail','exports','startsWith','getState','addMultipleEntries','getTestIdentifierFromTestInfo','promises','field_type'];a85_0x6447=function(){return _0x3bf501;};return a85_0x6447();}a85_0x150135[a85_0x4c0812(0x1d9)]=getBuildTagsRunId,a85_0x150135[a85_0x4c0812(0x1cd)]=getBuildTagsFilePath,a85_0x150135['BUILD_TAG_FILE_PREFIX']=BUILD_TAG_FILE_PREFIX,CustomTagManager['_testInternals']=a85_0x150135,module[a85_0x4c0812(0x178)]=CustomTagManager;
1
+ 'use strict';function a85_0x2b2d(){const _0x171ae9=['CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20','zEYfH','__workerDetails','./state/hookState','CJvJs','getBuildTagsFilePath','KEY_TEST_ID','mergeValues','multi_dropdown','NJNIb','OMwCq','bHbZT','parse','222gOUxgc','50030OlcIkn','prWdD','getTestFramework','entries','utf8','RtXzU','name',',\x20finalTags=','promises','readFileSync','5304012ZTBzPD','retry','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20readdir\x20failed:\x20','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','string','pOkOZ','bstack_build_tags_','keys','mergeIntoTags','BUILD_TAG_FILE_PREFIX','YooHS','aggregateBuildLevelTagsFromTmp','[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier=','IIzTZ','writeFile','29819tXWwVD','10038175KhTDIb','BTuEo','getAllData','trim','getBuildTagsRunId','./browserstackCLI','AIWFn','KSzur','oNlfX','cZlew','CustomTagManager.setCustomTags:\x20build-tag\x20temp-file\x20write\x20failed:\x20','__jestCurrentTestIdentifier','61497BGwATA','sMgPQ','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20os.tmpdir()\x20failed:\x20','null','2530050PcKYOT','debug','length','resolveInstance','pUQnt','unlinkSync','808EgdNZy','setCustomTags','stringify',',\x20existingTags=','tmpdir','./TestInfo','toObject','getTestLevelTags','CustomTagManager','exports','KEY_CUSTOM_TAGS','BROWSERSTACK_TESTHUB_UUID','field_type','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','setTestDetails','MODULE_NAME','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20no\x20runId\x20provided;\x20nothing\x20to\x20aggregate','isArray','./modules/playwrightDriverModule','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20stale\x20','KDKOj','suRrS','6lesaHG','UaPVA','XutNp','getTestIdentifierFromTestInfo','.json','./modules/testhubModule','CustomTagManager.setCustomTags:\x20BROWSERSTACK_TESTHUB_UUID\x20not\x20set;\x20skipping\x20build-tag\x20temp-file\x20write','testLevelTags','_testInternals','188142KVVUUk','getBuildLevelTags','pid','XXkrO','beMnf','readdirSync','getState','../../helpers/classLogger','tHkYq','OWjHl','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','buildHashedId','env','getInstance','currentTest','toLowerCase','modules',':jest-','parseCommaSeparatedValues','./cliUtils','ms)\x20','testInfo',',\x20key=','getTrackedInstance','filter','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20skipping\x20stale\x20file\x20(>','values','getTestDetails','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','message','includes','DBadz','nmrWG','POST','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','TGzvG','join','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','AgwwX','RZyfr','statSync','startsWith','buildLevelTags'];a85_0x2b2d=function(){return _0x171ae9;};return a85_0x2b2d();}const a85_0x57f39f=a85_0x46d9;(function(_0x21fb0f,_0x302383){const _0x1fbda3=a85_0x46d9,_0x214d9d=_0x21fb0f();while(!![]){try{const _0xcc3d68=parseInt(_0x1fbda3(0xa8))/0x1*(parseInt(_0x1fbda3(0xd5))/0x2)+parseInt(_0x1fbda3(0xde))/0x3+-parseInt(_0x1fbda3(0x99))/0x4+-parseInt(_0x1fbda3(0x8f))/0x5*(parseInt(_0x1fbda3(0x116))/0x6)+parseInt(_0x1fbda3(0xa9))/0x7+parseInt(_0x1fbda3(0xbf))/0x8*(parseInt(_0x1fbda3(0xb5))/0x9)+parseInt(_0x1fbda3(0xb9))/0xa;if(_0xcc3d68===_0x302383)break;else _0x214d9d['push'](_0x214d9d['shift']());}catch(_0x5352ac){_0x214d9d['push'](_0x214d9d['shift']());}}}(a85_0x2b2d,0xcb655));function a85_0x46d9(_0x4a192e,_0x42854e){const _0x2b2de0=a85_0x2b2d();return a85_0x46d9=function(_0x46d9a1,_0x5f5d95){_0x46d9a1=_0x46d9a1-0x8f;let _0x34589d=_0x2b2de0[_0x46d9a1];return _0x34589d;},a85_0x46d9(_0x4a192e,_0x42854e);}const fs=require('fs'),os=require('os'),path=require('path'),helper=require('../../helpers/helper'),AutomationFramework=require('./framework/automationFramework'),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),PlaywrightDriverModule=require(a85_0x57f39f(0xd1)),TestInfo=require(a85_0x57f39f(0xc4)),TestHubModule=require(a85_0x57f39f(0xda)),{createClassLogger}=require(a85_0x57f39f(0xe5)),logger=createClassLogger(a85_0x57f39f(0xc7)),BUILD_TAG_FILE_PREFIX=a85_0x57f39f(0x9f);function getBuildTagsRunId(){const _0xb3651a=a85_0x57f39f,_0xa6d103={};_0xa6d103[_0xb3651a(0xe1)]=function(_0x270cd2,_0x1c0a80){return _0x270cd2===_0x1c0a80;},_0xa6d103[_0xb3651a(0xd4)]=_0xb3651a(0xb8);const _0x533d26=_0xa6d103,_0x29f7df=process[_0xb3651a(0xea)][_0xb3651a(0xca)];if(!_0x29f7df||_0x533d26['XXkrO'](_0x29f7df,_0x533d26['suRrS']))return null;return _0x29f7df;}function getBuildTagsFilePath(_0x3f70f9){const _0x1a7ee9=a85_0x57f39f;return path[_0x1a7ee9(0x102)](os[_0x1a7ee9(0xc3)](),''+BUILD_TAG_FILE_PREFIX+_0x3f70f9+'_'+process[_0x1a7ee9(0xe0)]+_0x1a7ee9(0xd9));}class CustomTagManager{static ['buildLevelTags']={};static ['testLevelTags']={};static[a85_0x57f39f(0x110)](_0xd797bf,_0x3d5201){return Array['from'](new Set([..._0xd797bf||[],..._0x3d5201||[]]));}static[a85_0x57f39f(0xa1)](_0x25bdf5,_0x762f65,_0x33ccf6){const _0xf33aee=a85_0x57f39f,_0x51d393={};_0x51d393[_0xf33aee(0xfe)]=_0xf33aee(0x111);const _0x3203be=_0x51d393;if(!_0x25bdf5[_0x762f65]){const _0x2377f1={};_0x2377f1['field_type']=_0x3203be[_0xf33aee(0xfe)],_0x2377f1[_0xf33aee(0xf8)]=[..._0x33ccf6||[]],_0x25bdf5[_0x762f65]=_0x2377f1;}else!_0x25bdf5[_0x762f65][_0xf33aee(0xcb)]&&(_0x25bdf5[_0x762f65][_0xf33aee(0xcb)]=_0x3203be[_0xf33aee(0xfe)]),!Array[_0xf33aee(0xd0)](_0x25bdf5[_0x762f65][_0xf33aee(0xf8)])&&(_0x25bdf5[_0x762f65]['values']=[]),_0x25bdf5[_0x762f65][_0xf33aee(0xf8)]=CustomTagManager['mergeValues'](_0x25bdf5[_0x762f65][_0xf33aee(0xf8)],_0x33ccf6);return _0x25bdf5;}static async[a85_0x57f39f(0xc0)](_0x2f3c81,_0x14e253,_0x473291=![]){const _0x2cd191=a85_0x57f39f,_0x32b647={'pSSto':function(_0x282c0a,_0x4ee39f){return _0x282c0a!==_0x4ee39f;},'sMgPQ':_0x2cd191(0x9d),'KDKOj':_0x2cd191(0x9c),'XutNp':function(_0x38c1d8,_0x1bf483){return _0x38c1d8!==_0x1bf483;},'GMZOu':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','KSzur':function(_0x24680d,_0x551921){return _0x24680d===_0x551921;},'pOkOZ':_0x2cd191(0xfa),'zEYfH':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','oNlfX':function(_0x51486e,_0x31d2fe){return _0x51486e(_0x31d2fe);},'bHbZT':_0x2cd191(0xae),'UaPVA':function(_0x297915){return _0x297915();},'xyyph':_0x2cd191(0x111),'TGzvG':function(_0x4f389a,_0x19dd9c){return _0x4f389a>_0x19dd9c;},'beMnf':_0x2cd191(0xdb),'AgwwX':_0x2cd191(0xef),'UPDtZ':_0x2cd191(0xf1),'BTuEo':function(_0x2b0324,_0x39c0a0){return _0x2b0324(_0x39c0a0);},'prWdD':function(_0xcf68fe,_0x2554cf){return _0xcf68fe===_0x2554cf;},'TLMMd':'jest','ygqvb':_0x2cd191(0xe8),'tHkYq':function(_0x2d4d85,_0x10aba8){return _0x2d4d85(_0x10aba8);},'cZlew':_0x2cd191(0xcc),'CJvJs':function(_0x5695f1,_0x410655){return _0x5695f1(_0x410655);},'OMwCq':'./state/testFrameworkState','OWjHl':_0x2cd191(0x10c),'IIzTZ':'CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright'};if(_0x32b647['pSSto'](typeof _0x2f3c81,_0x32b647['sMgPQ'])){logger['debug'](_0x32b647[_0x2cd191(0xd3)]);return;}if(_0x32b647[_0x2cd191(0xd7)](typeof _0x14e253,_0x32b647[_0x2cd191(0xb6)])){logger[_0x2cd191(0xba)](_0x32b647['GMZOu']);return;}if(_0x32b647[_0x2cd191(0xb0)](_0x2f3c81[_0x2cd191(0xac)](),'')){logger[_0x2cd191(0xba)](_0x32b647[_0x2cd191(0x9e)]);return;}if(_0x32b647[_0x2cd191(0xb0)](_0x14e253[_0x2cd191(0xac)](),'')){logger['debug'](_0x32b647[_0x2cd191(0x10a)]);return;}const _0xaf183b=helper[_0x2cd191(0xf0)](_0x14e253);if(_0x473291){const _0x54e304=_0x32b647[_0x2cd191(0xb1)](require,_0x32b647['bHbZT']),_0x3e04ab=_0x54e304[_0x2cd191(0xeb)](),_0x13806c=_0x3e04ab&&_0x3e04ab[_0x2cd191(0xee)][TestHubModule[_0x2cd191(0xce)]];if(_0x13806c){const _0x3f7598=_0x13806c?.['testhubConfig']?.[_0x2cd191(0xc5)]()?.[_0x2cd191(0xe9)];TestInfo['getTestUUID'](_0x3f7598);const _0x1e52af=TestInfo['getTestDetails'](_0x3f7598),_0x1e1e18=_0x1e52af[TestFrameworkConstants[_0x2cd191(0xc9)]]||{};CustomTagManager[_0x2cd191(0xa1)](_0x1e1e18,_0x2f3c81,_0xaf183b),_0x1e52af[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x1e1e18,TestInfo[_0x2cd191(0xcd)](_0x3f7598,_0x1e52af);!this[_0x2cd191(0x108)][_0x3f7598]&&(this[_0x2cd191(0x108)][_0x3f7598]={});this['buildLevelTags'][_0x3f7598][_0x2f3c81]=CustomTagManager[_0x2cd191(0x110)](this[_0x2cd191(0x108)][_0x3f7598][_0x2f3c81],_0xaf183b);try{const _0x1f25be=_0x32b647[_0x2cd191(0xd6)](getBuildTagsRunId);if(_0x1f25be){const _0x8ffb04={};for(const [_0xc8f4dd,_0x1bcafe]of Object[_0x2cd191(0x92)](this[_0x2cd191(0x108)][_0x3f7598]||{})){_0x8ffb04[_0xc8f4dd]={'field_type':_0x32b647['xyyph'],'values':Array[_0x2cd191(0xd0)](_0x1bcafe)?[..._0x1bcafe]:[]};}_0x32b647[_0x2cd191(0x101)](Object[_0x2cd191(0xa0)](_0x8ffb04)[_0x2cd191(0xbb)],0x0)&&await fs[_0x2cd191(0x97)][_0x2cd191(0xa7)](_0x32b647[_0x2cd191(0xb1)](getBuildTagsFilePath,_0x1f25be),JSON[_0x2cd191(0xc1)](_0x8ffb04));}else logger[_0x2cd191(0xba)](_0x32b647[_0x2cd191(0xe2)]);}catch(_0x1a6693){logger['debug'](_0x2cd191(0xb3)+(_0x1a6693&&_0x1a6693[_0x2cd191(0xfb)]?_0x1a6693[_0x2cd191(0xfb)]:_0x1a6693));}}}else{let _0x2bf149;const _0x59a71f=global[_0x2cd191(0xb4)];let _0x13df73=![];if(_0x59a71f&&_0x59a71f[_0x2cd191(0xfc)](_0x32b647[_0x2cd191(0x104)]))_0x13df73=!![],_0x2bf149=_0x59a71f;else try{const _0x137b3c=_0x32b647['oNlfX'](require,_0x32b647['UPDtZ']),_0x617c79=_0x32b647[_0x2cd191(0xaa)](require,_0x32b647[_0x2cd191(0x114)]);if(_0x617c79[_0x2cd191(0xeb)]()['isRunning']()){const _0x17e307=_0x137b3c['getTestFrameworkDetail']();if(_0x32b647[_0x2cd191(0x90)](_0x17e307?.[_0x2cd191(0x95)]?.[_0x2cd191(0xed)](),_0x32b647['TLMMd'])){const _0x29b533=AutomationFramework[_0x2cd191(0xf5)]();_0x2bf149=AutomationFramework[_0x2cd191(0xe4)](_0x29b533,PlaywrightDriverModule[_0x2cd191(0x10f)],''),_0x2bf149&&_0x2bf149['includes'](_0x32b647['AgwwX'])&&(_0x13df73=!![]);}}}catch(_0x1d41ad){logger['debug'](_0x2cd191(0x103)+_0x1d41ad);}if(_0x13df73){if(!_0x2bf149)throw new Error(_0x32b647['ygqvb']);const _0x1ce7c5=_0x32b647[_0x2cd191(0xe6)](require,_0x32b647[_0x2cd191(0x114)]),_0x215728=_0x1ce7c5[_0x2cd191(0xeb)]()[_0x2cd191(0x91)]();if(!_0x215728)throw new Error(_0x32b647[_0x2cd191(0xb2)]);const _0x5e1094=_0x32b647[_0x2cd191(0x10d)](require,_0x32b647[_0x2cd191(0x113)]),_0x7bee03=_0x32b647[_0x2cd191(0x10d)](require,_0x32b647[_0x2cd191(0xe7)]),_0x5758ad=_0x215728[_0x2cd191(0xbc)](_0x5e1094['TEST'],_0x7bee03[_0x2cd191(0xff)]);if(!_0x5758ad)throw new Error(_0x32b647[_0x2cd191(0xa6)]);const _0x1c75c8=_0x5758ad[_0x2cd191(0xab)]()['get'](_0x2bf149)||{},_0x41aee3=_0x1c75c8[TestFrameworkConstants[_0x2cd191(0xc9)]]||{};logger[_0x2cd191(0xba)](_0x2cd191(0x100)+_0x2bf149+_0x2cd191(0xf4)+_0x2f3c81+',\x20values='+JSON[_0x2cd191(0xc1)](_0xaf183b)+_0x2cd191(0xc2)+JSON[_0x2cd191(0xc1)](_0x41aee3)),CustomTagManager[_0x2cd191(0xa1)](_0x41aee3,_0x2f3c81,_0xaf183b),logger[_0x2cd191(0xba)]('[CustomTagManager]\x20setCustomTags:\x20Merged\x20tag\x20key='+_0x2f3c81+'\x20->\x20values='+JSON[_0x2cd191(0xc1)](_0x41aee3[_0x2f3c81][_0x2cd191(0xf8)]));const _0x2d636e={[TestFrameworkConstants[_0x2cd191(0xc9)]]:_0x41aee3},_0xb527ef={};_0xb527ef[_0x2bf149]=_0x2d636e,_0x5758ad['addMultipleEntries'](_0xb527ef),logger[_0x2cd191(0xba)](_0x2cd191(0xa5)+_0x2bf149+_0x2cd191(0x96)+JSON[_0x2cd191(0xc1)](_0x41aee3)),!this['testLevelTags'][_0x2bf149]&&(this[_0x2cd191(0xdc)][_0x2bf149]={}),this[_0x2cd191(0xdc)][_0x2bf149][_0x2f3c81]=CustomTagManager['mergeValues'](this[_0x2cd191(0xdc)][_0x2bf149][_0x2f3c81],_0xaf183b);}else{const _0x79dcfb=global[_0x2cd191(0x10b)]?.[_0x2cd191(0xec)]?.[_0x2cd191(0xf3)];if(!_0x79dcfb){const _0x1e6b0a=AutomationFramework[_0x2cd191(0xf5)]();_0x2bf149=AutomationFramework[_0x2cd191(0xe4)](_0x1e6b0a,PlaywrightDriverModule[_0x2cd191(0x10f)],'');}else _0x2bf149=TestInfo[_0x2cd191(0xd8)](_0x79dcfb,_0x79dcfb[_0x2cd191(0x9a)]);const _0x881840=TestInfo[_0x2cd191(0xf9)](_0x2bf149),_0x159d29=_0x881840[TestFrameworkConstants[_0x2cd191(0xc9)]]||{};CustomTagManager[_0x2cd191(0xa1)](_0x159d29,_0x2f3c81,_0xaf183b),_0x881840[TestFrameworkConstants[_0x2cd191(0xc9)]]=_0x159d29,TestInfo[_0x2cd191(0xcd)](_0x2bf149,_0x881840),!this[_0x2cd191(0xdc)][_0x2bf149]&&(this['testLevelTags'][_0x2bf149]={}),this[_0x2cd191(0xdc)][_0x2bf149][_0x2f3c81]=CustomTagManager[_0x2cd191(0x110)](this[_0x2cd191(0xdc)][_0x2bf149][_0x2f3c81],_0xaf183b);}}}static[a85_0x57f39f(0xdf)](){const _0x5d1c1c=a85_0x57f39f,_0x25709c={...this[_0x5d1c1c(0x108)]};return _0x25709c;}static[a85_0x57f39f(0xc6)](){const _0x3e383b={...this['testLevelTags']};return _0x3e383b;}static['clearTags'](){const _0xdf7d77=a85_0x57f39f;this[_0xdf7d77(0x108)]={},this[_0xdf7d77(0xdc)]={};}static['mergeBuildLevelTags'](_0x355250,_0x19331c){const _0x2ca55f=a85_0x57f39f,_0x2b488e={};_0x2b488e['pUQnt']=function(_0x2029f0,_0x1a9592){return _0x2029f0||_0x1a9592;};const _0x3f9823=_0x2b488e;if(!_0x355250)return;!this['buildLevelTags'][_0x355250]&&(this[_0x2ca55f(0x108)][_0x355250]={});for(const [_0x261fae,_0x2f7447]of Object[_0x2ca55f(0x92)](_0x3f9823[_0x2ca55f(0xbd)](_0x19331c,{}))){if(!_0x2f7447||!Array[_0x2ca55f(0xd0)](_0x2f7447[_0x2ca55f(0xf8)]))continue;this[_0x2ca55f(0x108)][_0x355250][_0x261fae]=CustomTagManager[_0x2ca55f(0x110)](this['buildLevelTags'][_0x355250][_0x261fae],_0x2f7447[_0x2ca55f(0xf8)]);}}static[a85_0x57f39f(0xa4)](_0x20c75f,_0x54c749){const _0x592910=a85_0x57f39f,_0xeaa194={};_0xeaa194[_0x592910(0xa3)]=_0x592910(0xcf),_0xeaa194[_0x592910(0xfd)]=function(_0x309c04,_0x59cca3){return _0x309c04*_0x59cca3;},_0xeaa194[_0x592910(0x94)]=function(_0x4b9a47,_0x2b8fb8){return _0x4b9a47*_0x2b8fb8;},_0xeaa194['RZyfr']=function(_0x2a8831,_0x243156){return _0x2a8831>_0x243156;},_0xeaa194[_0x592910(0x112)]=function(_0x2f66b2,_0x26ddd9){return _0x2f66b2-_0x26ddd9;},_0xeaa194['AIWFn']=_0x592910(0x93);const _0x39d461=_0xeaa194;if(!_0x20c75f)return logger[_0x592910(0xba)](_0x39d461[_0x592910(0xa3)]),0x0;let _0x281a8b;try{_0x281a8b=os['tmpdir']();}catch(_0xc61e1d){return logger[_0x592910(0xba)](_0x592910(0xb7)+_0xc61e1d),0x0;}let _0x3c927b;try{_0x3c927b=fs[_0x592910(0xe3)](_0x281a8b);}catch(_0x4462d6){return logger[_0x592910(0xba)](_0x592910(0x9b)+_0x4462d6),0x0;}const _0x344b06=''+BUILD_TAG_FILE_PREFIX+_0x20c75f+'_',_0x3cc4eb=_0x3c927b[_0x592910(0xf6)](_0x214b6f=>_0x214b6f[_0x592910(0x107)](_0x344b06)&&_0x214b6f['endsWith'](_0x592910(0xd9))),_0x27bf18=_0x39d461['DBadz'](_0x39d461[_0x592910(0xfd)](_0x39d461[_0x592910(0x94)](0x2,0x3c),0x3c),0x3e8);let _0x22ee37=0x0;for(const _0x2af2f1 of _0x3cc4eb){const _0x362513=path[_0x592910(0x102)](_0x281a8b,_0x2af2f1);try{const _0x1dfef7=fs[_0x592910(0x106)](_0x362513);if(_0x39d461[_0x592910(0x105)](_0x39d461[_0x592910(0x112)](Date['now'](),_0x1dfef7['mtimeMs']),_0x27bf18)){logger[_0x592910(0xba)](_0x592910(0xf7)+_0x27bf18+_0x592910(0xf2)+_0x2af2f1);try{fs[_0x592910(0xbe)](_0x362513);}catch(_0x46da8d){logger[_0x592910(0xba)](_0x592910(0xd2)+_0x2af2f1+':\x20'+(_0x46da8d&&_0x46da8d[_0x592910(0xfb)]?_0x46da8d[_0x592910(0xfb)]:_0x46da8d));}continue;}const _0x4d3e21=fs[_0x592910(0x98)](_0x362513,_0x39d461[_0x592910(0xaf)]),_0x13c8cf=JSON[_0x592910(0x115)](_0x4d3e21);this['mergeBuildLevelTags'](_0x54c749,_0x13c8cf),_0x22ee37+=0x1;}catch(_0x12f10d){logger[_0x592910(0xba)]('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20error\x20reading\x20'+_0x2af2f1+':\x20'+(_0x12f10d&&_0x12f10d['message']?_0x12f10d[_0x592910(0xfb)]:_0x12f10d));}try{fs['unlinkSync'](_0x362513);}catch(_0x316033){logger['debug'](_0x592910(0x109)+_0x2af2f1+':\x20'+(_0x316033&&_0x316033[_0x592910(0xfb)]?_0x316033[_0x592910(0xfb)]:_0x316033));}}return _0x22ee37;}}const a85_0xbe723a={};a85_0xbe723a[a85_0x57f39f(0xad)]=getBuildTagsRunId,a85_0xbe723a[a85_0x57f39f(0x10e)]=getBuildTagsFilePath,a85_0xbe723a[a85_0x57f39f(0xa2)]=BUILD_TAG_FILE_PREFIX,CustomTagManager[a85_0x57f39f(0xdd)]=a85_0xbe723a,module[a85_0x57f39f(0xc8)]=CustomTagManager;
@@ -1 +1 @@
1
- const a86_0x5dfc97=a86_0x18c6;(function(_0x499305,_0x3ece77){const _0x4bd423=a86_0x18c6,_0x5b8d1b=_0x499305();while(!![]){try{const _0x3d6da1=parseInt(_0x4bd423(0x148))/0x1+-parseInt(_0x4bd423(0x14e))/0x2+-parseInt(_0x4bd423(0x142))/0x3*(parseInt(_0x4bd423(0x143))/0x4)+-parseInt(_0x4bd423(0x14f))/0x5*(parseInt(_0x4bd423(0x14c))/0x6)+-parseInt(_0x4bd423(0x149))/0x7+parseInt(_0x4bd423(0x13e))/0x8+parseInt(_0x4bd423(0x141))/0x9*(parseInt(_0x4bd423(0x140))/0xa);if(_0x3d6da1===_0x3ece77)break;else _0x5b8d1b['push'](_0x5b8d1b['shift']());}catch(_0x233e09){_0x5b8d1b['push'](_0x5b8d1b['shift']());}}}(a86_0x1cd5,0x4ff78));const {createClassLogger}=require(a86_0x5dfc97(0x14a));function a86_0x18c6(_0xbb3278,_0xc6d7b1){const _0x1cd5f4=a86_0x1cd5();return a86_0x18c6=function(_0x18c6f0,_0x508b6b){_0x18c6f0=_0x18c6f0-0x13d;let _0x2228dd=_0x1cd5f4[_0x18c6f0];return _0x2228dd;},a86_0x18c6(_0xbb3278,_0xc6d7b1);}class EventDispatcher{static #instance=null;constructor(){const _0x13a872=a86_0x5dfc97;this[_0x13a872(0x144)]={};}static[a86_0x5dfc97(0x14b)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a86_0x5dfc97(0x13d)](_0x4a6dca,_0x1dfb75){const _0x195695=a86_0x5dfc97;!this[_0x195695(0x144)][_0x4a6dca]&&(this[_0x195695(0x144)][_0x4a6dca]=[]),this['observers'][_0x4a6dca][_0x195695(0x14d)](_0x1dfb75);}async[a86_0x5dfc97(0x13f)](_0x3b97a8,_0xc8381){const _0xf1d831=a86_0x5dfc97,_0x34d900={'jqzny':function(_0x6ec4c0,_0x38187a){return _0x6ec4c0(_0x38187a);}};if(this[_0xf1d831(0x144)][_0x3b97a8]){for(const _0x584d67 of this['observers'][_0x3b97a8]){await _0x34d900[_0xf1d831(0x145)](_0x584d67,_0xc8381);}return;}}}const eventDispatcher=EventDispatcher[a86_0x5dfc97(0x14b)]();function a86_0x1cd5(){const _0x1a165f=['observers','jqzny','freeze','exports','400843VeHokj','4300688JeXXCd','../../helpers/classLogger.js','getInstance','58134hAXyeY','push','203030BSmpHj','185njZwqF','registerObserver','1132480KQWaDS','notifyObserver','495990UNzrVv','270aGZJnt','40113ySPsfM','188xsJQyN'];a86_0x1cd5=function(){return _0x1a165f;};return a86_0x1cd5();}Object[a86_0x5dfc97(0x146)](eventDispatcher),module[a86_0x5dfc97(0x147)]=eventDispatcher;
1
+ const a86_0x57cf38=a86_0x19b4;(function(_0x140dc0,_0x19c957){const _0x32a01f=a86_0x19b4,_0x1f6e4a=_0x140dc0();while(!![]){try{const _0x2497c9=-parseInt(_0x32a01f(0x8b))/0x1+parseInt(_0x32a01f(0x90))/0x2*(parseInt(_0x32a01f(0x93))/0x3)+-parseInt(_0x32a01f(0x92))/0x4*(parseInt(_0x32a01f(0x8a))/0x5)+-parseInt(_0x32a01f(0x82))/0x6+parseInt(_0x32a01f(0x91))/0x7*(parseInt(_0x32a01f(0x8c))/0x8)+parseInt(_0x32a01f(0x86))/0x9*(-parseInt(_0x32a01f(0x8e))/0xa)+-parseInt(_0x32a01f(0x89))/0xb*(-parseInt(_0x32a01f(0x83))/0xc);if(_0x2497c9===_0x19c957)break;else _0x1f6e4a['push'](_0x1f6e4a['shift']());}catch(_0x3419d2){_0x1f6e4a['push'](_0x1f6e4a['shift']());}}}(a86_0x19f4,0xd4abc));function a86_0x19f4(){const _0x490cb4=['264DSpxkI','XvSDV','1786716lOWabx','894300iVCEVw','freeze','observers','666KtrpjA','exports','notifyObserver','418vpHINA','155zFqIwn','777442dIFtmE','1544vxilcy','registerObserver','174970MCScnH','getInstance','38450gfJGHi','2275CDoEkO','173596GaSPjU'];a86_0x19f4=function(){return _0x490cb4;};return a86_0x19f4();}const {createClassLogger}=require('../../helpers/classLogger.js');function a86_0x19b4(_0x55af88,_0x131190){const _0x19f423=a86_0x19f4();return a86_0x19b4=function(_0x19b4fc,_0x1f526c){_0x19b4fc=_0x19b4fc-0x81;let _0x29419d=_0x19f423[_0x19b4fc];return _0x29419d;},a86_0x19b4(_0x55af88,_0x131190);}class EventDispatcher{static #instance=null;constructor(){const _0x38e0c4=a86_0x19b4;this[_0x38e0c4(0x85)]={};}static['getInstance'](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a86_0x57cf38(0x8d)](_0x4bf258,_0x90c5b8){const _0x54b34=a86_0x57cf38;!this[_0x54b34(0x85)][_0x4bf258]&&(this[_0x54b34(0x85)][_0x4bf258]=[]),this[_0x54b34(0x85)][_0x4bf258]['push'](_0x90c5b8);}async[a86_0x57cf38(0x88)](_0xe814e3,_0x533ea6){const _0x52a36b=a86_0x57cf38,_0x7b0b52={'XvSDV':function(_0x344137,_0x2f1376){return _0x344137(_0x2f1376);}};if(this[_0x52a36b(0x85)][_0xe814e3]){for(const _0x2e5fa7 of this[_0x52a36b(0x85)][_0xe814e3]){await _0x7b0b52[_0x52a36b(0x81)](_0x2e5fa7,_0x533ea6);}return;}}}const eventDispatcher=EventDispatcher[a86_0x57cf38(0x8f)]();Object[a86_0x57cf38(0x84)](eventDispatcher),module[a86_0x57cf38(0x87)]=eventDispatcher;
@@ -1 +1 @@
1
- const a87_0x229e36=a87_0x3704;(function(_0x333004,_0x165f61){const _0x57b3f8=a87_0x3704,_0xd55b43=_0x333004();while(!![]){try{const _0x228708=parseInt(_0x57b3f8(0xba))/0x1*(-parseInt(_0x57b3f8(0xbe))/0x2)+parseInt(_0x57b3f8(0xa8))/0x3+parseInt(_0x57b3f8(0xac))/0x4*(parseInt(_0x57b3f8(0xae))/0x5)+parseInt(_0x57b3f8(0xa9))/0x6+parseInt(_0x57b3f8(0xad))/0x7*(-parseInt(_0x57b3f8(0xb8))/0x8)+-parseInt(_0x57b3f8(0xa1))/0x9+-parseInt(_0x57b3f8(0xa5))/0xa*(-parseInt(_0x57b3f8(0xb4))/0xb);if(_0x228708===_0x165f61)break;else _0xd55b43['push'](_0xd55b43['shift']());}catch(_0x2f1296){_0xd55b43['push'](_0xd55b43['shift']());}}}(a87_0x2dd4,0xa0af1));function a87_0x3704(_0x36b6a9,_0x4a3e1b){const _0x2dd4ad=a87_0x2dd4();return a87_0x3704=function(_0x370439,_0x28537f){_0x370439=_0x370439-0x9a;let _0x3f4ff0=_0x2dd4ad[_0x370439];return _0x3f4ff0;},a87_0x3704(_0x36b6a9,_0x4a3e1b);}const {createClassLogger}=require(a87_0x229e36(0xb2)),util=require(a87_0x229e36(0x9b)),eventDispatcher=require(a87_0x229e36(0xa2)),CLIUtils=require(a87_0x229e36(0xb3)),TrackedInstance=require(a87_0x229e36(0xb6)),logger=createClassLogger(a87_0x229e36(0xaa));class AutomationFramework{static [a87_0x229e36(0xa3)]=new Map();static ['KEY_AUTOMATION_SESSIONS']=a87_0x229e36(0xaf);static [a87_0x229e36(0xbb)]='non_browserstack_automation_sessions';constructor(_0x5a11fb,_0x157397){const _0x573db4=a87_0x229e36;this[_0x573db4(0xb9)]=_0x5a11fb,this[_0x573db4(0xb5)]=_0x157397;}[a87_0x229e36(0x9c)](){const _0x5d6a0b=a87_0x229e36;return this[_0x5d6a0b(0xb9)];}['getAutomationFrameworkVersion'](){return this['automationFrameworkVersion'];}async[a87_0x229e36(0x9a)](_0x35bf12,_0x137e32,_0x3ad52b={}){const _0x45bbda=a87_0x229e36;logger[_0x45bbda(0x9d)](_0x45bbda(0xb1)+_0x35bf12+_0x45bbda(0xa0)+_0x137e32);}async['runHooks'](_0xcb1770,_0x3be804,_0x51b582,_0x28cc60={}){const _0x4870bc=CLIUtils['getHookRegistryKey'](_0x3be804,_0x51b582);_0xcb1770&&_0xcb1770['setState'](_0x3be804),await eventDispatcher['notifyObserver'](_0x4870bc,_0x28cc60);}static[a87_0x229e36(0xab)](_0x4ccd1f,_0x36c055,_0x1a94d0){const _0x26cfb5=a87_0x229e36;eventDispatcher[_0x26cfb5(0xab)](CLIUtils['getHookRegistryKey'](_0x4ccd1f,_0x36c055),_0x1a94d0);}static['setTrackedInstance'](_0x52facc,_0x3d03a7){const _0xcd2471=a87_0x229e36;AutomationFramework[_0xcd2471(0xa3)][_0xcd2471(0xb7)](_0x52facc[_0xcd2471(0xa7)](),_0x3d03a7);}static[a87_0x229e36(0x9f)](){const _0x100a56=a87_0x229e36,_0x5ca1a2=TrackedInstance[_0x100a56(0xbd)](CLIUtils['getCurrentInstanceName']());return AutomationFramework[_0x100a56(0xa3)][_0x100a56(0xa4)](_0x5ca1a2[_0x100a56(0xa7)]());}static[a87_0x229e36(0x9e)](_0x5ec12d,_0x55b54f,_0x38e2ab){const _0x534306=a87_0x229e36;_0x5ec12d[_0x534306(0xa6)]()[_0x534306(0xb7)](_0x55b54f,_0x38e2ab);}static[a87_0x229e36(0xb0)](_0x28d768,_0x5c07cb){const _0x546678=a87_0x229e36;return _0x28d768['getAllData']()[_0x546678(0xa4)](_0x5c07cb);}}module[a87_0x229e36(0xbc)]=AutomationFramework;function a87_0x2dd4(){const _0x398369=['2038VdUUCH','trackEvent','util','getAutomationFrameworkName','debug','setState','getTrackedInstance','\x20hookState=','3424464EvfkWx','../eventDispatcher.js','instances','get','2610VeZcBm','getAllData','getId','1365456vDTOKy','2572260VWpmrT','AutomationFramework','registerObserver','380456iGGIkL','854Opuzex','35KSyTCS','automation_sessions','getState','trackEvent:\x20automationFrameworkState=','../../../helpers/classLogger.js','../cliUtils.js','7392pUtfgi','automationFrameworkVersion','../instances/trackedInstance.js','set','14072VZKHAq','automationFrameworkName','463aDdOVZ','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','exports','createContext'];a87_0x2dd4=function(){return _0x398369;};return a87_0x2dd4();}
1
+ const a87_0x1ce517=a87_0x181e;(function(_0x3d0ff9,_0x28021a){const _0x5999e9=a87_0x181e,_0x3097a6=_0x3d0ff9();while(!![]){try{const _0x2106f4=-parseInt(_0x5999e9(0x9d))/0x1*(-parseInt(_0x5999e9(0xbb))/0x2)+-parseInt(_0x5999e9(0xa4))/0x3*(parseInt(_0x5999e9(0xc0))/0x4)+parseInt(_0x5999e9(0xc2))/0x5+-parseInt(_0x5999e9(0xae))/0x6*(parseInt(_0x5999e9(0xb6))/0x7)+-parseInt(_0x5999e9(0x9f))/0x8*(-parseInt(_0x5999e9(0xbd))/0x9)+parseInt(_0x5999e9(0xac))/0xa*(-parseInt(_0x5999e9(0xab))/0xb)+-parseInt(_0x5999e9(0xa3))/0xc*(-parseInt(_0x5999e9(0xa8))/0xd);if(_0x2106f4===_0x28021a)break;else _0x3097a6['push'](_0x3097a6['shift']());}catch(_0x49f2a6){_0x3097a6['push'](_0x3097a6['shift']());}}}(a87_0x1f0f,0x5266e));const {createClassLogger}=require(a87_0x1ce517(0xad)),util=require(a87_0x1ce517(0xa6)),eventDispatcher=require(a87_0x1ce517(0x9e)),CLIUtils=require(a87_0x1ce517(0xbc)),TrackedInstance=require('../instances/trackedInstance.js'),logger=createClassLogger('AutomationFramework');class AutomationFramework{static [a87_0x1ce517(0xaf)]=new Map();static [a87_0x1ce517(0xb8)]='automation_sessions';static ['KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS']='non_browserstack_automation_sessions';constructor(_0x173f35,_0x35a8da){const _0x2d64f6=a87_0x1ce517;this[_0x2d64f6(0xa2)]=_0x173f35,this['automationFrameworkVersion']=_0x35a8da;}[a87_0x1ce517(0xb2)](){const _0x3fcf69=a87_0x1ce517;return this[_0x3fcf69(0xa2)];}[a87_0x1ce517(0xbf)](){const _0x59dc1e=a87_0x1ce517;return this[_0x59dc1e(0xb0)];}async[a87_0x1ce517(0xa9)](_0xa8ea36,_0x456e7e,_0x4cbf04={}){const _0x6efdab=a87_0x1ce517;logger[_0x6efdab(0x9c)](_0x6efdab(0xa0)+_0xa8ea36+_0x6efdab(0xb1)+_0x456e7e);}async['runHooks'](_0x2749b1,_0x5ea679,_0x5b556d,_0x5bad02={}){const _0x33adc3=a87_0x1ce517,_0xb5d8d3=CLIUtils['getHookRegistryKey'](_0x5ea679,_0x5b556d);_0x2749b1&&_0x2749b1['setState'](_0x5ea679),await eventDispatcher[_0x33adc3(0xb4)](_0xb5d8d3,_0x5bad02);}static[a87_0x1ce517(0xbe)](_0x40b5eb,_0x115887,_0x5ac880){const _0x5ef21b=a87_0x1ce517;eventDispatcher[_0x5ef21b(0xbe)](CLIUtils['getHookRegistryKey'](_0x40b5eb,_0x115887),_0x5ac880);}static[a87_0x1ce517(0xa5)](_0x571331,_0x218238){const _0xb75622=a87_0x1ce517;AutomationFramework[_0xb75622(0xaf)]['set'](_0x571331[_0xb75622(0xa1)](),_0x218238);}static[a87_0x1ce517(0xb9)](){const _0x3a257d=a87_0x1ce517,_0x5af416=TrackedInstance[_0x3a257d(0xb7)](CLIUtils['getCurrentInstanceName']());return AutomationFramework[_0x3a257d(0xaf)][_0x3a257d(0xb3)](_0x5af416[_0x3a257d(0xa1)]());}static[a87_0x1ce517(0xb5)](_0xf08d30,_0x40e87e,_0x3cd0d8){const _0xed253c=a87_0x1ce517;_0xf08d30[_0xed253c(0xba)]()[_0xed253c(0xaa)](_0x40e87e,_0x3cd0d8);}static[a87_0x1ce517(0xa7)](_0x297b0c,_0xf1f45c){const _0x2929de=a87_0x1ce517;return _0x297b0c[_0x2929de(0xba)]()['get'](_0xf1f45c);}}function a87_0x181e(_0x33b4db,_0x36e563){const _0x1f0f6e=a87_0x1f0f();return a87_0x181e=function(_0x181ed9,_0x373dd8){_0x181ed9=_0x181ed9-0x9c;let _0x3721b2=_0x1f0f6e[_0x181ed9];return _0x3721b2;},a87_0x181e(_0x33b4db,_0x36e563);}module[a87_0x1ce517(0xc1)]=AutomationFramework;function a87_0x1f0f(){const _0x3d3e9c=['4ZiTJKe','exports','2118650roqOsu','debug','447983zskRvx','../eventDispatcher.js','894232XXKDxw','trackEvent:\x20automationFrameworkState=','getId','automationFrameworkName','259356KKzshe','430662UAoNsY','setTrackedInstance','util','getState','182SbinJi','trackEvent','set','2342373lWmjBi','30eCyHLz','../../../helpers/classLogger.js','42sIAIih','instances','automationFrameworkVersion','\x20hookState=','getAutomationFrameworkName','get','notifyObserver','setState','166173JqPdhQ','createContext','KEY_AUTOMATION_SESSIONS','getTrackedInstance','getAllData','2EQKDYt','../cliUtils.js','9iTwKQP','registerObserver','getAutomationFrameworkVersion'];a87_0x1f0f=function(){return _0x3d3e9c;};return a87_0x1f0f();}
@@ -1 +1 @@
1
- const a88_0x45d28b=a88_0x5ee1;(function(_0x2506ee,_0x5b2bee){const _0x158782=a88_0x5ee1,_0x296741=_0x2506ee();while(!![]){try{const _0x1ea41e=-parseInt(_0x158782(0x1aa))/0x1*(-parseInt(_0x158782(0x1b4))/0x2)+parseInt(_0x158782(0x1ab))/0x3+-parseInt(_0x158782(0x1b1))/0x4+-parseInt(_0x158782(0x1c3))/0x5*(-parseInt(_0x158782(0x1b2))/0x6)+parseInt(_0x158782(0x1bb))/0x7*(-parseInt(_0x158782(0x1c7))/0x8)+-parseInt(_0x158782(0x1af))/0x9+-parseInt(_0x158782(0x1c5))/0xa*(parseInt(_0x158782(0x1ae))/0xb);if(_0x1ea41e===_0x5b2bee)break;else _0x296741['push'](_0x296741['shift']());}catch(_0x4db87a){_0x296741['push'](_0x296741['shift']());}}}(a88_0x2dc0,0xe56ed));const a88_0x141f16={};a88_0x141f16['ENV_BROWSERSTACK_PLATFORM_INDEX']=a88_0x45d28b(0x1c0),a88_0x141f16['KEY_HUB_URL']=a88_0x45d28b(0x1c4),a88_0x141f16[a88_0x45d28b(0x1ad)]=a88_0x45d28b(0x1b5),a88_0x141f16[a88_0x45d28b(0x1bf)]='input_capabilities',a88_0x141f16[a88_0x45d28b(0x1bc)]=a88_0x45d28b(0x1a8),a88_0x141f16[a88_0x45d28b(0x1b0)]='is_browserstack_hub',a88_0x141f16[a88_0x45d28b(0x1c1)]=a88_0x45d28b(0x1be),a88_0x141f16[a88_0x45d28b(0x1a7)]=a88_0x45d28b(0x1ba),a88_0x141f16[a88_0x45d28b(0x1bd)]=a88_0x45d28b(0x1b9),a88_0x141f16[a88_0x45d28b(0x1b8)]=a88_0x45d28b(0x1c2),a88_0x141f16['COMMAND_GET']=a88_0x45d28b(0x1ac),a88_0x141f16[a88_0x45d28b(0x1b3)]=a88_0x45d28b(0x1c8),a88_0x141f16[a88_0x45d28b(0x1a9)]=a88_0x45d28b(0x1b7),a88_0x141f16['COMMAND_W3C_EXECUTE_SCRIPT_ASYNC']=a88_0x45d28b(0x1c6),a88_0x141f16['COMMAND_QUIT']='quit';const AutomationFrameworkConstants=a88_0x141f16;module[a88_0x45d28b(0x1b6)]=AutomationFrameworkConstants;function a88_0x5ee1(_0x49fa45,_0x597ee4){const _0x2dc095=a88_0x2dc0();return a88_0x5ee1=function(_0x5ee103,_0x45b4d9){_0x5ee103=_0x5ee103-0x1a7;let _0x5cfcfb=_0x2dc095[_0x5ee103];return _0x5cfcfb;},a88_0x5ee1(_0x49fa45,_0x597ee4);}function a88_0x2dc0(){const _0x5ec1e1=['1040056iTvXmE','screenshot','KEY_ENDED_AT','capabilities','COMMAND_W3C_EXECUTE_SCRIPT','144NeozTw','3818265GwzQEf','get','KEY_FRAMEWORK_SESSION_ID','44IwLSIB','6106077FReeto','KEY_IS_BROWSERSTACK_HUB','1766320bnPYNM','18cmGMgl','COMMAND_SCREENSHOT','7208FACjBF','framework_session_id','exports','w3cexecutescript','COMMAND_NEW_SESSION','platform_index','ended_at','7IQsqtK','KEY_CAPABILITIES','KEY_PLATFORM_INDEX','started_at','KEY_INPUT_CAPABILITIES','BROWSERSTACK_PLATFORM_INDEX','KEY_STARTED_AT','newsession','3079270SXthsw','hub_url','3623740zJNDhh','w3cexecutescriptasync'];a88_0x2dc0=function(){return _0x5ec1e1;};return a88_0x2dc0();}
1
+ const a88_0x35aa67=a88_0x16a3;(function(_0x5bffc3,_0x53cf76){const _0x51b797=a88_0x16a3,_0x572b19=_0x5bffc3();while(!![]){try{const _0x39167f=-parseInt(_0x51b797(0xba))/0x1*(parseInt(_0x51b797(0xa5))/0x2)+parseInt(_0x51b797(0xb9))/0x3*(-parseInt(_0x51b797(0xa6))/0x4)+-parseInt(_0x51b797(0xad))/0x5+parseInt(_0x51b797(0xbb))/0x6+-parseInt(_0x51b797(0xaa))/0x7*(parseInt(_0x51b797(0xbc))/0x8)+-parseInt(_0x51b797(0xb5))/0x9*(parseInt(_0x51b797(0xb4))/0xa)+parseInt(_0x51b797(0xc4))/0xb;if(_0x39167f===_0x53cf76)break;else _0x572b19['push'](_0x572b19['shift']());}catch(_0x2e823d){_0x572b19['push'](_0x572b19['shift']());}}}(a88_0x3b02,0xdccf6));function a88_0x3b02(){const _0x4042e8=['KEY_PLATFORM_INDEX','KEY_IS_BROWSERSTACK_HUB','KEY_STARTED_AT','3EIRNer','1065773HCwDTb','8155428NiodFY','40024OgjNhW','platform_index','w3cexecutescriptasync','screenshot','KEY_FRAMEWORK_SESSION_ID','quit','KEY_HUB_URL','w3cexecutescript','43000309icpMZt','COMMAND_QUIT','BROWSERSTACK_PLATFORM_INDEX','2SezNsg','6502088zDRmTq','COMMAND_SCREENSHOT','COMMAND_NEW_SESSION','COMMAND_GET','595pJqVQz','KEY_ENDED_AT','exports','2187395oWsHDo','capabilities','get','newsession','hub_url','ENV_BROWSERSTACK_PLATFORM_INDEX','input_capabilities','50wBtYmu','1457802IErvAO'];a88_0x3b02=function(){return _0x4042e8;};return a88_0x3b02();}const a88_0x34df24={};function a88_0x16a3(_0x366899,_0x2dce2f){const _0x3b028e=a88_0x3b02();return a88_0x16a3=function(_0x16a3c3,_0x496c77){_0x16a3c3=_0x16a3c3-0xa3;let _0xcc7200=_0x3b028e[_0x16a3c3];return _0xcc7200;},a88_0x16a3(_0x366899,_0x2dce2f);}a88_0x34df24[a88_0x35aa67(0xb2)]=a88_0x35aa67(0xa4),a88_0x34df24[a88_0x35aa67(0xc2)]=a88_0x35aa67(0xb1),a88_0x34df24[a88_0x35aa67(0xc0)]='framework_session_id',a88_0x34df24['KEY_INPUT_CAPABILITIES']=a88_0x35aa67(0xb3),a88_0x34df24['KEY_CAPABILITIES']=a88_0x35aa67(0xae),a88_0x34df24[a88_0x35aa67(0xb7)]='is_browserstack_hub',a88_0x34df24[a88_0x35aa67(0xb8)]='started_at',a88_0x34df24[a88_0x35aa67(0xab)]='ended_at',a88_0x34df24[a88_0x35aa67(0xb6)]=a88_0x35aa67(0xbd),a88_0x34df24[a88_0x35aa67(0xa8)]=a88_0x35aa67(0xb0),a88_0x34df24[a88_0x35aa67(0xa9)]=a88_0x35aa67(0xaf),a88_0x34df24[a88_0x35aa67(0xa7)]=a88_0x35aa67(0xbf),a88_0x34df24['COMMAND_W3C_EXECUTE_SCRIPT']=a88_0x35aa67(0xc3),a88_0x34df24['COMMAND_W3C_EXECUTE_SCRIPT_ASYNC']=a88_0x35aa67(0xbe),a88_0x34df24[a88_0x35aa67(0xa3)]=a88_0x35aa67(0xc1);const AutomationFrameworkConstants=a88_0x34df24;module[a88_0x35aa67(0xac)]=AutomationFrameworkConstants;
@@ -1 +1 @@
1
- const a89_0x4c77d0=a89_0x115d;(function(_0x4ffb22,_0x50bb88){const _0x391326=a89_0x115d,_0x40bf26=_0x4ffb22();while(!![]){try{const _0xb072ed=-parseInt(_0x391326(0xc1))/0x1+-parseInt(_0x391326(0xf2))/0x2+parseInt(_0x391326(0xd6))/0x3*(-parseInt(_0x391326(0xe2))/0x4)+parseInt(_0x391326(0x108))/0x5*(parseInt(_0x391326(0xcc))/0x6)+parseInt(_0x391326(0xe7))/0x7*(-parseInt(_0x391326(0x101))/0x8)+parseInt(_0x391326(0xf8))/0x9*(parseInt(_0x391326(0xc0))/0xa)+parseInt(_0x391326(0xd3))/0xb;if(_0xb072ed===_0x50bb88)break;else _0x40bf26['push'](_0x40bf26['shift']());}catch(_0x43fd7a){_0x40bf26['push'](_0x40bf26['shift']());}}}(a89_0x44c7,0xd1ba4));const a89_0x4a6ade={};function a89_0x115d(_0x591ef4,_0x46ad07){const _0x44c77a=a89_0x44c7();return a89_0x115d=function(_0x115d48,_0x3477db){_0x115d48=_0x115d48-0xb2;let _0x49107b=_0x44c77a[_0x115d48];return _0x49107b;},a89_0x115d(_0x591ef4,_0x46ad07);}a89_0x4a6ade['KEY_TEST_UUID']=a89_0x4c77d0(0xca),a89_0x4a6ade['KEY_TEST_ID']=a89_0x4c77d0(0xff),a89_0x4a6ade[a89_0x4c77d0(0xf0)]=a89_0x4c77d0(0xcf),a89_0x4a6ade[a89_0x4c77d0(0xee)]=a89_0x4c77d0(0xc7),a89_0x4a6ade[a89_0x4c77d0(0x106)]=a89_0x4c77d0(0xe8),a89_0x4a6ade[a89_0x4c77d0(0xbe)]='test_result',a89_0x4a6ade[a89_0x4c77d0(0xdb)]=a89_0x4c77d0(0x10b),a89_0x4a6ade['KEY_TEST_STARTED_AT']='test_started_at',a89_0x4a6ade['KEY_TEST_ENDED_AT']=a89_0x4c77d0(0x10a),a89_0x4a6ade[a89_0x4c77d0(0xb8)]=a89_0x4c77d0(0xe5),a89_0x4a6ade[a89_0x4c77d0(0xb3)]=a89_0x4c77d0(0xba),a89_0x4a6ade[a89_0x4c77d0(0xc3)]='test_scope',a89_0x4a6ade[a89_0x4c77d0(0xd4)]=a89_0x4c77d0(0xfe),a89_0x4a6ade[a89_0x4c77d0(0xbf)]=a89_0x4c77d0(0xce),a89_0x4a6ade[a89_0x4c77d0(0xbd)]='test_framework_version',a89_0x4a6ade[a89_0x4c77d0(0xc5)]='test_code',a89_0x4a6ade[a89_0x4c77d0(0xec)]='test_rerun_name',a89_0x4a6ade[a89_0x4c77d0(0x105)]=a89_0x4c77d0(0xe3),a89_0x4a6ade[a89_0x4c77d0(0xe6)]='platform_index',a89_0x4a6ade[a89_0x4c77d0(0xe0)]=a89_0x4c77d0(0xb6),a89_0x4a6ade[a89_0x4c77d0(0xbc)]=a89_0x4c77d0(0xc9),a89_0x4a6ade['KEY_TEST_FAILURE_REASON']='test_failure_reason',a89_0x4a6ade['KEY_TEST_LOGS']=a89_0x4c77d0(0xea),a89_0x4a6ade[a89_0x4c77d0(0x100)]='test_meta',a89_0x4a6ade[a89_0x4c77d0(0xbb)]=a89_0x4c77d0(0xb9),a89_0x4a6ade[a89_0x4c77d0(0xc4)]='automate_session_name',a89_0x4a6ade[a89_0x4c77d0(0x109)]=a89_0x4c77d0(0xcb),a89_0x4a6ade[a89_0x4c77d0(0xd7)]=a89_0x4c77d0(0xb7),a89_0x4a6ade[a89_0x4c77d0(0x104)]=a89_0x4c77d0(0xf9),a89_0x4a6ade[a89_0x4c77d0(0xe9)]='event_ended_at',a89_0x4a6ade[a89_0x4c77d0(0xfa)]='hook_id',a89_0x4a6ade['KEY_HOOK_RESULT']=a89_0x4c77d0(0xfb),a89_0x4a6ade['KEY_HOOK_FAILURE_TYPE']=a89_0x4c77d0(0xf1),a89_0x4a6ade[a89_0x4c77d0(0x103)]=a89_0x4c77d0(0xf7),a89_0x4a6ade[a89_0x4c77d0(0xdc)]=a89_0x4c77d0(0xde),a89_0x4a6ade[a89_0x4c77d0(0xb2)]=a89_0x4c77d0(0xb4),a89_0x4a6ade[a89_0x4c77d0(0x102)]=a89_0x4c77d0(0x10c),a89_0x4a6ade[a89_0x4c77d0(0xe4)]=a89_0x4c77d0(0xd0),a89_0x4a6ade['DEFAULT_HOOK_RESULT']=a89_0x4c77d0(0xd0),a89_0x4a6ade[a89_0x4c77d0(0xe1)]='TEST_SCREENSHOT',a89_0x4a6ade['KIND_LOG']=a89_0x4c77d0(0xcd),a89_0x4a6ade[a89_0x4c77d0(0xf4)]='^(BEFORE_|AFTER_)',a89_0x4a6ade['KEY_HOOKS_STARTED']=a89_0x4c77d0(0xef),a89_0x4a6ade[a89_0x4c77d0(0xf5)]=a89_0x4c77d0(0xda),a89_0x4a6ade[a89_0x4c77d0(0xf6)]=a89_0x4c77d0(0xd1),a89_0x4a6ade[a89_0x4c77d0(0xc8)]='test_hook_last_finished',a89_0x4a6ade['KEY_LOGS']=a89_0x4c77d0(0xc6),a89_0x4a6ade['KEY_CUSTOM_TAGS']=a89_0x4c77d0(0xd2),a89_0x4a6ade[a89_0x4c77d0(0xc2)]=a89_0x4c77d0(0xeb),a89_0x4a6ade[a89_0x4c77d0(0xd5)]=a89_0x4c77d0(0xd8),a89_0x4a6ade[a89_0x4c77d0(0xfd)]='file_name',a89_0x4a6ade[a89_0x4c77d0(0xf3)]=a89_0x4c77d0(0xdd),a89_0x4a6ade[a89_0x4c77d0(0xed)]=a89_0x4c77d0(0x107),a89_0x4a6ade[a89_0x4c77d0(0xfc)]=a89_0x4c77d0(0xb5),a89_0x4a6ade['MAX_TOP_LEVEL_STEPS']=0xa,a89_0x4a6ade[a89_0x4c77d0(0xd9)]=0x2;const TestFrameworkConstants=a89_0x4a6ade;function a89_0x44c7(){const _0x43093e=['event_started_at','KEY_HOOK_ID','hook_result','KEY_TEST_SCREENSHOTS','KEY_FILE_NAME','test_scopes','test_id','KEY_TEST_META','256DSwKGs','KEY_HOOK_NAME','KEY_HOOK_FAILURE_REASON','KEY_EVENT_STARTED_AT','KEY_TEST_RETRY_OF','KEY_TEST_TAGS','file_level','16655AQywfH','KEY_AUTOMATE_SESSION_STATUS','test_ended_at','test_result_at','hook_name','KEY_HOOK_LOGS','KEY_TEST_DURATION','hook_logs','test_screenshots','test_failure','automate_session_reason','KEY_TEST_LOCATION','test_session_name','test_duration','KEY_SESSION_NAME','KEY_TEST_FAILURE_TYPE','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_RESULT','KEY_TEST_FRAMEWORK_NAME','30jtDgbh','997807YAqRca','KEY_TEST_ATTACHMENTS','KEY_TEST_SCOPE','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_CODE','logs','test_file_path','KEY_HOOK_LAST_FINISHED','test_failure_type','test_uuid','automate_session_status','2076pLPLqC','TEST_LOG','test_framework_name','test_name','pending','test_hook_last_started','custom_metadata','32432796bwZKzs','KEY_TEST_SCOPES','KEY_FILE_SIZE','60dAHtaY','KEY_AUTOMATE_SESSION_REASON','file_size','MAX_NESTED_STEP_DEPTH','test_hooks_finished','KEY_TEST_RESULT_AT','KEY_HOOK_FAILURE','file_path','hook_failure','exports','KEY_TEST_FAILURE','KIND_SCREENSHOT','341084rmzBAb','retry_of','DEFAULT_TEST_RESULT','test_location','KEY_PLATFORM_INDEX','141743ZwGZuF','test_tags','KEY_EVENT_ENDED_AT','test_logs','test_attachments','KEY_TEST_RERUN_NAME','KEY_FILE_LEVEL','KEY_TEST_FILE_PATH','test_hooks_started','KEY_TEST_NAME','hook_failure_type','1322624fzKGyI','KEY_FILE_PATH','HOOK_REGEX','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_STARTED','hook_failure_reason','2311767VSGiCR'];a89_0x44c7=function(){return _0x43093e;};return a89_0x44c7();}module[a89_0x4c77d0(0xdf)]=TestFrameworkConstants;
1
+ function a89_0x36bf(_0x4502ec,_0x5b4923){const _0x4c4abe=a89_0x4c4a();return a89_0x36bf=function(_0x36bfa6,_0x4c7a35){_0x36bfa6=_0x36bfa6-0xc6;let _0x4295f5=_0x4c4abe[_0x36bfa6];return _0x4295f5;},a89_0x36bf(_0x4502ec,_0x5b4923);}const a89_0x1934fc=a89_0x36bf;function a89_0x4c4a(){const _0x19a651=['KEY_TEST_FAILURE_TYPE','event_started_at','test_attachments','619386LrvvDb','HOOK_REGEX','KEY_PLATFORM_INDEX','KEY_TEST_SCREENSHOTS','test_name','7YeDiXq','test_screenshots','test_uuid','KEY_TEST_FAILURE_REASON','KEY_TEST_FRAMEWORK_NAME','KEY_EVENT_STARTED_AT','pending','KEY_HOOKS_FINISHED','hook_result','test_scope','KEY_FILE_SIZE','KEY_HOOK_LOGS','KEY_TEST_RESULT','KEY_TEST_RETRY_OF','KEY_TEST_LOCATION','KEY_TEST_ENDED_AT','test_duration','KEY_TEST_NAME','KEY_TEST_UUID','KEY_SESSION_NAME','test_hook_last_finished','hook_name','hook_logs','KEY_HOOK_NAME','KIND_LOG','KEY_TEST_RESULT_AT','hook_id','automate_session_reason','test_tags','file_path','test_result_at','test_hooks_finished','test_meta','KEY_TEST_SCOPES','KEY_HOOK_RESULT','hook_failure','test_framework_name','6389955DKIKVS','11980460XtwHVq','test_failure','test_failure_reason','MAX_NESTED_STEP_DEPTH','KEY_TEST_STARTED_AT','KEY_HOOK_LAST_STARTED','file_level','platform_index','15bAzxEy','KEY_HOOK_FAILURE_TYPE','6554800FRsjkb','KEY_FILE_NAME','test_failure_type','KIND_SCREENSHOT','test_scopes','test_session_name','test_id','KEY_TEST_DURATION','KEY_HOOKS_STARTED','KEY_FILE_LEVEL','test_code','test_result','file_size','29426lEIUwz','KEY_EVENT_ENDED_AT','KEY_TEST_FILE_PATH','DEFAULT_HOOK_RESULT','431633xzHjAf','176553WCNPAJ','hook_failure_reason','KEY_AUTOMATE_SESSION_NAME','8NZinGm','KEY_TEST_LOGS','KEY_TEST_FAILURE','test_hook_last_started','KEY_HOOK_LAST_FINISHED','KEY_TEST_TAGS','KEY_TEST_CODE','automate_session_status','MAX_TOP_LEVEL_STEPS','test_logs','KEY_HOOK_FAILURE_REASON','KEY_TEST_ATTACHMENTS','test_hooks_started','test_rerun_name','KEY_HOOK_ID','KEY_AUTOMATE_SESSION_STATUS'];a89_0x4c4a=function(){return _0x19a651;};return a89_0x4c4a();}(function(_0xfb34e,_0x31b346){const _0x270cd9=a89_0x36bf,_0x4eb4f7=_0xfb34e();while(!![]){try{const _0xc10c5c=-parseInt(_0x270cd9(0x102))/0x1+-parseInt(_0x270cd9(0xfe))/0x2+parseInt(_0x270cd9(0x103))/0x3*(-parseInt(_0x270cd9(0x106))/0x4)+-parseInt(_0x270cd9(0xef))/0x5*(parseInt(_0x270cd9(0x119))/0x6)+parseInt(_0x270cd9(0x11e))/0x7*(parseInt(_0x270cd9(0xf1))/0x8)+-parseInt(_0x270cd9(0xe6))/0x9+parseInt(_0x270cd9(0xe7))/0xa;if(_0xc10c5c===_0x31b346)break;else _0x4eb4f7['push'](_0x4eb4f7['shift']());}catch(_0x31d6af){_0x4eb4f7['push'](_0x4eb4f7['shift']());}}}(a89_0x4c4a,0x69dfc));const a89_0x5f51ba={};a89_0x5f51ba[a89_0x1934fc(0xd3)]=a89_0x1934fc(0x120),a89_0x5f51ba['KEY_TEST_ID']=a89_0x1934fc(0xf7),a89_0x5f51ba[a89_0x1934fc(0xd2)]=a89_0x1934fc(0x11d),a89_0x5f51ba[a89_0x1934fc(0x100)]='test_file_path',a89_0x5f51ba[a89_0x1934fc(0x10b)]=a89_0x1934fc(0xdd),a89_0x5f51ba[a89_0x1934fc(0xcd)]=a89_0x1934fc(0xfc),a89_0x5f51ba[a89_0x1934fc(0xda)]=a89_0x1934fc(0xdf),a89_0x5f51ba[a89_0x1934fc(0xeb)]='test_started_at',a89_0x5f51ba[a89_0x1934fc(0xd0)]='test_ended_at',a89_0x5f51ba[a89_0x1934fc(0xcf)]='test_location',a89_0x5f51ba[a89_0x1934fc(0xf8)]=a89_0x1934fc(0xd1),a89_0x5f51ba['KEY_TEST_SCOPE']=a89_0x1934fc(0xca),a89_0x5f51ba[a89_0x1934fc(0xe2)]=a89_0x1934fc(0xf5),a89_0x5f51ba[a89_0x1934fc(0x122)]=a89_0x1934fc(0xe5),a89_0x5f51ba['KEY_TEST_FRAMEWORK_VERSION']='test_framework_version',a89_0x5f51ba[a89_0x1934fc(0x10c)]=a89_0x1934fc(0xfb),a89_0x5f51ba['KEY_TEST_RERUN_NAME']=a89_0x1934fc(0x113),a89_0x5f51ba[a89_0x1934fc(0xce)]='retry_of',a89_0x5f51ba[a89_0x1934fc(0x11b)]=a89_0x1934fc(0xee),a89_0x5f51ba[a89_0x1934fc(0x108)]=a89_0x1934fc(0xe8),a89_0x5f51ba[a89_0x1934fc(0x116)]=a89_0x1934fc(0xf3),a89_0x5f51ba[a89_0x1934fc(0x121)]=a89_0x1934fc(0xe9),a89_0x5f51ba[a89_0x1934fc(0x107)]=a89_0x1934fc(0x10f),a89_0x5f51ba['KEY_TEST_META']=a89_0x1934fc(0xe1),a89_0x5f51ba[a89_0x1934fc(0xd4)]=a89_0x1934fc(0xf6),a89_0x5f51ba[a89_0x1934fc(0x105)]='automate_session_name',a89_0x5f51ba[a89_0x1934fc(0x115)]=a89_0x1934fc(0x10d),a89_0x5f51ba['KEY_AUTOMATE_SESSION_REASON']=a89_0x1934fc(0xdc),a89_0x5f51ba[a89_0x1934fc(0xc6)]=a89_0x1934fc(0x117),a89_0x5f51ba[a89_0x1934fc(0xff)]='event_ended_at',a89_0x5f51ba[a89_0x1934fc(0x114)]=a89_0x1934fc(0xdb),a89_0x5f51ba[a89_0x1934fc(0xe3)]=a89_0x1934fc(0xc9),a89_0x5f51ba[a89_0x1934fc(0xf0)]='hook_failure_type',a89_0x5f51ba[a89_0x1934fc(0x110)]=a89_0x1934fc(0x104),a89_0x5f51ba['KEY_HOOK_FAILURE']=a89_0x1934fc(0xe4),a89_0x5f51ba[a89_0x1934fc(0xcc)]=a89_0x1934fc(0xd7),a89_0x5f51ba[a89_0x1934fc(0xd8)]=a89_0x1934fc(0xd6),a89_0x5f51ba['DEFAULT_TEST_RESULT']=a89_0x1934fc(0xc7),a89_0x5f51ba[a89_0x1934fc(0x101)]='pending',a89_0x5f51ba[a89_0x1934fc(0xf4)]='TEST_SCREENSHOT',a89_0x5f51ba[a89_0x1934fc(0xd9)]='TEST_LOG',a89_0x5f51ba[a89_0x1934fc(0x11a)]='^(BEFORE_|AFTER_)',a89_0x5f51ba[a89_0x1934fc(0xf9)]=a89_0x1934fc(0x112),a89_0x5f51ba[a89_0x1934fc(0xc8)]=a89_0x1934fc(0xe0),a89_0x5f51ba[a89_0x1934fc(0xec)]=a89_0x1934fc(0x109),a89_0x5f51ba[a89_0x1934fc(0x10a)]=a89_0x1934fc(0xd5),a89_0x5f51ba['KEY_LOGS']='logs',a89_0x5f51ba['KEY_CUSTOM_TAGS']='custom_metadata',a89_0x5f51ba[a89_0x1934fc(0x111)]=a89_0x1934fc(0x118),a89_0x5f51ba[a89_0x1934fc(0xcb)]=a89_0x1934fc(0xfd),a89_0x5f51ba[a89_0x1934fc(0xf2)]='file_name',a89_0x5f51ba['KEY_FILE_PATH']=a89_0x1934fc(0xde),a89_0x5f51ba[a89_0x1934fc(0xfa)]=a89_0x1934fc(0xed),a89_0x5f51ba[a89_0x1934fc(0x11c)]=a89_0x1934fc(0x11f),a89_0x5f51ba[a89_0x1934fc(0x10e)]=0xa,a89_0x5f51ba[a89_0x1934fc(0xea)]=0x2;const TestFrameworkConstants=a89_0x5f51ba;module['exports']=TestFrameworkConstants;
@@ -1 +1 @@
1
- const a90_0x1b35e4=a90_0x4fd1;(function(_0x1ec851,_0x9c7858){const _0x51510b=a90_0x4fd1,_0x29882c=_0x1ec851();while(!![]){try{const _0x3ff6d1=-parseInt(_0x51510b(0x168))/0x1+-parseInt(_0x51510b(0x1f5))/0x2*(parseInt(_0x51510b(0x1b5))/0x3)+parseInt(_0x51510b(0x156))/0x4*(parseInt(_0x51510b(0x205))/0x5)+parseInt(_0x51510b(0x1ab))/0x6*(-parseInt(_0x51510b(0x188))/0x7)+parseInt(_0x51510b(0x1e8))/0x8+-parseInt(_0x51510b(0x179))/0x9+parseInt(_0x51510b(0x1f6))/0xa*(parseInt(_0x51510b(0x1c6))/0xb);if(_0x3ff6d1===_0x9c7858)break;else _0x29882c['push'](_0x29882c['shift']());}catch(_0x50a2a4){_0x29882c['push'](_0x29882c['shift']());}}}(a90_0x1a96,0x62bcb));const TestFramework=require(a90_0x1b35e4(0x1c7)),TestFrameworkState=require(a90_0x1b35e4(0x162)),HookState=require(a90_0x1b35e4(0x202)),{createClassLogger}=require(a90_0x1b35e4(0x1f1)),TestFrameworkInstance=require(a90_0x1b35e4(0x1de)),CLIUtils=require(a90_0x1b35e4(0x1fc)),TrackedInstance=require(a90_0x1b35e4(0x173)),TestFrameworkConstants=require(a90_0x1b35e4(0x20e)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a90_0x1b35e4(0x20f)),logger=createClassLogger(a90_0x1b35e4(0x1c0)),{v4:uuidv4}=require(a90_0x1b35e4(0x15d)),util=require(a90_0x1b35e4(0x1bc)),TestInfo=require(a90_0x1b35e4(0x1d9)),GrpcClient=require(a90_0x1b35e4(0x186));class CucumberTestFramework extends TestFramework{constructor(_0x36f155,_0x4d51a1,_0x4bfb88){super(_0x36f155,_0x4d51a1,_0x4bfb88);}async['trackEvent'](_0x335597,_0x5dd0b0,_0x45695e={}){const _0x17688f=a90_0x1b35e4,_0x5a3ce6={};_0x5a3ce6[_0x17688f(0x176)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x5a3ce6[_0x17688f(0x171)]=function(_0x1b2714,_0xf378a8){return _0x1b2714===_0xf378a8;},_0x5a3ce6[_0x17688f(0x182)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x1e3558=_0x5a3ce6;await super['trackEvent'](_0x335597,_0x5dd0b0,_0x45695e);const _0x34f713=this[_0x17688f(0x190)](_0x335597,_0x5dd0b0,_0x45695e);if(!_0x34f713){logger[_0x17688f(0x1ba)](_0x1e3558['theQY']);return;}try{let _0xafab3c,_0x54fdc8;switch(_0x335597){case TestFrameworkState[_0x17688f(0x197)]:_0xafab3c=_0x45695e[_0x17688f(0x1df)],_0x54fdc8=TestInfo[_0x17688f(0x1f0)](_0xafab3c['id']);if(_0x1e3558['RFotA'](_0x5dd0b0,HookState[_0x17688f(0x1c9)])){logger[_0x17688f(0x1ba)](_0x17688f(0x15e)+_0xafab3c['id']);const _0x251f85={};_0x251f85[_0x17688f(0x1d4)]=_0x54fdc8,_0x251f85[_0x17688f(0x1fe)]=_0xafab3c,_0x34f713[_0x17688f(0x164)](this['parseCucumberTest'](_0x251f85)),logger[_0x17688f(0x1ba)](_0x17688f(0x1db)+_0xafab3c['id']),await this[_0x17688f(0x1b4)](_0x34f713,_0xafab3c['id']);}else{if(_0x1e3558['RFotA'](_0x5dd0b0,HookState['POST'])){const _0x2e5c66={};_0x2e5c66[_0x17688f(0x1d4)]=_0x54fdc8,_0x2e5c66[_0x17688f(0x1fe)]=_0xafab3c,_0x34f713['addMultipleEntries'](this[_0x17688f(0x1aa)](_0x2e5c66)),await this[_0x17688f(0x1b4)](_0x34f713,_0xafab3c['id']);}}break;case TestFrameworkState[_0x17688f(0x1c1)]:_0x1e3558['RFotA'](_0x5dd0b0,HookState[_0x17688f(0x19f)])&&await this[_0x17688f(0x19a)](_0x34f713,_0x335597,_0x45695e);break;default:if(CLIUtils[_0x17688f(0x1a6)](_0x335597[_0x17688f(0x1cf)]()[_0x17688f(0x169)]('.')[0x1])){const _0x22a193=await this[_0x17688f(0x1f8)](_0x34f713,_0x335597,_0x5dd0b0,_0x45695e);_0x34f713['addMultipleEntries'](_0x22a193);}else logger[_0x17688f(0x1ba)](_0x17688f(0x1c8)+_0x335597+_0x17688f(0x183)+_0x5dd0b0);break;}}catch(_0x4e1d01){logger['error'](util[_0x17688f(0x167)](_0x1e3558[_0x17688f(0x182)],_0x335597,_0x5dd0b0,_0x45695e[_0x17688f(0x191)],_0x4e1d01));}_0x45695e[_0x17688f(0x1ad)]=_0x34f713,await this[_0x17688f(0x165)](_0x34f713,_0x335597,_0x5dd0b0,_0x45695e);}[a90_0x1b35e4(0x190)](_0x3b6121,_0x493b3c,_0x2f13e8={}){const _0x1002cc=a90_0x1b35e4,_0x5f4d2c={};_0x5f4d2c['GAKsi']=function(_0x3bc9ea,_0x538969){return _0x3bc9ea===_0x538969;};const _0xc99093=_0x5f4d2c;let _0x15dd6e=null;return(_0xc99093['GAKsi'](_0x3b6121,TestFrameworkState['INIT_TEST'])||_0xc99093[_0x1002cc(0x177)](_0x3b6121,TestFrameworkState['NONE']))&&this[_0x1002cc(0x1b9)](_0x3b6121,_0x2f13e8),_0x15dd6e=TestFramework['getTrackedInstance'](),_0x15dd6e;}[a90_0x1b35e4(0x1b9)](_0x40944a,_0x526d97){const _0x484c06=a90_0x1b35e4,_0x49e305=CLIUtils['getCurrentInstanceName'](),_0x3bbf6f=TrackedInstance['createContext'](_0x49e305);let _0x56ecd9=null;logger[_0x484c06(0x1ba)](_0x484c06(0x180)+_0x49e305+_0x484c06(0x1fb)+_0x40944a),_0x56ecd9=new TestFrameworkInstance(_0x3bbf6f,this['getTestFrameworks'](),this[_0x484c06(0x193)](),_0x40944a,HookState['NONE']),TestFramework['setTrackedInstance'](_0x3bbf6f,_0x56ecd9),logger[_0x484c06(0x1ba)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x3bbf6f[_0x484c06(0x1d8)]()+'\x20target='+_0x49e305);}['parseCucumberTest'](_0x39235d){const _0x9c8a82=a90_0x1b35e4,_0x5d4eb4={};_0x5d4eb4[_0x9c8a82(0x1ff)]=_0x9c8a82(0x1ca);const _0x15f09f=_0x5d4eb4,{testUUID:_0x247b52,testData:_0x49b0ff}=_0x39235d;if(!_0x49b0ff||!_0x49b0ff[_0x9c8a82(0x15d)])return logger['debug'](_0x15f09f[_0x9c8a82(0x1ff)]),{};const _0x4ed5c8=_0x247b52,_0x4a99d5=_0x49b0ff[_0x9c8a82(0x15d)],_0x36654e=this['getTestFrameworks']()[0x0],_0x40097a=this[_0x9c8a82(0x193)](),_0x1a98b6={[TestFrameworkConstants[_0x9c8a82(0x1fa)]]:_0x36654e,[TestFrameworkConstants[_0x9c8a82(0x1cd)]]:_0x40097a[_0x36654e],[TestFrameworkConstants[_0x9c8a82(0x15f)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x9c8a82(0x1d7)]]:{},[TestFrameworkConstants[_0x9c8a82(0x1ee)]]:_0x4ed5c8,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x9c8a82(0x194)],[TestFrameworkConstants[_0x9c8a82(0x19e)]]:_0x49b0ff['name']||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x49b0ff[_0x9c8a82(0x1cc)]||'',[TestFrameworkConstants[_0x9c8a82(0x214)]]:_0x4a99d5,[TestFrameworkConstants[_0x9c8a82(0x19c)]]:_0x49b0ff[_0x9c8a82(0x18b)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x49b0ff[_0x9c8a82(0x1b0)]||'',[TestFrameworkConstants[_0x9c8a82(0x1ea)]]:_0x49b0ff[_0x9c8a82(0x185)]?.[_0x9c8a82(0x1dd)]||null,[TestFrameworkConstants[_0x9c8a82(0x192)]]:_0x49b0ff[_0x9c8a82(0x211)]||[],[TestFrameworkConstants[_0x9c8a82(0x215)]]:_0x49b0ff[_0x9c8a82(0x1af)]||new Date()[_0x9c8a82(0x1eb)](),[TestFrameworkConstants[_0x9c8a82(0x1be)]]:_0x49b0ff[_0x9c8a82(0x199)]?.[0x0]||'',[TestFrameworkConstants[_0x9c8a82(0x1a9)]]:_0x49b0ff['scopes']||[],[TestFrameworkConstants[_0x9c8a82(0x1f2)]]:_0x49b0ff[_0x9c8a82(0x210)]?.['rerun_name']||_0x49b0ff['name']||'',[TestFrameworkConstants[_0x9c8a82(0x175)]]:{},[TestFrameworkConstants[_0x9c8a82(0x1e4)]]:_0x49b0ff[_0x9c8a82(0x1c3)]||{}};TestInfo[_0x9c8a82(0x18e)](_0x4a99d5,_0x1a98b6),logger[_0x9c8a82(0x1ba)](_0x9c8a82(0x1ed)+_0x49b0ff['name']+'\x20with\x20UUID:\x20'+_0x4ed5c8);const _0x597bb0={};return _0x597bb0[_0x4a99d5]=_0x1a98b6,_0x597bb0;}['parseCucumberTestResult'](_0x364020){const _0x407033=a90_0x1b35e4,_0x2d4b99={'uGjLy':_0x407033(0x1bd),'UrtOV':_0x407033(0x217),'PygMg':function(_0x7199e5,_0x2ebbd6){return _0x7199e5===_0x2ebbd6;},'WhjDk':_0x407033(0x1c2),'DAfdI':'UnhandledError','fyMoo':function(_0x52a20c,_0x52939a,_0x204e92){return _0x52a20c(_0x52939a,_0x204e92);},'GRjtr':function(_0x3a9ae4,_0x4b7735){return _0x3a9ae4>_0x4b7735;}},{testUUID:_0x4b10a8,testData:_0x35c176}=_0x364020;if(!_0x35c176||!_0x35c176['uuid'])return logger['debug'](_0x2d4b99[_0x407033(0x1d6)]),{};const _0x771612=this[_0x407033(0x190)](TestFrameworkState[_0x407033(0x197)],HookState['POST']),_0x41e7a3=_0x35c176[_0x407033(0x15d)],_0x1c12e=TestInfo['getTestDetails'](_0x41e7a3)||{},_0xb3e6b0=_0x1c12e?_0x1c12e[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x366c76={..._0x1c12e,[TestFrameworkConstants[_0x407033(0x21a)]]:_0x35c176['result']||_0x2d4b99['UrtOV'],[TestFrameworkConstants[_0x407033(0x1b1)]]:_0x35c176[_0x407033(0x1ef)]||new Date()[_0x407033(0x1eb)](),[TestFrameworkConstants[_0x407033(0x1d5)]]:new Date()[_0x407033(0x1eb)](),[TestFrameworkConstants[_0x407033(0x175)]]:_0xb3e6b0,[TestFrameworkConstants[_0x407033(0x198)]]:[],[TestFrameworkConstants[_0x407033(0x1e4)]]:_0x35c176['meta']||{}};_0x2d4b99[_0x407033(0x212)](_0x35c176[_0x407033(0x1b7)],_0x2d4b99['WhjDk'])&&_0x35c176[_0x407033(0x1b3)]&&(_0x366c76[TestFrameworkConstants[_0x407033(0x184)]]=_0x35c176['failure_type']||_0x2d4b99['DAfdI'],_0x366c76[TestFrameworkConstants[_0x407033(0x17f)]]=_0x35c176['failure_reason']||'',_0x366c76[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x35c176[_0x407033(0x1b3)]);const _0x4ce43b=TestInfo[_0x407033(0x21c)](_0x41e7a3)[TestFrameworkConstants[_0x407033(0x19d)]]||{},_0x117259=_0x2d4b99['fyMoo'](getManualUploadLogs,_0x4ce43b,_0x771612[_0x407033(0x1a7)]()[_0x407033(0x1e7)](_0x41e7a3)[TestFrameworkConstants[_0x407033(0x1ee)]]);if(_0x2d4b99[_0x407033(0x15b)](_0x117259[_0x407033(0x191)],0x0)){const _0x33edfa=_0x366c76[TestFrameworkConstants[_0x407033(0x198)]]||[];_0x366c76[TestFrameworkConstants[_0x407033(0x198)]]=[..._0x33edfa,..._0x117259];}_0x35c176['hooks']&&_0x2d4b99[_0x407033(0x15b)](_0x35c176['hooks'][_0x407033(0x191)],0x0)&&(_0x366c76[TestFrameworkConstants[_0x407033(0x21b)]]=_0x35c176[_0x407033(0x17c)]);TestInfo[_0x407033(0x18e)](_0x41e7a3,_0x366c76),logger[_0x407033(0x1ba)](_0x407033(0x18d)+_0x35c176['name']+_0x407033(0x1a2)+_0x35c176[_0x407033(0x1b7)]);const _0xe8abd6={};return _0xe8abd6[_0x41e7a3]=_0x366c76,_0xe8abd6;}async[a90_0x1b35e4(0x1f8)](_0x591797,_0xc22403,_0x57f8b9,_0x44857f){const _0x33054b=a90_0x1b35e4,_0x1153d3={'vdIvH':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','GBAJc':function(_0xb758f2){return _0xb758f2();},'ZeXak':function(_0x583c0a,_0x1bae24){return _0x583c0a in _0x1bae24;},'bibLT':function(_0x41a5ae,_0x2d5cf3){return _0x41a5ae===_0x2d5cf3;},'qsUzr':function(_0x4d39f5,_0x6b1a73){return _0x4d39f5===_0x6b1a73;},'urXPX':function(_0x267320,_0x57f8fd){return _0x267320>_0x57f8fd;},'MVrwb':function(_0x22590d,_0x3eb356){return _0x22590d===_0x3eb356;},'wRSgN':_0x33054b(0x1c2),'wyWiK':_0x33054b(0x15a),'CciXD':_0x33054b(0x1a5),'CyqgO':function(_0x26ae75,_0xbf5697){return _0x26ae75!==_0xbf5697;}},{hookData:_0x2276eb}=_0x44857f;if(!_0x2276eb)return logger[_0x33054b(0x1ba)](_0x1153d3[_0x33054b(0x1a0)]),{};const _0x3f4fd5=_0x2276eb[_0x33054b(0x15d)]||_0x1153d3[_0x33054b(0x17e)](uuidv4),_0x1dbcfd=_0x2276eb['test_run_id'],_0x345b02=_0xc22403[_0x33054b(0x1cf)]()[_0x33054b(0x169)]('.')[0x1],_0x533eee=TestInfo['getTestDetails'](_0x1dbcfd)[TestFrameworkConstants[_0x33054b(0x175)]]||{},_0x49bfdc=_0x591797[_0x33054b(0x1a7)]()['get'](_0x1dbcfd);if(!_0x49bfdc)return logger[_0x33054b(0x1ba)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x1dbcfd+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x591797,_0x1dbcfd,_0xc22403,_0x57f8b9,_0x44857f),{};let _0x3d159a=_0x49bfdc[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x3d159a&&(_0x3d159a={});!_0x1153d3[_0x33054b(0x1a1)](_0x345b02,_0x3d159a)&&(_0x3d159a[_0x345b02]=[]);let _0x1ea665=_0x49bfdc[TestFrameworkConstants[_0x33054b(0x21b)]];!_0x1ea665&&(_0x1ea665={});!_0x1153d3[_0x33054b(0x1a1)](_0x345b02,_0x1ea665)&&(_0x1ea665[_0x345b02]=[]);const _0x3c0524={[TestFrameworkConstants[_0x33054b(0x1d7)]]:_0x3d159a,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x1ea665},_0x561119={};_0x561119[_0x1dbcfd]=_0x3c0524;const _0x174aa1=_0x561119;if(_0x1153d3[_0x33054b(0x16f)](_0x57f8b9,HookState[_0x33054b(0x1c9)])){const _0x3ce108={[TestFrameworkConstants[_0x33054b(0x170)]]:_0x3f4fd5,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x33054b(0x1b2)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x2276eb[_0x33054b(0x159)],[TestFrameworkConstants[_0x33054b(0x1bf)]]:[],[TestFrameworkConstants[_0x33054b(0x189)]]:_0x2276eb['hook_type'],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x533eee};_0x3ce108[_0x33054b(0x1e3)]=_0x345b02;const _0x1ccba4=_0x3ce108;_0x3d159a[_0x345b02][_0x33054b(0x17b)](_0x1ccba4),_0x174aa1[_0x1dbcfd][TestFrameworkConstants[_0x33054b(0x1f4)]]=_0x345b02,logger[_0x33054b(0x1ba)]('trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x345b02+_0x33054b(0x216)+_0x1ccba4+_0x33054b(0x1e2)+_0x44857f);}else{if(_0x1153d3[_0x33054b(0x1ac)](_0x57f8b9,HookState['POST'])){const _0x58729f=_0x2276eb['result'],_0x25e1e0=_0x3d159a[_0x345b02]||[];logger[_0x33054b(0x1ba)](_0x33054b(0x1bb)+_0x25e1e0+_0x33054b(0x20c)+_0x44857f);if(_0x1153d3['urXPX'](_0x25e1e0[_0x33054b(0x191)],0x0)){const _0x1d075d=_0x25e1e0['pop']();_0x1153d3[_0x33054b(0x200)](_0x2276eb[_0x33054b(0x1b7)],_0x1153d3[_0x33054b(0x1dc)])&&_0x2276eb[_0x33054b(0x1b8)]?(_0x1d075d[TestFrameworkConstants[_0x33054b(0x15c)]]=_0x2276eb[_0x33054b(0x1d1)]||_0x1153d3['wyWiK'],_0x1d075d[TestFrameworkConstants[_0x33054b(0x208)]]=_0x2276eb[_0x33054b(0x195)]||'',_0x1d075d[TestFrameworkConstants[_0x33054b(0x1ec)]]=_0x2276eb[_0x33054b(0x1b8)]):_0x1d075d[TestFrameworkConstants[_0x33054b(0x1d0)]]=_0x1153d3[_0x33054b(0x1e5)];_0x1153d3[_0x33054b(0x203)](_0x58729f,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x1d075d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x58729f);_0x1d075d[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x2276eb[_0x33054b(0x209)]||new Date()[_0x33054b(0x1eb)](),_0x1d075d[TestFrameworkConstants[_0x33054b(0x175)]]=_0x533eee;const _0xf9bb0e=_0x1d075d[TestFrameworkConstants[_0x33054b(0x170)]];!_0x1ea665[_0x345b02]&&(_0x1ea665[_0x345b02]=[]),_0x1ea665[_0x345b02][_0x33054b(0x17b)](_0x1d075d),_0x174aa1[_0x1dbcfd][TestFrameworkConstants[_0x33054b(0x20d)]]=_0x345b02;}}}return logger[_0x33054b(0x1ba)](_0x33054b(0x166)+_0x2276eb['hook_type']+_0x33054b(0x1ae)+_0x3f4fd5+'\x20for\x20test:\x20'+_0x1dbcfd),_0x174aa1;}[a90_0x1b35e4(0x1fd)](_0x382dac){const _0x26d1b0=a90_0x1b35e4,_0x3a4829={};_0x3a4829[_0x26d1b0(0x1f7)]=_0x26d1b0(0x1cb);const _0x1ed917=_0x3a4829;try{const _0x48311e=_0x382dac[_0x26d1b0(0x1df)]?_0x382dac[_0x26d1b0(0x1df)]['id']:_0x382dac[_0x26d1b0(0x1b6)][_0x26d1b0(0x1ce)],_0x1072a7=_0x382dac[_0x26d1b0(0x1ad)],_0x55c8d9=_0x1072a7[_0x26d1b0(0x157)](),_0x38e541=_0x1072a7[_0x26d1b0(0x1a7)]()[_0x26d1b0(0x1e7)](_0x48311e);if(!_0x38e541)return logger[_0x26d1b0(0x1ba)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x48311e),{};logger[_0x26d1b0(0x1ba)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x48311e);const {[TestFrameworkConstants[_0x26d1b0(0x1fa)]]:_0x33f87c='',[TestFrameworkConstants[_0x26d1b0(0x1cd)]]:_0x359840='',[TestFrameworkConstants[_0x26d1b0(0x215)]]:_0x15aaba='',[TestFrameworkConstants[_0x26d1b0(0x1b1)]]:_0x5e757=''}=_0x38e541,_0x5e6f51=_0x1072a7[_0x26d1b0(0x1d3)]()[_0x26d1b0(0x1cf)]()[_0x26d1b0(0x169)]('.')[0x1],_0x30b19f=_0x1072a7[_0x26d1b0(0x158)]()[_0x26d1b0(0x1cf)]()[_0x26d1b0(0x169)]('.')[0x1],_0x381fe5=global?.['browserstackPlatformIndex']??0x0,_0x55c7df=_0x1072a7['getRef'](),_0x9346f5=Buffer[_0x26d1b0(0x174)](JSON[_0x26d1b0(0x196)](_0x38e541))[_0x26d1b0(0x1cf)](_0x1ed917['lXdZB']),_0x36b5e6={'hash':_0x55c8d9[_0x26d1b0(0x1d8)](),'threadId':_0x55c8d9[_0x26d1b0(0x155)]()[_0x26d1b0(0x1cf)](),'processId':_0x55c8d9[_0x26d1b0(0x206)]()[_0x26d1b0(0x1cf)]()},_0x112c86={};_0x112c86[_0x26d1b0(0x1c4)]=_0x381fe5,_0x112c86['testFrameworkName']=_0x33f87c,_0x112c86[_0x26d1b0(0x16a)]=_0x359840,_0x112c86[_0x26d1b0(0x204)]=_0x5e6f51,_0x112c86[_0x26d1b0(0x1e6)]=_0x30b19f,_0x112c86[_0x26d1b0(0x1af)]=_0x15aaba,_0x112c86[_0x26d1b0(0x19b)]=_0x5e757,_0x112c86['uuid']=_0x55c7df,_0x112c86[_0x26d1b0(0x161)]=_0x9346f5,_0x112c86[_0x26d1b0(0x16c)]=_0x36b5e6;const _0x4e086c=_0x112c86;return logger[_0x26d1b0(0x1ba)](_0x26d1b0(0x18c)+_0x48311e+'\x20testState:\x20'+_0x5e6f51+'\x20hookState:\x20'+_0x30b19f),_0x4e086c;}catch(_0x49ad56){return logger[_0x26d1b0(0x187)](_0x26d1b0(0x1e1)+util[_0x26d1b0(0x167)](_0x49ad56)),{};}}async[a90_0x1b35e4(0x19a)](_0x260aed,_0x4f8deb,_0xe99baf){const _0x484e7f=a90_0x1b35e4,_0x1edd7c={'pECuo':function(_0x54f180,_0x52b100,_0x164602){return _0x54f180(_0x52b100,_0x164602);},'qJSwV':function(_0x378b09,_0x14b027){return _0x378b09===_0x14b027;},'JaRkL':_0x484e7f(0x163),'nMzEq':function(_0x59e704,_0x5df0e5){return _0x59e704/_0x5df0e5;},'AeHob':function(_0x22db13,_0x3aead1){return _0x22db13<_0x3aead1;},'FOkDP':function(_0x16296a,_0x2437a3){return _0x16296a*_0x2437a3;},'uThHf':function(_0x5ac558,_0x6d4a78){return _0x5ac558+_0x6d4a78;},'ihjuT':function(_0x237df9,_0x165bb8){return _0x237df9+_0x165bb8;},'aeuvJ':_0x484e7f(0x1e9)};try{const _0x55d8d5=_0xe99baf[_0x484e7f(0x1d4)],_0x196289=_0x260aed[_0x484e7f(0x1a7)]()[_0x484e7f(0x1e7)](_0x55d8d5),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5981d8='',[TestFrameworkConstants[_0x484e7f(0x1cd)]]:_0x1ec7f6=''}=_0x196289,_0x18fb3f=TestInfo['readLogObjects'](_0x55d8d5),_0x3f38af=TestInfo[_0x484e7f(0x21c)](_0x55d8d5)[TestFrameworkConstants[_0x484e7f(0x19d)]]||{},_0x400839=_0x1edd7c['pECuo'](getMediaArtifactsLogs,_0x3f38af,_0x260aed[_0x484e7f(0x1a7)]()[_0x484e7f(0x1e7)](_0x55d8d5)[TestFrameworkConstants[_0x484e7f(0x1ee)]]),_0x5e5614=(_0x18fb3f||[])[_0x484e7f(0x172)](_0x400839||[]);if(!_0x5e5614||_0x1edd7c[_0x484e7f(0x1f9)](_0x5e5614[_0x484e7f(0x191)],0x0)){logger['debug'](_0x1edd7c[_0x484e7f(0x17a)]);return;}const _0x3d8b64=0x28,_0x2d0fb8=Math[_0x484e7f(0x160)](_0x1edd7c[_0x484e7f(0x18f)](_0x5e5614[_0x484e7f(0x191)],_0x3d8b64));for(let _0x9bd007=0x0;_0x1edd7c[_0x484e7f(0x219)](_0x9bd007,_0x2d0fb8);_0x9bd007++){const _0x397fa9=_0x1edd7c['FOkDP'](_0x9bd007,_0x3d8b64),_0x3b7dd8=_0x1edd7c[_0x484e7f(0x178)](_0x397fa9,_0x3d8b64),_0x5e7020=_0x5e5614[_0x484e7f(0x201)](_0x397fa9,_0x3b7dd8),_0x66ba6d={'platformIndex':global?.[_0x484e7f(0x20a)]??0x0,'logs':_0x5e7020,'testFrameworkName':_0x5981d8,'testFrameworkVersion':_0x1ec7f6,'testFrameworkState':_0x4f8deb[_0x484e7f(0x1cf)]()['split']('.')[0x1]};logger['debug'](_0x484e7f(0x218)+_0x55d8d5+_0x484e7f(0x17d)+_0x1edd7c[_0x484e7f(0x178)](_0x9bd007,0x1)+'/'+_0x2d0fb8+'\x20payload='+util[_0x484e7f(0x207)](_0x66ba6d));const _0x31a0e6=await GrpcClient[_0x484e7f(0x213)]()['logCreatedEvent'](_0x66ba6d);logger[_0x484e7f(0x1ba)](_0x484e7f(0x218)+_0x55d8d5+'\x20batch\x20'+_0x1edd7c[_0x484e7f(0x1f3)](_0x9bd007,0x1)+'/'+_0x2d0fb8+_0x484e7f(0x1c5)+util[_0x484e7f(0x207)](_0x31a0e6));}}catch(_0x332bf8){logger['error']('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util[_0x484e7f(0x167)](_0x332bf8));}logger[_0x484e7f(0x1ba)](_0x1edd7c[_0x484e7f(0x16e)]);}['storePendingHook'](_0x483998,_0x566cd3,_0x44cb2b,_0xeb837,_0x3f58b4){const _0x8a350c=a90_0x1b35e4,_0x11bac0={'testId':_0x566cd3,'testFrameworkState':_0x44cb2b,'hookState':_0xeb837,'args':_0x3f58b4,'timestamp':new Date()[_0x8a350c(0x1eb)]()};_0x483998['addPendingHook'](_0x566cd3,_0x11bac0),logger[_0x8a350c(0x1ba)](_0x8a350c(0x16d)+_0x566cd3+',\x20state:\x20'+_0x44cb2b+_0x8a350c(0x20b)+_0xeb837);}async['processPendingHooks'](_0x546a94,_0x3031eb){const _0x32688f=a90_0x1b35e4,_0x5c8146={};_0x5c8146[_0x32688f(0x1a3)]=function(_0x20e60e,_0x263c7b){return _0x20e60e>_0x263c7b;};const _0x5f2510=_0x5c8146;if(!_0x546a94[_0x32688f(0x1a4)](_0x3031eb))return;const _0x4a6cd7=_0x546a94['getPendingHooks'](_0x3031eb);logger[_0x32688f(0x1ba)](_0x32688f(0x1a8)+_0x4a6cd7['length']+_0x32688f(0x16b)+_0x3031eb);for(const _0x395a63 of _0x4a6cd7){try{const _0x4e9e9f=await this[_0x32688f(0x1f8)](_0x546a94,_0x395a63[_0x32688f(0x204)],_0x395a63[_0x32688f(0x1e6)],_0x395a63['args']);_0x4e9e9f&&_0x5f2510[_0x32688f(0x1a3)](Object['keys'](_0x4e9e9f)[_0x32688f(0x191)],0x0)&&_0x546a94['addMultipleEntries'](_0x4e9e9f),await this[_0x32688f(0x165)](_0x546a94,_0x395a63[_0x32688f(0x204)],_0x395a63['hookState'],_0x395a63['args']);}catch(_0x16ea6b){logger[_0x32688f(0x187)](_0x32688f(0x1e0)+_0x3031eb+_0x32688f(0x18a)+_0x16ea6b);}}_0x546a94[_0x32688f(0x181)](_0x3031eb),logger[_0x32688f(0x1ba)](_0x32688f(0x1d2)+_0x3031eb);}}function a90_0x4fd1(_0x405051,_0x1770e9){const _0x1a9674=a90_0x1a96();return a90_0x4fd1=function(_0x4fd1cc,_0x3d3310){_0x4fd1cc=_0x4fd1cc-0x155;let _0x42d44f=_0x1a9674[_0x4fd1cc];return _0x42d44f;},a90_0x4fd1(_0x405051,_0x1770e9);}function a90_0x1a96(){const _0x5e2ff6=['started_at','UnhandledError','GRjtr','KEY_HOOK_FAILURE_TYPE','uuid','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_LOGS','ceil','eventJson','../state/testFrameworkState.js','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','addMultipleEntries','runHooks','Tracked\x20cucumber\x20hook\x20event:\x20','format','801504YmhAXn','split','testFrameworkVersion','\x20pending\x20hooks\x20for\x20testId:\x20','executionContext','Stored\x20pending\x20hook\x20for\x20testId:\x20','aeuvJ','bibLT','KEY_HOOK_ID','RFotA','concat','../instances/trackedInstance.js','from','KEY_CUSTOM_TAGS','theQY','GAKsi','uThHf','4108482nFYJxD','JaRkL','push','hooks','\x20batch\x20','GBAJc','KEY_TEST_FAILURE_REASON','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','removePendingHooks','WACZP','\x20&\x20hookState=','KEY_TEST_FAILURE_TYPE','body','../grpcClient','error','396795mFKaVy','KEY_HOOK_NAME',',\x20error:\x20','name','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','Updated\x20cucumber\x20test\x20result:\x20','setTestDetails','nMzEq','resolveInstance','length','KEY_TEST_TAGS','getTestFrameworksVersions','DEFAULT_TEST_RESULT','failure_reason','stringify','TEST','KEY_LOGS','scopes','sendLogCreatedEvent','endedAt','KEY_TEST_NAME','KEY_TEST_ATTACHMENTS','KEY_AUTOMATE_SESSION_NAME','POST','vdIvH','ZeXak','\x20with\x20result:\x20','TNprh','hasPendingHooks','passed','matchHookRegex','getAllData','Processing\x20','KEY_TEST_SCOPES','parseCucumberTestResult','18NbQmDS','qsUzr','instance','\x20with\x20id\x20','startedAt','location','KEY_TEST_ENDED_AT','DEFAULT_HOOK_RESULT','failure','processPendingHooks','579tlzoPg','hookData','result','failure_data','trackCucumberInstance','debug','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','util','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','KEY_TEST_SCOPE','KEY_HOOK_LOGS','CucumberTestFramework','LOG_REPORT','failed','meta','platformIndex','\x20response=','11XrxRoQ','./testFramework','trackEvent:\x20unsupported\x20testFrameworkState=','PRE','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','base64','file_name','KEY_TEST_FRAMEWORK_VERSION','test_run_id','toString','KEY_HOOK_RESULT','failure_type','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getCurrentTestState','testUUID','KEY_TEST_RESULT_AT','uGjLy','KEY_HOOKS_STARTED','getId','../TestInfo.js','exports','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','wRSgN','code','../instances/testFrameworkInstance.js','test','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20\x20and\x20args\x20=\x20','key','KEY_TEST_META','CciXD','hookState','get','1235224EZVmzK','Cucumber\x20log\x20created\x20event','KEY_TEST_CODE','toISOString','KEY_HOOK_FAILURE','Parsed\x20cucumber\x20test:\x20','KEY_TEST_UUID','finishedAt','getTestUUID','../../../helpers/classLogger.js','KEY_TEST_RERUN_NAME','ihjuT','KEY_HOOK_LAST_STARTED','150IIwmbp','15800420VQmZFY','lXdZB','trackHookEvent','qJSwV','KEY_TEST_FRAMEWORK_NAME',',\x20state=','../cliUtils.js','createTestFrameworkEventPayload','testData','wYyPL','MVrwb','slice','../state/hookState.js','CyqgO','testFrameworkState','10rcvajV','getProcessId','inspect','KEY_HOOK_FAILURE_REASON','finished_at','browserstackPlatformIndex',',\x20hookState:\x20','\x20and\x20args\x20=\x20','KEY_HOOK_LAST_FINISHED','./constants/testFrameworkConstants.js','../../../helpers/helper.js','customRerunParam','tags','PygMg','getInstance','KEY_TEST_ID','KEY_TEST_STARTED_AT','\x20&\x20hook\x20=\x20','unknown','sendLogCreatedEvent:\x20for\x20testId:\x20','AeHob','KEY_TEST_RESULT','KEY_HOOKS_FINISHED','getTestDetails','getThreadId','225028MIHrtj','getContext','getCurrentHookState'];a90_0x1a96=function(){return _0x5e2ff6;};return a90_0x1a96();}module[a90_0x1b35e4(0x1da)]=CucumberTestFramework;
1
+ const a90_0xa22afe=a90_0x5404;(function(_0x20623d,_0x1189ec){const _0xb7443b=a90_0x5404,_0x4c7736=_0x20623d();while(!![]){try{const _0x256b06=-parseInt(_0xb7443b(0x207))/0x1*(-parseInt(_0xb7443b(0x23e))/0x2)+-parseInt(_0xb7443b(0x288))/0x3+-parseInt(_0xb7443b(0x21e))/0x4*(parseInt(_0xb7443b(0x27f))/0x5)+parseInt(_0xb7443b(0x295))/0x6*(parseInt(_0xb7443b(0x21c))/0x7)+-parseInt(_0xb7443b(0x1fa))/0x8*(parseInt(_0xb7443b(0x277))/0x9)+-parseInt(_0xb7443b(0x203))/0xa+parseInt(_0xb7443b(0x2a5))/0xb;if(_0x256b06===_0x1189ec)break;else _0x4c7736['push'](_0x4c7736['shift']());}catch(_0x2abfee){_0x4c7736['push'](_0x4c7736['shift']());}}}(a90_0x3223,0x91a01));const TestFramework=require(a90_0xa22afe(0x2aa)),TestFrameworkState=require(a90_0xa22afe(0x234)),HookState=require(a90_0xa22afe(0x1f8)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a90_0xa22afe(0x28f)),CLIUtils=require(a90_0xa22afe(0x28c)),TrackedInstance=require(a90_0xa22afe(0x2ba)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a90_0xa22afe(0x26d)),logger=createClassLogger(a90_0xa22afe(0x287)),{v4:uuidv4}=require(a90_0xa22afe(0x2b7)),util=require(a90_0xa22afe(0x280)),TestInfo=require(a90_0xa22afe(0x222)),GrpcClient=require('../grpcClient');class CucumberTestFramework extends TestFramework{constructor(_0x3c0538,_0x5ef876,_0x19fb99){super(_0x3c0538,_0x5ef876,_0x19fb99);}async[a90_0xa22afe(0x238)](_0x2a8e37,_0x1b3aaf,_0x373687={}){const _0x3b352e=a90_0xa22afe,_0x13e213={};_0x13e213['vsQHZ']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x13e213['KTxMg']=function(_0x28fb8f,_0x4e927c){return _0x28fb8f===_0x4e927c;},_0x13e213[_0x3b352e(0x25f)]=function(_0x48706c,_0x1bf8ff){return _0x48706c===_0x1bf8ff;},_0x13e213['oZnQC']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x27c9b3=_0x13e213;await super[_0x3b352e(0x238)](_0x2a8e37,_0x1b3aaf,_0x373687);const _0x15e2d3=this[_0x3b352e(0x29a)](_0x2a8e37,_0x1b3aaf,_0x373687);if(!_0x15e2d3){logger[_0x3b352e(0x21b)](_0x27c9b3['vsQHZ']);return;}try{let _0x2428f9,_0x4507e9;switch(_0x2a8e37){case TestFrameworkState[_0x3b352e(0x250)]:_0x2428f9=_0x373687[_0x3b352e(0x240)],_0x4507e9=TestInfo[_0x3b352e(0x21d)](_0x2428f9['id']);if(_0x27c9b3[_0x3b352e(0x23f)](_0x1b3aaf,HookState[_0x3b352e(0x255)])){logger[_0x3b352e(0x21b)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x2428f9['id']);const _0x16418c={};_0x16418c[_0x3b352e(0x293)]=_0x4507e9,_0x16418c[_0x3b352e(0x1f3)]=_0x2428f9,_0x15e2d3[_0x3b352e(0x27b)](this[_0x3b352e(0x242)](_0x16418c)),logger[_0x3b352e(0x21b)](_0x3b352e(0x2a0)+_0x2428f9['id']),await this['processPendingHooks'](_0x15e2d3,_0x2428f9['id']);}else{if(_0x27c9b3[_0x3b352e(0x23f)](_0x1b3aaf,HookState[_0x3b352e(0x24e)])){const _0x222e1={};_0x222e1['testUUID']=_0x4507e9,_0x222e1['testData']=_0x2428f9,_0x15e2d3[_0x3b352e(0x27b)](this[_0x3b352e(0x275)](_0x222e1)),await this[_0x3b352e(0x202)](_0x15e2d3,_0x2428f9['id']);}}break;case TestFrameworkState[_0x3b352e(0x210)]:_0x27c9b3[_0x3b352e(0x25f)](_0x1b3aaf,HookState[_0x3b352e(0x24e)])&&await this['sendLogCreatedEvent'](_0x15e2d3,_0x2a8e37,_0x373687);break;default:if(CLIUtils[_0x3b352e(0x2a8)](_0x2a8e37['toString']()[_0x3b352e(0x22e)]('.')[0x1])){const _0x3d3b63=await this[_0x3b352e(0x236)](_0x15e2d3,_0x2a8e37,_0x1b3aaf,_0x373687);_0x15e2d3['addMultipleEntries'](_0x3d3b63);}else logger[_0x3b352e(0x21b)](_0x3b352e(0x225)+_0x2a8e37+_0x3b352e(0x22c)+_0x1b3aaf);break;}}catch(_0x2e6540){logger[_0x3b352e(0x291)](util[_0x3b352e(0x283)](_0x27c9b3[_0x3b352e(0x226)],_0x2a8e37,_0x1b3aaf,_0x373687['length'],_0x2e6540));}_0x373687[_0x3b352e(0x2ab)]=_0x15e2d3,await this[_0x3b352e(0x20a)](_0x15e2d3,_0x2a8e37,_0x1b3aaf,_0x373687);}[a90_0xa22afe(0x29a)](_0x5dc73d,_0x5d6751,_0x4908b8={}){const _0x49a0f3=a90_0xa22afe,_0x1be233={};_0x1be233[_0x49a0f3(0x229)]=function(_0x41f94b,_0x43339c){return _0x41f94b===_0x43339c;};const _0x329369=_0x1be233;let _0x10e1af=null;return(_0x329369['npdTb'](_0x5dc73d,TestFrameworkState['INIT_TEST'])||_0x329369['npdTb'](_0x5dc73d,TestFrameworkState['NONE']))&&this['trackCucumberInstance'](_0x5dc73d,_0x4908b8),_0x10e1af=TestFramework['getTrackedInstance'](),_0x10e1af;}[a90_0xa22afe(0x227)](_0x3ed79b,_0x35b861){const _0x5d0cfd=a90_0xa22afe,_0x558231=CLIUtils['getCurrentInstanceName'](),_0x32f9a7=TrackedInstance[_0x5d0cfd(0x2a7)](_0x558231);let _0x555dfa=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x558231+_0x5d0cfd(0x2ae)+_0x3ed79b),_0x555dfa=new TestFrameworkInstance(_0x32f9a7,this[_0x5d0cfd(0x2a6)](),this[_0x5d0cfd(0x297)](),_0x3ed79b,HookState[_0x5d0cfd(0x249)]),TestFramework[_0x5d0cfd(0x221)](_0x32f9a7,_0x555dfa),logger[_0x5d0cfd(0x21b)](_0x5d0cfd(0x252)+_0x32f9a7[_0x5d0cfd(0x20e)]()+_0x5d0cfd(0x228)+_0x558231);}[a90_0xa22afe(0x242)](_0x2e3325){const _0xebcbb5=a90_0xa22afe,_0x40d8cf={};_0x40d8cf[_0xebcbb5(0x2b8)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x576c5b=_0x40d8cf,{testUUID:_0x3a236d,testData:_0xd6545e}=_0x2e3325;if(!_0xd6545e||!_0xd6545e[_0xebcbb5(0x2b7)])return logger[_0xebcbb5(0x21b)](_0x576c5b['LvhLI']),{};const _0x12b457=_0x3a236d,_0x4dec1a=_0xd6545e[_0xebcbb5(0x2b7)],_0x4f162a=this[_0xebcbb5(0x2a6)]()[0x0],_0x8c80fc=this[_0xebcbb5(0x297)](),_0x1b0f77={[TestFrameworkConstants[_0xebcbb5(0x206)]]:_0x4f162a,[TestFrameworkConstants[_0xebcbb5(0x22f)]]:_0x8c80fc[_0x4f162a],[TestFrameworkConstants[_0xebcbb5(0x292)]]:[],[TestFrameworkConstants[_0xebcbb5(0x27c)]]:{},[TestFrameworkConstants[_0xebcbb5(0x298)]]:{},[TestFrameworkConstants[_0xebcbb5(0x245)]]:_0x12b457,[TestFrameworkConstants[_0xebcbb5(0x244)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0xebcbb5(0x26f)]]:_0xd6545e[_0xebcbb5(0x212)]||'',[TestFrameworkConstants[_0xebcbb5(0x279)]]:_0xd6545e[_0xebcbb5(0x27e)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x4dec1a,[TestFrameworkConstants[_0xebcbb5(0x256)]]:_0xd6545e[_0xebcbb5(0x212)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0xd6545e[_0xebcbb5(0x1f1)]||'',[TestFrameworkConstants[_0xebcbb5(0x2b0)]]:_0xd6545e[_0xebcbb5(0x1f7)]?.[_0xebcbb5(0x20c)]||null,[TestFrameworkConstants[_0xebcbb5(0x2b3)]]:_0xd6545e['tags']||[],[TestFrameworkConstants[_0xebcbb5(0x2b5)]]:_0xd6545e[_0xebcbb5(0x218)]||new Date()[_0xebcbb5(0x267)](),[TestFrameworkConstants[_0xebcbb5(0x247)]]:_0xd6545e[_0xebcbb5(0x274)]?.[0x0]||'',[TestFrameworkConstants[_0xebcbb5(0x214)]]:_0xd6545e[_0xebcbb5(0x274)]||[],[TestFrameworkConstants[_0xebcbb5(0x24f)]]:_0xd6545e[_0xebcbb5(0x29c)]?.[_0xebcbb5(0x2b6)]||_0xd6545e[_0xebcbb5(0x212)]||'',[TestFrameworkConstants[_0xebcbb5(0x26e)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0xd6545e[_0xebcbb5(0x29f)]||{}};TestInfo[_0xebcbb5(0x23b)](_0x4dec1a,_0x1b0f77),logger['debug'](_0xebcbb5(0x28b)+_0xd6545e[_0xebcbb5(0x212)]+_0xebcbb5(0x24c)+_0x12b457);const _0x21812a={};return _0x21812a[_0x4dec1a]=_0x1b0f77,_0x21812a;}[a90_0xa22afe(0x275)](_0x34ae8b){const _0x48f92c=a90_0xa22afe,_0x3e3769={'phJJX':_0x48f92c(0x223),'sqRyf':_0x48f92c(0x254),'fYVTw':function(_0x2a2d1f,_0x1ff9b3){return _0x2a2d1f===_0x1ff9b3;},'KHvLk':_0x48f92c(0x2b9),'XjfaM':_0x48f92c(0x28d),'xPbeE':function(_0x290f63,_0x16e3b1,_0x2d37fb){return _0x290f63(_0x16e3b1,_0x2d37fb);},'LkCUq':function(_0x1e1791,_0x37aef3){return _0x1e1791>_0x37aef3;}},{testUUID:_0xb037eb,testData:_0x2b0ff2}=_0x34ae8b;if(!_0x2b0ff2||!_0x2b0ff2[_0x48f92c(0x2b7)])return logger[_0x48f92c(0x21b)](_0x3e3769[_0x48f92c(0x29e)]),{};const _0x47236b=this['resolveInstance'](TestFrameworkState['TEST'],HookState[_0x48f92c(0x24e)]),_0x5c06c1=_0x2b0ff2['uuid'],_0x4f854b=TestInfo[_0x48f92c(0x263)](_0x5c06c1)||{},_0x30855a=_0x4f854b?_0x4f854b[TestFrameworkConstants[_0x48f92c(0x26e)]]||{}:{},_0x1aaa42={..._0x4f854b,[TestFrameworkConstants[_0x48f92c(0x244)]]:_0x2b0ff2[_0x48f92c(0x1f5)]||_0x3e3769[_0x48f92c(0x284)],[TestFrameworkConstants[_0x48f92c(0x21f)]]:_0x2b0ff2['finishedAt']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x48f92c(0x267)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x30855a,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x48f92c(0x261)]]:_0x2b0ff2[_0x48f92c(0x29f)]||{}};_0x3e3769['fYVTw'](_0x2b0ff2['result'],_0x3e3769[_0x48f92c(0x258)])&&_0x2b0ff2['failure']&&(_0x1aaa42[TestFrameworkConstants[_0x48f92c(0x216)]]=_0x2b0ff2[_0x48f92c(0x1f6)]||_0x3e3769[_0x48f92c(0x20b)],_0x1aaa42[TestFrameworkConstants[_0x48f92c(0x278)]]=_0x2b0ff2[_0x48f92c(0x22a)]||'',_0x1aaa42[TestFrameworkConstants[_0x48f92c(0x233)]]=_0x2b0ff2[_0x48f92c(0x224)]);const _0x3c6cbe=TestInfo[_0x48f92c(0x263)](_0x5c06c1)[TestFrameworkConstants[_0x48f92c(0x26b)]]||{},_0x28fc6f=_0x3e3769[_0x48f92c(0x241)](getManualUploadLogs,_0x3c6cbe,_0x47236b['getAllData']()[_0x48f92c(0x1f2)](_0x5c06c1)[TestFrameworkConstants[_0x48f92c(0x245)]]);if(_0x3e3769[_0x48f92c(0x2bb)](_0x28fc6f[_0x48f92c(0x239)],0x0)){const _0x534013=_0x1aaa42[TestFrameworkConstants[_0x48f92c(0x2ad)]]||[];_0x1aaa42[TestFrameworkConstants[_0x48f92c(0x2ad)]]=[..._0x534013,..._0x28fc6f];}_0x2b0ff2[_0x48f92c(0x262)]&&_0x3e3769[_0x48f92c(0x2bb)](_0x2b0ff2[_0x48f92c(0x262)][_0x48f92c(0x239)],0x0)&&(_0x1aaa42[TestFrameworkConstants[_0x48f92c(0x27c)]]=_0x2b0ff2[_0x48f92c(0x262)]);TestInfo[_0x48f92c(0x23b)](_0x5c06c1,_0x1aaa42),logger['debug'](_0x48f92c(0x296)+_0x2b0ff2[_0x48f92c(0x212)]+'\x20with\x20result:\x20'+_0x2b0ff2[_0x48f92c(0x1f5)]);const _0x441c8e={};return _0x441c8e[_0x5c06c1]=_0x1aaa42,_0x441c8e;}async[a90_0xa22afe(0x236)](_0x522a1e,_0x25a236,_0x1f9c71,_0x11172e){const _0x3cfb3b=a90_0xa22afe,_0x5b6fa7={'adzMV':_0x3cfb3b(0x25c),'vdPDc':function(_0x850b86){return _0x850b86();},'USgyI':function(_0x2f4b9d,_0x36c81a){return _0x2f4b9d in _0x36c81a;},'RiiWi':function(_0x77a752,_0x519c93){return _0x77a752===_0x519c93;},'DFRJx':function(_0xdd56d4,_0x10ed1f){return _0xdd56d4===_0x10ed1f;},'IsMzo':function(_0x6d46e5,_0x1ae0b4){return _0x6d46e5>_0x1ae0b4;},'EtLLX':_0x3cfb3b(0x2b9),'saelI':_0x3cfb3b(0x28d),'hEzeN':'passed','sCQoX':function(_0x109795,_0x40cfff){return _0x109795!==_0x40cfff;}},{hookData:_0x397e01}=_0x11172e;if(!_0x397e01)return logger[_0x3cfb3b(0x21b)](_0x5b6fa7[_0x3cfb3b(0x1fc)]),{};const _0x38997e=_0x397e01['uuid']||_0x5b6fa7[_0x3cfb3b(0x2af)](uuidv4),_0x11556a=_0x397e01[_0x3cfb3b(0x269)],_0x2f1303=_0x25a236[_0x3cfb3b(0x29d)]()['split']('.')[0x1],_0x586629=TestInfo[_0x3cfb3b(0x263)](_0x11556a)[TestFrameworkConstants[_0x3cfb3b(0x26e)]]||{},_0x3d3dec=_0x522a1e['getAllData']()['get'](_0x11556a);if(!_0x3d3dec)return logger[_0x3cfb3b(0x21b)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x11556a+_0x3cfb3b(0x243)),this[_0x3cfb3b(0x211)](_0x522a1e,_0x11556a,_0x25a236,_0x1f9c71,_0x11172e),{};let _0x34c7c9=_0x3d3dec[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x34c7c9&&(_0x34c7c9={});!_0x5b6fa7[_0x3cfb3b(0x23a)](_0x2f1303,_0x34c7c9)&&(_0x34c7c9[_0x2f1303]=[]);let _0x478a1f=_0x3d3dec[TestFrameworkConstants[_0x3cfb3b(0x27c)]];!_0x478a1f&&(_0x478a1f={});!_0x5b6fa7['USgyI'](_0x2f1303,_0x478a1f)&&(_0x478a1f[_0x2f1303]=[]);const _0x80dd47={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x34c7c9,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x478a1f},_0x1eabd1={};_0x1eabd1[_0x11556a]=_0x80dd47;const _0x4093e5=_0x1eabd1;if(_0x5b6fa7[_0x3cfb3b(0x200)](_0x1f9c71,HookState[_0x3cfb3b(0x255)])){const _0x793fa1={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x38997e,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x3cfb3b(0x294)],[TestFrameworkConstants[_0x3cfb3b(0x220)]]:_0x397e01['started_at'],[TestFrameworkConstants[_0x3cfb3b(0x208)]]:[],[TestFrameworkConstants[_0x3cfb3b(0x1ff)]]:_0x397e01[_0x3cfb3b(0x24d)],[TestFrameworkConstants[_0x3cfb3b(0x26e)]]:_0x586629};_0x793fa1[_0x3cfb3b(0x2b1)]=_0x2f1303;const _0x33b327=_0x793fa1;_0x34c7c9[_0x2f1303][_0x3cfb3b(0x251)](_0x33b327),_0x4093e5[_0x11556a][TestFrameworkConstants[_0x3cfb3b(0x20f)]]=_0x2f1303,logger['debug'](_0x3cfb3b(0x266)+_0x2f1303+'\x20&\x20hook\x20=\x20'+_0x33b327+'\x20\x20and\x20args\x20=\x20'+_0x11172e);}else{if(_0x5b6fa7[_0x3cfb3b(0x25e)](_0x1f9c71,HookState[_0x3cfb3b(0x24e)])){const _0x10d895=_0x397e01['result'],_0x162de6=_0x34c7c9[_0x2f1303]||[];logger[_0x3cfb3b(0x21b)](_0x3cfb3b(0x28a)+_0x162de6+_0x3cfb3b(0x286)+_0x11172e);if(_0x5b6fa7[_0x3cfb3b(0x27d)](_0x162de6['length'],0x0)){const _0x414398=_0x162de6[_0x3cfb3b(0x2a9)]();_0x5b6fa7[_0x3cfb3b(0x200)](_0x397e01['result'],_0x5b6fa7['EtLLX'])&&_0x397e01[_0x3cfb3b(0x26c)]?(_0x414398[TestFrameworkConstants[_0x3cfb3b(0x20d)]]=_0x397e01['failure_type']||_0x5b6fa7[_0x3cfb3b(0x22d)],_0x414398[TestFrameworkConstants[_0x3cfb3b(0x204)]]=_0x397e01['failure_reason']||'',_0x414398[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x397e01[_0x3cfb3b(0x26c)]):_0x414398[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x5b6fa7[_0x3cfb3b(0x215)];_0x5b6fa7[_0x3cfb3b(0x2bc)](_0x10d895,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x414398[TestFrameworkConstants[_0x3cfb3b(0x25b)]]=_0x10d895);_0x414398[TestFrameworkConstants[_0x3cfb3b(0x231)]]=_0x397e01['finished_at']||new Date()[_0x3cfb3b(0x267)](),_0x414398[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x586629;const _0xd35f50=_0x414398[TestFrameworkConstants['KEY_HOOK_ID']];!_0x478a1f[_0x2f1303]&&(_0x478a1f[_0x2f1303]=[]),_0x478a1f[_0x2f1303][_0x3cfb3b(0x251)](_0x414398),_0x4093e5[_0x11556a][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2f1303;}}}return logger[_0x3cfb3b(0x21b)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x397e01[_0x3cfb3b(0x24d)]+_0x3cfb3b(0x299)+_0x38997e+_0x3cfb3b(0x24a)+_0x11556a),_0x4093e5;}['createTestFrameworkEventPayload'](_0x496ed2){const _0x18d6e1=a90_0xa22afe,_0x4aba95={};_0x4aba95[_0x18d6e1(0x2a1)]=_0x18d6e1(0x230);const _0x927267=_0x4aba95;try{const _0x548cb0=_0x496ed2['test']?_0x496ed2[_0x18d6e1(0x240)]['id']:_0x496ed2[_0x18d6e1(0x1fb)]['test_run_id'],_0x2ca581=_0x496ed2[_0x18d6e1(0x2ab)],_0x3c5d95=_0x2ca581['getContext'](),_0x2f4eeb=_0x2ca581[_0x18d6e1(0x259)]()[_0x18d6e1(0x1f2)](_0x548cb0);if(!_0x2f4eeb)return logger[_0x18d6e1(0x21b)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x548cb0),{};logger[_0x18d6e1(0x21b)](_0x18d6e1(0x1f4)+_0x548cb0);const {[TestFrameworkConstants[_0x18d6e1(0x206)]]:_0xa2faf8='',[TestFrameworkConstants[_0x18d6e1(0x22f)]]:_0x3a68cd='',[TestFrameworkConstants[_0x18d6e1(0x2b5)]]:_0xbe7275='',[TestFrameworkConstants[_0x18d6e1(0x21f)]]:_0x24d264=''}=_0x2f4eeb,_0xa98780=_0x2ca581[_0x18d6e1(0x209)]()[_0x18d6e1(0x29d)]()[_0x18d6e1(0x22e)]('.')[0x1],_0x2db3e1=_0x2ca581[_0x18d6e1(0x2a3)]()[_0x18d6e1(0x29d)]()['split']('.')[0x1],_0x50922b=global?.[_0x18d6e1(0x1fe)]??0x0,_0x5820d4=_0x2ca581[_0x18d6e1(0x21a)](),_0xa2e77c=Buffer[_0x18d6e1(0x23c)](JSON[_0x18d6e1(0x271)](_0x2f4eeb))[_0x18d6e1(0x29d)](_0x927267[_0x18d6e1(0x2a1)]),_0x151eca={'hash':_0x3c5d95[_0x18d6e1(0x20e)](),'threadId':_0x3c5d95['getThreadId']()[_0x18d6e1(0x29d)](),'processId':_0x3c5d95[_0x18d6e1(0x213)]()[_0x18d6e1(0x29d)]()},_0x5416cb={};_0x5416cb[_0x18d6e1(0x232)]=_0x50922b,_0x5416cb[_0x18d6e1(0x260)]=_0xa2faf8,_0x5416cb[_0x18d6e1(0x253)]=_0x3a68cd,_0x5416cb['testFrameworkState']=_0xa98780,_0x5416cb['hookState']=_0x2db3e1,_0x5416cb['startedAt']=_0xbe7275,_0x5416cb[_0x18d6e1(0x201)]=_0x24d264,_0x5416cb[_0x18d6e1(0x2b7)]=_0x5820d4,_0x5416cb[_0x18d6e1(0x2b4)]=_0xa2e77c,_0x5416cb[_0x18d6e1(0x1f9)]=_0x151eca;const _0x25a043=_0x5416cb;return logger[_0x18d6e1(0x21b)](_0x18d6e1(0x2a4)+_0x548cb0+_0x18d6e1(0x26a)+_0xa98780+'\x20hookState:\x20'+_0x2db3e1),_0x25a043;}catch(_0x527bb9){return logger[_0x18d6e1(0x291)](_0x18d6e1(0x2b2)+util[_0x18d6e1(0x283)](_0x527bb9)),{};}}async[a90_0xa22afe(0x273)](_0x57b07b,_0xd50297,_0x5f0948){const _0x17ddc8=a90_0xa22afe,_0x23b2e1={'cKsTP':function(_0x57675a,_0x22455f,_0x531115){return _0x57675a(_0x22455f,_0x531115);},'nGIDK':function(_0x434bd1,_0x461b7e){return _0x434bd1===_0x461b7e;},'GFvjh':_0x17ddc8(0x25a),'aMveV':function(_0x52a367,_0x571a97){return _0x52a367/_0x571a97;},'dFkPJ':function(_0x44a0d8,_0x1d879f){return _0x44a0d8<_0x1d879f;},'yxsWj':function(_0x37dc12,_0xfdccc7){return _0x37dc12*_0xfdccc7;},'HIWET':function(_0x5b74f7,_0x48bdba){return _0x5b74f7+_0x48bdba;},'KTQFp':function(_0x3cdebf,_0x21714f){return _0x3cdebf+_0x21714f;},'PLlsJ':function(_0x50b7b0,_0x58b9a6){return _0x50b7b0+_0x58b9a6;},'PjIrf':_0x17ddc8(0x27a)};try{const _0x27e72c=_0x5f0948['testUUID'],_0x4ddd84=_0x57b07b[_0x17ddc8(0x259)]()['get'](_0x27e72c),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3082ca='',[TestFrameworkConstants[_0x17ddc8(0x22f)]]:_0x514c9d=''}=_0x4ddd84,_0x1278e8=TestInfo[_0x17ddc8(0x289)](_0x27e72c),_0x39600c=TestInfo['getTestDetails'](_0x27e72c)[TestFrameworkConstants[_0x17ddc8(0x26b)]]||{},_0x312945=_0x23b2e1['cKsTP'](getMediaArtifactsLogs,_0x39600c,_0x57b07b['getAllData']()[_0x17ddc8(0x1f2)](_0x27e72c)[TestFrameworkConstants[_0x17ddc8(0x245)]]),_0x4d4aa0=(_0x1278e8||[])['concat'](_0x312945||[]);if(!_0x4d4aa0||_0x23b2e1['nGIDK'](_0x4d4aa0[_0x17ddc8(0x239)],0x0)){logger['debug'](_0x23b2e1[_0x17ddc8(0x237)]);return;}const _0x16029d=0x28,_0x130478=Math[_0x17ddc8(0x24b)](_0x23b2e1['aMveV'](_0x4d4aa0[_0x17ddc8(0x239)],_0x16029d));for(let _0x28d1f6=0x0;_0x23b2e1['dFkPJ'](_0x28d1f6,_0x130478);_0x28d1f6++){const _0xd8fb1a=_0x23b2e1[_0x17ddc8(0x257)](_0x28d1f6,_0x16029d),_0x2d480c=_0x23b2e1[_0x17ddc8(0x28e)](_0xd8fb1a,_0x16029d),_0x186602=_0x4d4aa0['slice'](_0xd8fb1a,_0x2d480c),_0x4e46db={'platformIndex':global?.[_0x17ddc8(0x1fe)]??0x0,'logs':_0x186602,'testFrameworkName':_0x3082ca,'testFrameworkVersion':_0x514c9d,'testFrameworkState':_0xd50297[_0x17ddc8(0x29d)]()[_0x17ddc8(0x22e)]('.')[0x1]};logger['debug'](_0x17ddc8(0x2a2)+_0x27e72c+'\x20batch\x20'+_0x23b2e1[_0x17ddc8(0x217)](_0x28d1f6,0x1)+'/'+_0x130478+_0x17ddc8(0x205)+util[_0x17ddc8(0x281)](_0x4e46db));const _0x1ace8a=await GrpcClient['getInstance']()['logCreatedEvent'](_0x4e46db);logger[_0x17ddc8(0x21b)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x27e72c+_0x17ddc8(0x270)+_0x23b2e1[_0x17ddc8(0x29b)](_0x28d1f6,0x1)+'/'+_0x130478+_0x17ddc8(0x235)+util[_0x17ddc8(0x281)](_0x1ace8a));}}catch(_0x14222e){logger['error'](_0x17ddc8(0x219)+util[_0x17ddc8(0x283)](_0x14222e));}logger['debug'](_0x23b2e1['PjIrf']);}[a90_0xa22afe(0x211)](_0x462365,_0x497f88,_0x30f59a,_0x49cc06,_0x559c4f){const _0x1714b3=a90_0xa22afe,_0x37c573={'testId':_0x497f88,'testFrameworkState':_0x30f59a,'hookState':_0x49cc06,'args':_0x559c4f,'timestamp':new Date()['toISOString']()};_0x462365[_0x1714b3(0x1fd)](_0x497f88,_0x37c573),logger[_0x1714b3(0x21b)](_0x1714b3(0x272)+_0x497f88+_0x1714b3(0x276)+_0x30f59a+_0x1714b3(0x268)+_0x49cc06);}async[a90_0xa22afe(0x202)](_0x57c5ff,_0x42ad17){const _0x2aa3ca=a90_0xa22afe,_0x23ba0f={};_0x23ba0f[_0x2aa3ca(0x282)]=function(_0x2c375b,_0x5259bf){return _0x2c375b>_0x5259bf;};const _0x341d38=_0x23ba0f;if(!_0x57c5ff[_0x2aa3ca(0x265)](_0x42ad17))return;const _0x3191cb=_0x57c5ff[_0x2aa3ca(0x2bd)](_0x42ad17);logger[_0x2aa3ca(0x21b)](_0x2aa3ca(0x290)+_0x3191cb[_0x2aa3ca(0x239)]+_0x2aa3ca(0x25d)+_0x42ad17);for(const _0xabf0e3 of _0x3191cb){try{const _0x6b2e30=await this[_0x2aa3ca(0x236)](_0x57c5ff,_0xabf0e3[_0x2aa3ca(0x264)],_0xabf0e3[_0x2aa3ca(0x2ac)],_0xabf0e3['args']);_0x6b2e30&&_0x341d38[_0x2aa3ca(0x282)](Object['keys'](_0x6b2e30)[_0x2aa3ca(0x239)],0x0)&&_0x57c5ff['addMultipleEntries'](_0x6b2e30),await this['runHooks'](_0x57c5ff,_0xabf0e3[_0x2aa3ca(0x264)],_0xabf0e3[_0x2aa3ca(0x2ac)],_0xabf0e3['args']);}catch(_0x233003){logger[_0x2aa3ca(0x291)](_0x2aa3ca(0x246)+_0x42ad17+_0x2aa3ca(0x22b)+_0x233003);}}_0x57c5ff[_0x2aa3ca(0x285)](_0x42ad17),logger[_0x2aa3ca(0x21b)](_0x2aa3ca(0x248)+_0x42ad17);}}function a90_0x5404(_0x4c1f99,_0x1fcf05){const _0x322388=a90_0x3223();return a90_0x5404=function(_0x5404a5,_0x54c38b){_0x5404a5=_0x5404a5-0x1f1;let _0xcee250=_0x322388[_0x5404a5];return _0xcee250;},a90_0x5404(_0x4c1f99,_0x1fcf05);}function a90_0x3223(){const _0x45114d=['split','KEY_TEST_FRAMEWORK_VERSION','base64','KEY_EVENT_ENDED_AT','platformIndex','KEY_TEST_FAILURE','../state/testFrameworkState.js','\x20response=','trackHookEvent','GFvjh','trackEvent','length','USgyI','setTestDetails','from','exports','2eUaNYZ','KTxMg','test','xPbeE','parseCucumberTest',',\x20storing\x20as\x20pending\x20hook','KEY_TEST_RESULT','KEY_TEST_UUID','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_SCOPE','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','NONE','\x20for\x20test:\x20','ceil','\x20with\x20UUID:\x20','hook_type','POST','KEY_TEST_RERUN_NAME','TEST','push','trackCucumberInstance:\x20saved\x20instance\x20contextId=','testFrameworkVersion','unknown','PRE','KEY_TEST_NAME','yxsWj','KHvLk','getAllData','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','KEY_HOOK_RESULT','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','\x20pending\x20hooks\x20for\x20testId:\x20','DFRJx','orhVD','testFrameworkName','KEY_TEST_META','hooks','getTestDetails','testFrameworkState','hasPendingHooks','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','toISOString',',\x20hookState:\x20','test_run_id','\x20testState:\x20','KEY_TEST_ATTACHMENTS','failure_data','../../../helpers/helper.js','KEY_CUSTOM_TAGS','KEY_AUTOMATE_SESSION_NAME','\x20batch\x20','stringify','Stored\x20pending\x20hook\x20for\x20testId:\x20','sendLogCreatedEvent','scopes','parseCucumberTestResult',',\x20state:\x20','855GvMsgZ','KEY_TEST_FAILURE_REASON','KEY_TEST_FILE_PATH','Cucumber\x20log\x20created\x20event','addMultipleEntries','KEY_HOOKS_FINISHED','IsMzo','file_name','5iTyrPa','util','inspect','KfbUi','format','sqRyf','removePendingHooks','\x20and\x20args\x20=\x20','CucumberTestFramework','1000071ILkDpy','readLogObjects','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','Parsed\x20cucumber\x20test:\x20','../cliUtils.js','UnhandledError','HIWET','../instances/testFrameworkInstance.js','Processing\x20','error','KEY_TEST_LOGS','testUUID','DEFAULT_HOOK_RESULT','4975548FbNAYv','Updated\x20cucumber\x20test\x20result:\x20','getTestFrameworksVersions','KEY_HOOKS_STARTED','\x20with\x20id\x20','resolveInstance','PLlsJ','customRerunParam','toString','phJJX','meta','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','urzsb','sendLogCreatedEvent:\x20for\x20testId:\x20','getCurrentHookState','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','11362153TGpYoj','getTestFrameworks','createContext','matchHookRegex','pop','./testFramework','instance','hookState','KEY_LOGS',',\x20state=','vdPDc','KEY_TEST_CODE','key','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_TAGS','eventJson','KEY_TEST_STARTED_AT','rerun_name','uuid','LvhLI','failed','../instances/trackedInstance.js','LkCUq','sCQoX','getPendingHooks','location','get','testData','createTestFrameworkEventPayload\x20testId:\x20','result','failure_type','body','../state/hookState.js','executionContext','71696aoGSGK','hookData','adzMV','addPendingHook','browserstackPlatformIndex','KEY_HOOK_NAME','RiiWi','endedAt','processPendingHooks','7559680LDXNhl','KEY_HOOK_FAILURE_REASON','\x20payload=','KEY_TEST_FRAMEWORK_NAME','1050281MeNIMY','KEY_HOOK_LOGS','getCurrentTestState','runHooks','XjfaM','code','KEY_HOOK_FAILURE_TYPE','getId','KEY_HOOK_LAST_STARTED','LOG_REPORT','storePendingHook','name','getProcessId','KEY_TEST_SCOPES','hEzeN','KEY_TEST_FAILURE_TYPE','KTQFp','startedAt','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','getRef','debug','7KFfOoq','getTestUUID','1501064lLNwTJ','KEY_TEST_ENDED_AT','KEY_EVENT_STARTED_AT','setTrackedInstance','../TestInfo.js','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','failure','trackEvent:\x20unsupported\x20testFrameworkState=','oZnQC','trackCucumberInstance','\x20target=','npdTb','failure_reason',',\x20error:\x20','\x20&\x20hookState=','saelI'];a90_0x3223=function(){return _0x45114d;};return a90_0x3223();}module[a90_0xa22afe(0x23d)]=CucumberTestFramework;