browserstack-node-sdk 1.36.6 → 1.36.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 (166) 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/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/v2/TestInfo.js +1 -1
  95. package/src/bin/v2/browserstackCLI.js +1 -1
  96. package/src/bin/v2/cliUtils.js +1 -1
  97. package/src/bin/v2/customTagManager.js +1 -1
  98. package/src/bin/v2/eventDispatcher.js +1 -1
  99. package/src/bin/v2/framework/automationFramework.js +1 -1
  100. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  101. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  102. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  103. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  104. package/src/bin/v2/framework/testFramework.js +1 -1
  105. package/src/bin/v2/grpcClient.js +1 -1
  106. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  107. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  108. package/src/bin/v2/instances/trackedContext.js +1 -1
  109. package/src/bin/v2/instances/trackedInstance.js +1 -1
  110. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  111. package/src/bin/v2/modules/baseModule.js +1 -1
  112. package/src/bin/v2/modules/observabilityModule.js +1 -1
  113. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  114. package/src/bin/v2/modules/testhubModule.js +1 -1
  115. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  116. package/src/bin/v2/state/hookState.js +1 -1
  117. package/src/bin/v2/state/testFrameworkState.js +1 -1
  118. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  119. package/src/bin/vanilla-js/command.js +1 -1
  120. package/src/browserStackSdk.js +1 -1
  121. package/src/helpers/BrowserStackSetup.js +1 -1
  122. package/src/helpers/accessibility-automation/constants.js +1 -1
  123. package/src/helpers/accessibility-automation/helper.js +1 -1
  124. package/src/helpers/accessibility-automation/scripts.js +1 -1
  125. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  126. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  127. package/src/helpers/ats/constants.js +1 -1
  128. package/src/helpers/ats/helper.js +1 -1
  129. package/src/helpers/capsMapping.js +1 -1
  130. package/src/helpers/central-scanner/constants.js +1 -1
  131. package/src/helpers/central-scanner/helpers.js +1 -1
  132. package/src/helpers/classLogger.js +1 -1
  133. package/src/helpers/globals.js +1 -1
  134. package/src/helpers/helper.js +1 -1
  135. package/src/helpers/logger.js +1 -1
  136. package/src/helpers/metadata.js +1 -1
  137. package/src/helpers/patchHelper.js +1 -1
  138. package/src/helpers/patchHelpers.js +1 -1
  139. package/src/helpers/percy/Percy.js +1 -1
  140. package/src/helpers/percy/PercyBinary.js +1 -1
  141. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  142. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  143. package/src/helpers/percy/PercySDK.js +1 -1
  144. package/src/helpers/percy/index.js +1 -1
  145. package/src/helpers/percy/utils.js +1 -1
  146. package/src/helpers/performance/constants.js +1 -1
  147. package/src/helpers/performance/performance-tester.js +1 -1
  148. package/src/helpers/processHelper.js +1 -1
  149. package/src/helpers/request-spy.js +1 -1
  150. package/src/helpers/setKeepAlive.js +1 -1
  151. package/src/helpers/test-observability/constants.js +1 -1
  152. package/src/helpers/test-observability/error-handler.js +1 -1
  153. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  154. package/src/helpers/test-observability/sessionHandler.js +1 -1
  155. package/src/helpers/test-observability/utils.js +1 -1
  156. package/src/helpers/test-orchestration/fail-fast/fileHelper.js +1 -1
  157. package/src/helpers/test-orchestration/fail-fast/jest.js +1 -1
  158. package/src/helpers/test-orchestration/fail-fast/requestUtils.js +1 -1
  159. package/src/helpers/testhub/constants.js +1 -1
  160. package/src/helpers/testhub/testhubHandler.js +1 -1
  161. package/src/helpers/testhub/utils.js +1 -1
  162. package/src/helpers/timeoutPromise.js +1 -1
  163. package/src/helpers/utilities.js +1 -1
  164. package/src/helpers/w3cMapping.js +1 -1
  165. package/src/hubAllocationMethods.js +1 -1
  166. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a62_0x4443(_0x242396,_0x44310f){const _0x49b8bf=a62_0x49b8();return a62_0x4443=function(_0x4443bf,_0x158784){_0x4443bf=_0x4443bf-0x66;let _0x19faa8=_0x49b8bf[_0x4443bf];return _0x19faa8;},a62_0x4443(_0x242396,_0x44310f);}const a62_0x3153fc=a62_0x4443;(function(_0x1a7da9,_0x51d0ce){const _0x56009e=a62_0x4443,_0x4fdf10=_0x1a7da9();while(!![]){try{const _0x39e9b3=-parseInt(_0x56009e(0x116))/0x1*(parseInt(_0x56009e(0x72))/0x2)+-parseInt(_0x56009e(0xf7))/0x3*(-parseInt(_0x56009e(0xb7))/0x4)+-parseInt(_0x56009e(0x96))/0x5*(-parseInt(_0x56009e(0x99))/0x6)+parseInt(_0x56009e(0x82))/0x7*(-parseInt(_0x56009e(0xac))/0x8)+parseInt(_0x56009e(0xde))/0x9*(parseInt(_0x56009e(0x101))/0xa)+parseInt(_0x56009e(0xe0))/0xb*(-parseInt(_0x56009e(0x6d))/0xc)+parseInt(_0x56009e(0x91))/0xd;if(_0x39e9b3===_0x51d0ce)break;else _0x4fdf10['push'](_0x4fdf10['shift']());}catch(_0x1fe3c7){_0x4fdf10['push'](_0x4fdf10['shift']());}}}(a62_0x49b8,0x6f637));const TestFramework=require(a62_0x3153fc(0xd9)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a62_0x3153fc(0xb9)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a62_0x3153fc(0x119)),logger=createClassLogger(a62_0x3153fc(0xd1)),{v4:uuidv4}=require(a62_0x3153fc(0x114)),util=require(a62_0x3153fc(0x84)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a62_0x3153fc(0xb2)),GrpcClient=require(a62_0x3153fc(0xa5)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a62_0x3153fc(0x8d)),path=require('path'),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a62_0x3153fc(0x73));function a62_0x49b8(){const _0xcdbb74=['Error\x20in\x20sendLogCreatedEvent:\x20','717573hqNQxp','parsePlaywrightTestResult','KEY_TEST_ATTACHMENTS','No\x20reason\x20provided','sendLogCreatedEvent','KEY_TEST_RESULT_AT','KEY_TEST_SCOPE','PRE','INIT_TEST','NONE','20XGYAms','resolveInstance','DEFAULT_HOOK_RESULT','ZapYT','skipped','passed','KEY_TEST_TAGS','parsePlaywrightTest','KEY_TEST_STARTED_AT','failed','QLOUp','debug','KEY_HOOK_LAST_FINISHED','POST','OvrDk','error','testUId',',\x20state=','filePath','uuid','yfOBP','25639TcvzZx','getRef','duration','./constants/testFrameworkConstants.js','gvtJk','aYClb',',\x20testFrameworkState=','getInstance','KEY_LOGS','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','getCurrentInstanceName','ERPSN','Expected\x20to\x20fail,\x20but\x20passed.','KEY_HOOK_FAILURE','CXsoM','KEY_AUTOMATE_SESSION_NAME','IwwFG','err','\x20\x20and\x20args\x20=\x20','14268VnSfFj','split','Error\x20processing\x20trace\x20file\x20','hSYzF','rDkfX','34EEsrOv','../../utils/constants','WiwPT','vEtST','WboLr','expectedStatus','fjCSS','hzTZW','yBNzQ','LzzHQ','setTestDetails','getTraceFilePaths','QrDKk','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','\x20instanceId=','KEY_TEST_FILE_PATH','49jIXGXa','trackPlaywrightInstance','util','\x20payload=','toISOString','info','gjyXo','toString','xpwls','POGeX','lgrIO','../../playwright/reporter/pwUtils','test','get','hook','6420830SQTcME','stack','result','TEST_ATTACHMENT','KEY_CUSTOM_TAGS','467370joSByh','KEY_TEST_FRAMEWORK_NAME','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','18mdSFZY','lsoBf','hznjq','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_EVENT_ENDED_AT','KHguf','inspect','map','DEFAULT_TEST_RESULT','KEY_HOOKS_FINISHED','KEY_HOOK_RESULT','isArray','../grpcClient','getTestDetails','trackHookEvent','push','matchHookRegex','runHooks','filter','534328KLuPuG','OqKCI','KEY_HOOK_FAILURE_REASON','basename','steps','buWVB','../TestInfo.js','annotations','forEach','lpuIk','Error\x20processing\x20direct\x20trace\x20file\x20','4glMDvc','path','../cliUtils.js','size','KEY_HOOK_LOGS','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','Otukw','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','getTestFrameworksVersions','trackEvent','status','PkxRp','some','values','multi_dropdown','file_name','TEST','rLvXV','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_HOOK_LAST_STARTED','setTrackedInstance','\x20instance=','KEY_TEST_RERUN_NAME','KEY_TEST_ENDED_AT','IDmae','errors','PlaywrightTestFramework','KEY_TEST_RESULT','exports','length','getAllData','sIGMq','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_VERSION','./testFramework','KEY_TEST_LOCATION','trackEvent:\x20found\x20instance,\x20testFrameworkState=','statSync','Hook\x20List\x20in\x20Post\x20','2723967fvpBtp','FNLCu','2398ypkvcD','KEY_TEST_CODE','message','GQgqi','step','field_type','\x20target=','bDuns','xgTIt','DAvlX','KEY_TEST_UUID','trim','KEY_HOOKS_STARTED','logCreatedEvent','sendLogCreatedEvent:\x20testId=','yatGH','nSgpq','instance','startTime','pop','timedOut','\x20testHookState='];a62_0x49b8=function(){return _0xcdbb74;};return a62_0x49b8();}class PlaywrightTestFramework extends TestFramework{constructor(_0x2b09fb,_0x407e48,_0x289c7f){super(_0x2b09fb,_0x407e48,_0x289c7f);}async['trackEvent'](_0x29a85c,_0xb53346,_0x514879={}){const _0x1dcc76=a62_0x3153fc,_0x1e3a20={};_0x1e3a20[_0x1dcc76(0x9e)]=function(_0x49db89,_0x5b02a6){return _0x49db89===_0x5b02a6;},_0x1e3a20['zMUJn']='test',_0x1e3a20[_0x1dcc76(0x8b)]=_0x1dcc76(0xbc);const _0x588e67=_0x1e3a20;await super[_0x1dcc76(0xc0)](_0x29a85c,_0xb53346,_0x514879);const _0x94f01a=this[_0x1dcc76(0x102)](_0x29a85c,_0xb53346,_0x514879);if(!_0x94f01a)return;logger['debug'](_0x1dcc76(0xdb)+_0x29a85c+'\x20hookState='+_0xb53346+_0x1dcc76(0x80)+_0x94f01a[_0x1dcc76(0x117)]());try{if(_0x588e67[_0x1dcc76(0x9e)](_0xb53346,HookState[_0x1dcc76(0xfe)])&&_0x588e67['KHguf'](_0x29a85c,TestFrameworkState['TEST'])){const _0x387238=_0x514879[_0x1dcc76(0x8e)];logger[_0x1dcc76(0x10c)](_0x1dcc76(0x11f)+_0x387238['id']+'}');const _0x284f98=TestInfo['getTestUUID'](_0x387238['id']);_0x94f01a['addMultipleEntries'](this[_0x1dcc76(0x108)](_0x284f98,_0x387238)),logger[_0x1dcc76(0x10c)](_0x1dcc76(0x9c)+_0x387238['id']+_0x1dcc76(0x11c)+_0x29a85c+_0x1dcc76(0xf5)+_0xb53346+_0x1dcc76(0xcc)+_0x94f01a[_0x1dcc76(0x117)]());}if(_0x588e67['KHguf'](_0xb53346,HookState[_0x1dcc76(0x10e)])&&_0x588e67[_0x1dcc76(0x9e)](_0x29a85c,TestFrameworkState[_0x1dcc76(0xc7)])){const _0x3e7ef3=_0x514879['test'],_0x326dc2=_0x514879[_0x1dcc76(0x93)];logger[_0x1dcc76(0x10c)](_0x1dcc76(0xbe)+_0x3e7ef3['id']),_0x94f01a['addMultipleEntries'](this[_0x1dcc76(0xf8)](_0x3e7ef3['id'],_0x326dc2,_0x3e7ef3)),this[_0x1dcc76(0xfb)](_0x94f01a,_0x29a85c,_0xb53346,_0x588e67['zMUJn'],_0x514879);}if(CLIUtils[_0x1dcc76(0xa9)](_0x29a85c[_0x1dcc76(0x89)]()['split']('.')[0x1])){const _0x78e729=await this[_0x1dcc76(0xa7)](_0x94f01a,_0x29a85c,_0xb53346,_0x514879);_0x94f01a['addMultipleEntries'](_0x78e729);}}catch(_0x38517d){logger[_0x1dcc76(0x110)](util['format'](_0x588e67[_0x1dcc76(0x8b)],_0x29a85c,_0xb53346,_0x514879[_0x1dcc76(0xd4)],_0x38517d));}_0x514879[_0x1dcc76(0xf1)]=_0x94f01a,await this[_0x1dcc76(0xaa)](_0x94f01a,_0x29a85c,_0xb53346,_0x514879);}[a62_0x3153fc(0x102)](_0x47dcac,_0x49dc84,_0x512126={}){const _0x4cf1fa=a62_0x3153fc,_0x19b482={};_0x19b482[_0x4cf1fa(0x9b)]=function(_0x3fcacc,_0x364c74){return _0x3fcacc===_0x364c74;};const _0x1776dc=_0x19b482;let _0xad0722=null;return(_0x1776dc['hznjq'](_0x47dcac,TestFrameworkState[_0x4cf1fa(0xff)])||_0x1776dc[_0x4cf1fa(0x9b)](_0x47dcac,TestFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x47dcac,_0x512126),_0xad0722=TestFramework['getTrackedInstance'](),_0xad0722;}[a62_0x3153fc(0x83)](_0x760168,_0x2b89c4){const _0x5cd179=a62_0x3153fc,_0x1ed0e1=CLIUtils[_0x5cd179(0x120)](),_0x5c41a7=TrackedInstance['createContext'](_0x1ed0e1);let _0x54feec=null;logger[_0x5cd179(0x87)](_0x5cd179(0x98)+_0x1ed0e1+_0x5cd179(0x112)+_0x760168),_0x54feec=new TestFrameworkInstance(_0x5c41a7,this['getTestFrameworks'](),this[_0x5cd179(0xbf)](),_0x760168,HookState[_0x5cd179(0x100)]),TestFramework[_0x5cd179(0xcb)](_0x5c41a7,_0x54feec),logger[_0x5cd179(0x87)](_0x5cd179(0x7f)+_0x5c41a7['getId']()+_0x5cd179(0xe6)+_0x1ed0e1);}[a62_0x3153fc(0x108)](_0x1f07af,_0x4a02bb){const _0xe5ca2a=a62_0x3153fc,_0xacb178={'FNLCu':function(_0x3f6f20,_0xcbfc9e){return _0x3f6f20(_0xcbfc9e);},'QLOUp':function(_0x5b54f3,_0x196e49){return _0x5b54f3(_0x196e49);},'xgTIt':function(_0x526a04,_0x5deaea){return _0x526a04(_0x5deaea);},'PkxRp':function(_0x590c64,_0x2b2240){return _0x590c64(_0x2b2240);}},_0xc79945=_0xacb178['FNLCu'](getPlaywrightTestId,_0x4a02bb),_0x3471c9=_0xacb178[_0xe5ca2a(0xdf)](getPlaywrightTestTitle,_0x4a02bb),_0x52cf63=_0xacb178['QLOUp'](getTestTags,_0x4a02bb),_0x5ac0b3=_0xacb178[_0xe5ca2a(0x10b)](getPlaywrightTestCode,_0x4a02bb),_0x1b1c40=_0xacb178[_0xe5ca2a(0xe8)](getPlaywrightTestFilePath,_0x4a02bb),_0x52e8e3=_0x1b1c40+':'+_0xacb178[_0xe5ca2a(0xe8)](getPlaywrightTestLocation,_0x4a02bb),_0x4b0a74=_0xacb178['QLOUp'](getPlaywrightTestScope,_0x4a02bb),_0x5e5ad2=_0xacb178[_0xe5ca2a(0xc2)](getPlaywrightTestScopes,_0x4a02bb),_0x442db1=_0xacb178[_0xe5ca2a(0xc2)](getPlaywrightSessionName,_0x4a02bb),_0x255ed2=this['getTestFrameworks']()[0x0],_0x39515a={[TestFrameworkConstants[_0xe5ca2a(0x97)]]:_0x255ed2,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x255ed2],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xe5ca2a(0xec)]]:{},[TestFrameworkConstants[_0xe5ca2a(0xea)]]:_0x1f07af,[TestFrameworkConstants[_0xe5ca2a(0xd2)]]:TestFrameworkConstants[_0xe5ca2a(0xa1)],[TestFrameworkConstants[_0xe5ca2a(0x69)]]:_0x442db1,[TestFrameworkConstants[_0xe5ca2a(0x81)]]:_0x1b1c40,[TestFrameworkConstants['KEY_TEST_ID']]:_0xc79945,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x3471c9,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x52e8e3,[TestFrameworkConstants[_0xe5ca2a(0xe1)]]:_0x5ac0b3,[TestFrameworkConstants[_0xe5ca2a(0x107)]]:_0x52cf63,[TestFrameworkConstants[_0xe5ca2a(0x109)]]:_0x4a02bb['results'][0x0][_0xe5ca2a(0xf2)],[TestFrameworkConstants[_0xe5ca2a(0xfd)]]:_0x4b0a74,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x5e5ad2,[TestFrameworkConstants[_0xe5ca2a(0xcd)]]:_0xacb178[_0xe5ca2a(0xc2)](getPlaywrightCustomRerunParam,_0x4a02bb)};TestInfo[_0xe5ca2a(0x7c)](_0x4a02bb['id'],_0x39515a);const _0x12b8b6={};return _0x12b8b6[_0xc79945]=_0x39515a,_0x12b8b6;}[a62_0x3153fc(0xf8)](_0x4aa19a,_0x451c24,_0x14bee3){const _0x3d4857=a62_0x3153fc,_0x4d9b29={'yatGH':function(_0x3a535d,_0x4f0044){return _0x3a535d(_0x4f0044);},'lpuIk':_0x3d4857(0x94),'nSgpq':function(_0x51e045,_0x32a4ea){return _0x51e045===_0x32a4ea;},'xpwls':function(_0x56a6dc,_0x4fc548){return _0x56a6dc===_0x4fc548;},'lgrIO':function(_0x4e9e21,_0x4bd84e){return _0x4e9e21(_0x4bd84e);},'gjyXo':_0x3d4857(0xfa),'DAvlX':_0x3d4857(0xc5),'OvrDk':function(_0xb58135,_0x37e5f0){return _0xb58135+_0x37e5f0;},'SwObw':_0x3d4857(0x105),'IDmae':_0x3d4857(0x106),'GQgqi':function(_0x4c579c,_0x4de8da){return _0x4c579c===_0x4de8da;},'gvtJk':_0x3d4857(0x10a),'yBNzQ':_0x3d4857(0xf4),'hzTZW':_0x3d4857(0x66),'yfOBP':function(_0x55c64c,_0x204ca2,_0x54573b){return _0x55c64c(_0x204ca2,_0x54573b);},'lYJkV':function(_0x1a72ac,_0x15b88c){return _0x1a72ac||_0x15b88c;},'QrDKk':function(_0x24bb65,_0xbb83a){return _0x24bb65(_0xbb83a);},'kYXya':function(_0x5cdd62,_0x224287,_0x36acc7){return _0x5cdd62(_0x224287,_0x36acc7);},'bDuns':_0x3d4857(0xb8),'IwwFG':function(_0x2dcf18,_0x4776cc){return _0x2dcf18>_0x4776cc;}};logger[_0x3d4857(0x10c)]('parsePlaywrightTestResult:\x20testId='+_0x4aa19a);const _0x53fdae=new Date(_0x451c24[_0x3d4857(0xf2)]),_0x36e75a=_0x451c24[_0x3d4857(0x118)],_0x2ae342=new Date(_0x4d9b29[_0x3d4857(0x10f)](_0x53fdae['getTime'](),_0x36e75a)),_0x551047=_0x451c24[_0x3d4857(0xc1)],_0x3e202c=TestInfo['getTestDetails'](_0x4aa19a)[TestFrameworkConstants[_0x3d4857(0x95)]]||{};let _0x4eec7d=_0x551047;if(_0x4d9b29[_0x3d4857(0x8a)](_0x451c24[_0x3d4857(0xc1)],_0x14bee3[_0x3d4857(0x77)]))_0x4eec7d=_0x4d9b29['nSgpq'](_0x451c24['status'],_0x4d9b29['SwObw'])?_0x4d9b29['SwObw']:_0x4d9b29[_0x3d4857(0xcf)];else{(_0x4d9b29[_0x3d4857(0xe3)](_0x4eec7d,_0x4d9b29[_0x3d4857(0xcf)])||_0x4d9b29[_0x3d4857(0xf0)](_0x4eec7d,_0x4d9b29[_0x3d4857(0x11a)])||_0x4d9b29[_0x3d4857(0x8a)](_0x4eec7d,_0x4d9b29[_0x3d4857(0x7a)]))&&(_0x4eec7d=_0x4d9b29[_0x3d4857(0x11a)]);if(_0x4d9b29[_0x3d4857(0xf0)](_0x451c24['status'],_0x4d9b29[_0x3d4857(0xcf)])&&_0x4d9b29[_0x3d4857(0xe3)](_0x14bee3[_0x3d4857(0x77)],_0x4d9b29[_0x3d4857(0x11a)])){const _0x25205d={};_0x25205d[_0x3d4857(0xe2)]=_0x4d9b29[_0x3d4857(0x79)],_0x25205d[_0x3d4857(0x92)]=_0x4d9b29[_0x3d4857(0x79)],_0x451c24[_0x3d4857(0x110)]=_0x25205d,_0x451c24['errors']=[_0x451c24[_0x3d4857(0x110)]];}}const {failureData:_0x325be2,logs:_0x528b2b}=_0x4d9b29['yfOBP'](getFailureData,_0x451c24?.[_0x3d4857(0xd0)],{}),_0x1fab6c={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4d9b29['lYJkV'](_0x325be2,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x451c24?.[_0x3d4857(0x110)]&&_0x4d9b29['yatGH'](getFailureType,_0x451c24['error'][_0x3d4857(0xe2)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x451c24?.[_0x3d4857(0x110)]&&_0x4d9b29[_0x3d4857(0x7e)](removeAnsiColors,_0x451c24[_0x3d4857(0x110)][_0x3d4857(0xe2)]),[TestFrameworkConstants[_0x3d4857(0x11e)]]:[],[TestFrameworkConstants[_0x3d4857(0xd2)]]:_0x451c24[_0x3d4857(0xc1)],[TestFrameworkConstants[_0x3d4857(0xce)]]:_0x2ae342[_0x3d4857(0x86)](),[TestFrameworkConstants[_0x3d4857(0xfc)]]:new Date()[_0x3d4857(0x86)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3e202c},_0x288ffd={};_0x288ffd[_0x3d4857(0x8e)]=_0x14bee3;const _0x271cde=this[_0x3d4857(0x102)](TestFrameworkState['TEST'],HookState[_0x3d4857(0x10e)],_0x288ffd),_0x1b05cb=_0x271cde[_0x3d4857(0xd5)]()[_0x3d4857(0x8f)](_0x4aa19a)[TestFrameworkConstants[_0x3d4857(0xea)]],_0x4f1d49=[],_0x2d327b=_0x4d9b29['kYXya'](findNestedKey,_0x451c24,_0x4d9b29[_0x3d4857(0xe7)]);if(_0x2d327b&&_0x4d9b29[_0x3d4857(0x7e)](validateFilePath,_0x2d327b))try{_0x4f1d49[_0x3d4857(0xa8)]({'kind':_0x4d9b29[_0x3d4857(0xb5)],'timestamp':new Date()[_0x3d4857(0x86)](),'test_run_uuid':_0x1b05cb,'file_name':path[_0x3d4857(0xaf)](_0x2d327b),'file_size':fs[_0x3d4857(0xdc)](_0x2d327b)[_0x3d4857(0xba)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x360298){logger[_0x3d4857(0x110)](_0x3d4857(0xb6)+_0x2d327b+':\x20'+_0x360298['message']);}const _0x5e5574=TestInfo[_0x3d4857(0x7d)](),_0x297230=_0x5e5574[_0x3d4857(0xab)](_0x5401b3=>_0x5401b3[_0x3d4857(0x111)]===_0x1b05cb);_0x297230[_0x3d4857(0xb4)](_0x224f36=>{const _0x17e78f=_0x3d4857;if(_0x224f36['filePath']&&_0x4d9b29[_0x17e78f(0xef)](validateFilePath,_0x224f36[_0x17e78f(0x113)])&&!_0x4f1d49[_0x17e78f(0xc3)](_0x5833c0=>_0x5833c0[_0x17e78f(0xc6)]===path['basename'](_0x224f36[_0x17e78f(0x113)])))try{_0x4f1d49[_0x17e78f(0xa8)]({'kind':_0x4d9b29['lpuIk'],'timestamp':new Date()[_0x17e78f(0x86)](),'test_run_uuid':_0x1b05cb,'file_name':path[_0x17e78f(0xaf)](_0x224f36[_0x17e78f(0x113)]),'file_size':fs[_0x17e78f(0xdc)](_0x224f36[_0x17e78f(0x113)])[_0x17e78f(0xba)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x20555d){logger[_0x17e78f(0x110)](_0x17e78f(0x6f)+_0x224f36['filePath']+'\x20from\x20TestDetails:\x20'+_0x20555d[_0x17e78f(0xe2)]);}});if(_0x4d9b29[_0x3d4857(0x6a)](_0x4f1d49[_0x3d4857(0xd4)],0x0)){const _0x20ce6f=_0x1fab6c[TestFrameworkConstants[_0x3d4857(0x11e)]]||[];_0x1fab6c[TestFrameworkConstants['KEY_LOGS']]=[..._0x20ce6f,..._0x4f1d49];}const _0x3dab19=TestInfo[_0x3d4857(0xa6)](_0x4aa19a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x589bf5=_0x4d9b29[_0x3d4857(0x115)](getManualUploadLogs,_0x3dab19,_0x271cde['getAllData']()[_0x3d4857(0x8f)](_0x4aa19a)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x4d9b29[_0x3d4857(0x6a)](_0x589bf5[_0x3d4857(0xd4)],0x0)){const _0xf81d88=_0x1fab6c[TestFrameworkConstants[_0x3d4857(0x11e)]]||[];_0x1fab6c[TestFrameworkConstants['KEY_LOGS']]=[..._0xf81d88,..._0x589bf5];}const _0x446a2a=_0x14bee3[_0x3d4857(0xb3)]||[],_0x5b3361=_0x1fab6c[TestFrameworkConstants[_0x3d4857(0x95)]]||{};_0x446a2a[_0x3d4857(0xb4)](_0x16c64c=>{const _0x4a64c2=_0x3d4857,{type:_0x20f860}=_0x16c64c;let _0x3e7664=_0x16c64c['description'];if(!_0x20f860)return;(_0x4d9b29['nSgpq'](_0x3e7664,undefined)||_0x4d9b29[_0x4a64c2(0xf0)](_0x3e7664,null)||_0x4d9b29[_0x4a64c2(0x8a)](_0x4d9b29[_0x4a64c2(0x8c)](String,_0x3e7664)[_0x4a64c2(0xeb)](),''))&&(_0x3e7664=_0x4d9b29[_0x4a64c2(0x88)]);if(!_0x5b3361[_0x20f860]){const _0x137c00={};_0x137c00['field_type']=_0x4d9b29[_0x4a64c2(0xe9)],_0x137c00[_0x4a64c2(0xc4)]=[],_0x5b3361[_0x20f860]=_0x137c00;}else!_0x5b3361[_0x20f860][_0x4a64c2(0xe5)]&&(_0x5b3361[_0x20f860][_0x4a64c2(0xe5)]=_0x4d9b29[_0x4a64c2(0xe9)]),!Array[_0x4a64c2(0xa4)](_0x5b3361[_0x20f860][_0x4a64c2(0xc4)])&&(_0x5b3361[_0x20f860][_0x4a64c2(0xc4)]=[]);const _0x7e127=_0x4d9b29[_0x4a64c2(0x8c)](String,_0x3e7664)['split'](',')[_0x4a64c2(0xa0)](_0x4a5571=>_0x4a5571[_0x4a64c2(0xeb)]());_0x5b3361[_0x20f860][_0x4a64c2(0xc4)]=[...new Set([..._0x5b3361[_0x20f860]['values'],..._0x7e127])];}),_0x1fab6c[TestFrameworkConstants[_0x3d4857(0x95)]]=_0x5b3361,TestInfo[_0x3d4857(0x7c)](_0x4aa19a,_0x1fab6c);const _0x1dd4fd={};return _0x1dd4fd[_0x4aa19a]=_0x1fab6c,_0x1dd4fd;}async[a62_0x3153fc(0xa7)](_0x47dbe2,_0x4e88ff,_0x10433c,_0x3a0f5b){const _0x4ad8d4=a62_0x3153fc,_0x521240={'ERPSN':function(_0x12773a,_0x9eabad){return _0x12773a in _0x9eabad;},'ZapYT':function(_0x46db71,_0x5522bc){return _0x46db71(_0x5522bc);},'sIGMq':function(_0x4d0a88,_0x17f4f7){return _0x4d0a88===_0x17f4f7;},'rDkfX':function(_0x30e787){return _0x30e787();},'OqKCI':function(_0x45fcfe,_0x1ba801){return _0x45fcfe>_0x1ba801;},'Uyhfk':function(_0x39983e,_0xc526e3,_0xd128e5){return _0x39983e(_0xc526e3,_0xd128e5);},'fAdhY':_0x4ad8d4(0x6b),'CXsoM':function(_0x3caf49,_0xf4ca8){return _0x3caf49(_0xf4ca8);},'XolrY':function(_0xfa9d71,_0x538b3d){return _0xfa9d71(_0x538b3d);},'WboLr':_0x4ad8d4(0x10a),'vEtST':_0x4ad8d4(0x106),'hSYzF':function(_0x4a4de3,_0x50be9c){return _0x4a4de3!==_0x50be9c;},'OvBvD':function(_0x18e026,_0x141025){return _0x18e026+_0x141025;},'lsoBf':_0x4ad8d4(0x90)},_0x5890c9=_0x3a0f5b[_0x4ad8d4(0x8e)],_0x420857=_0x3a0f5b['step'],_0x951670=_0x3a0f5b['test']['id'],_0x239d86=_0x4e88ff[_0x4ad8d4(0x89)]()[_0x4ad8d4(0x6e)]('.')[0x1];let _0x394cb7=_0x47dbe2[_0x4ad8d4(0xd5)]()['get'](_0x951670)[TestFrameworkConstants[_0x4ad8d4(0xec)]];!_0x394cb7&&(_0x394cb7={});!_0x521240[_0x4ad8d4(0x121)](_0x239d86,_0x394cb7)&&(_0x394cb7[_0x239d86]=[]);let _0x1d50fd=_0x47dbe2['getAllData']()[_0x4ad8d4(0x8f)](_0x951670)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x1d50fd&&(_0x1d50fd={});!_0x521240[_0x4ad8d4(0x121)](_0x239d86,_0x1d50fd)&&(_0x1d50fd[_0x239d86]=[]);const _0x5ac098={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x394cb7,[TestFrameworkConstants[_0x4ad8d4(0xa2)]]:_0x1d50fd},_0xbd1fea={};_0xbd1fea[_0x951670]=_0x5ac098;const _0x44287c=_0xbd1fea,_0x382da4=_0x521240['ZapYT'](getPlaywrightTestFilePath,_0x5890c9),_0x1f3bb7=_0x382da4+':'+_0x521240[_0x4ad8d4(0x104)](getPlaywrightTestLocation,_0x5890c9),_0x5b3dcd=TestInfo[_0x4ad8d4(0xa6)](_0x951670)[TestFrameworkConstants[_0x4ad8d4(0x95)]]||{};if(_0x521240[_0x4ad8d4(0xd6)](_0x10433c,HookState[_0x4ad8d4(0xfe)])){const _0x512518={'key':_0x239d86,[TestFrameworkConstants[_0x4ad8d4(0xd7)]]:_0x521240[_0x4ad8d4(0x71)](uuidv4),[TestFrameworkConstants[_0x4ad8d4(0xa3)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x420857[_0x4ad8d4(0xf2)],[TestFrameworkConstants[_0x4ad8d4(0xbb)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x420857['title'],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x382da4,[TestFrameworkConstants[_0x4ad8d4(0xda)]]:_0x1f3bb7,[TestFrameworkConstants[_0x4ad8d4(0x95)]]:_0x5b3dcd};_0x394cb7[_0x239d86][_0x4ad8d4(0xa8)](_0x512518),_0x44287c[_0x951670][TestFrameworkConstants[_0x4ad8d4(0xca)]]=_0x239d86,logger[_0x4ad8d4(0x10c)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x239d86+'\x20&\x20hook\x20=\x20'+_0x512518+_0x4ad8d4(0x6c)+_0x3a0f5b);}else{if(_0x521240['sIGMq'](_0x10433c,HookState['POST'])){const _0x5c04be=await _0x3a0f5b[_0x4ad8d4(0x93)],_0x4f2772=_0x394cb7[_0x239d86]||[],_0x2fd50c=_0x3a0f5b['step'];logger[_0x4ad8d4(0x10c)](_0x4ad8d4(0xdd)+_0x4f2772+'\x20and\x20args\x20=\x20'+_0x3a0f5b);if(_0x521240[_0x4ad8d4(0xad)](_0x4f2772[_0x4ad8d4(0xd4)],0x0)){const _0x27b214=_0x4f2772[_0x4ad8d4(0xf3)]();if(_0x2fd50c[_0x4ad8d4(0x110)]){const _0x595a0d=_0x521240['Uyhfk'](failureData,_0x2fd50c[_0x4ad8d4(0x110)],_0x521240['fAdhY']);_0x27b214[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x521240[_0x4ad8d4(0x68)](getFailureType,_0x2fd50c?.['error'][_0x4ad8d4(0xe2)]),_0x27b214[TestFrameworkConstants[_0x4ad8d4(0xae)]]=_0x521240['XolrY'](removeAnsiColors,_0x2fd50c?.['error'][_0x4ad8d4(0xe2)]),_0x27b214[TestFrameworkConstants[_0x4ad8d4(0xa3)]]=_0x521240['WboLr'],_0x27b214[TestFrameworkConstants[_0x4ad8d4(0x67)]]=_0x595a0d;}else _0x27b214[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x521240[_0x4ad8d4(0x75)];_0x521240[_0x4ad8d4(0x70)](_0x5c04be,TestFrameworkConstants[_0x4ad8d4(0x103)])&&(_0x27b214[TestFrameworkConstants[_0x4ad8d4(0xa3)]]=!_0x2fd50c[_0x4ad8d4(0x110)]?_0x521240[_0x4ad8d4(0x75)]:_0x521240[_0x4ad8d4(0x76)]);const _0x57e793=new Date(_0x2fd50c[_0x4ad8d4(0xf2)]),_0x613b5a=new Date(_0x521240['OvBvD'](_0x57e793['getTime'](),_0x2fd50c[_0x4ad8d4(0x118)]));_0x27b214[TestFrameworkConstants[_0x4ad8d4(0x9d)]]=_0x613b5a['toISOString'](),_0x27b214[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x5b3dcd;const _0x254fd7=_0x27b214[TestFrameworkConstants[_0x4ad8d4(0xd7)]];await this[_0x4ad8d4(0xfb)](_0x47dbe2,_0x4e88ff,_0x254fd7,_0x521240[_0x4ad8d4(0x9a)],_0x3a0f5b),!_0x1d50fd[_0x239d86]&&(_0x1d50fd[_0x239d86]=[]),_0x1d50fd[_0x239d86][_0x4ad8d4(0xa8)](_0x27b214),_0x44287c[_0x951670][TestFrameworkConstants[_0x4ad8d4(0x10d)]]=_0x239d86;}}}return _0x44287c;}async[a62_0x3153fc(0xfb)](_0x34cfef,_0x507ed3,_0x2ba0ea,_0x35a087,_0x160a9c){const _0x5b70ba=a62_0x3153fc,_0x205ca5={'LzzHQ':function(_0x29c3d0,_0x4c39c1){return _0x29c3d0===_0x4c39c1;},'buWVB':'test','fjCSS':function(_0x325f55,_0x451680,_0x10f762){return _0x325f55(_0x451680,_0x10f762);},'rLvXV':function(_0x523981,_0x3b4a55,_0x2c6149,_0x7d5924){return _0x523981(_0x3b4a55,_0x2c6149,_0x7d5924);},'WiwPT':function(_0x1726e7,_0x5d13a5,_0x3aae49){return _0x1726e7(_0x5d13a5,_0x3aae49);},'aYClb':function(_0x4db360,_0xb9881b,_0x4f22e7,_0x185524,_0x185b43){return _0x4db360(_0xb9881b,_0x4f22e7,_0x185524,_0x185b43);},'Otukw':_0x5b70ba(0x90),'VFYuA':function(_0x427005,_0x12c65e,_0x20fed6,_0x38eb76,_0x3f9cb5){return _0x427005(_0x12c65e,_0x20fed6,_0x38eb76,_0x3f9cb5);}};try{if(_0x205ca5[_0x5b70ba(0x7b)](_0x35a087,_0x205ca5[_0x5b70ba(0xb1)])){const _0x214847=await _0x160a9c['result'],_0x53486b=_0x160a9c[_0x5b70ba(0x8e)]['id'],_0x582fb0=_0x160a9c[_0x5b70ba(0x8e)];logger['debug'](_0x5b70ba(0xee)+_0x53486b);const _0x1ae472=_0x34cfef[_0x5b70ba(0xd5)]()[_0x5b70ba(0x8f)](_0x53486b)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x205ca5[_0x5b70ba(0x78)](sendTraceZip,_0x214847,_0x1ae472);const {steps:_0x3b1b50,logs:_0x2687e4}=_0x205ca5[_0x5b70ba(0xc8)](getStepsAndLogs,_0x214847[_0x5b70ba(0xb0)],_0x34cfef[_0x5b70ba(0xd5)]()[_0x5b70ba(0x8f)](_0x53486b)[TestFrameworkConstants['KEY_TEST_UUID']],_0x205ca5['buWVB']),_0x41753d=_0x205ca5[_0x5b70ba(0x74)](getScreenshots,_0x214847,_0x34cfef[_0x5b70ba(0xd5)]()[_0x5b70ba(0x8f)](_0x53486b)[TestFrameworkConstants[_0x5b70ba(0xea)]]),{_:_0x5b8fbb,logs:_0x1df250}=_0x205ca5[_0x5b70ba(0x74)](getFailureData,_0x214847['errors'],{'test_run_uuid':_0x34cfef[_0x5b70ba(0xd5)]()['get'](_0x53486b)[TestFrameworkConstants[_0x5b70ba(0xea)]]}),_0x3db9db=TestInfo['getTestDetails'](_0x53486b)[TestFrameworkConstants[_0x5b70ba(0xf9)]]||{},_0xb87eb2=_0x205ca5[_0x5b70ba(0x78)](getMediaArtifactsLogs,_0x3db9db,_0x34cfef[_0x5b70ba(0xd5)]()[_0x5b70ba(0x8f)](_0x53486b)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2370fc=_0x34cfef[_0x5b70ba(0xd5)]()[_0x5b70ba(0x8f)](_0x53486b),{[TestFrameworkConstants[_0x5b70ba(0x97)]]:_0x35e8d2='',[TestFrameworkConstants[_0x5b70ba(0xd8)]]:_0x50b1ed=''}=_0x2370fc,_0xca3be7={'platformIndex':'0','logs':[..._0x2687e4||[],..._0x41753d||[],..._0x1df250||[],..._0xb87eb2||[]],'testFrameworkName':_0x35e8d2,'testFrameworkVersion':_0x50b1ed,'testFrameworkState':_0x507ed3['toString']()[_0x5b70ba(0x6e)]('.')[0x1]};_0x205ca5[_0x5b70ba(0x11b)](updatePayloadForTraceLogs,_0xca3be7,_0x160a9c,_0x53486b,_0x34cfef),logger[_0x5b70ba(0x10c)](_0x5b70ba(0xc9)+_0x53486b+_0x5b70ba(0x85)+util[_0x5b70ba(0x9f)](_0xca3be7));const _0x2b5268=await GrpcClient['getInstance']()['logCreatedEvent'](_0xca3be7);}else{const {steps:_0x2b2c01,logs:_0x2597d7}=_0x205ca5[_0x5b70ba(0xc8)](getStepsAndLogs,_0x160a9c[_0x5b70ba(0xe4)][_0x5b70ba(0xb0)],_0x2ba0ea,_0x205ca5[_0x5b70ba(0xbd)]),_0x4d052a=_0x160a9c[_0x5b70ba(0x8e)]['id'];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x4d052a);const _0x20da3b=_0x34cfef[_0x5b70ba(0xd5)]()[_0x5b70ba(0x8f)](_0x4d052a),{[TestFrameworkConstants[_0x5b70ba(0x97)]]:_0x50ff0e='',[TestFrameworkConstants[_0x5b70ba(0xd8)]]:_0x568b66=''}=_0x20da3b,_0x315bf3={'platformIndex':'0','logs':_0x2597d7,'testFrameworkName':_0x50ff0e,'testFrameworkVersion':_0x568b66,'testFrameworkState':_0x507ed3['toString']()[_0x5b70ba(0x6e)]('.')[0x1]};_0x205ca5['VFYuA'](updatePayloadForTraceLogs,_0x315bf3,_0x160a9c,_0x4d052a,_0x34cfef),logger['debug'](_0x5b70ba(0xc9)+_0x4d052a+_0x5b70ba(0x85)+util[_0x5b70ba(0x9f)](_0x315bf3));const _0x327438=await GrpcClient[_0x5b70ba(0x11d)]()[_0x5b70ba(0xed)](_0x315bf3);}}catch(_0x39ea2d){logger['error'](_0x5b70ba(0xf6)+util['format'](_0x39ea2d));}}}module[a62_0x3153fc(0xd3)]=PlaywrightTestFramework;
1
+ function a62_0x508f(){const _0x2e1aae=['file_name','KEY_TEST_ID','../../playwright/reporter/pwUtils','Error\x20processing\x20trace\x20file\x20','gwYjI','isArray','getId','kMStD','LZRHy','KEY_HOOK_RESULT','test','INIT_TEST','420117vUTRrJ','getRef','passed','kZViP','GjZMX','../../../helpers/test-observability/utils','../cliUtils.js','eqNTM','KEY_TEST_FILE_PATH','setTrackedInstance','../../../helpers/helper.js','\x20payload=','logCreatedEvent','parsePlaywrightTestResult','qJFdZ','soVQq','KEY_TEST_NAME','setTestDetails','path','elRxR','TEST','\x20instanceId=','\x20target=','get','runHooks','KEY_TEST_TAGS','KEY_TEST_LOGS','KEY_LOGS','KEY_HOOK_LAST_STARTED','52418Obwbff','\x20from\x20TestDetails:\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_ATTACHMENTS','getTestFrameworks','587104exfxlm','getTestFrameworksVersions','statSync','errors','DEFAULT_TEST_RESULT','title','filter','instance','hook','KEY_TEST_FRAMEWORK_VERSION','iqbKN','KEY_CUSTOM_TAGS','../grpcClient','expectedStatus','KEY_EVENT_STARTED_AT','inspect','2919HvEDll','error','timedOut','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_SCOPES','field_type','XzMtb','NONE','133020cFkVLp','KEY_HOOK_ID','PlaywrightTestFramework','trackPlaywrightInstance','result','filePath','Gabwh','failed','./testFramework','qEIGA','trackEvent','JNHOS','iKgAx','POST','\x20testHookState=','TIkoJ','uuid','WZNqm','765mRNcYu','addMultipleEntries','../state/hookState.js','Yhbcn','jrNRa','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','QxvOg','aLADu','KEY_TEST_RERUN_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_EVENT_ENDED_AT','EvERc','KEY_TEST_STARTED_AT','trim','QthGt','lXhfW','getTestUUID','ZEwxx','startTime','../state/testFrameworkState.js','size','forEach','ZxMaR','HrdnB','KEY_TEST_UUID','hreQi','results','KEY_TEST_RESULT','700vLfFch','parsePlaywrightTest','2690322cWrvtE','format','Hook\x20List\x20in\x20Post\x20','getInstance','pop','description','DEFAULT_HOOK_RESULT','pgyAR','err','ZwLIo','exports','getAllData','KEY_TEST_FRAMEWORK_NAME','basename','wfibS','debug','riFJw','getTrackedInstance','KEY_HOOK_LAST_FINISHED','info','split','resolveInstance','TEST_ATTACHMENT','KEY_HOOK_LOGS','PRE','matchHookRegex','KEY_TEST_CODE','push','parsePlaywrightTestResult:\x20testId=','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','yIhFl','KEY_HOOK_FAILURE','KEY_HOOKS_FINISHED','osVSw','toISOString','oaTdI','LnTFY','trackEvent:\x20found\x20instance,\x20testFrameworkState=','pJflZ','\x20&\x20hook\x20=\x20','some','sendLogCreatedEvent','TfYeY','hzzJY','ASFoe','KEY_TEST_RESULT_AT','8360PiRGmA','No\x20reason\x20provided','uUoCb','status','toString','getTraceFilePaths','trackHookEvent','Ouuqb','getTestDetails','PLRCu','Expected\x20to\x20fail,\x20but\x20passed.','../../utils/constants','KEY_TEST_LOCATION','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','message','6GvFMjn','GmTFg','steps','\x20instance=','values','KEY_HOOKS_STARTED','Error\x20processing\x20direct\x20trace\x20file\x20','YqxiD','yRzfh','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','uRIfQ','length','ctHmy','sendLogCreatedEvent:\x20testId=','step','KEY_HOOK_FAILURE_TYPE','oWKjU'];a62_0x508f=function(){return _0x2e1aae;};return a62_0x508f();}function a62_0x3871(_0x196ba0,_0x4a72b6){const _0x508f11=a62_0x508f();return a62_0x3871=function(_0x387149,_0x2a08ca){_0x387149=_0x387149-0xbf;let _0x30d276=_0x508f11[_0x387149];return _0x30d276;},a62_0x3871(_0x196ba0,_0x4a72b6);}const a62_0x1d3ec6=a62_0x3871;(function(_0x1e3841,_0x1804c2){const _0x1768be=a62_0x3871,_0x2d8e65=_0x1e3841();while(!![]){try{const _0x1a4fd9=parseInt(_0x1768be(0xd9))/0x1+parseInt(_0x1768be(0xf6))/0x2*(-parseInt(_0x1768be(0x180))/0x3)+-parseInt(_0x1768be(0xfb))/0x4+parseInt(_0x1768be(0x113))/0x5+parseInt(_0x1768be(0x143))/0x6+-parseInt(_0x1768be(0x10b))/0x7*(parseInt(_0x1768be(0x171))/0x8)+-parseInt(_0x1768be(0x125))/0x9*(-parseInt(_0x1768be(0x141))/0xa);if(_0x1a4fd9===_0x1804c2)break;else _0x2d8e65['push'](_0x2d8e65['shift']());}catch(_0x459dba){_0x2d8e65['push'](_0x2d8e65['shift']());}}}(a62_0x508f,0x40f73));const TestFramework=require(a62_0x1d3ec6(0x11b)),TestFrameworkState=require(a62_0x1d3ec6(0x138)),HookState=require(a62_0x1d3ec6(0x127)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a62_0x1d3ec6(0xdf)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a62_0x1d3ec6(0x115)),{v4:uuidv4}=require(a62_0x1d3ec6(0x123)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a62_0x1d3ec6(0xe3)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a62_0x1d3ec6(0x107)),{removeAnsiColors,getFailureType,failureData}=require(a62_0x1d3ec6(0xde)),{getFailureData,getTestTags}=require(a62_0x1d3ec6(0xcf)),{findNestedKey,sendTraceZip,validateFilePath}=require(a62_0x1d3ec6(0xcf)),path=require(a62_0x1d3ec6(0xeb)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a62_0x1d3ec6(0x17c));class PlaywrightTestFramework extends TestFramework{constructor(_0x6852f3,_0x47c08b,_0x4981f4){super(_0x6852f3,_0x47c08b,_0x4981f4);}async[a62_0x1d3ec6(0x11d)](_0xefa256,_0x1f02dc,_0xe65149={}){const _0x24365e=a62_0x1d3ec6,_0x1724b5={};_0x1724b5['uUoCb']=function(_0x3290fd,_0x176073){return _0x3290fd===_0x176073;},_0x1724b5[_0x24365e(0x167)]=function(_0x4f94c3,_0x2f0cb4){return _0x4f94c3===_0x2f0cb4;},_0x1724b5[_0x24365e(0x13c)]=function(_0x5b7fd4,_0x37d2f1){return _0x5b7fd4===_0x37d2f1;},_0x1724b5[_0x24365e(0xe0)]=_0x24365e(0xd7),_0x1724b5[_0x24365e(0xc8)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0xb5435b=_0x1724b5;await super[_0x24365e(0x11d)](_0xefa256,_0x1f02dc,_0xe65149);const _0x21d170=this[_0x24365e(0x158)](_0xefa256,_0x1f02dc,_0xe65149);if(!_0x21d170)return;logger[_0x24365e(0x152)](_0x24365e(0x168)+_0xefa256+'\x20hookState='+_0x1f02dc+_0x24365e(0xee)+_0x21d170[_0x24365e(0xda)]());try{if(_0xb5435b[_0x24365e(0x173)](_0x1f02dc,HookState[_0x24365e(0x15b)])&&_0xb5435b[_0x24365e(0x173)](_0xefa256,TestFrameworkState[_0x24365e(0xed)])){const _0x5ed3ec=_0xe65149['test'];logger[_0x24365e(0x152)](_0x24365e(0xf8)+_0x5ed3ec['id']+'}');const _0x5e3dd3=TestInfo[_0x24365e(0x135)](_0x5ed3ec['id']);_0x21d170[_0x24365e(0x126)](this[_0x24365e(0x142)](_0x5e3dd3,_0x5ed3ec)),logger[_0x24365e(0x152)](_0x24365e(0x160)+_0x5ed3ec['id']+',\x20testFrameworkState='+_0xefa256+_0x24365e(0x121)+_0x1f02dc+_0x24365e(0xbf)+_0x21d170[_0x24365e(0xda)]());}if(_0xb5435b['LnTFY'](_0x1f02dc,HookState['POST'])&&_0xb5435b[_0x24365e(0x13c)](_0xefa256,TestFrameworkState[_0x24365e(0xed)])){const _0x1fbbe3=_0xe65149['test'],_0x7a6dda=_0xe65149[_0x24365e(0x117)];logger[_0x24365e(0x152)](_0x24365e(0xc5)+_0x1fbbe3['id']),_0x21d170[_0x24365e(0x126)](this[_0x24365e(0xe6)](_0x1fbbe3['id'],_0x7a6dda,_0x1fbbe3)),this[_0x24365e(0x16c)](_0x21d170,_0xefa256,_0x1f02dc,_0xb5435b[_0x24365e(0xe0)],_0xe65149);}if(CLIUtils[_0x24365e(0x15c)](_0xefa256[_0x24365e(0x175)]()[_0x24365e(0x157)]('.')[0x1])){const _0x432a68=await this['trackHookEvent'](_0x21d170,_0xefa256,_0x1f02dc,_0xe65149);_0x21d170['addMultipleEntries'](_0x432a68);}}catch(_0x63fde4){logger[_0x24365e(0x10c)](util[_0x24365e(0x144)](_0xb5435b[_0x24365e(0xc8)],_0xefa256,_0x1f02dc,_0xe65149[_0x24365e(0xc7)],_0x63fde4));}_0xe65149[_0x24365e(0x102)]=_0x21d170,await this[_0x24365e(0xf1)](_0x21d170,_0xefa256,_0x1f02dc,_0xe65149);}[a62_0x1d3ec6(0x158)](_0x5e4162,_0x51cd9c,_0xe5b57f={}){const _0x4bd4cb=a62_0x1d3ec6,_0x33e9ce={};_0x33e9ce[_0x4bd4cb(0x14c)]=function(_0x473e87,_0x4c3684){return _0x473e87===_0x4c3684;};const _0x3d4301=_0x33e9ce;let _0x5dcaf4=null;return(_0x3d4301[_0x4bd4cb(0x14c)](_0x5e4162,TestFrameworkState[_0x4bd4cb(0xd8)])||_0x3d4301[_0x4bd4cb(0x14c)](_0x5e4162,TestFrameworkState[_0x4bd4cb(0x112)]))&&this[_0x4bd4cb(0x116)](_0x5e4162,_0xe5b57f),_0x5dcaf4=TestFramework[_0x4bd4cb(0x154)](),_0x5dcaf4;}[a62_0x1d3ec6(0x116)](_0x9105e7,_0x3b5e66){const _0x35865a=a62_0x1d3ec6,_0x25af01=CLIUtils['getCurrentInstanceName'](),_0x3708ca=TrackedInstance['createContext'](_0x25af01);let _0x3c219c=null;logger[_0x35865a(0x156)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x25af01+',\x20state='+_0x9105e7),_0x3c219c=new TestFrameworkInstance(_0x3708ca,this[_0x35865a(0xfa)](),this[_0x35865a(0xfc)](),_0x9105e7,HookState['NONE']),TestFramework[_0x35865a(0xe2)](_0x3708ca,_0x3c219c),logger[_0x35865a(0x156)](_0x35865a(0x17e)+_0x3708ca[_0x35865a(0xd3)]()+_0x35865a(0xef)+_0x25af01);}['parsePlaywrightTest'](_0x13e4bc,_0x30952a){const _0x36a418=a62_0x1d3ec6,_0xf3c988={'GmTFg':function(_0x10e937,_0x2ba76e){return _0x10e937(_0x2ba76e);},'Gabwh':function(_0x387216,_0x109ac0){return _0x387216(_0x109ac0);},'pgyAR':function(_0x213563,_0x766571){return _0x213563(_0x766571);},'oaTdI':function(_0x3c9150,_0x28ac16){return _0x3c9150(_0x28ac16);}},_0x178898=_0xf3c988['GmTFg'](getPlaywrightTestId,_0x30952a),_0x5783ef=_0xf3c988[_0x36a418(0x119)](getPlaywrightTestTitle,_0x30952a),_0x5a99ba=_0xf3c988['GmTFg'](getTestTags,_0x30952a),_0x30c40b=_0xf3c988[_0x36a418(0x14a)](getPlaywrightTestCode,_0x30952a),_0x2546ea=_0xf3c988[_0x36a418(0x119)](getPlaywrightTestFilePath,_0x30952a),_0x2286bf=_0x2546ea+':'+_0xf3c988['GmTFg'](getPlaywrightTestLocation,_0x30952a),_0x41373d=_0xf3c988[_0x36a418(0x119)](getPlaywrightTestScope,_0x30952a),_0x31999e=_0xf3c988[_0x36a418(0x181)](getPlaywrightTestScopes,_0x30952a),_0xf83d27=_0xf3c988[_0x36a418(0x166)](getPlaywrightSessionName,_0x30952a),_0x166070=this['getTestFrameworks']()[0x0],_0x18c564={[TestFrameworkConstants[_0x36a418(0x14f)]]:_0x166070,[TestFrameworkConstants[_0x36a418(0x104)]]:this[_0x36a418(0xfc)]()[_0x166070],[TestFrameworkConstants[_0x36a418(0xf3)]]:[],[TestFrameworkConstants[_0x36a418(0x163)]]:{},[TestFrameworkConstants[_0x36a418(0xc1)]]:{},[TestFrameworkConstants[_0x36a418(0x13d)]]:_0x13e4bc,[TestFrameworkConstants[_0x36a418(0x140)]]:TestFrameworkConstants[_0x36a418(0xff)],[TestFrameworkConstants[_0x36a418(0x10e)]]:_0xf83d27,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2546ea,[TestFrameworkConstants[_0x36a418(0xce)]]:_0x178898,[TestFrameworkConstants[_0x36a418(0xe9)]]:_0x5783ef,[TestFrameworkConstants[_0x36a418(0x17d)]]:_0x2286bf,[TestFrameworkConstants[_0x36a418(0x15d)]]:_0x30c40b,[TestFrameworkConstants[_0x36a418(0xf2)]]:_0x5a99ba,[TestFrameworkConstants[_0x36a418(0x131)]]:_0x30952a[_0x36a418(0x13f)][0x0][_0x36a418(0x137)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x41373d,[TestFrameworkConstants[_0x36a418(0x10f)]]:_0x31999e,[TestFrameworkConstants[_0x36a418(0x12d)]]:_0xf3c988[_0x36a418(0x181)](getPlaywrightCustomRerunParam,_0x30952a)};TestInfo[_0x36a418(0xea)](_0x30952a['id'],_0x18c564);const _0x5eb8a6={};return _0x5eb8a6[_0x178898]=_0x18c564,_0x5eb8a6;}[a62_0x1d3ec6(0xe6)](_0x4d3d35,_0x2dd364,_0x398755){const _0x2c38ea=a62_0x1d3ec6,_0x3a8bca={'iKgAx':function(_0x42f1f2,_0x9e9c15){return _0x42f1f2(_0x9e9c15);},'aLADu':_0x2c38ea(0x159),'kZViP':function(_0x4b1a6f,_0x4e7bc3){return _0x4b1a6f===_0x4e7bc3;},'hzzJY':_0x2c38ea(0x172),'iqbKN':'multi_dropdown','PLRCu':function(_0x3f5670,_0x2d2535){return _0x3f5670+_0x2d2535;},'IlWYy':function(_0x51e05e,_0x40780e){return _0x51e05e===_0x40780e;},'QxvOg':function(_0x1313bb,_0x5ebfb9){return _0x1313bb===_0x5ebfb9;},'ZxMaR':'skipped','TIkoJ':_0x2c38ea(0xdb),'lXhfW':_0x2c38ea(0x11a),'GjZMX':function(_0x9ea539,_0x28e97e){return _0x9ea539===_0x28e97e;},'Yhbcn':_0x2c38ea(0x10d),'ASFoe':_0x2c38ea(0x17b),'yRzfh':function(_0x365d59,_0xdc0e0b,_0x1752df){return _0x365d59(_0xdc0e0b,_0x1752df);},'elRxR':function(_0x34f291,_0x2ba1fe){return _0x34f291||_0x2ba1fe;},'oWKjU':function(_0x39bce2,_0x1ca7fb){return _0x39bce2(_0x1ca7fb);},'QthGt':_0x2c38ea(0xeb),'eYpIY':function(_0x3f191d,_0x5533b1){return _0x3f191d(_0x5533b1);},'XzMtb':function(_0x151ea2,_0x8e3e23){return _0x151ea2>_0x8e3e23;}};logger[_0x2c38ea(0x152)](_0x2c38ea(0x15f)+_0x4d3d35);const _0x14a002=new Date(_0x2dd364[_0x2c38ea(0x137)]),_0x453b58=_0x2dd364['duration'],_0x4df9d0=new Date(_0x3a8bca[_0x2c38ea(0x17a)](_0x14a002['getTime'](),_0x453b58)),_0x37f542=_0x2dd364['status'],_0xec655d=TestInfo[_0x2c38ea(0x179)](_0x4d3d35)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x37c8c3=_0x37f542;if(_0x3a8bca['IlWYy'](_0x2dd364[_0x2c38ea(0x174)],_0x398755[_0x2c38ea(0x108)]))_0x37c8c3=_0x3a8bca['QxvOg'](_0x2dd364[_0x2c38ea(0x174)],_0x3a8bca[_0x2c38ea(0x13b)])?_0x3a8bca['ZxMaR']:_0x3a8bca[_0x2c38ea(0x122)];else{(_0x3a8bca[_0x2c38ea(0x12b)](_0x37c8c3,_0x3a8bca[_0x2c38ea(0x122)])||_0x3a8bca['QxvOg'](_0x37c8c3,_0x3a8bca[_0x2c38ea(0x134)])||_0x3a8bca[_0x2c38ea(0xdd)](_0x37c8c3,_0x3a8bca[_0x2c38ea(0x128)]))&&(_0x37c8c3=_0x3a8bca['lXhfW']);if(_0x3a8bca['GjZMX'](_0x2dd364[_0x2c38ea(0x174)],_0x3a8bca['TIkoJ'])&&_0x3a8bca[_0x2c38ea(0x12b)](_0x398755[_0x2c38ea(0x108)],_0x3a8bca['lXhfW'])){const _0x5ef3f9={};_0x5ef3f9[_0x2c38ea(0x17f)]=_0x3a8bca[_0x2c38ea(0x16f)],_0x5ef3f9['stack']=_0x3a8bca[_0x2c38ea(0x16f)],_0x2dd364['error']=_0x5ef3f9,_0x2dd364['errors']=[_0x2dd364[_0x2c38ea(0x10c)]];}}const {failureData:_0xa4210a,logs:_0xadec26}=_0x3a8bca[_0x2c38ea(0xc4)](getFailureData,_0x2dd364?.[_0x2c38ea(0xfe)],{}),_0x491c2f={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x3a8bca[_0x2c38ea(0xec)](_0xa4210a,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x2dd364?.[_0x2c38ea(0x10c)]&&_0x3a8bca['iKgAx'](getFailureType,_0x2dd364[_0x2c38ea(0x10c)][_0x2c38ea(0x17f)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x2dd364?.[_0x2c38ea(0x10c)]&&_0x3a8bca[_0x2c38ea(0xcc)](removeAnsiColors,_0x2dd364[_0x2c38ea(0x10c)][_0x2c38ea(0x17f)]),[TestFrameworkConstants[_0x2c38ea(0xf4)]]:[],[TestFrameworkConstants[_0x2c38ea(0x140)]]:_0x2dd364[_0x2c38ea(0x174)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4df9d0['toISOString'](),[TestFrameworkConstants[_0x2c38ea(0x170)]]:new Date()[_0x2c38ea(0x165)](),[TestFrameworkConstants[_0x2c38ea(0x106)]]:_0xec655d},_0x211b31={};_0x211b31[_0x2c38ea(0xd7)]=_0x398755;const _0x47e1e3=this[_0x2c38ea(0x158)](TestFrameworkState[_0x2c38ea(0xed)],HookState[_0x2c38ea(0x120)],_0x211b31),_0x107863=_0x47e1e3[_0x2c38ea(0x14e)]()[_0x2c38ea(0xf0)](_0x4d3d35)[TestFrameworkConstants['KEY_TEST_UUID']],_0x5494c9=[],_0x3f7502=_0x3a8bca[_0x2c38ea(0xc4)](findNestedKey,_0x2dd364,_0x3a8bca[_0x2c38ea(0x133)]);if(_0x3f7502&&_0x3a8bca['eYpIY'](validateFilePath,_0x3f7502))try{_0x5494c9[_0x2c38ea(0x15e)]({'kind':_0x3a8bca[_0x2c38ea(0x12c)],'timestamp':new Date()[_0x2c38ea(0x165)](),'test_run_uuid':_0x107863,'file_name':path[_0x2c38ea(0x150)](_0x3f7502),'file_size':fs[_0x2c38ea(0xfd)](_0x3f7502)[_0x2c38ea(0x139)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x54abae){logger['error'](_0x2c38ea(0xc2)+_0x3f7502+':\x20'+_0x54abae['message']);}const _0xf78e30=TestInfo[_0x2c38ea(0x176)](),_0x197a69=_0xf78e30[_0x2c38ea(0x101)](_0x297793=>_0x297793['testUId']===_0x107863);_0x197a69[_0x2c38ea(0x13a)](_0x2b87a7=>{const _0x3fa85b=_0x2c38ea;if(_0x2b87a7[_0x3fa85b(0x118)]&&_0x3a8bca[_0x3fa85b(0x11f)](validateFilePath,_0x2b87a7[_0x3fa85b(0x118)])&&!_0x5494c9[_0x3fa85b(0x16b)](_0x4b3e36=>_0x4b3e36[_0x3fa85b(0xcd)]===path[_0x3fa85b(0x150)](_0x2b87a7['filePath'])))try{_0x5494c9[_0x3fa85b(0x15e)]({'kind':_0x3a8bca['aLADu'],'timestamp':new Date()[_0x3fa85b(0x165)](),'test_run_uuid':_0x107863,'file_name':path[_0x3fa85b(0x150)](_0x2b87a7[_0x3fa85b(0x118)]),'file_size':fs['statSync'](_0x2b87a7[_0x3fa85b(0x118)])[_0x3fa85b(0x139)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1a0fd8){logger[_0x3fa85b(0x10c)](_0x3fa85b(0xd0)+_0x2b87a7[_0x3fa85b(0x118)]+_0x3fa85b(0xf7)+_0x1a0fd8['message']);}});if(_0x3a8bca['XzMtb'](_0x5494c9[_0x2c38ea(0xc7)],0x0)){const _0x3f4726=_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]||[];_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]=[..._0x3f4726,..._0x5494c9];}const _0x5b7bc5=TestInfo[_0x2c38ea(0x179)](_0x4d3d35)[TestFrameworkConstants[_0x2c38ea(0xf9)]]||{},_0x403286=_0x3a8bca[_0x2c38ea(0xc4)](getManualUploadLogs,_0x5b7bc5,_0x47e1e3[_0x2c38ea(0x14e)]()[_0x2c38ea(0xf0)](_0x4d3d35)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x3a8bca[_0x2c38ea(0x111)](_0x403286[_0x2c38ea(0xc7)],0x0)){const _0x3c4174=_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]||[];_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]=[..._0x3c4174,..._0x403286];}const _0x1513c2=_0x398755['annotations']||[],_0x32b596=_0x491c2f[TestFrameworkConstants[_0x2c38ea(0x106)]]||{};_0x1513c2[_0x2c38ea(0x13a)](_0x4f8fe4=>{const _0x49a9aa=_0x2c38ea,{type:_0x4617a6}=_0x4f8fe4;let _0x419601=_0x4f8fe4[_0x49a9aa(0x148)];if(!_0x4617a6)return;(_0x3a8bca[_0x49a9aa(0xdc)](_0x419601,undefined)||_0x3a8bca[_0x49a9aa(0xdc)](_0x419601,null)||_0x3a8bca[_0x49a9aa(0xdc)](_0x3a8bca[_0x49a9aa(0x11f)](String,_0x419601)[_0x49a9aa(0x132)](),''))&&(_0x419601=_0x3a8bca[_0x49a9aa(0x16e)]);if(!_0x32b596[_0x4617a6]){const _0x16f836={};_0x16f836[_0x49a9aa(0x110)]=_0x3a8bca['iqbKN'],_0x16f836[_0x49a9aa(0xc0)]=[],_0x32b596[_0x4617a6]=_0x16f836;}else!_0x32b596[_0x4617a6]['field_type']&&(_0x32b596[_0x4617a6]['field_type']=_0x3a8bca[_0x49a9aa(0x105)]),!Array[_0x49a9aa(0xd2)](_0x32b596[_0x4617a6][_0x49a9aa(0xc0)])&&(_0x32b596[_0x4617a6][_0x49a9aa(0xc0)]=[]);const _0x5f40fc=_0x3a8bca[_0x49a9aa(0x11f)](String,_0x419601)[_0x49a9aa(0x157)](',')['map'](_0x310659=>_0x310659[_0x49a9aa(0x132)]());_0x32b596[_0x4617a6]['values']=[...new Set([..._0x32b596[_0x4617a6]['values'],..._0x5f40fc])];}),_0x491c2f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x32b596,TestInfo[_0x2c38ea(0xea)](_0x4d3d35,_0x491c2f);const _0x129cfa={};return _0x129cfa[_0x4d3d35]=_0x491c2f,_0x129cfa;}async[a62_0x1d3ec6(0x177)](_0x25f29a,_0x54ec56,_0x43c615,_0x2fbdff){const _0x1ed795=a62_0x1d3ec6,_0x12ec8c={'LZRHy':function(_0x3aa763,_0x29997a){return _0x3aa763 in _0x29997a;},'EvERc':function(_0x46cc21,_0x50ac62){return _0x46cc21 in _0x50ac62;},'TfYeY':function(_0x7c1d4e,_0x56e2a3){return _0x7c1d4e(_0x56e2a3);},'JNHOS':function(_0x518fa8,_0x205c4d){return _0x518fa8(_0x205c4d);},'JOShH':function(_0x2ff8e5,_0x526be6){return _0x2ff8e5===_0x526be6;},'WZNqm':function(_0x5df68d){return _0x5df68d();},'qJFdZ':function(_0x151aeb,_0x250aaf){return _0x151aeb===_0x250aaf;},'Ouuqb':function(_0x53aba9,_0x68525c){return _0x53aba9>_0x68525c;},'qEIGA':function(_0x2699c8,_0x4bb3af,_0xc2aa79){return _0x2699c8(_0x4bb3af,_0xc2aa79);},'YqxiD':_0x1ed795(0x14b),'hreQi':function(_0x524843,_0x742827){return _0x524843(_0x742827);},'Fpqva':function(_0x35538c,_0x2d82d1){return _0x35538c(_0x2d82d1);},'uRIfQ':_0x1ed795(0x11a),'soVQq':_0x1ed795(0xdb),'BdGiJ':function(_0x4977cf,_0x16362e){return _0x4977cf!==_0x16362e;},'RZqTy':function(_0x3b040c,_0x1eb434){return _0x3b040c+_0x1eb434;},'kMStD':'hook'},_0x13edc4=_0x2fbdff[_0x1ed795(0xd7)],_0x1d002a=_0x2fbdff['step'],_0x429aff=_0x2fbdff[_0x1ed795(0xd7)]['id'],_0x2f6a40=_0x54ec56[_0x1ed795(0x175)]()[_0x1ed795(0x157)]('.')[0x1];let _0x440e92=_0x25f29a[_0x1ed795(0x14e)]()['get'](_0x429aff)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x440e92&&(_0x440e92={});!_0x12ec8c[_0x1ed795(0xd5)](_0x2f6a40,_0x440e92)&&(_0x440e92[_0x2f6a40]=[]);let _0x58dde8=_0x25f29a['getAllData']()[_0x1ed795(0xf0)](_0x429aff)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x58dde8&&(_0x58dde8={});!_0x12ec8c[_0x1ed795(0x130)](_0x2f6a40,_0x58dde8)&&(_0x58dde8[_0x2f6a40]=[]);const _0x1d41fc={[TestFrameworkConstants[_0x1ed795(0xc1)]]:_0x440e92,[TestFrameworkConstants[_0x1ed795(0x163)]]:_0x58dde8},_0x4afe04={};_0x4afe04[_0x429aff]=_0x1d41fc;const _0x2446c5=_0x4afe04,_0x551d16=_0x12ec8c[_0x1ed795(0x16d)](getPlaywrightTestFilePath,_0x13edc4),_0x1eac5e=_0x551d16+':'+_0x12ec8c[_0x1ed795(0x11e)](getPlaywrightTestLocation,_0x13edc4),_0x252d44=TestInfo['getTestDetails'](_0x429aff)[TestFrameworkConstants[_0x1ed795(0x106)]]||{};if(_0x12ec8c['JOShH'](_0x43c615,HookState[_0x1ed795(0x15b)])){const _0x2706f5={'key':_0x2f6a40,[TestFrameworkConstants[_0x1ed795(0x114)]]:_0x12ec8c[_0x1ed795(0x124)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x1ed795(0x109)]]:_0x1d002a[_0x1ed795(0x137)],[TestFrameworkConstants[_0x1ed795(0x15a)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1d002a[_0x1ed795(0x100)],[TestFrameworkConstants[_0x1ed795(0xe1)]]:_0x551d16,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1eac5e,[TestFrameworkConstants[_0x1ed795(0x106)]]:_0x252d44};_0x440e92[_0x2f6a40][_0x1ed795(0x15e)](_0x2706f5),_0x2446c5[_0x429aff][TestFrameworkConstants[_0x1ed795(0xf5)]]=_0x2f6a40,logger[_0x1ed795(0x152)](_0x1ed795(0x12a)+_0x2f6a40+_0x1ed795(0x16a)+_0x2706f5+'\x20\x20and\x20args\x20=\x20'+_0x2fbdff);}else{if(_0x12ec8c[_0x1ed795(0xe7)](_0x43c615,HookState[_0x1ed795(0x120)])){const _0x245429=await _0x2fbdff['result'],_0x4df6fb=_0x440e92[_0x2f6a40]||[],_0x4aadc1=_0x2fbdff[_0x1ed795(0xca)];logger[_0x1ed795(0x152)](_0x1ed795(0x145)+_0x4df6fb+'\x20and\x20args\x20=\x20'+_0x2fbdff);if(_0x12ec8c[_0x1ed795(0x178)](_0x4df6fb[_0x1ed795(0xc7)],0x0)){const _0x5b0a51=_0x4df6fb[_0x1ed795(0x147)]();if(_0x4aadc1[_0x1ed795(0x10c)]){const _0x48a147=_0x12ec8c[_0x1ed795(0x11c)](failureData,_0x4aadc1['error'],_0x12ec8c[_0x1ed795(0xc3)]);_0x5b0a51[TestFrameworkConstants[_0x1ed795(0xcb)]]=_0x12ec8c[_0x1ed795(0x13e)](getFailureType,_0x4aadc1?.[_0x1ed795(0x10c)][_0x1ed795(0x17f)]),_0x5b0a51[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x12ec8c['Fpqva'](removeAnsiColors,_0x4aadc1?.[_0x1ed795(0x10c)][_0x1ed795(0x17f)]),_0x5b0a51[TestFrameworkConstants[_0x1ed795(0xd6)]]=_0x12ec8c[_0x1ed795(0xc6)],_0x5b0a51[TestFrameworkConstants[_0x1ed795(0x162)]]=_0x48a147;}else _0x5b0a51[TestFrameworkConstants[_0x1ed795(0xd6)]]=_0x12ec8c[_0x1ed795(0xe8)];_0x12ec8c['BdGiJ'](_0x245429,TestFrameworkConstants[_0x1ed795(0x149)])&&(_0x5b0a51[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x4aadc1[_0x1ed795(0x10c)]?_0x12ec8c[_0x1ed795(0xe8)]:_0x12ec8c['uRIfQ']);const _0x59a3b5=new Date(_0x4aadc1[_0x1ed795(0x137)]),_0x412eb6=new Date(_0x12ec8c['RZqTy'](_0x59a3b5['getTime'](),_0x4aadc1['duration']));_0x5b0a51[TestFrameworkConstants[_0x1ed795(0x12f)]]=_0x412eb6[_0x1ed795(0x165)](),_0x5b0a51[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x252d44;const _0x4025ae=_0x5b0a51[TestFrameworkConstants[_0x1ed795(0x114)]];await this[_0x1ed795(0x16c)](_0x25f29a,_0x54ec56,_0x4025ae,_0x12ec8c[_0x1ed795(0xd4)],_0x2fbdff),!_0x58dde8[_0x2f6a40]&&(_0x58dde8[_0x2f6a40]=[]),_0x58dde8[_0x2f6a40][_0x1ed795(0x15e)](_0x5b0a51),_0x2446c5[_0x429aff][TestFrameworkConstants[_0x1ed795(0x155)]]=_0x2f6a40;}}}return _0x2446c5;}async[a62_0x1d3ec6(0x16c)](_0x30387c,_0xe62545,_0x4a41bc,_0xc7c428,_0x534eae){const _0x5b529c=a62_0x1d3ec6,_0xe7ab62={'PCjCR':function(_0x3bb67e,_0x194348){return _0x3bb67e===_0x194348;},'pJflZ':'test','yIhFl':function(_0x1c84ab,_0x215e77,_0x25efe4){return _0x1c84ab(_0x215e77,_0x25efe4);},'gwYjI':function(_0x39d37e,_0x3e3992,_0x424775,_0x1e8749){return _0x39d37e(_0x3e3992,_0x424775,_0x1e8749);},'jrNRa':function(_0x24de68,_0x35f4bc,_0x570cfa){return _0x24de68(_0x35f4bc,_0x570cfa);},'osVSw':function(_0x3c5ff5,_0x2e6b6a,_0x590a40){return _0x3c5ff5(_0x2e6b6a,_0x590a40);},'ZEwxx':function(_0x488c70,_0x3aaff2,_0x2b1adc){return _0x488c70(_0x3aaff2,_0x2b1adc);},'riFJw':function(_0x439903,_0x3fab27,_0x14b1c3,_0x1b0b92,_0x234f00){return _0x439903(_0x3fab27,_0x14b1c3,_0x1b0b92,_0x234f00);},'wfibS':_0x5b529c(0x103)};try{if(_0xe7ab62['PCjCR'](_0xc7c428,_0xe7ab62[_0x5b529c(0x169)])){const _0xc3ce5e=await _0x534eae[_0x5b529c(0x117)],_0x1f4071=_0x534eae['test']['id'],_0xaf3bf3=_0x534eae[_0x5b529c(0xd7)];logger[_0x5b529c(0x152)]('sendLogCreatedEvent:\x20testId='+_0x1f4071);const _0x2d496b=_0x30387c[_0x5b529c(0x14e)]()['get'](_0x1f4071)[TestFrameworkConstants[_0x5b529c(0x13d)]];await _0xe7ab62[_0x5b529c(0x161)](sendTraceZip,_0xc3ce5e,_0x2d496b);const {steps:_0xef24f5,logs:_0x4ad62b}=_0xe7ab62['gwYjI'](getStepsAndLogs,_0xc3ce5e['steps'],_0x30387c[_0x5b529c(0x14e)]()['get'](_0x1f4071)[TestFrameworkConstants['KEY_TEST_UUID']],_0xe7ab62['pJflZ']),_0x54eb4b=_0xe7ab62[_0x5b529c(0x129)](getScreenshots,_0xc3ce5e,_0x30387c['getAllData']()['get'](_0x1f4071)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x439302,logs:_0x3abfcb}=_0xe7ab62[_0x5b529c(0x164)](getFailureData,_0xc3ce5e[_0x5b529c(0xfe)],{'test_run_uuid':_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x1f4071)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x2a7fde=TestInfo[_0x5b529c(0x179)](_0x1f4071)[TestFrameworkConstants[_0x5b529c(0xf9)]]||{},_0x2d194f=_0xe7ab62[_0x5b529c(0x136)](getMediaArtifactsLogs,_0x2a7fde,_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x1f4071)[TestFrameworkConstants[_0x5b529c(0x13d)]]),_0x5a26d9=_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x1f4071),{[TestFrameworkConstants[_0x5b529c(0x14f)]]:_0x28c887='',[TestFrameworkConstants[_0x5b529c(0x104)]]:_0x2773ce=''}=_0x5a26d9,_0x268c53={'platformIndex':'0','logs':[..._0x4ad62b||[],..._0x54eb4b||[],..._0x3abfcb||[],..._0x2d194f||[]],'testFrameworkName':_0x28c887,'testFrameworkVersion':_0x2773ce,'testFrameworkState':_0xe62545[_0x5b529c(0x175)]()['split']('.')[0x1]};_0xe7ab62[_0x5b529c(0x153)](updatePayloadForTraceLogs,_0x268c53,_0x534eae,_0x1f4071,_0x30387c),logger[_0x5b529c(0x152)](_0x5b529c(0x12e)+_0x1f4071+_0x5b529c(0xe4)+util[_0x5b529c(0x10a)](_0x268c53));const _0x511eb8=await GrpcClient[_0x5b529c(0x146)]()[_0x5b529c(0xe5)](_0x268c53);}else{const {steps:_0x403c1a,logs:_0x52bdc7}=_0xe7ab62[_0x5b529c(0xd1)](getStepsAndLogs,_0x534eae['step'][_0x5b529c(0x182)],_0x4a41bc,_0xe7ab62[_0x5b529c(0x151)]),_0x3fcc1a=_0x534eae[_0x5b529c(0xd7)]['id'];logger[_0x5b529c(0x152)](_0x5b529c(0xc9)+_0x3fcc1a);const _0x3997c6=_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x3fcc1a),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x49f222='',[TestFrameworkConstants[_0x5b529c(0x104)]]:_0x4db6cf=''}=_0x3997c6,_0x5315d5={'platformIndex':'0','logs':_0x52bdc7,'testFrameworkName':_0x49f222,'testFrameworkVersion':_0x4db6cf,'testFrameworkState':_0xe62545[_0x5b529c(0x175)]()[_0x5b529c(0x157)]('.')[0x1]};_0xe7ab62[_0x5b529c(0x153)](updatePayloadForTraceLogs,_0x5315d5,_0x534eae,_0x3fcc1a,_0x30387c),logger[_0x5b529c(0x152)](_0x5b529c(0x12e)+_0x3fcc1a+_0x5b529c(0xe4)+util[_0x5b529c(0x10a)](_0x5315d5));const _0x5f1349=await GrpcClient[_0x5b529c(0x146)]()['logCreatedEvent'](_0x5315d5);}}catch(_0x439c58){logger[_0x5b529c(0x10c)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x5b529c(0x144)](_0x439c58));}}}module[a62_0x1d3ec6(0x14d)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a63_0x456558=a63_0x482f;(function(_0x4bf9df,_0x4b852e){const _0x4f1224=a63_0x482f,_0x5ad8c8=_0x4bf9df();while(!![]){try{const _0x3beeba=parseInt(_0x4f1224(0x1f3))/0x1+-parseInt(_0x4f1224(0x1fb))/0x2+parseInt(_0x4f1224(0x1f2))/0x3*(-parseInt(_0x4f1224(0x214))/0x4)+-parseInt(_0x4f1224(0x207))/0x5*(-parseInt(_0x4f1224(0x1f6))/0x6)+parseInt(_0x4f1224(0x1f1))/0x7*(-parseInt(_0x4f1224(0x203))/0x8)+-parseInt(_0x4f1224(0x1ee))/0x9+parseInt(_0x4f1224(0x209))/0xa;if(_0x3beeba===_0x4b852e)break;else _0x5ad8c8['push'](_0x5ad8c8['shift']());}catch(_0x46c598){_0x5ad8c8['push'](_0x5ad8c8['shift']());}}}(a63_0x4c4d,0x502b7));const CLIUtils=require(a63_0x456558(0x212)),eventDispatcher=require(a63_0x456558(0x1f8)),TestFrameworkInstance=require(a63_0x456558(0x20e)),TrackedContext=require(a63_0x456558(0x213)),TestFrameworkState=require(a63_0x456558(0x201)),HookState=require(a63_0x456558(0x1fd)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a63_0x456558(0x200)),logger=createClassLogger(a63_0x456558(0x217));function a63_0x482f(_0x5e127a,_0x1a0913){const _0x4c4da4=a63_0x4c4d();return a63_0x482f=function(_0x482f44,_0x16e197){_0x482f44=_0x482f44-0x1ee;let _0x17a828=_0x4c4da4[_0x482f44];return _0x17a828;},a63_0x482f(_0x5e127a,_0x1a0913);}class TestFramework{static [a63_0x456558(0x1f5)]=new Map();[a63_0x456558(0x20b)]=[];[a63_0x456558(0x20d)]={};[a63_0x456558(0x21b)]=null;constructor(_0x34260d,_0x27b0cf,_0x2619c2){const _0x513e9b=a63_0x456558;this[_0x513e9b(0x20b)]=_0x34260d,this[_0x513e9b(0x20d)]=_0x27b0cf,this[_0x513e9b(0x21b)]=_0x2619c2;}[a63_0x456558(0x216)](){return TestFramework['instances'];}[a63_0x456558(0x204)](_0x29f7d5,_0x4d44a4){const _0x39665d=a63_0x456558;TestFramework[_0x39665d(0x1f5)]['set'](_0x29f7d5[_0x39665d(0x1f4)],_0x4d44a4);}static[a63_0x456558(0x1fa)](){const _0x58d8d4=a63_0x456558,_0x376c50=TrackedInstance[_0x58d8d4(0x202)](CLIUtils[_0x58d8d4(0x1ef)]());return TestFramework[_0x58d8d4(0x1f5)][_0x58d8d4(0x208)](_0x376c50[_0x58d8d4(0x1f4)]());}static[a63_0x456558(0x1f9)](_0x5d9834,_0x4d3f8b){const _0x212ee7=a63_0x456558;TestFramework[_0x212ee7(0x1f5)][_0x212ee7(0x206)](_0x5d9834[_0x212ee7(0x1f4)](),_0x4d3f8b);}[a63_0x456558(0x205)](){return this['testFrameworkVersions'];}[a63_0x456558(0x1fe)](){const _0x4b75c8=a63_0x456558;return this[_0x4b75c8(0x20b)];}[a63_0x456558(0x218)](_0x78295a,_0x650096,_0x58a4d2={}){const _0x4341aa=a63_0x456558;logger[_0x4341aa(0x20c)]('trackEvent:\x20testFrameworkState='+_0x78295a+_0x4341aa(0x219)+_0x650096);}async[a63_0x456558(0x1ff)](_0x173ca5,_0x44e99d,_0xc7b0ac,_0x332a34={}){const _0x3aa2c4=a63_0x456558,_0x49a177=CLIUtils[_0x3aa2c4(0x210)](_0x44e99d,_0xc7b0ac);_0x173ca5['setCurrentTestState'](_0x44e99d),_0x173ca5[_0x3aa2c4(0x1f7)](_0xc7b0ac),await eventDispatcher[_0x3aa2c4(0x1fc)](_0x49a177,_0x332a34);}static[a63_0x456558(0x20f)](_0x518bea,_0x28dd4c,_0x1d6fc5){const _0x8f8a03=a63_0x456558;eventDispatcher[_0x8f8a03(0x20f)](CLIUtils[_0x8f8a03(0x210)](_0x518bea,_0x28dd4c),_0x1d6fc5);}static[a63_0x456558(0x20a)](_0x3bb15b,_0xd6e61f){const _0x488cab=a63_0x456558;return _0x3bb15b[_0x488cab(0x1f0)]()[_0x488cab(0x208)](_0xd6e61f);}static[a63_0x456558(0x21a)](_0x1797fe,_0x3db852,_0x65c4b0){const _0x54f27a=a63_0x456558;_0x1797fe[_0x54f27a(0x1f0)]()[_0x54f27a(0x206)](_0x3db852,_0x65c4b0);}static[a63_0x456558(0x215)](_0x54060d,_0x57afae){const _0x372ef0=a63_0x456558;return _0x54060d[_0x372ef0(0x1f0)]()['has'](_0x57afae);}}function a63_0x4c4d(){const _0x5e2a80=['exports','../cliUtils','../instances/trackedContext','11828dyBfWx','hasState','getInstances','TestFramework','trackEvent',';\x20hookState=','setState','binSessionId','729027PNGTmJ','getCurrentInstanceName','getAllData','1250501uLGYlT','615BcbXph','350955qrTPFp','getId','instances','12WTkdlM','setCurrentHookState','../eventDispatcher','setTrackedInstance','getTrackedInstance','86860MDYbdu','notifyObserver','../state/hookState','getTestFrameworks','runHooks','../instances/trackedInstance','../state/testFrameworkState','createContext','24tWaOUq','setInstance','getTestFrameworksVersions','set','850930SjFglj','get','9035950bqVwvW','getState','testFrameworks','debug','testFrameworkVersions','../instances/testFrameworkInstance','registerObserver','getHookRegistryKey'];a63_0x4c4d=function(){return _0x5e2a80;};return a63_0x4c4d();}module[a63_0x456558(0x211)]=TestFramework;
1
+ const a63_0x4c2215=a63_0x25b6;(function(_0x49f6f3,_0x58ed0a){const _0x415a1c=a63_0x25b6,_0x3845d4=_0x49f6f3();while(!![]){try{const _0x27120f=parseInt(_0x415a1c(0x161))/0x1+parseInt(_0x415a1c(0x189))/0x2*(-parseInt(_0x415a1c(0x166))/0x3)+-parseInt(_0x415a1c(0x164))/0x4*(-parseInt(_0x415a1c(0x18a))/0x5)+-parseInt(_0x415a1c(0x16c))/0x6+parseInt(_0x415a1c(0x183))/0x7+-parseInt(_0x415a1c(0x168))/0x8+parseInt(_0x415a1c(0x162))/0x9*(parseInt(_0x415a1c(0x15d))/0xa);if(_0x27120f===_0x58ed0a)break;else _0x3845d4['push'](_0x3845d4['shift']());}catch(_0x4371d1){_0x3845d4['push'](_0x3845d4['shift']());}}}(a63_0x5195,0x5f7ad));const CLIUtils=require(a63_0x4c2215(0x174)),eventDispatcher=require(a63_0x4c2215(0x172)),TestFrameworkInstance=require(a63_0x4c2215(0x16d)),TrackedContext=require(a63_0x4c2215(0x180)),TestFrameworkState=require(a63_0x4c2215(0x163)),HookState=require(a63_0x4c2215(0x17c)),{createClassLogger}=require(a63_0x4c2215(0x16a)),TrackedInstance=require(a63_0x4c2215(0x17f)),logger=createClassLogger('TestFramework');class TestFramework{static [a63_0x4c2215(0x177)]=new Map();['testFrameworks']=[];[a63_0x4c2215(0x16f)]={};['binSessionId']=null;constructor(_0x95ab05,_0x222c23,_0x5896c2){const _0x19947e=a63_0x4c2215;this['testFrameworks']=_0x95ab05,this[_0x19947e(0x16f)]=_0x222c23,this[_0x19947e(0x16e)]=_0x5896c2;}[a63_0x4c2215(0x17e)](){const _0x4fb9c9=a63_0x4c2215;return TestFramework[_0x4fb9c9(0x177)];}[a63_0x4c2215(0x15e)](_0x4b1019,_0x4180c3){TestFramework['instances']['set'](_0x4b1019['getId'],_0x4180c3);}static['getTrackedInstance'](){const _0x5ac7cd=a63_0x4c2215,_0x3568c5=TrackedInstance[_0x5ac7cd(0x179)](CLIUtils[_0x5ac7cd(0x15f)]());return TestFramework['instances'][_0x5ac7cd(0x165)](_0x3568c5[_0x5ac7cd(0x182)]());}static[a63_0x4c2215(0x186)](_0x5a880f,_0x3bd332){const _0x3d6626=a63_0x4c2215;TestFramework[_0x3d6626(0x177)][_0x3d6626(0x181)](_0x5a880f[_0x3d6626(0x182)](),_0x3bd332);}[a63_0x4c2215(0x169)](){const _0x8c860d=a63_0x4c2215;return this[_0x8c860d(0x16f)];}[a63_0x4c2215(0x160)](){const _0xaa517b=a63_0x4c2215;return this[_0xaa517b(0x17a)];}[a63_0x4c2215(0x171)](_0xe50c27,_0x1b7fe1,_0x527874={}){const _0x5c0e58=a63_0x4c2215;logger[_0x5c0e58(0x184)](_0x5c0e58(0x175)+_0xe50c27+_0x5c0e58(0x17d)+_0x1b7fe1);}async[a63_0x4c2215(0x187)](_0x2ce000,_0x415d25,_0x57687b,_0x6335f8={}){const _0x40a1e0=a63_0x4c2215,_0x5211fa=CLIUtils[_0x40a1e0(0x170)](_0x415d25,_0x57687b);_0x2ce000[_0x40a1e0(0x188)](_0x415d25),_0x2ce000[_0x40a1e0(0x16b)](_0x57687b),await eventDispatcher[_0x40a1e0(0x17b)](_0x5211fa,_0x6335f8);}static['registerObserver'](_0x1a26d8,_0x59768c,_0x3f8370){const _0x71b7c4=a63_0x4c2215;eventDispatcher[_0x71b7c4(0x167)](CLIUtils[_0x71b7c4(0x170)](_0x1a26d8,_0x59768c),_0x3f8370);}static[a63_0x4c2215(0x173)](_0x1a241d,_0x1b4ddd){const _0x255d21=a63_0x4c2215;return _0x1a241d[_0x255d21(0x185)]()[_0x255d21(0x165)](_0x1b4ddd);}static[a63_0x4c2215(0x176)](_0x7f9d38,_0x3c8521,_0x56b1ce){const _0x448ae2=a63_0x4c2215;_0x7f9d38['getAllData']()[_0x448ae2(0x181)](_0x3c8521,_0x56b1ce);}static[a63_0x4c2215(0x15c)](_0x3d0979,_0x21f976){const _0x28cdfa=a63_0x4c2215;return _0x3d0979[_0x28cdfa(0x185)]()['has'](_0x21f976);}}module[a63_0x4c2215(0x178)]=TestFramework;function a63_0x25b6(_0x220f0f,_0x2af2c3){const _0x51951f=a63_0x5195();return a63_0x25b6=function(_0x25b68d,_0x15d41a){_0x25b68d=_0x25b68d-0x15c;let _0x473ee6=_0x51951f[_0x25b68d];return _0x473ee6;},a63_0x25b6(_0x220f0f,_0x2af2c3);}function a63_0x5195(){const _0x5ba3ed=['171OTAZpz','registerObserver','4732232BykhSl','getTestFrameworksVersions','../../../helpers/classLogger','setCurrentHookState','1317180xLvaYu','../instances/testFrameworkInstance','binSessionId','testFrameworkVersions','getHookRegistryKey','trackEvent','../eventDispatcher','getState','../cliUtils','trackEvent:\x20testFrameworkState=','setState','instances','exports','createContext','testFrameworks','notifyObserver','../state/hookState',';\x20hookState=','getInstances','../instances/trackedInstance','../instances/trackedContext','set','getId','4525073TrCyeR','debug','getAllData','setTrackedInstance','runHooks','setCurrentTestState','22930UkYvWo','5dxzMdm','hasState','1161790SRmKLm','setInstance','getCurrentInstanceName','getTestFrameworks','539525FtKbCM','45XnMdBl','../state/testFrameworkState','355160KWnBNk','get'];a63_0x5195=function(){return _0x5ba3ed;};return a63_0x5195();}
@@ -1 +1 @@
1
- const a64_0x8f1ea1=a64_0x4149;function a64_0x516c(){const _0x15e266=['16257dAsTHu','TestFrameworkEvent\x20request\x20successful','../utils/constants','fMfgv','end','binSessionId','stop-bin-session\x20response:\x20','debug','level','setHash','TestSessionEventRequest','ConnectBinSession\x20error:\x20','Sending\x20DriverInit','MSGbS','Sending\x20LogCreatedEvent','RZWLi','setLanguage','encode','start','TestFrameworkEvent\x20error:\x20','aPsTx','connect-bin-session\x20response:\x20','PNjUO','setUuid','setFrameworksList','setFrameworkName','WnZRN','LogCreatedEvent\x20request\x20successful','name','logger','Sending\x20TestSessionEvent','playwrightConfig','fbOlX','set','gZzdn','Getting\x20Playwright\x20config','addFrameworks','DriverInit\x20request\x20successful','TestFrameworkEventRequest','winstonLogger','StopBinSessionRequest','uaQBu','../../helpers/performance/constants','Error\x20in\x20TestFrameworkEvent:\x20','channel','nhxZz','DriverInit\x20error:\x20','setAttachmentType','vPUCP','moeJD','setCapabilities','UwKtV','processId','setFileName','setKind','1755906QVjUON','path','setUserInputParams','JGPgo','4079201AjQEhV','createInsecure','GrpcClient','error','connectBinSession','uzodB','frameworkSessionId','SDK_START_BIN_SESSION','setBinSessionId','BMDeb','46QzUtxO','mHrlK','ref','SDK_AUTOMATION_FRAMEWORK_INIT','ClDtN','kbDUe','SDK_CONNECT_BIN_SESSION','StopBinSession\x20successful','AccessibilityConfig\x20error:\x20','setEventJson','../../helpers/logger.js','logCreatedEvent','StartBinSession\x20error:\x20','slice','setFilePath','\x20and\x20listen\x20address:\x20','uuid','AutomationSession','setStartedAt','stringify','forEach','cugiV','Getting\x20Accessibility\x20config','setMessage','client','connect','threadId','../../helpers/performance/performance-tester.js','setTestFramework','AccessibilityConfigRequest','ZlyAh','tuaXx','tjLnY','getAutomationFrameworkDetail','setThreadId','XvKCl','Error\x20in\x20getAccessibilityConfig:\x20','getEnvVarsMap','listenAddress','2923016bgLRpP','setCliArgsList','1949299KOAAir','setConfig','test_run_uuid','Error\x20in\x20startBinSession:\x20','jagex','setSdkLanguage','getFrameworkVersionsMap','40zhjYUB','info','exports','vDuxr','setExecutionContext','setFrameworkSessionId','user_killed','setTestFrameworkName','HuHwb','fileName','Error\x20in\x20stopBinSession:\x20','version','xuNbB','CklQl','format','init','TestSessionEvent\x20error:\x20','setTestFrameworkState','setEndedAt','setTestFrameworkVersion','setRef','Connected\x20to\x20gRPC\x20server\x20at\x20','setProcessId','setPathConfig','setPlatformIndex','attachment_type','setSdkVersion','testFrameworkVersion','setFileSize','Error\x20in\x20DriverInit:\x20','cwd','ocabx','TEqBN','QJfnj','192Bmrrot','provider','Pyvin','getSdkVersion','nitkD','TestSessionEvent\x20request\x20successful','Error\x20in\x20LogCreatedEvent:\x20','cmeKe','ExecutionContext','getPlaywrightConfig','Stopping\x20signal\x20','@grpc/grpc-js','ZedVc','setHubUrl','zSdMQ','../../helpers/classLogger.js','hubUrl','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','accessibilityConfig','testSessionEvent','wDcWY','Stopping\x20bin\x20session','setExitCode','\x20listenAddr:\x20','frameworkVersion','argv','HBtjg','setFrameworkVersion','utf-8','grpc.keepalive_time_ms','hash','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','7248276bPnvaN','StartBinSessionRequest','No\x20gRPC\x20client\x20not\x20initialized.','setCustomMetadata','browserstack.yml','Error\x20in\x20getPlaywrightConfig:\x20','getSdkLanguage','StartBinSession\x20successful','testFrameworkState','pqtEh','mxnZb','getAccessibilityConfig','SDK_CLI_ON_STOP','DriverInitRequest','FkOuo','startBinSession','RkdKx','env','getInstance','Missing\x20binSessionId','phAac','StopBinSession\x20error:\x20','driverInit','timestamp','30539NWChau','stopBinSession','BROWSERSTACK_CLI_BIN_SESSION_ID','message','setProvider','5MNzPRL','owhrE'];a64_0x516c=function(){return _0x15e266;};return a64_0x516c();}function a64_0x4149(_0x125cf2,_0x44f761){const _0x516cc7=a64_0x516c();return a64_0x4149=function(_0x41496a,_0x3a8cf5){_0x41496a=_0x41496a-0xdc;let _0x2edd3b=_0x516cc7[_0x41496a];return _0x2edd3b;},a64_0x4149(_0x125cf2,_0x44f761);}(function(_0x388dca,_0xda5a91){const _0x499b98=a64_0x4149,_0x2c6c7e=_0x388dca();while(!![]){try{const _0x346ffb=parseInt(_0x499b98(0xf7))/0x1*(-parseInt(_0x499b98(0x143))/0x2)+-parseInt(_0x499b98(0xfe))/0x3*(parseInt(_0x499b98(0x195))/0x4)+parseInt(_0x499b98(0xfc))/0x5*(-parseInt(_0x499b98(0x135))/0x6)+parseInt(_0x499b98(0x139))/0x7+-parseInt(_0x499b98(0x16a))/0x8+parseInt(_0x499b98(0xdf))/0x9+-parseInt(_0x499b98(0x173))/0xa*(-parseInt(_0x499b98(0x16c))/0xb);if(_0x346ffb===_0xda5a91)break;else _0x2c6c7e['push'](_0x2c6c7e['shift']());}catch(_0x10637a){_0x2c6c7e['push'](_0x2c6c7e['shift']());}}}(a64_0x516c,0x744f6));const util=require('util'),logger=require(a64_0x8f1ea1(0x14d))[a64_0x8f1ea1(0x125)],grpc=require(a64_0x8f1ea1(0x1a0)),services=require('../../../generated/sdk_grpc_pb'),messages=require('../../../generated/sdk-messages_pb'),path=require(a64_0x8f1ea1(0x136)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a64_0x8f1ea1(0x1a4)),PerformanceTester=require(a64_0x8f1ea1(0x15e)),{EVENTS:PerformanceEvents}=require(a64_0x8f1ea1(0x128)),{PLAYWRIGHT_TRACE_LOGS}=require(a64_0x8f1ea1(0x100));class GrpcClient{static #instance=null;[a64_0x8f1ea1(0x103)]=null;[a64_0x8f1ea1(0x169)]=null;[a64_0x8f1ea1(0x12a)]=null;[a64_0x8f1ea1(0x15b)]=null;[a64_0x8f1ea1(0x11b)]=createClassLogger(a64_0x8f1ea1(0x13b));constructor(){}static[a64_0x8f1ea1(0xf1)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a64_0x8f1ea1(0x182)](_0x5576e7){const _0x54c186=a64_0x8f1ea1,_0x2ec302={};_0x2ec302['mxnZb']=function(_0x4d649e,_0x55b715){return _0x4d649e||_0x55b715;};const _0x4dc107=_0x2ec302,{id:_0x275da9,listen:_0x2cb3af}=_0x5576e7;if(_0x4dc107[_0x54c186(0xe9)](!_0x275da9,!_0x2cb3af))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x275da9+_0x54c186(0x1ac)+_0x2cb3af);this[_0x54c186(0x103)]=_0x275da9,this[_0x54c186(0x169)]=_0x2cb3af,process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x54c186(0x103)],process[_0x54c186(0xf0)][_0x54c186(0xde)]=this['listenAddress'],this[_0x54c186(0x15c)](),this[_0x54c186(0x11b)][_0x54c186(0x174)]('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x54c186(0x103)]+_0x54c186(0x152)+this[_0x54c186(0x169)]);}[a64_0x8f1ea1(0x15c)](){const _0x2ee90e=a64_0x8f1ea1,_0xf92bc9={};_0xf92bc9[_0x2ee90e(0x1a9)]=_0x2ee90e(0x1a6);const _0x240e46=_0xf92bc9;let _0x367e0c=this[_0x2ee90e(0x169)];!_0x367e0c&&(_0x367e0c=process[_0x2ee90e(0xf0)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x2ee90e(0x103)]&&(this['binSessionId']=this[_0x2ee90e(0x103)]||process[_0x2ee90e(0xf0)][_0x2ee90e(0xf9)]);if(!_0x367e0c)throw new Error(_0x240e46[_0x2ee90e(0x1a9)]);const _0x4fb38e={};_0x4fb38e[_0x2ee90e(0xdc)]=0x2710,this['channel']=new grpc['Channel'](_0x367e0c,grpc['credentials']['createInsecure'](),_0x4fb38e),this[_0x2ee90e(0x15b)]=new services['SDKClient'](_0x367e0c,grpc['credentials'][_0x2ee90e(0x13a)]()),this[_0x2ee90e(0x11b)][_0x2ee90e(0x174)](_0x2ee90e(0x188)+_0x367e0c);}async[a64_0x8f1ea1(0xee)](){const _0x350394=a64_0x8f1ea1,_0x545f9b={'yAPoR':function(_0x22080f,_0x354136){return _0x22080f!==_0x354136;},'MSGbS':function(_0x3214a0,_0x143614){return _0x3214a0(_0x143614);},'nhxZz':_0x350394(0xe6),'cmeKe':function(_0x29e6ca,_0x20cc26){return _0x29e6ca(_0x20cc26);},'phAac':'startBinSession:\x20Calling\x20startBinSession','tJIqb':'No\x20gRPC\x20client\x20not\x20initialized.','zSdMQ':_0x350394(0xe3),'pqtEh':function(_0x1df9bd,_0x3975d4){return _0x1df9bd||_0x3975d4;}};PerformanceTester[_0x350394(0x110)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x350394(0x11b)][_0x350394(0x174)](_0x545f9b[_0x350394(0xf3)]);try{!this[_0x350394(0x15b)]&&this[_0x350394(0x11b)]['info'](_0x545f9b['tJIqb']);const _0x3f4867=CLIUtils[_0x350394(0x198)](),_0x5231cb=CLIUtils['getAutomationFrameworkDetail'](),_0x210a06=_0x5231cb[_0x350394(0x11a)],_0x42d4bd=_0x5231cb[_0x350394(0x17e)],_0x3c0066=new messages[(_0x350394(0xe0))]();_0x3c0066[_0x350394(0x141)](this['binSessionId']),_0x3c0066[_0x350394(0x171)](CLIUtils[_0x350394(0xe5)]()),_0x3c0066[_0x350394(0x18d)](_0x3f4867),_0x3c0066['setPathProject'](process[_0x350394(0x191)]()),_0x3c0066[_0x350394(0x18a)](path['resolve'](process[_0x350394(0x191)](),_0x545f9b[_0x350394(0x1a3)]));const _0x58cd8a=_0x3c0066[_0x350394(0x168)]();Object['entries'](process['env'])[_0x350394(0x157)](([_0x5f0f37,_0x401935])=>{const _0x747a18=_0x350394;_0x545f9b['yAPoR'](_0x401935,undefined)&&_0x545f9b['yAPoR'](_0x401935,null)&&_0x58cd8a[_0x747a18(0x11f)](_0x5f0f37,_0x401935);}),_0x3c0066[_0x350394(0x16b)](process[_0x350394(0x1ae)][_0x350394(0x150)](0x2)),_0x3c0066[_0x350394(0x10e)](CLIUtils[_0x350394(0xe5)]()),_0x3c0066[_0x350394(0x15f)](_0x210a06);const _0x2269c5=_0x3c0066[_0x350394(0x172)]();return _0x2269c5[_0x350394(0x11f)](_0x210a06,_0x545f9b[_0x350394(0xe8)](_0x42d4bd,'')),_0x3c0066[_0x350394(0x122)](_0x210a06,_0x42d4bd),_0x3c0066[_0x350394(0x116)]([_0x210a06]),new Promise((_0x41d142,_0x5c8553)=>{this['client']['startBinSession'](_0x3c0066,(_0x1d3739,_0x466afc)=>{const _0x338882=a64_0x4149;if(_0x1d3739){this['logger']['error'](_0x338882(0x14f)+_0x1d3739[_0x338882(0xfa)]),_0x545f9b[_0x338882(0x10b)](_0x5c8553,_0x1d3739),PerformanceTester['end'](PerformanceEvents[_0x338882(0x140)],![],util[_0x338882(0x181)](_0x1d3739));return;}this[_0x338882(0x11b)]['info'](_0x545f9b[_0x338882(0x12b)]),PerformanceTester['end'](PerformanceEvents[_0x338882(0x140)]),_0x545f9b[_0x338882(0x19c)](_0x41d142,_0x466afc);});});}catch(_0x5b4667){this[_0x350394(0x11b)][_0x350394(0x13c)](_0x350394(0x16f)+util[_0x350394(0x181)](_0x5b4667)),PerformanceTester[_0x350394(0x102)](PerformanceEvents[_0x350394(0x140)],![],util[_0x350394(0x181)](_0x5b4667));throw _0x5b4667;}}async[a64_0x8f1ea1(0x13d)](){const _0x1f372f=a64_0x8f1ea1,_0x32eb67={'PNjUO':function(_0x57ab90,_0x20dd5a){return _0x57ab90(_0x20dd5a);},'XvKCl':'ConnectBinSession\x20successful','Mezor':'Connecting\x20bin\x20session','mjrVH':_0x1f372f(0xe1)};PerformanceTester[_0x1f372f(0x110)](PerformanceEvents[_0x1f372f(0x149)]),this[_0x1f372f(0x11b)][_0x1f372f(0x174)](_0x32eb67['Mezor']);try{!this[_0x1f372f(0x15b)]&&this[_0x1f372f(0x11b)]['info'](_0x32eb67['mjrVH']);const _0x5dd7e6=new messages['ConnectBinSessionRequest']();_0x5dd7e6['setBinSessionId'](this[_0x1f372f(0x103)]);const _0x5cd083=await new Promise((_0x14fd52,_0x4a1e41)=>{const _0x35adc8=_0x1f372f,_0x534d13={'tjLnY':function(_0x528578,_0x8384fc){const _0x3fa31e=a64_0x4149;return _0x32eb67[_0x3fa31e(0x114)](_0x528578,_0x8384fc);},'vDuxr':_0x32eb67[_0x35adc8(0x166)]};this[_0x35adc8(0x15b)][_0x35adc8(0x13d)](_0x5dd7e6,(_0x1ee2ee,_0x328115)=>{const _0x7fdc23=_0x35adc8;if(_0x1ee2ee){this['logger']['error'](_0x7fdc23(0x109)+_0x1ee2ee['message']),_0x534d13[_0x7fdc23(0x163)](_0x4a1e41,_0x1ee2ee),PerformanceTester[_0x7fdc23(0x102)](PerformanceEvents[_0x7fdc23(0x149)],![],util[_0x7fdc23(0x181)](_0x1ee2ee));return;}this[_0x7fdc23(0x11b)][_0x7fdc23(0x174)](_0x534d13[_0x7fdc23(0x176)]),PerformanceTester[_0x7fdc23(0x102)](PerformanceEvents[_0x7fdc23(0x149)]),_0x534d13[_0x7fdc23(0x163)](_0x14fd52,_0x328115);});});return this[_0x1f372f(0x11b)][_0x1f372f(0x105)](_0x1f372f(0x113)+util[_0x1f372f(0x181)](_0x5cd083)),_0x5cd083;}catch(_0x133bb7){PerformanceTester[_0x1f372f(0x102)](PerformanceEvents[_0x1f372f(0x149)],![],util['format'](_0x133bb7)),this[_0x1f372f(0x11b)]['error']('Error\x20in\x20connectBinSession:\x20'+util[_0x1f372f(0x181)](_0x133bb7));throw _0x133bb7;}}async['stopBinSession'](_0x263dfe={},_0x33f92e=null){const _0x4237e9=a64_0x8f1ea1,_0x4c33eb={'nitkD':function(_0x130a0b,_0xae2cf1){return _0x130a0b(_0xae2cf1);},'kbDUe':_0x4237e9(0x14a),'RkdKx':function(_0x3c37a9,_0x341f42){return _0x3c37a9(_0x341f42);},'fMfgv':_0x4237e9(0x1aa),'tuaXx':_0x4237e9(0xf2),'KlHnH':'No\x20gRPC\x20client\x20not\x20initialized.','gZzdn':_0x4237e9(0x179)};PerformanceTester[_0x4237e9(0x110)](PerformanceEvents[_0x4237e9(0xeb)]),this[_0x4237e9(0x11b)][_0x4237e9(0x174)](_0x4c33eb[_0x4237e9(0x101)]);try{if(!this[_0x4237e9(0x103)])throw new Error(_0x4c33eb[_0x4237e9(0x162)]);!this['client']&&this[_0x4237e9(0x11b)][_0x4237e9(0x174)](_0x4c33eb['KlHnH']);const _0x498d1b=new messages[(_0x4237e9(0x126))]();this[_0x4237e9(0x11b)][_0x4237e9(0x105)](_0x4237e9(0x19f)+JSON[_0x4237e9(0x156)](_0x33f92e)),_0x498d1b[_0x4237e9(0x141)](this[_0x4237e9(0x103)]),_0x498d1b[_0x4237e9(0xe2)](_0x263dfe),_0x498d1b['setExitSignal'](_0x33f92e?_0x33f92e:null),_0x498d1b['setExitReason'](_0x33f92e?_0x4c33eb[_0x4237e9(0x120)]:null),_0x498d1b[_0x4237e9(0x1ab)](_0x33f92e?0x1:0x0);const _0xce01df=await new Promise((_0x49c148,_0x19d3eb)=>{const _0x2427c0=_0x4237e9;this[_0x2427c0(0x15b)][_0x2427c0(0xf8)](_0x498d1b,(_0x1bca33,_0x41e903)=>{const _0x41d318=_0x2427c0;if(_0x1bca33){this[_0x41d318(0x11b)][_0x41d318(0x13c)](_0x41d318(0xf4)+_0x1bca33[_0x41d318(0xfa)]),_0x4c33eb[_0x41d318(0x199)](_0x19d3eb,_0x1bca33),PerformanceTester[_0x41d318(0x102)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x1bca33));return;}this[_0x41d318(0x11b)][_0x41d318(0x174)](_0x4c33eb[_0x41d318(0x148)]),PerformanceTester[_0x41d318(0x102)](PerformanceEvents[_0x41d318(0xeb)]),_0x4c33eb[_0x41d318(0xef)](_0x49c148,_0x41e903);});});return this[_0x4237e9(0x11b)][_0x4237e9(0x105)](_0x4237e9(0x104)+util['format'](_0xce01df)),_0xce01df;}catch(_0x3388e6){PerformanceTester['end'](PerformanceEvents[_0x4237e9(0xeb)],![],util[_0x4237e9(0x181)](_0x3388e6)),this[_0x4237e9(0x11b)][_0x4237e9(0x13c)](_0x4237e9(0x17d)+util['format'](_0x3388e6));}}async[a64_0x8f1ea1(0x19e)](_0x2048a4){const _0x4899a0=a64_0x8f1ea1,_0x7a6b3d={'gluES':function(_0x4194cf,_0x27f7be){return _0x4194cf(_0x27f7be);},'UwKtV':'PlaywrightConfig\x20request\x20successful','xuNbB':function(_0x47f66,_0x5ec368){return _0x47f66(_0x5ec368);},'fbOlX':_0x4899a0(0x121),'GOEft':_0x4899a0(0xe1)};PerformanceTester[_0x4899a0(0x110)](PerformanceEvents[_0x4899a0(0x146)]),this[_0x4899a0(0x11b)][_0x4899a0(0x174)](_0x7a6b3d[_0x4899a0(0x11e)]);try{!this[_0x4899a0(0x15b)]&&this['logger'][_0x4899a0(0x174)](_0x7a6b3d['GOEft']);const _0x5376fc=new messages['PlaywrightConfigRequest']();return _0x5376fc[_0x4899a0(0x141)](this[_0x4899a0(0x103)]),_0x5376fc[_0x4899a0(0x16d)](JSON[_0x4899a0(0x156)](_0x2048a4)),new Promise((_0x314e2a,_0x2cc894)=>{const _0x185d04=_0x4899a0;this['client'][_0x185d04(0x11d)](_0x5376fc,(_0xce5268,_0x488caf)=>{const _0x2f349e=_0x185d04;if(_0xce5268){this[_0x2f349e(0x11b)]['error']('PlaywrightConfig\x20error:\x20'+_0xce5268['message']),_0x7a6b3d['gluES'](_0x2cc894,_0xce5268),PerformanceTester[_0x2f349e(0x102)](PerformanceEvents[_0x2f349e(0x146)],![],util[_0x2f349e(0x181)](_0xce5268));return;}this[_0x2f349e(0x11b)][_0x2f349e(0x174)](_0x7a6b3d[_0x2f349e(0x131)]),PerformanceTester['end'](PerformanceEvents[_0x2f349e(0x146)]),_0x7a6b3d[_0x2f349e(0x17f)](_0x314e2a,_0x488caf);});});}catch(_0x14dd39){PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util['format'](_0x14dd39)),this[_0x4899a0(0x11b)][_0x4899a0(0x13c)](_0x4899a0(0xe4)+util[_0x4899a0(0x181)](_0x14dd39));throw _0x14dd39;}}async[a64_0x8f1ea1(0xea)](_0x46a1d9){const _0x56cbce=a64_0x8f1ea1,_0x577a67={'CklQl':function(_0x4dd8fe,_0x1e288a){return _0x4dd8fe(_0x1e288a);},'WQcbV':'AccessibilityConfig\x20request\x20successful','uzodB':function(_0x1a300d,_0x1f53d2){return _0x1a300d(_0x1f53d2);},'aPsTx':_0x56cbce(0x159),'RZWLi':_0x56cbce(0x1b1)};this[_0x56cbce(0x11b)]['info'](_0x577a67[_0x56cbce(0x112)]);try{const _0x3b06f0=Buffer['from'](JSON[_0x56cbce(0x156)](_0x46a1d9['launchcaps']),_0x577a67[_0x56cbce(0x10d)]),_0x232dd8=new messages[(_0x56cbce(0x160))](),_0x284acf=CLIUtils[_0x56cbce(0x164)](),_0x34505e=_0x284acf['name'],_0x451d2e=_0x284acf[_0x56cbce(0x17e)];return _0x232dd8[_0x56cbce(0x141)](this[_0x56cbce(0x103)]),_0x232dd8['setPlatformIndex'](0x0),_0x232dd8[_0x56cbce(0x117)](_0x34505e),_0x232dd8[_0x56cbce(0x1b0)](_0x451d2e),_0x232dd8['setHubUrl'](_0x46a1d9[_0x56cbce(0x1a5)]),_0x232dd8[_0x56cbce(0x130)](_0x3b06f0),new Promise((_0x3beae9,_0x5333c0)=>{const _0x13ec44=_0x56cbce,_0x59d96f={'ZOOcx':function(_0x30fa5d,_0x51ff6b){const _0x441dd3=a64_0x4149;return _0x577a67[_0x441dd3(0x180)](_0x30fa5d,_0x51ff6b);},'FkOuo':_0x577a67['WQcbV'],'owhrE':function(_0x3062b5,_0x160a39){const _0x8661fb=a64_0x4149;return _0x577a67[_0x8661fb(0x13e)](_0x3062b5,_0x160a39);}};this[_0x13ec44(0x15b)][_0x13ec44(0x1a7)](_0x232dd8,(_0x5a3db0,_0x198d43)=>{const _0x517e87=_0x13ec44;if(_0x5a3db0){this[_0x517e87(0x11b)][_0x517e87(0x13c)](_0x517e87(0x14b)+_0x5a3db0[_0x517e87(0xfa)]),_0x59d96f['ZOOcx'](_0x5333c0,_0x5a3db0);return;}this[_0x517e87(0x11b)]['info'](_0x59d96f[_0x517e87(0xed)]),_0x59d96f[_0x517e87(0xfd)](_0x3beae9,_0x198d43);});});}catch(_0x420aab){this[_0x56cbce(0x11b)][_0x56cbce(0x13c)](_0x56cbce(0x167)+util[_0x56cbce(0x181)](_0x420aab));}}async[a64_0x8f1ea1(0x1a8)](_0x39c7d6){const _0x49c0ed=a64_0x8f1ea1,_0x4fc055={'QJfnj':function(_0x120d52,_0x416870){return _0x120d52(_0x416870);},'uaQBu':_0x49c0ed(0x19a),'TEqBN':_0x49c0ed(0x11c),'AQIBc':_0x49c0ed(0xe1)};this[_0x49c0ed(0x11b)][_0x49c0ed(0x174)](_0x4fc055[_0x49c0ed(0x193)]);try{!this['client']&&this[_0x49c0ed(0x11b)][_0x49c0ed(0x174)](_0x4fc055['AQIBc']);const {platformIndex:_0x414219,testFrameworkName:_0x181320,testFrameworkVersion:_0x321b00,testFrameworkState:_0x1b8a6c,testHookState:_0x867a4c,testUuid:_0x1823c3,automationSession:_0x3c8b6b,capabilities:_0x3091a2,executionContext:_0x55596f}=_0x39c7d6,_0x31f23a=new messages[(_0x49c0ed(0x108))]();_0x31f23a[_0x49c0ed(0x141)](this[_0x49c0ed(0x103)]),_0x31f23a['setPlatformIndex'](_0x414219),_0x31f23a[_0x49c0ed(0x17a)](_0x181320),_0x31f23a['setTestFrameworkVersion'](_0x321b00),_0x31f23a[_0x49c0ed(0x184)](_0x1b8a6c),_0x31f23a['setTestHookState'](_0x867a4c),_0x31f23a['setTestUuid'](_0x1823c3);const _0x16503a=new messages['TestSessionEventRequest'][(_0x49c0ed(0x154))]();_0x16503a[_0x49c0ed(0xfb)](_0x3c8b6b[_0x49c0ed(0x196)]),_0x16503a[_0x49c0ed(0x117)](_0x3c8b6b['frameworkName']),_0x16503a['setFrameworkVersion'](_0x3c8b6b[_0x49c0ed(0x1ad)]),_0x16503a[_0x49c0ed(0x178)](_0x3c8b6b[_0x49c0ed(0x13f)]),_0x16503a[_0x49c0ed(0x187)](_0x3c8b6b[_0x49c0ed(0x145)]),_0x16503a[_0x49c0ed(0x1a2)](_0x3c8b6b[_0x49c0ed(0x1a5)]),_0x31f23a['addAutomationSessions'](_0x16503a),_0x31f23a['setCapabilities'](_0x3091a2);const _0x26c10d=new messages['ExecutionContext']();return _0x26c10d[_0x49c0ed(0x189)](_0x55596f[_0x49c0ed(0x132)]),_0x26c10d[_0x49c0ed(0x165)](_0x55596f[_0x49c0ed(0x15d)]),_0x26c10d[_0x49c0ed(0x107)](_0x55596f['hash']),_0x31f23a[_0x49c0ed(0x177)](_0x26c10d),new Promise((_0x4d7023,_0x3c6ba8)=>{const _0x30be27=_0x49c0ed,_0x3a7ad4={'ClDtN':function(_0x512c67,_0x411d31){const _0x121c57=a64_0x4149;return _0x4fc055[_0x121c57(0x194)](_0x512c67,_0x411d31);},'WnZRN':_0x4fc055[_0x30be27(0x127)]};this['client'][_0x30be27(0x1a8)](_0x31f23a,(_0x197e46,_0x43a962)=>{const _0x465781=_0x30be27;if(_0x197e46){this[_0x465781(0x11b)]['error'](_0x465781(0x183)+_0x197e46[_0x465781(0xfa)]),_0x3a7ad4[_0x465781(0x147)](_0x3c6ba8,_0x197e46);return;}this['logger']['info'](_0x3a7ad4[_0x465781(0x118)]),_0x3a7ad4[_0x465781(0x147)](_0x4d7023,_0x43a962);});});}catch(_0x2b4431){this[_0x49c0ed(0x11b)]['error']('Error\x20in\x20TestSessionEvent:\x20'+util[_0x49c0ed(0x181)](_0x2b4431));throw _0x2b4431;}}async['testFrameworkEvent'](_0x1e975b){const _0x151782=a64_0x8f1ea1,_0x22ae29={'ZedVc':function(_0x59e96e,_0x4e52fa){return _0x59e96e(_0x4e52fa);},'SWqdA':_0x151782(0xff),'moeJD':'Sending\x20TestFrameworkEvent','cugiV':_0x151782(0xe1)};this[_0x151782(0x11b)][_0x151782(0x174)](_0x22ae29[_0x151782(0x12f)]);try{!this[_0x151782(0x15b)]&&this[_0x151782(0x11b)]['info'](_0x22ae29[_0x151782(0x158)]);const {platfromIndex:_0x366491,testFrameworkName:_0x12c9a3,testFrameworkVersion:_0x3720b0,testFrameworkState:_0x2fc55e,hookState:_0x1e6902,startedAt:_0x1148e0,endedAt:_0x2a1ed6,uuid:_0x3ef6d0,eventJson:_0x3e9229,executionContext:_0x8f18b1}=_0x1e975b,_0x2ca903=new messages[(_0x151782(0x124))]();_0x2ca903[_0x151782(0x141)](this[_0x151782(0x103)]),_0x2ca903[_0x151782(0x18b)](_0x366491),_0x2ca903[_0x151782(0x17a)](_0x12c9a3),_0x2ca903[_0x151782(0x186)](_0x3720b0),_0x2ca903[_0x151782(0x184)](_0x2fc55e),_0x2ca903['setTestHookState'](_0x1e6902),_0x2ca903[_0x151782(0x155)](_0x1148e0),_0x2ca903[_0x151782(0x185)](_0x2a1ed6),_0x2ca903[_0x151782(0x115)](_0x3ef6d0),_0x2ca903[_0x151782(0x14c)](_0x3e9229);const _0x590be9=new messages[(_0x151782(0x19d))]();return _0x590be9['setProcessId'](_0x8f18b1[_0x151782(0x132)]),_0x590be9[_0x151782(0x165)](_0x8f18b1[_0x151782(0x15d)]),_0x590be9[_0x151782(0x107)](_0x8f18b1[_0x151782(0xdd)]),_0x2ca903[_0x151782(0x177)](_0x590be9),new Promise((_0x732889,_0x4db3c3)=>{const _0x24c827=_0x151782;this[_0x24c827(0x15b)]['testFrameworkEvent'](_0x2ca903,(_0x40cc7c,_0x404739)=>{const _0x585972=_0x24c827;if(_0x40cc7c){this[_0x585972(0x11b)][_0x585972(0x13c)](_0x585972(0x111)+_0x40cc7c[_0x585972(0xfa)]),_0x22ae29[_0x585972(0x1a1)](_0x4db3c3,_0x40cc7c);return;}this[_0x585972(0x11b)][_0x585972(0x174)](_0x22ae29['SWqdA']),_0x22ae29['ZedVc'](_0x732889,_0x404739);});});}catch(_0x5d993b){this['logger'][_0x151782(0x13c)](_0x151782(0x129)+util[_0x151782(0x181)](_0x5d993b));throw _0x5d993b;}}async[a64_0x8f1ea1(0xf5)](_0x3f6243){const _0xc9b0d2=a64_0x8f1ea1,_0x1be5a9={'jagex':function(_0x43ecbe,_0x4b08e1){return _0x43ecbe(_0x4b08e1);},'BMDeb':_0xc9b0d2(0x123),'JGPgo':function(_0x365c0d,_0x268ae7){return _0x365c0d(_0x268ae7);},'vPUCP':_0xc9b0d2(0x10a),'VvKiw':_0xc9b0d2(0xe1)};this[_0xc9b0d2(0x11b)]['info'](_0x1be5a9[_0xc9b0d2(0x12e)]);try{!this[_0xc9b0d2(0x15b)]&&this[_0xc9b0d2(0x11b)]['info'](_0x1be5a9['VvKiw']);const {platformIndex:_0xf7c724,ref:_0x1a8cee,userInputParams:_0x5a91b5}=_0x3f6243,_0x480261=new messages[(_0xc9b0d2(0xec))]();return _0x480261[_0xc9b0d2(0x141)](this[_0xc9b0d2(0x103)]),_0x480261[_0xc9b0d2(0x18b)](_0xf7c724),_0x480261[_0xc9b0d2(0x187)](_0x1a8cee),_0x480261[_0xc9b0d2(0x137)](_0x5a91b5),new Promise((_0x582a5c,_0xfd20f8)=>{const _0x49a110=_0xc9b0d2;this[_0x49a110(0x15b)]['driverInit'](_0x480261,(_0x4ae914,_0x3007be)=>{const _0x33fa36=_0x49a110;if(_0x4ae914){this[_0x33fa36(0x11b)][_0x33fa36(0x13c)](_0x33fa36(0x12c)+_0x4ae914['message']),_0x1be5a9[_0x33fa36(0x170)](_0xfd20f8,_0x4ae914);return;}this['logger'][_0x33fa36(0x174)](_0x1be5a9[_0x33fa36(0x142)]),_0x1be5a9[_0x33fa36(0x138)](_0x582a5c,_0x3007be);});});}catch(_0x554d91){this['logger'][_0xc9b0d2(0x13c)](_0xc9b0d2(0x190)+util[_0xc9b0d2(0x181)](_0x554d91));throw _0x554d91;}}async[a64_0x8f1ea1(0x14e)](_0x4991d0){const _0x559e1a=a64_0x8f1ea1,_0x46418f={'YowQo':function(_0x4d8865,_0x24c483){return _0x4d8865===_0x24c483;},'ZlyAh':function(_0x4436e4,_0x20c7f6){return _0x4436e4(_0x20c7f6);},'HuHwb':_0x559e1a(0x119),'ocabx':_0x559e1a(0x10c),'HBtjg':_0x559e1a(0xe1)};this[_0x559e1a(0x11b)][_0x559e1a(0x174)](_0x46418f[_0x559e1a(0x192)]);try{!this[_0x559e1a(0x15b)]&&this[_0x559e1a(0x11b)][_0x559e1a(0x174)](_0x46418f[_0x559e1a(0x1af)]);const {platformIndex:_0x315dba,logs:_0x351470}=_0x4991d0,_0x48bd2c=new messages['LogCreatedEventRequest']();_0x48bd2c[_0x559e1a(0x141)](this[_0x559e1a(0x103)]),_0x48bd2c[_0x559e1a(0x18b)](_0x315dba);const _0x5ace62=_0x4991d0['testFrameworkName'],_0x28bd91=_0x4991d0[_0x559e1a(0x18e)],_0x1aa612=_0x4991d0[_0x559e1a(0xe7)];return _0x351470[_0x559e1a(0x157)](_0x1dbd4d=>{const _0x3148de=_0x559e1a,_0x2de4b1=new messages['LogCreatedEventRequest']['LogEntry']();_0x2de4b1[_0x3148de(0x17a)](_0x5ace62),_0x2de4b1[_0x3148de(0x186)](_0x28bd91),_0x2de4b1[_0x3148de(0x184)](_0x1aa612),_0x2de4b1['setTimestamp'](_0x1dbd4d[_0x3148de(0xf6)]),_0x2de4b1[_0x3148de(0x115)](_0x1dbd4d[_0x3148de(0x153)]),_0x2de4b1[_0x3148de(0x134)](_0x1dbd4d['kind']),_0x46418f['YowQo'](_0x1dbd4d['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x2de4b1['setUuid'](_0x1dbd4d[_0x3148de(0x16e)]),_0x2de4b1[_0x3148de(0x15a)](new TextEncoder()[_0x3148de(0x10f)](JSON[_0x3148de(0x156)](_0x1dbd4d)))):_0x2de4b1[_0x3148de(0x15a)](new TextEncoder()[_0x3148de(0x10f)](_0x1dbd4d['message'])),_0x2de4b1['setLevel'](_0x1dbd4d[_0x3148de(0x106)]),_0x2de4b1[_0x3148de(0x133)](_0x1dbd4d?.[_0x3148de(0x17c)]||''),_0x2de4b1[_0x3148de(0x151)](_0x1dbd4d?.['filePath']||''),_0x2de4b1[_0x3148de(0x18f)](_0x1dbd4d?.['fileSize']||0x0),_0x2de4b1[_0x3148de(0x12d)](_0x1dbd4d?.[_0x3148de(0x18c)]||''),_0x48bd2c['addLogs'](_0x2de4b1);}),new Promise((_0x384eef,_0x4aba15)=>{const _0x5e1cd4=_0x559e1a,_0x352aff={'mHrlK':function(_0x166140,_0xd75185){const _0x3da86f=a64_0x4149;return _0x46418f[_0x3da86f(0x161)](_0x166140,_0xd75185);},'Pyvin':_0x46418f[_0x5e1cd4(0x17b)]};this[_0x5e1cd4(0x15b)][_0x5e1cd4(0x14e)](_0x48bd2c,(_0x322c92,_0x5f547b)=>{const _0xd6112d=_0x5e1cd4;if(_0x322c92){this[_0xd6112d(0x11b)][_0xd6112d(0x13c)]('LogCreatedEvent\x20error:\x20'+_0x322c92[_0xd6112d(0xfa)]),_0x352aff[_0xd6112d(0x144)](_0x4aba15,_0x322c92);return;}this['logger'][_0xd6112d(0x174)](_0x352aff[_0xd6112d(0x197)]),_0x352aff[_0xd6112d(0x144)](_0x384eef,_0x5f547b);});});}catch(_0x294979){this[_0x559e1a(0x11b)][_0x559e1a(0x13c)](_0x559e1a(0x19b)+util[_0x559e1a(0x181)](_0x294979));throw _0x294979;}}['getClient'](){const _0xcbcb45=a64_0x8f1ea1;return this[_0xcbcb45(0x15b)];}['getChannel'](){const _0x238983=a64_0x8f1ea1;return this[_0x238983(0x12a)];}}module[a64_0x8f1ea1(0x175)]=GrpcClient;
1
+ const a64_0x537c3f=a64_0x3e2d;function a64_0x3e2d(_0x3860f5,_0x4d3de0){const _0x29d181=a64_0x29d1();return a64_0x3e2d=function(_0x3e2d36,_0x42b5f2){_0x3e2d36=_0x3e2d36-0x8e;let _0x4008c5=_0x29d181[_0x3e2d36];return _0x4008c5;},a64_0x3e2d(_0x3860f5,_0x4d3de0);}(function(_0x3096cb,_0x562f45){const _0x6cc32c=a64_0x3e2d,_0x4619c7=_0x3096cb();while(!![]){try{const _0x1bc568=parseInt(_0x6cc32c(0x132))/0x1*(parseInt(_0x6cc32c(0x142))/0x2)+-parseInt(_0x6cc32c(0xb2))/0x3+parseInt(_0x6cc32c(0xe0))/0x4+-parseInt(_0x6cc32c(0xb1))/0x5+parseInt(_0x6cc32c(0x9a))/0x6+-parseInt(_0x6cc32c(0x124))/0x7+-parseInt(_0x6cc32c(0x94))/0x8*(-parseInt(_0x6cc32c(0x145))/0x9);if(_0x1bc568===_0x562f45)break;else _0x4619c7['push'](_0x4619c7['shift']());}catch(_0x6961c7){_0x4619c7['push'](_0x4619c7['shift']());}}}(a64_0x29d1,0xb2fbd));function a64_0x29d1(){const _0x10fa39=['LogCreatedEvent\x20request\x20successful','addFrameworks','StartBinSession\x20error:\x20','SDKClient','893LKHxJQ','stopBinSession','credentials','KUGhA','Sending\x20TestSessionEvent','setFrameworksList','IksKA','hubUrl','setThreadId','setUserInputParams','setFrameworkSessionId','StopBinSessionRequest','ExecutionContext','PsvoZ','fZmbQ','TestFrameworkEvent\x20error:\x20','1106hCtvRc','setMessage','getPlaywrightConfig','9vMMruO','frameworkName','client','fileSize','startBinSession','testFrameworkState','processId','end','kind','setSdkVersion','KEBnc','level','TestSessionEvent\x20request\x20successful','setTestHookState','info','forEach','../../../generated/sdk_grpc_pb','../utils/constants','setFrameworkVersion','setPathProject','xlISF','mZbBo','../../helpers/classLogger.js','utf-8','qbBPp','test_run_uuid','user_killed','binSessionId','BROWSERSTACK_CLI_BIN_SESSION_ID','BtUEH','setHash','ZJPut','RuKFD','launchcaps','ipFbY','18616408zzQIhg','setExitReason','RySdE','KmnNG','setStartedAt','listenAddress','6321450aDxSjf','uqbJg','encode','StopBinSession\x20error:\x20','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','createInsecure','winstonLogger','vmntH','eOIOb','gmNWc','setUuid','resolve','channel','NzCBx','../../helpers/performance/constants','ejvEc','setTestFrameworkVersion','from','tRscx','stringify','filePath','OOTpV','setPathConfig','6363225opKPpy','1653651EMpWzc','addAutomationSessions','setCliArgsList','init','../../helpers/performance/performance-tester.js','Stopping\x20signal\x20','setTestUuid','debug','testSessionEvent','setProcessId','TestFrameworkEventRequest','PlaywrightConfig\x20request\x20successful','cdhTA','slice','setTestFrameworkName','setBinSessionId','Error\x20in\x20DriverInit:\x20','connect','setAttachmentType','LogCreatedEventRequest','UbpSW','timestamp','Error\x20in\x20LogCreatedEvent:\x20','Stopping\x20bin\x20session','tbpOq','set','AutomationSession','dSaFh','uuid','LogCreatedEvent\x20error:\x20','setTimestamp','DriverInit\x20request\x20successful','TestFrameworkEvent\x20request\x20successful','PlaywrightConfigRequest','vvUur','format','setLanguage','No\x20gRPC\x20client\x20not\x20initialized.','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','GrpcClient','setPlatformIndex','setExitSignal','setExecutionContext','Getting\x20Playwright\x20config','setTestFrameworkState','../../../generated/sdk-messages_pb','31336HfvCot','QIBHg','argv','setProvider','version','LogEntry','Error\x20in\x20getPlaywrightConfig:\x20','name','Connected\x20to\x20gRPC\x20server\x20at\x20','ConnectBinSession\x20successful','Error\x20in\x20TestFrameworkEvent:\x20','TestSessionEventRequest','connect-bin-session\x20response:\x20','start','setFrameworkName','env','logCreatedEvent','addLogs','error','xHLvx','setTestFramework','Error\x20in\x20getAccessibilityConfig:\x20','getInstance','path','getAutomationFrameworkDetail','logger','iqIbc','setCapabilities','../../helpers/logger.js','Getting\x20Accessibility\x20config','ConnectBinSessionRequest','setRef','nWLFX','Missing\x20binSessionId','StartBinSessionRequest','SDK_CONNECT_BIN_SESSION','setKind','Enyyr','dQhQR','hash','\x20and\x20listen\x20address:\x20','TestSessionEvent\x20error:\x20','VvpHs','getAccessibilityConfig','TUafh','provider','SDK_AUTOMATION_FRAMEWORK_INIT','testFrameworkName','browserstack.yml','SDK_CLI_ON_STOP','setConfig','Sending\x20LogCreatedEvent','setFilePath','threadId','getEnvVarsMap','ConnectBinSession\x20error:\x20','\x20listenAddr:\x20','Connecting\x20bin\x20session','Channel','setEventJson','HKyIL','frameworkVersion','YpdFO','setFileSize','DriverInit\x20error:\x20','bQAwq','Sending\x20TestFrameworkEvent','YKsKf','9277170ySAKZS','aeLLx','attachment_type','SDK_START_BIN_SESSION','connectBinSession','setFileName','exports','StartBinSession\x20successful','fileName','message'];a64_0x29d1=function(){return _0x10fa39;};return a64_0x29d1();}const util=require('util'),logger=require(a64_0x537c3f(0xfc))[a64_0x537c3f(0xa0)],grpc=require('@grpc/grpc-js'),services=require(a64_0x537c3f(0x155)),messages=require(a64_0x537c3f(0xdf)),path=require(a64_0x537c3f(0xf7)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a64_0x537c3f(0x15b)),PerformanceTester=require(a64_0x537c3f(0xb6)),{EVENTS:PerformanceEvents}=require(a64_0x537c3f(0xa8)),{PLAYWRIGHT_TRACE_LOGS}=require(a64_0x537c3f(0x156));class GrpcClient{static #instance=null;[a64_0x537c3f(0x160)]=null;[a64_0x537c3f(0x99)]=null;[a64_0x537c3f(0xa6)]=null;[a64_0x537c3f(0x147)]=null;[a64_0x537c3f(0xf9)]=createClassLogger(a64_0x537c3f(0xd9));constructor(){}static[a64_0x537c3f(0xf6)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a64_0x537c3f(0xb5)](_0x440d83){const _0x33fbed=a64_0x537c3f,_0x26d551={};_0x26d551[_0x33fbed(0xa3)]=function(_0xe6b5dd,_0x3c1a07){return _0xe6b5dd||_0x3c1a07;};const _0x16b152=_0x26d551,{id:_0x1fe4a3,listen:_0x2fcd3a}=_0x440d83;if(_0x16b152[_0x33fbed(0xa3)](!_0x1fe4a3,!_0x2fcd3a))throw new Error(_0x33fbed(0x9e)+_0x1fe4a3+_0x33fbed(0x118)+_0x2fcd3a);this['binSessionId']=_0x1fe4a3,this[_0x33fbed(0x99)]=_0x2fcd3a,process['env'][_0x33fbed(0x161)]=this[_0x33fbed(0x160)],process[_0x33fbed(0xef)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x33fbed(0x99)],this[_0x33fbed(0xc3)](),this[_0x33fbed(0xf9)][_0x33fbed(0x153)]('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x33fbed(0x160)]+_0x33fbed(0x108)+this[_0x33fbed(0x99)]);}['connect'](){const _0x524e9d=a64_0x537c3f,_0x23206e={};_0x23206e['AMYxd']=_0x524e9d(0xd8);const _0x5f0524=_0x23206e;let _0x114bad=this['listenAddress'];!_0x114bad&&(_0x114bad=process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x524e9d(0x160)]&&(this[_0x524e9d(0x160)]=this[_0x524e9d(0x160)]||process['env'][_0x524e9d(0x161)]);if(!_0x114bad)throw new Error(_0x5f0524['AMYxd']);const _0x21ad03={};_0x21ad03['grpc.keepalive_time_ms']=0x2710,this[_0x524e9d(0xa6)]=new grpc[(_0x524e9d(0x11a))](_0x114bad,grpc['credentials'][_0x524e9d(0x9f)](),_0x21ad03),this[_0x524e9d(0x147)]=new services[(_0x524e9d(0x131))](_0x114bad,grpc[_0x524e9d(0x134)]['createInsecure']()),this[_0x524e9d(0xf9)][_0x524e9d(0x153)](_0x524e9d(0xe8)+_0x114bad);}async[a64_0x537c3f(0x149)](){const _0x3c3678=a64_0x537c3f,_0x9b3dd6={'HEgak':function(_0x3f1478,_0x2d0007){return _0x3f1478!==_0x2d0007;},'dQhQR':function(_0x274aac,_0x296f54){return _0x274aac!==_0x296f54;},'IksKA':function(_0x5db5d0,_0x21227c){return _0x5db5d0(_0x21227c);},'iSmul':_0x3c3678(0x12b),'YKsKf':'startBinSession:\x20Calling\x20startBinSession','ipFbY':_0x3c3678(0xd7),'aeLLx':_0x3c3678(0x110),'GrHVJ':function(_0xff2ec0,_0x27f5a4){return _0xff2ec0||_0x27f5a4;}};PerformanceTester[_0x3c3678(0xed)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x3c3678(0xf9)]['info'](_0x9b3dd6[_0x3c3678(0x123)]);try{!this['client']&&this['logger'][_0x3c3678(0x153)](_0x9b3dd6[_0x3c3678(0x93)]);const _0x165d4f=CLIUtils['getSdkVersion'](),_0x451606=CLIUtils[_0x3c3678(0xf8)](),_0x56d02d=_0x451606[_0x3c3678(0xe7)],_0x5a3cc7=_0x451606['version'],_0x2ac5ef=new messages[(_0x3c3678(0x102))]();_0x2ac5ef['setBinSessionId'](this[_0x3c3678(0x160)]),_0x2ac5ef['setSdkLanguage'](CLIUtils['getSdkLanguage']()),_0x2ac5ef[_0x3c3678(0x14e)](_0x165d4f),_0x2ac5ef[_0x3c3678(0x158)](process['cwd']()),_0x2ac5ef[_0x3c3678(0xb0)](path[_0x3c3678(0xa5)](process['cwd'](),_0x9b3dd6[_0x3c3678(0x125)]));const _0x46975c=_0x2ac5ef[_0x3c3678(0x116)]();Object['entries'](process[_0x3c3678(0xef)])[_0x3c3678(0x154)](([_0x4f48e2,_0xfc0e9f])=>{const _0x4ef84c=_0x3c3678;_0x9b3dd6['HEgak'](_0xfc0e9f,undefined)&&_0x9b3dd6[_0x4ef84c(0x106)](_0xfc0e9f,null)&&_0x46975c[_0x4ef84c(0xcb)](_0x4f48e2,_0xfc0e9f);}),_0x2ac5ef[_0x3c3678(0xb4)](process[_0x3c3678(0xe2)][_0x3c3678(0xbf)](0x2)),_0x2ac5ef[_0x3c3678(0xd6)](CLIUtils['getSdkLanguage']()),_0x2ac5ef[_0x3c3678(0xf4)](_0x56d02d);const _0x1785d2=_0x2ac5ef['getFrameworkVersionsMap']();return _0x1785d2[_0x3c3678(0xcb)](_0x56d02d,_0x9b3dd6['GrHVJ'](_0x5a3cc7,'')),_0x2ac5ef[_0x3c3678(0x12f)](_0x56d02d,_0x5a3cc7),_0x2ac5ef[_0x3c3678(0x137)]([_0x56d02d]),new Promise((_0x539019,_0x577e88)=>{const _0x3e487e=_0x3c3678,_0x36731c={'xHLvx':function(_0x152c86,_0x32e8f9){const _0x30d9de=a64_0x3e2d;return _0x9b3dd6[_0x30d9de(0x138)](_0x152c86,_0x32e8f9);},'kowmU':_0x9b3dd6['iSmul']};this[_0x3e487e(0x147)]['startBinSession'](_0x2ac5ef,(_0x45b21b,_0xd0c318)=>{const _0x21e61f=_0x3e487e;if(_0x45b21b){this[_0x21e61f(0xf9)]['error'](_0x21e61f(0x130)+_0x45b21b[_0x21e61f(0x12d)]),_0x36731c['xHLvx'](_0x577e88,_0x45b21b),PerformanceTester[_0x21e61f(0x14c)](PerformanceEvents[_0x21e61f(0x127)],![],util[_0x21e61f(0xd5)](_0x45b21b));return;}this['logger'][_0x21e61f(0x153)](_0x36731c['kowmU']),PerformanceTester[_0x21e61f(0x14c)](PerformanceEvents[_0x21e61f(0x127)]),_0x36731c[_0x21e61f(0xf3)](_0x539019,_0xd0c318);});});}catch(_0x422034){this[_0x3c3678(0xf9)][_0x3c3678(0xf2)]('Error\x20in\x20startBinSession:\x20'+util[_0x3c3678(0xd5)](_0x422034)),PerformanceTester[_0x3c3678(0x14c)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x3c3678(0xd5)](_0x422034));throw _0x422034;}}async[a64_0x537c3f(0x128)](){const _0x5ef024=a64_0x537c3f,_0x6dd6d7={'jbELa':function(_0x4e084a,_0x27db2c){return _0x4e084a(_0x27db2c);},'RuKFD':_0x5ef024(0xe9),'KmnNG':_0x5ef024(0x119),'YpdFO':_0x5ef024(0xd7)};PerformanceTester[_0x5ef024(0xed)](PerformanceEvents[_0x5ef024(0x103)]),this['logger'][_0x5ef024(0x153)](_0x6dd6d7[_0x5ef024(0x97)]);try{!this[_0x5ef024(0x147)]&&this[_0x5ef024(0xf9)][_0x5ef024(0x153)](_0x6dd6d7[_0x5ef024(0x11e)]);const _0x409780=new messages[(_0x5ef024(0xfe))]();_0x409780[_0x5ef024(0xc1)](this[_0x5ef024(0x160)]);const _0x58633d=await new Promise((_0x183e89,_0x2187a4)=>{const _0x1e7d3a=_0x5ef024,_0x79523f={'bQAwq':function(_0x157e63,_0x389e56){return _0x6dd6d7['jbELa'](_0x157e63,_0x389e56);},'iqIbc':_0x6dd6d7[_0x1e7d3a(0x91)]};this['client'][_0x1e7d3a(0x128)](_0x409780,(_0x576730,_0x4d9915)=>{const _0x44ad1b=_0x1e7d3a;if(_0x576730){this[_0x44ad1b(0xf9)][_0x44ad1b(0xf2)](_0x44ad1b(0x117)+_0x576730[_0x44ad1b(0x12d)]),_0x79523f[_0x44ad1b(0x121)](_0x2187a4,_0x576730),PerformanceTester[_0x44ad1b(0x14c)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x44ad1b(0xd5)](_0x576730));return;}this['logger']['info'](_0x79523f[_0x44ad1b(0xfa)]),PerformanceTester[_0x44ad1b(0x14c)](PerformanceEvents[_0x44ad1b(0x103)]),_0x79523f[_0x44ad1b(0x121)](_0x183e89,_0x4d9915);});});return this[_0x5ef024(0xf9)][_0x5ef024(0xb9)](_0x5ef024(0xec)+util[_0x5ef024(0xd5)](_0x58633d)),_0x58633d;}catch(_0x11c01c){PerformanceTester[_0x5ef024(0x14c)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x11c01c)),this[_0x5ef024(0xf9)][_0x5ef024(0xf2)]('Error\x20in\x20connectBinSession:\x20'+util['format'](_0x11c01c));throw _0x11c01c;}}async[a64_0x537c3f(0x133)](_0x300244={},_0x313f72=null){const _0x32a22a=a64_0x537c3f,_0x1067c1={'KUGhA':function(_0xd5eb23,_0x473aa3){return _0xd5eb23(_0x473aa3);},'mZbBo':'StopBinSession\x20successful','xlISF':_0x32a22a(0xc9),'TUafh':_0x32a22a(0x101),'ejvEc':_0x32a22a(0xd7),'VvpHs':_0x32a22a(0x15f)};PerformanceTester[_0x32a22a(0xed)](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x32a22a(0xf9)]['info'](_0x1067c1[_0x32a22a(0x159)]);try{if(!this[_0x32a22a(0x160)])throw new Error(_0x1067c1[_0x32a22a(0x10c)]);!this[_0x32a22a(0x147)]&&this['logger'][_0x32a22a(0x153)](_0x1067c1[_0x32a22a(0xa9)]);const _0x166760=new messages[(_0x32a22a(0x13d))]();this[_0x32a22a(0xf9)][_0x32a22a(0xb9)](_0x32a22a(0xb7)+JSON[_0x32a22a(0xad)](_0x313f72)),_0x166760[_0x32a22a(0xc1)](this['binSessionId']),_0x166760['setCustomMetadata'](_0x300244),_0x166760[_0x32a22a(0xdb)](_0x313f72?_0x313f72:null),_0x166760[_0x32a22a(0x95)](_0x313f72?_0x1067c1[_0x32a22a(0x10a)]:null),_0x166760['setExitCode'](_0x313f72?0x1:0x0);const _0x503307=await new Promise((_0x3c2bcf,_0x365a23)=>{const _0x223a9a=_0x32a22a;this[_0x223a9a(0x147)][_0x223a9a(0x133)](_0x166760,(_0x26be3b,_0x3196fc)=>{const _0x2bd4da=_0x223a9a;if(_0x26be3b){this[_0x2bd4da(0xf9)][_0x2bd4da(0xf2)](_0x2bd4da(0x9d)+_0x26be3b[_0x2bd4da(0x12d)]),_0x1067c1[_0x2bd4da(0x135)](_0x365a23,_0x26be3b),PerformanceTester[_0x2bd4da(0x14c)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x2bd4da(0xd5)](_0x26be3b));return;}this[_0x2bd4da(0xf9)]['info'](_0x1067c1[_0x2bd4da(0x15a)]),PerformanceTester['end'](PerformanceEvents[_0x2bd4da(0x111)]),_0x1067c1[_0x2bd4da(0x135)](_0x3c2bcf,_0x3196fc);});});return this[_0x32a22a(0xf9)]['debug']('stop-bin-session\x20response:\x20'+util['format'](_0x503307)),_0x503307;}catch(_0x5c9858){PerformanceTester[_0x32a22a(0x14c)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x32a22a(0xd5)](_0x5c9858)),this[_0x32a22a(0xf9)][_0x32a22a(0xf2)]('Error\x20in\x20stopBinSession:\x20'+util[_0x32a22a(0xd5)](_0x5c9858));}}async[a64_0x537c3f(0x144)](_0x889cca){const _0x41fce4=a64_0x537c3f,_0x593399={'vvUur':function(_0x1e264a,_0x1e9ef3){return _0x1e264a(_0x1e9ef3);},'UbpSW':_0x41fce4(0xbd),'NzCBx':_0x41fce4(0xdd),'tbpOq':_0x41fce4(0xd7)};PerformanceTester[_0x41fce4(0xed)](PerformanceEvents[_0x41fce4(0x10e)]),this[_0x41fce4(0xf9)][_0x41fce4(0x153)](_0x593399[_0x41fce4(0xa7)]);try{!this[_0x41fce4(0x147)]&&this[_0x41fce4(0xf9)]['info'](_0x593399[_0x41fce4(0xca)]);const _0x3cd0fb=new messages[(_0x41fce4(0xd3))]();return _0x3cd0fb[_0x41fce4(0xc1)](this[_0x41fce4(0x160)]),_0x3cd0fb[_0x41fce4(0x112)](JSON['stringify'](_0x889cca)),new Promise((_0x3d0d82,_0x3372fd)=>{const _0x5ddec8=_0x41fce4,_0x48add5={'PsvoZ':function(_0x5efd65,_0x3b1a35){const _0x525d03=a64_0x3e2d;return _0x593399[_0x525d03(0xd4)](_0x5efd65,_0x3b1a35);},'BtUEH':_0x593399[_0x5ddec8(0xc6)]};this[_0x5ddec8(0x147)]['playwrightConfig'](_0x3cd0fb,(_0x54eada,_0x278119)=>{const _0x13d961=_0x5ddec8;if(_0x54eada){this[_0x13d961(0xf9)][_0x13d961(0xf2)]('PlaywrightConfig\x20error:\x20'+_0x54eada['message']),_0x48add5[_0x13d961(0x13f)](_0x3372fd,_0x54eada),PerformanceTester[_0x13d961(0x14c)](PerformanceEvents[_0x13d961(0x10e)],![],util[_0x13d961(0xd5)](_0x54eada));return;}this[_0x13d961(0xf9)][_0x13d961(0x153)](_0x48add5[_0x13d961(0x8e)]),PerformanceTester[_0x13d961(0x14c)](PerformanceEvents[_0x13d961(0x10e)]),_0x48add5['PsvoZ'](_0x3d0d82,_0x278119);});});}catch(_0x1bf139){PerformanceTester[_0x41fce4(0x14c)](PerformanceEvents[_0x41fce4(0x10e)],![],util[_0x41fce4(0xd5)](_0x1bf139)),this[_0x41fce4(0xf9)][_0x41fce4(0xf2)](_0x41fce4(0xe6)+util['format'](_0x1bf139));throw _0x1bf139;}}async[a64_0x537c3f(0x10b)](_0x1da6d1){const _0x4e38b4=a64_0x537c3f,_0x5ebbf0={'OOTpV':function(_0x5359ea,_0x2b306d){return _0x5359ea(_0x2b306d);},'Enyyr':'AccessibilityConfig\x20request\x20successful','KEBnc':_0x4e38b4(0xfd),'azFGb':_0x4e38b4(0x15c)};this['logger'][_0x4e38b4(0x153)](_0x5ebbf0[_0x4e38b4(0x14f)]);try{const _0x5b4d96=Buffer[_0x4e38b4(0xab)](JSON[_0x4e38b4(0xad)](_0x1da6d1[_0x4e38b4(0x92)]),_0x5ebbf0['azFGb']),_0x2060d4=new messages['AccessibilityConfigRequest'](),_0x344c21=CLIUtils[_0x4e38b4(0xf8)](),_0x475b1e=_0x344c21[_0x4e38b4(0xe7)],_0x1d7dd1=_0x344c21[_0x4e38b4(0xe4)];return _0x2060d4[_0x4e38b4(0xc1)](this[_0x4e38b4(0x160)]),_0x2060d4[_0x4e38b4(0xda)](0x0),_0x2060d4[_0x4e38b4(0xee)](_0x475b1e),_0x2060d4[_0x4e38b4(0x157)](_0x1d7dd1),_0x2060d4['setHubUrl'](_0x1da6d1[_0x4e38b4(0x139)]),_0x2060d4[_0x4e38b4(0xfb)](_0x5b4d96),new Promise((_0x13c12c,_0x50ad95)=>{const _0x3e69f4=_0x4e38b4;this[_0x3e69f4(0x147)]['accessibilityConfig'](_0x2060d4,(_0x37c123,_0x3ce317)=>{const _0xd02d9a=_0x3e69f4;if(_0x37c123){this[_0xd02d9a(0xf9)][_0xd02d9a(0xf2)]('AccessibilityConfig\x20error:\x20'+_0x37c123[_0xd02d9a(0x12d)]),_0x5ebbf0[_0xd02d9a(0xaf)](_0x50ad95,_0x37c123);return;}this[_0xd02d9a(0xf9)]['info'](_0x5ebbf0[_0xd02d9a(0x105)]),_0x5ebbf0['OOTpV'](_0x13c12c,_0x3ce317);});});}catch(_0x4665a8){this['logger'][_0x4e38b4(0xf2)](_0x4e38b4(0xf5)+util[_0x4e38b4(0xd5)](_0x4665a8));}}async['testSessionEvent'](_0x4d88b3){const _0x408849=a64_0x537c3f,_0xff815b={'nHDQl':function(_0x169a58,_0x3d39d7){return _0x169a58(_0x3d39d7);},'DIdlA':_0x408849(0x151),'xHNJL':_0x408849(0x136),'QIBHg':_0x408849(0xd7)};this[_0x408849(0xf9)]['info'](_0xff815b['xHNJL']);try{!this[_0x408849(0x147)]&&this[_0x408849(0xf9)][_0x408849(0x153)](_0xff815b[_0x408849(0xe1)]);const {platformIndex:_0x3192a9,testFrameworkName:_0x5d00ab,testFrameworkVersion:_0x4fe168,testFrameworkState:_0x21e2f2,testHookState:_0x60a163,testUuid:_0x2afac7,automationSession:_0x373ad8,capabilities:_0x562e18,executionContext:_0x5ce220}=_0x4d88b3,_0x405ec3=new messages['TestSessionEventRequest']();_0x405ec3[_0x408849(0xc1)](this[_0x408849(0x160)]),_0x405ec3[_0x408849(0xda)](_0x3192a9),_0x405ec3[_0x408849(0xc0)](_0x5d00ab),_0x405ec3['setTestFrameworkVersion'](_0x4fe168),_0x405ec3[_0x408849(0xde)](_0x21e2f2),_0x405ec3[_0x408849(0x152)](_0x60a163),_0x405ec3[_0x408849(0xb8)](_0x2afac7);const _0x34c759=new messages[(_0x408849(0xeb))][(_0x408849(0xcc))]();_0x34c759[_0x408849(0xe3)](_0x373ad8[_0x408849(0x10d)]),_0x34c759[_0x408849(0xee)](_0x373ad8[_0x408849(0x146)]),_0x34c759[_0x408849(0x157)](_0x373ad8[_0x408849(0x11d)]),_0x34c759[_0x408849(0x13c)](_0x373ad8['frameworkSessionId']),_0x34c759[_0x408849(0xff)](_0x373ad8['ref']),_0x34c759['setHubUrl'](_0x373ad8[_0x408849(0x139)]),_0x405ec3[_0x408849(0xb3)](_0x34c759),_0x405ec3[_0x408849(0xfb)](_0x562e18);const _0x4aff01=new messages[(_0x408849(0x13e))]();return _0x4aff01[_0x408849(0xbb)](_0x5ce220[_0x408849(0x14b)]),_0x4aff01['setThreadId'](_0x5ce220[_0x408849(0x115)]),_0x4aff01[_0x408849(0x8f)](_0x5ce220[_0x408849(0x107)]),_0x405ec3['setExecutionContext'](_0x4aff01),new Promise((_0x350bee,_0x32a65b)=>{const _0x5dcb5d=_0x408849,_0x576bfd={'dSaFh':function(_0x5686d6,_0x2bc724){return _0xff815b['nHDQl'](_0x5686d6,_0x2bc724);},'rtlMf':_0xff815b['DIdlA']};this[_0x5dcb5d(0x147)][_0x5dcb5d(0xba)](_0x405ec3,(_0x396000,_0x2d377b)=>{const _0x2f9b32=_0x5dcb5d;if(_0x396000){this[_0x2f9b32(0xf9)][_0x2f9b32(0xf2)](_0x2f9b32(0x109)+_0x396000[_0x2f9b32(0x12d)]),_0x576bfd[_0x2f9b32(0xcd)](_0x32a65b,_0x396000);return;}this[_0x2f9b32(0xf9)][_0x2f9b32(0x153)](_0x576bfd['rtlMf']),_0x576bfd[_0x2f9b32(0xcd)](_0x350bee,_0x2d377b);});});}catch(_0x327e79){this['logger']['error']('Error\x20in\x20TestSessionEvent:\x20'+util['format'](_0x327e79));throw _0x327e79;}}async['testFrameworkEvent'](_0x23ad01){const _0x5351be=a64_0x537c3f,_0x46d1cc={'uqbJg':function(_0xf5d552,_0x363f52){return _0xf5d552(_0x363f52);},'ZJPut':_0x5351be(0xd2),'WqKLV':function(_0x25fea7,_0x8baf2){return _0x25fea7(_0x8baf2);},'kqRry':_0x5351be(0x122),'RySdE':_0x5351be(0xd7)};this[_0x5351be(0xf9)][_0x5351be(0x153)](_0x46d1cc['kqRry']);try{!this[_0x5351be(0x147)]&&this[_0x5351be(0xf9)][_0x5351be(0x153)](_0x46d1cc[_0x5351be(0x96)]);const {platfromIndex:_0x1e5d0a,testFrameworkName:_0x3aac4b,testFrameworkVersion:_0xc289ec,testFrameworkState:_0x4f8a3d,hookState:_0x1d3148,startedAt:_0x44a8b1,endedAt:_0xacc37d,uuid:_0x7cf2c,eventJson:_0x24e91e,executionContext:_0x597be1}=_0x23ad01,_0x3667c8=new messages[(_0x5351be(0xbc))]();_0x3667c8[_0x5351be(0xc1)](this[_0x5351be(0x160)]),_0x3667c8['setPlatformIndex'](_0x1e5d0a),_0x3667c8[_0x5351be(0xc0)](_0x3aac4b),_0x3667c8[_0x5351be(0xaa)](_0xc289ec),_0x3667c8[_0x5351be(0xde)](_0x4f8a3d),_0x3667c8[_0x5351be(0x152)](_0x1d3148),_0x3667c8[_0x5351be(0x98)](_0x44a8b1),_0x3667c8['setEndedAt'](_0xacc37d),_0x3667c8[_0x5351be(0xa4)](_0x7cf2c),_0x3667c8[_0x5351be(0x11b)](_0x24e91e);const _0x2e1ebf=new messages[(_0x5351be(0x13e))]();return _0x2e1ebf[_0x5351be(0xbb)](_0x597be1[_0x5351be(0x14b)]),_0x2e1ebf[_0x5351be(0x13a)](_0x597be1[_0x5351be(0x115)]),_0x2e1ebf[_0x5351be(0x8f)](_0x597be1[_0x5351be(0x107)]),_0x3667c8[_0x5351be(0xdc)](_0x2e1ebf),new Promise((_0x1b60ad,_0x1a716e)=>{const _0x55fa99=_0x5351be,_0x488cbe={'HKyIL':function(_0x341efa,_0x166c88){const _0x4ca9a3=a64_0x3e2d;return _0x46d1cc[_0x4ca9a3(0x9b)](_0x341efa,_0x166c88);},'qbBPp':_0x46d1cc[_0x55fa99(0x90)],'fZmbQ':function(_0x4e68fe,_0x5b83e2){return _0x46d1cc['WqKLV'](_0x4e68fe,_0x5b83e2);}};this[_0x55fa99(0x147)]['testFrameworkEvent'](_0x3667c8,(_0x464cfe,_0x4c7dc6)=>{const _0x110083=_0x55fa99;if(_0x464cfe){this[_0x110083(0xf9)][_0x110083(0xf2)](_0x110083(0x141)+_0x464cfe[_0x110083(0x12d)]),_0x488cbe[_0x110083(0x11c)](_0x1a716e,_0x464cfe);return;}this[_0x110083(0xf9)]['info'](_0x488cbe[_0x110083(0x15d)]),_0x488cbe[_0x110083(0x140)](_0x1b60ad,_0x4c7dc6);});});}catch(_0x5542ee){this['logger'][_0x5351be(0xf2)](_0x5351be(0xea)+util[_0x5351be(0xd5)](_0x5542ee));throw _0x5542ee;}}async['driverInit'](_0x36d0ba){const _0x482318=a64_0x537c3f,_0x5a78d7={'tRscx':function(_0x584d7d,_0x43efd5){return _0x584d7d(_0x43efd5);},'cdhTA':_0x482318(0xd1),'sraHj':'Sending\x20DriverInit','fybwT':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x482318(0xf9)][_0x482318(0x153)](_0x5a78d7['sraHj']);try{!this[_0x482318(0x147)]&&this[_0x482318(0xf9)][_0x482318(0x153)](_0x5a78d7['fybwT']);const {platformIndex:_0x539549,ref:_0x328b67,userInputParams:_0x153803}=_0x36d0ba,_0x5cbd6f=new messages['DriverInitRequest']();return _0x5cbd6f[_0x482318(0xc1)](this[_0x482318(0x160)]),_0x5cbd6f[_0x482318(0xda)](_0x539549),_0x5cbd6f['setRef'](_0x328b67),_0x5cbd6f[_0x482318(0x13b)](_0x153803),new Promise((_0x35bff3,_0x36df9a)=>{const _0x113236=_0x482318;this[_0x113236(0x147)]['driverInit'](_0x5cbd6f,(_0x35c4e1,_0x2b7718)=>{const _0x41c3e5=_0x113236;if(_0x35c4e1){this[_0x41c3e5(0xf9)]['error'](_0x41c3e5(0x120)+_0x35c4e1[_0x41c3e5(0x12d)]),_0x5a78d7[_0x41c3e5(0xac)](_0x36df9a,_0x35c4e1);return;}this['logger'][_0x41c3e5(0x153)](_0x5a78d7[_0x41c3e5(0xbe)]),_0x5a78d7[_0x41c3e5(0xac)](_0x35bff3,_0x2b7718);});});}catch(_0x5f5c08){this[_0x482318(0xf9)][_0x482318(0xf2)](_0x482318(0xc2)+util[_0x482318(0xd5)](_0x5f5c08));throw _0x5f5c08;}}async[a64_0x537c3f(0xf0)](_0x4c232d){const _0x244fff=a64_0x537c3f,_0x3d5950={'eOIOb':function(_0x1ffc48,_0x18eee9){return _0x1ffc48===_0x18eee9;},'rvgFX':function(_0xd1f5f0,_0x353c1b){return _0xd1f5f0(_0x353c1b);},'SKrSr':_0x244fff(0x12e),'AGSBW':function(_0x307ca6,_0x519ead){return _0x307ca6(_0x519ead);},'vmntH':_0x244fff(0x113),'nWLFX':_0x244fff(0xd7)};this['logger'][_0x244fff(0x153)](_0x3d5950[_0x244fff(0xa1)]);try{!this[_0x244fff(0x147)]&&this[_0x244fff(0xf9)]['info'](_0x3d5950[_0x244fff(0x100)]);const {platformIndex:_0x211031,logs:_0xf0db16}=_0x4c232d,_0x38264b=new messages[(_0x244fff(0xc5))]();_0x38264b[_0x244fff(0xc1)](this[_0x244fff(0x160)]),_0x38264b[_0x244fff(0xda)](_0x211031);const _0x5e4f74=_0x4c232d[_0x244fff(0x10f)],_0x5e1974=_0x4c232d['testFrameworkVersion'],_0x21a487=_0x4c232d[_0x244fff(0x14a)];return _0xf0db16['forEach'](_0x307bc7=>{const _0x5ae572=_0x244fff,_0x25db5a=new messages[(_0x5ae572(0xc5))][(_0x5ae572(0xe5))]();_0x25db5a[_0x5ae572(0xc0)](_0x5e4f74),_0x25db5a[_0x5ae572(0xaa)](_0x5e1974),_0x25db5a['setTestFrameworkState'](_0x21a487),_0x25db5a[_0x5ae572(0xd0)](_0x307bc7[_0x5ae572(0xc7)]),_0x25db5a['setUuid'](_0x307bc7[_0x5ae572(0xce)]),_0x25db5a[_0x5ae572(0x104)](_0x307bc7[_0x5ae572(0x14d)]),_0x3d5950[_0x5ae572(0xa2)](_0x307bc7[_0x5ae572(0x126)],PLAYWRIGHT_TRACE_LOGS)?(_0x25db5a[_0x5ae572(0xa4)](_0x307bc7[_0x5ae572(0x15e)]),_0x25db5a[_0x5ae572(0x143)](new TextEncoder()['encode'](JSON['stringify'](_0x307bc7)))):_0x25db5a['setMessage'](new TextEncoder()[_0x5ae572(0x9c)](_0x307bc7['message'])),_0x25db5a['setLevel'](_0x307bc7[_0x5ae572(0x150)]),_0x25db5a[_0x5ae572(0x129)](_0x307bc7?.[_0x5ae572(0x12c)]||''),_0x25db5a[_0x5ae572(0x114)](_0x307bc7?.[_0x5ae572(0xae)]||''),_0x25db5a[_0x5ae572(0x11f)](_0x307bc7?.[_0x5ae572(0x148)]||0x0),_0x25db5a[_0x5ae572(0xc4)](_0x307bc7?.['attachment_type']||''),_0x38264b[_0x5ae572(0xf1)](_0x25db5a);}),new Promise((_0xeab167,_0x44170b)=>{const _0x5df50d=_0x244fff;this[_0x5df50d(0x147)][_0x5df50d(0xf0)](_0x38264b,(_0x38603b,_0x230769)=>{const _0x3d8a77=_0x5df50d;if(_0x38603b){this['logger'][_0x3d8a77(0xf2)](_0x3d8a77(0xcf)+_0x38603b[_0x3d8a77(0x12d)]),_0x3d5950['rvgFX'](_0x44170b,_0x38603b);return;}this['logger']['info'](_0x3d5950['SKrSr']),_0x3d5950['AGSBW'](_0xeab167,_0x230769);});});}catch(_0x2a53d0){this[_0x244fff(0xf9)]['error'](_0x244fff(0xc8)+util['format'](_0x2a53d0));throw _0x2a53d0;}}['getClient'](){return this['client'];}['getChannel'](){const _0xaee505=a64_0x537c3f;return this[_0xaee505(0xa6)];}}module[a64_0x537c3f(0x12a)]=GrpcClient;
@@ -1 +1 @@
1
- const a65_0x216cea=a65_0x2bb1;(function(_0x2be7fc,_0x203581){const _0x5c9cb9=a65_0x2bb1,_0x14e0ff=_0x2be7fc();while(!![]){try{const _0x109767=parseInt(_0x5c9cb9(0x1d9))/0x1*(parseInt(_0x5c9cb9(0x1de))/0x2)+-parseInt(_0x5c9cb9(0x1d2))/0x3+parseInt(_0x5c9cb9(0x1d0))/0x4*(parseInt(_0x5c9cb9(0x1e0))/0x5)+parseInt(_0x5c9cb9(0x1e1))/0x6*(parseInt(_0x5c9cb9(0x1e4))/0x7)+parseInt(_0x5c9cb9(0x1cf))/0x8*(-parseInt(_0x5c9cb9(0x1ce))/0x9)+parseInt(_0x5c9cb9(0x1e5))/0xa*(parseInt(_0x5c9cb9(0x1db))/0xb)+-parseInt(_0x5c9cb9(0x1cc))/0xc*(parseInt(_0x5c9cb9(0x1d6))/0xd);if(_0x109767===_0x203581)break;else _0x14e0ff['push'](_0x14e0ff['shift']());}catch(_0x4bc16b){_0x14e0ff['push'](_0x14e0ff['shift']());}}}(a65_0x3bfc,0x8715b));const AutomationFrameworkState=require(a65_0x216cea(0x1da)),TrackedInstance=require(a65_0x216cea(0x1dd)),now=new Date();function a65_0x3bfc(){const _0x222ff9=['frameworkName','118780DIdaZh','6pBUBQo','getFrameworkVersion','frameworkVersion','6492157VZlCLD','517490yxMuYQ','4|0|3|5|2|1','12yWzFnS','split','767349VFhAdV','88GwxWHV','128nPwVxk','setState','1241106ObFgRh','state','exports','getFrameworkName','10731383ExLHnk','BYneR','NONE','6483AFuudw','../state/automationFrameworkState','99UqMIuz','toLocaleString','./trackedInstance','178LkOneZ'];a65_0x3bfc=function(){return _0x222ff9;};return a65_0x3bfc();}function a65_0x2bb1(_0x2047d4,_0x22e357){const _0x3bfc26=a65_0x3bfc();return a65_0x2bb1=function(_0x2bb13a,_0x36fa65){_0x2bb13a=_0x2bb13a-0x1cb;let _0xfc8aa4=_0x3bfc26[_0x2bb13a];return _0xfc8aa4;},a65_0x2bb1(_0x2047d4,_0x22e357);}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x15ef5f,_0x20166d,_0x3228b7,_0x2ac66c){const _0x330dbd=a65_0x216cea,_0x401bf6={};_0x401bf6[_0x330dbd(0x1d7)]=_0x330dbd(0x1cb);const _0x43c72f=_0x401bf6,_0x138bf2=_0x43c72f[_0x330dbd(0x1d7)][_0x330dbd(0x1cd)]('|');let _0x4553f2=0x0;while(!![]){switch(_0x138bf2[_0x4553f2++]){case'0':this[_0x330dbd(0x1df)]=_0x20166d;continue;case'1':this['createdAt']=now[_0x330dbd(0x1dc)]();continue;case'2':this['lastState']=AutomationFrameworkState[_0x330dbd(0x1d8)];continue;case'3':this[_0x330dbd(0x1e3)]=_0x3228b7;continue;case'4':super(_0x15ef5f);continue;case'5':this[_0x330dbd(0x1d3)]=_0x2ac66c;continue;}break;}}[a65_0x216cea(0x1d5)](){const _0x2af0ac=a65_0x216cea;return this[_0x2af0ac(0x1df)];}[a65_0x216cea(0x1e2)](){const _0x1e35f0=a65_0x216cea;return this[_0x1e35f0(0x1e3)];}['getState'](){const _0x54a140=a65_0x216cea;return this[_0x54a140(0x1d3)];}[a65_0x216cea(0x1d1)](_0x2632a6){const _0x5ab0b4=a65_0x216cea;this['lastState']=this[_0x5ab0b4(0x1d3)],this[_0x5ab0b4(0x1d3)]=_0x2632a6;}}module[a65_0x216cea(0x1d4)]=AutomationFrameworkInstance;
1
+ const a65_0x265cdd=a65_0x1baa;function a65_0x22b3(){const _0x3c0451=['10243408aZbaxJ','8378406AfXdRk','5546790zdITPu','scfKm','frameworkName','../state/automationFrameworkState','7KjvCRK','./trackedInstance','7578vwXPqt','lastState','toLocaleString','44biqSSE','3|0|1|4|2|5','3075974MCUuHj','322435GPaFpT','frameworkVersion','370170edDYYn','getFrameworkVersion','getFrameworkName','10VxdnHj','834sUtIuq','getState','setState','state'];a65_0x22b3=function(){return _0x3c0451;};return a65_0x22b3();}(function(_0x325ed9,_0x4c8e96){const _0x14edcb=a65_0x1baa,_0x47009f=_0x325ed9();while(!![]){try{const _0x41888c=-parseInt(_0x14edcb(0x1f4))/0x1+parseInt(_0x14edcb(0x204))/0x2*(-parseInt(_0x14edcb(0x1f8))/0x3)+-parseInt(_0x14edcb(0x1ef))/0x4*(-parseInt(_0x14edcb(0x1f2))/0x5)+parseInt(_0x14edcb(0x1fe))/0x6+parseInt(_0x14edcb(0x202))/0x7*(parseInt(_0x14edcb(0x1fc))/0x8)+-parseInt(_0x14edcb(0x1fd))/0x9+-parseInt(_0x14edcb(0x1f7))/0xa*(-parseInt(_0x14edcb(0x1f1))/0xb);if(_0x41888c===_0x4c8e96)break;else _0x47009f['push'](_0x47009f['shift']());}catch(_0x7d1d42){_0x47009f['push'](_0x47009f['shift']());}}}(a65_0x22b3,0xccf0c));function a65_0x1baa(_0x407c09,_0x2f2ade){const _0x22b340=a65_0x22b3();return a65_0x1baa=function(_0x1baafb,_0x39185b){_0x1baafb=_0x1baafb-0x1ef;let _0x213804=_0x22b340[_0x1baafb];return _0x213804;},a65_0x1baa(_0x407c09,_0x2f2ade);}const AutomationFrameworkState=require(a65_0x265cdd(0x201)),TrackedInstance=require(a65_0x265cdd(0x203)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x2356de,_0x37d756,_0x499b99,_0x2f801d){const _0x24a047=a65_0x265cdd,_0x58d4ef={};_0x58d4ef[_0x24a047(0x1ff)]=_0x24a047(0x1f0);const _0x515dd4=_0x58d4ef,_0x2264ec=_0x515dd4[_0x24a047(0x1ff)]['split']('|');let _0x335bac=0x0;while(!![]){switch(_0x2264ec[_0x335bac++]){case'0':this[_0x24a047(0x200)]=_0x37d756;continue;case'1':this['frameworkVersion']=_0x499b99;continue;case'2':this[_0x24a047(0x205)]=AutomationFrameworkState['NONE'];continue;case'3':super(_0x2356de);continue;case'4':this['state']=_0x2f801d;continue;case'5':this['createdAt']=now[_0x24a047(0x206)]();continue;}break;}}[a65_0x265cdd(0x1f6)](){const _0x51eb02=a65_0x265cdd;return this[_0x51eb02(0x200)];}[a65_0x265cdd(0x1f5)](){const _0x229eab=a65_0x265cdd;return this[_0x229eab(0x1f3)];}[a65_0x265cdd(0x1f9)](){const _0x3ef7f9=a65_0x265cdd;return this[_0x3ef7f9(0x1fb)];}[a65_0x265cdd(0x1fa)](_0x4e188d){const _0x1e0eb9=a65_0x265cdd;this[_0x1e0eb9(0x205)]=this[_0x1e0eb9(0x1fb)],this['state']=_0x4e188d;}}module['exports']=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- const a66_0x284868=a66_0x1169;(function(_0x39e86c,_0x4923ac){const _0x646598=a66_0x1169,_0x2a25f1=_0x39e86c();while(!![]){try{const _0x48d9a7=-parseInt(_0x646598(0x1cc))/0x1+parseInt(_0x646598(0x1b4))/0x2+parseInt(_0x646598(0x1b6))/0x3+parseInt(_0x646598(0x1cd))/0x4*(parseInt(_0x646598(0x1b5))/0x5)+-parseInt(_0x646598(0x1b7))/0x6+parseInt(_0x646598(0x1c1))/0x7+-parseInt(_0x646598(0x1b1))/0x8;if(_0x48d9a7===_0x4923ac)break;else _0x2a25f1['push'](_0x2a25f1['shift']());}catch(_0x2718bb){_0x2a25f1['push'](_0x2a25f1['shift']());}}}(a66_0x5849,0xf21a8));function a66_0x5849(){const _0x32843b=['currentTestState','0|4|7|3|2|5|1|6','getCreatedAt','15135184tuwuXF','split','NONE','1810148iBXBKk','5sxocpk','3782904vFOgDy','2446242YRCqMF','getCurrentHookState','iTWlU','../state/hookState','TrackedInstance','lastHookState','currentHookState','./trackedInstance','testFrameworksVersions','../state/testFrameworkState','2269470vOqvEg','setLastHookState','createdAt','./trackedContext','setCurrentHookState','../../../helpers/classLogger','lastTestState','setLastTestState','getLastHookState','testFrameworks','getCurrentTestState','155888auHolp','3827588tdthNC'];a66_0x5849=function(){return _0x32843b;};return a66_0x5849();}const {createClassLogger}=require(a66_0x284868(0x1c6)),logger=createClassLogger(a66_0x284868(0x1bb)),HookState=require(a66_0x284868(0x1ba)),TestFrameworkState=require(a66_0x284868(0x1c0)),TrackedContext=require(a66_0x284868(0x1c4)),TrackedInstance=require(a66_0x284868(0x1be)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x43b2ea,_0x496e12,_0x1a8e9d,_0x31e447,_0x5f5a47){const _0x48b3a0=a66_0x284868,_0x152910={};_0x152910[_0x48b3a0(0x1b9)]=_0x48b3a0(0x1af);const _0x431d6c=_0x152910,_0x311f78=_0x431d6c[_0x48b3a0(0x1b9)][_0x48b3a0(0x1b2)]('|');let _0x489e7e=0x0;while(!![]){switch(_0x311f78[_0x489e7e++]){case'0':super(_0x43b2ea);continue;case'1':this[_0x48b3a0(0x1bc)]=HookState['NONE'];continue;case'2':this[_0x48b3a0(0x1bd)]=_0x5f5a47;continue;case'3':this[_0x48b3a0(0x1ae)]=_0x31e447;continue;case'4':this[_0x48b3a0(0x1ca)]=_0x496e12;continue;case'5':this[_0x48b3a0(0x1c7)]=TestFrameworkState[_0x48b3a0(0x1b3)];continue;case'6':this[_0x48b3a0(0x1c3)]=now['toLocaleString']();continue;case'7':this[_0x48b3a0(0x1bf)]=_0x1a8e9d;continue;}break;}}[a66_0x284868(0x1cb)](){const _0x1f4fc9=a66_0x284868;return this[_0x1f4fc9(0x1ae)];}['setCurrentTestState'](_0x52b3a9){const _0x8748a7=a66_0x284868;this['setLastTestState'](this[_0x8748a7(0x1ae)]),this[_0x8748a7(0x1ae)]=_0x52b3a9;}[a66_0x284868(0x1b8)](){const _0x3957c4=a66_0x284868;return this[_0x3957c4(0x1bd)];}[a66_0x284868(0x1c5)](_0x4bf32c){const _0x1d184e=a66_0x284868;this[_0x1d184e(0x1c2)](this[_0x1d184e(0x1bd)]),this[_0x1d184e(0x1bd)]=_0x4bf32c;}['getLastTestState'](){return this['lastTestState'];}[a66_0x284868(0x1c8)](_0x2efbe6){const _0x3ee654=a66_0x284868;this[_0x3ee654(0x1c7)]=_0x2efbe6;}[a66_0x284868(0x1c9)](){const _0x29edaa=a66_0x284868;return this[_0x29edaa(0x1bc)];}[a66_0x284868(0x1c2)](_0x549ed0){this['lastHookState']=_0x549ed0;}[a66_0x284868(0x1b0)](){const _0x4c2de7=a66_0x284868;return this[_0x4c2de7(0x1c3)];}}function a66_0x1169(_0x4608c8,_0x3106cc){const _0x58494c=a66_0x5849();return a66_0x1169=function(_0x116957,_0x4a8a4e){_0x116957=_0x116957-0x1ae;let _0x1ad463=_0x58494c[_0x116957];return _0x1ad463;},a66_0x1169(_0x4608c8,_0x3106cc);}module['exports']=TestFrameworkInstance;
1
+ const a66_0x290fea=a66_0x83f8;(function(_0x6b238d,_0x2ff6a7){const _0x55e909=a66_0x83f8,_0x282e47=_0x6b238d();while(!![]){try{const _0x5657d7=-parseInt(_0x55e909(0x18c))/0x1+-parseInt(_0x55e909(0x189))/0x2*(parseInt(_0x55e909(0x17b))/0x3)+-parseInt(_0x55e909(0x187))/0x4*(parseInt(_0x55e909(0x175))/0x5)+parseInt(_0x55e909(0x178))/0x6+parseInt(_0x55e909(0x17a))/0x7*(-parseInt(_0x55e909(0x170))/0x8)+-parseInt(_0x55e909(0x188))/0x9*(parseInt(_0x55e909(0x181))/0xa)+parseInt(_0x55e909(0x18e))/0xb*(parseInt(_0x55e909(0x171))/0xc);if(_0x5657d7===_0x2ff6a7)break;else _0x282e47['push'](_0x282e47['shift']());}catch(_0x1a528b){_0x282e47['push'](_0x282e47['shift']());}}}(a66_0x26e1,0x86831));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a66_0x290fea(0x190)),HookState=require(a66_0x290fea(0x18d)),TestFrameworkState=require(a66_0x290fea(0x177)),TrackedContext=require(a66_0x290fea(0x18f)),TrackedInstance=require(a66_0x290fea(0x173)),now=new Date();function a66_0x83f8(_0x43de82,_0x31fe7c){const _0x26e108=a66_0x26e1();return a66_0x83f8=function(_0x83f8bc,_0x56f378){_0x83f8bc=_0x83f8bc-0x16f;let _0x22ddcf=_0x26e108[_0x83f8bc];return _0x22ddcf;},a66_0x83f8(_0x43de82,_0x31fe7c);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x5ce5f1,_0x1bbb25,_0x3fd709,_0x60d5db,_0x4ae133){const _0x32c6a4=a66_0x290fea,_0x3f232a={};_0x3f232a[_0x32c6a4(0x180)]=_0x32c6a4(0x182);const _0x34878f=_0x3f232a,_0x171485=_0x34878f['kylGi'][_0x32c6a4(0x184)]('|');let _0x278906=0x0;while(!![]){switch(_0x171485[_0x278906++]){case'0':this[_0x32c6a4(0x179)]=HookState[_0x32c6a4(0x17d)];continue;case'1':this['currentHookState']=_0x4ae133;continue;case'2':this[_0x32c6a4(0x174)]=_0x3fd709;continue;case'3':super(_0x5ce5f1);continue;case'4':this['lastTestState']=TestFrameworkState[_0x32c6a4(0x17d)];continue;case'5':this['createdAt']=now[_0x32c6a4(0x183)]();continue;case'6':this[_0x32c6a4(0x185)]=_0x60d5db;continue;case'7':this['testFrameworks']=_0x1bbb25;continue;}break;}}[a66_0x290fea(0x176)](){return this['currentTestState'];}[a66_0x290fea(0x17f)](_0x512b1d){const _0x282279=a66_0x290fea;this[_0x282279(0x186)](this[_0x282279(0x185)]),this[_0x282279(0x185)]=_0x512b1d;}[a66_0x290fea(0x17e)](){return this['currentHookState'];}[a66_0x290fea(0x18a)](_0x3b7887){const _0x15bce7=a66_0x290fea;this[_0x15bce7(0x172)](this[_0x15bce7(0x17c)]),this[_0x15bce7(0x17c)]=_0x3b7887;}['getLastTestState'](){const _0x4c168e=a66_0x290fea;return this[_0x4c168e(0x191)];}[a66_0x290fea(0x186)](_0x4a84f2){const _0x17645d=a66_0x290fea;this[_0x17645d(0x191)]=_0x4a84f2;}[a66_0x290fea(0x18b)](){const _0x5400c7=a66_0x290fea;return this[_0x5400c7(0x179)];}[a66_0x290fea(0x172)](_0x538d2f){const _0x43172c=a66_0x290fea;this[_0x43172c(0x179)]=_0x538d2f;}['getCreatedAt'](){return this['createdAt'];}}module[a66_0x290fea(0x16f)]=TestFrameworkInstance;function a66_0x26e1(){const _0x38e435=['testFrameworksVersions','605nwJJxE','getCurrentTestState','../state/testFrameworkState','6456192hgejKk','lastHookState','3976231bAljRt','20703KcedbY','currentHookState','NONE','getCurrentHookState','setCurrentTestState','kylGi','204820MCipoa','3|7|2|6|1|4|0|5','toLocaleString','split','currentTestState','setLastTestState','3464ljEWTF','324HkExou','34COMpct','setCurrentHookState','getLastHookState','420435ovKjEn','../state/hookState','5217124fxxaJs','./trackedContext','TrackedInstance','lastTestState','exports','8BfEyQE','36LpBSQv','setLastHookState','./trackedInstance'];a66_0x26e1=function(){return _0x38e435;};return a66_0x26e1();}
@@ -1 +1 @@
1
- function a67_0x6e2a(){const _0x5ebffc=['36zZhrgH','getProcessId','217608MMOXNP','exports','2FCQkSq','45480754puYQib','getThreadId','threadId','processId','14164460UQJJTA','TrackedContext','1212222fyddtF','10503143xPdDvu','type','130794buCXVn','getId','116kypEDL','174pJOrvt','142895MhXieu'];a67_0x6e2a=function(){return _0x5ebffc;};return a67_0x6e2a();}const a67_0x26fd72=a67_0x46b1;function a67_0x46b1(_0x400a5b,_0xfec2da){const _0x6e2a9b=a67_0x6e2a();return a67_0x46b1=function(_0x46b12f,_0xd3623f){_0x46b12f=_0x46b12f-0xc5;let _0x3812dd=_0x6e2a9b[_0x46b12f];return _0x3812dd;},a67_0x46b1(_0x400a5b,_0xfec2da);}(function(_0x2ceed2,_0x1fd547){const _0x1298db=a67_0x46b1,_0x3c6df0=_0x2ceed2();while(!![]){try{const _0x33747d=parseInt(_0x1298db(0xca))/0x1*(-parseInt(_0x1298db(0xd6))/0x2)+parseInt(_0x1298db(0xcd))/0x3*(-parseInt(_0x1298db(0xcf))/0x4)+parseInt(_0x1298db(0xd1))/0x5*(-parseInt(_0x1298db(0xd0))/0x6)+-parseInt(_0x1298db(0xcb))/0x7+parseInt(_0x1298db(0xd4))/0x8*(parseInt(_0x1298db(0xd2))/0x9)+parseInt(_0x1298db(0xc8))/0xa+parseInt(_0x1298db(0xd7))/0xb;if(_0x33747d===_0x1fd547)break;else _0x3c6df0['push'](_0x3c6df0['shift']());}catch(_0x117b10){_0x3c6df0['push'](_0x3c6df0['shift']());}}}(a67_0x6e2a,0xd082c));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a67_0x26fd72(0xc9));class TrackedContext{constructor(_0x5a9680,_0x5d531b,_0x1512a4,_0x2adbe1){const _0xbd2e44=a67_0x26fd72;this['id']=_0x5a9680,this[_0xbd2e44(0xc6)]=_0x5d531b,this['processId']=_0x1512a4,this['type']=_0x2adbe1;}[a67_0x26fd72(0xc5)](){const _0xa16c43=a67_0x26fd72;return this[_0xa16c43(0xc6)];}[a67_0x26fd72(0xd3)](){const _0x10a99e=a67_0x26fd72;return this[_0x10a99e(0xc7)];}[a67_0x26fd72(0xce)](){return this['id'];}['getType'](){const _0x2d6e8e=a67_0x26fd72;return this[_0x2d6e8e(0xcc)];}}module[a67_0x26fd72(0xd5)]=TrackedContext;
1
+ function a67_0x2af8(_0x27799c,_0x26aa02){const _0x46e254=a67_0x46e2();return a67_0x2af8=function(_0x2af827,_0x114cc0){_0x2af827=_0x2af827-0x1e1;let _0x5e5f58=_0x46e254[_0x2af827];return _0x5e5f58;},a67_0x2af8(_0x27799c,_0x26aa02);}const a67_0xf043d1=a67_0x2af8;(function(_0x26a746,_0xa160b8){const _0x289782=a67_0x2af8,_0x4d6701=_0x26a746();while(!![]){try{const _0x5c93a1=parseInt(_0x289782(0x1e8))/0x1+-parseInt(_0x289782(0x1ea))/0x2+parseInt(_0x289782(0x1e7))/0x3*(-parseInt(_0x289782(0x1f4))/0x4)+parseInt(_0x289782(0x1e1))/0x5+-parseInt(_0x289782(0x1e6))/0x6+-parseInt(_0x289782(0x1ed))/0x7*(parseInt(_0x289782(0x1f0))/0x8)+parseInt(_0x289782(0x1ec))/0x9*(parseInt(_0x289782(0x1e5))/0xa);if(_0x5c93a1===_0xa160b8)break;else _0x4d6701['push'](_0x4d6701['shift']());}catch(_0x4353be){_0x4d6701['push'](_0x4d6701['shift']());}}}(a67_0x46e2,0xd0856));const {createClassLogger}=require(a67_0xf043d1(0x1f3)),logger=createClassLogger(a67_0xf043d1(0x1f2));function a67_0x46e2(){const _0x30bbc0=['32089570iwKZFR','6269736rsRUXw','15405LOJXUr','10819pVGUSE','exports','1079262TvSvyV','type','9xgvAuC','2066113QErUPg','getType','processId','32POrtDw','getProcessId','TrackedContext','../../../helpers/classLogger','776aDaxiz','6978695DuEmbt','getId','threadId','getThreadId'];a67_0x46e2=function(){return _0x30bbc0;};return a67_0x46e2();}class TrackedContext{constructor(_0x4843c4,_0x4dbbcd,_0x5264cf,_0x2d9800){const _0x3fe18f=a67_0xf043d1;this['id']=_0x4843c4,this[_0x3fe18f(0x1e3)]=_0x4dbbcd,this[_0x3fe18f(0x1ef)]=_0x5264cf,this[_0x3fe18f(0x1eb)]=_0x2d9800;}[a67_0xf043d1(0x1e4)](){return this['threadId'];}[a67_0xf043d1(0x1f1)](){const _0x557216=a67_0xf043d1;return this[_0x557216(0x1ef)];}[a67_0xf043d1(0x1e2)](){return this['id'];}[a67_0xf043d1(0x1ee)](){const _0x294c82=a67_0xf043d1;return this[_0x294c82(0x1eb)];}}module[a67_0xf043d1(0x1e9)]=TrackedContext;
@@ -1 +1 @@
1
- const a68_0x2b80a4=a68_0xe562;(function(_0x58ce12,_0x369b80){const _0x246a27=a68_0xe562,_0x27ca21=_0x58ce12();while(!![]){try{const _0x28af81=parseInt(_0x246a27(0x1ab))/0x1+-parseInt(_0x246a27(0x1b4))/0x2*(parseInt(_0x246a27(0x1c2))/0x3)+parseInt(_0x246a27(0x1c1))/0x4*(parseInt(_0x246a27(0x1b6))/0x5)+parseInt(_0x246a27(0x1c8))/0x6+-parseInt(_0x246a27(0x1a6))/0x7+-parseInt(_0x246a27(0x1c9))/0x8*(parseInt(_0x246a27(0x1c6))/0x9)+parseInt(_0x246a27(0x1ad))/0xa;if(_0x28af81===_0x369b80)break;else _0x27ca21['push'](_0x27ca21['shift']());}catch(_0x432302){_0x27ca21['push'](_0x27ca21['shift']());}}}(a68_0x4110,0x2128e));const TrackedContext=require(a68_0x2b80a4(0x1bf)),crypto=require(a68_0x2b80a4(0x1b9)),{threadId}=require(a68_0x2b80a4(0x1a7));function a68_0xe562(_0x3279cf,_0x5495ba){const _0x41102b=a68_0x4110();return a68_0xe562=function(_0xe5629,_0x35f51a){_0xe5629=_0xe5629-0x1a6;let _0x49cd69=_0x41102b[_0xe5629];return _0x49cd69;},a68_0xe562(_0x3279cf,_0x5495ba);}class TrackedInstance{static [a68_0x2b80a4(0x1b0)]='isBrowserstackAutomationSession';constructor(_0x16efe7){const _0x304c18=a68_0x2b80a4;this[_0x304c18(0x1ba)]=_0x16efe7,this[_0x304c18(0x1b2)]=new Map();}[a68_0x2b80a4(0x1c4)](){const _0x39135c=a68_0x2b80a4;return this['context'][_0x39135c(0x1c0)]();}[a68_0x2b80a4(0x1b7)](){const _0x2f4577=a68_0x2b80a4;return this[_0x2f4577(0x1ba)];}['getAllData'](){return this['data'];}[a68_0x2b80a4(0x1a8)](_0x5e1698){const _0x59cd91=a68_0x2b80a4;Object[_0x59cd91(0x1c5)](_0x5e1698)[_0x59cd91(0x1ae)](_0x178cfc=>{const _0xabc9c8=_0x59cd91;this['data'][_0xabc9c8(0x1ac)](_0x178cfc,_0x5e1698[_0x178cfc]);});}['addMultipleEntries'](_0x3923fe){const _0x2d2f72=a68_0x2b80a4;Object[_0x2d2f72(0x1bb)](_0x3923fe)[_0x2d2f72(0x1ae)](([_0x35bb01,_0x5aacac])=>{const _0x289477=_0x2d2f72,_0xa4f45a=this[_0x289477(0x1b2)][_0x289477(0x1c7)](_0x35bb01)||{},_0x4adb4d={..._0xa4f45a,..._0x5aacac},_0x529c51=_0x4adb4d;this[_0x289477(0x1b2)][_0x289477(0x1ac)](_0x35bb01,_0x529c51);});}[a68_0x2b80a4(0x1b5)](_0x20ca57){const _0x41557e=a68_0x2b80a4;return this[_0x41557e(0x1b2)]['get'](_0x20ca57);}[a68_0x2b80a4(0x1bc)](_0x389c81,_0x2c363d){const _0x34ac99=a68_0x2b80a4;this[_0x34ac99(0x1b2)][_0x34ac99(0x1ac)](_0x389c81,_0x2c363d);}static[a68_0x2b80a4(0x1a9)](_0x1c3eef){const _0x4c3643=a68_0x2b80a4,_0x454aa2={};_0x454aa2['gUcDJ']=_0x4c3643(0x1af),_0x454aa2[_0x4c3643(0x1aa)]='hex',_0x454aa2[_0x4c3643(0x1b3)]=function(_0x51daa0,_0x4eeba8){return _0x51daa0||_0x4eeba8;};const _0x56adb2=_0x454aa2;return new TrackedContext(crypto[_0x4c3643(0x1b1)](_0x56adb2['gUcDJ'])[_0x4c3643(0x1c3)](_0x1c3eef)[_0x4c3643(0x1bd)](_0x56adb2['atpwj']),_0x56adb2[_0x4c3643(0x1b3)](threadId,0x0),process[_0x4c3643(0x1be)],typeof _0x1c3eef);}}module[a68_0x2b80a4(0x1b8)]=TrackedInstance;function a68_0x4110(){const _0x22cf07=['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','createHash','data','beEgJ','2294TGWDAx','getData','5LgPvxV','getContext','exports','crypto','context','entries','updateData','digest','pid','./trackedContext','getId','384388XHKCrW','567dhbuxt','update','getRef','keys','70326UjZDcd','get','934710uJNzMT','144emTEKv','1045562LpbQzu','worker_threads','updateMultipleEntries','createContext','atpwj','246849vXmhYb','set','1438920ZzYrIx','forEach','sha256'];a68_0x4110=function(){return _0x22cf07;};return a68_0x4110();}
1
+ const a68_0x23b782=a68_0x1c76;(function(_0x4c806e,_0x3377d3){const _0x429840=a68_0x1c76,_0x143f46=_0x4c806e();while(!![]){try{const _0x5e0ac7=-parseInt(_0x429840(0xbd))/0x1*(-parseInt(_0x429840(0xb2))/0x2)+parseInt(_0x429840(0xcb))/0x3*(parseInt(_0x429840(0xca))/0x4)+parseInt(_0x429840(0xc8))/0x5*(parseInt(_0x429840(0xc0))/0x6)+-parseInt(_0x429840(0xae))/0x7*(-parseInt(_0x429840(0xb3))/0x8)+-parseInt(_0x429840(0xcd))/0x9*(parseInt(_0x429840(0xaf))/0xa)+parseInt(_0x429840(0xb8))/0xb+-parseInt(_0x429840(0xce))/0xc;if(_0x5e0ac7===_0x3377d3)break;else _0x143f46['push'](_0x143f46['shift']());}catch(_0x5a94c1){_0x143f46['push'](_0x143f46['shift']());}}}(a68_0x289b,0x33024));function a68_0x289b(){const _0x57e66f=['21MiaqyD','11090peCXew','keys','./trackedContext','117162PZOdNP','698184xqbudj','updateData','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','getRef','updateMultipleEntries','2428536iTZqZL','createContext','context','getId','createHash','1PcWwch','worker_threads','getAllData','2125518HwwXud','YHyON','rMlBl','set','isBrowserstackAutomationSession','pid','entries','forEach','5mkvXKu','data','2488yRoKLY','1119hgHnBA','qbmTM','2601yocUMY','7176024wTkbQQ','get','exports'];a68_0x289b=function(){return _0x57e66f;};return a68_0x289b();}const TrackedContext=require(a68_0x23b782(0xb1)),crypto=require('crypto'),{threadId}=require(a68_0x23b782(0xbe));class TrackedInstance{static [a68_0x23b782(0xb5)]=a68_0x23b782(0xc4);constructor(_0x3b09f3){const _0xb550b9=a68_0x23b782;this[_0xb550b9(0xba)]=_0x3b09f3,this[_0xb550b9(0xc9)]=new Map();}[a68_0x23b782(0xb6)](){const _0x187d9a=a68_0x23b782;return this['context'][_0x187d9a(0xbb)]();}['getContext'](){return this['context'];}[a68_0x23b782(0xbf)](){const _0x134508=a68_0x23b782;return this[_0x134508(0xc9)];}[a68_0x23b782(0xb7)](_0x53534e){const _0x169394=a68_0x23b782;Object[_0x169394(0xb0)](_0x53534e)['forEach'](_0x279c13=>{const _0x48fe9f=_0x169394;this[_0x48fe9f(0xc9)][_0x48fe9f(0xc3)](_0x279c13,_0x53534e[_0x279c13]);});}['addMultipleEntries'](_0x206486){const _0x2de26a=a68_0x23b782;Object[_0x2de26a(0xc6)](_0x206486)[_0x2de26a(0xc7)](([_0x1085f1,_0x4b562a])=>{const _0x294b74=_0x2de26a,_0x4dac8c=this[_0x294b74(0xc9)][_0x294b74(0xcf)](_0x1085f1)||{},_0x132bc4={..._0x4dac8c,..._0x4b562a},_0x20eb1e=_0x132bc4;this['data']['set'](_0x1085f1,_0x20eb1e);});}['getData'](_0x3e2dc0){const _0x5266d0=a68_0x23b782;return this['data'][_0x5266d0(0xcf)](_0x3e2dc0);}[a68_0x23b782(0xb4)](_0x5070a9,_0x14f33a){this['data']['set'](_0x5070a9,_0x14f33a);}static[a68_0x23b782(0xb9)](_0xa5eaf7){const _0x48f963=a68_0x23b782,_0x27e920={};_0x27e920[_0x48f963(0xc1)]='sha256',_0x27e920[_0x48f963(0xcc)]='hex',_0x27e920[_0x48f963(0xc2)]=function(_0x4be3fe,_0x58b140){return _0x4be3fe||_0x58b140;};const _0x486334=_0x27e920;return new TrackedContext(crypto[_0x48f963(0xbc)](_0x486334[_0x48f963(0xc1)])['update'](_0xa5eaf7)['digest'](_0x486334[_0x48f963(0xcc)]),_0x486334[_0x48f963(0xc2)](threadId,0x0),process[_0x48f963(0xc5)],typeof _0xa5eaf7);}}function a68_0x1c76(_0x173643,_0x44e100){const _0x289b92=a68_0x289b();return a68_0x1c76=function(_0x1c76e4,_0x598607){_0x1c76e4=_0x1c76e4-0xad;let _0x399c41=_0x289b92[_0x1c76e4];return _0x399c41;},a68_0x1c76(_0x173643,_0x44e100);}module[a68_0x23b782(0xad)]=TrackedInstance;
@@ -1 +1 @@
1
- const a69_0x44b56e=a69_0x1817;(function(_0xd3a58a,_0x4db7a9){const _0x1ce15a=a69_0x1817,_0x4df992=_0xd3a58a();while(!![]){try{const _0x226f05=parseInt(_0x1ce15a(0x1c7))/0x1+-parseInt(_0x1ce15a(0x19b))/0x2*(-parseInt(_0x1ce15a(0x1b6))/0x3)+-parseInt(_0x1ce15a(0x19a))/0x4*(parseInt(_0x1ce15a(0x1c4))/0x5)+-parseInt(_0x1ce15a(0x189))/0x6+-parseInt(_0x1ce15a(0x1a6))/0x7*(parseInt(_0x1ce15a(0x1a1))/0x8)+-parseInt(_0x1ce15a(0x1af))/0x9+parseInt(_0x1ce15a(0x1c9))/0xa;if(_0x226f05===_0x4db7a9)break;else _0x4df992['push'](_0x4df992['shift']());}catch(_0x226a68){_0x4df992['push'](_0x4df992['shift']());}}}(a69_0x5c82,0xad158));function a69_0x5c82(){const _0x5ecb75=['getOptions','getAccessibility','setLogDisabledShown','PRE','put','getModuleName','getCurrentAccessibilityStatus','getCapabilitiesList','accessibilityConfig','BS_A11Y_JWT','setAccessibilityToken','4724rOqsdv','1306ohsJBT','UymMz','start','toJson','stack','accessibilityToken','16INSnHg','accessibilityPlatform','getCurrentInstanceName','uZkeo','scannerVersion','4910339JWNbIs','LOG_DISABLED_SHOWN','SDK_ACCESSIBILITY_CONFIG','browserstack.accessibilityOptions.authToken','../state/hookState','NXMuI','isEnabled','info','setAccessibilityConfig','3855294oKxZjE','../../../helpers/classLogger','bind','gugfI','5|9|2|0|1|7|8|4|6|3','getCommandsList','../framework/automationFramework','2802xAMDOU','browserstack.accessibilityOptions.scannerProcessingTimeout','getValue','split','toObject','browserstack.accessibilityOptions.wcagVersion','accessibility','getLogDisabledShown','registerObserver','jDVLq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','jXdqu','onBeforeTest','../../../helpers/performance/performance-tester.js','4020jgLixD','env','name:\x20','7366NirYKg','message','36665520NKbDpu','dNFDN','../../../helpers/performance/constants.js','./baseModule','WSMjY','QUIT','TrackedInstance','getAccessibilityConfig','Error\x20while\x20setting\x20accessibility\x20config:\x20','error','end','MODULE_NAME','onAfterTest:\x20event=','../../../helpers/accessibility-automation/scripts','getName','exports','wcagVersion','getInstance','../state/automationFrameworkState','onAfterTest','mymVj','get','onBeforeExecute','4764144yKhSRd','txdhB','scannerProcessingTimeout','\x20value=','GxIni','mFxyv'];a69_0x5c82=function(){return _0x5ecb75;};return a69_0x5c82();}const BaseModule=require(a69_0x44b56e(0x1cc)),{createClassLogger}=require(a69_0x44b56e(0x1b0)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a69_0x44b56e(0x1b5)),AutomationFrameworkState=require(a69_0x44b56e(0x1db)),HookState=require(a69_0x44b56e(0x1aa)),GrpcClient=require('../grpcClient'),scripts=require(a69_0x44b56e(0x1d6)),logger=createClassLogger(a69_0x44b56e(0x1cf)),PerformanceTester=require(a69_0x44b56e(0x1c3)),{EVENTS}=require(a69_0x44b56e(0x1cb));class AccessibilityModule extends BaseModule{static [a69_0x44b56e(0x1d4)]=AccessibilityModule['name'];constructor(_0xea70f8){const _0x43e558=a69_0x44b56e,_0x26145e={};_0x26145e[_0x43e558(0x1cd)]=_0x43e558(0x1b3);const _0x45d65e=_0x26145e,_0x7fb240=_0x45d65e['WSMjY'][_0x43e558(0x1b9)]('|');let _0x246d3c=0x0;while(!![]){switch(_0x7fb240[_0x246d3c++]){case'0':AutomationFramework[_0x43e558(0x1be)](AutomationFrameworkState[_0x43e558(0x1ce)],HookState[_0x43e558(0x192)],this[_0x43e558(0x1dc)][_0x43e558(0x1b1)](this));continue;case'1':this[_0x43e558(0x1ac)]=!![];continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x43e558(0x192)],this[_0x43e558(0x1c2)]['bind'](this));continue;case'3':this[_0x43e558(0x199)](_0xea70f8[_0x43e558(0x18f)]()[_0x43e558(0x196)]());continue;case'4':this[_0x43e558(0x1a7)]=new Map();continue;case'5':super();continue;case'6':this['isAppAccessibility']=![];continue;case'7':this[_0x43e558(0x197)]=_0xea70f8[_0x43e558(0x1ba)]();continue;case'8':this[_0x43e558(0x1bc)]=new Map();continue;case'9':AutomationFramework[_0x43e558(0x1be)](AutomationFrameworkState['EXECUTE'],HookState[_0x43e558(0x192)],this[_0x43e558(0x188)][_0x43e558(0x1b1)](this));continue;}break;}}[a69_0x44b56e(0x1ac)](){const _0x21086d=a69_0x44b56e;return this[_0x21086d(0x1ac)];}[a69_0x44b56e(0x194)](){const _0x2001f6=a69_0x44b56e;return AccessibilityModule[_0x2001f6(0x1d4)];}[a69_0x44b56e(0x195)](){const _0x7ce51b=a69_0x44b56e;return this['accessibility']['get'](CLIUtils[_0x7ce51b(0x1a3)](),![]);}[a69_0x44b56e(0x1bd)](){const _0x20e774=a69_0x44b56e;return this[_0x20e774(0x1a7)][_0x20e774(0x1de)](CLIUtils['getCurrentInstanceName'](),![]);}[a69_0x44b56e(0x191)](_0xa02756){const _0x2ffa01=a69_0x44b56e;this[_0x2ffa01(0x1a7)][_0x2ffa01(0x193)](CLIUtils[_0x2ffa01(0x1a3)](),_0xa02756);}async[a69_0x44b56e(0x1c2)](_0x4a3816){const _0x2a9a09=a69_0x44b56e;try{PerformanceTester[_0x2a9a09(0x19d)](EVENTS[_0x2a9a09(0x1a8)]);const _0x2f42f2=await GrpcClient[_0x2a9a09(0x1da)]()[_0x2a9a09(0x1d0)](_0x4a3816);_0x2f42f2&&_0x2f42f2['getAccessibility']()&&_0x2f42f2[_0x2a9a09(0x190)]()['getSuccess']()&&(global[_0x2a9a09(0x1a2)]=!![],process[_0x2a9a09(0x1c5)][_0x2a9a09(0x1c0)]=!![],this[_0x2a9a09(0x1ae)](_0x2f42f2,_0x4a3816)),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x183f16){PerformanceTester[_0x2a9a09(0x1d3)](EVENTS[_0x2a9a09(0x1a8)],![],_0x183f16[_0x2a9a09(0x1c8)]),logger[_0x2a9a09(0x1d2)](_0x2a9a09(0x1d1)+(_0x183f16[_0x2a9a09(0x19f)]||_0x183f16['message']));}}async[a69_0x44b56e(0x1ae)](_0x35366a,_0x4adb76){const _0x3e8f3f=a69_0x44b56e,_0x4b760a=_0x35366a[_0x3e8f3f(0x190)]()[_0x3e8f3f(0x18f)](),_0x18a750=_0x4b760a['getScriptsList'](),_0x2feae0=_0x4b760a['getCommandsToWrap']()?.[_0x3e8f3f(0x1b4)]();scripts['parseFromProto'](_0x18a750,_0x2feae0),scripts[_0x3e8f3f(0x19e)]();const _0x5ec675=_0x4b760a[_0x3e8f3f(0x196)]();await this[_0x3e8f3f(0x199)](_0x5ec675,_0x4adb76['launchCaps']);}async[a69_0x44b56e(0x199)](_0x39e70f,_0x2448b8={}){const _0x1ab208=a69_0x44b56e,_0x5d847b={};_0x5d847b['jXdqu']=function(_0x43b0a0,_0x404a40){return _0x43b0a0===_0x404a40;},_0x5d847b[_0x1ab208(0x18a)]=_0x1ab208(0x1a0),_0x5d847b[_0x1ab208(0x1bf)]=_0x1ab208(0x1a9),_0x5d847b[_0x1ab208(0x1dd)]=function(_0x770cdf,_0x167cf4){return _0x770cdf===_0x167cf4;},_0x5d847b[_0x1ab208(0x19c)]=_0x1ab208(0x1d9),_0x5d847b[_0x1ab208(0x1ca)]=_0x1ab208(0x1bb),_0x5d847b[_0x1ab208(0x1ab)]=function(_0x59fa65,_0x329e80){return _0x59fa65===_0x329e80;},_0x5d847b[_0x1ab208(0x18e)]=_0x1ab208(0x1a5),_0x5d847b['GxIni']='browserstack.accessibilityOptions.scannerVersion',_0x5d847b[_0x1ab208(0x1b2)]=_0x1ab208(0x18b),_0x5d847b[_0x1ab208(0x1a4)]=_0x1ab208(0x1b7);const _0x59c548=_0x5d847b;for(const _0x38c356 of _0x39e70f){logger[_0x1ab208(0x1ad)](_0x1ab208(0x1c6)+_0x38c356[_0x1ab208(0x1d7)]()+_0x1ab208(0x18c)+_0x38c356[_0x1ab208(0x1b8)]());if(_0x59c548[_0x1ab208(0x1c1)](_0x38c356['getName'](),_0x59c548['txdhB']))process[_0x1ab208(0x1c5)][_0x1ab208(0x198)]=_0x38c356['getValue'](),_0x2448b8[_0x59c548[_0x1ab208(0x1bf)]]=_0x38c356[_0x1ab208(0x1b8)]();else{if(_0x59c548[_0x1ab208(0x1dd)](_0x38c356['getName'](),_0x59c548[_0x1ab208(0x19c)]))_0x2448b8[_0x59c548['dNFDN']]=_0x38c356[_0x1ab208(0x1b8)]();else{if(_0x59c548['NXMuI'](_0x38c356[_0x1ab208(0x1d7)](),_0x59c548[_0x1ab208(0x18e)]))_0x2448b8[_0x59c548[_0x1ab208(0x18d)]]=_0x38c356[_0x1ab208(0x1b8)]();else _0x59c548[_0x1ab208(0x1dd)](_0x38c356['getName'](),_0x59c548[_0x1ab208(0x1b2)])&&(_0x2448b8[_0x59c548[_0x1ab208(0x1a4)]]=_0x38c356[_0x1ab208(0x1b8)]());}}}}[a69_0x44b56e(0x1dc)](_0x4db87e){const _0x36ea8e=a69_0x44b56e;logger[_0x36ea8e(0x1ad)](_0x36ea8e(0x1d5)+_0x4db87e);}['onBeforeExecute'](_0x2e4c5){const _0x1b729f=a69_0x44b56e;logger[_0x1b729f(0x1ad)]('onBeforeExecute:\x20event='+_0x2e4c5);}}function a69_0x1817(_0x444c66,_0x12d1c3){const _0x5c8233=a69_0x5c82();return a69_0x1817=function(_0x181706,_0x4b2292){_0x181706=_0x181706-0x188;let _0x33010e=_0x5c8233[_0x181706];return _0x33010e;},a69_0x1817(_0x444c66,_0x12d1c3);};module[a69_0x44b56e(0x1d8)]=AccessibilityModule;
1
+ const a69_0x1ee6b5=a69_0x3a0e;(function(_0x975930,_0x15cfa3){const _0x3d0706=a69_0x3a0e,_0x4743bc=_0x975930();while(!![]){try{const _0x1ea0b3=parseInt(_0x3d0706(0x1ad))/0x1+-parseInt(_0x3d0706(0x1bf))/0x2*(-parseInt(_0x3d0706(0x1bb))/0x3)+-parseInt(_0x3d0706(0x1ee))/0x4*(-parseInt(_0x3d0706(0x1d8))/0x5)+parseInt(_0x3d0706(0x1e4))/0x6*(-parseInt(_0x3d0706(0x1d5))/0x7)+parseInt(_0x3d0706(0x1a2))/0x8+-parseInt(_0x3d0706(0x1b4))/0x9+-parseInt(_0x3d0706(0x1cf))/0xa;if(_0x1ea0b3===_0x15cfa3)break;else _0x4743bc['push'](_0x4743bc['shift']());}catch(_0x48301a){_0x4743bc['push'](_0x4743bc['shift']());}}}(a69_0x3a91,0x3b3af));function a69_0x3a91(){const _0x2007a6=['CPTne','3121736JGfGDn','isAppAccessibility','./baseModule','name:\x20','dvGfz','BS_A11Y_JWT','onAfterTest','QUIT','SDK_ACCESSIBILITY_CONFIG','getInstance','hHXGy','451968jYVoiu','getCommandsToWrap','message','getCurrentInstanceName','onAfterTest:\x20event=','launchCaps','\x20value=','4057299HpGGyZ','onBeforeExecute:\x20event=','../../../helpers/performance/constants.js','TrackedInstance','bXDvm','getValue','env','12381kFwfrU','ubOQI','getLogDisabledShown','xkiAI','128KmQzrl','../framework/automationFramework','BROWSERSTACK_TEST_ACCESSIBILITY_YML','bind','getAccessibility','../../../helpers/performance/performance-tester.js','stack','getCurrentAccessibilityStatus','LOG_DISABLED_SHOWN','registerObserver','onBeforeExecute','toObject','start','getSuccess','../../../helpers/classLogger','Error\x20while\x20setting\x20accessibility\x20config:\x20','4576330UVvEwD','error','getName','WnnRQ','get','CREATE','853951XLZTGw','oZDDq','getScriptsList','833655QVvvCg','toJson','wcagVersion','getCommandsList','getModuleName','setAccessibilityConfig','onBeforeTest','getAccessibilityConfig','../cliUtils','tefHn','PRE','../../../helpers/accessibility-automation/scripts','6LwjnZf','MODULE_NAME','isEnabled','TCRAN','getCapabilitiesList','setLogDisabledShown','info','name','browserstack.accessibilityOptions.scannerProcessingTimeout','dDSEX','4kuPcyx','end','parseFromProto','accessibilityConfig','accessibility','setAccessibilityToken','scannerProcessingTimeout','browserstack.accessibilityOptions.scannerVersion','put','getOptions'];a69_0x3a91=function(){return _0x2007a6;};return a69_0x3a91();}const BaseModule=require(a69_0x1ee6b5(0x1a4)),{createClassLogger}=require(a69_0x1ee6b5(0x1cd)),CLIUtils=require(a69_0x1ee6b5(0x1e0)),AutomationFramework=require(a69_0x1ee6b5(0x1c0)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require('../state/hookState'),GrpcClient=require('../grpcClient'),scripts=require(a69_0x1ee6b5(0x1e3)),logger=createClassLogger(a69_0x1ee6b5(0x1b7)),PerformanceTester=require(a69_0x1ee6b5(0x1c4)),{EVENTS}=require(a69_0x1ee6b5(0x1b6));function a69_0x3a0e(_0x50027d,_0xbb2a38){const _0x3a9176=a69_0x3a91();return a69_0x3a0e=function(_0x3a0e69,_0x35ce08){_0x3a0e69=_0x3a0e69-0x19f;let _0x1cd44f=_0x3a9176[_0x3a0e69];return _0x1cd44f;},a69_0x3a0e(_0x50027d,_0xbb2a38);}class AccessibilityModule extends BaseModule{static [a69_0x1ee6b5(0x1e5)]=AccessibilityModule[a69_0x1ee6b5(0x1eb)];constructor(_0x3c01af){const _0xca90b3=a69_0x1ee6b5,_0x57566d={};_0x57566d[_0xca90b3(0x1e1)]='7|4|1|9|3|5|0|8|2|6';const _0x2ad3d8=_0x57566d,_0x3d6272=_0x2ad3d8[_0xca90b3(0x1e1)]['split']('|');let _0x46c9a7=0x0;while(!![]){switch(_0x3d6272[_0x46c9a7++]){case'0':this[_0xca90b3(0x1f2)]=new Map();continue;case'1':AutomationFramework[_0xca90b3(0x1c8)](AutomationFrameworkState[_0xca90b3(0x1d4)],HookState[_0xca90b3(0x1e2)],this[_0xca90b3(0x1de)][_0xca90b3(0x1c2)](this));continue;case'2':this[_0xca90b3(0x1a3)]=![];continue;case'3':this[_0xca90b3(0x1e6)]=!![];continue;case'4':AutomationFramework[_0xca90b3(0x1c8)](AutomationFrameworkState['EXECUTE'],HookState[_0xca90b3(0x1e2)],this['onBeforeExecute'][_0xca90b3(0x1c2)](this));continue;case'5':this[_0xca90b3(0x1f1)]=_0x3c01af[_0xca90b3(0x1ca)]();continue;case'6':this[_0xca90b3(0x1f3)](_0x3c01af[_0xca90b3(0x1a0)]()['getCapabilitiesList']());continue;case'7':super();continue;case'8':this[_0xca90b3(0x1c7)]=new Map();continue;case'9':AutomationFramework[_0xca90b3(0x1c8)](AutomationFrameworkState[_0xca90b3(0x1a9)],HookState[_0xca90b3(0x1e2)],this[_0xca90b3(0x1a8)][_0xca90b3(0x1c2)](this));continue;}break;}}[a69_0x1ee6b5(0x1e6)](){const _0x8450b2=a69_0x1ee6b5;return this[_0x8450b2(0x1e6)];}[a69_0x1ee6b5(0x1dc)](){const _0x5abaca=a69_0x1ee6b5;return AccessibilityModule[_0x5abaca(0x1e5)];}[a69_0x1ee6b5(0x1c6)](){const _0x1016cd=a69_0x1ee6b5;return this[_0x1016cd(0x1f2)][_0x1016cd(0x1d3)](CLIUtils['getCurrentInstanceName'](),![]);}[a69_0x1ee6b5(0x1bd)](){const _0x46a8eb=a69_0x1ee6b5;return this[_0x46a8eb(0x1c7)][_0x46a8eb(0x1d3)](CLIUtils['getCurrentInstanceName'](),![]);}[a69_0x1ee6b5(0x1e9)](_0x3d3ebd){const _0x4f802d=a69_0x1ee6b5;this[_0x4f802d(0x1c7)][_0x4f802d(0x19f)](CLIUtils[_0x4f802d(0x1b0)](),_0x3d3ebd);}async[a69_0x1ee6b5(0x1de)](_0xce860f){const _0x3af770=a69_0x1ee6b5;try{PerformanceTester[_0x3af770(0x1cb)](EVENTS[_0x3af770(0x1aa)]);const _0x3acd33=await GrpcClient[_0x3af770(0x1ab)]()[_0x3af770(0x1df)](_0xce860f);_0x3acd33&&_0x3acd33[_0x3af770(0x1c3)]()&&_0x3acd33['getAccessibility']()[_0x3af770(0x1cc)]()&&(global['accessibilityPlatform']=!![],process[_0x3af770(0x1ba)][_0x3af770(0x1c1)]=!![],this['setAccessibilityConfig'](_0x3acd33,_0xce860f)),PerformanceTester['end'](EVENTS[_0x3af770(0x1aa)]);}catch(_0xcf732f){PerformanceTester[_0x3af770(0x1ef)](EVENTS[_0x3af770(0x1aa)],![],_0xcf732f[_0x3af770(0x1af)]),logger[_0x3af770(0x1d0)](_0x3af770(0x1ce)+(_0xcf732f[_0x3af770(0x1c5)]||_0xcf732f[_0x3af770(0x1af)]));}}async[a69_0x1ee6b5(0x1dd)](_0x2d5a78,_0xf28286){const _0x462638=a69_0x1ee6b5,_0x44ac11=_0x2d5a78[_0x462638(0x1c3)]()[_0x462638(0x1a0)](),_0x258177=_0x44ac11[_0x462638(0x1d7)](),_0x22aee3=_0x44ac11[_0x462638(0x1ae)]()?.[_0x462638(0x1db)]();scripts[_0x462638(0x1f0)](_0x258177,_0x22aee3),scripts[_0x462638(0x1d9)]();const _0x21f3f6=_0x44ac11[_0x462638(0x1e8)]();await this[_0x462638(0x1f3)](_0x21f3f6,_0xf28286[_0x462638(0x1b2)]);}async[a69_0x1ee6b5(0x1f3)](_0x1ad97c,_0x561565={}){const _0x545c3d=a69_0x1ee6b5,_0x22d5ec={};_0x22d5ec[_0x545c3d(0x1a1)]=function(_0x2b8876,_0x1a6b31){return _0x2b8876===_0x1a6b31;},_0x22d5ec[_0x545c3d(0x1b8)]='accessibilityToken',_0x22d5ec[_0x545c3d(0x1a6)]='browserstack.accessibilityOptions.authToken',_0x22d5ec[_0x545c3d(0x1e7)]=function(_0x513c22,_0x73f71f){return _0x513c22===_0x73f71f;},_0x22d5ec[_0x545c3d(0x1be)]=_0x545c3d(0x1da),_0x22d5ec[_0x545c3d(0x1d6)]='browserstack.accessibilityOptions.wcagVersion',_0x22d5ec['dDSEX']='scannerVersion',_0x22d5ec['ubOQI']=_0x545c3d(0x1f5),_0x22d5ec[_0x545c3d(0x1ac)]=_0x545c3d(0x1f4),_0x22d5ec[_0x545c3d(0x1d2)]=_0x545c3d(0x1ec);const _0x1bc539=_0x22d5ec;for(const _0x476cee of _0x1ad97c){logger[_0x545c3d(0x1ea)](_0x545c3d(0x1a5)+_0x476cee['getName']()+_0x545c3d(0x1b3)+_0x476cee[_0x545c3d(0x1b9)]());if(_0x1bc539['CPTne'](_0x476cee['getName'](),_0x1bc539[_0x545c3d(0x1b8)]))process[_0x545c3d(0x1ba)][_0x545c3d(0x1a7)]=_0x476cee[_0x545c3d(0x1b9)](),_0x561565[_0x1bc539[_0x545c3d(0x1a6)]]=_0x476cee[_0x545c3d(0x1b9)]();else{if(_0x1bc539[_0x545c3d(0x1e7)](_0x476cee[_0x545c3d(0x1d1)](),_0x1bc539[_0x545c3d(0x1be)]))_0x561565[_0x1bc539[_0x545c3d(0x1d6)]]=_0x476cee[_0x545c3d(0x1b9)]();else{if(_0x1bc539[_0x545c3d(0x1e7)](_0x476cee[_0x545c3d(0x1d1)](),_0x1bc539[_0x545c3d(0x1ed)]))_0x561565[_0x1bc539[_0x545c3d(0x1bc)]]=_0x476cee[_0x545c3d(0x1b9)]();else _0x1bc539[_0x545c3d(0x1e7)](_0x476cee[_0x545c3d(0x1d1)](),_0x1bc539[_0x545c3d(0x1ac)])&&(_0x561565[_0x1bc539[_0x545c3d(0x1d2)]]=_0x476cee[_0x545c3d(0x1b9)]());}}}}[a69_0x1ee6b5(0x1a8)](_0x35a68e){const _0x22c57d=a69_0x1ee6b5;logger['info'](_0x22c57d(0x1b1)+_0x35a68e);}[a69_0x1ee6b5(0x1c9)](_0x42b92e){const _0xe71cf9=a69_0x1ee6b5;logger[_0xe71cf9(0x1ea)](_0xe71cf9(0x1b5)+_0x42b92e);}};module['exports']=AccessibilityModule;
@@ -1 +1 @@
1
- const a70_0x2044a3=a70_0x478b;(function(_0x268230,_0x478341){const _0x5d5701=a70_0x478b,_0x5bacff=_0x268230();while(!![]){try{const _0xcfa73d=parseInt(_0x5d5701(0x84))/0x1*(-parseInt(_0x5d5701(0x99))/0x2)+-parseInt(_0x5d5701(0x9d))/0x3+-parseInt(_0x5d5701(0x85))/0x4+-parseInt(_0x5d5701(0x9b))/0x5*(parseInt(_0x5d5701(0x96))/0x6)+parseInt(_0x5d5701(0x98))/0x7+parseInt(_0x5d5701(0x8d))/0x8*(-parseInt(_0x5d5701(0x91))/0x9)+parseInt(_0x5d5701(0x90))/0xa*(parseInt(_0x5d5701(0x8f))/0xb);if(_0xcfa73d===_0x478341)break;else _0x5bacff['push'](_0x5bacff['shift']());}catch(_0x33451c){_0x5bacff['push'](_0x5bacff['shift']());}}}(a70_0x2548,0x49e89));const logger=require(a70_0x2044a3(0x94))[a70_0x2044a3(0x83)];class BaseModule{constructor(){const _0x47cb59=a70_0x2044a3,_0xb8d87d={};_0xb8d87d[_0x47cb59(0x87)]=_0x47cb59(0x8a),_0xb8d87d[_0x47cb59(0x9c)]=_0x47cb59(0x9e);const _0x3b3fbf=_0xb8d87d,_0x1d82d4=_0x3b3fbf[_0x47cb59(0x87)]['split']('|');let _0xd0dd16=0x0;while(!![]){switch(_0x1d82d4[_0xd0dd16++]){case'0':this[_0x47cb59(0x82)]=0x0;continue;case'1':this[_0x47cb59(0x88)]=_0x3b3fbf['AtoVJ'];continue;case'2':this[_0x47cb59(0x97)]=null;continue;case'3':this[_0x47cb59(0x9a)]=null;continue;case'4':this[_0x47cb59(0x89)]={};continue;}break;}}[a70_0x2044a3(0x8c)](){const _0x5ada90=a70_0x2044a3,_0x4f45a9={};_0x4f45a9['IrLBG']='Missing\x20binSessionId';const _0x1ad728=_0x4f45a9;if(!this[_0x5ada90(0x97)])throw new Error(_0x1ad728[_0x5ada90(0x95)]);}[a70_0x2044a3(0x8b)](){const _0x521c7f=a70_0x2044a3;return this[_0x521c7f(0x88)];}[a70_0x2044a3(0x86)](_0x557486,_0x5f3d8d,_0x10678e,_0x2f09fc={}){const _0x493bdd=a70_0x2044a3,_0x3975aa={};_0x3975aa[_0x493bdd(0x8e)]='4|2|0|1|3';const _0x45a6b5=_0x3975aa,_0xa386b9=_0x45a6b5[_0x493bdd(0x8e)][_0x493bdd(0x93)]('|');let _0x12f266=0x0;while(!![]){switch(_0xa386b9[_0x12f266++]){case'0':this[_0x493bdd(0x9a)]=_0x10678e;continue;case'1':this[_0x493bdd(0x89)]=_0x2f09fc;continue;case'2':this['platformIndex']=_0x5f3d8d;continue;case'3':logger['debug']('Configured\x20module\x20'+this[_0x493bdd(0x8b)]()+'\x20with\x20binSessionId='+_0x557486+_0x493bdd(0x92)+_0x5f3d8d);continue;case'4':this[_0x493bdd(0x97)]=_0x557486;continue;}break;}}}module['exports']=BaseModule;function a70_0x478b(_0x4fe292,_0x1fa394){const _0x254826=a70_0x2548();return a70_0x478b=function(_0x478b2c,_0x1a97a4){_0x478b2c=_0x478b2c-0x82;let _0x5df7f3=_0x254826[_0x478b2c];return _0x5df7f3;},a70_0x478b(_0x4fe292,_0x1fa394);}function a70_0x2548(){const _0x2797bf=['name','config','1|2|0|4|3','getModuleName','ensureBinSession','505832JRlOyp','ujciX','520344rgEUyB','570HjDheM','72DBPDzb',',\x20platformIndex=','split','../../../helpers/logger.js','IrLBG','3554898tZaDUO','binSessionId','2000670NYzwjz','231910RcyXCI','client','5oHmvpT','AtoVJ','1191339wWWCQx','BaseModule','platformIndex','winstonLogger','5EuLDbu','2416824tlyRaX','configure','frxYb'];a70_0x2548=function(){return _0x2797bf;};return a70_0x2548();}
1
+ function a70_0x3f56(_0x520de6,_0x328ec4){const _0x466259=a70_0x4662();return a70_0x3f56=function(_0x3f56d3,_0x23093c){_0x3f56d3=_0x3f56d3-0xe2;let _0x5aafc0=_0x466259[_0x3f56d3];return _0x5aafc0;},a70_0x3f56(_0x520de6,_0x328ec4);}const a70_0x37b567=a70_0x3f56;(function(_0x35da15,_0x1c7054){const _0x5e4a5a=a70_0x3f56,_0x31952d=_0x35da15();while(!![]){try{const _0x5e7e43=parseInt(_0x5e4a5a(0xe5))/0x1*(-parseInt(_0x5e4a5a(0xed))/0x2)+parseInt(_0x5e4a5a(0xfc))/0x3*(-parseInt(_0x5e4a5a(0xff))/0x4)+-parseInt(_0x5e4a5a(0xf7))/0x5*(-parseInt(_0x5e4a5a(0xfa))/0x6)+-parseInt(_0x5e4a5a(0xf0))/0x7+parseInt(_0x5e4a5a(0xfb))/0x8+-parseInt(_0x5e4a5a(0xe7))/0x9+parseInt(_0x5e4a5a(0xe3))/0xa;if(_0x5e7e43===_0x1c7054)break;else _0x31952d['push'](_0x31952d['shift']());}catch(_0x4bc414){_0x31952d['push'](_0x31952d['shift']());}}}(a70_0x4662,0x95744));function a70_0x4662(){const _0x50ebc7=['configure','rOmIJ','1890012FxWxiE','3193920mPBiOM','21RvKJxV','BaseModule','getModuleName','617948dPQioi','platformIndex','Missing\x20binSessionId','binSessionId','split','9912050yCkyiJ','debug','69198bkLFuT','client','2140173YFvMfa','name','4|0|1|3|2','0|3|1|2|4','ensureBinSession','winstonLogger','4zXSkCC','QDsHu','\x20with\x20binSessionId=','1859795FOQfjX',',\x20platformIndex=','config','Configured\x20module\x20','../../../helpers/logger.js','oUmju','ZBZYG','15GYYcmr'];a70_0x4662=function(){return _0x50ebc7;};return a70_0x4662();}const logger=require(a70_0x37b567(0xf4))[a70_0x37b567(0xec)];class BaseModule{constructor(){const _0x8b6f8f=a70_0x37b567,_0x32f4a4={};_0x32f4a4[_0x8b6f8f(0xee)]=_0x8b6f8f(0xe9),_0x32f4a4[_0x8b6f8f(0xf5)]=_0x8b6f8f(0xfd);const _0x528e67=_0x32f4a4,_0x5b5d8a=_0x528e67[_0x8b6f8f(0xee)]['split']('|');let _0x43bdd9=0x0;while(!![]){switch(_0x5b5d8a[_0x43bdd9++]){case'0':this[_0x8b6f8f(0x102)]=null;continue;case'1':this[_0x8b6f8f(0x100)]=0x0;continue;case'2':this[_0x8b6f8f(0xe6)]=null;continue;case'3':this[_0x8b6f8f(0xf2)]={};continue;case'4':this[_0x8b6f8f(0xe8)]=_0x528e67['oUmju'];continue;}break;}}[a70_0x37b567(0xeb)](){const _0x3eec36=a70_0x37b567,_0x1311d2={};_0x1311d2[_0x3eec36(0xf6)]=_0x3eec36(0x101);const _0x57f675=_0x1311d2;if(!this['binSessionId'])throw new Error(_0x57f675[_0x3eec36(0xf6)]);}[a70_0x37b567(0xfe)](){const _0x30da63=a70_0x37b567;return this[_0x30da63(0xe8)];}[a70_0x37b567(0xf8)](_0x498d3f,_0xb0b6c5,_0xb7b413,_0x2f0628={}){const _0x410cf7=a70_0x37b567,_0x57133d={};_0x57133d[_0x410cf7(0xf9)]=_0x410cf7(0xea);const _0x2d0f1b=_0x57133d,_0x1f461f=_0x2d0f1b[_0x410cf7(0xf9)][_0x410cf7(0xe2)]('|');let _0x5efedf=0x0;while(!![]){switch(_0x1f461f[_0x5efedf++]){case'0':this[_0x410cf7(0x102)]=_0x498d3f;continue;case'1':this['client']=_0xb7b413;continue;case'2':this['config']=_0x2f0628;continue;case'3':this[_0x410cf7(0x100)]=_0xb0b6c5;continue;case'4':logger[_0x410cf7(0xe4)](_0x410cf7(0xf3)+this['getModuleName']()+_0x410cf7(0xef)+_0x498d3f+_0x410cf7(0xf1)+_0xb0b6c5);continue;}break;}}}module['exports']=BaseModule;
@@ -1 +1 @@
1
- const a71_0x18e5f4=a71_0x54b4;(function(_0x349e65,_0x54fc6b){const _0x103d78=a71_0x54b4,_0x435996=_0x349e65();while(!![]){try{const _0x3ede29=-parseInt(_0x103d78(0x136))/0x1*(-parseInt(_0x103d78(0x133))/0x2)+-parseInt(_0x103d78(0x153))/0x3+parseInt(_0x103d78(0x13c))/0x4+-parseInt(_0x103d78(0x14d))/0x5+-parseInt(_0x103d78(0x154))/0x6+parseInt(_0x103d78(0x146))/0x7+-parseInt(_0x103d78(0x131))/0x8*(-parseInt(_0x103d78(0x132))/0x9);if(_0x3ede29===_0x54fc6b)break;else _0x435996['push'](_0x435996['shift']());}catch(_0x3ce4f0){_0x435996['push'](_0x435996['shift']());}}}(a71_0x50b3,0xe9b72));function a71_0x50b3(){const _0x2b896b=['../../../helpers/classLogger.js','observabilityConfig','iGuQt','../framework/automationFramework.js','4474140FVgNAc','CREATE','POST','PXLWF','getModuleName','../../../helpers/performance/constants.js','page','xhFTC','info','aVntb','11627546DcYwFA','end','now','ObservabilityModule','../state/automationFrameworkState.js','onBeforeTest:\x20page\x20is\x20not\x20defined','name','8999165ZREVzG','../../../helpers/performance/performance-tester.js','logger','exports','MODULE_NAME','OiuIO','5578743KdiTZo','535164jolpfJ','ObservabilitySync:','bind','onBeforeTest:\x20Observability\x20sync\x20done','1224gxQLOG','17505cPWMSS','814354gaIKGM','../state/hookState.js','SYNC','4YrMNoQ','../../../helpers/helper.js'];a71_0x50b3=function(){return _0x2b896b;};return a71_0x50b3();}function a71_0x54b4(_0x281123,_0x1f32b4){const _0x50b3e7=a71_0x50b3();return a71_0x54b4=function(_0x54b432,_0x14e134){_0x54b432=_0x54b432-0x130;let _0x46db17=_0x50b3e7[_0x54b432];return _0x46db17;},a71_0x54b4(_0x281123,_0x1f32b4);}const BaseModule=require('./baseModule'),{createClassLogger}=require(a71_0x18e5f4(0x138)),AutomationFramework=require(a71_0x18e5f4(0x13b)),AutomationFrameworkState=require(a71_0x18e5f4(0x14a)),HookState=require(a71_0x18e5f4(0x134)),{playwrightAnnotate}=require(a71_0x18e5f4(0x137)),PerformanceTester=require(a71_0x18e5f4(0x14e)),{O11y_EVENTS}=require(a71_0x18e5f4(0x141));class ObservabilityModule extends BaseModule{['logger']=createClassLogger('ObservabilityModule');constructor(_0x1553a9){const _0x5ba8d7=a71_0x18e5f4,_0x1cd980={};_0x1cd980['BrUpM']=_0x5ba8d7(0x149);const _0x402b82=_0x1cd980;super(),this[_0x5ba8d7(0x14c)]=_0x402b82['BrUpM'],this[_0x5ba8d7(0x139)]=_0x1553a9,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5ba8d7(0x13d)],HookState[_0x5ba8d7(0x13e)],this['onBeforeTest'][_0x5ba8d7(0x156)](this));}[a71_0x18e5f4(0x140)](){const _0x43c266=a71_0x18e5f4;return ObservabilityModule[_0x43c266(0x151)];}async['onBeforeTest'](_0x332c0e){const _0x2e2b4f=a71_0x18e5f4,_0x502c2a={'PXLWF':function(_0x109d5b,_0x48d0cd){return _0x109d5b+_0x48d0cd;},'aVntb':_0x2e2b4f(0x155),'SOhNi':function(_0x13d754,_0x4af1b5,_0x2fde53,_0x901b22){return _0x13d754(_0x4af1b5,_0x2fde53,_0x901b22);},'xhFTC':'debug','OiuIO':_0x2e2b4f(0x130),'iGuQt':_0x2e2b4f(0x14b)};if(_0x332c0e[_0x2e2b4f(0x142)]){const _0x56cf58=_0x332c0e[_0x2e2b4f(0x142)],_0x3912ba=Date[_0x2e2b4f(0x148)](),_0x590d74=_0x502c2a[_0x2e2b4f(0x13f)](_0x502c2a[_0x2e2b4f(0x145)],_0x3912ba);PerformanceTester['start'](O11y_EVENTS['SYNC']),await _0x502c2a['SOhNi'](playwrightAnnotate,_0x56cf58,_0x590d74,_0x502c2a[_0x2e2b4f(0x143)]),PerformanceTester[_0x2e2b4f(0x147)](O11y_EVENTS[_0x2e2b4f(0x135)]),this[_0x2e2b4f(0x14f)][_0x2e2b4f(0x144)](_0x502c2a[_0x2e2b4f(0x152)]);}else this[_0x2e2b4f(0x14f)]['debug'](_0x502c2a[_0x2e2b4f(0x13a)]);}}ObservabilityModule[a71_0x18e5f4(0x151)]=a71_0x18e5f4(0x149),module[a71_0x18e5f4(0x150)]=ObservabilityModule;
1
+ function a71_0x4ba1(_0x1e8b2b,_0x657a04){const _0x14e32a=a71_0x14e3();return a71_0x4ba1=function(_0x4ba1c6,_0x18ca14){_0x4ba1c6=_0x4ba1c6-0xf1;let _0x1cb6be=_0x14e32a[_0x4ba1c6];return _0x1cb6be;},a71_0x4ba1(_0x1e8b2b,_0x657a04);}const a71_0x212bf3=a71_0x4ba1;(function(_0x44597f,_0x5442f9){const _0x44e926=a71_0x4ba1,_0x2a16a4=_0x44597f();while(!![]){try{const _0x56e194=-parseInt(_0x44e926(0xff))/0x1*(parseInt(_0x44e926(0xfd))/0x2)+parseInt(_0x44e926(0x10f))/0x3*(parseInt(_0x44e926(0x115))/0x4)+-parseInt(_0x44e926(0x105))/0x5*(-parseInt(_0x44e926(0x10e))/0x6)+-parseInt(_0x44e926(0x10c))/0x7*(-parseInt(_0x44e926(0xf4))/0x8)+-parseInt(_0x44e926(0x113))/0x9+parseInt(_0x44e926(0xf5))/0xa+parseInt(_0x44e926(0x112))/0xb*(-parseInt(_0x44e926(0x10b))/0xc);if(_0x56e194===_0x5442f9)break;else _0x2a16a4['push'](_0x2a16a4['shift']());}catch(_0x10eb7d){_0x2a16a4['push'](_0x2a16a4['shift']());}}}(a71_0x14e3,0xc6b02));const BaseModule=require(a71_0x212bf3(0xf6)),{createClassLogger}=require(a71_0x212bf3(0x116)),AutomationFramework=require(a71_0x212bf3(0xf1)),AutomationFrameworkState=require(a71_0x212bf3(0x11a)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a71_0x212bf3(0xf9)),PerformanceTester=require(a71_0x212bf3(0x106)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js');class ObservabilityModule extends BaseModule{[a71_0x212bf3(0xfe)]=createClassLogger(a71_0x212bf3(0x108));constructor(_0x579885){const _0x5a67a6=a71_0x212bf3,_0x349ff5={};_0x349ff5['lCRaU']=_0x5a67a6(0x108);const _0x3c7a4b=_0x349ff5;super(),this[_0x5a67a6(0x109)]=_0x3c7a4b[_0x5a67a6(0x103)],this[_0x5a67a6(0xf7)]=_0x579885,AutomationFramework[_0x5a67a6(0xf3)](AutomationFrameworkState[_0x5a67a6(0x10d)],HookState[_0x5a67a6(0x111)],this[_0x5a67a6(0xfc)][_0x5a67a6(0x107)](this));}['getModuleName'](){const _0x3176a0=a71_0x212bf3;return ObservabilityModule[_0x3176a0(0x104)];}async[a71_0x212bf3(0xfc)](_0x2eba19){const _0x646ebe=a71_0x212bf3,_0x30e969={'puXuB':function(_0xc5f2dc,_0x2380dd){return _0xc5f2dc+_0x2380dd;},'hWYjl':_0x646ebe(0x101),'lwpGC':function(_0x1b3a3d,_0x47f747,_0xb0f45f,_0xc1cca){return _0x1b3a3d(_0x47f747,_0xb0f45f,_0xc1cca);},'ZxyAS':_0x646ebe(0x100),'wAYtD':_0x646ebe(0x110),'aaKxD':_0x646ebe(0xfb)};if(_0x2eba19[_0x646ebe(0x117)]){const _0x226d14=_0x2eba19[_0x646ebe(0x117)],_0x2a0436=Date[_0x646ebe(0xf2)](),_0x10d799=_0x30e969[_0x646ebe(0xfa)](_0x30e969[_0x646ebe(0x10a)],_0x2a0436);PerformanceTester['start'](O11y_EVENTS[_0x646ebe(0x114)]),await _0x30e969[_0x646ebe(0x11b)](playwrightAnnotate,_0x226d14,_0x10d799,_0x30e969[_0x646ebe(0x118)]),PerformanceTester[_0x646ebe(0x102)](O11y_EVENTS[_0x646ebe(0x114)]),this[_0x646ebe(0xfe)]['info'](_0x30e969['wAYtD']);}else this[_0x646ebe(0xfe)][_0x646ebe(0x100)](_0x30e969[_0x646ebe(0x119)]);}}function a71_0x14e3(){const _0x1c04d2=['lwpGC','../framework/automationFramework.js','now','registerObserver','16qPgJnC','2285980GRiimT','./baseModule','observabilityConfig','exports','../../../helpers/helper.js','puXuB','onBeforeTest:\x20page\x20is\x20not\x20defined','onBeforeTest','2dntvxe','logger','191593NFFvKq','debug','ObservabilitySync:','end','lCRaU','MODULE_NAME','2887450TRiqSr','../../../helpers/performance/performance-tester.js','bind','ObservabilityModule','name','hWYjl','1652172qkFIUX','3300808zmPaPL','CREATE','12lMAATc','10719OwhvzE','onBeforeTest:\x20Observability\x20sync\x20done','POST','209qkFgFu','1821555xXBaTo','SYNC','1676suRunw','../../../helpers/classLogger.js','page','ZxyAS','aaKxD','../state/automationFrameworkState.js'];a71_0x14e3=function(){return _0x1c04d2;};return a71_0x14e3();}ObservabilityModule['MODULE_NAME']=a71_0x212bf3(0x108),module[a71_0x212bf3(0xf8)]=ObservabilityModule;