browserstack-node-sdk 1.70.3 → 1.71.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 (223) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a106_0x3b6c49=a106_0x4da5;(function(_0x46ca1c,_0x18d759){const _0x293fc2=a106_0x4da5,_0x4f891b=_0x46ca1c();while(!![]){try{const _0x1931dc=parseInt(_0x293fc2(0x21a))/0x1+parseInt(_0x293fc2(0x1bb))/0x2*(-parseInt(_0x293fc2(0x258))/0x3)+parseInt(_0x293fc2(0x1bf))/0x4+parseInt(_0x293fc2(0x2ab))/0x5+-parseInt(_0x293fc2(0x1f3))/0x6+-parseInt(_0x293fc2(0x19e))/0x7*(parseInt(_0x293fc2(0x1f1))/0x8)+-parseInt(_0x293fc2(0x1b8))/0x9;if(_0x1931dc===_0x18d759)break;else _0x4f891b['push'](_0x4f891b['shift']());}catch(_0x5cfa20){_0x4f891b['push'](_0x4f891b['shift']());}}}(a106_0x3ecc,0x262ec));const TestFramework=require(a106_0x3b6c49(0x209)),TestFrameworkState=require(a106_0x3b6c49(0x1ab)),HookState=require(a106_0x3b6c49(0x29a)),TestFrameworkInstance=require(a106_0x3b6c49(0x2a5)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a106_0x3b6c49(0x2c5)),CLIUtils=require('../cliUtils.js'),TestInfo=require(a106_0x3b6c49(0x2e9)),GrpcClient=require(a106_0x3b6c49(0x1d7)),{getPlaywrightProvider,getProductForSession}=require(a106_0x3b6c49(0x2f2)),{createClassLogger}=require(a106_0x3b6c49(0x296)),{v4:uuidv4}=require('uuid'),util=require(a106_0x3b6c49(0x2c9)),logger=createClassLogger(a106_0x3b6c49(0x1b5));function a106_0x4da5(_0x5a54ac,_0x5c7ef8){const _0x3ecc90=a106_0x3ecc();return a106_0x4da5=function(_0x4da5e3,_0x43e116){_0x4da5e3=_0x4da5e3-0x19d;let _0xdb4f96=_0x3ecc90[_0x4da5e3];return _0xdb4f96;},a106_0x4da5(_0x5a54ac,_0x5c7ef8);}class TestCafeTestFramework extends TestFramework{constructor(_0x2f9254,_0x2589a7,_0x28bbbb){const _0x1009fc=a106_0x3b6c49;super(_0x2f9254,_0x2589a7,_0x28bbbb),this[_0x1009fc(0x1fb)]=new Map();}async['trackEvent'](_0x214395,_0x2b7ce0,_0x15c897={}){const _0x1900ae=a106_0x3b6c49,_0x49d0eb={'JuniK':function(_0x54b6d9,_0x4ddf5a){return _0x54b6d9===_0x4ddf5a;},'UMfpl':function(_0x17c89d,_0x2fd7c7){return _0x17c89d>_0x2fd7c7;},'yZtaJ':'__pendingPlatformUuids','rAjvE':'__pendingPlatformIdentifiers','Lsner':function(_0xac9100,_0x33784a){return _0xac9100<_0x33784a;},'LvZhm':function(_0x171d76){return _0x171d76();},'brUWI':function(_0x53ca46,_0x3113ed){return _0x53ca46&&_0x3113ed;},'EWeAf':_0x1900ae(0x257),'fqtZv':_0x1900ae(0x200),'PnLmI':function(_0x43f9fa,_0x35da37){return _0x43f9fa===_0x35da37;},'PGyjw':_0x1900ae(0x266),'lVMNS':function(_0x40a284,_0x85b547){return _0x40a284<_0x85b547;},'oKuNl':_0x1900ae(0x2d3),'pMLSe':function(_0x300e37,_0x39a344){return _0x300e37===_0x39a344;},'OPBut':_0x1900ae(0x210),'pMDZD':function(_0x32a06d,_0x46b0e4){return _0x32a06d===_0x46b0e4;},'UkBhC':function(_0xedf3d2,_0x434219){return _0xedf3d2===_0x434219;},'DKubN':function(_0xb97932,_0x2987a9){return _0xb97932||_0x2987a9;},'dngeC':function(_0x1615ec,_0x3da394){return _0x1615ec<_0x3da394;}};super[_0x1900ae(0x1ef)](_0x214395,_0x2b7ce0,_0x15c897);const _0x47a18c=this[_0x1900ae(0x1ee)](_0x214395,_0x2b7ce0,_0x15c897);if(!_0x47a18c){logger['debug'](_0x1900ae(0x2a7)+_0x214395+_0x1900ae(0x1cc)+_0x2b7ce0);return;}_0x47a18c[_0x1900ae(0x2e6)](_0x214395),_0x47a18c[_0x1900ae(0x28a)](_0x2b7ce0),_0x15c897[_0x1900ae(0x20d)]=_0x47a18c,logger[_0x1900ae(0x21b)]('trackEvent:\x20state='+_0x214395+_0x1900ae(0x1cc)+_0x2b7ce0+_0x1900ae(0x1b9)+(_0x47a18c[_0x1900ae(0x26a)]&&_0x47a18c[_0x1900ae(0x26a)]()));try{if(_0x49d0eb[_0x1900ae(0x211)](_0x214395,TestFrameworkState[_0x1900ae(0x1bc)])&&_0x49d0eb[_0x1900ae(0x211)](_0x2b7ce0,HookState['PRE'])){const _0x265f06=this[_0x1900ae(0x1fc)](_0x15c897[_0x1900ae(0x266)],0x0),_0x55a603=Array[_0x1900ae(0x2b8)](_0x15c897[_0x1900ae(0x23f)])&&_0x49d0eb['UMfpl'](_0x15c897[_0x1900ae(0x23f)][_0x1900ae(0x1ec)],0x0)?_0x15c897['userAgents']:[''],_0x1c088c=_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb['yZtaJ']),_0x530a85=_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x1db)]),_0x5e2da4=Array[_0x1900ae(0x2b8)](_0x1c088c)&&_0x49d0eb[_0x1900ae(0x211)](_0x1c088c[_0x1900ae(0x1ec)],_0x55a603[_0x1900ae(0x1ec)]);logger['info'](_0x1900ae(0x282)+_0x55a603[_0x1900ae(0x1ec)]+_0x1900ae(0x1f4)+_0x5e2da4+')');const _0x2d41cf=[],_0x2b648b=[],_0x103fa2={};for(let _0x12dff8=0x0;_0x49d0eb[_0x1900ae(0x295)](_0x12dff8,_0x55a603[_0x1900ae(0x1ec)]);_0x12dff8++){const _0x307362=_0x5e2da4?_0x1c088c[_0x12dff8]:_0x49d0eb['LvZhm'](uuidv4),_0x241aa9=_0x49d0eb[_0x1900ae(0x1f8)](_0x5e2da4,_0x530a85)&&_0x530a85[_0x12dff8]?_0x530a85[_0x12dff8]:_0x265f06+'#'+_0x12dff8;_0x2d41cf[_0x1900ae(0x25a)](_0x307362),_0x2b648b[_0x1900ae(0x25a)](_0x241aa9),_0x103fa2[_0x241aa9]=this[_0x1900ae(0x1cb)](_0x307362,_0x15c897[_0x1900ae(0x266)],_0x15c897[_0x1900ae(0x259)]);}_0x47a18c['updateData'](_0x49d0eb['yZtaJ'],null),_0x47a18c[_0x1900ae(0x23d)](_0x49d0eb['rAjvE'],null),_0x47a18c[_0x1900ae(0x23d)](_0x49d0eb[_0x1900ae(0x2da)],_0x2d41cf),_0x47a18c[_0x1900ae(0x23d)](_0x49d0eb[_0x1900ae(0x1d1)],_0x2b648b),_0x103fa2[_0x265f06]=_0x103fa2[_0x2b648b[0x0]],_0x47a18c[_0x1900ae(0x19d)](_0x103fa2);const _0x5b798a={[_0x265f06+_0x1900ae(0x270)]:_0x2d41cf,[_0x265f06+_0x1900ae(0x25d)]:_0x2b648b};_0x47a18c[_0x1900ae(0x1c8)](_0x5b798a),_0x15c897[_0x1900ae(0x2ed)]=_0x265f06,_0x15c897[_0x1900ae(0x25f)]=_0x2d41cf[0x0],_0x15c897[_0x1900ae(0x1d2)]=0x0,_0x15c897[_0x1900ae(0x2d9)]=_0x2d41cf,_0x15c897['__platformIdentifiers']=_0x2b648b;const _0x577157=_0x15c897[_0x1900ae(0x266)]&&_0x15c897[_0x1900ae(0x266)][_0x1900ae(0x21f)]||'';for(let _0x1a12f7=0x0;_0x49d0eb[_0x1900ae(0x295)](_0x1a12f7,_0x2d41cf[_0x1900ae(0x1ec)]);_0x1a12f7++){this[_0x1900ae(0x1fb)][_0x1900ae(0x2f1)](_0x2d41cf[_0x1a12f7],{'testName':_0x577157,'platformIndex':_0x1a12f7,'testIdentifier':_0x2b648b[_0x1a12f7],'sessionId':null});}}if(_0x49d0eb[_0x1900ae(0x211)](_0x214395,TestFrameworkState['TEST'])&&_0x49d0eb['PnLmI'](_0x2b7ce0,HookState['POST'])){const _0x27c761=_0x15c897[_0x1900ae(0x266)],_0x39ee00=_0x15c897['testRunInfo'],_0x13ac30=this[_0x1900ae(0x1fc)](_0x27c761,0x0),_0x5768f8=_0x47a18c[_0x1900ae(0x1c5)]()['get'](_0x13ac30+'.__platformUuids')||[],_0x5b8362=_0x47a18c['getAllData']()[_0x1900ae(0x2a9)](_0x13ac30+_0x1900ae(0x25d))||[],_0x1346f9=this[_0x1900ae(0x23c)](_0x27c761,_0x39ee00),_0x24e0fa={};for(let _0x57cab1=0x0;_0x49d0eb[_0x1900ae(0x295)](_0x57cab1,_0x5b8362[_0x1900ae(0x1ec)]);_0x57cab1++){const _0x173ae1=_0x5b8362[_0x57cab1],_0x1a966d=_0x47a18c['getAllData']()[_0x1900ae(0x2a9)](_0x173ae1)||{},_0x5c7f4d={..._0x1a966d,..._0x1346f9};_0x24e0fa[_0x173ae1]=_0x5c7f4d;}_0x49d0eb[_0x1900ae(0x1c6)](_0x5b8362['length'],0x0)&&(_0x24e0fa[_0x13ac30]=_0x24e0fa[_0x5b8362[0x0]]);_0x47a18c[_0x1900ae(0x19d)](_0x24e0fa),_0x15c897[_0x1900ae(0x2ed)]=_0x13ac30,_0x15c897['testUuid']=_0x5768f8[0x0]||'',_0x15c897[_0x1900ae(0x1d2)]=0x0,_0x15c897[_0x1900ae(0x2d9)]=_0x5768f8,_0x15c897[_0x1900ae(0x1ff)]=_0x5b8362,await this[_0x1900ae(0x212)](_0x47a18c,_0x214395,_0x2b7ce0,_0x49d0eb[_0x1900ae(0x202)],_0x15c897,0x0);for(let _0xbe4734=0x0;_0x49d0eb[_0x1900ae(0x1c0)](_0xbe4734,_0x5768f8[_0x1900ae(0x1ec)]);_0xbe4734++){this[_0x1900ae(0x1fb)][_0x1900ae(0x250)](_0x5768f8[_0xbe4734]);}}if(CLIUtils[_0x1900ae(0x2a1)](_0x214395[_0x1900ae(0x2ce)]()[_0x1900ae(0x294)]('.')[0x1])){const _0x4b086c=await this[_0x1900ae(0x1a0)](_0x47a18c,_0x214395,_0x2b7ce0,_0x15c897);Object[_0x1900ae(0x254)](_0x4b086c)[_0x1900ae(0x2c1)](([_0x78ceb6,_0x5c7f43])=>_0x47a18c['addMultipleEntries']({[_0x78ceb6]:_0x5c7f43}));const _0x40225b=_0x214395[_0x1900ae(0x2ce)]()[_0x1900ae(0x294)]('.')[0x1];let _0x178ba6=_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb['EWeAf']),_0x53ec9e=_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x1d1)]);const _0xa0949a=Array[_0x1900ae(0x2b8)](_0x15c897[_0x1900ae(0x23f)])&&_0x49d0eb[_0x1900ae(0x1c6)](_0x15c897[_0x1900ae(0x23f)][_0x1900ae(0x1ec)],0x0)?_0x15c897[_0x1900ae(0x23f)]:Array[_0x1900ae(0x2b8)](_0x178ba6)?_0x178ba6:[''];if(_0x40225b['startsWith'](_0x49d0eb[_0x1900ae(0x1f9)])&&_0x49d0eb[_0x1900ae(0x2df)](_0x2b7ce0,HookState[_0x1900ae(0x219)])){const _0x36a119=Array[_0x1900ae(0x2b8)](_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x226)]))&&_0x49d0eb[_0x1900ae(0x2e3)](_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb['yZtaJ'])[_0x1900ae(0x1ec)],_0xa0949a[_0x1900ae(0x1ec)]);if(!_0x36a119){const _0x386db0=_0xa0949a[_0x1900ae(0x2b2)](()=>uuidv4()),_0x2d23ca=_0xa0949a[_0x1900ae(0x2b2)]((_0x59ff3b,_0x5cc7ff)=>_0x1900ae(0x2ea)+(_0x15c897[_0x1900ae(0x1d3)]||_0x1900ae(0x1d8))+'#'+_0x5cc7ff);_0x47a18c['updateData'](_0x49d0eb[_0x1900ae(0x226)],_0x386db0),_0x47a18c['updateData'](_0x49d0eb[_0x1900ae(0x1db)],_0x2d23ca),_0x47a18c['updateData'](_0x49d0eb[_0x1900ae(0x2da)],_0x386db0),_0x47a18c[_0x1900ae(0x23d)](_0x49d0eb[_0x1900ae(0x1d1)],_0x2d23ca),_0x178ba6=_0x386db0,_0x53ec9e=_0x2d23ca;}else _0x178ba6=_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x226)]),_0x53ec9e=_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x1db)]);}Array['isArray'](_0x178ba6)&&_0x49d0eb[_0x1900ae(0x1c6)](_0x178ba6[_0x1900ae(0x1ec)],0x0)&&(_0x15c897[_0x1900ae(0x25f)]=_0x178ba6[0x0],_0x15c897['platformIndex']=0x0,_0x15c897['__platformUuids']=_0x178ba6,_0x15c897[_0x1900ae(0x1ff)]=_0x53ec9e);}}catch(_0x36e59b){logger['error'](util['format'](_0x49d0eb[_0x1900ae(0x284)],_0x214395,_0x2b7ce0,_0x36e59b[_0x1900ae(0x289)]||_0x36e59b));}try{await this[_0x1900ae(0x247)](_0x47a18c,_0x214395,_0x2b7ce0,_0x15c897);}catch(_0x394104){logger[_0x1900ae(0x2e5)](_0x1900ae(0x2e0)+(_0x394104[_0x1900ae(0x289)]||_0x394104));}const _0x3b7907=_0x214395[_0x1900ae(0x2ce)]()['split']('.')[0x1],_0x51d708=_0x49d0eb['pMDZD'](_0x214395,TestFrameworkState[_0x1900ae(0x1bc)])&&(_0x49d0eb[_0x1900ae(0x2e3)](_0x2b7ce0,HookState[_0x1900ae(0x219)])||_0x49d0eb[_0x1900ae(0x211)](_0x2b7ce0,HookState[_0x1900ae(0x23a)])),_0x38b842=CLIUtils[_0x1900ae(0x2a1)](_0x3b7907)&&(_0x49d0eb['UkBhC'](_0x2b7ce0,HookState['PRE'])||_0x49d0eb[_0x1900ae(0x2df)](_0x2b7ce0,HookState[_0x1900ae(0x23a)]));if(_0x49d0eb['DKubN'](_0x51d708,_0x38b842)){let _0x8ca23b=[],_0x10c962=[];if(_0x51d708){const _0x4610ef=this[_0x1900ae(0x1fc)](_0x15c897['test'],0x0);_0x8ca23b=_0x47a18c[_0x1900ae(0x1c5)]()['get'](_0x4610ef+_0x1900ae(0x270))||[],_0x10c962=_0x47a18c[_0x1900ae(0x1c5)]()[_0x1900ae(0x2a9)](_0x4610ef+_0x1900ae(0x25d))||[];}else _0x8ca23b=Array['isArray'](_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x2da)]))?_0x47a18c['getData'](_0x49d0eb[_0x1900ae(0x2da)]):[],_0x10c962=Array[_0x1900ae(0x2b8)](_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x1d1)]))?_0x47a18c[_0x1900ae(0x25c)](_0x49d0eb[_0x1900ae(0x1d1)]):[];logger['info']('trackEvent\x20'+_0x3b7907+'\x20'+_0x2b7ce0[_0x1900ae(0x2ce)]()['split']('.')[0x1]+_0x1900ae(0x1fa)+_0x10c962['length']+_0x1900ae(0x28f)+_0x8ca23b[_0x1900ae(0x1ec)]);for(let _0x3f1e63=0x1;_0x49d0eb[_0x1900ae(0x252)](_0x3f1e63,_0x8ca23b[_0x1900ae(0x1ec)]);_0x3f1e63++){const _0x5ec1d1={..._0x15c897};_0x5ec1d1[_0x1900ae(0x2ed)]=_0x10c962[_0x3f1e63],_0x5ec1d1[_0x1900ae(0x25f)]=_0x8ca23b[_0x3f1e63],_0x5ec1d1['platformIndex']=_0x3f1e63;const _0x116b4b=_0x5ec1d1;try{const _0x1ae96e=this['createTestFrameworkEventPayload'](_0x116b4b);_0x1ae96e&&_0x49d0eb[_0x1900ae(0x1c6)](Object[_0x1900ae(0x220)](_0x1ae96e)['length'],0x0)&&(logger[_0x1900ae(0x2e4)](_0x1900ae(0x262)+_0x3b7907+_0x1900ae(0x1d9)+_0x3f1e63+_0x1900ae(0x283)+_0x1ae96e['uuid']+_0x1900ae(0x23b)+_0x1ae96e[_0x1900ae(0x1d2)]),await GrpcClient[_0x1900ae(0x1b2)]()[_0x1900ae(0x1a1)](_0x1ae96e)),_0x51d708&&_0x49d0eb['UkBhC'](_0x2b7ce0,HookState[_0x1900ae(0x23a)])&&await this[_0x1900ae(0x212)](_0x47a18c,_0x214395,_0x2b7ce0,_0x49d0eb['PGyjw'],_0x116b4b,_0x3f1e63);}catch(_0x867af5){logger[_0x1900ae(0x2e5)](_0x1900ae(0x262)+_0x3b7907+'\x20pi='+_0x3f1e63+_0x1900ae(0x203)+(_0x867af5[_0x1900ae(0x289)]||_0x867af5));}}_0x38b842&&(_0x49d0eb[_0x1900ae(0x2df)](_0x2b7ce0,HookState['PRE'])||_0x49d0eb[_0x1900ae(0x1a9)](_0x2b7ce0,HookState[_0x1900ae(0x23a)]))&&await this[_0x1900ae(0x20b)](_0x47a18c,_0x3b7907,_0x2b7ce0,_0x8ca23b),await this[_0x1900ae(0x243)](_0x47a18c,_0x3b7907,_0x2b7ce0,_0x8ca23b,_0x10c962,_0x15c897);}}async['_sendLifecycleLogs'](_0x2d80b9,_0x3b442f,_0x33cd79,_0x12f6d5,_0x2b7cb3,_0x1ba77f){const _0x1adc5a=a106_0x3b6c49,_0x5f2b44={'fQKXl':function(_0x2bc387,_0x93e02d){return _0x2bc387(_0x93e02d);},'TjemS':_0x1adc5a(0x2bc),'wJfXr':function(_0x470720,_0x22544b){return _0x470720===_0x22544b;},'rHxDR':_0x1adc5a(0x1bc),'xEawJ':_0x1adc5a(0x219),'icXLY':_0x1adc5a(0x23a),'vybUh':_0x1adc5a(0x27e),'WjyvD':function(_0x545fea,_0x2b935b){return _0x545fea>_0x2b935b;},'EYssv':_0x1adc5a(0x1d0),'wVTLD':_0x1adc5a(0x293),'sDPOy':_0x1adc5a(0x2d3),'HpKcS':function(_0x2e3e69,_0x57c24a){return _0x2e3e69===_0x57c24a;},'lwRCS':function(_0x191203,_0x54e2e1){return _0x191203===_0x54e2e1;},'XWjFP':'BEFORE_ALL','CKBkr':'before(fixture)','OVzWS':_0x1adc5a(0x268),'tUjuv':_0x1adc5a(0x231),'FRmmB':function(_0x48932f,_0x40fce4){return _0x48932f===_0x40fce4;},'eLeCz':'AFTER_','zXkoD':function(_0x13dca1,_0x20aea4){return _0x13dca1===_0x20aea4;},'AapKR':_0x1adc5a(0x1e3),'WDhFf':_0x1adc5a(0x26d),'nfVVY':_0x1adc5a(0x24e),'Dttvv':_0x1adc5a(0x24f),'tiXTE':function(_0x502544,_0x2260cb){return _0x502544===_0x2260cb;},'lgirk':function(_0x275e47,_0x1a09a3){return _0x275e47===_0x1a09a3;},'AxOaZ':function(_0x2c7743,_0x2a3b39){return _0x2c7743<_0x2a3b39;},'mzYEP':'info'};try{const {v4:_0x40dc1b}=_0x5f2b44['fQKXl'](require,_0x5f2b44[_0x1adc5a(0x1e5)]),_0x365e80=_0x33cd79[_0x1adc5a(0x2ce)]()[_0x1adc5a(0x294)]('.')[0x1];let _0x4220c5='';if(_0x5f2b44[_0x1adc5a(0x285)](_0x3b442f,_0x5f2b44['rHxDR'])&&_0x5f2b44['wJfXr'](_0x365e80,_0x5f2b44[_0x1adc5a(0x1be)]))_0x4220c5=_0x1adc5a(0x2c0)+(_0x1ba77f[_0x1adc5a(0x266)]&&_0x1ba77f[_0x1adc5a(0x266)][_0x1adc5a(0x278)]||'');else{if(_0x5f2b44['wJfXr'](_0x3b442f,_0x5f2b44[_0x1adc5a(0x2db)])&&_0x5f2b44['wJfXr'](_0x365e80,_0x5f2b44[_0x1adc5a(0x297)])){const _0x5e11e9=_0x1ba77f[_0x1adc5a(0x1e8)]&&Array[_0x1adc5a(0x2b8)](_0x1ba77f[_0x1adc5a(0x1e8)][_0x1adc5a(0x2af)])?_0x1ba77f[_0x1adc5a(0x1e8)][_0x1adc5a(0x2af)]:[],_0x590e9c=_0x1ba77f[_0x1adc5a(0x1e8)]&&_0x1ba77f[_0x1adc5a(0x1e8)]['skipped']?_0x5f2b44[_0x1adc5a(0x208)]:_0x5f2b44['WjyvD'](_0x5e11e9[_0x1adc5a(0x1ec)],0x0)?_0x5f2b44[_0x1adc5a(0x299)]:_0x5f2b44['wVTLD'];_0x4220c5=_0x1adc5a(0x1e9)+_0x590e9c;}else{if(_0x3b442f[_0x1adc5a(0x1a5)](_0x5f2b44[_0x1adc5a(0x1fd)])&&_0x5f2b44[_0x1adc5a(0x28e)](_0x365e80,_0x5f2b44[_0x1adc5a(0x1be)])){const _0x472b3e=_0x5f2b44[_0x1adc5a(0x25b)](_0x3b442f,_0x5f2b44[_0x1adc5a(0x2c6)])?_0x5f2b44[_0x1adc5a(0x272)]:_0x5f2b44[_0x1adc5a(0x285)](_0x3b442f,_0x5f2b44[_0x1adc5a(0x2d7)])?_0x5f2b44[_0x1adc5a(0x26e)]:_0x3b442f['toLowerCase']();_0x4220c5=_0x1adc5a(0x26c)+_0x472b3e+_0x1adc5a(0x227);}else{if(_0x3b442f[_0x1adc5a(0x1a5)](_0x5f2b44[_0x1adc5a(0x1fd)])&&_0x5f2b44[_0x1adc5a(0x274)](_0x365e80,_0x5f2b44[_0x1adc5a(0x297)])){const _0x14d8b0=_0x5f2b44['lwRCS'](_0x3b442f,_0x5f2b44[_0x1adc5a(0x2c6)])?_0x5f2b44['CKBkr']:_0x5f2b44['FRmmB'](_0x3b442f,_0x5f2b44[_0x1adc5a(0x2d7)])?_0x5f2b44[_0x1adc5a(0x26e)]:_0x3b442f['toLowerCase']();_0x4220c5=_0x1adc5a(0x26c)+_0x14d8b0+_0x1adc5a(0x25e);}else{if(_0x3b442f[_0x1adc5a(0x1a5)](_0x5f2b44[_0x1adc5a(0x2bd)])&&_0x5f2b44[_0x1adc5a(0x1a7)](_0x365e80,_0x5f2b44[_0x1adc5a(0x1be)])){const _0x1114b8=_0x5f2b44[_0x1adc5a(0x25b)](_0x3b442f,_0x5f2b44['AapKR'])?_0x5f2b44[_0x1adc5a(0x222)]:_0x5f2b44['HpKcS'](_0x3b442f,_0x5f2b44[_0x1adc5a(0x1af)])?_0x5f2b44[_0x1adc5a(0x22a)]:_0x3b442f[_0x1adc5a(0x237)]();_0x4220c5='Hook\x20'+_0x1114b8+_0x1adc5a(0x227);}else{if(_0x3b442f[_0x1adc5a(0x1a5)](_0x5f2b44[_0x1adc5a(0x2bd)])&&_0x5f2b44[_0x1adc5a(0x2ee)](_0x365e80,_0x5f2b44[_0x1adc5a(0x297)])){const _0x5354e2=_0x5f2b44['lgirk'](_0x3b442f,_0x5f2b44[_0x1adc5a(0x20a)])?_0x5f2b44[_0x1adc5a(0x222)]:_0x5f2b44[_0x1adc5a(0x274)](_0x3b442f,_0x5f2b44['nfVVY'])?_0x5f2b44[_0x1adc5a(0x22a)]:_0x3b442f[_0x1adc5a(0x237)]();_0x4220c5='Hook\x20'+_0x5354e2+'\x20completed';}else return;}}}}}const _0x5bf7cd=new Date()[_0x1adc5a(0x207)](),_0x115504=_0x3b442f[_0x1adc5a(0x1a5)](_0x5f2b44[_0x1adc5a(0x1fd)])||_0x3b442f[_0x1adc5a(0x1a5)](_0x5f2b44[_0x1adc5a(0x2bd)]);let _0x214b6f='';if(_0x115504){const _0x22eae3=_0x2d80b9[_0x1adc5a(0x1c5)]()['get'](TestFrameworkConstants[_0x1adc5a(0x2eb)])||{};_0x214b6f=_0x22eae3[_0x3b442f]||'';}for(let _0x4e665f=0x0;_0x5f2b44[_0x1adc5a(0x1c4)](_0x4e665f,_0x12f6d5[_0x1adc5a(0x1ec)]);_0x4e665f++){const _0x22fc2b=_0x115504?_0x214b6f:_0x12f6d5[_0x4e665f];if(!_0x22fc2b)continue;const _0x510e05={};_0x510e05[_0x1adc5a(0x2bc)]=_0x22fc2b,_0x510e05[_0x1adc5a(0x2b5)]=_0x12f6d5[_0x4e665f],_0x510e05[_0x1adc5a(0x290)]=_0x5bf7cd,_0x510e05[_0x1adc5a(0x1f2)]=_0x4220c5,_0x510e05[_0x1adc5a(0x24b)]=TestFrameworkConstants[_0x1adc5a(0x29e)],_0x510e05[_0x1adc5a(0x275)]=_0x5f2b44[_0x1adc5a(0x242)];const _0xb4c32e=_0x510e05,_0x4600bd={'platformIndex':_0x4e665f,'logs':[_0xb4c32e],'testFrameworkName':this['getTestFrameworks']()[0x0],'testFrameworkVersion':this[_0x1adc5a(0x2c8)]()[this[_0x1adc5a(0x2c3)]()[0x0]]||'','testFrameworkState':_0x3b442f};try{await GrpcClient['getInstance']()[_0x1adc5a(0x1a4)](_0x4600bd);}catch(_0x1afbb7){logger[_0x1adc5a(0x21b)](_0x1adc5a(0x2ae)+_0x4e665f+':\x20'+(_0x1afbb7['message']||_0x1afbb7));}}}catch(_0x1849b9){logger['debug'](_0x1adc5a(0x2b4)+(_0x1849b9[_0x1adc5a(0x1f2)]||_0x1849b9));}}async[a106_0x3b6c49(0x20b)](_0x4da350,_0x284fa1,_0x4d6477,_0x5cc2a1){const _0x501efc=a106_0x3b6c49,_0x5258d7={'bDXKv':function(_0x503cbc,_0x23ba61){return _0x503cbc(_0x23ba61);},'hRsEb':_0x501efc(0x24c),'HrzWa':function(_0x57150d,_0x24ffe6){return _0x57150d(_0x24ffe6);},'UMShH':_0x501efc(0x20e),'ZACDh':_0x501efc(0x2b1),'zrSpY':_0x501efc(0x235),'gOnSc':function(_0x5aa181,_0x27c21f){return _0x5aa181===_0x27c21f;},'YyNhn':_0x501efc(0x1ce),'sfPeI':function(_0x25167e,_0x1640c5){return _0x25167e>_0x1640c5;},'qbVDZ':_0x501efc(0x263),'NwFLf':_0x501efc(0x1f7),'qJSKG':function(_0x5a83be,_0x2b85cf,_0x2224b2){return _0x5a83be(_0x2b85cf,_0x2224b2);},'waqwB':_0x501efc(0x28d),'UtVpB':function(_0x4122d8){return _0x4122d8();}};try{const _0x4d2587=_0x5258d7[_0x501efc(0x229)](require,_0x5258d7[_0x501efc(0x1b6)]),_0x1370e4=_0x5258d7[_0x501efc(0x233)](require,_0x5258d7[_0x501efc(0x1ae)]),_0x2a17aa=_0x4d2587[_0x501efc(0x1b2)](),_0x4fdf74=_0x2a17aa[_0x501efc(0x248)]()?.[_0x501efc(0x232)]||'',_0x42eecb=_0x4da350[_0x501efc(0x21e)](),_0x2618c2={'hash':_0x42eecb[_0x501efc(0x1a8)](),'threadId':_0x42eecb[_0x501efc(0x2cb)]()[_0x501efc(0x2ce)](),'processId':_0x42eecb['getProcessId']()[_0x501efc(0x2ce)]()};for(const {platformIndex:_0x802681,instance:_0x36ad5f}of _0x1370e4[_0x501efc(0x217)]()){try{const _0x440918=_0x5cc2a1[_0x802681]||_0x5cc2a1[0x0]||'';if(!_0x440918)continue;const _0x3120de=_0x5258d7['bDXKv'](require,_0x5258d7[_0x501efc(0x201)]),_0x16fc53=_0x5258d7[_0x501efc(0x233)](require,_0x5258d7[_0x501efc(0x214)]),_0x260393=_0x16fc53[_0x501efc(0x287)](_0x36ad5f,_0x3120de[_0x501efc(0x1aa)],'')||'',_0x102716=_0x16fc53['getState'](_0x36ad5f,_0x3120de[_0x501efc(0x20f)],{})||{},_0x41b275=_0x16fc53[_0x501efc(0x287)](_0x36ad5f,_0x3120de[_0x501efc(0x1a6)],'')||_0x4fdf74,_0x5553ae=_0x102716&&_0x5258d7[_0x501efc(0x1ed)](typeof _0x102716,_0x5258d7[_0x501efc(0x1da)])?Object[_0x501efc(0x220)](_0x102716)[_0x501efc(0x1ec)]:0x0,_0x2c2856=Buffer['from'](JSON[_0x501efc(0x22f)](_0x5258d7[_0x501efc(0x206)](_0x5553ae,0x0)?_0x102716:{}))[_0x501efc(0x2ce)](_0x5258d7[_0x501efc(0x1d5)]),_0x33111a={'platformIndex':_0x802681,'testFrameworkName':this[_0x501efc(0x2c3)]()[0x0]||_0x5258d7[_0x501efc(0x213)],'testFrameworkVersion':this[_0x501efc(0x2c8)]()[this[_0x501efc(0x2c3)]()[0x0]]||'','testFrameworkState':_0x284fa1,'testHookState':_0x4d6477[_0x501efc(0x2ce)]()['split']('.')[0x1],'testUuid':_0x440918,'automationSession':{'provider':_0x5258d7[_0x501efc(0x24d)](getPlaywrightProvider,_0x41b275,![]),'frameworkName':_0x5258d7[_0x501efc(0x2e1)],'frameworkVersion':'','frameworkSessionId':_0x260393,'ref':_0x36ad5f[_0x501efc(0x26a)](),'hubUrl':_0x41b275,'product':_0x5258d7[_0x501efc(0x1e2)](getProductForSession)},'capabilities':_0x2c2856,'executionContext':_0x2618c2};logger[_0x501efc(0x21b)](_0x501efc(0x2de)+_0x284fa1+'\x20'+_0x4d6477+_0x501efc(0x1d9)+_0x802681+'\x20testUuid='+_0x440918+_0x501efc(0x249)+_0x260393),await GrpcClient['getInstance']()[_0x501efc(0x2b9)](_0x33111a);}catch(_0x213e91){logger[_0x501efc(0x21b)]('_sendHookCbtEvents\x20inner\x20failed:\x20'+(_0x213e91['message']||_0x213e91));}}}catch(_0x3864e0){logger[_0x501efc(0x21b)]('_sendHookCbtEvents\x20failed:\x20'+(_0x3864e0[_0x501efc(0x1f2)]||_0x3864e0));}}async[a106_0x3b6c49(0x264)](){const _0x58252f=a106_0x3b6c49,_0x105f64={'OMFov':function(_0x47d53d,_0x5096c8){return _0x47d53d===_0x5096c8;},'aVIti':_0x58252f(0x2aa),'gZFsF':'failed','XHqgg':_0x58252f(0x1d4),'oSBtt':_0x58252f(0x269),'XvSMd':_0x58252f(0x263),'IvmVf':function(_0x120e0b,_0x6d7012){return _0x120e0b(_0x6d7012);},'zxspe':function(_0x22bde2,_0x20c7cf){return _0x22bde2(_0x20c7cf);}};if(!this['_startedTestUuids']||_0x105f64['OMFov'](this['_startedTestUuids'][_0x58252f(0x27d)],0x0)){logger[_0x58252f(0x2e4)](_0x105f64[_0x58252f(0x2b6)]);return;}const _0x1af1f9=Array[_0x58252f(0x2d5)](this['_startedTestUuids'][_0x58252f(0x254)]());logger['warn'](_0x58252f(0x27c)+_0x1af1f9['length']+'\x20orphan\x20test_run(s)');const _0x1af6a5=TestFrameworkState['TEST'][_0x58252f(0x2ce)]()['split']('.')[0x1],_0x5d85ce=HookState[_0x58252f(0x23a)]['toString']()['split']('.')[0x1],_0x3740eb=new Date()[_0x58252f(0x207)]();for(const [_0x48679f,_0x3ed948]of _0x1af1f9){const _0x41106c={[TestFrameworkConstants[_0x58252f(0x19f)]]:this['getTestFrameworks']()[0x0],[TestFrameworkConstants[_0x58252f(0x1c9)]]:this['getTestFrameworksVersions']()[this[_0x58252f(0x2c3)]()[0x0]]||'',[TestFrameworkConstants[_0x58252f(0x1a2)]]:_0x48679f,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x3ed948[_0x58252f(0x278)]||_0x58252f(0x1e6)+_0x48679f+')',[TestFrameworkConstants[_0x58252f(0x2d8)]]:_0x105f64[_0x58252f(0x2a4)],[TestFrameworkConstants[_0x58252f(0x244)]]:[{'type':_0x105f64['XHqgg'],'message':_0x105f64['oSBtt'],'stack':''}],[TestFrameworkConstants[_0x58252f(0x1cf)]]:_0x105f64[_0x58252f(0x291)],[TestFrameworkConstants[_0x58252f(0x2ac)]]:_0x3740eb,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3740eb,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x58252f(0x277)]]:{}},_0x5cb813=Buffer['from'](JSON['stringify'](_0x41106c))[_0x58252f(0x2ce)](_0x105f64['XvSMd']),_0x4b9c2d={'platformIndex':_0x3ed948[_0x58252f(0x1d2)]||0x0,'testFrameworkName':this[_0x58252f(0x2c3)]()[0x0],'testFrameworkVersion':this[_0x58252f(0x2c8)]()[this[_0x58252f(0x2c3)]()[0x0]]||'','testFrameworkState':_0x1af6a5,'hookState':_0x5d85ce,'startedAt':_0x3740eb,'endedAt':_0x3740eb,'uuid':_0x105f64['IvmVf'](String,_0x48679f),'eventJson':_0x5cb813,'executionContext':{'hash':'','threadId':'0','processId':_0x105f64[_0x58252f(0x2f3)](String,process[_0x58252f(0x216)])},'test_identifier':_0x3ed948[_0x58252f(0x2ed)]||''};try{logger['info'](_0x58252f(0x2cc)+_0x48679f+_0x58252f(0x204)+_0x3ed948[_0x58252f(0x1d2)]+'\x20testName='+_0x3ed948[_0x58252f(0x278)]),await GrpcClient[_0x58252f(0x1b2)]()[_0x58252f(0x1a1)](_0x4b9c2d);}catch(_0xf8d8ac){logger['warn'](_0x58252f(0x22b)+_0x48679f+':\x20'+(_0xf8d8ac[_0x58252f(0x1f2)]||_0xf8d8ac));}}this[_0x58252f(0x1fb)][_0x58252f(0x26f)]();}[a106_0x3b6c49(0x1ee)](_0x45d469,_0x2fedbb,_0x27dbc4={}){const _0x3f7ede=a106_0x3b6c49,_0x243ff4={};_0x243ff4[_0x3f7ede(0x279)]=function(_0x28745b,_0x5433c6){return _0x28745b===_0x5433c6;};const _0x392fa3=_0x243ff4;return(_0x392fa3[_0x3f7ede(0x279)](_0x45d469,TestFrameworkState[_0x3f7ede(0x280)])||_0x392fa3[_0x3f7ede(0x279)](_0x45d469,TestFrameworkState['NONE']))&&this[_0x3f7ede(0x255)](_0x45d469,_0x27dbc4),TestFramework[_0x3f7ede(0x29c)]()||this['_lazyCreateInstance'](_0x45d469);}[a106_0x3b6c49(0x255)](_0x5ec8a7,_0x4b5775){const _0x46ad90=a106_0x3b6c49,_0xb5dd88=CLIUtils[_0x46ad90(0x2b0)](),_0x90078f=TrackedInstance[_0x46ad90(0x1b0)](_0xb5dd88),_0x13525e=new TestFrameworkInstance(_0x90078f,this['getTestFrameworks'](),this[_0x46ad90(0x2c8)](),_0x5ec8a7,HookState[_0x46ad90(0x1e1)]);TestFramework[_0x46ad90(0x26b)](_0x90078f,_0x13525e),logger[_0x46ad90(0x2e4)](_0x46ad90(0x2d2)+_0x90078f['getId']()+'\x20target='+_0xb5dd88+_0x46ad90(0x1d6)+_0x5ec8a7);}[a106_0x3b6c49(0x228)](_0x5c4317){const _0xeef62b=a106_0x3b6c49;return this[_0xeef62b(0x255)](_0x5c4317,{}),TestFramework['getTrackedInstance']();}[a106_0x3b6c49(0x292)](_0x407427){const _0x365f3b=a106_0x3b6c49,_0x308001={'sYofb':function(_0x573246,_0x3dbbe1){return _0x573246>_0x3dbbe1;},'fOvtm':function(_0x3e89c2,_0x3c8ce9){return _0x3e89c2-_0x3c8ce9;},'hmgjZ':function(_0x44a165,_0x56c74e){return _0x44a165-_0x56c74e;},'ZbGyn':function(_0x1d4243,_0x5ce474){return _0x1d4243===_0x5ce474;},'nDSPE':_0x365f3b(0x1ce),'BatZn':'.__platformUuids','TRGzZ':_0x365f3b(0x25d),'pFvWb':function(_0x2f9c31,_0x4e7ff1){return _0x2f9c31||_0x4e7ff1;},'oHjOs':'POST','BBvkz':_0x365f3b(0x293),'oFkcP':function(_0x185b50,_0x5b7fa8){return _0x185b50(_0x5b7fa8);},'hkLqU':function(_0x17e06f,_0x214fcd){return _0x17e06f(_0x214fcd);},'GaBRH':function(_0xe9869f,_0x2dc6a3){return _0xe9869f(_0x2dc6a3);},'fVPCA':_0x365f3b(0x263)};try{const _0xe0bcb=_0x407427[_0x365f3b(0x20d)];if(!_0xe0bcb)return{};const _0xe90612=_0xe0bcb[_0x365f3b(0x21e)](),_0x2480ae=_0xe0bcb[_0x365f3b(0x22c)]()[_0x365f3b(0x2ce)]()['split']('.')[0x1],_0x2101d3=_0xe0bcb['getCurrentHookState']()[_0x365f3b(0x2ce)]()[_0x365f3b(0x294)]('.')[0x1],_0x15ffc6=Number[_0x365f3b(0x215)](_0x407427[_0x365f3b(0x1d2)])?_0x407427['platformIndex']:0x0,_0x5167c7={'hash':_0xe90612[_0x365f3b(0x1a8)](),'threadId':_0xe90612[_0x365f3b(0x2cb)]()[_0x365f3b(0x2ce)](),'processId':_0xe90612[_0x365f3b(0x24a)]()[_0x365f3b(0x2ce)]()};if(TestFrameworkConstants[_0x365f3b(0x253)]&&new RegExp(TestFrameworkConstants[_0x365f3b(0x253)])[_0x365f3b(0x266)](_0x2480ae)){const _0x462a2a=_0x2480ae,_0x51a2f3=_0xe0bcb['getAllData'](),_0x305714=(_0x51a2f3[_0x365f3b(0x2a9)](TestFrameworkConstants[_0x365f3b(0x277)])||{})[_0x462a2a],_0x1b1fd7=(_0x51a2f3[_0x365f3b(0x2a9)](TestFrameworkConstants[_0x365f3b(0x1eb)])||{})[_0x462a2a],_0x505f4a=Array[_0x365f3b(0x2b8)](_0x305714)&&_0x308001[_0x365f3b(0x223)](_0x305714[_0x365f3b(0x1ec)],0x0)?_0x305714[_0x308001[_0x365f3b(0x2ef)](_0x305714[_0x365f3b(0x1ec)],0x1)]:null,_0x43f9fe=Array[_0x365f3b(0x2b8)](_0x1b1fd7)&&_0x308001[_0x365f3b(0x223)](_0x1b1fd7[_0x365f3b(0x1ec)],0x0)?_0x1b1fd7[_0x308001[_0x365f3b(0x2cd)](_0x1b1fd7[_0x365f3b(0x1ec)],0x1)]:null,_0x11144d=_0x505f4a&&_0x505f4a[_0x365f3b(0x1ea)]||'',_0x444155=_0x43f9fe&&_0x43f9fe[_0x365f3b(0x221)]||'',_0x11372f=_0x505f4a&&_0x505f4a['hook_id']||_0x43f9fe&&_0x43f9fe[_0x365f3b(0x1f0)]||_0x462a2a+':'+_0xe90612[_0x365f3b(0x1a8)](),_0x1d8a90=_0x407427['fixture']||{},_0x5077e2=_0x1d8a90&&_0x1d8a90[_0x365f3b(0x22d)]||'',_0x221ac7=_0x1d8a90&&_0x1d8a90[_0x365f3b(0x21f)]||'';let _0xe4976f=null;for(const [_0x6563ef,_0xde009e]of _0x51a2f3[_0x365f3b(0x254)]()){if(_0xde009e&&_0x308001['ZbGyn'](typeof _0xde009e,_0x308001[_0x365f3b(0x2e8)])&&_0xde009e[TestFrameworkConstants[_0x365f3b(0x256)]]&&!_0x6563ef[_0x365f3b(0x28c)](_0x308001['BatZn'])&&!_0x6563ef['endsWith'](_0x308001['TRGzZ'])){_0xe4976f=_0xde009e;break;}}const _0x11f306=_0xe4976f&&_0xe4976f[TestFrameworkConstants['KEY_TEST_NAME']]||_0x221ac7||_0x462a2a,_0x2fd377=_0xe4976f&&_0xe4976f[TestFrameworkConstants[_0x365f3b(0x28b)]]||_0x5077e2||'',_0x388e98={[TestFrameworkConstants[_0x365f3b(0x1a2)]]:_0x407427[_0x365f3b(0x25f)]||'',[TestFrameworkConstants[_0x365f3b(0x256)]]:_0x11f306,[TestFrameworkConstants[_0x365f3b(0x28b)]]:_0x2fd377,[TestFrameworkConstants[_0x365f3b(0x2be)]]:_0x2fd377,[TestFrameworkConstants[_0x365f3b(0x234)]]:_0x308001['pFvWb'](_0x221ac7,_0x11f306),[TestFrameworkConstants[_0x365f3b(0x22e)]]:_0x221ac7?[_0x221ac7]:[],[TestFrameworkConstants[_0x365f3b(0x286)]]:_0x462a2a,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x11372f,[TestFrameworkConstants[_0x365f3b(0x1b4)]]:_0x308001['ZbGyn'](_0x2101d3,_0x308001[_0x365f3b(0x265)])?_0x308001[_0x365f3b(0x2bf)]:TestFrameworkConstants[_0x365f3b(0x2ec)],[TestFrameworkConstants[_0x365f3b(0x29b)]]:_0x11144d,[TestFrameworkConstants[_0x365f3b(0x2ca)]]:_0x444155,[TestFrameworkConstants[_0x365f3b(0x19f)]]:this[_0x365f3b(0x2c3)]()[0x0],[TestFrameworkConstants[_0x365f3b(0x1c9)]]:this['getTestFrameworksVersions']()[this[_0x365f3b(0x2c3)]()[0x0]]||'',[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x51a2f3['get'](TestFrameworkConstants[_0x365f3b(0x277)])||{},[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x51a2f3['get'](TestFrameworkConstants[_0x365f3b(0x1eb)])||{}};return{'platformIndex':_0x15ffc6,'testFrameworkName':this[_0x365f3b(0x2c3)]()[0x0],'testFrameworkVersion':this[_0x365f3b(0x2c8)]()[this[_0x365f3b(0x2c3)]()[0x0]]||'','testFrameworkState':_0x2480ae,'hookState':_0x2101d3,'startedAt':_0x308001[_0x365f3b(0x1c2)](String,_0x308001[_0x365f3b(0x1cd)](_0x11144d,'')),'endedAt':_0x308001[_0x365f3b(0x1ad)](String,_0x308001[_0x365f3b(0x1cd)](_0x444155,'')),'uuid':_0x308001[_0x365f3b(0x2dd)](String,_0x11372f),'eventJson':Buffer[_0x365f3b(0x2d5)](JSON[_0x365f3b(0x22f)](_0x388e98))[_0x365f3b(0x2ce)](_0x308001[_0x365f3b(0x2bb)]),'executionContext':_0x5167c7,'test_identifier':_0x388e98[TestFrameworkConstants[_0x365f3b(0x1fe)]]};}const _0x1498dd=_0x407427[_0x365f3b(0x2ed)]||_0x407427['test']&&this[_0x365f3b(0x1fc)](_0x407427[_0x365f3b(0x266)],0x0)||null,_0x1401bf=_0x1498dd&&_0xe0bcb['getAllData']()[_0x365f3b(0x2a9)](_0x1498dd)||{},_0x406bc4=_0xe0bcb[_0x365f3b(0x1c5)](),_0x3b6bb8={..._0x1401bf,[TestFrameworkConstants[_0x365f3b(0x277)]]:_0x406bc4[_0x365f3b(0x2a9)](TestFrameworkConstants[_0x365f3b(0x277)])||_0x1401bf[TestFrameworkConstants[_0x365f3b(0x277)]]||{},[TestFrameworkConstants[_0x365f3b(0x1eb)]]:_0x406bc4[_0x365f3b(0x2a9)](TestFrameworkConstants[_0x365f3b(0x1eb)])||_0x1401bf[TestFrameworkConstants[_0x365f3b(0x1eb)]]||{}},{[TestFrameworkConstants[_0x365f3b(0x19f)]]:_0x353dbe=this[_0x365f3b(0x2c3)]()[0x0],[TestFrameworkConstants[_0x365f3b(0x1c9)]]:_0xd652bd='',[TestFrameworkConstants[_0x365f3b(0x2ac)]]:_0x33ec52='',[TestFrameworkConstants[_0x365f3b(0x1bd)]]:_0x2154aa=''}=_0x3b6bb8,_0x1e69e9=_0x407427['testUuid']||_0x3b6bb8[TestFrameworkConstants[_0x365f3b(0x1a2)]]||_0xe0bcb['getRef'](),_0x13129f=Buffer[_0x365f3b(0x2d5)](JSON['stringify'](_0x3b6bb8))['toString'](_0x308001[_0x365f3b(0x2bb)]);return{'platformIndex':_0x15ffc6,'testFrameworkName':_0x353dbe,'testFrameworkVersion':_0xd652bd,'testFrameworkState':_0x2480ae,'hookState':_0x2101d3,'startedAt':_0x33ec52?_0x308001[_0x365f3b(0x1c2)](String,_0x33ec52):'','endedAt':_0x2154aa?_0x308001[_0x365f3b(0x1ad)](String,_0x2154aa):'','uuid':_0x308001[_0x365f3b(0x1c2)](String,_0x308001[_0x365f3b(0x1cd)](_0x1e69e9,'')),'eventJson':_0x13129f,'executionContext':_0x5167c7,'test_identifier':_0x1498dd};}catch(_0x29358f){return logger[_0x365f3b(0x2e5)](_0x365f3b(0x236)+(_0x29358f[_0x365f3b(0x289)]||_0x29358f)),{};}}async[a106_0x3b6c49(0x212)](_0x2def3e,_0x4d449b,_0x460d57,_0x27bfbf,_0xfcbec7,_0x3d1945){const _0x59c38a=a106_0x3b6c49,_0xca432c={'zyXJx':function(_0x109b4e){return _0x109b4e();},'tJAvy':'IMAGE','UPrRE':_0x59c38a(0x205),'wgLOQ':_0x59c38a(0x2a2),'kMjki':function(_0x306cab,_0xe599c3){return _0x306cab===_0xe599c3;}};try{const _0x44838f=_0xfcbec7[_0x59c38a(0x2ed)]||_0xfcbec7[_0x59c38a(0x266)]&&this['_getTestIdentifier'](_0xfcbec7[_0x59c38a(0x266)],0x0);if(!_0x44838f){logger[_0x59c38a(0x21b)](_0xca432c[_0x59c38a(0x1c1)]);return;}const _0x397992=_0x2def3e['getAllData']()[_0x59c38a(0x2a9)](_0x44838f)||{},_0x343c60=_0x397992[TestFrameworkConstants[_0x59c38a(0x1a2)]],_0x220243=_0x397992[TestFrameworkConstants['KEY_TEST_SCREENSHOTS']]||[],_0x297057=_0x397992[TestFrameworkConstants[_0x59c38a(0x244)]]||[],_0x459fa3=[];_0x220243[_0x59c38a(0x2c1)](_0x284f71=>{const _0x1a678a=_0x59c38a;_0x459fa3[_0x1a678a(0x25a)]({'uuid':_0xca432c[_0x1a678a(0x29f)](uuidv4),'test_run_uuid':_0x343c60,'timestamp':new Date()[_0x1a678a(0x207)](),'message':'','attachment_url':_0x284f71,'attachment_type':_0xca432c['tJAvy']});});Array[_0x59c38a(0x2b8)](_0x297057)&&_0x297057['forEach'](_0x36edc9=>{const _0x1a0508=_0x59c38a;_0x459fa3[_0x1a0508(0x25a)]({'uuid':_0xca432c[_0x1a0508(0x29f)](uuidv4),'test_run_uuid':_0x343c60,'timestamp':new Date()['toISOString'](),'message':_0x36edc9['message']||'','stack_trace':_0x36edc9[_0x1a0508(0x289)]||'','level':_0xca432c[_0x1a0508(0x21c)]});});if(_0xca432c['kMjki'](_0x459fa3[_0x59c38a(0x1ec)],0x0)){logger[_0x59c38a(0x21b)](_0x59c38a(0x267)+_0x44838f);return;}const _0x459436=_0x397992[TestFrameworkConstants[_0x59c38a(0x19f)]]||this[_0x59c38a(0x2c3)]()[0x0],_0x5352d9=_0x397992[TestFrameworkConstants[_0x59c38a(0x1c9)]]||'',_0x118bbb={'platformIndex':Number[_0x59c38a(0x215)](_0x3d1945)?_0x3d1945:Number[_0x59c38a(0x215)](_0xfcbec7[_0x59c38a(0x1d2)])?_0xfcbec7['platformIndex']:0x0,'logs':_0x459fa3,'testFrameworkName':_0x459436,'testFrameworkVersion':_0x5352d9,'testFrameworkState':_0x4d449b[_0x59c38a(0x2ce)]()[_0x59c38a(0x294)]('.')[0x1]};logger[_0x59c38a(0x21b)](_0x59c38a(0x2d4)+_0x459fa3[_0x59c38a(0x1ec)]+_0x59c38a(0x2cf)+_0x44838f),await GrpcClient[_0x59c38a(0x1b2)]()[_0x59c38a(0x1a4)](_0x118bbb);}catch(_0x5a4c89){logger[_0x59c38a(0x2e5)](_0x59c38a(0x230)+(_0x5a4c89[_0x59c38a(0x289)]||_0x5a4c89));}}[a106_0x3b6c49(0x1fc)](_0x29c7de,_0x5b841e){const _0x264ac7=a106_0x3b6c49,_0x13f5d4={'hcbny':function(_0x1fdce9){return _0x1fdce9();},'wFNCv':_0x264ac7(0x1d8)};if(!_0x29c7de)return'unknown::'+_0x13f5d4[_0x264ac7(0x251)](uuidv4);const _0x100e9f=_0x29c7de['fixture']&&_0x29c7de[_0x264ac7(0x1b7)][_0x264ac7(0x22d)]||_0x13f5d4['wFNCv'],_0x4531cf=_0x29c7de[_0x264ac7(0x1b7)]&&_0x29c7de[_0x264ac7(0x1b7)]['name']||_0x13f5d4['wFNCv'],_0x552733=_0x29c7de['name']||_0x13f5d4[_0x264ac7(0x23e)],_0x13780d=_0x100e9f+'::'+_0x4531cf+'::'+_0x552733;return _0x5b841e?_0x13780d+_0x264ac7(0x2b7)+_0x5b841e:_0x13780d;}[a106_0x3b6c49(0x1cb)](_0x542527,_0x2d0fd9,_0x26c5b8){const _0x556fd0=a106_0x3b6c49,_0x5159cb=_0x2d0fd9&&_0x2d0fd9[_0x556fd0(0x1b7)]&&_0x2d0fd9[_0x556fd0(0x1b7)][_0x556fd0(0x22d)]||'',_0x441b39=_0x2d0fd9&&_0x2d0fd9[_0x556fd0(0x1b7)]&&_0x2d0fd9[_0x556fd0(0x1b7)][_0x556fd0(0x21f)]||'',_0x12593b=_0x2d0fd9&&_0x2d0fd9['name']||'',_0x4a040c=this[_0x556fd0(0x2c3)]()[0x0];return{[TestFrameworkConstants[_0x556fd0(0x19f)]]:_0x4a040c,[TestFrameworkConstants[_0x556fd0(0x1c9)]]:this['getTestFrameworksVersions']()[_0x4a040c],[TestFrameworkConstants[_0x556fd0(0x1a2)]]:_0x542527,[TestFrameworkConstants[_0x556fd0(0x256)]]:_0x12593b,[TestFrameworkConstants[_0x556fd0(0x2be)]]:_0x5159cb,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x5159cb,[TestFrameworkConstants[_0x556fd0(0x234)]]:_0x441b39,[TestFrameworkConstants[_0x556fd0(0x22e)]]:[_0x441b39],[TestFrameworkConstants[_0x556fd0(0x276)]]:this[_0x556fd0(0x2a6)](_0x2d0fd9),[TestFrameworkConstants[_0x556fd0(0x2d8)]]:TestFrameworkConstants[_0x556fd0(0x2ad)],[TestFrameworkConstants[_0x556fd0(0x2ac)]]:_0x26c5b8?_0x26c5b8['startTime']:new Date()[_0x556fd0(0x207)](),[TestFrameworkConstants[_0x556fd0(0x1c7)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x556fd0(0x277)]]:{}};}[a106_0x3b6c49(0x2a6)](_0x2089b3){const _0x1ab9cf=a106_0x3b6c49,_0x5e60f5={'xlZsa':function(_0x4999ad,_0x47a207){return _0x4999ad==_0x47a207;},'tBnlC':function(_0x5310a0,_0x3e7873){return _0x5310a0(_0x3e7873);},'XhhIS':function(_0x398f7f,_0x15843b){return _0x398f7f>_0x15843b;},'TEiWq':function(_0x5a8128,_0x5e0dd4){return _0x5a8128===_0x5e0dd4;},'yhPEu':_0x1ab9cf(0x1ce),'OrZXE':function(_0x32027d,_0xca5fd5){return _0x32027d in _0xca5fd5;},'kuKvv':'tag','IofDW':function(_0x520e3f,_0x813e06){return _0x520e3f in _0x813e06;},'aCGGH':_0x1ab9cf(0x241),'FGfMu':function(_0x3da0ae,_0x16f32c){return _0x3da0ae(_0x16f32c);},'Ukfpp':function(_0x255fea,_0x2b112f){return _0x255fea===_0x2b112f;},'zXcOJ':function(_0x522727,_0x5c8f60){return _0x522727 in _0x5c8f60;},'QsHDC':function(_0x32b479,_0x1ee86d){return _0x32b479(_0x1ee86d);}},_0x75fb62=[],_0x5ecab9=_0x20f5a6=>{const _0x5270f5=_0x1ab9cf;if(_0x5e60f5[_0x5270f5(0x1de)](_0x20f5a6,null))return;if(Array[_0x5270f5(0x2b8)](_0x20f5a6)){_0x20f5a6[_0x5270f5(0x2c1)](_0x5ecab9);return;}const _0x5650d2=_0x5e60f5[_0x5270f5(0x2c2)](String,_0x20f5a6)['trim']();_0x5e60f5[_0x5270f5(0x1b1)](_0x5650d2[_0x5270f5(0x1ec)],0x0)&&_0x75fb62[_0x5270f5(0x25a)](_0x5650d2);};try{const _0x20b8d6=_0x2089b3&&_0x2089b3[_0x1ab9cf(0x2a8)]||{};_0x20b8d6&&_0x5e60f5['TEiWq'](typeof _0x20b8d6,_0x5e60f5[_0x1ab9cf(0x2d1)])&&(_0x5e60f5['OrZXE'](_0x5e60f5[_0x1ab9cf(0x2a0)],_0x20b8d6)&&_0x5e60f5[_0x1ab9cf(0x2c2)](_0x5ecab9,_0x20b8d6[_0x1ab9cf(0x1f5)]),_0x5e60f5[_0x1ab9cf(0x261)](_0x5e60f5[_0x1ab9cf(0x29d)],_0x20b8d6)&&_0x5e60f5['FGfMu'](_0x5ecab9,_0x20b8d6[_0x1ab9cf(0x241)]));const _0x3b9b63=_0x2089b3&&_0x2089b3[_0x1ab9cf(0x1b7)]&&_0x2089b3[_0x1ab9cf(0x1b7)]['meta']||{};_0x3b9b63&&_0x5e60f5[_0x1ab9cf(0x239)](typeof _0x3b9b63,_0x5e60f5['yhPEu'])&&(_0x5e60f5[_0x1ab9cf(0x261)](_0x5e60f5['kuKvv'],_0x3b9b63)&&_0x5e60f5['FGfMu'](_0x5ecab9,_0x3b9b63[_0x1ab9cf(0x1f5)]),_0x5e60f5[_0x1ab9cf(0x238)](_0x5e60f5[_0x1ab9cf(0x29d)],_0x3b9b63)&&_0x5e60f5[_0x1ab9cf(0x2ba)](_0x5ecab9,_0x3b9b63[_0x1ab9cf(0x241)]));}catch(_0x3fc5b5){}return Array[_0x1ab9cf(0x2d5)](new Set(_0x75fb62));}[a106_0x3b6c49(0x2d6)](_0x2a1347){const _0x46a70c=a106_0x3b6c49,_0x7b157e={};_0x7b157e[_0x46a70c(0x1b3)]=function(_0x8da124,_0x58ab6d){return _0x8da124!==_0x58ab6d;},_0x7b157e[_0x46a70c(0x2c7)]=_0x46a70c(0x260);const _0x38639b=_0x7b157e;if(_0x38639b[_0x46a70c(0x1b3)](typeof _0x2a1347,_0x38639b['VaNBp']))return _0x2a1347;return _0x2a1347[_0x46a70c(0x224)](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}['_deriveFailureType'](_0x2c68ac){const _0x51d99d=a106_0x3b6c49,_0x490787={};_0x490787[_0x51d99d(0x2e2)]=_0x51d99d(0x1c3),_0x490787[_0x51d99d(0x225)]=function(_0x41589a,_0x4e44d8){return _0x41589a===_0x4e44d8;},_0x490787[_0x51d99d(0x273)]=_0x51d99d(0x260),_0x490787[_0x51d99d(0x271)]=function(_0x152327,_0x42c992){return _0x152327!==_0x42c992;},_0x490787[_0x51d99d(0x20c)]=function(_0x3953dd,_0x1affed){return _0x3953dd===_0x1affed;},_0x490787[_0x51d99d(0x1a3)]=function(_0x4192f1,_0x81370c){return _0x4192f1===_0x81370c;},_0x490787[_0x51d99d(0x27f)]=_0x51d99d(0x218);const _0x3b067d=_0x490787;if(!_0x2c68ac)return _0x3b067d[_0x51d99d(0x2e2)];if(_0x2c68ac[_0x51d99d(0x21f)]&&_0x3b067d[_0x51d99d(0x225)](typeof _0x2c68ac[_0x51d99d(0x21f)],_0x3b067d[_0x51d99d(0x273)])&&_0x3b067d['Upjtv'](_0x2c68ac[_0x51d99d(0x21f)],_0x3b067d[_0x51d99d(0x2e2)]))return _0x2c68ac[_0x51d99d(0x21f)];const _0x14b29c=_0x3b067d[_0x51d99d(0x20c)](typeof _0x2c68ac[_0x51d99d(0x1f2)],_0x3b067d[_0x51d99d(0x273)])?_0x2c68ac[_0x51d99d(0x1f2)]:'',_0x1c0f87=_0x14b29c[_0x51d99d(0x1dd)](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x1c0f87)return _0x1c0f87[0x1];return _0x2c68ac['type']&&_0x3b067d[_0x51d99d(0x1a3)](typeof _0x2c68ac[_0x51d99d(0x1f6)],_0x3b067d['OYAqP'])?_0x2c68ac['type']:_0x3b067d[_0x51d99d(0x27f)];}[a106_0x3b6c49(0x23c)](_0x49e81a,_0x17164f){const _0x36c9ce=a106_0x3b6c49,_0x364789={};_0x364789[_0x36c9ce(0x2d0)]=_0x36c9ce(0x1d0),_0x364789[_0x36c9ce(0x27a)]=_0x36c9ce(0x218),_0x364789[_0x36c9ce(0x1ac)]=_0x36c9ce(0x298),_0x364789[_0x36c9ce(0x1e4)]=_0x36c9ce(0x293),_0x364789['wbogv']='skipped',_0x364789['NMNXj']=function(_0x387cba,_0x1e6349){return _0x387cba>_0x1e6349;};const _0x146117=_0x364789;if(!_0x17164f)return{[TestFrameworkConstants[_0x36c9ce(0x2d8)]]:_0x146117['zYygu'],[TestFrameworkConstants[_0x36c9ce(0x2a3)]]:0x0,[TestFrameworkConstants[_0x36c9ce(0x244)]]:[{'type':_0x146117[_0x36c9ce(0x27a)],'message':_0x146117[_0x36c9ce(0x1ac)],'stack':''}],[TestFrameworkConstants[_0x36c9ce(0x1cf)]]:_0x146117[_0x36c9ce(0x27a)],[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x146117[_0x36c9ce(0x1ac)],[TestFrameworkConstants[_0x36c9ce(0x1bd)]]:new Date()['toISOString']()};let _0x2cd479=_0x146117[_0x36c9ce(0x1e4)],_0x5c7f64=null,_0x3c00f4=null,_0x3e5080=null;if(_0x17164f['skipped'])_0x2cd479=_0x146117[_0x36c9ce(0x2f0)];else{if(Array[_0x36c9ce(0x2b8)](_0x17164f[_0x36c9ce(0x2af)])&&_0x146117[_0x36c9ce(0x1df)](_0x17164f[_0x36c9ce(0x2af)][_0x36c9ce(0x1ec)],0x0)){_0x2cd479=_0x146117['zYygu'],_0x5c7f64=_0x17164f[_0x36c9ce(0x2af)][_0x36c9ce(0x2b2)](_0x43f072=>({'type':this[_0x36c9ce(0x1dc)](_0x43f072),'message':this[_0x36c9ce(0x2d6)](_0x43f072&&_0x43f072['message']?_0x43f072[_0x36c9ce(0x1f2)]:String(_0x43f072)),'stack':this['_stripAnsi'](_0x43f072&&_0x43f072[_0x36c9ce(0x289)]?_0x43f072[_0x36c9ce(0x289)]:'')}));const _0x131822=_0x5c7f64[0x0];_0x3c00f4=_0x131822[_0x36c9ce(0x1f6)],_0x3e5080=_0x131822[_0x36c9ce(0x1f2)];}}const _0x8a6fe1=Array['isArray'](_0x17164f['screenshots'])?_0x17164f['screenshots']['map'](_0x899c43=>_0x899c43&&_0x899c43[_0x36c9ce(0x1ca)])[_0x36c9ce(0x2b3)](Boolean):[];return{[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x2cd479,[TestFrameworkConstants[_0x36c9ce(0x2a3)]]:_0x17164f['durationMs']||0x0,[TestFrameworkConstants[_0x36c9ce(0x244)]]:_0x5c7f64,[TestFrameworkConstants[_0x36c9ce(0x1cf)]]:_0x3c00f4,[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x3e5080,[TestFrameworkConstants[_0x36c9ce(0x1bd)]]:new Date()[_0x36c9ce(0x207)](),[TestFrameworkConstants[_0x36c9ce(0x246)]]:_0x8a6fe1};}async[a106_0x3b6c49(0x1a0)](_0x33fe4a,_0x17968b,_0x4629ea,_0x205bf3){const _0x57a9e4=a106_0x3b6c49,_0x599e90={'bhWQW':_0x57a9e4(0x27b),'KgJhE':_0x57a9e4(0x245),'DAEAe':_0x57a9e4(0x281),'IiJVx':_0x57a9e4(0x240),'JRUwN':function(_0x4391b2,_0x230272){return _0x4391b2===_0x230272;},'Jurkw':function(_0x2ab328){return _0x2ab328();},'NWrPj':function(_0x4f4702,_0xbe9420){return _0x4f4702-_0xbe9420;},'HsQOw':function(_0x1081fe){return _0x1081fe();},'FvgSo':_0x57a9e4(0x293)},_0x51bbea=_0x17968b[_0x57a9e4(0x2ce)]()[_0x57a9e4(0x294)]('.')[0x1],_0x2f44f4=_0x51bbea[_0x57a9e4(0x237)](),_0x391661=_0x2f44f4[_0x57a9e4(0x1a5)](_0x599e90[_0x57a9e4(0x2c4)])?_0x599e90[_0x57a9e4(0x21d)]:_0x2f44f4[_0x57a9e4(0x1a5)](_0x599e90[_0x57a9e4(0x1e0)])?_0x599e90[_0x57a9e4(0x2e7)]:_0x2f44f4,_0x470ae6={};if(_0x599e90['JRUwN'](_0x4629ea,HookState[_0x57a9e4(0x219)])){const _0x178416=_0x33fe4a[_0x57a9e4(0x1c5)]()[_0x57a9e4(0x2a9)](TestFrameworkConstants[_0x57a9e4(0x277)])||{},_0x3e5802=Array[_0x57a9e4(0x2b8)](_0x178416[_0x51bbea])?_0x178416[_0x51bbea]:[],_0x25f6be=_0x599e90[_0x57a9e4(0x2dc)](uuidv4);_0x3e5802[_0x57a9e4(0x25a)]({'hook_id':_0x25f6be,'hook_name':_0x51bbea,'key':_0x51bbea,'hook_type':_0x391661,'event_started_at':new Date()[_0x57a9e4(0x207)]()}),_0x178416[_0x51bbea]=_0x3e5802;const _0x2e9e97=_0x33fe4a[_0x57a9e4(0x1c5)]()[_0x57a9e4(0x2a9)](TestFrameworkConstants[_0x57a9e4(0x2eb)])||{};_0x2e9e97[_0x51bbea]=_0x25f6be,_0x470ae6[TestFrameworkConstants[_0x57a9e4(0x277)]]=_0x178416,_0x470ae6[TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2e9e97;}else{if(_0x599e90['JRUwN'](_0x4629ea,HookState['POST'])){const _0x891a51=_0x33fe4a['getAllData']()['get'](TestFrameworkConstants[_0x57a9e4(0x1eb)])||{},_0x45e027=Array[_0x57a9e4(0x2b8)](_0x891a51[_0x51bbea])?_0x891a51[_0x51bbea]:[],_0x184427=_0x33fe4a[_0x57a9e4(0x1c5)]()[_0x57a9e4(0x2a9)](TestFrameworkConstants[_0x57a9e4(0x2eb)])||{},_0x38b619=_0x33fe4a[_0x57a9e4(0x1c5)]()[_0x57a9e4(0x2a9)](TestFrameworkConstants[_0x57a9e4(0x277)])||{},_0x8db313=Array[_0x57a9e4(0x2b8)](_0x38b619[_0x51bbea])?_0x38b619[_0x51bbea][_0x599e90[_0x57a9e4(0x1ba)](_0x38b619[_0x51bbea]['length'],0x1)]:null,_0x2d8176=_0x184427&&_0x184427[_0x51bbea]||_0x8db313&&_0x8db313[_0x57a9e4(0x1f0)]||_0x599e90[_0x57a9e4(0x288)](uuidv4);_0x45e027['push']({'hook_id':_0x2d8176,'hook_name':_0x51bbea,'key':_0x51bbea,'hook_type':_0x391661,'event_started_at':_0x8db313?_0x8db313[_0x57a9e4(0x1ea)]:new Date()['toISOString'](),'event_ended_at':new Date()['toISOString'](),'hook_result':_0x599e90[_0x57a9e4(0x1e7)]}),_0x891a51[_0x51bbea]=_0x45e027,_0x470ae6[TestFrameworkConstants[_0x57a9e4(0x1eb)]]=_0x891a51;}}return _0x470ae6;}}module['exports']=TestCafeTestFramework;function a106_0x3ecc(){const _0x5e54e9=['::retry','isArray','testSessionEvent','QsHDC','fVPCA','uuid','eLeCz','KEY_TEST_FILE_PATH','BBvkz','Test\x20execution\x20started:\x20','forEach','tBnlC','getTestFrameworks','bhWQW','./constants/testFrameworkConstants.js','XWjFP','VaNBp','getTestFrameworksVersions','util','KEY_EVENT_ENDED_AT','getThreadId','finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid=','hmgjZ','toString','\x20logs\x20for\x20testId=','zYygu','yhPEu','_trackTestCafeInstance:\x20contextId=','BEFORE_','sendLogCreatedEvent:\x20emitting\x20','from','_stripAnsi','OVzWS','KEY_TEST_RESULT','__platformUuids','EWeAf','rHxDR','Jurkw','GaBRH','_sendHookCbtEvents:\x20','pMLSe','trackEvent:\x20runHooks\x20failed\x20—\x20','waqwB','Oounn','PnLmI','info','error','setCurrentTestState','IiJVx','nDSPE','../TestInfo.js','__fixture_','KEY_HOOK_LAST_STARTED','DEFAULT_HOOK_RESULT','testIdentifier','tiXTE','fOvtm','wbogv','set','../../../helpers/helper.js','zxspe','addMultipleEntries','943649tuoybJ','KEY_TEST_FRAMEWORK_NAME','_trackHookEvent','testFrameworkEvent','KEY_TEST_UUID','gaWJX','logCreatedEvent','startsWith','KEY_HUB_URL','zXkoD','getId','pMDZD','KEY_SESSION_ID','../state/testFrameworkState.js','ZSAyJ','hkLqU','UMShH','nfVVY','createContext','XhhIS','getInstance','MSqlw','KEY_HOOK_RESULT','TestCafeTestFramework','hRsEb','fixture','1849392LAnPyz','\x20ref=','NWrPj','4FNvSHc','TEST','KEY_TEST_ENDED_AT','xEawJ','1149776oIkbMJ','lVMNS','wgLOQ','oFkcP','Error','AxOaZ','getAllData','UMfpl','KEY_TEST_LOGS','updateMultipleEntries','KEY_TEST_FRAMEWORK_VERSION','screenshotPath','_parseTestStart','\x20hookState=','pFvWb','object','KEY_TEST_FAILURE_TYPE','failed','fqtZv','platformIndex','fixtureIdentifier','TestCafeOrphanTimeout','qbVDZ','\x20state=','../grpcClient','unknown','\x20pi=','YyNhn','rAjvE','_deriveFailureType','match','xlZsa','NMNXj','DAEAe','NONE','UtVpB','AFTER_ALL','flPHN','TjemS','(orphan\x20test\x20','FvgSo','testRunInfo','Test\x20execution\x20finished\x20—\x20result:\x20','event_started_at','KEY_HOOKS_FINISHED','length','gOnSc','resolveInstance','trackEvent','hook_id','8KfZgUd','message','1827804KwzWNZ','\x20platforms\x20(reusingFixtureUuids=','tag','type','testcafe','brUWI','oKuNl','\x20fan-out:\x20','_startedTestUuids','_getTestIdentifier','sDPOy','KEY_HOOK_ID','__platformIdentifiers','__currentPlatformIdentifiers','ZACDh','PGyjw','\x20failed:\x20','\x20platformIndex=','ERROR','sfPeI','toISOString','vybUh','./testFramework','AapKR','_sendHookCbtEvents','FnLFS','instance','./testcafeAutomationFramework.js','KEY_CAPABILITIES','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','JuniK','sendLogCreatedEvent','NwFLf','zrSpY','isInteger','pid','iterAllInstances','TestCafeError','PRE','275458mEjPWp','debug','UPrRE','KgJhE','getContext','name','keys','event_ended_at','WDhFf','sYofb','replace','gYpsN','yZtaJ','\x20started','_lazyCreateInstance','bDXKv','Dttvv','finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20','getCurrentTestState','path','KEY_TEST_SCOPES','stringify','sendLogCreatedEvent\x20failed:\x20','beforeEach(test)','hubUrl','HrzWa','KEY_TEST_SCOPE','./automationFramework.js','createTestFrameworkEventPayload:\x20','toLowerCase','zXcOJ','Ukfpp','POST','\x20platform_index=','_parseTestEnd','updateData','wFNCv','userAgents','after_all','tags','mzYEP','_sendLifecycleLogs','KEY_TEST_FAILURE','before_all','KEY_TEST_SCREENSHOTS','runHooks','getConfig','\x20sessionId=','getProcessId','kind','../browserstackCLI.js','qJSKG','AFTER_EACH','afterEach(test)','delete','hcbny','dngeC','HOOK_REGEX','entries','_trackTestCafeInstance','KEY_TEST_NAME','__currentPlatformUuids','80601ngFDUf','testStartInfo','push','lwRCS','getData','.__platformIdentifiers','\x20completed','testUuid','string','IofDW','trackEvent\x20fan-out\x20','base64','finalizeOrphans','oHjOs','test','sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId=','BEFORE_EACH','TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','getRef','setTrackedInstance','Hook\x20','after(fixture)','tUjuv','clear','.__platformUuids','Upjtv','CKBkr','OYAqP','FRmmB','level','KEY_TEST_TAGS','KEY_HOOKS_STARTED','testName','AHlxQ','aThEy','before','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','size','skipped','IByTo','INIT_TEST','after','trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20',':\x20uuid=','OPBut','wJfXr','KEY_HOOK_NAME','getState','HsQOw','stack','setCurrentHookState','KEY_TEST_LOCATION','endsWith','TestCafe','HpKcS','\x20platform\x20identifiers,\x20uuids=','timestamp','XHqgg','createTestFrameworkEventPayload','passed','split','Lsner','../../../helpers/classLogger.js','icXLY','testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown','EYssv','../state/hookState.js','KEY_EVENT_STARTED_AT','getTrackedInstance','aCGGH','KIND_LOG','zyXJx','kuKvv','matchHookRegex','sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','KEY_TEST_DURATION','gZFsF','../instances/testFrameworkInstance.js','_extractTestTags','trackEvent:\x20no\x20instance\x20for\x20state=','meta','get','finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','1460785znjVvW','KEY_TEST_STARTED_AT','DEFAULT_TEST_RESULT','_sendLifecycleLogs\x20pi=','errs','getCurrentInstanceName','../modules/testcafeDriverModule.js','map','filter','_sendLifecycleLogs\x20failed:\x20','test_run_uuid','aVIti'];a106_0x3ecc=function(){return _0x5e54e9;};return a106_0x3ecc();}
1
+ 'use strict';const a106_0x431054=a106_0x5c3d;(function(_0x7e5d7f,_0x40d606){const _0x269f06=a106_0x5c3d,_0x1b6723=_0x7e5d7f();while(!![]){try{const _0x53e551=-parseInt(_0x269f06(0xf8))/0x1*(parseInt(_0x269f06(0x203))/0x2)+-parseInt(_0x269f06(0x17b))/0x3*(-parseInt(_0x269f06(0x1f6))/0x4)+parseInt(_0x269f06(0x1ac))/0x5*(-parseInt(_0x269f06(0xf2))/0x6)+-parseInt(_0x269f06(0x205))/0x7*(parseInt(_0x269f06(0x1fe))/0x8)+parseInt(_0x269f06(0x151))/0x9*(parseInt(_0x269f06(0x115))/0xa)+-parseInt(_0x269f06(0xdc))/0xb+parseInt(_0x269f06(0x198))/0xc;if(_0x53e551===_0x40d606)break;else _0x1b6723['push'](_0x1b6723['shift']());}catch(_0x21fef7){_0x1b6723['push'](_0x1b6723['shift']());}}}(a106_0x3d47,0x5e26c));const TestFramework=require(a106_0x431054(0x19f)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a106_0x431054(0x104)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),TrackedInstance=require(a106_0x431054(0x17c)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),CLIUtils=require(a106_0x431054(0x1ca)),TestInfo=require(a106_0x431054(0x1d3)),GrpcClient=require(a106_0x431054(0xc8)),{getPlaywrightProvider,getProductForSession}=require(a106_0x431054(0x1b9)),{createClassLogger}=require('../../../helpers/classLogger.js'),{v4:uuidv4}=require('uuid'),util=require(a106_0x431054(0x1a9)),logger=createClassLogger(a106_0x431054(0x175));function a106_0x5c3d(_0x5723ee,_0x48270a){const _0x3d47cc=a106_0x3d47();return a106_0x5c3d=function(_0x5c3da8,_0x133a2e){_0x5c3da8=_0x5c3da8-0xbc;let _0x5ce9e1=_0x3d47cc[_0x5c3da8];return _0x5ce9e1;},a106_0x5c3d(_0x5723ee,_0x48270a);}function a106_0x3d47(){const _0x24f1eb=['filter','getState','::retry','xxbzQ','startsWith','set','beforeEach(test)','6598515XvAljt','tOSNj','toISOString','idepO','yvDHF','BEFORE_EACH','KEY_TEST_SCOPE','WXWog','event_started_at','KEY_TEST_SCOPES','\x20platform\x20identifiers,\x20uuids=','_deriveFailureType','tFnsu','GsYKc','setCurrentTestState','sendLogCreatedEvent\x20failed:\x20','createTestFrameworkEventPayload','mScua','.__platformIdentifiers','PRE','\x20pi=','\x20failed:\x20','691134rIIqLl','stack','kind','\x20state=','string','SpZJX','2wPlamX','level','nDmXU','hubUrl','_trackTestCafeInstance','KEY_HUB_URL','CWbSL','before','vXhVY','BEFORE_','gQhya','KEY_TEST_ENDED_AT','../state/hookState.js','ztucY','createTestFrameworkEventPayload:\x20','BEFORE_ALL','RLHxf','NduOD','toLowerCase','omwoa','updateData','JWUcL','after','NzUaM','NpzPw','error','stringify','wlSdY','kvVJQ','30IOZcjB','setCurrentHookState','trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20','Test\x20execution\x20started:\x20','LVZaW','WMkjw','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','KtVRA','testUuid','Uwxgn','trackEvent:\x20runHooks\x20failed\x20—\x20','WRUNG','dDNPx','HaBDn','getProcessId','getTestFrameworks','userAgents','skipped','asiwI','oDxLi','_sendHookCbtEvents\x20failed:\x20','NDKim','jRsWJ','IoNfK','WrXRD','KEY_HOOKS_FINISHED','getCurrentTestState','finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20','TestCafeError','runHooks','base64','getAllData','kFmpV','getConfig','HOOK_REGEX','errs','_stripAnsi','UVEyC','info','jCoZq','Amfzg','platformIndex','keys','CkEHz','hInmZ','afterEach(test)','ttSQD','EieQi','split','../modules/testcafeDriverModule.js','\x20target=','UqFkv','\x20testName=','size','YxZyt','clear','forEach','getCurrentHookState','updateMultipleEntries','OttZN','784215BPvLkX','delete','KEY_TEST_SCREENSHOTS','KEY_TEST_FAILURE_REASON','\x20fan-out:\x20','trackEvent\x20','getTestFrameworksVersions','_sendHookCbtEvents\x20inner\x20failed:\x20','sNARD','\x20orphan\x20test_run(s)','MCDhe','testFrameworkEvent','\x20ref=','unknown::','YXoLu','CybiL','getContext','type','omFQk','VLZLc','getTrackedInstance','KEY_TEST_UUID','fagWr','_trackTestCafeInstance:\x20contextId=','Ujnsp','tag','KEY_TEST_FAILURE_TYPE','finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','(orphan\x20test\x20','before(fixture)','getId','FVMzC','Hook\x20','pwqqv','Test\x20execution\x20finished\x20—\x20result:\x20','__platformIdentifiers','TestCafeTestFramework','trackEvent\x20fan-out\x20','testRunInfo','xFFbD','PzMwg','push','118866uLWaua','../instances/trackedInstance.js','\x20completed','testIdentifier','map','.__platformUuids','ToImI','meta','pikxt','_trackHookEvent','./testcafeAutomationFramework.js','fixtureIdentifier','durationMs','\x20logs\x20for\x20testId=','_getTestIdentifier','__pendingPlatformIdentifiers','_startedTestUuids','getCurrentInstanceName','finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid=','KEY_EVENT_STARTED_AT','aenEu','_lazyCreateInstance','TEST','_sendLifecycleLogs\x20pi=','isInteger','_sendHookCbtEvents:\x20','\x20started','message','frpao','19770276qxhLPP','abLkt','NONE','KEY_SESSION_ID','matchHookRegex','_sendHookCbtEvents','hook_id','./testFramework','testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown','unknown','debug','replace','AFTER_EACH','fUUph','hIjCY','Vrocj','tdTIJ','util','fixture','OzAMY','5eLhTmG','__currentPlatformIdentifiers','before_all','IMAGE','getData','KEY_TEST_LOCATION','\x20platformIndex=','failed','tUtoX','setTrackedInstance','screenshotPath','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','pmUYc','../../../helpers/helper.js','FtrMg','length','startTime','trackEvent','PDZkn','sendLogCreatedEvent','zjLWj','endsWith','KEY_TEST_DURATION','KEY_TEST_FAILURE','instance','lbIKk','format','getInstance','DCfhh','KEY_HOOK_LAST_STARTED','../cliUtils.js','rTFUf','yETea','../browserstackCLI.js','LxkGr','ikAwa','createContext','DEFAULT_TEST_RESULT','__pendingPlatformUuids','../TestInfo.js','rThEk','path','trackEvent:\x20no\x20instance\x20for\x20state=','tags','SKAmS','POST','AVjkk','gbgsR','KEY_TEST_RESULT','\x20hookState=','finalizeOrphans','isArray','xlKgq','otZRw','scNyR','rgpfw','VdRPc','hlHYP','FYMLF','Error','entries','TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','screenshots','VeiSd','YVOgP','qWCvm','fLWRI','trim','KEY_TEST_STARTED_AT','__fixture_','ERROR','CMmoc','get','resolveInstance','40qCUDhS','getRef','IfOCx','IEGYm','_extractTestTags','Flmso','PBDnG','KEY_TEST_FRAMEWORK_NAME','16wikqcj','FuSVL','_parseTestStart','YmYMC','addMultipleEntries','754436RFqOmx','DhEuc','1575049ftHHqT','uuid','dfiro','_sendLifecycleLogs','KIND_LOG','_parseTestEnd','iGBGI','NXjhH','toString','\x20testUuid=','object','getThreadId','KEY_TEST_FRAMEWORK_VERSION','STEzU','testcafe','yyDgD','lXLdN','name','KEY_HOOKS_STARTED','ItpAC','\x20platform_index=','MERyD','testName','passed','McUbG','SKouB','INIT_TEST','KEY_TEST_NAME','jJXyv','rJxIm','after_all','KEY_CAPABILITIES','test','_sendLifecycleLogs\x20failed:\x20','DEFAULT_HOOK_RESULT','mMvKn','../grpcClient','\x20sessionId=','KEY_HOOK_ID','bqHuw','from','warn','KEY_TEST_FILE_PATH','event_ended_at','ffKbO','TuyOZ','tgVIQ','KTCBv','__platformUuids'];a106_0x3d47=function(){return _0x24f1eb;};return a106_0x3d47();}class TestCafeTestFramework extends TestFramework{constructor(_0x10ddbe,_0xb1d694,_0x364011){const _0x16106c=a106_0x431054;super(_0x10ddbe,_0xb1d694,_0x364011),this[_0x16106c(0x18b)]=new Map();}async['trackEvent'](_0x1382c9,_0x514d17,_0x1547b5={}){const _0x2c5acb=a106_0x431054,_0x5549ea={'KTCBv':function(_0x1335a9,_0xede37c){return _0x1335a9===_0xede37c;},'Amfzg':function(_0x3e96a2,_0x4e5635){return _0x3e96a2===_0x4e5635;},'UVEyC':function(_0x179b9d,_0x100de9){return _0x179b9d>_0x100de9;},'CybiL':_0x2c5acb(0x1d2),'qWCvm':_0x2c5acb(0x18a),'dfiro':function(_0x121c31,_0x1ae0d8){return _0x121c31===_0x1ae0d8;},'asiwI':function(_0x657364,_0x4ebc45){return _0x657364<_0x4ebc45;},'VdRPc':function(_0xac1b77){return _0xac1b77();},'NpzPw':function(_0x30276b,_0x384001){return _0x30276b&&_0x384001;},'SKAmS':'__currentPlatformUuids','IoNfK':_0x2c5acb(0x1ad),'otZRw':function(_0x26999f,_0x5b8073){return _0x26999f<_0x5b8073;},'YmYMC':function(_0xf6ef5,_0xe31498){return _0xf6ef5===_0xe31498;},'DCfhh':function(_0x2458f9,_0xed669b){return _0x2458f9<_0xed669b;},'yypPd':_0x2c5acb(0xc4),'FGxSA':function(_0x4cf0ee,_0xaa4866){return _0x4cf0ee<_0xaa4866;},'sNARD':function(_0x29e363,_0x45396b){return _0x29e363>_0x45396b;},'yETea':_0x2c5acb(0x101),'tdTIJ':function(_0xa8b389,_0x41bd80){return _0xa8b389===_0x41bd80;},'pikxt':function(_0x3d4cc8,_0x3eee2a){return _0x3d4cc8===_0x3eee2a;},'CWbSL':_0x2c5acb(0x11b),'VeiSd':function(_0x3ec7dc,_0x3a8d5e){return _0x3ec7dc===_0x3a8d5e;},'tMBJH':function(_0x585b07,_0x9456cc){return _0x585b07===_0x9456cc;},'PDZkn':function(_0x7307b1,_0x3333a4){return _0x7307b1===_0x3333a4;},'nDmXU':function(_0xbf8830,_0xe35dd1){return _0xbf8830===_0xe35dd1;},'mRFDD':function(_0x229363,_0x20540e){return _0x229363||_0x20540e;},'iGBGI':function(_0x14994a,_0x356543){return _0x14994a<_0x356543;},'eOKDC':function(_0x3cd84f,_0x5ea644){return _0x3cd84f===_0x5ea644;},'jJXyv':function(_0xf6230e,_0x56f559){return _0xf6230e===_0x56f559;}};super[_0x2c5acb(0x1bd)](_0x1382c9,_0x514d17,_0x1547b5);const _0x155c24=this[_0x2c5acb(0x1f5)](_0x1382c9,_0x514d17,_0x1547b5);if(!_0x155c24){logger[_0x2c5acb(0x1a2)](_0x2c5acb(0x1d6)+_0x1382c9+_0x2c5acb(0x1dd)+_0x514d17);return;}_0x155c24[_0x2c5acb(0xea)](_0x1382c9),_0x155c24[_0x2c5acb(0x116)](_0x514d17),_0x1547b5[_0x2c5acb(0x1c4)]=_0x155c24,logger['debug']('trackEvent:\x20state='+_0x1382c9+_0x2c5acb(0x1dd)+_0x514d17+_0x2c5acb(0x15d)+(_0x155c24[_0x2c5acb(0x1f7)]&&_0x155c24[_0x2c5acb(0x1f7)]()));try{if(_0x5549ea[_0x2c5acb(0xd3)](_0x1382c9,TestFrameworkState[_0x2c5acb(0x191)])&&_0x5549ea[_0x2c5acb(0x13d)](_0x514d17,HookState[_0x2c5acb(0xef)])){const _0x569f5c=this['_getTestIdentifier'](_0x1547b5[_0x2c5acb(0xc4)],0x0),_0x23eb80=Array[_0x2c5acb(0x1df)](_0x1547b5[_0x2c5acb(0x125)])&&_0x5549ea[_0x2c5acb(0x13a)](_0x1547b5[_0x2c5acb(0x125)][_0x2c5acb(0x1bb)],0x0)?_0x1547b5[_0x2c5acb(0x125)]:[''],_0x436aba=_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea[_0x2c5acb(0x160)]),_0x4eb48b=_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea[_0x2c5acb(0x1ed)]),_0x4b8f39=Array[_0x2c5acb(0x1df)](_0x436aba)&&_0x5549ea[_0x2c5acb(0x207)](_0x436aba['length'],_0x23eb80['length']);logger[_0x2c5acb(0x13b)](_0x2c5acb(0x117)+_0x23eb80[_0x2c5acb(0x1bb)]+'\x20platforms\x20(reusingFixtureUuids='+_0x4b8f39+')');const _0x1f107e=[],_0x58c8a=[],_0x243c6b={};for(let _0xa14fa1=0x0;_0x5549ea[_0x2c5acb(0x127)](_0xa14fa1,_0x23eb80[_0x2c5acb(0x1bb)]);_0xa14fa1++){const _0x48088f=_0x4b8f39?_0x436aba[_0xa14fa1]:_0x5549ea[_0x2c5acb(0x1e4)](uuidv4),_0x4a5b17=_0x5549ea[_0x2c5acb(0x110)](_0x4b8f39,_0x4eb48b)&&_0x4eb48b[_0xa14fa1]?_0x4eb48b[_0xa14fa1]:_0x569f5c+'#'+_0xa14fa1;_0x1f107e[_0x2c5acb(0x17a)](_0x48088f),_0x58c8a[_0x2c5acb(0x17a)](_0x4a5b17),_0x243c6b[_0x4a5b17]=this['_parseTestStart'](_0x48088f,_0x1547b5[_0x2c5acb(0xc4)],_0x1547b5['testStartInfo']);}_0x155c24[_0x2c5acb(0x10c)](_0x5549ea['CybiL'],null),_0x155c24[_0x2c5acb(0x10c)](_0x5549ea[_0x2c5acb(0x1ed)],null),_0x155c24[_0x2c5acb(0x10c)](_0x5549ea[_0x2c5acb(0x1d8)],_0x1f107e),_0x155c24[_0x2c5acb(0x10c)](_0x5549ea['IoNfK'],_0x58c8a),_0x243c6b[_0x569f5c]=_0x243c6b[_0x58c8a[0x0]],_0x155c24[_0x2c5acb(0x202)](_0x243c6b);const _0xe6bd89={[_0x569f5c+'.__platformUuids']:_0x1f107e,[_0x569f5c+_0x2c5acb(0xee)]:_0x58c8a};_0x155c24[_0x2c5acb(0x14f)](_0xe6bd89),_0x1547b5[_0x2c5acb(0x17e)]=_0x569f5c,_0x1547b5[_0x2c5acb(0x11d)]=_0x1f107e[0x0],_0x1547b5[_0x2c5acb(0x13e)]=0x0,_0x1547b5['__platformUuids']=_0x1f107e,_0x1547b5[_0x2c5acb(0x174)]=_0x58c8a;const _0xcdbc2c=_0x1547b5[_0x2c5acb(0xc4)]&&_0x1547b5[_0x2c5acb(0xc4)]['name']||'';for(let _0xf8dc27=0x0;_0x5549ea[_0x2c5acb(0x1e1)](_0xf8dc27,_0x1f107e[_0x2c5acb(0x1bb)]);_0xf8dc27++){this[_0x2c5acb(0x18b)][_0x2c5acb(0xda)](_0x1f107e[_0xf8dc27],{'testName':_0xcdbc2c,'platformIndex':_0xf8dc27,'testIdentifier':_0x58c8a[_0xf8dc27],'sessionId':null});}}if(_0x5549ea['KTCBv'](_0x1382c9,TestFrameworkState[_0x2c5acb(0x191)])&&_0x5549ea[_0x2c5acb(0x201)](_0x514d17,HookState[_0x2c5acb(0x1d9)])){const _0x1978d4=_0x1547b5['test'],_0x47101d=_0x1547b5[_0x2c5acb(0x177)],_0x15d2be=this[_0x2c5acb(0x189)](_0x1978d4,0x0),_0x5e6d45=_0x155c24[_0x2c5acb(0x134)]()['get'](_0x15d2be+_0x2c5acb(0x180))||[],_0x1daa35=_0x155c24['getAllData']()[_0x2c5acb(0x1f4)](_0x15d2be+_0x2c5acb(0xee))||[],_0x28b77e=this[_0x2c5acb(0x20a)](_0x1978d4,_0x47101d),_0xba3bc8={};for(let _0x110313=0x0;_0x5549ea[_0x2c5acb(0x1c8)](_0x110313,_0x1daa35[_0x2c5acb(0x1bb)]);_0x110313++){const _0x3ad4f0=_0x1daa35[_0x110313],_0x4fc6f1=_0x155c24[_0x2c5acb(0x134)]()['get'](_0x3ad4f0)||{},_0x3b4648={..._0x4fc6f1,..._0x28b77e};_0xba3bc8[_0x3ad4f0]=_0x3b4648;}_0x5549ea[_0x2c5acb(0x13a)](_0x1daa35[_0x2c5acb(0x1bb)],0x0)&&(_0xba3bc8[_0x15d2be]=_0xba3bc8[_0x1daa35[0x0]]);_0x155c24[_0x2c5acb(0x202)](_0xba3bc8),_0x1547b5['testIdentifier']=_0x15d2be,_0x1547b5[_0x2c5acb(0x11d)]=_0x5e6d45[0x0]||'',_0x1547b5[_0x2c5acb(0x13e)]=0x0,_0x1547b5['__platformUuids']=_0x5e6d45,_0x1547b5[_0x2c5acb(0x174)]=_0x1daa35,await this[_0x2c5acb(0x1bf)](_0x155c24,_0x1382c9,_0x514d17,_0x5549ea['yypPd'],_0x1547b5,0x0);for(let _0x1d2a41=0x0;_0x5549ea['FGxSA'](_0x1d2a41,_0x5e6d45[_0x2c5acb(0x1bb)]);_0x1d2a41++){this[_0x2c5acb(0x18b)][_0x2c5acb(0x152)](_0x5e6d45[_0x1d2a41]);}}if(CLIUtils[_0x2c5acb(0x19c)](_0x1382c9[_0x2c5acb(0x20d)]()[_0x2c5acb(0x145)]('.')[0x1])){const _0x477f13=await this[_0x2c5acb(0x184)](_0x155c24,_0x1382c9,_0x514d17,_0x1547b5);Object[_0x2c5acb(0x1e8)](_0x477f13)[_0x2c5acb(0x14d)](([_0x430a6b,_0x1a7725])=>_0x155c24[_0x2c5acb(0x202)]({[_0x430a6b]:_0x1a7725}));const _0xbfa797=_0x1382c9[_0x2c5acb(0x20d)]()['split']('.')[0x1];let _0x165e09=_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea['SKAmS']),_0x25aff8=_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea['IoNfK']);const _0x5d7e96=Array[_0x2c5acb(0x1df)](_0x1547b5[_0x2c5acb(0x125)])&&_0x5549ea[_0x2c5acb(0x159)](_0x1547b5[_0x2c5acb(0x125)][_0x2c5acb(0x1bb)],0x0)?_0x1547b5[_0x2c5acb(0x125)]:Array[_0x2c5acb(0x1df)](_0x165e09)?_0x165e09:[''];if(_0xbfa797[_0x2c5acb(0xd9)](_0x5549ea[_0x2c5acb(0x1cc)])&&_0x5549ea[_0x2c5acb(0x1a8)](_0x514d17,HookState[_0x2c5acb(0xef)])){const _0x54a044=Array['isArray'](_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea[_0x2c5acb(0x160)]))&&_0x5549ea[_0x2c5acb(0x183)](_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea['CybiL'])[_0x2c5acb(0x1bb)],_0x5d7e96[_0x2c5acb(0x1bb)]);if(!_0x54a044){const _0x38f9c9=_0x5d7e96[_0x2c5acb(0x17f)](()=>uuidv4()),_0x110650=_0x5d7e96[_0x2c5acb(0x17f)]((_0x53a721,_0x2ed899)=>_0x2c5acb(0x1f1)+(_0x1547b5[_0x2c5acb(0x186)]||_0x2c5acb(0x1a1))+'#'+_0x2ed899);_0x155c24[_0x2c5acb(0x10c)](_0x5549ea[_0x2c5acb(0x160)],_0x38f9c9),_0x155c24[_0x2c5acb(0x10c)](_0x5549ea[_0x2c5acb(0x1ed)],_0x110650),_0x155c24[_0x2c5acb(0x10c)](_0x5549ea[_0x2c5acb(0x1d8)],_0x38f9c9),_0x155c24[_0x2c5acb(0x10c)](_0x5549ea[_0x2c5acb(0x12c)],_0x110650),_0x165e09=_0x38f9c9,_0x25aff8=_0x110650;}else _0x165e09=_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea[_0x2c5acb(0x160)]),_0x25aff8=_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea[_0x2c5acb(0x1ed)]);}Array[_0x2c5acb(0x1df)](_0x165e09)&&_0x5549ea['UVEyC'](_0x165e09[_0x2c5acb(0x1bb)],0x0)&&(_0x1547b5[_0x2c5acb(0x11d)]=_0x165e09[0x0],_0x1547b5['platformIndex']=0x0,_0x1547b5[_0x2c5acb(0xd4)]=_0x165e09,_0x1547b5['__platformIdentifiers']=_0x25aff8);}}catch(_0x554232){logger['error'](util[_0x2c5acb(0x1c6)](_0x5549ea[_0x2c5acb(0xfe)],_0x1382c9,_0x514d17,_0x554232[_0x2c5acb(0xf3)]||_0x554232));}try{await this[_0x2c5acb(0x132)](_0x155c24,_0x1382c9,_0x514d17,_0x1547b5);}catch(_0x5d1490){logger[_0x2c5acb(0x111)](_0x2c5acb(0x11f)+(_0x5d1490[_0x2c5acb(0xf3)]||_0x5d1490));}const _0x4c6cf4=_0x1382c9['toString']()['split']('.')[0x1],_0x2bbb8f=_0x5549ea[_0x2c5acb(0x1eb)](_0x1382c9,TestFrameworkState[_0x2c5acb(0x191)])&&(_0x5549ea['tMBJH'](_0x514d17,HookState[_0x2c5acb(0xef)])||_0x5549ea[_0x2c5acb(0x1be)](_0x514d17,HookState['POST'])),_0x1c1527=CLIUtils[_0x2c5acb(0x19c)](_0x4c6cf4)&&(_0x5549ea[_0x2c5acb(0xd3)](_0x514d17,HookState[_0x2c5acb(0xef)])||_0x5549ea[_0x2c5acb(0xfa)](_0x514d17,HookState['POST']));if(_0x5549ea['mRFDD'](_0x2bbb8f,_0x1c1527)){let _0x48dc46=[],_0x1593ca=[];if(_0x2bbb8f){const _0x16f7d2=this[_0x2c5acb(0x189)](_0x1547b5[_0x2c5acb(0xc4)],0x0);_0x48dc46=_0x155c24[_0x2c5acb(0x134)]()[_0x2c5acb(0x1f4)](_0x16f7d2+_0x2c5acb(0x180))||[],_0x1593ca=_0x155c24[_0x2c5acb(0x134)]()[_0x2c5acb(0x1f4)](_0x16f7d2+_0x2c5acb(0xee))||[];}else _0x48dc46=Array[_0x2c5acb(0x1df)](_0x155c24['getData'](_0x5549ea[_0x2c5acb(0x1d8)]))?_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea[_0x2c5acb(0x1d8)]):[],_0x1593ca=Array[_0x2c5acb(0x1df)](_0x155c24[_0x2c5acb(0x1b0)](_0x5549ea[_0x2c5acb(0x12c)]))?_0x155c24['getData'](_0x5549ea[_0x2c5acb(0x12c)]):[];logger[_0x2c5acb(0x13b)](_0x2c5acb(0x156)+_0x4c6cf4+'\x20'+_0x514d17[_0x2c5acb(0x20d)]()['split']('.')[0x1]+_0x2c5acb(0x155)+_0x1593ca[_0x2c5acb(0x1bb)]+_0x2c5acb(0xe6)+_0x48dc46[_0x2c5acb(0x1bb)]);for(let _0x4e511c=0x1;_0x5549ea[_0x2c5acb(0x20b)](_0x4e511c,_0x48dc46['length']);_0x4e511c++){const _0x1ecd73={..._0x1547b5};_0x1ecd73['testIdentifier']=_0x1593ca[_0x4e511c],_0x1ecd73['testUuid']=_0x48dc46[_0x4e511c],_0x1ecd73['platformIndex']=_0x4e511c;const _0x572d35=_0x1ecd73;try{const _0x20f659=this[_0x2c5acb(0xec)](_0x572d35);_0x20f659&&_0x5549ea[_0x2c5acb(0x159)](Object[_0x2c5acb(0x13f)](_0x20f659)[_0x2c5acb(0x1bb)],0x0)&&(logger[_0x2c5acb(0x13b)](_0x2c5acb(0x176)+_0x4c6cf4+_0x2c5acb(0xf0)+_0x4e511c+':\x20uuid='+_0x20f659[_0x2c5acb(0x206)]+_0x2c5acb(0x219)+_0x20f659[_0x2c5acb(0x13e)]),await GrpcClient['getInstance']()['testFrameworkEvent'](_0x20f659)),_0x2bbb8f&&_0x5549ea[_0x2c5acb(0x13d)](_0x514d17,HookState[_0x2c5acb(0x1d9)])&&await this['sendLogCreatedEvent'](_0x155c24,_0x1382c9,_0x514d17,_0x5549ea['yypPd'],_0x572d35,_0x4e511c);}catch(_0x262237){logger[_0x2c5acb(0x111)](_0x2c5acb(0x176)+_0x4c6cf4+_0x2c5acb(0xf0)+_0x4e511c+_0x2c5acb(0xf1)+(_0x262237[_0x2c5acb(0xf3)]||_0x262237));}}_0x1c1527&&(_0x5549ea['eOKDC'](_0x514d17,HookState[_0x2c5acb(0xef)])||_0x5549ea[_0x2c5acb(0xc0)](_0x514d17,HookState['POST']))&&await this['_sendHookCbtEvents'](_0x155c24,_0x4c6cf4,_0x514d17,_0x48dc46),await this[_0x2c5acb(0x208)](_0x155c24,_0x4c6cf4,_0x514d17,_0x48dc46,_0x1593ca,_0x1547b5);}}async['_sendLifecycleLogs'](_0x2480ac,_0x548e15,_0x1e1417,_0x2e9b02,_0x1ab6fb,_0x540c10){const _0x4e2bdb=a106_0x431054,_0x327804={'yArpw':function(_0x370591,_0x5f4902){return _0x370591(_0x5f4902);},'hInmZ':_0x4e2bdb(0x206),'ttSQD':function(_0x1178de,_0x280183){return _0x1178de===_0x280183;},'wkiQR':_0x4e2bdb(0x191),'YxZyt':_0x4e2bdb(0xef),'TuyOZ':function(_0x23860d,_0x4db827){return _0x23860d===_0x4db827;},'PBDnG':_0x4e2bdb(0x1d9),'WMkjw':'skipped','vXhVY':function(_0x3f4053,_0x1d37f1){return _0x3f4053>_0x1d37f1;},'mScua':'failed','gbgsR':_0x4e2bdb(0x21c),'MCDhe':_0x4e2bdb(0x101),'YVOgP':function(_0x218a60,_0x3ba424){return _0x218a60===_0x3ba424;},'IEGYm':function(_0x1a19c0,_0x4fef1f){return _0x1a19c0===_0x4fef1f;},'omFQk':_0x4e2bdb(0x107),'DhEuc':_0x4e2bdb(0x16e),'RKcPW':function(_0x57f4da,_0x41d205){return _0x57f4da===_0x41d205;},'GsYKc':_0x4e2bdb(0xe1),'CMmoc':_0x4e2bdb(0xdb),'Vrocj':function(_0x5d58be,_0x2a48c9){return _0x5d58be===_0x2a48c9;},'Flmso':'AFTER_','jRsWJ':function(_0x151d04,_0x2054ce){return _0x151d04===_0x2054ce;},'YXoLu':'AFTER_ALL','yvDHF':'after(fixture)','FVMzC':_0x4e2bdb(0x1a4),'tFnsu':_0x4e2bdb(0x142),'TSBPr':function(_0x27e1df,_0x4ac0c3){return _0x27e1df===_0x4ac0c3;},'JiGjS':function(_0x1cbb2a,_0x237a6d){return _0x1cbb2a===_0x237a6d;},'kYGqH':function(_0x51365d,_0x27c1d3){return _0x51365d===_0x27c1d3;},'yoaIQ':function(_0x5f42f7,_0x59e4d8){return _0x5f42f7<_0x59e4d8;},'JWUcL':'info'};try{const {v4:_0x536903}=_0x327804['yArpw'](require,_0x327804[_0x4e2bdb(0x141)]),_0x4b02f9=_0x1e1417['toString']()[_0x4e2bdb(0x145)]('.')[0x1];let _0xf96f22='';if(_0x327804['ttSQD'](_0x548e15,_0x327804['wkiQR'])&&_0x327804[_0x4e2bdb(0x143)](_0x4b02f9,_0x327804[_0x4e2bdb(0x14b)]))_0xf96f22=_0x4e2bdb(0x118)+(_0x540c10[_0x4e2bdb(0xc4)]&&_0x540c10[_0x4e2bdb(0xc4)]['testName']||'');else{if(_0x327804[_0x4e2bdb(0x143)](_0x548e15,_0x327804['wkiQR'])&&_0x327804[_0x4e2bdb(0xd1)](_0x4b02f9,_0x327804[_0x4e2bdb(0x1fc)])){const _0x14f0aa=_0x540c10[_0x4e2bdb(0x177)]&&Array[_0x4e2bdb(0x1df)](_0x540c10[_0x4e2bdb(0x177)][_0x4e2bdb(0x138)])?_0x540c10['testRunInfo'][_0x4e2bdb(0x138)]:[],_0x1953a0=_0x540c10[_0x4e2bdb(0x177)]&&_0x540c10[_0x4e2bdb(0x177)][_0x4e2bdb(0x126)]?_0x327804[_0x4e2bdb(0x11a)]:_0x327804[_0x4e2bdb(0x100)](_0x14f0aa[_0x4e2bdb(0x1bb)],0x0)?_0x327804[_0x4e2bdb(0xed)]:_0x327804[_0x4e2bdb(0x1db)];_0xf96f22=_0x4e2bdb(0x173)+_0x1953a0;}else{if(_0x548e15[_0x4e2bdb(0xd9)](_0x327804[_0x4e2bdb(0x15b)])&&_0x327804[_0x4e2bdb(0x1ec)](_0x4b02f9,_0x327804[_0x4e2bdb(0x14b)])){const _0x37d892=_0x327804[_0x4e2bdb(0x1f9)](_0x548e15,_0x327804[_0x4e2bdb(0x163)])?_0x327804[_0x4e2bdb(0x204)]:_0x327804['RKcPW'](_0x548e15,_0x327804[_0x4e2bdb(0xe9)])?_0x327804[_0x4e2bdb(0x1f3)]:_0x548e15[_0x4e2bdb(0x10a)]();_0xf96f22=_0x4e2bdb(0x171)+_0x37d892+'\x20started';}else{if(_0x548e15[_0x4e2bdb(0xd9)](_0x327804['MCDhe'])&&_0x327804[_0x4e2bdb(0x143)](_0x4b02f9,_0x327804[_0x4e2bdb(0x1fc)])){const _0x231890=_0x327804[_0x4e2bdb(0xd1)](_0x548e15,_0x327804['omFQk'])?_0x327804[_0x4e2bdb(0x204)]:_0x327804[_0x4e2bdb(0x1a7)](_0x548e15,_0x327804[_0x4e2bdb(0xe9)])?_0x327804[_0x4e2bdb(0x1f3)]:_0x548e15[_0x4e2bdb(0x10a)]();_0xf96f22=_0x4e2bdb(0x171)+_0x231890+'\x20completed';}else{if(_0x548e15[_0x4e2bdb(0xd9)](_0x327804['Flmso'])&&_0x327804[_0x4e2bdb(0x12b)](_0x4b02f9,_0x327804[_0x4e2bdb(0x14b)])){const _0x148939=_0x327804[_0x4e2bdb(0xd1)](_0x548e15,_0x327804[_0x4e2bdb(0x15f)])?_0x327804[_0x4e2bdb(0xe0)]:_0x327804[_0x4e2bdb(0x12b)](_0x548e15,_0x327804['FVMzC'])?_0x327804[_0x4e2bdb(0xe8)]:_0x548e15['toLowerCase']();_0xf96f22='Hook\x20'+_0x148939+_0x4e2bdb(0x195);}else{if(_0x548e15[_0x4e2bdb(0xd9)](_0x327804[_0x4e2bdb(0x1fb)])&&_0x327804['TSBPr'](_0x4b02f9,_0x327804[_0x4e2bdb(0x1fc)])){const _0x370118=_0x327804['JiGjS'](_0x548e15,_0x327804[_0x4e2bdb(0x15f)])?_0x327804[_0x4e2bdb(0xe0)]:_0x327804['kYGqH'](_0x548e15,_0x327804[_0x4e2bdb(0x170)])?_0x327804[_0x4e2bdb(0xe8)]:_0x548e15[_0x4e2bdb(0x10a)]();_0xf96f22=_0x4e2bdb(0x171)+_0x370118+_0x4e2bdb(0x17d);}else return;}}}}}const _0x2d3200=new Date()[_0x4e2bdb(0xde)](),_0x2834ed=_0x548e15[_0x4e2bdb(0xd9)](_0x327804[_0x4e2bdb(0x15b)])||_0x548e15[_0x4e2bdb(0xd9)](_0x327804[_0x4e2bdb(0x1fb)]);let _0x364c24='';if(_0x2834ed){const _0x109adc=_0x2480ac[_0x4e2bdb(0x134)]()['get'](TestFrameworkConstants[_0x4e2bdb(0x1c9)])||{};_0x364c24=_0x109adc[_0x548e15]||'';}for(let _0x3008db=0x0;_0x327804['yoaIQ'](_0x3008db,_0x2e9b02[_0x4e2bdb(0x1bb)]);_0x3008db++){const _0x1ad448=_0x2834ed?_0x364c24:_0x2e9b02[_0x3008db];if(!_0x1ad448)continue;const _0x197fa6={};_0x197fa6['uuid']=_0x1ad448,_0x197fa6['test_run_uuid']=_0x2e9b02[_0x3008db],_0x197fa6['timestamp']=_0x2d3200,_0x197fa6[_0x4e2bdb(0x196)]=_0xf96f22,_0x197fa6[_0x4e2bdb(0xf4)]=TestFrameworkConstants[_0x4e2bdb(0x209)],_0x197fa6[_0x4e2bdb(0xf9)]=_0x327804[_0x4e2bdb(0x10d)];const _0x4e5ce5=_0x197fa6,_0x55160a={'platformIndex':_0x3008db,'logs':[_0x4e5ce5],'testFrameworkName':this[_0x4e2bdb(0x124)]()[0x0],'testFrameworkVersion':this[_0x4e2bdb(0x157)]()[this[_0x4e2bdb(0x124)]()[0x0]]||'','testFrameworkState':_0x548e15};try{await GrpcClient[_0x4e2bdb(0x1c7)]()['logCreatedEvent'](_0x55160a);}catch(_0x31d0d2){logger['debug'](_0x4e2bdb(0x192)+_0x3008db+':\x20'+(_0x31d0d2[_0x4e2bdb(0x196)]||_0x31d0d2));}}}catch(_0x2e4fe1){logger[_0x4e2bdb(0x1a2)](_0x4e2bdb(0xc5)+(_0x2e4fe1[_0x4e2bdb(0x196)]||_0x2e4fe1));}}async[a106_0x431054(0x19d)](_0xe59c84,_0x504c8f,_0x18f4c4,_0x26e224){const _0x4a8bea=a106_0x431054,_0x592869={'rgpfw':function(_0x3e36cd,_0x27c09c){return _0x3e36cd(_0x27c09c);},'AVjkk':_0x4a8bea(0x1cd),'frpao':function(_0x1cd7e2,_0x43fb99){return _0x1cd7e2(_0x43fb99);},'MERyD':_0x4a8bea(0x185),'Ujnsp':_0x4a8bea(0x146),'tUtoX':'./automationFramework.js','LVZaW':function(_0x42d3fc,_0x5ac20e){return _0x42d3fc===_0x5ac20e;},'pmUYc':'object','Uwxgn':function(_0x1838bc,_0x536d82){return _0x1838bc>_0x536d82;},'gQhya':_0x4a8bea(0x133),'NzUaM':_0x4a8bea(0x213),'tgVIQ':function(_0x33d93,_0x3da2da,_0x188f92){return _0x33d93(_0x3da2da,_0x188f92);},'KtVRA':'TestCafe','IcMZl':function(_0x1ce3bb){return _0x1ce3bb();}};try{const _0x1749a5=_0x592869['rgpfw'](require,_0x592869[_0x4a8bea(0x1da)]),_0x4fa8d8=_0x592869[_0x4a8bea(0x197)](require,_0x592869[_0x4a8bea(0x21a)]),_0x383886=_0x1749a5[_0x4a8bea(0x1c7)](),_0x5917cc=_0x383886[_0x4a8bea(0x136)]()?.[_0x4a8bea(0xfb)]||'',_0x4eb9c0=_0xe59c84[_0x4a8bea(0x161)](),_0x4791e7={'hash':_0x4eb9c0['getId'](),'threadId':_0x4eb9c0[_0x4a8bea(0x210)]()[_0x4a8bea(0x20d)](),'processId':_0x4eb9c0['getProcessId']()[_0x4a8bea(0x20d)]()};for(const {platformIndex:_0x57a528,instance:_0x4fcce0}of _0x4fa8d8['iterAllInstances']()){try{const _0x29ec83=_0x26e224[_0x57a528]||_0x26e224[0x0]||'';if(!_0x29ec83)continue;const _0x39c6c5=_0x592869[_0x4a8bea(0x1e3)](require,_0x592869[_0x4a8bea(0x169)]),_0x242e98=_0x592869['frpao'](require,_0x592869[_0x4a8bea(0x1b4)]),_0x3ff3b6=_0x242e98['getState'](_0x4fcce0,_0x39c6c5[_0x4a8bea(0x19b)],'')||'',_0x44a8f0=_0x242e98['getState'](_0x4fcce0,_0x39c6c5[_0x4a8bea(0xc3)],{})||{},_0x2005e7=_0x242e98[_0x4a8bea(0xd6)](_0x4fcce0,_0x39c6c5[_0x4a8bea(0xfd)],'')||_0x5917cc,_0x17c8cf=_0x44a8f0&&_0x592869[_0x4a8bea(0x119)](typeof _0x44a8f0,_0x592869[_0x4a8bea(0x1b8)])?Object[_0x4a8bea(0x13f)](_0x44a8f0)[_0x4a8bea(0x1bb)]:0x0,_0x4d35ee=Buffer[_0x4a8bea(0xcc)](JSON[_0x4a8bea(0x112)](_0x592869[_0x4a8bea(0x11e)](_0x17c8cf,0x0)?_0x44a8f0:{}))[_0x4a8bea(0x20d)](_0x592869[_0x4a8bea(0x102)]),_0x4409fa={'platformIndex':_0x57a528,'testFrameworkName':this['getTestFrameworks']()[0x0]||_0x592869[_0x4a8bea(0x10f)],'testFrameworkVersion':this[_0x4a8bea(0x157)]()[this[_0x4a8bea(0x124)]()[0x0]]||'','testFrameworkState':_0x504c8f,'testHookState':_0x18f4c4[_0x4a8bea(0x20d)]()['split']('.')[0x1],'testUuid':_0x29ec83,'automationSession':{'provider':_0x592869[_0x4a8bea(0xd2)](getPlaywrightProvider,_0x2005e7,![]),'frameworkName':_0x592869[_0x4a8bea(0x11c)],'frameworkVersion':'','frameworkSessionId':_0x3ff3b6,'ref':_0x4fcce0[_0x4a8bea(0x1f7)](),'hubUrl':_0x2005e7,'product':_0x592869['IcMZl'](getProductForSession)},'capabilities':_0x4d35ee,'executionContext':_0x4791e7};logger[_0x4a8bea(0x1a2)](_0x4a8bea(0x194)+_0x504c8f+'\x20'+_0x18f4c4+_0x4a8bea(0xf0)+_0x57a528+_0x4a8bea(0x20e)+_0x29ec83+_0x4a8bea(0xc9)+_0x3ff3b6),await GrpcClient[_0x4a8bea(0x1c7)]()['testSessionEvent'](_0x4409fa);}catch(_0x1115fe){logger[_0x4a8bea(0x1a2)](_0x4a8bea(0x158)+(_0x1115fe[_0x4a8bea(0x196)]||_0x1115fe));}}}catch(_0x38e932){logger[_0x4a8bea(0x1a2)](_0x4a8bea(0x129)+(_0x38e932[_0x4a8bea(0x196)]||_0x38e932));}}async[a106_0x431054(0x1de)](){const _0x41c003=a106_0x431054,_0x1e4714={'NDKim':function(_0x2ecc17,_0x469a51){return _0x2ecc17===_0x469a51;},'wlSdY':_0x41c003(0x16c),'jCoZq':_0x41c003(0x1b3),'Zwpra':'TestCafeOrphanTimeout','WrXRD':_0x41c003(0x1e9),'IfOCx':_0x41c003(0x133),'xlKgq':function(_0x5e8f55,_0x1a34b5){return _0x5e8f55(_0x1a34b5);},'bqHuw':function(_0xab107,_0x5b14ac){return _0xab107(_0x5b14ac);}};if(!this[_0x41c003(0x18b)]||_0x1e4714[_0x41c003(0x12a)](this[_0x41c003(0x18b)][_0x41c003(0x14a)],0x0)){logger[_0x41c003(0x13b)](_0x1e4714[_0x41c003(0x113)]);return;}const _0x55c960=Array['from'](this[_0x41c003(0x18b)][_0x41c003(0x1e8)]());logger['warn'](_0x41c003(0x1b7)+_0x55c960['length']+_0x41c003(0x15a));const _0x4ec80f=TestFrameworkState[_0x41c003(0x191)][_0x41c003(0x20d)]()[_0x41c003(0x145)]('.')[0x1],_0x17da7e=HookState[_0x41c003(0x1d9)][_0x41c003(0x20d)]()[_0x41c003(0x145)]('.')[0x1],_0x4bb31a=new Date()[_0x41c003(0xde)]();for(const [_0x4fca9d,_0x2f82f0]of _0x55c960){const _0x3da661={[TestFrameworkConstants[_0x41c003(0x1fd)]]:this[_0x41c003(0x124)]()[0x0],[TestFrameworkConstants[_0x41c003(0x211)]]:this[_0x41c003(0x157)]()[this[_0x41c003(0x124)]()[0x0]]||'',[TestFrameworkConstants[_0x41c003(0x166)]]:_0x4fca9d,[TestFrameworkConstants[_0x41c003(0xbf)]]:_0x2f82f0[_0x41c003(0x21b)]||_0x41c003(0x16d)+_0x4fca9d+')',[TestFrameworkConstants[_0x41c003(0x1dc)]]:_0x1e4714[_0x41c003(0x13c)],[TestFrameworkConstants[_0x41c003(0x1c3)]]:[{'type':_0x1e4714['Zwpra'],'message':_0x1e4714[_0x41c003(0x12d)],'stack':''}],[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x1e4714['Zwpra'],[TestFrameworkConstants[_0x41c003(0x1f0)]]:_0x4bb31a,[TestFrameworkConstants[_0x41c003(0x103)]]:_0x4bb31a,[TestFrameworkConstants[_0x41c003(0x12e)]]:{},[TestFrameworkConstants[_0x41c003(0x217)]]:{}},_0x2d838e=Buffer[_0x41c003(0xcc)](JSON[_0x41c003(0x112)](_0x3da661))['toString'](_0x1e4714[_0x41c003(0x1f8)]),_0x54c4c2={'platformIndex':_0x2f82f0[_0x41c003(0x13e)]||0x0,'testFrameworkName':this[_0x41c003(0x124)]()[0x0],'testFrameworkVersion':this[_0x41c003(0x157)]()[this[_0x41c003(0x124)]()[0x0]]||'','testFrameworkState':_0x4ec80f,'hookState':_0x17da7e,'startedAt':_0x4bb31a,'endedAt':_0x4bb31a,'uuid':_0x1e4714[_0x41c003(0x1e0)](String,_0x4fca9d),'eventJson':_0x2d838e,'executionContext':{'hash':'','threadId':'0','processId':_0x1e4714[_0x41c003(0xcb)](String,process['pid'])},'test_identifier':_0x2f82f0[_0x41c003(0x17e)]||''};try{logger[_0x41c003(0x13b)](_0x41c003(0x18d)+_0x4fca9d+_0x41c003(0x1b2)+_0x2f82f0['platformIndex']+_0x41c003(0x149)+_0x2f82f0[_0x41c003(0x21b)]),await GrpcClient[_0x41c003(0x1c7)]()[_0x41c003(0x15c)](_0x54c4c2);}catch(_0x15dfd1){logger[_0x41c003(0xcd)](_0x41c003(0x130)+_0x4fca9d+':\x20'+(_0x15dfd1['message']||_0x15dfd1));}}this[_0x41c003(0x18b)][_0x41c003(0x14c)]();}[a106_0x431054(0x1f5)](_0xa8e4b2,_0x2bea72,_0x10f404={}){const _0x216b9d=a106_0x431054,_0x469b6f={};_0x469b6f[_0x216b9d(0x108)]=function(_0x2b89ac,_0x33d9d4){return _0x2b89ac===_0x33d9d4;};const _0x2bc8d6=_0x469b6f;return(_0x2bc8d6['RLHxf'](_0xa8e4b2,TestFrameworkState[_0x216b9d(0xbe)])||_0x2bc8d6[_0x216b9d(0x108)](_0xa8e4b2,TestFrameworkState[_0x216b9d(0x19a)]))&&this[_0x216b9d(0xfc)](_0xa8e4b2,_0x10f404),TestFramework[_0x216b9d(0x165)]()||this[_0x216b9d(0x190)](_0xa8e4b2);}['_trackTestCafeInstance'](_0x5410a4,_0x139170){const _0x5dc08e=a106_0x431054,_0x226c9a=CLIUtils[_0x5dc08e(0x18c)](),_0x29d9af=TrackedInstance[_0x5dc08e(0x1d0)](_0x226c9a),_0x727508=new TestFrameworkInstance(_0x29d9af,this['getTestFrameworks'](),this[_0x5dc08e(0x157)](),_0x5410a4,HookState['NONE']);TestFramework[_0x5dc08e(0x1b5)](_0x29d9af,_0x727508),logger[_0x5dc08e(0x13b)](_0x5dc08e(0x168)+_0x29d9af['getId']()+_0x5dc08e(0x147)+_0x226c9a+_0x5dc08e(0xf5)+_0x5410a4);}[a106_0x431054(0x190)](_0x479ae5){const _0x72c9fa=a106_0x431054;return this[_0x72c9fa(0xfc)](_0x479ae5,{}),TestFramework[_0x72c9fa(0x165)]();}[a106_0x431054(0xec)](_0x1b486b){const _0x8a7708=a106_0x431054,_0x5917a2={'OttZN':function(_0x4d193a,_0x1c37c5){return _0x4d193a>_0x1c37c5;},'SpZJX':function(_0x3c9e96,_0x31a64f){return _0x3c9e96-_0x31a64f;},'rThEk':function(_0x4344b5,_0x52fc03){return _0x4344b5>_0x52fc03;},'WXWog':function(_0x32c01e,_0x85b855){return _0x32c01e===_0x85b855;},'jdNDb':_0x8a7708(0x20f),'CkEHz':'.__platformUuids','idepO':_0x8a7708(0xee),'abLkt':function(_0x66b79a,_0x1f0cd6){return _0x66b79a||_0x1f0cd6;},'mMvKn':_0x8a7708(0x1d9),'kvVJQ':_0x8a7708(0x21c),'zjLWj':function(_0xdd4ccb,_0x22012d){return _0xdd4ccb(_0x22012d);},'hIjCY':function(_0x2059a3,_0x1fce64){return _0x2059a3||_0x1fce64;},'fUUph':function(_0x50aaaa,_0x18de8d){return _0x50aaaa(_0x18de8d);},'VLZLc':function(_0x8bffc8,_0x3befe6){return _0x8bffc8||_0x3befe6;},'WRUNG':'base64','hlHYP':function(_0x5074d3,_0x5307e0){return _0x5074d3(_0x5307e0);},'WgNYu':function(_0x24b772,_0x5694af){return _0x24b772||_0x5694af;}};try{const _0x5d6526=_0x1b486b['instance'];if(!_0x5d6526)return{};const _0x3050c1=_0x5d6526[_0x8a7708(0x161)](),_0x3e19cc=_0x5d6526[_0x8a7708(0x12f)]()[_0x8a7708(0x20d)]()[_0x8a7708(0x145)]('.')[0x1],_0x5e1bb3=_0x5d6526[_0x8a7708(0x14e)]()['toString']()[_0x8a7708(0x145)]('.')[0x1],_0x10b229=Number[_0x8a7708(0x193)](_0x1b486b[_0x8a7708(0x13e)])?_0x1b486b[_0x8a7708(0x13e)]:0x0,_0x1d4d24={'hash':_0x3050c1[_0x8a7708(0x16f)](),'threadId':_0x3050c1['getThreadId']()[_0x8a7708(0x20d)](),'processId':_0x3050c1[_0x8a7708(0x123)]()[_0x8a7708(0x20d)]()};if(TestFrameworkConstants[_0x8a7708(0x137)]&&new RegExp(TestFrameworkConstants[_0x8a7708(0x137)])[_0x8a7708(0xc4)](_0x3e19cc)){const _0x244e9f=_0x3e19cc,_0x1ccd9d=_0x5d6526[_0x8a7708(0x134)](),_0x52dd48=(_0x1ccd9d[_0x8a7708(0x1f4)](TestFrameworkConstants[_0x8a7708(0x217)])||{})[_0x244e9f],_0x57e425=(_0x1ccd9d[_0x8a7708(0x1f4)](TestFrameworkConstants[_0x8a7708(0x12e)])||{})[_0x244e9f],_0xaccc5e=Array['isArray'](_0x52dd48)&&_0x5917a2[_0x8a7708(0x150)](_0x52dd48['length'],0x0)?_0x52dd48[_0x5917a2['SpZJX'](_0x52dd48['length'],0x1)]:null,_0x44c4f2=Array[_0x8a7708(0x1df)](_0x57e425)&&_0x5917a2[_0x8a7708(0x1d4)](_0x57e425['length'],0x0)?_0x57e425[_0x5917a2[_0x8a7708(0xf7)](_0x57e425[_0x8a7708(0x1bb)],0x1)]:null,_0x10e0f5=_0xaccc5e&&_0xaccc5e[_0x8a7708(0xe4)]||'',_0x5b85ba=_0x44c4f2&&_0x44c4f2[_0x8a7708(0xcf)]||'',_0x4eec22=_0xaccc5e&&_0xaccc5e['hook_id']||_0x44c4f2&&_0x44c4f2[_0x8a7708(0x19e)]||_0x244e9f+':'+_0x3050c1[_0x8a7708(0x16f)](),_0x2df0c7=_0x1b486b['fixture']||{},_0x5c9193=_0x2df0c7&&_0x2df0c7[_0x8a7708(0x1d5)]||'',_0x580464=_0x2df0c7&&_0x2df0c7['name']||'';let _0x486d17=null;for(const [_0x404912,_0xdc8dc4]of _0x1ccd9d[_0x8a7708(0x1e8)]()){if(_0xdc8dc4&&_0x5917a2[_0x8a7708(0xe3)](typeof _0xdc8dc4,_0x5917a2['jdNDb'])&&_0xdc8dc4[TestFrameworkConstants[_0x8a7708(0xbf)]]&&!_0x404912[_0x8a7708(0x1c1)](_0x5917a2[_0x8a7708(0x140)])&&!_0x404912[_0x8a7708(0x1c1)](_0x5917a2[_0x8a7708(0xdf)])){_0x486d17=_0xdc8dc4;break;}}const _0x2fef24=_0x486d17&&_0x486d17[TestFrameworkConstants['KEY_TEST_NAME']]||_0x580464||_0x244e9f,_0x59310c=_0x486d17&&_0x486d17[TestFrameworkConstants['KEY_TEST_LOCATION']]||_0x5c9193||'',_0x5dc47a={[TestFrameworkConstants['KEY_TEST_UUID']]:_0x1b486b[_0x8a7708(0x11d)]||'',[TestFrameworkConstants[_0x8a7708(0xbf)]]:_0x2fef24,[TestFrameworkConstants[_0x8a7708(0x1b1)]]:_0x59310c,[TestFrameworkConstants[_0x8a7708(0xce)]]:_0x59310c,[TestFrameworkConstants[_0x8a7708(0xe2)]]:_0x5917a2[_0x8a7708(0x199)](_0x580464,_0x2fef24),[TestFrameworkConstants[_0x8a7708(0xe5)]]:_0x580464?[_0x580464]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x244e9f,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4eec22,[TestFrameworkConstants['KEY_HOOK_RESULT']]:_0x5917a2[_0x8a7708(0xe3)](_0x5e1bb3,_0x5917a2[_0x8a7708(0xc7)])?_0x5917a2[_0x8a7708(0x114)]:TestFrameworkConstants[_0x8a7708(0xc6)],[TestFrameworkConstants[_0x8a7708(0x18e)]]:_0x10e0f5,[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:_0x5b85ba,[TestFrameworkConstants[_0x8a7708(0x1fd)]]:this[_0x8a7708(0x124)]()[0x0],[TestFrameworkConstants[_0x8a7708(0x211)]]:this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants[_0x8a7708(0x217)]]:_0x1ccd9d[_0x8a7708(0x1f4)](TestFrameworkConstants[_0x8a7708(0x217)])||{},[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x1ccd9d[_0x8a7708(0x1f4)](TestFrameworkConstants[_0x8a7708(0x12e)])||{}};return{'platformIndex':_0x10b229,'testFrameworkName':this['getTestFrameworks']()[0x0],'testFrameworkVersion':this[_0x8a7708(0x157)]()[this[_0x8a7708(0x124)]()[0x0]]||'','testFrameworkState':_0x3e19cc,'hookState':_0x5e1bb3,'startedAt':_0x5917a2[_0x8a7708(0x1c0)](String,_0x5917a2[_0x8a7708(0x1a6)](_0x10e0f5,'')),'endedAt':_0x5917a2[_0x8a7708(0x1a5)](String,_0x5917a2[_0x8a7708(0x164)](_0x5b85ba,'')),'uuid':_0x5917a2[_0x8a7708(0x1c0)](String,_0x4eec22),'eventJson':Buffer[_0x8a7708(0xcc)](JSON[_0x8a7708(0x112)](_0x5dc47a))[_0x8a7708(0x20d)](_0x5917a2['WRUNG']),'executionContext':_0x1d4d24,'test_identifier':_0x5dc47a[TestFrameworkConstants[_0x8a7708(0xca)]]};}const _0x1a4bd6=_0x1b486b['testIdentifier']||_0x1b486b[_0x8a7708(0xc4)]&&this[_0x8a7708(0x189)](_0x1b486b[_0x8a7708(0xc4)],0x0)||null,_0x30f834=_0x1a4bd6&&_0x5d6526['getAllData']()[_0x8a7708(0x1f4)](_0x1a4bd6)||{},_0x3b5853=_0x5d6526[_0x8a7708(0x134)](),_0x2e3b7c={..._0x30f834,[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x3b5853[_0x8a7708(0x1f4)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||_0x30f834[TestFrameworkConstants[_0x8a7708(0x217)]]||{},[TestFrameworkConstants[_0x8a7708(0x12e)]]:_0x3b5853['get'](TestFrameworkConstants[_0x8a7708(0x12e)])||_0x30f834[TestFrameworkConstants[_0x8a7708(0x12e)]]||{}},{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5b179a=this['getTestFrameworks']()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x59a6c5='',[TestFrameworkConstants[_0x8a7708(0x1f0)]]:_0x912c12='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x381956=''}=_0x2e3b7c,_0x516cd4=_0x1b486b['testUuid']||_0x2e3b7c[TestFrameworkConstants[_0x8a7708(0x166)]]||_0x5d6526['getRef'](),_0x20a09c=Buffer[_0x8a7708(0xcc)](JSON[_0x8a7708(0x112)](_0x2e3b7c))[_0x8a7708(0x20d)](_0x5917a2[_0x8a7708(0x120)]);return{'platformIndex':_0x10b229,'testFrameworkName':_0x5b179a,'testFrameworkVersion':_0x59a6c5,'testFrameworkState':_0x3e19cc,'hookState':_0x5e1bb3,'startedAt':_0x912c12?_0x5917a2[_0x8a7708(0x1c0)](String,_0x912c12):'','endedAt':_0x381956?_0x5917a2[_0x8a7708(0x1e5)](String,_0x381956):'','uuid':_0x5917a2[_0x8a7708(0x1e5)](String,_0x5917a2['WgNYu'](_0x516cd4,'')),'eventJson':_0x20a09c,'executionContext':_0x1d4d24,'test_identifier':_0x1a4bd6};}catch(_0x2ad360){return logger[_0x8a7708(0x111)](_0x8a7708(0x106)+(_0x2ad360['stack']||_0x2ad360)),{};}}async[a106_0x431054(0x1bf)](_0x36708b,_0x1180da,_0x1eb1a5,_0x556e8d,_0x30ade2,_0x3bec63){const _0x380073=a106_0x431054,_0x4d12a0={'fLWRI':function(_0x25a60c){return _0x25a60c();},'FYMLF':_0x380073(0x1af),'Ltmux':_0x380073(0x1f2),'ItpAC':'sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','fagWr':function(_0x131aac,_0x50f6aa){return _0x131aac===_0x50f6aa;}};try{const _0x59b0be=_0x30ade2[_0x380073(0x17e)]||_0x30ade2[_0x380073(0xc4)]&&this[_0x380073(0x189)](_0x30ade2[_0x380073(0xc4)],0x0);if(!_0x59b0be){logger[_0x380073(0x1a2)](_0x4d12a0[_0x380073(0x218)]);return;}const _0x3e2010=_0x36708b['getAllData']()['get'](_0x59b0be)||{},_0x1eaaa2=_0x3e2010[TestFrameworkConstants[_0x380073(0x166)]],_0x470dc3=_0x3e2010[TestFrameworkConstants[_0x380073(0x153)]]||[],_0xe63b0a=_0x3e2010[TestFrameworkConstants[_0x380073(0x1c3)]]||[],_0x34bbf2=[];_0x470dc3[_0x380073(0x14d)](_0x31a430=>{const _0x14df7f=_0x380073;_0x34bbf2[_0x14df7f(0x17a)]({'uuid':_0x4d12a0['fLWRI'](uuidv4),'test_run_uuid':_0x1eaaa2,'timestamp':new Date()[_0x14df7f(0xde)](),'message':'','attachment_url':_0x31a430,'attachment_type':_0x4d12a0[_0x14df7f(0x1e6)]});});Array[_0x380073(0x1df)](_0xe63b0a)&&_0xe63b0a['forEach'](_0x51c3f1=>{const _0x427491=_0x380073;_0x34bbf2['push']({'uuid':_0x4d12a0[_0x427491(0x1ee)](uuidv4),'test_run_uuid':_0x1eaaa2,'timestamp':new Date()['toISOString'](),'message':_0x51c3f1[_0x427491(0x196)]||'','stack_trace':_0x51c3f1[_0x427491(0xf3)]||'','level':_0x4d12a0['Ltmux']});});if(_0x4d12a0[_0x380073(0x167)](_0x34bbf2['length'],0x0)){logger[_0x380073(0x1a2)]('sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId='+_0x59b0be);return;}const _0x41b4df=_0x3e2010[TestFrameworkConstants[_0x380073(0x1fd)]]||this[_0x380073(0x124)]()[0x0],_0x3db910=_0x3e2010[TestFrameworkConstants[_0x380073(0x211)]]||'',_0x20ef5c={'platformIndex':Number[_0x380073(0x193)](_0x3bec63)?_0x3bec63:Number[_0x380073(0x193)](_0x30ade2[_0x380073(0x13e)])?_0x30ade2[_0x380073(0x13e)]:0x0,'logs':_0x34bbf2,'testFrameworkName':_0x41b4df,'testFrameworkVersion':_0x3db910,'testFrameworkState':_0x1180da['toString']()['split']('.')[0x1]};logger['debug']('sendLogCreatedEvent:\x20emitting\x20'+_0x34bbf2[_0x380073(0x1bb)]+_0x380073(0x188)+_0x59b0be),await GrpcClient[_0x380073(0x1c7)]()['logCreatedEvent'](_0x20ef5c);}catch(_0x11071d){logger[_0x380073(0x111)](_0x380073(0xeb)+(_0x11071d[_0x380073(0xf3)]||_0x11071d));}}[a106_0x431054(0x189)](_0x325300,_0x4f2bda){const _0x58e04f=a106_0x431054,_0x15abd2={'uyznH':function(_0x1b24f2){return _0x1b24f2();},'SKouB':'unknown'};if(!_0x325300)return _0x58e04f(0x15e)+_0x15abd2['uyznH'](uuidv4);const _0x2cee3e=_0x325300['fixture']&&_0x325300['fixture']['path']||_0x15abd2['SKouB'],_0x534b07=_0x325300[_0x58e04f(0x1aa)]&&_0x325300[_0x58e04f(0x1aa)][_0x58e04f(0x216)]||_0x15abd2['SKouB'],_0x1c324a=_0x325300[_0x58e04f(0x216)]||_0x15abd2[_0x58e04f(0xbd)],_0x36d7d3=_0x2cee3e+'::'+_0x534b07+'::'+_0x1c324a;return _0x4f2bda?_0x36d7d3+_0x58e04f(0xd7)+_0x4f2bda:_0x36d7d3;}[a106_0x431054(0x200)](_0x4d7f03,_0x456fb4,_0x2b6c5e){const _0xc856cf=a106_0x431054,_0x380a50=_0x456fb4&&_0x456fb4['fixture']&&_0x456fb4[_0xc856cf(0x1aa)][_0xc856cf(0x1d5)]||'',_0x41e261=_0x456fb4&&_0x456fb4[_0xc856cf(0x1aa)]&&_0x456fb4[_0xc856cf(0x1aa)]['name']||'',_0x5df9f6=_0x456fb4&&_0x456fb4[_0xc856cf(0x216)]||'',_0x291df8=this[_0xc856cf(0x124)]()[0x0];return{[TestFrameworkConstants[_0xc856cf(0x1fd)]]:_0x291df8,[TestFrameworkConstants[_0xc856cf(0x211)]]:this[_0xc856cf(0x157)]()[_0x291df8],[TestFrameworkConstants[_0xc856cf(0x166)]]:_0x4d7f03,[TestFrameworkConstants[_0xc856cf(0xbf)]]:_0x5df9f6,[TestFrameworkConstants[_0xc856cf(0xce)]]:_0x380a50,[TestFrameworkConstants[_0xc856cf(0x1b1)]]:_0x380a50,[TestFrameworkConstants[_0xc856cf(0xe2)]]:_0x41e261,[TestFrameworkConstants[_0xc856cf(0xe5)]]:[_0x41e261],[TestFrameworkConstants['KEY_TEST_TAGS']]:this['_extractTestTags'](_0x456fb4),[TestFrameworkConstants[_0xc856cf(0x1dc)]]:TestFrameworkConstants[_0xc856cf(0x1d1)],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2b6c5e?_0x2b6c5e[_0xc856cf(0x1bc)]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0xc856cf(0x12e)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{}};}[a106_0x431054(0x1fa)](_0x2758ec){const _0x344e6b=a106_0x431054,_0x3c5a6b={'yyDgD':function(_0x2c6c8a,_0x5245c8){return _0x2c6c8a==_0x5245c8;},'tOSNj':function(_0x2804f3,_0x567e82){return _0x2804f3(_0x567e82);},'xxbzQ':function(_0x421655,_0x178fde){return _0x421655>_0x178fde;},'lXLdN':function(_0x3bb12b,_0x32e157){return _0x3bb12b===_0x32e157;},'OzAMY':_0x344e6b(0x20f),'pwqqv':function(_0x21a777,_0x2dac23){return _0x21a777 in _0x2dac23;},'McUbG':'tag','omwoa':function(_0x19d197,_0x3f43f7){return _0x19d197 in _0x3f43f7;},'ToImI':_0x344e6b(0x1d7),'ztucY':function(_0x95b7b5,_0x32ce0f){return _0x95b7b5(_0x32ce0f);}},_0x391c88=[],_0xb44056=_0x50f3b5=>{const _0x67564=_0x344e6b;if(_0x3c5a6b[_0x67564(0x214)](_0x50f3b5,null))return;if(Array[_0x67564(0x1df)](_0x50f3b5)){_0x50f3b5['forEach'](_0xb44056);return;}const _0x6b97f6=_0x3c5a6b[_0x67564(0xdd)](String,_0x50f3b5)[_0x67564(0x1ef)]();_0x3c5a6b[_0x67564(0xd8)](_0x6b97f6[_0x67564(0x1bb)],0x0)&&_0x391c88['push'](_0x6b97f6);};try{const _0x3405df=_0x2758ec&&_0x2758ec[_0x344e6b(0x182)]||{};_0x3405df&&_0x3c5a6b[_0x344e6b(0x215)](typeof _0x3405df,_0x3c5a6b[_0x344e6b(0x1ab)])&&(_0x3c5a6b[_0x344e6b(0x172)](_0x3c5a6b['McUbG'],_0x3405df)&&_0x3c5a6b[_0x344e6b(0xdd)](_0xb44056,_0x3405df[_0x344e6b(0x16a)]),_0x3c5a6b[_0x344e6b(0x10b)](_0x3c5a6b[_0x344e6b(0x181)],_0x3405df)&&_0x3c5a6b[_0x344e6b(0x105)](_0xb44056,_0x3405df[_0x344e6b(0x1d7)]));const _0x44f95b=_0x2758ec&&_0x2758ec[_0x344e6b(0x1aa)]&&_0x2758ec['fixture'][_0x344e6b(0x182)]||{};_0x44f95b&&_0x3c5a6b[_0x344e6b(0x215)](typeof _0x44f95b,_0x3c5a6b[_0x344e6b(0x1ab)])&&(_0x3c5a6b['pwqqv'](_0x3c5a6b[_0x344e6b(0xbc)],_0x44f95b)&&_0x3c5a6b[_0x344e6b(0xdd)](_0xb44056,_0x44f95b[_0x344e6b(0x16a)]),_0x3c5a6b[_0x344e6b(0x10b)](_0x3c5a6b[_0x344e6b(0x181)],_0x44f95b)&&_0x3c5a6b[_0x344e6b(0xdd)](_0xb44056,_0x44f95b[_0x344e6b(0x1d7)]));}catch(_0x4efa44){}return Array[_0x344e6b(0xcc)](new Set(_0x391c88));}[a106_0x431054(0x139)](_0x5d8bbe){const _0x1153a0=a106_0x431054,_0x98e66d={};_0x98e66d[_0x1153a0(0x1e2)]=function(_0x15a440,_0x26126a){return _0x15a440!==_0x26126a;},_0x98e66d[_0x1153a0(0x1cb)]=_0x1153a0(0xf6);const _0x1a85c9=_0x98e66d;if(_0x1a85c9[_0x1153a0(0x1e2)](typeof _0x5d8bbe,_0x1a85c9[_0x1153a0(0x1cb)]))return _0x5d8bbe;return _0x5d8bbe[_0x1153a0(0x1a3)](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}[a106_0x431054(0xe7)](_0x2395ae){const _0x33130a=a106_0x431054,_0x57bf32={};_0x57bf32['NduOD']=_0x33130a(0x1e7),_0x57bf32['dDNPx']=function(_0x19bf18,_0x13c751){return _0x19bf18===_0x13c751;},_0x57bf32[_0x33130a(0xd0)]=_0x33130a(0xf6),_0x57bf32[_0x33130a(0x135)]=function(_0x373e9d,_0x585aa9){return _0x373e9d!==_0x585aa9;},_0x57bf32[_0x33130a(0x1ce)]=function(_0x411a90,_0x22d726){return _0x411a90===_0x22d726;},_0x57bf32[_0x33130a(0x212)]='TestCafeError';const _0x4ee096=_0x57bf32;if(!_0x2395ae)return _0x4ee096[_0x33130a(0x109)];if(_0x2395ae[_0x33130a(0x216)]&&_0x4ee096['dDNPx'](typeof _0x2395ae['name'],_0x4ee096['ffKbO'])&&_0x4ee096[_0x33130a(0x135)](_0x2395ae[_0x33130a(0x216)],_0x4ee096[_0x33130a(0x109)]))return _0x2395ae['name'];const _0x55005f=_0x4ee096[_0x33130a(0x121)](typeof _0x2395ae[_0x33130a(0x196)],_0x4ee096[_0x33130a(0xd0)])?_0x2395ae[_0x33130a(0x196)]:'',_0x45d0ec=_0x55005f['match'](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x45d0ec)return _0x45d0ec[0x1];return _0x2395ae[_0x33130a(0x162)]&&_0x4ee096[_0x33130a(0x1ce)](typeof _0x2395ae['type'],_0x4ee096[_0x33130a(0xd0)])?_0x2395ae['type']:_0x4ee096['STEzU'];}[a106_0x431054(0x20a)](_0x23fe7b,_0x1f9c38){const _0x2958f8=a106_0x431054,_0x9a9042={};_0x9a9042[_0x2958f8(0xc1)]=_0x2958f8(0x1b3),_0x9a9042[_0x2958f8(0x179)]=_0x2958f8(0x131),_0x9a9042['aenEu']=_0x2958f8(0x1a0),_0x9a9042[_0x2958f8(0x178)]=_0x2958f8(0x21c),_0x9a9042[_0x2958f8(0x1c5)]=_0x2958f8(0x126),_0x9a9042[_0x2958f8(0x128)]=function(_0x2fc48f,_0x2291d0){return _0x2fc48f>_0x2291d0;};const _0x37d0d3=_0x9a9042;if(!_0x1f9c38)return{[TestFrameworkConstants[_0x2958f8(0x1dc)]]:_0x37d0d3[_0x2958f8(0xc1)],[TestFrameworkConstants[_0x2958f8(0x1c2)]]:0x0,[TestFrameworkConstants[_0x2958f8(0x1c3)]]:[{'type':_0x37d0d3['PzMwg'],'message':_0x37d0d3[_0x2958f8(0x18f)],'stack':''}],[TestFrameworkConstants[_0x2958f8(0x16b)]]:_0x37d0d3[_0x2958f8(0x179)],[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x37d0d3[_0x2958f8(0x18f)],[TestFrameworkConstants[_0x2958f8(0x103)]]:new Date()[_0x2958f8(0xde)]()};let _0xd2a7a=_0x37d0d3['xFFbD'],_0x2f5367=null,_0x17d70a=null,_0x3e047f=null;if(_0x1f9c38['skipped'])_0xd2a7a=_0x37d0d3['lbIKk'];else{if(Array[_0x2958f8(0x1df)](_0x1f9c38['errs'])&&_0x37d0d3[_0x2958f8(0x128)](_0x1f9c38['errs'][_0x2958f8(0x1bb)],0x0)){_0xd2a7a=_0x37d0d3[_0x2958f8(0xc1)],_0x2f5367=_0x1f9c38[_0x2958f8(0x138)]['map'](_0x36666b=>({'type':this[_0x2958f8(0xe7)](_0x36666b),'message':this[_0x2958f8(0x139)](_0x36666b&&_0x36666b[_0x2958f8(0x196)]?_0x36666b[_0x2958f8(0x196)]:String(_0x36666b)),'stack':this['_stripAnsi'](_0x36666b&&_0x36666b[_0x2958f8(0xf3)]?_0x36666b['stack']:'')}));const _0x16da99=_0x2f5367[0x0];_0x17d70a=_0x16da99[_0x2958f8(0x162)],_0x3e047f=_0x16da99['message'];}}const _0x4ce0c6=Array['isArray'](_0x1f9c38[_0x2958f8(0x1ea)])?_0x1f9c38[_0x2958f8(0x1ea)][_0x2958f8(0x17f)](_0x31fb70=>_0x31fb70&&_0x31fb70[_0x2958f8(0x1b6)])[_0x2958f8(0xd5)](Boolean):[];return{[TestFrameworkConstants[_0x2958f8(0x1dc)]]:_0xd2a7a,[TestFrameworkConstants[_0x2958f8(0x1c2)]]:_0x1f9c38[_0x2958f8(0x187)]||0x0,[TestFrameworkConstants[_0x2958f8(0x1c3)]]:_0x2f5367,[TestFrameworkConstants[_0x2958f8(0x16b)]]:_0x17d70a,[TestFrameworkConstants[_0x2958f8(0x154)]]:_0x3e047f,[TestFrameworkConstants[_0x2958f8(0x103)]]:new Date()[_0x2958f8(0xde)](),[TestFrameworkConstants[_0x2958f8(0x153)]]:_0x4ce0c6};}async[a106_0x431054(0x184)](_0x290acc,_0x502745,_0x3e60f0,_0x42dec7){const _0x5608ea=a106_0x431054,_0x566a23={'zLhbu':_0x5608ea(0xff),'FuSVL':_0x5608ea(0x1ae),'NXjhH':_0x5608ea(0x10e),'ikAwa':_0x5608ea(0xc2),'HaBDn':function(_0x28c4c4,_0x45adde){return _0x28c4c4===_0x45adde;},'FtrMg':function(_0x2938de){return _0x2938de();},'UqFkv':function(_0x4bb570,_0x57b17b){return _0x4bb570-_0x57b17b;},'WIrWx':function(_0x3984d7){return _0x3984d7();},'EieQi':_0x5608ea(0x21c)},_0x2111dd=_0x502745['toString']()[_0x5608ea(0x145)]('.')[0x1],_0x1291c6=_0x2111dd[_0x5608ea(0x10a)](),_0x455110=_0x1291c6[_0x5608ea(0xd9)](_0x566a23['zLhbu'])?_0x566a23[_0x5608ea(0x1ff)]:_0x1291c6[_0x5608ea(0xd9)](_0x566a23[_0x5608ea(0x20c)])?_0x566a23[_0x5608ea(0x1cf)]:_0x1291c6,_0x508156={};if(_0x566a23['HaBDn'](_0x3e60f0,HookState[_0x5608ea(0xef)])){const _0x4e5acc=_0x290acc[_0x5608ea(0x134)]()[_0x5608ea(0x1f4)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{},_0x36afff=Array[_0x5608ea(0x1df)](_0x4e5acc[_0x2111dd])?_0x4e5acc[_0x2111dd]:[],_0x3610e3=_0x566a23[_0x5608ea(0x1ba)](uuidv4);_0x36afff[_0x5608ea(0x17a)]({'hook_id':_0x3610e3,'hook_name':_0x2111dd,'key':_0x2111dd,'hook_type':_0x455110,'event_started_at':new Date()['toISOString']()}),_0x4e5acc[_0x2111dd]=_0x36afff;const _0x5903b1=_0x290acc['getAllData']()[_0x5608ea(0x1f4)](TestFrameworkConstants[_0x5608ea(0x1c9)])||{};_0x5903b1[_0x2111dd]=_0x3610e3,_0x508156[TestFrameworkConstants['KEY_HOOKS_STARTED']]=_0x4e5acc,_0x508156[TestFrameworkConstants[_0x5608ea(0x1c9)]]=_0x5903b1;}else{if(_0x566a23[_0x5608ea(0x122)](_0x3e60f0,HookState['POST'])){const _0x48a150=_0x290acc['getAllData']()['get'](TestFrameworkConstants[_0x5608ea(0x12e)])||{},_0x28c8b7=Array['isArray'](_0x48a150[_0x2111dd])?_0x48a150[_0x2111dd]:[],_0x2c6717=_0x290acc[_0x5608ea(0x134)]()['get'](TestFrameworkConstants[_0x5608ea(0x1c9)])||{},_0x122f3d=_0x290acc[_0x5608ea(0x134)]()['get'](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{},_0x93d3ce=Array['isArray'](_0x122f3d[_0x2111dd])?_0x122f3d[_0x2111dd][_0x566a23[_0x5608ea(0x148)](_0x122f3d[_0x2111dd]['length'],0x1)]:null,_0x50dcc2=_0x2c6717&&_0x2c6717[_0x2111dd]||_0x93d3ce&&_0x93d3ce[_0x5608ea(0x19e)]||_0x566a23['WIrWx'](uuidv4);_0x28c8b7[_0x5608ea(0x17a)]({'hook_id':_0x50dcc2,'hook_name':_0x2111dd,'key':_0x2111dd,'hook_type':_0x455110,'event_started_at':_0x93d3ce?_0x93d3ce[_0x5608ea(0xe4)]:new Date()[_0x5608ea(0xde)](),'event_ended_at':new Date()[_0x5608ea(0xde)](),'hook_result':_0x566a23[_0x5608ea(0x144)]}),_0x48a150[_0x2111dd]=_0x28c8b7,_0x508156[TestFrameworkConstants[_0x5608ea(0x12e)]]=_0x48a150;}}return _0x508156;}}module['exports']=TestCafeTestFramework;
@@ -1 +1 @@
1
- const a107_0x1c6297=a107_0x5b10;(function(_0x1248a5,_0x30e642){const _0x323f39=a107_0x5b10,_0x31a849=_0x1248a5();while(!![]){try{const _0x3859c4=-parseInt(_0x323f39(0x1bf))/0x1*(-parseInt(_0x323f39(0x195))/0x2)+parseInt(_0x323f39(0x23d))/0x3+parseInt(_0x323f39(0x112))/0x4*(parseInt(_0x323f39(0x27d))/0x5)+-parseInt(_0x323f39(0x23f))/0x6*(-parseInt(_0x323f39(0x236))/0x7)+-parseInt(_0x323f39(0x1cc))/0x8+parseInt(_0x323f39(0x10f))/0x9+-parseInt(_0x323f39(0x240))/0xa*(parseInt(_0x323f39(0x1fb))/0xb);if(_0x3859c4===_0x30e642)break;else _0x31a849['push'](_0x31a849['shift']());}catch(_0x4baaba){_0x31a849['push'](_0x31a849['shift']());}}}(a107_0xffac,0xab38b));const util=require(a107_0x1c6297(0x26e)),logger=require(a107_0x1c6297(0x1e1))['winstonLogger'],fileLogger=require(a107_0x1c6297(0x1e1))['fileLogger'],grpc=require(a107_0x1c6297(0x1b7)),services=require(a107_0x1c6297(0x1e3)),PERMANENT_RUN_STATE_ERRORS=['RUN_STATE_UNSAFE_KEY',a107_0x1c6297(0x100),a107_0x1c6297(0xeb),a107_0x1c6297(0x1c8),a107_0x1c6297(0x1c2),'DEEP_MERGE\x20requires',a107_0x1c6297(0x19e)],RUN_STATE_TRUNCATED_TOKEN=a107_0x1c6297(0xd2),isPermanentRunStateError=_0x3a4424=>PERMANENT_RUN_STATE_ERRORS[a107_0x1c6297(0x13a)](_0xfdf799=>(_0x3a4424||'')[a107_0x1c6297(0x26c)](_0xfdf799)),messages=require(a107_0x1c6297(0x192)),path=require(a107_0x1c6297(0x19a)),CLIUtils=require(a107_0x1c6297(0xfd)),{createClassLogger}=require(a107_0x1c6297(0x1ab)),PerformanceTester=require('../../helpers/performance/performance-tester.js'),{EVENTS:PerformanceEvents}=require(a107_0x1c6297(0x127)),{PLAYWRIGHT_TRACE_LOGS}=require(a107_0x1c6297(0x15a)),helper=require(a107_0x1c6297(0xec)),sdkErrorHandler=require('./sdkErrorHandler.js');class GrpcClient{static #instance=null;[a107_0x1c6297(0x27b)]=null;['listenAddress']=null;['channel']=null;[a107_0x1c6297(0xed)]=null;[a107_0x1c6297(0x165)]=createClassLogger('GrpcClient');constructor(){}static[a107_0x1c6297(0x130)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a107_0x1c6297(0x20d)](_0x230c6b){const _0x439b3f=a107_0x1c6297,_0x303f71={'TBzhC':function(_0x26e5a5,_0x240345){return _0x26e5a5||_0x240345;},'oYnNd':function(_0x500cfd,_0x3888b3){return _0x500cfd(_0x3888b3);},'aUFfi':_0x439b3f(0x250)},{id:_0x3ac2db,listen:_0x570acd}=_0x230c6b;if(_0x303f71['TBzhC'](!_0x3ac2db,!_0x570acd))throw new Error(_0x439b3f(0x123)+_0x3ac2db+'\x20listenAddr:\x20'+_0x570acd);this[_0x439b3f(0x27b)]=_0x3ac2db,this[_0x439b3f(0x22a)]=_0x570acd,process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x439b3f(0x27b)],process[_0x439b3f(0x1a6)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x439b3f(0x22a)],_0x303f71[_0x439b3f(0xfe)](require,_0x303f71[_0x439b3f(0x183)])[_0x439b3f(0x22d)](),this[_0x439b3f(0xde)](),this['logger']['info'](_0x439b3f(0x212)+this[_0x439b3f(0x27b)]+_0x439b3f(0x229)+this[_0x439b3f(0x22a)]);}[a107_0x1c6297(0xde)](){const _0x33a03e=a107_0x1c6297,_0x222439={};_0x222439['HjWjK']=_0x33a03e(0x1a2);const _0x8d6114=_0x222439;let _0x4627ce=this[_0x33a03e(0x22a)];!_0x4627ce&&(_0x4627ce=process[_0x33a03e(0x1a6)][_0x33a03e(0x17f)]);!this[_0x33a03e(0x27b)]&&(this['binSessionId']=this[_0x33a03e(0x27b)]||process[_0x33a03e(0x1a6)][_0x33a03e(0x1ac)]);if(!_0x4627ce)throw new Error(_0x8d6114[_0x33a03e(0x22b)]);const _0x28650f={};_0x28650f['grpc.keepalive_time_ms']=0x2710,this[_0x33a03e(0x1d8)]=new grpc[(_0x33a03e(0x1f2))](_0x4627ce,grpc['credentials'][_0x33a03e(0x1d4)](),_0x28650f),this[_0x33a03e(0xed)]=new services[(_0x33a03e(0x20b))](_0x4627ce,grpc[_0x33a03e(0x1a0)][_0x33a03e(0x1d4)]()),this[_0x33a03e(0x165)][_0x33a03e(0x1e7)](_0x33a03e(0x161)+_0x4627ce);}[a107_0x1c6297(0x269)](){const _0x1581e2=a107_0x1c6297,_0x4c4654={};_0x4c4654['hjmBF']=function(_0x3e02a2,_0x1a80f4){return _0x3e02a2+_0x1a80f4;};const _0x56a4ba=_0x4c4654;return _0x56a4ba[_0x1581e2(0x159)](Date[_0x1581e2(0x1e2)](),0x7530);}[a107_0x1c6297(0x24e)](){return{'deadline':this['getDeadline']()};}async[a107_0x1c6297(0x265)](){const _0x3a40e3=a107_0x1c6297,_0x1a061b={'pbJBa':function(_0x226c64,_0x526a4c){return _0x226c64!==_0x526a4c;},'GoSgA':_0x3a40e3(0x214),'BkmUH':function(_0x41b886,_0xb2aa9f){return _0x41b886(_0xb2aa9f);},'zQdCj':_0x3a40e3(0x102),'BeHgl':function(_0x3b8617,_0x427713){return _0x3b8617(_0x427713);},'tgBDq':_0x3a40e3(0x174),'JVcdg':_0x3a40e3(0x10c),'qYyIL':_0x3a40e3(0x1c1),'wBYFx':function(_0x45869c,_0x595c98){return _0x45869c instanceof _0x595c98;},'dtjmP':_0x3a40e3(0x263),'YFDZT':function(_0x88fae4,_0x4c69d5){return _0x88fae4||_0x4c69d5;}};PerformanceTester['start'](PerformanceEvents[_0x3a40e3(0x234)]),this[_0x3a40e3(0x165)][_0x3a40e3(0x1e7)](_0x1a061b[_0x3a40e3(0x146)]);try{!this[_0x3a40e3(0xed)]&&this['logger']['info'](_0x1a061b[_0x3a40e3(0x1ca)]);const _0x12d4b6=CLIUtils['getSdkVersion'](),_0x3e7412=CLIUtils[_0x3a40e3(0x1e4)](),_0x53b350=CLIUtils['getTestFrameworkDetail'](),_0x454f7a=_0x3e7412[_0x3a40e3(0x156)],_0x303b0c=_0x3e7412[_0x3a40e3(0x1ce)],_0x5b30f1=_0x53b350[_0x3a40e3(0x156)],_0x3cd4b7=_0x53b350[_0x3a40e3(0x1ce)]?_0x53b350[_0x3a40e3(0x1ce)][_0x5b30f1]:'',_0x499b1e=new messages[(_0x3a40e3(0xd4))]();_0x499b1e['setBinSessionId'](this[_0x3a40e3(0x27b)]),_0x499b1e[_0x3a40e3(0x233)](CLIUtils[_0x3a40e3(0x18c)]()),_0x499b1e[_0x3a40e3(0x15e)](_0x12d4b6),_0x499b1e[_0x3a40e3(0xda)](process[_0x3a40e3(0x258)]());const _0xc1f2ff=_0x499b1e[_0x3a40e3(0x105)]();Object[_0x3a40e3(0x136)](process['env'])['forEach'](([_0x566cf6,_0x8d4d8d])=>{const _0x4a556e=_0x3a40e3;_0x1a061b[_0x4a556e(0x289)](_0x8d4d8d,undefined)&&_0x1a061b[_0x4a556e(0x289)](_0x8d4d8d,null)&&_0xc1f2ff[_0x4a556e(0x198)](_0x566cf6,_0x8d4d8d);});const _0x30dbea=_0x1a061b[_0x3a40e3(0xdd)](require,_0x1a061b['qYyIL']),_0x378856=_0x30dbea[_0x3a40e3(0x130)]()[_0x3a40e3(0x199)](),_0x558ecb=[];_0x378856&&_0x1a061b[_0x3a40e3(0x110)](_0x378856,Map)&&_0x378856[_0x3a40e3(0x1c6)]((_0x10d7ea,_0x5b3975)=>{_0x558ecb['push']('browserstack.'+_0x5b3975+'='+_0x10d7ea,_0x5b3975+'='+_0x10d7ea);});const _0x5b6edf=process[_0x3a40e3(0x196)][_0x3a40e3(0x179)](0x2);_0x499b1e[_0x3a40e3(0x274)]([..._0x5b6edf,..._0x558ecb]),_0x499b1e[_0x3a40e3(0x120)](_0x30dbea[_0x3a40e3(0x130)]()['getBrowserstackConfigPath']()),this[_0x3a40e3(0x165)][_0x3a40e3(0x1e7)](_0x3a40e3(0xff)+JSON[_0x3a40e3(0x13d)](_0x5b6edf)+',\x20parsedConfig='+(_0x378856?JSON[_0x3a40e3(0x13d)]([..._0x378856]):_0x1a061b['dtjmP'])),_0x499b1e[_0x3a40e3(0x1b9)](CLIUtils[_0x3a40e3(0x18c)]()),_0x499b1e[_0x3a40e3(0x109)](_0x5b30f1);const _0x14882a=_0x499b1e['getFrameworkVersionsMap']();return _0x14882a[_0x3a40e3(0x198)](_0x454f7a,_0x1a061b[_0x3a40e3(0x254)](_0x303b0c,'')),_0x14882a[_0x3a40e3(0x198)](_0x5b30f1,_0x1a061b[_0x3a40e3(0x254)](_0x3cd4b7,'')),_0x499b1e[_0x3a40e3(0x203)](_0x454f7a,_0x303b0c),_0x499b1e[_0x3a40e3(0x203)](_0x5b30f1,_0x3cd4b7),_0x499b1e[_0x3a40e3(0x118)]([_0x5b30f1,_0x454f7a]),new Promise((_0x24ba9c,_0x317c52)=>{const _0x129f22=_0x3a40e3;this['client']['startBinSession'](_0x499b1e,this[_0x129f22(0x24e)](),(_0x125efe,_0x2d0167)=>{const _0x1dbbfc=_0x129f22;if(_0x125efe){sdkErrorHandler[_0x1dbbfc(0x282)](_0x1a061b[_0x1dbbfc(0x1cb)],_0x125efe,this[_0x1dbbfc(0x165)]),_0x1a061b[_0x1dbbfc(0xf0)](_0x317c52,_0x125efe),PerformanceTester[_0x1dbbfc(0x1ad)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x1dbbfc(0x23e)](_0x125efe));return;}this[_0x1dbbfc(0x165)][_0x1dbbfc(0x1e7)](_0x1a061b['zQdCj']),PerformanceTester[_0x1dbbfc(0x1ad)](PerformanceEvents[_0x1dbbfc(0x234)]),_0x1a061b['BeHgl'](_0x24ba9c,_0x2d0167);});});}catch(_0x1ae0ee){sdkErrorHandler[_0x3a40e3(0x282)](_0x1a061b[_0x3a40e3(0x1cb)],_0x1ae0ee,this['logger']),PerformanceTester[_0x3a40e3(0x1ad)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x3a40e3(0x23e)](_0x1ae0ee));throw _0x1ae0ee;}}async['connectBinSession'](){const _0x122c15=a107_0x1c6297,_0x46a68c={'OyICr':function(_0x3c5759,_0x37ab8c){return _0x3c5759(_0x37ab8c);},'bTUFC':_0x122c15(0x1dd),'eBWIi':'Connecting\x20bin\x20session','GnXHw':'No\x20gRPC\x20client\x20not\x20initialized.','QPFEt':_0x122c15(0x252),'yQrSG':'\x22accessKey\x22:\x22[REDACTED]\x22','MqqPg':'\x22key\x22:\x22[REDACTED]\x22','QpuJi':'ConnectBinSession'};PerformanceTester[_0x122c15(0x221)](PerformanceEvents[_0x122c15(0x133)]),this[_0x122c15(0x165)][_0x122c15(0x1e7)](_0x46a68c['eBWIi']);try{!this[_0x122c15(0xed)]&&this['logger'][_0x122c15(0x1e7)](_0x46a68c[_0x122c15(0x23a)]);const _0x29da84=new messages[(_0x122c15(0x219))]();_0x29da84['setBinSessionId'](this[_0x122c15(0x27b)]);const _0x227bf1=await new Promise((_0x4d3673,_0xc0a30b)=>{const _0x411754=_0x122c15,_0x4ae060={'uhknf':function(_0x5a128a,_0x6e7501){const _0x5bb821=a107_0x5b10;return _0x46a68c[_0x5bb821(0x13c)](_0x5a128a,_0x6e7501);},'ZEeLo':_0x46a68c[_0x411754(0xf1)],'qGceE':function(_0x5515de,_0x116cbe){const _0x21db05=_0x411754;return _0x46a68c[_0x21db05(0x13c)](_0x5515de,_0x116cbe);}};this['client'][_0x411754(0x248)](_0x29da84,this['getCallOptions'](),(_0x11b47c,_0x5f3dfc)=>{const _0x30c2b5=_0x411754;if(_0x11b47c){_0x4ae060[_0x30c2b5(0xf8)](_0xc0a30b,_0x11b47c),PerformanceTester['end'](PerformanceEvents[_0x30c2b5(0x133)],![],util[_0x30c2b5(0x23e)](_0x11b47c));return;}this[_0x30c2b5(0x165)][_0x30c2b5(0x1e7)](_0x4ae060[_0x30c2b5(0x247)]),PerformanceTester['end'](PerformanceEvents[_0x30c2b5(0x133)]),_0x4ae060[_0x30c2b5(0xe7)](_0x4d3673,_0x5f3dfc);});}),_0x1d5cc2=util[_0x122c15(0x23e)](_0x227bf1)[_0x122c15(0x17b)](/"userName":"[^"]*"/g,_0x46a68c[_0x122c15(0x10a)])[_0x122c15(0x17b)](/"accessKey":"[^"]*"/g,_0x46a68c[_0x122c15(0xdc)])['replace'](/"key":"[^"]*"/g,_0x46a68c[_0x122c15(0xe8)]);return this['logger'][_0x122c15(0x155)]('connect-bin-session\x20response:\x20'+_0x1d5cc2),_0x227bf1;}catch(_0x553d02){PerformanceTester[_0x122c15(0x1ad)](PerformanceEvents[_0x122c15(0x133)],![],util['format'](_0x553d02)),sdkErrorHandler['handle'](_0x46a68c[_0x122c15(0x231)],_0x553d02,this[_0x122c15(0x165)]);throw _0x553d02;}}async['stopBinSession'](_0x2845cf={},_0x3543ee=null){const _0x5f54e1=a107_0x1c6297,_0x189dfc={'zqiGG':function(_0x19df6d,_0x474783){return _0x19df6d(_0x474783);},'mXqUf':_0x5f54e1(0x205),'WqEeX':_0x5f54e1(0x11d),'dKGLN':'Missing\x20binSessionId','FZXKi':'No\x20gRPC\x20client\x20not\x20initialized.','ONpiG':_0x5f54e1(0x28b),'VQOVr':function(_0x4f5659,_0x30884){return _0x4f5659===_0x30884;},'KxMzD':_0x5f54e1(0x1a7),'IToOS':_0x5f54e1(0x1e7),'MGYFQ':_0x5f54e1(0x14b),'hJtVi':function(_0x17a01e,_0x1f90f1){return _0x17a01e===_0x1f90f1;},'sfKdg':'warning','APegR':function(_0x379c77,_0x42d46e){return _0x379c77===_0x42d46e;},'PGQdb':_0x5f54e1(0x1b6),'zKgqZ':function(_0x33d8ea,_0x55e88d){return _0x33d8ea+_0x55e88d;},'PvrjY':function(_0x2820ce,_0x376f16){return _0x2820ce===_0x376f16;},'nrxJI':_0x5f54e1(0x101)};PerformanceTester[_0x5f54e1(0x221)](PerformanceEvents[_0x5f54e1(0x1df)]),this[_0x5f54e1(0x165)]['info'](_0x189dfc[_0x5f54e1(0xe9)]),this[_0x5f54e1(0x266)]=![];try{if(!this['binSessionId'])throw new Error(_0x189dfc['dKGLN']);!this['client']&&this[_0x5f54e1(0x165)][_0x5f54e1(0x1e7)](_0x189dfc[_0x5f54e1(0x24a)]);const _0x2f44d2=new messages[(_0x5f54e1(0x13b))]();this[_0x5f54e1(0x165)][_0x5f54e1(0x155)](_0x5f54e1(0x204)+JSON[_0x5f54e1(0x13d)](_0x3543ee)),_0x2f44d2[_0x5f54e1(0x25d)](this[_0x5f54e1(0x27b)]),_0x2f44d2[_0x5f54e1(0x132)](_0x2845cf),_0x2f44d2[_0x5f54e1(0x1f4)](_0x3543ee?_0x3543ee:null),_0x2f44d2[_0x5f54e1(0xea)](_0x3543ee?_0x189dfc['ONpiG']:null),_0x2f44d2[_0x5f54e1(0x25a)](_0x3543ee?0x1:0x0);const _0x21a5f7=await new Promise((_0x47fab8,_0x11888f)=>{const _0xe429ea=_0x5f54e1;this[_0xe429ea(0xed)][_0xe429ea(0x1e6)](_0x2f44d2,this[_0xe429ea(0x24e)](),(_0x1e78e3,_0x215057)=>{const _0x8ad884=_0xe429ea;if(_0x1e78e3){_0x189dfc[_0x8ad884(0x1a4)](_0x11888f,_0x1e78e3),PerformanceTester[_0x8ad884(0x1ad)](PerformanceEvents[_0x8ad884(0x1df)],![],util['format'](_0x1e78e3));return;}this[_0x8ad884(0x165)][_0x8ad884(0x1e7)](_0x189dfc[_0x8ad884(0x175)]),PerformanceTester[_0x8ad884(0x1ad)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x189dfc[_0x8ad884(0x1a4)](_0x47fab8,_0x215057);});});this['logger']['debug'](_0x5f54e1(0x272)+util['format'](_0x21a5f7));try{const _0x32ad11=_0x189dfc[_0x5f54e1(0x1c5)](typeof _0x21a5f7[_0x5f54e1(0xdb)],_0x189dfc[_0x5f54e1(0x20c)])?_0x21a5f7[_0x5f54e1(0xdb)]():[];for(const _0x23e16e of _0x32ad11){const _0x2d5cb1=_0x23e16e&&_0x189dfc[_0x5f54e1(0x1c5)](typeof _0x23e16e[_0x5f54e1(0x10b)],_0x189dfc[_0x5f54e1(0x20c)])?_0x23e16e[_0x5f54e1(0x10b)]():'';if(!_0x2d5cb1)continue;const _0x2883f5=(_0x23e16e[_0x5f54e1(0x25b)]&&_0x23e16e[_0x5f54e1(0x25b)]()||_0x189dfc[_0x5f54e1(0x237)])[_0x5f54e1(0xf7)](),_0x4f7b6f=_0x189dfc[_0x5f54e1(0x1c5)](_0x2883f5,_0x189dfc[_0x5f54e1(0x113)])||_0x189dfc[_0x5f54e1(0x218)](_0x2883f5,_0x189dfc[_0x5f54e1(0x21f)])||_0x189dfc[_0x5f54e1(0x201)](_0x2883f5,_0x189dfc['PGQdb']),_0x4e74e3=_0x4f7b6f?process['stderr']:process['stdout'];_0x4e74e3[_0x5f54e1(0x163)](_0x189dfc[_0x5f54e1(0x111)](_0x2d5cb1,'\x0a'));const _0x4b40d4=_0x189dfc[_0x5f54e1(0x201)](_0x2883f5,_0x189dfc['PGQdb'])?_0x189dfc['PGQdb']:_0x4f7b6f?_0x189dfc[_0x5f54e1(0x113)]:_0x189dfc[_0x5f54e1(0x237)];fileLogger[_0x4b40d4](_0x2d5cb1);}}catch(_0x2285a3){this[_0x5f54e1(0x165)]['debug'](_0x5f54e1(0x278)+(_0x2285a3['stack']||_0x2285a3));}return _0x21a5f7;}catch(_0x1053d0){PerformanceTester[_0x5f54e1(0x1ad)](PerformanceEvents[_0x5f54e1(0x1df)],![],util[_0x5f54e1(0x23e)](_0x1053d0)),this[_0x5f54e1(0x266)]=!!(_0x1053d0&&_0x189dfc[_0x5f54e1(0x1a9)](_0x1053d0[_0x5f54e1(0x260)],grpc[_0x5f54e1(0x262)][_0x5f54e1(0x1b2)])),sdkErrorHandler['handle'](_0x189dfc[_0x5f54e1(0x19f)],_0x1053d0,this['logger']);}}async[a107_0x1c6297(0xd0)](_0x11388b){const _0xbd1506=a107_0x1c6297,_0x4c889b={'lFpyQ':'PlaywrightConfig','nwjXg':function(_0x4c85e0,_0xa26751){return _0x4c85e0(_0xa26751);},'LhKOH':_0xbd1506(0x16c),'rcBWS':function(_0x1682a0,_0x4253f7){return _0x1682a0(_0x4253f7);},'mAxbX':'Getting\x20Playwright\x20config','UMIAK':_0xbd1506(0x10c)};PerformanceTester['start'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),this['logger'][_0xbd1506(0x1e7)](_0x4c889b[_0xbd1506(0x168)]);try{!this[_0xbd1506(0xed)]&&this[_0xbd1506(0x165)][_0xbd1506(0x1e7)](_0x4c889b['UMIAK']);const _0x356227=new messages[(_0xbd1506(0x20e))]();return _0x356227[_0xbd1506(0x25d)](this[_0xbd1506(0x27b)]),_0x356227[_0xbd1506(0xd3)](JSON[_0xbd1506(0x13d)](_0x11388b)),new Promise((_0x11a153,_0x18536f)=>{const _0x3f1223=_0xbd1506;this[_0x3f1223(0xed)][_0x3f1223(0x21d)](_0x356227,this[_0x3f1223(0x24e)](),(_0x43c40a,_0x4d29a3)=>{const _0x5dc18f=_0x3f1223;if(_0x43c40a){sdkErrorHandler['handle'](_0x4c889b[_0x5dc18f(0x14e)],_0x43c40a,this[_0x5dc18f(0x165)]),_0x4c889b[_0x5dc18f(0x16d)](_0x18536f,_0x43c40a),PerformanceTester[_0x5dc18f(0x1ad)](PerformanceEvents[_0x5dc18f(0x285)],![],util[_0x5dc18f(0x23e)](_0x43c40a));return;}this[_0x5dc18f(0x165)][_0x5dc18f(0x1e7)](_0x4c889b['LhKOH']),PerformanceTester['end'](PerformanceEvents[_0x5dc18f(0x285)]),_0x4c889b[_0x5dc18f(0x19b)](_0x11a153,_0x4d29a3);});});}catch(_0xff5767){PerformanceTester[_0xbd1506(0x1ad)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0xbd1506(0x23e)](_0xff5767)),sdkErrorHandler[_0xbd1506(0x282)](_0x4c889b[_0xbd1506(0x14e)],_0xff5767,this[_0xbd1506(0x165)]);throw _0xff5767;}}async[a107_0x1c6297(0x1d7)](){const _0x2bc465=a107_0x1c6297,_0x1af690={'SFfAo':_0x2bc465(0x286),'KPoGE':function(_0x3bc4fa,_0x316917){return _0x3bc4fa(_0x316917);},'gpJWT':'DetoxConfig\x20returned\x20success=false','dLEcs':_0x2bc465(0x242),'YGnhn':'Getting\x20Detox\x20config'};this[_0x2bc465(0x165)]['info'](_0x1af690['YGnhn']);const _0x1c5378=new messages[(_0x2bc465(0x186))]();return _0x1c5378[_0x2bc465(0x25d)](this[_0x2bc465(0x27b)]),new Promise((_0x3fb93d,_0xa4da76)=>{const _0x5ae398=_0x2bc465,_0x3d7853={'RBBQe':_0x1af690[_0x5ae398(0x187)],'FsXhY':function(_0x5798f5,_0x55641b){return _0x1af690['KPoGE'](_0x5798f5,_0x55641b);},'Gpusu':_0x1af690['gpJWT'],'QWlxZ':_0x1af690['dLEcs'],'cTIDW':function(_0x52acd9,_0x1ca244){const _0x58afb0=_0x5ae398;return _0x1af690[_0x58afb0(0x245)](_0x52acd9,_0x1ca244);}};this[_0x5ae398(0xed)][_0x5ae398(0x12e)](_0x1c5378,this[_0x5ae398(0x24e)](),(_0x2dd83a,_0x9807fd)=>{const _0x31b017=_0x5ae398;if(_0x2dd83a){sdkErrorHandler['handle'](_0x3d7853[_0x31b017(0x103)],_0x2dd83a,this[_0x31b017(0x165)]),_0x3d7853[_0x31b017(0xe4)](_0xa4da76,_0x2dd83a);return;}try{if(!_0x9807fd[_0x31b017(0x1ff)]()){_0x3d7853[_0x31b017(0xe4)](_0xa4da76,new Error(_0x9807fd[_0x31b017(0x1ec)]&&_0x9807fd['getError']()?_0x9807fd[_0x31b017(0x1ec)]():_0x3d7853[_0x31b017(0x1b3)]));return;}this['logger'][_0x31b017(0x1e7)](_0x3d7853[_0x31b017(0xe6)]);const _0x224311=JSON['parse'](_0x9807fd[_0x31b017(0x115)]());_0x9807fd[_0x31b017(0x241)]&&_0x9807fd[_0x31b017(0x241)]()&&(_0x224311[_0x31b017(0x1db)]=_0x9807fd[_0x31b017(0x232)]()),_0x3d7853['cTIDW'](_0x3fb93d,_0x224311);}catch(_0x159d35){_0x3d7853[_0x31b017(0xd9)](_0xa4da76,_0x159d35);}});});}async['detoxMarkSessions'](_0x2e7ef1){const _0x47ae92=a107_0x1c6297,_0x844a25={'sqsDs':'DetoxMarkSessions','qMROl':function(_0x34493b,_0x397565){return _0x34493b(_0x397565);}},_0x3194c7=new messages[(_0x47ae92(0x1aa))]();return _0x3194c7[_0x47ae92(0x25d)](this[_0x47ae92(0x27b)]),_0x3194c7[_0x47ae92(0xe2)](JSON[_0x47ae92(0x13d)](_0x2e7ef1||[])),new Promise((_0x809ab0,_0x199d16)=>{const _0x44827e=_0x47ae92,_0x59c3ef={'YqEdn':_0x844a25['sqsDs'],'TTeIF':function(_0x344516,_0x1fa173){const _0x3ebe12=a107_0x5b10;return _0x844a25[_0x3ebe12(0x107)](_0x344516,_0x1fa173);},'AVzln':function(_0x455548,_0xfb343e){const _0x1a933c=a107_0x5b10;return _0x844a25[_0x1a933c(0x107)](_0x455548,_0xfb343e);}};this[_0x44827e(0xed)][_0x44827e(0x249)](_0x3194c7,this[_0x44827e(0x24e)](),(_0x434e9a,_0x3fe81a)=>{const _0x59553b=_0x44827e;if(_0x434e9a){sdkErrorHandler[_0x59553b(0x282)](_0x59c3ef['YqEdn'],_0x434e9a,this[_0x59553b(0x165)]),_0x59c3ef[_0x59553b(0x1e9)](_0x199d16,_0x434e9a);return;}_0x59c3ef[_0x59553b(0x1e9)](_0x809ab0,_0x59c3ef['AVzln'](Boolean,_0x3fe81a[_0x59553b(0x1ff)]()));});});}async['getAccessibilityConfig'](_0x564f92){const _0x20c92a=a107_0x1c6297,_0x1c1331={'GWDAR':_0x20c92a(0x114),'OCwuT':function(_0x2bcd61,_0x220795){return _0x2bcd61(_0x220795);},'iOxDF':_0x20c92a(0x1b1),'JWeRA':function(_0x4f3304,_0x4c0a85){return _0x4f3304(_0x4c0a85);},'SJxeK':function(_0x22cbe4,_0x1aacb2){return _0x22cbe4||_0x1aacb2;},'dsret':_0x20c92a(0x1fd),'qOuIt':'utf-8'},_0xb9dbac=_0x564f92[_0x20c92a(0x14a)]?.[_0x20c92a(0x208)]||_0x564f92['testInfo']?.['id'];this[_0x20c92a(0x165)]['info'](_0x20c92a(0x19c)+_0x1c1331['SJxeK'](_0xb9dbac,_0x1c1331[_0x20c92a(0x11c)]));try{const _0xf9d76=Buffer[_0x20c92a(0x1f5)](JSON[_0x20c92a(0x13d)](_0x564f92[_0x20c92a(0x1f7)]),_0x1c1331[_0x20c92a(0xd6)]),_0x560285=new messages[(_0x20c92a(0x244))](),_0x4a2b03=CLIUtils[_0x20c92a(0x1e4)](),_0x1b0ad0=_0x4a2b03[_0x20c92a(0x156)],_0x44a7e0=_0x4a2b03[_0x20c92a(0x1ce)];_0x560285[_0x20c92a(0x25d)](this['binSessionId']),_0x560285['setPlatformIndex'](0x0),_0x560285[_0x20c92a(0x253)](_0x1b0ad0),_0x560285['setFrameworkVersion'](_0x44a7e0),_0x560285[_0x20c92a(0x185)](_0x564f92[_0x20c92a(0x256)]),_0x560285[_0x20c92a(0x152)](_0xf9d76);if(_0x564f92[_0x20c92a(0x14a)]?.[_0x20c92a(0x208)]||_0x564f92['testInfo']?.['id']){const _0x4ef4f2=_0x564f92['testInfo'][_0x20c92a(0x208)]||_0x564f92[_0x20c92a(0x14a)]['id'];_0x560285[_0x20c92a(0x160)](_0x4ef4f2),this[_0x20c92a(0x165)]['debug'](_0x20c92a(0x189)+_0x4ef4f2+_0x20c92a(0x27a));}return new Promise((_0x2ef031,_0x5b3c76)=>{const _0x22a5e7=_0x20c92a,_0xb86169={'heksu':_0x1c1331[_0x22a5e7(0xf6)],'cqWCW':function(_0x5abc3e,_0x32a4cf){return _0x1c1331['OCwuT'](_0x5abc3e,_0x32a4cf);},'bpWCo':_0x1c1331[_0x22a5e7(0x104)],'GFHAK':function(_0x16e26b,_0x56ac52){const _0x3bc55a=_0x22a5e7;return _0x1c1331[_0x3bc55a(0x283)](_0x16e26b,_0x56ac52);}};this[_0x22a5e7(0xed)][_0x22a5e7(0x14f)](_0x560285,this['getCallOptions'](),(_0x41c8db,_0x3c288f)=>{const _0x38895c=_0x22a5e7;if(_0x41c8db){sdkErrorHandler['handle'](_0xb86169['heksu'],_0x41c8db,this['logger']),_0xb86169['cqWCW'](_0x5b3c76,_0x41c8db);return;}this[_0x38895c(0x165)][_0x38895c(0x1e7)](_0xb86169[_0x38895c(0x20f)]),_0xb86169[_0x38895c(0x1d5)](_0x2ef031,_0x3c288f);});});}catch(_0x5ca067){sdkErrorHandler[_0x20c92a(0x282)](_0x1c1331[_0x20c92a(0xf6)],_0x5ca067,this['logger']);}}async[a107_0x1c6297(0x119)](_0x1a8ae9,_0x21ae7f=null,_0x1f77e1=null){const _0x2ba59c=a107_0x1c6297,_0xaf23f1={'NUund':_0x2ba59c(0x1de),'hNxnh':function(_0xe3d8cf,_0x127471){return _0xe3d8cf(_0x127471);},'aHjER':function(_0x5906ee,_0x5be5b7){return _0x5906ee(_0x5be5b7);}};try{const _0xed4a28=new messages[(_0x2ba59c(0x1d6))]();return _0xed4a28['setBinSessionId'](this[_0x2ba59c(0x27b)]),_0xed4a28['setTestFilesList'](_0x1a8ae9||[]),_0x21ae7f&&_0xed4a28['setOrchestrationStrategy'](_0x21ae7f),_0x1f77e1&&_0xed4a28['setOrchestrationMetadata'](_0x1f77e1),new Promise((_0x32241c,_0x46ce68)=>{this['client']['testOrchestration'](_0xed4a28,(_0x553114,_0x2fbf7d)=>{const _0x49a38a=a107_0x5b10;if(_0x553114){sdkErrorHandler[_0x49a38a(0x282)](_0xaf23f1[_0x49a38a(0xfa)],_0x553114,this[_0x49a38a(0x165)]),_0xaf23f1[_0x49a38a(0xf5)](_0x46ce68,_0x553114);return;}this[_0x49a38a(0x165)][_0x49a38a(0x155)](_0x49a38a(0x19d)+util[_0x49a38a(0x23e)](_0x2fbf7d));if(_0x2fbf7d['getSuccess']()){const _0x21ffef=_0x2fbf7d['getOrderedTestFilesList']();_0xaf23f1['aHjER'](_0x32241c,_0x21ffef);}else _0xaf23f1[_0x49a38a(0x261)](_0x32241c,null);});});}catch(_0x55d415){return sdkErrorHandler[_0x2ba59c(0x282)](_0xaf23f1[_0x2ba59c(0xfa)],_0x55d415,this[_0x2ba59c(0x165)]),null;}}async[a107_0x1c6297(0x1e8)](_0x5d84b2,_0x98aa8,_0x5a3365,_0x22d231,_0x4a7c3d){const _0x2bfafc=a107_0x1c6297,_0x5eae0a={'fBxuU':function(_0x4a30d8,_0x2697eb){return _0x4a30d8(_0x2697eb);},'ulpvV':_0x2bfafc(0x225)};this['logger'][_0x2bfafc(0x1e7)](_0x2bfafc(0x226)+_0x22d231+_0x2bfafc(0xdf)+_0x98aa8);try{const _0x36daae=new messages['AccessibilityResultRequest']();return _0x36daae[_0x2bfafc(0x25d)](_0x5d84b2),_0x36daae[_0x2bfafc(0x224)](_0x98aa8),_0x36daae[_0x2bfafc(0x15c)](_0x5a3365),_0x36daae['setResultType'](_0x22d231),_0x4a7c3d&&_0x36daae['setTestIdentifier'](_0x4a7c3d),new Promise((_0x4a8e04,_0xd1473d)=>{const _0x4c9b44=_0x2bfafc;this[_0x4c9b44(0xed)][_0x4c9b44(0x1e8)](_0x36daae,(_0x3ef40c,_0x5bfab3)=>{const _0x4ba96e=_0x4c9b44;if(_0x3ef40c){this[_0x4ba96e(0x165)][_0x4ba96e(0x1b6)](_0x4ba96e(0x215)+_0x3ef40c[_0x4ba96e(0x26f)]),_0x5eae0a[_0x4ba96e(0xe1)](_0xd1473d,_0x3ef40c);return;}this[_0x4ba96e(0x165)][_0x4ba96e(0x1e7)](_0x5eae0a[_0x4ba96e(0x216)]),_0x5eae0a[_0x4ba96e(0xe1)](_0x4a8e04,_0x5bfab3);});});}catch(_0x391a0f){this['logger']['error'](_0x2bfafc(0x21e)+util[_0x2bfafc(0x23e)](_0x391a0f));throw _0x391a0f;}}async['testSessionEvent'](_0x4c337c){const _0x3bd221=a107_0x1c6297,_0x48f6fa={'OFWWy':_0x3bd221(0x13e),'CzoXi':_0x3bd221(0x155),'cnfEl':function(_0x4545da,_0x234170){return _0x4545da(_0x234170);},'NPzZH':_0x3bd221(0xd5),'bVqLM':function(_0x691958,_0x1e2f97){return _0x691958(_0x1e2f97);},'KkBFw':_0x3bd221(0x190),'CNuYW':_0x3bd221(0x10c)};this[_0x3bd221(0x165)][_0x3bd221(0x1e7)](_0x48f6fa[_0x3bd221(0x106)]);try{!this['client']&&this[_0x3bd221(0x165)][_0x3bd221(0x1e7)](_0x48f6fa[_0x3bd221(0x134)]);const {platformIndex:_0x425fc6,testFrameworkName:_0x8404bf,testFrameworkVersion:_0x4630cf,testFrameworkState:_0x52f4a5,testHookState:_0xf063c2,testUuid:_0x499a81,automationSession:_0x420e5a,capabilities:_0x1fbf32,executionContext:_0x2bf387,test_identifier:_0x249725}=_0x4c337c,_0x526dc9=new messages[(_0x3bd221(0x173))]();_0x526dc9[_0x3bd221(0x25d)](this[_0x3bd221(0x27b)]),_0x526dc9[_0x3bd221(0x259)](_0x425fc6),_0x526dc9[_0x3bd221(0x268)](_0x8404bf),_0x526dc9[_0x3bd221(0x138)](_0x4630cf),_0x526dc9[_0x3bd221(0x157)](_0x52f4a5),_0x526dc9[_0x3bd221(0xe5)](_0xf063c2),_0x526dc9['setTestUuid'](_0x499a81);const _0x488066=new messages[(_0x3bd221(0x173))][(_0x3bd221(0x172))]();_0x488066[_0x3bd221(0xd1)](_0x420e5a[_0x3bd221(0x1a8)]),_0x488066[_0x3bd221(0x253)](_0x420e5a['frameworkName']),_0x488066[_0x3bd221(0x238)](_0x420e5a[_0x3bd221(0x27e)]),_0x488066[_0x3bd221(0x18e)](_0x420e5a[_0x3bd221(0xee)]),_0x488066[_0x3bd221(0x207)](_0x420e5a[_0x3bd221(0x1cf)]),_0x488066['setRef'](_0x420e5a[_0x3bd221(0xe3)]),_0x488066[_0x3bd221(0x185)](_0x420e5a[_0x3bd221(0x256)]),_0x526dc9[_0x3bd221(0x143)](_0x488066),_0x526dc9[_0x3bd221(0x152)](_0x1fbf32);const _0x49ddee=new messages[(_0x3bd221(0x10e))]();return _0x49ddee[_0x3bd221(0x255)](_0x2bf387[_0x3bd221(0x230)]),_0x49ddee[_0x3bd221(0x1be)](_0x2bf387[_0x3bd221(0x1d2)]),_0x49ddee['setHash'](_0x2bf387[_0x3bd221(0xe0)]),_0x526dc9[_0x3bd221(0x1ef)](_0x49ddee),_0x249725&&_0x526dc9[_0x3bd221(0x160)](_0x249725),new Promise((_0x169f4e,_0x5c2a50)=>{const _0x3bfccc=_0x3bd221;this[_0x3bfccc(0xed)][_0x3bfccc(0x197)](_0x526dc9,this[_0x3bfccc(0x24e)](),(_0x50df55,_0x497a91)=>{const _0x3655ec=_0x3bfccc;if(_0x50df55){sdkErrorHandler[_0x3655ec(0x282)](_0x48f6fa['OFWWy'],_0x50df55,this[_0x3655ec(0x165)],_0x48f6fa[_0x3655ec(0x222)]),_0x48f6fa['cnfEl'](_0x5c2a50,_0x50df55);return;}this['logger'][_0x3655ec(0x1e7)](_0x48f6fa[_0x3655ec(0x280)]),_0x48f6fa[_0x3655ec(0x25e)](_0x169f4e,_0x497a91);});});}catch(_0x206047){sdkErrorHandler[_0x3bd221(0x282)](_0x48f6fa['OFWWy'],_0x206047,this[_0x3bd221(0x165)],_0x48f6fa[_0x3bd221(0x222)]);throw _0x206047;}}async['testFrameworkEvent'](_0x517a09){const _0x47c44a=a107_0x1c6297,_0x5b883f={'HYgII':_0x47c44a(0x1fe),'fSTNL':_0x47c44a(0x155),'MrlHp':function(_0x4d8e7f,_0x227d0f){return _0x4d8e7f(_0x227d0f);},'GHYsa':_0x47c44a(0x1fc),'aYsMB':_0x47c44a(0x142),'gQbWR':_0x47c44a(0x10c)};this[_0x47c44a(0x165)][_0x47c44a(0x1e7)](_0x5b883f[_0x47c44a(0x18a)]);try{!this[_0x47c44a(0xed)]&&this[_0x47c44a(0x165)]['info'](_0x5b883f[_0x47c44a(0x184)]);const {platformIndex:_0xac2bdd,testFrameworkName:_0x4acec1,testFrameworkVersion:_0x9b6bdb,testFrameworkState:_0x363475,hookState:_0x40c7b8,startedAt:_0x1c0594,endedAt:_0x3a520d,uuid:_0x464ecb,eventJson:_0x5d1e61,executionContext:_0x3fd293,test_identifier:_0x1bfd2f}=_0x517a09,_0x2670bd=new messages['TestFrameworkEventRequest']();_0x2670bd[_0x47c44a(0x25d)](this[_0x47c44a(0x27b)]),_0x2670bd[_0x47c44a(0x259)](_0xac2bdd),_0x2670bd[_0x47c44a(0x268)](_0x4acec1),_0x2670bd['setTestFrameworkVersion'](_0x9b6bdb),_0x2670bd[_0x47c44a(0x157)](_0x363475),_0x2670bd[_0x47c44a(0xe5)](_0x40c7b8),_0x2670bd[_0x47c44a(0x21a)](_0x1c0594),_0x2670bd[_0x47c44a(0x14d)](_0x3a520d),_0x2670bd[_0x47c44a(0x12a)](_0x464ecb),_0x2670bd['setEventJson'](_0x5d1e61);const _0x1022f5=new messages[(_0x47c44a(0x10e))]();return _0x1022f5[_0x47c44a(0x255)](_0x3fd293[_0x47c44a(0x230)]),_0x1022f5[_0x47c44a(0x1be)](_0x3fd293[_0x47c44a(0x1d2)]),_0x1022f5[_0x47c44a(0x177)](_0x3fd293[_0x47c44a(0xe0)]),_0x2670bd[_0x47c44a(0x1ef)](_0x1022f5),_0x1bfd2f&&_0x2670bd[_0x47c44a(0x160)](_0x1bfd2f),new Promise((_0x21c41e,_0x172044)=>{const _0x265af0=_0x47c44a;this[_0x265af0(0xed)][_0x265af0(0x210)](_0x2670bd,this[_0x265af0(0x24e)](),(_0x5470bd,_0x1a58ed)=>{const _0xfd877f=_0x265af0;if(_0x5470bd){sdkErrorHandler[_0xfd877f(0x282)](_0x5b883f[_0xfd877f(0x22f)],_0x5470bd,this[_0xfd877f(0x165)],_0x5b883f[_0xfd877f(0x116)]),_0x5b883f[_0xfd877f(0x1c0)](_0x172044,_0x5470bd);return;}this[_0xfd877f(0x165)]['info'](_0x5b883f[_0xfd877f(0x1f8)]),_0x5b883f[_0xfd877f(0x1c0)](_0x21c41e,_0x1a58ed);});});}catch(_0x56df9e){sdkErrorHandler[_0x47c44a(0x282)](_0x5b883f[_0x47c44a(0x22f)],_0x56df9e,this[_0x47c44a(0x165)],_0x5b883f[_0x47c44a(0x116)]);throw _0x56df9e;}}async['driverInit'](_0x2d5a4f){const _0x4182b5=a107_0x1c6297,_0x3048e5={'PFRxa':_0x4182b5(0xf3),'jrtxJ':function(_0x5d7449,_0x4de343){return _0x5d7449(_0x4de343);},'aVyJu':_0x4182b5(0x16e),'lRBDY':_0x4182b5(0xf2),'SZILM':_0x4182b5(0x10c),'ujqBT':function(_0x49710e,_0x3b7d5b){return _0x49710e!==_0x3b7d5b;}};this[_0x4182b5(0x165)][_0x4182b5(0x1e7)](_0x3048e5[_0x4182b5(0xf9)]);try{!this['client']&&this[_0x4182b5(0x165)][_0x4182b5(0x1e7)](_0x3048e5[_0x4182b5(0x126)]);const {platformIndex:_0x532fa8,ref:_0x5a4d3,userInputParams:_0x351f18,hubUrl:_0x542d62,isSecondaryDriver:_0x592fc6}=_0x2d5a4f,_0x19ee1e=new messages[(_0x4182b5(0x1bd))]();return _0x19ee1e['setBinSessionId'](this[_0x4182b5(0x27b)]),_0x19ee1e[_0x4182b5(0x259)](_0x532fa8),_0x19ee1e['setRef'](_0x5a4d3),_0x19ee1e[_0x4182b5(0x217)](_0x351f18),_0x19ee1e[_0x4182b5(0x185)](_0x542d62),_0x3048e5[_0x4182b5(0x26d)](_0x592fc6,undefined)&&_0x19ee1e[_0x4182b5(0x202)](_0x592fc6),new Promise((_0x2f4a23,_0x17d079)=>{const _0x4d88e3=_0x4182b5;this[_0x4d88e3(0xed)][_0x4d88e3(0x264)](_0x19ee1e,this[_0x4d88e3(0x24e)](),(_0x547857,_0x5ccd8f)=>{const _0x32142c=_0x4d88e3;if(_0x547857){sdkErrorHandler[_0x32142c(0x282)](_0x3048e5[_0x32142c(0x1dc)],_0x547857,this['logger']),_0x3048e5[_0x32142c(0x246)](_0x17d079,_0x547857);return;}this[_0x32142c(0x165)][_0x32142c(0x1e7)](_0x3048e5[_0x32142c(0x200)]),_0x3048e5['jrtxJ'](_0x2f4a23,_0x5ccd8f);});});}catch(_0x1bc04d){sdkErrorHandler[_0x4182b5(0x282)](_0x3048e5[_0x4182b5(0x1dc)],_0x1bc04d,this[_0x4182b5(0x165)]);throw _0x1bc04d;}}async[a107_0x1c6297(0x11a)](_0x475ef5){const _0x30666a=a107_0x1c6297,_0xcc26c8={'subhy':function(_0x52ea18,_0xcb6c3a){return _0x52ea18===_0xcb6c3a;},'YVxWv':_0x30666a(0x180),'vXsxo':function(_0x243ee6,_0x3ec07b){return _0x243ee6===_0x3ec07b;},'NvyuZ':_0x30666a(0x12d),'OwGIw':function(_0x3615c9,_0x405d55){return _0x3615c9>=_0x405d55;},'uTzdd':_0x30666a(0x1b8),'iksBY':'debug','ySeuW':function(_0x1bc61f,_0x478d93){return _0x1bc61f(_0x478d93);},'lVDMO':_0x30666a(0x18f),'NAdMe':'Sending\x20LogCreatedEvent','oDGOe':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x30666a(0x165)][_0x30666a(0x1e7)](_0xcc26c8['NAdMe']);try{!this[_0x30666a(0xed)]&&this['logger'][_0x30666a(0x1e7)](_0xcc26c8[_0x30666a(0x176)]);const {platformIndex:_0x30110d,logs:_0xc3149c}=_0x475ef5,_0x1f4a69=new messages[(_0x30666a(0x17c))]();_0x1f4a69['setBinSessionId'](this['binSessionId']),_0x1f4a69[_0x30666a(0x259)](_0x30110d);const _0x22b873=_0x475ef5[_0x30666a(0x182)],_0x524f7=_0x475ef5[_0x30666a(0x193)],_0x8739bc=_0x475ef5['testFrameworkState'];return _0xc3149c[_0x30666a(0x1c6)](_0x2c04e1=>{const _0x5205b0=_0x30666a,_0x9479dc=new messages[(_0x5205b0(0x17c))][(_0x5205b0(0x12b))]();_0x9479dc[_0x5205b0(0x268)](_0x22b873),_0x9479dc[_0x5205b0(0x138)](_0x524f7),_0x9479dc['setTestFrameworkState'](_0x8739bc),_0x9479dc['setTimestamp'](_0x2c04e1[_0x5205b0(0x26a)]);if(_0xcc26c8[_0x5205b0(0x12f)](_0x2c04e1['attachment_type'],PLAYWRIGHT_TRACE_LOGS))_0x9479dc[_0x5205b0(0x12a)](_0x2c04e1['test_run_uuid']),_0x9479dc[_0x5205b0(0x170)](new TextEncoder()[_0x5205b0(0x1d1)](JSON[_0x5205b0(0x13d)](_0x2c04e1)));else{if(_0x2c04e1[_0x5205b0(0x235)])_0x9479dc[_0x5205b0(0x12a)](_0xcc26c8[_0x5205b0(0x1af)]);else{if(_0x2c04e1['hook_run_uuid'])_0x9479dc['setUuid'](_0x2c04e1[_0x5205b0(0xd7)]);else _0x2c04e1['uuid']&&_0x9479dc[_0x5205b0(0x12a)](_0x2c04e1[_0x5205b0(0x284)]);}_0x9479dc[_0x5205b0(0x170)](new TextEncoder()[_0x5205b0(0x1d1)](_0x2c04e1[_0x5205b0(0x26f)]));}_0x9479dc[_0x5205b0(0x13f)](_0x2c04e1[_0x5205b0(0x21c)]),_0x9479dc[_0x5205b0(0x191)](_0x2c04e1[_0x5205b0(0x154)]),_0x9479dc['setFileName'](_0x2c04e1?.[_0x5205b0(0x287)]||''),_0x9479dc['setFilePath'](_0x2c04e1?.['filePath']||''),_0x9479dc['setFileSize'](_0x2c04e1?.[_0x5205b0(0x137)]||0x0),_0x9479dc['setAttachmentType'](_0x2c04e1?.[_0x5205b0(0x178)]||''),_0x2c04e1['test_identifier']&&_0x9479dc['setTestIdentifier'](_0x2c04e1[_0x5205b0(0x235)]),_0xcc26c8[_0x5205b0(0x213)](typeof _0x2c04e1[_0x5205b0(0x288)],_0xcc26c8[_0x5205b0(0x1d3)])&&Number[_0x5205b0(0x209)](_0x2c04e1[_0x5205b0(0x288)])&&_0xcc26c8[_0x5205b0(0xd8)](_0x2c04e1[_0x5205b0(0x288)],0x0)&&_0x9479dc[_0x5205b0(0x11f)](Math[_0x5205b0(0x25f)](_0x2c04e1['duration'])),_0x1f4a69[_0x5205b0(0x194)](_0x9479dc);}),new Promise((_0x4c0703,_0x57be1b)=>{const _0x43e3f4=_0x30666a,_0x42b666={'GiAwF':_0xcc26c8[_0x43e3f4(0x27f)],'eInCx':_0xcc26c8[_0x43e3f4(0x144)],'KXkAK':function(_0x4396f3,_0x36b3ad){return _0xcc26c8['ySeuW'](_0x4396f3,_0x36b3ad);},'Jxuvw':_0xcc26c8[_0x43e3f4(0x1ed)],'quAEM':function(_0x529fb2,_0x16f634){const _0x8b3b6a=_0x43e3f4;return _0xcc26c8[_0x8b3b6a(0x251)](_0x529fb2,_0x16f634);}};this[_0x43e3f4(0xed)][_0x43e3f4(0x11a)](_0x1f4a69,this[_0x43e3f4(0x24e)](),(_0x40a619,_0x359689)=>{const _0x190c6c=_0x43e3f4;if(_0x40a619){sdkErrorHandler[_0x190c6c(0x282)](_0x42b666[_0x190c6c(0x206)],_0x40a619,this['logger'],_0x42b666[_0x190c6c(0x27c)]),_0x42b666[_0x190c6c(0x139)](_0x57be1b,_0x40a619);return;}this['logger'][_0x190c6c(0x1e7)](_0x42b666[_0x190c6c(0x276)]),_0x42b666[_0x190c6c(0x1f3)](_0x4c0703,_0x359689);});});}catch(_0x49a28d){sdkErrorHandler[_0x30666a(0x282)](_0xcc26c8[_0x30666a(0x27f)],_0x49a28d,this[_0x30666a(0x165)],_0xcc26c8[_0x30666a(0x144)]);throw _0x49a28d;}}async['fetchDriverExecuteParamsEvent'](_0x48162b,_0x28bc21,_0x41c49e,_0x69bd49=null){const _0x46a426=a107_0x1c6297,_0x5aa98c={'fwHhR':_0x46a426(0x273),'UuEEx':_0x46a426(0x155),'csjxQ':function(_0x2d0ba9,_0x2ca53c){return _0x2d0ba9(_0x2ca53c);},'WqWcZ':function(_0x51d5aa,_0x120f59){return _0x51d5aa(_0x120f59);},'IolPl':function(_0x9b55d,_0x36d608){return _0x9b55d||_0x36d608;},'QllrO':_0x46a426(0x1fd),'HdRFS':_0x46a426(0x1d9)};this[_0x46a426(0x165)][_0x46a426(0x155)]('FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId='+_0x48162b+_0x46a426(0xfb)+_0x28bc21+_0x46a426(0x271)+_0x41c49e+_0x46a426(0x15f)+_0x5aa98c['IolPl'](_0x69bd49,_0x5aa98c['QllrO']));try{if(!this['client'])return this['logger']['debug'](_0x5aa98c[_0x46a426(0x128)]),null;const _0x2f09c9=new messages[(_0x46a426(0x1eb))]();return _0x2f09c9[_0x46a426(0x25d)](_0x48162b),_0x2f09c9[_0x46a426(0x207)](_0x28bc21),_0x2f09c9['setScriptName'](_0x41c49e),_0x69bd49&&(_0x2f09c9[_0x46a426(0x160)](_0x69bd49),this[_0x46a426(0x165)][_0x46a426(0x155)](_0x46a426(0x1a1)+_0x69bd49+_0x46a426(0x17d)+_0x28bc21+_0x46a426(0x271)+_0x41c49e)),await new Promise(_0x58d112=>{const _0x5524cc=_0x46a426;this[_0x5524cc(0xed)]['fetchDriverExecuteParamsEvent'](_0x2f09c9,this[_0x5524cc(0x24e)](),(_0x2c1f92,_0x16f793)=>{const _0x4fc6e7=_0x5524cc;if(_0x2c1f92){sdkErrorHandler['handle'](_0x5aa98c['fwHhR'],_0x2c1f92,this[_0x4fc6e7(0x165)],_0x5aa98c[_0x4fc6e7(0x1cd)]),_0x5aa98c[_0x4fc6e7(0x158)](_0x58d112,null);return;}this[_0x4fc6e7(0x165)][_0x4fc6e7(0x155)](_0x4fc6e7(0x281)+(_0x16f793['getSuccess']&&_0x16f793[_0x4fc6e7(0x1ff)]())),_0x5aa98c[_0x4fc6e7(0x22c)](_0x58d112,_0x16f793);});});}catch(_0x58decb){return sdkErrorHandler[_0x46a426(0x282)](_0x5aa98c[_0x46a426(0x1e5)],_0x58decb,this[_0x46a426(0x165)],_0x5aa98c[_0x46a426(0x1cd)]),null;}}async[a107_0x1c6297(0x1a3)](_0x26683a){const _0x11160a=a107_0x1c6297,_0x5f008b={'JsKAX':function(_0x10e375,_0x4209ad){return _0x10e375(_0x4209ad);},'NwLzv':_0x11160a(0x135),'fmEJQ':function(_0x4135ba,_0x2210f7){return _0x4135ba(_0x2210f7);},'ljhLy':_0x11160a(0x1d9),'zbRUe':_0x11160a(0x151),'VorKG':_0x11160a(0x155)};this[_0x11160a(0x165)][_0x11160a(0x155)](_0x11160a(0x24b)+_0x26683a);try{if(!this['client'])return this['logger'][_0x11160a(0x155)](_0x5f008b[_0x11160a(0x11b)]),null;const _0x312b50=new messages[(_0x11160a(0x1fa))]();_0x312b50[_0x11160a(0x25d)](this[_0x11160a(0x27b)]),_0x312b50['setErrorKey'](_0x26683a);const _0x5e607a=await new Promise((_0x4be20b,_0x2c3458)=>{const _0x395b15=_0x11160a;this[_0x395b15(0xed)][_0x395b15(0x1a3)](_0x312b50,this[_0x395b15(0x24e)](),(_0x899d83,_0x41de37)=>{const _0x31420c=_0x395b15;if(_0x899d83){_0x5f008b['JsKAX'](_0x2c3458,_0x899d83);return;}this[_0x31420c(0x165)][_0x31420c(0x155)](_0x5f008b['NwLzv']),_0x5f008b[_0x31420c(0x131)](_0x4be20b,_0x41de37);});});return _0x5e607a;}catch(_0x32ad37){return sdkErrorHandler['handle'](_0x5f008b[_0x11160a(0x1c9)],_0x32ad37,this['logger'],_0x5f008b[_0x11160a(0x228)]),null;}}async[a107_0x1c6297(0x122)](){const _0x4b9182=a107_0x1c6297,_0x325487={'WmGFg':function(_0x3e3f6d,_0x5341c8){return _0x3e3f6d(_0x5341c8);},'SvBUt':_0x4b9182(0x20a),'VKSUJ':_0x4b9182(0x21b),'wTJss':'No\x20gRPC\x20client\x20initialized.','hCjas':_0x4b9182(0x11e),'JPxbU':_0x4b9182(0x155)};this['logger'][_0x4b9182(0x155)](_0x325487['VKSUJ']);try{if(!this[_0x4b9182(0xed)])return this[_0x4b9182(0x165)]['debug'](_0x325487[_0x4b9182(0x171)]),null;const _0x5bbc6e=new messages[(_0x4b9182(0x164))]();_0x5bbc6e[_0x4b9182(0x25d)](this[_0x4b9182(0x27b)]);const _0x4cd970=await new Promise((_0x2f4b46,_0x247ecd)=>{const _0x1dadc9=_0x4b9182;this[_0x1dadc9(0xed)][_0x1dadc9(0x122)](_0x5bbc6e,this[_0x1dadc9(0x24e)](),(_0x4ec715,_0xc74e5c)=>{const _0x5df8a2=_0x1dadc9;if(_0x4ec715){_0x325487['WmGFg'](_0x247ecd,_0x4ec715);return;}this[_0x5df8a2(0x165)][_0x5df8a2(0x155)](_0x325487[_0x5df8a2(0x257)]),_0x325487['WmGFg'](_0x2f4b46,_0xc74e5c);});});return _0x4cd970;}catch(_0x336319){return sdkErrorHandler['handle'](_0x325487['hCjas'],_0x336319,this['logger'],_0x325487[_0x4b9182(0x24d)]),null;}}async[a107_0x1c6297(0x223)](){const _0x569d05=a107_0x1c6297,_0x2c4a48={'inWAD':_0x569d05(0x1bc),'LTWhM':function(_0x1d3338,_0x41e55d){return _0x1d3338(_0x41e55d);},'brvwS':_0x569d05(0x150),'qKumq':function(_0x18e67f,_0x1457e8){return _0x18e67f!==_0x1457e8;},'gdfGp':_0x569d05(0x1a7),'Bxfbi':function(_0x405482,_0x589aee){return _0x405482+_0x589aee;},'HBQQX':_0x569d05(0x15b),'XOTNN':_0x569d05(0x279),'srSyV':function(_0x1a4b72,_0x5488cb){return _0x1a4b72!==_0x5488cb;},'VHWQO':function(_0xf84a6,_0x3f9dce){return _0xf84a6+_0x3f9dce;},'fLWoI':function(_0x10dfa6,_0x3382a9){return _0x10dfa6+_0x3382a9;},'KqZEi':function(_0x4dc828,_0xf9e697){return _0x4dc828+_0xf9e697;},'QutvW':_0x569d05(0xef),'nVuQQ':_0x569d05(0x1ba),'FncLz':_0x569d05(0x18d),'QFLcz':_0x569d05(0x270)};this[_0x569d05(0x165)][_0x569d05(0x1e7)](_0x2c4a48[_0x569d05(0x16a)]);if(_0x2c4a48[_0x569d05(0x1ae)](typeof messages[_0x569d05(0x1a5)],_0x2c4a48[_0x569d05(0x28a)]))throw new Error(_0x2c4a48['Bxfbi'](_0x2c4a48[_0x569d05(0x25c)],_0x2c4a48['XOTNN']));if(_0x2c4a48[_0x569d05(0x169)](typeof this['client']['testCafeConfig'],_0x2c4a48[_0x569d05(0x28a)]))throw new Error(_0x2c4a48[_0x569d05(0x148)](_0x2c4a48[_0x569d05(0x1b0)](_0x2c4a48['KqZEi'](_0x2c4a48[_0x569d05(0x243)],_0x2c4a48[_0x569d05(0x1d0)]),_0x2c4a48[_0x569d05(0x145)]),_0x2c4a48[_0x569d05(0x1c3)]));const _0x534db8=new messages[(_0x569d05(0x1a5))]();return _0x534db8[_0x569d05(0x25d)](this['binSessionId']),new Promise((_0x322ea9,_0x19b607)=>{const _0x26ebc6=_0x569d05;this[_0x26ebc6(0xed)][_0x26ebc6(0x223)](_0x534db8,this[_0x26ebc6(0x24e)](),(_0x46251f,_0x5aa3b7)=>{const _0x431690=_0x26ebc6;if(_0x46251f){sdkErrorHandler['handle'](_0x2c4a48[_0x431690(0x24c)],_0x46251f,this[_0x431690(0x165)]),_0x2c4a48['LTWhM'](_0x19b607,_0x46251f);return;}_0x2c4a48['LTWhM'](_0x322ea9,_0x5aa3b7);});});}async[a107_0x1c6297(0x10d)](_0x11d2d0,_0x17f6f7,_0x5a2439,_0x436f6c,_0x7fc27d=a107_0x1c6297(0x23c)){const _0x38c3a3=a107_0x1c6297,_0x3a59a0={'zLkMC':_0x38c3a3(0x1f0),'QVFxk':'debug','CagGm':function(_0x3ca063,_0x3fd33d){return _0x3ca063(_0x3fd33d);},'bZlLL':_0x38c3a3(0x1e0),'FkERn':function(_0x21f954,_0x3d5a25){return _0x21f954===_0x3d5a25;},'lDARX':_0x38c3a3(0x1a7),'RdcBU':function(_0x2a35ab,_0x139931){return _0x2a35ab===_0x139931;},'dKrnk':_0x38c3a3(0xce),'gGYJk':'failed\x20transiently','dJRVp':function(_0x4f412d,_0x4bcf69){return _0x4f412d===_0x4bcf69;},'VLPdB':function(_0x28925c,_0x27867b){return _0x28925c===_0x27867b;},'FpehO':function(_0x43db8e,_0x50cafa){return _0x43db8e(_0x50cafa);},'HLBTj':_0x38c3a3(0x181),'jUTxc':_0x38c3a3(0x1ee),'ckoZj':function(_0x4f27b7,_0x2f984c){return _0x4f27b7||_0x2f984c;},'TvPOw':function(_0x58bf2a,_0x4fae2f){return _0x58bf2a instanceof _0x4fae2f;},'yOjUG':_0x38c3a3(0xfc)};try{if(!this[_0x38c3a3(0xed)]){this[_0x38c3a3(0x165)][_0x38c3a3(0x155)](_0x3a59a0['HLBTj']);const _0x134416={};return _0x134416['acked']=![],_0x134416[_0x38c3a3(0x12c)]=![],_0x134416[_0x38c3a3(0x1b6)]=_0x3a59a0[_0x38c3a3(0x1c4)],_0x134416;}const _0x5e31d8=new messages[(_0x38c3a3(0x211))]();return _0x5e31d8[_0x38c3a3(0x25d)](this[_0x38c3a3(0x27b)]||process['env'][_0x38c3a3(0x1ac)]),_0x5e31d8['setScope'](_0x11d2d0),_0x5e31d8[_0x38c3a3(0x22e)](_0x17f6f7),_0x5e31d8[_0x38c3a3(0x220)](_0x3a59a0[_0x38c3a3(0x188)](_0x5a2439,'')),_0x5e31d8[_0x38c3a3(0x141)](new TextEncoder()[_0x38c3a3(0x1d1)](JSON[_0x38c3a3(0x13d)](_0x436f6c))),_0x5e31d8[_0x38c3a3(0x1f6)](_0x7fc27d),await new Promise(_0x380406=>{const _0x3d99bb=_0x38c3a3;this[_0x3d99bb(0xed)]['publishRunState'](_0x5e31d8,this[_0x3d99bb(0x24e)](),(_0x43bb0b,_0x547de7)=>{const _0x2545a8=_0x3d99bb;if(_0x43bb0b){sdkErrorHandler[_0x2545a8(0x282)](_0x3a59a0[_0x2545a8(0x147)],_0x43bb0b,this[_0x2545a8(0x165)],_0x3a59a0[_0x2545a8(0x121)]),_0x3a59a0[_0x2545a8(0x18b)](_0x380406,{'acked':![],'terminal':![],'error':_0x43bb0b&&_0x43bb0b[_0x2545a8(0x26f)]||_0x3a59a0[_0x2545a8(0x227)]});return;}const _0x543cab=_0x547de7[_0x2545a8(0x1ec)]()||'',_0x2bd5fe=_0x3a59a0[_0x2545a8(0x17a)](typeof _0x547de7[_0x2545a8(0x117)],_0x3a59a0[_0x2545a8(0x26b)])&&_0x3a59a0[_0x2545a8(0x275)](_0x547de7[_0x2545a8(0x117)](),!![])||_0x3a59a0[_0x2545a8(0x18b)](isPermanentRunStateError,_0x543cab);if(!_0x547de7[_0x2545a8(0x1ff)]()){this[_0x2545a8(0x165)][_0x2545a8(0x155)](_0x2545a8(0x239)+(_0x2bd5fe?_0x3a59a0[_0x2545a8(0x129)]:_0x3a59a0[_0x2545a8(0xf4)])+_0x2545a8(0x24f)+_0x11d2d0+':'+_0x17f6f7+':\x20'+_0x543cab);const _0x156f23={};_0x156f23[_0x2545a8(0x1b4)]=![],_0x156f23[_0x2545a8(0x12c)]=_0x2bd5fe,_0x156f23[_0x2545a8(0x1b6)]=_0x543cab,_0x3a59a0[_0x2545a8(0x18b)](_0x380406,_0x156f23);return;}const _0x42cce2=_0x3a59a0[_0x2545a8(0xcf)](typeof _0x547de7[_0x2545a8(0x267)],_0x3a59a0[_0x2545a8(0x26b)])&&_0x3a59a0[_0x2545a8(0x16b)](_0x547de7['getTruncated'](),!![])||_0x543cab[_0x2545a8(0x26c)](RUN_STATE_TRUNCATED_TOKEN);_0x42cce2&&this[_0x2545a8(0x165)][_0x2545a8(0x14b)]('PublishRunState\x20acked\x20but\x20truncated\x20for\x20'+_0x11d2d0+':'+_0x17f6f7+':\x20'+_0x543cab);const _0x5dbacc={};_0x5dbacc[_0x2545a8(0x1b4)]=!![],_0x5dbacc[_0x2545a8(0x12c)]=![],_0x5dbacc[_0x2545a8(0x1f1)]=_0x42cce2,_0x5dbacc[_0x2545a8(0x1b6)]=_0x543cab,_0x3a59a0[_0x2545a8(0x277)](_0x380406,_0x5dbacc);});});}catch(_0x3c1e8b){const _0x2d2d42=_0x3a59a0[_0x38c3a3(0x15d)](_0x3c1e8b,TypeError)||/circular|BigInt|convert/i[_0x38c3a3(0x167)](_0x3c1e8b&&_0x3c1e8b[_0x38c3a3(0x26f)]||'');sdkErrorHandler[_0x38c3a3(0x282)](_0x3a59a0[_0x38c3a3(0x147)],_0x3c1e8b,this[_0x38c3a3(0x165)],_0x3a59a0[_0x38c3a3(0x121)]);const _0xc36f79={};return _0xc36f79[_0x38c3a3(0x1b4)]=![],_0xc36f79[_0x38c3a3(0x12c)]=_0x2d2d42,_0xc36f79[_0x38c3a3(0x1b6)]=_0x3c1e8b&&_0x3c1e8b[_0x38c3a3(0x26f)]||_0x3a59a0['yOjUG'],_0xc36f79;}}async[a107_0x1c6297(0x1b5)](_0x2e4d69,_0x16650a,_0x4aae64){const _0x426daf=a107_0x1c6297,_0x48edae={'zxOte':_0x426daf(0x108),'mZwLM':_0x426daf(0x155),'VlbUP':function(_0x2df7b0,_0x59b010){return _0x2df7b0(_0x59b010);},'gOfke':function(_0x2c4ca3,_0x44728e){return _0x2c4ca3===_0x44728e;},'XBYGJ':_0x426daf(0x1a7),'inUgS':function(_0x3d86d,_0x1a3553){return _0x3d86d===_0x1a3553;},'iciiy':_0x426daf(0x17e),'mWbSf':function(_0x588685,_0x4a3e24){return _0x588685||_0x4a3e24;}};try{if(!this[_0x426daf(0xed)])return this[_0x426daf(0x165)][_0x426daf(0x155)](_0x48edae[_0x426daf(0x14c)]),undefined;const _0x1309fb=new messages[(_0x426daf(0x149))]();return _0x1309fb[_0x426daf(0x25d)](this[_0x426daf(0x27b)]||process[_0x426daf(0x1a6)][_0x426daf(0x1ac)]),_0x1309fb['setScope'](_0x2e4d69),_0x1309fb[_0x426daf(0x22e)](_0x16650a),_0x1309fb[_0x426daf(0x220)](_0x48edae[_0x426daf(0x1c7)](_0x4aae64,'')),await new Promise(_0x2c8eb0=>{const _0x2f5e12=_0x426daf;this['client'][_0x2f5e12(0x1b5)](_0x1309fb,this[_0x2f5e12(0x24e)](),(_0x27f62b,_0x432229)=>{const _0x5eb788=_0x2f5e12;if(_0x27f62b){sdkErrorHandler['handle'](_0x48edae[_0x5eb788(0x16f)],_0x27f62b,this['logger'],_0x48edae['mZwLM']),_0x48edae[_0x5eb788(0x1f9)](_0x2c8eb0,undefined);return;}if(!_0x432229[_0x5eb788(0x1ff)]()||!_0x432229['getFound']()){const _0x1e1ef8=_0x432229[_0x5eb788(0x1ec)]()||'',_0x238915=_0x48edae['gOfke'](typeof _0x432229[_0x5eb788(0x117)],_0x48edae[_0x5eb788(0x1ea)])&&_0x48edae[_0x5eb788(0x162)](_0x432229[_0x5eb788(0x117)](),!![]);if(!_0x432229[_0x5eb788(0x1ff)]()){const _0x2feb90=_0x2e4d69+':'+_0x16650a+(_0x1e1ef8?_0x5eb788(0x153)+_0x1e1ef8:'');_0x238915||_0x48edae[_0x5eb788(0x1f9)](isPermanentRunStateError,_0x1e1ef8)?this[_0x5eb788(0x165)][_0x5eb788(0x14b)](_0x5eb788(0x1bb)+_0x2feb90+_0x5eb788(0x1da)):this[_0x5eb788(0x165)][_0x5eb788(0x155)](_0x5eb788(0x125)+_0x2feb90);}_0x48edae[_0x5eb788(0x1f9)](_0x2c8eb0,undefined);return;}try{_0x48edae[_0x5eb788(0x1f9)](_0x2c8eb0,JSON['parse'](new TextDecoder()[_0x5eb788(0x140)](_0x432229[_0x5eb788(0x124)]())));}catch(_0x5a3252){this['logger']['debug'](_0x5eb788(0x166)+_0x2e4d69+':'+_0x16650a+':\x20'+(_0x5a3252&&_0x5a3252[_0x5eb788(0x26f)])),_0x48edae[_0x5eb788(0x1f9)](_0x2c8eb0,undefined);}});});}catch(_0x44eb01){return sdkErrorHandler[_0x426daf(0x282)](_0x48edae[_0x426daf(0x16f)],_0x44eb01,this['logger'],_0x48edae['mZwLM']),undefined;}}[a107_0x1c6297(0x23b)](){const _0x2cf0e0=a107_0x1c6297;return this[_0x2cf0e0(0xed)];}['getChannel'](){const _0xbafa41=a107_0x1c6297;return this[_0xbafa41(0x1d8)];}}function a107_0x5b10(_0x319f90,_0x4931ac){const _0xffacd1=a107_0xffac();return a107_0x5b10=function(_0x5b108b,_0x1fc0fd){_0x5b108b=_0x5b108b-0xce;let _0x9dad6=_0xffacd1[_0x5b108b];return _0x9dad6;},a107_0x5b10(_0x319f90,_0x4931ac);}function a107_0xffac(){const _0x513967=['iOxDF','getEnvVarsMap','KkBFw','qMROl','FetchRunState','setTestFramework','QPFEt','getBody','No\x20gRPC\x20client\x20not\x20initialized.','publishRunState','ExecutionContext','8878608nGtDnx','wBYFx','zKgqZ','8AIOOjQ','MGYFQ','AccessibilityConfig','getConfig','fSTNL','getTerminal','setFrameworksList','testOrchestration','logCreatedEvent','ljhLy','dsret','Stopping\x20bin\x20session','GetAggregatedClientTroubleshootingErrors','setDuration','setPathConfig','QVFxk','getAggregatedClientTroubleshootingErrors','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','getPayloadJson_asU8','FetchRunState\x20failed\x20transiently\x20for\x20','SZILM','../../helpers/performance/constants','HdRFS','dKrnk','setUuid','LogEntry','terminal','number','detoxConfig','subhy','getInstance','fmEJQ','setCustomMetadata','SDK_CONNECT_BIN_SESSION','CNuYW','ReportClientTroubleshootingError\x20successful','entries','fileSize','setTestFrameworkVersion','KXkAK','some','StopBinSessionRequest','OyICr','stringify','TestSessionEvent','setKind','decode','setPayloadJson','Sending\x20TestFrameworkEvent','addAutomationSessions','iksBY','FncLz','tgBDq','zLkMC','VHWQO','FetchRunStateRequest','testInfo','warn','iciiy','setEndedAt','lFpyQ','accessibilityConfig','Calling\x20TestCafeConfig','ReportClientTroubleshootingError','setCapabilities','\x20—\x20','level','debug','name','setTestFrameworkState','csjxQ','hjmBF','../utils/constants','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20generated\x20proto\x20message\x20TestCafeConfigRequest\x20missing.\x20','setSessionId','TvPOw','setSdkVersion',',\x20testIdentifier=','setTestIdentifier','Connected\x20to\x20gRPC\x20server\x20at\x20','inUgS','write','GetAggregatedClientTroubleshootingErrorsRequest','logger','FetchRunState:\x20malformed\x20payload\x20for\x20','test','mAxbX','srSyV','brvwS','VLPdB','PlaywrightConfig\x20request\x20successful','nwjXg','DriverInit\x20request\x20successful','zxOte','setMessage','wTJss','AutomationSession','TestSessionEventRequest','startBinSession:\x20Calling\x20startBinSession','mXqUf','oDGOe','setHash','attachment_type','slice','FkERn','replace','LogCreatedEventRequest','\x20for\x20product=','FetchRunState:\x20no\x20gRPC\x20client\x20initialized.','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','pending-resolution-from-test-identifier','PublishRunState:\x20no\x20gRPC\x20client\x20initialized.','testFrameworkName','aUFfi','gQbWR','setHubUrl','DetoxConfigRequest','SFfAo','ckoZj','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','aYsMB','CagGm','getSdkLanguage','the\x20TestCafeConfig\x20RPC.\x20Rebuild\x20the\x20binary\x20in\x20lockstep\x20with\x20the\x20SDK\x20','setFrameworkSessionId','LogCreatedEvent\x20request\x20successful','Sending\x20TestSessionEvent','setLevel','../../../generated/sdk-messages_pb','testFrameworkVersion','addLogs','2302FJDmJU','argv','testSessionEvent','set','getBrowserstackCliConfig','path','rcBWS','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','test-orchestration-session=','APPEND\x20requires','nrxJI','credentials','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','reportClientTroubleshootingError','zqiGG','TestCafeConfigRequest','env','function','provider','PvrjY','DetoxMarkSessionsRequest','../../helpers/classLogger.js','BROWSERSTACK_CLI_BIN_SESSION_ID','end','qKumq','YVxWv','fLWoI','AccessibilityConfig\x20request\x20successful','DEADLINE_EXCEEDED','Gpusu','acked','fetchRunState','error','@grpc/grpc-js','LogCreatedEvent','setLanguage','The\x20running\x20binary\x20build\x20was\x20generated\x20from\x20a\x20proto\x20file\x20that\x20does\x20not\x20declare\x20','FetchRunState\x20refused\x20for\x20','TestCafeConfig','DriverInitRequest','setThreadId','586UXsDnK','MrlHp','./browserstackCLI.js','invalid\x20scope/key','QFLcz','jUTxc','VQOVr','forEach','mWbSf','invalid\x20mode','zbRUe','JVcdg','GoSgA','3771808Joqdeb','UuEEx','version','product','nVuQQ','encode','threadId','NvyuZ','createInsecure','GFHAK','TestOrchestrationRequest','getDetoxConfig','channel','No\x20gRPC\x20client\x20initialized.',';\x20this\x20key\x20cannot\x20be\x20read\x20as\x20requested','localBound','PFRxa','ConnectBinSession\x20successful','TestOrchestration','SDK_CLI_ON_STOP','transport\x20error','../../helpers/logger.js','now','../../../generated/sdk_grpc_pb','getAutomationFrameworkDetail','fwHhR','stopBinSession','info','accessibilityResult','TTeIF','XBYGJ','FetchDriverExecuteParamsEventRequest','getError','lVDMO','no\x20gRPC\x20client','setExecutionContext','PublishRunState','truncated','Channel','quAEM','setExitSignal','from','setMode','launchcaps','GHYsa','VlbUP','ReportClientTroubleshootingErrorRequest','237743nktphy','TestFrameworkEvent\x20request\x20successful','not\x20provided','TestFrameworkEvent','getSuccess','aVyJu','APegR','setIsSecondaryDriver','addFrameworks','Stopping\x20signal\x20','StopBinSession\x20successful','GiAwF','setProduct','testAnalyticsId','isFinite','GetAggregatedClientTroubleshootingErrors\x20successful','SDKClient','KxMzD','init','PlaywrightConfigRequest','bpWCo','testFrameworkEvent','PublishRunStateRequest','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','vXsxo','StartBinSession','AccessibilityResult\x20error:\x20','ulpvV','setUserInputParams','hJtVi','ConnectBinSessionRequest','setStartedAt','Getting\x20AggregatedClientTroubleshootingErrors','kind','playwrightConfig','Error\x20in\x20accessibilityResult:\x20','sfKdg','setTestRunUuid','start','CzoXi','testCafeConfig','setTestRunId','AccessibilityResult\x20request\x20successful','[GrpcClient]\x20Getting\x20AccessibilityResult,\x20resultType=','bZlLL','VorKG','\x20and\x20listen\x20address:\x20','listenAddress','HjWjK','WqWcZ','discardIfForeign','setKey','HYgII','processId','QpuJi','getLocalBound','setSdkLanguage','SDK_START_BIN_SESSION','test_identifier','21lyVBCV','IToOS','setFrameworkVersion','PublishRunState\x20','GnXHw','getClient','REPLACE','214044BNySbA','format','1879482OVaLSD','1020tjBzpl','hasLocalBound','DetoxConfig\x20request\x20successful','QutvW','AccessibilityConfigRequest','KPoGE','jrtxJ','ZEeLo','connectBinSession','detoxMarkSessions','FZXKi','Reporting\x20ClientTroubleshootingError\x20','inWAD','JPxbU','getCallOptions','\x20for\x20','../../helpers/accessibility-automation/scripts.js','ySeuW','\x22userName\x22:\x22[REDACTED]\x22','setFrameworkName','YFDZT','setProcessId','hubUrl','SvBUt','cwd','setPlatformIndex','setExitCode','getSeverity','HBQQX','setBinSessionId','bVqLM','round','code','aHjER','status','null','driverInit','startBinSession','lastStopDeadlineExceeded','getTruncated','setTestFrameworkName','getDeadline','timestamp','lDARX','includes','ujqBT','util','message','(`cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build`).',',\x20scriptName=','stop-bin-session\x20response:\x20','FetchDriverExecuteParamsEvent','setCliArgsList','RdcBU','Jxuvw','FpehO','StopBinSession\x20entries\x20forwarding\x20failed:\x20','Run\x20\x27cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build\x27\x20to\x20regenerate\x20stubs\x20from\x20the\x20updated\x20proto.','\x20for\x20tag\x20validation','binSessionId','eInCx','1763095ughFck','frameworkVersion','uTzdd','NPzZH','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','handle','JWeRA','uuid','SDK_AUTOMATION_FRAMEWORK_INIT','DetoxConfig','fileName','duration','pbJBa','gdfGp','user_killed','refused','dJRVp','getPlaywrightConfig','setProvider','RUN_STATE_APPEND_TRUNCATED','setConfig','StartBinSessionRequest','TestSessionEvent\x20request\x20successful','qOuIt','hook_run_uuid','OwGIw','cTIDW','setPathProject','getEntriesList','yQrSG','BeHgl','connect',',\x20testRunId=','hash','fBxuU','setSessions','ref','FsXhY','setTestHookState','QWlxZ','qGceE','MqqPg','WqEeX','setExitReason','RUN_STATE_PAYLOAD_TOO_LARGE','../../helpers/helper.js','client','frameworkSessionId','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20gRPC\x20client\x20method\x20`testCafeConfig`\x20is\x20unavailable.\x20','BkmUH','bTUFC','Sending\x20DriverInit','DriverInit','gGYJk','hNxnh','GWDAR','toLowerCase','uhknf','lRBDY','NUund',',\x20product=','publish\x20threw','./cliUtils.js','oYnNd','setCliArgs:\x20cliArgs=','RUN_STATE_TYPE_CONFLICT','StopBinSession','StartBinSession\x20successful','RBBQe'];a107_0xffac=function(){return _0x513967;};return a107_0xffac();}module['exports']=GrpcClient;
1
+ const a107_0x318a48=a107_0x1e98;(function(_0x25a233,_0x1bb2be){const _0x27d643=a107_0x1e98,_0x5cf92b=_0x25a233();while(!![]){try{const _0x311623=parseInt(_0x27d643(0x27a))/0x1+parseInt(_0x27d643(0x1d7))/0x2+parseInt(_0x27d643(0x20a))/0x3*(-parseInt(_0x27d643(0x13d))/0x4)+-parseInt(_0x27d643(0x12b))/0x5+-parseInt(_0x27d643(0x13e))/0x6+-parseInt(_0x27d643(0x29f))/0x7*(-parseInt(_0x27d643(0x11c))/0x8)+-parseInt(_0x27d643(0x124))/0x9;if(_0x311623===_0x1bb2be)break;else _0x5cf92b['push'](_0x5cf92b['shift']());}catch(_0x23d0e8){_0x5cf92b['push'](_0x5cf92b['shift']());}}}(a107_0x1dc3,0x865bb));const util=require(a107_0x318a48(0x1a7)),logger=require(a107_0x318a48(0x17a))[a107_0x318a48(0x1cb)],fileLogger=require(a107_0x318a48(0x17a))[a107_0x318a48(0x29e)],grpc=require(a107_0x318a48(0x163)),services=require(a107_0x318a48(0x245)),PERMANENT_RUN_STATE_ERRORS=[a107_0x318a48(0x1e7),'RUN_STATE_TYPE_CONFLICT',a107_0x318a48(0x180),a107_0x318a48(0x28c),a107_0x318a48(0x269),a107_0x318a48(0x170),'APPEND\x20requires'],RUN_STATE_TRUNCATED_TOKEN=a107_0x318a48(0x257),isPermanentRunStateError=_0x101b25=>PERMANENT_RUN_STATE_ERRORS[a107_0x318a48(0x294)](_0x13cb0a=>(_0x101b25||'')[a107_0x318a48(0x192)](_0x13cb0a)),messages=require(a107_0x318a48(0x1a6)),path=require(a107_0x318a48(0x222)),CLIUtils=require(a107_0x318a48(0x1d0)),{createClassLogger}=require(a107_0x318a48(0xe1)),PerformanceTester=require(a107_0x318a48(0x1fe)),{EVENTS:PerformanceEvents}=require(a107_0x318a48(0x24f)),{PLAYWRIGHT_TRACE_LOGS}=require(a107_0x318a48(0x291)),helper=require(a107_0x318a48(0x15c)),sdkErrorHandler=require('./sdkErrorHandler.js'),a107_0x4453c3={};a107_0x4453c3[a107_0x318a48(0x193)]=a107_0x318a48(0x128),a107_0x4453c3[a107_0x318a48(0xfa)]='\x1b[1;31m';const a107_0x254e94={};a107_0x254e94['base']=a107_0x318a48(0x292),a107_0x254e94[a107_0x318a48(0xfa)]='\x1b[1;33m';function a107_0x1dc3(){const _0x48ab42=['qpQFM','WJKQU','uJMWv','Sqvdk','getFound','bfXAW','Bssjv','setTestFrameworkState','utf-8','setTestUuid','getConfig','launchcaps','setPathConfig','join','PublishRunState:\x20no\x20gRPC\x20client\x20initialized.','uWRVL','decode','logCreatedEvent','HyCrF','Mykfh','LogEntry','HZfbL','../../helpers/helper.js','rZWwc','PublishRunState\x20','\x20listenAddr:\x20','xxIYZ','setIsSecondaryDriver','./browserstackCLI.js','@grpc/grpc-js','trim','nyAKe','reset','rNvSK','dHxSN','pending-resolution-from-test-identifier','qwime','No\x20gRPC\x20client\x20not\x20initialized.','setPlatformIndex','ebepD','setExitSignal','gqWeB','DEEP_MERGE\x20requires','startBinSession','setFrameworkSessionId','Getting\x20AggregatedClientTroubleshootingErrors','ElfzO','nVfqk','setTestFrameworkName','TestSessionEvent\x20request\x20successful','pfKQl','DetoxMarkSessions','../../helpers/logger.js','ZWNZH','detoxMarkSessions','[GrpcClient]\x20Getting\x20AccessibilityResult,\x20resultType=','sMQjh','product','RUN_STATE_PAYLOAD_TOO_LARGE','getSdkVersion','WxquQ','StopBinSession','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','getTestFrameworkDetail','PIFzI','XhRER','setPathProject','handle','getBody','exports','Kbjkt','format','TestFrameworkEventRequest','getSuccess','nYCXE',',\x20parsedConfig=','includes','base','stdout','XPleQ','RRAQS','FetchDriverExecuteParamsEventRequest','RgPqk','skdyu','NDUGB','IMMJX','InIHn','CwIZq','JTpZJ','ConnectBinSessionRequest','setHash','ylsig','No\x20gRPC\x20client\x20initialized.','xPsgl','\x1b[0m','reportClientTroubleshootingError','../../../generated/sdk-messages_pb','util','setProduct','setScriptName','Getting\x20Detox\x20config','hasLocalBound','test_identifier','DetoxConfig','warning','setThreadId','getTerminal','getTruncated','getDeadline','LogCreatedEvent\x20request\x20successful','testFrameworkName','SDK_AUTOMATION_FRAMEWORK_INIT','YheYg','test','discardIfForeign','lastStopDeadlineExceeded','setFrameworkName','bgAjH','ZGjEG','setExecutionContext','wlZbP','fOkDY','testInfo','DriverInit\x20request\x20successful','PRzwP','getAggregatedClientTroubleshootingErrors','user_killed','terminal','UUekD','threadId','FetchRunState:\x20malformed\x20payload\x20for\x20','setCapabilities','getClient','winstonLogger','frameworkName','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=',',\x20scriptName=','lMRIJ','./cliUtils.js','OwUcW','edZUg','VyXze','getLocalBound','from','setFrameworksList','2031092ZOqVfD','transport\x20error','fetchRunState','debug','setConfig','lTbDv','slice','JVROJ','testFrameworkVersion','browserstack.','not\x20provided','hPfVq','Sending\x20TestFrameworkEvent','mtIvt','AccessibilityResult\x20error:\x20','setTestFilesList','RUN_STATE_UNSAFE_KEY','frameworkVersion','testAnalyticsId','MvCuJ','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','FetchRunStateRequest','KAjPW','start','IYLfA','setUuid','getEnvVarsMap','IYMnw','the\x20TestCafeConfig\x20RPC.\x20Rebuild\x20the\x20binary\x20in\x20lockstep\x20with\x20the\x20SDK\x20','TestSessionEventRequest','YddLr','getDetoxConfig','fetchDriverExecuteParamsEvent','accessibilityResult','xqFwN','JCCXI','kKFxg','client','setScope','../../helpers/performance/performance-tester.js','getSeverity','AccessibilityConfig','nClsd','attachment_type','detoxConfig','setSessions','stop-bin-session\x20response:\x20','HDdhY','setFrameworkVersion','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','toLowerCase','27AgozaC','isFinite','The\x20running\x20binary\x20build\x20was\x20generated\x20from\x20a\x20proto\x20file\x20that\x20does\x20not\x20declare\x20','BwtgL','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','setCliArgs:\x20cliArgs=','BiBzz','testCafeConfig','\x20and\x20listen\x20address:\x20','Missing\x20binSessionId','mpfRT','getSdkLanguage','FetchRunState','set','addFrameworks','setFilePath','test-orchestration-session=','EWaep','processId','\x22key\x22:\x22[REDACTED]\x22','info','bgXIR','setExitReason','getPayloadJson_asU8','path','getPlaywrightConfig','zEmVp','env','getEntriesList','gzCGV','StopBinSession\x20entries\x20forwarding\x20failed:\x20','PlaywrightConfigRequest','stderr','KGJNM','getChannel','Connecting\x20bin\x20session','setTestFramework','ErHuR','setUserInputParams','AZJii','TestFrameworkEvent','failed\x20transiently','timestamp','qavdq','syZqH','error','xSgda','channel','OrtgT','lgPNJ','jNgPm','setTestRunUuid','filePath','VQjhi','setRef','testFrameworkState','mDCNR','number','JnDLd','../../../generated/sdk_grpc_pb','jJlYv','TestOrchestrationRequest','function','zTGld','publishRunState','setMessage','fileName','AccessibilityResultRequest','Sending\x20LogCreatedEvent','../../helpers/performance/constants','qYdFL','setTestHookState','xuQRC','testSessionEvent','kind','SDK_CLI_ON_STOP','setSdkLanguage','RUN_STATE_APPEND_TRUNCATED','Channel','GqEUu','StopBinSessionRequest','PublishRunStateRequest','TestCafeConfigRequest','SDK_CONNECT_BIN_SESSION','setStartedAt','bYimx','setCustomMetadata','LogCreatedEvent','ZLTAo','(`cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build`).','forEach','LDiRd','FetchRunState:\x20no\x20gRPC\x20client\x20initialized.','SDKClient','fqmao','invalid\x20scope/key','AlClV','iSysu','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','startBinSession:\x20Calling\x20startBinSession','code','DEADLINE_EXCEEDED','REPLACE','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20generated\x20proto\x20message\x20TestCafeConfigRequest\x20missing.\x20','testFrameworkEvent','tCxFu','Stopping\x20bin\x20session','setPayloadJson','testOrchestration','IWNrZ','getBrowserstackCliConfig','setLevel','722618MwkCrW','setCliArgsList','CAwfY','Vumgn','MWXKH','\x20for\x20','MSmUz','ebmWH','warn','FetchDriverExecuteParamsEvent','hook_run_uuid','stringify','EIXnm','ConnectBinSession','accessibilityConfig','ZGRfH','SDK_START_BIN_SESSION','addAutomationSessions','invalid\x20mode','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','binSessionId','getAutomationFrameworkDetail','setProcessId','../utils/constants','\x1b[33m','Run\x20\x27cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build\x27\x20to\x20regenerate\x20stubs\x20from\x20the\x20updated\x20proto.','some','GrpcClient','GetAggregatedClientTroubleshootingErrors','logger','TestSessionEvent','PLdXx','getError','name','wMlKX','setOrchestrationMetadata','fileLogger','1481627ckEkvl','ReportClientTroubleshootingErrorRequest','connectBinSession','PlaywrightConfig','setSdkVersion','listenAddress','OqukI','ReportClientTroubleshootingError','Error\x20in\x20accessibilityResult:\x20','../../helpers/classLogger.js','PIDOA','Sending\x20TestSessionEvent','eyKiO','setKey','sRaVl','driverInit','TestCafeConfig','setTestIdentifier','acked','AWfGn','ETZor','parse','gNpzf','AccessibilityConfig\x20request\x20successful','AccessibilityConfigRequest','LPIeO','\x22accessKey\x22:\x22[REDACTED]\x22','credentials','cCbZG','version','FetchRunState\x20refused\x20for\x20','encode','vCBAa','getCallOptions','emphasis','setEventJson','duration','bEKek','null','DriverInitRequest','fbKPh','replace','LvIbb','hubUrl','getInstance','pCRnN','SbdPe','LZmOD','UUWVB','QjnxT','YSaXO',',\x20testRunId=','SmQcp','uuid','setBinSessionId','argv','mXtET','cDpmY','hash','ZiFpW','hHzQb','qKNEZ','EVOEv','xkCXy','gmcZj','init','vUPgu','PublishRunState','24yPyOms','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','stopBinSession','UGszA',',\x20testIdentifier=','end','message','PcrDs','1207242gdTIrl','addLogs','setEndedAt','LoJWA','\x1b[31m','BROWSERSTACK_CLI_BIN_SESSION_ID','Reporting\x20ClientTroubleshootingError\x20','877780rPnVli',';\x20this\x20key\x20cannot\x20be\x20read\x20as\x20requested','opKUt',',\x20product=','setResultType','no\x20gRPC\x20client','TxXGa','ExecutionContext','mvrha','StartBinSessionRequest','setTestFrameworkVersion','aFGGp','truncated','Sending\x20DriverInit','createInsecure','\x20—\x20','setHubUrl','getBrowserstackConfigPath','308468tyRvpW','4914414PZeDDc','kbUQP','LPKdA','LEemh','LogCreatedEventRequest','uxhBY','PCiXa','JIxwP'];a107_0x1dc3=function(){return _0x48ab42;};return a107_0x1dc3();}const a107_0x172fd8={};a107_0x172fd8[a107_0x318a48(0x166)]=a107_0x318a48(0x1a4),a107_0x172fd8[a107_0x318a48(0x237)]=a107_0x4453c3,a107_0x172fd8[a107_0x318a48(0x282)]=a107_0x254e94;function a107_0x1e98(_0x33d35f,_0x31229f){const _0x1dc3e4=a107_0x1dc3();return a107_0x1e98=function(_0x1e984c,_0x541a6c){_0x1e984c=_0x1e984c-0xe1;let _0x2e9ce2=_0x1dc3e4[_0x1e984c];return _0x2e9ce2;},a107_0x1e98(_0x33d35f,_0x31229f);}const SUMMARY_ANSI=a107_0x172fd8,colouriseSummaryBody=(_0x579f52,_0x50311e)=>{const _0x3505e7=a107_0x318a48,_0x235859={};_0x235859['CwIZq']=function(_0x425488,_0x4ec8bd){return _0x425488&&_0x4ec8bd;},_0x235859[_0x3505e7(0x1c6)]=function(_0x43b1f8,_0x637913){return _0x43b1f8===_0x637913;},_0x235859[_0x3505e7(0x190)]=_0x3505e7(0x237),_0x235859['JHRGW']=function(_0x5013ab,_0x4093c7){return _0x5013ab===_0x4093c7;},_0x235859['dHxSN']=_0x3505e7(0x282),_0x235859[_0x3505e7(0x114)]=function(_0x57bbd4,_0xedeab){return _0x57bbd4===_0xedeab;},_0x235859[_0x3505e7(0x1b6)]=_0x3505e7(0x1ae);const _0x203e93=_0x235859;try{if(!_0x579f52)return _0x579f52;const _0x12679d=_0x203e93[_0x3505e7(0x1c6)](_0x50311e,_0x203e93['nYCXE'])?SUMMARY_ANSI[_0x3505e7(0x237)]:_0x203e93['JHRGW'](_0x50311e,_0x203e93[_0x3505e7(0x168)])||_0x203e93[_0x3505e7(0x114)](_0x50311e,_0x203e93['YheYg'])?SUMMARY_ANSI[_0x3505e7(0x282)]:null;if(!_0x12679d)return _0x579f52;let _0x53d819=![];return _0x579f52['split']('\x0a')['map'](_0x1e01a3=>{const _0x576301=_0x3505e7,_0x350a2c=_0x1e01a3[_0x576301(0x164)]();if(!_0x350a2c)return _0x1e01a3;const _0x3e65c6=!/[A-Za-z0-9]/[_0x576301(0x1b7)](_0x350a2c);if(_0x203e93[_0x576301(0x19d)](!_0x3e65c6,!_0x53d819))return _0x53d819=!![],''+_0x12679d[_0x576301(0xfa)]+_0x1e01a3+SUMMARY_ANSI[_0x576301(0x166)];return''+_0x12679d[_0x576301(0x193)]+_0x1e01a3+SUMMARY_ANSI[_0x576301(0x166)];})[_0x3505e7(0x153)]('\x0a');}catch(_0x15acf6){return _0x579f52;}};class GrpcClient{static #instance=null;[a107_0x318a48(0x28e)]=null;[a107_0x318a48(0x2a4)]=null;[a107_0x318a48(0x239)]=null;[a107_0x318a48(0x1fc)]=null;['logger']=createClassLogger(a107_0x318a48(0x295));constructor(){}static[a107_0x318a48(0x104)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a107_0x318a48(0x119)](_0x137d43){const _0x1972a0=a107_0x318a48,_0xf6ff8f={'Bssjv':function(_0x3c7e7c,_0x5a2cb4){return _0x3c7e7c||_0x5a2cb4;},'ZLTAo':function(_0x579fb2,_0x26e888){return _0x579fb2(_0x26e888);},'PTdEM':'../../helpers/accessibility-automation/scripts.js'},{id:_0x5bd64c,listen:_0x36e1e4}=_0x137d43;if(_0xf6ff8f[_0x1972a0(0x14c)](!_0x5bd64c,!_0x36e1e4))throw new Error(_0x1972a0(0x28d)+_0x5bd64c+_0x1972a0(0x15f)+_0x36e1e4);this['binSessionId']=_0x5bd64c,this[_0x1972a0(0x2a4)]=_0x36e1e4,process[_0x1972a0(0x225)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x1972a0(0x28e)],process[_0x1972a0(0x225)][_0x1972a0(0x11d)]=this[_0x1972a0(0x2a4)],_0xf6ff8f[_0x1972a0(0x262)](require,_0xf6ff8f['PTdEM'])[_0x1972a0(0x1b8)](),this['connect'](),this[_0x1972a0(0x297)][_0x1972a0(0x21e)](_0x1972a0(0x26c)+this[_0x1972a0(0x28e)]+_0x1972a0(0x212)+this['listenAddress']);}['connect'](){const _0x34659c=a107_0x318a48,_0x4aa3a8={};_0x4aa3a8[_0x34659c(0x21b)]=_0x34659c(0x20e);const _0x1e6c47=_0x4aa3a8;let _0x259835=this[_0x34659c(0x2a4)];!_0x259835&&(_0x259835=process[_0x34659c(0x225)][_0x34659c(0x11d)]);!this[_0x34659c(0x28e)]&&(this['binSessionId']=this[_0x34659c(0x28e)]||process[_0x34659c(0x225)][_0x34659c(0x129)]);if(!_0x259835)throw new Error(_0x1e6c47[_0x34659c(0x21b)]);const _0x30ea34={};_0x30ea34['grpc.keepalive_time_ms']=0x2710,this['channel']=new grpc[(_0x34659c(0x258))](_0x259835,grpc[_0x34659c(0xf3)][_0x34659c(0x139)](),_0x30ea34),this[_0x34659c(0x1fc)]=new services[(_0x34659c(0x267))](_0x259835,grpc[_0x34659c(0xf3)][_0x34659c(0x139)]()),this[_0x34659c(0x297)][_0x34659c(0x21e)]('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x259835);}[a107_0x318a48(0x1b2)](){const _0x24bd85={};_0x24bd85['FuDpO']=function(_0x2ddd0c,_0x2020da){return _0x2ddd0c+_0x2020da;};const _0x570852=_0x24bd85;return _0x570852['FuDpO'](Date['now'](),0x7530);}[a107_0x318a48(0xf9)](){const _0x32e553=a107_0x318a48;return{'deadline':this[_0x32e553(0x1b2)]()};}async[a107_0x318a48(0x171)](){const _0x596a49=a107_0x318a48,_0x36205e={'PCiXa':function(_0x11746a,_0x52cdd7){return _0x11746a!==_0x52cdd7;},'iSysu':function(_0x5aafbd,_0x24d0db){return _0x5aafbd!==_0x24d0db;},'GqEUu':'StartBinSession','IYLfA':function(_0x5b6369,_0x1c2660){return _0x5b6369(_0x1c2660);},'AZJii':'StartBinSession\x20successful','bfXAW':function(_0x3297cc,_0x57e678){return _0x3297cc(_0x57e678);},'wlZbP':_0x596a49(0x26d),'bgXIR':'No\x20gRPC\x20client\x20not\x20initialized.','ebmWH':function(_0x10fd28,_0x290b8b){return _0x10fd28(_0x290b8b);},'ebepD':_0x596a49(0x162),'IWNrZ':function(_0x45c910,_0x56abf3){return _0x45c910 instanceof _0x56abf3;},'uxHmi':_0x596a49(0xfe),'MvCuJ':function(_0x35ce99,_0x42de91){return _0x35ce99||_0x42de91;},'qavdq':function(_0xdf2fe5,_0x11c678){return _0xdf2fe5||_0x11c678;}};PerformanceTester['start'](PerformanceEvents[_0x596a49(0x28a)]),this[_0x596a49(0x297)]['info'](_0x36205e[_0x596a49(0x1be)]);try{!this[_0x596a49(0x1fc)]&&this[_0x596a49(0x297)][_0x596a49(0x21e)](_0x36205e[_0x596a49(0x21f)]);const _0x48cd5e=CLIUtils[_0x596a49(0x181)](),_0x1b982d=CLIUtils['getAutomationFrameworkDetail'](),_0x2b1fc4=CLIUtils[_0x596a49(0x185)](),_0x4d1dfe=_0x1b982d[_0x596a49(0x29b)],_0x43f1da=_0x1b982d[_0x596a49(0xf5)],_0x139e33=_0x2b1fc4[_0x596a49(0x29b)],_0x401e42=_0x2b1fc4[_0x596a49(0xf5)]?_0x2b1fc4[_0x596a49(0xf5)][_0x139e33]:'',_0xba92d4=new messages[(_0x596a49(0x134))]();_0xba92d4[_0x596a49(0x10e)](this[_0x596a49(0x28e)]),_0xba92d4[_0x596a49(0x256)](CLIUtils[_0x596a49(0x215)]()),_0xba92d4[_0x596a49(0x2a3)](_0x48cd5e),_0xba92d4[_0x596a49(0x188)](process['cwd']());const _0xf05180=_0xba92d4[_0x596a49(0x1f1)]();Object['entries'](process['env'])[_0x596a49(0x264)](([_0x27d386,_0x3d1a8f])=>{const _0x5e43e5=_0x596a49;_0x36205e[_0x5e43e5(0x144)](_0x3d1a8f,undefined)&&_0x36205e[_0x5e43e5(0x26b)](_0x3d1a8f,null)&&_0xf05180[_0x5e43e5(0x217)](_0x27d386,_0x3d1a8f);});const _0x546d56=_0x36205e[_0x596a49(0x281)](require,_0x36205e[_0x596a49(0x16d)]),_0x841710=_0x546d56['getInstance']()[_0x596a49(0x278)](),_0x13f31f=[];_0x841710&&_0x36205e[_0x596a49(0x277)](_0x841710,Map)&&_0x841710[_0x596a49(0x264)]((_0x78465f,_0x104887)=>{const _0x15dee3=_0x596a49;_0x13f31f['push'](_0x15dee3(0x1e0)+_0x104887+'='+_0x78465f,_0x104887+'='+_0x78465f);});const _0x3d818a=process[_0x596a49(0x10f)][_0x596a49(0x1dd)](0x2);_0xba92d4[_0x596a49(0x27b)]([..._0x3d818a,..._0x13f31f]),_0xba92d4[_0x596a49(0x152)](_0x546d56[_0x596a49(0x104)]()[_0x596a49(0x13c)]()),this['logger'][_0x596a49(0x21e)](_0x596a49(0x20f)+JSON['stringify'](_0x3d818a)+_0x596a49(0x191)+(_0x841710?JSON['stringify']([..._0x841710]):_0x36205e['uxHmi'])),_0xba92d4['setLanguage'](CLIUtils[_0x596a49(0x215)]()),_0xba92d4[_0x596a49(0x22e)](_0x139e33);const _0x216f8a=_0xba92d4['getFrameworkVersionsMap']();return _0x216f8a['set'](_0x4d1dfe,_0x36205e[_0x596a49(0x1ea)](_0x43f1da,'')),_0x216f8a[_0x596a49(0x217)](_0x139e33,_0x36205e[_0x596a49(0x235)](_0x401e42,'')),_0xba92d4[_0x596a49(0x218)](_0x4d1dfe,_0x43f1da),_0xba92d4[_0x596a49(0x218)](_0x139e33,_0x401e42),_0xba92d4[_0x596a49(0x1d6)]([_0x139e33,_0x4d1dfe]),new Promise((_0x230afb,_0x2ac65e)=>{const _0x15a6fc=_0x596a49;this['client'][_0x15a6fc(0x171)](_0xba92d4,this[_0x15a6fc(0xf9)](),(_0x1cde26,_0x111a65)=>{const _0xe0b42d=_0x15a6fc;if(_0x1cde26){sdkErrorHandler[_0xe0b42d(0x189)](_0x36205e[_0xe0b42d(0x259)],_0x1cde26,this[_0xe0b42d(0x297)]),_0x36205e[_0xe0b42d(0x1ef)](_0x2ac65e,_0x1cde26),PerformanceTester['end'](PerformanceEvents[_0xe0b42d(0x28a)],![],util[_0xe0b42d(0x18d)](_0x1cde26));return;}this['logger']['info'](_0x36205e[_0xe0b42d(0x231)]),PerformanceTester[_0xe0b42d(0x121)](PerformanceEvents[_0xe0b42d(0x28a)]),_0x36205e[_0xe0b42d(0x14b)](_0x230afb,_0x111a65);});});}catch(_0x3377d8){sdkErrorHandler[_0x596a49(0x189)](_0x36205e[_0x596a49(0x259)],_0x3377d8,this['logger']),PerformanceTester[_0x596a49(0x121)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x596a49(0x18d)](_0x3377d8));throw _0x3377d8;}}async[a107_0x318a48(0x2a1)](){const _0x2c798e=a107_0x318a48,_0x146e82={'hPfVq':function(_0x5d51cb,_0x5f1c4c){return _0x5d51cb(_0x5f1c4c);},'cofFY':'ConnectBinSession\x20successful','PLdXx':_0x2c798e(0x22d),'xSgda':'No\x20gRPC\x20client\x20not\x20initialized.','bgAjH':'\x22userName\x22:\x22[REDACTED]\x22','pCRnN':_0x2c798e(0xf2),'RQFRk':_0x2c798e(0x21d),'InIHn':_0x2c798e(0x287)};PerformanceTester['start'](PerformanceEvents[_0x2c798e(0x25d)]),this[_0x2c798e(0x297)][_0x2c798e(0x21e)](_0x146e82[_0x2c798e(0x299)]);try{!this[_0x2c798e(0x1fc)]&&this['logger'][_0x2c798e(0x21e)](_0x146e82[_0x2c798e(0x238)]);const _0x3a4b60=new messages[(_0x2c798e(0x19f))]();_0x3a4b60[_0x2c798e(0x10e)](this['binSessionId']);const _0x2b5175=await new Promise((_0x1e4d04,_0x4461e6)=>{const _0x551b78=_0x2c798e;this[_0x551b78(0x1fc)]['connectBinSession'](_0x3a4b60,this[_0x551b78(0xf9)](),(_0x2c6a29,_0x22bc25)=>{const _0x108d99=_0x551b78;if(_0x2c6a29){_0x146e82[_0x108d99(0x1e2)](_0x4461e6,_0x2c6a29),PerformanceTester['end'](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x108d99(0x18d)](_0x2c6a29));return;}this[_0x108d99(0x297)]['info'](_0x146e82['cofFY']),PerformanceTester[_0x108d99(0x121)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x146e82[_0x108d99(0x1e2)](_0x1e4d04,_0x22bc25);});}),_0xe870dd=util[_0x2c798e(0x18d)](_0x2b5175)[_0x2c798e(0x101)](/"userName":"[^"]*"/g,_0x146e82[_0x2c798e(0x1bb)])['replace'](/"accessKey":"[^"]*"/g,_0x146e82[_0x2c798e(0x105)])[_0x2c798e(0x101)](/"key":"[^"]*"/g,_0x146e82['RQFRk']);return this['logger'][_0x2c798e(0x1da)]('connect-bin-session\x20response:\x20'+_0xe870dd),_0x2b5175;}catch(_0x25a6e2){PerformanceTester[_0x2c798e(0x121)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x2c798e(0x18d)](_0x25a6e2)),sdkErrorHandler[_0x2c798e(0x189)](_0x146e82[_0x2c798e(0x19c)],_0x25a6e2,this[_0x2c798e(0x297)]);throw _0x25a6e2;}}async[a107_0x318a48(0x11e)](_0x33bf31={},_0xbbde06=null){const _0x179e48=a107_0x318a48,_0x37b58e={'VDnjp':function(_0x4e5228,_0x5c830a){return _0x4e5228(_0x5c830a);},'WxquQ':'StopBinSession\x20successful','tRnPj':_0x179e48(0x274),'rhZcp':_0x179e48(0x213),'TxXGa':_0x179e48(0x16b),'qwime':_0x179e48(0x1c4),'tCxFu':function(_0x49c2da,_0x4b94d7){return _0x49c2da===_0x4b94d7;},'IMMJX':_0x179e48(0x248),'nClsd':'info','SbdPe':_0x179e48(0x282),'ETZor':_0x179e48(0x1ae),'AlClV':_0x179e48(0x237),'EVOEv':function(_0x22ac4d,_0x2adaac){return _0x22ac4d+_0x2adaac;},'AWfGn':function(_0x463931,_0x1c8370,_0xf3149c){return _0x463931(_0x1c8370,_0xf3149c);},'LEemh':function(_0x13e185,_0x150ae6){return _0x13e185===_0x150ae6;},'zEmVp':function(_0x1afd12,_0x50b519){return _0x1afd12===_0x50b519;},'OwUcW':_0x179e48(0x183)};PerformanceTester['start'](PerformanceEvents[_0x179e48(0x255)]),this[_0x179e48(0x297)][_0x179e48(0x21e)](_0x37b58e['tRnPj']),this[_0x179e48(0x1b9)]=![];try{if(!this[_0x179e48(0x28e)])throw new Error(_0x37b58e['rhZcp']);!this['client']&&this[_0x179e48(0x297)][_0x179e48(0x21e)](_0x37b58e[_0x179e48(0x131)]);const _0x2182e6=new messages[(_0x179e48(0x25a))]();this[_0x179e48(0x297)][_0x179e48(0x1da)]('Stopping\x20signal\x20'+JSON['stringify'](_0xbbde06)),_0x2182e6['setBinSessionId'](this[_0x179e48(0x28e)]),_0x2182e6[_0x179e48(0x260)](_0x33bf31),_0x2182e6[_0x179e48(0x16e)](_0xbbde06?_0xbbde06:null),_0x2182e6[_0x179e48(0x220)](_0xbbde06?_0x37b58e[_0x179e48(0x16a)]:null),_0x2182e6['setExitCode'](_0xbbde06?0x1:0x0);const _0x2ed4b1=await new Promise((_0x35215d,_0x526f89)=>{const _0x28fd34=_0x179e48,_0x4a9f0b={'XPleQ':function(_0x2130d4,_0xfd8736){return _0x37b58e['VDnjp'](_0x2130d4,_0xfd8736);},'xxIYZ':_0x37b58e[_0x28fd34(0x182)]};this[_0x28fd34(0x1fc)]['stopBinSession'](_0x2182e6,this[_0x28fd34(0xf9)](),(_0x20c4f9,_0x4fe21e)=>{const _0x23e19a=_0x28fd34;if(_0x20c4f9){_0x4a9f0b[_0x23e19a(0x195)](_0x526f89,_0x20c4f9),PerformanceTester[_0x23e19a(0x121)](PerformanceEvents[_0x23e19a(0x255)],![],util[_0x23e19a(0x18d)](_0x20c4f9));return;}this[_0x23e19a(0x297)][_0x23e19a(0x21e)](_0x4a9f0b[_0x23e19a(0x160)]),PerformanceTester[_0x23e19a(0x121)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x4a9f0b[_0x23e19a(0x195)](_0x35215d,_0x4fe21e);});});this[_0x179e48(0x297)][_0x179e48(0x1da)](_0x179e48(0x205)+util['format'](_0x2ed4b1));try{const _0x22095b=_0x37b58e[_0x179e48(0x273)](typeof _0x2ed4b1['getEntriesList'],_0x37b58e[_0x179e48(0x19b)])?_0x2ed4b1[_0x179e48(0x226)]():[];for(const _0x4d9a73 of _0x22095b){const _0x1e9a3b=_0x4d9a73&&_0x37b58e[_0x179e48(0x273)](typeof _0x4d9a73[_0x179e48(0x18a)],_0x37b58e['IMMJX'])?_0x4d9a73['getBody']():'';if(!_0x1e9a3b)continue;const _0x368804=(_0x4d9a73[_0x179e48(0x1ff)]&&_0x4d9a73[_0x179e48(0x1ff)]()||_0x37b58e[_0x179e48(0x201)])[_0x179e48(0x209)](),_0x234a63=_0x37b58e[_0x179e48(0x273)](_0x368804,_0x37b58e[_0x179e48(0x106)])||_0x37b58e[_0x179e48(0x273)](_0x368804,_0x37b58e[_0x179e48(0xec)])||_0x37b58e[_0x179e48(0x273)](_0x368804,_0x37b58e['AlClV']),_0x184df0=_0x234a63?process[_0x179e48(0x22a)]:process[_0x179e48(0x194)];_0x184df0['write'](_0x37b58e[_0x179e48(0x116)](_0x37b58e[_0x179e48(0xeb)](colouriseSummaryBody,_0x1e9a3b,_0x368804),'\x0a'));const _0xb8083c=_0x37b58e[_0x179e48(0x141)](_0x368804,_0x37b58e[_0x179e48(0x26a)])?_0x37b58e[_0x179e48(0x26a)]:_0x234a63?_0x37b58e[_0x179e48(0x106)]:_0x37b58e[_0x179e48(0x201)];fileLogger[_0xb8083c](_0x1e9a3b);}}catch(_0x221aeb){this[_0x179e48(0x297)][_0x179e48(0x1da)](_0x179e48(0x228)+(_0x221aeb['stack']||_0x221aeb));}return _0x2ed4b1;}catch(_0x50455b){PerformanceTester[_0x179e48(0x121)](PerformanceEvents[_0x179e48(0x255)],![],util[_0x179e48(0x18d)](_0x50455b)),this['lastStopDeadlineExceeded']=!!(_0x50455b&&_0x37b58e[_0x179e48(0x224)](_0x50455b[_0x179e48(0x26e)],grpc['status'][_0x179e48(0x26f)])),sdkErrorHandler[_0x179e48(0x189)](_0x37b58e[_0x179e48(0x1d1)],_0x50455b,this['logger']);}}async[a107_0x318a48(0x223)](_0x2be224){const _0x127743=a107_0x318a48,_0x253baa={'cSEax':_0x127743(0x2a2),'DDpRR':function(_0x263390,_0x5e4266){return _0x263390(_0x5e4266);},'QjnxT':'PlaywrightConfig\x20request\x20successful','mtIvt':'Getting\x20Playwright\x20config','VyXze':_0x127743(0x16b)};PerformanceTester[_0x127743(0x1ee)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),this[_0x127743(0x297)][_0x127743(0x21e)](_0x253baa[_0x127743(0x1e4)]);try{!this[_0x127743(0x1fc)]&&this[_0x127743(0x297)]['info'](_0x253baa[_0x127743(0x1d3)]);const _0x1f0445=new messages[(_0x127743(0x229))]();return _0x1f0445[_0x127743(0x10e)](this[_0x127743(0x28e)]),_0x1f0445[_0x127743(0x1db)](JSON[_0x127743(0x285)](_0x2be224)),new Promise((_0xd0968e,_0x8a162d)=>{const _0x53f72c=_0x127743;this[_0x53f72c(0x1fc)]['playwrightConfig'](_0x1f0445,this[_0x53f72c(0xf9)](),(_0x32d3c7,_0x21d534)=>{const _0x64fab1=_0x53f72c;if(_0x32d3c7){sdkErrorHandler['handle'](_0x253baa['cSEax'],_0x32d3c7,this[_0x64fab1(0x297)]),_0x253baa['DDpRR'](_0x8a162d,_0x32d3c7),PerformanceTester[_0x64fab1(0x121)](PerformanceEvents[_0x64fab1(0x1b5)],![],util[_0x64fab1(0x18d)](_0x32d3c7));return;}this[_0x64fab1(0x297)]['info'](_0x253baa[_0x64fab1(0x109)]),PerformanceTester['end'](PerformanceEvents[_0x64fab1(0x1b5)]),_0x253baa['DDpRR'](_0xd0968e,_0x21d534);});});}catch(_0x1d4d7e){PerformanceTester[_0x127743(0x121)](PerformanceEvents[_0x127743(0x1b5)],![],util[_0x127743(0x18d)](_0x1d4d7e)),sdkErrorHandler['handle'](_0x253baa['cSEax'],_0x1d4d7e,this[_0x127743(0x297)]);throw _0x1d4d7e;}}async[a107_0x318a48(0x1f6)](){const _0x24c4d8=a107_0x318a48,_0xdb7ab2={'ZGjEG':_0x24c4d8(0x1ad),'CAwfY':function(_0x5e51f5,_0x577e2e){return _0x5e51f5(_0x577e2e);},'utPhp':'DetoxConfig\x20returned\x20success=false','JCCXI':'DetoxConfig\x20request\x20successful','rZWwc':function(_0xfaac70,_0x424584){return _0xfaac70(_0x424584);},'vCBAa':_0x24c4d8(0x1aa)};this[_0x24c4d8(0x297)][_0x24c4d8(0x21e)](_0xdb7ab2[_0x24c4d8(0xf8)]);const _0x260751=new messages['DetoxConfigRequest']();return _0x260751['setBinSessionId'](this['binSessionId']),new Promise((_0x462cfd,_0x34f3ac)=>{const _0x45aeb6=_0x24c4d8;this[_0x45aeb6(0x1fc)][_0x45aeb6(0x203)](_0x260751,this[_0x45aeb6(0xf9)](),(_0x456e18,_0xf95feb)=>{const _0x3d8898=_0x45aeb6;if(_0x456e18){sdkErrorHandler[_0x3d8898(0x189)](_0xdb7ab2[_0x3d8898(0x1bc)],_0x456e18,this[_0x3d8898(0x297)]),_0xdb7ab2[_0x3d8898(0x27c)](_0x34f3ac,_0x456e18);return;}try{if(!_0xf95feb[_0x3d8898(0x18f)]()){_0xdb7ab2[_0x3d8898(0x27c)](_0x34f3ac,new Error(_0xf95feb[_0x3d8898(0x29a)]&&_0xf95feb[_0x3d8898(0x29a)]()?_0xf95feb[_0x3d8898(0x29a)]():_0xdb7ab2['utPhp']));return;}this[_0x3d8898(0x297)][_0x3d8898(0x21e)](_0xdb7ab2[_0x3d8898(0x1fa)]);const _0xe9cbe4=JSON[_0x3d8898(0xed)](_0xf95feb[_0x3d8898(0x150)]());_0xf95feb[_0x3d8898(0x1ab)]&&_0xf95feb[_0x3d8898(0x1ab)]()&&(_0xe9cbe4['localBound']=_0xf95feb[_0x3d8898(0x1d4)]()),_0xdb7ab2['CAwfY'](_0x462cfd,_0xe9cbe4);}catch(_0x56cba5){_0xdb7ab2[_0x3d8898(0x15d)](_0x34f3ac,_0x56cba5);}});});}async[a107_0x318a48(0x17c)](_0x1e4e16){const _0x5cbff9=a107_0x318a48,_0x47a363={'CAYxx':_0x5cbff9(0x179),'JIxwP':function(_0x13c53a,_0x3e24cf){return _0x13c53a(_0x3e24cf);},'crSRl':function(_0xa35a4,_0x57f199){return _0xa35a4(_0x57f199);}},_0xf26756=new messages['DetoxMarkSessionsRequest']();return _0xf26756[_0x5cbff9(0x10e)](this[_0x5cbff9(0x28e)]),_0xf26756[_0x5cbff9(0x204)](JSON[_0x5cbff9(0x285)](_0x1e4e16||[])),new Promise((_0x18702d,_0x3f2e1a)=>{const _0x37a1c5=_0x5cbff9,_0x14dedd={'JTpZJ':_0x47a363['CAYxx'],'UGszA':function(_0x3a9e14,_0x2e9b75){const _0x2c70d4=a107_0x1e98;return _0x47a363[_0x2c70d4(0x145)](_0x3a9e14,_0x2e9b75);},'XhRER':function(_0x1ff63d,_0x4acfdf){return _0x47a363['crSRl'](_0x1ff63d,_0x4acfdf);}};this[_0x37a1c5(0x1fc)]['detoxMarkSessions'](_0xf26756,this['getCallOptions'](),(_0x372dec,_0x17e62c)=>{const _0x29c15d=_0x37a1c5;if(_0x372dec){sdkErrorHandler[_0x29c15d(0x189)](_0x14dedd[_0x29c15d(0x19e)],_0x372dec,this[_0x29c15d(0x297)]),_0x14dedd[_0x29c15d(0x11f)](_0x3f2e1a,_0x372dec);return;}_0x14dedd[_0x29c15d(0x11f)](_0x18702d,_0x14dedd[_0x29c15d(0x187)](Boolean,_0x17e62c[_0x29c15d(0x18f)]()));});});}async['getAccessibilityConfig'](_0xfdaddc){const _0x29082e=a107_0x318a48,_0x4e5e12={'TyWbl':_0x29082e(0x200),'seiMP':function(_0x272ac6,_0x59a8f6){return _0x272ac6(_0x59a8f6);},'Mykfh':_0x29082e(0xef),'lMRIJ':function(_0x4bfa7c,_0x258b0a){return _0x4bfa7c(_0x258b0a);},'dAGes':function(_0x1b1f5e,_0x45ba4c){return _0x1b1f5e||_0x45ba4c;},'Kbjkt':'not\x20provided','KUnEa':_0x29082e(0x14e)},_0x1fce7d=_0xfdaddc[_0x29082e(0x1c0)]?.[_0x29082e(0x1e9)]||_0xfdaddc[_0x29082e(0x1c0)]?.['id'];this['logger'][_0x29082e(0x21e)]('[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier='+_0x4e5e12['dAGes'](_0x1fce7d,_0x4e5e12[_0x29082e(0x18c)]));try{const _0xb992fb=Buffer[_0x29082e(0x1d5)](JSON[_0x29082e(0x285)](_0xfdaddc[_0x29082e(0x151)]),_0x4e5e12['KUnEa']),_0x57e2d9=new messages[(_0x29082e(0xf0))](),_0x543427=CLIUtils[_0x29082e(0x28f)](),_0x49a373=_0x543427[_0x29082e(0x29b)],_0x5036eb=_0x543427['version'];_0x57e2d9[_0x29082e(0x10e)](this[_0x29082e(0x28e)]),_0x57e2d9[_0x29082e(0x16c)](0x0),_0x57e2d9[_0x29082e(0x1ba)](_0x49a373),_0x57e2d9[_0x29082e(0x207)](_0x5036eb),_0x57e2d9[_0x29082e(0x13b)](_0xfdaddc[_0x29082e(0x103)]),_0x57e2d9['setCapabilities'](_0xb992fb);if(_0xfdaddc[_0x29082e(0x1c0)]?.[_0x29082e(0x1e9)]||_0xfdaddc[_0x29082e(0x1c0)]?.['id']){const _0x40c326=_0xfdaddc[_0x29082e(0x1c0)][_0x29082e(0x1e9)]||_0xfdaddc['testInfo']['id'];_0x57e2d9[_0x29082e(0xe9)](_0x40c326),this[_0x29082e(0x297)]['debug'](_0x29082e(0x208)+_0x40c326+'\x20for\x20tag\x20validation');}return new Promise((_0x5be880,_0x54312f)=>{const _0x47c655=_0x29082e,_0x4b0c67={'SmQcp':_0x4e5e12['TyWbl'],'WJKQU':function(_0x30a37c,_0xe9dfb1){return _0x4e5e12['seiMP'](_0x30a37c,_0xe9dfb1);},'wtmOa':_0x4e5e12[_0x47c655(0x159)],'gNpzf':function(_0x29e67c,_0x35459a){const _0x20e582=_0x47c655;return _0x4e5e12[_0x20e582(0x1cf)](_0x29e67c,_0x35459a);}};this[_0x47c655(0x1fc)][_0x47c655(0x288)](_0x57e2d9,this[_0x47c655(0xf9)](),(_0x21254e,_0x3b74f5)=>{const _0x334c2c=_0x47c655;if(_0x21254e){sdkErrorHandler[_0x334c2c(0x189)](_0x4b0c67[_0x334c2c(0x10c)],_0x21254e,this[_0x334c2c(0x297)]),_0x4b0c67[_0x334c2c(0x147)](_0x54312f,_0x21254e);return;}this[_0x334c2c(0x297)][_0x334c2c(0x21e)](_0x4b0c67['wtmOa']),_0x4b0c67[_0x334c2c(0xee)](_0x5be880,_0x3b74f5);});});}catch(_0x3517ec){sdkErrorHandler[_0x29082e(0x189)](_0x4e5e12['TyWbl'],_0x3517ec,this[_0x29082e(0x297)]);}}async[a107_0x318a48(0x276)](_0x23c74a,_0x20bb75=null,_0x5a849b=null){const _0x19c9af=a107_0x318a48,_0x3d892c={'ylsig':'TestOrchestration','cCbZG':function(_0x516226,_0x844397){return _0x516226(_0x844397);}};try{const _0x3aea5d=new messages[(_0x19c9af(0x247))]();return _0x3aea5d['setBinSessionId'](this[_0x19c9af(0x28e)]),_0x3aea5d[_0x19c9af(0x1e6)](_0x23c74a||[]),_0x20bb75&&_0x3aea5d['setOrchestrationStrategy'](_0x20bb75),_0x5a849b&&_0x3aea5d[_0x19c9af(0x29d)](_0x5a849b),new Promise((_0x112144,_0x3b6285)=>{const _0x1ac697=_0x19c9af;this[_0x1ac697(0x1fc)][_0x1ac697(0x276)](_0x3aea5d,(_0xde40e3,_0x29d85f)=>{const _0xc5ea1a=_0x1ac697;if(_0xde40e3){sdkErrorHandler[_0xc5ea1a(0x189)](_0x3d892c[_0xc5ea1a(0x1a1)],_0xde40e3,this[_0xc5ea1a(0x297)]),_0x3d892c[_0xc5ea1a(0xf4)](_0x3b6285,_0xde40e3);return;}this[_0xc5ea1a(0x297)][_0xc5ea1a(0x1da)](_0xc5ea1a(0x21a)+util[_0xc5ea1a(0x18d)](_0x29d85f));if(_0x29d85f['getSuccess']()){const _0x243749=_0x29d85f['getOrderedTestFilesList']();_0x3d892c[_0xc5ea1a(0xf4)](_0x112144,_0x243749);}else _0x3d892c[_0xc5ea1a(0xf4)](_0x112144,null);});});}catch(_0x3685ba){return sdkErrorHandler['handle'](_0x3d892c[_0x19c9af(0x1a1)],_0x3685ba,this[_0x19c9af(0x297)]),null;}}async[a107_0x318a48(0x1f8)](_0x47d42d,_0x177ee2,_0x4a0064,_0x407e11,_0x2efa13){const _0x5588ef=a107_0x318a48,_0x25d4a4={'IYMnw':function(_0x5f1916,_0x480ad6){return _0x5f1916(_0x480ad6);},'PcrDs':'AccessibilityResult\x20request\x20successful'};this[_0x5588ef(0x297)][_0x5588ef(0x21e)](_0x5588ef(0x17d)+_0x407e11+_0x5588ef(0x10b)+_0x177ee2);try{const _0x4367a7=new messages[(_0x5588ef(0x24d))]();return _0x4367a7[_0x5588ef(0x10e)](_0x47d42d),_0x4367a7['setTestRunId'](_0x177ee2),_0x4367a7['setSessionId'](_0x4a0064),_0x4367a7[_0x5588ef(0x12f)](_0x407e11),_0x2efa13&&_0x4367a7['setTestIdentifier'](_0x2efa13),new Promise((_0x5d2a0c,_0x4de264)=>{const _0x1d6112=_0x5588ef;this[_0x1d6112(0x1fc)][_0x1d6112(0x1f8)](_0x4367a7,(_0x103db8,_0x12331e)=>{const _0x26b852=_0x1d6112;if(_0x103db8){this['logger']['error'](_0x26b852(0x1e5)+_0x103db8[_0x26b852(0x122)]),_0x25d4a4['IYMnw'](_0x4de264,_0x103db8);return;}this['logger'][_0x26b852(0x21e)](_0x25d4a4[_0x26b852(0x123)]),_0x25d4a4[_0x26b852(0x1f2)](_0x5d2a0c,_0x12331e);});});}catch(_0x2bf7a2){this[_0x5588ef(0x297)]['error'](_0x5588ef(0x2a7)+util[_0x5588ef(0x18d)](_0x2bf7a2));throw _0x2bf7a2;}}async[a107_0x318a48(0x253)](_0x40b4d4){const _0x701efb=a107_0x318a48,_0x554355={'zTGld':_0x701efb(0x298),'eyKiO':_0x701efb(0x1da),'YRxQg':function(_0x51102e,_0x483dfb){return _0x51102e(_0x483dfb);},'rLZnc':_0x701efb(0x177),'xPsgl':function(_0x3b29a0,_0x2129a6){return _0x3b29a0(_0x2129a6);},'mDCNR':_0x701efb(0xe3),'OrtgT':_0x701efb(0x16b)};this[_0x701efb(0x297)][_0x701efb(0x21e)](_0x554355[_0x701efb(0x242)]);try{!this[_0x701efb(0x1fc)]&&this[_0x701efb(0x297)][_0x701efb(0x21e)](_0x554355[_0x701efb(0x23a)]);const {platformIndex:_0x442618,testFrameworkName:_0x4bbf96,testFrameworkVersion:_0x58fc18,testFrameworkState:_0x457821,testHookState:_0xd87f47,testUuid:_0x52e32b,automationSession:_0x2fe740,capabilities:_0x236a35,executionContext:_0x55febd,test_identifier:_0x36bdda}=_0x40b4d4,_0x326a76=new messages[(_0x701efb(0x1f4))]();_0x326a76[_0x701efb(0x10e)](this[_0x701efb(0x28e)]),_0x326a76['setPlatformIndex'](_0x442618),_0x326a76[_0x701efb(0x176)](_0x4bbf96),_0x326a76[_0x701efb(0x135)](_0x58fc18),_0x326a76[_0x701efb(0x14d)](_0x457821),_0x326a76[_0x701efb(0x251)](_0xd87f47),_0x326a76[_0x701efb(0x14f)](_0x52e32b);const _0x7bbe60=new messages[(_0x701efb(0x1f4))]['AutomationSession']();_0x7bbe60['setProvider'](_0x2fe740['provider']),_0x7bbe60[_0x701efb(0x1ba)](_0x2fe740[_0x701efb(0x1cc)]),_0x7bbe60[_0x701efb(0x207)](_0x2fe740[_0x701efb(0x1e8)]),_0x7bbe60[_0x701efb(0x172)](_0x2fe740['frameworkSessionId']),_0x7bbe60[_0x701efb(0x1a8)](_0x2fe740[_0x701efb(0x17f)]),_0x7bbe60[_0x701efb(0x240)](_0x2fe740['ref']),_0x7bbe60['setHubUrl'](_0x2fe740[_0x701efb(0x103)]),_0x326a76[_0x701efb(0x28b)](_0x7bbe60),_0x326a76[_0x701efb(0x1c9)](_0x236a35);const _0x2f3af9=new messages[(_0x701efb(0x132))]();return _0x2f3af9['setProcessId'](_0x55febd[_0x701efb(0x21c)]),_0x2f3af9[_0x701efb(0x1af)](_0x55febd[_0x701efb(0x1c7)]),_0x2f3af9[_0x701efb(0x1a0)](_0x55febd[_0x701efb(0x112)]),_0x326a76[_0x701efb(0x1bd)](_0x2f3af9),_0x36bdda&&_0x326a76[_0x701efb(0xe9)](_0x36bdda),new Promise((_0x1cdabc,_0x1a3f82)=>{const _0x543b31=_0x701efb;this[_0x543b31(0x1fc)][_0x543b31(0x253)](_0x326a76,this[_0x543b31(0xf9)](),(_0x2088c4,_0x4c82a9)=>{const _0xfe2f86=_0x543b31;if(_0x2088c4){sdkErrorHandler[_0xfe2f86(0x189)](_0x554355[_0xfe2f86(0x249)],_0x2088c4,this[_0xfe2f86(0x297)],_0x554355[_0xfe2f86(0xe4)]),_0x554355['YRxQg'](_0x1a3f82,_0x2088c4);return;}this[_0xfe2f86(0x297)][_0xfe2f86(0x21e)](_0x554355['rLZnc']),_0x554355[_0xfe2f86(0x1a3)](_0x1cdabc,_0x4c82a9);});});}catch(_0x36034f){sdkErrorHandler[_0x701efb(0x189)](_0x554355[_0x701efb(0x249)],_0x36034f,this['logger'],_0x554355[_0x701efb(0xe4)]);throw _0x36034f;}}async['testFrameworkEvent'](_0x3f2387){const _0x5cf0bf=a107_0x318a48,_0x4b7403={'JVROJ':_0x5cf0bf(0x232),'HZfbL':'debug','jNgPm':function(_0x5d8aae,_0x123072){return _0x5d8aae(_0x123072);},'PRzwP':'TestFrameworkEvent\x20request\x20successful','ubRJI':function(_0x2b3eb5,_0x45b745){return _0x2b3eb5(_0x45b745);},'nyAKe':_0x5cf0bf(0x1e3),'QRVJw':_0x5cf0bf(0x16b)};this['logger'][_0x5cf0bf(0x21e)](_0x4b7403[_0x5cf0bf(0x165)]);try{!this[_0x5cf0bf(0x1fc)]&&this[_0x5cf0bf(0x297)][_0x5cf0bf(0x21e)](_0x4b7403['QRVJw']);const {platformIndex:_0x7969c1,testFrameworkName:_0x1955b1,testFrameworkVersion:_0x481e46,testFrameworkState:_0x1ca38d,hookState:_0x57fce2,startedAt:_0x45bd4b,endedAt:_0x1f12a9,uuid:_0x1a0dca,eventJson:_0x1f347f,executionContext:_0x51bd9a,test_identifier:_0x425616}=_0x3f2387,_0x1f6417=new messages[(_0x5cf0bf(0x18e))]();_0x1f6417[_0x5cf0bf(0x10e)](this['binSessionId']),_0x1f6417['setPlatformIndex'](_0x7969c1),_0x1f6417[_0x5cf0bf(0x176)](_0x1955b1),_0x1f6417[_0x5cf0bf(0x135)](_0x481e46),_0x1f6417[_0x5cf0bf(0x14d)](_0x1ca38d),_0x1f6417['setTestHookState'](_0x57fce2),_0x1f6417[_0x5cf0bf(0x25e)](_0x45bd4b),_0x1f6417[_0x5cf0bf(0x126)](_0x1f12a9),_0x1f6417[_0x5cf0bf(0x1f0)](_0x1a0dca),_0x1f6417[_0x5cf0bf(0xfb)](_0x1f347f);const _0x2f4067=new messages[(_0x5cf0bf(0x132))]();return _0x2f4067[_0x5cf0bf(0x290)](_0x51bd9a[_0x5cf0bf(0x21c)]),_0x2f4067[_0x5cf0bf(0x1af)](_0x51bd9a['threadId']),_0x2f4067[_0x5cf0bf(0x1a0)](_0x51bd9a[_0x5cf0bf(0x112)]),_0x1f6417[_0x5cf0bf(0x1bd)](_0x2f4067),_0x425616&&_0x1f6417['setTestIdentifier'](_0x425616),new Promise((_0x7d9746,_0x330409)=>{const _0x315678=_0x5cf0bf;this[_0x315678(0x1fc)][_0x315678(0x272)](_0x1f6417,this[_0x315678(0xf9)](),(_0x20e69a,_0x512fda)=>{const _0x2ef46e=_0x315678;if(_0x20e69a){sdkErrorHandler[_0x2ef46e(0x189)](_0x4b7403['JVROJ'],_0x20e69a,this[_0x2ef46e(0x297)],_0x4b7403['HZfbL']),_0x4b7403[_0x2ef46e(0x23c)](_0x330409,_0x20e69a);return;}this[_0x2ef46e(0x297)][_0x2ef46e(0x21e)](_0x4b7403[_0x2ef46e(0x1c2)]),_0x4b7403['ubRJI'](_0x7d9746,_0x512fda);});});}catch(_0x1dddf5){sdkErrorHandler[_0x5cf0bf(0x189)](_0x4b7403[_0x5cf0bf(0x1de)],_0x1dddf5,this[_0x5cf0bf(0x297)],_0x4b7403[_0x5cf0bf(0x15b)]);throw _0x1dddf5;}}async[a107_0x318a48(0xe7)](_0x5b221b){const _0x4f03d=a107_0x318a48,_0x583072={'qKNEZ':'DriverInit','opKUt':function(_0x4fda18,_0x55e099){return _0x4fda18(_0x55e099);},'gmcZj':_0x4f03d(0x1c1),'mXtET':_0x4f03d(0x138),'fjymS':_0x4f03d(0x16b),'YSaXO':function(_0x53de7c,_0x20300f){return _0x53de7c!==_0x20300f;}};this[_0x4f03d(0x297)][_0x4f03d(0x21e)](_0x583072[_0x4f03d(0x110)]);try{!this['client']&&this[_0x4f03d(0x297)][_0x4f03d(0x21e)](_0x583072['fjymS']);const {platformIndex:_0x1be559,ref:_0x1f46da,userInputParams:_0x5162f4,hubUrl:_0xfadf6f,isSecondaryDriver:_0x42f37d}=_0x5b221b,_0x188d9c=new messages[(_0x4f03d(0xff))]();return _0x188d9c[_0x4f03d(0x10e)](this[_0x4f03d(0x28e)]),_0x188d9c['setPlatformIndex'](_0x1be559),_0x188d9c['setRef'](_0x1f46da),_0x188d9c[_0x4f03d(0x230)](_0x5162f4),_0x188d9c['setHubUrl'](_0xfadf6f),_0x583072[_0x4f03d(0x10a)](_0x42f37d,undefined)&&_0x188d9c[_0x4f03d(0x161)](_0x42f37d),new Promise((_0x532abf,_0x2834c7)=>{const _0x1e7286=_0x4f03d;this[_0x1e7286(0x1fc)]['driverInit'](_0x188d9c,this[_0x1e7286(0xf9)](),(_0xac6cc8,_0x1ebebc)=>{const _0x59879d=_0x1e7286;if(_0xac6cc8){sdkErrorHandler[_0x59879d(0x189)](_0x583072['qKNEZ'],_0xac6cc8,this[_0x59879d(0x297)]),_0x583072['opKUt'](_0x2834c7,_0xac6cc8);return;}this[_0x59879d(0x297)][_0x59879d(0x21e)](_0x583072[_0x59879d(0x118)]),_0x583072[_0x59879d(0x12d)](_0x532abf,_0x1ebebc);});});}catch(_0x4bf45d){sdkErrorHandler[_0x4f03d(0x189)](_0x583072[_0x4f03d(0x115)],_0x4bf45d,this[_0x4f03d(0x297)]);throw _0x4bf45d;}}async[a107_0x318a48(0x157)](_0x4ea27b){const _0xc86b86=a107_0x318a48,_0x46e984={'wMlKX':function(_0x442cae,_0x8ba9e8){return _0x442cae===_0x8ba9e8;},'IWtWc':_0xc86b86(0x169),'LoJWA':function(_0x4885ce,_0x5af630){return _0x4885ce===_0x5af630;},'ZGRfH':_0xc86b86(0x243),'kKFxg':function(_0x5f4440,_0x382504){return _0x5f4440>=_0x382504;},'LvIbb':_0xc86b86(0x261),'uWRVL':_0xc86b86(0x1da),'aFGGp':function(_0x75cb9a,_0x591488){return _0x75cb9a(_0x591488);},'sRaVl':_0xc86b86(0x1b3),'nVfqk':_0xc86b86(0x24e),'NDUGB':_0xc86b86(0x16b)};this[_0xc86b86(0x297)]['info'](_0x46e984[_0xc86b86(0x175)]);try{!this['client']&&this[_0xc86b86(0x297)][_0xc86b86(0x21e)](_0x46e984[_0xc86b86(0x19a)]);const {platformIndex:_0x3c36e6,logs:_0x12df82}=_0x4ea27b,_0x80118f=new messages[(_0xc86b86(0x142))]();_0x80118f[_0xc86b86(0x10e)](this[_0xc86b86(0x28e)]),_0x80118f['setPlatformIndex'](_0x3c36e6);const _0x564b27=_0x4ea27b[_0xc86b86(0x1b4)],_0x32a320=_0x4ea27b[_0xc86b86(0x1df)],_0x422c53=_0x4ea27b[_0xc86b86(0x241)];return _0x12df82[_0xc86b86(0x264)](_0x26fa1b=>{const _0x46296f=_0xc86b86,_0x13c174=new messages[(_0x46296f(0x142))][(_0x46296f(0x15a))]();_0x13c174[_0x46296f(0x176)](_0x564b27),_0x13c174[_0x46296f(0x135)](_0x32a320),_0x13c174[_0x46296f(0x14d)](_0x422c53),_0x13c174['setTimestamp'](_0x26fa1b[_0x46296f(0x234)]);if(_0x46e984[_0x46296f(0x29c)](_0x26fa1b[_0x46296f(0x202)],PLAYWRIGHT_TRACE_LOGS))_0x13c174[_0x46296f(0x1f0)](_0x26fa1b['test_run_uuid']),_0x13c174[_0x46296f(0x24b)](new TextEncoder()['encode'](JSON[_0x46296f(0x285)](_0x26fa1b)));else{if(_0x26fa1b[_0x46296f(0x1ac)])_0x13c174[_0x46296f(0x1f0)](_0x46e984['IWtWc']);else{if(_0x26fa1b['hook_run_uuid'])_0x13c174['setUuid'](_0x26fa1b[_0x46296f(0x284)]);else _0x26fa1b[_0x46296f(0x10d)]&&_0x13c174['setUuid'](_0x26fa1b[_0x46296f(0x10d)]);}_0x13c174[_0x46296f(0x24b)](new TextEncoder()[_0x46296f(0xf7)](_0x26fa1b[_0x46296f(0x122)]));}_0x13c174['setKind'](_0x26fa1b[_0x46296f(0x254)]),_0x13c174[_0x46296f(0x279)](_0x26fa1b['level']),_0x13c174['setFileName'](_0x26fa1b?.[_0x46296f(0x24c)]||''),_0x13c174[_0x46296f(0x219)](_0x26fa1b?.[_0x46296f(0x23e)]||''),_0x13c174['setFileSize'](_0x26fa1b?.['fileSize']||0x0),_0x13c174['setAttachmentType'](_0x26fa1b?.[_0x46296f(0x202)]||''),_0x26fa1b['test_identifier']&&_0x13c174[_0x46296f(0xe9)](_0x26fa1b['test_identifier']),_0x46e984[_0x46296f(0x127)](typeof _0x26fa1b[_0x46296f(0xfc)],_0x46e984[_0x46296f(0x289)])&&Number[_0x46296f(0x20b)](_0x26fa1b[_0x46296f(0xfc)])&&_0x46e984[_0x46296f(0x1fb)](_0x26fa1b[_0x46296f(0xfc)],0x0)&&_0x13c174['setDuration'](Math['round'](_0x26fa1b[_0x46296f(0xfc)])),_0x80118f[_0x46296f(0x125)](_0x13c174);}),new Promise((_0x345481,_0x11467e)=>{const _0x5145e0=_0xc86b86,_0x2d4219={'gwGcA':_0x46e984[_0x5145e0(0x102)],'ZiFpW':_0x46e984[_0x5145e0(0x155)],'ErHuR':function(_0x4b6a6c,_0x3f4711){const _0xf64872=_0x5145e0;return _0x46e984[_0xf64872(0x136)](_0x4b6a6c,_0x3f4711);},'LPKdA':_0x46e984[_0x5145e0(0xe6)]};this[_0x5145e0(0x1fc)]['logCreatedEvent'](_0x80118f,this[_0x5145e0(0xf9)](),(_0x3a2cc0,_0xd00ae)=>{const _0x15f700=_0x5145e0;if(_0x3a2cc0){sdkErrorHandler[_0x15f700(0x189)](_0x2d4219['gwGcA'],_0x3a2cc0,this[_0x15f700(0x297)],_0x2d4219[_0x15f700(0x113)]),_0x2d4219[_0x15f700(0x22f)](_0x11467e,_0x3a2cc0);return;}this[_0x15f700(0x297)][_0x15f700(0x21e)](_0x2d4219[_0x15f700(0x140)]),_0x2d4219[_0x15f700(0x22f)](_0x345481,_0xd00ae);});});}catch(_0x532bf7){sdkErrorHandler['handle'](_0x46e984['LvIbb'],_0x532bf7,this['logger'],_0x46e984['uWRVL']);throw _0x532bf7;}}async[a107_0x318a48(0x1f7)](_0x41b1ae,_0x4e324d,_0x8bc5d6,_0x47479a=null){const _0x32b4e5=a107_0x318a48,_0x32e4b8={'CSSKV':_0x32b4e5(0x283),'lTbDv':_0x32b4e5(0x1da),'pfKQl':function(_0x4933c2,_0x515441){return _0x4933c2(_0x515441);},'syZqH':function(_0x5d0e87,_0x5c130b){return _0x5d0e87||_0x5c130b;},'sMQjh':_0x32b4e5(0x1e1),'KGJNM':'No\x20gRPC\x20client\x20initialized.'};this[_0x32b4e5(0x297)][_0x32b4e5(0x1da)](_0x32b4e5(0x1eb)+_0x41b1ae+_0x32b4e5(0x12e)+_0x4e324d+',\x20scriptName='+_0x8bc5d6+_0x32b4e5(0x120)+_0x32e4b8[_0x32b4e5(0x236)](_0x47479a,_0x32e4b8[_0x32b4e5(0x17e)]));try{if(!this[_0x32b4e5(0x1fc)])return this['logger'][_0x32b4e5(0x1da)](_0x32e4b8[_0x32b4e5(0x22b)]),null;const _0x124b04=new messages[(_0x32b4e5(0x197))]();return _0x124b04['setBinSessionId'](_0x41b1ae),_0x124b04[_0x32b4e5(0x1a8)](_0x4e324d),_0x124b04[_0x32b4e5(0x1a9)](_0x8bc5d6),_0x47479a&&(_0x124b04[_0x32b4e5(0xe9)](_0x47479a),this[_0x32b4e5(0x297)][_0x32b4e5(0x1da)](_0x32b4e5(0x184)+_0x47479a+'\x20for\x20product='+_0x4e324d+_0x32b4e5(0x1ce)+_0x8bc5d6)),await new Promise(_0x13db20=>{const _0x5f06fe=_0x32b4e5;this[_0x5f06fe(0x1fc)][_0x5f06fe(0x1f7)](_0x124b04,this[_0x5f06fe(0xf9)](),(_0x4b1e72,_0x43bbd8)=>{const _0x1915b0=_0x5f06fe;if(_0x4b1e72){sdkErrorHandler[_0x1915b0(0x189)](_0x32e4b8['CSSKV'],_0x4b1e72,this['logger'],_0x32e4b8[_0x1915b0(0x1dc)]),_0x32e4b8[_0x1915b0(0x178)](_0x13db20,null);return;}this['logger']['debug'](_0x1915b0(0x1cd)+(_0x43bbd8[_0x1915b0(0x18f)]&&_0x43bbd8['getSuccess']())),_0x32e4b8[_0x1915b0(0x178)](_0x13db20,_0x43bbd8);});});}catch(_0x2c66a0){return sdkErrorHandler[_0x32b4e5(0x189)](_0x32e4b8['CSSKV'],_0x2c66a0,this[_0x32b4e5(0x297)],_0x32e4b8[_0x32b4e5(0x1dc)]),null;}}async[a107_0x318a48(0x1a5)](_0x1ce1b9){const _0x503b43=a107_0x318a48,_0x41b28a={'edZUg':function(_0xb7e094,_0xdf1f42){return _0xb7e094(_0xdf1f42);},'QnkHQ':'ReportClientTroubleshootingError\x20successful','fPhCm':function(_0x3885dd,_0x3316fe){return _0x3885dd(_0x3316fe);},'RRAQS':_0x503b43(0x1a2),'ElfzO':_0x503b43(0x2a6),'xuQRC':'debug'};this[_0x503b43(0x297)][_0x503b43(0x1da)](_0x503b43(0x12a)+_0x1ce1b9);try{if(!this[_0x503b43(0x1fc)])return this[_0x503b43(0x297)][_0x503b43(0x1da)](_0x41b28a[_0x503b43(0x196)]),null;const _0x41a55a=new messages[(_0x503b43(0x2a0))]();_0x41a55a[_0x503b43(0x10e)](this['binSessionId']),_0x41a55a['setErrorKey'](_0x1ce1b9);const _0x56c863=await new Promise((_0x3841ef,_0x4ef5f9)=>{const _0x57116c=_0x503b43;this[_0x57116c(0x1fc)][_0x57116c(0x1a5)](_0x41a55a,this['getCallOptions'](),(_0xdcaf48,_0xada5e3)=>{const _0x522408=_0x57116c;if(_0xdcaf48){_0x41b28a[_0x522408(0x1d2)](_0x4ef5f9,_0xdcaf48);return;}this['logger']['debug'](_0x41b28a['QnkHQ']),_0x41b28a['fPhCm'](_0x3841ef,_0xada5e3);});});return _0x56c863;}catch(_0x5984b4){return sdkErrorHandler[_0x503b43(0x189)](_0x41b28a[_0x503b43(0x174)],_0x5984b4,this[_0x503b43(0x297)],_0x41b28a[_0x503b43(0x252)]),null;}}async[a107_0x318a48(0x1c3)](){const _0x3ffbac=a107_0x318a48,_0x51debd={'PIDOA':function(_0x41749f,_0x51dd7b){return _0x41749f(_0x51dd7b);},'QgAIs':'GetAggregatedClientTroubleshootingErrors\x20successful','LPtRS':_0x3ffbac(0x173),'DBcae':'No\x20gRPC\x20client\x20initialized.','FdzjR':_0x3ffbac(0x296),'Sqvdk':_0x3ffbac(0x1da)};this[_0x3ffbac(0x297)][_0x3ffbac(0x1da)](_0x51debd['LPtRS']);try{if(!this[_0x3ffbac(0x1fc)])return this['logger'][_0x3ffbac(0x1da)](_0x51debd['DBcae']),null;const _0x183fa5=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x183fa5[_0x3ffbac(0x10e)](this[_0x3ffbac(0x28e)]);const _0x9d7ce0=await new Promise((_0x22fca7,_0x29b5da)=>{const _0x12e5eb=_0x3ffbac,_0x3af7b7={'fbKPh':function(_0x1c0bb5,_0x529a64){const _0x5ce14f=a107_0x1e98;return _0x51debd[_0x5ce14f(0xe2)](_0x1c0bb5,_0x529a64);},'OqukI':_0x51debd['QgAIs']};this[_0x12e5eb(0x1fc)][_0x12e5eb(0x1c3)](_0x183fa5,this[_0x12e5eb(0xf9)](),(_0x5e210a,_0x5aec9c)=>{const _0x462466=_0x12e5eb;if(_0x5e210a){_0x3af7b7[_0x462466(0x100)](_0x29b5da,_0x5e210a);return;}this[_0x462466(0x297)][_0x462466(0x1da)](_0x3af7b7[_0x462466(0x2a5)]),_0x3af7b7['fbKPh'](_0x22fca7,_0x5aec9c);});});return _0x9d7ce0;}catch(_0x4fe28b){return sdkErrorHandler[_0x3ffbac(0x189)](_0x51debd['FdzjR'],_0x4fe28b,this[_0x3ffbac(0x297)],_0x51debd[_0x3ffbac(0x149)]),null;}}async['testCafeConfig'](){const _0x32597f=a107_0x318a48,_0x20ceb0={'cDpmY':_0x32597f(0xe8),'fqmao':function(_0x14b9e3,_0x1f30f7){return _0x14b9e3(_0x1f30f7);},'xqFwN':'Calling\x20TestCafeConfig','JnDLd':function(_0x372223,_0x49bc76){return _0x372223!==_0x49bc76;},'mvrha':_0x32597f(0x248),'HyCrF':function(_0x243409,_0x464095){return _0x243409+_0x464095;},'ZWNZH':_0x32597f(0x271),'bYimx':_0x32597f(0x293),'BwtgL':function(_0xca1319,_0x2bbf69){return _0xca1319+_0x2bbf69;},'gzCGV':function(_0x498db6,_0xd2c99a){return _0x498db6+_0xd2c99a;},'dTSMy':'[BrowserStack\x20SDK\x20/\x20TestCafe]\x20gRPC\x20client\x20method\x20`testCafeConfig`\x20is\x20unavailable.\x20','nyImu':_0x32597f(0x20c),'LDiRd':_0x32597f(0x1f3),'skdyu':_0x32597f(0x263)};this[_0x32597f(0x297)][_0x32597f(0x21e)](_0x20ceb0[_0x32597f(0x1f9)]);if(_0x20ceb0['JnDLd'](typeof messages[_0x32597f(0x25c)],_0x20ceb0[_0x32597f(0x133)]))throw new Error(_0x20ceb0[_0x32597f(0x158)](_0x20ceb0[_0x32597f(0x17b)],_0x20ceb0[_0x32597f(0x25f)]));if(_0x20ceb0[_0x32597f(0x244)](typeof this['client'][_0x32597f(0x211)],_0x20ceb0['mvrha']))throw new Error(_0x20ceb0[_0x32597f(0x158)](_0x20ceb0[_0x32597f(0x20d)](_0x20ceb0[_0x32597f(0x227)](_0x20ceb0['dTSMy'],_0x20ceb0['nyImu']),_0x20ceb0[_0x32597f(0x265)]),_0x20ceb0[_0x32597f(0x199)]));const _0x469b7e=new messages[(_0x32597f(0x25c))]();return _0x469b7e[_0x32597f(0x10e)](this['binSessionId']),new Promise((_0x49c58a,_0x40db39)=>{const _0x110c83=_0x32597f;this['client'][_0x110c83(0x211)](_0x469b7e,this[_0x110c83(0xf9)](),(_0x5916bd,_0x104098)=>{const _0x2eebd7=_0x110c83;if(_0x5916bd){sdkErrorHandler['handle'](_0x20ceb0[_0x2eebd7(0x111)],_0x5916bd,this[_0x2eebd7(0x297)]),_0x20ceb0[_0x2eebd7(0x268)](_0x40db39,_0x5916bd);return;}_0x20ceb0['fqmao'](_0x49c58a,_0x104098);});});}async[a107_0x318a48(0x24a)](_0x73f696,_0x15a8f5,_0x38bf26,_0x1ca103,_0x5663ba=a107_0x318a48(0x270)){const _0x517615=a107_0x318a48,_0x8576d={'HDdhY':_0x517615(0x11b),'KAjPW':'debug','bEKek':function(_0x462eef,_0x372fc7){return _0x462eef(_0x372fc7);},'uJMWv':_0x517615(0x1d8),'VsnPw':function(_0x35082c,_0x3f4e34){return _0x35082c===_0x3f4e34;},'UUWVB':_0x517615(0x248),'EIXnm':function(_0x214bc4,_0x5033bf){return _0x214bc4===_0x5033bf;},'kbUQP':'refused','xkCXy':_0x517615(0x233),'jJlYv':function(_0xba1664,_0x5b5eed){return _0xba1664(_0x5b5eed);},'YztMp':_0x517615(0x154),'RgPqk':_0x517615(0x130),'MWXKH':function(_0x50dabf,_0x5c37c2){return _0x50dabf||_0x5c37c2;},'LZmOD':function(_0x177c0c,_0x373895){return _0x177c0c instanceof _0x373895;},'Vumgn':'publish\x20threw'};try{if(!this[_0x517615(0x1fc)]){this[_0x517615(0x297)]['debug'](_0x8576d['YztMp']);const _0x36c8bb={};return _0x36c8bb[_0x517615(0xea)]=![],_0x36c8bb[_0x517615(0x1c5)]=![],_0x36c8bb[_0x517615(0x237)]=_0x8576d[_0x517615(0x198)],_0x36c8bb;}const _0xc4c53=new messages[(_0x517615(0x25b))]();return _0xc4c53[_0x517615(0x10e)](this[_0x517615(0x28e)]||process['env'][_0x517615(0x129)]),_0xc4c53['setScope'](_0x73f696),_0xc4c53[_0x517615(0xe5)](_0x15a8f5),_0xc4c53[_0x517615(0x23d)](_0x8576d[_0x517615(0x27e)](_0x38bf26,'')),_0xc4c53[_0x517615(0x275)](new TextEncoder()[_0x517615(0xf7)](JSON[_0x517615(0x285)](_0x1ca103))),_0xc4c53['setMode'](_0x5663ba),await new Promise(_0x4bcfa7=>{const _0x34b1b3=_0x517615;this[_0x34b1b3(0x1fc)][_0x34b1b3(0x24a)](_0xc4c53,this[_0x34b1b3(0xf9)](),(_0x4bb725,_0x22b42c)=>{const _0x1743cc=_0x34b1b3;if(_0x4bb725){sdkErrorHandler['handle'](_0x8576d['HDdhY'],_0x4bb725,this[_0x1743cc(0x297)],_0x8576d[_0x1743cc(0x1ed)]),_0x8576d[_0x1743cc(0xfd)](_0x4bcfa7,{'acked':![],'terminal':![],'error':_0x4bb725&&_0x4bb725[_0x1743cc(0x122)]||_0x8576d[_0x1743cc(0x148)]});return;}const _0x5685f3=_0x22b42c[_0x1743cc(0x29a)]()||'',_0x304c01=_0x8576d['VsnPw'](typeof _0x22b42c[_0x1743cc(0x1b0)],_0x8576d[_0x1743cc(0x108)])&&_0x8576d[_0x1743cc(0x286)](_0x22b42c[_0x1743cc(0x1b0)](),!![])||_0x8576d[_0x1743cc(0xfd)](isPermanentRunStateError,_0x5685f3);if(!_0x22b42c[_0x1743cc(0x18f)]()){this['logger'][_0x1743cc(0x1da)](_0x1743cc(0x15e)+(_0x304c01?_0x8576d[_0x1743cc(0x13f)]:_0x8576d[_0x1743cc(0x117)])+_0x1743cc(0x27f)+_0x73f696+':'+_0x15a8f5+':\x20'+_0x5685f3);const _0x28ab5d={};_0x28ab5d[_0x1743cc(0xea)]=![],_0x28ab5d[_0x1743cc(0x1c5)]=_0x304c01,_0x28ab5d[_0x1743cc(0x237)]=_0x5685f3,_0x8576d[_0x1743cc(0xfd)](_0x4bcfa7,_0x28ab5d);return;}const _0x3b9c14=_0x8576d[_0x1743cc(0x286)](typeof _0x22b42c[_0x1743cc(0x1b1)],_0x8576d['UUWVB'])&&_0x8576d[_0x1743cc(0x286)](_0x22b42c['getTruncated'](),!![])||_0x5685f3[_0x1743cc(0x192)](RUN_STATE_TRUNCATED_TOKEN);_0x3b9c14&&this[_0x1743cc(0x297)][_0x1743cc(0x282)]('PublishRunState\x20acked\x20but\x20truncated\x20for\x20'+_0x73f696+':'+_0x15a8f5+':\x20'+_0x5685f3);const _0x59601a={};_0x59601a[_0x1743cc(0xea)]=!![],_0x59601a['terminal']=![],_0x59601a[_0x1743cc(0x137)]=_0x3b9c14,_0x59601a[_0x1743cc(0x237)]=_0x5685f3,_0x8576d[_0x1743cc(0x246)](_0x4bcfa7,_0x59601a);});});}catch(_0x52d2e8){const _0x552d55=_0x8576d[_0x517615(0x107)](_0x52d2e8,TypeError)||/circular|BigInt|convert/i[_0x517615(0x1b7)](_0x52d2e8&&_0x52d2e8['message']||'');sdkErrorHandler[_0x517615(0x189)](_0x8576d[_0x517615(0x206)],_0x52d2e8,this[_0x517615(0x297)],_0x8576d[_0x517615(0x1ed)]);const _0x1e682e={};return _0x1e682e[_0x517615(0xea)]=![],_0x1e682e[_0x517615(0x1c5)]=_0x552d55,_0x1e682e[_0x517615(0x237)]=_0x52d2e8&&_0x52d2e8[_0x517615(0x122)]||_0x8576d[_0x517615(0x27d)],_0x1e682e;}}async[a107_0x318a48(0x1d9)](_0x295e1e,_0x86f389,_0x49df24){const _0x46ea5a=a107_0x318a48,_0x5694c7={'BiBzz':_0x46ea5a(0x216),'LPIeO':'debug','qByVl':function(_0x422820,_0x37e903){return _0x422820(_0x37e903);},'YddLr':function(_0x4c6b31,_0x4953fe){return _0x4c6b31===_0x4953fe;},'mpfRT':_0x46ea5a(0x248),'qYdFL':function(_0x587e67,_0x4c539b){return _0x587e67(_0x4c539b);},'VQjhi':function(_0x57385e,_0x2a7b68){return _0x57385e(_0x2a7b68);},'vUPgu':_0x46ea5a(0x266),'MSmUz':function(_0x30c66d,_0x5a61fe){return _0x30c66d||_0x5a61fe;}};try{if(!this[_0x46ea5a(0x1fc)])return this[_0x46ea5a(0x297)][_0x46ea5a(0x1da)](_0x5694c7[_0x46ea5a(0x11a)]),undefined;const _0x129a02=new messages[(_0x46ea5a(0x1ec))]();return _0x129a02[_0x46ea5a(0x10e)](this[_0x46ea5a(0x28e)]||process['env'][_0x46ea5a(0x129)]),_0x129a02[_0x46ea5a(0x1fd)](_0x295e1e),_0x129a02[_0x46ea5a(0xe5)](_0x86f389),_0x129a02[_0x46ea5a(0x23d)](_0x5694c7[_0x46ea5a(0x280)](_0x49df24,'')),await new Promise(_0x164143=>{const _0x343ed1=_0x46ea5a,_0x1e9514={'kVEuY':_0x5694c7['BiBzz'],'uxhBY':_0x5694c7[_0x343ed1(0xf1)],'qpQFM':function(_0x4dc48d,_0x130309){return _0x5694c7['qByVl'](_0x4dc48d,_0x130309);},'rNvSK':function(_0x21f363,_0x143420){const _0x1bc58b=_0x343ed1;return _0x5694c7[_0x1bc58b(0x1f5)](_0x21f363,_0x143420);},'lgPNJ':_0x5694c7[_0x343ed1(0x214)],'gqWeB':function(_0x565fae,_0x59bb3c){const _0x1cd130=_0x343ed1;return _0x5694c7[_0x1cd130(0x250)](_0x565fae,_0x59bb3c);},'PIFzI':function(_0x36f9ca,_0x5a9ff8){const _0x158193=_0x343ed1;return _0x5694c7[_0x158193(0x23f)](_0x36f9ca,_0x5a9ff8);},'fOkDY':function(_0x477883,_0x5c763a){return _0x5694c7['qByVl'](_0x477883,_0x5c763a);}};this['client'][_0x343ed1(0x1d9)](_0x129a02,this[_0x343ed1(0xf9)](),(_0x2ab2e9,_0x369938)=>{const _0x28bb00=_0x343ed1;if(_0x2ab2e9){sdkErrorHandler['handle'](_0x1e9514['kVEuY'],_0x2ab2e9,this[_0x28bb00(0x297)],_0x1e9514[_0x28bb00(0x143)]),_0x1e9514[_0x28bb00(0x146)](_0x164143,undefined);return;}if(!_0x369938['getSuccess']()||!_0x369938[_0x28bb00(0x14a)]()){const _0x449fae=_0x369938['getError']()||'',_0x4a0b6c=_0x1e9514['rNvSK'](typeof _0x369938['getTerminal'],_0x1e9514[_0x28bb00(0x23b)])&&_0x1e9514[_0x28bb00(0x167)](_0x369938[_0x28bb00(0x1b0)](),!![]);if(!_0x369938['getSuccess']()){const _0x42caf0=_0x295e1e+':'+_0x86f389+(_0x449fae?_0x28bb00(0x13a)+_0x449fae:'');_0x4a0b6c||_0x1e9514[_0x28bb00(0x16f)](isPermanentRunStateError,_0x449fae)?this[_0x28bb00(0x297)][_0x28bb00(0x282)](_0x28bb00(0xf6)+_0x42caf0+_0x28bb00(0x12c)):this[_0x28bb00(0x297)]['debug']('FetchRunState\x20failed\x20transiently\x20for\x20'+_0x42caf0);}_0x1e9514['qpQFM'](_0x164143,undefined);return;}try{_0x1e9514[_0x28bb00(0x186)](_0x164143,JSON[_0x28bb00(0xed)](new TextDecoder()[_0x28bb00(0x156)](_0x369938[_0x28bb00(0x221)]())));}catch(_0x279eda){this[_0x28bb00(0x297)][_0x28bb00(0x1da)](_0x28bb00(0x1c8)+_0x295e1e+':'+_0x86f389+':\x20'+(_0x279eda&&_0x279eda[_0x28bb00(0x122)])),_0x1e9514[_0x28bb00(0x1bf)](_0x164143,undefined);}});});}catch(_0x1394d8){return sdkErrorHandler['handle'](_0x5694c7[_0x46ea5a(0x210)],_0x1394d8,this[_0x46ea5a(0x297)],_0x5694c7[_0x46ea5a(0xf1)]),undefined;}}[a107_0x318a48(0x1ca)](){return this['client'];}[a107_0x318a48(0x22c)](){const _0x474628=a107_0x318a48;return this[_0x474628(0x239)];}}module[a107_0x318a48(0x18b)]=GrpcClient;
@@ -1 +1 @@
1
- const a108_0x600d4=a108_0x9acd;(function(_0x114fe7,_0x578b04){const _0x138d25=a108_0x9acd,_0x205a2b=_0x114fe7();while(!![]){try{const _0x28edbf=parseInt(_0x138d25(0x13c))/0x1+-parseInt(_0x138d25(0x145))/0x2+parseInt(_0x138d25(0x143))/0x3+parseInt(_0x138d25(0x146))/0x4+-parseInt(_0x138d25(0x141))/0x5+-parseInt(_0x138d25(0x144))/0x6+parseInt(_0x138d25(0x14b))/0x7;if(_0x28edbf===_0x578b04)break;else _0x205a2b['push'](_0x205a2b['shift']());}catch(_0xb32718){_0x205a2b['push'](_0x205a2b['shift']());}}}(a108_0x30fe,0xce04d));const AutomationFrameworkState=require(a108_0x600d4(0x13a)),TrackedInstance=require(a108_0x600d4(0x14c)),now=new Date();function a108_0x9acd(_0x5e1ff1,_0x39c627){const _0x30fea2=a108_0x30fe();return a108_0x9acd=function(_0x9acdd9,_0x35be2b){_0x9acdd9=_0x9acdd9-0x139;let _0x5922ec=_0x30fea2[_0x9acdd9];return _0x5922ec;},a108_0x9acd(_0x5e1ff1,_0x39c627);}function a108_0x30fe(){const _0x3bb136=['state','toLocaleString','MrChW','createdAt','10024700rYItag','./trackedInstance','split','getFrameworkName','frameworkName','../state/automationFrameworkState','setState','1593378XRaFuz','frameworkVersion','NONE','getState','exports','6290445vCqXzI','lastState','2060280aAnqNk','8291274JlMqZp','2657642diUcen','4401616BWWNgK'];a108_0x30fe=function(){return _0x3bb136;};return a108_0x30fe();}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x52908d,_0x491ab2,_0x40e09f,_0x17f206){const _0x3446d8=a108_0x600d4,_0x21c617={};_0x21c617[_0x3446d8(0x149)]='1|3|0|5|2|4';const _0x48e4ce=_0x21c617,_0x587725=_0x48e4ce[_0x3446d8(0x149)][_0x3446d8(0x14d)]('|');let _0x4d0a40=0x0;while(!![]){switch(_0x587725[_0x4d0a40++]){case'0':this[_0x3446d8(0x13d)]=_0x40e09f;continue;case'1':super(_0x52908d);continue;case'2':this[_0x3446d8(0x142)]=AutomationFrameworkState[_0x3446d8(0x13e)];continue;case'3':this[_0x3446d8(0x139)]=_0x491ab2;continue;case'4':this[_0x3446d8(0x14a)]=now[_0x3446d8(0x148)]();continue;case'5':this[_0x3446d8(0x147)]=_0x17f206;continue;}break;}}[a108_0x600d4(0x14e)](){return this['frameworkName'];}['getFrameworkVersion'](){return this['frameworkVersion'];}[a108_0x600d4(0x13f)](){return this['state'];}[a108_0x600d4(0x13b)](_0x1772b8){const _0x31a853=a108_0x600d4;this[_0x31a853(0x142)]=this[_0x31a853(0x147)],this[_0x31a853(0x147)]=_0x1772b8;}}module[a108_0x600d4(0x140)]=AutomationFrameworkInstance;
1
+ function a108_0xb098(_0x2c30c4,_0x1adf75){const _0x193a85=a108_0x193a();return a108_0xb098=function(_0xb0982f,_0x11dbb8){_0xb0982f=_0xb0982f-0xf7;let _0x31ff16=_0x193a85[_0xb0982f];return _0x31ff16;},a108_0xb098(_0x2c30c4,_0x1adf75);}function a108_0x193a(){const _0x3baab5=['240512JuZHNi','setState','77rNaVjv','1147978ufAzBk','1115128XZDSRD','1417910Vkdolq','exports','frameworkVersion','MupNf','frameworkName','createdAt','split','../state/automationFrameworkState','5|1|4|0|2|3','getFrameworkVersion','1229145WzhcAA','4612zymPLX','state','4638WjhQEC','lastState','1056ljuODY','41594OLmIwa','207BPWtuv'];a108_0x193a=function(){return _0x3baab5;};return a108_0x193a();}const a108_0x752550=a108_0xb098;(function(_0x65df54,_0x3e824f){const _0x4422f2=a108_0xb098,_0x10cfbd=_0x65df54();while(!![]){try{const _0x1e53c4=-parseInt(_0x4422f2(0x100))/0x1+-parseInt(_0x4422f2(0xff))/0x2+-parseInt(_0x4422f2(0xf7))/0x3*(-parseInt(_0x4422f2(0x10c))/0x4)+parseInt(_0x4422f2(0x10b))/0x5+parseInt(_0x4422f2(0xf9))/0x6*(-parseInt(_0x4422f2(0xfa))/0x7)+-parseInt(_0x4422f2(0xfc))/0x8*(-parseInt(_0x4422f2(0xfb))/0x9)+-parseInt(_0x4422f2(0x101))/0xa*(-parseInt(_0x4422f2(0xfe))/0xb);if(_0x1e53c4===_0x3e824f)break;else _0x10cfbd['push'](_0x10cfbd['shift']());}catch(_0x54581e){_0x10cfbd['push'](_0x10cfbd['shift']());}}}(a108_0x193a,0xeea3b));const AutomationFrameworkState=require(a108_0x752550(0x108)),TrackedInstance=require('./trackedInstance'),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x3d41ec,_0x346a34,_0x2335fa,_0x588219){const _0x6c89cf=a108_0x752550,_0x58658c={};_0x58658c[_0x6c89cf(0x104)]=_0x6c89cf(0x109);const _0x48da3d=_0x58658c,_0xa85823=_0x48da3d[_0x6c89cf(0x104)][_0x6c89cf(0x107)]('|');let _0x59b136=0x0;while(!![]){switch(_0xa85823[_0x59b136++]){case'0':this['state']=_0x588219;continue;case'1':this['frameworkName']=_0x346a34;continue;case'2':this[_0x6c89cf(0xf8)]=AutomationFrameworkState['NONE'];continue;case'3':this[_0x6c89cf(0x106)]=now['toLocaleString']();continue;case'4':this[_0x6c89cf(0x103)]=_0x2335fa;continue;case'5':super(_0x3d41ec);continue;}break;}}['getFrameworkName'](){const _0x4cdcd3=a108_0x752550;return this[_0x4cdcd3(0x105)];}[a108_0x752550(0x10a)](){return this['frameworkVersion'];}['getState'](){const _0xbeec4e=a108_0x752550;return this[_0xbeec4e(0x10d)];}[a108_0x752550(0xfd)](_0x3ee162){const _0xb8884e=a108_0x752550;this[_0xb8884e(0xf8)]=this[_0xb8884e(0x10d)],this[_0xb8884e(0x10d)]=_0x3ee162;}}module[a108_0x752550(0x102)]=AutomationFrameworkInstance;