browserstack-node-sdk 1.42.6 → 1.42.7

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 (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a67_0x1e1664=a67_0x45f6;(function(_0x3f7b3b,_0x12c185){const _0x30cb93=a67_0x45f6,_0x2586ee=_0x3f7b3b();while(!![]){try{const _0x46a8b6=parseInt(_0x30cb93(0x1d0))/0x1+parseInt(_0x30cb93(0x1d3))/0x2+parseInt(_0x30cb93(0x214))/0x3*(parseInt(_0x30cb93(0x257))/0x4)+-parseInt(_0x30cb93(0x221))/0x5*(-parseInt(_0x30cb93(0x28f))/0x6)+-parseInt(_0x30cb93(0x27c))/0x7*(parseInt(_0x30cb93(0x1e7))/0x8)+-parseInt(_0x30cb93(0x296))/0x9*(parseInt(_0x30cb93(0x23e))/0xa)+-parseInt(_0x30cb93(0x247))/0xb;if(_0x46a8b6===_0x12c185)break;else _0x2586ee['push'](_0x2586ee['shift']());}catch(_0x1f5d9f){_0x2586ee['push'](_0x2586ee['shift']());}}}(a67_0x3bd2,0xb67d5));const TestFramework=require(a67_0x1e1664(0x1d1)),TestFrameworkState=require(a67_0x1e1664(0x226)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a67_0x1e1664(0x26e)),TestFrameworkInstance=require(a67_0x1e1664(0x25a)),CLIUtils=require(a67_0x1e1664(0x20a)),TrackedInstance=require(a67_0x1e1664(0x1e3)),TestFrameworkConstants=require(a67_0x1e1664(0x1f4)),logger=createClassLogger(a67_0x1e1664(0x231)),{v4:uuidv4}=require(a67_0x1e1664(0x1c2)),util=require(a67_0x1e1664(0x1d6)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a67_0x1e1664(0x294)),TestInfo=require(a67_0x1e1664(0x267)),GrpcClient=require(a67_0x1e1664(0x265)),{removeAnsiColors,getFailureType,failureData}=require(a67_0x1e1664(0x269)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a67_0x1e1664(0x24c)),{findNestedKey,sendTraceZip,validateFilePath}=require(a67_0x1e1664(0x24c)),path=require('path'),fs=require('fs'),helper=require(a67_0x1e1664(0x1b0)),{PLAYWRIGHT_TRACE_LOGS}=require(a67_0x1e1664(0x21a));function a67_0x45f6(_0x5ad6af,_0x28a4e6){const _0x3bd203=a67_0x3bd2();return a67_0x45f6=function(_0x45f6b1,_0x7a8937){_0x45f6b1=_0x45f6b1-0x1b0;let _0x31dc18=_0x3bd203[_0x45f6b1];return _0x31dc18;},a67_0x45f6(_0x5ad6af,_0x28a4e6);}class PlaywrightTestFramework extends TestFramework{constructor(_0x15df3c,_0x981e86,_0x43988e){super(_0x15df3c,_0x981e86,_0x43988e);}async[a67_0x1e1664(0x24f)](_0x3f7373,_0x58eb94,_0x413ce0={}){const _0x3cc988=a67_0x1e1664,_0x2c8597={'FOjym':function(_0xf7db07,_0x108a1d){return _0xf7db07===_0x108a1d;},'DiJcx':function(_0x331d89,_0x4047c6){return _0x331d89===_0x4047c6;},'AcNYw':function(_0x1ca747,_0x463ff9,_0x3250af){return _0x1ca747(_0x463ff9,_0x3250af);},'mqNde':function(_0x59ab9d,_0x51875c){return _0x59ab9d===_0x51875c;},'BxXAf':'test','YvxqR':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x3cc988(0x24f)](_0x3f7373,_0x58eb94,_0x413ce0);if(_0x2c8597[_0x3cc988(0x272)](_0x3f7373,TestFrameworkState['TEST_SCREENSHOT'])){const _0x37890c=TestInfo['getTestIdentifierFromTestInfo'](_0x413ce0['test'],_0x413ce0[_0x3cc988(0x266)]['retry']);TestInfo[_0x3cc988(0x210)](_0x37890c,_0x413ce0[_0x3cc988(0x285)],!![]);}const _0x2c7372=this[_0x3cc988(0x248)](_0x3f7373,_0x58eb94,_0x413ce0);if(!_0x2c7372)return;logger['debug'](_0x3cc988(0x27b)+_0x3f7373+_0x3cc988(0x241)+_0x58eb94+'\x20instanceId='+_0x2c7372[_0x3cc988(0x24b)]());try{if(_0x2c8597[_0x3cc988(0x272)](_0x58eb94,HookState[_0x3cc988(0x22e)])&&_0x2c8597[_0x3cc988(0x1fd)](_0x3f7373,TestFrameworkState[_0x3cc988(0x220)])){const _0x5bee8e=_0x413ce0[_0x3cc988(0x266)];logger[_0x3cc988(0x26c)](_0x3cc988(0x1da)+_0x5bee8e['id']+'}');const _0x5e7d6b=TestInfo[_0x3cc988(0x1cf)](_0x2c8597[_0x3cc988(0x26b)](getTestRunIdentifier,_0x5bee8e,_0x413ce0[_0x3cc988(0x285)][_0x3cc988(0x24a)]));_0x2c7372[_0x3cc988(0x261)](this['parsePlaywrightTest'](_0x5e7d6b,_0x5bee8e,_0x413ce0[_0x3cc988(0x285)])),logger['debug'](_0x3cc988(0x1f9)+_0x5bee8e['id']+_0x3cc988(0x1b1)+_0x3f7373+_0x3cc988(0x1c8)+_0x58eb94+_0x3cc988(0x1b9)+_0x2c7372[_0x3cc988(0x24b)]());}if(_0x2c8597[_0x3cc988(0x275)](_0x58eb94,HookState[_0x3cc988(0x1f8)])&&_0x2c8597[_0x3cc988(0x272)](_0x3f7373,TestFrameworkState[_0x3cc988(0x220)])){const _0x2b955f=_0x413ce0[_0x3cc988(0x266)],_0x57afe3=_0x413ce0[_0x3cc988(0x285)];logger[_0x3cc988(0x26c)](_0x3cc988(0x1e4)+_0x2b955f['id']),_0x2c7372[_0x3cc988(0x261)](this[_0x3cc988(0x1b8)](_0x2b955f['id'],_0x57afe3,_0x2b955f)),await this[_0x3cc988(0x293)](_0x2c7372,_0x3f7373,_0x58eb94,_0x2c8597[_0x3cc988(0x268)],_0x413ce0);}if(CLIUtils[_0x3cc988(0x1d8)](_0x3f7373['toString']()[_0x3cc988(0x219)]('.')[0x1])){const _0x58dddb=await this['trackHookEvent'](_0x2c7372,_0x3f7373,_0x58eb94,_0x413ce0);_0x2c7372[_0x3cc988(0x261)](_0x58dddb);}}catch(_0x22db12){logger[_0x3cc988(0x1dc)](util[_0x3cc988(0x1de)](_0x2c8597['YvxqR'],_0x3f7373,_0x58eb94,_0x413ce0[_0x3cc988(0x22a)],_0x22db12));}_0x413ce0[_0x3cc988(0x1eb)]=_0x2c7372,await this['runHooks'](_0x2c7372,_0x3f7373,_0x58eb94,_0x413ce0);}[a67_0x1e1664(0x248)](_0x321efe,_0x26ed53,_0x472a07={}){const _0x3ae4ce=a67_0x1e1664,_0x2cb5ad={};_0x2cb5ad[_0x3ae4ce(0x1f5)]=function(_0x5d473c,_0x4763d2){return _0x5d473c===_0x4763d2;};const _0x5f46ae=_0x2cb5ad;let _0x234836=null;return(_0x5f46ae[_0x3ae4ce(0x1f5)](_0x321efe,TestFrameworkState[_0x3ae4ce(0x24e)])||_0x5f46ae[_0x3ae4ce(0x1f5)](_0x321efe,TestFrameworkState[_0x3ae4ce(0x218)]))&&this[_0x3ae4ce(0x280)](_0x321efe,_0x472a07),_0x234836=TestFramework[_0x3ae4ce(0x290)](),_0x234836;}['trackPlaywrightInstance'](_0x311660,_0x1c3430){const _0x1072a2=a67_0x1e1664,_0x117784=CLIUtils[_0x1072a2(0x244)](),_0x5ce7d7=TrackedInstance[_0x1072a2(0x1c9)](_0x117784);let _0x4572b9=null;logger[_0x1072a2(0x1c5)](_0x1072a2(0x1df)+_0x117784+_0x1072a2(0x295)+_0x311660),_0x4572b9=new TestFrameworkInstance(_0x5ce7d7,this[_0x1072a2(0x255)](),this[_0x1072a2(0x282)](),_0x311660,HookState[_0x1072a2(0x218)]),TestFramework[_0x1072a2(0x259)](_0x5ce7d7,_0x4572b9),logger[_0x1072a2(0x1c5)](_0x1072a2(0x20c)+_0x5ce7d7[_0x1072a2(0x1d7)]()+_0x1072a2(0x279)+_0x117784);}['parsePlaywrightTest'](_0x5545d,_0x4882dc,_0x174b1b){const _0x1cb1d5=a67_0x1e1664,_0x3ceed1={'MyADd':function(_0x4b4f54,_0x1a1e2e){return _0x4b4f54(_0x1a1e2e);},'SWMPm':function(_0x38cbac,_0x2209ca){return _0x38cbac(_0x2209ca);},'AkJgz':function(_0x55a827,_0x253447){return _0x55a827(_0x253447);},'NeCHe':function(_0x2d19bb,_0x537d01){return _0x2d19bb(_0x537d01);},'AnIsi':function(_0x20c969,_0x33a631){return _0x20c969(_0x33a631);},'kUcid':function(_0x2a7838,_0x5f3d15){return _0x2a7838(_0x5f3d15);},'PyOmy':function(_0x1db91b,_0x590238,_0x5497d7){return _0x1db91b(_0x590238,_0x5497d7);},'matvo':function(_0x219bf2,_0x1f3645){return _0x219bf2(_0x1f3645);}},_0xfc140d=_0x3ceed1['MyADd'](getPlaywrightTestId,_0x4882dc),_0x3fc8e4=_0x3ceed1[_0x1cb1d5(0x288)](getPlaywrightTestTitle,_0x4882dc),_0x44aaa8=_0x3ceed1[_0x1cb1d5(0x1f3)](getTestTags,_0x4882dc),_0x1f704c=_0x3ceed1['SWMPm'](getPlaywrightTestCode,_0x4882dc),_0x36f400=_0x3ceed1[_0x1cb1d5(0x1f3)](getPlaywrightTestFilePath,_0x4882dc),_0x3faaa6=_0x36f400+':'+_0x3ceed1['AkJgz'](getPlaywrightTestLocation,_0x4882dc),_0x450b09=_0x3ceed1['NeCHe'](getPlaywrightTestScope,_0x4882dc),_0x50b265=_0x3ceed1[_0x1cb1d5(0x1e6)](getPlaywrightTestScopes,_0x4882dc),_0x91c705=_0x3ceed1[_0x1cb1d5(0x262)](getPlaywrightSessionName,_0x4882dc),_0x769c35=this[_0x1cb1d5(0x255)]()[0x0],_0x233fe7=_0x3ceed1[_0x1cb1d5(0x1e9)](getTestRunIdentifier,_0x4882dc,_0x174b1b[_0x1cb1d5(0x24a)]),_0x4806c0={[TestFrameworkConstants[_0x1cb1d5(0x254)]]:_0x769c35,[TestFrameworkConstants[_0x1cb1d5(0x1f6)]]:this['getTestFrameworksVersions']()[_0x769c35],[TestFrameworkConstants[_0x1cb1d5(0x1d9)]]:[],[TestFrameworkConstants[_0x1cb1d5(0x23a)]]:{},[TestFrameworkConstants[_0x1cb1d5(0x211)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x5545d,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1cb1d5(0x283)]]:_0x91c705,[TestFrameworkConstants[_0x1cb1d5(0x230)]]:_0x36f400,[TestFrameworkConstants[_0x1cb1d5(0x276)]]:_0xfc140d,[TestFrameworkConstants[_0x1cb1d5(0x1e2)]]:_0x3fc8e4,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x3faaa6,[TestFrameworkConstants[_0x1cb1d5(0x252)]]:_0x1f704c,[TestFrameworkConstants[_0x1cb1d5(0x1e1)]]:_0x44aaa8,[TestFrameworkConstants[_0x1cb1d5(0x1ff)]]:_0x4882dc[_0x1cb1d5(0x20d)][0x0][_0x1cb1d5(0x21e)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x450b09,[TestFrameworkConstants[_0x1cb1d5(0x205)]]:_0x50b265,[TestFrameworkConstants[_0x1cb1d5(0x286)]]:_0x3ceed1[_0x1cb1d5(0x1cd)](getPlaywrightCustomRerunParam,_0x4882dc)};TestInfo[_0x1cb1d5(0x210)](_0x233fe7,_0x4806c0);const _0x31def2={};return _0x31def2[_0x233fe7]=_0x4806c0,_0x31def2;}[a67_0x1e1664(0x1b8)](_0x3e434d,_0x4d1cfa,_0x4b78bd){const _0x46c1b9=a67_0x1e1664,_0x93418e={'GmkQc':function(_0x476998,_0x47d7e2){return _0x476998(_0x47d7e2);},'AuTUj':_0x46c1b9(0x28c),'RDjQq':function(_0x42aaf1,_0x5df75b){return _0x42aaf1===_0x5df75b;},'BZfgG':function(_0x5efed9,_0x2d0017){return _0x5efed9===_0x2d0017;},'wMxYP':'No\x20reason\x20provided','KwSwg':_0x46c1b9(0x291),'lFjlL':function(_0x3c4d78,_0x45f68f){return _0x3c4d78(_0x45f68f);},'zLZvD':function(_0x28e9c9,_0x1a35c1,_0x58fb81){return _0x28e9c9(_0x1a35c1,_0x58fb81);},'yAZfD':function(_0x387593,_0x17ec7f){return _0x387593+_0x17ec7f;},'VscNh':_0x46c1b9(0x260),'axeEr':_0x46c1b9(0x27a),'DuvRA':function(_0x30f39e,_0x2fd8a5){return _0x30f39e===_0x2fd8a5;},'mKjug':_0x46c1b9(0x284),'BFlkO':_0x46c1b9(0x1b7),'uTXMX':function(_0x2fa6cc,_0x15bac6){return _0x2fa6cc===_0x15bac6;},'wVlxA':function(_0x29dac2,_0x2e3705){return _0x29dac2===_0x2e3705;},'OcBPT':'Expected\x20to\x20fail,\x20but\x20passed.','OMfpQ':function(_0xff737a,_0x4015dc,_0x40fbbe){return _0xff737a(_0x4015dc,_0x40fbbe);},'BVfqJ':function(_0x5e0b24,_0x475a13){return _0x5e0b24||_0x475a13;},'uZCxf':function(_0x5c5ff4,_0x5ac5d3){return _0x5c5ff4(_0x5ac5d3);},'slKdi':function(_0x2bc759,_0x274d7f){return _0x2bc759>_0x274d7f;},'AFjoL':function(_0x4dbcae,_0x3d9e77,_0x495f9d){return _0x4dbcae(_0x3d9e77,_0x495f9d);},'JDrQO':function(_0x3fad55,_0x3bce95){return _0x3fad55-_0x3bce95;},'krGPD':_0x46c1b9(0x20f),'QlyiW':function(_0x547d8f,_0x9a5107){return _0x547d8f>_0x9a5107;},'GjXbq':function(_0xb40a6,_0x2da770,_0x12201b){return _0xb40a6(_0x2da770,_0x12201b);},'tQURB':function(_0x49fcdb,_0x500a16){return _0x49fcdb>_0x500a16;}};logger[_0x46c1b9(0x26c)](_0x46c1b9(0x277)+_0x3e434d);const _0x3c4c5d=_0x93418e[_0x46c1b9(0x1c3)](getTestRunIdentifier,_0x4b78bd,_0x4d1cfa['retry']),_0x3c5ee9=new Date(_0x4d1cfa['startTime']),_0x211773=_0x4d1cfa['duration'],_0x5c6760=new Date(_0x93418e[_0x46c1b9(0x273)](_0x3c5ee9['getTime'](),_0x211773)),_0x3b6223=_0x4d1cfa[_0x46c1b9(0x245)],_0x5c3e49=TestInfo['getTestDetails'](_0x3c4c5d)[TestFrameworkConstants[_0x46c1b9(0x1e0)]]||{};let _0x276098=_0x3b6223;if(_0x93418e['RDjQq'](_0x4d1cfa[_0x46c1b9(0x245)],_0x4b78bd['expectedStatus']))_0x276098=_0x93418e['RDjQq'](_0x4d1cfa[_0x46c1b9(0x245)],_0x93418e[_0x46c1b9(0x289)])?_0x93418e[_0x46c1b9(0x289)]:_0x93418e[_0x46c1b9(0x223)];else{(_0x93418e[_0x46c1b9(0x22f)](_0x276098,_0x93418e[_0x46c1b9(0x223)])||_0x93418e[_0x46c1b9(0x22f)](_0x276098,_0x93418e[_0x46c1b9(0x23f)])||_0x93418e[_0x46c1b9(0x1fc)](_0x276098,_0x93418e[_0x46c1b9(0x229)]))&&(_0x276098=_0x93418e[_0x46c1b9(0x23f)]);if(_0x93418e['uTXMX'](_0x4d1cfa['status'],_0x93418e[_0x46c1b9(0x223)])&&_0x93418e[_0x46c1b9(0x28a)](_0x4b78bd[_0x46c1b9(0x27e)],_0x93418e[_0x46c1b9(0x23f)])){const _0x47fb5e={};_0x47fb5e[_0x46c1b9(0x21f)]=_0x93418e['OcBPT'],_0x47fb5e[_0x46c1b9(0x26f)]=_0x93418e[_0x46c1b9(0x1fe)],_0x4d1cfa[_0x46c1b9(0x1dc)]=_0x47fb5e,_0x4d1cfa[_0x46c1b9(0x216)]=[_0x4d1cfa[_0x46c1b9(0x1dc)]];}}const {failureData:_0x4df1ee,logs:_0xa6ca37}=_0x93418e['OMfpQ'](getFailureData,_0x4d1cfa?.[_0x46c1b9(0x216)],{}),_0x4be8ab={[TestFrameworkConstants[_0x46c1b9(0x25c)]]:_0x93418e['BVfqJ'](_0x4df1ee,null),[TestFrameworkConstants[_0x46c1b9(0x1b6)]]:_0x4d1cfa?.['error']&&_0x93418e[_0x46c1b9(0x249)](getFailureType,_0x4d1cfa[_0x46c1b9(0x1dc)][_0x46c1b9(0x21f)]),[TestFrameworkConstants[_0x46c1b9(0x1fa)]]:_0x4d1cfa?.[_0x46c1b9(0x1dc)]&&_0x93418e['uZCxf'](removeAnsiColors,_0x4d1cfa['error']['message']),[TestFrameworkConstants[_0x46c1b9(0x232)]]:[],[TestFrameworkConstants[_0x46c1b9(0x28e)]]:_0x276098,[TestFrameworkConstants[_0x46c1b9(0x27f)]]:_0x5c6760['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x46c1b9(0x22c)](),[TestFrameworkConstants[_0x46c1b9(0x1e0)]]:_0x5c3e49};if(_0x4d1cfa&&_0x93418e[_0x46c1b9(0x1bc)](_0x4d1cfa['retry'],0x0)){const _0x230780=TestInfo['getTestUUID'](_0x93418e[_0x46c1b9(0x206)](getTestRunIdentifier,_0x4b78bd,_0x93418e[_0x46c1b9(0x23c)](_0x4d1cfa[_0x46c1b9(0x24a)],0x1)));_0x4be8ab[TestFrameworkConstants[_0x46c1b9(0x1ed)]]=_0x230780;}const _0x180100={};_0x180100[_0x46c1b9(0x266)]=_0x4b78bd;const _0xadd32f=this[_0x46c1b9(0x248)](TestFrameworkState[_0x46c1b9(0x220)],HookState[_0x46c1b9(0x1f8)],_0x180100),_0x557528=_0xadd32f['getAllData']()[_0x46c1b9(0x246)](_0x3c4c5d)[TestFrameworkConstants[_0x46c1b9(0x1ec)]],_0x2d98eb=[],_0x18a79f=_0x93418e['OMfpQ'](findNestedKey,_0x4d1cfa,_0x93418e['krGPD']);if(_0x18a79f&&_0x93418e[_0x46c1b9(0x217)](validateFilePath,_0x18a79f))try{_0x2d98eb[_0x46c1b9(0x227)]({'kind':_0x93418e[_0x46c1b9(0x1bb)],'timestamp':new Date()[_0x46c1b9(0x22c)](),'test_run_uuid':_0x557528,'file_name':path[_0x46c1b9(0x233)](_0x18a79f),'file_size':fs[_0x46c1b9(0x235)](_0x18a79f)[_0x46c1b9(0x25d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x21b764){logger[_0x46c1b9(0x1dc)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x18a79f+':\x20'+_0x21b764[_0x46c1b9(0x21f)]);}const _0x4b142d=TestInfo[_0x46c1b9(0x1d4)](),_0x2666fd=_0x4b142d[_0x46c1b9(0x274)](_0x5bc4eb=>_0x5bc4eb['testUId']===_0x557528);_0x2666fd[_0x46c1b9(0x1f2)](_0x3d7247=>{const _0x326ef3=_0x46c1b9;if(_0x3d7247[_0x326ef3(0x1fb)]&&_0x93418e[_0x326ef3(0x213)](validateFilePath,_0x3d7247[_0x326ef3(0x1fb)])&&!_0x2d98eb[_0x326ef3(0x256)](_0x3a79bf=>_0x3a79bf[_0x326ef3(0x21d)]===path[_0x326ef3(0x233)](_0x3d7247[_0x326ef3(0x1fb)])))try{_0x2d98eb[_0x326ef3(0x227)]({'kind':_0x93418e[_0x326ef3(0x1bb)],'timestamp':new Date()[_0x326ef3(0x22c)](),'test_run_uuid':_0x557528,'file_name':path['basename'](_0x3d7247[_0x326ef3(0x1fb)]),'file_size':fs[_0x326ef3(0x235)](_0x3d7247['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4c87a3){logger[_0x326ef3(0x1dc)](_0x326ef3(0x25e)+_0x3d7247['filePath']+_0x326ef3(0x1c4)+_0x4c87a3[_0x326ef3(0x21f)]);}});if(_0x93418e['QlyiW'](_0x2d98eb[_0x46c1b9(0x22a)],0x0)){const _0xf2b181=_0x4be8ab[TestFrameworkConstants[_0x46c1b9(0x232)]]||[];_0x4be8ab[TestFrameworkConstants['KEY_LOGS']]=[..._0xf2b181,..._0x2d98eb];}const _0x552f10=TestInfo[_0x46c1b9(0x26a)](_0x3c4c5d)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5d9c2b=_0x93418e[_0x46c1b9(0x21c)](getManualUploadLogs,_0x552f10,_0xadd32f[_0x46c1b9(0x253)]()[_0x46c1b9(0x246)](_0x3c4c5d)[TestFrameworkConstants[_0x46c1b9(0x1ec)]]);if(_0x93418e['tQURB'](_0x5d9c2b[_0x46c1b9(0x22a)],0x0)){const _0x1c8451=_0x4be8ab[TestFrameworkConstants[_0x46c1b9(0x232)]]||[];_0x4be8ab[TestFrameworkConstants[_0x46c1b9(0x232)]]=[..._0x1c8451,..._0x5d9c2b];}const _0x409b26=_0x4b78bd[_0x46c1b9(0x22b)]||[],_0x48fce0=_0x4be8ab[TestFrameworkConstants[_0x46c1b9(0x1e0)]]||{};_0x409b26[_0x46c1b9(0x1f2)](_0x4ef7de=>{const _0x225d94=_0x46c1b9,{type:_0x1395bc}=_0x4ef7de;let _0x31ffc4=_0x4ef7de['description'];if(!_0x1395bc)return;(_0x93418e[_0x225d94(0x1e5)](_0x31ffc4,undefined)||_0x93418e[_0x225d94(0x1fc)](_0x31ffc4,null)||_0x93418e[_0x225d94(0x1fc)](_0x93418e[_0x225d94(0x213)](String,_0x31ffc4)[_0x225d94(0x1d2)](),''))&&(_0x31ffc4=_0x93418e['wMxYP']);if(!_0x48fce0[_0x1395bc]){const _0x9b44c9={};_0x9b44c9[_0x225d94(0x23b)]=_0x93418e['KwSwg'],_0x9b44c9[_0x225d94(0x1f0)]=[],_0x48fce0[_0x1395bc]=_0x9b44c9;}else!_0x48fce0[_0x1395bc][_0x225d94(0x23b)]&&(_0x48fce0[_0x1395bc]['field_type']=_0x93418e[_0x225d94(0x215)]),!Array[_0x225d94(0x1c6)](_0x48fce0[_0x1395bc]['values'])&&(_0x48fce0[_0x1395bc][_0x225d94(0x1f0)]=[]);const _0x46dc62=_0x93418e[_0x225d94(0x217)](String,_0x31ffc4)[_0x225d94(0x219)](',')[_0x225d94(0x20e)](_0x2b43b7=>_0x2b43b7[_0x225d94(0x1d2)]());_0x48fce0[_0x1395bc][_0x225d94(0x1f0)]=[...new Set([..._0x48fce0[_0x1395bc]['values'],..._0x46dc62])];}),_0x4be8ab[TestFrameworkConstants[_0x46c1b9(0x1e0)]]=_0x48fce0,TestInfo[_0x46c1b9(0x210)](_0x3c4c5d,_0x4be8ab);const _0x23b322={};return _0x23b322[_0x3c4c5d]=_0x4be8ab,_0x23b322;}async[a67_0x1e1664(0x263)](_0x2dddce,_0x1a40eb,_0x4ab590,_0x4d67aa){const _0x7de078=a67_0x1e1664,_0x42c14e={'yAEtQ':function(_0xb3c005,_0x345f5c,_0x1b5dfc){return _0xb3c005(_0x345f5c,_0x1b5dfc);},'tCIYU':function(_0x3cdda3,_0xa62457){return _0x3cdda3 in _0xa62457;},'nuaIV':function(_0x1ec887,_0x18864d){return _0x1ec887(_0x18864d);},'CphBk':function(_0x1315e2,_0x37782d){return _0x1315e2(_0x37782d);},'eQecm':function(_0xb42a86,_0x25e088){return _0xb42a86===_0x25e088;},'rNUmU':function(_0x5201e4){return _0x5201e4();},'vMYhn':function(_0x4baa11,_0x5f3649){return _0x4baa11>_0x5f3649;},'WIiKF':function(_0x398e7a,_0x489e79,_0x6b07c7){return _0x398e7a(_0x489e79,_0x6b07c7);},'KWOAW':_0x7de078(0x1b3),'xygZn':function(_0x5039f6,_0x270cff){return _0x5039f6(_0x270cff);},'XpiEx':function(_0x4c63fb,_0x1a7003){return _0x4c63fb(_0x1a7003);},'FQeLJ':_0x7de078(0x284),'hUTyL':_0x7de078(0x27a),'JFRIq':function(_0x65128,_0x41f0dd){return _0x65128!==_0x41f0dd;},'UlPrG':function(_0x3c92c6,_0xa2495e){return _0x3c92c6+_0xa2495e;},'ivYRC':_0x7de078(0x1cb)},_0x4e3408=_0x4d67aa[_0x7de078(0x266)],_0x384d47=_0x4d67aa[_0x7de078(0x270)],_0xf01330=_0x42c14e[_0x7de078(0x228)](getTestRunIdentifier,_0x4e3408,_0x4d67aa[_0x7de078(0x285)][_0x7de078(0x24a)]),_0x14996e=_0x1a40eb[_0x7de078(0x1dd)]()[_0x7de078(0x219)]('.')[0x1];let _0x25c635=_0x2dddce[_0x7de078(0x253)]()[_0x7de078(0x246)](_0xf01330)[TestFrameworkConstants[_0x7de078(0x211)]];!_0x25c635&&(_0x25c635={});!_0x42c14e['tCIYU'](_0x14996e,_0x25c635)&&(_0x25c635[_0x14996e]=[]);let _0x41005c=_0x2dddce[_0x7de078(0x253)]()['get'](_0xf01330)[TestFrameworkConstants[_0x7de078(0x23a)]];!_0x41005c&&(_0x41005c={});!_0x42c14e[_0x7de078(0x204)](_0x14996e,_0x41005c)&&(_0x41005c[_0x14996e]=[]);const _0x4061d2={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x25c635,[TestFrameworkConstants[_0x7de078(0x23a)]]:_0x41005c},_0x2428b6={};_0x2428b6[_0xf01330]=_0x4061d2;const _0x5e8307=_0x2428b6,_0x2990da=_0x42c14e[_0x7de078(0x1be)](getPlaywrightTestFilePath,_0x4e3408),_0x5712dd=_0x2990da+':'+_0x42c14e[_0x7de078(0x1cc)](getPlaywrightTestLocation,_0x4e3408),_0x2f1144=TestInfo[_0x7de078(0x26a)](_0xf01330)[TestFrameworkConstants[_0x7de078(0x1e0)]]||{};if(_0x42c14e[_0x7de078(0x1e8)](_0x4ab590,HookState[_0x7de078(0x22e)])){const _0x205b3d={'key':_0x14996e,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x42c14e['rNUmU'](uuidv4),[TestFrameworkConstants[_0x7de078(0x287)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x7de078(0x1db)]]:_0x384d47[_0x7de078(0x21e)],[TestFrameworkConstants[_0x7de078(0x1bf)]]:[],[TestFrameworkConstants[_0x7de078(0x21b)]]:_0x384d47['title'],[TestFrameworkConstants[_0x7de078(0x230)]]:_0x2990da,[TestFrameworkConstants[_0x7de078(0x234)]]:_0x5712dd,[TestFrameworkConstants[_0x7de078(0x1e0)]]:_0x2f1144};_0x25c635[_0x14996e][_0x7de078(0x227)](_0x205b3d),_0x5e8307[_0xf01330][TestFrameworkConstants[_0x7de078(0x224)]]=_0x14996e,logger['debug'](_0x7de078(0x222)+_0x14996e+_0x7de078(0x1d5)+_0x205b3d+'\x20\x20and\x20args\x20=\x20'+_0x4d67aa);}else{if(_0x42c14e[_0x7de078(0x1e8)](_0x4ab590,HookState['POST'])){const _0x71e1ce=await _0x4d67aa[_0x7de078(0x285)],_0x1ef8e7=_0x25c635[_0x14996e]||[],_0x3f90eb=_0x4d67aa[_0x7de078(0x270)];logger['debug'](_0x7de078(0x23d)+_0x1ef8e7+_0x7de078(0x24d)+_0x4d67aa);if(_0x42c14e['vMYhn'](_0x1ef8e7[_0x7de078(0x22a)],0x0)){const _0x46d488=_0x1ef8e7[_0x7de078(0x201)]();if(_0x3f90eb[_0x7de078(0x1dc)]){const _0x179ee3=_0x42c14e[_0x7de078(0x25b)](failureData,_0x3f90eb[_0x7de078(0x1dc)],_0x42c14e[_0x7de078(0x236)]);_0x46d488[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x42c14e[_0x7de078(0x271)](getFailureType,_0x3f90eb?.[_0x7de078(0x1dc)][_0x7de078(0x21f)]),_0x46d488[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x42c14e[_0x7de078(0x212)](removeAnsiColors,_0x3f90eb?.[_0x7de078(0x1dc)][_0x7de078(0x21f)]),_0x46d488[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x42c14e[_0x7de078(0x1ca)],_0x46d488[TestFrameworkConstants[_0x7de078(0x1f7)]]=_0x179ee3;}else _0x46d488[TestFrameworkConstants[_0x7de078(0x287)]]=_0x42c14e[_0x7de078(0x1ba)];_0x42c14e[_0x7de078(0x242)](_0x71e1ce,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x46d488[TestFrameworkConstants[_0x7de078(0x287)]]=!_0x3f90eb[_0x7de078(0x1dc)]?_0x42c14e['hUTyL']:_0x42c14e[_0x7de078(0x1ca)]);const _0x158fb6=new Date(_0x3f90eb['startTime']),_0x3bd205=new Date(_0x42c14e[_0x7de078(0x243)](_0x158fb6[_0x7de078(0x1b4)](),_0x3f90eb[_0x7de078(0x264)]));_0x46d488[TestFrameworkConstants[_0x7de078(0x200)]]=_0x3bd205[_0x7de078(0x22c)](),_0x46d488[TestFrameworkConstants[_0x7de078(0x1e0)]]=_0x2f1144;const _0x3be53b=_0x46d488[TestFrameworkConstants[_0x7de078(0x1f1)]];await this[_0x7de078(0x293)](_0x2dddce,_0x1a40eb,_0x3be53b,_0x42c14e[_0x7de078(0x1ef)],_0x4d67aa),!_0x41005c[_0x14996e]&&(_0x41005c[_0x14996e]=[]),_0x41005c[_0x14996e]['push'](_0x46d488),_0x5e8307[_0xf01330][TestFrameworkConstants[_0x7de078(0x209)]]=_0x14996e;}}}return _0x5e8307;}async[a67_0x1e1664(0x293)](_0x3f98a1,_0x5c8eaa,_0x2af4e2,_0x574b86,_0x1762b){const _0x3c1a1f=a67_0x1e1664,_0x39f3a2={'IwlAJ':function(_0xb0e467,_0x771a7c){return _0xb0e467===_0x771a7c;},'ijMXx':_0x3c1a1f(0x266),'oTQGb':function(_0x126886,_0x153ab2,_0x231b83){return _0x126886(_0x153ab2,_0x231b83);},'mLqqZ':function(_0x584a44,_0x335c91,_0x2943bc){return _0x584a44(_0x335c91,_0x2943bc);},'OljXA':_0x3c1a1f(0x1ea),'GJtGN':function(_0x4b5b58,_0xda3535,_0x300cf6,_0x329240){return _0x4b5b58(_0xda3535,_0x300cf6,_0x329240);},'WhteS':function(_0x1279ae,_0x2e8f3f,_0x54f79b){return _0x1279ae(_0x2e8f3f,_0x54f79b);},'fnZml':function(_0x305080,_0x42acbc,_0x241091){return _0x305080(_0x42acbc,_0x241091);},'YXlFQ':function(_0x38676c,_0x28fa5c,_0xdade7e){return _0x38676c(_0x28fa5c,_0xdade7e);},'lfrdf':function(_0x52ad63,_0x34e422){return _0x52ad63/_0x34e422;},'FClEx':function(_0x3f3423,_0x7000fa){return _0x3f3423<_0x7000fa;},'BfupK':function(_0x4c6489,_0x29438d){return _0x4c6489*_0x29438d;},'ZiJYv':function(_0x167ccd,_0x1786a3){return _0x167ccd+_0x1786a3;},'VmaYg':function(_0x30ef45,_0x56e0e5,_0x395512,_0x56f401,_0x411380){return _0x30ef45(_0x56e0e5,_0x395512,_0x56f401,_0x411380);},'PhUMV':function(_0x5079e3,_0x34b8a7){return _0x5079e3+_0x34b8a7;},'VCThN':function(_0x1a6072,_0x242e96){return _0x1a6072+_0x242e96;},'esHvp':function(_0x4f2ad0,_0x3fbbae,_0x5c1837,_0x4f6ea5){return _0x4f2ad0(_0x3fbbae,_0x5c1837,_0x4f6ea5);},'uxWEU':_0x3c1a1f(0x1cb),'xgDlt':function(_0x235650,_0x4dd64d,_0x3e90c9){return _0x235650(_0x4dd64d,_0x3e90c9);}};try{if(_0x39f3a2[_0x3c1a1f(0x238)](_0x574b86,_0x39f3a2['ijMXx'])){const _0x2e9894=await _0x1762b[_0x3c1a1f(0x285)],_0x1bd20b=_0x39f3a2[_0x3c1a1f(0x258)](getTestRunIdentifier,_0x1762b['test'],_0x1762b[_0x3c1a1f(0x285)][_0x3c1a1f(0x24a)]),_0x19ebcb=_0x1762b['test'];logger[_0x3c1a1f(0x26c)](_0x3c1a1f(0x240)+_0x1bd20b+_0x3c1a1f(0x26d)+util[_0x3c1a1f(0x1c1)](_0x2e9894));const _0x4431dc=_0x3f98a1[_0x3c1a1f(0x253)]()[_0x3c1a1f(0x246)](_0x1bd20b)[TestFrameworkConstants[_0x3c1a1f(0x1ec)]];await _0x39f3a2[_0x3c1a1f(0x281)](sendTraceZip,_0x2e9894,_0x4431dc);const _0x1b42f8=TestInfo[_0x3c1a1f(0x26a)](_0x1bd20b)[_0x39f3a2[_0x3c1a1f(0x28d)]];if(_0x1b42f8){!_0x2e9894['attachments']&&(_0x2e9894[_0x3c1a1f(0x1ea)]=[]);Object[_0x3c1a1f(0x1b5)](_0x2e9894['attachments'],_0x2e9894[_0x3c1a1f(0x1ea)][_0x3c1a1f(0x292)](_0x1b42f8));const _0x5b70f4=TestInfo[_0x3c1a1f(0x26a)](_0x1bd20b);delete _0x5b70f4[_0x39f3a2[_0x3c1a1f(0x28d)]],TestInfo[_0x3c1a1f(0x210)](_0x1bd20b,_0x5b70f4);}const {steps:_0x35a2af,logs:_0x2f51bb}=_0x39f3a2[_0x3c1a1f(0x1c7)](getStepsAndLogs,_0x2e9894[_0x3c1a1f(0x1c0)],_0x3f98a1[_0x3c1a1f(0x253)]()['get'](_0x1bd20b)[TestFrameworkConstants[_0x3c1a1f(0x1ec)]],_0x39f3a2[_0x3c1a1f(0x278)]),_0x5d374=_0x39f3a2[_0x3c1a1f(0x1b2)](getScreenshots,_0x2e9894,_0x3f98a1[_0x3c1a1f(0x253)]()['get'](_0x1bd20b)[TestFrameworkConstants[_0x3c1a1f(0x1ec)]]),_0x26946d=_0x39f3a2['fnZml'](getVideos,_0x2e9894,_0x3f98a1[_0x3c1a1f(0x253)]()[_0x3c1a1f(0x246)](_0x1bd20b)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3fbfe0,logs:_0x4c81e7}=_0x39f3a2[_0x3c1a1f(0x27d)](getFailureData,_0x2e9894[_0x3c1a1f(0x216)],{'test_run_uuid':_0x3f98a1[_0x3c1a1f(0x253)]()[_0x3c1a1f(0x246)](_0x1bd20b)[TestFrameworkConstants[_0x3c1a1f(0x1ec)]]}),_0x691b03=TestInfo[_0x3c1a1f(0x26a)](_0x1bd20b)[TestFrameworkConstants[_0x3c1a1f(0x202)]]||{},_0x3b899b=_0x39f3a2['YXlFQ'](getMediaArtifactsLogs,_0x691b03,_0x3f98a1['getAllData']()[_0x3c1a1f(0x246)](_0x1bd20b)[TestFrameworkConstants[_0x3c1a1f(0x1ec)]]),_0x31c9d6=_0x3f98a1['getAllData']()[_0x3c1a1f(0x246)](_0x1bd20b),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x37577c='',[TestFrameworkConstants[_0x3c1a1f(0x1f6)]]:_0x3dbf17=''}=_0x31c9d6,_0x1156ff=(_0x2f51bb||[])[_0x3c1a1f(0x292)](_0x5d374||[])['concat'](_0x4c81e7||[])[_0x3c1a1f(0x292)](_0x26946d||[])['concat'](_0x3b899b||[]),_0x5c08e5=0x28,_0x500fbe=Math[_0x3c1a1f(0x28b)](_0x39f3a2['lfrdf'](_0x1156ff['length'],_0x5c08e5));for(let _0x2eb065=0x0;_0x39f3a2[_0x3c1a1f(0x237)](_0x2eb065,_0x500fbe);_0x2eb065++){const _0x1dc7aa=_0x39f3a2[_0x3c1a1f(0x1bd)](_0x2eb065,_0x5c08e5),_0x1e6b0e=_0x39f3a2['ZiJYv'](_0x1dc7aa,_0x5c08e5),_0x4f1e78=_0x1156ff[_0x3c1a1f(0x225)](_0x1dc7aa,_0x1e6b0e),_0x3759d5={'platformIndex':'0','logs':_0x4f1e78,'testFrameworkName':_0x37577c,'testFrameworkVersion':_0x3dbf17,'testFrameworkState':_0x5c8eaa[_0x3c1a1f(0x1dd)]()['split']('.')[0x1]};_0x39f3a2[_0x3c1a1f(0x1ee)](updatePayloadForTraceLogs,_0x3759d5,_0x1762b,_0x1bd20b,_0x3f98a1),logger[_0x3c1a1f(0x26c)](_0x3c1a1f(0x239)+_0x1bd20b+'\x20batch\x20'+_0x39f3a2[_0x3c1a1f(0x207)](_0x2eb065,0x1)+'/'+_0x500fbe+_0x3c1a1f(0x25f)+util[_0x3c1a1f(0x1c1)](_0x3759d5));const _0xc71c0a=await GrpcClient[_0x3c1a1f(0x208)]()[_0x3c1a1f(0x251)](_0x3759d5);logger[_0x3c1a1f(0x26c)](_0x3c1a1f(0x239)+_0x1bd20b+'\x20batch\x20'+_0x39f3a2['VCThN'](_0x2eb065,0x1)+'/'+_0x500fbe+_0x3c1a1f(0x20b)+util[_0x3c1a1f(0x1c1)](_0xc71c0a));}}else{const {steps:_0x334e2b,logs:_0x23acf9}=_0x39f3a2[_0x3c1a1f(0x203)](getStepsAndLogs,_0x1762b[_0x3c1a1f(0x270)][_0x3c1a1f(0x1c0)],_0x2af4e2,_0x39f3a2[_0x3c1a1f(0x1ce)]),_0x53b546=_0x39f3a2[_0x3c1a1f(0x22d)](getTestRunIdentifier,_0x1762b['test'],_0x1762b[_0x3c1a1f(0x285)][_0x3c1a1f(0x24a)]);logger['debug'](_0x3c1a1f(0x240)+_0x53b546);const _0x1bc34c=_0x3f98a1[_0x3c1a1f(0x253)]()['get'](_0x53b546),{[TestFrameworkConstants[_0x3c1a1f(0x254)]]:_0x174aea='',[TestFrameworkConstants[_0x3c1a1f(0x1f6)]]:_0x4d9877=''}=_0x1bc34c,_0x52eb72={'platformIndex':'0','logs':_0x23acf9,'testFrameworkName':_0x174aea,'testFrameworkVersion':_0x4d9877,'testFrameworkState':_0x5c8eaa[_0x3c1a1f(0x1dd)]()[_0x3c1a1f(0x219)]('.')[0x1]};_0x39f3a2[_0x3c1a1f(0x1ee)](updatePayloadForTraceLogs,_0x52eb72,_0x1762b,_0x53b546,_0x3f98a1),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x53b546+_0x3c1a1f(0x25f)+util[_0x3c1a1f(0x1c1)](_0x52eb72));const _0x3364af=await GrpcClient[_0x3c1a1f(0x208)]()['logCreatedEvent'](_0x52eb72);}}catch(_0x580a42){logger[_0x3c1a1f(0x1dc)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x3c1a1f(0x1de)](_0x580a42));}}}module[a67_0x1e1664(0x250)]=PlaywrightTestFramework;function a67_0x3bd2(){const _0x3101c8=['wVlxA','ceil','TEST_ATTACHMENT','OljXA','KEY_TEST_RESULT','18sHnefF','getTrackedInstance','multi_dropdown','concat','sendLogCreatedEvent','../../../helpers/helper.js',',\x20state=','38970xnFXTY','../../../../src/helpers/helper',',\x20testFrameworkState=','WhteS','err','getTime','assign','KEY_TEST_FAILURE_TYPE','timedOut','parsePlaywrightTestResult','\x20instance=','hUTyL','AuTUj','slKdi','BfupK','nuaIV','KEY_HOOK_LOGS','steps','inspect','uuid','zLZvD','\x20from\x20TestDetails:\x20','info','isArray','GJtGN','\x20testHookState=','createContext','FQeLJ','hook','CphBk','matvo','uxWEU','getTestUUID','1111307HGbsOq','./testFramework','trim','2095594fbSPkZ','getTraceFilePaths','\x20&\x20hook\x20=\x20','util','getId','matchHookRegex','KEY_TEST_LOGS','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_EVENT_STARTED_AT','error','toString','format','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_CUSTOM_TAGS','KEY_TEST_TAGS','KEY_TEST_NAME','../instances/trackedInstance.js','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','RDjQq','AnIsi','8WJQuyO','eQecm','PyOmy','attachments','instance','KEY_TEST_UUID','KEY_TEST_RETRY_OF','VmaYg','ivYRC','values','KEY_HOOK_ID','forEach','SWMPm','./constants/testFrameworkConstants.js','FKvNy','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_FAILURE','POST','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_TEST_FAILURE_REASON','filePath','BZfgG','DiJcx','OcBPT','KEY_TEST_STARTED_AT','KEY_EVENT_ENDED_AT','pop','KEY_TEST_ATTACHMENTS','esHvp','tCIYU','KEY_TEST_SCOPES','AFjoL','PhUMV','getInstance','KEY_HOOK_LAST_FINISHED','../cliUtils.js','\x20response=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','results','map','path','setTestDetails','KEY_HOOKS_STARTED','XpiEx','GmkQc','3xDYOAz','KwSwg','errors','lFjlL','NONE','split','../../utils/constants','KEY_HOOK_NAME','GjXbq','file_name','startTime','message','TEST','7095LmYdvU','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','axeEr','KEY_HOOK_LAST_STARTED','slice','../state/testFrameworkState.js','push','yAEtQ','BFlkO','length','annotations','toISOString','xgDlt','PRE','DuvRA','KEY_TEST_FILE_PATH','PlaywrightTestFramework','KEY_LOGS','basename','KEY_TEST_LOCATION','statSync','KWOAW','FClEx','IwlAJ','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_HOOKS_FINISHED','field_type','JDrQO','Hook\x20List\x20in\x20Post\x20','160DzUwDB','mKjug','sendLogCreatedEvent:\x20testId=','\x20hookState=','JFRIq','UlPrG','getCurrentInstanceName','status','get','27024404VGMjYK','resolveInstance','uZCxf','retry','getRef','../../playwright/reporter/pwUtils','\x20and\x20args\x20=\x20','INIT_TEST','trackEvent','exports','logCreatedEvent','KEY_TEST_CODE','getAllData','KEY_TEST_FRAMEWORK_NAME','getTestFrameworks','some','4862552mIOJup','oTQGb','setTrackedInstance','../instances/testFrameworkInstance.js','WIiKF','KEY_TEST_FAILURE','size','Error\x20processing\x20trace\x20file\x20','\x20payload=','skipped','addMultipleEntries','kUcid','trackHookEvent','duration','../grpcClient','test','../TestInfo.js','BxXAf','../../../helpers/test-observability/utils','getTestDetails','AcNYw','debug','\x20result=','../../../helpers/classLogger.js','stack','step','xygZn','FOjym','yAZfD','filter','mqNde','KEY_TEST_ID','parsePlaywrightTestResult:\x20testId=','ijMXx','\x20target=','passed','trackEvent:\x20found\x20instance,\x20testFrameworkState=','738346Zsctmn','fnZml','expectedStatus','KEY_TEST_ENDED_AT','trackPlaywrightInstance','mLqqZ','getTestFrameworksVersions','KEY_AUTOMATE_SESSION_NAME','failed','result','KEY_TEST_RERUN_NAME','KEY_HOOK_RESULT','MyADd','VscNh'];a67_0x3bd2=function(){return _0x3101c8;};return a67_0x3bd2();}
1
+ const a67_0xf8218=a67_0x2503;function a67_0x2503(_0x411509,_0x5ce9e3){const _0x5936ad=a67_0x5936();return a67_0x2503=function(_0x2503e8,_0x2a8a3f){_0x2503e8=_0x2503e8-0x165;let _0xc11b7e=_0x5936ad[_0x2503e8];return _0xc11b7e;},a67_0x2503(_0x411509,_0x5ce9e3);}function a67_0x5936(){const _0xb455bc=['passed','logCreatedEvent','toISOString','length','sendLogCreatedEvent','gcCHG','250200uWsKbZ','timedOut','CYzBz','WBDOy','annotations','KEY_TEST_ENDED_AT','JYgJe','KEY_TEST_FAILURE_TYPE','KEY_HOOK_FAILURE_REASON','getTestFrameworks','../../utils/constants','getInstance','concat','getAllData','getTestDetails','PlaywrightTestFramework','\x20and\x20args\x20=\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','SjvFi','dNjhM','NQvWL','resolveInstance','error','stack','Error\x20processing\x20direct\x20trace\x20file\x20','POST','statSync','KcECl','err','ZfrcA','expectedStatus','KEY_HOOK_LAST_FINISHED','xBkPM','pop','startTime','filter','TGqnR','KEY_TEST_NAME','ceil','trackPlaywrightInstance','KEY_HOOK_LAST_STARTED','XwhTE','setTestDetails','status','ElxLh','result','stZmp','field_type','getTraceFilePaths','mRUkO','UJyit','slice','KEY_HOOKS_STARTED','ljQic','./testFramework','KEY_HOOK_RESULT','../instances/testFrameworkInstance.js','KEY_TEST_STARTED_AT','sendLogCreatedEvent:\x20testId=','Fsbxg','KEY_TEST_SCOPES','inspect','KEY_TEST_FRAMEWORK_VERSION','Hook\x20List\x20in\x20Post\x20','sendLogCreatedEvent\x20for\x20testId:\x20','toString','VWVFB','parsePlaywrightTest','\x20hookState=','bKCOw','cyXvX','title','TEST','message','getTrackedInstance','KEY_TEST_RESULT','\x20payload=','\x20response=','split','kEwCG','../instances/trackedInstance.js','\x20instance=','KEY_HOOK_NAME','TEST_ATTACHMENT','7faIZIE','Expected\x20to\x20fail,\x20but\x20passed.','runHooks','380413IaYUNv','TWKZe','KEY_TEST_FAILURE_REASON','KEY_EVENT_ENDED_AT','199395dbPgEi','get','values','SwfsH','INIT_TEST','KEY_TEST_LOCATION','parsePlaywrightTestResult:\x20testId=','\x20&\x20hook\x20=\x20','GJcqH','hHwAZ','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../../playwright/reporter/pwUtils','format','retry','KEY_TEST_ATTACHMENTS','KEY_TEST_TAGS','size','hook','getId','\x20testHookState=','QXakN','step','info','../state/testFrameworkState.js','test','../grpcClient','map','hTYLy','ytIQG','KEY_HOOKS_FINISHED','kPeGf','1126228qRSJuc','RtlkO','KEY_TEST_SCOPE','jnAvW','forEach','IvCvQ','push','KEY_TEST_UUID','EAnyx','LWnkm','../../../helpers/helper.js','duration','\x20result=','filePath','basename','./constants/testFrameworkConstants.js','1141038bDjAve','getCurrentInstanceName','KEY_TEST_CODE','KEY_EVENT_STARTED_AT','failed','bQdph','errors','KEY_TEST_FAILURE','uUGSb','eXOWW','MgkBP','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','attachments','some','QQKEj','ljsql','1409176YoVZbW','dhrhA','ZiNyR','DEFAULT_HOOK_RESULT','uOhDy','KEY_TEST_LOGS','../TestInfo.js','rWmAe','trackHookEvent','Error\x20in\x20sendLogCreatedEvent:\x20','tOvOQ','getTestFrameworksVersions','YaBtG','\x20batch\x20','addMultipleEntries','gUhxI','gzBEA','path','KEY_TEST_ID','KEY_LOGS','bibeF','../cliUtils.js','1126892aKaYUL',',\x20testFrameworkState=','DEFAULT_TEST_RESULT','../state/hookState.js','10XDGyqB','WCmzR','KEY_AUTOMATE_SESSION_NAME','FkZDK','zvTEY','skipped','GHxrj','PRE','results','steps','getTestUUID','MVZoU','KEY_HOOK_LOGS','description','AXGEI','uuid','MKNAO','getTime','../../../../src/helpers/helper','KEY_TEST_FRAMEWORK_NAME','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','OWISd','getTestIdentifierFromTestInfo','matchHookRegex','TGsAO','RXSAQ','KEY_TEST_FILE_PATH','xMNqs','trackEvent','debug','parsePlaywrightTestResult','UUJkB','KEY_CUSTOM_TAGS','oQYpV','testUId'];a67_0x5936=function(){return _0xb455bc;};return a67_0x5936();}(function(_0x417ed6,_0xe98593){const _0x564daa=a67_0x2503,_0x1083a1=_0x417ed6();while(!![]){try{const _0x57b035=parseInt(_0x564daa(0x1e3))/0x1+-parseInt(_0x564daa(0x206))/0x2+parseInt(_0x564daa(0x18c))/0x3+parseInt(_0x564daa(0x23c))/0x4*(parseInt(_0x564daa(0x240))/0x5)+parseInt(_0x564daa(0x216))/0x6+-parseInt(_0x564daa(0x1e0))/0x7*(parseInt(_0x564daa(0x226))/0x8)+-parseInt(_0x564daa(0x1e7))/0x9;if(_0x57b035===_0xe98593)break;else _0x1083a1['push'](_0x1083a1['shift']());}catch(_0x5658be){_0x1083a1['push'](_0x1083a1['shift']());}}}(a67_0x5936,0x6f550));const TestFramework=require(a67_0xf8218(0x1c2)),TestFrameworkState=require(a67_0xf8218(0x1fe)),HookState=require(a67_0xf8218(0x23f)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a67_0xf8218(0x1c4)),CLIUtils=require(a67_0xf8218(0x23b)),TrackedInstance=require(a67_0xf8218(0x1dc)),TestFrameworkConstants=require(a67_0xf8218(0x215)),logger=createClassLogger(a67_0xf8218(0x19b)),{v4:uuidv4}=require(a67_0xf8218(0x172)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a67_0xf8218(0x210)),TestInfo=require(a67_0xf8218(0x22c)),GrpcClient=require(a67_0xf8218(0x200)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a67_0xf8218(0x1f2)),{findNestedKey,sendTraceZip,validateFilePath}=require(a67_0xf8218(0x1f2)),path=require('path'),fs=require('fs'),helper=require(a67_0xf8218(0x175)),{PLAYWRIGHT_TRACE_LOGS}=require(a67_0xf8218(0x196));class PlaywrightTestFramework extends TestFramework{constructor(_0xc0998b,_0x56652f,_0x4a3206){super(_0xc0998b,_0x56652f,_0x4a3206);}async[a67_0xf8218(0x17f)](_0x2347a8,_0x21adde,_0x3b14ab={}){const _0x43b2c2=a67_0xf8218,_0x21d4d5={'jnAvW':function(_0x190e5e,_0xe11678){return _0x190e5e===_0xe11678;},'QrEDm':function(_0x43caa6,_0x536500){return _0x43caa6===_0x536500;},'VnEXz':function(_0x140389,_0x598eca){return _0x140389===_0x598eca;},'dhrhA':function(_0x73e56a,_0x403ac3,_0x4caf81){return _0x73e56a(_0x403ac3,_0x4caf81);},'PjOwf':'test','UUJkB':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x43b2c2(0x17f)](_0x2347a8,_0x21adde,_0x3b14ab);if(_0x21d4d5[_0x43b2c2(0x209)](_0x2347a8,TestFrameworkState['TEST_SCREENSHOT'])){const _0x28655a=TestInfo[_0x43b2c2(0x179)](_0x3b14ab['test'],_0x3b14ab[_0x43b2c2(0x1ff)][_0x43b2c2(0x1f4)]);TestInfo['setTestDetails'](_0x28655a,_0x3b14ab['result'],!![]);}const _0xf5d154=this['resolveInstance'](_0x2347a8,_0x21adde,_0x3b14ab);if(!_0xf5d154)return;logger[_0x43b2c2(0x180)](_0x43b2c2(0x19d)+_0x2347a8+_0x43b2c2(0x1d0)+_0x21adde+'\x20instanceId='+_0xf5d154['getRef']());try{if(_0x21d4d5['QrEDm'](_0x21adde,HookState[_0x43b2c2(0x16a)])&&_0x21d4d5['VnEXz'](_0x2347a8,TestFrameworkState[_0x43b2c2(0x1d4)])){const _0x2062e1=_0x3b14ab[_0x43b2c2(0x1ff)];logger[_0x43b2c2(0x180)](_0x43b2c2(0x177)+_0x2062e1['id']+'}');const _0x2f60cf=TestInfo[_0x43b2c2(0x16d)](_0x21d4d5[_0x43b2c2(0x227)](getTestRunIdentifier,_0x2062e1,_0x3b14ab[_0x43b2c2(0x1b9)][_0x43b2c2(0x1f4)]));_0xf5d154[_0x43b2c2(0x234)](this[_0x43b2c2(0x1cf)](_0x2f60cf,_0x2062e1,_0x3b14ab[_0x43b2c2(0x1b9)])),logger[_0x43b2c2(0x180)](_0x43b2c2(0x1f1)+_0x2062e1['id']+_0x43b2c2(0x23d)+_0x2347a8+_0x43b2c2(0x1fa)+_0x21adde+_0x43b2c2(0x1dd)+_0xf5d154['getRef']());}if(_0x21d4d5['VnEXz'](_0x21adde,HookState[_0x43b2c2(0x1a5)])&&_0x21d4d5['QrEDm'](_0x2347a8,TestFrameworkState['TEST'])){const _0x2b3d5c=_0x3b14ab[_0x43b2c2(0x1ff)],_0x1fcfea=_0x3b14ab[_0x43b2c2(0x1b9)];logger[_0x43b2c2(0x180)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x2b3d5c['id']),_0xf5d154[_0x43b2c2(0x234)](this[_0x43b2c2(0x181)](_0x2b3d5c['id'],_0x1fcfea,_0x2b3d5c)),await this[_0x43b2c2(0x18a)](_0xf5d154,_0x2347a8,_0x21adde,_0x21d4d5['PjOwf'],_0x3b14ab);}if(CLIUtils[_0x43b2c2(0x17a)](_0x2347a8[_0x43b2c2(0x1cd)]()[_0x43b2c2(0x1da)]('.')[0x1])){const _0x5b9cb8=await this['trackHookEvent'](_0xf5d154,_0x2347a8,_0x21adde,_0x3b14ab);_0xf5d154[_0x43b2c2(0x234)](_0x5b9cb8);}}catch(_0x502033){logger[_0x43b2c2(0x1a2)](util[_0x43b2c2(0x1f3)](_0x21d4d5[_0x43b2c2(0x182)],_0x2347a8,_0x21adde,_0x3b14ab['length'],_0x502033));}_0x3b14ab['instance']=_0xf5d154,await this[_0x43b2c2(0x1e2)](_0xf5d154,_0x2347a8,_0x21adde,_0x3b14ab);}['resolveInstance'](_0x2879e5,_0x97ff89,_0x103dc9={}){const _0x54e374=a67_0xf8218,_0x5f2605={};_0x5f2605[_0x54e374(0x1db)]=function(_0x404dc0,_0x5c035e){return _0x404dc0===_0x5c035e;},_0x5f2605[_0x54e374(0x241)]=function(_0x10a0ee,_0x199bc3){return _0x10a0ee===_0x199bc3;};const _0x182a47=_0x5f2605;let _0x27f58a=null;return(_0x182a47[_0x54e374(0x1db)](_0x2879e5,TestFrameworkState[_0x54e374(0x1eb)])||_0x182a47['WCmzR'](_0x2879e5,TestFrameworkState['NONE']))&&this[_0x54e374(0x1b3)](_0x2879e5,_0x103dc9),_0x27f58a=TestFramework[_0x54e374(0x1d6)](),_0x27f58a;}[a67_0xf8218(0x1b3)](_0x12a38b,_0x49260c){const _0x5d5963=a67_0xf8218,_0xa4d91d=CLIUtils[_0x5d5963(0x217)](),_0xf7a757=TrackedInstance['createContext'](_0xa4d91d);let _0x55c07e=null;logger[_0x5d5963(0x1fd)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0xa4d91d+',\x20state='+_0x12a38b),_0x55c07e=new TestFrameworkInstance(_0xf7a757,this[_0x5d5963(0x195)](),this[_0x5d5963(0x231)](),_0x12a38b,HookState['NONE']),TestFramework['setTrackedInstance'](_0xf7a757,_0x55c07e),logger[_0x5d5963(0x1fd)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0xf7a757[_0x5d5963(0x1f9)]()+'\x20target='+_0xa4d91d);}[a67_0xf8218(0x1cf)](_0x2a6a23,_0x4bbbfd,_0x337cc1){const _0x13fb00=a67_0xf8218,_0xac682c={'EAnyx':function(_0x47ebb3,_0x207df9){return _0x47ebb3(_0x207df9);},'zvTEY':function(_0x4ad0d6,_0x2d4380){return _0x4ad0d6(_0x2d4380);},'rWmAe':function(_0x2163ba,_0x5ca258){return _0x2163ba(_0x5ca258);},'MVZoU':function(_0x12229b,_0x3c4e61){return _0x12229b(_0x3c4e61);},'uUGSb':function(_0x3a8163,_0x22fba0){return _0x3a8163(_0x22fba0);},'zagdP':function(_0x12b5c3,_0x22e5ff,_0x3b598a){return _0x12b5c3(_0x22e5ff,_0x3b598a);}},_0x14e29c=_0xac682c['EAnyx'](getPlaywrightTestId,_0x4bbbfd),_0x4035ce=_0xac682c[_0x13fb00(0x20e)](getPlaywrightTestTitle,_0x4bbbfd),_0x2dcfa9=_0xac682c[_0x13fb00(0x20e)](getTestTags,_0x4bbbfd),_0x567978=_0xac682c[_0x13fb00(0x167)](getPlaywrightTestCode,_0x4bbbfd),_0x4651b4=_0xac682c[_0x13fb00(0x20e)](getPlaywrightTestFilePath,_0x4bbbfd),_0xe5b8cf=_0x4651b4+':'+_0xac682c[_0x13fb00(0x22d)](getPlaywrightTestLocation,_0x4bbbfd),_0x1d820d=_0xac682c['EAnyx'](getPlaywrightTestScope,_0x4bbbfd),_0x1ae13e=_0xac682c[_0x13fb00(0x16e)](getPlaywrightTestScopes,_0x4bbbfd),_0x2c881d=_0xac682c[_0x13fb00(0x21e)](getPlaywrightSessionName,_0x4bbbfd),_0x4497ef=this['getTestFrameworks']()[0x0],_0x28f458=_0xac682c['zagdP'](getTestRunIdentifier,_0x4bbbfd,_0x337cc1[_0x13fb00(0x1f4)]),_0x5badd4={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4497ef,[TestFrameworkConstants[_0x13fb00(0x1ca)]]:this[_0x13fb00(0x231)]()[_0x4497ef],[TestFrameworkConstants[_0x13fb00(0x22b)]]:[],[TestFrameworkConstants[_0x13fb00(0x204)]]:{},[TestFrameworkConstants[_0x13fb00(0x1c0)]]:{},[TestFrameworkConstants[_0x13fb00(0x20d)]]:_0x2a6a23,[TestFrameworkConstants[_0x13fb00(0x1d7)]]:TestFrameworkConstants[_0x13fb00(0x23e)],[TestFrameworkConstants[_0x13fb00(0x165)]]:_0x2c881d,[TestFrameworkConstants[_0x13fb00(0x17d)]]:_0x4651b4,[TestFrameworkConstants[_0x13fb00(0x238)]]:_0x14e29c,[TestFrameworkConstants[_0x13fb00(0x1b1)]]:_0x4035ce,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0xe5b8cf,[TestFrameworkConstants[_0x13fb00(0x218)]]:_0x567978,[TestFrameworkConstants[_0x13fb00(0x1f6)]]:_0x2dcfa9,[TestFrameworkConstants[_0x13fb00(0x1c5)]]:_0x4bbbfd[_0x13fb00(0x16b)][0x0][_0x13fb00(0x1ae)],[TestFrameworkConstants[_0x13fb00(0x208)]]:_0x1d820d,[TestFrameworkConstants[_0x13fb00(0x1c8)]]:_0x1ae13e,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0xac682c['MVZoU'](getPlaywrightCustomRerunParam,_0x4bbbfd)};TestInfo[_0x13fb00(0x1b6)](_0x28f458,_0x5badd4);const _0x2da9e1={};return _0x2da9e1[_0x28f458]=_0x5badd4,_0x2da9e1;}[a67_0xf8218(0x181)](_0x34b89c,_0x47295e,_0x2b88cf){const _0x381f7b=a67_0xf8218,_0x19cf93={'ZiNyR':function(_0x52a2ed,_0x57f620){return _0x52a2ed(_0x57f620);},'stZmp':_0x381f7b(0x1df),'GHxrj':function(_0x4f907b,_0xd35f0c){return _0x4f907b===_0xd35f0c;},'OWISd':function(_0x481b04,_0x59384a){return _0x481b04===_0x59384a;},'bQdph':'No\x20reason\x20provided','gUhxI':'multi_dropdown','eXOWW':function(_0x19258b,_0x5d87f4){return _0x19258b(_0x5d87f4);},'xMNqs':function(_0xb35885,_0x199910,_0x8fd64c){return _0xb35885(_0x199910,_0x8fd64c);},'SwfsH':function(_0x3ceb1b,_0x299289){return _0x3ceb1b+_0x299289;},'FkZDK':function(_0x48d036,_0x1db0a){return _0x48d036===_0x1db0a;},'AXGEI':function(_0x442af7,_0x1fa3b8){return _0x442af7===_0x1fa3b8;},'IvCvQ':_0x381f7b(0x168),'xBkPM':'passed','gzBEA':function(_0x2287cd,_0x2e58bd){return _0x2287cd===_0x2e58bd;},'WBDOy':_0x381f7b(0x21a),'CYzBz':_0x381f7b(0x18d),'oQYpV':_0x381f7b(0x1e1),'TGsAO':function(_0x502f7f,_0x178112){return _0x502f7f||_0x178112;},'cyXvX':function(_0x1974b3,_0x4f01d5){return _0x1974b3>_0x4f01d5;},'TGqnR':function(_0xe8a0dd,_0x1b47ee){return _0xe8a0dd-_0x1b47ee;},'VWVFB':function(_0x428e32,_0x1db58f,_0x353829){return _0x428e32(_0x1db58f,_0x353829);},'KULSW':_0x381f7b(0x237),'XwhTE':function(_0x234c3b,_0x4046da){return _0x234c3b(_0x4046da);},'ZfrcA':function(_0x1a8c11,_0x3ceac2){return _0x1a8c11>_0x3ceac2;},'uOhDy':function(_0x4a15e0,_0x41282a,_0x35a968){return _0x4a15e0(_0x41282a,_0x35a968);}};logger[_0x381f7b(0x180)](_0x381f7b(0x1ed)+_0x34b89c);const _0x341f2a=_0x19cf93[_0x381f7b(0x17e)](getTestRunIdentifier,_0x2b88cf,_0x47295e[_0x381f7b(0x1f4)]),_0x1b7d32=new Date(_0x47295e[_0x381f7b(0x1ae)]),_0x285092=_0x47295e[_0x381f7b(0x211)],_0x58614e=new Date(_0x19cf93[_0x381f7b(0x1ea)](_0x1b7d32[_0x381f7b(0x174)](),_0x285092)),_0x4d466d=_0x47295e[_0x381f7b(0x1b7)],_0x242379=TestInfo[_0x381f7b(0x19a)](_0x341f2a)[TestFrameworkConstants[_0x381f7b(0x183)]]||{};let _0x51bf6b=_0x4d466d;if(_0x19cf93[_0x381f7b(0x166)](_0x47295e[_0x381f7b(0x1b7)],_0x2b88cf[_0x381f7b(0x1aa)]))_0x51bf6b=_0x19cf93[_0x381f7b(0x171)](_0x47295e[_0x381f7b(0x1b7)],_0x19cf93[_0x381f7b(0x20b)])?_0x19cf93['IvCvQ']:_0x19cf93['xBkPM'];else{(_0x19cf93[_0x381f7b(0x166)](_0x51bf6b,_0x19cf93[_0x381f7b(0x1ac)])||_0x19cf93[_0x381f7b(0x236)](_0x51bf6b,_0x19cf93['WBDOy'])||_0x19cf93['AXGEI'](_0x51bf6b,_0x19cf93[_0x381f7b(0x18e)]))&&(_0x51bf6b=_0x19cf93[_0x381f7b(0x18f)]);if(_0x19cf93[_0x381f7b(0x166)](_0x47295e[_0x381f7b(0x1b7)],_0x19cf93[_0x381f7b(0x1ac)])&&_0x19cf93['AXGEI'](_0x2b88cf[_0x381f7b(0x1aa)],_0x19cf93['WBDOy'])){const _0xe3d3a4={};_0xe3d3a4['message']=_0x19cf93[_0x381f7b(0x184)],_0xe3d3a4[_0x381f7b(0x1a3)]=_0x19cf93[_0x381f7b(0x184)],_0x47295e[_0x381f7b(0x1a2)]=_0xe3d3a4,_0x47295e[_0x381f7b(0x21c)]=[_0x47295e[_0x381f7b(0x1a2)]];}}const {failureData:_0x8bf5f1,logs:_0x32d0fe}=_0x19cf93[_0x381f7b(0x17e)](getFailureData,_0x47295e?.[_0x381f7b(0x21c)],{}),_0x51ea37={[TestFrameworkConstants[_0x381f7b(0x21d)]]:_0x19cf93[_0x381f7b(0x17b)](_0x8bf5f1,null),[TestFrameworkConstants[_0x381f7b(0x193)]]:_0x47295e?.[_0x381f7b(0x1a2)]&&_0x19cf93[_0x381f7b(0x228)](getFailureType,_0x47295e[_0x381f7b(0x1a2)][_0x381f7b(0x1d5)]),[TestFrameworkConstants[_0x381f7b(0x1e5)]]:_0x47295e?.[_0x381f7b(0x1a2)]&&_0x19cf93[_0x381f7b(0x228)](removeAnsiColors,_0x47295e['error'][_0x381f7b(0x1d5)]),[TestFrameworkConstants[_0x381f7b(0x239)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x51bf6b,[TestFrameworkConstants[_0x381f7b(0x191)]]:_0x58614e[_0x381f7b(0x188)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x381f7b(0x188)](),[TestFrameworkConstants[_0x381f7b(0x183)]]:_0x242379};if(_0x47295e&&_0x19cf93[_0x381f7b(0x1d2)](_0x47295e[_0x381f7b(0x1f4)],0x0)){const _0x5d7474=TestInfo['getTestUUID'](_0x19cf93[_0x381f7b(0x17e)](getTestRunIdentifier,_0x2b88cf,_0x19cf93[_0x381f7b(0x1b0)](_0x47295e['retry'],0x1)));_0x51ea37[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x5d7474;}const _0x137b33={};_0x137b33[_0x381f7b(0x1ff)]=_0x2b88cf;const _0x3a8e8e=this[_0x381f7b(0x1a1)](TestFrameworkState[_0x381f7b(0x1d4)],HookState[_0x381f7b(0x1a5)],_0x137b33),_0x2189ce=_0x3a8e8e[_0x381f7b(0x199)]()[_0x381f7b(0x1e8)](_0x341f2a)[TestFrameworkConstants[_0x381f7b(0x20d)]],_0x1b01b8=[],_0xf2ca5a=_0x19cf93[_0x381f7b(0x1ce)](findNestedKey,_0x47295e,_0x19cf93['KULSW']);if(_0xf2ca5a&&_0x19cf93[_0x381f7b(0x1b5)](validateFilePath,_0xf2ca5a))try{_0x1b01b8[_0x381f7b(0x20c)]({'kind':_0x19cf93[_0x381f7b(0x1ba)],'timestamp':new Date()[_0x381f7b(0x188)](),'test_run_uuid':_0x2189ce,'file_name':path[_0x381f7b(0x214)](_0xf2ca5a),'file_size':fs['statSync'](_0xf2ca5a)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x55fac5){logger[_0x381f7b(0x1a2)](_0x381f7b(0x1a4)+_0xf2ca5a+':\x20'+_0x55fac5[_0x381f7b(0x1d5)]);}const _0x2f6306=TestInfo[_0x381f7b(0x1bc)](),_0x52f32a=_0x2f6306[_0x381f7b(0x1af)](_0x293387=>_0x293387[_0x381f7b(0x185)]===_0x2189ce);_0x52f32a[_0x381f7b(0x20a)](_0x1a17cc=>{const _0x1e23d6=_0x381f7b;if(_0x1a17cc['filePath']&&_0x19cf93[_0x1e23d6(0x228)](validateFilePath,_0x1a17cc['filePath'])&&!_0x1b01b8[_0x1e23d6(0x223)](_0x5a8d44=>_0x5a8d44['file_name']===path[_0x1e23d6(0x214)](_0x1a17cc[_0x1e23d6(0x213)])))try{_0x1b01b8[_0x1e23d6(0x20c)]({'kind':_0x19cf93['stZmp'],'timestamp':new Date()[_0x1e23d6(0x188)](),'test_run_uuid':_0x2189ce,'file_name':path[_0x1e23d6(0x214)](_0x1a17cc[_0x1e23d6(0x213)]),'file_size':fs[_0x1e23d6(0x1a6)](_0x1a17cc['filePath'])[_0x1e23d6(0x1f7)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x20de62){logger[_0x1e23d6(0x1a2)]('Error\x20processing\x20trace\x20file\x20'+_0x1a17cc['filePath']+'\x20from\x20TestDetails:\x20'+_0x20de62[_0x1e23d6(0x1d5)]);}});if(_0x19cf93[_0x381f7b(0x1a9)](_0x1b01b8[_0x381f7b(0x189)],0x0)){const _0x47aa6a=_0x51ea37[TestFrameworkConstants[_0x381f7b(0x239)]]||[];_0x51ea37[TestFrameworkConstants['KEY_LOGS']]=[..._0x47aa6a,..._0x1b01b8];}const _0x35d1c0=TestInfo[_0x381f7b(0x19a)](_0x341f2a)[TestFrameworkConstants[_0x381f7b(0x1f5)]]||{},_0x4c159a=_0x19cf93[_0x381f7b(0x22a)](getManualUploadLogs,_0x35d1c0,_0x3a8e8e['getAllData']()[_0x381f7b(0x1e8)](_0x341f2a)[TestFrameworkConstants[_0x381f7b(0x20d)]]);if(_0x19cf93[_0x381f7b(0x1d2)](_0x4c159a[_0x381f7b(0x189)],0x0)){const _0x216f10=_0x51ea37[TestFrameworkConstants[_0x381f7b(0x239)]]||[];_0x51ea37[TestFrameworkConstants['KEY_LOGS']]=[..._0x216f10,..._0x4c159a];}const _0xdbe9d9=_0x2b88cf[_0x381f7b(0x190)]||[],_0x1b0e52=_0x51ea37[TestFrameworkConstants[_0x381f7b(0x183)]]||{};_0xdbe9d9[_0x381f7b(0x20a)](_0x5015f2=>{const _0x5c1d8c=_0x381f7b,{type:_0x599540}=_0x5015f2;let _0x1bc93a=_0x5015f2[_0x5c1d8c(0x170)];if(!_0x599540)return;(_0x19cf93[_0x5c1d8c(0x169)](_0x1bc93a,undefined)||_0x19cf93[_0x5c1d8c(0x169)](_0x1bc93a,null)||_0x19cf93[_0x5c1d8c(0x178)](_0x19cf93['ZiNyR'](String,_0x1bc93a)['trim'](),''))&&(_0x1bc93a=_0x19cf93[_0x5c1d8c(0x21b)]);if(!_0x1b0e52[_0x599540]){const _0x174a64={};_0x174a64['field_type']=_0x19cf93[_0x5c1d8c(0x235)],_0x174a64[_0x5c1d8c(0x1e9)]=[],_0x1b0e52[_0x599540]=_0x174a64;}else!_0x1b0e52[_0x599540]['field_type']&&(_0x1b0e52[_0x599540][_0x5c1d8c(0x1bb)]=_0x19cf93[_0x5c1d8c(0x235)]),!Array['isArray'](_0x1b0e52[_0x599540][_0x5c1d8c(0x1e9)])&&(_0x1b0e52[_0x599540][_0x5c1d8c(0x1e9)]=[]);const _0x940417=_0x19cf93[_0x5c1d8c(0x21f)](String,_0x1bc93a)[_0x5c1d8c(0x1da)](',')[_0x5c1d8c(0x201)](_0x1ab16e=>_0x1ab16e['trim']());_0x1b0e52[_0x599540][_0x5c1d8c(0x1e9)]=[...new Set([..._0x1b0e52[_0x599540][_0x5c1d8c(0x1e9)],..._0x940417])];}),_0x51ea37[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x1b0e52,TestInfo[_0x381f7b(0x1b6)](_0x341f2a,_0x51ea37);const _0x3b4002={};return _0x3b4002[_0x341f2a]=_0x51ea37,_0x3b4002;}async[a67_0xf8218(0x22e)](_0x434fff,_0x27d23e,_0x5a07eb,_0x560d10){const _0xcc16c8=a67_0xf8218,_0x372e44={'GoNVg':function(_0x269e83,_0x4b7382,_0x520d58){return _0x269e83(_0x4b7382,_0x520d58);},'hHwAZ':function(_0x3831a2,_0x412821){return _0x3831a2 in _0x412821;},'bibeF':function(_0x22e236,_0x26ae97){return _0x22e236 in _0x26ae97;},'ElxLh':function(_0xff58e2,_0x39d1e6){return _0xff58e2(_0x39d1e6);},'MgkBP':function(_0x132fab,_0x285f91){return _0x132fab(_0x285f91);},'qaWIX':function(_0xd574d7,_0x560fd5){return _0xd574d7===_0x560fd5;},'KcECl':function(_0x3e49bc){return _0x3e49bc();},'LWnkm':function(_0xa40fec,_0x3b445d){return _0xa40fec===_0x3b445d;},'NQvWL':function(_0x5ad58e,_0x2c67ea){return _0x5ad58e>_0x2c67ea;},'RXSAQ':function(_0x1a266a,_0x11f015,_0x2be044){return _0x1a266a(_0x11f015,_0x2be044);},'MKNAO':_0xcc16c8(0x1a8),'TWKZe':function(_0x5124bc,_0x1c2a69){return _0x5124bc(_0x1c2a69);},'bKCOw':function(_0x299cca,_0x39ae20){return _0x299cca(_0x39ae20);},'QQKEj':_0xcc16c8(0x21a),'hTYLy':_0xcc16c8(0x186),'kPeGf':function(_0x42cbd4,_0x1a9d9d){return _0x42cbd4!==_0x1a9d9d;},'gcCHG':function(_0x568907,_0x429eaa){return _0x568907+_0x429eaa;},'ytIQG':_0xcc16c8(0x1f8)},_0x5101e9=_0x560d10[_0xcc16c8(0x1ff)],_0x2565eb=_0x560d10[_0xcc16c8(0x1fc)],_0x14bb5a=_0x372e44['GoNVg'](getTestRunIdentifier,_0x5101e9,_0x560d10[_0xcc16c8(0x1b9)][_0xcc16c8(0x1f4)]),_0x2b5f18=_0x27d23e[_0xcc16c8(0x1cd)]()[_0xcc16c8(0x1da)]('.')[0x1];let _0x5a0daf=_0x434fff['getAllData']()[_0xcc16c8(0x1e8)](_0x14bb5a)[TestFrameworkConstants[_0xcc16c8(0x1c0)]];!_0x5a0daf&&(_0x5a0daf={});!_0x372e44[_0xcc16c8(0x1f0)](_0x2b5f18,_0x5a0daf)&&(_0x5a0daf[_0x2b5f18]=[]);let _0x3c737c=_0x434fff['getAllData']()[_0xcc16c8(0x1e8)](_0x14bb5a)[TestFrameworkConstants[_0xcc16c8(0x204)]];!_0x3c737c&&(_0x3c737c={});!_0x372e44[_0xcc16c8(0x23a)](_0x2b5f18,_0x3c737c)&&(_0x3c737c[_0x2b5f18]=[]);const _0x3416fe={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5a0daf,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3c737c},_0x42ac0d={};_0x42ac0d[_0x14bb5a]=_0x3416fe;const _0x587154=_0x42ac0d,_0x3d5cb8=_0x372e44[_0xcc16c8(0x1b8)](getPlaywrightTestFilePath,_0x5101e9),_0x466cf5=_0x3d5cb8+':'+_0x372e44[_0xcc16c8(0x220)](getPlaywrightTestLocation,_0x5101e9),_0x151a22=TestInfo[_0xcc16c8(0x19a)](_0x14bb5a)[TestFrameworkConstants[_0xcc16c8(0x183)]]||{};if(_0x372e44['qaWIX'](_0x5a07eb,HookState[_0xcc16c8(0x16a)])){const _0x8a01f4={'key':_0x2b5f18,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x372e44[_0xcc16c8(0x1a7)](uuidv4),[TestFrameworkConstants[_0xcc16c8(0x1c3)]]:TestFrameworkConstants[_0xcc16c8(0x229)],[TestFrameworkConstants[_0xcc16c8(0x219)]]:_0x2565eb[_0xcc16c8(0x1ae)],[TestFrameworkConstants[_0xcc16c8(0x16f)]]:[],[TestFrameworkConstants[_0xcc16c8(0x1de)]]:_0x2565eb[_0xcc16c8(0x1d3)],[TestFrameworkConstants[_0xcc16c8(0x17d)]]:_0x3d5cb8,[TestFrameworkConstants[_0xcc16c8(0x1ec)]]:_0x466cf5,[TestFrameworkConstants[_0xcc16c8(0x183)]]:_0x151a22};_0x5a0daf[_0x2b5f18][_0xcc16c8(0x20c)](_0x8a01f4),_0x587154[_0x14bb5a][TestFrameworkConstants[_0xcc16c8(0x1b4)]]=_0x2b5f18,logger[_0xcc16c8(0x180)](_0xcc16c8(0x221)+_0x2b5f18+_0xcc16c8(0x1ee)+_0x8a01f4+'\x20\x20and\x20args\x20=\x20'+_0x560d10);}else{if(_0x372e44[_0xcc16c8(0x20f)](_0x5a07eb,HookState[_0xcc16c8(0x1a5)])){const _0x30d5f5=await _0x560d10[_0xcc16c8(0x1b9)],_0x1e3c2d=_0x5a0daf[_0x2b5f18]||[],_0x37c58d=_0x560d10[_0xcc16c8(0x1fc)];logger['debug'](_0xcc16c8(0x1cb)+_0x1e3c2d+_0xcc16c8(0x19c)+_0x560d10);if(_0x372e44[_0xcc16c8(0x1a0)](_0x1e3c2d['length'],0x0)){const _0x39f927=_0x1e3c2d[_0xcc16c8(0x1ad)]();if(_0x37c58d['error']){const _0xfd85c=_0x372e44[_0xcc16c8(0x17c)](failureData,_0x37c58d[_0xcc16c8(0x1a2)],_0x372e44[_0xcc16c8(0x173)]);_0x39f927[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x372e44[_0xcc16c8(0x1e4)](getFailureType,_0x37c58d?.[_0xcc16c8(0x1a2)][_0xcc16c8(0x1d5)]),_0x39f927[TestFrameworkConstants[_0xcc16c8(0x194)]]=_0x372e44[_0xcc16c8(0x1d1)](removeAnsiColors,_0x37c58d?.[_0xcc16c8(0x1a2)][_0xcc16c8(0x1d5)]),_0x39f927[TestFrameworkConstants[_0xcc16c8(0x1c3)]]=_0x372e44['QQKEj'],_0x39f927[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0xfd85c;}else _0x39f927[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x372e44[_0xcc16c8(0x202)];_0x372e44[_0xcc16c8(0x205)](_0x30d5f5,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x39f927[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x37c58d[_0xcc16c8(0x1a2)]?_0x372e44[_0xcc16c8(0x202)]:_0x372e44[_0xcc16c8(0x224)]);const _0x136249=new Date(_0x37c58d[_0xcc16c8(0x1ae)]),_0xfe71d7=new Date(_0x372e44[_0xcc16c8(0x18b)](_0x136249['getTime'](),_0x37c58d[_0xcc16c8(0x211)]));_0x39f927[TestFrameworkConstants[_0xcc16c8(0x1e6)]]=_0xfe71d7[_0xcc16c8(0x188)](),_0x39f927[TestFrameworkConstants[_0xcc16c8(0x183)]]=_0x151a22;const _0x181ea9=_0x39f927[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0xcc16c8(0x18a)](_0x434fff,_0x27d23e,_0x181ea9,_0x372e44[_0xcc16c8(0x203)],_0x560d10),!_0x3c737c[_0x2b5f18]&&(_0x3c737c[_0x2b5f18]=[]),_0x3c737c[_0x2b5f18][_0xcc16c8(0x20c)](_0x39f927),_0x587154[_0x14bb5a][TestFrameworkConstants[_0xcc16c8(0x1ab)]]=_0x2b5f18;}}}return _0x587154;}async[a67_0xf8218(0x18a)](_0x5562ad,_0x3a3f90,_0xb2cd4a,_0x1a87fa,_0x461e65){const _0x2713a2=a67_0xf8218,_0x518639={'tOvOQ':function(_0x4ab095,_0x58deb7){return _0x4ab095===_0x58deb7;},'JYgJe':_0x2713a2(0x1ff),'RtlkO':function(_0x1b6e48,_0x232560,_0x5d819b){return _0x1b6e48(_0x232560,_0x5d819b);},'jjMSp':function(_0x11943b,_0x53efaf,_0x1f68af){return _0x11943b(_0x53efaf,_0x1f68af);},'iaief':'attachments','GJcqH':function(_0x2dbcc6,_0x223051,_0x17adb1,_0x328aae){return _0x2dbcc6(_0x223051,_0x17adb1,_0x328aae);},'Fsbxg':function(_0x41db68,_0x2aeb2e,_0x59dc6d){return _0x41db68(_0x2aeb2e,_0x59dc6d);},'QXakN':function(_0x4788a1,_0x4db3ef,_0x41428b){return _0x4788a1(_0x4db3ef,_0x41428b);},'EERsp':function(_0x25081a,_0x4e6c18){return _0x25081a/_0x4e6c18;},'YaBtG':function(_0x386867,_0x191d0e){return _0x386867<_0x191d0e;},'ljQic':function(_0x23d37b,_0x2c7d23){return _0x23d37b*_0x2c7d23;},'UJyit':function(_0x76689f,_0x3692b6){return _0x76689f+_0x3692b6;},'mRUkO':function(_0x327a88,_0x156610,_0x4f9e94,_0x46c6c9,_0xc3b14f){return _0x327a88(_0x156610,_0x4f9e94,_0x46c6c9,_0xc3b14f);},'YYDXF':function(_0x55e550,_0x57669e){return _0x55e550+_0x57669e;},'ljsql':function(_0x22b80b,_0x2dc341,_0x58d76b,_0x581afa){return _0x22b80b(_0x2dc341,_0x58d76b,_0x581afa);},'WHYgu':_0x2713a2(0x1f8),'SjvFi':function(_0x4028fe,_0x56b45e,_0x50620a){return _0x4028fe(_0x56b45e,_0x50620a);},'dNjhM':function(_0xa963bc,_0x144998,_0x44da27,_0x1e1346,_0x3afd13){return _0xa963bc(_0x144998,_0x44da27,_0x1e1346,_0x3afd13);}};try{if(_0x518639[_0x2713a2(0x230)](_0x1a87fa,_0x518639[_0x2713a2(0x192)])){const _0x68a8dc=await _0x461e65[_0x2713a2(0x1b9)],_0x491aca=_0x518639[_0x2713a2(0x207)](getTestRunIdentifier,_0x461e65[_0x2713a2(0x1ff)],_0x461e65[_0x2713a2(0x1b9)]['retry']),_0x31b36b=_0x461e65[_0x2713a2(0x1ff)];logger[_0x2713a2(0x180)]('sendLogCreatedEvent:\x20testId='+_0x491aca+_0x2713a2(0x212)+util[_0x2713a2(0x1c9)](_0x68a8dc));const _0x4c0e95=_0x5562ad[_0x2713a2(0x199)]()[_0x2713a2(0x1e8)](_0x491aca)[TestFrameworkConstants[_0x2713a2(0x20d)]];await _0x518639['jjMSp'](sendTraceZip,_0x68a8dc,_0x4c0e95);const _0x42fe2d=TestInfo[_0x2713a2(0x19a)](_0x491aca)[_0x518639['iaief']];let _0x1d2199={};if(_0x42fe2d){!_0x68a8dc[_0x2713a2(0x222)]&&(_0x68a8dc[_0x2713a2(0x222)]=[]);_0x1d2199[_0x2713a2(0x222)]=_0x68a8dc[_0x2713a2(0x222)]['concat'](_0x42fe2d||[]);const _0x22c7db=TestInfo[_0x2713a2(0x19a)](_0x491aca);delete _0x22c7db[_0x518639['iaief']],TestInfo[_0x2713a2(0x1b6)](_0x491aca,_0x22c7db);}const {steps:_0x3075e6,logs:_0x266dc8}=_0x518639[_0x2713a2(0x1ef)](getStepsAndLogs,_0x68a8dc[_0x2713a2(0x16c)],_0x5562ad[_0x2713a2(0x199)]()[_0x2713a2(0x1e8)](_0x491aca)[TestFrameworkConstants[_0x2713a2(0x20d)]],_0x518639[_0x2713a2(0x192)]),_0x3d1730=_0x518639[_0x2713a2(0x1c7)](getScreenshots,_0x1d2199,_0x5562ad['getAllData']()['get'](_0x491aca)[TestFrameworkConstants[_0x2713a2(0x20d)]]),_0x429374=_0x518639[_0x2713a2(0x1fb)](getVideos,_0x68a8dc,_0x5562ad['getAllData']()[_0x2713a2(0x1e8)](_0x491aca)[TestFrameworkConstants[_0x2713a2(0x20d)]]),{_:_0x286570,logs:_0x4b1d0d}=_0x518639[_0x2713a2(0x207)](getFailureData,_0x68a8dc[_0x2713a2(0x21c)],{'test_run_uuid':_0x5562ad[_0x2713a2(0x199)]()[_0x2713a2(0x1e8)](_0x491aca)[TestFrameworkConstants[_0x2713a2(0x20d)]]}),_0x5a6f34=TestInfo['getTestDetails'](_0x491aca)[TestFrameworkConstants[_0x2713a2(0x1f5)]]||{},_0x24b91f=_0x518639['Fsbxg'](getMediaArtifactsLogs,_0x5a6f34,_0x5562ad[_0x2713a2(0x199)]()[_0x2713a2(0x1e8)](_0x491aca)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x247ea8=_0x5562ad['getAllData']()[_0x2713a2(0x1e8)](_0x491aca),{[TestFrameworkConstants[_0x2713a2(0x176)]]:_0x125ba1='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x532bb4=''}=_0x247ea8,_0xa35f60=(_0x266dc8||[])[_0x2713a2(0x198)](_0x3d1730||[])[_0x2713a2(0x198)](_0x4b1d0d||[])[_0x2713a2(0x198)](_0x429374||[])[_0x2713a2(0x198)](_0x24b91f||[]),_0x31be7d=0x28,_0x58e66d=Math[_0x2713a2(0x1b2)](_0x518639['EERsp'](_0xa35f60[_0x2713a2(0x189)],_0x31be7d));for(let _0x50d3ec=0x0;_0x518639[_0x2713a2(0x232)](_0x50d3ec,_0x58e66d);_0x50d3ec++){const _0x2dd4c7=_0x518639[_0x2713a2(0x1c1)](_0x50d3ec,_0x31be7d),_0xa94c16=_0x518639[_0x2713a2(0x1be)](_0x2dd4c7,_0x31be7d),_0x1f9443=_0xa35f60[_0x2713a2(0x1bf)](_0x2dd4c7,_0xa94c16),_0x4cccde={'platformIndex':'0','logs':_0x1f9443,'testFrameworkName':_0x125ba1,'testFrameworkVersion':_0x532bb4,'testFrameworkState':_0x3a3f90[_0x2713a2(0x1cd)]()[_0x2713a2(0x1da)]('.')[0x1]};_0x518639[_0x2713a2(0x1bd)](updatePayloadForTraceLogs,_0x4cccde,_0x461e65,_0x491aca,_0x5562ad),logger['debug'](_0x2713a2(0x1cc)+_0x491aca+_0x2713a2(0x233)+_0x518639[_0x2713a2(0x1be)](_0x50d3ec,0x1)+'/'+_0x58e66d+_0x2713a2(0x1d8)+util['inspect'](_0x4cccde));const _0x3a7939=await GrpcClient[_0x2713a2(0x197)]()[_0x2713a2(0x187)](_0x4cccde);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x491aca+'\x20batch\x20'+_0x518639['YYDXF'](_0x50d3ec,0x1)+'/'+_0x58e66d+_0x2713a2(0x1d9)+util[_0x2713a2(0x1c9)](_0x3a7939));}}else{const {steps:_0x15d3e1,logs:_0x2ae73c}=_0x518639[_0x2713a2(0x225)](getStepsAndLogs,_0x461e65[_0x2713a2(0x1fc)][_0x2713a2(0x16c)],_0xb2cd4a,_0x518639['WHYgu']),_0x516347=_0x518639[_0x2713a2(0x19e)](getTestRunIdentifier,_0x461e65[_0x2713a2(0x1ff)],_0x461e65[_0x2713a2(0x1b9)]['retry']);logger['debug'](_0x2713a2(0x1c6)+_0x516347);const _0x237ee5=_0x5562ad[_0x2713a2(0x199)]()[_0x2713a2(0x1e8)](_0x516347),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2a5222='',[TestFrameworkConstants[_0x2713a2(0x1ca)]]:_0x38798d=''}=_0x237ee5,_0x36220f={'platformIndex':'0','logs':_0x2ae73c,'testFrameworkName':_0x2a5222,'testFrameworkVersion':_0x38798d,'testFrameworkState':_0x3a3f90[_0x2713a2(0x1cd)]()['split']('.')[0x1]};_0x518639[_0x2713a2(0x19f)](updatePayloadForTraceLogs,_0x36220f,_0x461e65,_0x516347,_0x5562ad),logger[_0x2713a2(0x180)](_0x2713a2(0x1cc)+_0x516347+_0x2713a2(0x1d8)+util[_0x2713a2(0x1c9)](_0x36220f));const _0x94c78c=await GrpcClient[_0x2713a2(0x197)]()[_0x2713a2(0x187)](_0x36220f);}}catch(_0x3b1c65){logger[_0x2713a2(0x1a2)](_0x2713a2(0x22f)+util[_0x2713a2(0x1f3)](_0x3b1c65));}}}module['exports']=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a68_0x4179e1=a68_0xfc31;(function(_0x518fde,_0xe6fdd1){const _0x40187e=a68_0xfc31,_0x1a7013=_0x518fde();while(!![]){try{const _0x307f64=-parseInt(_0x40187e(0xe0))/0x1*(-parseInt(_0x40187e(0xe9))/0x2)+-parseInt(_0x40187e(0xce))/0x3+-parseInt(_0x40187e(0xc9))/0x4+-parseInt(_0x40187e(0xd5))/0x5*(parseInt(_0x40187e(0xe5))/0x6)+parseInt(_0x40187e(0xc7))/0x7*(parseInt(_0x40187e(0xdb))/0x8)+parseInt(_0x40187e(0xe6))/0x9+parseInt(_0x40187e(0xe7))/0xa;if(_0x307f64===_0xe6fdd1)break;else _0x1a7013['push'](_0x1a7013['shift']());}catch(_0x2ff424){_0x1a7013['push'](_0x1a7013['shift']());}}}(a68_0x2e24,0x45244));function a68_0xfc31(_0x265e50,_0x538da7){const _0x2e2486=a68_0x2e24();return a68_0xfc31=function(_0xfc3192,_0x3a7425){_0xfc3192=_0xfc3192-0xc6;let _0x48c582=_0x2e2486[_0xfc3192];return _0x48c582;},a68_0xfc31(_0x265e50,_0x538da7);}const CLIUtils=require(a68_0x4179e1(0xd1)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a68_0x4179e1(0xd7)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require(a68_0x4179e1(0xcf)),HookState=require('../state/hookState'),{createClassLogger}=require(a68_0x4179e1(0xde)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a68_0x4179e1(0xc8));class TestFramework{static [a68_0x4179e1(0xe8)]=new Map();[a68_0x4179e1(0xdd)]=[];[a68_0x4179e1(0xec)]={};[a68_0x4179e1(0xea)]=null;constructor(_0x46d320,_0x7910cc,_0x103da5){const _0x289bc5=a68_0x4179e1;this[_0x289bc5(0xdd)]=_0x46d320,this[_0x289bc5(0xec)]=_0x7910cc,this['binSessionId']=_0x103da5;}[a68_0x4179e1(0xd6)](){return TestFramework['instances'];}[a68_0x4179e1(0xc6)](_0x28c8d9,_0x4b3891){const _0x83464b=a68_0x4179e1;TestFramework[_0x83464b(0xe8)][_0x83464b(0xd4)](_0x28c8d9[_0x83464b(0xe1)],_0x4b3891);}static[a68_0x4179e1(0xd2)](){const _0x2e4488=a68_0x4179e1,_0x494358=TrackedInstance[_0x2e4488(0xd3)](CLIUtils[_0x2e4488(0xeb)]());return TestFramework['instances'][_0x2e4488(0xda)](_0x494358[_0x2e4488(0xe1)]());}static[a68_0x4179e1(0xed)](_0x4a5746,_0x570398){const _0x1dda32=a68_0x4179e1;TestFramework['instances'][_0x1dda32(0xd4)](_0x4a5746[_0x1dda32(0xe1)](),_0x570398);}[a68_0x4179e1(0xca)](){return this['testFrameworkVersions'];}[a68_0x4179e1(0xcc)](){const _0x47563f=a68_0x4179e1;return this[_0x47563f(0xdd)];}[a68_0x4179e1(0xe3)](_0x2fcbd2,_0x2f294e,_0x110198={}){const _0x4ca885=a68_0x4179e1;logger['debug'](_0x4ca885(0xdc)+_0x2fcbd2+';\x20hookState='+_0x2f294e);}async[a68_0x4179e1(0xee)](_0x1813e9,_0x528b78,_0x266e3e,_0x338d9f={}){const _0x33255d=a68_0x4179e1,_0x16a2fe=CLIUtils[_0x33255d(0xe2)](_0x528b78,_0x266e3e);_0x1813e9['setCurrentTestState'](_0x528b78),_0x1813e9[_0x33255d(0xd8)](_0x266e3e),await eventDispatcher[_0x33255d(0xd9)](_0x16a2fe,_0x338d9f);}static[a68_0x4179e1(0xcd)](_0x2f0728,_0x4b5938,_0x442d76){const _0x2f53a5=a68_0x4179e1;eventDispatcher['registerObserver'](CLIUtils[_0x2f53a5(0xe2)](_0x2f0728,_0x4b5938),_0x442d76);}static['getState'](_0x30bef2,_0x5e47f5){const _0x3a8f02=a68_0x4179e1;return _0x30bef2[_0x3a8f02(0xdf)]()[_0x3a8f02(0xda)](_0x5e47f5);}static[a68_0x4179e1(0xe4)](_0x1b71e2,_0x36465b,_0x59ff1f){_0x1b71e2['getAllData']()['set'](_0x36465b,_0x59ff1f);}static[a68_0x4179e1(0xcb)](_0x9244a8,_0x3d83af){const _0x4f0543=a68_0x4179e1;return _0x9244a8['getAllData']()[_0x4f0543(0xd0)](_0x3d83af);}}function a68_0x2e24(){const _0x13c321=['testFrameworkVersions','setTrackedInstance','runHooks','setInstance','283255tCDBgn','TestFramework','2136804GmJZVD','getTestFrameworksVersions','hasState','getTestFrameworks','registerObserver','1163568tRFQbN','../state/testFrameworkState','has','../cliUtils','getTrackedInstance','createContext','set','170095vbbcXW','getInstances','../instances/testFrameworkInstance','setCurrentHookState','notifyObserver','get','104xpFvpE','trackEvent:\x20testFrameworkState=','testFrameworks','../../../helpers/classLogger','getAllData','21RdBqFy','getId','getHookRegistryKey','trackEvent','setState','78qYDHHy','1850634OjSahZ','8332230dHaNAB','instances','7868roGPDt','binSessionId','getCurrentInstanceName'];a68_0x2e24=function(){return _0x13c321;};return a68_0x2e24();}module['exports']=TestFramework;
1
+ const a68_0x4cf7f7=a68_0x4d1b;(function(_0x41a1f3,_0x305a1e){const _0x1f0a50=a68_0x4d1b,_0x4bddcd=_0x41a1f3();while(!![]){try{const _0x40ff97=-parseInt(_0x1f0a50(0xe2))/0x1+parseInt(_0x1f0a50(0xd5))/0x2*(-parseInt(_0x1f0a50(0xd0))/0x3)+-parseInt(_0x1f0a50(0xe8))/0x4*(-parseInt(_0x1f0a50(0xe5))/0x5)+parseInt(_0x1f0a50(0xf1))/0x6*(parseInt(_0x1f0a50(0xdb))/0x7)+-parseInt(_0x1f0a50(0xeb))/0x8+parseInt(_0x1f0a50(0xf5))/0x9*(-parseInt(_0x1f0a50(0xe7))/0xa)+parseInt(_0x1f0a50(0xef))/0xb;if(_0x40ff97===_0x305a1e)break;else _0x4bddcd['push'](_0x4bddcd['shift']());}catch(_0x2720f9){_0x4bddcd['push'](_0x4bddcd['shift']());}}}(a68_0x5f1d,0xb6f20));const CLIUtils=require(a68_0x4cf7f7(0xde)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a68_0x4cf7f7(0xd8)),TrackedContext=require(a68_0x4cf7f7(0xd3)),TestFrameworkState=require(a68_0x4cf7f7(0xf2)),HookState=require('../state/hookState'),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a68_0x4cf7f7(0xd7));function a68_0x4d1b(_0xfa8196,_0xeb2504){const _0x5f1d66=a68_0x5f1d();return a68_0x4d1b=function(_0x4d1b77,_0x494ef9){_0x4d1b77=_0x4d1b77-0xcb;let _0x3cd655=_0x5f1d66[_0x4d1b77];return _0x3cd655;},a68_0x4d1b(_0xfa8196,_0xeb2504);}class TestFramework{static [a68_0x4cf7f7(0xf7)]=new Map();[a68_0x4cf7f7(0xe1)]=[];[a68_0x4cf7f7(0xf0)]={};[a68_0x4cf7f7(0xcc)]=null;constructor(_0x45b6ff,_0x3e5bed,_0x3d9b5a){const _0x6643fc=a68_0x4cf7f7;this[_0x6643fc(0xe1)]=_0x45b6ff,this[_0x6643fc(0xf0)]=_0x3e5bed,this['binSessionId']=_0x3d9b5a;}[a68_0x4cf7f7(0xd2)](){const _0x4e5450=a68_0x4cf7f7;return TestFramework[_0x4e5450(0xf7)];}['setInstance'](_0x34e1ef,_0x3f33f9){const _0x1b464d=a68_0x4cf7f7;TestFramework[_0x1b464d(0xf7)][_0x1b464d(0xed)](_0x34e1ef[_0x1b464d(0xd1)],_0x3f33f9);}static[a68_0x4cf7f7(0xe3)](){const _0x57a56f=a68_0x4cf7f7,_0x2530e7=TrackedInstance[_0x57a56f(0xe9)](CLIUtils[_0x57a56f(0xe6)]());return TestFramework[_0x57a56f(0xf7)][_0x57a56f(0xdd)](_0x2530e7[_0x57a56f(0xd1)]());}static['setTrackedInstance'](_0x34c3cc,_0x14c382){const _0x431a5a=a68_0x4cf7f7;TestFramework[_0x431a5a(0xf7)]['set'](_0x34c3cc[_0x431a5a(0xd1)](),_0x14c382);}[a68_0x4cf7f7(0xec)](){const _0x52fb06=a68_0x4cf7f7;return this[_0x52fb06(0xf0)];}[a68_0x4cf7f7(0xf3)](){const _0x1e385e=a68_0x4cf7f7;return this[_0x1e385e(0xe1)];}[a68_0x4cf7f7(0xe4)](_0x13eee5,_0x147329,_0x1e13b2={}){const _0x94ad1c=a68_0x4cf7f7;logger[_0x94ad1c(0xd4)](_0x94ad1c(0xea)+_0x13eee5+_0x94ad1c(0xee)+_0x147329);}async[a68_0x4cf7f7(0xda)](_0x46db2e,_0x3aee6e,_0x26d854,_0x311d07={}){const _0x4b29cb=a68_0x4cf7f7,_0x2bcca7=CLIUtils[_0x4b29cb(0xf6)](_0x3aee6e,_0x26d854);_0x46db2e[_0x4b29cb(0xcb)](_0x3aee6e),_0x46db2e[_0x4b29cb(0xdc)](_0x26d854),await eventDispatcher[_0x4b29cb(0xd9)](_0x2bcca7,_0x311d07);}static[a68_0x4cf7f7(0xce)](_0x4243c5,_0x471803,_0x3e8ead){const _0x558731=a68_0x4cf7f7;eventDispatcher['registerObserver'](CLIUtils[_0x558731(0xf6)](_0x4243c5,_0x471803),_0x3e8ead);}static[a68_0x4cf7f7(0xe0)](_0x47bb9e,_0x3111c2){const _0x9d78c1=a68_0x4cf7f7;return _0x47bb9e[_0x9d78c1(0xdf)]()['get'](_0x3111c2);}static[a68_0x4cf7f7(0xcf)](_0x359c14,_0x1dcee1,_0x592f28){const _0x100a72=a68_0x4cf7f7;_0x359c14[_0x100a72(0xdf)]()['set'](_0x1dcee1,_0x592f28);}static[a68_0x4cf7f7(0xf4)](_0x2cb26b,_0x1041ed){const _0x39e31a=a68_0x4cf7f7;return _0x2cb26b[_0x39e31a(0xdf)]()[_0x39e31a(0xcd)](_0x1041ed);}}function a68_0x5f1d(){const _0x3ce0d5=['getTestFrameworksVersions','set',';\x20hookState=','15938076NQYfBY','testFrameworkVersions','162RDNQLJ','../state/testFrameworkState','getTestFrameworks','hasState','27yYadPY','getHookRegistryKey','instances','setCurrentTestState','binSessionId','has','registerObserver','setState','47991keAZST','getId','getInstances','../instances/trackedContext','debug','8bZAODh','exports','TestFramework','../instances/testFrameworkInstance','notifyObserver','runHooks','358057AeoyVL','setCurrentHookState','get','../cliUtils','getAllData','getState','testFrameworks','1066185rrPOiV','getTrackedInstance','trackEvent','36910IaAhCU','getCurrentInstanceName','3893110gUwouq','340cKjTTr','createContext','trackEvent:\x20testFrameworkState=','3280104kHxRGX'];a68_0x5f1d=function(){return _0x3ce0d5;};return a68_0x5f1d();}module[a68_0x4cf7f7(0xd6)]=TestFramework;
@@ -1 +1 @@
1
- const a69_0x2698b9=a69_0x4da2;function a69_0x29d5(){const _0x2de117=['getPlaywrightConfig','uuid','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','AutomationSession','SDK_AUTOMATION_FRAMEWORK_INIT','KZjMY','setFileSize','null','TestSessionEventRequest','WOpmq','wAPaQ','XDcDF','setBinSessionId','vrRWb','48IeMkhw','setFileName','sNmSC','argv','@grpc/grpc-js','uNEqt','oDEnX','../utils/constants','wbZvZ','Sending\x20LogCreatedEvent','setTestHookState','name','Stopping\x20bin\x20session','setHubUrl','../../helpers/logger.js','winstonLogger','DriverInit\x20error:\x20','frameworkName','\x20listenAddr:\x20','YPVHF','StartBinSession\x20successful','StopBinSession\x20successful','setEndedAt','setEventJson','Sending\x20TestSessionEvent','VOPjJ','NGJJB','TRuWr','setCapabilities','PlaywrightConfigRequest','setExitReason','JQijf','setFrameworkVersion','quLCc','StartBinSession\x20error:\x20','forEach','GiIRQ','stopBinSession','pchzQ','290017fDZcXS','setSdkVersion','AccessibilityConfigRequest','../../helpers/performance/performance-tester.js','setTimestamp','ConnectBinSession\x20successful','lpdTM','grpc.keepalive_time_ms','LogEntry','user_killed','xktTp','AccessibilityConfig\x20request\x20successful','setPlatformIndex','addFrameworks','20kZcdaG','format','playwrightConfig','info','entries','Channel','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','startBinSession:\x20Calling\x20startBinSession','channel','TestFrameworkEvent\x20error:\x20','env','hMLBh','1477512WwzVaV','fVQDG','GrpcClient','Connected\x20to\x20gRPC\x20server\x20at\x20','version','apdRS','startBinSession','getClient','hubUrl','1502468gEUAkC','client','threadId','JtKRE','addAutomationSessions','getInstance','UFlFj','init','RDZtD','getSdkLanguage','DriverInit\x20request\x20successful','push','../../helpers/performance/constants','stop-bin-session\x20response:\x20','end','YeVWs','setExecutionContext','3888100wwfLUp','setTestFrameworkName','MQMmF','setProcessId','setFrameworksList','attachment_type','listenAddress','accessibilityConfig','SDK_START_BIN_SESSION','credentials','444ZeoYhG','fbEch','getAutomationFrameworkDetail','logger','setFrameworkSessionId','LogCreatedEvent\x20request\x20successful','KWMnG','setUserInputParams','Error\x20in\x20DriverInit:\x20','\x20and\x20listen\x20address:\x20','xBdkx','fileName','setTestFrameworkVersion','fileSize','level','quJqN','setPathConfig','connectBinSession','Ujnck','../../../generated/sdk_grpc_pb','AccessibilityConfig\x20error:\x20','path','17740pNLVLv','error','encode','tfukI','RMCVA','setExitSignal','SDK_CLI_ON_STOP','setKind','setFrameworkName','message','cwd','setThreadId','setProvider','PlaywrightConfig\x20request\x20successful','iJvUZ','SDK_CONNECT_BIN_SESSION','provider','filePath','addLogs','No\x20gRPC\x20client\x20not\x20initialized.','setUuid','binSessionId','Error\x20in\x20LogCreatedEvent:\x20','getAccessibilityConfig','ExecutionContext','DriverInitRequest','7SfbDVH','LogCreatedEventRequest','getSdkVersion','bhCyS','XjJsC','StartBinSessionRequest','Missing\x20binSessionId','setCliArgs:\x20cliArgs=','SDKClient','PbXCR','setTestFrameworkState','util','kind','ref','9ANkQjC','setMessage','../../../generated/sdk-messages_pb','Stopping\x20signal\x20','259119pYdkrR','timestamp','PlaywrightConfig\x20error:\x20','HjMyE','setRef','driverInit','lyQNA','getBrowserstackCliConfig','setCustomMetadata','./browserstackCLI.js','TestFrameworkEvent\x20request\x20successful','TestSessionEvent\x20error:\x20','browserstack.yml','setCliArgsList','Connecting\x20bin\x20session','logCreatedEvent','start','setSdkLanguage','XEnPo','Sending\x20DriverInit','setHash','test_run_uuid','BROWSERSTACK_CONFIG_FILE_PATH','debug','Getting\x20Accessibility\x20config','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','StopBinSession\x20error:\x20','setLanguage','slice','JStyV','connect','testFrameworkEvent','../../helpers/classLogger.js','setLevel','xOvLu','getFrameworkVersionsMap','createInsecure','GTPOu','brNZl','JgnLk','Error\x20in\x20getAccessibilityConfig:\x20','connect-bin-session\x20response:\x20','AWbLV','exports','rXXgM','ciuqB','hash','Eijla','StopBinSessionRequest','66074zGomKz','BKRaM','testSessionEvent','./cliUtils.js','setTestFramework','setFilePath','tEbIj','stringify','setExitCode','utf-8'];a69_0x29d5=function(){return _0x2de117;};return a69_0x29d5();}(function(_0x170161,_0x366108){const _0xb943d4=a69_0x4da2,_0x1890c1=_0x170161();while(!![]){try{const _0x4729ce=-parseInt(_0xb943d4(0x1dd))/0x1*(-parseInt(_0xb943d4(0x220))/0x2)+parseInt(_0xb943d4(0x1ef))/0x3*(parseInt(_0xb943d4(0x17d))/0x4)+parseInt(_0xb943d4(0x1c3))/0x5*(parseInt(_0xb943d4(0x1ad))/0x6)+parseInt(_0xb943d4(0x16f))/0x7+-parseInt(_0xb943d4(0x189))/0x8*(-parseInt(_0xb943d4(0x1eb))/0x9)+-parseInt(_0xb943d4(0x1a3))/0xa+parseInt(_0xb943d4(0x192))/0xb*(-parseInt(_0xb943d4(0x148))/0xc);if(_0x4729ce===_0x366108)break;else _0x1890c1['push'](_0x1890c1['shift']());}catch(_0x4daaff){_0x1890c1['push'](_0x1890c1['shift']());}}}(a69_0x29d5,0x34e3a));function a69_0x4da2(_0x5be8f1,_0xcf1c69){const _0x29d59b=a69_0x29d5();return a69_0x4da2=function(_0x4da282,_0x5dbb14){_0x4da282=_0x4da282-0x13f;let _0x3b995b=_0x29d59b[_0x4da282];return _0x3b995b;},a69_0x4da2(_0x5be8f1,_0xcf1c69);}const util=require(a69_0x2698b9(0x1e8)),logger=require(a69_0x2698b9(0x156))[a69_0x2698b9(0x157)],grpc=require(a69_0x2698b9(0x14c)),services=require(a69_0x2698b9(0x1c0)),messages=require(a69_0x2698b9(0x1ed)),path=require(a69_0x2698b9(0x1c2)),CLIUtils=require(a69_0x2698b9(0x223)),{createClassLogger}=require(a69_0x2698b9(0x20f)),PerformanceTester=require(a69_0x2698b9(0x172)),{EVENTS:PerformanceEvents}=require(a69_0x2698b9(0x19e)),{PLAYWRIGHT_TRACE_LOGS}=require(a69_0x2698b9(0x14f)),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;[a69_0x2698b9(0x1d8)]=null;['listenAddress']=null;[a69_0x2698b9(0x185)]=null;[a69_0x2698b9(0x193)]=null;[a69_0x2698b9(0x1b0)]=createClassLogger(a69_0x2698b9(0x18b));constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a69_0x2698b9(0x199)](_0x230a74){const _0x51a6a2=a69_0x2698b9,_0x3f7d2c={};_0x3f7d2c['VSXTf']=function(_0x3a30a8,_0x13b056){return _0x3a30a8||_0x13b056;};const _0x1871a0=_0x3f7d2c,{id:_0x3360be,listen:_0x595920}=_0x230a74;if(_0x1871a0['VSXTf'](!_0x3360be,!_0x595920))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x3360be+_0x51a6a2(0x15a)+_0x595920);this[_0x51a6a2(0x1d8)]=_0x3360be,this[_0x51a6a2(0x1a9)]=_0x595920,process[_0x51a6a2(0x187)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x51a6a2(0x1d8)],process[_0x51a6a2(0x187)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x51a6a2(0x1a9)],this[_0x51a6a2(0x20d)](),this['logger'][_0x51a6a2(0x180)](_0x51a6a2(0x183)+this[_0x51a6a2(0x1d8)]+_0x51a6a2(0x1b6)+this['listenAddress']);}[a69_0x2698b9(0x20d)](){const _0x1e528d=a69_0x2698b9,_0x4686d2={};_0x4686d2[_0x1e528d(0x20c)]=_0x1e528d(0x208);const _0x1c6ee1=_0x4686d2;let _0x371f68=this[_0x1e528d(0x1a9)];!_0x371f68&&(_0x371f68=process['env'][_0x1e528d(0x22c)]);!this[_0x1e528d(0x1d8)]&&(this['binSessionId']=this[_0x1e528d(0x1d8)]||process[_0x1e528d(0x187)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x371f68)throw new Error(_0x1c6ee1[_0x1e528d(0x20c)]);const _0x217fb5={};_0x217fb5[_0x1e528d(0x176)]=0x2710,this[_0x1e528d(0x185)]=new grpc[(_0x1e528d(0x182))](_0x371f68,grpc['credentials'][_0x1e528d(0x213)](),_0x217fb5),this['client']=new services[(_0x1e528d(0x1e5))](_0x371f68,grpc[_0x1e528d(0x1ac)][_0x1e528d(0x213)]()),this[_0x1e528d(0x1b0)][_0x1e528d(0x180)](_0x1e528d(0x18c)+_0x371f68);}async['startBinSession'](){const _0x37363d=a69_0x2698b9,_0x48c0bc={'VOPjJ':function(_0x41dc4e,_0x1f0f11){return _0x41dc4e!==_0x1f0f11;},'PLZRQ':function(_0x303571,_0x21e32a){return _0x303571!==_0x21e32a;},'vrRWb':function(_0x62386e,_0x21196d){return _0x62386e(_0x21196d);},'vFLRS':_0x37363d(0x15c),'bhCyS':function(_0x20ac49,_0x22f471){return _0x20ac49(_0x22f471);},'JQijf':_0x37363d(0x184),'PEikz':_0x37363d(0x1d6),'BKRaM':function(_0x5dbd1e,_0x22b148){return _0x5dbd1e(_0x22b148);},'TRuWr':_0x37363d(0x1f8),'GiIRQ':function(_0x3c2398,_0x1ef6b0){return _0x3c2398 instanceof _0x1ef6b0;},'AWbLV':function(_0x245c9a,_0x1aebf3){return _0x245c9a===_0x1aebf3;},'xktTp':'browserstackConfigFile','KZjMY':_0x37363d(0x1fb),'sNmSC':_0x37363d(0x141),'WOpmq':function(_0x17bfbc,_0x3c1e7e){return _0x17bfbc||_0x3c1e7e;}};PerformanceTester[_0x37363d(0x1ff)](PerformanceEvents[_0x37363d(0x1ab)]),this['logger'][_0x37363d(0x180)](_0x48c0bc[_0x37363d(0x167)]);try{!this['client']&&this[_0x37363d(0x1b0)][_0x37363d(0x180)](_0x48c0bc['PEikz']);const _0x48d7eb=CLIUtils[_0x37363d(0x1df)](),_0x3dceae=CLIUtils['getAutomationFrameworkDetail'](),_0x3659b4=_0x3dceae[_0x37363d(0x153)],_0x1a87c8=_0x3dceae[_0x37363d(0x18d)],_0x4100c4=new messages[(_0x37363d(0x1e2))]();_0x4100c4['setBinSessionId'](this[_0x37363d(0x1d8)]),_0x4100c4[_0x37363d(0x200)](CLIUtils[_0x37363d(0x19b)]()),_0x4100c4[_0x37363d(0x170)](_0x48d7eb),_0x4100c4['setPathProject'](process[_0x37363d(0x1cd)]());const _0x250f15=_0x4100c4['getEnvVarsMap']();Object[_0x37363d(0x181)](process[_0x37363d(0x187)])[_0x37363d(0x16b)](([_0x4cb91a,_0x4b81c2])=>{const _0x251744=_0x37363d;_0x48c0bc[_0x251744(0x161)](_0x4b81c2,undefined)&&_0x48c0bc['PLZRQ'](_0x4b81c2,null)&&_0x250f15['set'](_0x4cb91a,_0x4b81c2);});const _0x12dd6e=_0x48c0bc[_0x37363d(0x221)](require,_0x48c0bc[_0x37363d(0x163)]),_0x190ee3=_0x12dd6e[_0x37363d(0x197)]()[_0x37363d(0x1f6)](),_0x192c5c=[];_0x190ee3&&_0x48c0bc[_0x37363d(0x16c)](_0x190ee3,Map)&&_0x190ee3[_0x37363d(0x16b)]((_0xd5585c,_0x151715)=>{const _0x458368=_0x37363d;_0x192c5c[_0x458368(0x19d)](_0x151715+'='+_0xd5585c);});const _0x24ee01=process[_0x37363d(0x14b)][_0x37363d(0x20b)](0x2);_0x4100c4[_0x37363d(0x1fc)]([..._0x24ee01,..._0x192c5c]);let _0x156ad8=null;if(_0x190ee3)for(const [_0x3ab076,_0x1ea2ff]of _0x190ee3){if(_0x48c0bc[_0x37363d(0x219)](_0x3ab076,_0x48c0bc[_0x37363d(0x179)])){_0x156ad8=_0x1ea2ff;break;}}if(_0x156ad8)_0x4100c4[_0x37363d(0x1bd)](_0x156ad8);else process['env'][_0x37363d(0x205)]?_0x4100c4[_0x37363d(0x1bd)](process['env'][_0x37363d(0x205)]):_0x4100c4[_0x37363d(0x1bd)](path['resolve'](process['cwd'](),_0x48c0bc[_0x37363d(0x13f)]));this[_0x37363d(0x1b0)][_0x37363d(0x180)](_0x37363d(0x1e4)+JSON['stringify'](_0x24ee01)+',\x20parsedConfig='+(_0x190ee3?JSON[_0x37363d(0x227)]([..._0x190ee3]):_0x48c0bc[_0x37363d(0x14a)])),_0x4100c4[_0x37363d(0x20a)](CLIUtils[_0x37363d(0x19b)]()),_0x4100c4[_0x37363d(0x224)](_0x3659b4);const _0x34aea5=_0x4100c4[_0x37363d(0x212)]();return _0x34aea5['set'](_0x3659b4,_0x48c0bc[_0x37363d(0x143)](_0x1a87c8,'')),_0x4100c4[_0x37363d(0x17c)](_0x3659b4,_0x1a87c8),_0x4100c4[_0x37363d(0x1a7)]([_0x3659b4]),new Promise((_0x327636,_0x331231)=>{const _0x10c68b=_0x37363d;this[_0x10c68b(0x193)][_0x10c68b(0x18f)](_0x4100c4,(_0x2c31dd,_0x2df4b7)=>{const _0x3db047=_0x10c68b;if(_0x2c31dd){this[_0x3db047(0x1b0)][_0x3db047(0x1c4)](_0x3db047(0x16a)+_0x2c31dd[_0x3db047(0x1cc)]),_0x48c0bc[_0x3db047(0x147)](_0x331231,_0x2c31dd),PerformanceTester['end'](PerformanceEvents[_0x3db047(0x1ab)],![],util['format'](_0x2c31dd));return;}this[_0x3db047(0x1b0)][_0x3db047(0x180)](_0x48c0bc['vFLRS']),PerformanceTester[_0x3db047(0x1a0)](PerformanceEvents[_0x3db047(0x1ab)]),_0x48c0bc[_0x3db047(0x1e0)](_0x327636,_0x2df4b7);});});}catch(_0x377fa5){this[_0x37363d(0x1b0)]['error']('Error\x20in\x20startBinSession:\x20'+util[_0x37363d(0x17e)](_0x377fa5)),PerformanceTester[_0x37363d(0x1a0)](PerformanceEvents[_0x37363d(0x1ab)],![],util[_0x37363d(0x17e)](_0x377fa5));throw _0x377fa5;}}async[a69_0x2698b9(0x1be)](){const _0x329eba=a69_0x2698b9,_0x573e39={'NmbtE':function(_0x5864c5,_0x193e7f){return _0x5864c5(_0x193e7f);},'GKYSd':_0x329eba(0x174),'fVQDG':_0x329eba(0x1fd),'OKAnc':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x329eba(0x1ff)](PerformanceEvents[_0x329eba(0x1d2)]),this[_0x329eba(0x1b0)][_0x329eba(0x180)](_0x573e39[_0x329eba(0x18a)]);try{!this['client']&&this[_0x329eba(0x1b0)][_0x329eba(0x180)](_0x573e39['OKAnc']);const _0x4b88b7=new messages['ConnectBinSessionRequest']();_0x4b88b7[_0x329eba(0x146)](this[_0x329eba(0x1d8)]);const _0x28b950=await new Promise((_0x544dc0,_0x17aeda)=>{const _0x1bf270=_0x329eba;this[_0x1bf270(0x193)][_0x1bf270(0x1be)](_0x4b88b7,(_0x546b0c,_0x502b83)=>{const _0xca33de=_0x1bf270;if(_0x546b0c){this[_0xca33de(0x1b0)][_0xca33de(0x1c4)]('ConnectBinSession\x20error:\x20'+_0x546b0c[_0xca33de(0x1cc)]),_0x573e39['NmbtE'](_0x17aeda,_0x546b0c),PerformanceTester['end'](PerformanceEvents[_0xca33de(0x1d2)],![],util[_0xca33de(0x17e)](_0x546b0c));return;}this['logger'][_0xca33de(0x180)](_0x573e39['GKYSd']),PerformanceTester[_0xca33de(0x1a0)](PerformanceEvents[_0xca33de(0x1d2)]),_0x573e39['NmbtE'](_0x544dc0,_0x502b83);});});return this[_0x329eba(0x1b0)][_0x329eba(0x206)](_0x329eba(0x218)+util['format'](_0x28b950)),_0x28b950;}catch(_0x18164f){PerformanceTester[_0x329eba(0x1a0)](PerformanceEvents[_0x329eba(0x1d2)],![],util['format'](_0x18164f)),this[_0x329eba(0x1b0)]['error']('Error\x20in\x20connectBinSession:\x20'+util[_0x329eba(0x17e)](_0x18164f));throw _0x18164f;}}async[a69_0x2698b9(0x16d)](_0x334f09={},_0x386a54=null){const _0x285d25=a69_0x2698b9,_0x5c1b10={'KWMnG':function(_0x44b9e7,_0x361aeb){return _0x44b9e7(_0x361aeb);},'krBbb':_0x285d25(0x15d),'YeVWs':_0x285d25(0x154),'MQMmF':_0x285d25(0x1e3),'wAPaQ':_0x285d25(0x1d6),'brNZl':_0x285d25(0x178)};PerformanceTester['start'](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x285d25(0x1b0)][_0x285d25(0x180)](_0x5c1b10[_0x285d25(0x1a1)]);try{if(!this['binSessionId'])throw new Error(_0x5c1b10[_0x285d25(0x1a5)]);!this[_0x285d25(0x193)]&&this[_0x285d25(0x1b0)][_0x285d25(0x180)](_0x5c1b10[_0x285d25(0x144)]);const _0x348559=new messages[(_0x285d25(0x21f))]();this[_0x285d25(0x1b0)][_0x285d25(0x206)](_0x285d25(0x1ee)+JSON[_0x285d25(0x227)](_0x386a54)),_0x348559['setBinSessionId'](this[_0x285d25(0x1d8)]),_0x348559[_0x285d25(0x1f7)](_0x334f09),_0x348559[_0x285d25(0x1c8)](_0x386a54?_0x386a54:null),_0x348559[_0x285d25(0x166)](_0x386a54?_0x5c1b10[_0x285d25(0x215)]:null),_0x348559[_0x285d25(0x228)](_0x386a54?0x1:0x0);const _0xeed30b=await new Promise((_0x28d93b,_0xe6f981)=>{const _0x5e78fd=_0x285d25,_0x192079={'UFlFj':function(_0x247462,_0x229f4a){const _0x212b86=a69_0x4da2;return _0x5c1b10[_0x212b86(0x1b3)](_0x247462,_0x229f4a);},'Eijla':_0x5c1b10['krBbb']};this[_0x5e78fd(0x193)]['stopBinSession'](_0x348559,(_0xe4b7e6,_0x30a8fe)=>{const _0x130bef=_0x5e78fd;if(_0xe4b7e6){this[_0x130bef(0x1b0)][_0x130bef(0x1c4)](_0x130bef(0x209)+_0xe4b7e6[_0x130bef(0x1cc)]),_0x192079[_0x130bef(0x198)](_0xe6f981,_0xe4b7e6),PerformanceTester[_0x130bef(0x1a0)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x130bef(0x17e)](_0xe4b7e6));return;}this[_0x130bef(0x1b0)]['info'](_0x192079[_0x130bef(0x21e)]),PerformanceTester[_0x130bef(0x1a0)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x192079['UFlFj'](_0x28d93b,_0x30a8fe);});});return this[_0x285d25(0x1b0)]['debug'](_0x285d25(0x19f)+util['format'](_0xeed30b)),_0xeed30b;}catch(_0x37032f){PerformanceTester[_0x285d25(0x1a0)](PerformanceEvents[_0x285d25(0x1c9)],![],util[_0x285d25(0x17e)](_0x37032f)),this[_0x285d25(0x1b0)][_0x285d25(0x1c4)]('Error\x20in\x20stopBinSession:\x20'+util['format'](_0x37032f));}}async[a69_0x2698b9(0x22a)](_0x27810f){const _0x58ea3c=a69_0x2698b9,_0x59e4d7={'XDcDF':function(_0x10c6c5,_0x3710b4){return _0x10c6c5(_0x3710b4);},'tEbIj':_0x58ea3c(0x1d0),'nPCqp':'Getting\x20Playwright\x20config','lpdTM':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x58ea3c(0x1ff)](PerformanceEvents[_0x58ea3c(0x22e)]),this[_0x58ea3c(0x1b0)][_0x58ea3c(0x180)](_0x59e4d7['nPCqp']);try{!this[_0x58ea3c(0x193)]&&this[_0x58ea3c(0x1b0)][_0x58ea3c(0x180)](_0x59e4d7[_0x58ea3c(0x175)]);const _0x1af004=new messages[(_0x58ea3c(0x165))]();return _0x1af004['setBinSessionId'](this[_0x58ea3c(0x1d8)]),_0x1af004['setConfig'](JSON[_0x58ea3c(0x227)](_0x27810f)),new Promise((_0x574863,_0x1f2ffe)=>{const _0xb5d56c=_0x58ea3c,_0x3685ea={'PbXCR':function(_0x1e353f,_0x4f89b1){const _0x18360d=a69_0x4da2;return _0x59e4d7[_0x18360d(0x145)](_0x1e353f,_0x4f89b1);},'Ujnck':_0x59e4d7[_0xb5d56c(0x226)],'rXXgM':function(_0x54c26d,_0x3bed71){const _0x1cbb45=_0xb5d56c;return _0x59e4d7[_0x1cbb45(0x145)](_0x54c26d,_0x3bed71);}};this['client'][_0xb5d56c(0x17f)](_0x1af004,(_0x37b6b1,_0x1c6dcb)=>{const _0x53be5f=_0xb5d56c;if(_0x37b6b1){this['logger'][_0x53be5f(0x1c4)](_0x53be5f(0x1f1)+_0x37b6b1[_0x53be5f(0x1cc)]),_0x3685ea[_0x53be5f(0x1e6)](_0x1f2ffe,_0x37b6b1),PerformanceTester[_0x53be5f(0x1a0)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x53be5f(0x17e)](_0x37b6b1));return;}this['logger'][_0x53be5f(0x180)](_0x3685ea[_0x53be5f(0x1bf)]),PerformanceTester[_0x53be5f(0x1a0)](PerformanceEvents[_0x53be5f(0x22e)]),_0x3685ea[_0x53be5f(0x21b)](_0x574863,_0x1c6dcb);});});}catch(_0x2b9093){PerformanceTester[_0x58ea3c(0x1a0)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util['format'](_0x2b9093)),this[_0x58ea3c(0x1b0)][_0x58ea3c(0x1c4)]('Error\x20in\x20getPlaywrightConfig:\x20'+util['format'](_0x2b9093));throw _0x2b9093;}}async[a69_0x2698b9(0x1da)](_0x1105fa){const _0x469a46=a69_0x2698b9,_0x41e1c9={'fbEch':function(_0x274490,_0x38595f){return _0x274490(_0x38595f);},'wbZvZ':_0x469a46(0x17a),'YPVHF':_0x469a46(0x207),'Koqwk':_0x469a46(0x229)};this[_0x469a46(0x1b0)][_0x469a46(0x180)](_0x41e1c9[_0x469a46(0x15b)]);try{const _0x34b1ad=Buffer['from'](JSON[_0x469a46(0x227)](_0x1105fa['launchcaps']),_0x41e1c9['Koqwk']),_0x27291a=new messages[(_0x469a46(0x171))](),_0x1b5c1b=CLIUtils[_0x469a46(0x1af)](),_0x57b3a0=_0x1b5c1b[_0x469a46(0x153)],_0x2f6fd0=_0x1b5c1b[_0x469a46(0x18d)];return _0x27291a['setBinSessionId'](this['binSessionId']),_0x27291a['setPlatformIndex'](0x0),_0x27291a[_0x469a46(0x1cb)](_0x57b3a0),_0x27291a['setFrameworkVersion'](_0x2f6fd0),_0x27291a[_0x469a46(0x155)](_0x1105fa['hubUrl']),_0x27291a[_0x469a46(0x164)](_0x34b1ad),new Promise((_0x17a1c2,_0x589b2a)=>{const _0x3a45ec=_0x469a46;this['client'][_0x3a45ec(0x1aa)](_0x27291a,(_0x40e0b0,_0x4cb7a7)=>{const _0x565f19=_0x3a45ec;if(_0x40e0b0){this[_0x565f19(0x1b0)][_0x565f19(0x1c4)](_0x565f19(0x1c1)+_0x40e0b0[_0x565f19(0x1cc)]),_0x41e1c9[_0x565f19(0x1ae)](_0x589b2a,_0x40e0b0);return;}this[_0x565f19(0x1b0)][_0x565f19(0x180)](_0x41e1c9[_0x565f19(0x150)]),_0x41e1c9['fbEch'](_0x17a1c2,_0x4cb7a7);});});}catch(_0x1e1ed5){this[_0x469a46(0x1b0)][_0x469a46(0x1c4)](_0x469a46(0x217)+util[_0x469a46(0x17e)](_0x1e1ed5));}}async[a69_0x2698b9(0x222)](_0x37e4f4){const _0x4601a6=a69_0x2698b9,_0x1ce73d={'ciuqB':function(_0x337826,_0x3e4cfd){return _0x337826(_0x3e4cfd);},'uNEqt':'TestSessionEvent\x20request\x20successful','XjJsC':_0x4601a6(0x160),'xOvLu':'No\x20gRPC\x20client\x20not\x20initialized.'};this['logger'][_0x4601a6(0x180)](_0x1ce73d[_0x4601a6(0x1e1)]);try{!this[_0x4601a6(0x193)]&&this['logger'][_0x4601a6(0x180)](_0x1ce73d[_0x4601a6(0x211)]);const {platformIndex:_0x3672b6,testFrameworkName:_0x543607,testFrameworkVersion:_0x3d4755,testFrameworkState:_0x112ae5,testHookState:_0x43a80a,testUuid:_0x127633,automationSession:_0x1b6788,capabilities:_0x2a522a,executionContext:_0x15e47d}=_0x37e4f4,_0x5b9238=new messages[(_0x4601a6(0x142))]();_0x5b9238[_0x4601a6(0x146)](this[_0x4601a6(0x1d8)]),_0x5b9238[_0x4601a6(0x17b)](_0x3672b6),_0x5b9238[_0x4601a6(0x1a4)](_0x543607),_0x5b9238[_0x4601a6(0x1b9)](_0x3d4755),_0x5b9238[_0x4601a6(0x1e7)](_0x112ae5),_0x5b9238[_0x4601a6(0x152)](_0x43a80a),_0x5b9238['setTestUuid'](_0x127633);const _0xb3e78b=new messages[(_0x4601a6(0x142))][(_0x4601a6(0x22d))]();_0xb3e78b[_0x4601a6(0x1cf)](_0x1b6788[_0x4601a6(0x1d3)]),_0xb3e78b[_0x4601a6(0x1cb)](_0x1b6788[_0x4601a6(0x159)]),_0xb3e78b[_0x4601a6(0x168)](_0x1b6788['frameworkVersion']),_0xb3e78b[_0x4601a6(0x1b1)](_0x1b6788['frameworkSessionId']),_0xb3e78b[_0x4601a6(0x1f3)](_0x1b6788[_0x4601a6(0x1ea)]),_0xb3e78b[_0x4601a6(0x155)](_0x1b6788[_0x4601a6(0x191)]),_0x5b9238[_0x4601a6(0x196)](_0xb3e78b),_0x5b9238[_0x4601a6(0x164)](_0x2a522a);const _0x48065c=new messages[(_0x4601a6(0x1db))]();return _0x48065c[_0x4601a6(0x1a6)](_0x15e47d['processId']),_0x48065c[_0x4601a6(0x1ce)](_0x15e47d[_0x4601a6(0x194)]),_0x48065c['setHash'](_0x15e47d[_0x4601a6(0x21d)]),_0x5b9238[_0x4601a6(0x1a2)](_0x48065c),new Promise((_0x4d248f,_0x115f93)=>{const _0x18e5ca=_0x4601a6,_0x404cd9={'apdRS':function(_0x498ce2,_0x31569b){const _0x424f47=a69_0x4da2;return _0x1ce73d[_0x424f47(0x21c)](_0x498ce2,_0x31569b);},'RDZtD':_0x1ce73d[_0x18e5ca(0x14d)]};this['client'][_0x18e5ca(0x222)](_0x5b9238,(_0x5220da,_0xdde54e)=>{const _0x3c8386=_0x18e5ca;if(_0x5220da){this[_0x3c8386(0x1b0)]['error'](_0x3c8386(0x1fa)+_0x5220da[_0x3c8386(0x1cc)]),_0x404cd9[_0x3c8386(0x18e)](_0x115f93,_0x5220da);return;}this[_0x3c8386(0x1b0)][_0x3c8386(0x180)](_0x404cd9[_0x3c8386(0x19a)]),_0x404cd9[_0x3c8386(0x18e)](_0x4d248f,_0xdde54e);});});}catch(_0x58626d){this[_0x4601a6(0x1b0)]['error']('Error\x20in\x20TestSessionEvent:\x20'+util[_0x4601a6(0x17e)](_0x58626d));throw _0x58626d;}}async[a69_0x2698b9(0x20e)](_0x484a50){const _0x4654a3=a69_0x2698b9,_0x35bc6c={'RMCVA':function(_0x38df2e,_0xf189e6){return _0x38df2e(_0xf189e6);},'oDEnX':_0x4654a3(0x1f9),'iJvUZ':'Sending\x20TestFrameworkEvent','GTPOu':_0x4654a3(0x1d6)};this['logger']['info'](_0x35bc6c[_0x4654a3(0x1d1)]);try{!this[_0x4654a3(0x193)]&&this[_0x4654a3(0x1b0)]['info'](_0x35bc6c[_0x4654a3(0x214)]);const {platfromIndex:_0x55a58d,testFrameworkName:_0x4c4e67,testFrameworkVersion:_0x26216a,testFrameworkState:_0x515eef,hookState:_0x2fccf3,startedAt:_0xcc0e45,endedAt:_0x456f16,uuid:_0x465ef7,eventJson:_0x320fe2,executionContext:_0x44c2e5}=_0x484a50,_0xc98772=new messages['TestFrameworkEventRequest']();_0xc98772['setBinSessionId'](this[_0x4654a3(0x1d8)]),_0xc98772[_0x4654a3(0x17b)](_0x55a58d),_0xc98772[_0x4654a3(0x1a4)](_0x4c4e67),_0xc98772[_0x4654a3(0x1b9)](_0x26216a),_0xc98772['setTestFrameworkState'](_0x515eef),_0xc98772['setTestHookState'](_0x2fccf3),_0xc98772['setStartedAt'](_0xcc0e45),_0xc98772[_0x4654a3(0x15e)](_0x456f16),_0xc98772[_0x4654a3(0x1d7)](_0x465ef7),_0xc98772[_0x4654a3(0x15f)](_0x320fe2);const _0x1e132b=new messages[(_0x4654a3(0x1db))]();return _0x1e132b['setProcessId'](_0x44c2e5['processId']),_0x1e132b[_0x4654a3(0x1ce)](_0x44c2e5[_0x4654a3(0x194)]),_0x1e132b[_0x4654a3(0x203)](_0x44c2e5[_0x4654a3(0x21d)]),_0xc98772['setExecutionContext'](_0x1e132b),new Promise((_0x4d1eef,_0x56c76c)=>{const _0x16c460=_0x4654a3,_0x466b69={'quJqN':function(_0x594d9a,_0x484170){const _0x247565=a69_0x4da2;return _0x35bc6c[_0x247565(0x1c7)](_0x594d9a,_0x484170);},'SCjKb':_0x35bc6c[_0x16c460(0x14e)]};this[_0x16c460(0x193)][_0x16c460(0x20e)](_0xc98772,(_0x58aed3,_0x54c48f)=>{const _0x1a21a8=_0x16c460;if(_0x58aed3){this[_0x1a21a8(0x1b0)]['error'](_0x1a21a8(0x186)+_0x58aed3['message']),_0x466b69[_0x1a21a8(0x1bc)](_0x56c76c,_0x58aed3);return;}this[_0x1a21a8(0x1b0)][_0x1a21a8(0x180)](_0x466b69['SCjKb']),_0x466b69[_0x1a21a8(0x1bc)](_0x4d1eef,_0x54c48f);});});}catch(_0xfe6ca7){this[_0x4654a3(0x1b0)][_0x4654a3(0x1c4)]('Error\x20in\x20TestFrameworkEvent:\x20'+util[_0x4654a3(0x17e)](_0xfe6ca7));throw _0xfe6ca7;}}async[a69_0x2698b9(0x1f4)](_0x2e4355){const _0x28ec00=a69_0x2698b9,_0x26cc23={'hMLBh':function(_0x21fc63,_0xede56){return _0x21fc63(_0xede56);},'lyQNA':_0x28ec00(0x19c),'JtKRE':_0x28ec00(0x202),'wTUsB':_0x28ec00(0x1d6)};this[_0x28ec00(0x1b0)]['info'](_0x26cc23[_0x28ec00(0x195)]);try{!this[_0x28ec00(0x193)]&&this[_0x28ec00(0x1b0)][_0x28ec00(0x180)](_0x26cc23['wTUsB']);const {platformIndex:_0x36ad70,ref:_0x18a379,userInputParams:_0x1b0f74}=_0x2e4355,_0x1fdb2d=new messages[(_0x28ec00(0x1dc))]();return _0x1fdb2d['setBinSessionId'](this['binSessionId']),_0x1fdb2d[_0x28ec00(0x17b)](_0x36ad70),_0x1fdb2d[_0x28ec00(0x1f3)](_0x18a379),_0x1fdb2d[_0x28ec00(0x1b4)](_0x1b0f74),new Promise((_0x23b26e,_0x5f5ce0)=>{const _0xa1b837=_0x28ec00,_0x273b2b={'XEnPo':function(_0x316587,_0x36dac6){const _0x423af1=a69_0x4da2;return _0x26cc23[_0x423af1(0x188)](_0x316587,_0x36dac6);},'JgnLk':_0x26cc23[_0xa1b837(0x1f5)]};this[_0xa1b837(0x193)][_0xa1b837(0x1f4)](_0x1fdb2d,(_0x364d67,_0x14c3b4)=>{const _0x554018=_0xa1b837;if(_0x364d67){this[_0x554018(0x1b0)]['error'](_0x554018(0x158)+_0x364d67[_0x554018(0x1cc)]),_0x273b2b[_0x554018(0x201)](_0x5f5ce0,_0x364d67);return;}this[_0x554018(0x1b0)][_0x554018(0x180)](_0x273b2b[_0x554018(0x216)]),_0x273b2b[_0x554018(0x201)](_0x23b26e,_0x14c3b4);});});}catch(_0x5c1df0){this[_0x28ec00(0x1b0)][_0x28ec00(0x1c4)](_0x28ec00(0x1b5)+util[_0x28ec00(0x17e)](_0x5c1df0));throw _0x5c1df0;}}async[a69_0x2698b9(0x1fe)](_0x4ee8aa){const _0x381715=a69_0x2698b9,_0x30e77f={'quLCc':function(_0x5868d6,_0x4152eb){return _0x5868d6===_0x4152eb;},'pchzQ':function(_0x58cd95,_0x2fbd94){return _0x58cd95(_0x2fbd94);},'tfukI':_0x381715(0x1b2),'NGJJB':_0x381715(0x151),'HjMyE':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x381715(0x1b0)][_0x381715(0x180)](_0x30e77f[_0x381715(0x162)]);try{!this[_0x381715(0x193)]&&this['logger']['info'](_0x30e77f[_0x381715(0x1f2)]);const {platformIndex:_0x4f554d,logs:_0x4f98f4}=_0x4ee8aa,_0x43a1ea=new messages[(_0x381715(0x1de))]();_0x43a1ea[_0x381715(0x146)](this[_0x381715(0x1d8)]),_0x43a1ea[_0x381715(0x17b)](_0x4f554d);const _0x161f25=_0x4ee8aa['testFrameworkName'],_0x35d72d=_0x4ee8aa['testFrameworkVersion'],_0x4e385f=_0x4ee8aa['testFrameworkState'];return _0x4f98f4['forEach'](_0x23f637=>{const _0x4a8566=_0x381715,_0x3987fd=new messages[(_0x4a8566(0x1de))][(_0x4a8566(0x177))]();_0x3987fd['setTestFrameworkName'](_0x161f25),_0x3987fd[_0x4a8566(0x1b9)](_0x35d72d),_0x3987fd['setTestFrameworkState'](_0x4e385f),_0x3987fd[_0x4a8566(0x173)](_0x23f637[_0x4a8566(0x1f0)]),_0x3987fd['setUuid'](_0x23f637[_0x4a8566(0x22b)]),_0x3987fd[_0x4a8566(0x1ca)](_0x23f637[_0x4a8566(0x1e9)]),_0x30e77f[_0x4a8566(0x169)](_0x23f637['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x3987fd[_0x4a8566(0x1d7)](_0x23f637[_0x4a8566(0x204)]),_0x3987fd[_0x4a8566(0x1ec)](new TextEncoder()[_0x4a8566(0x1c5)](JSON['stringify'](_0x23f637)))):_0x3987fd['setMessage'](new TextEncoder()[_0x4a8566(0x1c5)](_0x23f637[_0x4a8566(0x1cc)])),_0x3987fd[_0x4a8566(0x210)](_0x23f637[_0x4a8566(0x1bb)]),_0x3987fd[_0x4a8566(0x149)](_0x23f637?.[_0x4a8566(0x1b8)]||''),_0x3987fd[_0x4a8566(0x225)](_0x23f637?.[_0x4a8566(0x1d4)]||''),_0x3987fd[_0x4a8566(0x140)](_0x23f637?.[_0x4a8566(0x1ba)]||0x0),_0x3987fd['setAttachmentType'](_0x23f637?.[_0x4a8566(0x1a8)]||''),_0x43a1ea[_0x4a8566(0x1d5)](_0x3987fd);}),new Promise((_0x3746a6,_0x820767)=>{const _0x278daf=_0x381715,_0x3d433f={'xBdkx':function(_0x410323,_0x2372e0){const _0x5c1cee=a69_0x4da2;return _0x30e77f[_0x5c1cee(0x16e)](_0x410323,_0x2372e0);},'qXFhE':_0x30e77f[_0x278daf(0x1c6)]};this[_0x278daf(0x193)][_0x278daf(0x1fe)](_0x43a1ea,(_0x29b388,_0x3e7db5)=>{const _0x4aa4f1=_0x278daf;if(_0x29b388){this[_0x4aa4f1(0x1b0)][_0x4aa4f1(0x1c4)]('LogCreatedEvent\x20error:\x20'+_0x29b388['message']),_0x3d433f[_0x4aa4f1(0x1b7)](_0x820767,_0x29b388);return;}this['logger'][_0x4aa4f1(0x180)](_0x3d433f['qXFhE']),_0x3d433f[_0x4aa4f1(0x1b7)](_0x3746a6,_0x3e7db5);});});}catch(_0x511dda){this[_0x381715(0x1b0)]['error'](_0x381715(0x1d9)+util['format'](_0x511dda));throw _0x511dda;}}[a69_0x2698b9(0x190)](){const _0xc6d829=a69_0x2698b9;return this[_0xc6d829(0x193)];}['getChannel'](){const _0xc1e7a3=a69_0x2698b9;return this[_0xc1e7a3(0x185)];}}module[a69_0x2698b9(0x21a)]=GrpcClient;
1
+ const a69_0x4b9d5e=a69_0xb91b;function a69_0xb91b(_0x7a7e44,_0x490b56){const _0x539fac=a69_0x539f();return a69_0xb91b=function(_0xb91b82,_0x14a49d){_0xb91b82=_0xb91b82-0x1d4;let _0x1471d1=_0x539fac[_0xb91b82];return _0x1471d1;},a69_0xb91b(_0x7a7e44,_0x490b56);}(function(_0x26cfef,_0x510084){const _0x4fe359=a69_0xb91b,_0x475b46=_0x26cfef();while(!![]){try{const _0x449e9f=parseInt(_0x4fe359(0x228))/0x1*(parseInt(_0x4fe359(0x230))/0x2)+-parseInt(_0x4fe359(0x211))/0x3+parseInt(_0x4fe359(0x241))/0x4*(parseInt(_0x4fe359(0x283))/0x5)+-parseInt(_0x4fe359(0x220))/0x6*(-parseInt(_0x4fe359(0x29c))/0x7)+-parseInt(_0x4fe359(0x2b6))/0x8*(-parseInt(_0x4fe359(0x2b0))/0x9)+-parseInt(_0x4fe359(0x223))/0xa+parseInt(_0x4fe359(0x210))/0xb;if(_0x449e9f===_0x510084)break;else _0x475b46['push'](_0x475b46['shift']());}catch(_0x38205e){_0x475b46['push'](_0x475b46['shift']());}}}(a69_0x539f,0xd3834));const util=require('util'),logger=require(a69_0x4b9d5e(0x23f))[a69_0x4b9d5e(0x296)],grpc=require(a69_0x4b9d5e(0x212)),services=require(a69_0x4b9d5e(0x2b7)),messages=require('../../../generated/sdk-messages_pb'),path=require('path'),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a69_0x4b9d5e(0x1f4)),PerformanceTester=require(a69_0x4b9d5e(0x281)),{EVENTS:PerformanceEvents}=require(a69_0x4b9d5e(0x279)),{PLAYWRIGHT_TRACE_LOGS}=require(a69_0x4b9d5e(0x28a)),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;[a69_0x4b9d5e(0x2ab)]=null;[a69_0x4b9d5e(0x262)]=null;[a69_0x4b9d5e(0x1db)]=null;[a69_0x4b9d5e(0x1f1)]=null;[a69_0x4b9d5e(0x2ae)]=createClassLogger('GrpcClient');constructor(){}static[a69_0x4b9d5e(0x25c)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a69_0x4b9d5e(0x207)](_0x1c0f53){const _0x39c608=a69_0x4b9d5e,_0x27c743={};_0x27c743[_0x39c608(0x284)]=function(_0x457eff,_0x2af139){return _0x457eff||_0x2af139;};const _0x5d7f38=_0x27c743,{id:_0x23ab1d,listen:_0x4e3d07}=_0x1c0f53;if(_0x5d7f38[_0x39c608(0x284)](!_0x23ab1d,!_0x4e3d07))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x23ab1d+_0x39c608(0x24b)+_0x4e3d07);this[_0x39c608(0x2ab)]=_0x23ab1d,this['listenAddress']=_0x4e3d07,process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x39c608(0x2ab)],process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this['listenAddress'],this['connect'](),this[_0x39c608(0x2ae)]['info'](_0x39c608(0x26f)+this[_0x39c608(0x2ab)]+_0x39c608(0x248)+this['listenAddress']);}[a69_0x4b9d5e(0x253)](){const _0x26b4c1=a69_0x4b9d5e,_0x6b77b1={};_0x6b77b1[_0x26b4c1(0x257)]=_0x26b4c1(0x2b1);const _0x200f0e=_0x6b77b1;let _0x4e3828=this[_0x26b4c1(0x262)];!_0x4e3828&&(_0x4e3828=process[_0x26b4c1(0x201)][_0x26b4c1(0x22a)]);!this['binSessionId']&&(this['binSessionId']=this[_0x26b4c1(0x2ab)]||process[_0x26b4c1(0x201)][_0x26b4c1(0x217)]);if(!_0x4e3828)throw new Error(_0x200f0e[_0x26b4c1(0x257)]);const _0x298327={};_0x298327[_0x26b4c1(0x203)]=0x2710,this[_0x26b4c1(0x1db)]=new grpc[(_0x26b4c1(0x1de))](_0x4e3828,grpc[_0x26b4c1(0x1d7)][_0x26b4c1(0x2a4)](),_0x298327),this[_0x26b4c1(0x1f1)]=new services[(_0x26b4c1(0x2a5))](_0x4e3828,grpc[_0x26b4c1(0x1d7)][_0x26b4c1(0x2a4)]()),this['logger'][_0x26b4c1(0x288)]('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x4e3828);}async[a69_0x4b9d5e(0x24e)](){const _0x397967=a69_0x4b9d5e,_0x52bd0e={'LlKVl':function(_0x28dab1,_0x36e2b1){return _0x28dab1!==_0x36e2b1;},'tSLYP':function(_0x509351,_0x5310db){return _0x509351(_0x5310db);},'cSrmX':_0x397967(0x1ff),'JvQIK':'startBinSession:\x20Calling\x20startBinSession','eFrvs':_0x397967(0x1f7),'XEMKi':function(_0x4e91f8,_0x9ec653){return _0x4e91f8(_0x9ec653);},'jdxYP':_0x397967(0x2a8),'joxro':function(_0x43fbc2,_0x45a9f0){return _0x43fbc2 instanceof _0x45a9f0;},'rAVRa':function(_0x30473a,_0x53c1a9){return _0x30473a===_0x53c1a9;},'cgVIU':'browserstackConfigFile','bmHoM':_0x397967(0x1fd),'MJWAf':_0x397967(0x1e7),'vGSXp':function(_0x4b3cdf,_0x58af80){return _0x4b3cdf||_0x58af80;}};PerformanceTester[_0x397967(0x298)](PerformanceEvents[_0x397967(0x1f3)]),this[_0x397967(0x2ae)]['info'](_0x52bd0e[_0x397967(0x2ac)]);try{!this[_0x397967(0x1f1)]&&this['logger'][_0x397967(0x288)](_0x52bd0e[_0x397967(0x255)]);const _0x59d28e=CLIUtils[_0x397967(0x1d4)](),_0xe65c21=CLIUtils['getAutomationFrameworkDetail'](),_0x27d40b=_0xe65c21['name'],_0x1f2394=_0xe65c21['version'],_0x213f0c=new messages[(_0x397967(0x280))]();_0x213f0c['setBinSessionId'](this[_0x397967(0x2ab)]),_0x213f0c[_0x397967(0x1e0)](CLIUtils[_0x397967(0x22d)]()),_0x213f0c[_0x397967(0x27a)](_0x59d28e),_0x213f0c[_0x397967(0x22c)](process[_0x397967(0x276)]());const _0xe5b85c=_0x213f0c[_0x397967(0x1fb)]();Object[_0x397967(0x282)](process[_0x397967(0x201)])['forEach'](([_0x25fa0e,_0x369be6])=>{const _0x1aba38=_0x397967;_0x52bd0e[_0x1aba38(0x2af)](_0x369be6,undefined)&&_0x52bd0e[_0x1aba38(0x2af)](_0x369be6,null)&&_0xe5b85c['set'](_0x25fa0e,_0x369be6);});const _0x48ef31=_0x52bd0e[_0x397967(0x289)](require,_0x52bd0e[_0x397967(0x266)]),_0x305a0f=_0x48ef31[_0x397967(0x25c)]()[_0x397967(0x23e)](),_0x53c9c1=[];_0x305a0f&&_0x52bd0e[_0x397967(0x238)](_0x305a0f,Map)&&_0x305a0f['forEach']((_0xa338f2,_0x2241d8)=>{const _0x2331ab=_0x397967;_0x53c9c1[_0x2331ab(0x245)](_0x2241d8+'='+_0xa338f2);});const _0x57adeb=process['argv'][_0x397967(0x2a6)](0x2);_0x213f0c[_0x397967(0x1d9)]([..._0x57adeb,..._0x53c9c1]);let _0xd40117=null;if(_0x305a0f)for(const [_0x32c5ef,_0x5a6bc1]of _0x305a0f){if(_0x52bd0e[_0x397967(0x22b)](_0x32c5ef,_0x52bd0e[_0x397967(0x26e)])){_0xd40117=_0x5a6bc1;break;}}if(_0xd40117)_0x213f0c['setPathConfig'](_0xd40117);else process[_0x397967(0x201)][_0x397967(0x1ee)]?_0x213f0c[_0x397967(0x20d)](process[_0x397967(0x201)][_0x397967(0x1ee)]):_0x213f0c[_0x397967(0x20d)](path[_0x397967(0x261)](process[_0x397967(0x276)](),_0x52bd0e[_0x397967(0x20c)]));this['logger'][_0x397967(0x288)](_0x397967(0x213)+JSON['stringify'](_0x57adeb)+',\x20parsedConfig='+(_0x305a0f?JSON[_0x397967(0x226)]([..._0x305a0f]):_0x52bd0e[_0x397967(0x21b)])),_0x213f0c[_0x397967(0x200)](CLIUtils[_0x397967(0x22d)]()),_0x213f0c[_0x397967(0x26a)](_0x27d40b);const _0xe1f4c0=_0x213f0c[_0x397967(0x225)]();return _0xe1f4c0[_0x397967(0x24d)](_0x27d40b,_0x52bd0e[_0x397967(0x1ec)](_0x1f2394,'')),_0x213f0c[_0x397967(0x28f)](_0x27d40b,_0x1f2394),_0x213f0c[_0x397967(0x2a2)]([_0x27d40b]),new Promise((_0xe6c681,_0x204e03)=>{const _0x2dcdd0=_0x397967;this['client'][_0x2dcdd0(0x24e)](_0x213f0c,(_0x24c915,_0x4ef1da)=>{const _0x56c222=_0x2dcdd0;if(_0x24c915){this[_0x56c222(0x2ae)][_0x56c222(0x204)]('StartBinSession\x20error:\x20'+_0x24c915['message']),_0x52bd0e[_0x56c222(0x236)](_0x204e03,_0x24c915),PerformanceTester[_0x56c222(0x251)](PerformanceEvents[_0x56c222(0x1f3)],![],util[_0x56c222(0x205)](_0x24c915));return;}this[_0x56c222(0x2ae)]['info'](_0x52bd0e[_0x56c222(0x206)]),PerformanceTester[_0x56c222(0x251)](PerformanceEvents[_0x56c222(0x1f3)]),_0x52bd0e[_0x56c222(0x236)](_0xe6c681,_0x4ef1da);});});}catch(_0x24a37a){this[_0x397967(0x2ae)][_0x397967(0x204)](_0x397967(0x272)+util[_0x397967(0x205)](_0x24a37a)),PerformanceTester['end'](PerformanceEvents[_0x397967(0x1f3)],![],util['format'](_0x24a37a));throw _0x24a37a;}}async[a69_0x4b9d5e(0x269)](){const _0xedb2fe=a69_0x4b9d5e,_0x18c1cc={'WApWD':function(_0x2077d6,_0x48b8e1){return _0x2077d6(_0x48b8e1);},'lRJZB':'ConnectBinSession\x20successful','HVfvk':function(_0x3936a5,_0x5d49f4){return _0x3936a5(_0x5d49f4);},'rvNkC':'Connecting\x20bin\x20session','MdUgn':_0xedb2fe(0x1f7)};PerformanceTester[_0xedb2fe(0x298)](PerformanceEvents[_0xedb2fe(0x1e9)]),this[_0xedb2fe(0x2ae)][_0xedb2fe(0x288)](_0x18c1cc[_0xedb2fe(0x25b)]);try{!this['client']&&this[_0xedb2fe(0x2ae)][_0xedb2fe(0x288)](_0x18c1cc['MdUgn']);const _0x1b8921=new messages['ConnectBinSessionRequest']();_0x1b8921[_0xedb2fe(0x259)](this[_0xedb2fe(0x2ab)]);const _0x5d06f7=await new Promise((_0xc00f31,_0x1efb2f)=>{const _0x3f6d61=_0xedb2fe;this[_0x3f6d61(0x1f1)][_0x3f6d61(0x269)](_0x1b8921,(_0x3b8b6e,_0x5d55cf)=>{const _0x5230a1=_0x3f6d61;if(_0x3b8b6e){this['logger'][_0x5230a1(0x204)]('ConnectBinSession\x20error:\x20'+_0x3b8b6e[_0x5230a1(0x2a3)]),_0x18c1cc[_0x5230a1(0x2a0)](_0x1efb2f,_0x3b8b6e),PerformanceTester['end'](PerformanceEvents[_0x5230a1(0x1e9)],![],util[_0x5230a1(0x205)](_0x3b8b6e));return;}this['logger']['info'](_0x18c1cc[_0x5230a1(0x24c)]),PerformanceTester[_0x5230a1(0x251)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x18c1cc[_0x5230a1(0x21a)](_0xc00f31,_0x5d55cf);});});return this[_0xedb2fe(0x2ae)][_0xedb2fe(0x2b4)]('connect-bin-session\x20response:\x20'+util['format'](_0x5d06f7)),_0x5d06f7;}catch(_0x38c0ad){PerformanceTester[_0xedb2fe(0x251)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x38c0ad)),this[_0xedb2fe(0x2ae)][_0xedb2fe(0x204)]('Error\x20in\x20connectBinSession:\x20'+util[_0xedb2fe(0x205)](_0x38c0ad));throw _0x38c0ad;}}async['stopBinSession'](_0x178852={},_0x22cace=null){const _0x46e683=a69_0x4b9d5e,_0x4dd59d={'EHklw':function(_0x9d762a,_0x255448){return _0x9d762a(_0x255448);},'spVkO':_0x46e683(0x291),'WkTpD':function(_0x2d650d,_0x5d8567){return _0x2d650d(_0x5d8567);},'xaUxo':'Stopping\x20bin\x20session','bRzaJ':_0x46e683(0x2b2),'Bqzza':_0x46e683(0x1f7),'zzXgl':_0x46e683(0x1ed)};PerformanceTester['start'](PerformanceEvents[_0x46e683(0x270)]),this[_0x46e683(0x2ae)][_0x46e683(0x288)](_0x4dd59d['xaUxo']);try{if(!this[_0x46e683(0x2ab)])throw new Error(_0x4dd59d['bRzaJ']);!this[_0x46e683(0x1f1)]&&this[_0x46e683(0x2ae)]['info'](_0x4dd59d[_0x46e683(0x20f)]);const _0x782fd9=new messages['StopBinSessionRequest']();this['logger'][_0x46e683(0x2b4)](_0x46e683(0x235)+JSON[_0x46e683(0x226)](_0x22cace)),_0x782fd9[_0x46e683(0x259)](this[_0x46e683(0x2ab)]),_0x782fd9[_0x46e683(0x233)](_0x178852),_0x782fd9['setExitSignal'](_0x22cace?_0x22cace:null),_0x782fd9[_0x46e683(0x260)](_0x22cace?_0x4dd59d[_0x46e683(0x23b)]:null),_0x782fd9[_0x46e683(0x277)](_0x22cace?0x1:0x0);const _0x159edc=await new Promise((_0x1359f1,_0x5de10f)=>{const _0x5db0a6=_0x46e683;this[_0x5db0a6(0x1f1)][_0x5db0a6(0x29e)](_0x782fd9,(_0x53c866,_0x2724ad)=>{const _0x1bf212=_0x5db0a6;if(_0x53c866){this['logger']['error'](_0x1bf212(0x287)+_0x53c866[_0x1bf212(0x2a3)]),_0x4dd59d[_0x1bf212(0x256)](_0x5de10f,_0x53c866),PerformanceTester[_0x1bf212(0x251)](PerformanceEvents[_0x1bf212(0x270)],![],util[_0x1bf212(0x205)](_0x53c866));return;}this[_0x1bf212(0x2ae)][_0x1bf212(0x288)](_0x4dd59d[_0x1bf212(0x274)]),PerformanceTester[_0x1bf212(0x251)](PerformanceEvents[_0x1bf212(0x270)]),_0x4dd59d[_0x1bf212(0x1df)](_0x1359f1,_0x2724ad);});});return this[_0x46e683(0x2ae)][_0x46e683(0x2b4)](_0x46e683(0x27e)+util['format'](_0x159edc)),_0x159edc;}catch(_0x46203d){PerformanceTester['end'](PerformanceEvents[_0x46e683(0x270)],![],util['format'](_0x46203d)),this[_0x46e683(0x2ae)][_0x46e683(0x204)]('Error\x20in\x20stopBinSession:\x20'+util['format'](_0x46203d));}}async[a69_0x4b9d5e(0x263)](_0x517869){const _0x1db03a=a69_0x4b9d5e,_0x4ca806={'vYQBQ':function(_0x32d0b7,_0x328d6e){return _0x32d0b7(_0x328d6e);},'yyCtc':_0x1db03a(0x264),'HvvgM':'Getting\x20Playwright\x20config','CSGqx':_0x1db03a(0x1f7)};PerformanceTester['start'](PerformanceEvents[_0x1db03a(0x26b)]),this['logger'][_0x1db03a(0x288)](_0x4ca806['HvvgM']);try{!this[_0x1db03a(0x1f1)]&&this['logger'][_0x1db03a(0x288)](_0x4ca806[_0x1db03a(0x1fa)]);const _0xd66dbf=new messages[(_0x1db03a(0x249))]();return _0xd66dbf[_0x1db03a(0x259)](this[_0x1db03a(0x2ab)]),_0xd66dbf[_0x1db03a(0x250)](JSON[_0x1db03a(0x226)](_0x517869)),new Promise((_0x264f72,_0x53ad40)=>{const _0x113b27=_0x1db03a,_0x4f7a66={'wyXOY':function(_0x58173e,_0x313082){return _0x4ca806['vYQBQ'](_0x58173e,_0x313082);},'jUKee':_0x4ca806['yyCtc']};this[_0x113b27(0x1f1)][_0x113b27(0x1e5)](_0xd66dbf,(_0x522a69,_0x5b83fa)=>{const _0x275c54=_0x113b27;if(_0x522a69){this[_0x275c54(0x2ae)]['error'](_0x275c54(0x1f5)+_0x522a69[_0x275c54(0x2a3)]),_0x4f7a66['wyXOY'](_0x53ad40,_0x522a69),PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x275c54(0x205)](_0x522a69));return;}this[_0x275c54(0x2ae)][_0x275c54(0x288)](_0x4f7a66['jUKee']),PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x4f7a66['wyXOY'](_0x264f72,_0x5b83fa);});});}catch(_0x4610ed){PerformanceTester[_0x1db03a(0x251)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x1db03a(0x205)](_0x4610ed)),this[_0x1db03a(0x2ae)]['error'](_0x1db03a(0x20e)+util[_0x1db03a(0x205)](_0x4610ed));throw _0x4610ed;}}async[a69_0x4b9d5e(0x244)](_0x1c1224){const _0x1050fc=a69_0x4b9d5e,_0x40ebe5={'Zbnnn':function(_0x49e63c,_0x51c2c4){return _0x49e63c(_0x51c2c4);},'lVkpS':'AccessibilityConfig\x20request\x20successful','GyHdU':_0x1050fc(0x232),'NMVot':_0x1050fc(0x28c)};this['logger']['info'](_0x40ebe5[_0x1050fc(0x22e)]);try{const _0x549f0e=Buffer[_0x1050fc(0x224)](JSON['stringify'](_0x1c1224[_0x1050fc(0x1f0)]),_0x40ebe5['NMVot']),_0x12c1b7=new messages[(_0x1050fc(0x246))](),_0xab4bf1=CLIUtils[_0x1050fc(0x29f)](),_0xaf954c=_0xab4bf1['name'],_0x5060d0=_0xab4bf1[_0x1050fc(0x29a)];return _0x12c1b7['setBinSessionId'](this[_0x1050fc(0x2ab)]),_0x12c1b7[_0x1050fc(0x24a)](0x0),_0x12c1b7[_0x1050fc(0x215)](_0xaf954c),_0x12c1b7[_0x1050fc(0x23a)](_0x5060d0),_0x12c1b7[_0x1050fc(0x237)](_0x1c1224[_0x1050fc(0x275)]),_0x12c1b7[_0x1050fc(0x1e3)](_0x549f0e),new Promise((_0x3f5d99,_0x4164a6)=>{const _0x4ce491=_0x1050fc;this[_0x4ce491(0x1f1)][_0x4ce491(0x27d)](_0x12c1b7,(_0x3c78e8,_0x7abffa)=>{const _0x3b10c9=_0x4ce491;if(_0x3c78e8){this['logger'][_0x3b10c9(0x204)](_0x3b10c9(0x242)+_0x3c78e8[_0x3b10c9(0x2a3)]),_0x40ebe5[_0x3b10c9(0x2ad)](_0x4164a6,_0x3c78e8);return;}this[_0x3b10c9(0x2ae)][_0x3b10c9(0x288)](_0x40ebe5['lVkpS']),_0x40ebe5['Zbnnn'](_0x3f5d99,_0x7abffa);});});}catch(_0x588f59){this[_0x1050fc(0x2ae)]['error'](_0x1050fc(0x227)+util[_0x1050fc(0x205)](_0x588f59));}}async[a69_0x4b9d5e(0x25a)](_0x12caae){const _0x1f5298=a69_0x4b9d5e,_0x6eb5a={'WHTnY':function(_0xab2e18,_0xaeff6c){return _0xab2e18(_0xaeff6c);},'aizxo':'TestSessionEvent\x20request\x20successful','MoxuK':_0x1f5298(0x1e4),'LMigE':_0x1f5298(0x1f7)};this[_0x1f5298(0x2ae)][_0x1f5298(0x288)](_0x6eb5a[_0x1f5298(0x1e1)]);try{!this[_0x1f5298(0x1f1)]&&this[_0x1f5298(0x2ae)][_0x1f5298(0x288)](_0x6eb5a['LMigE']);const {platformIndex:_0x4d56b1,testFrameworkName:_0x2667ec,testFrameworkVersion:_0xc0f756,testFrameworkState:_0x3cdcd9,testHookState:_0x1a46c6,testUuid:_0x4f1219,automationSession:_0x4de2b9,capabilities:_0x207f07,executionContext:_0x439b75}=_0x12caae,_0x1ddcc9=new messages[(_0x1f5298(0x29b))]();_0x1ddcc9['setBinSessionId'](this[_0x1f5298(0x2ab)]),_0x1ddcc9[_0x1f5298(0x24a)](_0x4d56b1),_0x1ddcc9[_0x1f5298(0x1dd)](_0x2667ec),_0x1ddcc9[_0x1f5298(0x229)](_0xc0f756),_0x1ddcc9[_0x1f5298(0x1f9)](_0x3cdcd9),_0x1ddcc9[_0x1f5298(0x294)](_0x1a46c6),_0x1ddcc9[_0x1f5298(0x231)](_0x4f1219);const _0x16c3c6=new messages[(_0x1f5298(0x29b))][(_0x1f5298(0x1ea))]();_0x16c3c6[_0x1f5298(0x23d)](_0x4de2b9[_0x1f5298(0x299)]),_0x16c3c6[_0x1f5298(0x215)](_0x4de2b9[_0x1f5298(0x273)]),_0x16c3c6['setFrameworkVersion'](_0x4de2b9[_0x1f5298(0x23c)]),_0x16c3c6[_0x1f5298(0x271)](_0x4de2b9['frameworkSessionId']),_0x16c3c6[_0x1f5298(0x28b)](_0x4de2b9[_0x1f5298(0x21c)]),_0x16c3c6['setHubUrl'](_0x4de2b9[_0x1f5298(0x275)]),_0x1ddcc9['addAutomationSessions'](_0x16c3c6),_0x1ddcc9['setCapabilities'](_0x207f07);const _0x455ec5=new messages[(_0x1f5298(0x295))]();return _0x455ec5[_0x1f5298(0x209)](_0x439b75['processId']),_0x455ec5[_0x1f5298(0x293)](_0x439b75['threadId']),_0x455ec5[_0x1f5298(0x26d)](_0x439b75[_0x1f5298(0x243)]),_0x1ddcc9[_0x1f5298(0x1d6)](_0x455ec5),new Promise((_0x33145e,_0x4a443c)=>{const _0x34701c=_0x1f5298;this[_0x34701c(0x1f1)]['testSessionEvent'](_0x1ddcc9,(_0x3ffe0b,_0x4ca291)=>{const _0x289f64=_0x34701c;if(_0x3ffe0b){this[_0x289f64(0x2ae)][_0x289f64(0x204)](_0x289f64(0x2b3)+_0x3ffe0b[_0x289f64(0x2a3)]),_0x6eb5a['WHTnY'](_0x4a443c,_0x3ffe0b);return;}this[_0x289f64(0x2ae)][_0x289f64(0x288)](_0x6eb5a[_0x289f64(0x20a)]),_0x6eb5a['WHTnY'](_0x33145e,_0x4ca291);});});}catch(_0x2ab38e){this['logger']['error'](_0x1f5298(0x252)+util[_0x1f5298(0x205)](_0x2ab38e));throw _0x2ab38e;}}async[a69_0x4b9d5e(0x2a7)](_0x52ce0d){const _0x484b14=a69_0x4b9d5e,_0x43a92d={'Gzbmq':function(_0x259df3,_0x1f0b37){return _0x259df3(_0x1f0b37);},'EHIPo':_0x484b14(0x290),'zfnHu':function(_0x52c9f6,_0x45a445){return _0x52c9f6(_0x45a445);},'dvqOG':_0x484b14(0x286),'UALEy':_0x484b14(0x1f7)};this['logger'][_0x484b14(0x288)](_0x43a92d[_0x484b14(0x1e8)]);try{!this[_0x484b14(0x1f1)]&&this[_0x484b14(0x2ae)][_0x484b14(0x288)](_0x43a92d[_0x484b14(0x240)]);const {platfromIndex:_0x58d290,testFrameworkName:_0x406553,testFrameworkVersion:_0x3bf9de,testFrameworkState:_0x2c8b17,hookState:_0x20f891,startedAt:_0x422a46,endedAt:_0x30d767,uuid:_0x4813ad,eventJson:_0x1ad063,executionContext:_0x4fbcce}=_0x52ce0d,_0x2d5bcc=new messages['TestFrameworkEventRequest']();_0x2d5bcc['setBinSessionId'](this[_0x484b14(0x2ab)]),_0x2d5bcc[_0x484b14(0x24a)](_0x58d290),_0x2d5bcc['setTestFrameworkName'](_0x406553),_0x2d5bcc['setTestFrameworkVersion'](_0x3bf9de),_0x2d5bcc[_0x484b14(0x1f9)](_0x2c8b17),_0x2d5bcc[_0x484b14(0x294)](_0x20f891),_0x2d5bcc[_0x484b14(0x1f8)](_0x422a46),_0x2d5bcc['setEndedAt'](_0x30d767),_0x2d5bcc[_0x484b14(0x1eb)](_0x4813ad),_0x2d5bcc['setEventJson'](_0x1ad063);const _0x33a667=new messages['ExecutionContext']();return _0x33a667[_0x484b14(0x209)](_0x4fbcce[_0x484b14(0x1dc)]),_0x33a667['setThreadId'](_0x4fbcce[_0x484b14(0x1ef)]),_0x33a667[_0x484b14(0x26d)](_0x4fbcce[_0x484b14(0x243)]),_0x2d5bcc[_0x484b14(0x1d6)](_0x33a667),new Promise((_0x4a1b94,_0x580a74)=>{const _0x56d517=_0x484b14;this[_0x56d517(0x1f1)]['testFrameworkEvent'](_0x2d5bcc,(_0x530eda,_0x57ad15)=>{const _0x48c86a=_0x56d517;if(_0x530eda){this['logger']['error'](_0x48c86a(0x25e)+_0x530eda[_0x48c86a(0x2a3)]),_0x43a92d[_0x48c86a(0x1da)](_0x580a74,_0x530eda);return;}this[_0x48c86a(0x2ae)][_0x48c86a(0x288)](_0x43a92d['EHIPo']),_0x43a92d[_0x48c86a(0x258)](_0x4a1b94,_0x57ad15);});});}catch(_0xce88df){this['logger'][_0x484b14(0x204)](_0x484b14(0x218)+util['format'](_0xce88df));throw _0xce88df;}}async[a69_0x4b9d5e(0x1d5)](_0x438aec){const _0x3df100=a69_0x4b9d5e,_0x36a481={'BuUDq':function(_0x4f1492,_0x14fc9b){return _0x4f1492(_0x14fc9b);},'uDnOc':_0x3df100(0x27b),'avGZO':_0x3df100(0x21f),'mhYBG':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x3df100(0x2ae)][_0x3df100(0x288)](_0x36a481[_0x3df100(0x1f6)]);try{!this['client']&&this[_0x3df100(0x2ae)][_0x3df100(0x288)](_0x36a481['mhYBG']);const {platformIndex:_0x45f582,ref:_0xa55b92,userInputParams:_0x4d8fce}=_0x438aec,_0x580be6=new messages[(_0x3df100(0x2b8))]();return _0x580be6[_0x3df100(0x259)](this[_0x3df100(0x2ab)]),_0x580be6['setPlatformIndex'](_0x45f582),_0x580be6[_0x3df100(0x28b)](_0xa55b92),_0x580be6[_0x3df100(0x2aa)](_0x4d8fce),new Promise((_0x285bd0,_0x32a523)=>{const _0x3fd04f=_0x3df100,_0x3e68af={'SBQTI':function(_0x3d34cc,_0x17b1a7){const _0x48faba=a69_0xb91b;return _0x36a481[_0x48faba(0x265)](_0x3d34cc,_0x17b1a7);},'vcCLt':_0x36a481[_0x3fd04f(0x292)],'zmkJZ':function(_0x1cc257,_0x35f089){const _0x35c31a=_0x3fd04f;return _0x36a481[_0x35c31a(0x265)](_0x1cc257,_0x35f089);}};this[_0x3fd04f(0x1f1)][_0x3fd04f(0x1d5)](_0x580be6,(_0x46b6d9,_0xcd8b8b)=>{const _0x4d370b=_0x3fd04f;if(_0x46b6d9){this[_0x4d370b(0x2ae)][_0x4d370b(0x204)](_0x4d370b(0x1fc)+_0x46b6d9[_0x4d370b(0x2a3)]),_0x3e68af[_0x4d370b(0x221)](_0x32a523,_0x46b6d9);return;}this['logger'][_0x4d370b(0x288)](_0x3e68af[_0x4d370b(0x267)]),_0x3e68af[_0x4d370b(0x27c)](_0x285bd0,_0xcd8b8b);});});}catch(_0x513cca){this[_0x3df100(0x2ae)]['error']('Error\x20in\x20DriverInit:\x20'+util['format'](_0x513cca));throw _0x513cca;}}async[a69_0x4b9d5e(0x1fe)](_0x424cf9){const _0x2aaeae=a69_0x4b9d5e,_0x595ff8={'ygFrV':function(_0x58e7e8,_0x4a9766){return _0x58e7e8===_0x4a9766;},'wnKcT':function(_0x1f2742,_0x3a4549){return _0x1f2742(_0x3a4549);},'czgHj':'LogCreatedEvent\x20request\x20successful','sKemW':'Sending\x20LogCreatedEvent','pDjom':_0x2aaeae(0x1f7)};this[_0x2aaeae(0x2ae)][_0x2aaeae(0x288)](_0x595ff8[_0x2aaeae(0x234)]);try{!this['client']&&this[_0x2aaeae(0x2ae)][_0x2aaeae(0x288)](_0x595ff8[_0x2aaeae(0x247)]);const {platformIndex:_0x551c78,logs:_0x5557f6}=_0x424cf9,_0x4f6a86=new messages[(_0x2aaeae(0x22f))]();_0x4f6a86[_0x2aaeae(0x259)](this[_0x2aaeae(0x2ab)]),_0x4f6a86[_0x2aaeae(0x24a)](_0x551c78);const _0x45ad0b=_0x424cf9['testFrameworkName'],_0x44d97b=_0x424cf9[_0x2aaeae(0x1f2)],_0x56cb29=_0x424cf9[_0x2aaeae(0x1e2)];return _0x5557f6[_0x2aaeae(0x21d)](_0x244078=>{const _0x494ad1=_0x2aaeae,_0x2b6692=new messages['LogCreatedEventRequest'][(_0x494ad1(0x25d))]();_0x2b6692['setTestFrameworkName'](_0x45ad0b),_0x2b6692[_0x494ad1(0x229)](_0x44d97b),_0x2b6692['setTestFrameworkState'](_0x56cb29),_0x2b6692[_0x494ad1(0x2a1)](_0x244078[_0x494ad1(0x278)]),_0x2b6692[_0x494ad1(0x1eb)](_0x244078[_0x494ad1(0x222)]),_0x2b6692[_0x494ad1(0x214)](_0x244078[_0x494ad1(0x297)]),_0x595ff8[_0x494ad1(0x24f)](_0x244078['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x2b6692[_0x494ad1(0x1eb)](_0x244078[_0x494ad1(0x2b5)]),_0x2b6692[_0x494ad1(0x216)](new TextEncoder()[_0x494ad1(0x202)](JSON['stringify'](_0x244078)))):_0x2b6692[_0x494ad1(0x216)](new TextEncoder()[_0x494ad1(0x202)](_0x244078[_0x494ad1(0x2a3)])),_0x2b6692[_0x494ad1(0x285)](_0x244078['level']),_0x2b6692[_0x494ad1(0x239)](_0x244078?.['fileName']||''),_0x2b6692[_0x494ad1(0x28d)](_0x244078?.['filePath']||''),_0x2b6692[_0x494ad1(0x268)](_0x244078?.[_0x494ad1(0x20b)]||0x0),_0x2b6692[_0x494ad1(0x254)](_0x244078?.[_0x494ad1(0x26c)]||''),_0x4f6a86[_0x494ad1(0x208)](_0x2b6692);}),new Promise((_0x5a8097,_0x596924)=>{const _0x3ff4b6=_0x2aaeae,_0x55cae7={'XvwoB':function(_0x374d7b,_0x1ad227){const _0x21fb05=a69_0xb91b;return _0x595ff8[_0x21fb05(0x1d8)](_0x374d7b,_0x1ad227);},'cXHFv':_0x595ff8[_0x3ff4b6(0x1e6)]};this[_0x3ff4b6(0x1f1)][_0x3ff4b6(0x1fe)](_0x4f6a86,(_0x1779f9,_0x3ebf1d)=>{const _0x361993=_0x3ff4b6;if(_0x1779f9){this[_0x361993(0x2ae)][_0x361993(0x204)](_0x361993(0x27f)+_0x1779f9[_0x361993(0x2a3)]),_0x55cae7[_0x361993(0x28e)](_0x596924,_0x1779f9);return;}this[_0x361993(0x2ae)][_0x361993(0x288)](_0x55cae7[_0x361993(0x219)]),_0x55cae7[_0x361993(0x28e)](_0x5a8097,_0x3ebf1d);});});}catch(_0x3a8d5b){this[_0x2aaeae(0x2ae)][_0x2aaeae(0x204)](_0x2aaeae(0x29d)+util['format'](_0x3a8d5b));throw _0x3a8d5b;}}[a69_0x4b9d5e(0x25f)](){const _0x400833=a69_0x4b9d5e;return this[_0x400833(0x1f1)];}[a69_0x4b9d5e(0x21e)](){const _0x166058=a69_0x4b9d5e;return this[_0x166058(0x1db)];}}module[a69_0x4b9d5e(0x2a9)]=GrpcClient;function a69_0x539f(){const _0x42995a=['joxro','setFileName','setFrameworkVersion','zzXgl','frameworkVersion','setProvider','getBrowserstackCliConfig','../../helpers/logger.js','UALEy','28fuxxEn','AccessibilityConfig\x20error:\x20','hash','getAccessibilityConfig','push','AccessibilityConfigRequest','pDjom','\x20and\x20listen\x20address:\x20','PlaywrightConfigRequest','setPlatformIndex','\x20listenAddr:\x20','lRJZB','set','startBinSession','ygFrV','setConfig','end','Error\x20in\x20TestSessionEvent:\x20','connect','setAttachmentType','eFrvs','EHklw','EWqdy','zfnHu','setBinSessionId','testSessionEvent','rvNkC','getInstance','LogEntry','TestFrameworkEvent\x20error:\x20','getClient','setExitReason','resolve','listenAddress','getPlaywrightConfig','PlaywrightConfig\x20request\x20successful','BuUDq','jdxYP','vcCLt','setFileSize','connectBinSession','setTestFramework','SDK_AUTOMATION_FRAMEWORK_INIT','attachment_type','setHash','cgVIU','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','SDK_CLI_ON_STOP','setFrameworkSessionId','Error\x20in\x20startBinSession:\x20','frameworkName','spVkO','hubUrl','cwd','setExitCode','timestamp','../../helpers/performance/constants','setSdkVersion','DriverInit\x20request\x20successful','zmkJZ','accessibilityConfig','stop-bin-session\x20response:\x20','LogCreatedEvent\x20error:\x20','StartBinSessionRequest','../../helpers/performance/performance-tester.js','entries','525865dcCgTP','ISWCQ','setLevel','Sending\x20TestFrameworkEvent','StopBinSession\x20error:\x20','info','XEMKi','../utils/constants','setRef','utf-8','setFilePath','XvwoB','addFrameworks','TestFrameworkEvent\x20request\x20successful','StopBinSession\x20successful','uDnOc','setThreadId','setTestHookState','ExecutionContext','winstonLogger','kind','start','provider','version','TestSessionEventRequest','1036dsqcIS','Error\x20in\x20LogCreatedEvent:\x20','stopBinSession','getAutomationFrameworkDetail','WApWD','setTimestamp','setFrameworksList','message','createInsecure','SDKClient','slice','testFrameworkEvent','./browserstackCLI.js','exports','setUserInputParams','binSessionId','JvQIK','Zbnnn','logger','LlKVl','4810572AZFyGV','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','Missing\x20binSessionId','TestSessionEvent\x20error:\x20','debug','test_run_uuid','8zFBYVm','../../../generated/sdk_grpc_pb','DriverInitRequest','getSdkVersion','driverInit','setExecutionContext','credentials','wnKcT','setCliArgsList','Gzbmq','channel','processId','setTestFrameworkName','Channel','WkTpD','setSdkLanguage','MoxuK','testFrameworkState','setCapabilities','Sending\x20TestSessionEvent','playwrightConfig','czgHj','null','dvqOG','SDK_CONNECT_BIN_SESSION','AutomationSession','setUuid','vGSXp','user_killed','BROWSERSTACK_CONFIG_FILE_PATH','threadId','launchcaps','client','testFrameworkVersion','SDK_START_BIN_SESSION','../../helpers/classLogger.js','PlaywrightConfig\x20error:\x20','avGZO','No\x20gRPC\x20client\x20not\x20initialized.','setStartedAt','setTestFrameworkState','CSGqx','getEnvVarsMap','DriverInit\x20error:\x20','browserstack.yml','logCreatedEvent','StartBinSession\x20successful','setLanguage','env','encode','grpc.keepalive_time_ms','error','format','cSrmX','init','addLogs','setProcessId','aizxo','fileSize','bmHoM','setPathConfig','Error\x20in\x20getPlaywrightConfig:\x20','Bqzza','20572706alhKKt','3962757ktVgsR','@grpc/grpc-js','setCliArgs:\x20cliArgs=','setKind','setFrameworkName','setMessage','BROWSERSTACK_CLI_BIN_SESSION_ID','Error\x20in\x20TestFrameworkEvent:\x20','cXHFv','HVfvk','MJWAf','ref','forEach','getChannel','Sending\x20DriverInit','528rEXtTk','SBQTI','uuid','16339620WtTmGA','from','getFrameworkVersionsMap','stringify','Error\x20in\x20getAccessibilityConfig:\x20','333624Amxmsc','setTestFrameworkVersion','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','rAVRa','setPathProject','getSdkLanguage','GyHdU','LogCreatedEventRequest','4tMHXqe','setTestUuid','Getting\x20Accessibility\x20config','setCustomMetadata','sKemW','Stopping\x20signal\x20','tSLYP','setHubUrl'];a69_0x539f=function(){return _0x42995a;};return a69_0x539f();}
@@ -1 +1 @@
1
- const a70_0x57d394=a70_0x38fe;(function(_0x457cd4,_0x33861d){const _0x8af546=a70_0x38fe,_0x4a3186=_0x457cd4();while(!![]){try{const _0x5161f6=-parseInt(_0x8af546(0xcc))/0x1+parseInt(_0x8af546(0xdb))/0x2+parseInt(_0x8af546(0xd0))/0x3*(-parseInt(_0x8af546(0xcb))/0x4)+parseInt(_0x8af546(0xda))/0x5*(-parseInt(_0x8af546(0xcf))/0x6)+parseInt(_0x8af546(0xce))/0x7+-parseInt(_0x8af546(0xde))/0x8*(parseInt(_0x8af546(0xc8))/0x9)+parseInt(_0x8af546(0xca))/0xa*(parseInt(_0x8af546(0xd2))/0xb);if(_0x5161f6===_0x33861d)break;else _0x4a3186['push'](_0x4a3186['shift']());}catch(_0x352836){_0x4a3186['push'](_0x4a3186['shift']());}}}(a70_0x4f14,0x94af4));const AutomationFrameworkState=require(a70_0x57d394(0xd1)),TrackedInstance=require('./trackedInstance'),now=new Date();function a70_0x4f14(){const _0x2ee1d0=['473FKeGrk','getFrameworkName','state','lastState','setState','getFrameworkVersion','NONE','UKkJD','1584565IiYcQp','2022504bQVmgP','toLocaleString','createdAt','9357800ppxsWN','exports','split','9OCUWrl','frameworkVersion','502220ctkxkm','4250288RekqST','616334PvSVsR','5|0|3|4|1|2','4226306wZxVlb','6VIOZza','3CkbjHq','../state/automationFrameworkState'];a70_0x4f14=function(){return _0x2ee1d0;};return a70_0x4f14();}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x20b6a9,_0x43c52f,_0x3f5fdb,_0x25cac5){const _0x259c34=a70_0x57d394,_0x1adc8f={};_0x1adc8f[_0x259c34(0xd9)]=_0x259c34(0xcd);const _0x8eb0c0=_0x1adc8f,_0x444e59=_0x8eb0c0[_0x259c34(0xd9)][_0x259c34(0xc7)]('|');let _0x5d08de=0x0;while(!![]){switch(_0x444e59[_0x5d08de++]){case'0':this['frameworkName']=_0x43c52f;continue;case'1':this[_0x259c34(0xd5)]=AutomationFrameworkState[_0x259c34(0xd8)];continue;case'2':this[_0x259c34(0xdd)]=now[_0x259c34(0xdc)]();continue;case'3':this[_0x259c34(0xc9)]=_0x3f5fdb;continue;case'4':this[_0x259c34(0xd4)]=_0x25cac5;continue;case'5':super(_0x20b6a9);continue;}break;}}[a70_0x57d394(0xd3)](){return this['frameworkName'];}[a70_0x57d394(0xd7)](){const _0x352a39=a70_0x57d394;return this[_0x352a39(0xc9)];}['getState'](){const _0x550112=a70_0x57d394;return this[_0x550112(0xd4)];}[a70_0x57d394(0xd6)](_0x342fae){const _0x544775=a70_0x57d394;this[_0x544775(0xd5)]=this[_0x544775(0xd4)],this[_0x544775(0xd4)]=_0x342fae;}}function a70_0x38fe(_0x12c64f,_0x2ecfc2){const _0x4f14a9=a70_0x4f14();return a70_0x38fe=function(_0x38fece,_0x2461a7){_0x38fece=_0x38fece-0xc7;let _0x9d2d05=_0x4f14a9[_0x38fece];return _0x9d2d05;},a70_0x38fe(_0x12c64f,_0x2ecfc2);}module[a70_0x57d394(0xdf)]=AutomationFrameworkInstance;
1
+ const a70_0x3d783f=a70_0x5c31;function a70_0x5c31(_0x33c985,_0x387de0){const _0x2747b9=a70_0x2747();return a70_0x5c31=function(_0x5c31ed,_0xbe9108){_0x5c31ed=_0x5c31ed-0xe3;let _0x10ff92=_0x2747b9[_0x5c31ed];return _0x10ff92;},a70_0x5c31(_0x33c985,_0x387de0);}(function(_0x265263,_0x816c92){const _0x4912e2=a70_0x5c31,_0xa29928=_0x265263();while(!![]){try{const _0x1a5a31=parseInt(_0x4912e2(0xe3))/0x1*(-parseInt(_0x4912e2(0xe8))/0x2)+-parseInt(_0x4912e2(0xf2))/0x3*(-parseInt(_0x4912e2(0xfa))/0x4)+parseInt(_0x4912e2(0xf9))/0x5*(-parseInt(_0x4912e2(0xe9))/0x6)+parseInt(_0x4912e2(0xf4))/0x7+parseInt(_0x4912e2(0xf0))/0x8*(-parseInt(_0x4912e2(0xed))/0x9)+parseInt(_0x4912e2(0xf8))/0xa*(-parseInt(_0x4912e2(0xe4))/0xb)+parseInt(_0x4912e2(0xf5))/0xc;if(_0x1a5a31===_0x816c92)break;else _0xa29928['push'](_0xa29928['shift']());}catch(_0x49532c){_0xa29928['push'](_0xa29928['shift']());}}}(a70_0x2747,0xc69ac));const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require(a70_0x3d783f(0xf1)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x3b11f9,_0x43df48,_0x48846f,_0x1e69c6){const _0x2ca560=a70_0x3d783f,_0x1473c5={};_0x1473c5[_0x2ca560(0xef)]=_0x2ca560(0xe7);const _0x44c401=_0x1473c5,_0x3e690d=_0x44c401[_0x2ca560(0xef)][_0x2ca560(0xf3)]('|');let _0x5599f8=0x0;while(!![]){switch(_0x3e690d[_0x5599f8++]){case'0':this[_0x2ca560(0xec)]=_0x48846f;continue;case'1':this[_0x2ca560(0xe5)]=_0x43df48;continue;case'2':this[_0x2ca560(0xea)]=_0x1e69c6;continue;case'3':this[_0x2ca560(0xee)]=AutomationFrameworkState[_0x2ca560(0xf6)];continue;case'4':this['createdAt']=now['toLocaleString']();continue;case'5':super(_0x3b11f9);continue;}break;}}['getFrameworkName'](){const _0x4ac372=a70_0x3d783f;return this[_0x4ac372(0xe5)];}['getFrameworkVersion'](){const _0x2c4dd1=a70_0x3d783f;return this[_0x2c4dd1(0xec)];}[a70_0x3d783f(0xe6)](){return this['state'];}[a70_0x3d783f(0xeb)](_0x28cbf6){const _0xff3a5f=a70_0x3d783f;this[_0xff3a5f(0xee)]=this[_0xff3a5f(0xea)],this[_0xff3a5f(0xea)]=_0x28cbf6;}}function a70_0x2747(){const _0x2170c5=['frameworkVersion','144FxLBYP','lastState','Rhnln','109432KPYoKa','./trackedInstance','9Rgawuz','split','5254634kOSqJp','5137992CYUSjj','NONE','exports','335510GqQwdv','759245tGGDgQ','1424424MMLaeQ','30949HBUpmg','176sGKGIq','frameworkName','getState','5|1|0|2|3|4','34IPbEFn','6vHEYZA','state','setState'];a70_0x2747=function(){return _0x2170c5;};return a70_0x2747();}module[a70_0x3d783f(0xf7)]=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- const a71_0x1b7c2d=a71_0x5259;(function(_0x2d83c2,_0x15cd50){const _0x572c8c=a71_0x5259,_0x17ae42=_0x2d83c2();while(!![]){try{const _0x2476fa=-parseInt(_0x572c8c(0x108))/0x1+-parseInt(_0x572c8c(0x111))/0x2+parseInt(_0x572c8c(0x116))/0x3+-parseInt(_0x572c8c(0x109))/0x4*(parseInt(_0x572c8c(0x115))/0x5)+-parseInt(_0x572c8c(0x10a))/0x6+-parseInt(_0x572c8c(0x11d))/0x7+-parseInt(_0x572c8c(0x11b))/0x8*(-parseInt(_0x572c8c(0x114))/0x9);if(_0x2476fa===_0x15cd50)break;else _0x17ae42['push'](_0x17ae42['shift']());}catch(_0x4ad556){_0x17ae42['push'](_0x17ae42['shift']());}}}(a71_0x1423,0xca43b));const {createClassLogger}=require(a71_0x1b7c2d(0x113)),logger=createClassLogger(a71_0x1b7c2d(0x10e)),HookState=require(a71_0x1b7c2d(0x10c)),TestFrameworkState=require(a71_0x1b7c2d(0x105)),TrackedContext=require(a71_0x1b7c2d(0x119)),TrackedInstance=require(a71_0x1b7c2d(0x103)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x472981,_0x4ee0c2,_0x29d48b,_0x15a6cb,_0xd3dacf){const _0x1aa05a=a71_0x1b7c2d,_0x3aa98b={};_0x3aa98b[_0x1aa05a(0x10d)]='7|3|1|0|2|6|5|4';const _0xb129ef=_0x3aa98b,_0x267e4f=_0xb129ef['cAUfZ']['split']('|');let _0x27a672=0x0;while(!![]){switch(_0x267e4f[_0x27a672++]){case'0':this['currentTestState']=_0x15a6cb;continue;case'1':this[_0x1aa05a(0x11a)]=_0x29d48b;continue;case'2':this[_0x1aa05a(0x10f)]=_0xd3dacf;continue;case'3':this[_0x1aa05a(0x11f)]=_0x4ee0c2;continue;case'4':this[_0x1aa05a(0x104)]=now['toLocaleString']();continue;case'5':this[_0x1aa05a(0x106)]=HookState[_0x1aa05a(0x118)];continue;case'6':this[_0x1aa05a(0x11e)]=TestFrameworkState[_0x1aa05a(0x118)];continue;case'7':super(_0x472981);continue;}break;}}[a71_0x1b7c2d(0x120)](){const _0x17a871=a71_0x1b7c2d;return this[_0x17a871(0x107)];}[a71_0x1b7c2d(0x11c)](_0x51a492){const _0x374dcb=a71_0x1b7c2d;this['setLastTestState'](this[_0x374dcb(0x107)]),this[_0x374dcb(0x107)]=_0x51a492;}['getCurrentHookState'](){const _0x5cad97=a71_0x1b7c2d;return this[_0x5cad97(0x10f)];}[a71_0x1b7c2d(0x10b)](_0x3c809e){const _0x5dc063=a71_0x1b7c2d;this[_0x5dc063(0x110)](this[_0x5dc063(0x10f)]),this[_0x5dc063(0x10f)]=_0x3c809e;}[a71_0x1b7c2d(0x117)](){const _0x244737=a71_0x1b7c2d;return this[_0x244737(0x11e)];}['setLastTestState'](_0xcdc6f5){this['lastTestState']=_0xcdc6f5;}[a71_0x1b7c2d(0x121)](){const _0x199a4e=a71_0x1b7c2d;return this[_0x199a4e(0x106)];}[a71_0x1b7c2d(0x110)](_0x3e1d27){this['lastHookState']=_0x3e1d27;}['getCreatedAt'](){const _0x5ad89e=a71_0x1b7c2d;return this[_0x5ad89e(0x104)];}}function a71_0x5259(_0x46e4e8,_0x1fb5cb){const _0x14232b=a71_0x1423();return a71_0x5259=function(_0x525986,_0x2fc1d6){_0x525986=_0x525986-0x103;let _0xc31c84=_0x14232b[_0x525986];return _0xc31c84;},a71_0x5259(_0x46e4e8,_0x1fb5cb);}function a71_0x1423(){const _0x44f5f9=['NONE','./trackedContext','testFrameworksVersions','31702648rVuyCE','setCurrentTestState','7016247ELAFYf','lastTestState','testFrameworks','getCurrentTestState','getLastHookState','./trackedInstance','createdAt','../state/testFrameworkState','lastHookState','currentTestState','1594376eDBXxA','4FADDJJ','8167512COrZYG','setCurrentHookState','../state/hookState','cAUfZ','TrackedInstance','currentHookState','setLastHookState','656952XBOBGv','exports','../../../helpers/classLogger','9vgMmtB','1255165rMuVbY','4209306MmoplG','getLastTestState'];a71_0x1423=function(){return _0x44f5f9;};return a71_0x1423();}module[a71_0x1b7c2d(0x112)]=TestFrameworkInstance;
1
+ const a71_0xa13e70=a71_0x42dd;(function(_0x596310,_0x1a5823){const _0x61dfd4=a71_0x42dd,_0x14694d=_0x596310();while(!![]){try{const _0x39075e=-parseInt(_0x61dfd4(0xc8))/0x1*(parseInt(_0x61dfd4(0xb2))/0x2)+parseInt(_0x61dfd4(0xc5))/0x3+parseInt(_0x61dfd4(0xcc))/0x4+-parseInt(_0x61dfd4(0xbd))/0x5*(parseInt(_0x61dfd4(0xc3))/0x6)+parseInt(_0x61dfd4(0xc2))/0x7+parseInt(_0x61dfd4(0xc9))/0x8*(-parseInt(_0x61dfd4(0xc0))/0x9)+parseInt(_0x61dfd4(0xbb))/0xa;if(_0x39075e===_0x1a5823)break;else _0x14694d['push'](_0x14694d['shift']());}catch(_0x17f15e){_0x14694d['push'](_0x14694d['shift']());}}}(a71_0x235b,0xd175d));function a71_0x42dd(_0xf2c34f,_0x544009){const _0x235bfc=a71_0x235b();return a71_0x42dd=function(_0x42dd96,_0x578d11){_0x42dd96=_0x42dd96-0xae;let _0x44f966=_0x235bfc[_0x42dd96];return _0x44f966;},a71_0x42dd(_0xf2c34f,_0x544009);}const {createClassLogger}=require(a71_0xa13e70(0xb3)),logger=createClassLogger(a71_0xa13e70(0xb9)),HookState=require(a71_0xa13e70(0xb6)),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require(a71_0xa13e70(0xcb)),TrackedInstance=require(a71_0xa13e70(0xae)),now=new Date();function a71_0x235b(){const _0x538e0e=['601715mOfOKi','lastTestState','testFrameworks','1850031gdnhei','setCurrentHookState','10167766hndKWw','78iwlVnV','currentTestState','1526199wWPSHD','testFrameworksVersions','setCurrentTestState','39029cLjtEn','40IRaqxf','getCreatedAt','./trackedContext','6445448LktlNL','NONE','getCurrentHookState','./trackedInstance','getCurrentTestState','7|3|4|0|5|2|1|6','createdAt','22DDgnZe','../../../helpers/classLogger','setLastHookState','toLocaleString','../state/hookState','getLastTestState','setLastTestState','TrackedInstance','lastHookState','3068890zDhrFS','currentHookState'];a71_0x235b=function(){return _0x538e0e;};return a71_0x235b();}class TestFrameworkInstance extends TrackedInstance{constructor(_0x37a3fa,_0x31f649,_0x438b82,_0x826892,_0x4acc57){const _0x3cc22a=a71_0xa13e70,_0x19a42f={};_0x19a42f['RAvqx']=_0x3cc22a(0xb0);const _0x5a588b=_0x19a42f,_0x18217e=_0x5a588b['RAvqx']['split']('|');let _0x14a75d=0x0;while(!![]){switch(_0x18217e[_0x14a75d++]){case'0':this['currentTestState']=_0x826892;continue;case'1':this['lastHookState']=HookState['NONE'];continue;case'2':this[_0x3cc22a(0xbe)]=TestFrameworkState[_0x3cc22a(0xcd)];continue;case'3':this[_0x3cc22a(0xbf)]=_0x31f649;continue;case'4':this[_0x3cc22a(0xc6)]=_0x438b82;continue;case'5':this[_0x3cc22a(0xbc)]=_0x4acc57;continue;case'6':this[_0x3cc22a(0xb1)]=now[_0x3cc22a(0xb5)]();continue;case'7':super(_0x37a3fa);continue;}break;}}[a71_0xa13e70(0xaf)](){const _0x5776c3=a71_0xa13e70;return this[_0x5776c3(0xc4)];}[a71_0xa13e70(0xc7)](_0x4d9c3d){const _0x2c62f8=a71_0xa13e70;this[_0x2c62f8(0xb8)](this[_0x2c62f8(0xc4)]),this[_0x2c62f8(0xc4)]=_0x4d9c3d;}[a71_0xa13e70(0xce)](){return this['currentHookState'];}[a71_0xa13e70(0xc1)](_0x5e0cb0){const _0x4254d7=a71_0xa13e70;this[_0x4254d7(0xb4)](this[_0x4254d7(0xbc)]),this[_0x4254d7(0xbc)]=_0x5e0cb0;}[a71_0xa13e70(0xb7)](){return this['lastTestState'];}[a71_0xa13e70(0xb8)](_0x4c6586){const _0x2061d6=a71_0xa13e70;this[_0x2061d6(0xbe)]=_0x4c6586;}['getLastHookState'](){const _0xab938d=a71_0xa13e70;return this[_0xab938d(0xba)];}['setLastHookState'](_0x2ac534){const _0x491f16=a71_0xa13e70;this[_0x491f16(0xba)]=_0x2ac534;}[a71_0xa13e70(0xca)](){const _0x571840=a71_0xa13e70;return this[_0x571840(0xb1)];}}module['exports']=TestFrameworkInstance;
@@ -1 +1 @@
1
- const a72_0x26a013=a72_0x47af;(function(_0x434c9b,_0x4fc310){const _0x28a38f=a72_0x47af,_0x4000d2=_0x434c9b();while(!![]){try{const _0x33a3a3=parseInt(_0x28a38f(0x115))/0x1*(-parseInt(_0x28a38f(0x10e))/0x2)+parseInt(_0x28a38f(0x10a))/0x3*(-parseInt(_0x28a38f(0x11a))/0x4)+-parseInt(_0x28a38f(0x10b))/0x5+-parseInt(_0x28a38f(0x10c))/0x6*(parseInt(_0x28a38f(0x113))/0x7)+parseInt(_0x28a38f(0x10d))/0x8+-parseInt(_0x28a38f(0x109))/0x9+parseInt(_0x28a38f(0x118))/0xa*(parseInt(_0x28a38f(0x108))/0xb);if(_0x33a3a3===_0x4fc310)break;else _0x4000d2['push'](_0x4000d2['shift']());}catch(_0x447f68){_0x4000d2['push'](_0x4000d2['shift']());}}}(a72_0x16a1,0x8d5d1));const {createClassLogger}=require(a72_0x26a013(0x112)),logger=createClassLogger('TrackedContext');function a72_0x47af(_0x4c8c0a,_0x21a3e0){const _0x16a11b=a72_0x16a1();return a72_0x47af=function(_0x47af0f,_0x1e2b78){_0x47af0f=_0x47af0f-0x108;let _0x324a29=_0x16a11b[_0x47af0f];return _0x324a29;},a72_0x47af(_0x4c8c0a,_0x21a3e0);}class TrackedContext{constructor(_0xbb2da5,_0x1a8b81,_0x1c5b4a,_0x3909c5){const _0x4d3b27=a72_0x26a013;this['id']=_0xbb2da5,this[_0x4d3b27(0x117)]=_0x1a8b81,this[_0x4d3b27(0x119)]=_0x1c5b4a,this[_0x4d3b27(0x116)]=_0x3909c5;}[a72_0x26a013(0x10f)](){const _0x19c631=a72_0x26a013;return this[_0x19c631(0x117)];}[a72_0x26a013(0x110)](){return this['processId'];}[a72_0x26a013(0x114)](){return this['id'];}[a72_0x26a013(0x111)](){const _0x167640=a72_0x26a013;return this[_0x167640(0x116)];}}module['exports']=TrackedContext;function a72_0x16a1(){const _0x24f2c7=['1196164OAiHFz','getThreadId','getProcessId','getType','../../../helpers/classLogger','28IILpfb','getId','1zcXFLB','type','threadId','13020230CswJBt','processId','188GZEOke','11AYBTlU','157779zKrtve','1977gFAVjU','2681820UpzYQI','46956ZpwctU','3930048ETvDiH'];a72_0x16a1=function(){return _0x24f2c7;};return a72_0x16a1();}
1
+ const a72_0x5e88f7=a72_0x159e;(function(_0x1cff9c,_0x10a490){const _0x26d919=a72_0x159e,_0xc135cb=_0x1cff9c();while(!![]){try{const _0x31c82a=parseInt(_0x26d919(0x160))/0x1*(-parseInt(_0x26d919(0x166))/0x2)+-parseInt(_0x26d919(0x164))/0x3+parseInt(_0x26d919(0x15e))/0x4+-parseInt(_0x26d919(0x15a))/0x5*(parseInt(_0x26d919(0x168))/0x6)+parseInt(_0x26d919(0x162))/0x7*(-parseInt(_0x26d919(0x161))/0x8)+-parseInt(_0x26d919(0x159))/0x9+parseInt(_0x26d919(0x15f))/0xa;if(_0x31c82a===_0x10a490)break;else _0xc135cb['push'](_0xc135cb['shift']());}catch(_0x1e69e4){_0xc135cb['push'](_0xc135cb['shift']());}}}(a72_0x5f43,0xc3387));const {createClassLogger}=require(a72_0x5e88f7(0x15b)),logger=createClassLogger('TrackedContext');function a72_0x159e(_0x26979e,_0xd9db88){const _0x5f4344=a72_0x5f43();return a72_0x159e=function(_0x159ea3,_0x32ba3e){_0x159ea3=_0x159ea3-0x158;let _0x4f7dcc=_0x5f4344[_0x159ea3];return _0x4f7dcc;},a72_0x159e(_0x26979e,_0xd9db88);}class TrackedContext{constructor(_0x52153f,_0x20afe3,_0x4938ea,_0x1ad628){this['id']=_0x52153f,this['threadId']=_0x20afe3,this['processId']=_0x4938ea,this['type']=_0x1ad628;}[a72_0x5e88f7(0x158)](){const _0x359de1=a72_0x5e88f7;return this[_0x359de1(0x165)];}[a72_0x5e88f7(0x15c)](){const _0x544c38=a72_0x5e88f7;return this[_0x544c38(0x169)];}[a72_0x5e88f7(0x16a)](){return this['id'];}[a72_0x5e88f7(0x163)](){const _0x419393=a72_0x5e88f7;return this[_0x419393(0x15d)];}}function a72_0x5f43(){const _0x506826=['processId','getId','getThreadId','12445425cLYsfy','45VVdbCP','../../../helpers/classLogger','getProcessId','type','5572892oTdCDZ','43288520ZTaBBU','252EseyqN','40rZYXRE','1220177ZGMonf','getType','4443915EKBkMn','threadId','2638yhPGrp','exports','569586TQWmbt'];a72_0x5f43=function(){return _0x506826;};return a72_0x5f43();}module[a72_0x5e88f7(0x167)]=TrackedContext;
@@ -1 +1 @@
1
- const a73_0x308ee7=a73_0x2395;(function(_0x167034,_0x59c0dd){const _0x3b9040=a73_0x2395,_0x412e8b=_0x167034();while(!![]){try{const _0x5eb8f2=parseInt(_0x3b9040(0x19f))/0x1+parseInt(_0x3b9040(0x18b))/0x2*(-parseInt(_0x3b9040(0x1a0))/0x3)+parseInt(_0x3b9040(0x19b))/0x4*(parseInt(_0x3b9040(0x18e))/0x5)+parseInt(_0x3b9040(0x1a6))/0x6*(parseInt(_0x3b9040(0x189))/0x7)+parseInt(_0x3b9040(0x195))/0x8+parseInt(_0x3b9040(0x190))/0x9+-parseInt(_0x3b9040(0x1ab))/0xa;if(_0x5eb8f2===_0x59c0dd)break;else _0x412e8b['push'](_0x412e8b['shift']());}catch(_0x174b7f){_0x412e8b['push'](_0x412e8b['shift']());}}}(a73_0xd805,0x61b50));const TrackedContext=require(a73_0x308ee7(0x192)),crypto=require(a73_0x308ee7(0x188)),{threadId}=require(a73_0x308ee7(0x1a4));function a73_0x2395(_0x2f8434,_0x3f2f3e){const _0xd805b4=a73_0xd805();return a73_0x2395=function(_0x239526,_0x4bbb5e){_0x239526=_0x239526-0x188;let _0x21fb39=_0xd805b4[_0x239526];return _0x21fb39;},a73_0x2395(_0x2f8434,_0x3f2f3e);}class TrackedInstance{static [a73_0x308ee7(0x19a)]='isBrowserstackAutomationSession';constructor(_0x5f332f){const _0x1345ea=a73_0x308ee7;this[_0x1345ea(0x19d)]=_0x5f332f,this['data']=new Map();}[a73_0x308ee7(0x1a3)](){const _0x5a883a=a73_0x308ee7;return this[_0x5a883a(0x19d)][_0x5a883a(0x18c)]();}[a73_0x308ee7(0x1a1)](){const _0x57f62b=a73_0x308ee7;return this[_0x57f62b(0x19d)];}[a73_0x308ee7(0x1aa)](){const _0x22b3f1=a73_0x308ee7;return this[_0x22b3f1(0x1a2)];}[a73_0x308ee7(0x18f)](_0x31b901){const _0x4901b1=a73_0x308ee7;Object[_0x4901b1(0x18a)](_0x31b901)[_0x4901b1(0x191)](_0x3c6e3b=>{const _0x4cbd3f=_0x4901b1;this[_0x4cbd3f(0x1a2)][_0x4cbd3f(0x196)](_0x3c6e3b,_0x31b901[_0x3c6e3b]);});}[a73_0x308ee7(0x19c)](_0x3cb926){const _0x311b0c=a73_0x308ee7;Object['entries'](_0x3cb926)[_0x311b0c(0x191)](([_0x100216,_0x31943d])=>{const _0x1ccd07=_0x311b0c,_0x21bf93=this['data']['get'](_0x100216)||{},_0x56c18e={..._0x21bf93,..._0x31943d},_0x42300f=_0x56c18e;this['data'][_0x1ccd07(0x196)](_0x100216,_0x42300f);});}['getData'](_0x3cd7a2){const _0x4930d5=a73_0x308ee7;return this[_0x4930d5(0x1a2)][_0x4930d5(0x1ac)](_0x3cd7a2);}[a73_0x308ee7(0x199)](_0x483995,_0xd9ee22){const _0x54eb28=a73_0x308ee7;this['data'][_0x54eb28(0x196)](_0x483995,_0xd9ee22);}static[a73_0x308ee7(0x19e)](_0x38aecb){const _0x19c120=a73_0x308ee7,_0x35f459={};_0x35f459[_0x19c120(0x1a9)]=_0x19c120(0x1a7),_0x35f459[_0x19c120(0x1a8)]=_0x19c120(0x198),_0x35f459[_0x19c120(0x193)]=function(_0x72647,_0x2d5ad9){return _0x72647||_0x2d5ad9;};const _0x13e15a=_0x35f459;return new TrackedContext(crypto[_0x19c120(0x194)](_0x13e15a[_0x19c120(0x1a9)])[_0x19c120(0x197)](_0x38aecb)[_0x19c120(0x18d)](_0x13e15a[_0x19c120(0x1a8)]),_0x13e15a[_0x19c120(0x193)](threadId,0x0),process[_0x19c120(0x1a5)],typeof _0x38aecb);}}function a73_0xd805(){const _0x3d7c69=['crypto','4683BTKOXY','keys','43798QScqGd','getId','digest','527645eIVLCO','updateMultipleEntries','888543LiBxtT','forEach','./trackedContext','qcwqi','createHash','1516968NBzzUY','set','update','hex','updateData','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','4Hausnb','addMultipleEntries','context','createContext','530599ZPGibg','75AIKDYw','getContext','data','getRef','worker_threads','pid','6234wKPLjl','sha256','EqOIH','wHNVO','getAllData','6718840JPrLzr','get'];a73_0xd805=function(){return _0x3d7c69;};return a73_0xd805();}module['exports']=TrackedInstance;
1
+ const a73_0x33bba0=a73_0x34f8;(function(_0x3b701b,_0x5e60c5){const _0x24de82=a73_0x34f8,_0x3eda39=_0x3b701b();while(!![]){try{const _0x300bc0=parseInt(_0x24de82(0x15c))/0x1*(-parseInt(_0x24de82(0x16d))/0x2)+parseInt(_0x24de82(0x16c))/0x3+parseInt(_0x24de82(0x15d))/0x4+parseInt(_0x24de82(0x163))/0x5+parseInt(_0x24de82(0x151))/0x6+parseInt(_0x24de82(0x150))/0x7*(parseInt(_0x24de82(0x160))/0x8)+parseInt(_0x24de82(0x167))/0x9*(-parseInt(_0x24de82(0x15a))/0xa);if(_0x300bc0===_0x5e60c5)break;else _0x3eda39['push'](_0x3eda39['shift']());}catch(_0x596018){_0x3eda39['push'](_0x3eda39['shift']());}}}(a73_0x3048,0xb5820));const TrackedContext=require('./trackedContext'),crypto=require(a73_0x33bba0(0x156)),{threadId}=require(a73_0x33bba0(0x162));function a73_0x3048(){const _0x1b96c2=['739883mARzLB','1931432pCHBMo','data','createHash','2184CYxrSS','digest','worker_threads','6254605KOtboP','isBrowserstackAutomationSession','update','addMultipleEntries','45veJOaD','forEach','juyZk','updateMultipleEntries','WlGUW','189072hZXPfd','2FcUugB','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','hex','get','21133PFhofX','11454ujFWsv','keys','getId','context','getRef','crypto','paKJH','set','pid','2279120rHvcfM','getContext'];a73_0x3048=function(){return _0x1b96c2;};return a73_0x3048();}class TrackedInstance{static [a73_0x33bba0(0x16e)]=a73_0x33bba0(0x164);constructor(_0x31c1aa){const _0x43dfea=a73_0x33bba0;this[_0x43dfea(0x154)]=_0x31c1aa,this[_0x43dfea(0x15e)]=new Map();}[a73_0x33bba0(0x155)](){const _0x96abc0=a73_0x33bba0;return this[_0x96abc0(0x154)][_0x96abc0(0x153)]();}[a73_0x33bba0(0x15b)](){const _0x467b37=a73_0x33bba0;return this[_0x467b37(0x154)];}['getAllData'](){const _0xce94e=a73_0x33bba0;return this[_0xce94e(0x15e)];}[a73_0x33bba0(0x16a)](_0x1db9bb){const _0x3ace6a=a73_0x33bba0;Object[_0x3ace6a(0x152)](_0x1db9bb)[_0x3ace6a(0x168)](_0x143d05=>{const _0xf40f8d=_0x3ace6a;this[_0xf40f8d(0x15e)][_0xf40f8d(0x158)](_0x143d05,_0x1db9bb[_0x143d05]);});}[a73_0x33bba0(0x166)](_0x3a543c){const _0x555b16=a73_0x33bba0;Object['entries'](_0x3a543c)[_0x555b16(0x168)](([_0x1a1fb5,_0x5d17ed])=>{const _0x5f4b81=_0x555b16,_0x5c979b=this[_0x5f4b81(0x15e)][_0x5f4b81(0x170)](_0x1a1fb5)||{},_0x4fef6f={..._0x5c979b,..._0x5d17ed},_0x28d0f6=_0x4fef6f;this[_0x5f4b81(0x15e)][_0x5f4b81(0x158)](_0x1a1fb5,_0x28d0f6);});}['getData'](_0x477b40){const _0xc22df5=a73_0x33bba0;return this['data'][_0xc22df5(0x170)](_0x477b40);}['updateData'](_0x1fe40d,_0x31c04e){const _0x167c66=a73_0x33bba0;this[_0x167c66(0x15e)][_0x167c66(0x158)](_0x1fe40d,_0x31c04e);}static['createContext'](_0x53c9bd){const _0x7862c0=a73_0x33bba0,_0x132665={};_0x132665[_0x7862c0(0x169)]='sha256',_0x132665[_0x7862c0(0x157)]=_0x7862c0(0x16f),_0x132665[_0x7862c0(0x16b)]=function(_0x4969a2,_0x23f357){return _0x4969a2||_0x23f357;};const _0x5f0814=_0x132665;return new TrackedContext(crypto[_0x7862c0(0x15f)](_0x5f0814[_0x7862c0(0x169)])[_0x7862c0(0x165)](_0x53c9bd)[_0x7862c0(0x161)](_0x5f0814[_0x7862c0(0x157)]),_0x5f0814[_0x7862c0(0x16b)](threadId,0x0),process[_0x7862c0(0x159)],typeof _0x53c9bd);}}function a73_0x34f8(_0x5509bf,_0x32536c){const _0x304801=a73_0x3048();return a73_0x34f8=function(_0x34f8c1,_0x1f6523){_0x34f8c1=_0x34f8c1-0x150;let _0x5e71a0=_0x304801[_0x34f8c1];return _0x5e71a0;},a73_0x34f8(_0x5509bf,_0x32536c);}module['exports']=TrackedInstance;
@@ -1 +1 @@
1
- const a74_0x3f0ae6=a74_0x2cde;(function(_0x3b3612,_0x517344){const _0x102c2e=a74_0x2cde,_0x1175f2=_0x3b3612();while(!![]){try{const _0x2aaf77=parseInt(_0x102c2e(0xaf))/0x1+-parseInt(_0x102c2e(0x7c))/0x2+parseInt(_0x102c2e(0x82))/0x3+-parseInt(_0x102c2e(0xb2))/0x4*(parseInt(_0x102c2e(0xc4))/0x5)+-parseInt(_0x102c2e(0x8e))/0x6*(-parseInt(_0x102c2e(0x78))/0x7)+-parseInt(_0x102c2e(0x99))/0x8*(-parseInt(_0x102c2e(0x87))/0x9)+parseInt(_0x102c2e(0xae))/0xa*(-parseInt(_0x102c2e(0x79))/0xb);if(_0x2aaf77===_0x517344)break;else _0x1175f2['push'](_0x1175f2['shift']());}catch(_0x5b1830){_0x1175f2['push'](_0x1175f2['shift']());}}}(a74_0x1f6f,0x9829f));const BaseModule=require(a74_0x3f0ae6(0x9c)),{createClassLogger}=require(a74_0x3f0ae6(0x95)),CLIUtils=require(a74_0x3f0ae6(0x9d)),AutomationFramework=require(a74_0x3f0ae6(0x7d)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a74_0x3f0ae6(0xcf)),GrpcClient=require(a74_0x3f0ae6(0x93)),scripts=require(a74_0x3f0ae6(0xa9)),logger=createClassLogger(a74_0x3f0ae6(0xab)),PerformanceTester=require(a74_0x3f0ae6(0xc3)),{EVENTS}=require(a74_0x3f0ae6(0x9a));function a74_0x2cde(_0x39e9f1,_0x5af9c2){const _0x1f6f77=a74_0x1f6f();return a74_0x2cde=function(_0x2cdedb,_0x182ef0){_0x2cdedb=_0x2cdedb-0x78;let _0x132393=_0x1f6f77[_0x2cdedb];return _0x132393;},a74_0x2cde(_0x39e9f1,_0x5af9c2);}class AccessibilityModule extends BaseModule{static [a74_0x3f0ae6(0xc1)]=AccessibilityModule[a74_0x3f0ae6(0x7a)];constructor(_0x1de139){const _0x27e899=a74_0x3f0ae6,_0x2872a9={};_0x2872a9[_0x27e899(0xa0)]=_0x27e899(0xaa);const _0x273c49=_0x2872a9,_0x53aff2=_0x273c49[_0x27e899(0xa0)][_0x27e899(0x90)]('|');let _0x344336=0x0;while(!![]){switch(_0x53aff2[_0x344336++]){case'0':this[_0x27e899(0xd2)](_0x1de139['getOptions']()[_0x27e899(0xa2)]());continue;case'1':super();continue;case'2':this[_0x27e899(0xd0)]=_0x1de139['toObject']();continue;case'3':this['isEnabled']=!![];continue;case'4':this[_0x27e899(0x83)]=[];continue;case'5':this[_0x27e899(0xb4)]=![];continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState['EXECUTE'],HookState[_0x27e899(0xd1)],this['onBeforeExecute'][_0x27e899(0x86)](this));continue;case'7':AutomationFramework[_0x27e899(0x91)](AutomationFrameworkState[_0x27e899(0xc7)],HookState['PRE'],this[_0x27e899(0xb7)][_0x27e899(0x86)](this));continue;case'8':AutomationFramework[_0x27e899(0x91)](AutomationFrameworkState[_0x27e899(0x8b)],HookState[_0x27e899(0xd1)],this[_0x27e899(0xa5)][_0x27e899(0x86)](this));continue;case'9':this[_0x27e899(0x7b)]=new Map();continue;case'10':this[_0x27e899(0xc2)]=new Map();continue;}break;}}[a74_0x3f0ae6(0x84)](){const _0x5bf84b=a74_0x3f0ae6;return this[_0x5bf84b(0x84)];}[a74_0x3f0ae6(0x8f)](){const _0x44883d=a74_0x3f0ae6;return AccessibilityModule[_0x44883d(0xc1)];}[a74_0x3f0ae6(0xbc)](){const _0x48d908=a74_0x3f0ae6;return this['accessibility'][_0x48d908(0xb0)](CLIUtils[_0x48d908(0xa4)](),![]);}[a74_0x3f0ae6(0xac)](){const _0x3864d0=a74_0x3f0ae6;return this[_0x3864d0(0x7b)][_0x3864d0(0xb0)](CLIUtils[_0x3864d0(0xa4)](),![]);}[a74_0x3f0ae6(0xa1)](_0x1b8f14){const _0x2f9146=a74_0x3f0ae6;this['LOG_DISABLED_SHOWN'][_0x2f9146(0xc9)](CLIUtils[_0x2f9146(0xa4)](),_0x1b8f14);}async[a74_0x3f0ae6(0xa5)](_0x170040){const _0x4b1845=a74_0x3f0ae6;try{PerformanceTester[_0x4b1845(0xa8)](EVENTS[_0x4b1845(0x8c)]);const _0x4aa14c=await GrpcClient[_0x4b1845(0xbd)]()[_0x4b1845(0xd3)](_0x170040);_0x4aa14c&&_0x4aa14c[_0x4b1845(0xcd)]()&&_0x4aa14c[_0x4b1845(0xcd)]()[_0x4b1845(0xcb)]()&&(global[_0x4b1845(0xa6)]=!![],process[_0x4b1845(0xca)][_0x4b1845(0x88)]=!![],this[_0x4b1845(0x7e)](_0x4aa14c,_0x170040)),PerformanceTester[_0x4b1845(0xb5)](EVENTS[_0x4b1845(0x8c)]);}catch(_0x537f5d){PerformanceTester[_0x4b1845(0xb5)](EVENTS[_0x4b1845(0x8c)],![],_0x537f5d[_0x4b1845(0x92)]),logger[_0x4b1845(0x89)]('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x537f5d[_0x4b1845(0x8a)]||_0x537f5d[_0x4b1845(0x92)]));}}[a74_0x3f0ae6(0xc5)](){const _0xc135d3=a74_0x3f0ae6;return this[_0xc135d3(0x83)][_0xc135d3(0x97)](_0x59b061=>_0x59b061[_0xc135d3(0x81)]()===_0xc135d3(0x9b))?.[_0xc135d3(0x9f)]()||'';}async[a74_0x3f0ae6(0x7e)](_0x4b8ee6,_0x539ef6){const _0x27f83c=a74_0x3f0ae6,_0x3c524b=_0x4b8ee6[_0x27f83c(0xcd)]()[_0x27f83c(0xb8)](),_0xdaf01c=_0x3c524b[_0x27f83c(0x98)](),_0x449ef4=_0x3c524b[_0x27f83c(0x9e)]()?.[_0x27f83c(0xd4)]();scripts[_0x27f83c(0xb9)](_0xdaf01c,_0x449ef4),scripts['toJson']();const _0x39ca98=_0x3c524b[_0x27f83c(0xa2)]();this['capabilities']=_0x3c524b[_0x27f83c(0xa2)](),await this[_0x27f83c(0xd2)](_0x39ca98,_0x539ef6[_0x27f83c(0xce)]);}async[a74_0x3f0ae6(0xd2)](_0x113b73,_0x37fe79={}){const _0x149f41=a74_0x3f0ae6,_0x1e9311={};_0x1e9311['PqSUN']=function(_0x81a0e1,_0x18ffed){return _0x81a0e1===_0x18ffed;},_0x1e9311[_0x149f41(0xbf)]=_0x149f41(0xd6),_0x1e9311[_0x149f41(0xb3)]=_0x149f41(0xbb),_0x1e9311[_0x149f41(0xd5)]=function(_0x3bc9ba,_0x5490c2){return _0x3bc9ba===_0x5490c2;},_0x1e9311['uxkCz']=_0x149f41(0xad),_0x1e9311['BlVaj']=_0x149f41(0x96),_0x1e9311[_0x149f41(0xb1)]=_0x149f41(0xb6),_0x1e9311[_0x149f41(0xc8)]=_0x149f41(0xba),_0x1e9311[_0x149f41(0xc6)]=function(_0x4e463d,_0x1571b3){return _0x4e463d===_0x1571b3;},_0x1e9311['DASVn']='scannerProcessingTimeout',_0x1e9311[_0x149f41(0xcc)]=_0x149f41(0x85);const _0x9a317a=_0x1e9311;for(const _0x2a669a of _0x113b73){logger[_0x149f41(0xbe)]('name:\x20'+_0x2a669a[_0x149f41(0x81)]()+'\x20value='+_0x2a669a['getValue']());if(_0x9a317a['PqSUN'](_0x2a669a[_0x149f41(0x81)](),_0x9a317a[_0x149f41(0xbf)]))process[_0x149f41(0xca)][_0x149f41(0x94)]=_0x2a669a['getValue'](),_0x37fe79[_0x9a317a['tKACi']]=_0x2a669a['getValue']();else{if(_0x9a317a['sXfwU'](_0x2a669a[_0x149f41(0x81)](),_0x9a317a[_0x149f41(0x80)]))_0x37fe79[_0x9a317a[_0x149f41(0xc0)]]=_0x2a669a[_0x149f41(0x9f)]();else{if(_0x9a317a[_0x149f41(0x8d)](_0x2a669a[_0x149f41(0x81)](),_0x9a317a['zjJDG']))_0x37fe79[_0x9a317a[_0x149f41(0xc8)]]=_0x2a669a['getValue']();else _0x9a317a[_0x149f41(0xc6)](_0x2a669a[_0x149f41(0x81)](),_0x9a317a['DASVn'])&&(_0x37fe79[_0x9a317a[_0x149f41(0xcc)]]=_0x2a669a[_0x149f41(0x9f)]());}}}}[a74_0x3f0ae6(0xb7)](_0x31f1e6){const _0x1547c3=a74_0x3f0ae6;logger[_0x1547c3(0xbe)](_0x1547c3(0x7f)+_0x31f1e6);}[a74_0x3f0ae6(0xa3)](_0x3261be){const _0x454fe7=a74_0x3f0ae6;logger[_0x454fe7(0xbe)]('onBeforeExecute:\x20event='+_0x3261be);}};function a74_0x1f6f(){const _0xdc65d7=['bind','36BNyMkd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','error','stack','CREATE','SDK_ACCESSIBILITY_CONFIG','PqSUN','324684VrJIzD','getModuleName','split','registerObserver','message','../grpcClient','BS_A11Y_JWT','../../../helpers/classLogger','browserstack.accessibilityOptions.wcagVersion','find','getScriptsList','424392XTzNAR','../../../helpers/performance/constants.js','goog:chromeOptions','./baseModule','../cliUtils','getCommandsToWrap','getValue','wJoxz','setLogDisabledShown','getCapabilitiesList','onBeforeExecute','getCurrentInstanceName','onBeforeTest','accessibilityPlatform','exports','start','../../../helpers/accessibility-automation/scripts','1|6|8|7|3|2|10|9|5|4|0','TrackedInstance','getLogDisabledShown','wcagVersion','42970pMTxsX','177795aMhqbO','get','zjJDG','1172AhQwsU','tKACi','isAppAccessibility','end','scannerVersion','onAfterTest','getOptions','parseFromProto','browserstack.accessibilityOptions.scannerVersion','browserstack.accessibilityOptions.authToken','getCurrentAccessibilityStatus','getInstance','info','FkWNp','BlVaj','MODULE_NAME','accessibility','../../../helpers/performance/performance-tester.js','4665FMIqtr','getGoogleChromeOptions','CJGNz','QUIT','GRCaQ','put','env','getSuccess','QxkaN','getAccessibility','launchCaps','../state/hookState','accessibilityConfig','PRE','setAccessibilityToken','getAccessibilityConfig','getCommandsList','sXfwU','accessibilityToken','105VdVVui','1045HwbYvB','name','LOG_DISABLED_SHOWN','830750qDWHdT','../framework/automationFramework','setAccessibilityConfig','onAfterTest:\x20event=','uxkCz','getName','1555563XbOcmp','capabilities','isEnabled','browserstack.accessibilityOptions.scannerProcessingTimeout'];a74_0x1f6f=function(){return _0xdc65d7;};return a74_0x1f6f();}module[a74_0x3f0ae6(0xa7)]=AccessibilityModule;
1
+ const a74_0x11493f=a74_0x46f9;(function(_0x2f5085,_0x42ec21){const _0x25ea82=a74_0x46f9,_0xae254b=_0x2f5085();while(!![]){try{const _0x5a1e07=parseInt(_0x25ea82(0x217))/0x1*(-parseInt(_0x25ea82(0x238))/0x2)+parseInt(_0x25ea82(0x21c))/0x3+-parseInt(_0x25ea82(0x236))/0x4+-parseInt(_0x25ea82(0x233))/0x5*(-parseInt(_0x25ea82(0x20a))/0x6)+parseInt(_0x25ea82(0x207))/0x7*(-parseInt(_0x25ea82(0x215))/0x8)+parseInt(_0x25ea82(0x231))/0x9*(parseInt(_0x25ea82(0x1eb))/0xa)+parseInt(_0x25ea82(0x1ef))/0xb;if(_0x5a1e07===_0x42ec21)break;else _0xae254b['push'](_0xae254b['shift']());}catch(_0x5a9f7c){_0xae254b['push'](_0xae254b['shift']());}}}(a74_0x57f7,0xd6872));const BaseModule=require(a74_0x11493f(0x232)),{createClassLogger}=require(a74_0x11493f(0x204)),CLIUtils=require(a74_0x11493f(0x211)),AutomationFramework=require(a74_0x11493f(0x1f7)),AutomationFrameworkState=require(a74_0x11493f(0x23b)),HookState=require(a74_0x11493f(0x224)),GrpcClient=require('../grpcClient'),scripts=require(a74_0x11493f(0x235)),logger=createClassLogger(a74_0x11493f(0x21b)),PerformanceTester=require(a74_0x11493f(0x230)),{EVENTS}=require(a74_0x11493f(0x218));class AccessibilityModule extends BaseModule{static [a74_0x11493f(0x223)]=AccessibilityModule[a74_0x11493f(0x1fe)];constructor(_0x67a8ef){const _0x5780fa=a74_0x11493f,_0xb5072={};_0xb5072[_0x5780fa(0x21e)]='9|1|4|2|5|6|7|10|3|0|8';const _0x1e205a=_0xb5072,_0x4e81db=_0x1e205a[_0x5780fa(0x21e)]['split']('|');let _0x5e2701=0x0;while(!![]){switch(_0x4e81db[_0x5e2701++]){case'0':this[_0x5780fa(0x1f0)]=[];continue;case'1':AutomationFramework[_0x5780fa(0x209)](AutomationFrameworkState['EXECUTE'],HookState[_0x5780fa(0x1fb)],this[_0x5780fa(0x1ff)]['bind'](this));continue;case'2':AutomationFramework[_0x5780fa(0x209)](AutomationFrameworkState['QUIT'],HookState['PRE'],this['onAfterTest']['bind'](this));continue;case'3':this[_0x5780fa(0x228)]=![];continue;case'4':AutomationFramework[_0x5780fa(0x209)](AutomationFrameworkState['CREATE'],HookState[_0x5780fa(0x1fb)],this[_0x5780fa(0x1fa)]['bind'](this));continue;case'5':this['isEnabled']=!![];continue;case'6':this[_0x5780fa(0x1f3)]=_0x67a8ef[_0x5780fa(0x216)]();continue;case'7':this[_0x5780fa(0x20e)]=new Map();continue;case'8':this[_0x5780fa(0x221)](_0x67a8ef['getOptions']()[_0x5780fa(0x21d)]());continue;case'9':super();continue;case'10':this[_0x5780fa(0x1fd)]=new Map();continue;}break;}}[a74_0x11493f(0x23a)](){const _0x454071=a74_0x11493f;return this[_0x454071(0x23a)];}['getModuleName'](){const _0x3e6252=a74_0x11493f;return AccessibilityModule[_0x3e6252(0x223)];}['getCurrentAccessibilityStatus'](){const _0x35810c=a74_0x11493f;return this[_0x35810c(0x20e)][_0x35810c(0x20b)](CLIUtils[_0x35810c(0x22b)](),![]);}[a74_0x11493f(0x22d)](){const _0x593d31=a74_0x11493f;return this[_0x593d31(0x1fd)][_0x593d31(0x20b)](CLIUtils[_0x593d31(0x22b)](),![]);}[a74_0x11493f(0x20c)](_0x4a40e2){const _0x45264c=a74_0x11493f;this[_0x45264c(0x1fd)][_0x45264c(0x203)](CLIUtils[_0x45264c(0x22b)](),_0x4a40e2);}async[a74_0x11493f(0x1fa)](_0x20fda8){const _0x2a2c3b=a74_0x11493f;try{PerformanceTester['start'](EVENTS[_0x2a2c3b(0x210)]);const _0x439ced=await GrpcClient[_0x2a2c3b(0x213)]()[_0x2a2c3b(0x1ea)](_0x20fda8);_0x439ced&&_0x439ced[_0x2a2c3b(0x226)]()&&_0x439ced[_0x2a2c3b(0x226)]()[_0x2a2c3b(0x202)]()&&(global[_0x2a2c3b(0x229)]=!![],process[_0x2a2c3b(0x212)][_0x2a2c3b(0x1fc)]=!![],this[_0x2a2c3b(0x200)](_0x439ced,_0x20fda8)),PerformanceTester[_0x2a2c3b(0x1f1)](EVENTS[_0x2a2c3b(0x210)]);}catch(_0x2e6888){PerformanceTester[_0x2a2c3b(0x1f1)](EVENTS[_0x2a2c3b(0x210)],![],_0x2e6888[_0x2a2c3b(0x1f6)]),logger['error'](_0x2a2c3b(0x20d)+(_0x2e6888[_0x2a2c3b(0x237)]||_0x2e6888[_0x2a2c3b(0x1f6)]));}}[a74_0x11493f(0x201)](){const _0x1d2f6c=a74_0x11493f;return this[_0x1d2f6c(0x1f0)][_0x1d2f6c(0x21f)](_0xdba190=>_0xdba190[_0x1d2f6c(0x234)]()==='goog:chromeOptions')?.[_0x1d2f6c(0x222)]()||'';}async['setAccessibilityConfig'](_0x392ebd,_0x1c7e39){const _0x126ef2=a74_0x11493f,_0x4448b5=_0x392ebd[_0x126ef2(0x226)]()[_0x126ef2(0x1ec)](),_0x5c8ec5=_0x4448b5[_0x126ef2(0x22c)](),_0x82f5a4=_0x4448b5['getCommandsToWrap']()?.[_0x126ef2(0x206)]();scripts[_0x126ef2(0x20f)](_0x5c8ec5,_0x82f5a4),scripts[_0x126ef2(0x214)]();const _0x480731=_0x4448b5[_0x126ef2(0x21d)]();this[_0x126ef2(0x1f0)]=_0x4448b5[_0x126ef2(0x21d)](),await this[_0x126ef2(0x221)](_0x480731,_0x1c7e39[_0x126ef2(0x205)]);}async[a74_0x11493f(0x221)](_0x261ca0,_0x5c39d2={}){const _0x100a92=a74_0x11493f,_0x10eaac={};_0x10eaac['hdYFV']=function(_0x125166,_0x5c55ed){return _0x125166===_0x5c55ed;},_0x10eaac[_0x100a92(0x208)]=_0x100a92(0x1f9),_0x10eaac[_0x100a92(0x225)]=_0x100a92(0x1f4),_0x10eaac[_0x100a92(0x1ee)]='wcagVersion',_0x10eaac['PHwyl']=_0x100a92(0x239),_0x10eaac[_0x100a92(0x220)]=_0x100a92(0x1f5),_0x10eaac[_0x100a92(0x22e)]='browserstack.accessibilityOptions.scannerVersion',_0x10eaac[_0x100a92(0x1f2)]='scannerProcessingTimeout',_0x10eaac[_0x100a92(0x21a)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x1bd800=_0x10eaac;for(const _0x2d1da1 of _0x261ca0){logger['info'](_0x100a92(0x1f8)+_0x2d1da1[_0x100a92(0x234)]()+_0x100a92(0x227)+_0x2d1da1[_0x100a92(0x222)]());if(_0x1bd800[_0x100a92(0x22a)](_0x2d1da1['getName'](),_0x1bd800[_0x100a92(0x208)]))process['env']['BS_A11Y_JWT']=_0x2d1da1[_0x100a92(0x222)](),_0x5c39d2[_0x1bd800[_0x100a92(0x225)]]=_0x2d1da1[_0x100a92(0x222)]();else{if(_0x1bd800[_0x100a92(0x22a)](_0x2d1da1[_0x100a92(0x234)](),_0x1bd800[_0x100a92(0x1ee)]))_0x5c39d2[_0x1bd800['PHwyl']]=_0x2d1da1[_0x100a92(0x222)]();else{if(_0x1bd800[_0x100a92(0x22a)](_0x2d1da1['getName'](),_0x1bd800[_0x100a92(0x220)]))_0x5c39d2[_0x1bd800[_0x100a92(0x22e)]]=_0x2d1da1[_0x100a92(0x222)]();else _0x1bd800['hdYFV'](_0x2d1da1[_0x100a92(0x234)](),_0x1bd800[_0x100a92(0x1f2)])&&(_0x5c39d2[_0x1bd800[_0x100a92(0x21a)]]=_0x2d1da1[_0x100a92(0x222)]());}}}}[a74_0x11493f(0x219)](_0xe10f92){const _0x1b53e8=a74_0x11493f;logger[_0x1b53e8(0x1ed)]('onAfterTest:\x20event='+_0xe10f92);}[a74_0x11493f(0x1ff)](_0x524b44){const _0x23ac9a=a74_0x11493f;logger[_0x23ac9a(0x1ed)]('onBeforeExecute:\x20event='+_0x524b44);}};function a74_0x46f9(_0x26c5ae,_0x6fe2f1){const _0x57f7e0=a74_0x57f7();return a74_0x46f9=function(_0x46f93e,_0x1c834e){_0x46f93e=_0x46f93e-0x1ea;let _0x34627c=_0x57f7e0[_0x46f93e];return _0x34627c;},a74_0x46f9(_0x26c5ae,_0x6fe2f1);}function a74_0x57f7(){const _0x153a8a=['48aFFIZX','toObject','840387gpIuff','../../../helpers/performance/constants.js','onAfterTest','dIQdJ','TrackedInstance','408303BDhnVc','getCapabilitiesList','Bsubh','find','UhrbB','setAccessibilityToken','getValue','MODULE_NAME','../state/hookState','plqsn','getAccessibility','\x20value=','isAppAccessibility','accessibilityPlatform','hdYFV','getCurrentInstanceName','getScriptsList','getLogDisabledShown','oDKQY','exports','../../../helpers/performance/performance-tester.js','9ytPwbQ','./baseModule','10880nhTOUc','getName','../../../helpers/accessibility-automation/scripts','5099648pjccxI','stack','2rDdNJD','browserstack.accessibilityOptions.wcagVersion','isEnabled','../state/automationFrameworkState','getAccessibilityConfig','580490wPMANn','getOptions','info','EnymT','30619963OYdjqA','capabilities','end','FCyOB','accessibilityConfig','browserstack.accessibilityOptions.authToken','scannerVersion','message','../framework/automationFramework','name:\x20','accessibilityToken','onBeforeTest','PRE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','LOG_DISABLED_SHOWN','name','onBeforeExecute','setAccessibilityConfig','getGoogleChromeOptions','getSuccess','put','../../../helpers/classLogger','launchCaps','getCommandsList','440573bgUztz','lQCLS','registerObserver','1086flSLQD','get','setLogDisabledShown','Error\x20while\x20setting\x20accessibility\x20config:\x20','accessibility','parseFromProto','SDK_ACCESSIBILITY_CONFIG','../cliUtils','env','getInstance','toJson'];a74_0x57f7=function(){return _0x153a8a;};return a74_0x57f7();}module[a74_0x11493f(0x22f)]=AccessibilityModule;
@@ -1 +1 @@
1
- const a75_0x49a0f0=a75_0x2842;function a75_0x2842(_0x5572b5,_0x3b7449){const _0x4db88e=a75_0x4db8();return a75_0x2842=function(_0x2842fb,_0x5bbb62){_0x2842fb=_0x2842fb-0x102;let _0xc2b39f=_0x4db88e[_0x2842fb];return _0xc2b39f;},a75_0x2842(_0x5572b5,_0x3b7449);}(function(_0x1daa78,_0x23ca3d){const _0x3ae502=a75_0x2842,_0x199362=_0x1daa78();while(!![]){try{const _0x3938ef=parseInt(_0x3ae502(0x108))/0x1+parseInt(_0x3ae502(0x11d))/0x2*(parseInt(_0x3ae502(0x10b))/0x3)+-parseInt(_0x3ae502(0x119))/0x4*(-parseInt(_0x3ae502(0x111))/0x5)+-parseInt(_0x3ae502(0x115))/0x6*(parseInt(_0x3ae502(0x118))/0x7)+parseInt(_0x3ae502(0x10f))/0x8+-parseInt(_0x3ae502(0x11a))/0x9+-parseInt(_0x3ae502(0x109))/0xa;if(_0x3938ef===_0x23ca3d)break;else _0x199362['push'](_0x199362['shift']());}catch(_0x1aaeca){_0x199362['push'](_0x199362['shift']());}}}(a75_0x4db8,0x3d72a));const logger=require(a75_0x49a0f0(0x11b))['winstonLogger'];class BaseModule{constructor(){const _0x17f655=a75_0x49a0f0,_0x18aff0={};_0x18aff0['Fpggj']=_0x17f655(0x113),_0x18aff0[_0x17f655(0x102)]='BaseModule';const _0x3bfe02=_0x18aff0,_0x1630ca=_0x3bfe02[_0x17f655(0x112)][_0x17f655(0x11c)]('|');let _0x5b0a6f=0x0;while(!![]){switch(_0x1630ca[_0x5b0a6f++]){case'0':this[_0x17f655(0x11e)]=0x0;continue;case'1':this[_0x17f655(0x10e)]=null;continue;case'2':this[_0x17f655(0x114)]={};continue;case'3':this[_0x17f655(0x107)]=null;continue;case'4':this['name']=_0x3bfe02[_0x17f655(0x102)];continue;}break;}}[a75_0x49a0f0(0x10d)](){const _0x200456=a75_0x49a0f0,_0x54ada2={};_0x54ada2[_0x200456(0x116)]='Missing\x20binSessionId';const _0x9ee1f=_0x54ada2;if(!this['binSessionId'])throw new Error(_0x9ee1f['atOiY']);}['getModuleName'](){return this['name'];}[a75_0x49a0f0(0x106)](_0x592a31,_0x4f5254,_0x5be718,_0x146419={}){const _0x120b50=a75_0x49a0f0,_0x5f50ef={};_0x5f50ef[_0x120b50(0x104)]=_0x120b50(0x110);const _0x1b80ce=_0x5f50ef,_0x4b91c3=_0x1b80ce['Vnwrx'][_0x120b50(0x11c)]('|');let _0x376611=0x0;while(!![]){switch(_0x4b91c3[_0x376611++]){case'0':this[_0x120b50(0x10e)]=_0x5be718;continue;case'1':logger[_0x120b50(0x105)](_0x120b50(0x103)+this['getModuleName']()+_0x120b50(0x117)+_0x592a31+_0x120b50(0x10a)+_0x4f5254);continue;case'2':this['binSessionId']=_0x592a31;continue;case'3':this['config']=_0x146419;continue;case'4':this['platformIndex']=_0x4f5254;continue;}break;}}}function a75_0x4db8(){const _0x4c56ec=['configure','binSessionId','23056XQKwnO','5566200MijGeb',',\x20platformIndex=','18282RlEyJI','exports','ensureBinSession','client','3609376TLFCYy','2|4|0|3|1','174710DjxoVg','Fpggj','4|3|0|2|1','config','78cpwrEC','atOiY','\x20with\x20binSessionId=','71967zmoALV','56FNWdBT','2167533KunBSa','../../../helpers/logger.js','split','72hIFMOw','platformIndex','qwJkS','Configured\x20module\x20','Vnwrx','debug'];a75_0x4db8=function(){return _0x4c56ec;};return a75_0x4db8();}module[a75_0x49a0f0(0x10c)]=BaseModule;
1
+ function a75_0x1b23(){const _0x37da72=['BaseModule','54kdXtDb','810yZRSXb','wTFkZ','qGjpp','\x20with\x20binSessionId=','5053517fUgKuJ','WMTMe','debug','Configured\x20module\x20','exports','configure','getModuleName','winstonLogger','../../../helpers/logger.js','2397feKReq','client','NUmsh','binSessionId','25044igPYYl','ensureBinSession','split','1265997WSzZrb','config','14159364ClOJWD','9051955cJgpSX','name','platformIndex','10zJtcjz','Missing\x20binSessionId','44UrnnQZ','632344RpCyli','4SotppB'];a75_0x1b23=function(){return _0x37da72;};return a75_0x1b23();}const a75_0x539218=a75_0x5e18;(function(_0x4f16d2,_0x30bb67){const _0x53e002=a75_0x5e18,_0x4b6b3e=_0x4f16d2();while(!![]){try{const _0x29f5b4=-parseInt(_0x53e002(0x9f))/0x1*(-parseInt(_0x53e002(0x8d))/0x2)+-parseInt(_0x53e002(0xa6))/0x3*(parseInt(_0x53e002(0x8f))/0x4)+-parseInt(_0x53e002(0x92))/0x5*(parseInt(_0x53e002(0xa3))/0x6)+parseInt(_0x53e002(0x96))/0x7+-parseInt(_0x53e002(0x8e))/0x8*(-parseInt(_0x53e002(0x91))/0x9)+-parseInt(_0x53e002(0x8b))/0xa*(parseInt(_0x53e002(0x88))/0xb)+parseInt(_0x53e002(0xa8))/0xc;if(_0x29f5b4===_0x30bb67)break;else _0x4b6b3e['push'](_0x4b6b3e['shift']());}catch(_0x49c9fb){_0x4b6b3e['push'](_0x4b6b3e['shift']());}}}(a75_0x1b23,0x7bf82));const logger=require(a75_0x539218(0x9e))[a75_0x539218(0x9d)];class BaseModule{constructor(){const _0x4cb196=a75_0x539218,_0x36b41e={};_0x36b41e['NUmsh']='0|1|3|2|4',_0x36b41e[_0x4cb196(0x94)]=_0x4cb196(0x90);const _0x42c5b1=_0x36b41e,_0x296e79=_0x42c5b1[_0x4cb196(0xa1)][_0x4cb196(0xa5)]('|');let _0x322c88=0x0;while(!![]){switch(_0x296e79[_0x322c88++]){case'0':this['name']=_0x42c5b1[_0x4cb196(0x94)];continue;case'1':this[_0x4cb196(0xa2)]=null;continue;case'2':this['config']={};continue;case'3':this[_0x4cb196(0x8a)]=0x0;continue;case'4':this[_0x4cb196(0xa0)]=null;continue;}break;}}[a75_0x539218(0xa4)](){const _0x22881b=a75_0x539218,_0x240048={};_0x240048[_0x22881b(0x93)]=_0x22881b(0x8c);const _0x1d3140=_0x240048;if(!this[_0x22881b(0xa2)])throw new Error(_0x1d3140[_0x22881b(0x93)]);}[a75_0x539218(0x9c)](){const _0x3be4f1=a75_0x539218;return this[_0x3be4f1(0x89)];}[a75_0x539218(0x9b)](_0x4f8b53,_0x864fb5,_0x27b61f,_0x45771a={}){const _0xaa679c=a75_0x539218,_0x5aaa2c={};_0x5aaa2c[_0xaa679c(0x97)]='1|2|0|4|3';const _0x26df72=_0x5aaa2c,_0x27805d=_0x26df72[_0xaa679c(0x97)][_0xaa679c(0xa5)]('|');let _0x2c2b5d=0x0;while(!![]){switch(_0x27805d[_0x2c2b5d++]){case'0':this['client']=_0x27b61f;continue;case'1':this['binSessionId']=_0x4f8b53;continue;case'2':this[_0xaa679c(0x8a)]=_0x864fb5;continue;case'3':logger[_0xaa679c(0x98)](_0xaa679c(0x99)+this['getModuleName']()+_0xaa679c(0x95)+_0x4f8b53+',\x20platformIndex='+_0x864fb5);continue;case'4':this[_0xaa679c(0xa7)]=_0x45771a;continue;}break;}}}function a75_0x5e18(_0x1ba570,_0x4cc9da){const _0x1b23e9=a75_0x1b23();return a75_0x5e18=function(_0x5e18e9,_0x3b45d0){_0x5e18e9=_0x5e18e9-0x88;let _0x2b1346=_0x1b23e9[_0x5e18e9];return _0x2b1346;},a75_0x5e18(_0x1ba570,_0x4cc9da);}module[a75_0x539218(0x9a)]=BaseModule;