browserstack-node-sdk 1.56.3 → 1.57.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 (201) 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 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/caCertHelper.js +1 -1
  156. package/src/helpers/capsMapping.js +1 -1
  157. package/src/helpers/central-scanner/constants.js +1 -1
  158. package/src/helpers/central-scanner/helpers.js +1 -1
  159. package/src/helpers/classLogger.js +1 -1
  160. package/src/helpers/driverInitErrorReporter.js +1 -1
  161. package/src/helpers/globals.js +1 -1
  162. package/src/helpers/helper.js +1 -1
  163. package/src/helpers/logger.js +1 -1
  164. package/src/helpers/metadata.js +1 -1
  165. package/src/helpers/patchHelper.js +1 -1
  166. package/src/helpers/patchHelpers.js +1 -1
  167. package/src/helpers/percy/Percy.js +1 -1
  168. package/src/helpers/percy/PercyBinary.js +1 -1
  169. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  170. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  171. package/src/helpers/percy/PercySDK.js +1 -1
  172. package/src/helpers/percy/index.js +1 -1
  173. package/src/helpers/percy/utils.js +1 -1
  174. package/src/helpers/performance/constants.js +1 -1
  175. package/src/helpers/performance/performance-tester.js +1 -1
  176. package/src/helpers/playwright-helper.js +1 -1
  177. package/src/helpers/processHelper.js +1 -1
  178. package/src/helpers/puppeteer-helper.js +1 -1
  179. package/src/helpers/request-spy.js +1 -1
  180. package/src/helpers/setKeepAlive.js +1 -1
  181. package/src/helpers/stackFrameUtils.js +1 -1
  182. package/src/helpers/test-observability/constants.js +1 -1
  183. package/src/helpers/test-observability/error-handler.js +1 -1
  184. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  185. package/src/helpers/test-observability/sessionHandler.js +1 -1
  186. package/src/helpers/test-observability/utils.js +1 -1
  187. package/src/helpers/test-orchestration/constants.js +1 -1
  188. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  189. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  190. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  191. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  192. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  193. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  194. package/src/helpers/testhub/constants.js +1 -1
  195. package/src/helpers/testhub/testhubHandler.js +1 -1
  196. package/src/helpers/testhub/utils.js +1 -1
  197. package/src/helpers/timeoutPromise.js +1 -1
  198. package/src/helpers/utilities.js +1 -1
  199. package/src/helpers/w3cMapping.js +1 -1
  200. package/src/hubAllocationMethods.js +1 -1
  201. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a72_0x110a2c=a72_0x443b;(function(_0x1046ed,_0x1e6ec0){const _0x4249f8=a72_0x443b,_0x2d89f4=_0x1046ed();while(!![]){try{const _0x69f074=-parseInt(_0x4249f8(0xee))/0x1+-parseInt(_0x4249f8(0x6b))/0x2*(parseInt(_0x4249f8(0xed))/0x3)+-parseInt(_0x4249f8(0x71))/0x4+parseInt(_0x4249f8(0x8c))/0x5*(parseInt(_0x4249f8(0x13b))/0x6)+parseInt(_0x4249f8(0x104))/0x7+parseInt(_0x4249f8(0xfd))/0x8*(-parseInt(_0x4249f8(0xcc))/0x9)+parseInt(_0x4249f8(0x111))/0xa;if(_0x69f074===_0x1e6ec0)break;else _0x2d89f4['push'](_0x2d89f4['shift']());}catch(_0x5b1375){_0x2d89f4['push'](_0x2d89f4['shift']());}}}(a72_0x2db9,0x9658b));function a72_0x443b(_0x2f9471,_0xf58783){const _0x2db927=a72_0x2db9();return a72_0x443b=function(_0x443bd5,_0x13e930){_0x443bd5=_0x443bd5-0x67;let _0x3d6a29=_0x2db927[_0x443bd5];return _0x3d6a29;},a72_0x443b(_0x2f9471,_0xf58783);}const fs=require('fs'),os=require('os'),url=require(a72_0x110a2c(0x75)),path=require(a72_0x110a2c(0x82)),{exec}=require('child_process'),{https}=require(a72_0x110a2c(0x141)),yauzl=require(a72_0x110a2c(0x10f)),util=require('util'),{getFrameworkVersion}=require(a72_0x110a2c(0x73)),{threadId}=require('worker_threads'),PerformanceTester=require(a72_0x110a2c(0xf2)),{EVENTS:PerformanceEvents}=require(a72_0x110a2c(0x7a)),{isNullOrEmpty,isModifiable,setReadWriteExecuteAccess}=require('../../helpers/utilities'),{isTrue,createDir,getHostInfo,nodeRequest,nestedKeyValue}=require(a72_0x110a2c(0xbe)),{UPDATED_CLI_ENDPOINT,BINARY_BUSY_ERROR_CODES}=require(a72_0x110a2c(0x78)),{createClassLogger}=require(a72_0x110a2c(0x98)),TestFrameworkInstance=require('./instances/testFrameworkInstance.js'),HookState=require('./state/hookState.js'),TestFrameworkState=require(a72_0x110a2c(0xff)),AutomationFrameworkState=require(a72_0x110a2c(0x132)),TestFrameworkConstants=require(a72_0x110a2c(0xea)),logger=createClassLogger(a72_0x110a2c(0xa1)),{getBStackAPIUrl}=require('../utils/apiUtilityMethods.js');class CLIUtils{[a72_0x110a2c(0x9c)]={};[a72_0x110a2c(0x6e)]={};static['isDevelopmentEnv'](){const _0x42bbf2=a72_0x110a2c,_0xabaf16={};_0xabaf16['qIwAS']=function(_0x336ffe,_0x54d9ec){return _0x336ffe===_0x54d9ec;},_0xabaf16[_0x42bbf2(0x136)]='development';const _0x31de66=_0xabaf16;return _0x31de66[_0x42bbf2(0xa6)](process[_0x42bbf2(0x124)][_0x42bbf2(0xa5)],_0x31de66[_0x42bbf2(0x136)]);}static[a72_0x110a2c(0xac)](){const _0x473fc3=a72_0x110a2c,_0x4ce357={};return _0x4ce357['id']=process[_0x473fc3(0x124)][_0x473fc3(0xa5)],_0x4ce357['listen']=_0x473fc3(0x12b)+process[_0x473fc3(0x124)]['BROWSERSTACK_CLI_ENV']+'.sock',_0x4ce357;}static[a72_0x110a2c(0xa2)](){const _0x1f0341=a72_0x110a2c,_0x28f0e1={'HARgO':function(_0x19b63d,_0x22847f){return _0x19b63d(_0x22847f);},'lQMpu':_0x1f0341(0xc1)};return _0x28f0e1['HARgO'](require,_0x28f0e1['lQMpu'])[_0x1f0341(0x7c)];}static[a72_0x110a2c(0x69)](){const _0x10ffd7=a72_0x110a2c,_0x2a4b72={};_0x2a4b72['iwmBs']=_0x10ffd7(0xdd);const _0x46d175=_0x2a4b72;return _0x46d175['iwmBs'];}static async[a72_0x110a2c(0x85)](_0x4fa5a8){const _0x51df81=a72_0x110a2c,_0x1bdc5d={'OryLx':_0x51df81(0xd9),'vgixr':function(_0x5f5726,_0x1aebcc){return _0x5f5726(_0x1aebcc);},'vzorD':'No\x20writable\x20directory\x20available\x20for\x20the\x20CLI'};logger[_0x51df81(0xf7)](_0x1bdc5d['OryLx']);const _0x33d88d=process['env'][_0x51df81(0xd8)];if(!_0x1bdc5d[_0x51df81(0x92)](isNullOrEmpty,_0x33d88d))return logger['debug'](_0x51df81(0x103)+_0x33d88d),_0x33d88d;try{const _0x5e319e=this[_0x51df81(0xab)]();if(_0x1bdc5d[_0x51df81(0x92)](isNullOrEmpty,_0x5e319e))throw new Error(_0x1bdc5d[_0x51df81(0x13c)]);const _0x259af1=this[_0x51df81(0xbc)](_0x5e319e),_0x5c32be=await this[_0x51df81(0x89)](_0x259af1,_0x5e319e,_0x4fa5a8);return logger[_0x51df81(0xf7)](_0x51df81(0x8e)+_0x5c32be),_0x5c32be;}catch(_0x1dd2cd){logger[_0x51df81(0xf7)](_0x51df81(0xf4)+util['format'](_0x1dd2cd));}return null;}static async[a72_0x110a2c(0x89)](_0x1f3c83,_0x46428c,_0x1124bd){const _0x2787bd=a72_0x110a2c,_0x2b885e={'qnyyt':function(_0x298d86){return _0x298d86();},'eJJTv':function(_0x428008,_0x313832){return _0x428008(_0x313832);},'dUpVL':function(_0xb854bc,_0x20d66f,_0x522902){return _0xb854bc(_0x20d66f,_0x522902);},'OxzAR':'data','tXZuF':_0x2787bd(0x75)};PerformanceTester[_0x2787bd(0x13d)](PerformanceEvents[_0x2787bd(0xf5)]),logger[_0x2787bd(0x7e)](_0x2787bd(0x7b)+_0x1f3c83);const _0x15228c=_0x2b885e['qnyyt'](getHostInfo),_0x48ca21={'sdk_version':CLIUtils[_0x2787bd(0xa2)](),'os':_0x15228c[_0x2787bd(0x84)],'os_arch':_0x15228c[_0x2787bd(0x142)],'cli_version':'0','sdk_language':this['getSdkLanguage']()};!_0x2b885e[_0x2787bd(0x6c)](isNullOrEmpty,_0x1f3c83)&&(_0x48ca21[_0x2787bd(0xb8)]=await this[_0x2787bd(0xf9)](_0x1f3c83+_0x2787bd(0x99)));const _0x304bdb=await this['requestToUpdateCLI'](_0x48ca21,_0x1124bd);process[_0x2787bd(0x124)]['BROWSERSTACK_BINARY_URL']&&(logger[_0x2787bd(0x7e)](_0x2787bd(0xc5)+process[_0x2787bd(0x124)]['BROWSERSTACK_BINARY_URL']),_0x304bdb[_0x2787bd(0x81)][_0x2787bd(0x75)]=process[_0x2787bd(0x124)][_0x2787bd(0xe2)]);if(_0x2b885e[_0x2787bd(0xc6)](nestedKeyValue,_0x304bdb,[_0x2b885e[_0x2787bd(0x97)],_0x2b885e[_0x2787bd(0xcb)]])){logger[_0x2787bd(0xf7)](_0x2787bd(0xc0)+_0x48ca21[_0x2787bd(0xb8)]);if(!_0x2b885e[_0x2787bd(0x6c)](isNullOrEmpty,_0x1f3c83)&&this[_0x2787bd(0xd2)](_0x1f3c83))return logger[_0x2787bd(0xf0)]('Existing\x20binary\x20is\x20currently\x20in\x20use,\x20skipping\x20update\x20and\x20continuing\x20with\x20current\x20version:\x20'+_0x1f3c83),PerformanceTester[_0x2787bd(0xeb)](PerformanceEvents[_0x2787bd(0xf5)]),_0x1f3c83;const _0x57ef28=await this[_0x2787bd(0x70)](_0x2b885e[_0x2787bd(0xc6)](nestedKeyValue,_0x304bdb,[_0x2b885e[_0x2787bd(0x97)],_0x2b885e[_0x2787bd(0xcb)]]),_0x46428c);return PerformanceTester[_0x2787bd(0xeb)](PerformanceEvents['SDK_CLI_CHECK_UPDATE']),_0x57ef28;}return PerformanceTester[_0x2787bd(0xeb)](PerformanceEvents[_0x2787bd(0xf5)]),_0x1f3c83;}static[a72_0x110a2c(0xab)](){const _0x309880=a72_0x110a2c,_0x4fe449={'pfctZ':function(_0x49614e,_0x357d2c){return _0x49614e(_0x357d2c);},'yHpvJ':_0x309880(0x76),'vIGLR':_0x309880(0xb9)},_0x5f1d23=this[_0x309880(0x67)]();try{if(_0x4fe449[_0x309880(0xbf)](isNullOrEmpty,_0x5f1d23))throw new Error(_0x4fe449['yHpvJ']);const _0x1b608e=path[_0x309880(0x8f)](_0x5f1d23,_0x4fe449['vIGLR']);return!fs[_0x309880(0x10d)](_0x1b608e)&&_0x4fe449[_0x309880(0xbf)](createDir,_0x1b608e),_0x1b608e;}catch(_0x65d420){logger[_0x309880(0xf7)](_0x309880(0x123)+util['format'](_0x65d420));}}static[a72_0x110a2c(0x67)](){const _0x2e8fb8=a72_0x110a2c,_0x2258de={'TLqUV':_0x2e8fb8(0x8d),'uyLjw':function(_0x3b75ef,_0x957279){return _0x3b75ef(_0x957279);},'YoEjh':function(_0x2304e3,_0x398dc9){return _0x2304e3(_0x398dc9);},'oPITM':function(_0x9b8c05,_0x5ea32b){return _0x9b8c05(_0x5ea32b);},'urQGB':function(_0x25962b,_0x2153b2){return _0x25962b(_0x2153b2);},'BdeJL':function(_0x50ff36,_0x4c20ea){return _0x50ff36(_0x4c20ea);}},_0x55d38f=[process[_0x2e8fb8(0x124)][_0x2e8fb8(0x90)],path[_0x2e8fb8(0x8f)](os[_0x2e8fb8(0xb3)](),_0x2258de[_0x2e8fb8(0x110)]),path[_0x2e8fb8(0x8f)](os['tmpdir'](),_0x2258de[_0x2e8fb8(0x110)])];for(const _0xae12a4 of _0x55d38f){if(_0x2258de[_0x2e8fb8(0x135)](isNullOrEmpty,_0xae12a4))continue;try{if(fs['existsSync'](_0xae12a4)){logger[_0x2e8fb8(0xf7)](_0x2e8fb8(0x12d)+_0xae12a4+_0x2e8fb8(0x125));if(!_0x2258de[_0x2e8fb8(0x10c)](isModifiable,_0xae12a4)){logger['debug'](_0x2e8fb8(0x72)+_0xae12a4);const _0x2b1820=_0x2258de[_0x2e8fb8(0x88)](setReadWriteExecuteAccess,_0xae12a4);if(!_0x2258de['urQGB'](isTrue,_0x2b1820)){logger[_0x2e8fb8(0xf0)](_0x2e8fb8(0xc3)+_0xae12a4);continue;}}}else{logger[_0x2e8fb8(0xf7)](_0x2e8fb8(0xe5)+_0xae12a4),_0x2258de[_0x2e8fb8(0x12c)](createDir,_0xae12a4),logger[_0x2e8fb8(0xf7)](_0x2e8fb8(0x72)+_0xae12a4);const _0x1daede=_0x2258de[_0x2e8fb8(0x135)](setReadWriteExecuteAccess,_0xae12a4);!_0x2258de[_0x2e8fb8(0x135)](isTrue,_0x1daede)&&logger[_0x2e8fb8(0xf0)](_0x2e8fb8(0xc3)+_0xae12a4);}return _0xae12a4;}catch(_0x5108f5){logger[_0x2e8fb8(0xde)](_0x2e8fb8(0x86)+util[_0x2e8fb8(0xcf)](_0x5108f5));}}return null;}static[a72_0x110a2c(0xbc)](_0x584dee){const _0x74d210=a72_0x110a2c,_0x5ba4a9={};_0x5ba4a9[_0x74d210(0xd6)]=function(_0x32698e,_0x1dcfba){return _0x32698e>_0x1dcfba;},_0x5ba4a9[_0x74d210(0x11f)]=function(_0x185175,_0x51c6b6){return _0x185175>_0x51c6b6;};const _0x5805d1=_0x5ba4a9;try{if(!fs[_0x74d210(0x10d)](_0x584dee)||!fs[_0x74d210(0x12a)](_0x584dee)[_0x74d210(0x112)]())return'';const _0x322957=fs[_0x74d210(0x13e)](_0x584dee)[_0x74d210(0xec)](_0x11df2b=>path['join'](_0x584dee,_0x11df2b))['filter'](_0x36c96c=>fs[_0x74d210(0x12a)](_0x36c96c)[_0x74d210(0xad)]()&&path[_0x74d210(0xa4)](_0x36c96c)[_0x74d210(0xaf)](_0x74d210(0x11d)));if(_0x5805d1[_0x74d210(0x11f)](_0x322957[_0x74d210(0x131)],0x0)){const _0x2137a3=_0x322957['map'](_0x5d1390=>({'filePath':_0x5d1390,'mtime':fs['statSync'](_0x5d1390)[_0x74d210(0xfa)]}))[_0x74d210(0x9e)]((_0x4541b8,_0x3d63d1)=>{const _0x116ae7=_0x74d210;if(!_0x4541b8||!_0x4541b8['mtime'])return _0x3d63d1;if(_0x5805d1[_0x116ae7(0xd6)](_0x3d63d1['mtime'],_0x4541b8[_0x116ae7(0xfa)]))return _0x3d63d1;return _0x4541b8;},{});return _0x2137a3?_0x2137a3[_0x74d210(0xc4)]:'';}return'';}catch(_0x3cb00a){return logger[_0x74d210(0xde)](_0x74d210(0x6d)+util[_0x74d210(0xcf)](_0x3cb00a)),'';}}static [a72_0x110a2c(0x10e)]=async(_0x3b162e,_0x10f9fe)=>{const _0x5112cb=a72_0x110a2c,_0x17e02f={'hYoUD':function(_0x2530e4,_0x19394a,_0xea19d6,_0x1c550e,_0x4681a9){return _0x2530e4(_0x19394a,_0xea19d6,_0x1c550e,_0x4681a9);},'wdYbf':_0x5112cb(0xd7)},_0x28551b={};_0x28551b['qs']=_0x3b162e;const _0x2ad99e=await _0x17e02f['hYoUD'](nodeRequest,_0x17e02f['wdYbf'],UPDATED_CLI_ENDPOINT,_0x28551b,_0x10f9fe);return logger['debug'](_0x5112cb(0x12e)+JSON[_0x5112cb(0xd3)](_0x2ad99e)),_0x2ad99e;};static['isBinaryBusy'](_0x57e190){const _0x3ea462=a72_0x110a2c;try{const _0x2a7165=fs[_0x3ea462(0x121)](_0x57e190,'r+');return fs['closeSync'](_0x2a7165),![];}catch(_0x2c915a){if(BINARY_BUSY_ERROR_CODES[_0x3ea462(0x127)](_0x2c915a['code']))return logger[_0x3ea462(0xf7)](_0x3ea462(0x134)+_0x57e190),!![];return logger['debug'](_0x3ea462(0xda)+_0x2c915a[_0x3ea462(0xb5)]),![];}}static[a72_0x110a2c(0xf9)](_0x3dd4d4,_0x25c2db=''){const _0x21fc1d=a72_0x110a2c,_0x20e079={'QntMz':_0x21fc1d(0x7c),'mpazI':function(_0x1f6f21,_0x4ca2e7){return _0x1f6f21(_0x4ca2e7);},'fcboC':function(_0x491fe7,_0x5e4fa9){return _0x491fe7(_0x5e4fa9);},'DmcQE':'SHELL_EXECUTE_ERROR','qjRfh':function(_0x21d177,_0x3b2ecc){return _0x21d177(_0x3b2ecc);},'QsnZz':function(_0x2dc537,_0x5bddf1){return _0x2dc537(_0x5bddf1);},'uycFm':function(_0x3553e3,_0x3cd238,_0x33ea9f,_0x24ff28){return _0x3553e3(_0x3cd238,_0x33ea9f,_0x24ff28);},'RNNzJ':'error'};return new Promise((_0x2131b3,_0x2492ce)=>{const _0x36be5d=_0x21fc1d,_0x3a9945={};_0x3a9945[_0x36be5d(0xb7)]=_0x25c2db,_0x3a9945[_0x36be5d(0x12f)]=0x1388;const _0x36f9be=_0x20e079[_0x36be5d(0x143)](exec,_0x3dd4d4,_0x3a9945,(_0x2369f4,_0x55e173,_0x220c67)=>{const _0xa7029e=_0x36be5d;if(_0x2369f4){if(_0x3dd4d4[_0xa7029e(0x127)](_0x20e079[_0xa7029e(0x130)])&&(_0x55e173['trim']()||_0x220c67[_0xa7029e(0xaa)]())){const _0x434726=_0x55e173['trim']()||_0x220c67[_0xa7029e(0xaa)]();logger[_0xa7029e(0xf7)](_0xa7029e(0xb6)+_0x434726+'\x22'),_0x20e079[_0xa7029e(0x120)](_0x2131b3,_0x434726);}else _0x20e079[_0xa7029e(0x113)](_0x2131b3,_0x220c67[_0xa7029e(0xaa)]()||_0x20e079['DmcQE']);}else logger[_0xa7029e(0xf7)](_0xa7029e(0x13a)+_0x55e173[_0xa7029e(0xaa)]()+'\x22'),_0x20e079['qjRfh'](_0x2131b3,_0x55e173[_0xa7029e(0xaa)]());});_0x36f9be['on'](_0x20e079[_0x36be5d(0xe9)],()=>{const _0x2b459a=_0x36be5d;_0x20e079['QsnZz'](_0x2131b3,_0x20e079[_0x2b459a(0x7f)]);});});}static [a72_0x110a2c(0x70)]=async(_0x246ccf,_0x2c3e04)=>{const _0x494c1b=a72_0x110a2c,_0x2b1638={'lhaFk':_0x494c1b(0xf6),'DpGVs':function(_0x6c2752,_0x35d77f){return _0x6c2752(_0x35d77f);},'qZiru':_0x494c1b(0xa3),'MucKW':function(_0x2f29be,_0x5385a6){return _0x2f29be(_0x5385a6);},'bPraP':_0x494c1b(0xde),'RzHvr':function(_0x1cdceb,_0x320e86){return _0x1cdceb(_0x320e86);}};PerformanceTester[_0x494c1b(0x13d)](PerformanceEvents[_0x494c1b(0x10a)]),logger['debug'](_0x494c1b(0x101)+_0x246ccf);try{const _0x28cf23=url[_0x494c1b(0xb4)](_0x246ccf),_0x50d41c=path[_0x494c1b(0x8f)](_0x2c3e04,_0x494c1b(0xe8)+process['pid']+_0x494c1b(0x107)),_0x5bd3eb=fs['createWriteStream'](_0x50d41c);return new Promise((_0x1ce455,_0x207c10)=>{const _0x34ef58=_0x494c1b,_0x1df89e={'VdkzD':function(_0x534f7b,_0x3fd217){return _0x2b1638['RzHvr'](_0x534f7b,_0x3fd217);},'hRvOG':function(_0x3e3722,_0x162173){return _0x2b1638['MucKW'](_0x3e3722,_0x162173);}};https[_0x34ef58(0x100)](_0x28cf23,function(_0x1172aa){const _0x6c168=_0x34ef58,_0x3b699b={'WeZiG':_0x2b1638[_0x6c168(0xa7)],'KWFbS':function(_0x40e339,_0x59d8aa){const _0x2d9d4d=_0x6c168;return _0x2b1638[_0x2d9d4d(0xdb)](_0x40e339,_0x59d8aa);},'RcHyA':_0x2b1638[_0x6c168(0x114)],'IMQHa':function(_0x4194e0,_0x48ce80){const _0x52b59d=_0x6c168;return _0x2b1638[_0x52b59d(0x128)](_0x4194e0,_0x48ce80);}},_0x4e12e1=null;_0x1172aa['pipe'](_0x5bd3eb),_0x1172aa['on'](_0x2b1638[_0x6c168(0x140)],function(_0x218a1c){const _0x13ec04=_0x6c168;logger[_0x13ec04(0xde)](util[_0x13ec04(0xcf)](_0x3b699b['WeZiG'],_0x218a1c)),PerformanceTester[_0x13ec04(0xeb)](PerformanceEvents[_0x13ec04(0x10a)],![],util['format'](_0x218a1c)),_0x3b699b[_0x13ec04(0xd0)](_0x207c10,_0x218a1c);}),_0x5bd3eb['on'](_0x2b1638[_0x6c168(0x140)],function(_0x1eac3a){const _0x1f19b2=_0x6c168;logger[_0x1f19b2(0xde)](util[_0x1f19b2(0xcf)](_0x3b699b['RcHyA'],_0x1eac3a)),PerformanceTester[_0x1f19b2(0xeb)](PerformanceEvents[_0x1f19b2(0x10a)],![],util[_0x1f19b2(0xcf)](_0x1eac3a)),_0x3b699b['IMQHa'](_0x207c10,_0x1eac3a);}),CLIUtils['downloadFileStream'](_0x5bd3eb,_0x4e12e1,_0x50d41c,_0x2c3e04,_0x52f02c=>{const _0x238419=_0x6c168;PerformanceTester['end'](PerformanceEvents[_0x238419(0x10a)]),_0x1df89e[_0x238419(0x94)](_0x1ce455,_0x52f02c);},_0x2342d0=>{const _0x2f1c9e=_0x6c168;PerformanceTester[_0x2f1c9e(0xeb)](PerformanceEvents[_0x2f1c9e(0x10a)],![],util['format'](_0x2342d0)),_0x1df89e[_0x2f1c9e(0x91)](_0x207c10,_0x2342d0);});})['on'](_0x2b1638['bPraP'],function(_0x44b035){const _0x2f6dee=_0x34ef58;logger['error'](_0x2f6dee(0x11a)+util[_0x2f6dee(0xcf)](_0x44b035)),PerformanceTester[_0x2f6dee(0xeb)](PerformanceEvents[_0x2f6dee(0x10a)],![],util[_0x2f6dee(0xcf)](_0x44b035)),_0x2b1638[_0x2f6dee(0xf1)](_0x207c10,_0x44b035);});});}catch(_0x4c5aec){PerformanceTester[_0x494c1b(0xeb)](PerformanceEvents['SDK_CLI_DOWNLOAD'],![],util[_0x494c1b(0xcf)](_0x4c5aec)),logger[_0x494c1b(0xf7)]('Failed\x20to\x20download\x20SDK\x20binary,\x20Exception:\x20'+util[_0x494c1b(0xcf)](_0x4c5aec));}};static[a72_0x110a2c(0xc7)](_0x496a33,_0x212be0,_0x3c5d1e,_0xa4f879,_0x4fe41e,_0x11b17f){const _0x3c6fab=a72_0x110a2c,_0x448219={'svdqF':function(_0x32b751,_0x3770f7){return _0x32b751(_0x3770f7);},'fAGwP':_0x3c6fab(0x74),'cVvbn':function(_0xc42b77,_0x3391c2){return _0xc42b77(_0x3391c2);},'iRyKX':'end','ibqxE':function(_0x115a73,_0x2816d8){return _0x115a73!==_0x2816d8;},'UTTyd':function(_0x2ecae9,_0x54ee48){return _0x2ecae9(_0x54ee48);},'BghzX':_0x3c6fab(0xde),'zYVxv':_0x3c6fab(0x79),'redOm':function(_0x40f817,_0x40f53b){return _0x40f817(_0x40f53b);},'BStEn':function(_0x46bba4,_0x397c96){return _0x46bba4(_0x397c96);},'bQwUm':'entry','FfWVT':_0x3c6fab(0x129)};_0x496a33['on'](_0x448219[_0x3c6fab(0xf3)],function(){const _0x2022aa=_0x3c6fab,_0x2d3e93={};_0x2d3e93[_0x2022aa(0xa0)]=_0x448219[_0x2022aa(0xb1)];const _0x560d5e=_0x2d3e93,_0x2b020a={};_0x2b020a[_0x2022aa(0xae)]=!![],yauzl['open'](_0x3c5d1e,_0x2b020a,function(_0xb17fa6,_0x32c403){const _0x4bc3dd=_0x2022aa,_0x1ab8f3={'Ssqag':function(_0x3bab9c,_0x29d74b){const _0x1916c5=a72_0x443b;return _0x448219[_0x1916c5(0x105)](_0x3bab9c,_0x29d74b);},'WSNBS':_0x448219[_0x4bc3dd(0xf3)],'lqCxX':function(_0x56f05e,_0x32e87e){const _0x21cf8b=_0x4bc3dd;return _0x448219[_0x21cf8b(0x10b)](_0x56f05e,_0x32e87e);},'KiwUf':_0x448219[_0x4bc3dd(0x8a)],'Hdxln':function(_0x32caf7,_0xf6ed90){const _0x344faf=_0x4bc3dd;return _0x448219[_0x344faf(0x115)](_0x32caf7,_0xf6ed90);},'DGcMc':function(_0x35dc30,_0x53bf9e){const _0xa43cf7=_0x4bc3dd;return _0x448219[_0xa43cf7(0xe7)](_0x35dc30,_0x53bf9e);},'OTYiM':function(_0x4505be,_0xbcba6c){const _0x193ce2=_0x4bc3dd;return _0x448219[_0x193ce2(0xe7)](_0x4505be,_0xbcba6c);},'aBQNk':_0x448219[_0x4bc3dd(0xe0)],'IWATA':_0x448219[_0x4bc3dd(0xbb)],'hDJOt':function(_0x1560f0,_0x3283c3){const _0x426132=_0x4bc3dd;return _0x448219[_0x426132(0x96)](_0x1560f0,_0x3283c3);}};if(_0xb17fa6){_0x448219[_0x4bc3dd(0xdf)](_0x11b17f,_0xb17fa6);return;}_0x32c403[_0x4bc3dd(0x117)](),_0x32c403['on'](_0x448219['bQwUm'],_0x3c50b2=>{const _0x3d941d=_0x4bc3dd,_0x29da89={'ornoU':_0x1ab8f3[_0x3d941d(0xc9)],'JrXNz':function(_0x224b62,_0x4b0bfb){const _0x200635=_0x3d941d;return _0x1ab8f3[_0x200635(0x6a)](_0x224b62,_0x4b0bfb);},'nLidg':_0x1ab8f3[_0x3d941d(0xb2)]};if(/\/$/[_0x3d941d(0x9f)](_0x3c50b2['fileName'])){_0x32c403[_0x3d941d(0x117)]();return;}!_0x212be0&&(_0x212be0=_0x3c50b2['fileName']);if(_0x1ab8f3[_0x3d941d(0x7d)](_0x3c50b2[_0x3d941d(0x11c)],_0x212be0))_0x32c403[_0x3d941d(0x117)]();else{const _0xf6787f=_0x3c50b2[_0x3d941d(0x11c)],_0x50d69b=path[_0x3d941d(0x8f)](_0xa4f879,_0xf6787f+_0x3d941d(0xfe)+process[_0x3d941d(0x68)]);let _0x57d73c;try{_0x57d73c=fs['createWriteStream'](_0x50d69b);}catch(_0x1a6199){if(BINARY_BUSY_ERROR_CODES[_0x3d941d(0x127)](_0x1a6199[_0x3d941d(0xd1)])){const _0xad2d6a=path['join'](_0xa4f879,_0xf6787f);if(fs[_0x3d941d(0x10d)](_0xad2d6a)){logger['warn'](_0x3d941d(0x9a)+_0xf6787f),fs[_0x3d941d(0x9b)](_0x3c5d1e,_0x1cb087=>{const _0x1e730b=_0x3d941d;_0x1cb087&&logger['warn'](_0x1e730b(0xfc)+_0x3c5d1e);}),_0x1ab8f3[_0x3d941d(0x108)](_0x4fe41e,_0xad2d6a);return;}logger[_0x3d941d(0xf0)](_0x3d941d(0xce)+_0xf6787f);}_0x1ab8f3['OTYiM'](_0x11b17f,_0x1a6199);return;}_0x57d73c['on'](_0x1ab8f3[_0x3d941d(0xc8)],_0xf6a6c0=>{const _0xc52106=_0x3d941d;if(BINARY_BUSY_ERROR_CODES[_0xc52106(0x127)](_0xf6a6c0['code'])){const _0x26b20e=path[_0xc52106(0x8f)](_0xa4f879,_0xf6787f);_0x57d73c[_0xc52106(0x74)](),fs['existsSync'](_0x26b20e)?(logger[_0xc52106(0xf0)](_0xc52106(0xdc)+_0xf6a6c0[_0xc52106(0xb5)]),_0x32c403[_0xc52106(0x74)](),fs[_0xc52106(0x9b)](_0x3c5d1e,_0x489d9c=>{const _0x44cf81=_0xc52106;_0x489d9c&&logger['warn'](_0x44cf81(0xfc)+_0x3c5d1e);}),_0x1ab8f3['Ssqag'](_0x4fe41e,_0x26b20e)):(logger[_0xc52106(0xf0)](_0xc52106(0xa9)+_0xf6a6c0['message']),fs[_0xc52106(0x9b)](_0x50d69b,()=>{}),_0x1ab8f3['Ssqag'](_0x11b17f,_0xf6a6c0));}else fs[_0xc52106(0x9b)](_0x50d69b,()=>{}),_0x1ab8f3[_0xc52106(0xc2)](_0x11b17f,_0xf6a6c0);}),_0x32c403[_0x3d941d(0xe3)](_0x3c50b2,function(_0x447f75,_0xd833e9){const _0x1b47d9=_0x3d941d;if(_0x447f75){fs['unlink'](_0x50d69b,()=>{}),_0x29da89['JrXNz'](_0x11b17f,_0x447f75);return;}_0xd833e9['on'](_0x29da89[_0x1b47d9(0x13f)],function(){const _0x3d8183=_0x1b47d9;_0x57d73c[_0x3d8183(0xeb)](),_0x57d73c['on'](_0x29da89[_0x3d8183(0x6f)],function(){_0x32c403['readEntry']();});}),_0xd833e9[_0x1b47d9(0xe4)](_0x57d73c);});}}),_0x32c403['on'](_0x448219[_0x4bc3dd(0xe0)],_0x4aa280=>{const _0x2e5f4e=_0x4bc3dd;_0x1ab8f3[_0x2e5f4e(0x93)](_0x11b17f,_0x4aa280);}),_0x32c403[_0x4bc3dd(0xba)](_0x448219[_0x4bc3dd(0x8a)],()=>{const _0x181958=_0x4bc3dd;fs[_0x181958(0x9b)](_0x3c5d1e,_0x5be544=>{const _0x5050d8=_0x181958;_0x5be544&&logger[_0x5050d8(0xf0)](_0x5050d8(0xfc)+_0x3c5d1e);});const _0x36f95e=path[_0x181958(0x8f)](_0xa4f879,_0x212be0+'.tmp.'+process[_0x181958(0x68)]),_0x4d62e9=path[_0x181958(0x8f)](_0xa4f879,_0x212be0);fs[_0x181958(0x116)](_0x36f95e,_0x560d5e['nhozT'],function(_0x568fae){const _0x4454c=_0x181958,_0x4b1ecd={'HJNHs':function(_0x2fa042,_0x5f4fef){return _0x1ab8f3['Hdxln'](_0x2fa042,_0x5f4fef);},'EGanY':_0x1ab8f3[_0x4454c(0xb0)],'KVjEx':function(_0x39b71e,_0x1e6137){const _0x532d22=_0x4454c;return _0x1ab8f3[_0x532d22(0x126)](_0x39b71e,_0x1e6137);},'xDmhR':function(_0x5e91c9,_0x24d870){const _0x3bf353=_0x4454c;return _0x1ab8f3[_0x3bf353(0x93)](_0x5e91c9,_0x24d870);},'GNzln':function(_0x3b83ce,_0x167a8d){const _0x12e778=_0x4454c;return _0x1ab8f3[_0x12e778(0x108)](_0x3b83ce,_0x167a8d);}};if(_0x568fae){_0x32c403[_0x4454c(0x74)](),fs[_0x4454c(0x9b)](_0x36f95e,()=>{}),_0x1ab8f3[_0x4454c(0x126)](_0x11b17f,_0x568fae);return;}fs[_0x4454c(0x80)](_0x36f95e,_0x4d62e9,function(_0x533924){const _0x4828eb=_0x4454c;if(_0x533924){if(_0x4b1ecd['HJNHs'](_0x533924[_0x4828eb(0xd1)],_0x4b1ecd[_0x4828eb(0x137)])){_0x32c403['close'](),fs['unlink'](_0x36f95e,()=>{}),_0x4b1ecd[_0x4828eb(0xd4)](_0x11b17f,_0x533924);return;}logger['warn']('Cross-device\x20rename,\x20falling\x20back\x20to\x20copy:\x20'+_0x533924[_0x4828eb(0xb5)]);try{fs[_0x4828eb(0x11e)](_0x36f95e,_0x4d62e9);}catch(_0x116149){_0x32c403[_0x4828eb(0x74)](),fs['unlink'](_0x36f95e,()=>{}),_0x4b1ecd[_0x4828eb(0x138)](_0x11b17f,_0x116149);return;}fs[_0x4828eb(0x9b)](_0x36f95e,_0x4a361f=>{const _0x59fc0d=_0x4828eb;_0x4a361f&&logger[_0x59fc0d(0xf0)](_0x59fc0d(0x11b)+_0x4a361f[_0x59fc0d(0xb5)]);});}_0x32c403[_0x4828eb(0x74)](),_0x4b1ecd['GNzln'](_0x4fe41e,_0x4d62e9);});});});});});}static[a72_0x110a2c(0x119)](){const _0x26b6cc=a72_0x110a2c;if(process['env'][_0x26b6cc(0x9d)])return JSON[_0x26b6cc(0xb4)](process[_0x26b6cc(0x124)][_0x26b6cc(0x9d)]);return this[_0x26b6cc(0x6e)];}static['getAutomationFrameworkDetail'](){const _0x21e05a=a72_0x110a2c;if(process[_0x21e05a(0x124)]['BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL'])return JSON[_0x21e05a(0xb4)](process[_0x21e05a(0x124)]['BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL']);return this['automationFrameworkDetail'];}static['setFrameworkDetail'](_0x4f8c1f,_0x21e078){const _0x23ecb2=a72_0x110a2c,_0x320b4f={'HvQvt':_0x23ecb2(0xbd),'BDPxr':function(_0x2efdf8,_0x1c0476){return _0x2efdf8(_0x1c0476);},'sbyji':function(_0x34f594,_0x500c71){return _0x34f594||_0x500c71;},'Datze':function(_0x36f28c,_0x541849){return _0x36f28c(_0x541849);}},_0x5daa70=_0x320b4f[_0x23ecb2(0xfb)]['split']('|');let _0x230866=0x0;while(!![]){switch(_0x5daa70[_0x230866++]){case'0':this[_0x23ecb2(0x9c)]={'name':_0x21e078,'version':_0x320b4f[_0x23ecb2(0x139)](getFrameworkVersion,_0x21e078)};continue;case'1':_0x320b4f[_0x23ecb2(0x8b)](!_0x4f8c1f,!_0x21e078)&&logger['debug'](_0x23ecb2(0xef)+_0x4f8c1f+_0x23ecb2(0x109)+_0x21e078);continue;case'2':process[_0x23ecb2(0x124)][_0x23ecb2(0x9d)]=JSON[_0x23ecb2(0xd3)](this[_0x23ecb2(0x6e)]);continue;case'3':process['env'][_0x23ecb2(0x87)]=JSON[_0x23ecb2(0xd3)](this[_0x23ecb2(0x9c)]);continue;case'4':this[_0x23ecb2(0x6e)]={'name':_0x4f8c1f,'version':{[_0x4f8c1f]:_0x320b4f[_0x23ecb2(0x106)](getFrameworkVersion,_0x4f8c1f)}};continue;}break;}}static['getHookRegistryKey'](_0x1d514f,_0x173f55){return _0x1d514f+':'+_0x173f55;}static[a72_0x110a2c(0x83)](){return process['pid']+':'+threadId;}static[a72_0x110a2c(0xf8)](_0x4bd1ad){const _0x44a0ce=a72_0x110a2c;if(_0x4bd1ad[_0x44a0ce(0xe6)]&&_0x4bd1ad[_0x44a0ce(0xe6)][_0x44a0ce(0x102)])return!![];return![];}static[a72_0x110a2c(0xca)](_0x4788c1){const _0x440551=a72_0x110a2c;if(_0x4788c1[_0x440551(0xe6)]&&_0x4788c1[_0x440551(0xe6)]['skipSessionStatus'])return!![];return![];}static['matchHookRegex'](_0x5ae14c){const _0x2e8ea4=new RegExp(TestFrameworkConstants['HOOK_REGEX']);return _0x2e8ea4['test'](_0x5ae14c);}static[a72_0x110a2c(0x118)](_0x4c1a66,_0x47af71){const _0x5dc504=a72_0x110a2c,_0xde4b4b={};_0xde4b4b[_0x5dc504(0xd5)]=function(_0xc356fb,_0x23909b){return _0xc356fb!==_0x23909b;},_0xde4b4b[_0x5dc504(0x122)]=function(_0x4cdeca,_0x42497c){return _0x4cdeca===_0x42497c;},_0xde4b4b['JoKog']=_0x5dc504(0x77);const _0x578459=_0xde4b4b;for(const [_0x260bc5,_0x534582]of Object[_0x5dc504(0xcd)](_0x47af71)){if(_0x578459[_0x5dc504(0xd5)](_0x534582,null)&&_0x578459[_0x5dc504(0x122)](typeof _0x534582,_0x578459[_0x5dc504(0x95)])&&!Array[_0x5dc504(0xa8)](_0x534582))_0x4c1a66[_0x260bc5]=this[_0x5dc504(0x118)](_0x4c1a66[_0x260bc5]||{},_0x534582);else Array['isArray'](_0x534582)?_0x4c1a66[_0x260bc5]=(_0x4c1a66[_0x260bc5]||[])[_0x5dc504(0x133)](_0x534582):_0x4c1a66[_0x260bc5]=_0x534582;}return _0x4c1a66;}}module[a72_0x110a2c(0xe1)]=CLIUtils;function a72_0x2db9(){const _0x82bced=['yauzl','TLqUV','19069210OgnHTo','isDirectory','fcboC','qZiru','ibqxE','chmod','readEntry','mergeObject','getTestFrameworkDetail','Got\x20Error\x20in\x20SDK\x20binary\x20downloading\x20request\x20','Failed\x20to\x20unlink\x20temp\x20file\x20after\x20cross-device\x20copy:\x20','fileName','binary-','copyFileSync','gQMRv','mpazI','openSync','cRnEy','Error\x20in\x20getting\x20writable\x20directory,\x20writableDir=','env','\x20already\x20exists','hDJOt','includes','MucKW','0755','statSync','unix:/tmp/sdk-platform-','BdeJL','Folder\x20','response\x20','timeout','QntMz','length','./state/automationFrameworkState.js','concat','Binary\x20is\x20busy:\x20','uyLjw','fLNmr','EGanY','xDmhR','BDPxr','Resolving\x20with\x20stdout:\x20\x22','6TkDaRK','vzorD','start','readdirSync','nLidg','bPraP','follow-redirects','arch','uycFm','getWritableDir','pid','getSdkLanguage','lqCxX','1680880YrjOpY','eJJTv','Error\x20while\x20reading\x20CLI\x20path:\x20','testFrameworkDetail','ornoU','downloadLatestBinary','1157648AuliBF','Setting\x20required\x20permissions\x20to\x20','../../helpers/test-observability/utils.js','close','url','No\x20writable\x20directory\x20available\x20for\x20the\x20CLI','object','../utils/constants','EXDEV','../../helpers/performance/constants','Current\x20CLI\x20Path\x20Found:\x20','version','Hdxln','info','DmcQE','rename','data','path','getCurrentInstanceName','platform','setupCliPath','Unable\x20to\x20get\x20writable\x20directory,\x20exception\x20','BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL','oPITM','checkAndUpdateCli','iRyKX','sbyji','4474085LtZelu','.browserstack','Resolved\x20binary\x20path:\x20','join','BROWSERSTACK_FILES_DIR','hRvOG','vgixr','OTYiM','VdkzD','JoKog','redOm','OxzAR','../../helpers/classLogger.js','\x20version','Temp\x20file\x20is\x20busy,\x20falling\x20back\x20to\x20existing\x20binary:\x20','unlink','automationFrameworkDetail','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','reduce','test','nhozT','CLIUtils','getSdkVersion','Got\x20Error\x20while\x20downloading\x20SDK\x20binary\x20file\x20%s','basename','BROWSERSTACK_CLI_ENV','qIwAS','lhaFk','isArray','Temp\x20file\x20became\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','trim','getCliDir','getCLIParamsForDevEnv','isFile','lazyEntries','startsWith','IWATA','FfWVT','KiwUf','homedir','parse','message','CLI\x20version\x20found\x20despite\x20error:\x20\x22','cwd','cli_version','cli','once','zYVxv','getExistingCliPath','1|4|0|3|2','../../helpers/helper','pfctZ','Need\x20to\x20update\x20binary,\x20current\x20binary\x20version:\x20','../../../package.json','Ssqag','Unable\x20to\x20set\x20required\x20permissions\x20to\x20','filePath','Using\x20BROWSERSTACK_BINARY_URL\x20from\x20env\x20variable:\x20','dUpVL','downloadFileStream','aBQNk','WSNBS','shouldSkipSessionStatus','tXZuF','9qqCgoV','entries','Temp\x20file\x20is\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','format','KWFbS','code','isBinaryBusy','stringify','KVjEx','jGDyn','movay','GET','SDK_CLI_BIN_PATH','Configuring\x20Cli\x20path.','Error\x20checking\x20if\x20binary\x20is\x20busy:\x20','DpGVs','Temp\x20file\x20became\x20busy\x20during\x20write,\x20falling\x20back\x20to\x20existing\x20binary:\x20','node','error','BStEn','BghzX','exports','BROWSERSTACK_BINARY_URL','openReadStream','pipe','Folder\x20does\x20not\x20exist:\x20','testContextOptions','UTTyd','downloaded_file_','RNNzJ','./framework/constants/testFrameworkConstants.js','end','map','3WzvNmC','1013782LBoIlV','Test\x20or\x20Automation\x20framework\x20not\x20provided\x20testFramework=','warn','RzHvr','../../helpers/performance/performance-tester.js','fAGwP','Error\x20in\x20setting\x20up\x20cli\x20path\x20directory,\x20Exception:\x20','SDK_CLI_CHECK_UPDATE','Got\x20Error\x20in\x20SDK\x20binary\x20download\x20response\x20%s','debug','shouldSkipSessionName','runShellCommand','mtime','HvQvt','Failed\x20to\x20delete\x20zip\x20file:\x20','5285800ZiOtGq','.tmp.','./state/testFrameworkState.js','get','Downloading\x20SDK\x20binary\x20from:\x20','skipSessionName','Development\x20Cli\x20Path:\x20','4329080kofYnB','svdqF','Datze','.zip','DGcMc',',\x20automationFramework=','SDK_CLI_DOWNLOAD','cVvbn','YoEjh','existsSync','requestToUpdateCLI'];a72_0x2db9=function(){return _0x82bced;};return a72_0x2db9();}
1
+ function a72_0x5a60(){const _0x378bdb=['isArray','Failed\x20to\x20unlink\x20temp\x20file\x20after\x20cross-device\x20copy:\x20','Temp\x20file\x20is\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','NNyVC','getAutomationFrameworkDetail','split','fileName','jUbQA','cckUN','getSdkVersion','LhLrq','DXJSi','Temp\x20file\x20is\x20busy,\x20falling\x20back\x20to\x20existing\x20binary:\x20','fFbls','egVus','cli_version','zUjAj','8016440MeFSUW','setFrameworkDetail','CLI\x20version\x20found\x20despite\x20error:\x20\x22','mergeObject','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','getCliDir','moEof','startsWith','Czvzo','tJPkC','url','BROWSERSTACK_FILES_DIR','PXFJr','getTestFrameworkDetail','aNrjG','skipSessionName','KJqNf','unix:/tmp/sdk-platform-','bpsHZ','testContextOptions','Temp\x20file\x20became\x20busy\x20during\x20write,\x20falling\x20back\x20to\x20existing\x20binary:\x20','./state/hookState.js','arch','yGrIr','FFsPp','parse','CLIUtils','dVgZk','statSync','existsSync','No\x20writable\x20directory\x20available\x20for\x20the\x20CLI','rPoGZ','rNFuA','util','ENKbp','getCurrentInstanceName','response\x20','Folder\x20does\x20not\x20exist:\x20','Current\x20CLI\x20Path\x20Found:\x20','Error\x20checking\x20if\x20binary\x20is\x20busy:\x20','NbSbK','.zip','openSync','info','CEUdd','0755','Test\x20or\x20Automation\x20framework\x20not\x20provided\x20testFramework=','nrNsu','worker_threads','rename','closeSync','dTQhI','1137207QeILtt','mLdNH','basename','map','Error\x20in\x20getting\x20writable\x20directory,\x20writableDir=','mtime','akiot','.sock','shouldSkipSessionStatus','rNQjG','bWUQN','cwd','trim','2|1|4|0|3','XFvEF','Development\x20Cli\x20Path:\x20','.tmp.','JEShL','SgJCi','pipe','debug','../../helpers/helper','BMJpt','matchHookRegex','EQwdh','isFile','mmUrL','tmpdir','2172352WmwFGC','MiWAk','Downloading\x20SDK\x20binary\x20from:\x20','Error\x20while\x20reading\x20CLI\x20path:\x20','HKHaH','entry','getWritableDir','GqbRu','4033044FtWnOW','Temp\x20file\x20became\x20busy\x20and\x20no\x20existing\x20binary\x20found:\x20','start','end','Using\x20BROWSERSTACK_BINARY_URL\x20from\x20env\x20variable:\x20','\x20already\x20exists','code','open','requestToUpdateCLI','TmDVF','IOzpa','SDK_CLI_CHECK_UPDATE','runShellCommand','fWwfj','../../../package.json','stringify','oadkX','downloaded_file_','includes','unlink','sHiXe','../utils/apiUtilityMethods.js','reduce','wmkJB','downloadFileStream','error','env','yauzl','getExistingCliPath','testFrameworkDetail','../../helpers/test-observability/utils.js','readdirSync','ofksL','tcQIa','object','EXDEV','setupCliPath','\x20version','HyEjb','../../helpers/classLogger.js','pid','message','entries','ZEXZM','SDK_CLI_DOWNLOAD','477312DxuCyJ','homedir','../../helpers/performance/performance-tester.js','Unable\x20to\x20set\x20required\x20permissions\x20to\x20','test','KeSxF','Failed\x20to\x20delete\x20zip\x20file:\x20','SHELL_EXECUTE_ERROR','Setting\x20required\x20permissions\x20to\x20','36oltloZ','918545taDAYX','createWriteStream','data','moDXW','close','isDirectory','PZvuL','PGThx','GET','join','BROWSERSTACK_CLI_ENV','automationFrameworkDetail','Need\x20to\x20update\x20binary,\x20current\x20binary\x20version:\x20','Cross-device\x20rename,\x20falling\x20back\x20to\x20copy:\x20','timeout','node','NMXnD','getSdkLanguage','isBinaryBusy','format','readEntry','exports','child_process','Configuring\x20Cli\x20path.','Existing\x20binary\x20is\x20currently\x20in\x20use,\x20skipping\x20update\x20and\x20continuing\x20with\x20current\x20version:\x20','BROWSERSTACK_BINARY_URL','Failed\x20to\x20download\x20SDK\x20binary,\x20Exception:\x20','follow-redirects','Got\x20Error\x20in\x20SDK\x20binary\x20download\x20response\x20%s','2019332OTLUNs','NaWuO','lazyEntries','version','.browserstack','LamiO','copyFileSync','iCPJB','cli','SeuBl','Unable\x20to\x20get\x20writable\x20directory,\x20exception\x20','downloadLatestBinary','warn','UwOys','BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL','get'];a72_0x5a60=function(){return _0x378bdb;};return a72_0x5a60();}const a72_0x89a1a2=a72_0x340b;(function(_0x558255,_0x37d279){const _0x4433a8=a72_0x340b,_0x5c26fd=_0x558255();while(!![]){try{const _0x15b0fc=parseInt(_0x4433a8(0xda))/0x1+parseInt(_0x4433a8(0x85))/0x2+-parseInt(_0x4433a8(0x12b))/0x3+parseInt(_0x4433a8(0xfe))/0x4+parseInt(_0x4433a8(0x135))/0x5*(-parseInt(_0x4433a8(0x134))/0x6)+-parseInt(_0x4433a8(0xf6))/0x7+-parseInt(_0x4433a8(0xa6))/0x8;if(_0x15b0fc===_0x37d279)break;else _0x5c26fd['push'](_0x5c26fd['shift']());}catch(_0x56afd3){_0x5c26fd['push'](_0x5c26fd['shift']());}}}(a72_0x5a60,0x8df09));const fs=require('fs'),os=require('os'),url=require(a72_0x89a1a2(0xb0)),path=require('path'),{exec}=require(a72_0x89a1a2(0x7e)),{https}=require(a72_0x89a1a2(0x83)),yauzl=require(a72_0x89a1a2(0x119)),util=require(a72_0x89a1a2(0xc7)),{getFrameworkVersion}=require(a72_0x89a1a2(0x11c)),{threadId}=require(a72_0x89a1a2(0xd6)),PerformanceTester=require(a72_0x89a1a2(0x12d)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{isNullOrEmpty,isModifiable,setReadWriteExecuteAccess}=require('../../helpers/utilities'),{isTrue,createDir,getHostInfo,nodeRequest,nestedKeyValue}=require(a72_0x89a1a2(0xef)),{UPDATED_CLI_ENDPOINT,BINARY_BUSY_ERROR_CODES}=require('../utils/constants'),{createClassLogger}=require(a72_0x89a1a2(0x125)),TestFrameworkInstance=require('./instances/testFrameworkInstance.js'),HookState=require(a72_0x89a1a2(0xbb)),TestFrameworkState=require('./state/testFrameworkState.js'),AutomationFrameworkState=require('./state/automationFrameworkState.js'),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants.js'),logger=createClassLogger(a72_0x89a1a2(0xc0)),{getBStackAPIUrl}=require(a72_0x89a1a2(0x113));function a72_0x340b(_0x93f729,_0x2e4ad8){const _0x5a607a=a72_0x5a60();return a72_0x340b=function(_0x340b8b,_0x3179b1){_0x340b8b=_0x340b8b-0x69;let _0x68dd95=_0x5a607a[_0x340b8b];return _0x68dd95;},a72_0x340b(_0x93f729,_0x2e4ad8);}class CLIUtils{[a72_0x89a1a2(0x73)]={};[a72_0x89a1a2(0x11b)]={};static['isDevelopmentEnv'](){const _0x1fa5ba=a72_0x89a1a2,_0x9d2b89={};_0x9d2b89[_0x1fa5ba(0x10e)]=function(_0x229bc9,_0x557981){return _0x229bc9===_0x557981;},_0x9d2b89[_0x1fa5ba(0xa3)]='development';const _0xa9cca6=_0x9d2b89;return _0xa9cca6[_0x1fa5ba(0x10e)](process[_0x1fa5ba(0x118)][_0x1fa5ba(0x72)],_0xa9cca6[_0x1fa5ba(0xa3)]);}static['getCLIParamsForDevEnv'](){const _0x5c754e=a72_0x89a1a2,_0x3b1a20={};return _0x3b1a20['id']=process[_0x5c754e(0x118)][_0x5c754e(0x72)],_0x3b1a20['listen']=_0x5c754e(0xb7)+process[_0x5c754e(0x118)][_0x5c754e(0x72)]+_0x5c754e(0xe1),_0x3b1a20;}static[a72_0x89a1a2(0x9e)](){const _0x4fdc3b=a72_0x89a1a2,_0x4fee42={'WYQwT':function(_0x14264c,_0x504548){return _0x14264c(_0x504548);},'zUjAj':_0x4fdc3b(0x10c)};return _0x4fee42['WYQwT'](require,_0x4fee42[_0x4fdc3b(0xa5)])[_0x4fdc3b(0x88)];}static[a72_0x89a1a2(0x79)](){const _0x546743=a72_0x89a1a2,_0x39a7fa={};_0x39a7fa[_0x546743(0x112)]=_0x546743(0x77);const _0x413d12=_0x39a7fa;return _0x413d12['sHiXe'];}static async[a72_0x89a1a2(0x122)](_0x5bdcb3){const _0x3b7fb1=a72_0x89a1a2,_0x5c0f41={'PXFJr':_0x3b7fb1(0x7f),'PZvuL':function(_0x2d2103,_0x561479){return _0x2d2103(_0x561479);},'bWUQN':function(_0x11e385,_0x227ae0){return _0x11e385(_0x227ae0);},'SeuBl':_0x3b7fb1(0xc4)};logger[_0x3b7fb1(0xee)](_0x5c0f41[_0x3b7fb1(0xb2)]);const _0x3118ef=process[_0x3b7fb1(0x118)]['SDK_CLI_BIN_PATH'];if(!_0x5c0f41[_0x3b7fb1(0x6e)](isNullOrEmpty,_0x3118ef))return logger[_0x3b7fb1(0xee)](_0x3b7fb1(0xe9)+_0x3118ef),_0x3118ef;try{const _0x166da4=this[_0x3b7fb1(0xab)]();if(_0x5c0f41[_0x3b7fb1(0xe4)](isNullOrEmpty,_0x166da4))throw new Error(_0x5c0f41[_0x3b7fb1(0x8e)]);const _0x26662b=this['getExistingCliPath'](_0x166da4),_0x1acc4a=await this['checkAndUpdateCli'](_0x26662b,_0x166da4,_0x5bdcb3);return logger[_0x3b7fb1(0xee)]('Resolved\x20binary\x20path:\x20'+_0x1acc4a),_0x1acc4a;}catch(_0x26e9c3){logger[_0x3b7fb1(0xee)]('Error\x20in\x20setting\x20up\x20cli\x20path\x20directory,\x20Exception:\x20'+util[_0x3b7fb1(0x7b)](_0x26e9c3));}return null;}static async['checkAndUpdateCli'](_0x2ab247,_0x5efa3c,_0x4898eb){const _0xaee214=a72_0x89a1a2,_0x6d58c6={'rPoGZ':function(_0x2843f8){return _0x2843f8();},'akiot':function(_0x5c375b,_0x55923e){return _0x5c375b(_0x55923e);},'rNFuA':function(_0x202b98,_0x46d3bb,_0x403809){return _0x202b98(_0x46d3bb,_0x403809);},'NaWuO':_0xaee214(0x6a),'rNQjG':'url','fFbls':function(_0x2ec47e,_0xc01afc,_0x3f6c42){return _0x2ec47e(_0xc01afc,_0x3f6c42);}};PerformanceTester[_0xaee214(0x100)](PerformanceEvents[_0xaee214(0x109)]),logger[_0xaee214(0xd1)](_0xaee214(0xcc)+_0x2ab247);const _0x3b43a3=_0x6d58c6[_0xaee214(0xc5)](getHostInfo),_0xd8f0bc={'sdk_version':CLIUtils[_0xaee214(0x9e)](),'os':_0x3b43a3['platform'],'os_arch':_0x3b43a3[_0xaee214(0xbc)],'cli_version':'0','sdk_language':this[_0xaee214(0x79)]()};!_0x6d58c6[_0xaee214(0xe0)](isNullOrEmpty,_0x2ab247)&&(_0xd8f0bc[_0xaee214(0xa4)]=await this[_0xaee214(0x10a)](_0x2ab247+_0xaee214(0x123)));const _0x4297e0=await this['requestToUpdateCLI'](_0xd8f0bc,_0x4898eb);process[_0xaee214(0x118)]['BROWSERSTACK_BINARY_URL']&&(logger[_0xaee214(0xd1)](_0xaee214(0x102)+process[_0xaee214(0x118)]['BROWSERSTACK_BINARY_URL']),_0x4297e0[_0xaee214(0x6a)][_0xaee214(0xb0)]=process['env'][_0xaee214(0x81)]);if(_0x6d58c6[_0xaee214(0xc6)](nestedKeyValue,_0x4297e0,[_0x6d58c6[_0xaee214(0x86)],_0x6d58c6[_0xaee214(0xe3)]])){logger[_0xaee214(0xee)](_0xaee214(0x74)+_0xd8f0bc[_0xaee214(0xa4)]);if(!_0x6d58c6[_0xaee214(0xe0)](isNullOrEmpty,_0x2ab247)&&this[_0xaee214(0x7a)](_0x2ab247))return logger[_0xaee214(0x91)](_0xaee214(0x80)+_0x2ab247),PerformanceTester['end'](PerformanceEvents[_0xaee214(0x109)]),_0x2ab247;const _0x3c08a7=await this[_0xaee214(0x90)](_0x6d58c6[_0xaee214(0xa2)](nestedKeyValue,_0x4297e0,[_0x6d58c6[_0xaee214(0x86)],_0x6d58c6[_0xaee214(0xe3)]]),_0x5efa3c);return PerformanceTester[_0xaee214(0x101)](PerformanceEvents[_0xaee214(0x109)]),_0x3c08a7;}return PerformanceTester[_0xaee214(0x101)](PerformanceEvents[_0xaee214(0x109)]),_0x2ab247;}static[a72_0x89a1a2(0xab)](){const _0x2b233b=a72_0x89a1a2,_0x185ac8={'bpsHZ':function(_0x3e95cd,_0x1e0220){return _0x3e95cd(_0x1e0220);},'UwOys':_0x2b233b(0xc4),'EQwdh':_0x2b233b(0x8d),'CEUdd':function(_0x230933,_0x5afa29){return _0x230933(_0x5afa29);}},_0x25834c=this['getWritableDir']();try{if(_0x185ac8[_0x2b233b(0xb8)](isNullOrEmpty,_0x25834c))throw new Error(_0x185ac8[_0x2b233b(0x92)]);const _0x44e3ed=path[_0x2b233b(0x71)](_0x25834c,_0x185ac8[_0x2b233b(0xf2)]);return!fs['existsSync'](_0x44e3ed)&&_0x185ac8[_0x2b233b(0xd2)](createDir,_0x44e3ed),_0x44e3ed;}catch(_0x38ed7a){logger[_0x2b233b(0xee)](_0x2b233b(0xde)+util[_0x2b233b(0x7b)](_0x38ed7a));}}static[a72_0x89a1a2(0xfc)](){const _0x348a8e=a72_0x89a1a2,_0x36b2a1={'ofksL':_0x348a8e(0x89),'dTQhI':function(_0xbfa725,_0xa6ae53){return _0xbfa725(_0xa6ae53);},'dVgZk':function(_0x1df69e,_0x4bb2f1){return _0x1df69e(_0x4bb2f1);}},_0x7db511=[process['env'][_0x348a8e(0xb1)],path['join'](os[_0x348a8e(0x12c)](),_0x36b2a1['ofksL']),path[_0x348a8e(0x71)](os[_0x348a8e(0xf5)](),_0x36b2a1[_0x348a8e(0x11e)])];for(const _0xc09488 of _0x7db511){if(_0x36b2a1['dTQhI'](isNullOrEmpty,_0xc09488))continue;try{if(fs[_0x348a8e(0xc3)](_0xc09488)){logger[_0x348a8e(0xee)]('Folder\x20'+_0xc09488+_0x348a8e(0x103));if(!_0x36b2a1[_0x348a8e(0xc1)](isModifiable,_0xc09488)){logger['debug'](_0x348a8e(0x133)+_0xc09488);const _0x1a500d=_0x36b2a1[_0x348a8e(0xc1)](setReadWriteExecuteAccess,_0xc09488);if(!_0x36b2a1[_0x348a8e(0xd9)](isTrue,_0x1a500d)){logger[_0x348a8e(0x91)](_0x348a8e(0x12e)+_0xc09488);continue;}}}else{logger[_0x348a8e(0xee)](_0x348a8e(0xcb)+_0xc09488),_0x36b2a1[_0x348a8e(0xd9)](createDir,_0xc09488),logger[_0x348a8e(0xee)](_0x348a8e(0x133)+_0xc09488);const _0x4c314d=_0x36b2a1[_0x348a8e(0xc1)](setReadWriteExecuteAccess,_0xc09488);!_0x36b2a1[_0x348a8e(0xd9)](isTrue,_0x4c314d)&&logger[_0x348a8e(0x91)]('Unable\x20to\x20set\x20required\x20permissions\x20to\x20'+_0xc09488);}return _0xc09488;}catch(_0x2539b3){logger[_0x348a8e(0x117)](_0x348a8e(0x8f)+util[_0x348a8e(0x7b)](_0x2539b3));}}return null;}static[a72_0x89a1a2(0x11a)](_0x8f3841){const _0x5db945=a72_0x89a1a2,_0xd42f22={};_0xd42f22[_0x5db945(0xa0)]=function(_0x1a0d62,_0x1961eb){return _0x1a0d62>_0x1961eb;},_0xd42f22[_0x5db945(0xbd)]=function(_0x2f8d47,_0x5ec5a9){return _0x2f8d47>_0x5ec5a9;};const _0x3ab93b=_0xd42f22;try{if(!fs[_0x5db945(0xc3)](_0x8f3841)||!fs[_0x5db945(0xc2)](_0x8f3841)[_0x5db945(0x6d)]())return'';const _0x253f6c=fs[_0x5db945(0x11d)](_0x8f3841)[_0x5db945(0xdd)](_0x4d164f=>path[_0x5db945(0x71)](_0x8f3841,_0x4d164f))['filter'](_0xe6021e=>fs[_0x5db945(0xc2)](_0xe6021e)[_0x5db945(0xf3)]()&&path[_0x5db945(0xdc)](_0xe6021e)[_0x5db945(0xad)]('binary-'));if(_0x3ab93b[_0x5db945(0xbd)](_0x253f6c['length'],0x0)){const _0x1da6c1=_0x253f6c['map'](_0xc852b4=>({'filePath':_0xc852b4,'mtime':fs[_0x5db945(0xc2)](_0xc852b4)['mtime']}))[_0x5db945(0x114)]((_0x1a28b1,_0x418e50)=>{const _0x5c2ddb=_0x5db945;if(!_0x1a28b1||!_0x1a28b1[_0x5c2ddb(0xdf)])return _0x418e50;if(_0x3ab93b['DXJSi'](_0x418e50[_0x5c2ddb(0xdf)],_0x1a28b1[_0x5c2ddb(0xdf)]))return _0x418e50;return _0x1a28b1;},{});return _0x1da6c1?_0x1da6c1['filePath']:'';}return'';}catch(_0x4f4eab){return logger[_0x5db945(0x117)](_0x5db945(0xf9)+util[_0x5db945(0x7b)](_0x4f4eab)),'';}}static [a72_0x89a1a2(0x106)]=async(_0x2adb8e,_0x11002b)=>{const _0x350735=a72_0x89a1a2,_0x29477b={'BMJpt':function(_0x29d872,_0x3729ad,_0x2611d9,_0x381810,_0x56b752){return _0x29d872(_0x3729ad,_0x2611d9,_0x381810,_0x56b752);},'NNyVC':_0x350735(0x70)},_0xfa33f5={};_0xfa33f5['qs']=_0x2adb8e;const _0x5ac8d3=await _0x29477b[_0x350735(0xf0)](nodeRequest,_0x29477b[_0x350735(0x98)],UPDATED_CLI_ENDPOINT,_0xfa33f5,_0x11002b);return logger[_0x350735(0xee)](_0x350735(0xca)+JSON[_0x350735(0x10d)](_0x5ac8d3)),_0x5ac8d3;};static[a72_0x89a1a2(0x7a)](_0x4d9458){const _0x776598=a72_0x89a1a2;try{const _0x1c24ff=fs[_0x776598(0xd0)](_0x4d9458,'r+');return fs[_0x776598(0xd8)](_0x1c24ff),![];}catch(_0x3363b3){if(BINARY_BUSY_ERROR_CODES[_0x776598(0x110)](_0x3363b3['code']))return logger[_0x776598(0xee)]('Binary\x20is\x20busy:\x20'+_0x4d9458),!![];return logger[_0x776598(0xee)](_0x776598(0xcd)+_0x3363b3['message']),![];}}static[a72_0x89a1a2(0x10a)](_0x5224c9,_0x1ca1da=''){const _0x372e54=a72_0x89a1a2,_0x53553={'KHnLv':'version','NbSbK':function(_0x5b07ff,_0x54caa3){return _0x5b07ff(_0x54caa3);},'ZeVVm':_0x372e54(0x132),'EJwLf':function(_0x2ba69a,_0x109e39,_0x436370,_0x4bd141){return _0x2ba69a(_0x109e39,_0x436370,_0x4bd141);},'moEof':_0x372e54(0x117)};return new Promise((_0x37e76e,_0x318e8f)=>{const _0x4c4c51=_0x372e54,_0x31ff29={'mLdNH':function(_0x4bd67d,_0x34a52f){const _0x56e457=a72_0x340b;return _0x53553[_0x56e457(0xce)](_0x4bd67d,_0x34a52f);},'KJqNf':_0x53553['ZeVVm']},_0x118ba2={};_0x118ba2[_0x4c4c51(0xe5)]=_0x1ca1da,_0x118ba2[_0x4c4c51(0x76)]=0x1388;const _0x139a16=_0x53553['EJwLf'](exec,_0x5224c9,_0x118ba2,(_0x1a11d8,_0x11c13d,_0x452041)=>{const _0x361aa8=_0x4c4c51;if(_0x1a11d8){if(_0x5224c9[_0x361aa8(0x110)](_0x53553['KHnLv'])&&(_0x11c13d[_0x361aa8(0xe6)]()||_0x452041['trim']())){const _0x5e6f1f=_0x11c13d[_0x361aa8(0xe6)]()||_0x452041[_0x361aa8(0xe6)]();logger['debug'](_0x361aa8(0xa8)+_0x5e6f1f+'\x22'),_0x53553[_0x361aa8(0xce)](_0x37e76e,_0x5e6f1f);}else _0x53553[_0x361aa8(0xce)](_0x37e76e,_0x452041[_0x361aa8(0xe6)]()||_0x53553['ZeVVm']);}else logger['debug']('Resolving\x20with\x20stdout:\x20\x22'+_0x11c13d[_0x361aa8(0xe6)]()+'\x22'),_0x53553[_0x361aa8(0xce)](_0x37e76e,_0x11c13d[_0x361aa8(0xe6)]());});_0x139a16['on'](_0x53553[_0x4c4c51(0xac)],()=>{const _0x5cefb5=_0x4c4c51;_0x31ff29[_0x5cefb5(0xdb)](_0x37e76e,_0x31ff29[_0x5cefb5(0xb6)]);});});}static [a72_0x89a1a2(0x90)]=async(_0x40761b,_0x2a0fd0)=>{const _0x4f1800=a72_0x89a1a2,_0x3170fd={'aNrjG':'Got\x20Error\x20while\x20downloading\x20SDK\x20binary\x20file\x20%s','TmDVF':function(_0x1ddfe4,_0x557528){return _0x1ddfe4(_0x557528);},'HyEjb':_0x4f1800(0x117),'Dwqmo':_0x4f1800(0x84),'LamiO':function(_0x4373d5,_0x452000){return _0x4373d5(_0x452000);},'ULayx':function(_0x4264de,_0xf6c952){return _0x4264de(_0xf6c952);}};PerformanceTester[_0x4f1800(0x100)](PerformanceEvents[_0x4f1800(0x12a)]),logger[_0x4f1800(0xee)](_0x4f1800(0xf8)+_0x40761b);try{const _0x71d8fc=url[_0x4f1800(0xbf)](_0x40761b),_0x195dcc=path[_0x4f1800(0x71)](_0x2a0fd0,_0x4f1800(0x10f)+process['pid']+_0x4f1800(0xcf)),_0x274195=fs['createWriteStream'](_0x195dcc);return new Promise((_0x37d841,_0x386254)=>{const _0x2e74d4=_0x4f1800,_0x23918b={'tcQIa':_0x3170fd['Dwqmo'],'XFvEF':function(_0x577995,_0x5d1495){const _0x59a93a=a72_0x340b;return _0x3170fd[_0x59a93a(0x8a)](_0x577995,_0x5d1495);},'qddZd':function(_0x6191a6,_0x3ae94b){return _0x3170fd['ULayx'](_0x6191a6,_0x3ae94b);}};https[_0x2e74d4(0x94)](_0x71d8fc,function(_0x1b95a5){const _0x226e9b=_0x2e74d4,_0x18e2d0={'tJPkC':_0x3170fd[_0x226e9b(0xb4)],'xUdjI':function(_0x14d354,_0x138c6f){return _0x3170fd['TmDVF'](_0x14d354,_0x138c6f);}},_0x496a8e=null;_0x1b95a5['pipe'](_0x274195),_0x1b95a5['on'](_0x3170fd['HyEjb'],function(_0x4c3448){const _0x37124b=_0x226e9b;logger[_0x37124b(0x117)](util['format'](_0x23918b[_0x37124b(0x11f)],_0x4c3448)),PerformanceTester['end'](PerformanceEvents[_0x37124b(0x12a)],![],util[_0x37124b(0x7b)](_0x4c3448)),_0x23918b[_0x37124b(0xe8)](_0x386254,_0x4c3448);}),_0x274195['on'](_0x3170fd[_0x226e9b(0x124)],function(_0x369348){const _0x1a5f9c=_0x226e9b;logger[_0x1a5f9c(0x117)](util[_0x1a5f9c(0x7b)](_0x18e2d0[_0x1a5f9c(0xaf)],_0x369348)),PerformanceTester['end'](PerformanceEvents[_0x1a5f9c(0x12a)],![],util[_0x1a5f9c(0x7b)](_0x369348)),_0x18e2d0['xUdjI'](_0x386254,_0x369348);}),CLIUtils[_0x226e9b(0x116)](_0x274195,_0x496a8e,_0x195dcc,_0x2a0fd0,_0x59c809=>{const _0x186d3d=_0x226e9b;PerformanceTester['end'](PerformanceEvents['SDK_CLI_DOWNLOAD']),_0x23918b[_0x186d3d(0xe8)](_0x37d841,_0x59c809);},_0x5e3b67=>{const _0x404760=_0x226e9b;PerformanceTester[_0x404760(0x101)](PerformanceEvents['SDK_CLI_DOWNLOAD'],![],util[_0x404760(0x7b)](_0x5e3b67)),_0x23918b['qddZd'](_0x386254,_0x5e3b67);});})['on'](_0x3170fd['HyEjb'],function(_0x44c547){const _0x3a7fa9=_0x2e74d4;logger[_0x3a7fa9(0x117)]('Got\x20Error\x20in\x20SDK\x20binary\x20downloading\x20request\x20'+util[_0x3a7fa9(0x7b)](_0x44c547)),PerformanceTester['end'](PerformanceEvents['SDK_CLI_DOWNLOAD'],![],util[_0x3a7fa9(0x7b)](_0x44c547)),_0x3170fd[_0x3a7fa9(0x107)](_0x386254,_0x44c547);});});}catch(_0x8cf06f){PerformanceTester[_0x4f1800(0x101)](PerformanceEvents[_0x4f1800(0x12a)],![],util[_0x4f1800(0x7b)](_0x8cf06f)),logger['debug'](_0x4f1800(0x82)+util[_0x4f1800(0x7b)](_0x8cf06f));}};static[a72_0x89a1a2(0x116)](_0x15e4b6,_0x44abb3,_0x54f6e1,_0x5f13de,_0x226b7e,_0x5243d1){const _0x26e358=a72_0x89a1a2,_0x3b1347={'cckUN':'close','LhLrq':function(_0x3b127b,_0x1a9bec){return _0x3b127b(_0x1a9bec);},'iCPJB':_0x26e358(0x101),'NMXnD':function(_0x452018,_0x4352df){return _0x452018!==_0x4352df;},'jUbQA':'error','lpeZj':_0x26e358(0x121),'cKiir':_0x26e358(0xd3),'KeSxF':_0x26e358(0xfb)};_0x15e4b6['on'](_0x3b1347[_0x26e358(0x9d)],function(){const _0x29f76e=_0x26e358,_0x455a0b={};_0x455a0b[_0x29f76e(0x87)]=!![],yauzl[_0x29f76e(0x105)](_0x54f6e1,_0x455a0b,function(_0x56d43b,_0x4fc47b){const _0x40b098=_0x29f76e,_0x374e74={'txxQE':_0x3b1347[_0x40b098(0x9d)],'JEShL':function(_0x489df0,_0x1e1f73){const _0x4131a4=_0x40b098;return _0x3b1347[_0x4131a4(0x9f)](_0x489df0,_0x1e1f73);},'ZEXZM':_0x3b1347[_0x40b098(0x8c)],'fWwfj':function(_0x3cd7ad,_0x4a38b7){return _0x3b1347['LhLrq'](_0x3cd7ad,_0x4a38b7);},'nrNsu':function(_0x240a87,_0x3f1076){const _0x24cd78=_0x40b098;return _0x3b1347[_0x24cd78(0x78)](_0x240a87,_0x3f1076);},'bqTda':_0x3b1347['jUbQA'],'IOzpa':_0x3b1347['lpeZj'],'PGThx':function(_0x2602fc,_0x28823c){const _0x1c701c=_0x40b098;return _0x3b1347[_0x1c701c(0x9f)](_0x2602fc,_0x28823c);},'wmkJB':_0x3b1347['cKiir']};if(_0x56d43b){_0x3b1347[_0x40b098(0x9f)](_0x5243d1,_0x56d43b);return;}_0x4fc47b[_0x40b098(0x7c)](),_0x4fc47b['on'](_0x3b1347[_0x40b098(0x130)],_0x353857=>{const _0x1fe882=_0x40b098,_0x15559f={'GqbRu':function(_0x39b3b3,_0x578ffe){const _0x509a0d=a72_0x340b;return _0x374e74[_0x509a0d(0x10b)](_0x39b3b3,_0x578ffe);}};if(/\/$/[_0x1fe882(0x12f)](_0x353857[_0x1fe882(0x9b)])){_0x4fc47b[_0x1fe882(0x7c)]();return;}!_0x44abb3&&(_0x44abb3=_0x353857['fileName']);if(_0x374e74[_0x1fe882(0xd5)](_0x353857['fileName'],_0x44abb3))_0x4fc47b[_0x1fe882(0x7c)]();else{const _0x2d4979=_0x353857[_0x1fe882(0x9b)],_0x62716=path[_0x1fe882(0x71)](_0x5f13de,_0x2d4979+_0x1fe882(0xea)+process[_0x1fe882(0x126)]);let _0x314175;try{_0x314175=fs[_0x1fe882(0x69)](_0x62716);}catch(_0x38b809){if(BINARY_BUSY_ERROR_CODES[_0x1fe882(0x110)](_0x38b809[_0x1fe882(0x104)])){const _0x10e748=path[_0x1fe882(0x71)](_0x5f13de,_0x2d4979);if(fs[_0x1fe882(0xc3)](_0x10e748)){logger['warn'](_0x1fe882(0xa1)+_0x2d4979),fs[_0x1fe882(0x111)](_0x54f6e1,_0x3e5e9c=>{const _0x1e0506=_0x1fe882;_0x3e5e9c&&logger[_0x1e0506(0x91)](_0x1e0506(0x131)+_0x54f6e1);}),_0x374e74[_0x1fe882(0x10b)](_0x226b7e,_0x10e748);return;}logger[_0x1fe882(0x91)](_0x1fe882(0x97)+_0x2d4979);}_0x374e74[_0x1fe882(0xeb)](_0x5243d1,_0x38b809);return;}_0x314175['on'](_0x374e74['bqTda'],_0x5a5df9=>{const _0x67330b=_0x1fe882;if(BINARY_BUSY_ERROR_CODES['includes'](_0x5a5df9[_0x67330b(0x104)])){const _0x5d5bca=path['join'](_0x5f13de,_0x2d4979);_0x314175[_0x67330b(0x6c)](),fs[_0x67330b(0xc3)](_0x5d5bca)?(logger[_0x67330b(0x91)](_0x67330b(0xba)+_0x5a5df9[_0x67330b(0x127)]),_0x4fc47b['close'](),fs['unlink'](_0x54f6e1,_0xb75a19=>{_0xb75a19&&logger['warn']('Failed\x20to\x20delete\x20zip\x20file:\x20'+_0x54f6e1);}),_0x15559f[_0x67330b(0xfd)](_0x226b7e,_0x5d5bca)):(logger[_0x67330b(0x91)](_0x67330b(0xff)+_0x5a5df9[_0x67330b(0x127)]),fs[_0x67330b(0x111)](_0x62716,()=>{}),_0x15559f['GqbRu'](_0x5243d1,_0x5a5df9));}else fs[_0x67330b(0x111)](_0x62716,()=>{}),_0x15559f[_0x67330b(0xfd)](_0x5243d1,_0x5a5df9);}),_0x4fc47b['openReadStream'](_0x353857,function(_0x39d046,_0x13e77b){const _0x2863b=_0x1fe882,_0x56b2a6={};_0x56b2a6['MiWAk']=_0x374e74['txxQE'];const _0x10b6b5=_0x56b2a6;if(_0x39d046){fs[_0x2863b(0x111)](_0x62716,()=>{}),_0x374e74['JEShL'](_0x5243d1,_0x39d046);return;}_0x13e77b['on'](_0x374e74[_0x2863b(0x129)],function(){const _0x43463e=_0x2863b;_0x314175[_0x43463e(0x101)](),_0x314175['on'](_0x10b6b5[_0x43463e(0xf7)],function(){const _0x2aba9b=_0x43463e;_0x4fc47b[_0x2aba9b(0x7c)]();});}),_0x13e77b[_0x2863b(0xed)](_0x314175);});}}),_0x4fc47b['on'](_0x3b1347[_0x40b098(0x9c)],_0x4abc47=>{_0x374e74['fWwfj'](_0x5243d1,_0x4abc47);}),_0x4fc47b['once'](_0x3b1347['iCPJB'],()=>{const _0x42e801=_0x40b098,_0x118f90={'CZNHZ':function(_0x57ebf1,_0x2cb290){return _0x374e74['nrNsu'](_0x57ebf1,_0x2cb290);},'FFsPp':_0x374e74[_0x42e801(0x108)],'mmUrL':function(_0x220d0c,_0x34a8de){const _0x4ba6c7=_0x42e801;return _0x374e74[_0x4ba6c7(0x6f)](_0x220d0c,_0x34a8de);}};fs[_0x42e801(0x111)](_0x54f6e1,_0x6ac2f0=>{_0x6ac2f0&&logger['warn']('Failed\x20to\x20delete\x20zip\x20file:\x20'+_0x54f6e1);});const _0x827fa1=path[_0x42e801(0x71)](_0x5f13de,_0x44abb3+_0x42e801(0xea)+process[_0x42e801(0x126)]),_0x52c3c0=path[_0x42e801(0x71)](_0x5f13de,_0x44abb3);fs['chmod'](_0x827fa1,_0x374e74[_0x42e801(0x115)],function(_0x44c5d7){const _0x23ce83=_0x42e801;if(_0x44c5d7){_0x4fc47b[_0x23ce83(0x6c)](),fs[_0x23ce83(0x111)](_0x827fa1,()=>{}),_0x374e74[_0x23ce83(0x10b)](_0x5243d1,_0x44c5d7);return;}fs[_0x23ce83(0xd7)](_0x827fa1,_0x52c3c0,function(_0x4bc569){const _0x5d4dd8=_0x23ce83;if(_0x4bc569){if(_0x118f90['CZNHZ'](_0x4bc569[_0x5d4dd8(0x104)],_0x118f90[_0x5d4dd8(0xbe)])){_0x4fc47b[_0x5d4dd8(0x6c)](),fs[_0x5d4dd8(0x111)](_0x827fa1,()=>{}),_0x118f90[_0x5d4dd8(0xf4)](_0x5243d1,_0x4bc569);return;}logger[_0x5d4dd8(0x91)](_0x5d4dd8(0x75)+_0x4bc569[_0x5d4dd8(0x127)]);try{fs[_0x5d4dd8(0x8b)](_0x827fa1,_0x52c3c0);}catch(_0x2677e9){_0x4fc47b[_0x5d4dd8(0x6c)](),fs['unlink'](_0x827fa1,()=>{}),_0x118f90[_0x5d4dd8(0xf4)](_0x5243d1,_0x2677e9);return;}fs['unlink'](_0x827fa1,_0x1a64a6=>{const _0x217104=_0x5d4dd8;_0x1a64a6&&logger[_0x217104(0x91)](_0x217104(0x96)+_0x1a64a6[_0x217104(0x127)]);});}_0x4fc47b['close'](),_0x118f90[_0x5d4dd8(0xf4)](_0x226b7e,_0x52c3c0);});});});});});}static[a72_0x89a1a2(0xb3)](){const _0x29fc30=a72_0x89a1a2;if(process[_0x29fc30(0x118)][_0x29fc30(0xaa)])return JSON[_0x29fc30(0xbf)](process['env'][_0x29fc30(0xaa)]);return this['testFrameworkDetail'];}static[a72_0x89a1a2(0x99)](){const _0x181fc6=a72_0x89a1a2;if(process[_0x181fc6(0x118)][_0x181fc6(0x93)])return JSON['parse'](process['env'][_0x181fc6(0x93)]);return this[_0x181fc6(0x73)];}static[a72_0x89a1a2(0xa7)](_0x5ca973,_0x220a09){const _0x45d3f0=a72_0x89a1a2,_0x2be74d={'moDXW':_0x45d3f0(0xe7),'ENKbp':function(_0x339957,_0x9184ee){return _0x339957(_0x9184ee);},'Czvzo':function(_0x1f955f,_0x2e6478){return _0x1f955f||_0x2e6478;}},_0x453340=_0x2be74d[_0x45d3f0(0x6b)][_0x45d3f0(0x9a)]('|');let _0x459376=0x0;while(!![]){switch(_0x453340[_0x459376++]){case'0':process['env'][_0x45d3f0(0x93)]=JSON['stringify'](this[_0x45d3f0(0x73)]);continue;case'1':this[_0x45d3f0(0x11b)]={'name':_0x5ca973,'version':{[_0x5ca973]:_0x2be74d[_0x45d3f0(0xc8)](getFrameworkVersion,_0x5ca973)}};continue;case'2':_0x2be74d[_0x45d3f0(0xae)](!_0x5ca973,!_0x220a09)&&logger[_0x45d3f0(0xee)](_0x45d3f0(0xd4)+_0x5ca973+',\x20automationFramework='+_0x220a09);continue;case'3':process[_0x45d3f0(0x118)][_0x45d3f0(0xaa)]=JSON[_0x45d3f0(0x10d)](this[_0x45d3f0(0x11b)]);continue;case'4':this[_0x45d3f0(0x73)]={'name':_0x220a09,'version':_0x2be74d[_0x45d3f0(0xc8)](getFrameworkVersion,_0x220a09)};continue;}break;}}static['getHookRegistryKey'](_0x4c794d,_0x30ea4a){return _0x4c794d+':'+_0x30ea4a;}static[a72_0x89a1a2(0xc9)](){const _0x3c3077=a72_0x89a1a2;return process[_0x3c3077(0x126)]+':'+threadId;}static['shouldSkipSessionName'](_0x5dded3){const _0x37c6a1=a72_0x89a1a2;if(_0x5dded3['testContextOptions']&&_0x5dded3['testContextOptions'][_0x37c6a1(0xb5)])return!![];return![];}static[a72_0x89a1a2(0xe2)](_0x4342bc){const _0x452def=a72_0x89a1a2;if(_0x4342bc['testContextOptions']&&_0x4342bc[_0x452def(0xb9)]['skipSessionStatus'])return!![];return![];}static[a72_0x89a1a2(0xf1)](_0x1108cb){const _0x4dac68=a72_0x89a1a2,_0x4f8537=new RegExp(TestFrameworkConstants['HOOK_REGEX']);return _0x4f8537[_0x4dac68(0x12f)](_0x1108cb);}static[a72_0x89a1a2(0xa9)](_0x4669da,_0x12fadc){const _0x552b62=a72_0x89a1a2,_0x2f89a6={};_0x2f89a6['BJlcr']=function(_0x791c45,_0x23ef4e){return _0x791c45!==_0x23ef4e;},_0x2f89a6[_0x552b62(0xfa)]=function(_0x722cd7,_0x15fb49){return _0x722cd7===_0x15fb49;},_0x2f89a6['SgJCi']=_0x552b62(0x120);const _0x4e983f=_0x2f89a6;for(const [_0x363f03,_0x268a28]of Object[_0x552b62(0x128)](_0x12fadc)){if(_0x4e983f['BJlcr'](_0x268a28,null)&&_0x4e983f[_0x552b62(0xfa)](typeof _0x268a28,_0x4e983f[_0x552b62(0xec)])&&!Array[_0x552b62(0x95)](_0x268a28))_0x4669da[_0x363f03]=this[_0x552b62(0xa9)](_0x4669da[_0x363f03]||{},_0x268a28);else Array[_0x552b62(0x95)](_0x268a28)?_0x4669da[_0x363f03]=(_0x4669da[_0x363f03]||[])['concat'](_0x268a28):_0x4669da[_0x363f03]=_0x268a28;}return _0x4669da;}}module[a72_0x89a1a2(0x7d)]=CLIUtils;
@@ -1 +1 @@
1
- 'use strict';const a73_0x5911bb=a73_0x585e;function a73_0x31b4(){const _0x533d90=['406236dTXupf','CustomTagManager','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','BEbDy','stringify','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','getState','isArray','getInstance','qjjpf','./modules/testhubModule','null','readdirSync','TEST','aggregateBuildLevelTagsFromTmp','pVsZh','field_type','endsWith','./framework/constants/testFrameworkConstants','_testInternals','./state/testFrameworkState','VcIsX','KEY_CUSTOM_TAGS','getTestLevelTags','entries','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','ms)\x20','trim','2eqzTeI','isRunning','message','mtimeMs','addMultipleEntries','GCIei','dQSgb','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20stale\x20','env','getTestFrameworkDetail','1287360oCqskc','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','DJmFm',',\x20existingTags=','utf8','resolveInstance','1010790MIlbaC','getTestIdentifierFromTestInfo','testhubConfig','promises','vgrjE','\x20->\x20values=','twVhT','getTrackedInstance','multi_dropdown','path','HjRdY','BUILD_TAG_FILE_PREFIX','KAYdS','testLevelTags','QVetG','getTestFramework','modules','get','jest','WtRao','[CustomTagManager]\x20setCustomTags:\x20Merged\x20tag\x20key=','./cliUtils','pkJWE','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20readdir\x20failed:\x20','includes','ZPNNX','getTestUUID','tmpdir','dUCFs',',\x20key=','DmkcJ','GoNjF','setTestDetails','CVemf','length',',\x20values=','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','MODULE_NAME','./TestInfo','readFileSync','shvWg','startsWith','tpcfE','exports','getTestDetails','testInfo','join','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20skipping\x20stale\x20file\x20(>','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20error\x20reading\x20','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20os.tmpdir()\x20failed:\x20','QxTVs','parseCommaSeparatedValues','zFAYl',':jest-','./state/hookState','grrbF','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20no\x20runId\x20provided;\x20nothing\x20to\x20aggregate','./modules/playwrightDriverModule','xbyLr','mergeIntoTags','buildHashedId','getBuildTagsRunId','mergeBuildLevelTags','writeFile','./framework/automationFramework','filter','now','2590596NiKYqS','9HlRHch','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20','81669dJwRdO','qoGUZ','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','lgjdl','debug','clearTags','[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier=','deYqg','unlinkSync','KEY_TEST_ID','values','GYJHu','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','.json','XSelj','keys','POST','mergeValues','jZHzO','retry','buildLevelTags','name','2464952fjvfiA','./browserstackCLI','toObject','346864ZvDaVQ'];a73_0x31b4=function(){return _0x533d90;};return a73_0x31b4();}(function(_0x3a6cd4,_0x42efcf){const _0x435630=a73_0x585e,_0x114960=_0x3a6cd4();while(!![]){try{const _0x18ee2=-parseInt(_0x435630(0x171))/0x1*(parseInt(_0x435630(0x1a8))/0x2)+-parseInt(_0x435630(0x18b))/0x3+parseInt(_0x435630(0x1b2))/0x4+parseInt(_0x435630(0x1b8))/0x5+-parseInt(_0x435630(0x1fb))/0x6+parseInt(_0x435630(0x18a))/0x7+-parseInt(_0x435630(0x187))/0x8*(-parseInt(_0x435630(0x16f))/0x9);if(_0x18ee2===_0x42efcf)break;else _0x114960['push'](_0x114960['shift']());}catch(_0x283c63){_0x114960['push'](_0x114960['shift']());}}}(a73_0x31b4,0x38d76));const fs=require('fs'),os=require('os'),path=require(a73_0x5911bb(0x1c1)),helper=require('../../helpers/helper'),AutomationFramework=require(a73_0x5911bb(0x1f8)),TestFrameworkConstants=require(a73_0x5911bb(0x19d)),PlaywrightDriverModule=require(a73_0x5911bb(0x1f1)),TestInfo=require(a73_0x5911bb(0x1de)),TestHubModule=require(a73_0x5911bb(0x195)),{createClassLogger}=require('../../helpers/classLogger'),logger=createClassLogger(a73_0x5911bb(0x18c)),BUILD_TAG_FILE_PREFIX='bstack_build_tags_';function getBuildTagsRunId(){const _0x1db9e8=a73_0x5911bb,_0x4b56b4={};_0x4b56b4[_0x1db9e8(0x1d4)]=function(_0x586d6d,_0x2e8e34){return _0x586d6d===_0x2e8e34;},_0x4b56b4[_0x1db9e8(0x1be)]=_0x1db9e8(0x196);const _0x23a197=_0x4b56b4,_0x1b7053=process[_0x1db9e8(0x1b0)]['BROWSERSTACK_TESTHUB_UUID'];if(!_0x1b7053||_0x23a197[_0x1db9e8(0x1d4)](_0x1b7053,_0x23a197[_0x1db9e8(0x1be)]))return null;return _0x1b7053;}function getBuildTagsFilePath(_0x567a42){const _0x25160f=a73_0x5911bb;return path['join'](os[_0x25160f(0x1d3)](),''+BUILD_TAG_FILE_PREFIX+_0x567a42+'_'+process['pid']+'.json');}class CustomTagManager{static [a73_0x5911bb(0x185)]={};static [a73_0x5911bb(0x1c5)]={};static[a73_0x5911bb(0x182)](_0x30602f,_0x235ae1){return Array['from'](new Set([..._0x30602f||[],..._0x235ae1||[]]));}static['mergeIntoTags'](_0x368102,_0x16d94e,_0xa84891){const _0x5a44da=a73_0x5911bb,_0x58f341={};_0x58f341[_0x5a44da(0x17f)]=_0x5a44da(0x1c0);const _0x580809=_0x58f341;if(!_0x368102[_0x16d94e]){const _0x2f1abe={};_0x2f1abe['field_type']=_0x580809[_0x5a44da(0x17f)],_0x2f1abe[_0x5a44da(0x17b)]=[..._0xa84891||[]],_0x368102[_0x16d94e]=_0x2f1abe;}else!_0x368102[_0x16d94e][_0x5a44da(0x19b)]&&(_0x368102[_0x16d94e]['field_type']=_0x580809['XSelj']),!Array[_0x5a44da(0x192)](_0x368102[_0x16d94e]['values'])&&(_0x368102[_0x16d94e]['values']=[]),_0x368102[_0x16d94e]['values']=CustomTagManager[_0x5a44da(0x182)](_0x368102[_0x16d94e][_0x5a44da(0x17b)],_0xa84891);return _0x368102;}static async['setCustomTags'](_0x2c1f60,_0x342283,_0x502c3d=![]){const _0x243ae6=a73_0x5911bb,_0x382f3f={'kDEVe':function(_0x4354f5,_0x20e068){return _0x4354f5!==_0x20e068;},'BEbDy':'string','pVsZh':_0x243ae6(0x1dc),'QVetG':_0x243ae6(0x1a5),'pkJWE':function(_0x294e3a,_0x4c2557){return _0x294e3a===_0x4c2557;},'VcIsX':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','UjBWE':function(_0x558f61,_0x568464){return _0x558f61===_0x568464;},'rCqSx':_0x243ae6(0x18d),'jZHzO':function(_0x1732ff,_0x308bb2){return _0x1732ff(_0x308bb2);},'shvWg':_0x243ae6(0x188),'Bduru':function(_0x5dc546){return _0x5dc546();},'DJmFm':_0x243ae6(0x1c0),'zFAYl':function(_0x11e43f,_0x291f5d){return _0x11e43f>_0x291f5d;},'deYqg':'CustomTagManager.setCustomTags:\x20BROWSERSTACK_TESTHUB_UUID\x20not\x20set;\x20skipping\x20build-tag\x20temp-file\x20write','lgjdl':_0x243ae6(0x1ed),'GoNjF':_0x243ae6(0x1cd),'dQSgb':function(_0x530b0f,_0x4f854b){return _0x530b0f(_0x4f854b);},'ZPNNX':function(_0x4be83d,_0x3b9046){return _0x4be83d===_0x3b9046;},'HjRdY':_0x243ae6(0x1ca),'xbyLr':_0x243ae6(0x1a4),'qjjpf':function(_0x3bec7f,_0xb79d74){return _0x3bec7f(_0xb79d74);},'WtRao':_0x243ae6(0x17d),'GYJHu':_0x243ae6(0x19f),'GCIei':function(_0x2c508d,_0x5716f6){return _0x2c508d(_0x5716f6);},'grrbF':_0x243ae6(0x1ee),'KAYdS':_0x243ae6(0x1b3)};if(_0x382f3f['kDEVe'](typeof _0x2c1f60,_0x382f3f[_0x243ae6(0x18e)])){logger['debug'](_0x382f3f[_0x243ae6(0x19a)]);return;}if(_0x382f3f['kDEVe'](typeof _0x342283,_0x382f3f[_0x243ae6(0x18e)])){logger[_0x243ae6(0x175)](_0x382f3f[_0x243ae6(0x1c6)]);return;}if(_0x382f3f[_0x243ae6(0x1ce)](_0x2c1f60[_0x243ae6(0x1a7)](),'')){logger[_0x243ae6(0x175)](_0x382f3f[_0x243ae6(0x1a0)]);return;}if(_0x382f3f['UjBWE'](_0x342283[_0x243ae6(0x1a7)](),'')){logger[_0x243ae6(0x175)](_0x382f3f['rCqSx']);return;}const _0x4d1f16=helper[_0x243ae6(0x1eb)](_0x342283);if(_0x502c3d){const _0x5de77b=_0x382f3f[_0x243ae6(0x183)](require,_0x382f3f['shvWg']),_0x4971f1=_0x5de77b['getInstance'](),_0x4930ad=_0x4971f1&&_0x4971f1[_0x243ae6(0x1c8)][TestHubModule[_0x243ae6(0x1dd)]];if(_0x4930ad){const _0x1ffef3=_0x4930ad?.[_0x243ae6(0x1ba)]?.[_0x243ae6(0x189)]()?.[_0x243ae6(0x1f4)];TestInfo[_0x243ae6(0x1d2)](_0x1ffef3);const _0x334f9b=TestInfo[_0x243ae6(0x1e4)](_0x1ffef3),_0x387499=_0x334f9b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};CustomTagManager['mergeIntoTags'](_0x387499,_0x2c1f60,_0x4d1f16),_0x334f9b[TestFrameworkConstants[_0x243ae6(0x1a1)]]=_0x387499,TestInfo[_0x243ae6(0x1d8)](_0x1ffef3,_0x334f9b);!this[_0x243ae6(0x185)][_0x1ffef3]&&(this['buildLevelTags'][_0x1ffef3]={});this['buildLevelTags'][_0x1ffef3][_0x2c1f60]=CustomTagManager[_0x243ae6(0x182)](this['buildLevelTags'][_0x1ffef3][_0x2c1f60],_0x4d1f16);try{const _0x2f3d94=_0x382f3f['Bduru'](getBuildTagsRunId);if(_0x2f3d94){const _0xc74221={};for(const [_0x36dca6,_0x3341ff]of Object[_0x243ae6(0x1a3)](this[_0x243ae6(0x185)][_0x1ffef3]||{})){_0xc74221[_0x36dca6]={'field_type':_0x382f3f[_0x243ae6(0x1b4)],'values':Array[_0x243ae6(0x192)](_0x3341ff)?[..._0x3341ff]:[]};}_0x382f3f[_0x243ae6(0x1ec)](Object[_0x243ae6(0x180)](_0xc74221)[_0x243ae6(0x1da)],0x0)&&await fs[_0x243ae6(0x1bb)][_0x243ae6(0x1f7)](_0x382f3f[_0x243ae6(0x183)](getBuildTagsFilePath,_0x2f3d94),JSON[_0x243ae6(0x18f)](_0xc74221));}else logger[_0x243ae6(0x175)](_0x382f3f[_0x243ae6(0x178)]);}catch(_0x44a8e5){logger[_0x243ae6(0x175)]('CustomTagManager.setCustomTags:\x20build-tag\x20temp-file\x20write\x20failed:\x20'+(_0x44a8e5&&_0x44a8e5[_0x243ae6(0x1aa)]?_0x44a8e5['message']:_0x44a8e5));}}}else{let _0x133c35;const _0x976eff=global['__jestCurrentTestIdentifier'];let _0x17a24b=![];if(_0x976eff&&_0x976eff[_0x243ae6(0x1d0)](_0x382f3f[_0x243ae6(0x174)]))_0x17a24b=!![],_0x133c35=_0x976eff;else try{const _0x56809a=_0x382f3f['jZHzO'](require,_0x382f3f[_0x243ae6(0x1d7)]),_0x571049=_0x382f3f[_0x243ae6(0x1ae)](require,_0x382f3f[_0x243ae6(0x1e0)]);if(_0x571049['getInstance']()[_0x243ae6(0x1a9)]()){const _0xcacff3=_0x56809a[_0x243ae6(0x1b1)]();if(_0x382f3f[_0x243ae6(0x1d1)](_0xcacff3?.[_0x243ae6(0x186)]?.['toLowerCase'](),_0x382f3f[_0x243ae6(0x1c2)])){const _0x2beb0b=AutomationFramework['getTrackedInstance']();_0x133c35=AutomationFramework[_0x243ae6(0x191)](_0x2beb0b,PlaywrightDriverModule['KEY_TEST_ID'],''),_0x133c35&&_0x133c35[_0x243ae6(0x1d0)](_0x382f3f[_0x243ae6(0x174)])&&(_0x17a24b=!![]);}}}catch(_0x28756c){logger[_0x243ae6(0x175)](_0x243ae6(0x173)+_0x28756c);}if(_0x17a24b){if(!_0x133c35)throw new Error(_0x382f3f[_0x243ae6(0x1f2)]);const _0x4ecdfe=_0x382f3f[_0x243ae6(0x194)](require,_0x382f3f[_0x243ae6(0x1e0)]),_0x500c1c=_0x4ecdfe[_0x243ae6(0x193)]()[_0x243ae6(0x1c7)]();if(!_0x500c1c)throw new Error(_0x382f3f[_0x243ae6(0x1cb)]);const _0x1ab745=_0x382f3f[_0x243ae6(0x194)](require,_0x382f3f[_0x243ae6(0x17c)]),_0x25b0a0=_0x382f3f[_0x243ae6(0x1ad)](require,_0x382f3f[_0x243ae6(0x1ef)]),_0x220c0f=_0x500c1c[_0x243ae6(0x1b7)](_0x1ab745[_0x243ae6(0x198)],_0x25b0a0[_0x243ae6(0x181)]);if(!_0x220c0f)throw new Error(_0x382f3f[_0x243ae6(0x1c4)]);const _0x5bb0ec=_0x220c0f['getAllData']()[_0x243ae6(0x1c9)](_0x133c35)||{},_0x4a81f3=_0x5bb0ec[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger['debug'](_0x243ae6(0x190)+_0x133c35+_0x243ae6(0x1d5)+_0x2c1f60+_0x243ae6(0x1db)+JSON[_0x243ae6(0x18f)](_0x4d1f16)+_0x243ae6(0x1b5)+JSON['stringify'](_0x4a81f3)),CustomTagManager[_0x243ae6(0x1f3)](_0x4a81f3,_0x2c1f60,_0x4d1f16),logger[_0x243ae6(0x175)](_0x243ae6(0x1cc)+_0x2c1f60+_0x243ae6(0x1bd)+JSON[_0x243ae6(0x18f)](_0x4a81f3[_0x2c1f60]['values']));const _0x2a53ee={[TestFrameworkConstants[_0x243ae6(0x1a1)]]:_0x4a81f3},_0x3a776d={};_0x3a776d[_0x133c35]=_0x2a53ee,_0x220c0f[_0x243ae6(0x1ac)](_0x3a776d),logger[_0x243ae6(0x175)](_0x243ae6(0x177)+_0x133c35+',\x20finalTags='+JSON[_0x243ae6(0x18f)](_0x4a81f3)),!this[_0x243ae6(0x1c5)][_0x133c35]&&(this[_0x243ae6(0x1c5)][_0x133c35]={}),this[_0x243ae6(0x1c5)][_0x133c35][_0x2c1f60]=CustomTagManager['mergeValues'](this[_0x243ae6(0x1c5)][_0x133c35][_0x2c1f60],_0x4d1f16);}else{const _0x280216=global['__workerDetails']?.['currentTest']?.[_0x243ae6(0x1e5)];if(!_0x280216){const _0x753d98=AutomationFramework[_0x243ae6(0x1bf)]();_0x133c35=AutomationFramework['getState'](_0x753d98,PlaywrightDriverModule[_0x243ae6(0x17a)],'');}else _0x133c35=TestInfo[_0x243ae6(0x1b9)](_0x280216,_0x280216[_0x243ae6(0x184)]);const _0x301b70=TestInfo[_0x243ae6(0x1e4)](_0x133c35),_0x86f9de=_0x301b70[TestFrameworkConstants[_0x243ae6(0x1a1)]]||{};CustomTagManager[_0x243ae6(0x1f3)](_0x86f9de,_0x2c1f60,_0x4d1f16),_0x301b70[TestFrameworkConstants[_0x243ae6(0x1a1)]]=_0x86f9de,TestInfo['setTestDetails'](_0x133c35,_0x301b70),!this[_0x243ae6(0x1c5)][_0x133c35]&&(this[_0x243ae6(0x1c5)][_0x133c35]={}),this[_0x243ae6(0x1c5)][_0x133c35][_0x2c1f60]=CustomTagManager[_0x243ae6(0x182)](this['testLevelTags'][_0x133c35][_0x2c1f60],_0x4d1f16);}}}static['getBuildLevelTags'](){const _0x3efebc=a73_0x5911bb,_0x57d848={...this[_0x3efebc(0x185)]};return _0x57d848;}static[a73_0x5911bb(0x1a2)](){const _0x369155=a73_0x5911bb,_0x215cd9={...this[_0x369155(0x1c5)]};return _0x215cd9;}static[a73_0x5911bb(0x176)](){const _0x32d845=a73_0x5911bb;this[_0x32d845(0x185)]={},this[_0x32d845(0x1c5)]={};}static['mergeBuildLevelTags'](_0x1a4101,_0x77675f){const _0x36270b=a73_0x5911bb,_0x233221={};_0x233221['vgrjE']=function(_0x161ad7,_0x2aeaaa){return _0x161ad7||_0x2aeaaa;};const _0x2b5b53=_0x233221;if(!_0x1a4101)return;!this[_0x36270b(0x185)][_0x1a4101]&&(this['buildLevelTags'][_0x1a4101]={});for(const [_0x3d43c1,_0x551e87]of Object[_0x36270b(0x1a3)](_0x2b5b53[_0x36270b(0x1bc)](_0x77675f,{}))){if(!_0x551e87||!Array[_0x36270b(0x192)](_0x551e87[_0x36270b(0x17b)]))continue;this[_0x36270b(0x185)][_0x1a4101][_0x3d43c1]=CustomTagManager['mergeValues'](this[_0x36270b(0x185)][_0x1a4101][_0x3d43c1],_0x551e87['values']);}}static[a73_0x5911bb(0x199)](_0xf93bb,_0x4b3451){const _0x426e27=a73_0x5911bb,_0x42509d={};_0x42509d[_0x426e27(0x1d6)]=_0x426e27(0x1f0),_0x42509d[_0x426e27(0x1ea)]=function(_0x1419ac,_0xc78aec){return _0x1419ac*_0xc78aec;},_0x42509d[_0x426e27(0x1e2)]=function(_0x45c082,_0x50c2e5){return _0x45c082>_0x50c2e5;},_0x42509d[_0x426e27(0x1d9)]=function(_0x4177bf,_0x312c8d){return _0x4177bf-_0x312c8d;},_0x42509d['qoGUZ']=_0x426e27(0x1b6);const _0x4fb367=_0x42509d;if(!_0xf93bb)return logger[_0x426e27(0x175)](_0x4fb367[_0x426e27(0x1d6)]),0x0;let _0x9722e3;try{_0x9722e3=os['tmpdir']();}catch(_0x880ea8){return logger[_0x426e27(0x175)](_0x426e27(0x1e9)+_0x880ea8),0x0;}let _0x2fe8cb;try{_0x2fe8cb=fs[_0x426e27(0x197)](_0x9722e3);}catch(_0x553ad5){return logger[_0x426e27(0x175)](_0x426e27(0x1cf)+_0x553ad5),0x0;}const _0x1d4380=''+BUILD_TAG_FILE_PREFIX+_0xf93bb+'_',_0x4d6569=_0x2fe8cb[_0x426e27(0x1f9)](_0x69e624=>_0x69e624[_0x426e27(0x1e1)](_0x1d4380)&&_0x69e624[_0x426e27(0x19c)](_0x426e27(0x17e))),_0x3050f2=_0x4fb367[_0x426e27(0x1ea)](_0x4fb367[_0x426e27(0x1ea)](_0x4fb367[_0x426e27(0x1ea)](0x2,0x3c),0x3c),0x3e8);let _0x24fdc2=0x0;for(const _0x2179a3 of _0x4d6569){const _0x325e24=path[_0x426e27(0x1e6)](_0x9722e3,_0x2179a3);try{const _0x37b338=fs['statSync'](_0x325e24);if(_0x4fb367['tpcfE'](_0x4fb367[_0x426e27(0x1d9)](Date[_0x426e27(0x1fa)](),_0x37b338[_0x426e27(0x1ab)]),_0x3050f2)){logger[_0x426e27(0x175)](_0x426e27(0x1e7)+_0x3050f2+_0x426e27(0x1a6)+_0x2179a3);try{fs[_0x426e27(0x179)](_0x325e24);}catch(_0x321b1e){logger[_0x426e27(0x175)](_0x426e27(0x1af)+_0x2179a3+':\x20'+(_0x321b1e&&_0x321b1e['message']?_0x321b1e['message']:_0x321b1e));}continue;}const _0x344297=fs[_0x426e27(0x1df)](_0x325e24,_0x4fb367[_0x426e27(0x172)]),_0x1fb7b1=JSON['parse'](_0x344297);this[_0x426e27(0x1f6)](_0x4b3451,_0x1fb7b1),_0x24fdc2+=0x1;}catch(_0x4c1f43){logger['debug'](_0x426e27(0x1e8)+_0x2179a3+':\x20'+(_0x4c1f43&&_0x4c1f43['message']?_0x4c1f43[_0x426e27(0x1aa)]:_0x4c1f43));}try{fs[_0x426e27(0x179)](_0x325e24);}catch(_0x243b6e){logger[_0x426e27(0x175)](_0x426e27(0x170)+_0x2179a3+':\x20'+(_0x243b6e&&_0x243b6e[_0x426e27(0x1aa)]?_0x243b6e['message']:_0x243b6e));}}return _0x24fdc2;}}function a73_0x585e(_0x584d2e,_0x1cc7ad){const _0x31b455=a73_0x31b4();return a73_0x585e=function(_0x585efa,_0x3ffc13){_0x585efa=_0x585efa-0x16f;let _0xfe6fc9=_0x31b455[_0x585efa];return _0xfe6fc9;},a73_0x585e(_0x584d2e,_0x1cc7ad);}const a73_0x49bbe0={};a73_0x49bbe0[a73_0x5911bb(0x1f5)]=getBuildTagsRunId,a73_0x49bbe0['getBuildTagsFilePath']=getBuildTagsFilePath,a73_0x49bbe0[a73_0x5911bb(0x1c3)]=BUILD_TAG_FILE_PREFIX,CustomTagManager[a73_0x5911bb(0x19e)]=a73_0x49bbe0,module[a73_0x5911bb(0x1e3)]=CustomTagManager;
1
+ 'use strict';function a73_0x48a8(){const _0x2516f1=['636833KOLVpZ','getAllData','join','keys','POST','UJTzy','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','from','promises','debug','PFNor','NsjTk','parseCommaSeparatedValues','length','dbpVo','testLevelTags','startsWith','3obcbeP','getInstance','KEY_TEST_ID','./modules/playwrightDriverModule','now','CustomTagManager.setCustomTags:\x20build-tag\x20temp-file\x20write\x20failed:\x20','getTestIdentifierFromTestInfo','4025690oSRwnX','./browserstackCLI','multi_dropdown','jFqiB','2996328TseLhQ','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','jPtQC','KEY_CUSTOM_TAGS','toObject','mergeValues','values','endsWith','[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier=','getTrackedInstance','message','./state/testFrameworkState','AKDcP','writeFile','getTestDetails','binYa','CustomTagManager','9fFtzgK','testhubConfig','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','Lzrza','./state/hookState','clearTags','42730bqmowX','../../helpers/helper','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','unlinkSync','get','readFileSync','getBuildTagsRunId','path','wGOLO','readdirSync','ZXedS','buildHashedId','CustomTagManager.setCustomTags:\x20BROWSERSTACK_TESTHUB_UUID\x20not\x20set;\x20skipping\x20build-tag\x20temp-file\x20write','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20no\x20runId\x20provided;\x20nothing\x20to\x20aggregate','wAvBt',',\x20values=','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20skipping\x20stale\x20file\x20(>','DLosB','__jestCurrentTestIdentifier','bmLVW','string','field_type','CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20readdir\x20failed:\x20','./cliUtils','mergeIntoTags','NUVhh','./TestInfo','getBuildTagsFilePath','includes','pid','setTestDetails','trim','[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyName\x20—\x20no-op\x20per\x20API\x20contract','isArray','\x20->\x20values=','toLowerCase','366KASKRm','XUtsv','FWOQa','72JKaInI','hEfMA','null','603624pzilxC','getTestFrameworkDetail','MODULE_NAME','isRunning','buildLevelTags',',\x20key=','entries','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','Scuog','./framework/automationFramework','resolveInstance','vVlbu','kNZZq','testInfo','getTestUUID','cNgBr','BROWSERSTACK_TESTHUB_UUID','filter','YKMHt',',\x20finalTags=',':jest-','mtimeMs','.json','rXTth',',\x20existingTags=','bstack_build_tags_','__workerDetails','kNAwy','SZlkQ','parse','../../helpers/classLogger','4708000qpbmwN','_testInternals','getState','1463834LBHegk','tmpdir','pbTJV','mioGJ','PIgnP','mWerh','stringify','setCustomTags'];a73_0x48a8=function(){return _0x2516f1;};return a73_0x48a8();}const a73_0x2bb70d=a73_0x25db;function a73_0x25db(_0x3ddb0c,_0x333ab8){const _0x48a8ee=a73_0x48a8();return a73_0x25db=function(_0x25db7c,_0xeb5446){_0x25db7c=_0x25db7c-0x11a;let _0x4c73e7=_0x48a8ee[_0x25db7c];return _0x4c73e7;},a73_0x25db(_0x3ddb0c,_0x333ab8);}(function(_0x2f290d,_0x2ff4cc){const _0x4b8767=a73_0x25db,_0x452956=_0x2f290d();while(!![]){try{const _0xc55fd4=parseInt(_0x4b8767(0x150))/0x1+-parseInt(_0x4b8767(0x148))/0x2+parseInt(_0x4b8767(0x161))/0x3*(parseInt(_0x4b8767(0x16c))/0x4)+-parseInt(_0x4b8767(0x183))/0x5*(-parseInt(_0x4b8767(0x120))/0x6)+parseInt(_0x4b8767(0x126))/0x7*(-parseInt(_0x4b8767(0x123))/0x8)+-parseInt(_0x4b8767(0x17d))/0x9*(parseInt(_0x4b8767(0x168))/0xa)+parseInt(_0x4b8767(0x145))/0xb;if(_0xc55fd4===_0x2ff4cc)break;else _0x452956['push'](_0x452956['shift']());}catch(_0x5b6137){_0x452956['push'](_0x452956['shift']());}}}(a73_0x48a8,0x67ac7));const fs=require('fs'),os=require('os'),path=require(a73_0x2bb70d(0x18a)),helper=require(a73_0x2bb70d(0x184)),AutomationFramework=require(a73_0x2bb70d(0x12f)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),PlaywrightDriverModule=require(a73_0x2bb70d(0x164)),TestInfo=require(a73_0x2bb70d(0x19d)),TestHubModule=require('./modules/testhubModule'),{createClassLogger}=require(a73_0x2bb70d(0x144)),logger=createClassLogger(a73_0x2bb70d(0x17c)),BUILD_TAG_FILE_PREFIX=a73_0x2bb70d(0x13f);function getBuildTagsRunId(){const _0x464f4a=a73_0x2bb70d,_0x389539={};_0x389539[_0x464f4a(0x135)]=function(_0x7aa265,_0x2ee99c){return _0x7aa265===_0x2ee99c;},_0x389539[_0x464f4a(0x155)]=_0x464f4a(0x125);const _0x3c676b=_0x389539,_0x475d85=process['env'][_0x464f4a(0x136)];if(!_0x475d85||_0x3c676b[_0x464f4a(0x135)](_0x475d85,_0x3c676b['UJTzy']))return null;return _0x475d85;}function getBuildTagsFilePath(_0x235876){const _0x94289=a73_0x2bb70d;return path['join'](os[_0x94289(0x149)](),''+BUILD_TAG_FILE_PREFIX+_0x235876+'_'+process[_0x94289(0x1a0)]+_0x94289(0x13c));}class CustomTagManager{static [a73_0x2bb70d(0x12a)]={};static [a73_0x2bb70d(0x15f)]={};static['mergeValues'](_0x199337,_0x4f0ab2){const _0xdc2fa=a73_0x2bb70d;return Array[_0xdc2fa(0x157)](new Set([..._0x199337||[],..._0x4f0ab2||[]]));}static[a73_0x2bb70d(0x19b)](_0x5c89e2,_0x2a777a,_0x5040ac){const _0x66fb9d=a73_0x2bb70d,_0x42a173={};_0x42a173[_0x66fb9d(0x14a)]=_0x66fb9d(0x16a);const _0x4df926=_0x42a173;if(!_0x5c89e2[_0x2a777a]){const _0x2a05d1={};_0x2a05d1[_0x66fb9d(0x198)]=_0x4df926['pbTJV'],_0x2a05d1[_0x66fb9d(0x172)]=[..._0x5040ac||[]],_0x5c89e2[_0x2a777a]=_0x2a05d1;}else!_0x5c89e2[_0x2a777a][_0x66fb9d(0x198)]&&(_0x5c89e2[_0x2a777a][_0x66fb9d(0x198)]=_0x4df926[_0x66fb9d(0x14a)]),!Array['isArray'](_0x5c89e2[_0x2a777a][_0x66fb9d(0x172)])&&(_0x5c89e2[_0x2a777a][_0x66fb9d(0x172)]=[]),_0x5c89e2[_0x2a777a]['values']=CustomTagManager['mergeValues'](_0x5c89e2[_0x2a777a]['values'],_0x5040ac);return _0x5c89e2;}static async[a73_0x2bb70d(0x14f)](_0x419950,_0x1cbacf,_0x54c3a1=![]){const _0xc4ab69=a73_0x2bb70d,_0x5528b9={'rXTth':function(_0x978d8c,_0x186603){return _0x978d8c!==_0x186603;},'mWerh':_0xc4ab69(0x197),'wGOLO':_0xc4ab69(0x156),'kNAwy':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20non-string\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','binYa':function(_0x57e7a4,_0x491909){return _0x57e7a4===_0x491909;},'AKDcP':_0xc4ab69(0x11c),'PFNor':'[CustomTagManager]\x20setCustomTags:\x20ignoring\x20empty\x20keyValue\x20—\x20no-op\x20per\x20API\x20contract','XUtsv':function(_0x594a2a,_0x9c76e0){return _0x594a2a(_0x9c76e0);},'jFqiB':_0xc4ab69(0x169),'bmLVW':function(_0x3c62ca){return _0x3c62ca();},'NwBnn':_0xc4ab69(0x16a),'jPtQC':function(_0x3aa89f,_0x516a27){return _0x3aa89f>_0x516a27;},'NsjTk':function(_0x4c50da,_0x732a1c){return _0x4c50da(_0x732a1c);},'Scuog':_0xc4ab69(0x18f),'NUVhh':_0xc4ab69(0x13a),'kNZZq':_0xc4ab69(0x19a),'mioGJ':'jest','wAvBt':'CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','vVlbu':_0xc4ab69(0x16d),'iEzpv':function(_0x37e997,_0x2acdb4){return _0x37e997(_0x2acdb4);},'Fqmez':_0xc4ab69(0x177),'DLosB':_0xc4ab69(0x181),'hEfMA':_0xc4ab69(0x185)};if(_0x5528b9[_0xc4ab69(0x13d)](typeof _0x419950,_0x5528b9['mWerh'])){logger['debug'](_0x5528b9[_0xc4ab69(0x18b)]);return;}if(_0x5528b9[_0xc4ab69(0x13d)](typeof _0x1cbacf,_0x5528b9[_0xc4ab69(0x14d)])){logger[_0xc4ab69(0x159)](_0x5528b9[_0xc4ab69(0x141)]);return;}if(_0x5528b9[_0xc4ab69(0x17b)](_0x419950['trim'](),'')){logger['debug'](_0x5528b9[_0xc4ab69(0x178)]);return;}if(_0x5528b9[_0xc4ab69(0x17b)](_0x1cbacf[_0xc4ab69(0x11b)](),'')){logger['debug'](_0x5528b9[_0xc4ab69(0x15a)]);return;}const _0x4d5ef9=helper[_0xc4ab69(0x15c)](_0x1cbacf);if(_0x54c3a1){const _0x29cf49=_0x5528b9[_0xc4ab69(0x121)](require,_0x5528b9[_0xc4ab69(0x16b)]),_0x32c2c8=_0x29cf49[_0xc4ab69(0x162)](),_0x296eb0=_0x32c2c8&&_0x32c2c8['modules'][TestHubModule[_0xc4ab69(0x128)]];if(_0x296eb0){const _0x201de9=_0x296eb0?.[_0xc4ab69(0x17e)]?.[_0xc4ab69(0x170)]()?.[_0xc4ab69(0x18e)];TestInfo[_0xc4ab69(0x134)](_0x201de9);const _0x16644f=TestInfo[_0xc4ab69(0x17a)](_0x201de9),_0x57462c=_0x16644f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};CustomTagManager[_0xc4ab69(0x19b)](_0x57462c,_0x419950,_0x4d5ef9),_0x16644f[TestFrameworkConstants[_0xc4ab69(0x16f)]]=_0x57462c,TestInfo['setTestDetails'](_0x201de9,_0x16644f);!this[_0xc4ab69(0x12a)][_0x201de9]&&(this['buildLevelTags'][_0x201de9]={});this[_0xc4ab69(0x12a)][_0x201de9][_0x419950]=CustomTagManager['mergeValues'](this[_0xc4ab69(0x12a)][_0x201de9][_0x419950],_0x4d5ef9);try{const _0x15f37c=_0x5528b9[_0xc4ab69(0x196)](getBuildTagsRunId);if(_0x15f37c){const _0x128ba8={};for(const [_0x35b12a,_0x260f47]of Object[_0xc4ab69(0x12c)](this[_0xc4ab69(0x12a)][_0x201de9]||{})){_0x128ba8[_0x35b12a]={'field_type':_0x5528b9['NwBnn'],'values':Array[_0xc4ab69(0x11d)](_0x260f47)?[..._0x260f47]:[]};}_0x5528b9[_0xc4ab69(0x16e)](Object[_0xc4ab69(0x153)](_0x128ba8)[_0xc4ab69(0x15d)],0x0)&&await fs[_0xc4ab69(0x158)][_0xc4ab69(0x179)](_0x5528b9['NsjTk'](getBuildTagsFilePath,_0x15f37c),JSON[_0xc4ab69(0x14e)](_0x128ba8));}else logger[_0xc4ab69(0x159)](_0x5528b9[_0xc4ab69(0x12e)]);}catch(_0x3ceea8){logger[_0xc4ab69(0x159)](_0xc4ab69(0x166)+(_0x3ceea8&&_0x3ceea8[_0xc4ab69(0x176)]?_0x3ceea8[_0xc4ab69(0x176)]:_0x3ceea8));}}}else{let _0xc3603f;const _0x47f9d6=global[_0xc4ab69(0x195)];let _0xcd6454=![];if(_0x47f9d6&&_0x47f9d6[_0xc4ab69(0x19f)](_0x5528b9['NUVhh']))_0xcd6454=!![],_0xc3603f=_0x47f9d6;else try{const _0x2c29ab=_0x5528b9[_0xc4ab69(0x15b)](require,_0x5528b9[_0xc4ab69(0x132)]),_0x11cae5=_0x5528b9[_0xc4ab69(0x15b)](require,_0x5528b9[_0xc4ab69(0x16b)]);if(_0x11cae5[_0xc4ab69(0x162)]()[_0xc4ab69(0x129)]()){const _0x56e47e=_0x2c29ab[_0xc4ab69(0x127)]();if(_0x5528b9[_0xc4ab69(0x17b)](_0x56e47e?.['name']?.[_0xc4ab69(0x11f)](),_0x5528b9[_0xc4ab69(0x14b)])){const _0x40f67d=AutomationFramework[_0xc4ab69(0x175)]();_0xc3603f=AutomationFramework[_0xc4ab69(0x147)](_0x40f67d,PlaywrightDriverModule[_0xc4ab69(0x163)],''),_0xc3603f&&_0xc3603f['includes'](_0x5528b9[_0xc4ab69(0x19c)])&&(_0xcd6454=!![]);}}}catch(_0x280db5){logger['debug'](_0xc4ab69(0x12d)+_0x280db5);}if(_0xcd6454){if(!_0xc3603f)throw new Error(_0x5528b9[_0xc4ab69(0x191)]);const _0xd192a3=_0x5528b9[_0xc4ab69(0x121)](require,_0x5528b9[_0xc4ab69(0x16b)]),_0x5536d3=_0xd192a3[_0xc4ab69(0x162)]()['getTestFramework']();if(!_0x5536d3)throw new Error(_0x5528b9[_0xc4ab69(0x131)]);const _0x1d14aa=_0x5528b9['iEzpv'](require,_0x5528b9['Fqmez']),_0x57bbe6=_0x5528b9[_0xc4ab69(0x15b)](require,_0x5528b9[_0xc4ab69(0x194)]),_0x42a015=_0x5536d3[_0xc4ab69(0x130)](_0x1d14aa['TEST'],_0x57bbe6[_0xc4ab69(0x154)]);if(!_0x42a015)throw new Error(_0x5528b9[_0xc4ab69(0x124)]);const _0x54eae8=_0x42a015[_0xc4ab69(0x151)]()[_0xc4ab69(0x187)](_0xc3603f)||{},_0x1aaada=_0x54eae8[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger[_0xc4ab69(0x159)](_0xc4ab69(0x17f)+_0xc3603f+_0xc4ab69(0x12b)+_0x419950+_0xc4ab69(0x192)+JSON[_0xc4ab69(0x14e)](_0x4d5ef9)+_0xc4ab69(0x13e)+JSON[_0xc4ab69(0x14e)](_0x1aaada)),CustomTagManager[_0xc4ab69(0x19b)](_0x1aaada,_0x419950,_0x4d5ef9),logger[_0xc4ab69(0x159)]('[CustomTagManager]\x20setCustomTags:\x20Merged\x20tag\x20key='+_0x419950+_0xc4ab69(0x11e)+JSON['stringify'](_0x1aaada[_0x419950][_0xc4ab69(0x172)]));const _0x3456d8={[TestFrameworkConstants[_0xc4ab69(0x16f)]]:_0x1aaada},_0x135c7a={};_0x135c7a[_0xc3603f]=_0x3456d8,_0x42a015['addMultipleEntries'](_0x135c7a),logger[_0xc4ab69(0x159)](_0xc4ab69(0x174)+_0xc3603f+_0xc4ab69(0x139)+JSON[_0xc4ab69(0x14e)](_0x1aaada)),!this[_0xc4ab69(0x15f)][_0xc3603f]&&(this[_0xc4ab69(0x15f)][_0xc3603f]={}),this['testLevelTags'][_0xc3603f][_0x419950]=CustomTagManager['mergeValues'](this[_0xc4ab69(0x15f)][_0xc3603f][_0x419950],_0x4d5ef9);}else{const _0x11c344=global[_0xc4ab69(0x140)]?.['currentTest']?.[_0xc4ab69(0x133)];if(!_0x11c344){const _0x424654=AutomationFramework[_0xc4ab69(0x175)]();_0xc3603f=AutomationFramework[_0xc4ab69(0x147)](_0x424654,PlaywrightDriverModule[_0xc4ab69(0x163)],'');}else _0xc3603f=TestInfo[_0xc4ab69(0x167)](_0x11c344,_0x11c344['retry']);const _0x59466c=TestInfo[_0xc4ab69(0x17a)](_0xc3603f),_0x425b34=_0x59466c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};CustomTagManager['mergeIntoTags'](_0x425b34,_0x419950,_0x4d5ef9),_0x59466c[TestFrameworkConstants[_0xc4ab69(0x16f)]]=_0x425b34,TestInfo[_0xc4ab69(0x11a)](_0xc3603f,_0x59466c),!this[_0xc4ab69(0x15f)][_0xc3603f]&&(this['testLevelTags'][_0xc3603f]={}),this[_0xc4ab69(0x15f)][_0xc3603f][_0x419950]=CustomTagManager[_0xc4ab69(0x171)](this[_0xc4ab69(0x15f)][_0xc3603f][_0x419950],_0x4d5ef9);}}}static['getBuildLevelTags'](){const _0x502aac=a73_0x2bb70d,_0x43ca30={...this[_0x502aac(0x12a)]};return _0x43ca30;}static['getTestLevelTags'](){const _0x10dbac={...this['testLevelTags']};return _0x10dbac;}static[a73_0x2bb70d(0x182)](){const _0x30ffc5=a73_0x2bb70d;this['buildLevelTags']={},this[_0x30ffc5(0x15f)]={};}static['mergeBuildLevelTags'](_0x4fdef7,_0x8564a1){const _0x24fe13=a73_0x2bb70d,_0x5786bb={};_0x5786bb[_0x24fe13(0x138)]=function(_0x3a338e,_0x38f1a4){return _0x3a338e||_0x38f1a4;};const _0x56144e=_0x5786bb;if(!_0x4fdef7)return;!this[_0x24fe13(0x12a)][_0x4fdef7]&&(this[_0x24fe13(0x12a)][_0x4fdef7]={});for(const [_0x37ab40,_0x341213]of Object[_0x24fe13(0x12c)](_0x56144e[_0x24fe13(0x138)](_0x8564a1,{}))){if(!_0x341213||!Array[_0x24fe13(0x11d)](_0x341213[_0x24fe13(0x172)]))continue;this['buildLevelTags'][_0x4fdef7][_0x37ab40]=CustomTagManager[_0x24fe13(0x171)](this[_0x24fe13(0x12a)][_0x4fdef7][_0x37ab40],_0x341213[_0x24fe13(0x172)]);}}static['aggregateBuildLevelTagsFromTmp'](_0x4af33d,_0x166c8e){const _0x5dc5a3=a73_0x2bb70d,_0x4ce5f4={};_0x4ce5f4[_0x5dc5a3(0x18d)]=_0x5dc5a3(0x190),_0x4ce5f4['SZlkQ']=function(_0x3e6c96,_0xdfaff2){return _0x3e6c96*_0xdfaff2;},_0x4ce5f4[_0x5dc5a3(0x180)]=function(_0x27c17b,_0x546b7c){return _0x27c17b*_0x546b7c;},_0x4ce5f4['HbnKs']=function(_0x540ef0,_0x3af5ae){return _0x540ef0*_0x3af5ae;},_0x4ce5f4[_0x5dc5a3(0x14c)]=function(_0x57a514,_0x2e6c83){return _0x57a514>_0x2e6c83;},_0x4ce5f4[_0x5dc5a3(0x122)]=function(_0x4cd497,_0x5d3b77){return _0x4cd497-_0x5d3b77;},_0x4ce5f4['dbpVo']='utf8';const _0xa380b4=_0x4ce5f4;if(!_0x4af33d)return logger['debug'](_0xa380b4['ZXedS']),0x0;let _0x1272c9;try{_0x1272c9=os['tmpdir']();}catch(_0x3f50f6){return logger['debug']('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20os.tmpdir()\x20failed:\x20'+_0x3f50f6),0x0;}let _0x40c714;try{_0x40c714=fs[_0x5dc5a3(0x18c)](_0x1272c9);}catch(_0x1f6e6e){return logger['debug'](_0x5dc5a3(0x199)+_0x1f6e6e),0x0;}const _0x54efbc=''+BUILD_TAG_FILE_PREFIX+_0x4af33d+'_',_0x55b38c=_0x40c714[_0x5dc5a3(0x137)](_0x1c3a24=>_0x1c3a24[_0x5dc5a3(0x160)](_0x54efbc)&&_0x1c3a24[_0x5dc5a3(0x173)](_0x5dc5a3(0x13c))),_0xe1e55d=_0xa380b4[_0x5dc5a3(0x142)](_0xa380b4[_0x5dc5a3(0x180)](_0xa380b4['HbnKs'](0x2,0x3c),0x3c),0x3e8);let _0xe104aa=0x0;for(const _0x198aa1 of _0x55b38c){const _0x3c9b8d=path[_0x5dc5a3(0x152)](_0x1272c9,_0x198aa1);try{const _0x46babe=fs['statSync'](_0x3c9b8d);if(_0xa380b4[_0x5dc5a3(0x14c)](_0xa380b4[_0x5dc5a3(0x122)](Date[_0x5dc5a3(0x165)](),_0x46babe[_0x5dc5a3(0x13b)]),_0xe1e55d)){logger[_0x5dc5a3(0x159)](_0x5dc5a3(0x193)+_0xe1e55d+'ms)\x20'+_0x198aa1);try{fs[_0x5dc5a3(0x186)](_0x3c9b8d);}catch(_0xd3a9e6){logger[_0x5dc5a3(0x159)]('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20stale\x20'+_0x198aa1+':\x20'+(_0xd3a9e6&&_0xd3a9e6[_0x5dc5a3(0x176)]?_0xd3a9e6[_0x5dc5a3(0x176)]:_0xd3a9e6));}continue;}const _0x89ec41=fs[_0x5dc5a3(0x188)](_0x3c9b8d,_0xa380b4[_0x5dc5a3(0x15e)]),_0x309e01=JSON[_0x5dc5a3(0x143)](_0x89ec41);this['mergeBuildLevelTags'](_0x166c8e,_0x309e01),_0xe104aa+=0x1;}catch(_0x51091d){logger['debug']('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20error\x20reading\x20'+_0x198aa1+':\x20'+(_0x51091d&&_0x51091d['message']?_0x51091d[_0x5dc5a3(0x176)]:_0x51091d));}try{fs['unlinkSync'](_0x3c9b8d);}catch(_0x24be35){logger[_0x5dc5a3(0x159)]('CustomTagManager.aggregateBuildLevelTagsFromTmp:\x20unlink\x20failed\x20for\x20'+_0x198aa1+':\x20'+(_0x24be35&&_0x24be35[_0x5dc5a3(0x176)]?_0x24be35[_0x5dc5a3(0x176)]:_0x24be35));}}return _0xe104aa;}}const a73_0x563db0={};a73_0x563db0[a73_0x2bb70d(0x189)]=getBuildTagsRunId,a73_0x563db0[a73_0x2bb70d(0x19e)]=getBuildTagsFilePath,a73_0x563db0['BUILD_TAG_FILE_PREFIX']=BUILD_TAG_FILE_PREFIX,CustomTagManager[a73_0x2bb70d(0x146)]=a73_0x563db0,module['exports']=CustomTagManager;
@@ -1 +1 @@
1
- function a74_0x4523(_0x48856b,_0x535df3){const _0x1b05ae=a74_0x1b05();return a74_0x4523=function(_0x452392,_0xbd0c1d){_0x452392=_0x452392-0x75;let _0x5a8b3b=_0x1b05ae[_0x452392];return _0x5a8b3b;},a74_0x4523(_0x48856b,_0x535df3);}const a74_0x512b23=a74_0x4523;(function(_0x225a11,_0x191bde){const _0x37ae24=a74_0x4523,_0x7dba9d=_0x225a11();while(!![]){try{const _0x4595cb=parseInt(_0x37ae24(0x7f))/0x1*(-parseInt(_0x37ae24(0x79))/0x2)+-parseInt(_0x37ae24(0x82))/0x3*(parseInt(_0x37ae24(0x78))/0x4)+parseInt(_0x37ae24(0x7b))/0x5*(parseInt(_0x37ae24(0x75))/0x6)+parseInt(_0x37ae24(0x7e))/0x7+-parseInt(_0x37ae24(0x83))/0x8+-parseInt(_0x37ae24(0x80))/0x9*(-parseInt(_0x37ae24(0x85))/0xa)+parseInt(_0x37ae24(0x77))/0xb;if(_0x4595cb===_0x191bde)break;else _0x7dba9d['push'](_0x7dba9d['shift']());}catch(_0x3dae6d){_0x7dba9d['push'](_0x7dba9d['shift']());}}}(a74_0x1b05,0x36827));const {createClassLogger}=require(a74_0x512b23(0x84));class EventDispatcher{static #instance=null;constructor(){const _0x4e6b16=a74_0x512b23;this[_0x4e6b16(0x7c)]={};}static[a74_0x512b23(0x76)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}['registerObserver'](_0x26f70a,_0x327fab){const _0x5e471f=a74_0x512b23;!this['observers'][_0x26f70a]&&(this[_0x5e471f(0x7c)][_0x26f70a]=[]),this[_0x5e471f(0x7c)][_0x26f70a]['push'](_0x327fab);}async[a74_0x512b23(0x81)](_0x16cd10,_0x4de9f9){const _0x4b1ca7=a74_0x512b23,_0x46e199={'siDCx':function(_0x15d83a,_0x24b96c){return _0x15d83a(_0x24b96c);}};if(this[_0x4b1ca7(0x7c)][_0x16cd10]){for(const _0x4ee783 of this[_0x4b1ca7(0x7c)][_0x16cd10]){await _0x46e199['siDCx'](_0x4ee783,_0x4de9f9);}return;}}}const eventDispatcher=EventDispatcher[a74_0x512b23(0x76)]();function a74_0x1b05(){const _0x3c3caa=['freeze','55rhYnLK','observers','exports','1475187VKzBHO','2237ueMOoL','8847nczgZa','notifyObserver','303LaXFvJ','2403392sfZPhz','../../helpers/classLogger.js','1880ZrhjTj','2670axdJmF','getInstance','4294917lZAZCY','5532ioxVrb','114MaeFgu'];a74_0x1b05=function(){return _0x3c3caa;};return a74_0x1b05();}Object[a74_0x512b23(0x7a)](eventDispatcher),module[a74_0x512b23(0x7d)]=eventDispatcher;
1
+ const a74_0x17829c=a74_0x31c8;(function(_0x57dc06,_0xecc422){const _0x57ed45=a74_0x31c8,_0x4400e3=_0x57dc06();while(!![]){try{const _0x284bc8=parseInt(_0x57ed45(0x152))/0x1*(parseInt(_0x57ed45(0x14e))/0x2)+parseInt(_0x57ed45(0x155))/0x3*(parseInt(_0x57ed45(0x14d))/0x4)+parseInt(_0x57ed45(0x150))/0x5*(parseInt(_0x57ed45(0x14b))/0x6)+-parseInt(_0x57ed45(0x158))/0x7+-parseInt(_0x57ed45(0x14f))/0x8+-parseInt(_0x57ed45(0x153))/0x9+parseInt(_0x57ed45(0x154))/0xa;if(_0x284bc8===_0xecc422)break;else _0x4400e3['push'](_0x4400e3['shift']());}catch(_0x3e8b30){_0x4400e3['push'](_0x4400e3['shift']());}}}(a74_0xd2ae,0x2c9f2));function a74_0xd2ae(){const _0x34652f=['1852158TDROWw','freeze','notifyObserver','../../helpers/classLogger.js','18zQImJO','observers','23176GhjdFv','60yolXNZ','2260208xOWZLH','40725ccpElq','qeleY','4394kYfweN','1604925jZfWDh','7461660ccWOyg','3WWcxcn','exports','registerObserver'];a74_0xd2ae=function(){return _0x34652f;};return a74_0xd2ae();}function a74_0x31c8(_0x52eca5,_0x43478c){const _0xd2ae7d=a74_0xd2ae();return a74_0x31c8=function(_0x31c84f,_0x395ce2){_0x31c84f=_0x31c84f-0x148;let _0x4b042f=_0xd2ae7d[_0x31c84f];return _0x4b042f;},a74_0x31c8(_0x52eca5,_0x43478c);}const {createClassLogger}=require(a74_0x17829c(0x14a));class EventDispatcher{static #instance=null;constructor(){const _0x59d563=a74_0x17829c;this[_0x59d563(0x14c)]={};}static['getInstance'](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a74_0x17829c(0x157)](_0x426816,_0x2a365d){const _0x59b7d6=a74_0x17829c;!this['observers'][_0x426816]&&(this[_0x59b7d6(0x14c)][_0x426816]=[]),this['observers'][_0x426816]['push'](_0x2a365d);}async[a74_0x17829c(0x149)](_0x1562db,_0x3ef7ee){const _0x388f73=a74_0x17829c,_0x225ad9={'qeleY':function(_0x2b6ca5,_0x504972){return _0x2b6ca5(_0x504972);}};if(this[_0x388f73(0x14c)][_0x1562db]){for(const _0x41b5a1 of this[_0x388f73(0x14c)][_0x1562db]){await _0x225ad9[_0x388f73(0x151)](_0x41b5a1,_0x3ef7ee);}return;}}}const eventDispatcher=EventDispatcher['getInstance']();Object[a74_0x17829c(0x148)](eventDispatcher),module[a74_0x17829c(0x156)]=eventDispatcher;
@@ -1 +1 @@
1
- const a75_0x3f0afd=a75_0x3ee9;function a75_0x4548(){const _0xf011a4=['636zpqLry','exports','../instances/trackedInstance.js','90nKhzIQ','setTrackedInstance','util','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','getState','getHookRegistryKey','3624zwwfdm','trackEvent','../../../helpers/classLogger.js','52005VqcjxH','294FaOmFo','3262lymLFL','automationFrameworkVersion','set','automationFrameworkName','runHooks','../cliUtils.js','getTrackedInstance','getAllData','174feJQQs','1672615UBuqXv','createContext','88880schugq','debug','setState','registerObserver','trackEvent:\x20automationFrameworkState=','1902YGGigb','instances','notifyObserver','getId','455496YZroad','get','getAutomationFrameworkName','automation_sessions','6522630kwdSFE'];a75_0x4548=function(){return _0xf011a4;};return a75_0x4548();}function a75_0x3ee9(_0x52b981,_0x355d45){const _0x45483f=a75_0x4548();return a75_0x3ee9=function(_0x3ee981,_0x330427){_0x3ee981=_0x3ee981-0xc3;let _0x185b05=_0x45483f[_0x3ee981];return _0x185b05;},a75_0x3ee9(_0x52b981,_0x355d45);}(function(_0x52b2ce,_0x23e173){const _0x497c37=a75_0x3ee9,_0x42a224=_0x52b2ce();while(!![]){try{const _0x35c9fd=-parseInt(_0x497c37(0xe2))/0x1*(parseInt(_0x497c37(0xe1))/0x2)+-parseInt(_0x497c37(0xcb))/0x3*(-parseInt(_0x497c37(0xdd))/0x4)+parseInt(_0x497c37(0xe0))/0x5*(-parseInt(_0x497c37(0xc3))/0x6)+-parseInt(_0x497c37(0xc4))/0x7+parseInt(_0x497c37(0xcf))/0x8*(parseInt(_0x497c37(0xd7))/0x9)+parseInt(_0x497c37(0xd3))/0xa+-parseInt(_0x497c37(0xc6))/0xb*(parseInt(_0x497c37(0xd4))/0xc);if(_0x35c9fd===_0x23e173)break;else _0x42a224['push'](_0x42a224['shift']());}catch(_0x421cf4){_0x42a224['push'](_0x42a224['shift']());}}}(a75_0x4548,0x54e3d));const {createClassLogger}=require(a75_0x3f0afd(0xdf)),util=require(a75_0x3f0afd(0xd9)),eventDispatcher=require('../eventDispatcher.js'),CLIUtils=require(a75_0x3f0afd(0xe7)),TrackedInstance=require(a75_0x3f0afd(0xd6)),logger=createClassLogger('AutomationFramework');class AutomationFramework{static [a75_0x3f0afd(0xcc)]=new Map();static ['KEY_AUTOMATION_SESSIONS']=a75_0x3f0afd(0xd2);static [a75_0x3f0afd(0xda)]='non_browserstack_automation_sessions';constructor(_0xff8739,_0x596406){const _0x44d0a7=a75_0x3f0afd;this[_0x44d0a7(0xe5)]=_0xff8739,this[_0x44d0a7(0xe3)]=_0x596406;}[a75_0x3f0afd(0xd1)](){const _0x58d42b=a75_0x3f0afd;return this[_0x58d42b(0xe5)];}['getAutomationFrameworkVersion'](){const _0x6d3b2b=a75_0x3f0afd;return this[_0x6d3b2b(0xe3)];}async[a75_0x3f0afd(0xde)](_0x2d6a00,_0x7c8b16,_0x54f5bb={}){const _0x1d4270=a75_0x3f0afd;logger[_0x1d4270(0xc7)](_0x1d4270(0xca)+_0x2d6a00+'\x20hookState='+_0x7c8b16);}async[a75_0x3f0afd(0xe6)](_0xa82555,_0x502e3f,_0x38da2e,_0x54026b={}){const _0x1677b9=a75_0x3f0afd,_0x495c67=CLIUtils[_0x1677b9(0xdc)](_0x502e3f,_0x38da2e);_0xa82555&&_0xa82555['setState'](_0x502e3f),await eventDispatcher[_0x1677b9(0xcd)](_0x495c67,_0x54026b);}static['registerObserver'](_0x18c441,_0x5c28b0,_0x50481e){const _0x5845f3=a75_0x3f0afd;eventDispatcher[_0x5845f3(0xc9)](CLIUtils[_0x5845f3(0xdc)](_0x18c441,_0x5c28b0),_0x50481e);}static[a75_0x3f0afd(0xd8)](_0x3a8221,_0x388fb6){const _0x549ada=a75_0x3f0afd;AutomationFramework[_0x549ada(0xcc)][_0x549ada(0xe4)](_0x3a8221[_0x549ada(0xce)](),_0x388fb6);}static[a75_0x3f0afd(0xe8)](){const _0x416213=a75_0x3f0afd,_0x40be2c=TrackedInstance[_0x416213(0xc5)](CLIUtils['getCurrentInstanceName']());return AutomationFramework['instances'][_0x416213(0xd0)](_0x40be2c[_0x416213(0xce)]());}static[a75_0x3f0afd(0xc8)](_0x42b052,_0x53abb2,_0x8eed20){const _0x5103ad=a75_0x3f0afd;_0x42b052[_0x5103ad(0xe9)]()[_0x5103ad(0xe4)](_0x53abb2,_0x8eed20);}static[a75_0x3f0afd(0xdb)](_0x5311d3,_0x1fb502){const _0x1ed242=a75_0x3f0afd;return _0x5311d3[_0x1ed242(0xe9)]()['get'](_0x1fb502);}}module[a75_0x3f0afd(0xd5)]=AutomationFramework;
1
+ const a75_0x258807=a75_0x2280;(function(_0x3ee680,_0x200d6a){const _0xa61d84=a75_0x2280,_0x402191=_0x3ee680();while(!![]){try{const _0x1d8d44=-parseInt(_0xa61d84(0x1cf))/0x1+-parseInt(_0xa61d84(0x1d5))/0x2*(parseInt(_0xa61d84(0x1be))/0x3)+-parseInt(_0xa61d84(0x1c7))/0x4*(parseInt(_0xa61d84(0x1bd))/0x5)+parseInt(_0xa61d84(0x1c5))/0x6*(-parseInt(_0xa61d84(0x1c0))/0x7)+parseInt(_0xa61d84(0x1c6))/0x8+-parseInt(_0xa61d84(0x1c3))/0x9*(parseInt(_0xa61d84(0x1db))/0xa)+parseInt(_0xa61d84(0x1d9))/0xb*(parseInt(_0xa61d84(0x1ce))/0xc);if(_0x1d8d44===_0x200d6a)break;else _0x402191['push'](_0x402191['shift']());}catch(_0x45f2f4){_0x402191['push'](_0x402191['shift']());}}}(a75_0x5873,0x74ca4));const {createClassLogger}=require(a75_0x258807(0x1c8)),util=require('util'),eventDispatcher=require(a75_0x258807(0x1b7)),CLIUtils=require(a75_0x258807(0x1ba)),TrackedInstance=require(a75_0x258807(0x1b9)),logger=createClassLogger(a75_0x258807(0x1d1));class AutomationFramework{static [a75_0x258807(0x1cc)]=new Map();static [a75_0x258807(0x1b5)]=a75_0x258807(0x1d2);static [a75_0x258807(0x1bc)]=a75_0x258807(0x1d8);constructor(_0x8d1ba1,_0x3ad6f7){const _0x386d0d=a75_0x258807;this[_0x386d0d(0x1c1)]=_0x8d1ba1,this[_0x386d0d(0x1cb)]=_0x3ad6f7;}['getAutomationFrameworkName'](){const _0x5e1130=a75_0x258807;return this[_0x5e1130(0x1c1)];}['getAutomationFrameworkVersion'](){const _0x4e0ef7=a75_0x258807;return this[_0x4e0ef7(0x1cb)];}async[a75_0x258807(0x1d6)](_0x13ac07,_0x547242,_0x392ae0={}){const _0x4118b4=a75_0x258807;logger[_0x4118b4(0x1d3)]('trackEvent:\x20automationFrameworkState='+_0x13ac07+_0x4118b4(0x1c9)+_0x547242);}async['runHooks'](_0x26b476,_0x1bc28b,_0x2d4062,_0x43199f={}){const _0x517e1a=a75_0x258807,_0x386e8a=CLIUtils['getHookRegistryKey'](_0x1bc28b,_0x2d4062);_0x26b476&&_0x26b476[_0x517e1a(0x1c2)](_0x1bc28b),await eventDispatcher[_0x517e1a(0x1bb)](_0x386e8a,_0x43199f);}static[a75_0x258807(0x1da)](_0x40157c,_0x25177b,_0x3bd205){const _0x4a152d=a75_0x258807;eventDispatcher[_0x4a152d(0x1da)](CLIUtils[_0x4a152d(0x1b6)](_0x40157c,_0x25177b),_0x3bd205);}static['setTrackedInstance'](_0x5439e6,_0x5ecdec){const _0x3a54bd=a75_0x258807;AutomationFramework[_0x3a54bd(0x1cc)]['set'](_0x5439e6[_0x3a54bd(0x1d4)](),_0x5ecdec);}static[a75_0x258807(0x1bf)](){const _0x544170=a75_0x258807,_0x282f8a=TrackedInstance[_0x544170(0x1b4)](CLIUtils[_0x544170(0x1d0)]());return AutomationFramework[_0x544170(0x1cc)][_0x544170(0x1c4)](_0x282f8a[_0x544170(0x1d4)]());}static[a75_0x258807(0x1c2)](_0xdf3ebe,_0x5c82c4,_0x3b6d8c){const _0x185f32=a75_0x258807;_0xdf3ebe[_0x185f32(0x1b8)]()[_0x185f32(0x1ca)](_0x5c82c4,_0x3b6d8c);}static[a75_0x258807(0x1d7)](_0x23fb95,_0x376f6d){const _0x28d0d1=a75_0x258807;return _0x23fb95[_0x28d0d1(0x1b8)]()[_0x28d0d1(0x1c4)](_0x376f6d);}}function a75_0x5873(){const _0x1b6b43=['setState','27BXrhDg','get','6GBqHeX','266096fcVEdK','260wEPkdu','../../../helpers/classLogger.js','\x20hookState=','set','automationFrameworkVersion','instances','exports','24eQUQux','915061qVHduk','getCurrentInstanceName','AutomationFramework','automation_sessions','debug','getId','2158qVOvOi','trackEvent','getState','non_browserstack_automation_sessions','15391585kXPtwU','registerObserver','1379390FzvykD','createContext','KEY_AUTOMATION_SESSIONS','getHookRegistryKey','../eventDispatcher.js','getAllData','../instances/trackedInstance.js','../cliUtils.js','notifyObserver','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','41435gywTYT','1161LIPHZv','getTrackedInstance','477778tjoqDN','automationFrameworkName'];a75_0x5873=function(){return _0x1b6b43;};return a75_0x5873();}function a75_0x2280(_0x5e9f33,_0x2999d9){const _0x58736d=a75_0x5873();return a75_0x2280=function(_0x22801c,_0x5dab0c){_0x22801c=_0x22801c-0x1b4;let _0x119353=_0x58736d[_0x22801c];return _0x119353;},a75_0x2280(_0x5e9f33,_0x2999d9);}module[a75_0x258807(0x1cd)]=AutomationFramework;
@@ -1 +1 @@
1
- const a76_0x123a89=a76_0x257f;function a76_0x3fb0(){const _0x411e68=['platform_index','hub_url','KEY_IS_BROWSERSTACK_HUB','3753243uABFya','is_browserstack_hub','screenshot','3657916pblEIM','5706064XKBMRl','COMMAND_QUIT','10blhusq','framework_session_id','started_at','2011892TZcPvT','w3cexecutescript','exports','300970DxJvUu','newsession','3iwNypO','1709076VkGQpe','KEY_FRAMEWORK_SESSION_ID','KEY_INPUT_CAPABILITIES','4740302KTaCDJ','KEY_STARTED_AT','KEY_ENDED_AT','w3cexecutescriptasync','KEY_CAPABILITIES','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','COMMAND_SCREENSHOT','ENV_BROWSERSTACK_PLATFORM_INDEX','KEY_PLATFORM_INDEX','input_capabilities'];a76_0x3fb0=function(){return _0x411e68;};return a76_0x3fb0();}function a76_0x257f(_0x5e2eda,_0xb37a7a){const _0x3fb0d8=a76_0x3fb0();return a76_0x257f=function(_0x257f6d,_0x5be705){_0x257f6d=_0x257f6d-0x146;let _0x4ffbb6=_0x3fb0d8[_0x257f6d];return _0x4ffbb6;},a76_0x257f(_0x5e2eda,_0xb37a7a);}(function(_0x271842,_0x249a00){const _0x4345ab=a76_0x257f,_0x17626a=_0x271842();while(!![]){try{const _0x467223=parseInt(_0x4345ab(0x15d))/0x1+-parseInt(_0x4345ab(0x15a))/0x2*(-parseInt(_0x4345ab(0x15f))/0x3)+-parseInt(_0x4345ab(0x154))/0x4+parseInt(_0x4345ab(0x157))/0x5*(parseInt(_0x4345ab(0x160))/0x6)+parseInt(_0x4345ab(0x163))/0x7+-parseInt(_0x4345ab(0x155))/0x8+-parseInt(_0x4345ab(0x151))/0x9;if(_0x467223===_0x249a00)break;else _0x17626a['push'](_0x17626a['shift']());}catch(_0x435171){_0x17626a['push'](_0x17626a['shift']());}}}(a76_0x3fb0,0x7c466));const a76_0x2358f8={};a76_0x2358f8[a76_0x123a89(0x14b)]='BROWSERSTACK_PLATFORM_INDEX',a76_0x2358f8['KEY_HUB_URL']=a76_0x123a89(0x14f),a76_0x2358f8[a76_0x123a89(0x161)]=a76_0x123a89(0x158),a76_0x2358f8[a76_0x123a89(0x162)]=a76_0x123a89(0x14d),a76_0x2358f8[a76_0x123a89(0x148)]='capabilities',a76_0x2358f8[a76_0x123a89(0x150)]=a76_0x123a89(0x152),a76_0x2358f8[a76_0x123a89(0x164)]=a76_0x123a89(0x159),a76_0x2358f8[a76_0x123a89(0x146)]='ended_at',a76_0x2358f8[a76_0x123a89(0x14c)]=a76_0x123a89(0x14e),a76_0x2358f8['COMMAND_NEW_SESSION']=a76_0x123a89(0x15e),a76_0x2358f8['COMMAND_GET']='get',a76_0x2358f8[a76_0x123a89(0x14a)]=a76_0x123a89(0x153),a76_0x2358f8['COMMAND_W3C_EXECUTE_SCRIPT']=a76_0x123a89(0x15b),a76_0x2358f8[a76_0x123a89(0x149)]=a76_0x123a89(0x147),a76_0x2358f8[a76_0x123a89(0x156)]='quit';const AutomationFrameworkConstants=a76_0x2358f8;module[a76_0x123a89(0x15c)]=AutomationFrameworkConstants;
1
+ function a76_0x4738(){const _0x14f22c=['input_capabilities','screenshot','780374PDKCzs','KEY_STARTED_AT','KEY_ENDED_AT','started_at','386358xndQNu','hub_url','exports','get','platform_index','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','quit','348XfTaOg','ENV_BROWSERSTACK_PLATFORM_INDEX','659490HlkZHF','300882FxttxZ','COMMAND_SCREENSHOT','BROWSERSTACK_PLATFORM_INDEX','COMMAND_QUIT','KEY_PLATFORM_INDEX','KEY_HUB_URL','capabilities','34045YpybID','4910VEecEl','w3cexecutescriptasync','w3cexecutescript','COMMAND_GET','2924928ImAIOb','is_browserstack_hub','COMMAND_W3C_EXECUTE_SCRIPT'];a76_0x4738=function(){return _0x14f22c;};return a76_0x4738();}const a76_0x26b5a0=a76_0x52aa;(function(_0x5a25c4,_0x54fb00){const _0x3f4426=a76_0x52aa,_0x4907dc=_0x5a25c4();while(!![]){try{const _0x26f45b=-parseInt(_0x3f4426(0x1fa))/0x1+-parseInt(_0x3f4426(0x1e9))/0x2+parseInt(_0x3f4426(0x1f3))/0x3+-parseInt(_0x3f4426(0x1f0))/0x4*(-parseInt(_0x3f4426(0x1dc))/0x5)+-parseInt(_0x3f4426(0x1f2))/0x6+-parseInt(_0x3f4426(0x1e5))/0x7+parseInt(_0x3f4426(0x1e0))/0x8;if(_0x26f45b===_0x54fb00)break;else _0x4907dc['push'](_0x4907dc['shift']());}catch(_0xe0fd4d){_0x4907dc['push'](_0x4907dc['shift']());}}}(a76_0x4738,0x19143));const a76_0x1effbc={};a76_0x1effbc[a76_0x26b5a0(0x1f1)]=a76_0x26b5a0(0x1f5),a76_0x1effbc[a76_0x26b5a0(0x1f8)]=a76_0x26b5a0(0x1ea),a76_0x1effbc['KEY_FRAMEWORK_SESSION_ID']='framework_session_id',a76_0x1effbc['KEY_INPUT_CAPABILITIES']=a76_0x26b5a0(0x1e3),a76_0x1effbc['KEY_CAPABILITIES']=a76_0x26b5a0(0x1f9),a76_0x1effbc['KEY_IS_BROWSERSTACK_HUB']=a76_0x26b5a0(0x1e1),a76_0x1effbc[a76_0x26b5a0(0x1e6)]=a76_0x26b5a0(0x1e8),a76_0x1effbc[a76_0x26b5a0(0x1e7)]='ended_at',a76_0x1effbc[a76_0x26b5a0(0x1f7)]=a76_0x26b5a0(0x1ed),a76_0x1effbc['COMMAND_NEW_SESSION']='newsession',a76_0x1effbc[a76_0x26b5a0(0x1df)]=a76_0x26b5a0(0x1ec),a76_0x1effbc[a76_0x26b5a0(0x1f4)]=a76_0x26b5a0(0x1e4),a76_0x1effbc[a76_0x26b5a0(0x1e2)]=a76_0x26b5a0(0x1de),a76_0x1effbc[a76_0x26b5a0(0x1ee)]=a76_0x26b5a0(0x1dd),a76_0x1effbc[a76_0x26b5a0(0x1f6)]=a76_0x26b5a0(0x1ef);const AutomationFrameworkConstants=a76_0x1effbc;function a76_0x52aa(_0x1f4126,_0x2a9601){const _0x4738d8=a76_0x4738();return a76_0x52aa=function(_0x52aa09,_0x53246c){_0x52aa09=_0x52aa09-0x1dc;let _0xe14c61=_0x4738d8[_0x52aa09];return _0xe14c61;},a76_0x52aa(_0x1f4126,_0x2a9601);}module[a76_0x26b5a0(0x1eb)]=AutomationFrameworkConstants;
@@ -1 +1 @@
1
- const a77_0x104818=a77_0x231e;(function(_0x1dc538,_0x3ef5e4){const _0x2b8ba4=a77_0x231e,_0x93c1ee=_0x1dc538();while(!![]){try{const _0xae9511=parseInt(_0x2b8ba4(0x180))/0x1*(-parseInt(_0x2b8ba4(0x184))/0x2)+parseInt(_0x2b8ba4(0x18b))/0x3+parseInt(_0x2b8ba4(0x176))/0x4*(-parseInt(_0x2b8ba4(0x14e))/0x5)+parseInt(_0x2b8ba4(0x156))/0x6+-parseInt(_0x2b8ba4(0x162))/0x7*(-parseInt(_0x2b8ba4(0x159))/0x8)+-parseInt(_0x2b8ba4(0x150))/0x9+parseInt(_0x2b8ba4(0x185))/0xa;if(_0xae9511===_0x3ef5e4)break;else _0x93c1ee['push'](_0x93c1ee['shift']());}catch(_0x8d826e){_0x93c1ee['push'](_0x93c1ee['shift']());}}}(a77_0x40c1,0x55b41));const a77_0x5ba5cb={};a77_0x5ba5cb['KEY_TEST_UUID']=a77_0x104818(0x198),a77_0x5ba5cb['KEY_TEST_ID']=a77_0x104818(0x151),a77_0x5ba5cb[a77_0x104818(0x18e)]=a77_0x104818(0x195),a77_0x5ba5cb[a77_0x104818(0x16e)]=a77_0x104818(0x190),a77_0x5ba5cb[a77_0x104818(0x17a)]='test_tags',a77_0x5ba5cb[a77_0x104818(0x191)]='test_result',a77_0x5ba5cb['KEY_TEST_RESULT_AT']=a77_0x104818(0x186),a77_0x5ba5cb['KEY_TEST_STARTED_AT']=a77_0x104818(0x18a),a77_0x5ba5cb[a77_0x104818(0x173)]=a77_0x104818(0x192),a77_0x5ba5cb[a77_0x104818(0x19a)]=a77_0x104818(0x16b),a77_0x5ba5cb[a77_0x104818(0x153)]='test_duration',a77_0x5ba5cb['KEY_TEST_SCOPE']=a77_0x104818(0x196),a77_0x5ba5cb[a77_0x104818(0x19b)]=a77_0x104818(0x14f),a77_0x5ba5cb[a77_0x104818(0x182)]='test_framework_name',a77_0x5ba5cb['KEY_TEST_FRAMEWORK_VERSION']='test_framework_version',a77_0x5ba5cb['KEY_TEST_CODE']=a77_0x104818(0x178),a77_0x5ba5cb['KEY_TEST_RERUN_NAME']=a77_0x104818(0x174),a77_0x5ba5cb[a77_0x104818(0x158)]=a77_0x104818(0x163),a77_0x5ba5cb[a77_0x104818(0x160)]='platform_index',a77_0x5ba5cb[a77_0x104818(0x17e)]='test_failure',a77_0x5ba5cb[a77_0x104818(0x168)]='test_failure_type',a77_0x5ba5cb['KEY_TEST_FAILURE_REASON']=a77_0x104818(0x170),a77_0x5ba5cb[a77_0x104818(0x169)]='test_logs',a77_0x5ba5cb[a77_0x104818(0x14d)]=a77_0x104818(0x17b),a77_0x5ba5cb[a77_0x104818(0x15d)]='test_session_name',a77_0x5ba5cb[a77_0x104818(0x157)]='automate_session_name',a77_0x5ba5cb[a77_0x104818(0x164)]=a77_0x104818(0x16f),a77_0x5ba5cb['KEY_AUTOMATE_SESSION_REASON']=a77_0x104818(0x189),a77_0x5ba5cb[a77_0x104818(0x17c)]='event_started_at',a77_0x5ba5cb[a77_0x104818(0x16c)]='event_ended_at',a77_0x5ba5cb[a77_0x104818(0x18f)]=a77_0x104818(0x17d),a77_0x5ba5cb[a77_0x104818(0x15e)]=a77_0x104818(0x155),a77_0x5ba5cb[a77_0x104818(0x172)]='hook_failure_type',a77_0x5ba5cb[a77_0x104818(0x194)]='hook_failure_reason',a77_0x5ba5cb['KEY_HOOK_FAILURE']='hook_failure',a77_0x5ba5cb['KEY_HOOK_LOGS']=a77_0x104818(0x17f),a77_0x5ba5cb[a77_0x104818(0x177)]=a77_0x104818(0x152),a77_0x5ba5cb[a77_0x104818(0x154)]=a77_0x104818(0x166),a77_0x5ba5cb['DEFAULT_HOOK_RESULT']=a77_0x104818(0x166),a77_0x5ba5cb[a77_0x104818(0x187)]=a77_0x104818(0x18d),a77_0x5ba5cb[a77_0x104818(0x15b)]=a77_0x104818(0x15f),a77_0x5ba5cb[a77_0x104818(0x161)]='^(BEFORE_|AFTER_)',a77_0x5ba5cb['KEY_HOOKS_STARTED']='test_hooks_started',a77_0x5ba5cb[a77_0x104818(0x18c)]=a77_0x104818(0x197),a77_0x5ba5cb[a77_0x104818(0x15a)]=a77_0x104818(0x183),a77_0x5ba5cb['KEY_HOOK_LAST_FINISHED']='test_hook_last_finished',a77_0x5ba5cb['KEY_LOGS']=a77_0x104818(0x16d),a77_0x5ba5cb[a77_0x104818(0x179)]=a77_0x104818(0x165),a77_0x5ba5cb[a77_0x104818(0x199)]=a77_0x104818(0x16a),a77_0x5ba5cb['KEY_FILE_SIZE']=a77_0x104818(0x188),a77_0x5ba5cb[a77_0x104818(0x167)]='file_name',a77_0x5ba5cb[a77_0x104818(0x15c)]='file_path',a77_0x5ba5cb[a77_0x104818(0x193)]=a77_0x104818(0x181),a77_0x5ba5cb[a77_0x104818(0x171)]=0xa,a77_0x5ba5cb['MAX_NESTED_STEP_DEPTH']=0x2;const TestFrameworkConstants=a77_0x5ba5cb;module[a77_0x104818(0x175)]=TestFrameworkConstants;function a77_0x231e(_0x1f8c95,_0x1e79d0){const _0x40c17c=a77_0x40c1();return a77_0x231e=function(_0x231e20,_0x365a04){_0x231e20=_0x231e20-0x14d;let _0xc6f25e=_0x40c17c[_0x231e20];return _0xc6f25e;},a77_0x231e(_0x1f8c95,_0x1e79d0);}function a77_0x40c1(){const _0x202f59=['24vgYFAN','KEY_HOOK_LAST_STARTED','KIND_LOG','KEY_FILE_PATH','KEY_SESSION_NAME','KEY_HOOK_RESULT','TEST_LOG','KEY_PLATFORM_INDEX','HOOK_REGEX','1391719GQluhx','retry_of','KEY_AUTOMATE_SESSION_STATUS','custom_metadata','pending','KEY_FILE_NAME','KEY_TEST_FAILURE_TYPE','KEY_TEST_LOGS','test_attachments','test_location','KEY_EVENT_ENDED_AT','logs','KEY_TEST_FILE_PATH','automate_session_status','test_failure_reason','MAX_TOP_LEVEL_STEPS','KEY_HOOK_FAILURE_TYPE','KEY_TEST_ENDED_AT','test_rerun_name','exports','255924FYqFFF','KEY_HOOK_NAME','test_code','KEY_CUSTOM_TAGS','KEY_TEST_TAGS','test_meta','KEY_EVENT_STARTED_AT','hook_id','KEY_TEST_FAILURE','hook_logs','1IBARkh','file_level','KEY_TEST_FRAMEWORK_NAME','test_hook_last_started','1055910HrLlFr','2631680hweCTk','test_result_at','KIND_SCREENSHOT','file_size','automate_session_reason','test_started_at','1749480PJlwWt','KEY_HOOKS_FINISHED','TEST_SCREENSHOT','KEY_TEST_NAME','KEY_HOOK_ID','test_file_path','KEY_TEST_RESULT','test_ended_at','KEY_FILE_LEVEL','KEY_HOOK_FAILURE_REASON','test_name','test_scope','test_hooks_finished','test_uuid','KEY_TEST_ATTACHMENTS','KEY_TEST_LOCATION','KEY_TEST_SCOPES','KEY_TEST_META','45CrfTdh','test_scopes','740304DFRSjT','test_id','hook_name','KEY_TEST_DURATION','DEFAULT_TEST_RESULT','hook_result','565812syNxPZ','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_RETRY_OF'];a77_0x40c1=function(){return _0x202f59;};return a77_0x40c1();}
1
+ function a77_0x57b8(){const _0x522df3=['test_hooks_started','file_size','TEST_LOG','KEY_AUTOMATE_SESSION_REASON','hook_failure','test_scopes','test_tags','test_failure','file_name','hook_result','1140KXQpQm','KEY_TEST_RERUN_NAME','1923aHRTeT','9148KzHYtw','test_rerun_name','KEY_TEST_LOGS','pending','82098hkqROU','KEY_HOOK_ID','KEY_TEST_LOCATION','test_framework_version','KEY_TEST_RESULT_AT','KIND_SCREENSHOT','DEFAULT_HOOK_RESULT','test_meta','automate_session_status','test_result','KEY_TEST_FILE_PATH','KEY_TEST_UUID','test_logs','test_scope','file_level','1416981tYdKqW','test_failure_type','KEY_TEST_ATTACHMENTS','KEY_HOOK_RESULT','KEY_EVENT_STARTED_AT','automate_session_reason','1802058miwdbW','hook_id','automate_session_name','KEY_TEST_RETRY_OF','2894642TfPOmB','retry_of','test_file_path','28160825UnDYMg','test_session_name','KEY_SESSION_NAME','KEY_HOOK_LAST_FINISHED','test_failure_reason','KEY_TEST_FRAMEWORK_VERSION','MAX_NESTED_STEP_DEPTH','KEY_PLATFORM_INDEX','TEST_SCREENSHOT','exports','file_path','KEY_TEST_SCOPES','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_TAGS','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FAILURE_TYPE','test_code','KEY_HOOK_FAILURE_REASON','1079855SLTSah','KEY_HOOK_LAST_STARTED','platform_index','event_started_at','KEY_HOOK_FAILURE','custom_metadata','hook_failure_reason','KEY_FILE_LEVEL','KEY_HOOK_NAME','logs','KEY_FILE_NAME','test_framework_name','KEY_HOOKS_STARTED','KEY_TEST_ENDED_AT','hook_logs','event_ended_at','KEY_TEST_NAME','8oOyNOg','^(BEFORE_|AFTER_)','20yRWmlb','KEY_LOGS','test_duration','test_attachments','KEY_TEST_FAILURE_REASON','KEY_TEST_SCOPE','test_hook_last_finished'];a77_0x57b8=function(){return _0x522df3;};return a77_0x57b8();}function a77_0x32b0(_0x54a61c,_0x58c2aa){const _0x57b8ca=a77_0x57b8();return a77_0x32b0=function(_0x32b001,_0x1f9bdc){_0x32b001=_0x32b001-0xe0;let _0x528a39=_0x57b8ca[_0x32b001];return _0x528a39;},a77_0x32b0(_0x54a61c,_0x58c2aa);}const a77_0x2a2ca8=a77_0x32b0;(function(_0x7492a9,_0x35f01f){const _0x752bd0=a77_0x32b0,_0x11d013=_0x7492a9();while(!![]){try{const _0x3fa044=-parseInt(_0x752bd0(0x11f))/0x1+parseInt(_0x752bd0(0x129))/0x2+-parseInt(_0x752bd0(0x10b))/0x3*(parseInt(_0x752bd0(0x10c))/0x4)+parseInt(_0x752bd0(0xf8))/0x5*(-parseInt(_0x752bd0(0x125))/0x6)+parseInt(_0x752bd0(0xe5))/0x7*(-parseInt(_0x752bd0(0xf6))/0x8)+parseInt(_0x752bd0(0x110))/0x9*(parseInt(_0x752bd0(0x109))/0xa)+parseInt(_0x752bd0(0x12c))/0xb;if(_0x3fa044===_0x35f01f)break;else _0x11d013['push'](_0x11d013['shift']());}catch(_0x421134){_0x11d013['push'](_0x11d013['shift']());}}}(a77_0x57b8,0xc570f));const a77_0x1397f5={};a77_0x1397f5[a77_0x2a2ca8(0x11b)]='test_uuid',a77_0x1397f5['KEY_TEST_ID']='test_id',a77_0x1397f5[a77_0x2a2ca8(0xf5)]='test_name',a77_0x1397f5[a77_0x2a2ca8(0x11a)]=a77_0x2a2ca8(0x12b),a77_0x1397f5[a77_0x2a2ca8(0xe0)]=a77_0x2a2ca8(0x105),a77_0x1397f5['KEY_TEST_RESULT']=a77_0x2a2ca8(0x119),a77_0x1397f5[a77_0x2a2ca8(0x114)]='test_result_at',a77_0x1397f5['KEY_TEST_STARTED_AT']='test_started_at',a77_0x1397f5[a77_0x2a2ca8(0xf2)]='test_ended_at',a77_0x1397f5[a77_0x2a2ca8(0x112)]='test_location',a77_0x1397f5['KEY_TEST_DURATION']=a77_0x2a2ca8(0xfa),a77_0x1397f5[a77_0x2a2ca8(0xfd)]=a77_0x2a2ca8(0x11d),a77_0x1397f5[a77_0x2a2ca8(0x137)]=a77_0x2a2ca8(0x104),a77_0x1397f5[a77_0x2a2ca8(0x138)]=a77_0x2a2ca8(0xf0),a77_0x1397f5[a77_0x2a2ca8(0x131)]=a77_0x2a2ca8(0x113),a77_0x1397f5['KEY_TEST_CODE']=a77_0x2a2ca8(0xe3),a77_0x1397f5[a77_0x2a2ca8(0x10a)]=a77_0x2a2ca8(0x10d),a77_0x1397f5[a77_0x2a2ca8(0x128)]=a77_0x2a2ca8(0x12a),a77_0x1397f5[a77_0x2a2ca8(0x133)]=a77_0x2a2ca8(0xe7),a77_0x1397f5['KEY_TEST_FAILURE']=a77_0x2a2ca8(0x106),a77_0x1397f5[a77_0x2a2ca8(0xe2)]=a77_0x2a2ca8(0x120),a77_0x1397f5[a77_0x2a2ca8(0xfc)]=a77_0x2a2ca8(0x130),a77_0x1397f5[a77_0x2a2ca8(0x10e)]=a77_0x2a2ca8(0x11c),a77_0x1397f5['KEY_TEST_META']=a77_0x2a2ca8(0x117),a77_0x1397f5[a77_0x2a2ca8(0x12e)]=a77_0x2a2ca8(0x12d),a77_0x1397f5['KEY_AUTOMATE_SESSION_NAME']=a77_0x2a2ca8(0x127),a77_0x1397f5['KEY_AUTOMATE_SESSION_STATUS']=a77_0x2a2ca8(0x118),a77_0x1397f5[a77_0x2a2ca8(0x102)]=a77_0x2a2ca8(0x124),a77_0x1397f5[a77_0x2a2ca8(0x123)]=a77_0x2a2ca8(0xe8),a77_0x1397f5['KEY_EVENT_ENDED_AT']=a77_0x2a2ca8(0xf4),a77_0x1397f5[a77_0x2a2ca8(0x111)]=a77_0x2a2ca8(0x126),a77_0x1397f5[a77_0x2a2ca8(0x122)]=a77_0x2a2ca8(0x108),a77_0x1397f5[a77_0x2a2ca8(0xe1)]='hook_failure_type',a77_0x1397f5[a77_0x2a2ca8(0xe4)]=a77_0x2a2ca8(0xeb),a77_0x1397f5[a77_0x2a2ca8(0xe9)]=a77_0x2a2ca8(0x103),a77_0x1397f5['KEY_HOOK_LOGS']=a77_0x2a2ca8(0xf3),a77_0x1397f5[a77_0x2a2ca8(0xed)]='hook_name',a77_0x1397f5['DEFAULT_TEST_RESULT']=a77_0x2a2ca8(0x10f),a77_0x1397f5[a77_0x2a2ca8(0x116)]=a77_0x2a2ca8(0x10f),a77_0x1397f5[a77_0x2a2ca8(0x115)]=a77_0x2a2ca8(0x134),a77_0x1397f5['KIND_LOG']=a77_0x2a2ca8(0x101),a77_0x1397f5['HOOK_REGEX']=a77_0x2a2ca8(0xf7),a77_0x1397f5[a77_0x2a2ca8(0xf1)]=a77_0x2a2ca8(0xff),a77_0x1397f5['KEY_HOOKS_FINISHED']='test_hooks_finished',a77_0x1397f5[a77_0x2a2ca8(0xe6)]='test_hook_last_started',a77_0x1397f5[a77_0x2a2ca8(0x12f)]=a77_0x2a2ca8(0xfe),a77_0x1397f5[a77_0x2a2ca8(0xf9)]=a77_0x2a2ca8(0xee),a77_0x1397f5['KEY_CUSTOM_TAGS']=a77_0x2a2ca8(0xea),a77_0x1397f5[a77_0x2a2ca8(0x121)]=a77_0x2a2ca8(0xfb),a77_0x1397f5['KEY_FILE_SIZE']=a77_0x2a2ca8(0x100),a77_0x1397f5[a77_0x2a2ca8(0xef)]=a77_0x2a2ca8(0x107),a77_0x1397f5['KEY_FILE_PATH']=a77_0x2a2ca8(0x136),a77_0x1397f5[a77_0x2a2ca8(0xec)]=a77_0x2a2ca8(0x11e),a77_0x1397f5['MAX_TOP_LEVEL_STEPS']=0xa,a77_0x1397f5[a77_0x2a2ca8(0x132)]=0x2;const TestFrameworkConstants=a77_0x1397f5;module[a77_0x2a2ca8(0x135)]=TestFrameworkConstants;
@@ -1 +1 @@
1
- const a78_0x3fe49a=a78_0x5c79;(function(_0x2d7a31,_0x5b18d2){const _0x31cc6b=a78_0x5c79,_0x316b45=_0x2d7a31();while(!![]){try{const _0xe9c9a1=-parseInt(_0x31cc6b(0x13c))/0x1+parseInt(_0x31cc6b(0x16a))/0x2*(-parseInt(_0x31cc6b(0x185))/0x3)+-parseInt(_0x31cc6b(0xe1))/0x4*(-parseInt(_0x31cc6b(0x126))/0x5)+parseInt(_0x31cc6b(0x169))/0x6+-parseInt(_0x31cc6b(0xca))/0x7+-parseInt(_0x31cc6b(0x17f))/0x8+parseInt(_0x31cc6b(0xfd))/0x9;if(_0xe9c9a1===_0x5b18d2)break;else _0x316b45['push'](_0x316b45['shift']());}catch(_0xcc39a1){_0x316b45['push'](_0x316b45['shift']());}}}(a78_0x4ebf,0x647d0));const TestFramework=require(a78_0x3fe49a(0xc3)),TestFrameworkState=require(a78_0x3fe49a(0xf1)),HookState=require(a78_0x3fe49a(0x155)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a78_0x3fe49a(0x13b)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a78_0x3fe49a(0x163)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a78_0x3fe49a(0x128)),logger=createClassLogger(a78_0x3fe49a(0x10e)),{v4:uuidv4}=require('uuid'),util=require(a78_0x3fe49a(0xec)),TestInfo=require(a78_0x3fe49a(0x14c)),GrpcClient=require(a78_0x3fe49a(0x144));class CucumberTestFramework extends TestFramework{constructor(_0x4130ca,_0x50b055,_0x1a1021){super(_0x4130ca,_0x50b055,_0x1a1021);}async[a78_0x3fe49a(0x121)](_0x3c6d9e,_0x381613,_0x216808={}){const _0x107d69=a78_0x3fe49a,_0x303d34={};_0x303d34[_0x107d69(0xe0)]=_0x107d69(0x14b),_0x303d34[_0x107d69(0xcd)]=function(_0x13a7e8,_0x2f7771){return _0x13a7e8===_0x2f7771;},_0x303d34[_0x107d69(0x127)]=function(_0x2c156c,_0x1c77cb){return _0x2c156c===_0x1c77cb;},_0x303d34[_0x107d69(0x184)]=_0x107d69(0xee);const _0x3eb334=_0x303d34;await super[_0x107d69(0x121)](_0x3c6d9e,_0x381613,_0x216808);const _0x10cc2b=this['resolveInstance'](_0x3c6d9e,_0x381613,_0x216808);if(!_0x10cc2b){logger[_0x107d69(0x154)](_0x3eb334[_0x107d69(0xe0)]);return;}try{let _0x2a7b1c,_0x54e7c8;switch(_0x3c6d9e){case TestFrameworkState['TEST']:_0x2a7b1c=_0x216808['test'],_0x54e7c8=TestInfo[_0x107d69(0x14d)](_0x2a7b1c['id']);if(_0x3eb334['MAjnl'](_0x381613,HookState['PRE'])){logger[_0x107d69(0x154)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x2a7b1c['id']);const _0x4638f4={};_0x4638f4[_0x107d69(0xd5)]=_0x54e7c8,_0x4638f4['testData']=_0x2a7b1c,_0x10cc2b[_0x107d69(0x16c)](this[_0x107d69(0xc6)](_0x4638f4)),logger['debug'](_0x107d69(0x16e)+_0x2a7b1c['id']),await this[_0x107d69(0x12d)](_0x10cc2b,_0x2a7b1c['id']);}else{if(_0x3eb334['MAjnl'](_0x381613,HookState['POST'])){const _0x47d081={};_0x47d081[_0x107d69(0xd5)]=_0x54e7c8,_0x47d081['testData']=_0x2a7b1c,_0x10cc2b[_0x107d69(0x16c)](this['parseCucumberTestResult'](_0x47d081)),await this[_0x107d69(0x12d)](_0x10cc2b,_0x2a7b1c['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x3eb334[_0x107d69(0x127)](_0x381613,HookState[_0x107d69(0xc1)])&&await this[_0x107d69(0xc8)](_0x10cc2b,_0x3c6d9e,_0x216808);break;default:if(CLIUtils[_0x107d69(0x140)](_0x3c6d9e[_0x107d69(0xe3)]()[_0x107d69(0x167)]('.')[0x1])){const _0x15bc23=await this['trackHookEvent'](_0x10cc2b,_0x3c6d9e,_0x381613,_0x216808);_0x10cc2b[_0x107d69(0x16c)](_0x15bc23);}else logger[_0x107d69(0x154)](_0x107d69(0x113)+_0x3c6d9e+_0x107d69(0x11f)+_0x381613);break;}}catch(_0x47d77c){logger[_0x107d69(0x17e)](util[_0x107d69(0x114)](_0x3eb334[_0x107d69(0x184)],_0x3c6d9e,_0x381613,_0x216808[_0x107d69(0xf6)],_0x47d77c));}_0x216808[_0x107d69(0xd8)]=_0x10cc2b,await this[_0x107d69(0x149)](_0x10cc2b,_0x3c6d9e,_0x381613,_0x216808);}[a78_0x3fe49a(0x111)](_0x398db3,_0x2d1ce0,_0xe1135a={}){const _0x1040d6=a78_0x3fe49a,_0x590cae={};_0x590cae[_0x1040d6(0x142)]=function(_0x29a9d9,_0x4b1599){return _0x29a9d9===_0x4b1599;};const _0x28c872=_0x590cae;let _0x3fc3aa=null;return(_0x28c872[_0x1040d6(0x142)](_0x398db3,TestFrameworkState[_0x1040d6(0x160)])||_0x28c872['SqWOU'](_0x398db3,TestFrameworkState[_0x1040d6(0x112)]))&&this[_0x1040d6(0x162)](_0x398db3,_0xe1135a),_0x3fc3aa=TestFramework['getTrackedInstance'](),_0x3fc3aa;}[a78_0x3fe49a(0x162)](_0x225b12,_0x4d6971){const _0x5b2d87=a78_0x3fe49a,_0x63d4bc=CLIUtils[_0x5b2d87(0x141)](),_0x29983e=TrackedInstance[_0x5b2d87(0x176)](_0x63d4bc);let _0x2828c9=null;logger['debug'](_0x5b2d87(0x153)+_0x63d4bc+_0x5b2d87(0xdb)+_0x225b12),_0x2828c9=new TestFrameworkInstance(_0x29983e,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x225b12,HookState[_0x5b2d87(0x112)]),TestFramework[_0x5b2d87(0xcb)](_0x29983e,_0x2828c9),logger[_0x5b2d87(0x154)](_0x5b2d87(0x135)+_0x29983e[_0x5b2d87(0x125)]()+_0x5b2d87(0xc4)+_0x63d4bc);}['parseCucumberTest'](_0x1c3366){const _0x5a9d1e=a78_0x3fe49a,_0x568872={};_0x568872[_0x5a9d1e(0x175)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0xcc2f58=_0x568872,{testUUID:_0x3ce558,testData:_0x11f43a}=_0x1c3366;if(!_0x11f43a||!_0x11f43a[_0x5a9d1e(0x100)])return logger[_0x5a9d1e(0x154)](_0xcc2f58['vngvz']),{};const _0x4a53df=_0x3ce558,_0x43193a=_0x11f43a[_0x5a9d1e(0x100)],_0x50d445=this[_0x5a9d1e(0x115)]()[0x0],_0x49ac73=this[_0x5a9d1e(0x147)](),_0x15a97a={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x50d445,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x49ac73[_0x50d445],[TestFrameworkConstants[_0x5a9d1e(0xc5)]]:[],[TestFrameworkConstants[_0x5a9d1e(0x159)]]:{},[TestFrameworkConstants[_0x5a9d1e(0x12f)]]:{},[TestFrameworkConstants[_0x5a9d1e(0x180)]]:_0x4a53df,[TestFrameworkConstants[_0x5a9d1e(0x13e)]]:TestFrameworkConstants[_0x5a9d1e(0x189)],[TestFrameworkConstants[_0x5a9d1e(0xe4)]]:_0x11f43a[_0x5a9d1e(0x130)]||'',[TestFrameworkConstants[_0x5a9d1e(0xf8)]]:_0x11f43a['file_name']||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x43193a,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x11f43a[_0x5a9d1e(0x130)]||'',[TestFrameworkConstants[_0x5a9d1e(0x136)]]:_0x11f43a[_0x5a9d1e(0xd2)]||'',[TestFrameworkConstants[_0x5a9d1e(0x105)]]:_0x11f43a['body']?.[_0x5a9d1e(0x146)]||null,[TestFrameworkConstants[_0x5a9d1e(0x117)]]:_0x11f43a[_0x5a9d1e(0x15c)]||[],[TestFrameworkConstants[_0x5a9d1e(0xd3)]]:_0x11f43a[_0x5a9d1e(0x104)]||new Date()[_0x5a9d1e(0x164)](),[TestFrameworkConstants[_0x5a9d1e(0x148)]]:_0x11f43a[_0x5a9d1e(0x110)]?.[0x0]||'',[TestFrameworkConstants[_0x5a9d1e(0x150)]]:_0x11f43a[_0x5a9d1e(0x110)]||[],[TestFrameworkConstants[_0x5a9d1e(0x151)]]:_0x11f43a[_0x5a9d1e(0x156)]?.[_0x5a9d1e(0x118)]||_0x11f43a['name']||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5a9d1e(0x17c)]]:_0x11f43a['meta']||{}};TestInfo[_0x5a9d1e(0xe2)](_0x43193a,_0x15a97a),logger[_0x5a9d1e(0x154)](_0x5a9d1e(0x16f)+_0x11f43a[_0x5a9d1e(0x130)]+_0x5a9d1e(0x12c)+_0x4a53df);const _0x1b4a5c={};return _0x1b4a5c[_0x43193a]=_0x15a97a,_0x1b4a5c;}['parseCucumberTestResult'](_0x54c1b7){const _0x4f09f9=a78_0x3fe49a,_0x502220={'zeVxi':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','SNrji':_0x4f09f9(0x165),'Hgbas':function(_0x5e47bc,_0x1ed586){return _0x5e47bc===_0x1ed586;},'kuBFO':'failed','MEpgI':_0x4f09f9(0x168),'AfdAh':function(_0x126eed,_0x21b541,_0xdb53a4){return _0x126eed(_0x21b541,_0xdb53a4);},'bLmGm':function(_0x3843aa,_0x3b09f1){return _0x3843aa>_0x3b09f1;},'FVwLS':function(_0x5d4b09,_0x5f0121){return _0x5d4b09>_0x5f0121;}},{testUUID:_0x3bba07,testData:_0x42e30e}=_0x54c1b7;if(!_0x42e30e||!_0x42e30e[_0x4f09f9(0x100)])return logger[_0x4f09f9(0x154)](_0x502220[_0x4f09f9(0xc2)]),{};const _0x428c1f=this[_0x4f09f9(0x111)](TestFrameworkState[_0x4f09f9(0x17d)],HookState[_0x4f09f9(0xc1)]),_0x28f131=_0x42e30e[_0x4f09f9(0x100)],_0x5059d5=TestInfo[_0x4f09f9(0x174)](_0x28f131)||{},_0x420cc5=_0x5059d5?_0x5059d5[TestFrameworkConstants[_0x4f09f9(0x107)]]||{}:{},_0x2d4dc7={..._0x5059d5,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x42e30e[_0x4f09f9(0x15e)]||_0x502220['SNrji'],[TestFrameworkConstants[_0x4f09f9(0x10d)]]:_0x42e30e[_0x4f09f9(0x10f)]||new Date()[_0x4f09f9(0x164)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x4f09f9(0x164)](),[TestFrameworkConstants[_0x4f09f9(0x107)]]:_0x420cc5,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x4f09f9(0x17c)]]:_0x42e30e[_0x4f09f9(0x17b)]||{}};_0x502220[_0x4f09f9(0xc7)](_0x42e30e[_0x4f09f9(0x15e)],_0x502220['kuBFO'])&&_0x42e30e[_0x4f09f9(0xf0)]&&(_0x2d4dc7[TestFrameworkConstants[_0x4f09f9(0x134)]]=_0x42e30e['failure_type']||_0x502220[_0x4f09f9(0x12b)],_0x2d4dc7[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x42e30e[_0x4f09f9(0x124)]||'',_0x2d4dc7[TestFrameworkConstants[_0x4f09f9(0xce)]]=_0x42e30e[_0x4f09f9(0xf0)]);const _0x5b7a97=TestInfo['getTestDetails'](_0x28f131)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x96a032=_0x502220['AfdAh'](getManualUploadLogs,_0x5b7a97,_0x428c1f[_0x4f09f9(0x179)]()[_0x4f09f9(0x13f)](_0x28f131)[TestFrameworkConstants[_0x4f09f9(0x180)]]);if(_0x502220[_0x4f09f9(0x101)](_0x96a032[_0x4f09f9(0xf6)],0x0)){const _0x270bdb=_0x2d4dc7[TestFrameworkConstants[_0x4f09f9(0xe8)]]||[];_0x2d4dc7[TestFrameworkConstants[_0x4f09f9(0xe8)]]=[..._0x270bdb,..._0x96a032];}_0x42e30e['hooks']&&_0x502220[_0x4f09f9(0xfc)](_0x42e30e[_0x4f09f9(0x119)][_0x4f09f9(0xf6)],0x0)&&(_0x2d4dc7[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x42e30e[_0x4f09f9(0x119)]);TestInfo[_0x4f09f9(0xe2)](_0x28f131,_0x2d4dc7),logger['debug'](_0x4f09f9(0x161)+_0x42e30e['name']+_0x4f09f9(0x13a)+_0x42e30e[_0x4f09f9(0x15e)]);const _0x49b190={};return _0x49b190[_0x28f131]=_0x2d4dc7,_0x49b190;}async[a78_0x3fe49a(0x11d)](_0x38428f,_0x20a01a,_0x2461fb,_0x21e5b5){const _0x27c95d=a78_0x3fe49a,_0x22bb54={'dFsuj':_0x27c95d(0x171),'rviby':function(_0x47d346){return _0x47d346();},'qvmap':function(_0x13e9c9,_0x540325){return _0x13e9c9 in _0x540325;},'ZentS':function(_0x423876,_0x44d8b2){return _0x423876 in _0x44d8b2;},'YIxig':function(_0x44dccf,_0x126c13){return _0x44dccf===_0x126c13;},'Mcupk':function(_0x495709,_0xee8857){return _0x495709===_0xee8857;},'nVNaJ':function(_0x5e2285,_0xd0745){return _0x5e2285>_0xd0745;},'KEKNW':function(_0x49b4c1,_0x6b0ce0){return _0x49b4c1===_0x6b0ce0;},'JKFRR':_0x27c95d(0x137),'oeiJg':_0x27c95d(0x168),'QuqpQ':'passed','DmdmG':function(_0x1f49f0,_0x1498c6){return _0x1f49f0!==_0x1498c6;}},{hookData:_0x1ad4ee}=_0x21e5b5;if(!_0x1ad4ee)return logger[_0x27c95d(0x154)](_0x22bb54[_0x27c95d(0xc0)]),{};const _0xe089a4=_0x1ad4ee[_0x27c95d(0x100)]||_0x22bb54['rviby'](uuidv4),_0x21998a=_0x1ad4ee[_0x27c95d(0xcc)],_0x4f382f=_0x20a01a[_0x27c95d(0xe3)]()['split']('.')[0x1],_0x2e22df=TestInfo[_0x27c95d(0x174)](_0x21998a)[TestFrameworkConstants[_0x27c95d(0x107)]]||{},_0x3d340d=_0x38428f[_0x27c95d(0x179)]()[_0x27c95d(0x13f)](_0x21998a);if(!_0x3d340d)return logger[_0x27c95d(0x154)](_0x27c95d(0xd1)+_0x21998a+_0x27c95d(0x188)),this['storePendingHook'](_0x38428f,_0x21998a,_0x20a01a,_0x2461fb,_0x21e5b5),{};let _0x5a0429=_0x3d340d[TestFrameworkConstants[_0x27c95d(0x12f)]];!_0x5a0429&&(_0x5a0429={});!_0x22bb54['qvmap'](_0x4f382f,_0x5a0429)&&(_0x5a0429[_0x4f382f]=[]);let _0x68ee54=_0x3d340d[TestFrameworkConstants[_0x27c95d(0x159)]];!_0x68ee54&&(_0x68ee54={});!_0x22bb54['ZentS'](_0x4f382f,_0x68ee54)&&(_0x68ee54[_0x4f382f]=[]);const _0xd1244f={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5a0429,[TestFrameworkConstants[_0x27c95d(0x159)]]:_0x68ee54},_0x1992a5={};_0x1992a5[_0x21998a]=_0xd1244f;const _0xa0a006=_0x1992a5;if(_0x22bb54[_0x27c95d(0xcf)](_0x2461fb,HookState[_0x27c95d(0x138)])){const _0x2be1eb={[TestFrameworkConstants[_0x27c95d(0x173)]]:_0xe089a4,[TestFrameworkConstants[_0x27c95d(0x14f)]]:TestFrameworkConstants[_0x27c95d(0xdc)],[TestFrameworkConstants[_0x27c95d(0xdf)]]:_0x1ad4ee[_0x27c95d(0xc9)],[TestFrameworkConstants[_0x27c95d(0x170)]]:[],[TestFrameworkConstants[_0x27c95d(0x14e)]]:_0x1ad4ee['hook_type'],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2e22df};_0x2be1eb['key']=_0x4f382f;const _0xc9921f=_0x2be1eb;_0x5a0429[_0x4f382f]['push'](_0xc9921f),_0xa0a006[_0x21998a][TestFrameworkConstants[_0x27c95d(0xdd)]]=_0x4f382f,logger[_0x27c95d(0x154)](_0x27c95d(0xf9)+_0x4f382f+_0x27c95d(0x10a)+_0xc9921f+_0x27c95d(0x187)+_0x21e5b5);}else{if(_0x22bb54['Mcupk'](_0x2461fb,HookState[_0x27c95d(0xc1)])){const _0x1233b7=_0x1ad4ee['result'],_0x4d9d3b=_0x5a0429[_0x4f382f]||[];logger[_0x27c95d(0x154)](_0x27c95d(0xfb)+_0x4d9d3b+'\x20and\x20args\x20=\x20'+_0x21e5b5);if(_0x22bb54[_0x27c95d(0x172)](_0x4d9d3b['length'],0x0)){const _0x5284f6=_0x4d9d3b[_0x27c95d(0x132)]();_0x22bb54[_0x27c95d(0x122)](_0x1ad4ee['result'],_0x22bb54[_0x27c95d(0x16b)])&&_0x1ad4ee[_0x27c95d(0xe9)]?(_0x5284f6[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x1ad4ee[_0x27c95d(0x103)]||_0x22bb54['oeiJg'],_0x5284f6[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x1ad4ee[_0x27c95d(0x124)]||'',_0x5284f6[TestFrameworkConstants[_0x27c95d(0x11c)]]=_0x1ad4ee[_0x27c95d(0xe9)]):_0x5284f6[TestFrameworkConstants[_0x27c95d(0x14f)]]=_0x22bb54[_0x27c95d(0xea)];_0x22bb54[_0x27c95d(0x143)](_0x1233b7,TestFrameworkConstants[_0x27c95d(0xdc)])&&(_0x5284f6[TestFrameworkConstants[_0x27c95d(0x14f)]]=_0x1233b7);_0x5284f6[TestFrameworkConstants[_0x27c95d(0xf5)]]=_0x1ad4ee[_0x27c95d(0x12e)]||new Date()[_0x27c95d(0x164)](),_0x5284f6[TestFrameworkConstants[_0x27c95d(0x107)]]=_0x2e22df;const _0x1122db=_0x5284f6[TestFrameworkConstants['KEY_HOOK_ID']];!_0x68ee54[_0x4f382f]&&(_0x68ee54[_0x4f382f]=[]),_0x68ee54[_0x4f382f][_0x27c95d(0xd6)](_0x5284f6),_0xa0a006[_0x21998a][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x4f382f;}}}return logger['debug'](_0x27c95d(0xda)+_0x1ad4ee[_0x27c95d(0x11e)]+'\x20with\x20id\x20'+_0xe089a4+'\x20for\x20test:\x20'+_0x21998a),_0xa0a006;}['createTestFrameworkEventPayload'](_0x531400){const _0x5e3932=a78_0x3fe49a,_0x1b3233={};_0x1b3233[_0x5e3932(0x17a)]='base64';const _0x11df16=_0x1b3233;try{const _0x36a1d1=_0x531400[_0x5e3932(0x106)]?_0x531400[_0x5e3932(0x106)]['id']:_0x531400[_0x5e3932(0xbe)]['test_run_id'],_0x262ee9=_0x531400['instance'],_0xdc72d5=_0x262ee9[_0x5e3932(0x181)](),_0xf1cdce=_0x262ee9[_0x5e3932(0x179)]()[_0x5e3932(0x13f)](_0x36a1d1);if(!_0xf1cdce)return logger['debug'](_0x5e3932(0x10b)+_0x36a1d1),{};logger[_0x5e3932(0x154)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x36a1d1);const {[TestFrameworkConstants[_0x5e3932(0xeb)]]:_0x5d308b='',[TestFrameworkConstants[_0x5e3932(0x108)]]:_0x20bfe0='',[TestFrameworkConstants[_0x5e3932(0xd3)]]:_0x488e63='',[TestFrameworkConstants[_0x5e3932(0x10d)]]:_0x6dc8a0=''}=_0xf1cdce,_0x35f7b7=_0x262ee9[_0x5e3932(0x14a)]()[_0x5e3932(0xe3)]()[_0x5e3932(0x167)]('.')[0x1],_0x3401b6=_0x262ee9[_0x5e3932(0x158)]()['toString']()['split']('.')[0x1],_0x160ba6=global?.[_0x5e3932(0xfe)]??0x0,_0x32218d=_0x262ee9['getRef'](),_0x3ce02d=Buffer[_0x5e3932(0x16d)](JSON[_0x5e3932(0x178)](_0xf1cdce))[_0x5e3932(0xe3)](_0x11df16[_0x5e3932(0x17a)]),_0x306ae4={'hash':_0xdc72d5[_0x5e3932(0x125)](),'threadId':_0xdc72d5[_0x5e3932(0xd0)]()['toString'](),'processId':_0xdc72d5[_0x5e3932(0x11a)]()[_0x5e3932(0xe3)]()},_0xc5b495={};_0xc5b495['platformIndex']=_0x160ba6,_0xc5b495[_0x5e3932(0xf3)]=_0x5d308b,_0xc5b495[_0x5e3932(0x102)]=_0x20bfe0,_0xc5b495['testFrameworkState']=_0x35f7b7,_0xc5b495[_0x5e3932(0xd7)]=_0x3401b6,_0xc5b495['startedAt']=_0x488e63,_0xc5b495['endedAt']=_0x6dc8a0,_0xc5b495[_0x5e3932(0x100)]=_0x32218d,_0xc5b495[_0x5e3932(0x11b)]=_0x3ce02d,_0xc5b495[_0x5e3932(0x15f)]=_0x306ae4;const _0x59f82e=_0xc5b495;return logger[_0x5e3932(0x154)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x36a1d1+_0x5e3932(0x15b)+_0x35f7b7+_0x5e3932(0x177)+_0x3401b6),_0x59f82e;}catch(_0x37d0b2){return logger['error'](_0x5e3932(0x10c)+util[_0x5e3932(0x114)](_0x37d0b2)),{};}}async[a78_0x3fe49a(0xc8)](_0x4c5b25,_0x315c41,_0x4a7a65){const _0x413446=a78_0x3fe49a,_0xaa5375={'DhqAz':function(_0x4bd18e,_0x2fe587,_0x1d69fc){return _0x4bd18e(_0x2fe587,_0x1d69fc);},'baRTA':function(_0x25c68b,_0x381b26){return _0x25c68b===_0x381b26;},'hXVVy':_0x413446(0xd4),'ohLqF':function(_0x15ef81,_0xe9a204){return _0x15ef81/_0xe9a204;},'exTzW':function(_0x5feede,_0x34802b){return _0x5feede<_0x34802b;},'tsdEV':function(_0x390080,_0x543cf8){return _0x390080*_0x543cf8;},'TOsed':function(_0x1a3335,_0x17bed6){return _0x1a3335+_0x17bed6;},'YUzPk':function(_0x5dabb5,_0x512095){return _0x5dabb5+_0x512095;},'XTAFn':_0x413446(0x186)};try{const _0x1877c0=_0x4a7a65[_0x413446(0xd5)],_0x57e78f=_0x4c5b25['getAllData']()[_0x413446(0x13f)](_0x1877c0),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1bf2b7='',[TestFrameworkConstants[_0x413446(0x108)]]:_0x5b2c2=''}=_0x57e78f,_0x42cb07=TestInfo[_0x413446(0x15a)](_0x1877c0),_0x481129=TestInfo[_0x413446(0x174)](_0x1877c0)[TestFrameworkConstants[_0x413446(0xfa)]]||{},_0x1e86ab=_0xaa5375[_0x413446(0xf7)](getMediaArtifactsLogs,_0x481129,_0x4c5b25['getAllData']()[_0x413446(0x13f)](_0x1877c0)[TestFrameworkConstants[_0x413446(0x180)]]),_0x23f748=(_0x42cb07||[])[_0x413446(0x145)](_0x1e86ab||[]);if(!_0x23f748||_0xaa5375[_0x413446(0x15d)](_0x23f748['length'],0x0)){logger[_0x413446(0x154)](_0xaa5375['hXVVy']);return;}const _0x1139dc=0x28,_0x1b799c=Math['ceil'](_0xaa5375[_0x413446(0xff)](_0x23f748[_0x413446(0xf6)],_0x1139dc));for(let _0x2f4164=0x0;_0xaa5375[_0x413446(0xe7)](_0x2f4164,_0x1b799c);_0x2f4164++){const _0x31b8c2=_0xaa5375['tsdEV'](_0x2f4164,_0x1139dc),_0x3e8628=_0xaa5375[_0x413446(0xe5)](_0x31b8c2,_0x1139dc),_0x3b7419=_0x23f748['slice'](_0x31b8c2,_0x3e8628),_0x53e183={'platformIndex':global?.[_0x413446(0xfe)]??0x0,'logs':_0x3b7419,'testFrameworkName':_0x1bf2b7,'testFrameworkVersion':_0x5b2c2,'testFrameworkState':_0x315c41['toString']()[_0x413446(0x167)]('.')[0x1]};logger['debug'](_0x413446(0x109)+_0x1877c0+_0x413446(0xd9)+_0xaa5375[_0x413446(0xe5)](_0x2f4164,0x1)+'/'+_0x1b799c+_0x413446(0x12a)+util[_0x413446(0xf4)](_0x53e183));const _0x511582=await GrpcClient[_0x413446(0x139)]()[_0x413446(0xf2)](_0x53e183);logger[_0x413446(0x154)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x1877c0+_0x413446(0xd9)+_0xaa5375[_0x413446(0x120)](_0x2f4164,0x1)+'/'+_0x1b799c+_0x413446(0xde)+util[_0x413446(0xf4)](_0x511582));}}catch(_0x19f7ad){logger['error']('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util['format'](_0x19f7ad));}logger[_0x413446(0x154)](_0xaa5375[_0x413446(0x129)]);}[a78_0x3fe49a(0x166)](_0x27c150,_0x3328fe,_0x47f3b3,_0x1eda45,_0x225bf8){const _0x40c3b7=a78_0x3fe49a,_0x16e207={'testId':_0x3328fe,'testFrameworkState':_0x47f3b3,'hookState':_0x1eda45,'args':_0x225bf8,'timestamp':new Date()['toISOString']()};_0x27c150[_0x40c3b7(0x183)](_0x3328fe,_0x16e207),logger['debug'](_0x40c3b7(0xbf)+_0x3328fe+_0x40c3b7(0x123)+_0x47f3b3+_0x40c3b7(0x182)+_0x1eda45);}async[a78_0x3fe49a(0x12d)](_0x1f2b9f,_0x35f48c){const _0x521a46=a78_0x3fe49a,_0x2acb23={};_0x2acb23[_0x521a46(0x157)]=function(_0x28bf08,_0x4d73cb){return _0x28bf08>_0x4d73cb;};const _0x102323=_0x2acb23;if(!_0x1f2b9f[_0x521a46(0x133)](_0x35f48c))return;const _0x477207=_0x1f2b9f['getPendingHooks'](_0x35f48c);logger[_0x521a46(0x154)](_0x521a46(0xed)+_0x477207['length']+_0x521a46(0x116)+_0x35f48c);for(const _0x4a283c of _0x477207){try{const _0x503a7f=await this[_0x521a46(0x11d)](_0x1f2b9f,_0x4a283c[_0x521a46(0x152)],_0x4a283c['hookState'],_0x4a283c['args']);_0x503a7f&&_0x102323['OqkZS'](Object[_0x521a46(0x13d)](_0x503a7f)['length'],0x0)&&_0x1f2b9f[_0x521a46(0x16c)](_0x503a7f),await this['runHooks'](_0x1f2b9f,_0x4a283c[_0x521a46(0x152)],_0x4a283c[_0x521a46(0xd7)],_0x4a283c[_0x521a46(0xef)]);}catch(_0x30ed5c){logger[_0x521a46(0x17e)](_0x521a46(0xe6)+_0x35f48c+',\x20error:\x20'+_0x30ed5c);}}_0x1f2b9f['removePendingHooks'](_0x35f48c),logger[_0x521a46(0x154)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x35f48c);}}function a78_0x4ebf(){const _0x531ab4=['KEY_TEST_FRAMEWORK_VERSION','sendLogCreatedEvent:\x20for\x20testId:\x20','\x20&\x20hook\x20=\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_ENDED_AT','CucumberTestFramework','finishedAt','scopes','resolveInstance','NONE','trackEvent:\x20unsupported\x20testFrameworkState=','format','getTestFrameworks','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_TAGS','rerun_name','hooks','getProcessId','eventJson','KEY_HOOK_FAILURE','trackHookEvent','hook_type','\x20&\x20hookState=','YUzPk','trackEvent','KEKNW',',\x20state:\x20','failure_reason','getId','5gOaJvX','CavZD','../../../helpers/helper.js','XTAFn','\x20payload=','MEpgI','\x20with\x20UUID:\x20','processPendingHooks','finished_at','KEY_HOOKS_STARTED','name','exports','pop','hasPendingHooks','KEY_TEST_FAILURE_TYPE','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KEY_TEST_LOCATION','failed','PRE','getInstance','\x20with\x20result:\x20','../cliUtils.js','812622LSRsRc','keys','KEY_TEST_RESULT','get','matchHookRegex','getCurrentInstanceName','SqWOU','DmdmG','../grpcClient','concat','code','getTestFrameworksVersions','KEY_TEST_SCOPE','runHooks','getCurrentTestState','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','../TestInfo.js','getTestUUID','KEY_HOOK_NAME','KEY_HOOK_RESULT','KEY_TEST_SCOPES','KEY_TEST_RERUN_NAME','testFrameworkState','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','debug','../state/hookState.js','customRerunParam','OqkZS','getCurrentHookState','KEY_HOOKS_FINISHED','readLogObjects','\x20testState:\x20','tags','baRTA','result','executionContext','INIT_TEST','Updated\x20cucumber\x20test\x20result:\x20','trackCucumberInstance','./constants/testFrameworkConstants.js','toISOString','unknown','storePendingHook','split','UnhandledError','3783438KemQnd','6qiXhhy','JKFRR','addMultipleEntries','from','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','Parsed\x20cucumber\x20test:\x20','KEY_HOOK_LOGS','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','nVNaJ','KEY_HOOK_ID','getTestDetails','vngvz','createContext','\x20hookState:\x20','stringify','getAllData','niOmr','meta','KEY_TEST_META','TEST','error','2794904ifvGhF','KEY_TEST_UUID','getContext',',\x20hookState:\x20','addPendingHook','CegVO','151359Fpiohi','Cucumber\x20log\x20created\x20event','\x20\x20and\x20args\x20=\x20',',\x20storing\x20as\x20pending\x20hook','DEFAULT_TEST_RESULT','hookData','Stored\x20pending\x20hook\x20for\x20testId:\x20','dFsuj','POST','zeVxi','./testFramework','\x20target=','KEY_TEST_LOGS','parseCucumberTest','Hgbas','sendLogCreatedEvent','started_at','4897333ILQrfD','setTrackedInstance','test_run_id','MAjnl','KEY_TEST_FAILURE','YIxig','getThreadId','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','location','KEY_TEST_STARTED_AT','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','testUUID','push','hookState','instance','\x20batch\x20','Tracked\x20cucumber\x20hook\x20event:\x20',',\x20state=','DEFAULT_HOOK_RESULT','KEY_HOOK_LAST_STARTED','\x20response=','KEY_EVENT_STARTED_AT','UvrbH','982096CPRlGT','setTestDetails','toString','KEY_AUTOMATE_SESSION_NAME','TOsed','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','exTzW','KEY_LOGS','failure_data','QuqpQ','KEY_TEST_FRAMEWORK_NAME','util','Processing\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','args','failure','../state/testFrameworkState.js','logCreatedEvent','testFrameworkName','inspect','KEY_EVENT_ENDED_AT','length','DhqAz','KEY_TEST_FILE_PATH','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_ATTACHMENTS','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','FVwLS','13936194BWkWkX','browserstackPlatformIndex','ohLqF','uuid','bLmGm','testFrameworkVersion','failure_type','startedAt','KEY_TEST_CODE','test','KEY_CUSTOM_TAGS'];a78_0x4ebf=function(){return _0x531ab4;};return a78_0x4ebf();}function a78_0x5c79(_0x457769,_0x20380e){const _0x4ebf9b=a78_0x4ebf();return a78_0x5c79=function(_0x5c79fc,_0x5b926b){_0x5c79fc=_0x5c79fc-0xbe;let _0x5a92a4=_0x4ebf9b[_0x5c79fc];return _0x5a92a4;},a78_0x5c79(_0x457769,_0x20380e);}module[a78_0x3fe49a(0x131)]=CucumberTestFramework;
1
+ const a78_0x5ec0d6=a78_0xefcf;function a78_0x23f1(){const _0x267762=['\x20for\x20test:\x20','KEY_TEST_STARTED_AT','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','addPendingHook','KEY_HOOK_LAST_FINISHED','storePendingHook','failure_data','testUUID','createContext','KEY_HOOK_LAST_STARTED','failure_reason','../grpcClient','KEY_TEST_LOCATION','TEST','../instances/trackedInstance.js','getTrackedInstance','KEY_TEST_FILE_PATH','NONE','getId','ANqGC','Tracked\x20cucumber\x20hook\x20event:\x20','KEY_HOOKS_STARTED','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','stringify','instance','hooks','KEY_CUSTOM_TAGS','name','platformIndex','KEY_EVENT_STARTED_AT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','lcaYM','pdybn','../cliUtils.js','\x20&\x20hookState=','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','phAaW','pop','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','test_run_id','getAllData','Updated\x20cucumber\x20test\x20result:\x20','testFrameworkVersion','push','XjsIp','MALPd','KEY_HOOK_ID','getTestFrameworks','getContext','OyeRz','10MqiCUa','hook_type','KEY_HOOKS_FINISHED','UnhandledError','vsFRS','executionContext','qwyyN','debug','getCurrentTestState','750681QlJQcZ','startedAt','rerun_name','KEY_TEST_ID','LOG_REPORT','UjxTv','Processing\x20','1367482acVsJL','wlRAO','meta','KEY_AUTOMATE_SESSION_NAME','1960475ZPrcsH','CucumberTestFramework','INIT_TEST','blgJy','sendLogCreatedEvent:\x20for\x20testId:\x20','key','getTestFrameworksVersions','toString','result','KEY_TEST_FAILURE_REASON','KEY_TEST_RESULT','SLUoI','OKwkb','testFrameworkName','9wxUITm','Parsed\x20cucumber\x20test:\x20','concat','\x20payload=','trackCucumberInstance:\x20saved\x20instance\x20contextId=','from','KEY_HOOK_FAILURE_REASON','getThreadId','getInstance','inspect','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20with\x20id\x20','eWpyY','split','GYMbH','readLogObjects','exports','createTestFrameworkEventPayload\x20testId:\x20','util','getCurrentHookState','processPendingHooks','KEY_TEST_ATTACHMENTS','3759475LTRCAO','test','1068752bRPmYs','\x20batch\x20','DEFAULT_HOOK_RESULT','jBncq','./constants/testFrameworkConstants.js','../TestInfo.js','\x20testState:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','matchHookRegex','\x20and\x20args\x20=\x20','browserstackPlatformIndex','TEtEZ','hgKxg','../../../helpers/classLogger.js','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','keys','SrOFJ','passed','HTkhf','VNfPL','KEY_TEST_FAILURE','scopes','resolveInstance','createTestFrameworkEventPayload','KEY_TEST_FRAMEWORK_NAME','parseCucumberTestResult','tags','aqkqY','args','trackCucumberInstance','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','KEY_TEST_LOGS','\x20response=','KEY_TEST_NAME','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','POST','length','KEY_EVENT_ENDED_AT','ceil','format','KEY_HOOK_FAILURE',',\x20hookState:\x20','KEY_TEST_FAILURE_TYPE','hasPendingHooks','fmLwu','testData','eventJson','failure','KEY_HOOK_FAILURE_TYPE','get','hookState','PRE','trackHookEvent','1488714ebPGrv','sendLogCreatedEvent','\x20target=','started_at','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',',\x20storing\x20as\x20pending\x20hook','772540shUsGT','slice','KEY_HOOK_RESULT','\x20with\x20result:\x20','KEY_TEST_UUID',',\x20state:\x20','CKaGe','KSBmU','\x20hookState:\x20','\x20\x20and\x20args\x20=\x20','setTestDetails','../state/hookState.js','7dLVsFp','endedAt','vZQoo','KEY_LOGS','toISOString','oXgmX','parseCucumberTest','3MTMkIV','addMultipleEntries','KEY_HOOK_LOGS','logCreatedEvent','testFrameworkState','failure_type','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','unknown','hookData','uuid','getTestDetails','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_TAGS','KEY_TEST_FRAMEWORK_VERSION',',\x20error:\x20','trackEvent','\x20pending\x20hooks\x20for\x20testId:\x20','runHooks','KEY_TEST_CODE','removePendingHooks','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','wIslX','error'];a78_0x23f1=function(){return _0x267762;};return a78_0x23f1();}(function(_0x3a452d,_0x571d7d){const _0x37cb3d=a78_0xefcf,_0x49d85c=_0x3a452d();while(!![]){try{const _0x3eb132=parseInt(_0x37cb3d(0x208))/0x1+parseInt(_0x37cb3d(0x20f))/0x2*(parseInt(_0x37cb3d(0x1b6))/0x3)+-parseInt(_0x37cb3d(0x1a3))/0x4+-parseInt(_0x37cb3d(0x237))/0x5+parseInt(_0x37cb3d(0x19d))/0x6*(-parseInt(_0x37cb3d(0x1af))/0x7)+parseInt(_0x37cb3d(0x239))/0x8*(parseInt(_0x37cb3d(0x221))/0x9)+-parseInt(_0x37cb3d(0x1ff))/0xa*(-parseInt(_0x37cb3d(0x213))/0xb);if(_0x3eb132===_0x571d7d)break;else _0x49d85c['push'](_0x49d85c['shift']());}catch(_0x379ecb){_0x49d85c['push'](_0x49d85c['shift']());}}}(a78_0x23f1,0x87084));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a78_0x5ec0d6(0x1ae)),{createClassLogger}=require(a78_0x5ec0d6(0x247)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a78_0x5ec0d6(0x1ee)),TrackedInstance=require(a78_0x5ec0d6(0x1db)),TestFrameworkConstants=require(a78_0x5ec0d6(0x23d)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a78_0x5ec0d6(0x214)),{v4:uuidv4}=require(a78_0x5ec0d6(0x1bf)),util=require(a78_0x5ec0d6(0x233)),TestInfo=require(a78_0x5ec0d6(0x23e)),GrpcClient=require(a78_0x5ec0d6(0x1d8));function a78_0xefcf(_0x3ac443,_0x4f561f){const _0x23f17e=a78_0x23f1();return a78_0xefcf=function(_0xefcff8,_0x5ea494){_0xefcff8=_0xefcff8-0x188;let _0x1c9920=_0x23f17e[_0xefcff8];return _0x1c9920;},a78_0xefcf(_0x3ac443,_0x4f561f);}class CucumberTestFramework extends TestFramework{constructor(_0x149f27,_0x1f01be,_0x54a037){super(_0x149f27,_0x1f01be,_0x54a037);}async['trackEvent'](_0x44846c,_0xb76707,_0x23f865={}){const _0x389061=a78_0x5ec0d6,_0x2bebd9={};_0x2bebd9[_0x389061(0x1a9)]=_0x389061(0x1a1),_0x2bebd9[_0x389061(0x1ec)]=function(_0x46e09c,_0x2b7ae3){return _0x46e09c===_0x2b7ae3;},_0x2bebd9[_0x389061(0x24a)]=_0x389061(0x1eb);const _0x311a5a=_0x2bebd9;await super[_0x389061(0x1c5)](_0x44846c,_0xb76707,_0x23f865);const _0x3eb711=this['resolveInstance'](_0x44846c,_0xb76707,_0x23f865);if(!_0x3eb711){logger[_0x389061(0x206)](_0x311a5a[_0x389061(0x1a9)]);return;}try{let _0x1b4dfb,_0x34df67;switch(_0x44846c){case TestFrameworkState[_0x389061(0x1da)]:_0x1b4dfb=_0x23f865[_0x389061(0x238)],_0x34df67=TestInfo['getTestUUID'](_0x1b4dfb['id']);if(_0x311a5a[_0x389061(0x1ec)](_0xb76707,HookState[_0x389061(0x19b)])){logger[_0x389061(0x206)](_0x389061(0x1f0)+_0x1b4dfb['id']);const _0x40ea7e={};_0x40ea7e[_0x389061(0x1d4)]=_0x34df67,_0x40ea7e[_0x389061(0x195)]=_0x1b4dfb,_0x3eb711[_0x389061(0x1b7)](this[_0x389061(0x1b5)](_0x40ea7e)),logger[_0x389061(0x206)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x1b4dfb['id']),await this[_0x389061(0x235)](_0x3eb711,_0x1b4dfb['id']);}else{if(_0x311a5a[_0x389061(0x1ec)](_0xb76707,HookState[_0x389061(0x18b)])){const _0x1abcca={};_0x1abcca[_0x389061(0x1d4)]=_0x34df67,_0x1abcca[_0x389061(0x195)]=_0x1b4dfb,_0x3eb711[_0x389061(0x1b7)](this['parseCucumberTestResult'](_0x1abcca)),await this[_0x389061(0x235)](_0x3eb711,_0x1b4dfb['id']);}}break;case TestFrameworkState[_0x389061(0x20c)]:_0x311a5a[_0x389061(0x1ec)](_0xb76707,HookState[_0x389061(0x18b)])&&await this['sendLogCreatedEvent'](_0x3eb711,_0x44846c,_0x23f865);break;default:if(CLIUtils[_0x389061(0x242)](_0x44846c[_0x389061(0x21a)]()[_0x389061(0x22e)]('.')[0x1])){const _0x2a5892=await this[_0x389061(0x19c)](_0x3eb711,_0x44846c,_0xb76707,_0x23f865);_0x3eb711['addMultipleEntries'](_0x2a5892);}else logger[_0x389061(0x206)](_0x389061(0x240)+_0x44846c+_0x389061(0x1ef)+_0xb76707);break;}}catch(_0x25fc90){logger['error'](util['format'](_0x311a5a[_0x389061(0x24a)],_0x44846c,_0xb76707,_0x23f865[_0x389061(0x18c)],_0x25fc90));}_0x23f865[_0x389061(0x1e5)]=_0x3eb711,await this[_0x389061(0x1c7)](_0x3eb711,_0x44846c,_0xb76707,_0x23f865);}['resolveInstance'](_0x34f055,_0x1ee5b8,_0x196515={}){const _0x55a3d2=a78_0x5ec0d6,_0x5ebac9={};_0x5ebac9[_0x55a3d2(0x210)]=function(_0x38986f,_0x11d0f2){return _0x38986f===_0x11d0f2;},_0x5ebac9['eWpyY']=function(_0x464e96,_0x74aac4){return _0x464e96===_0x74aac4;};const _0x5995cd=_0x5ebac9;let _0x4095ca=null;return(_0x5995cd[_0x55a3d2(0x210)](_0x34f055,TestFrameworkState[_0x55a3d2(0x215)])||_0x5995cd[_0x55a3d2(0x22d)](_0x34f055,TestFrameworkState[_0x55a3d2(0x1de)]))&&this[_0x55a3d2(0x257)](_0x34f055,_0x196515),_0x4095ca=TestFramework[_0x55a3d2(0x1dc)](),_0x4095ca;}['trackCucumberInstance'](_0x127463,_0x369605){const _0xd13113=a78_0x5ec0d6,_0x11f676=CLIUtils['getCurrentInstanceName'](),_0x3a3591=TrackedInstance[_0xd13113(0x1d5)](_0x11f676);let _0x557fce=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x11f676+',\x20state='+_0x127463),_0x557fce=new TestFrameworkInstance(_0x3a3591,this[_0xd13113(0x1fc)](),this['getTestFrameworksVersions'](),_0x127463,HookState[_0xd13113(0x1de)]),TestFramework['setTrackedInstance'](_0x3a3591,_0x557fce),logger['debug'](_0xd13113(0x225)+_0x3a3591[_0xd13113(0x1df)]()+_0xd13113(0x19f)+_0x11f676);}[a78_0x5ec0d6(0x1b5)](_0x429ff7){const _0x2ee53d=a78_0x5ec0d6,_0x29c043={};_0x29c043[_0x2ee53d(0x205)]=_0x2ee53d(0x1e3);const _0x5a3e31=_0x29c043,{testUUID:_0x2ce78a,testData:_0x4fa280}=_0x429ff7;if(!_0x4fa280||!_0x4fa280[_0x2ee53d(0x1bf)])return logger[_0x2ee53d(0x206)](_0x5a3e31[_0x2ee53d(0x205)]),{};const _0x439e97=_0x2ce78a,_0x31261f=_0x4fa280[_0x2ee53d(0x1bf)],_0x44a092=this[_0x2ee53d(0x1fc)]()[0x0],_0x2e6c72=this[_0x2ee53d(0x219)](),_0x31e9fd={[TestFrameworkConstants[_0x2ee53d(0x252)]]:_0x44a092,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2e6c72[_0x44a092],[TestFrameworkConstants[_0x2ee53d(0x25a)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2ee53d(0x1e2)]]:{},[TestFrameworkConstants[_0x2ee53d(0x1a7)]]:_0x439e97,[TestFrameworkConstants[_0x2ee53d(0x21d)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2ee53d(0x212)]]:_0x4fa280[_0x2ee53d(0x1e8)]||'',[TestFrameworkConstants[_0x2ee53d(0x1dd)]]:_0x4fa280['file_name']||'',[TestFrameworkConstants[_0x2ee53d(0x20b)]]:_0x31261f,[TestFrameworkConstants[_0x2ee53d(0x189)]]:_0x4fa280[_0x2ee53d(0x1e8)]||'',[TestFrameworkConstants[_0x2ee53d(0x1d9)]]:_0x4fa280['location']||'',[TestFrameworkConstants[_0x2ee53d(0x1c8)]]:_0x4fa280['body']?.['code']||null,[TestFrameworkConstants[_0x2ee53d(0x1c2)]]:_0x4fa280[_0x2ee53d(0x254)]||[],[TestFrameworkConstants[_0x2ee53d(0x1ce)]]:_0x4fa280[_0x2ee53d(0x209)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4fa280[_0x2ee53d(0x24f)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4fa280['scopes']||[],[TestFrameworkConstants[_0x2ee53d(0x259)]]:_0x4fa280['customRerunParam']?.[_0x2ee53d(0x20a)]||_0x4fa280[_0x2ee53d(0x1e8)]||'',[TestFrameworkConstants[_0x2ee53d(0x1e7)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x4fa280[_0x2ee53d(0x211)]||{}};TestInfo[_0x2ee53d(0x1ad)](_0x31261f,_0x31e9fd),logger[_0x2ee53d(0x206)](_0x2ee53d(0x222)+_0x4fa280[_0x2ee53d(0x1e8)]+'\x20with\x20UUID:\x20'+_0x439e97);const _0x5ee417={};return _0x5ee417[_0x31261f]=_0x31e9fd,_0x5ee417;}[a78_0x5ec0d6(0x253)](_0x113c35){const _0x5bf66c=a78_0x5ec0d6,_0x366775={'SLUoI':_0x5bf66c(0x1f3),'QUpnq':_0x5bf66c(0x1bd),'GYMbH':function(_0x3640ee,_0x231bfa){return _0x3640ee===_0x231bfa;},'blgJy':'failed','aqkqY':_0x5bf66c(0x202),'KSBmU':function(_0x23946b,_0x27871b,_0x366fcc){return _0x23946b(_0x27871b,_0x366fcc);},'OyeRz':function(_0x26275f,_0x7b230b){return _0x26275f>_0x7b230b;},'phAaW':function(_0x4dfb94,_0x53297d){return _0x4dfb94>_0x53297d;}},{testUUID:_0x157982,testData:_0x211fc4}=_0x113c35;if(!_0x211fc4||!_0x211fc4[_0x5bf66c(0x1bf)])return logger[_0x5bf66c(0x206)](_0x366775[_0x5bf66c(0x21e)]),{};const _0x3741f9=this[_0x5bf66c(0x250)](TestFrameworkState[_0x5bf66c(0x1da)],HookState['POST']),_0xc5f57d=_0x211fc4[_0x5bf66c(0x1bf)],_0x2b45de=TestInfo[_0x5bf66c(0x1c0)](_0xc5f57d)||{},_0x4ac141=_0x2b45de?_0x2b45de[TestFrameworkConstants[_0x5bf66c(0x1e7)]]||{}:{},_0x20eab4={..._0x2b45de,[TestFrameworkConstants[_0x5bf66c(0x21d)]]:_0x211fc4['result']||_0x366775['QUpnq'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x211fc4['finishedAt']||new Date()[_0x5bf66c(0x1b3)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5bf66c(0x1e7)]]:_0x4ac141,[TestFrameworkConstants[_0x5bf66c(0x1b2)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x211fc4[_0x5bf66c(0x211)]||{}};_0x366775[_0x5bf66c(0x22f)](_0x211fc4[_0x5bf66c(0x21b)],_0x366775[_0x5bf66c(0x216)])&&_0x211fc4['failure']&&(_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x192)]]=_0x211fc4[_0x5bf66c(0x1bb)]||_0x366775[_0x5bf66c(0x255)],_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x21c)]]=_0x211fc4['failure_reason']||'',_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x24e)]]=_0x211fc4[_0x5bf66c(0x197)]);const _0x2205eb=TestInfo[_0x5bf66c(0x1c0)](_0xc5f57d)[TestFrameworkConstants[_0x5bf66c(0x236)]]||{},_0x9d8574=_0x366775[_0x5bf66c(0x1aa)](getManualUploadLogs,_0x2205eb,_0x3741f9[_0x5bf66c(0x1f5)]()['get'](_0xc5f57d)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x366775[_0x5bf66c(0x1fe)](_0x9d8574[_0x5bf66c(0x18c)],0x0)){const _0xabe08=_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x1b2)]]||[];_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x1b2)]]=[..._0xabe08,..._0x9d8574];}_0x211fc4['hooks']&&_0x366775[_0x5bf66c(0x1f1)](_0x211fc4[_0x5bf66c(0x1e6)][_0x5bf66c(0x18c)],0x0)&&(_0x20eab4[TestFrameworkConstants[_0x5bf66c(0x201)]]=_0x211fc4[_0x5bf66c(0x1e6)]);TestInfo[_0x5bf66c(0x1ad)](_0xc5f57d,_0x20eab4),logger['debug'](_0x5bf66c(0x1f6)+_0x211fc4['name']+_0x5bf66c(0x1a6)+_0x211fc4[_0x5bf66c(0x21b)]);const _0x28e823={};return _0x28e823[_0xc5f57d]=_0x20eab4,_0x28e823;}async[a78_0x5ec0d6(0x19c)](_0x50f0ba,_0x2d4590,_0x1c4996,_0x5c3011){const _0x297ed2=a78_0x5ec0d6,_0x23211d={'VcHgB':_0x297ed2(0x1ca),'fmLwu':function(_0x59c9c8){return _0x59c9c8();},'RZsWG':function(_0x1524ac,_0x154d7c){return _0x1524ac in _0x154d7c;},'njlrQ':function(_0x1f40aa,_0x97421a){return _0x1f40aa===_0x97421a;},'VNfPL':function(_0x1e4b83,_0x2aeee4){return _0x1e4b83===_0x2aeee4;},'hgKxg':function(_0x4da42d,_0xaf9df9){return _0x4da42d>_0xaf9df9;},'XjsIp':'failed','pdybn':'UnhandledError','UjxTv':_0x297ed2(0x24b),'ANqGC':function(_0xd89365,_0x44e6a2){return _0xd89365!==_0x44e6a2;}},{hookData:_0x5f334a}=_0x5c3011;if(!_0x5f334a)return logger[_0x297ed2(0x206)](_0x23211d['VcHgB']),{};const _0x59807d=_0x5f334a[_0x297ed2(0x1bf)]||_0x23211d[_0x297ed2(0x194)](uuidv4),_0x85c304=_0x5f334a[_0x297ed2(0x1f4)],_0x6fc577=_0x2d4590[_0x297ed2(0x21a)]()[_0x297ed2(0x22e)]('.')[0x1],_0x19ff01=TestInfo[_0x297ed2(0x1c0)](_0x85c304)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x599713=_0x50f0ba[_0x297ed2(0x1f5)]()[_0x297ed2(0x199)](_0x85c304);if(!_0x599713)return logger['debug'](_0x297ed2(0x22b)+_0x85c304+_0x297ed2(0x1a2)),this['storePendingHook'](_0x50f0ba,_0x85c304,_0x2d4590,_0x1c4996,_0x5c3011),{};let _0x36c5dc=_0x599713[TestFrameworkConstants[_0x297ed2(0x1e2)]];!_0x36c5dc&&(_0x36c5dc={});!_0x23211d['RZsWG'](_0x6fc577,_0x36c5dc)&&(_0x36c5dc[_0x6fc577]=[]);let _0x11145c=_0x599713[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x11145c&&(_0x11145c={});!_0x23211d['RZsWG'](_0x6fc577,_0x11145c)&&(_0x11145c[_0x6fc577]=[]);const _0x5a0cc5={[TestFrameworkConstants[_0x297ed2(0x1e2)]]:_0x36c5dc,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x11145c},_0x5a2531={};_0x5a2531[_0x85c304]=_0x5a0cc5;const _0x566858=_0x5a2531;if(_0x23211d['njlrQ'](_0x1c4996,HookState[_0x297ed2(0x19b)])){const _0x46c138={[TestFrameworkConstants[_0x297ed2(0x1fb)]]:_0x59807d,[TestFrameworkConstants[_0x297ed2(0x1a5)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x297ed2(0x1ea)]]:_0x5f334a[_0x297ed2(0x1a0)],[TestFrameworkConstants[_0x297ed2(0x1b8)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5f334a['hook_type'],[TestFrameworkConstants[_0x297ed2(0x1e7)]]:_0x19ff01};_0x46c138[_0x297ed2(0x218)]=_0x6fc577;const _0x4dcd58=_0x46c138;_0x36c5dc[_0x6fc577][_0x297ed2(0x1f8)](_0x4dcd58),_0x566858[_0x85c304][TestFrameworkConstants[_0x297ed2(0x1d6)]]=_0x6fc577,logger['debug'](_0x297ed2(0x1cf)+_0x6fc577+'\x20&\x20hook\x20=\x20'+_0x4dcd58+_0x297ed2(0x1ac)+_0x5c3011);}else{if(_0x23211d[_0x297ed2(0x24d)](_0x1c4996,HookState[_0x297ed2(0x18b)])){const _0x1f3726=_0x5f334a[_0x297ed2(0x21b)],_0x3820da=_0x36c5dc[_0x6fc577]||[];logger[_0x297ed2(0x206)](_0x297ed2(0x241)+_0x3820da+_0x297ed2(0x243)+_0x5c3011);if(_0x23211d[_0x297ed2(0x246)](_0x3820da['length'],0x0)){const _0x585fde=_0x3820da[_0x297ed2(0x1f2)]();_0x23211d[_0x297ed2(0x24d)](_0x5f334a[_0x297ed2(0x21b)],_0x23211d[_0x297ed2(0x1f9)])&&_0x5f334a[_0x297ed2(0x1d3)]?(_0x585fde[TestFrameworkConstants[_0x297ed2(0x198)]]=_0x5f334a[_0x297ed2(0x1bb)]||_0x23211d[_0x297ed2(0x1ed)],_0x585fde[TestFrameworkConstants[_0x297ed2(0x227)]]=_0x5f334a[_0x297ed2(0x1d7)]||'',_0x585fde[TestFrameworkConstants[_0x297ed2(0x190)]]=_0x5f334a[_0x297ed2(0x1d3)]):_0x585fde[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x23211d[_0x297ed2(0x20d)];_0x23211d[_0x297ed2(0x1e0)](_0x1f3726,TestFrameworkConstants[_0x297ed2(0x23b)])&&(_0x585fde[TestFrameworkConstants[_0x297ed2(0x1a5)]]=_0x1f3726);_0x585fde[TestFrameworkConstants[_0x297ed2(0x18d)]]=_0x5f334a['finished_at']||new Date()[_0x297ed2(0x1b3)](),_0x585fde[TestFrameworkConstants[_0x297ed2(0x1e7)]]=_0x19ff01;const _0x4aab9e=_0x585fde[TestFrameworkConstants['KEY_HOOK_ID']];!_0x11145c[_0x6fc577]&&(_0x11145c[_0x6fc577]=[]),_0x11145c[_0x6fc577]['push'](_0x585fde),_0x566858[_0x85c304][TestFrameworkConstants[_0x297ed2(0x1d1)]]=_0x6fc577;}}}return logger['debug'](_0x297ed2(0x1e1)+_0x5f334a[_0x297ed2(0x200)]+_0x297ed2(0x22c)+_0x59807d+_0x297ed2(0x1cd)+_0x85c304),_0x566858;}[a78_0x5ec0d6(0x251)](_0x2f549d){const _0x176e70=a78_0x5ec0d6,_0x5ec4a7={};_0x5ec4a7[_0x176e70(0x1b4)]='base64';const _0x1c74a6=_0x5ec4a7;try{const _0x58b5ba=_0x2f549d[_0x176e70(0x238)]?_0x2f549d['test']['id']:_0x2f549d[_0x176e70(0x1be)][_0x176e70(0x1f4)],_0x38c57a=_0x2f549d[_0x176e70(0x1e5)],_0x296062=_0x38c57a[_0x176e70(0x1fd)](),_0x495cf2=_0x38c57a[_0x176e70(0x1f5)]()[_0x176e70(0x199)](_0x58b5ba);if(!_0x495cf2)return logger[_0x176e70(0x206)](_0x176e70(0x1c1)+_0x58b5ba),{};logger['debug'](_0x176e70(0x232)+_0x58b5ba);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x56d611='',[TestFrameworkConstants[_0x176e70(0x1c3)]]:_0xcc5fc9='',[TestFrameworkConstants[_0x176e70(0x1ce)]]:_0x230528='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x20499d=''}=_0x495cf2,_0x57a9df=_0x38c57a[_0x176e70(0x207)]()[_0x176e70(0x21a)]()[_0x176e70(0x22e)]('.')[0x1],_0x4e794b=_0x38c57a[_0x176e70(0x234)]()['toString']()[_0x176e70(0x22e)]('.')[0x1],_0x22f6f6=global?.[_0x176e70(0x244)]??0x0,_0x3afcb8=_0x38c57a['getRef'](),_0x174cd1=Buffer[_0x176e70(0x226)](JSON[_0x176e70(0x1e4)](_0x495cf2))['toString'](_0x1c74a6['oXgmX']),_0x917712={'hash':_0x296062[_0x176e70(0x1df)](),'threadId':_0x296062[_0x176e70(0x228)]()[_0x176e70(0x21a)](),'processId':_0x296062['getProcessId']()[_0x176e70(0x21a)]()},_0x294fd0={};_0x294fd0[_0x176e70(0x1e9)]=_0x22f6f6,_0x294fd0[_0x176e70(0x220)]=_0x56d611,_0x294fd0[_0x176e70(0x1f7)]=_0xcc5fc9,_0x294fd0['testFrameworkState']=_0x57a9df,_0x294fd0[_0x176e70(0x19a)]=_0x4e794b,_0x294fd0['startedAt']=_0x230528,_0x294fd0[_0x176e70(0x1b0)]=_0x20499d,_0x294fd0[_0x176e70(0x1bf)]=_0x3afcb8,_0x294fd0[_0x176e70(0x196)]=_0x174cd1,_0x294fd0[_0x176e70(0x204)]=_0x917712;const _0xdc31b3=_0x294fd0;return logger[_0x176e70(0x206)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x58b5ba+_0x176e70(0x23f)+_0x57a9df+_0x176e70(0x1ab)+_0x4e794b),_0xdc31b3;}catch(_0x2d1713){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x176e70(0x18f)](_0x2d1713)),{};}}async[a78_0x5ec0d6(0x19e)](_0x1b7034,_0x3c510a,_0xdc05c1){const _0x9157aa=a78_0x5ec0d6,_0x48cdf8={'vZQoo':function(_0x1947c9,_0x35bac8,_0x307fe7){return _0x1947c9(_0x35bac8,_0x307fe7);},'vsFRS':function(_0x2fcfa1,_0x130d10){return _0x2fcfa1===_0x130d10;},'TeiNS':_0x9157aa(0x18a),'OKwkb':function(_0x35284c,_0x1f929f){return _0x35284c/_0x1f929f;},'wIslX':function(_0x488966,_0x1bec71){return _0x488966<_0x1bec71;},'MALPd':function(_0x135e7a,_0x57f949){return _0x135e7a*_0x57f949;},'TEtEZ':function(_0x21cfb7,_0xba03e3){return _0x21cfb7+_0xba03e3;},'sYJAn':function(_0x1ba78b,_0x302eed){return _0x1ba78b+_0x302eed;},'jBncq':'Cucumber\x20log\x20created\x20event'};try{const _0x4ba24d=_0xdc05c1['testUUID'],_0x567d92=_0x1b7034['getAllData']()[_0x9157aa(0x199)](_0x4ba24d),{[TestFrameworkConstants[_0x9157aa(0x252)]]:_0x5e85a6='',[TestFrameworkConstants[_0x9157aa(0x1c3)]]:_0x50a0f0=''}=_0x567d92,_0x32e34d=TestInfo[_0x9157aa(0x230)](_0x4ba24d),_0x538708=TestInfo[_0x9157aa(0x1c0)](_0x4ba24d)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5f08c9=_0x48cdf8[_0x9157aa(0x1b1)](getMediaArtifactsLogs,_0x538708,_0x1b7034[_0x9157aa(0x1f5)]()['get'](_0x4ba24d)[TestFrameworkConstants[_0x9157aa(0x1a7)]]),_0x359d12=(_0x32e34d||[])[_0x9157aa(0x223)](_0x5f08c9||[]);if(!_0x359d12||_0x48cdf8[_0x9157aa(0x203)](_0x359d12[_0x9157aa(0x18c)],0x0)){logger['debug'](_0x48cdf8['TeiNS']);return;}const _0x15237b=0x28,_0x57c6cb=Math[_0x9157aa(0x18e)](_0x48cdf8[_0x9157aa(0x21f)](_0x359d12['length'],_0x15237b));for(let _0x386b86=0x0;_0x48cdf8[_0x9157aa(0x1cb)](_0x386b86,_0x57c6cb);_0x386b86++){const _0x1fa5b9=_0x48cdf8[_0x9157aa(0x1fa)](_0x386b86,_0x15237b),_0x21e141=_0x48cdf8['TEtEZ'](_0x1fa5b9,_0x15237b),_0xbfc382=_0x359d12[_0x9157aa(0x1a4)](_0x1fa5b9,_0x21e141),_0x318fa3={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0xbfc382,'testFrameworkName':_0x5e85a6,'testFrameworkVersion':_0x50a0f0,'testFrameworkState':_0x3c510a[_0x9157aa(0x21a)]()[_0x9157aa(0x22e)]('.')[0x1]};logger[_0x9157aa(0x206)](_0x9157aa(0x217)+_0x4ba24d+_0x9157aa(0x23a)+_0x48cdf8[_0x9157aa(0x245)](_0x386b86,0x1)+'/'+_0x57c6cb+_0x9157aa(0x224)+util[_0x9157aa(0x22a)](_0x318fa3));const _0x178ebb=await GrpcClient[_0x9157aa(0x229)]()[_0x9157aa(0x1b9)](_0x318fa3);logger[_0x9157aa(0x206)](_0x9157aa(0x217)+_0x4ba24d+_0x9157aa(0x23a)+_0x48cdf8['sYJAn'](_0x386b86,0x1)+'/'+_0x57c6cb+_0x9157aa(0x188)+util['inspect'](_0x178ebb));}}catch(_0x596da0){logger[_0x9157aa(0x1cc)](_0x9157aa(0x1bc)+util[_0x9157aa(0x18f)](_0x596da0));}logger[_0x9157aa(0x206)](_0x48cdf8[_0x9157aa(0x23c)]);}[a78_0x5ec0d6(0x1d2)](_0x4b9744,_0x663b47,_0xd4ded6,_0x9acb19,_0x56bc05){const _0x5b9c0e=a78_0x5ec0d6,_0x36bf07={'testId':_0x663b47,'testFrameworkState':_0xd4ded6,'hookState':_0x9acb19,'args':_0x56bc05,'timestamp':new Date()[_0x5b9c0e(0x1b3)]()};_0x4b9744[_0x5b9c0e(0x1d0)](_0x663b47,_0x36bf07),logger['debug'](_0x5b9c0e(0x258)+_0x663b47+_0x5b9c0e(0x1a8)+_0xd4ded6+_0x5b9c0e(0x191)+_0x9acb19);}async[a78_0x5ec0d6(0x235)](_0x49aa45,_0x3e50ff){const _0x1c4175=a78_0x5ec0d6,_0x13a87e={};_0x13a87e[_0x1c4175(0x24c)]=function(_0x389d59,_0x26273b){return _0x389d59>_0x26273b;};const _0x3d2405=_0x13a87e;if(!_0x49aa45[_0x1c4175(0x193)](_0x3e50ff))return;const _0x2343e1=_0x49aa45['getPendingHooks'](_0x3e50ff);logger[_0x1c4175(0x206)](_0x1c4175(0x20e)+_0x2343e1[_0x1c4175(0x18c)]+_0x1c4175(0x1c6)+_0x3e50ff);for(const _0x23abd5 of _0x2343e1){try{const _0x175f6e=await this[_0x1c4175(0x19c)](_0x49aa45,_0x23abd5[_0x1c4175(0x1ba)],_0x23abd5[_0x1c4175(0x19a)],_0x23abd5[_0x1c4175(0x256)]);_0x175f6e&&_0x3d2405[_0x1c4175(0x24c)](Object[_0x1c4175(0x249)](_0x175f6e)[_0x1c4175(0x18c)],0x0)&&_0x49aa45['addMultipleEntries'](_0x175f6e),await this[_0x1c4175(0x1c7)](_0x49aa45,_0x23abd5[_0x1c4175(0x1ba)],_0x23abd5[_0x1c4175(0x19a)],_0x23abd5[_0x1c4175(0x256)]);}catch(_0x5261dd){logger[_0x1c4175(0x1cc)](_0x1c4175(0x248)+_0x3e50ff+_0x1c4175(0x1c4)+_0x5261dd);}}_0x49aa45[_0x1c4175(0x1c9)](_0x3e50ff),logger[_0x1c4175(0x206)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3e50ff);}}module[a78_0x5ec0d6(0x231)]=CucumberTestFramework;