browserstack-node-sdk 1.55.7 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +64 -0
- package/generated/sdk-messages_pb.js +512 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +2 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a82_0x3f2b(){const _0x141738=['\x20hookState=','hookState','../instances/testFrameworkInstance.js','PRE','slice','attachments','KEY_TEST_RETRY_OF','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','JnKQR','getTestFrameworks','../../../../src/helpers/helper','TEST_SCREENSHOT','KEY_HOOK_RESULT','EOBKw','\x20payload=','./testFramework','keyword','trackStepEvent:\x20exception=','Error\x20in\x20createTestFrameworkEventPayload:\x20','toString','Error\x20in\x20sendLogCreatedEvent:\x20',',\x20testFrameworkState=','testFrameworkName','cNYCU','\x20&\x20hook\x20=\x20','DvRkC','basename','filePath','getId','KEY_HOOK_LAST_STARTED','filter','err','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','text','KEY_TEST_META','executionContext','SROko','getCurrentTestState','813552zowefs','WtrMp','\x20target=','LNwNz','ZNmKH','\x20testState:\x20','logCreatedEvent','KEY_TEST_RERUN_NAME','parent_id','DZsJr','createContext','vHsbD','KEY_TEST_STARTED_AT','expectedStatus','KEY_TEST_FILE_PATH','DEFAULT_HOOK_RESULT','KEY_TEST_SCOPES','bkgZp','RxAUC','sendLogCreatedEvent:\x20testId=','KEY_HOOK_FAILURE_REASON','started_at','getTrackedInstance','azvPF','Expected\x20to\x20fail,\x20but\x20passed.','./constants/testFrameworkConstants.js','addMultipleEntries','GXTSg','setTrackedInstance','\x20from\x20TestDetails:\x20','platformIndex','pTbac','MAX_NESTED_STEP_DEPTH','20715zNGcPJ','trackStepEvent','jURJC','TEST','NnzMX','base64','KEY_HOOK_LOGS','jUQOj','values','map','from','getTestUUID','startedAt','ROpeU','KEY_TEST_RESULT_AT','debug','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_TAGS','testFrameworkVersion','size','KEY_TEST_FAILURE_TYPE','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','../../../helpers/test-observability/utils','../instances/trackedInstance.js','set','../../playwright/reporter/pwUtils','KEY_LOGS','Zhckz','KEY_EVENT_ENDED_AT','result','yeVkz','FIyUD','qOlop','JOIiF','forEach','6RqufSz','vDXwY','isArray','getContext','KEY_TEST_FAILURE','\x20instanceId=','KEY_TEST_FRAMEWORK_NAME','statSync','../../../helpers/classLogger.js','KEY_CUSTOM_TAGS','KEY_HOOK_ID','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_CODE','parallelIndex','sgxgx','KEY_TEST_ATTACHMENTS','format','inspect','28899HIaRKW','testFrameworkState','getTestFrameworksVersions','status','wwhrV','getTestIdentifierFromTestInfo','No\x20reason\x20provided','PlaywrightTestFramework','KEY_TEST_NAME','setTestDetails','\x20hookState:\x20','getCurrentHookState','iMDFd','UsNXe','message','iCqTk','qyRiR','retry','getThreadId','../../../helpers/helper.js','parsePlaywrightTestResult:\x20testId=','TyqFC','pPqRC','getInstance','49176XhzyfF','LQneI','\x20step=\x22','Error\x20processing\x20trace\x20file\x20','failed','getTestDetails','TEST_STEP','KEY_TEST_UUID','KEY_HOOKS_STARTED','CSAYy','createTestFrameworkEventPayload','vynyD','push','failure','passed','createTestFrameworkEventPayload\x20testId:\x20','annotations','rUBpQ','KEY_TEST_RESULT','jrSCn','getTime','getTraceFilePaths','error','instance','OCwhw','KEY_TEST_FRAMEWORK_VERSION','title','step','path','trackHookEvent','getAllData','eJDeY','skipped','GYslk','maxvR','logs','hook','get','NONE','field_type','toISOString','KEY_TEST_LOCATION','resolveInstance','cUvpl','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','browserstackPlatformIndex','GaFvg','trim','GJzuk','ettsV','VKtta','EHkYH','1484287IQJtbA','WnMig','failure_type','KEY_TEST_ID','KEY_HOOKS_FINISHED','parsePlaywrightTestResult','DEFAULT_TEST_RESULT','\x20\x20and\x20args\x20=\x20','BQqHX','479413IqLtsw','ICiAh','VOxut','duration','trackStepEvent:\x20testId=','sendLogCreatedEvent','startTime','KEY_TEST_SCOPE','parsePlaywrightTest','errors','KEY_TEST_ENDED_AT','concat','SjhMf','fclHP','\x20result=','getProcessId','trackEvent','iEpvA','VYQbg','split','sendLogCreatedEvent\x20for\x20testId:\x20','vtacu','length','XCMHc','1460lQLnyS','jFgXG','test','248JCDPUH','trackPlaywrightInstance','pjuhW','116868dyamUe','info','steps','hwvhU','KEY_EVENT_STARTED_AT','../grpcClient','results','some','../cliUtils.js','POST','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../TestInfo.js','\x20batch\x20','GgfiZ','uwYbd','getRef','file_name','FwxQR','ljrpB'];a82_0x3f2b=function(){return _0x141738;};return a82_0x3f2b();}const a82_0x5ee80d=a82_0x7fd1;(function(_0xd6578f,_0x1c767c){const _0x13256e=a82_0x7fd1,_0x2f9e36=_0xd6578f();while(!![]){try{const _0x123c7b=parseInt(_0x13256e(0x279))/0x1+-parseInt(_0x13256e(0x193))/0x2*(parseInt(_0x13256e(0x212))/0x3)+parseInt(_0x13256e(0x190))/0x4*(-parseInt(_0x13256e(0x1ee))/0x5)+-parseInt(_0x13256e(0x23c))/0x6+-parseInt(_0x13256e(0x270))/0x7+parseInt(_0x13256e(0x1cd))/0x8+parseInt(_0x13256e(0x224))/0x9*(parseInt(_0x13256e(0x18d))/0xa);if(_0x123c7b===_0x1c767c)break;else _0x2f9e36['push'](_0x2f9e36['shift']());}catch(_0x118ddb){_0x2f9e36['push'](_0x2f9e36['shift']());}}}(a82_0x3f2b,0x6f506));const TestFramework=require(a82_0x5ee80d(0x1b5)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a82_0x5ee80d(0x21a)),TestFrameworkInstance=require(a82_0x5ee80d(0x1a8)),CLIUtils=require(a82_0x5ee80d(0x19b)),TrackedInstance=require(a82_0x5ee80d(0x206)),TestFrameworkConstants=require(a82_0x5ee80d(0x1e6)),logger=createClassLogger(a82_0x5ee80d(0x22b)),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x5ee80d(0x237)),TestInfo=require(a82_0x5ee80d(0x19e)),GrpcClient=require(a82_0x5ee80d(0x198)),{removeAnsiColors,getFailureType,failureData}=require(a82_0x5ee80d(0x205)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a82_0x5ee80d(0x208)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a82_0x5ee80d(0x258)),fs=require('fs'),helper=require(a82_0x5ee80d(0x1b0)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x58050f,_0x2955b6,_0x353270){super(_0x58050f,_0x2955b6,_0x353270);}async[a82_0x5ee80d(0x185)](_0x27ec13,_0x1b66fd,_0x4df9ef={}){const _0x16fcfd=a82_0x5ee80d,_0x4442c6={'vDXwY':function(_0x4fceeb,_0x3c73a2){return _0x4fceeb===_0x3c73a2;},'jFgXG':function(_0x369c5d,_0x180288){return _0x369c5d===_0x180288;},'qOlop':function(_0x37fb94,_0x16b65a,_0x3b4b39){return _0x37fb94(_0x16b65a,_0x3b4b39);},'SjhMf':function(_0x2d1b1e,_0x236d9d){return _0x2d1b1e===_0x236d9d;},'jURJC':function(_0x4d4063,_0x10ce94,_0x2498f6,_0x582319){return _0x4d4063(_0x10ce94,_0x2498f6,_0x582319);},'iCqTk':'test','NnzMX':_0x16fcfd(0x1ad)};super[_0x16fcfd(0x185)](_0x27ec13,_0x1b66fd,_0x4df9ef);if(_0x4442c6[_0x16fcfd(0x213)](_0x27ec13,TestFrameworkState[_0x16fcfd(0x1b1)])){const _0x3cf4fe=TestInfo[_0x16fcfd(0x229)](_0x4df9ef['test'],_0x4df9ef[_0x16fcfd(0x18f)]['retry']);TestInfo[_0x16fcfd(0x22d)](_0x3cf4fe,_0x4df9ef['result'],!![]);}if(_0x4442c6[_0x16fcfd(0x18e)](_0x27ec13,TestFrameworkState[_0x16fcfd(0x242)])){this['trackStepEvent'](_0x27ec13,_0x1b66fd,_0x4df9ef);return;}const _0x42bd4e=this[_0x16fcfd(0x266)](_0x27ec13,_0x1b66fd,_0x4df9ef);if(!_0x42bd4e)return;logger[_0x16fcfd(0x1fd)](_0x16fcfd(0x1c7)+_0x27ec13+'\x20hookState='+_0x1b66fd+_0x16fcfd(0x217)+_0x42bd4e[_0x16fcfd(0x1a2)]());try{if(_0x4442c6[_0x16fcfd(0x18e)](_0x1b66fd,HookState[_0x16fcfd(0x1a9)])&&_0x4442c6[_0x16fcfd(0x213)](_0x27ec13,TestFrameworkState[_0x16fcfd(0x1f1)])){const _0x2f3706=_0x4df9ef[_0x16fcfd(0x18f)];logger[_0x16fcfd(0x1fd)](_0x16fcfd(0x203)+_0x2f3706['id']+'}');const _0x374c8c=TestInfo[_0x16fcfd(0x1f9)](_0x4442c6[_0x16fcfd(0x20f)](getTestRunIdentifier,_0x2f3706,_0x4df9ef[_0x16fcfd(0x20c)][_0x16fcfd(0x235)]));_0x42bd4e[_0x16fcfd(0x1e7)](this['parsePlaywrightTest'](_0x374c8c,_0x2f3706,_0x4df9ef[_0x16fcfd(0x20c)])),logger[_0x16fcfd(0x1fd)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x2f3706['id']+_0x16fcfd(0x1bb)+_0x27ec13+'\x20testHookState='+_0x1b66fd+'\x20instance='+_0x42bd4e[_0x16fcfd(0x1a2)]());}if(_0x4442c6[_0x16fcfd(0x181)](_0x1b66fd,HookState[_0x16fcfd(0x19c)])&&_0x4442c6[_0x16fcfd(0x213)](_0x27ec13,TestFrameworkState[_0x16fcfd(0x1f1)])){const _0x45fa7d=_0x4df9ef[_0x16fcfd(0x18f)],_0x549880=_0x4df9ef[_0x16fcfd(0x20c)];logger[_0x16fcfd(0x1fd)](_0x16fcfd(0x268)+_0x45fa7d['id']);const _0x2842c0=_0x4442c6[_0x16fcfd(0x20f)](getTestRunIdentifier,_0x45fa7d,_0x549880[_0x16fcfd(0x235)]),_0xd42a70=_0x42bd4e[_0x16fcfd(0x25a)]()[_0x16fcfd(0x261)](_0x2842c0)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x5b7b5c,logs:_0x28ca81}=_0x4442c6[_0x16fcfd(0x1f0)](getStepsAndLogs,_0x549880[_0x16fcfd(0x195)],_0xd42a70,_0x4442c6[_0x16fcfd(0x233)]);_0x42bd4e[_0x16fcfd(0x1e7)](this[_0x16fcfd(0x275)](_0x45fa7d['id'],_0x549880,_0x45fa7d,_0x5b7b5c)),await this[_0x16fcfd(0x27e)](_0x42bd4e,_0x27ec13,_0x1b66fd,_0x4442c6[_0x16fcfd(0x233)],_0x4df9ef,_0x28ca81);}if(CLIUtils['matchHookRegex'](_0x27ec13[_0x16fcfd(0x1b9)]()[_0x16fcfd(0x188)]('.')[0x1])){const _0x3824e8=await this[_0x16fcfd(0x259)](_0x42bd4e,_0x27ec13,_0x1b66fd,_0x4df9ef);_0x42bd4e[_0x16fcfd(0x1e7)](_0x3824e8);}}catch(_0x522eac){logger[_0x16fcfd(0x252)](util[_0x16fcfd(0x222)](_0x4442c6[_0x16fcfd(0x1f2)],_0x27ec13,_0x1b66fd,_0x4df9ef['length'],_0x522eac));}_0x4df9ef[_0x16fcfd(0x253)]=_0x42bd4e,await this['runHooks'](_0x42bd4e,_0x27ec13,_0x1b66fd,_0x4df9ef);}[a82_0x5ee80d(0x266)](_0x50cdf8,_0x5f08bd,_0x449f6f={}){const _0x43a35f=a82_0x5ee80d,_0x50b486={};_0x50b486[_0x43a35f(0x196)]=function(_0x59c19e,_0xbdacfd){return _0x59c19e===_0xbdacfd;},_0x50b486[_0x43a35f(0x25b)]=function(_0x57c418,_0x282208){return _0x57c418===_0x282208;};const _0x4977aa=_0x50b486;let _0x5b2d2e=null;return(_0x4977aa[_0x43a35f(0x196)](_0x50cdf8,TestFrameworkState['INIT_TEST'])||_0x4977aa[_0x43a35f(0x25b)](_0x50cdf8,TestFrameworkState[_0x43a35f(0x262)]))&&this[_0x43a35f(0x191)](_0x50cdf8,_0x449f6f),_0x5b2d2e=TestFramework[_0x43a35f(0x1e3)](),_0x5b2d2e;}[a82_0x5ee80d(0x191)](_0x5c0228,_0x533537){const _0x12fc00=a82_0x5ee80d,_0x2964a7=CLIUtils['getCurrentInstanceName'](),_0x55d9df=TrackedInstance[_0x12fc00(0x1d7)](_0x2964a7);let _0x3ad853=null;logger[_0x12fc00(0x194)](_0x12fc00(0x21d)+_0x2964a7+',\x20state='+_0x5c0228),_0x3ad853=new TestFrameworkInstance(_0x55d9df,this[_0x12fc00(0x1af)](),this[_0x12fc00(0x226)](),_0x5c0228,HookState['NONE']),TestFramework[_0x12fc00(0x1e9)](_0x55d9df,_0x3ad853),logger[_0x12fc00(0x194)](_0x12fc00(0x19d)+_0x55d9df[_0x12fc00(0x1c2)]()+_0x12fc00(0x1cf)+_0x2964a7);}[a82_0x5ee80d(0x281)](_0x357b82,_0x20d700,_0x28e0a7){const _0x216b8e=a82_0x5ee80d,_0x5ae06f={'JnKQR':function(_0x5dbbb6,_0x429e70){return _0x5dbbb6(_0x429e70);},'DZsJr':function(_0x5bc615,_0x311325){return _0x5bc615(_0x311325);},'EOBKw':function(_0x24cec9,_0x5df3e2){return _0x24cec9(_0x5df3e2);},'GYslk':function(_0x395a0f,_0x3e9ab2){return _0x395a0f(_0x3e9ab2);},'iMDFd':function(_0x310e17,_0x3fd9f6){return _0x310e17(_0x3fd9f6);},'vynyD':function(_0x2238bc,_0x2eda38,_0x33724b){return _0x2238bc(_0x2eda38,_0x33724b);}},_0x14c00c=_0x5ae06f[_0x216b8e(0x1ae)](getPlaywrightTestId,_0x20d700),_0x220fb8=_0x5ae06f['DZsJr'](getPlaywrightTestTitle,_0x20d700),_0x4f1d22=_0x5ae06f[_0x216b8e(0x1d6)](getTestTags,_0x20d700),_0x2b2d01=_0x5ae06f[_0x216b8e(0x1d6)](getPlaywrightTestCode,_0x20d700),_0x4c83f5=_0x5ae06f['EOBKw'](getPlaywrightTestFilePath,_0x20d700),_0x20eb7f=_0x4c83f5,_0x3ca8d1=_0x5ae06f[_0x216b8e(0x1d6)](getPlaywrightTestScope,_0x20d700),_0xd0fc0d=_0x5ae06f[_0x216b8e(0x25d)](getPlaywrightTestScopes,_0x20d700),_0x2104c0=_0x5ae06f[_0x216b8e(0x230)](getPlaywrightSessionName,_0x20d700),_0x59e8f6=this['getTestFrameworks']()[0x0],_0x67f522=_0x5ae06f[_0x216b8e(0x247)](getTestRunIdentifier,_0x20d700,_0x28e0a7['retry']),_0x183304={[TestFrameworkConstants[_0x216b8e(0x218)]]:_0x59e8f6,[TestFrameworkConstants[_0x216b8e(0x255)]]:this[_0x216b8e(0x226)]()[_0x59e8f6],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x216b8e(0x274)]]:{},[TestFrameworkConstants[_0x216b8e(0x244)]]:{},[TestFrameworkConstants[_0x216b8e(0x243)]]:_0x357b82,[TestFrameworkConstants[_0x216b8e(0x24e)]]:TestFrameworkConstants[_0x216b8e(0x276)],[TestFrameworkConstants[_0x216b8e(0x204)]]:_0x2104c0,[TestFrameworkConstants[_0x216b8e(0x1db)]]:_0x4c83f5,[TestFrameworkConstants[_0x216b8e(0x273)]]:_0x14c00c,[TestFrameworkConstants[_0x216b8e(0x22c)]]:_0x220fb8,[TestFrameworkConstants[_0x216b8e(0x265)]]:_0x20eb7f,[TestFrameworkConstants[_0x216b8e(0x21e)]]:_0x2b2d01,[TestFrameworkConstants[_0x216b8e(0x1ff)]]:_0x4f1d22,[TestFrameworkConstants[_0x216b8e(0x1d9)]]:_0x20d700[_0x216b8e(0x199)][0x0]['startTime'],[TestFrameworkConstants[_0x216b8e(0x280)]]:_0x3ca8d1,[TestFrameworkConstants[_0x216b8e(0x1dd)]]:_0xd0fc0d,[TestFrameworkConstants[_0x216b8e(0x1d4)]]:_0x5ae06f[_0x216b8e(0x1b3)](getPlaywrightCustomRerunParam,_0x20d700)};TestInfo['setTestDetails'](_0x67f522,_0x183304);const _0x12ccdb={};return _0x12ccdb[_0x67f522]=_0x183304,_0x12ccdb;}[a82_0x5ee80d(0x275)](_0x4cd62b,_0x5492fc,_0x9fa675,_0x52385e){const _0x1f46c8=a82_0x5ee80d,_0x4e6bf3={'sgxgx':function(_0x137ae9,_0x484d15){return _0x137ae9(_0x484d15);},'qyRiR':'TEST_ATTACHMENT','DvRkC':function(_0x48f566,_0x54a847){return _0x48f566===_0x54a847;},'RxAUC':function(_0x57a0e0,_0x17dfec){return _0x57a0e0===_0x17dfec;},'stWNM':function(_0x15ccdb,_0x22eed3){return _0x15ccdb===_0x22eed3;},'SROko':function(_0x5c34d3,_0x35d2f9){return _0x5c34d3(_0x35d2f9);},'TyqFC':_0x1f46c8(0x22a),'pPqRC':'multi_dropdown','LNwNz':function(_0x3a66e5,_0x3ac4c7){return _0x3a66e5(_0x3ac4c7);},'UsNXe':function(_0xb9a1a5,_0x18d97f,_0x1c5b70){return _0xb9a1a5(_0x18d97f,_0x1c5b70);},'VKtta':function(_0x41218e,_0x32e255){return _0x41218e+_0x32e255;},'ROpeU':function(_0x83f863,_0x2ef58c){return _0x83f863===_0x2ef58c;},'VYQbg':_0x1f46c8(0x25c),'rUBpQ':_0x1f46c8(0x24a),'azvPF':function(_0xf48d54,_0x117c6a){return _0xf48d54===_0x117c6a;},'yeVkz':function(_0x14301e,_0x4e1248){return _0x14301e===_0x4e1248;},'cNYCU':_0x1f46c8(0x240),'JOIiF':function(_0x546a06,_0x251d17){return _0x546a06===_0x251d17;},'GaFvg':'timedOut','jUQOj':_0x1f46c8(0x1e5),'wwhrV':function(_0x317b2f,_0x48fd4b){return _0x317b2f||_0x48fd4b;},'Zhckz':function(_0x181d83,_0x528653){return _0x181d83(_0x528653);},'GJzuk':function(_0x124442,_0x16d538){return _0x124442>_0x16d538;},'maxvR':function(_0x2eb0ad,_0x146bed){return _0x2eb0ad-_0x146bed;},'fclHP':function(_0x2f43cf,_0x53bf22,_0x1f1ceb,_0x104f4c){return _0x2f43cf(_0x53bf22,_0x1f1ceb,_0x104f4c);},'WnMig':_0x1f46c8(0x18f),'XCMHc':function(_0x22ac9f,_0x110943){return _0x22ac9f>=_0x110943;},'oVZRZ':function(_0x406dd0,_0xb35db2){return _0x406dd0===_0xb35db2;},'iEpvA':function(_0x43a1fc,_0xbd602e){return _0x43a1fc+_0xbd602e;},'PlHZM':_0x1f46c8(0x258),'WtrMp':function(_0x1c5f3d,_0x59db52){return _0x1c5f3d(_0x59db52);},'VOxut':function(_0x50596c,_0x43b227){return _0x50596c>_0x43b227;}};logger[_0x1f46c8(0x1fd)](_0x1f46c8(0x238)+_0x4cd62b);const _0x374376=_0x4e6bf3[_0x1f46c8(0x231)](getTestRunIdentifier,_0x9fa675,_0x5492fc[_0x1f46c8(0x235)]),_0x23badd=new Date(_0x5492fc[_0x1f46c8(0x27f)]),_0x3ba836=_0x5492fc['duration'],_0x33fd4f=new Date(_0x4e6bf3[_0x1f46c8(0x26e)](_0x23badd[_0x1f46c8(0x250)](),_0x3ba836)),_0x30b00f=_0x5492fc[_0x1f46c8(0x227)],_0x12f1f4=TestInfo['getTestDetails'](_0x374376)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x110831=_0x30b00f;if(_0x4e6bf3[_0x1f46c8(0x1bf)](_0x5492fc['status'],_0x9fa675[_0x1f46c8(0x1da)]))_0x110831=_0x4e6bf3[_0x1f46c8(0x1fb)](_0x5492fc[_0x1f46c8(0x227)],_0x4e6bf3[_0x1f46c8(0x187)])?_0x4e6bf3['VYQbg']:_0x4e6bf3[_0x1f46c8(0x24d)];else{(_0x4e6bf3[_0x1f46c8(0x1e4)](_0x110831,_0x4e6bf3['rUBpQ'])||_0x4e6bf3[_0x1f46c8(0x20d)](_0x110831,_0x4e6bf3['cNYCU'])||_0x4e6bf3[_0x1f46c8(0x210)](_0x110831,_0x4e6bf3[_0x1f46c8(0x26a)]))&&(_0x110831=_0x4e6bf3[_0x1f46c8(0x1bd)]);if(_0x4e6bf3['RxAUC'](_0x5492fc[_0x1f46c8(0x227)],_0x4e6bf3['rUBpQ'])&&_0x4e6bf3[_0x1f46c8(0x210)](_0x9fa675['expectedStatus'],_0x4e6bf3[_0x1f46c8(0x1bd)])){const _0x56a648={};_0x56a648[_0x1f46c8(0x232)]=_0x4e6bf3[_0x1f46c8(0x1f5)],_0x56a648['stack']=_0x4e6bf3['jUQOj'],_0x5492fc[_0x1f46c8(0x252)]=_0x56a648,_0x5492fc[_0x1f46c8(0x282)]=[_0x5492fc[_0x1f46c8(0x252)]];}}const {failureData:_0x18341e,logs:_0x4141e2}=_0x4e6bf3[_0x1f46c8(0x231)](getFailureData,_0x5492fc?.[_0x1f46c8(0x282)],{}),_0x53babc={[TestFrameworkConstants[_0x1f46c8(0x216)]]:_0x4e6bf3[_0x1f46c8(0x228)](_0x18341e,null),[TestFrameworkConstants[_0x1f46c8(0x202)]]:_0x5492fc?.['error']&&_0x4e6bf3['sgxgx'](getFailureType,_0x5492fc[_0x1f46c8(0x252)]['message']),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x5492fc?.['error']&&_0x4e6bf3[_0x1f46c8(0x20a)](removeAnsiColors,_0x5492fc[_0x1f46c8(0x252)][_0x1f46c8(0x232)]),[TestFrameworkConstants[_0x1f46c8(0x209)]]:[],[TestFrameworkConstants[_0x1f46c8(0x24e)]]:_0x110831,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x33fd4f[_0x1f46c8(0x264)](),[TestFrameworkConstants[_0x1f46c8(0x1fc)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1f46c8(0x21b)]]:_0x12f1f4};if(_0x5492fc&&_0x4e6bf3['GJzuk'](_0x5492fc[_0x1f46c8(0x235)],0x0)){const _0x4570cb=TestInfo[_0x1f46c8(0x1f9)](_0x4e6bf3[_0x1f46c8(0x231)](getTestRunIdentifier,_0x9fa675,_0x4e6bf3[_0x1f46c8(0x25e)](_0x5492fc[_0x1f46c8(0x235)],0x1)));_0x53babc[TestFrameworkConstants[_0x1f46c8(0x1ac)]]=_0x4570cb;}const _0xbfb3d4={};_0xbfb3d4['test']=_0x9fa675;const _0x55ddad=this[_0x1f46c8(0x266)](TestFrameworkState['TEST'],HookState['POST'],_0xbfb3d4),_0x4fbc19=_0x55ddad['getAllData']()[_0x1f46c8(0x261)](_0x374376)[TestFrameworkConstants['KEY_TEST_UUID']],_0x14d0d9=_0x52385e||_0x4e6bf3[_0x1f46c8(0x182)](getStepsAndLogs,_0x5492fc['steps'],_0x4fbc19,_0x4e6bf3[_0x1f46c8(0x271)])[_0x1f46c8(0x195)],_0x171ff1=new Map();let _0x2fbfaa=0x0;const _0x32ed1b=[];for(const _0x66f1d4 of _0x14d0d9||[]){const _0x1fbfb6=_0x66f1d4['parent_id']||null;let _0x2edea8;if(_0x4e6bf3[_0x1f46c8(0x1df)](_0x1fbfb6,null)){if(_0x4e6bf3[_0x1f46c8(0x18c)](_0x2fbfaa,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x2edea8=0x0,_0x2fbfaa++;}else{const _0x6d32cf=_0x171ff1['get'](_0x1fbfb6);if(_0x4e6bf3['oVZRZ'](_0x6d32cf,undefined))continue;_0x2edea8=_0x4e6bf3[_0x1f46c8(0x186)](_0x6d32cf,0x1);if(_0x4e6bf3['GJzuk'](_0x2edea8,TestFrameworkConstants[_0x1f46c8(0x1ed)]))continue;}_0x171ff1[_0x1f46c8(0x207)](_0x66f1d4['id'],_0x2edea8);const _0x420c4b={};_0x420c4b['id']=_0x66f1d4['id'],_0x420c4b[_0x1f46c8(0x1d5)]=_0x1fbfb6,_0x420c4b[_0x1f46c8(0x1c8)]=_0x66f1d4['text'],_0x420c4b[_0x1f46c8(0x1b6)]=_0x66f1d4[_0x1f46c8(0x1b6)]||null,_0x420c4b[_0x1f46c8(0x1e2)]=_0x66f1d4['started_at'],_0x420c4b[_0x1f46c8(0x27c)]=_0x66f1d4[_0x1f46c8(0x27c)]??null,_0x420c4b[_0x1f46c8(0x20c)]=_0x66f1d4['result'],_0x420c4b['failure']=_0x66f1d4[_0x1f46c8(0x249)]||null,_0x420c4b[_0x1f46c8(0x272)]=_0x66f1d4['failure_type']||null,_0x32ed1b[_0x1f46c8(0x248)](_0x420c4b);}const _0x1182b2={};_0x1182b2[_0x1f46c8(0x195)]=_0x32ed1b,_0x53babc[TestFrameworkConstants[_0x1f46c8(0x1c9)]]=_0x1182b2,logger[_0x1f46c8(0x1fd)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x32ed1b[_0x1f46c8(0x18b)]+'\x20steps\x20for\x20testId='+_0x4cd62b);const _0x39663b=[],_0x40f7ba=_0x4e6bf3[_0x1f46c8(0x231)](findNestedKey,_0x5492fc,_0x4e6bf3['PlHZM']);if(_0x40f7ba&&_0x4e6bf3[_0x1f46c8(0x1ce)](validateFilePath,_0x40f7ba))try{_0x39663b[_0x1f46c8(0x248)]({'kind':_0x4e6bf3[_0x1f46c8(0x234)],'timestamp':new Date()[_0x1f46c8(0x264)](),'test_run_uuid':_0x4fbc19,'file_name':path[_0x1f46c8(0x1c0)](_0x40f7ba),'file_size':fs['statSync'](_0x40f7ba)[_0x1f46c8(0x201)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2363a2){logger[_0x1f46c8(0x252)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x40f7ba+':\x20'+_0x2363a2[_0x1f46c8(0x232)]);}const _0x136fc1=TestInfo[_0x1f46c8(0x251)](),_0x53492d=_0x136fc1[_0x1f46c8(0x1c4)](_0x148887=>_0x148887['testUId']===_0x4fbc19);_0x53492d[_0x1f46c8(0x211)](_0x116b6d=>{const _0x3cab91=_0x1f46c8;if(_0x116b6d[_0x3cab91(0x1c1)]&&_0x4e6bf3[_0x3cab91(0x220)](validateFilePath,_0x116b6d[_0x3cab91(0x1c1)])&&!_0x39663b[_0x3cab91(0x19a)](_0x20ca6d=>_0x20ca6d[_0x3cab91(0x1a3)]===path[_0x3cab91(0x1c0)](_0x116b6d[_0x3cab91(0x1c1)])))try{_0x39663b[_0x3cab91(0x248)]({'kind':_0x4e6bf3[_0x3cab91(0x234)],'timestamp':new Date()[_0x3cab91(0x264)](),'test_run_uuid':_0x4fbc19,'file_name':path[_0x3cab91(0x1c0)](_0x116b6d[_0x3cab91(0x1c1)]),'file_size':fs[_0x3cab91(0x219)](_0x116b6d[_0x3cab91(0x1c1)])[_0x3cab91(0x201)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1a98f6){logger[_0x3cab91(0x252)](_0x3cab91(0x23f)+_0x116b6d['filePath']+_0x3cab91(0x1ea)+_0x1a98f6[_0x3cab91(0x232)]);}});if(_0x4e6bf3[_0x1f46c8(0x26c)](_0x39663b['length'],0x0)){const _0x425338=_0x53babc[TestFrameworkConstants['KEY_LOGS']]||[];_0x53babc[TestFrameworkConstants[_0x1f46c8(0x209)]]=[..._0x425338,..._0x39663b];}const _0x4da7bd=TestInfo['getTestDetails'](_0x374376)[TestFrameworkConstants[_0x1f46c8(0x221)]]||{},_0x2a2d9a=_0x4e6bf3['UsNXe'](getManualUploadLogs,_0x4da7bd,_0x55ddad[_0x1f46c8(0x25a)]()[_0x1f46c8(0x261)](_0x374376)[TestFrameworkConstants[_0x1f46c8(0x243)]]);if(_0x4e6bf3[_0x1f46c8(0x27b)](_0x2a2d9a[_0x1f46c8(0x18b)],0x0)){const _0x513262=_0x53babc[TestFrameworkConstants[_0x1f46c8(0x209)]]||[];_0x53babc[TestFrameworkConstants[_0x1f46c8(0x209)]]=[..._0x513262,..._0x2a2d9a];}const _0x5e626b=_0x9fa675[_0x1f46c8(0x24c)]||[],_0x4e646b=_0x53babc[TestFrameworkConstants[_0x1f46c8(0x21b)]]||{};_0x5e626b[_0x1f46c8(0x211)](_0x5921db=>{const _0x55ad8b=_0x1f46c8,{type:_0xde358b}=_0x5921db;let _0x43dfbe=_0x5921db['description'];if(!_0xde358b)return;(_0x4e6bf3[_0x55ad8b(0x1bf)](_0x43dfbe,undefined)||_0x4e6bf3[_0x55ad8b(0x1df)](_0x43dfbe,null)||_0x4e6bf3['stWNM'](_0x4e6bf3[_0x55ad8b(0x1cb)](String,_0x43dfbe)[_0x55ad8b(0x26b)](),''))&&(_0x43dfbe=_0x4e6bf3[_0x55ad8b(0x239)]);if(!_0x4e646b[_0xde358b]){const _0x509ba4={};_0x509ba4[_0x55ad8b(0x263)]=_0x4e6bf3[_0x55ad8b(0x23a)],_0x509ba4[_0x55ad8b(0x1f6)]=[],_0x4e646b[_0xde358b]=_0x509ba4;}else!_0x4e646b[_0xde358b][_0x55ad8b(0x263)]&&(_0x4e646b[_0xde358b][_0x55ad8b(0x263)]=_0x4e6bf3[_0x55ad8b(0x23a)]),!Array[_0x55ad8b(0x214)](_0x4e646b[_0xde358b][_0x55ad8b(0x1f6)])&&(_0x4e646b[_0xde358b][_0x55ad8b(0x1f6)]=[]);const _0x543d48=_0x4e6bf3[_0x55ad8b(0x1d0)](String,_0x43dfbe)['split'](',')[_0x55ad8b(0x1f7)](_0x5115de=>_0x5115de[_0x55ad8b(0x26b)]());_0x4e646b[_0xde358b][_0x55ad8b(0x1f6)]=[...new Set([..._0x4e646b[_0xde358b][_0x55ad8b(0x1f6)],..._0x543d48])];}),_0x53babc[TestFrameworkConstants[_0x1f46c8(0x21b)]]=_0x4e646b,TestInfo[_0x1f46c8(0x22d)](_0x374376,_0x53babc);const _0x38a824={};return _0x38a824[_0x374376]=_0x53babc,_0x38a824;}[a82_0x5ee80d(0x1ef)](_0x326b13,_0x59cccc,_0x324334){const _0x7fea5f=a82_0x5ee80d,_0x44705d={'CSAYy':function(_0x4e2551,_0x4751f8){return _0x4e2551||_0x4751f8;},'ItTrc':function(_0x4874f1,_0x38123e,_0x3acb5d){return _0x4874f1(_0x38123e,_0x3acb5d);}};try{const {test:_0x573346,result:_0xa48c2e,step:_0x1dab4a}=_0x324334;if(_0x44705d[_0x7fea5f(0x245)](!_0x573346,!_0x1dab4a)||!_0xa48c2e)return;const _0x4b880b=_0x44705d['ItTrc'](getTestRunIdentifier,_0x573346,_0xa48c2e[_0x7fea5f(0x235)]);logger[_0x7fea5f(0x1fd)](_0x7fea5f(0x27d)+_0x4b880b+_0x7fea5f(0x1a6)+_0x59cccc+_0x7fea5f(0x23e)+_0x1dab4a[_0x7fea5f(0x256)]+'\x22');}catch(_0x129dc2){logger[_0x7fea5f(0x252)](_0x7fea5f(0x1b7)+util['format'](_0x129dc2));}}async[a82_0x5ee80d(0x259)](_0x5eee2a,_0x4f9568,_0x38e36a,_0x147c17){const _0x1181c9=a82_0x5ee80d,_0x3a4b32={'BQqHX':function(_0x308121,_0x195738,_0x4e51d7){return _0x308121(_0x195738,_0x4e51d7);},'pjuhW':function(_0x446ae6,_0x1fbd18){return _0x446ae6 in _0x1fbd18;},'RUwsY':function(_0x2aa0af,_0x54a959){return _0x2aa0af in _0x54a959;},'bkgZp':function(_0x36f08f,_0x36d101){return _0x36f08f(_0x36d101);},'VUjKv':function(_0x482b07,_0xafe6d){return _0x482b07===_0xafe6d;},'VFley':function(_0x576176){return _0x576176();},'fkHve':function(_0x3d4622,_0x49a87d){return _0x3d4622===_0x49a87d;},'cUvpl':function(_0x175b64,_0x21196f){return _0x175b64>_0x21196f;},'wupyM':_0x1181c9(0x1c5),'MImxc':_0x1181c9(0x240),'LQneI':_0x1181c9(0x24a),'pTbac':function(_0x285d78,_0x29963e){return _0x285d78!==_0x29963e;},'FwxQR':function(_0x3e4838,_0x5ed64c){return _0x3e4838+_0x5ed64c;},'yRyzg':_0x1181c9(0x260)},_0x56a5eb=_0x147c17[_0x1181c9(0x18f)],_0x3e352d=_0x147c17['step'],_0x22be17=_0x3a4b32[_0x1181c9(0x278)](getTestRunIdentifier,_0x56a5eb,_0x147c17[_0x1181c9(0x20c)][_0x1181c9(0x235)]),_0x36c3db=_0x4f9568['toString']()[_0x1181c9(0x188)]('.')[0x1];let _0xf9a30d=_0x5eee2a['getAllData']()[_0x1181c9(0x261)](_0x22be17)[TestFrameworkConstants[_0x1181c9(0x244)]];!_0xf9a30d&&(_0xf9a30d={});!_0x3a4b32[_0x1181c9(0x192)](_0x36c3db,_0xf9a30d)&&(_0xf9a30d[_0x36c3db]=[]);let _0x433402=_0x5eee2a[_0x1181c9(0x25a)]()[_0x1181c9(0x261)](_0x22be17)[TestFrameworkConstants[_0x1181c9(0x274)]];!_0x433402&&(_0x433402={});!_0x3a4b32['RUwsY'](_0x36c3db,_0x433402)&&(_0x433402[_0x36c3db]=[]);const _0x481412={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0xf9a30d,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x433402},_0x436e9f={};_0x436e9f[_0x22be17]=_0x481412;const _0x29a9a2=_0x436e9f,_0x1cc5b5=_0x3a4b32['bkgZp'](getPlaywrightTestFilePath,_0x56a5eb),_0x5ace0e=_0x1cc5b5,_0x514839=TestInfo[_0x1181c9(0x241)](_0x22be17)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3a4b32['VUjKv'](_0x38e36a,HookState[_0x1181c9(0x1a9)])){const _0x5925d7={'key':_0x36c3db,[TestFrameworkConstants[_0x1181c9(0x21c)]]:_0x3a4b32['VFley'](uuidv4),[TestFrameworkConstants[_0x1181c9(0x1b2)]]:TestFrameworkConstants[_0x1181c9(0x1dc)],[TestFrameworkConstants[_0x1181c9(0x197)]]:_0x3e352d[_0x1181c9(0x27f)],[TestFrameworkConstants[_0x1181c9(0x1f4)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3e352d[_0x1181c9(0x256)],[TestFrameworkConstants[_0x1181c9(0x1db)]]:_0x1cc5b5,[TestFrameworkConstants[_0x1181c9(0x265)]]:_0x5ace0e,[TestFrameworkConstants[_0x1181c9(0x21b)]]:_0x514839};_0xf9a30d[_0x36c3db][_0x1181c9(0x248)](_0x5925d7),_0x29a9a2[_0x22be17][TestFrameworkConstants[_0x1181c9(0x1c3)]]=_0x36c3db,logger[_0x1181c9(0x1fd)](_0x1181c9(0x1fe)+_0x36c3db+_0x1181c9(0x1be)+_0x5925d7+_0x1181c9(0x277)+_0x147c17);}else{if(_0x3a4b32['fkHve'](_0x38e36a,HookState[_0x1181c9(0x19c)])){const _0x58bad7=await _0x147c17[_0x1181c9(0x20c)],_0x533347=_0xf9a30d[_0x36c3db]||[],_0x1b561a=_0x147c17['step'];logger[_0x1181c9(0x1fd)]('Hook\x20List\x20in\x20Post\x20'+_0x533347+'\x20and\x20args\x20=\x20'+_0x147c17);if(_0x3a4b32[_0x1181c9(0x267)](_0x533347[_0x1181c9(0x18b)],0x0)){const _0x579e7f=_0x533347['pop']();if(_0x1b561a[_0x1181c9(0x252)]){const _0x2fe3c1=_0x3a4b32['BQqHX'](failureData,_0x1b561a['error'],_0x3a4b32['wupyM']);_0x579e7f[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x3a4b32[_0x1181c9(0x1de)](getFailureType,_0x1b561a?.[_0x1181c9(0x252)][_0x1181c9(0x232)]),_0x579e7f[TestFrameworkConstants[_0x1181c9(0x1e1)]]=_0x3a4b32[_0x1181c9(0x1de)](removeAnsiColors,_0x1b561a?.[_0x1181c9(0x252)]['message']),_0x579e7f[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3a4b32['MImxc'],_0x579e7f[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x2fe3c1;}else _0x579e7f[TestFrameworkConstants[_0x1181c9(0x1b2)]]=_0x3a4b32[_0x1181c9(0x23d)];_0x3a4b32[_0x1181c9(0x1ec)](_0x58bad7,TestFrameworkConstants[_0x1181c9(0x1dc)])&&(_0x579e7f[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1b561a[_0x1181c9(0x252)]?_0x3a4b32[_0x1181c9(0x23d)]:_0x3a4b32['MImxc']);const _0x1640eb=new Date(_0x1b561a['startTime']),_0x16ee73=new Date(_0x3a4b32[_0x1181c9(0x1a4)](_0x1640eb[_0x1181c9(0x250)](),_0x1b561a['duration']));_0x579e7f[TestFrameworkConstants[_0x1181c9(0x20b)]]=_0x16ee73[_0x1181c9(0x264)](),_0x579e7f[TestFrameworkConstants[_0x1181c9(0x21b)]]=_0x514839;const _0x451e80=_0x579e7f[TestFrameworkConstants[_0x1181c9(0x21c)]];await this['sendLogCreatedEvent'](_0x5eee2a,_0x4f9568,_0x451e80,_0x3a4b32['yRyzg'],_0x147c17),!_0x433402[_0x36c3db]&&(_0x433402[_0x36c3db]=[]),_0x433402[_0x36c3db][_0x1181c9(0x248)](_0x579e7f),_0x29a9a2[_0x22be17][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x36c3db;}}}return _0x29a9a2;}async[a82_0x5ee80d(0x27e)](_0x5ad1bd,_0x3aac52,_0x31b088,_0x43ec2f,_0x46e46d,_0xa69e42){const _0x486f31=a82_0x5ee80d,_0x12efe3={'XiBpF':function(_0x2f1ce2,_0x20b541){return _0x2f1ce2===_0x20b541;},'EHkYH':_0x486f31(0x18f),'uwYbd':function(_0x2beeab,_0x171eb7,_0x47131e){return _0x2beeab(_0x171eb7,_0x47131e);},'GXTSg':_0x486f31(0x1ab),'VRvHw':function(_0x3ffbf8,_0x1fb3f1,_0x422b95,_0x56700b){return _0x3ffbf8(_0x1fb3f1,_0x422b95,_0x56700b);},'ettsV':function(_0x34dd9e,_0x53c4fc,_0x3cb96e){return _0x34dd9e(_0x53c4fc,_0x3cb96e);},'vtacu':function(_0x3b0665,_0x20f8db){return _0x3b0665/_0x20f8db;},'GgfiZ':function(_0x3bc773,_0x3d3337){return _0x3bc773<_0x3d3337;},'vHsbD':function(_0x532b9d,_0x46c993){return _0x532b9d*_0x46c993;},'OCwhw':function(_0x409762,_0xd0846d){return _0x409762+_0xd0846d;},'ICiAh':function(_0x30e91b,_0x24a5dd,_0x3b7331,_0x2b8abb,_0x3edf55){return _0x30e91b(_0x24a5dd,_0x3b7331,_0x2b8abb,_0x3edf55);},'QFlFm':function(_0x172d03,_0x218150,_0x40f601,_0x3fea93){return _0x172d03(_0x218150,_0x40f601,_0x3fea93);},'FIyUD':_0x486f31(0x260),'ZNmKH':function(_0x3f82a1,_0x3b5156,_0x47a5db){return _0x3f82a1(_0x3b5156,_0x47a5db);}};try{if(_0x12efe3['XiBpF'](_0x43ec2f,_0x12efe3[_0x486f31(0x26f)])){const _0x4ddd72=await _0x46e46d['result'],_0x5f050e=_0x12efe3[_0x486f31(0x1a1)](getTestRunIdentifier,_0x46e46d['test'],_0x46e46d['result'][_0x486f31(0x235)]),_0x2e95fc=_0x46e46d[_0x486f31(0x18f)];logger[_0x486f31(0x1fd)](_0x486f31(0x1e0)+_0x5f050e+_0x486f31(0x183)+util[_0x486f31(0x223)](_0x4ddd72));const _0x15d557=_0x5ad1bd[_0x486f31(0x25a)]()[_0x486f31(0x261)](_0x5f050e)[TestFrameworkConstants[_0x486f31(0x243)]];await _0x12efe3[_0x486f31(0x1a1)](sendTraceZip,_0x4ddd72,_0x15d557);const _0x5134fa=TestInfo[_0x486f31(0x241)](_0x5f050e)[_0x12efe3[_0x486f31(0x1e8)]],_0x28daee={};if(_0x5134fa){!_0x4ddd72[_0x486f31(0x1ab)]&&(_0x4ddd72[_0x486f31(0x1ab)]=[]);_0x28daee[_0x486f31(0x1ab)]=_0x4ddd72[_0x486f31(0x1ab)][_0x486f31(0x180)](_0x5134fa||[]);const _0x4339f1=TestInfo['getTestDetails'](_0x5f050e);delete _0x4339f1[_0x12efe3[_0x486f31(0x1e8)]],TestInfo[_0x486f31(0x22d)](_0x5f050e,_0x4339f1);}const _0x5c6896=_0xa69e42||_0x12efe3['VRvHw'](getStepsAndLogs,_0x4ddd72[_0x486f31(0x195)],_0x5ad1bd[_0x486f31(0x25a)]()[_0x486f31(0x261)](_0x5f050e)[TestFrameworkConstants['KEY_TEST_UUID']],_0x12efe3['EHkYH'])[_0x486f31(0x25f)],_0x350186=_0x12efe3[_0x486f31(0x1a1)](getScreenshots,_0x28daee,_0x5ad1bd['getAllData']()['get'](_0x5f050e)[TestFrameworkConstants[_0x486f31(0x243)]]),_0x31fb0d=_0x12efe3[_0x486f31(0x26d)](getVideos,_0x4ddd72,_0x5ad1bd[_0x486f31(0x25a)]()['get'](_0x5f050e)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x805f92,logs:_0x5e3767}=_0x12efe3[_0x486f31(0x1a1)](getFailureData,_0x4ddd72['errors'],{'test_run_uuid':_0x5ad1bd['getAllData']()[_0x486f31(0x261)](_0x5f050e)[TestFrameworkConstants[_0x486f31(0x243)]]}),_0xc1ac5c=TestInfo[_0x486f31(0x241)](_0x5f050e)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x2437c8=_0x12efe3[_0x486f31(0x1a1)](getMediaArtifactsLogs,_0xc1ac5c,_0x5ad1bd['getAllData']()[_0x486f31(0x261)](_0x5f050e)[TestFrameworkConstants[_0x486f31(0x243)]]),_0x37e40b=_0x5ad1bd[_0x486f31(0x25a)]()['get'](_0x5f050e),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x24f3ba='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x526aaf=''}=_0x37e40b,_0x4c8ad7=(_0x5c6896||[])[_0x486f31(0x180)](_0x350186||[])[_0x486f31(0x180)](_0x5e3767||[])[_0x486f31(0x180)](_0x31fb0d||[])[_0x486f31(0x180)](_0x2437c8||[]),_0x554395=0x28,_0x5acf68=Math['ceil'](_0x12efe3[_0x486f31(0x18a)](_0x4c8ad7[_0x486f31(0x18b)],_0x554395));for(let _0x581e31=0x0;_0x12efe3[_0x486f31(0x1a0)](_0x581e31,_0x5acf68);_0x581e31++){const _0x265619=_0x12efe3[_0x486f31(0x1d8)](_0x581e31,_0x554395),_0x398fda=_0x12efe3['OCwhw'](_0x265619,_0x554395),_0x386de7=_0x4c8ad7[_0x486f31(0x1aa)](_0x265619,_0x398fda),_0x352fe9={'platformIndex':global?.[_0x486f31(0x269)]??0x0,'logs':_0x386de7,'testFrameworkName':_0x24f3ba,'testFrameworkVersion':_0x526aaf,'testFrameworkState':_0x3aac52[_0x486f31(0x1b9)]()[_0x486f31(0x188)]('.')[0x1]};_0x12efe3[_0x486f31(0x27a)](updatePayloadForTraceLogs,_0x352fe9,_0x46e46d,_0x5f050e,_0x5ad1bd),logger[_0x486f31(0x1fd)](_0x486f31(0x189)+_0x5f050e+_0x486f31(0x19f)+_0x12efe3[_0x486f31(0x254)](_0x581e31,0x1)+'/'+_0x5acf68+_0x486f31(0x1b4)+util[_0x486f31(0x223)](_0x352fe9));const _0x597ff=await GrpcClient[_0x486f31(0x23b)]()[_0x486f31(0x1d3)](_0x352fe9);logger[_0x486f31(0x1fd)](_0x486f31(0x189)+_0x5f050e+_0x486f31(0x19f)+_0x12efe3[_0x486f31(0x254)](_0x581e31,0x1)+'/'+_0x5acf68+'\x20response='+util[_0x486f31(0x223)](_0x597ff));}}else{const {logs:_0xaef29a}=_0x12efe3['QFlFm'](getStepsAndLogs,_0x46e46d[_0x486f31(0x257)]['steps'],_0x31b088,_0x12efe3[_0x486f31(0x20e)]),_0xf16aad=_0x12efe3[_0x486f31(0x1d1)](getTestRunIdentifier,_0x46e46d[_0x486f31(0x18f)],_0x46e46d[_0x486f31(0x20c)][_0x486f31(0x235)]);logger[_0x486f31(0x1fd)](_0x486f31(0x1e0)+_0xf16aad);const _0x283258=_0x5ad1bd[_0x486f31(0x25a)]()[_0x486f31(0x261)](_0xf16aad),{[TestFrameworkConstants[_0x486f31(0x218)]]:_0x450105='',[TestFrameworkConstants[_0x486f31(0x255)]]:_0x11df39=''}=_0x283258,_0x1fac3c={'platformIndex':'0','logs':_0xaef29a,'testFrameworkName':_0x450105,'testFrameworkVersion':_0x11df39,'testFrameworkState':_0x3aac52['toString']()[_0x486f31(0x188)]('.')[0x1]};_0x12efe3[_0x486f31(0x27a)](updatePayloadForTraceLogs,_0x1fac3c,_0x46e46d,_0xf16aad,_0x5ad1bd),logger[_0x486f31(0x1fd)](_0x486f31(0x189)+_0xf16aad+_0x486f31(0x1b4)+util['inspect'](_0x1fac3c));const _0x143e34=await GrpcClient['getInstance']()['logCreatedEvent'](_0x1fac3c);}}catch(_0x1f67ee){logger[_0x486f31(0x252)](_0x486f31(0x1ba)+util[_0x486f31(0x222)](_0x1f67ee));}}[a82_0x5ee80d(0x246)](_0x353c82){const _0x32f422=a82_0x5ee80d,_0x35801c={'ljrpB':function(_0x4b18e0,_0x676cef,_0x50abc3){return _0x4b18e0(_0x676cef,_0x50abc3);},'jrSCn':function(_0x2ac92a,_0x3095a0){return _0x2ac92a<_0x3095a0;},'woqxo':_0x32f422(0x1f3)};try{const _0x417799=_0x353c82['test']['id'],_0x1408e8=_0x35801c[_0x32f422(0x1a5)](getTestRunIdentifier,_0x353c82[_0x32f422(0x18f)],_0x353c82[_0x32f422(0x20c)][_0x32f422(0x235)]),_0x5a5d7c=_0x353c82[_0x32f422(0x253)],_0x1ad86e=_0x5a5d7c[_0x32f422(0x215)](),_0x5a502f=_0x5a5d7c['getAllData']()[_0x32f422(0x261)](_0x1408e8);logger[_0x32f422(0x1fd)](_0x32f422(0x24b)+_0x417799);const {[TestFrameworkConstants[_0x32f422(0x218)]]:_0x2548f1='',[TestFrameworkConstants[_0x32f422(0x255)]]:_0xd5332f='',[TestFrameworkConstants[_0x32f422(0x1d9)]]:_0x38f35e='',[TestFrameworkConstants[_0x32f422(0x17f)]]:_0x49ae65=''}=_0x5a502f,_0x5df121=_0x5a5d7c[_0x32f422(0x1cc)]()['toString']()[_0x32f422(0x188)]('.')[0x1],_0x50fec6=_0x5a5d7c[_0x32f422(0x22f)]()['toString']()['split']('.')[0x1],_0x450314=_0x35801c[_0x32f422(0x24f)](_0x353c82?.['result']?.[_0x32f422(0x21f)]??0x0,0x0)?0x0:_0x353c82?.['result']?.['parallelIndex']??0x0,_0x45ae36=_0x5a5d7c[_0x32f422(0x1a2)](),_0x5da8d7=Buffer[_0x32f422(0x1f8)](JSON['stringify'](_0x5a502f))[_0x32f422(0x1b9)](_0x35801c['woqxo']),_0x430693={'hash':_0x1ad86e[_0x32f422(0x1c2)](),'threadId':_0x1ad86e[_0x32f422(0x236)]()[_0x32f422(0x1b9)](),'processId':_0x1ad86e[_0x32f422(0x184)]()[_0x32f422(0x1b9)]()},_0x338690={};_0x338690[_0x32f422(0x1eb)]=_0x450314,_0x338690[_0x32f422(0x1bc)]=_0x2548f1,_0x338690[_0x32f422(0x200)]=_0xd5332f,_0x338690[_0x32f422(0x225)]=_0x5df121,_0x338690[_0x32f422(0x1a7)]=_0x50fec6,_0x338690[_0x32f422(0x1fa)]=_0x38f35e,_0x338690['endedAt']=_0x49ae65,_0x338690['uuid']=_0x45ae36,_0x338690['eventJson']=_0x5da8d7,_0x338690[_0x32f422(0x1ca)]=_0x430693;const _0x5a236d=_0x338690;return logger['debug'](_0x32f422(0x1c6)+_0x417799+_0x32f422(0x1d2)+_0x5df121+_0x32f422(0x22e)+_0x50fec6),_0x5a236d;}catch(_0x4280a8){return logger[_0x32f422(0x252)](_0x32f422(0x1b8)+util['format'](_0x4280a8)),{};}}}function a82_0x7fd1(_0x52a187,_0x12734a){const _0x3f2b33=a82_0x3f2b();return a82_0x7fd1=function(_0x7fd1a5,_0x1cb241){_0x7fd1a5=_0x7fd1a5-0x17f;let _0x47bf7f=_0x3f2b33[_0x7fd1a5];return _0x47bf7f;},a82_0x7fd1(_0x52a187,_0x12734a);}module['exports']=PlaywrightTestFramework;
|
|
1
|
+
const a82_0x228e2e=a82_0x5d6c;(function(_0x536b9e,_0x239fe7){const _0xa2fe75=a82_0x5d6c,_0x172f4f=_0x536b9e();while(!![]){try{const _0x157dfe=parseInt(_0xa2fe75(0x15e))/0x1*(parseInt(_0xa2fe75(0x182))/0x2)+-parseInt(_0xa2fe75(0x121))/0x3+parseInt(_0xa2fe75(0xe6))/0x4+parseInt(_0xa2fe75(0x100))/0x5+-parseInt(_0xa2fe75(0xdf))/0x6*(-parseInt(_0xa2fe75(0xee))/0x7)+parseInt(_0xa2fe75(0xdc))/0x8+-parseInt(_0xa2fe75(0x18a))/0x9;if(_0x157dfe===_0x239fe7)break;else _0x172f4f['push'](_0x172f4f['shift']());}catch(_0x87fe93){_0x172f4f['push'](_0x172f4f['shift']());}}}(a82_0x3ec0,0xf2405));function a82_0x3ec0(){const _0x1963ac=['ceil',',\x20testFrameworkState=','glhpx','rgGOB','DEFAULT_HOOK_RESULT','KEY_HOOK_LOGS','attachments','parallelIndex','KXCwX','testUId','forEach','tyZQM','../../../helpers/test-observability/utils','KEY_TEST_STARTED_AT','gevxu','hook','executionContext','SJTjF','YJbno','IMpRK','Nlnkn','\x20&\x20hook\x20=\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','started_at','status','trackStepEvent:\x20exception=','instance','some','parsePlaywrightTestResult:\x20testId=','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_FILE_PATH','XgWyO','JhMnX','parent_id','../instances/trackedInstance.js','getCurrentTestState','KEY_TEST_ID','MsaRL','VuWbx','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','glpSo','DEFAULT_TEST_RESULT','timedOut','getInstance','trim','PlaywrightTestFramework','testFrameworkState','failure_type','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_EVENT_STARTED_AT','mtmeu','KEY_TEST_LOCATION','getThreadId','KEY_LOGS','isArray','FAgqe','toString','\x20testHookState=','sendLogCreatedEvent','BlTNy','877301weYmpZ','xzUoO','endedAt','pgORe','expectedStatus','passed','KEY_HOOKS_FINISHED','uySgJ','KEY_CUSTOM_TAGS','xwkIZ','getTime','PRE','filePath','getContext','KEY_TEST_SCOPES','tdEUo','POST','logs','KEY_HOOK_FAILURE','KEY_TEST_FRAMEWORK_NAME','urNOz','CaOKV','hqcLl','getCurrentInstanceName','exports','./testFramework','KEY_TEST_FRAMEWORK_VERSION','getTestFrameworks','file_name','getRef','KEY_TEST_UUID','nWAgq','skipped','step','YghZT','VIYtv','4QiAkYX','filter','\x20hookState:\x20','ndjqc','UWNQn','retry','multi_dropdown','trackStepEvent:\x20testId=','35782191vsHXuT','KEY_TEST_RERUN_NAME','Error\x20processing\x20direct\x20trace\x20file\x20','WjqUA','KEY_TEST_RETRY_OF','description','trackHookEvent','uuid','\x20from\x20TestDetails:\x20','RqzLm','basename','\x20response=','GBfDQ','\x20\x20and\x20args\x20=\x20','getProcessId','errors','addMultipleEntries','KEY_HOOK_LAST_FINISHED','getAllData','../TestInfo.js','../instances/testFrameworkInstance.js','push','Wzvli','get','resolveInstance','steps','getTestUUID','split','message','stringify','browserstackPlatformIndex','\x20testState:\x20','../cliUtils.js','WyEPB','KEY_HOOK_ID','parsePlaywrightTest','xmJox','getTestDetails','getId','KEY_TEST_SCOPE','keyword','length','TEST','slice','eSGMK','result','KEY_TEST_ENDED_AT','YtvHs','VHkih','Eaybd','\x20step=\x22','failure','trackPlaywrightInstance','\x20steps\x20for\x20testId=','CIbHb','pcKdr','getTestFrameworksVersions','logCreatedEvent','parsePlaywrightTestResult:\x20extracted\x20','No\x20reason\x20provided','iyhEk','LvOHg','../../../helpers/helper.js','SqLJO','stack','parsePlaywrightTestResult','PurLM','../../utils/constants','map','\x20payload=','KzYlx','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOK_LAST_STARTED','getTrackedInstance','inspect','util','TEST_STEP','6685904VVemDI','getTestIdentifierFromTestInfo','text','204LbBwtO','startTime','setTestDetails','PpuXj','from','TEST_SCREENSHOT','KEY_TEST_FAILURE_TYPE','4439304KajvbM','err','asfHV','NSarj','KEY_HOOK_RESULT','axunh','fcltW','info','137690pvHjwH','base64','cohGp','../../playwright/reporter/pwUtils','field_type','title','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','INIT_TEST','KEY_TEST_FAILURE_REASON','KEY_TEST_CODE','KEY_TEST_TAGS',',\x20state=','BHZzm','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','test','createTestFrameworkEventPayload','setTrackedInstance','path','9766945RwXtzZ','\x20batch\x20','failed','toISOString','\x20hookState=','iUVtx','values','HLlmy','pYEfI','WXqcu','size','Hook\x20List\x20in\x20Post\x20','KEY_AUTOMATE_SESSION_NAME','format','MAX_TOP_LEVEL_STEPS','statSync','matchHookRegex','NONE','annotations','GwArc','sendLogCreatedEvent\x20for\x20testId:\x20','pop','mwHCM','McOMS','nrhVj','error','debug','getTraceFilePaths','concat','qqnHW','duration','lzTpk','\x20target=','4062825PgUtlY'];a82_0x3ec0=function(){return _0x1963ac;};return a82_0x3ec0();}const TestFramework=require(a82_0x228e2e(0x177)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a82_0x228e2e(0x19e)),CLIUtils=require(a82_0x228e2e(0x1aa)),TrackedInstance=require(a82_0x228e2e(0x144)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a82_0x228e2e(0x14f)),{v4:uuidv4}=require(a82_0x228e2e(0x191)),util=require(a82_0x228e2e(0xda)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x228e2e(0xcd)),TestInfo=require(a82_0x228e2e(0x19d)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a82_0x228e2e(0x12e)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a82_0x228e2e(0xf1)),{findNestedKey,sendTraceZip,validateFilePath}=require(a82_0x228e2e(0xf1)),path=require(a82_0x228e2e(0xff)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a82_0x228e2e(0xd2));function a82_0x5d6c(_0x4b7822,_0x4e3e98){const _0x3ec09d=a82_0x3ec0();return a82_0x5d6c=function(_0x5d6c7a,_0x39cb22){_0x5d6c7a=_0x5d6c7a-0xc8;let _0x447b82=_0x3ec09d[_0x5d6c7a];return _0x447b82;},a82_0x5d6c(_0x4b7822,_0x4e3e98);}class PlaywrightTestFramework extends TestFramework{constructor(_0x31c5d8,_0x5d1275,_0xf871da){super(_0x31c5d8,_0x5d1275,_0xf871da);}async['trackEvent'](_0x58615a,_0x813aad,_0x30ff2a={}){const _0x2968bd=a82_0x228e2e,_0x26ffe3={'xmJox':function(_0x1a262f,_0x45bf0f){return _0x1a262f===_0x45bf0f;},'rgGOB':function(_0x47ffd7,_0x1d5e9d,_0x1e8e49){return _0x47ffd7(_0x1d5e9d,_0x1e8e49);},'tdEUo':function(_0x41f0d2,_0x34ea8e){return _0x41f0d2===_0x34ea8e;},'lzTpk':function(_0x3c8648,_0x28aa15,_0x378d41,_0x5d84e6){return _0x3c8648(_0x28aa15,_0x378d41,_0x5d84e6);},'HINYl':_0x2968bd(0xfc),'SqLJO':_0x2968bd(0xd6)};super['trackEvent'](_0x58615a,_0x813aad,_0x30ff2a);if(_0x26ffe3[_0x2968bd(0x1ae)](_0x58615a,TestFrameworkState[_0x2968bd(0xe4)])){const _0xd956b6=TestInfo[_0x2968bd(0xdd)](_0x30ff2a[_0x2968bd(0xfc)],_0x30ff2a[_0x2968bd(0xfc)][_0x2968bd(0x187)]);TestInfo[_0x2968bd(0xe1)](_0xd956b6,_0x30ff2a[_0x2968bd(0x1b7)],!![]);}if(_0x26ffe3['xmJox'](_0x58615a,TestFrameworkState[_0x2968bd(0xdb)])){this['trackStepEvent'](_0x58615a,_0x813aad,_0x30ff2a);return;}const _0x3f3f9a=this[_0x2968bd(0x1a2)](_0x58615a,_0x813aad,_0x30ff2a);if(!_0x3f3f9a)return;logger['debug'](_0x2968bd(0x152)+_0x58615a+_0x2968bd(0x104)+_0x813aad+'\x20instanceId='+_0x3f3f9a[_0x2968bd(0x17b)]());try{if(_0x26ffe3[_0x2968bd(0x1ae)](_0x813aad,HookState[_0x2968bd(0x169)])&&_0x26ffe3[_0x2968bd(0x1ae)](_0x58615a,TestFrameworkState[_0x2968bd(0x1b4)])){const _0x258025=_0x30ff2a['test'];logger[_0x2968bd(0x11a)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x258025['id']+'}');const _0x2217c2=TestInfo[_0x2968bd(0x1a4)](_0x26ffe3['rgGOB'](getTestRunIdentifier,_0x258025,_0x30ff2a['result'][_0x2968bd(0x187)]));_0x3f3f9a[_0x2968bd(0x19a)](this['parsePlaywrightTest'](_0x2217c2,_0x258025,_0x30ff2a[_0x2968bd(0x1b7)])),logger[_0x2968bd(0x11a)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x258025['id']+_0x2968bd(0x123)+_0x58615a+_0x2968bd(0x15b)+_0x813aad+'\x20instance='+_0x3f3f9a[_0x2968bd(0x17b)]());}if(_0x26ffe3[_0x2968bd(0x16d)](_0x813aad,HookState[_0x2968bd(0x16e)])&&_0x26ffe3['tdEUo'](_0x58615a,TestFrameworkState[_0x2968bd(0x1b4)])){const _0x479697=_0x30ff2a['test'],_0x590243=_0x30ff2a[_0x2968bd(0x1b7)];logger[_0x2968bd(0x11a)](_0x2968bd(0xfb)+_0x479697['id']);const _0x5015e2=_0x26ffe3[_0x2968bd(0x125)](getTestRunIdentifier,_0x479697,_0x590243[_0x2968bd(0x187)]),_0x6aad5f=_0x3f3f9a['getAllData']()[_0x2968bd(0x1a1)](_0x5015e2)[TestFrameworkConstants[_0x2968bd(0x17c)]],{steps:_0x2583bd,logs:_0x3922c9}=_0x26ffe3[_0x2968bd(0x11f)](getStepsAndLogs,_0x590243['steps'],_0x6aad5f,_0x26ffe3['HINYl']);_0x3f3f9a[_0x2968bd(0x19a)](this[_0x2968bd(0xd0)](_0x479697['id'],_0x590243,_0x479697,_0x2583bd)),await this[_0x2968bd(0x15c)](_0x3f3f9a,_0x58615a,_0x813aad,_0x26ffe3['HINYl'],_0x30ff2a,_0x3922c9);}if(CLIUtils[_0x2968bd(0x110)](_0x58615a[_0x2968bd(0x15a)]()[_0x2968bd(0x1a5)]('.')[0x1])){const _0xb9a78f=await this[_0x2968bd(0x190)](_0x3f3f9a,_0x58615a,_0x813aad,_0x30ff2a);_0x3f3f9a[_0x2968bd(0x19a)](_0xb9a78f);}}catch(_0x5bad68){logger[_0x2968bd(0x119)](util['format'](_0x26ffe3[_0x2968bd(0xce)],_0x58615a,_0x813aad,_0x30ff2a[_0x2968bd(0x1b3)],_0x5bad68));}_0x30ff2a[_0x2968bd(0x13c)]=_0x3f3f9a,await this['runHooks'](_0x3f3f9a,_0x58615a,_0x813aad,_0x30ff2a);}[a82_0x228e2e(0x1a2)](_0x5ed15b,_0x5b71ce,_0x252d21={}){const _0x37d70c=a82_0x228e2e,_0x48f162={};_0x48f162[_0x37d70c(0x107)]=function(_0x2fc749,_0x54e820){return _0x2fc749===_0x54e820;};const _0x31e8e7=_0x48f162;let _0x3fcdf6=null;return(_0x31e8e7[_0x37d70c(0x107)](_0x5ed15b,TestFrameworkState[_0x37d70c(0xf5)])||_0x31e8e7[_0x37d70c(0x107)](_0x5ed15b,TestFrameworkState[_0x37d70c(0x111)]))&&this[_0x37d70c(0x1be)](_0x5ed15b,_0x252d21),_0x3fcdf6=TestFramework[_0x37d70c(0xd8)](),_0x3fcdf6;}[a82_0x228e2e(0x1be)](_0x7c1f74,_0x445d67){const _0x1445b9=a82_0x228e2e,_0x1be5ce=CLIUtils[_0x1445b9(0x175)](),_0x8a2783=TrackedInstance['createContext'](_0x1be5ce);let _0x389f19=null;logger['info'](_0x1445b9(0x13f)+_0x1be5ce+_0x1445b9(0xf9)+_0x7c1f74),_0x389f19=new TestFrameworkInstance(_0x8a2783,this[_0x1445b9(0x179)](),this[_0x1445b9(0x1c2)](),_0x7c1f74,HookState[_0x1445b9(0x111)]),TestFramework[_0x1445b9(0xfe)](_0x8a2783,_0x389f19),logger[_0x1445b9(0xed)](_0x1445b9(0x149)+_0x8a2783[_0x1445b9(0x1b0)]()+_0x1445b9(0x120)+_0x1be5ce);}[a82_0x228e2e(0x1ad)](_0x48df80,_0xea9830,_0x19b3ff){const _0x1945f6=a82_0x228e2e,_0x412468={'JhMnX':function(_0x5c02e9,_0x5d4ec1){return _0x5c02e9(_0x5d4ec1);},'Eaybd':function(_0xa19969,_0x720d54){return _0xa19969(_0x720d54);},'UWNQn':function(_0x1d505c,_0x30ad60){return _0x1d505c(_0x30ad60);},'axunh':function(_0x5a99f0,_0x4937cb,_0x59e18e){return _0x5a99f0(_0x4937cb,_0x59e18e);}},_0x18645b=_0x412468[_0x1945f6(0x142)](getPlaywrightTestId,_0xea9830),_0x1decee=_0x412468['JhMnX'](getPlaywrightTestTitle,_0xea9830),_0x570f4d=_0x412468[_0x1945f6(0x142)](getTestTags,_0xea9830),_0xcea877=_0x412468[_0x1945f6(0x1bb)](getPlaywrightTestCode,_0xea9830),_0x5ae4cc=_0x412468[_0x1945f6(0x142)](getPlaywrightTestFilePath,_0xea9830),_0x337db7=_0x5ae4cc,_0x5926f0=_0x412468[_0x1945f6(0x142)](getPlaywrightTestScope,_0xea9830),_0x3ebfbb=_0x412468[_0x1945f6(0x186)](getPlaywrightTestScopes,_0xea9830),_0x4c67d2=_0x412468[_0x1945f6(0x142)](getPlaywrightSessionName,_0xea9830),_0x3a241a=this[_0x1945f6(0x179)]()[0x0],_0x4c8fc8=_0x412468[_0x1945f6(0xeb)](getTestRunIdentifier,_0xea9830,_0x19b3ff[_0x1945f6(0x187)]),_0x49ad58={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3a241a,[TestFrameworkConstants[_0x1945f6(0x178)]]:this[_0x1945f6(0x1c2)]()[_0x3a241a],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1945f6(0x17c)]]:_0x48df80,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x1945f6(0x14b)],[TestFrameworkConstants[_0x1945f6(0x10c)]]:_0x4c67d2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5ae4cc,[TestFrameworkConstants[_0x1945f6(0x146)]]:_0x18645b,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x1decee,[TestFrameworkConstants[_0x1945f6(0x155)]]:_0x337db7,[TestFrameworkConstants[_0x1945f6(0xf7)]]:_0xcea877,[TestFrameworkConstants[_0x1945f6(0xf8)]]:_0x570f4d,[TestFrameworkConstants[_0x1945f6(0x12f)]]:_0xea9830['results'][0x0][_0x1945f6(0xe0)],[TestFrameworkConstants[_0x1945f6(0x1b1)]]:_0x5926f0,[TestFrameworkConstants[_0x1945f6(0x16c)]]:_0x3ebfbb,[TestFrameworkConstants[_0x1945f6(0x18b)]]:_0x412468[_0x1945f6(0x142)](getPlaywrightCustomRerunParam,_0xea9830)};TestInfo[_0x1945f6(0xe1)](_0x4c8fc8,_0x49ad58);const _0x23b0c9={};return _0x23b0c9[_0x4c8fc8]=_0x49ad58,_0x23b0c9;}['parsePlaywrightTestResult'](_0x27b0ea,_0x1519f8,_0x11f474,_0x3c17d9){const _0x2d438f=a82_0x228e2e,_0x5e8b7c={'nFTAj':function(_0x233ea9,_0x309413){return _0x233ea9(_0x309413);},'qqnHW':'TEST_ATTACHMENT','cohGp':function(_0x1b646d,_0x4e268a){return _0x1b646d===_0x4e268a;},'nrhVj':function(_0x19829c,_0x3325bf){return _0x19829c===_0x3325bf;},'YghZT':function(_0x55ed5d,_0x1cdeb0){return _0x55ed5d(_0x1cdeb0);},'BHZzm':_0x2d438f(0xca),'YtvHs':_0x2d438f(0x188),'KXCwX':function(_0x4c5168,_0x566c89){return _0x4c5168(_0x566c89);},'gevxu':function(_0x76b166,_0x12434a,_0x2c218e){return _0x76b166(_0x12434a,_0x2c218e);},'mwHCM':function(_0x4b3b59,_0x5a91a3){return _0x4b3b59+_0x5a91a3;},'qvulI':_0x2d438f(0x17e),'BlTNy':_0x2d438f(0x163),'hqcLl':function(_0x565d8a,_0x34bb1d){return _0x565d8a===_0x34bb1d;},'NSarj':_0x2d438f(0x102),'CaOKV':_0x2d438f(0x14c),'XgWyO':function(_0x4b2f75,_0x1ec395){return _0x4b2f75===_0x1ec395;},'dwoAH':'Expected\x20to\x20fail,\x20but\x20passed.','yEuGu':function(_0x2d40b9,_0x46267f){return _0x2d40b9||_0x46267f;},'pYEfI':function(_0x20417a,_0x14e314){return _0x20417a(_0x14e314);},'pebKL':function(_0x1f9e96,_0x4e8976){return _0x1f9e96(_0x4e8976);},'nWAgq':function(_0x320271,_0x217aa7){return _0x320271>_0x217aa7;},'tyZQM':function(_0x30a33b,_0x444f29){return _0x30a33b-_0x444f29;},'WjqUA':function(_0x46d06d,_0x5d37ec,_0x201aa2,_0x5a96ab){return _0x46d06d(_0x5d37ec,_0x201aa2,_0x5a96ab);},'PurLM':_0x2d438f(0xfc),'KzYlx':function(_0xf57127,_0x293633){return _0xf57127===_0x293633;},'sNCGb':function(_0x38b994,_0x307e47){return _0x38b994>=_0x307e47;},'Wzvli':_0x2d438f(0xff),'pgORe':function(_0x39b8ee,_0x52e5dc){return _0x39b8ee(_0x52e5dc);},'asfHV':function(_0x172b47,_0x11102d){return _0x172b47>_0x11102d;}};logger['debug'](_0x2d438f(0x13e)+_0x27b0ea);const _0x45e24e=_0x5e8b7c['gevxu'](getTestRunIdentifier,_0x11f474,_0x1519f8[_0x2d438f(0x187)]),_0x25bff2=new Date(_0x1519f8[_0x2d438f(0xe0)]),_0x3046ca=_0x1519f8[_0x2d438f(0x11e)],_0xf5b760=new Date(_0x5e8b7c[_0x2d438f(0x116)](_0x25bff2[_0x2d438f(0x168)](),_0x3046ca)),_0x25b9a0=_0x1519f8[_0x2d438f(0x13a)],_0x1e3f48=TestInfo['getTestDetails'](_0x45e24e)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x547c9c=_0x25b9a0;if(_0x5e8b7c[_0x2d438f(0xf0)](_0x1519f8[_0x2d438f(0x13a)],_0x11f474[_0x2d438f(0x162)]))_0x547c9c=_0x5e8b7c[_0x2d438f(0xf0)](_0x1519f8['status'],_0x5e8b7c['qvulI'])?_0x5e8b7c['qvulI']:_0x5e8b7c[_0x2d438f(0x15d)];else{(_0x5e8b7c[_0x2d438f(0x118)](_0x547c9c,_0x5e8b7c[_0x2d438f(0x15d)])||_0x5e8b7c[_0x2d438f(0x174)](_0x547c9c,_0x5e8b7c[_0x2d438f(0xe9)])||_0x5e8b7c['nrhVj'](_0x547c9c,_0x5e8b7c[_0x2d438f(0x173)]))&&(_0x547c9c=_0x5e8b7c[_0x2d438f(0xe9)]);if(_0x5e8b7c[_0x2d438f(0x141)](_0x1519f8['status'],_0x5e8b7c['BlTNy'])&&_0x5e8b7c[_0x2d438f(0x174)](_0x11f474[_0x2d438f(0x162)],_0x5e8b7c[_0x2d438f(0xe9)])){const _0x1a352e={};_0x1a352e['message']=_0x5e8b7c['dwoAH'],_0x1a352e[_0x2d438f(0xcf)]=_0x5e8b7c['dwoAH'],_0x1519f8[_0x2d438f(0x119)]=_0x1a352e,_0x1519f8[_0x2d438f(0x199)]=[_0x1519f8[_0x2d438f(0x119)]];}}const {failureData:_0x599b7c,logs:_0x429b60}=_0x5e8b7c[_0x2d438f(0x130)](getFailureData,_0x1519f8?.[_0x2d438f(0x199)],{}),_0x43acfa={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5e8b7c['yEuGu'](_0x599b7c,null),[TestFrameworkConstants[_0x2d438f(0xe5)]]:_0x1519f8?.[_0x2d438f(0x119)]&&_0x5e8b7c[_0x2d438f(0x108)](getFailureType,_0x1519f8[_0x2d438f(0x119)]['message']),[TestFrameworkConstants[_0x2d438f(0xf6)]]:_0x1519f8?.['error']&&_0x5e8b7c['pebKL'](removeAnsiColors,_0x1519f8[_0x2d438f(0x119)]['message']),[TestFrameworkConstants[_0x2d438f(0x157)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x547c9c,[TestFrameworkConstants[_0x2d438f(0x1b8)]]:_0xf5b760['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1e3f48};if(_0x1519f8&&_0x5e8b7c[_0x2d438f(0x17d)](_0x1519f8[_0x2d438f(0x187)],0x0)){const _0x13b2c8=TestInfo[_0x2d438f(0x1a4)](_0x5e8b7c[_0x2d438f(0x130)](getTestRunIdentifier,_0x11f474,_0x5e8b7c[_0x2d438f(0x12d)](_0x1519f8['retry'],0x1)));_0x43acfa[TestFrameworkConstants[_0x2d438f(0x18e)]]=_0x13b2c8;}const _0x2004bf={};_0x2004bf[_0x2d438f(0xfc)]=_0x11f474;const _0x2bde9a=this[_0x2d438f(0x1a2)](TestFrameworkState['TEST'],HookState[_0x2d438f(0x16e)],_0x2004bf),_0x4fc531=_0x2bde9a[_0x2d438f(0x19c)]()['get'](_0x45e24e)[TestFrameworkConstants[_0x2d438f(0x17c)]],_0x2c6134=_0x3c17d9||_0x5e8b7c[_0x2d438f(0x18d)](getStepsAndLogs,_0x1519f8[_0x2d438f(0x1a3)],_0x4fc531,_0x5e8b7c[_0x2d438f(0xd1)])[_0x2d438f(0x1a3)],_0x2c792e=new Map();let _0xec7390=0x0;const _0x32c949=[];for(const _0x216e7d of _0x2c6134||[]){const _0x53a3d2=_0x216e7d[_0x2d438f(0x143)]||null;let _0x554f89;if(_0x5e8b7c[_0x2d438f(0xd5)](_0x53a3d2,null)){if(_0x5e8b7c['sNCGb'](_0xec7390,TestFrameworkConstants[_0x2d438f(0x10e)]))continue;_0x554f89=0x0,_0xec7390++;}else{const _0x48b017=_0x2c792e[_0x2d438f(0x1a1)](_0x53a3d2);if(_0x5e8b7c[_0x2d438f(0x141)](_0x48b017,undefined))continue;_0x554f89=_0x5e8b7c[_0x2d438f(0x116)](_0x48b017,0x1);if(_0x5e8b7c['nWAgq'](_0x554f89,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x2c792e['set'](_0x216e7d['id'],_0x554f89);const _0x33d6f7={};_0x33d6f7['id']=_0x216e7d['id'],_0x33d6f7[_0x2d438f(0x143)]=_0x53a3d2,_0x33d6f7[_0x2d438f(0xde)]=_0x216e7d[_0x2d438f(0xde)],_0x33d6f7[_0x2d438f(0x1b2)]=_0x216e7d[_0x2d438f(0x1b2)]||null,_0x33d6f7['started_at']=_0x216e7d[_0x2d438f(0x139)],_0x33d6f7['duration']=_0x216e7d['duration']??null,_0x33d6f7[_0x2d438f(0x1b7)]=_0x216e7d[_0x2d438f(0x1b7)],_0x33d6f7[_0x2d438f(0x1bd)]=_0x216e7d[_0x2d438f(0x1bd)]||null,_0x33d6f7[_0x2d438f(0x151)]=_0x216e7d[_0x2d438f(0x151)]||null,_0x32c949[_0x2d438f(0x19f)](_0x33d6f7);}const _0x40718f={};_0x40718f[_0x2d438f(0x1a3)]=_0x32c949,_0x43acfa[TestFrameworkConstants['KEY_TEST_META']]=_0x40718f,logger[_0x2d438f(0x11a)](_0x2d438f(0xc9)+_0x32c949[_0x2d438f(0x1b3)]+_0x2d438f(0x1bf)+_0x27b0ea);const _0x486a95=[],_0x51a393=_0x5e8b7c['gevxu'](findNestedKey,_0x1519f8,_0x5e8b7c[_0x2d438f(0x1a0)]);if(_0x51a393&&_0x5e8b7c[_0x2d438f(0x161)](validateFilePath,_0x51a393))try{_0x486a95[_0x2d438f(0x19f)]({'kind':_0x5e8b7c[_0x2d438f(0x11d)],'timestamp':new Date()[_0x2d438f(0x103)](),'test_run_uuid':_0x4fc531,'file_name':path[_0x2d438f(0x194)](_0x51a393),'file_size':fs[_0x2d438f(0x10f)](_0x51a393)[_0x2d438f(0x10a)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x34e875){logger[_0x2d438f(0x119)](_0x2d438f(0x18c)+_0x51a393+':\x20'+_0x34e875[_0x2d438f(0x1a6)]);}const _0x1965f8=TestInfo[_0x2d438f(0x11b)](),_0x57bb7c=_0x1965f8[_0x2d438f(0x183)](_0x504f94=>_0x504f94[_0x2d438f(0x12b)]===_0x4fc531);_0x57bb7c[_0x2d438f(0x12c)](_0x42fa23=>{const _0x4829e1=_0x2d438f;if(_0x42fa23['filePath']&&_0x5e8b7c['nFTAj'](validateFilePath,_0x42fa23['filePath'])&&!_0x486a95[_0x4829e1(0x13d)](_0x376042=>_0x376042[_0x4829e1(0x17a)]===path['basename'](_0x42fa23[_0x4829e1(0x16a)])))try{_0x486a95[_0x4829e1(0x19f)]({'kind':_0x5e8b7c['qqnHW'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x4fc531,'file_name':path[_0x4829e1(0x194)](_0x42fa23['filePath']),'file_size':fs[_0x4829e1(0x10f)](_0x42fa23[_0x4829e1(0x16a)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3d0225){logger[_0x4829e1(0x119)]('Error\x20processing\x20trace\x20file\x20'+_0x42fa23[_0x4829e1(0x16a)]+_0x4829e1(0x192)+_0x3d0225[_0x4829e1(0x1a6)]);}});if(_0x5e8b7c[_0x2d438f(0x17d)](_0x486a95[_0x2d438f(0x1b3)],0x0)){const _0x16a647=_0x43acfa[TestFrameworkConstants[_0x2d438f(0x157)]]||[];_0x43acfa[TestFrameworkConstants[_0x2d438f(0x157)]]=[..._0x16a647,..._0x486a95];}const _0x77c878=TestInfo[_0x2d438f(0x1af)](_0x45e24e)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xbdc8f5=_0x5e8b7c[_0x2d438f(0x130)](getManualUploadLogs,_0x77c878,_0x2bde9a[_0x2d438f(0x19c)]()[_0x2d438f(0x1a1)](_0x45e24e)[TestFrameworkConstants[_0x2d438f(0x17c)]]);if(_0x5e8b7c[_0x2d438f(0xe8)](_0xbdc8f5['length'],0x0)){const _0x47c7c5=_0x43acfa[TestFrameworkConstants['KEY_LOGS']]||[];_0x43acfa[TestFrameworkConstants[_0x2d438f(0x157)]]=[..._0x47c7c5,..._0xbdc8f5];}const _0x2c03c4=_0x11f474[_0x2d438f(0x112)]||[],_0x286eb2=_0x43acfa[TestFrameworkConstants[_0x2d438f(0x166)]]||{};_0x2c03c4[_0x2d438f(0x12c)](_0x5527fb=>{const _0x2c8343=_0x2d438f,{type:_0x1fef5c}=_0x5527fb;let _0x5ac875=_0x5527fb[_0x2c8343(0x18f)];if(!_0x1fef5c)return;(_0x5e8b7c[_0x2c8343(0xf0)](_0x5ac875,undefined)||_0x5e8b7c['cohGp'](_0x5ac875,null)||_0x5e8b7c[_0x2c8343(0x118)](_0x5e8b7c[_0x2c8343(0x180)](String,_0x5ac875)[_0x2c8343(0x14e)](),''))&&(_0x5ac875=_0x5e8b7c[_0x2c8343(0xfa)]);if(!_0x286eb2[_0x1fef5c]){const _0x16cf03={};_0x16cf03[_0x2c8343(0xf2)]=_0x5e8b7c[_0x2c8343(0x1b9)],_0x16cf03[_0x2c8343(0x106)]=[],_0x286eb2[_0x1fef5c]=_0x16cf03;}else!_0x286eb2[_0x1fef5c]['field_type']&&(_0x286eb2[_0x1fef5c][_0x2c8343(0xf2)]=_0x5e8b7c[_0x2c8343(0x1b9)]),!Array[_0x2c8343(0x158)](_0x286eb2[_0x1fef5c]['values'])&&(_0x286eb2[_0x1fef5c][_0x2c8343(0x106)]=[]);const _0xfbb9e4=_0x5e8b7c[_0x2c8343(0x12a)](String,_0x5ac875)[_0x2c8343(0x1a5)](',')[_0x2c8343(0xd3)](_0xd2bf7c=>_0xd2bf7c[_0x2c8343(0x14e)]());_0x286eb2[_0x1fef5c]['values']=[...new Set([..._0x286eb2[_0x1fef5c][_0x2c8343(0x106)],..._0xfbb9e4])];}),_0x43acfa[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x286eb2,TestInfo[_0x2d438f(0xe1)](_0x45e24e,_0x43acfa);const _0x5730f3={};return _0x5730f3[_0x45e24e]=_0x43acfa,_0x5730f3;}['trackStepEvent'](_0x5dd824,_0x508fde,_0x586d03){const _0x2a976e=a82_0x228e2e,_0x3e8ff1={'xwkIZ':function(_0x25c574,_0x15ceea){return _0x25c574||_0x15ceea;},'uySgJ':function(_0x55513f,_0x3081ae,_0x35b7e7){return _0x55513f(_0x3081ae,_0x35b7e7);}};try{const {test:_0x43bf98,result:_0x2b9e72,step:_0x44e059}=_0x586d03;if(_0x3e8ff1[_0x2a976e(0x167)](!_0x43bf98,!_0x44e059)||!_0x2b9e72)return;const _0x518a4d=_0x3e8ff1[_0x2a976e(0x165)](getTestRunIdentifier,_0x43bf98,_0x2b9e72[_0x2a976e(0x187)]);logger[_0x2a976e(0x11a)](_0x2a976e(0x189)+_0x518a4d+'\x20hookState='+_0x508fde+_0x2a976e(0x1bc)+_0x44e059[_0x2a976e(0xf3)]+'\x22');}catch(_0x4adf3b){logger[_0x2a976e(0x119)](_0x2a976e(0x13b)+util[_0x2a976e(0x10d)](_0x4adf3b));}}async[a82_0x228e2e(0x190)](_0x1cb79e,_0x4f4041,_0x426be6,_0x436cf4){const _0x25e741=a82_0x228e2e,_0x435bc9={'McOMS':function(_0x5075bd,_0x407cb7,_0x253f04){return _0x5075bd(_0x407cb7,_0x253f04);},'eSGMK':function(_0x40883e,_0x1b967f){return _0x40883e in _0x1b967f;},'glpSo':function(_0x397922,_0x580b81){return _0x397922 in _0x580b81;},'FAgqe':function(_0x23a9d9,_0x5c5d14){return _0x23a9d9(_0x5c5d14);},'GBfDQ':function(_0x51824f,_0x367fc3){return _0x51824f===_0x367fc3;},'YJbno':function(_0xb55bb5){return _0xb55bb5();},'CIbHb':function(_0x42870c,_0x35671f){return _0x42870c>_0x35671f;},'uLOno':function(_0xeece1a,_0x1ca4ea,_0x142585){return _0xeece1a(_0x1ca4ea,_0x142585);},'VHkih':_0x25e741(0xe7),'Nlnkn':function(_0x2b51f5,_0x5554cc){return _0x2b51f5(_0x5554cc);},'sEoeO':function(_0x3fcae9,_0x21d34b){return _0x3fcae9(_0x21d34b);},'MsaRL':_0x25e741(0x102),'RqzLm':_0x25e741(0x163),'iPDaV':function(_0x2c558a,_0x552e70){return _0x2c558a!==_0x552e70;},'LvOHg':function(_0xc664,_0x43f224){return _0xc664+_0x43f224;},'IMpRK':_0x25e741(0x131)},_0x18bf04=_0x436cf4[_0x25e741(0xfc)],_0x285dba=_0x436cf4[_0x25e741(0x17f)],_0x1da2d6=_0x435bc9[_0x25e741(0x117)](getTestRunIdentifier,_0x18bf04,_0x436cf4[_0x25e741(0x1b7)][_0x25e741(0x187)]),_0x14da4b=_0x4f4041['toString']()[_0x25e741(0x1a5)]('.')[0x1];let _0x5d03ec=_0x1cb79e['getAllData']()[_0x25e741(0x1a1)](_0x1da2d6)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x5d03ec&&(_0x5d03ec={});!_0x435bc9[_0x25e741(0x1b6)](_0x14da4b,_0x5d03ec)&&(_0x5d03ec[_0x14da4b]=[]);let _0x25f735=_0x1cb79e[_0x25e741(0x19c)]()[_0x25e741(0x1a1)](_0x1da2d6)[TestFrameworkConstants[_0x25e741(0x164)]];!_0x25f735&&(_0x25f735={});!_0x435bc9[_0x25e741(0x14a)](_0x14da4b,_0x25f735)&&(_0x25f735[_0x14da4b]=[]);const _0x882e7f={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5d03ec,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x25f735},_0xeb9a96={};_0xeb9a96[_0x1da2d6]=_0x882e7f;const _0x115821=_0xeb9a96,_0x325855=_0x435bc9[_0x25e741(0x159)](getPlaywrightTestFilePath,_0x18bf04),_0x24d2d4=_0x325855,_0x3a6c6b=TestInfo['getTestDetails'](_0x1da2d6)[TestFrameworkConstants[_0x25e741(0x166)]]||{};if(_0x435bc9[_0x25e741(0x196)](_0x426be6,HookState[_0x25e741(0x169)])){const _0x2a4770={'key':_0x14da4b,[TestFrameworkConstants[_0x25e741(0x1ac)]]:_0x435bc9[_0x25e741(0x134)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x25e741(0x126)],[TestFrameworkConstants[_0x25e741(0x153)]]:_0x285dba['startTime'],[TestFrameworkConstants[_0x25e741(0x127)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x285dba[_0x25e741(0xf3)],[TestFrameworkConstants[_0x25e741(0x140)]]:_0x325855,[TestFrameworkConstants[_0x25e741(0x155)]]:_0x24d2d4,[TestFrameworkConstants[_0x25e741(0x166)]]:_0x3a6c6b};_0x5d03ec[_0x14da4b][_0x25e741(0x19f)](_0x2a4770),_0x115821[_0x1da2d6][TestFrameworkConstants[_0x25e741(0xd7)]]=_0x14da4b,logger[_0x25e741(0x11a)](_0x25e741(0xf4)+_0x14da4b+_0x25e741(0x137)+_0x2a4770+_0x25e741(0x197)+_0x436cf4);}else{if(_0x435bc9[_0x25e741(0x196)](_0x426be6,HookState['POST'])){const _0x2abfa6=await _0x436cf4['result'],_0x5a4031=_0x5d03ec[_0x14da4b]||[],_0x4a0f6c=_0x436cf4['step'];logger['debug'](_0x25e741(0x10b)+_0x5a4031+'\x20and\x20args\x20=\x20'+_0x436cf4);if(_0x435bc9[_0x25e741(0x1c0)](_0x5a4031[_0x25e741(0x1b3)],0x0)){const _0x1efe36=_0x5a4031[_0x25e741(0x115)]();if(_0x4a0f6c[_0x25e741(0x119)]){const _0x409a21=_0x435bc9['uLOno'](failureData,_0x4a0f6c['error'],_0x435bc9[_0x25e741(0x1ba)]);_0x1efe36[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x435bc9[_0x25e741(0x136)](getFailureType,_0x4a0f6c?.[_0x25e741(0x119)][_0x25e741(0x1a6)]),_0x1efe36[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x435bc9['sEoeO'](removeAnsiColors,_0x4a0f6c?.[_0x25e741(0x119)][_0x25e741(0x1a6)]),_0x1efe36[TestFrameworkConstants[_0x25e741(0xea)]]=_0x435bc9[_0x25e741(0x147)],_0x1efe36[TestFrameworkConstants[_0x25e741(0x170)]]=_0x409a21;}else _0x1efe36[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x435bc9[_0x25e741(0x193)];_0x435bc9['iPDaV'](_0x2abfa6,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x1efe36[TestFrameworkConstants[_0x25e741(0xea)]]=!_0x4a0f6c[_0x25e741(0x119)]?_0x435bc9[_0x25e741(0x193)]:_0x435bc9['MsaRL']);const _0x53cf28=new Date(_0x4a0f6c[_0x25e741(0xe0)]),_0x27f85e=new Date(_0x435bc9[_0x25e741(0xcc)](_0x53cf28['getTime'](),_0x4a0f6c[_0x25e741(0x11e)]));_0x1efe36[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x27f85e[_0x25e741(0x103)](),_0x1efe36[TestFrameworkConstants[_0x25e741(0x166)]]=_0x3a6c6b;const _0x333cf1=_0x1efe36[TestFrameworkConstants[_0x25e741(0x1ac)]];await this['sendLogCreatedEvent'](_0x1cb79e,_0x4f4041,_0x333cf1,_0x435bc9[_0x25e741(0x135)],_0x436cf4),!_0x25f735[_0x14da4b]&&(_0x25f735[_0x14da4b]=[]),_0x25f735[_0x14da4b]['push'](_0x1efe36),_0x115821[_0x1da2d6][TestFrameworkConstants[_0x25e741(0x19b)]]=_0x14da4b;}}}return _0x115821;}async[a82_0x228e2e(0x15c)](_0x34c39d,_0x5de580,_0x231564,_0x901364,_0x297050,_0x5407c5){const _0x1cf40a=a82_0x228e2e,_0x642381={'GwArc':function(_0x16534f,_0x33dcf2){return _0x16534f===_0x33dcf2;},'iyhEk':'test','xzUoO':function(_0x5d64d0,_0x29a3e9,_0x18a62a){return _0x5d64d0(_0x29a3e9,_0x18a62a);},'iUVtx':_0x1cf40a(0x128),'fcltW':function(_0x40016f,_0xac90cf,_0x42d6d4,_0x58d660){return _0x40016f(_0xac90cf,_0x42d6d4,_0x58d660);},'VIYtv':function(_0x2bca99,_0x1eca22,_0x5a2cce){return _0x2bca99(_0x1eca22,_0x5a2cce);},'urNOz':function(_0x17e9af,_0x473bbf,_0x5daecf){return _0x17e9af(_0x473bbf,_0x5daecf);},'VuWbx':function(_0xc5329f,_0x386755,_0x13157e){return _0xc5329f(_0x386755,_0x13157e);},'XtHbK':function(_0x4dc11e,_0x73cf22){return _0x4dc11e/_0x73cf22;},'ndjqc':function(_0x5503b3,_0x387335){return _0x5503b3<_0x387335;},'WXqcu':function(_0x19f753,_0x2ec67a){return _0x19f753*_0x2ec67a;},'glhpx':function(_0x2f63c5,_0x4e25ef){return _0x2f63c5+_0x4e25ef;},'SJTjF':function(_0x45130c,_0x5d326b,_0x55c628,_0x5976ed,_0x209c8c){return _0x45130c(_0x5d326b,_0x55c628,_0x5976ed,_0x209c8c);},'wqYON':function(_0x3bd923,_0x27a3c1){return _0x3bd923+_0x27a3c1;},'WyEPB':'hook','hiatX':function(_0x1bd926,_0x1d8f24,_0x217261){return _0x1bd926(_0x1d8f24,_0x217261);},'PpuXj':function(_0x3264da,_0x2de115,_0x414c09,_0x168365,_0x2fec80){return _0x3264da(_0x2de115,_0x414c09,_0x168365,_0x2fec80);}};try{if(_0x642381[_0x1cf40a(0x113)](_0x901364,_0x642381['iyhEk'])){const _0x9c9093=await _0x297050['result'],_0x40547a=_0x642381[_0x1cf40a(0x15f)](getTestRunIdentifier,_0x297050['test'],_0x297050[_0x1cf40a(0x1b7)]['retry']),_0x2f7026=_0x297050[_0x1cf40a(0xfc)];logger[_0x1cf40a(0x11a)]('sendLogCreatedEvent:\x20testId='+_0x40547a+'\x20result='+util[_0x1cf40a(0xd9)](_0x9c9093));const _0x105707=_0x34c39d['getAllData']()['get'](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]];await _0x642381['xzUoO'](sendTraceZip,_0x9c9093,_0x105707);const _0x2ad609=TestInfo[_0x1cf40a(0x1af)](_0x40547a)[_0x642381[_0x1cf40a(0x105)]],_0xf2d774={};if(_0x2ad609){!_0x9c9093[_0x1cf40a(0x128)]&&(_0x9c9093[_0x1cf40a(0x128)]=[]);_0xf2d774[_0x1cf40a(0x128)]=_0x9c9093[_0x1cf40a(0x128)]['concat'](_0x2ad609||[]);const _0xf62e77=TestInfo[_0x1cf40a(0x1af)](_0x40547a);delete _0xf62e77[_0x642381['iUVtx']],TestInfo['setTestDetails'](_0x40547a,_0xf62e77);}const _0x4959d4=_0x5407c5||_0x642381[_0x1cf40a(0xec)](getStepsAndLogs,_0x9c9093[_0x1cf40a(0x1a3)],_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]],_0x642381[_0x1cf40a(0xcb)])[_0x1cf40a(0x16f)],_0x4c72d3=_0x642381['xzUoO'](getScreenshots,_0xf2d774,_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]]),_0xd4b4e6=_0x642381[_0x1cf40a(0x181)](getVideos,_0x9c9093,_0x34c39d[_0x1cf40a(0x19c)]()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3dba85,logs:_0x4b7590}=_0x642381[_0x1cf40a(0x172)](getFailureData,_0x9c9093['errors'],{'test_run_uuid':_0x34c39d[_0x1cf40a(0x19c)]()['get'](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]]}),_0x4a29b2=TestInfo['getTestDetails'](_0x40547a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x279ca7=_0x642381[_0x1cf40a(0x148)](getMediaArtifactsLogs,_0x4a29b2,_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]]),_0x13b691=_0x34c39d[_0x1cf40a(0x19c)]()[_0x1cf40a(0x1a1)](_0x40547a),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1e9123='',[TestFrameworkConstants[_0x1cf40a(0x178)]]:_0x1737cc=''}=_0x13b691,_0x59db92=(_0x4959d4||[])[_0x1cf40a(0x11c)](_0x4c72d3||[])[_0x1cf40a(0x11c)](_0x4b7590||[])['concat'](_0xd4b4e6||[])[_0x1cf40a(0x11c)](_0x279ca7||[]),_0x358efe=0x28,_0xb90fb3=Math[_0x1cf40a(0x122)](_0x642381['XtHbK'](_0x59db92[_0x1cf40a(0x1b3)],_0x358efe));for(let _0x2d35b8=0x0;_0x642381[_0x1cf40a(0x185)](_0x2d35b8,_0xb90fb3);_0x2d35b8++){const _0x596a8d=_0x642381[_0x1cf40a(0x109)](_0x2d35b8,_0x358efe),_0x11fc80=_0x642381['glhpx'](_0x596a8d,_0x358efe),_0x3a1c56=_0x59db92[_0x1cf40a(0x1b5)](_0x596a8d,_0x11fc80),_0x5602f2={'platformIndex':global?.[_0x1cf40a(0x1a8)]??0x0,'logs':_0x3a1c56,'testFrameworkName':_0x1e9123,'testFrameworkVersion':_0x1737cc,'testFrameworkState':_0x5de580[_0x1cf40a(0x15a)]()[_0x1cf40a(0x1a5)]('.')[0x1]};_0x642381[_0x1cf40a(0x133)](updatePayloadForTraceLogs,_0x5602f2,_0x297050,_0x40547a,_0x34c39d),logger[_0x1cf40a(0x11a)](_0x1cf40a(0x114)+_0x40547a+_0x1cf40a(0x101)+_0x642381['wqYON'](_0x2d35b8,0x1)+'/'+_0xb90fb3+_0x1cf40a(0xd4)+util['inspect'](_0x5602f2));const _0x3e9eb4=await GrpcClient[_0x1cf40a(0x14d)]()[_0x1cf40a(0xc8)](_0x5602f2);logger['debug'](_0x1cf40a(0x114)+_0x40547a+_0x1cf40a(0x101)+_0x642381[_0x1cf40a(0x124)](_0x2d35b8,0x1)+'/'+_0xb90fb3+_0x1cf40a(0x195)+util['inspect'](_0x3e9eb4));}}else{const {logs:_0x485b4f}=_0x642381[_0x1cf40a(0xec)](getStepsAndLogs,_0x297050[_0x1cf40a(0x17f)]['steps'],_0x231564,_0x642381[_0x1cf40a(0x1ab)]),_0x3cb07d=_0x642381['hiatX'](getTestRunIdentifier,_0x297050[_0x1cf40a(0xfc)],_0x297050[_0x1cf40a(0x1b7)][_0x1cf40a(0x187)]);logger[_0x1cf40a(0x11a)]('sendLogCreatedEvent:\x20testId='+_0x3cb07d);const _0x351d09=_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x3cb07d),{[TestFrameworkConstants[_0x1cf40a(0x171)]]:_0x16b9b8='',[TestFrameworkConstants[_0x1cf40a(0x178)]]:_0x53c79f=''}=_0x351d09,_0x207bb8={'platformIndex':'0','logs':_0x485b4f,'testFrameworkName':_0x16b9b8,'testFrameworkVersion':_0x53c79f,'testFrameworkState':_0x5de580[_0x1cf40a(0x15a)]()[_0x1cf40a(0x1a5)]('.')[0x1]};_0x642381[_0x1cf40a(0xe2)](updatePayloadForTraceLogs,_0x207bb8,_0x297050,_0x3cb07d,_0x34c39d),logger[_0x1cf40a(0x11a)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x3cb07d+_0x1cf40a(0xd4)+util[_0x1cf40a(0xd9)](_0x207bb8));const _0x52aa42=await GrpcClient[_0x1cf40a(0x14d)]()[_0x1cf40a(0xc8)](_0x207bb8);}}catch(_0x535c4f){logger['error']('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x1cf40a(0x10d)](_0x535c4f));}}[a82_0x228e2e(0xfd)](_0x3792bf){const _0x2cb332=a82_0x228e2e,_0x5125ef={'pcKdr':function(_0x4b78b2,_0x56833f,_0x17fdaf){return _0x4b78b2(_0x56833f,_0x17fdaf);},'JkWwo':function(_0xa63dbb,_0x216ec9){return _0xa63dbb<_0x216ec9;},'mtmeu':_0x2cb332(0xef)};try{const _0x377936=_0x3792bf[_0x2cb332(0xfc)]['id'],_0x5e4140=_0x5125ef[_0x2cb332(0x1c1)](getTestRunIdentifier,_0x3792bf[_0x2cb332(0xfc)],_0x3792bf[_0x2cb332(0x1b7)][_0x2cb332(0x187)]),_0x339e53=_0x3792bf[_0x2cb332(0x13c)],_0x548f1d=_0x339e53[_0x2cb332(0x16b)](),_0x21b8ab=_0x339e53[_0x2cb332(0x19c)]()['get'](_0x5e4140);logger[_0x2cb332(0x11a)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x377936);const {[TestFrameworkConstants[_0x2cb332(0x171)]]:_0x417ec0='',[TestFrameworkConstants[_0x2cb332(0x178)]]:_0x43747b='',[TestFrameworkConstants[_0x2cb332(0x12f)]]:_0x47a174='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x41d374=''}=_0x21b8ab,_0x29c02a=_0x339e53[_0x2cb332(0x145)]()[_0x2cb332(0x15a)]()['split']('.')[0x1],_0xdaa424=_0x339e53['getCurrentHookState']()['toString']()[_0x2cb332(0x1a5)]('.')[0x1],_0x5c5cbe=_0x5125ef['JkWwo'](_0x3792bf?.[_0x2cb332(0x1b7)]?.[_0x2cb332(0x129)]??0x0,0x0)?0x0:_0x3792bf?.[_0x2cb332(0x1b7)]?.[_0x2cb332(0x129)]??0x0,_0xdf5a95=_0x339e53[_0x2cb332(0x17b)](),_0x417cb8=Buffer[_0x2cb332(0xe3)](JSON[_0x2cb332(0x1a7)](_0x21b8ab))['toString'](_0x5125ef[_0x2cb332(0x154)]),_0x15f48f={'hash':_0x548f1d[_0x2cb332(0x1b0)](),'threadId':_0x548f1d[_0x2cb332(0x156)]()[_0x2cb332(0x15a)](),'processId':_0x548f1d[_0x2cb332(0x198)]()[_0x2cb332(0x15a)]()},_0x1d03a0={};_0x1d03a0['platformIndex']=_0x5c5cbe,_0x1d03a0['testFrameworkName']=_0x417ec0,_0x1d03a0['testFrameworkVersion']=_0x43747b,_0x1d03a0[_0x2cb332(0x150)]=_0x29c02a,_0x1d03a0['hookState']=_0xdaa424,_0x1d03a0['startedAt']=_0x47a174,_0x1d03a0[_0x2cb332(0x160)]=_0x41d374,_0x1d03a0[_0x2cb332(0x191)]=_0xdf5a95,_0x1d03a0['eventJson']=_0x417cb8,_0x1d03a0[_0x2cb332(0x132)]=_0x15f48f;const _0x22ea47=_0x1d03a0;return logger[_0x2cb332(0x11a)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x377936+_0x2cb332(0x1a9)+_0x29c02a+_0x2cb332(0x184)+_0xdaa424),_0x22ea47;}catch(_0x4f9877){return logger[_0x2cb332(0x119)](_0x2cb332(0x138)+util['format'](_0x4f9877)),{};}}}module[a82_0x228e2e(0x176)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x1dd603=a83_0x20dc;(function(_0x41ab36,_0x39b845){const _0x48e6b2=a83_0x20dc,_0x1c8b38=_0x41ab36();while(!![]){try{const _0x227a3d=parseInt(_0x48e6b2(0x10a))/0x1*(-parseInt(_0x48e6b2(0x10f))/0x2)+parseInt(_0x48e6b2(0xed))/0x3+-parseInt(_0x48e6b2(0xfb))/0x4+parseInt(_0x48e6b2(0x100))/0x5*(parseInt(_0x48e6b2(0xfd))/0x6)+-parseInt(_0x48e6b2(0xf9))/0x7+-parseInt(_0x48e6b2(0x10d))/0x8*(parseInt(_0x48e6b2(0xfe))/0x9)+-parseInt(_0x48e6b2(0x104))/0xa*(-parseInt(_0x48e6b2(0xeb))/0xb);if(_0x227a3d===_0x39b845)break;else _0x1c8b38['push'](_0x1c8b38['shift']());}catch(_0x4741b8){_0x1c8b38['push'](_0x1c8b38['shift']());}}}(a83_0x5e04,0xd8125));const AutomationFramework=require(a83_0x1dd603(0xf2)),{createClassLogger}=require(a83_0x1dd603(0xf5)),AutomationFrameworkState=require(a83_0x1dd603(0x111)),HookState=require(a83_0x1dd603(0xf3)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a83_0x1dd603(0xfc)),AutomationFrameworkInstance=require(a83_0x1dd603(0xee));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a83_0x1dd603(0xef));constructor(_0x4851a0,_0xfbf71b){super(_0x4851a0,_0xfbf71b);}async[a83_0x1dd603(0xf6)](_0x257d9e,_0x38967f,_0x4031c9={}){const _0x1d06f4=a83_0x1dd603,_0x575f91={};_0x575f91[_0x1d06f4(0x103)]=function(_0x3fb0a1,_0x331154){return _0x3fb0a1===_0x331154;},_0x575f91[_0x1d06f4(0x113)]=_0x1d06f4(0x10c);const _0xa08c0c=_0x575f91;this[_0x1d06f4(0xf4)][_0x1d06f4(0x107)](_0x1d06f4(0xf0)+_0x257d9e+'\x20hookState='+_0x38967f),await super[_0x1d06f4(0xf6)](_0x257d9e,_0x38967f,_0x4031c9);const _0x28b9e9=this['resolveInstance'](_0x257d9e,_0x38967f,_0x4031c9);if(_0xa08c0c[_0x1d06f4(0x103)](_0x28b9e9,null)){this[_0x1d06f4(0xf4)][_0x1d06f4(0x107)](_0xa08c0c[_0x1d06f4(0x113)]);return;}_0x4031c9[_0x1d06f4(0x108)]=_0x28b9e9,await this[_0x1d06f4(0xec)](_0x28b9e9,_0x257d9e,_0x38967f,_0x4031c9);}['resolveInstance'](_0x4ec208,_0x20703e,_0x1b587b={}){const _0x6647b3=a83_0x1dd603,_0x1319a7={};_0x1319a7[_0x6647b3(0xf8)]=function(_0x487334,_0x2c0892){return _0x487334===_0x2c0892;},_0x1319a7[_0x6647b3(0x110)]=function(_0x14b0d9,_0x164245){return _0x14b0d9===_0x164245;};const _0x274e4c=_0x1319a7;let _0x246c6b=null;return(_0x274e4c[_0x6647b3(0xf8)](_0x4ec208,AutomationFrameworkState[_0x6647b3(0xf1)])&&_0x274e4c[_0x6647b3(0xf8)](_0x20703e,HookState[_0x6647b3(0x101)])||_0x274e4c['KMObs'](_0x4ec208,AutomationFrameworkState['NONE']))&&this[_0x6647b3(0x112)](_0x4ec208,_0x1b587b),_0x246c6b=AutomationFramework['getTrackedInstance'](),_0x246c6b;}['trackPuppeteerInstance'](_0x163575,_0x53bca0){const _0x80c2b4=a83_0x1dd603,_0xd8e204={};_0xd8e204[_0x80c2b4(0xf7)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x295c82=_0xd8e204;if(AutomationFramework[_0x80c2b4(0x106)]()){this[_0x80c2b4(0xf4)][_0x80c2b4(0xe9)](_0x295c82[_0x80c2b4(0xf7)]);return;}const _0x22db18=CLIUtils[_0x80c2b4(0xe7)](),_0x51b2f2=TrackedInstance[_0x80c2b4(0x105)](_0x22db18);let _0x554fd6=null;this[_0x80c2b4(0xf4)][_0x80c2b4(0xe9)](_0x80c2b4(0xfa)+_0x22db18+_0x80c2b4(0x10b)+_0x163575),_0x554fd6=new AutomationFrameworkInstance(_0x51b2f2,this[_0x80c2b4(0xe8)](),this[_0x80c2b4(0x102)](),_0x163575),AutomationFramework['setTrackedInstance'](_0x51b2f2,_0x554fd6),this[_0x80c2b4(0xf4)][_0x80c2b4(0xe9)](_0x80c2b4(0xff)+_0x51b2f2[_0x80c2b4(0x109)]()+_0x80c2b4(0xea)+_0x22db18);}}function a83_0x5e04(){const _0x377831=['getAutomationFrameworkVersion','mceMA','4755490zsBibs','createContext','getTrackedInstance','debug','instance','getId','31XTMLtE',',\x20state=','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','6046064vTygPA','exports','74622WqSYLW','KMObs','../state/automationFrameworkState.js','trackPuppeteerInstance','TxxtU','getCurrentInstanceName','getAutomationFrameworkName','info','\x20target=','33rkDLxN','runHooks','4738137WEIPbn','../instances/automationFrameworkInstance.js','PuppeteerAutomationFramework','trackEvent:\x20automationFrameworkState=','CREATE','./automationFramework.js','../state/hookState.js','logger','../../../helpers/classLogger.js','trackEvent','vXtdh','jfMVX','3202570eRWKBU','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','3513352cONLRB','../instances/trackedInstance.js','54PSvBpt','9FmBBte','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','626250gvopWF','PRE'];a83_0x5e04=function(){return _0x377831;};return a83_0x5e04();}function a83_0x20dc(_0x4a0e5f,_0x3d0570){const _0x5e04ca=a83_0x5e04();return a83_0x20dc=function(_0x20dcac,_0x7a140e){_0x20dcac=_0x20dcac-0xe7;let _0x42200d=_0x5e04ca[_0x20dcac];return _0x42200d;},a83_0x20dc(_0x4a0e5f,_0x3d0570);}module[a83_0x1dd603(0x10e)]=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a84_0x207c(){const _0x4f2793=['has','testFrameworks','getCurrentInstanceName','4904340byzpgM','2677328zyNvan','exports','../cliUtils','get','../instances/testFrameworkInstance','../instances/trackedContext','testFrameworkVersions','1644406OZUeIP','setTrackedInstance','binSessionId','2094PAwHiC','19905180QDlpwL','856966PIlYwu','getInstances','9upVGJu','setState','getHookRegistryKey','registerObserver','7313872HUSrpY','hasState','getId','debug','__bstack_test_framework_instances__','../instances/trackedInstance','trackEvent:\x20testFrameworkState=','1955ZmQuUl','3pyFaLh','instances','notifyObserver','trackEvent','getAllData','runHooks','setInstance','set','setCurrentTestState','getTestFrameworks'];a84_0x207c=function(){return _0x4f2793;};return a84_0x207c();}const a84_0x10d163=a84_0x4711;(function(_0x59b239,_0x32b51a){const _0x3ebf0d=a84_0x4711,_0x195a27=_0x59b239();while(!![]){try{const _0x23346f=parseInt(_0x3ebf0d(0x10c))/0x1+-parseInt(_0x3ebf0d(0x107))/0x2*(parseInt(_0x3ebf0d(0xf2))/0x3)+parseInt(_0x3ebf0d(0x100))/0x4+parseInt(_0x3ebf0d(0x119))/0x5*(parseInt(_0x3ebf0d(0x10a))/0x6)+parseInt(_0x3ebf0d(0xff))/0x7+-parseInt(_0x3ebf0d(0x112))/0x8*(-parseInt(_0x3ebf0d(0x10e))/0x9)+-parseInt(_0x3ebf0d(0x10b))/0xa;if(_0x23346f===_0x32b51a)break;else _0x195a27['push'](_0x195a27['shift']());}catch(_0x153429){_0x195a27['push'](_0x195a27['shift']());}}}(a84_0x207c,0x717fa));const CLIUtils=require(a84_0x10d163(0x102)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a84_0x10d163(0x104)),TrackedContext=require(a84_0x10d163(0x105)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require('../state/hookState'),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a84_0x10d163(0x117)),logger=createClassLogger('TestFramework');function a84_0x4711(_0x275469,_0x550f64){const _0x207c7e=a84_0x207c();return a84_0x4711=function(_0x471157,_0x39197e){_0x471157=_0x471157-0xf2;let _0x2f711e=_0x207c7e[_0x471157];return _0x2f711e;},a84_0x4711(_0x275469,_0x550f64);}!global[a84_0x10d163(0x116)]&&(global[a84_0x10d163(0x116)]=new Map());class TestFramework{static get[a84_0x10d163(0xf3)](){const _0x22cf53=a84_0x10d163;return global[_0x22cf53(0x116)];}[a84_0x10d163(0xfd)]=[];[a84_0x10d163(0x106)]={};[a84_0x10d163(0x109)]=null;constructor(_0x55c3c1,_0x3cb124,_0xaf4dce){const _0x2e5f79=a84_0x10d163;this['testFrameworks']=_0x55c3c1,this[_0x2e5f79(0x106)]=_0x3cb124,this[_0x2e5f79(0x109)]=_0xaf4dce;}[a84_0x10d163(0x10d)](){const _0x325e7d=a84_0x10d163;return TestFramework[_0x325e7d(0xf3)];}[a84_0x10d163(0xf8)](_0x1fd0fc,_0x943c3f){const _0x26b36a=a84_0x10d163;TestFramework[_0x26b36a(0xf3)][_0x26b36a(0xf9)](_0x1fd0fc['getId'],_0x943c3f);}static['getTrackedInstance'](){const _0x40ec96=a84_0x10d163,_0x80a2e9=TrackedInstance['createContext'](CLIUtils[_0x40ec96(0xfe)]());return TestFramework['instances']['get'](_0x80a2e9[_0x40ec96(0x114)]());}static[a84_0x10d163(0x108)](_0x36edf4,_0x3caacb){const _0x37d2b2=a84_0x10d163;TestFramework[_0x37d2b2(0xf3)][_0x37d2b2(0xf9)](_0x36edf4['getId'](),_0x3caacb);}['getTestFrameworksVersions'](){const _0x360f38=a84_0x10d163;return this[_0x360f38(0x106)];}[a84_0x10d163(0xfb)](){return this['testFrameworks'];}[a84_0x10d163(0xf5)](_0x4a8b74,_0x48ff29,_0x4baf5f={}){const _0x10d822=a84_0x10d163;logger[_0x10d822(0x115)](_0x10d822(0x118)+_0x4a8b74+';\x20hookState='+_0x48ff29);}async[a84_0x10d163(0xf7)](_0x3d2e8f,_0x366214,_0x89f385,_0x1f3120={}){const _0xb5db1e=a84_0x10d163,_0x2161f8=CLIUtils[_0xb5db1e(0x110)](_0x366214,_0x89f385);_0x3d2e8f[_0xb5db1e(0xfa)](_0x366214),_0x3d2e8f['setCurrentHookState'](_0x89f385),await eventDispatcher[_0xb5db1e(0xf4)](_0x2161f8,_0x1f3120);}static[a84_0x10d163(0x111)](_0x2cac9f,_0x3449f4,_0x11c837){const _0x45c618=a84_0x10d163;eventDispatcher['registerObserver'](CLIUtils[_0x45c618(0x110)](_0x2cac9f,_0x3449f4),_0x11c837);}static['getState'](_0x5940e6,_0x4196c0){const _0x315a72=a84_0x10d163;return _0x5940e6['getAllData']()[_0x315a72(0x103)](_0x4196c0);}static[a84_0x10d163(0x10f)](_0x1e935c,_0xbf03f3,_0x5d4cfb){const _0x1731a2=a84_0x10d163;_0x1e935c['getAllData']()[_0x1731a2(0xf9)](_0xbf03f3,_0x5d4cfb);}static[a84_0x10d163(0x113)](_0x53665d,_0x1c6521){const _0x4f40c8=a84_0x10d163;return _0x53665d[_0x4f40c8(0xf6)]()[_0x4f40c8(0xfc)](_0x1c6521);}}module[a84_0x10d163(0x101)]=TestFramework;
|
package/src/bin/v2/grpcClient.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85_0x601c5a=a85_0x2417;function a85_0x4b35(){const _0x7e72a7=['AccessibilityConfig\x20error:\x20','duration','NTuqB','setFrameworkVersion','Stopping\x20signal\x20','client','push','getAutomationFrameworkDetail','setSdkLanguage','getEnvVarsMap','11efRtrd','listenAddress','YFjtC','toLowerCase','hook_run_uuid','800476IOZlms','getSeverity','HqrDd','UCwyU','createInsecure','\x20for\x20product=','AVMFk','BROWSERSTACK_CLI_BIN_SESSION_ID','setProcessId','testFrameworkEvent','AccessibilityConfig\x20request\x20successful','product','Error\x20in\x20LogCreatedEvent:\x20','Error\x20in\x20DriverInit:\x20','iTkXN','addLogs','getBrowserstackConfigPath','startBinSession','SiOlL','../../../generated/sdk-messages_pb','debug','PlaywrightConfig\x20error:\x20','ASWXC','set','1RrfOgg','setThreadId','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','setCliArgsList','warn','user_killed','getBrowserstackCliConfig','LucWQ','getTestFrameworkDetail','Error\x20in\x20connectBinSession:\x20','Sending\x20LogCreatedEvent','setStartedAt','cwd','setExitReason','getCallOptions','stderr','exports','Missing\x20binSessionId','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','info','Connected\x20to\x20gRPC\x20server\x20at\x20','\x20listenAddr:\x20','getEntriesList','setFrameworksList','function','6886110YmvDph','setExitSignal','LogCreatedEventRequest','kVDvo','encode','DriverInit\x20request\x20successful','12705380xsMiJY','testFrameworkName','czMyt','fSZbi','setLanguage','FeAgX','NiKKE','9jqUTwd','connectBinSession','wFwpn','setMessage','setUserInputParams','../../helpers/performance/performance-tester.js','getBody','env','Error\x20in\x20startBinSession:\x20','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','setTestIdentifier','logCreatedEvent','setHubUrl','YOKut','../utils/constants','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','DoCoX','not\x20provided','setFilePath','uuid','setEndedAt','Intcq',',\x20scriptName=','TestSessionEventRequest','setTestFrameworkName','8035592nCOxXs','IeURb','format','hKYpD','binSessionId','TestSessionEvent\x20error:\x20','utf-8','setHash','StopBinSessionRequest','accessibilityConfig','setFileSize','PlaywrightConfigRequest','getSdkLanguage','reportClientTroubleshootingError','6JkFIAx','ZZatJ','stack','stopBinSession','start','setUuid','StopBinSession\x20error:\x20','StopBinSession\x20successful','driverInit','filePath','XAnHy','version','getAccessibilityConfig','setTestFramework','getSuccess','Sending\x20TestFrameworkEvent','../../helpers/logger.js','HQAHk','OybDI','PHLJl','bQqnu','vUGfI','fileName','setPathProject','LogCreatedEvent\x20request\x20successful','getChannel','setFrameworkName','SDK_START_BIN_SESSION','Error\x20in\x20TestSessionEvent:\x20','testSessionEvent','AccessibilityConfigRequest','pending-resolution-from-test-identifier','credentials','addAutomationSessions','UYFtB','setProduct','setKind','getClient','jPkpf','Sending\x20DriverInit','setBinSessionId','setExecutionContext','DrxwK','StopBinSession\x20entries\x20forwarding\x20failed:\x20','setAttachmentType','Error\x20in\x20ReportClientTroubleshootingError:\x20','fileSize','TestFrameworkEvent\x20error:\x20','connect-bin-session\x20response:\x20','error','WLlAm','ReportClientTroubleshootingErrorRequest','getPlaywrightConfig','getDeadline','yfAtG','NCCcb','testAnalyticsId','stop-bin-session\x20response:\x20','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','xtTLU','gPWOV','setDuration','Connecting\x20bin\x20session','TestFrameworkEventRequest','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','ufCVJ','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','lGxfH','Error\x20in\x20getAccessibilityConfig:\x20','Canpx','931ICOphU','vxXqQ','getAggregatedClientTroubleshootingErrors','stringify','lHGoj','fetchDriverExecuteParamsEvent','SDK_CONNECT_BIN_SESSION','LaypC','ksXkw','No\x20gRPC\x20client\x20not\x20initialized.','OdfEz','../../helpers/performance/constants','StartBinSession\x20successful','SDK_AUTOMATION_FRAMEWORK_INIT','provider','hash','hUpGf','Getting\x20AggregatedClientTroubleshootingErrors','Sending\x20TestSessionEvent',',\x20product=','ExecutionContext','setTestFrameworkVersion','name','setEventJson','logger','TestFrameworkEvent\x20request\x20successful','grpc.keepalive_time_ms','null','KBCal','Stopping\x20bin\x20session','end','./browserstackCLI.js','757180LapZGo','iHybM','setCapabilities','addFrameworks','iUFxM','uvzIs','LogCreatedEvent\x20error:\x20','setFrameworkSessionId','Reporting\x20ClientTroubleshootingError\x20','vaDLK','launchcaps','setTimestamp','util','message','Getting\x20Playwright\x20config','TjPYa','channel','setTestHookState','frameworkVersion','threadId','frameworkName','YfqXk','HfNqI','7981296JsgjCO','bLTEN','\x22accessKey\x22:\x22[REDACTED]\x22','playwrightConfig','getInstance','frameworkSessionId','Error\x20in\x20getPlaywrightConfig:\x20','testInfo','ConnectBinSession\x20successful','\x22userName\x22:\x22[REDACTED]\x22','53556Ktefsi','WAuGg','HNkJz','ConnectBinSessionRequest','ZXahv','iMmTY','StartBinSession\x20error:\x20','setRef','now','binFC','AutomationSession','dDWso','setCustomMetadata','ReportClientTroubleshootingError\x20successful','warning','Channel','replace','SDKClient','zqnUt','GetAggregatedClientTroubleshootingErrorsRequest','setLevel','udUEd','eYgFH','test_identifier','yMqGq','RALsX','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','setSdkVersion','timestamp','connect','nMvxp','attachment_type','\x22key\x22:\x22[REDACTED]\x22','startBinSession:\x20Calling\x20startBinSession','DriverInitRequest','QWrDF','SDK_CLI_ON_STOP','forEach','LAKSx','setTestFrameworkState','No\x20gRPC\x20client\x20initialized.','init','setPlatformIndex','iPhWO','testFrameworkVersion','MBLdP','setExitCode','./cliUtils.js','path','TestSessionEvent\x20request\x20successful','setCliArgs:\x20cliArgs=','oJtiZ','processId','eLaxX','Ghhpg','level','Error\x20in\x20stopBinSession:\x20','StartBinSessionRequest','hubUrl'];a85_0x4b35=function(){return _0x7e72a7;};return a85_0x4b35();}(function(_0x4ebda9,_0xac368d){const _0x17516f=a85_0x2417,_0x2f82ec=_0x4ebda9();while(!![]){try{const _0x116f12=-parseInt(_0x17516f(0x1bd))/0x1*(parseInt(_0x17516f(0x13a))/0x2)+parseInt(_0x17516f(0xd4))/0x3*(-parseInt(_0x17516f(0x1a5))/0x4)+parseInt(_0x17516f(0xa0))/0x5+parseInt(_0x17516f(0x15b))/0x6*(parseInt(_0x17516f(0x11a))/0x7)+parseInt(_0x17516f(0xc6))/0x8*(parseInt(_0x17516f(0xad))/0x9)+-parseInt(_0x17516f(0xa6))/0xa*(parseInt(_0x17516f(0x1a0))/0xb)+-parseInt(_0x17516f(0x151))/0xc;if(_0x116f12===_0xac368d)break;else _0x2f82ec['push'](_0x2f82ec['shift']());}catch(_0x1d8790){_0x2f82ec['push'](_0x2f82ec['shift']());}}}(a85_0x4b35,0xd0953));function a85_0x2417(_0x5e26cd,_0x307bef){const _0x4b3539=a85_0x4b35();return a85_0x2417=function(_0x2417df,_0x46cfd0){_0x2417df=_0x2417df-0x91;let _0xddd5b9=_0x4b3539[_0x2417df];return _0xddd5b9;},a85_0x2417(_0x5e26cd,_0x307bef);}const util=require(a85_0x601c5a(0x146)),logger=require('../../helpers/logger.js')['winstonLogger'],fileLogger=require(a85_0x601c5a(0xe4))['fileLogger'],grpc=require('@grpc/grpc-js'),services=require('../../../generated/sdk_grpc_pb'),messages=require(a85_0x601c5a(0x1b8)),path=require(a85_0x601c5a(0x18b)),CLIUtils=require(a85_0x601c5a(0x18a)),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a85_0x601c5a(0xb2)),{EVENTS:PerformanceEvents}=require(a85_0x601c5a(0x125)),{PLAYWRIGHT_TRACE_LOGS}=require(a85_0x601c5a(0xbb)),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;[a85_0x601c5a(0xca)]=null;[a85_0x601c5a(0x1a1)]=null;['channel']=null;[a85_0x601c5a(0x19b)]=null;['logger']=createClassLogger('GrpcClient');constructor(){}static[a85_0x601c5a(0x155)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a85_0x601c5a(0x184)](_0x3ddbd9){const _0x4955b1=a85_0x601c5a,_0x1b8df4={};_0x1b8df4[_0x4955b1(0x170)]=function(_0x35872b,_0x238c12){return _0x35872b||_0x238c12;};const _0x17f5ac=_0x1b8df4,{id:_0x2d0659,listen:_0x4fccfd}=_0x3ddbd9;if(_0x17f5ac['udUEd'](!_0x2d0659,!_0x4fccfd))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x2d0659+_0x4955b1(0x9c)+_0x4fccfd);this[_0x4955b1(0xca)]=_0x2d0659,this[_0x4955b1(0x1a1)]=_0x4fccfd,process['env'][_0x4955b1(0x1ac)]=this['binSessionId'],process[_0x4955b1(0xb4)][_0x4955b1(0xb6)]=this[_0x4955b1(0x1a1)],this[_0x4955b1(0x178)](),this[_0x4955b1(0x132)][_0x4955b1(0x9a)](_0x4955b1(0x99)+this[_0x4955b1(0xca)]+'\x20and\x20listen\x20address:\x20'+this[_0x4955b1(0x1a1)]);}[a85_0x601c5a(0x178)](){const _0x39eb14=a85_0x601c5a,_0x2bc450={};_0x2bc450[_0x39eb14(0xab)]='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0x347191=_0x2bc450;let _0x20952e=this[_0x39eb14(0x1a1)];!_0x20952e&&(_0x20952e=process[_0x39eb14(0xb4)][_0x39eb14(0xb6)]);!this[_0x39eb14(0xca)]&&(this['binSessionId']=this[_0x39eb14(0xca)]||process[_0x39eb14(0xb4)][_0x39eb14(0x1ac)]);if(!_0x20952e)throw new Error(_0x347191[_0x39eb14(0xab)]);const _0x266412={};_0x266412[_0x39eb14(0x134)]=0x2710,this[_0x39eb14(0x14a)]=new grpc[(_0x39eb14(0x16a))](_0x20952e,grpc[_0x39eb14(0xf4)][_0x39eb14(0x1a9)](),_0x266412),this[_0x39eb14(0x19b)]=new services[(_0x39eb14(0x16c))](_0x20952e,grpc[_0x39eb14(0xf4)][_0x39eb14(0x1a9)]()),this[_0x39eb14(0x132)][_0x39eb14(0x9a)](_0x39eb14(0x9b)+_0x20952e);}[a85_0x601c5a(0x109)](){const _0x46a4e9=a85_0x601c5a,_0x371488={};_0x371488[_0x46a4e9(0x13b)]=function(_0x273620,_0x911693){return _0x273620+_0x911693;};const _0x3217bd=_0x371488;return _0x3217bd[_0x46a4e9(0x13b)](Date[_0x46a4e9(0x163)](),0x7530);}[a85_0x601c5a(0x95)](){const _0x55cab6=a85_0x601c5a;return{'deadline':this[_0x55cab6(0x109)]()};}async[a85_0x601c5a(0x1b6)](){const _0x1ff67f=a85_0x601c5a,_0x1489cf={'hUpGf':function(_0x25d35d,_0x786f77){return _0x25d35d!==_0x786f77;},'bLTEN':function(_0x7549db,_0x474198){return _0x7549db(_0x474198);},'sslkL':_0x1ff67f(0x126),'WAuGg':_0x1ff67f(0x17c),'binFC':_0x1ff67f(0x123),'GhfkQ':function(_0x4002af,_0x46244a){return _0x4002af(_0x46244a);},'oJtiZ':_0x1ff67f(0x139),'IeURb':function(_0x434569,_0x3fa746){return _0x434569 instanceof _0x3fa746;},'TklFv':_0x1ff67f(0x135),'YFjtC':function(_0x2753bb,_0x1d39eb){return _0x2753bb||_0x1d39eb;}};PerformanceTester[_0x1ff67f(0xd8)](PerformanceEvents[_0x1ff67f(0xef)]),this[_0x1ff67f(0x132)][_0x1ff67f(0x9a)](_0x1489cf[_0x1ff67f(0x15c)]);try{!this[_0x1ff67f(0x19b)]&&this[_0x1ff67f(0x132)][_0x1ff67f(0x9a)](_0x1489cf[_0x1ff67f(0x164)]);const _0x28a4ba=CLIUtils['getSdkVersion'](),_0x3ab701=CLIUtils[_0x1ff67f(0x19d)](),_0x13cfc1=CLIUtils[_0x1ff67f(0x1c5)](),_0x5c9887=_0x3ab701['name'],_0x53f5a9=_0x3ab701[_0x1ff67f(0xdf)],_0x5622e2=_0x13cfc1[_0x1ff67f(0x130)],_0x3ab0fd=_0x13cfc1[_0x1ff67f(0xdf)]?_0x13cfc1[_0x1ff67f(0xdf)][_0x5622e2]:'',_0x3f3ed0=new messages[(_0x1ff67f(0x194))]();_0x3f3ed0[_0x1ff67f(0xfc)](this['binSessionId']),_0x3f3ed0[_0x1ff67f(0x19e)](CLIUtils[_0x1ff67f(0xd2)]()),_0x3f3ed0[_0x1ff67f(0x176)](_0x28a4ba),_0x3f3ed0[_0x1ff67f(0xeb)](process[_0x1ff67f(0x93)]());const _0x5661e6=_0x3f3ed0[_0x1ff67f(0x19f)]();Object['entries'](process['env'])[_0x1ff67f(0x180)](([_0x6ada58,_0x45fb56])=>{const _0x984d14=_0x1ff67f;_0x1489cf['hUpGf'](_0x45fb56,undefined)&&_0x1489cf[_0x984d14(0x12a)](_0x45fb56,null)&&_0x5661e6['set'](_0x6ada58,_0x45fb56);});const _0x5829df=_0x1489cf['GhfkQ'](require,_0x1489cf[_0x1ff67f(0x18e)]),_0x3227be=_0x5829df[_0x1ff67f(0x155)]()[_0x1ff67f(0x1c3)](),_0xaf1354=[];_0x3227be&&_0x1489cf[_0x1ff67f(0xc7)](_0x3227be,Map)&&_0x3227be['forEach']((_0x185933,_0x3593ba)=>{const _0x29966a=_0x1ff67f;_0xaf1354[_0x29966a(0x19c)](_0x3593ba+'='+_0x185933);});const _0x15c225=process['argv']['slice'](0x2);_0x3f3ed0[_0x1ff67f(0x1c0)]([..._0x15c225,..._0xaf1354]),_0x3f3ed0['setPathConfig'](_0x5829df[_0x1ff67f(0x155)]()[_0x1ff67f(0x1b5)]()),this[_0x1ff67f(0x132)]['info'](_0x1ff67f(0x18d)+JSON[_0x1ff67f(0x11d)](_0x15c225)+',\x20parsedConfig='+(_0x3227be?JSON[_0x1ff67f(0x11d)]([..._0x3227be]):_0x1489cf['TklFv'])),_0x3f3ed0[_0x1ff67f(0xaa)](CLIUtils[_0x1ff67f(0xd2)]()),_0x3f3ed0[_0x1ff67f(0xe1)](_0x5622e2);const _0xeb9afb=_0x3f3ed0['getFrameworkVersionsMap']();return _0xeb9afb['set'](_0x5c9887,_0x1489cf['YFjtC'](_0x53f5a9,'')),_0xeb9afb[_0x1ff67f(0x1bc)](_0x5622e2,_0x1489cf[_0x1ff67f(0x1a2)](_0x3ab0fd,'')),_0x3f3ed0[_0x1ff67f(0x13d)](_0x5c9887,_0x53f5a9),_0x3f3ed0[_0x1ff67f(0x13d)](_0x5622e2,_0x3ab0fd),_0x3f3ed0[_0x1ff67f(0x9e)]([_0x5622e2,_0x5c9887]),new Promise((_0x2c478a,_0xd41a7f)=>{const _0x25b539=_0x1ff67f,_0x378eac={'vxXqQ':function(_0x5b6cef,_0x50d771){const _0x12582a=a85_0x2417;return _0x1489cf[_0x12582a(0x152)](_0x5b6cef,_0x50d771);},'lHGoj':_0x1489cf['sslkL']};this[_0x25b539(0x19b)][_0x25b539(0x1b6)](_0x3f3ed0,this['getCallOptions'](),(_0x172424,_0x54cf14)=>{const _0x2dbda0=_0x25b539;if(_0x172424){this['logger'][_0x2dbda0(0x105)](_0x2dbda0(0x161)+_0x172424[_0x2dbda0(0x147)]),_0x378eac['vxXqQ'](_0xd41a7f,_0x172424),PerformanceTester[_0x2dbda0(0x138)](PerformanceEvents[_0x2dbda0(0xef)],![],util[_0x2dbda0(0xc8)](_0x172424));return;}this[_0x2dbda0(0x132)][_0x2dbda0(0x9a)](_0x378eac[_0x2dbda0(0x11e)]),PerformanceTester[_0x2dbda0(0x138)](PerformanceEvents[_0x2dbda0(0xef)]),_0x378eac[_0x2dbda0(0x11b)](_0x2c478a,_0x54cf14);});});}catch(_0x2f885c){this[_0x1ff67f(0x132)][_0x1ff67f(0x105)](_0x1ff67f(0xb5)+util[_0x1ff67f(0xc8)](_0x2f885c)),PerformanceTester['end'](PerformanceEvents[_0x1ff67f(0xef)],![],util[_0x1ff67f(0xc8)](_0x2f885c));throw _0x2f885c;}}async[a85_0x601c5a(0xae)](){const _0xabd18=a85_0x601c5a,_0x559c15={'iTkXN':function(_0x4da3b8,_0x250944){return _0x4da3b8(_0x250944);},'zqnUt':_0xabd18(0x159),'ZZatJ':_0xabd18(0x112),'OybDI':'No\x20gRPC\x20client\x20not\x20initialized.','MvTxX':_0xabd18(0x15a),'nXDHJ':_0xabd18(0x153),'ULoVA':_0xabd18(0x17b)};PerformanceTester['start'](PerformanceEvents[_0xabd18(0x120)]),this['logger'][_0xabd18(0x9a)](_0x559c15[_0xabd18(0xd5)]);try{!this[_0xabd18(0x19b)]&&this[_0xabd18(0x132)]['info'](_0x559c15[_0xabd18(0xe6)]);const _0x18769c=new messages[(_0xabd18(0x15e))]();_0x18769c['setBinSessionId'](this[_0xabd18(0xca)]);const _0x43bcaf=await new Promise((_0x40f760,_0x8f1f2f)=>{const _0x25e937=_0xabd18,_0x451823={'dDWso':function(_0x4eb447,_0xcd3530){const _0x1977ea=a85_0x2417;return _0x559c15[_0x1977ea(0x1b3)](_0x4eb447,_0xcd3530);},'oqfIQ':_0x559c15[_0x25e937(0x16d)],'LaypC':function(_0x478d43,_0x2d9afd){const _0x82958f=_0x25e937;return _0x559c15[_0x82958f(0x1b3)](_0x478d43,_0x2d9afd);}};this[_0x25e937(0x19b)]['connectBinSession'](_0x18769c,this[_0x25e937(0x95)](),(_0x47c614,_0x1d9f75)=>{const _0x543eeb=_0x25e937;if(_0x47c614){this['logger'][_0x543eeb(0x105)]('ConnectBinSession\x20error:\x20'+_0x47c614['message']),_0x451823[_0x543eeb(0x166)](_0x8f1f2f,_0x47c614),PerformanceTester['end'](PerformanceEvents[_0x543eeb(0x120)],![],util[_0x543eeb(0xc8)](_0x47c614));return;}this[_0x543eeb(0x132)][_0x543eeb(0x9a)](_0x451823['oqfIQ']),PerformanceTester[_0x543eeb(0x138)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x451823[_0x543eeb(0x121)](_0x40f760,_0x1d9f75);});}),_0xee92e9=util[_0xabd18(0xc8)](_0x43bcaf)['replace'](/"userName":"[^"]*"/g,_0x559c15['MvTxX'])[_0xabd18(0x16b)](/"accessKey":"[^"]*"/g,_0x559c15['nXDHJ'])[_0xabd18(0x16b)](/"key":"[^"]*"/g,_0x559c15['ULoVA']);return this[_0xabd18(0x132)][_0xabd18(0x1b9)](_0xabd18(0x104)+_0xee92e9),_0x43bcaf;}catch(_0x3b2eb5){PerformanceTester[_0xabd18(0x138)](PerformanceEvents[_0xabd18(0x120)],![],util['format'](_0x3b2eb5)),this[_0xabd18(0x132)][_0xabd18(0x105)](_0xabd18(0x1c6)+util['format'](_0x3b2eb5));throw _0x3b2eb5;}}async['stopBinSession'](_0x27a13c={},_0x51dfef=null){const _0x5ec458=a85_0x601c5a,_0x29bcde={'DrxwK':function(_0x3adc6f,_0x3fba41){return _0x3adc6f(_0x3fba41);},'UYFtB':_0x5ec458(0xdb),'DoCoX':_0x5ec458(0x137),'FRKpN':_0x5ec458(0x98),'sXDbd':'No\x20gRPC\x20client\x20not\x20initialized.','RALsX':_0x5ec458(0x1c2),'kVDvo':function(_0x14b12b,_0xf14ce){return _0x14b12b===_0xf14ce;},'WLlAm':_0x5ec458(0x9f),'FIeDJ':_0x5ec458(0x9a),'hKYpD':function(_0x215dd5,_0x5bcb35){return _0x215dd5===_0x5bcb35;},'iMmTY':_0x5ec458(0x1c1),'bQqnu':function(_0x51cd3d,_0x2c18dc){return _0x51cd3d===_0x2c18dc;},'XAnHy':_0x5ec458(0x169),'ZXahv':_0x5ec458(0x105),'czMyt':function(_0x5e04a9,_0x4f2fa5){return _0x5e04a9+_0x4f2fa5;},'GkRex':function(_0x4cadd0,_0x479e34){return _0x4cadd0===_0x479e34;}};PerformanceTester['start'](PerformanceEvents[_0x5ec458(0x17f)]),this[_0x5ec458(0x132)]['info'](_0x29bcde[_0x5ec458(0xbd)]);try{if(!this[_0x5ec458(0xca)])throw new Error(_0x29bcde['FRKpN']);!this[_0x5ec458(0x19b)]&&this[_0x5ec458(0x132)][_0x5ec458(0x9a)](_0x29bcde['sXDbd']);const _0x50fa28=new messages[(_0x5ec458(0xce))]();this['logger'][_0x5ec458(0x1b9)](_0x5ec458(0x19a)+JSON[_0x5ec458(0x11d)](_0x51dfef)),_0x50fa28[_0x5ec458(0xfc)](this['binSessionId']),_0x50fa28[_0x5ec458(0x167)](_0x27a13c),_0x50fa28[_0x5ec458(0xa1)](_0x51dfef?_0x51dfef:null),_0x50fa28[_0x5ec458(0x94)](_0x51dfef?_0x29bcde[_0x5ec458(0x174)]:null),_0x50fa28[_0x5ec458(0x189)](_0x51dfef?0x1:0x0);const _0x180686=await new Promise((_0x38b26f,_0x538ea0)=>{const _0x2b9ced=_0x5ec458,_0x2bd249={'Ghhpg':function(_0x31f8e5,_0xe5c119){const _0x39bf92=a85_0x2417;return _0x29bcde[_0x39bf92(0xfe)](_0x31f8e5,_0xe5c119);},'MBLdP':_0x29bcde[_0x2b9ced(0xf6)]};this[_0x2b9ced(0x19b)][_0x2b9ced(0xd7)](_0x50fa28,this[_0x2b9ced(0x95)](),(_0x20baad,_0x20eb29)=>{const _0x28b4e6=_0x2b9ced;if(_0x20baad){this[_0x28b4e6(0x132)]['error'](_0x28b4e6(0xda)+_0x20baad[_0x28b4e6(0x147)]),_0x2bd249[_0x28b4e6(0x191)](_0x538ea0,_0x20baad),PerformanceTester[_0x28b4e6(0x138)](PerformanceEvents[_0x28b4e6(0x17f)],![],util['format'](_0x20baad));return;}this[_0x28b4e6(0x132)]['info'](_0x2bd249[_0x28b4e6(0x188)]),PerformanceTester[_0x28b4e6(0x138)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x2bd249[_0x28b4e6(0x191)](_0x38b26f,_0x20eb29);});});this[_0x5ec458(0x132)][_0x5ec458(0x1b9)](_0x5ec458(0x10d)+util['format'](_0x180686));try{const _0x24e675=_0x29bcde['kVDvo'](typeof _0x180686[_0x5ec458(0x9d)],_0x29bcde[_0x5ec458(0x106)])?_0x180686[_0x5ec458(0x9d)]():[];for(const _0x2f05ed of _0x24e675){const _0x49e16a=_0x2f05ed&&_0x29bcde[_0x5ec458(0xa3)](typeof _0x2f05ed[_0x5ec458(0xb3)],_0x29bcde[_0x5ec458(0x106)])?_0x2f05ed[_0x5ec458(0xb3)]():'';if(!_0x49e16a)continue;const _0x258477=(_0x2f05ed[_0x5ec458(0x1a6)]&&_0x2f05ed[_0x5ec458(0x1a6)]()||_0x29bcde['FIeDJ'])[_0x5ec458(0x1a3)](),_0x18204c=_0x29bcde[_0x5ec458(0xc9)](_0x258477,_0x29bcde[_0x5ec458(0x160)])||_0x29bcde[_0x5ec458(0xe8)](_0x258477,_0x29bcde[_0x5ec458(0xde)])||_0x29bcde[_0x5ec458(0xc9)](_0x258477,_0x29bcde[_0x5ec458(0x15f)]),_0x4c61a7=_0x18204c?process[_0x5ec458(0x96)]:process['stdout'];_0x4c61a7['write'](_0x29bcde[_0x5ec458(0xa8)](_0x49e16a,'\x0a'));const _0x18e225=_0x29bcde['GkRex'](_0x258477,_0x29bcde[_0x5ec458(0x15f)])?_0x29bcde[_0x5ec458(0x15f)]:_0x18204c?_0x29bcde[_0x5ec458(0x160)]:_0x29bcde['FIeDJ'];fileLogger[_0x18e225](_0x49e16a);}}catch(_0x18f2d0){this[_0x5ec458(0x132)][_0x5ec458(0x1b9)](_0x5ec458(0xff)+(_0x18f2d0[_0x5ec458(0xd6)]||_0x18f2d0));}return _0x180686;}catch(_0x4f8054){PerformanceTester['end'](PerformanceEvents[_0x5ec458(0x17f)],![],util[_0x5ec458(0xc8)](_0x4f8054)),this['logger'][_0x5ec458(0x105)](_0x5ec458(0x193)+util[_0x5ec458(0xc8)](_0x4f8054));}}async[a85_0x601c5a(0x108)](_0x5dc005){const _0x5db2bd=a85_0x601c5a,_0x548fb8={'fSZbi':function(_0x1f5326,_0x935fd7){return _0x1f5326(_0x935fd7);},'wFwpn':'PlaywrightConfig\x20request\x20successful','vaDLK':_0x5db2bd(0x148),'uvzIs':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x5db2bd(0xd8)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),this['logger'][_0x5db2bd(0x9a)](_0x548fb8[_0x5db2bd(0x143)]);try{!this[_0x5db2bd(0x19b)]&&this['logger']['info'](_0x548fb8[_0x5db2bd(0x13f)]);const _0x271cd2=new messages[(_0x5db2bd(0xd1))]();return _0x271cd2[_0x5db2bd(0xfc)](this['binSessionId']),_0x271cd2['setConfig'](JSON[_0x5db2bd(0x11d)](_0x5dc005)),new Promise((_0x3c31c9,_0x4df643)=>{const _0x256d56=_0x5db2bd,_0x45f72e={'tzsEf':function(_0x436b62,_0x113b34){const _0x58914a=a85_0x2417;return _0x548fb8[_0x58914a(0xa9)](_0x436b62,_0x113b34);},'pmNra':_0x548fb8[_0x256d56(0xaf)],'iUFxM':function(_0xe2eb98,_0x21053e){const _0x196ca2=_0x256d56;return _0x548fb8[_0x196ca2(0xa9)](_0xe2eb98,_0x21053e);}};this[_0x256d56(0x19b)][_0x256d56(0x154)](_0x271cd2,this[_0x256d56(0x95)](),(_0x2f4a18,_0x25eafa)=>{const _0x8bba21=_0x256d56;if(_0x2f4a18){this[_0x8bba21(0x132)][_0x8bba21(0x105)](_0x8bba21(0x1ba)+_0x2f4a18[_0x8bba21(0x147)]),_0x45f72e['tzsEf'](_0x4df643,_0x2f4a18),PerformanceTester[_0x8bba21(0x138)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x8bba21(0xc8)](_0x2f4a18));return;}this[_0x8bba21(0x132)][_0x8bba21(0x9a)](_0x45f72e['pmNra']),PerformanceTester['end'](PerformanceEvents[_0x8bba21(0x127)]),_0x45f72e[_0x8bba21(0x13e)](_0x3c31c9,_0x25eafa);});});}catch(_0x341316){PerformanceTester[_0x5db2bd(0x138)](PerformanceEvents[_0x5db2bd(0x127)],![],util[_0x5db2bd(0xc8)](_0x341316)),this[_0x5db2bd(0x132)][_0x5db2bd(0x105)](_0x5db2bd(0x157)+util[_0x5db2bd(0xc8)](_0x341316));throw _0x341316;}}async[a85_0x601c5a(0xe0)](_0x38afda){const _0x559ed5=a85_0x601c5a,_0x13871f={'gPWOV':function(_0x49608a,_0x163ffa){return _0x49608a(_0x163ffa);},'PHLJl':_0x559ed5(0x1af),'enmix':function(_0x16d4d1,_0xf99c85){return _0x16d4d1||_0xf99c85;},'QWrDF':_0x559ed5(0xbe),'UCwyU':_0x559ed5(0xcc)},_0x2d8810=_0x38afda[_0x559ed5(0x158)]?.[_0x559ed5(0x10c)]||_0x38afda[_0x559ed5(0x158)]?.['id'];this[_0x559ed5(0x132)][_0x559ed5(0x9a)](_0x559ed5(0x1bf)+_0x13871f['enmix'](_0x2d8810,_0x13871f[_0x559ed5(0x17e)]));try{const _0x395178=Buffer['from'](JSON[_0x559ed5(0x11d)](_0x38afda[_0x559ed5(0x144)]),_0x13871f[_0x559ed5(0x1a8)]),_0x56d721=new messages[(_0x559ed5(0xf2))](),_0x188709=CLIUtils['getAutomationFrameworkDetail'](),_0x5bca77=_0x188709['name'],_0x522920=_0x188709[_0x559ed5(0xdf)];_0x56d721['setBinSessionId'](this[_0x559ed5(0xca)]),_0x56d721[_0x559ed5(0x185)](0x0),_0x56d721[_0x559ed5(0xee)](_0x5bca77),_0x56d721[_0x559ed5(0x199)](_0x522920),_0x56d721[_0x559ed5(0xb9)](_0x38afda['hubUrl']),_0x56d721[_0x559ed5(0x13c)](_0x395178);if(_0x38afda[_0x559ed5(0x158)]?.[_0x559ed5(0x10c)]||_0x38afda['testInfo']?.['id']){const _0x19f5f9=_0x38afda[_0x559ed5(0x158)][_0x559ed5(0x10c)]||_0x38afda['testInfo']['id'];_0x56d721[_0x559ed5(0xb7)](_0x19f5f9),this[_0x559ed5(0x132)][_0x559ed5(0x1b9)](_0x559ed5(0x175)+_0x19f5f9+'\x20for\x20tag\x20validation');}return new Promise((_0x4d1e92,_0x3c119d)=>{const _0x8fe2b9=_0x559ed5;this[_0x8fe2b9(0x19b)][_0x8fe2b9(0xcf)](_0x56d721,this[_0x8fe2b9(0x95)](),(_0x92165,_0x24f16a)=>{const _0x5a7d65=_0x8fe2b9;if(_0x92165){this['logger'][_0x5a7d65(0x105)](_0x5a7d65(0x196)+_0x92165[_0x5a7d65(0x147)]),_0x13871f[_0x5a7d65(0x110)](_0x3c119d,_0x92165);return;}this['logger'][_0x5a7d65(0x9a)](_0x13871f[_0x5a7d65(0xe7)]),_0x13871f[_0x5a7d65(0x110)](_0x4d1e92,_0x24f16a);});});}catch(_0x8536b5){this[_0x559ed5(0x132)][_0x559ed5(0x105)](_0x559ed5(0x118)+util['format'](_0x8536b5));}}async[a85_0x601c5a(0xf1)](_0xe38de){const _0x21b7ee=a85_0x601c5a,_0x530f63={'yMqGq':function(_0x231d7d,_0x425ed9){return _0x231d7d(_0x425ed9);},'Canpx':_0x21b7ee(0x18c),'HQAHk':_0x21b7ee(0x12c),'HqrDd':_0x21b7ee(0x123)};this['logger'][_0x21b7ee(0x9a)](_0x530f63[_0x21b7ee(0xe5)]);try{!this[_0x21b7ee(0x19b)]&&this[_0x21b7ee(0x132)][_0x21b7ee(0x9a)](_0x530f63[_0x21b7ee(0x1a7)]);const {platformIndex:_0xeeeb95,testFrameworkName:_0x458341,testFrameworkVersion:_0x3cd59d,testFrameworkState:_0xab396f,testHookState:_0x329641,testUuid:_0x3f6060,automationSession:_0x1cafc4,capabilities:_0x3247c8,executionContext:_0x326c8b,test_identifier:_0x11361a}=_0xe38de,_0x47d721=new messages['TestSessionEventRequest']();_0x47d721[_0x21b7ee(0xfc)](this[_0x21b7ee(0xca)]),_0x47d721['setPlatformIndex'](_0xeeeb95),_0x47d721[_0x21b7ee(0xc5)](_0x458341),_0x47d721['setTestFrameworkVersion'](_0x3cd59d),_0x47d721[_0x21b7ee(0x182)](_0xab396f),_0x47d721[_0x21b7ee(0x14b)](_0x329641),_0x47d721['setTestUuid'](_0x3f6060);const _0x593db5=new messages[(_0x21b7ee(0xc4))][(_0x21b7ee(0x165))]();_0x593db5['setProvider'](_0x1cafc4[_0x21b7ee(0x128)]),_0x593db5[_0x21b7ee(0xee)](_0x1cafc4[_0x21b7ee(0x14e)]),_0x593db5[_0x21b7ee(0x199)](_0x1cafc4[_0x21b7ee(0x14c)]),_0x593db5[_0x21b7ee(0x141)](_0x1cafc4[_0x21b7ee(0x156)]),_0x593db5[_0x21b7ee(0xf7)](_0x1cafc4[_0x21b7ee(0x1b0)]),_0x593db5[_0x21b7ee(0x162)](_0x1cafc4['ref']),_0x593db5['setHubUrl'](_0x1cafc4[_0x21b7ee(0x195)]),_0x47d721[_0x21b7ee(0xf5)](_0x593db5),_0x47d721[_0x21b7ee(0x13c)](_0x3247c8);const _0x3f9ff9=new messages['ExecutionContext']();return _0x3f9ff9[_0x21b7ee(0x1ad)](_0x326c8b[_0x21b7ee(0x18f)]),_0x3f9ff9[_0x21b7ee(0x1be)](_0x326c8b[_0x21b7ee(0x14d)]),_0x3f9ff9[_0x21b7ee(0xcd)](_0x326c8b['hash']),_0x47d721['setExecutionContext'](_0x3f9ff9),_0x11361a&&_0x47d721['setTestIdentifier'](_0x11361a),new Promise((_0x482bb4,_0x281c55)=>{const _0x48ace9=_0x21b7ee,_0x59c53a={'lGxfH':function(_0x18e01b,_0x2503f6){const _0xda0b2a=a85_0x2417;return _0x530f63[_0xda0b2a(0x173)](_0x18e01b,_0x2503f6);},'wMEcK':_0x530f63[_0x48ace9(0x119)],'KBCal':function(_0x3c6c16,_0x576456){const _0x1f91e5=_0x48ace9;return _0x530f63[_0x1f91e5(0x173)](_0x3c6c16,_0x576456);}};this[_0x48ace9(0x19b)]['testSessionEvent'](_0x47d721,this[_0x48ace9(0x95)](),(_0x1680c1,_0x1a210f)=>{const _0x541d78=_0x48ace9;if(_0x1680c1){this['logger'][_0x541d78(0x105)](_0x541d78(0xcb)+_0x1680c1['message']),_0x59c53a[_0x541d78(0x117)](_0x281c55,_0x1680c1);return;}this[_0x541d78(0x132)][_0x541d78(0x9a)](_0x59c53a['wMEcK']),_0x59c53a[_0x541d78(0x136)](_0x482bb4,_0x1a210f);});});}catch(_0xc0a48e){this['logger']['error'](_0x21b7ee(0xf0)+util[_0x21b7ee(0xc8)](_0xc0a48e));throw _0xc0a48e;}}async[a85_0x601c5a(0x1ae)](_0x2a360e){const _0x42c4ad=a85_0x601c5a,_0x6c8643={'NTuqB':function(_0x5c093a,_0x2bfbf3){return _0x5c093a(_0x2bfbf3);},'AVMFk':_0x42c4ad(0x133),'YfqXk':_0x42c4ad(0xe3),'NiKKE':_0x42c4ad(0x123)};this['logger'][_0x42c4ad(0x9a)](_0x6c8643[_0x42c4ad(0x14f)]);try{!this[_0x42c4ad(0x19b)]&&this['logger'][_0x42c4ad(0x9a)](_0x6c8643[_0x42c4ad(0xac)]);const {platformIndex:_0x2a5fe1,testFrameworkName:_0x5c37fd,testFrameworkVersion:_0x1e5869,testFrameworkState:_0x3859ae,hookState:_0x1163b0,startedAt:_0x45dc72,endedAt:_0x571bce,uuid:_0x4ec145,eventJson:_0x5a77dd,executionContext:_0x193b95,test_identifier:_0x33125f}=_0x2a360e,_0x25cdac=new messages[(_0x42c4ad(0x113))]();_0x25cdac[_0x42c4ad(0xfc)](this['binSessionId']),_0x25cdac[_0x42c4ad(0x185)](_0x2a5fe1),_0x25cdac[_0x42c4ad(0xc5)](_0x5c37fd),_0x25cdac['setTestFrameworkVersion'](_0x1e5869),_0x25cdac[_0x42c4ad(0x182)](_0x3859ae),_0x25cdac[_0x42c4ad(0x14b)](_0x1163b0),_0x25cdac[_0x42c4ad(0x92)](_0x45dc72),_0x25cdac[_0x42c4ad(0xc1)](_0x571bce),_0x25cdac[_0x42c4ad(0xd9)](_0x4ec145),_0x25cdac[_0x42c4ad(0x131)](_0x5a77dd);const _0x4a50cf=new messages[(_0x42c4ad(0x12e))]();return _0x4a50cf[_0x42c4ad(0x1ad)](_0x193b95[_0x42c4ad(0x18f)]),_0x4a50cf[_0x42c4ad(0x1be)](_0x193b95['threadId']),_0x4a50cf[_0x42c4ad(0xcd)](_0x193b95[_0x42c4ad(0x129)]),_0x25cdac[_0x42c4ad(0xfd)](_0x4a50cf),_0x33125f&&_0x25cdac[_0x42c4ad(0xb7)](_0x33125f),new Promise((_0x4df0a4,_0x3dc49e)=>{const _0x470f8d=_0x42c4ad,_0x25e04c={'vUGfI':function(_0x1ef1e2,_0xd09382){const _0x56edf1=a85_0x2417;return _0x6c8643[_0x56edf1(0x198)](_0x1ef1e2,_0xd09382);},'UDRiW':_0x6c8643[_0x470f8d(0x1ab)]};this[_0x470f8d(0x19b)][_0x470f8d(0x1ae)](_0x25cdac,this['getCallOptions'](),(_0x365279,_0x117ab1)=>{const _0x5a7055=_0x470f8d;if(_0x365279){this[_0x5a7055(0x132)][_0x5a7055(0x105)](_0x5a7055(0x103)+_0x365279['message']),_0x25e04c['vUGfI'](_0x3dc49e,_0x365279);return;}this[_0x5a7055(0x132)]['info'](_0x25e04c['UDRiW']),_0x25e04c[_0x5a7055(0xe9)](_0x4df0a4,_0x117ab1);});});}catch(_0x4e64a7){this['logger'][_0x42c4ad(0x105)]('Error\x20in\x20TestFrameworkEvent:\x20'+util[_0x42c4ad(0xc8)](_0x4e64a7));throw _0x4e64a7;}}async[a85_0x601c5a(0xdc)](_0x5de3f1){const _0x2fe4ed=a85_0x601c5a,_0x4e041d={'eLaxX':function(_0x12afbc,_0x1d5010){return _0x12afbc(_0x1d5010);},'eHLjo':_0x2fe4ed(0xa5),'LgBtU':_0x2fe4ed(0xfb),'YOKut':_0x2fe4ed(0x123)};this[_0x2fe4ed(0x132)][_0x2fe4ed(0x9a)](_0x4e041d['LgBtU']);try{!this[_0x2fe4ed(0x19b)]&&this[_0x2fe4ed(0x132)][_0x2fe4ed(0x9a)](_0x4e041d[_0x2fe4ed(0xba)]);const {platformIndex:_0x57cbc9,ref:_0x5014d1,userInputParams:_0xdaf58,hubUrl:_0x5322e5}=_0x5de3f1,_0x25687d=new messages[(_0x2fe4ed(0x17d))]();return _0x25687d[_0x2fe4ed(0xfc)](this[_0x2fe4ed(0xca)]),_0x25687d[_0x2fe4ed(0x185)](_0x57cbc9),_0x25687d[_0x2fe4ed(0x162)](_0x5014d1),_0x25687d[_0x2fe4ed(0xb1)](_0xdaf58),_0x25687d[_0x2fe4ed(0xb9)](_0x5322e5),new Promise((_0x586957,_0xc4898d)=>{const _0x3a20dc=_0x2fe4ed;this[_0x3a20dc(0x19b)][_0x3a20dc(0xdc)](_0x25687d,this['getCallOptions'](),(_0x4f0cea,_0x193309)=>{const _0x8b889=_0x3a20dc;if(_0x4f0cea){this[_0x8b889(0x132)]['error']('DriverInit\x20error:\x20'+_0x4f0cea[_0x8b889(0x147)]),_0x4e041d[_0x8b889(0x190)](_0xc4898d,_0x4f0cea);return;}this[_0x8b889(0x132)][_0x8b889(0x9a)](_0x4e041d['eHLjo']),_0x4e041d['eLaxX'](_0x586957,_0x193309);});});}catch(_0x18351b){this[_0x2fe4ed(0x132)][_0x2fe4ed(0x105)](_0x2fe4ed(0x1b2)+util[_0x2fe4ed(0xc8)](_0x18351b));throw _0x18351b;}}async[a85_0x601c5a(0xb8)](_0x3559dc){const _0x41ca00=a85_0x601c5a,_0x73a3be={'kHOna':function(_0x1e7c31,_0x9187ce){return _0x1e7c31===_0x9187ce;},'jPkpf':_0x41ca00(0xf3),'eYgFH':function(_0x3914cd,_0x3b136a){return _0x3914cd(_0x3b136a);},'HfNqI':_0x41ca00(0xec),'SiOlL':_0x41ca00(0x91),'yfAtG':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x41ca00(0x132)][_0x41ca00(0x9a)](_0x73a3be[_0x41ca00(0x1b7)]);try{!this[_0x41ca00(0x19b)]&&this[_0x41ca00(0x132)][_0x41ca00(0x9a)](_0x73a3be[_0x41ca00(0x10a)]);const {platformIndex:_0x1dcb65,logs:_0x2eae0f}=_0x3559dc,_0x15ed84=new messages[(_0x41ca00(0xa2))]();_0x15ed84['setBinSessionId'](this[_0x41ca00(0xca)]),_0x15ed84[_0x41ca00(0x185)](_0x1dcb65);const _0x1996d2=_0x3559dc[_0x41ca00(0xa7)],_0x1c3c6f=_0x3559dc[_0x41ca00(0x187)],_0x4e973a=_0x3559dc['testFrameworkState'];return _0x2eae0f[_0x41ca00(0x180)](_0x270bc3=>{const _0x8e90=_0x41ca00,_0x376e53=new messages[(_0x8e90(0xa2))]['LogEntry']();_0x376e53[_0x8e90(0xc5)](_0x1996d2),_0x376e53[_0x8e90(0x12f)](_0x1c3c6f),_0x376e53[_0x8e90(0x182)](_0x4e973a),_0x376e53[_0x8e90(0x145)](_0x270bc3[_0x8e90(0x177)]);if(_0x73a3be['kHOna'](_0x270bc3[_0x8e90(0x17a)],PLAYWRIGHT_TRACE_LOGS))_0x376e53[_0x8e90(0xd9)](_0x270bc3['test_run_uuid']),_0x376e53[_0x8e90(0xb0)](new TextEncoder()[_0x8e90(0xa4)](JSON[_0x8e90(0x11d)](_0x270bc3)));else{if(_0x270bc3[_0x8e90(0x172)])_0x376e53[_0x8e90(0xd9)](_0x73a3be[_0x8e90(0xfa)]);else{if(_0x270bc3[_0x8e90(0x1a4)])_0x376e53[_0x8e90(0xd9)](_0x270bc3[_0x8e90(0x1a4)]);else _0x270bc3[_0x8e90(0xc0)]&&_0x376e53['setUuid'](_0x270bc3[_0x8e90(0xc0)]);}_0x376e53[_0x8e90(0xb0)](new TextEncoder()['encode'](_0x270bc3[_0x8e90(0x147)]));}_0x376e53[_0x8e90(0xf8)](_0x270bc3['kind']),_0x376e53[_0x8e90(0x16f)](_0x270bc3[_0x8e90(0x192)]),_0x376e53['setFileName'](_0x270bc3?.[_0x8e90(0xea)]||''),_0x376e53[_0x8e90(0xbf)](_0x270bc3?.[_0x8e90(0xdd)]||''),_0x376e53[_0x8e90(0xd0)](_0x270bc3?.[_0x8e90(0x102)]||0x0),_0x376e53[_0x8e90(0x100)](_0x270bc3?.[_0x8e90(0x17a)]||''),_0x270bc3[_0x8e90(0x172)]&&_0x376e53[_0x8e90(0xb7)](_0x270bc3[_0x8e90(0x172)]),_0x270bc3[_0x8e90(0x197)]&&_0x376e53[_0x8e90(0x111)](_0x270bc3[_0x8e90(0x197)]),_0x15ed84[_0x8e90(0x1b4)](_0x376e53);}),new Promise((_0x181a31,_0x3d13d2)=>{const _0x548a80=_0x41ca00,_0x106b63={'LAKSx':function(_0x542a73,_0x163347){const _0x5cd490=a85_0x2417;return _0x73a3be[_0x5cd490(0x171)](_0x542a73,_0x163347);},'KlsGZ':_0x73a3be[_0x548a80(0x150)]};this['client'][_0x548a80(0xb8)](_0x15ed84,this[_0x548a80(0x95)](),(_0x56e0de,_0x765c66)=>{const _0x158245=_0x548a80;if(_0x56e0de){this['logger'][_0x158245(0x105)](_0x158245(0x140)+_0x56e0de[_0x158245(0x147)]),_0x106b63[_0x158245(0x181)](_0x3d13d2,_0x56e0de);return;}this[_0x158245(0x132)][_0x158245(0x9a)](_0x106b63['KlsGZ']),_0x106b63[_0x158245(0x181)](_0x181a31,_0x765c66);});});}catch(_0x56d56a){this['logger'][_0x41ca00(0x105)](_0x41ca00(0x1b1)+util[_0x41ca00(0xc8)](_0x56d56a));throw _0x56d56a;}}async[a85_0x601c5a(0x11f)](_0x4b7ac1,_0x5b9f8d,_0x5cb520,_0xe4fbf5=null){const _0x40af2b=a85_0x601c5a,_0x463ae4={'LucWQ':function(_0x3b915d,_0x122575){return _0x3b915d(_0x122575);},'iPhWO':function(_0x3eb549,_0x11ca99){return _0x3eb549(_0x11ca99);},'QiUuC':function(_0x320e73,_0x1a33a0){return _0x320e73||_0x1a33a0;},'NCCcb':'not\x20provided','CSWaM':_0x40af2b(0x183)};this[_0x40af2b(0x132)][_0x40af2b(0x1b9)](_0x40af2b(0x10e)+_0x4b7ac1+_0x40af2b(0x12d)+_0x5b9f8d+_0x40af2b(0xc3)+_0x5cb520+',\x20testIdentifier='+_0x463ae4['QiUuC'](_0xe4fbf5,_0x463ae4[_0x40af2b(0x10b)]));try{if(!this['client'])return this['logger']['debug'](_0x463ae4['CSWaM']),null;const _0x2b6d52=new messages['FetchDriverExecuteParamsEventRequest']();return _0x2b6d52['setBinSessionId'](_0x4b7ac1),_0x2b6d52[_0x40af2b(0xf7)](_0x5b9f8d),_0x2b6d52['setScriptName'](_0x5cb520),_0xe4fbf5&&(_0x2b6d52[_0x40af2b(0xb7)](_0xe4fbf5),this['logger'][_0x40af2b(0x1b9)]('fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier='+_0xe4fbf5+_0x40af2b(0x1aa)+_0x5b9f8d+_0x40af2b(0xc3)+_0x5cb520)),await new Promise(_0x408bdf=>{const _0x506154=_0x40af2b,_0x24e549={'Intcq':function(_0x31fb50,_0x4ed311){const _0x30a328=a85_0x2417;return _0x463ae4[_0x30a328(0x1c4)](_0x31fb50,_0x4ed311);},'OdfEz':function(_0x3db231,_0x499e45){const _0xb64a51=a85_0x2417;return _0x463ae4[_0xb64a51(0x186)](_0x3db231,_0x499e45);}};this['client'][_0x506154(0x11f)](_0x2b6d52,this[_0x506154(0x95)](),(_0x54507d,_0x4767b1)=>{const _0xd505d6=_0x506154;if(_0x54507d){this[_0xd505d6(0x132)][_0xd505d6(0x1b9)](_0xd505d6(0x114)+_0x54507d),_0x24e549[_0xd505d6(0xc2)](_0x408bdf,null);return;}this['logger'][_0xd505d6(0x1b9)](_0xd505d6(0x116)+(_0x4767b1[_0xd505d6(0xe2)]&&_0x4767b1['getSuccess']())),_0x24e549[_0xd505d6(0x124)](_0x408bdf,_0x4767b1);});});}catch(_0x472cfa){return this[_0x40af2b(0x132)][_0x40af2b(0x1b9)]('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x472cfa),null;}}async[a85_0x601c5a(0xd3)](_0x37969c){const _0x43949f=a85_0x601c5a,_0x153597={'adGUI':function(_0x265212,_0x2936eb){return _0x265212(_0x2936eb);},'TjPYa':_0x43949f(0x168),'ufCVJ':function(_0x472144,_0x2ecdad){return _0x472144(_0x2ecdad);},'MqenF':_0x43949f(0x183)};this[_0x43949f(0x132)][_0x43949f(0x1b9)](_0x43949f(0x142)+_0x37969c);try{if(!this[_0x43949f(0x19b)])return this[_0x43949f(0x132)][_0x43949f(0x1b9)](_0x153597['MqenF']),null;const _0x5a7571=new messages[(_0x43949f(0x107))]();_0x5a7571[_0x43949f(0xfc)](this['binSessionId']),_0x5a7571['setErrorKey'](_0x37969c);const _0x2eacb0=await new Promise((_0xf85aa4,_0x5a5eae)=>{const _0x2b7932=_0x43949f,_0x300711={'zRwsR':function(_0x533c3f,_0x4ca3a5){return _0x153597['adGUI'](_0x533c3f,_0x4ca3a5);},'HNkJz':_0x153597[_0x2b7932(0x149)],'ASWXC':function(_0x58b417,_0x51114b){const _0x2ea39c=_0x2b7932;return _0x153597[_0x2ea39c(0x115)](_0x58b417,_0x51114b);}};this[_0x2b7932(0x19b)][_0x2b7932(0xd3)](_0x5a7571,this['getCallOptions'](),(_0x58c5cd,_0x2aefe7)=>{const _0x229c62=_0x2b7932;if(_0x58c5cd){this[_0x229c62(0x132)][_0x229c62(0x1b9)](_0x229c62(0x101)+_0x58c5cd),_0x300711['zRwsR'](_0x5a5eae,_0x58c5cd);return;}this[_0x229c62(0x132)][_0x229c62(0x1b9)](_0x300711[_0x229c62(0x15d)]),_0x300711[_0x229c62(0x1bb)](_0xf85aa4,_0x2aefe7);});});return _0x2eacb0;}catch(_0x20935a){return this[_0x43949f(0x132)][_0x43949f(0x1b9)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x20935a),null;}}async[a85_0x601c5a(0x11c)](){const _0x527cbc=a85_0x601c5a,_0x3a7222={'xtTLU':function(_0x3cace9,_0x39defc){return _0x3cace9(_0x39defc);},'nMvxp':'GetAggregatedClientTroubleshootingErrors\x20successful','WEBkm':_0x527cbc(0x12b),'ksXkw':'No\x20gRPC\x20client\x20initialized.'};this[_0x527cbc(0x132)][_0x527cbc(0x1b9)](_0x3a7222['WEBkm']);try{if(!this[_0x527cbc(0x19b)])return this['logger'][_0x527cbc(0x1b9)](_0x3a7222[_0x527cbc(0x122)]),null;const _0x10364e=new messages[(_0x527cbc(0x16e))]();_0x10364e[_0x527cbc(0xfc)](this[_0x527cbc(0xca)]);const _0x21abec=await new Promise((_0x23f82f,_0x1400d8)=>{const _0xa07610=_0x527cbc;this[_0xa07610(0x19b)][_0xa07610(0x11c)](_0x10364e,this[_0xa07610(0x95)](),(_0x444b32,_0x580da2)=>{const _0x1d2fad=_0xa07610;if(_0x444b32){this[_0x1d2fad(0x132)][_0x1d2fad(0x1b9)](_0x1d2fad(0xbc)+_0x444b32),_0x3a7222[_0x1d2fad(0x10f)](_0x1400d8,_0x444b32);return;}this[_0x1d2fad(0x132)]['debug'](_0x3a7222[_0x1d2fad(0x179)]),_0x3a7222['xtTLU'](_0x23f82f,_0x580da2);});});return _0x21abec;}catch(_0x29754f){return this[_0x527cbc(0x132)][_0x527cbc(0x1b9)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x29754f),null;}}[a85_0x601c5a(0xf9)](){const _0x7096bf=a85_0x601c5a;return this[_0x7096bf(0x19b)];}[a85_0x601c5a(0xed)](){const _0x32f44e=a85_0x601c5a;return this[_0x32f44e(0x14a)];}}module[a85_0x601c5a(0x97)]=GrpcClient;
|
|
1
|
+
function a85_0x1e88(_0x562026,_0x33fd88){const _0x4d639d=a85_0x4d63();return a85_0x1e88=function(_0x1e8877,_0x1eeab7){_0x1e8877=_0x1e8877-0x16e;let _0x5f0844=_0x4d639d[_0x1e8877];return _0x5f0844;},a85_0x1e88(_0x562026,_0x33fd88);}const a85_0x7b230f=a85_0x1e88;(function(_0x3ecc5d,_0x4d3f74){const _0x242998=a85_0x1e88,_0x15b495=_0x3ecc5d();while(!![]){try{const _0x2ee5d4=-parseInt(_0x242998(0x23e))/0x1+parseInt(_0x242998(0x22b))/0x2*(parseInt(_0x242998(0x1e1))/0x3)+parseInt(_0x242998(0x1fc))/0x4+parseInt(_0x242998(0x202))/0x5*(parseInt(_0x242998(0x1e6))/0x6)+-parseInt(_0x242998(0x2a1))/0x7*(parseInt(_0x242998(0x175))/0x8)+parseInt(_0x242998(0x27c))/0x9+-parseInt(_0x242998(0x1cc))/0xa*(parseInt(_0x242998(0x28b))/0xb);if(_0x2ee5d4===_0x4d3f74)break;else _0x15b495['push'](_0x15b495['shift']());}catch(_0x21448a){_0x15b495['push'](_0x15b495['shift']());}}}(a85_0x4d63,0x3a2b1));const util=require('util'),logger=require('../../helpers/logger.js')[a85_0x7b230f(0x284)],fileLogger=require(a85_0x7b230f(0x193))[a85_0x7b230f(0x261)],grpc=require('@grpc/grpc-js'),services=require(a85_0x7b230f(0x248)),messages=require(a85_0x7b230f(0x16e)),path=require(a85_0x7b230f(0x26b)),CLIUtils=require(a85_0x7b230f(0x16f)),{createClassLogger}=require(a85_0x7b230f(0x24e)),PerformanceTester=require(a85_0x7b230f(0x1dd)),{EVENTS:PerformanceEvents}=require(a85_0x7b230f(0x252)),{PLAYWRIGHT_TRACE_LOGS}=require(a85_0x7b230f(0x228)),helper=require(a85_0x7b230f(0x27d));class GrpcClient{static #instance=null;['binSessionId']=null;['listenAddress']=null;['channel']=null;[a85_0x7b230f(0x281)]=null;['logger']=createClassLogger(a85_0x7b230f(0x18f));constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a85_0x7b230f(0x1c0)](_0x5605eb){const _0x1e83ae=a85_0x7b230f,_0x35c6f2={};_0x35c6f2['cZyGf']=function(_0x2fc99b,_0x8513f7){return _0x2fc99b||_0x8513f7;};const _0x1787d5=_0x35c6f2,{id:_0x3238da,listen:_0x142563}=_0x5605eb;if(_0x1787d5[_0x1e83ae(0x18b)](!_0x3238da,!_0x142563))throw new Error(_0x1e83ae(0x1f7)+_0x3238da+_0x1e83ae(0x200)+_0x142563);this[_0x1e83ae(0x1c2)]=_0x3238da,this[_0x1e83ae(0x286)]=_0x142563,process[_0x1e83ae(0x1cf)][_0x1e83ae(0x253)]=this[_0x1e83ae(0x1c2)],process[_0x1e83ae(0x1cf)][_0x1e83ae(0x26a)]=this[_0x1e83ae(0x286)],this[_0x1e83ae(0x293)](),this[_0x1e83ae(0x264)]['info'](_0x1e83ae(0x1d0)+this[_0x1e83ae(0x1c2)]+_0x1e83ae(0x2a3)+this[_0x1e83ae(0x286)]);}[a85_0x7b230f(0x293)](){const _0x2131f5=a85_0x7b230f,_0x24b84f={};_0x24b84f[_0x2131f5(0x239)]=_0x2131f5(0x197);const _0x2fda37=_0x24b84f;let _0x21f08f=this[_0x2131f5(0x286)];!_0x21f08f&&(_0x21f08f=process[_0x2131f5(0x1cf)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x2131f5(0x1c2)]&&(this[_0x2131f5(0x1c2)]=this[_0x2131f5(0x1c2)]||process[_0x2131f5(0x1cf)][_0x2131f5(0x253)]);if(!_0x21f08f)throw new Error(_0x2fda37[_0x2131f5(0x239)]);const _0x4fd894={};_0x4fd894['grpc.keepalive_time_ms']=0x2710,this['channel']=new grpc[(_0x2131f5(0x209))](_0x21f08f,grpc[_0x2131f5(0x285)][_0x2131f5(0x181)](),_0x4fd894),this[_0x2131f5(0x281)]=new services[(_0x2131f5(0x222))](_0x21f08f,grpc[_0x2131f5(0x285)][_0x2131f5(0x181)]()),this['logger'][_0x2131f5(0x20c)](_0x2131f5(0x1f9)+_0x21f08f);}[a85_0x7b230f(0x27f)](){const _0xc53673=a85_0x7b230f,_0xe9cc17={};_0xe9cc17[_0xc53673(0x1fa)]=function(_0x1ece3c,_0x411745){return _0x1ece3c+_0x411745;};const _0x24b6ec=_0xe9cc17;return _0x24b6ec[_0xc53673(0x1fa)](Date[_0xc53673(0x259)](),0x7530);}['getCallOptions'](){const _0x81ae4d=a85_0x7b230f;return{'deadline':this[_0x81ae4d(0x27f)]()};}async['startBinSession'](){const _0x1696f8=a85_0x7b230f,_0x1f702d={'fZUaf':function(_0x17aa85,_0x522131){return _0x17aa85!==_0x522131;},'EsCpO':function(_0xe97c41,_0x49a0a2){return _0xe97c41(_0x49a0a2);},'HPOqw':'StartBinSession\x20successful','JHnLz':_0x1696f8(0x245),'lwLXR':'No\x20gRPC\x20client\x20not\x20initialized.','XFvEz':_0x1696f8(0x1fd),'Cpdbe':function(_0x3dc06f,_0x5dcaa6){return _0x3dc06f instanceof _0x5dcaa6;},'dnxIK':_0x1696f8(0x212),'CbXSi':function(_0x3ff49a,_0x256ca7){return _0x3ff49a||_0x256ca7;},'rDsDG':function(_0x58be5e,_0x1ee4b0){return _0x58be5e||_0x1ee4b0;}};PerformanceTester[_0x1696f8(0x23a)](PerformanceEvents[_0x1696f8(0x25e)]),this[_0x1696f8(0x264)]['info'](_0x1f702d['JHnLz']);try{!this['client']&&this['logger']['info'](_0x1f702d['lwLXR']);const _0x53e3a4=CLIUtils[_0x1696f8(0x238)](),_0x54db59=CLIUtils[_0x1696f8(0x1b3)](),_0x151d00=CLIUtils['getTestFrameworkDetail'](),_0x2aea83=_0x54db59[_0x1696f8(0x21b)],_0x1cd02e=_0x54db59['version'],_0x22e572=_0x151d00[_0x1696f8(0x21b)],_0x3e0423=_0x151d00['version']?_0x151d00[_0x1696f8(0x221)][_0x22e572]:'',_0x200fc2=new messages[(_0x1696f8(0x1f3))]();_0x200fc2[_0x1696f8(0x1a6)](this[_0x1696f8(0x1c2)]),_0x200fc2[_0x1696f8(0x17a)](CLIUtils[_0x1696f8(0x1ab)]()),_0x200fc2[_0x1696f8(0x188)](_0x53e3a4),_0x200fc2[_0x1696f8(0x220)](process[_0x1696f8(0x273)]());const _0x193efe=_0x200fc2[_0x1696f8(0x256)]();Object[_0x1696f8(0x176)](process[_0x1696f8(0x1cf)])[_0x1696f8(0x287)](([_0x470e23,_0x174479])=>{const _0xf64f2=_0x1696f8;_0x1f702d[_0xf64f2(0x268)](_0x174479,undefined)&&_0x1f702d[_0xf64f2(0x268)](_0x174479,null)&&_0x193efe[_0xf64f2(0x172)](_0x470e23,_0x174479);});const _0x59c66a=_0x1f702d[_0x1696f8(0x19c)](require,_0x1f702d[_0x1696f8(0x1a0)]),_0x4f300f=_0x59c66a[_0x1696f8(0x22c)]()['getBrowserstackCliConfig'](),_0x3d7982=[];_0x4f300f&&_0x1f702d[_0x1696f8(0x1bb)](_0x4f300f,Map)&&_0x4f300f[_0x1696f8(0x287)]((_0x466bd7,_0x7f7d0c)=>{_0x3d7982['push'](_0x7f7d0c+'='+_0x466bd7);});const _0x3f24c1=process[_0x1696f8(0x241)][_0x1696f8(0x1be)](0x2);_0x200fc2[_0x1696f8(0x1cb)]([..._0x3f24c1,..._0x3d7982]),_0x200fc2[_0x1696f8(0x2a0)](_0x59c66a['getInstance']()[_0x1696f8(0x254)]()),this[_0x1696f8(0x264)][_0x1696f8(0x20c)](_0x1696f8(0x1d5)+JSON[_0x1696f8(0x185)](_0x3f24c1)+_0x1696f8(0x1de)+(_0x4f300f?JSON['stringify']([..._0x4f300f]):_0x1f702d[_0x1696f8(0x18d)])),_0x200fc2['setLanguage'](CLIUtils[_0x1696f8(0x1ab)]()),_0x200fc2['setTestFramework'](_0x22e572);const _0x4465f1=_0x200fc2[_0x1696f8(0x1aa)]();return _0x4465f1['set'](_0x2aea83,_0x1f702d[_0x1696f8(0x1e5)](_0x1cd02e,'')),_0x4465f1[_0x1696f8(0x172)](_0x22e572,_0x1f702d[_0x1696f8(0x29f)](_0x3e0423,'')),_0x200fc2[_0x1696f8(0x1df)](_0x2aea83,_0x1cd02e),_0x200fc2['addFrameworks'](_0x22e572,_0x3e0423),_0x200fc2[_0x1696f8(0x205)]([_0x22e572,_0x2aea83]),new Promise((_0x206d6d,_0x5da054)=>{const _0x494a79=_0x1696f8,_0x1507db={'pxzeu':function(_0x20930c,_0x1cfc7f){const _0x5df136=a85_0x1e88;return _0x1f702d[_0x5df136(0x19c)](_0x20930c,_0x1cfc7f);},'CGCxg':_0x1f702d['HPOqw']};this[_0x494a79(0x281)][_0x494a79(0x231)](_0x200fc2,this[_0x494a79(0x1c1)](),(_0x4ebfef,_0x3732f0)=>{const _0x24203a=_0x494a79;if(_0x4ebfef){this['logger'][_0x24203a(0x244)](_0x24203a(0x1d8)+_0x4ebfef[_0x24203a(0x18a)]),_0x1507db[_0x24203a(0x25d)](_0x5da054,_0x4ebfef),PerformanceTester[_0x24203a(0x283)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x24203a(0x29d)](_0x4ebfef));return;}this[_0x24203a(0x264)]['info'](_0x1507db['CGCxg']),PerformanceTester[_0x24203a(0x283)](PerformanceEvents['SDK_START_BIN_SESSION']),_0x1507db[_0x24203a(0x25d)](_0x206d6d,_0x3732f0);});});}catch(_0xc7df76){this['logger'][_0x1696f8(0x244)](_0x1696f8(0x1d2)+util[_0x1696f8(0x29d)](_0xc7df76)),PerformanceTester[_0x1696f8(0x283)](PerformanceEvents[_0x1696f8(0x25e)],![],util['format'](_0xc7df76));throw _0xc7df76;}}async[a85_0x7b230f(0x296)](){const _0x5487ad=a85_0x7b230f,_0x2b553e={'zfZxp':function(_0x43558a,_0xb48341){return _0x43558a(_0xb48341);},'XdpYw':'ConnectBinSession\x20successful','hljSX':'Connecting\x20bin\x20session','XDYrJ':_0x5487ad(0x242),'mUcoL':_0x5487ad(0x1ce),'nniof':_0x5487ad(0x21d),'ykiIr':_0x5487ad(0x22a)};PerformanceTester['start'](PerformanceEvents[_0x5487ad(0x25c)]),this['logger'][_0x5487ad(0x20c)](_0x2b553e[_0x5487ad(0x258)]);try{!this[_0x5487ad(0x281)]&&this[_0x5487ad(0x264)]['info'](_0x2b553e['XDYrJ']);const _0x50cb51=new messages[(_0x5487ad(0x24d))]();_0x50cb51[_0x5487ad(0x1a6)](this[_0x5487ad(0x1c2)]);const _0x4ec94b=await new Promise((_0x3c2b76,_0x4263c1)=>{const _0x4d1ca3=_0x5487ad,_0x5a32fd={'codWO':function(_0x230ba3,_0x3ce4eb){const _0x53c7ff=a85_0x1e88;return _0x2b553e[_0x53c7ff(0x1a8)](_0x230ba3,_0x3ce4eb);},'SdnbM':_0x2b553e[_0x4d1ca3(0x1e9)]};this['client'][_0x4d1ca3(0x296)](_0x50cb51,this[_0x4d1ca3(0x1c1)](),(_0x2d3b75,_0x242a8f)=>{const _0x36fff6=_0x4d1ca3;if(_0x2d3b75){this[_0x36fff6(0x264)][_0x36fff6(0x244)](_0x36fff6(0x1e2)+_0x2d3b75[_0x36fff6(0x18a)]),_0x5a32fd[_0x36fff6(0x289)](_0x4263c1,_0x2d3b75),PerformanceTester[_0x36fff6(0x283)](PerformanceEvents[_0x36fff6(0x25c)],![],util[_0x36fff6(0x29d)](_0x2d3b75));return;}this[_0x36fff6(0x264)][_0x36fff6(0x20c)](_0x5a32fd[_0x36fff6(0x1a2)]),PerformanceTester[_0x36fff6(0x283)](PerformanceEvents[_0x36fff6(0x25c)]),_0x5a32fd[_0x36fff6(0x289)](_0x3c2b76,_0x242a8f);});}),_0x178798=util['format'](_0x4ec94b)['replace'](/"userName":"[^"]*"/g,_0x2b553e[_0x5487ad(0x21e)])[_0x5487ad(0x1bd)](/"accessKey":"[^"]*"/g,_0x2b553e['nniof'])[_0x5487ad(0x1bd)](/"key":"[^"]*"/g,_0x2b553e[_0x5487ad(0x1af)]);return this[_0x5487ad(0x264)][_0x5487ad(0x2a2)]('connect-bin-session\x20response:\x20'+_0x178798),_0x4ec94b;}catch(_0x4491ba){PerformanceTester[_0x5487ad(0x283)](PerformanceEvents[_0x5487ad(0x25c)],![],util[_0x5487ad(0x29d)](_0x4491ba)),this[_0x5487ad(0x264)]['error'](_0x5487ad(0x240)+util['format'](_0x4491ba));throw _0x4491ba;}}async[a85_0x7b230f(0x1d4)](_0x60cad8={},_0x4b122e=null){const _0x307f51=a85_0x7b230f,_0x572fa1={'glUcv':function(_0xa0a78e,_0xc7e9dd){return _0xa0a78e(_0xc7e9dd);},'IkDQb':_0x307f51(0x170),'xtTJC':_0x307f51(0x272),'WwoXj':'Missing\x20binSessionId','poSfr':'No\x20gRPC\x20client\x20not\x20initialized.','yeAWh':'user_killed','gBXMD':function(_0x2283bc,_0x2b59b8){return _0x2283bc===_0x2b59b8;},'vrffE':'function','KdWQD':_0x307f51(0x20c),'trxeX':_0x307f51(0x24a),'ZdqtC':function(_0x4a1331,_0x1bf4da){return _0x4a1331===_0x1bf4da;},'iOrCT':'warning','Aewnj':_0x307f51(0x244),'KQRfK':function(_0x9fcfd7,_0x36e434){return _0x9fcfd7+_0x36e434;}};PerformanceTester[_0x307f51(0x23a)](PerformanceEvents[_0x307f51(0x215)]),this[_0x307f51(0x264)]['info'](_0x572fa1[_0x307f51(0x191)]);try{if(!this['binSessionId'])throw new Error(_0x572fa1[_0x307f51(0x1b7)]);!this['client']&&this[_0x307f51(0x264)][_0x307f51(0x20c)](_0x572fa1[_0x307f51(0x19d)]);const _0xb3d2d5=new messages[(_0x307f51(0x1fe))]();this[_0x307f51(0x264)][_0x307f51(0x2a2)](_0x307f51(0x257)+JSON[_0x307f51(0x185)](_0x4b122e)),_0xb3d2d5[_0x307f51(0x1a6)](this[_0x307f51(0x1c2)]),_0xb3d2d5['setCustomMetadata'](_0x60cad8),_0xb3d2d5['setExitSignal'](_0x4b122e?_0x4b122e:null),_0xb3d2d5[_0x307f51(0x1bf)](_0x4b122e?_0x572fa1['yeAWh']:null),_0xb3d2d5[_0x307f51(0x216)](_0x4b122e?0x1:0x0);const _0x526e43=await new Promise((_0x43f790,_0x3788a0)=>{const _0x2ef0b5=_0x307f51;this[_0x2ef0b5(0x281)][_0x2ef0b5(0x1d4)](_0xb3d2d5,this[_0x2ef0b5(0x1c1)](),(_0x47a754,_0x2fb418)=>{const _0x4dcaa7=_0x2ef0b5;if(_0x47a754){this[_0x4dcaa7(0x264)][_0x4dcaa7(0x244)](_0x4dcaa7(0x213)+_0x47a754['message']),_0x572fa1[_0x4dcaa7(0x28e)](_0x3788a0,_0x47a754),PerformanceTester[_0x4dcaa7(0x283)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x4dcaa7(0x29d)](_0x47a754));return;}this['logger'][_0x4dcaa7(0x20c)](_0x572fa1[_0x4dcaa7(0x29b)]),PerformanceTester[_0x4dcaa7(0x283)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x572fa1['glUcv'](_0x43f790,_0x2fb418);});});this[_0x307f51(0x264)][_0x307f51(0x2a2)](_0x307f51(0x265)+util[_0x307f51(0x29d)](_0x526e43));try{const _0x1b92d6=_0x572fa1[_0x307f51(0x230)](typeof _0x526e43[_0x307f51(0x277)],_0x572fa1[_0x307f51(0x23b)])?_0x526e43[_0x307f51(0x277)]():[];for(const _0x35c227 of _0x1b92d6){const _0x187d11=_0x35c227&&_0x572fa1[_0x307f51(0x230)](typeof _0x35c227['getBody'],_0x572fa1['vrffE'])?_0x35c227[_0x307f51(0x1b8)]():'';if(!_0x187d11)continue;const _0x2be5a4=(_0x35c227[_0x307f51(0x1c4)]&&_0x35c227['getSeverity']()||_0x572fa1['KdWQD'])['toLowerCase'](),_0x1bb352=_0x572fa1[_0x307f51(0x230)](_0x2be5a4,_0x572fa1[_0x307f51(0x1d1)])||_0x572fa1[_0x307f51(0x21a)](_0x2be5a4,_0x572fa1[_0x307f51(0x187)])||_0x572fa1['ZdqtC'](_0x2be5a4,_0x572fa1['Aewnj']),_0x12f9d2=_0x1bb352?process[_0x307f51(0x19e)]:process[_0x307f51(0x1a1)];_0x12f9d2['write'](_0x572fa1[_0x307f51(0x173)](_0x187d11,'\x0a'));const _0x31d9b6=_0x572fa1[_0x307f51(0x21a)](_0x2be5a4,_0x572fa1[_0x307f51(0x263)])?_0x572fa1[_0x307f51(0x263)]:_0x1bb352?_0x572fa1['trxeX']:_0x572fa1[_0x307f51(0x1ef)];fileLogger[_0x31d9b6](_0x187d11);}}catch(_0x1c76c1){this[_0x307f51(0x264)]['debug'](_0x307f51(0x1fb)+(_0x1c76c1[_0x307f51(0x278)]||_0x1c76c1));}return _0x526e43;}catch(_0x16835b){PerformanceTester[_0x307f51(0x283)](PerformanceEvents[_0x307f51(0x215)],![],util['format'](_0x16835b)),this[_0x307f51(0x264)]['error'](_0x307f51(0x271)+util['format'](_0x16835b));}}async[a85_0x7b230f(0x266)](_0x5af8b7){const _0x1146a9=a85_0x7b230f,_0x2e38b1={'TkEtg':function(_0x2b216b,_0x32554a){return _0x2b216b(_0x32554a);},'mVnTa':'PlaywrightConfig\x20request\x20successful','eVErO':'Getting\x20Playwright\x20config','HxfSY':_0x1146a9(0x242)};PerformanceTester['start'](PerformanceEvents[_0x1146a9(0x269)]),this['logger']['info'](_0x2e38b1[_0x1146a9(0x20d)]);try{!this[_0x1146a9(0x281)]&&this['logger'][_0x1146a9(0x20c)](_0x2e38b1[_0x1146a9(0x279)]);const _0x6fc4e=new messages[(_0x1146a9(0x237))]();return _0x6fc4e['setBinSessionId'](this[_0x1146a9(0x1c2)]),_0x6fc4e[_0x1146a9(0x194)](JSON[_0x1146a9(0x185)](_0x5af8b7)),new Promise((_0x4b00bf,_0x3c59a7)=>{const _0x25f5fb=_0x1146a9;this[_0x25f5fb(0x281)][_0x25f5fb(0x17c)](_0x6fc4e,this[_0x25f5fb(0x1c1)](),(_0x267d04,_0x5d5a2d)=>{const _0x288b92=_0x25f5fb;if(_0x267d04){this['logger'][_0x288b92(0x244)](_0x288b92(0x201)+_0x267d04[_0x288b92(0x18a)]),_0x2e38b1[_0x288b92(0x26e)](_0x3c59a7,_0x267d04),PerformanceTester['end'](PerformanceEvents[_0x288b92(0x269)],![],util[_0x288b92(0x29d)](_0x267d04));return;}this[_0x288b92(0x264)][_0x288b92(0x20c)](_0x2e38b1[_0x288b92(0x1f0)]),PerformanceTester[_0x288b92(0x283)](PerformanceEvents[_0x288b92(0x269)]),_0x2e38b1[_0x288b92(0x26e)](_0x4b00bf,_0x5d5a2d);});});}catch(_0xf10b77){PerformanceTester['end'](PerformanceEvents[_0x1146a9(0x269)],![],util['format'](_0xf10b77)),this[_0x1146a9(0x264)]['error'](_0x1146a9(0x267)+util[_0x1146a9(0x29d)](_0xf10b77));throw _0xf10b77;}}async[a85_0x7b230f(0x184)](_0x24765a){const _0x5bdaa1=a85_0x7b230f,_0x488567={'bEUHy':function(_0x19942f,_0x1b4d25){return _0x19942f(_0x1b4d25);},'dUObr':_0x5bdaa1(0x280),'MDcSj':function(_0xa7442d,_0x18e911){return _0xa7442d||_0x18e911;},'ZfROK':_0x5bdaa1(0x1f4),'YtiRn':_0x5bdaa1(0x1c5)},_0x582768=_0x24765a[_0x5bdaa1(0x18e)]?.[_0x5bdaa1(0x17b)]||_0x24765a[_0x5bdaa1(0x18e)]?.['id'];this[_0x5bdaa1(0x264)][_0x5bdaa1(0x20c)]('[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier='+_0x488567['MDcSj'](_0x582768,_0x488567[_0x5bdaa1(0x1e3)]));try{const _0xe434c4=Buffer[_0x5bdaa1(0x1c7)](JSON[_0x5bdaa1(0x185)](_0x24765a[_0x5bdaa1(0x292)]),_0x488567['YtiRn']),_0x1cca7d=new messages[(_0x5bdaa1(0x1ae))](),_0x4cec97=CLIUtils[_0x5bdaa1(0x1b3)](),_0x56bcdc=_0x4cec97[_0x5bdaa1(0x21b)],_0x3c2840=_0x4cec97[_0x5bdaa1(0x221)];_0x1cca7d[_0x5bdaa1(0x1a6)](this[_0x5bdaa1(0x1c2)]),_0x1cca7d[_0x5bdaa1(0x234)](0x0),_0x1cca7d[_0x5bdaa1(0x219)](_0x56bcdc),_0x1cca7d[_0x5bdaa1(0x28f)](_0x3c2840),_0x1cca7d[_0x5bdaa1(0x25a)](_0x24765a[_0x5bdaa1(0x26f)]),_0x1cca7d[_0x5bdaa1(0x25f)](_0xe434c4);if(_0x24765a['testInfo']?.[_0x5bdaa1(0x17b)]||_0x24765a[_0x5bdaa1(0x18e)]?.['id']){const _0x1ceb64=_0x24765a[_0x5bdaa1(0x18e)][_0x5bdaa1(0x17b)]||_0x24765a['testInfo']['id'];_0x1cca7d[_0x5bdaa1(0x262)](_0x1ceb64),this[_0x5bdaa1(0x264)][_0x5bdaa1(0x2a2)](_0x5bdaa1(0x233)+_0x1ceb64+'\x20for\x20tag\x20validation');}return new Promise((_0x4b5758,_0x163087)=>{const _0x5ed6a0=_0x5bdaa1,_0x6ab97e={'jFEQT':function(_0x1b71ae,_0x476860){const _0x2539fe=a85_0x1e88;return _0x488567[_0x2539fe(0x1c8)](_0x1b71ae,_0x476860);},'nIRUU':_0x488567[_0x5ed6a0(0x20a)]};this['client']['accessibilityConfig'](_0x1cca7d,this[_0x5ed6a0(0x1c1)](),(_0x517125,_0x32be09)=>{const _0x534382=_0x5ed6a0;if(_0x517125){this[_0x534382(0x264)][_0x534382(0x244)]('AccessibilityConfig\x20error:\x20'+_0x517125[_0x534382(0x18a)]),_0x6ab97e[_0x534382(0x22f)](_0x163087,_0x517125);return;}this['logger'][_0x534382(0x20c)](_0x6ab97e[_0x534382(0x20b)]),_0x6ab97e[_0x534382(0x22f)](_0x4b5758,_0x32be09);});});}catch(_0x245df1){this['logger'][_0x5bdaa1(0x244)](_0x5bdaa1(0x1d9)+util['format'](_0x245df1));}}async['testOrchestration'](_0x32e838,_0x2a361f=null,_0x46ae72=null){const _0x460a73=a85_0x7b230f,_0x268e13={'AHXEf':function(_0x3d8664,_0x3227cb){return _0x3d8664(_0x3227cb);},'DegiK':function(_0x25a75c,_0x2bf64b){return _0x25a75c(_0x2bf64b);}};try{const _0x47416d=new messages[(_0x460a73(0x294))]();return _0x47416d['setBinSessionId'](this[_0x460a73(0x1c2)]),_0x47416d[_0x460a73(0x1ff)](_0x32e838||[]),_0x2a361f&&_0x47416d[_0x460a73(0x276)](_0x2a361f),_0x46ae72&&_0x47416d[_0x460a73(0x23f)](_0x46ae72),new Promise((_0x263302,_0xe84ac9)=>{const _0x8fc1b1=_0x460a73,_0x242e3b={'VZLqV':function(_0x26e7c7,_0x2aae13){const _0x397130=a85_0x1e88;return _0x268e13[_0x397130(0x24c)](_0x26e7c7,_0x2aae13);},'QGsyE':function(_0x8e40f2,_0x46645c){const _0x17e53c=a85_0x1e88;return _0x268e13[_0x17e53c(0x23d)](_0x8e40f2,_0x46645c);}};this[_0x8fc1b1(0x281)][_0x8fc1b1(0x1b2)](_0x47416d,(_0x5543f3,_0x498cb9)=>{const _0x2b2ddd=_0x8fc1b1;if(_0x5543f3){this[_0x2b2ddd(0x264)][_0x2b2ddd(0x244)](_0x2b2ddd(0x1c9)+_0x5543f3[_0x2b2ddd(0x18a)]),_0x242e3b['VZLqV'](_0xe84ac9,_0x5543f3);return;}this['logger'][_0x2b2ddd(0x2a2)](_0x2b2ddd(0x1da)+util[_0x2b2ddd(0x29d)](_0x498cb9));if(_0x498cb9[_0x2b2ddd(0x18c)]()){const _0x2b1592=_0x498cb9[_0x2b2ddd(0x250)]();_0x242e3b[_0x2b2ddd(0x282)](_0x263302,_0x2b1592);}else _0x242e3b[_0x2b2ddd(0x1b6)](_0x263302,null);});});}catch(_0x9a93d4){return this[_0x460a73(0x264)][_0x460a73(0x244)](_0x460a73(0x206)+util[_0x460a73(0x29d)](_0x9a93d4)),null;}}async[a85_0x7b230f(0x236)](_0x4f988e){const _0x4e18e1=a85_0x7b230f,_0x52419c={'vDjtF':function(_0x291c01,_0x3d684f){return _0x291c01(_0x3d684f);},'sOtRd':'TestSessionEvent\x20request\x20successful','BbWMx':_0x4e18e1(0x17f),'UwBGr':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x4e18e1(0x264)][_0x4e18e1(0x20c)](_0x52419c[_0x4e18e1(0x1d3)]);try{!this[_0x4e18e1(0x281)]&&this[_0x4e18e1(0x264)][_0x4e18e1(0x20c)](_0x52419c[_0x4e18e1(0x1e0)]);const {platformIndex:_0x401c7b,testFrameworkName:_0x4e4c19,testFrameworkVersion:_0x4f93b5,testFrameworkState:_0x5b78de,testHookState:_0x4d91c7,testUuid:_0x226309,automationSession:_0x574ddb,capabilities:_0x16416f,executionContext:_0x471c91,test_identifier:_0x453c38}=_0x4f988e,_0x7d86fa=new messages[(_0x4e18e1(0x1b4))]();_0x7d86fa['setBinSessionId'](this[_0x4e18e1(0x1c2)]),_0x7d86fa['setPlatformIndex'](_0x401c7b),_0x7d86fa[_0x4e18e1(0x24f)](_0x4e4c19),_0x7d86fa['setTestFrameworkVersion'](_0x4f93b5),_0x7d86fa[_0x4e18e1(0x208)](_0x5b78de),_0x7d86fa[_0x4e18e1(0x260)](_0x4d91c7),_0x7d86fa[_0x4e18e1(0x1f8)](_0x226309);const _0x4c8ed0=new messages[(_0x4e18e1(0x1b4))][(_0x4e18e1(0x1cd))]();_0x4c8ed0['setProvider'](_0x574ddb[_0x4e18e1(0x21f)]),_0x4c8ed0['setFrameworkName'](_0x574ddb['frameworkName']),_0x4c8ed0[_0x4e18e1(0x28f)](_0x574ddb[_0x4e18e1(0x211)]),_0x4c8ed0[_0x4e18e1(0x182)](_0x574ddb[_0x4e18e1(0x218)]),_0x4c8ed0['setProduct'](_0x574ddb[_0x4e18e1(0x295)]),_0x4c8ed0['setRef'](_0x574ddb[_0x4e18e1(0x27b)]),_0x4c8ed0[_0x4e18e1(0x25a)](_0x574ddb[_0x4e18e1(0x26f)]),_0x7d86fa['addAutomationSessions'](_0x4c8ed0),_0x7d86fa[_0x4e18e1(0x25f)](_0x16416f);const _0x3330f6=new messages[(_0x4e18e1(0x22d))]();return _0x3330f6[_0x4e18e1(0x1e4)](_0x471c91[_0x4e18e1(0x29e)]),_0x3330f6[_0x4e18e1(0x1bc)](_0x471c91['threadId']),_0x3330f6['setHash'](_0x471c91[_0x4e18e1(0x1f2)]),_0x7d86fa[_0x4e18e1(0x207)](_0x3330f6),_0x453c38&&_0x7d86fa[_0x4e18e1(0x262)](_0x453c38),new Promise((_0xaf074a,_0x445f01)=>{const _0x9f35be=_0x4e18e1,_0x4a1041={'IrpzP':function(_0xd577c7,_0x27b688){const _0x1cb83a=a85_0x1e88;return _0x52419c[_0x1cb83a(0x1ee)](_0xd577c7,_0x27b688);},'FyLjz':_0x52419c[_0x9f35be(0x28d)]};this[_0x9f35be(0x281)][_0x9f35be(0x236)](_0x7d86fa,this['getCallOptions'](),(_0x335d2f,_0x5de607)=>{const _0x3f1dd4=_0x9f35be;if(_0x335d2f){this[_0x3f1dd4(0x264)]['error']('TestSessionEvent\x20error:\x20'+_0x335d2f['message']),_0x4a1041[_0x3f1dd4(0x1b1)](_0x445f01,_0x335d2f);return;}this['logger']['info'](_0x4a1041['FyLjz']),_0x4a1041[_0x3f1dd4(0x1b1)](_0xaf074a,_0x5de607);});});}catch(_0x142efb){this[_0x4e18e1(0x264)][_0x4e18e1(0x244)](_0x4e18e1(0x288)+util[_0x4e18e1(0x29d)](_0x142efb));throw _0x142efb;}}async[a85_0x7b230f(0x1f6)](_0x48401f){const _0x105d44=a85_0x7b230f,_0x15a0ad={'ljdEI':function(_0x23b3cd,_0x381fac){return _0x23b3cd(_0x381fac);},'IpNUN':_0x105d44(0x1ed),'xPRVd':_0x105d44(0x22e),'CizUr':_0x105d44(0x242)};this[_0x105d44(0x264)][_0x105d44(0x20c)](_0x15a0ad[_0x105d44(0x247)]);try{!this[_0x105d44(0x281)]&&this[_0x105d44(0x264)][_0x105d44(0x20c)](_0x15a0ad[_0x105d44(0x29a)]);const {platformIndex:_0x23f6b4,testFrameworkName:_0x4d0c4a,testFrameworkVersion:_0x5046ed,testFrameworkState:_0x87a5d2,hookState:_0x3242cd,startedAt:_0x4d1606,endedAt:_0x49e9a4,uuid:_0x4ade82,eventJson:_0x38ca29,executionContext:_0x31372f,test_identifier:_0x2c22d8}=_0x48401f,_0x120fdf=new messages['TestFrameworkEventRequest']();_0x120fdf['setBinSessionId'](this[_0x105d44(0x1c2)]),_0x120fdf['setPlatformIndex'](_0x23f6b4),_0x120fdf['setTestFrameworkName'](_0x4d0c4a),_0x120fdf['setTestFrameworkVersion'](_0x5046ed),_0x120fdf['setTestFrameworkState'](_0x87a5d2),_0x120fdf[_0x105d44(0x260)](_0x3242cd),_0x120fdf[_0x105d44(0x17d)](_0x4d1606),_0x120fdf[_0x105d44(0x249)](_0x49e9a4),_0x120fdf[_0x105d44(0x19b)](_0x4ade82),_0x120fdf[_0x105d44(0x195)](_0x38ca29);const _0x1a6671=new messages[(_0x105d44(0x22d))]();return _0x1a6671[_0x105d44(0x1e4)](_0x31372f[_0x105d44(0x29e)]),_0x1a6671[_0x105d44(0x1bc)](_0x31372f['threadId']),_0x1a6671['setHash'](_0x31372f[_0x105d44(0x1f2)]),_0x120fdf[_0x105d44(0x207)](_0x1a6671),_0x2c22d8&&_0x120fdf[_0x105d44(0x262)](_0x2c22d8),new Promise((_0x963b1,_0x380da8)=>{const _0x37b9c2=_0x105d44;this[_0x37b9c2(0x281)][_0x37b9c2(0x1f6)](_0x120fdf,this['getCallOptions'](),(_0x584179,_0x1b163e)=>{const _0x5b97b3=_0x37b9c2;if(_0x584179){this[_0x5b97b3(0x264)]['error'](_0x5b97b3(0x25b)+_0x584179['message']),_0x15a0ad[_0x5b97b3(0x291)](_0x380da8,_0x584179);return;}this['logger'][_0x5b97b3(0x20c)](_0x15a0ad[_0x5b97b3(0x1ac)]),_0x15a0ad['ljdEI'](_0x963b1,_0x1b163e);});});}catch(_0x1c65ae){this['logger'][_0x105d44(0x244)](_0x105d44(0x1a4)+util['format'](_0x1c65ae));throw _0x1c65ae;}}async[a85_0x7b230f(0x1e8)](_0x42c656){const _0x4efae9=a85_0x7b230f,_0x14de61={'KqUsn':function(_0x501b9e,_0x508912){return _0x501b9e(_0x508912);},'FYNOS':_0x4efae9(0x177),'XzmLs':_0x4efae9(0x27a),'jSqYK':'No\x20gRPC\x20client\x20not\x20initialized.'};this['logger'][_0x4efae9(0x20c)](_0x14de61['XzmLs']);try{!this[_0x4efae9(0x281)]&&this[_0x4efae9(0x264)][_0x4efae9(0x20c)](_0x14de61['jSqYK']);const {platformIndex:_0x3d13c7,ref:_0x18c7ea,userInputParams:_0x1e803f,hubUrl:_0x3fdd81}=_0x42c656,_0x33875e=new messages[(_0x4efae9(0x274))]();return _0x33875e[_0x4efae9(0x1a6)](this[_0x4efae9(0x1c2)]),_0x33875e['setPlatformIndex'](_0x3d13c7),_0x33875e['setRef'](_0x18c7ea),_0x33875e[_0x4efae9(0x255)](_0x1e803f),_0x33875e[_0x4efae9(0x25a)](_0x3fdd81),new Promise((_0x3cdba3,_0x1bc145)=>{const _0x2930b0=_0x4efae9;this[_0x2930b0(0x281)][_0x2930b0(0x1e8)](_0x33875e,this[_0x2930b0(0x1c1)](),(_0x3c9952,_0xec6849)=>{const _0x31af89=_0x2930b0;if(_0x3c9952){this[_0x31af89(0x264)][_0x31af89(0x244)](_0x31af89(0x224)+_0x3c9952[_0x31af89(0x18a)]),_0x14de61['KqUsn'](_0x1bc145,_0x3c9952);return;}this[_0x31af89(0x264)]['info'](_0x14de61['FYNOS']),_0x14de61[_0x31af89(0x217)](_0x3cdba3,_0xec6849);});});}catch(_0x4a4cd0){this[_0x4efae9(0x264)][_0x4efae9(0x244)](_0x4efae9(0x19f)+util[_0x4efae9(0x29d)](_0x4a4cd0));throw _0x4a4cd0;}}async['logCreatedEvent'](_0x5f36b3){const _0x2e7f1c=a85_0x7b230f,_0x330adc={'aGIyb':function(_0xbad26b,_0x21ef9a){return _0xbad26b===_0x21ef9a;},'KwWzl':_0x2e7f1c(0x226),'OrzsV':function(_0x409d66,_0x52be8d){return _0x409d66(_0x52be8d);},'zOqQV':_0x2e7f1c(0x251),'LxenJ':_0x2e7f1c(0x297),'cGjaK':_0x2e7f1c(0x242)};this[_0x2e7f1c(0x264)][_0x2e7f1c(0x20c)](_0x330adc[_0x2e7f1c(0x19a)]);try{!this[_0x2e7f1c(0x281)]&&this[_0x2e7f1c(0x264)][_0x2e7f1c(0x20c)](_0x330adc[_0x2e7f1c(0x24b)]);const {platformIndex:_0x190a9c,logs:_0xdceedc}=_0x5f36b3,_0x43d38f=new messages[(_0x2e7f1c(0x192))]();_0x43d38f['setBinSessionId'](this[_0x2e7f1c(0x1c2)]),_0x43d38f['setPlatformIndex'](_0x190a9c);const _0x20ee00=_0x5f36b3['testFrameworkName'],_0x30c1e6=_0x5f36b3[_0x2e7f1c(0x186)],_0x1e8e56=_0x5f36b3[_0x2e7f1c(0x204)];return _0xdceedc[_0x2e7f1c(0x287)](_0x2bee55=>{const _0x230b36=_0x2e7f1c,_0x5a8778=new messages['LogCreatedEventRequest']['LogEntry']();_0x5a8778[_0x230b36(0x24f)](_0x20ee00),_0x5a8778[_0x230b36(0x180)](_0x30c1e6),_0x5a8778['setTestFrameworkState'](_0x1e8e56),_0x5a8778[_0x230b36(0x17e)](_0x2bee55[_0x230b36(0x179)]);if(_0x330adc['aGIyb'](_0x2bee55[_0x230b36(0x1db)],PLAYWRIGHT_TRACE_LOGS))_0x5a8778['setUuid'](_0x2bee55[_0x230b36(0x26c)]),_0x5a8778['setMessage'](new TextEncoder()[_0x230b36(0x20f)](JSON['stringify'](_0x2bee55)));else{if(_0x2bee55[_0x230b36(0x28c)])_0x5a8778[_0x230b36(0x19b)](_0x330adc[_0x230b36(0x1e7)]);else{if(_0x2bee55[_0x230b36(0x1ad)])_0x5a8778['setUuid'](_0x2bee55[_0x230b36(0x1ad)]);else _0x2bee55[_0x230b36(0x1b0)]&&_0x5a8778[_0x230b36(0x19b)](_0x2bee55['uuid']);}_0x5a8778[_0x230b36(0x1b9)](new TextEncoder()['encode'](_0x2bee55[_0x230b36(0x18a)]));}_0x5a8778[_0x230b36(0x174)](_0x2bee55[_0x230b36(0x196)]),_0x5a8778[_0x230b36(0x1c6)](_0x2bee55['level']),_0x5a8778[_0x230b36(0x178)](_0x2bee55?.['fileName']||''),_0x5a8778[_0x230b36(0x246)](_0x2bee55?.['filePath']||''),_0x5a8778[_0x230b36(0x29c)](_0x2bee55?.['fileSize']||0x0),_0x5a8778[_0x230b36(0x1ea)](_0x2bee55?.[_0x230b36(0x1db)]||''),_0x2bee55['test_identifier']&&_0x5a8778[_0x230b36(0x262)](_0x2bee55['test_identifier']),_0x2bee55[_0x230b36(0x1b5)]&&_0x5a8778[_0x230b36(0x243)](_0x2bee55[_0x230b36(0x1b5)]),_0x43d38f['addLogs'](_0x5a8778);}),new Promise((_0x43198f,_0x2e79a1)=>{const _0x4cf902=_0x2e7f1c,_0x3b6219={'Cqmus':function(_0x441aff,_0x111f3d){const _0x3b3c8a=a85_0x1e88;return _0x330adc[_0x3b3c8a(0x23c)](_0x441aff,_0x111f3d);},'cequg':_0x330adc[_0x4cf902(0x1d6)],'THxSd':function(_0x14a9cf,_0x388ed4){const _0x405824=_0x4cf902;return _0x330adc[_0x405824(0x23c)](_0x14a9cf,_0x388ed4);}};this[_0x4cf902(0x281)][_0x4cf902(0x299)](_0x43d38f,this[_0x4cf902(0x1c1)](),(_0x4cd210,_0x286400)=>{const _0x1c6e1f=_0x4cf902;if(_0x4cd210){this[_0x1c6e1f(0x264)]['error'](_0x1c6e1f(0x1eb)+_0x4cd210[_0x1c6e1f(0x18a)]),_0x3b6219['Cqmus'](_0x2e79a1,_0x4cd210);return;}this[_0x1c6e1f(0x264)]['info'](_0x3b6219[_0x1c6e1f(0x290)]),_0x3b6219['THxSd'](_0x43198f,_0x286400);});});}catch(_0x37975f){this[_0x2e7f1c(0x264)][_0x2e7f1c(0x244)](_0x2e7f1c(0x227)+util[_0x2e7f1c(0x29d)](_0x37975f));throw _0x37975f;}}async[a85_0x7b230f(0x1ec)](_0x190427,_0xf7b16e,_0x3fc76b,_0xd62497=null){const _0x338d54=a85_0x7b230f,_0x1a8d30={'LbBKs':function(_0x34d269,_0x5b7d2b){return _0x34d269(_0x5b7d2b);},'sJbzE':function(_0x4337cf,_0x2b721d){return _0x4337cf||_0x2b721d;},'GyqZb':_0x338d54(0x1f4),'QyEgd':_0x338d54(0x223)};this[_0x338d54(0x264)][_0x338d54(0x2a2)](_0x338d54(0x270)+_0x190427+_0x338d54(0x210)+_0xf7b16e+_0x338d54(0x1a9)+_0x3fc76b+_0x338d54(0x1ca)+_0x1a8d30['sJbzE'](_0xd62497,_0x1a8d30[_0x338d54(0x1ba)]));try{if(!this['client'])return this['logger']['debug'](_0x1a8d30[_0x338d54(0x229)]),null;const _0x3aadda=new messages[(_0x338d54(0x26d))]();return _0x3aadda[_0x338d54(0x1a6)](_0x190427),_0x3aadda[_0x338d54(0x190)](_0xf7b16e),_0x3aadda[_0x338d54(0x189)](_0x3fc76b),_0xd62497&&(_0x3aadda['setTestIdentifier'](_0xd62497),this[_0x338d54(0x264)][_0x338d54(0x2a2)]('fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier='+_0xd62497+_0x338d54(0x214)+_0xf7b16e+_0x338d54(0x1a9)+_0x3fc76b)),await new Promise(_0x160c25=>{const _0x3953cb=_0x338d54;this[_0x3953cb(0x281)]['fetchDriverExecuteParamsEvent'](_0x3aadda,this['getCallOptions'](),(_0x301d45,_0x4fa930)=>{const _0x59cb45=_0x3953cb;if(_0x301d45){this['logger'][_0x59cb45(0x2a2)](_0x59cb45(0x232)+_0x301d45),_0x1a8d30['LbBKs'](_0x160c25,null);return;}this[_0x59cb45(0x264)]['debug']('FetchDriverExecuteParamsEvent\x20successful\x20-\x20success='+(_0x4fa930[_0x59cb45(0x18c)]&&_0x4fa930[_0x59cb45(0x18c)]())),_0x1a8d30[_0x59cb45(0x28a)](_0x160c25,_0x4fa930);});});}catch(_0x676097){return this['logger'][_0x338d54(0x2a2)](_0x338d54(0x232)+_0x676097),null;}}async['reportClientTroubleshootingError'](_0x3b8a7d){const _0x5cf20b=a85_0x7b230f,_0x1cc36f={'IEDQr':function(_0x380e59,_0x46a00a){return _0x380e59(_0x46a00a);},'WviwZ':_0x5cf20b(0x27e),'TFkqU':'No\x20gRPC\x20client\x20initialized.'};this[_0x5cf20b(0x264)][_0x5cf20b(0x2a2)](_0x5cf20b(0x235)+_0x3b8a7d);try{if(!this[_0x5cf20b(0x281)])return this[_0x5cf20b(0x264)][_0x5cf20b(0x2a2)](_0x1cc36f[_0x5cf20b(0x198)]),null;const _0x1ffa58=new messages[(_0x5cf20b(0x1a5))]();_0x1ffa58['setBinSessionId'](this['binSessionId']),_0x1ffa58['setErrorKey'](_0x3b8a7d);const _0x1e87ec=await new Promise((_0x6155f1,_0x18208d)=>{const _0x52deea=_0x5cf20b,_0x2ef85a={'qTwEm':function(_0x5a3df7,_0x1c7130){const _0xbc59ad=a85_0x1e88;return _0x1cc36f[_0xbc59ad(0x1c3)](_0x5a3df7,_0x1c7130);},'GvdPN':_0x1cc36f[_0x52deea(0x225)],'sivbd':function(_0x54a274,_0x266328){const _0x4e26a9=_0x52deea;return _0x1cc36f[_0x4e26a9(0x1c3)](_0x54a274,_0x266328);}};this[_0x52deea(0x281)][_0x52deea(0x1d7)](_0x1ffa58,this[_0x52deea(0x1c1)](),(_0x41be36,_0x471707)=>{const _0x4fae58=_0x52deea;if(_0x41be36){this[_0x4fae58(0x264)]['debug']('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x41be36),_0x2ef85a[_0x4fae58(0x171)](_0x18208d,_0x41be36);return;}this[_0x4fae58(0x264)][_0x4fae58(0x2a2)](_0x2ef85a[_0x4fae58(0x1a7)]),_0x2ef85a[_0x4fae58(0x21c)](_0x6155f1,_0x471707);});});return _0x1e87ec;}catch(_0x4057c6){return this[_0x5cf20b(0x264)][_0x5cf20b(0x2a2)](_0x5cf20b(0x1f1)+_0x4057c6),null;}}async[a85_0x7b230f(0x199)](){const _0x448351=a85_0x7b230f,_0x4c92e8={'NRsZe':function(_0x438b02,_0x2a00d1){return _0x438b02(_0x2a00d1);},'acpcl':_0x448351(0x1f5),'OBmRj':function(_0x269eb4,_0x360071){return _0x269eb4(_0x360071);},'hujgr':_0x448351(0x1dc),'MmZJD':'No\x20gRPC\x20client\x20initialized.'};this['logger']['debug'](_0x4c92e8['hujgr']);try{if(!this[_0x448351(0x281)])return this[_0x448351(0x264)][_0x448351(0x2a2)](_0x4c92e8['MmZJD']),null;const _0x3860fa=new messages[(_0x448351(0x203))]();_0x3860fa[_0x448351(0x1a6)](this[_0x448351(0x1c2)]);const _0x46d436=await new Promise((_0x5e10b1,_0x4b4e05)=>{const _0x158daa=_0x448351;this[_0x158daa(0x281)][_0x158daa(0x199)](_0x3860fa,this[_0x158daa(0x1c1)](),(_0x2e9fee,_0x43f8fa)=>{const _0x535982=_0x158daa;if(_0x2e9fee){this[_0x535982(0x264)][_0x535982(0x2a2)](_0x535982(0x1a3)+_0x2e9fee),_0x4c92e8[_0x535982(0x275)](_0x4b4e05,_0x2e9fee);return;}this[_0x535982(0x264)][_0x535982(0x2a2)](_0x4c92e8[_0x535982(0x183)]),_0x4c92e8[_0x535982(0x20e)](_0x5e10b1,_0x43f8fa);});});return _0x46d436;}catch(_0x25f737){return this[_0x448351(0x264)][_0x448351(0x2a2)](_0x448351(0x1a3)+_0x25f737),null;}}['getClient'](){const _0x569f7f=a85_0x7b230f;return this[_0x569f7f(0x281)];}['getChannel'](){const _0x4c1021=a85_0x7b230f;return this[_0x4c1021(0x298)];}}function a85_0x4d63(){const _0x1680f6=['BbWMx','stopBinSession','setCliArgs:\x20cliArgs=','zOqQV','reportClientTroubleshootingError','StartBinSession\x20error:\x20','Error\x20in\x20getAccessibilityConfig:\x20','test-orchestration-session=','attachment_type','Getting\x20AggregatedClientTroubleshootingErrors','../../helpers/performance/performance-tester.js',',\x20parsedConfig=','addFrameworks','UwBGr','6UikYot','ConnectBinSession\x20error:\x20','ZfROK','setProcessId','CbXSi','1451550nCJsxv','KwWzl','driverInit','XdpYw','setAttachmentType','LogCreatedEvent\x20error:\x20','fetchDriverExecuteParamsEvent','TestFrameworkEvent\x20request\x20successful','vDjtF','KdWQD','mVnTa','Error\x20in\x20ReportClientTroubleshootingError:\x20','hash','StartBinSessionRequest','not\x20provided','GetAggregatedClientTroubleshootingErrors\x20successful','testFrameworkEvent','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','setTestUuid','Connected\x20to\x20gRPC\x20server\x20at\x20','jVmaL','StopBinSession\x20entries\x20forwarding\x20failed:\x20','1453876GjfVof','./browserstackCLI.js','StopBinSessionRequest','setTestFilesList','\x20listenAddr:\x20','PlaywrightConfig\x20error:\x20','5WiCqjA','GetAggregatedClientTroubleshootingErrorsRequest','testFrameworkState','setFrameworksList','Error\x20in\x20testOrchestration:\x20','setExecutionContext','setTestFrameworkState','Channel','dUObr','nIRUU','info','eVErO','OBmRj','encode',',\x20product=','frameworkVersion','null','StopBinSession\x20error:\x20','\x20for\x20product=','SDK_CLI_ON_STOP','setExitCode','KqUsn','frameworkSessionId','setFrameworkName','ZdqtC','name','sivbd','\x22accessKey\x22:\x22[REDACTED]\x22','mUcoL','provider','setPathProject','version','SDKClient','No\x20gRPC\x20client\x20initialized.','DriverInit\x20error:\x20','WviwZ','pending-resolution-from-test-identifier','Error\x20in\x20LogCreatedEvent:\x20','../utils/constants','QyEgd','\x22key\x22:\x22[REDACTED]\x22','235492nwrnJr','getInstance','ExecutionContext','Sending\x20TestFrameworkEvent','jFEQT','gBXMD','startBinSession','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','setPlatformIndex','Reporting\x20ClientTroubleshootingError\x20','testSessionEvent','PlaywrightConfigRequest','getSdkVersion','tiRiS','start','vrffE','OrzsV','DegiK','241425udLJqT','setOrchestrationMetadata','Error\x20in\x20connectBinSession:\x20','argv','No\x20gRPC\x20client\x20not\x20initialized.','setDuration','error','startBinSession:\x20Calling\x20startBinSession','setFilePath','xPRVd','../../../generated/sdk_grpc_pb','setEndedAt','warn','cGjaK','AHXEf','ConnectBinSessionRequest','../../helpers/classLogger.js','setTestFrameworkName','getOrderedTestFilesList','LogCreatedEvent\x20request\x20successful','../../helpers/performance/constants','BROWSERSTACK_CLI_BIN_SESSION_ID','getBrowserstackConfigPath','setUserInputParams','getEnvVarsMap','Stopping\x20signal\x20','hljSX','now','setHubUrl','TestFrameworkEvent\x20error:\x20','SDK_CONNECT_BIN_SESSION','pxzeu','SDK_START_BIN_SESSION','setCapabilities','setTestHookState','fileLogger','setTestIdentifier','Aewnj','logger','stop-bin-session\x20response:\x20','getPlaywrightConfig','Error\x20in\x20getPlaywrightConfig:\x20','fZUaf','SDK_AUTOMATION_FRAMEWORK_INIT','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','path','test_run_uuid','FetchDriverExecuteParamsEventRequest','TkEtg','hubUrl','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','Error\x20in\x20stopBinSession:\x20','Stopping\x20bin\x20session','cwd','DriverInitRequest','NRsZe','setOrchestrationStrategy','getEntriesList','stack','HxfSY','Sending\x20DriverInit','ref','677628deLdjD','../../helpers/helper.js','ReportClientTroubleshootingError\x20successful','getDeadline','AccessibilityConfig\x20request\x20successful','client','VZLqV','end','winstonLogger','credentials','listenAddress','forEach','Error\x20in\x20TestSessionEvent:\x20','codWO','LbBKs','309826sukHSY','test_identifier','sOtRd','glUcv','setFrameworkVersion','cequg','ljdEI','launchcaps','connect','TestOrchestrationRequest','product','connectBinSession','Sending\x20LogCreatedEvent','channel','logCreatedEvent','CizUr','IkDQb','setFileSize','format','processId','rDsDG','setPathConfig','7zHCeKi','debug','\x20and\x20listen\x20address:\x20','../../../generated/sdk-messages_pb','./cliUtils.js','StopBinSession\x20successful','qTwEm','set','KQRfK','setKind','112048arkCIO','entries','DriverInit\x20request\x20successful','setFileName','timestamp','setSdkLanguage','testAnalyticsId','playwrightConfig','setStartedAt','setTimestamp','Sending\x20TestSessionEvent','setTestFrameworkVersion','createInsecure','setFrameworkSessionId','acpcl','getAccessibilityConfig','stringify','testFrameworkVersion','iOrCT','setSdkVersion','setScriptName','message','cZyGf','getSuccess','dnxIK','testInfo','GrpcClient','setProduct','xtTJC','LogCreatedEventRequest','../../helpers/logger.js','setConfig','setEventJson','kind','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','TFkqU','getAggregatedClientTroubleshootingErrors','LxenJ','setUuid','EsCpO','poSfr','stderr','Error\x20in\x20DriverInit:\x20','XFvEz','stdout','SdnbM','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','Error\x20in\x20TestFrameworkEvent:\x20','ReportClientTroubleshootingErrorRequest','setBinSessionId','GvdPN','zfZxp',',\x20scriptName=','getFrameworkVersionsMap','getSdkLanguage','IpNUN','hook_run_uuid','AccessibilityConfigRequest','ykiIr','uuid','IrpzP','testOrchestration','getAutomationFrameworkDetail','TestSessionEventRequest','duration','QGsyE','WwoXj','getBody','setMessage','GyqZb','Cpdbe','setThreadId','replace','slice','setExitReason','init','getCallOptions','binSessionId','IEDQr','getSeverity','utf-8','setLevel','from','bEUHy','TestOrchestration\x20error:\x20',',\x20testIdentifier=','setCliArgsList','150GQAXHj','AutomationSession','\x22userName\x22:\x22[REDACTED]\x22','env','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','trxeX','Error\x20in\x20startBinSession:\x20'];a85_0x4d63=function(){return _0x1680f6;};return a85_0x4d63();}module['exports']=GrpcClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a86_0x3ec133=a86_0x36e5;(function(_0x1a9ebe,_0x15f706){const _0x4ccd72=a86_0x36e5,_0x24397e=_0x1a9ebe();while(!![]){try{const _0x44c69f=-parseInt(_0x4ccd72(0x95))/0x1*(parseInt(_0x4ccd72(0x7e))/0x2)+-parseInt(_0x4ccd72(0x96))/0x3+parseInt(_0x4ccd72(0x93))/0x4*(parseInt(_0x4ccd72(0x8d))/0x5)+parseInt(_0x4ccd72(0x8c))/0x6*(-parseInt(_0x4ccd72(0x85))/0x7)+-parseInt(_0x4ccd72(0x87))/0x8*(-parseInt(_0x4ccd72(0x84))/0x9)+-parseInt(_0x4ccd72(0x94))/0xa+parseInt(_0x4ccd72(0x88))/0xb*(parseInt(_0x4ccd72(0x7f))/0xc);if(_0x44c69f===_0x15f706)break;else _0x24397e['push'](_0x24397e['shift']());}catch(_0x34fe1d){_0x24397e['push'](_0x24397e['shift']());}}}(a86_0x5f09,0x4f4ee));function a86_0x36e5(_0x35ad67,_0x5c0141){const _0x5f0923=a86_0x5f09();return a86_0x36e5=function(_0x36e530,_0x293d28){_0x36e530=_0x36e530-0x7c;let _0x36a9af=_0x5f0923[_0x36e530];return _0x36a9af;},a86_0x36e5(_0x35ad67,_0x5c0141);}const AutomationFrameworkState=require(a86_0x3ec133(0x7d)),TrackedInstance=require(a86_0x3ec133(0x81)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x45a26e,_0x3eec04,_0x2890b3,_0x313e36){const _0x209e98=a86_0x3ec133,_0x15eb53={};_0x15eb53[_0x209e98(0x90)]=_0x209e98(0x92);const _0x4dc3c7=_0x15eb53,_0x155994=_0x4dc3c7[_0x209e98(0x90)][_0x209e98(0x91)]('|');let _0x4526f3=0x0;while(!![]){switch(_0x155994[_0x4526f3++]){case'0':this[_0x209e98(0x8b)]=_0x2890b3;continue;case'1':this['frameworkName']=_0x3eec04;continue;case'2':this[_0x209e98(0x86)]=AutomationFrameworkState[_0x209e98(0x8e)];continue;case'3':this[_0x209e98(0x8a)]=_0x313e36;continue;case'4':this[_0x209e98(0x83)]=now['toLocaleString']();continue;case'5':super(_0x45a26e);continue;}break;}}[a86_0x3ec133(0x80)](){const _0x25768b=a86_0x3ec133;return this[_0x25768b(0x7c)];}[a86_0x3ec133(0x82)](){const _0x38ac03=a86_0x3ec133;return this[_0x38ac03(0x8b)];}[a86_0x3ec133(0x89)](){const _0x1bd1af=a86_0x3ec133;return this[_0x1bd1af(0x8a)];}['setState'](_0x56adef){const _0x4ff685=a86_0x3ec133;this[_0x4ff685(0x86)]=this['state'],this[_0x4ff685(0x8a)]=_0x56adef;}}module[a86_0x3ec133(0x8f)]=AutomationFrameworkInstance;function a86_0x5f09(){const _0xbb5f9f=['state','frameworkVersion','2487738qvJXdB','2746460SPrdLM','NONE','exports','dCepM','split','5|1|0|3|2|4','4wDqbHR','1174430DCgXfO','98981onLxbm','1583574CoiBoj','frameworkName','../state/automationFrameworkState','12RWeihW','24MqpLuY','getFrameworkName','./trackedInstance','getFrameworkVersion','createdAt','2043765bdherV','7rbBaMD','lastState','16eiAcjz','5363567ORzeoy','getState'];a86_0x5f09=function(){return _0xbb5f9f;};return a86_0x5f09();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87_0xcb6c64=a87_0x44d6;(function(_0x234815,_0xf2aa47){const _0x3831a0=a87_0x44d6,_0x5cd654=_0x234815();while(!![]){try{const _0x128369=parseInt(_0x3831a0(0x136))/0x1+parseInt(_0x3831a0(0x151))/0x2+-parseInt(_0x3831a0(0x152))/0x3*(-parseInt(_0x3831a0(0x13e))/0x4)+parseInt(_0x3831a0(0x133))/0x5+-parseInt(_0x3831a0(0x142))/0x6*(-parseInt(_0x3831a0(0x140))/0x7)+parseInt(_0x3831a0(0x157))/0x8*(-parseInt(_0x3831a0(0x14c))/0x9)+-parseInt(_0x3831a0(0x137))/0xa;if(_0x128369===_0xf2aa47)break;else _0x5cd654['push'](_0x5cd654['shift']());}catch(_0x43bf04){_0x5cd654['push'](_0x5cd654['shift']());}}}(a87_0x2701,0xc5dee));const {createClassLogger}=require(a87_0xcb6c64(0x135)),logger=createClassLogger(a87_0xcb6c64(0x147)),HookState=require(a87_0xcb6c64(0x146)),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require(a87_0xcb6c64(0x143)),TrackedInstance=require('./trackedInstance'),now=new Date();function a87_0x2701(){const _0x35f239=['addPendingHook','currentHookState','751896ojFdMV','2104338UEYxLv','setLastHookState','exports','getPendingHooks','EdSvK','83024pOQase','lastHookState','getLastHookState','testFrameworks','getCurrentHookState','toLocaleString','getCurrentTestState','from','7219295BdwOaM','getCreatedAt','../../../helpers/classLogger','968643MrfXvs','24406120NocztE','NONE','push','createdAt','setCurrentTestState','1|6|0|8|7|2|4|5|3','pendingHooks','4ZAyVgp','hasPendingHooks','1778jkcRRQ','get','2694CTaNnq','./trackedContext','setLastTestState','delete','../state/hookState','TrackedInstance','set','split','removePendingHooks','testFrameworksVersions','306bgXbFT','currentTestState','lastTestState'];a87_0x2701=function(){return _0x35f239;};return a87_0x2701();}function a87_0x44d6(_0xc46602,_0x2ee42c){const _0x270116=a87_0x2701();return a87_0x44d6=function(_0x44d6d6,_0x29bf63){_0x44d6d6=_0x44d6d6-0x131;let _0x10ad3e=_0x270116[_0x44d6d6];return _0x10ad3e;},a87_0x44d6(_0xc46602,_0x2ee42c);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x37654a,_0x57f163,_0x294f47,_0x1f151b,_0xe2e2bf){const _0x46b540=a87_0xcb6c64,_0x5c61cd={};_0x5c61cd[_0x46b540(0x156)]=_0x46b540(0x13c);const _0x5a137d=_0x5c61cd,_0x283e7b=_0x5a137d[_0x46b540(0x156)][_0x46b540(0x149)]('|');let _0x117322=0x0;while(!![]){switch(_0x283e7b[_0x117322++]){case'0':this[_0x46b540(0x14b)]=_0x294f47;continue;case'1':super(_0x37654a);continue;case'2':this['lastTestState']=TestFrameworkState['NONE'];continue;case'3':this[_0x46b540(0x13d)]=new Map();continue;case'4':this['lastHookState']=HookState[_0x46b540(0x138)];continue;case'5':this[_0x46b540(0x13a)]=now[_0x46b540(0x15c)]();continue;case'6':this[_0x46b540(0x15a)]=_0x57f163;continue;case'7':this[_0x46b540(0x150)]=_0xe2e2bf;continue;case'8':this[_0x46b540(0x14d)]=_0x1f151b;continue;}break;}}[a87_0xcb6c64(0x131)](){const _0x5a7a85=a87_0xcb6c64;return this[_0x5a7a85(0x14d)];}[a87_0xcb6c64(0x13b)](_0xae8ca6){const _0x26bdd1=a87_0xcb6c64;this[_0x26bdd1(0x144)](this[_0x26bdd1(0x14d)]),this[_0x26bdd1(0x14d)]=_0xae8ca6;}[a87_0xcb6c64(0x15b)](){const _0x2648cf=a87_0xcb6c64;return this[_0x2648cf(0x150)];}['setCurrentHookState'](_0x419d63){const _0x2b3c10=a87_0xcb6c64;this['setLastHookState'](this[_0x2b3c10(0x150)]),this[_0x2b3c10(0x150)]=_0x419d63;}['getLastTestState'](){const _0x32d810=a87_0xcb6c64;return this[_0x32d810(0x14e)];}[a87_0xcb6c64(0x144)](_0x3f5a93){this['lastTestState']=_0x3f5a93;}[a87_0xcb6c64(0x159)](){const _0x436c78=a87_0xcb6c64;return this[_0x436c78(0x158)];}[a87_0xcb6c64(0x153)](_0x218fee){const _0x35dfbb=a87_0xcb6c64;this[_0x35dfbb(0x158)]=_0x218fee;}[a87_0xcb6c64(0x134)](){const _0x49e12b=a87_0xcb6c64;return this[_0x49e12b(0x13a)];}[a87_0xcb6c64(0x14f)](_0x30ca0a,_0x4236ff){const _0x1179c1=a87_0xcb6c64;!this[_0x1179c1(0x13d)]['has'](_0x30ca0a)&&this[_0x1179c1(0x13d)][_0x1179c1(0x148)](_0x30ca0a,[]),this[_0x1179c1(0x13d)][_0x1179c1(0x141)](_0x30ca0a)[_0x1179c1(0x139)](_0x4236ff);}[a87_0xcb6c64(0x155)](_0x5ac414){const _0x5da138=a87_0xcb6c64;return this['pendingHooks'][_0x5da138(0x141)](_0x5ac414)||[];}[a87_0xcb6c64(0x14a)](_0x4257a4){const _0x4960c3=a87_0xcb6c64;this[_0x4960c3(0x13d)][_0x4960c3(0x145)](_0x4257a4);}[a87_0xcb6c64(0x13f)](_0xed987b){const _0x398a53=a87_0xcb6c64;return this[_0x398a53(0x13d)]['has'](_0xed987b);}['getAllPendingHookTestIds'](){const _0x377190=a87_0xcb6c64;return Array[_0x377190(0x132)](this['pendingHooks']['keys']());}}module[a87_0xcb6c64(0x154)]=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88_0x20b788=a88_0x5585;function a88_0x5585(_0x159691,_0x101ea0){const _0x2d4f7b=a88_0x2d4f();return a88_0x5585=function(_0x55856a,_0x49762b){_0x55856a=_0x55856a-0x75;let _0x3eb48f=_0x2d4f7b[_0x55856a];return _0x3eb48f;},a88_0x5585(_0x159691,_0x101ea0);}(function(_0x2352aa,_0xaf170f){const _0x28c2b8=a88_0x5585,_0xd050d8=_0x2352aa();while(!![]){try{const _0x207cad=-parseInt(_0x28c2b8(0x7f))/0x1+parseInt(_0x28c2b8(0x83))/0x2+-parseInt(_0x28c2b8(0x7c))/0x3*(parseInt(_0x28c2b8(0x7a))/0x4)+-parseInt(_0x28c2b8(0x86))/0x5*(parseInt(_0x28c2b8(0x7d))/0x6)+parseInt(_0x28c2b8(0x76))/0x7+parseInt(_0x28c2b8(0x85))/0x8*(-parseInt(_0x28c2b8(0x82))/0x9)+parseInt(_0x28c2b8(0x80))/0xa;if(_0x207cad===_0xaf170f)break;else _0xd050d8['push'](_0xd050d8['shift']());}catch(_0x533bab){_0xd050d8['push'](_0xd050d8['shift']());}}}(a88_0x2d4f,0xd075b));const {createClassLogger}=require(a88_0x20b788(0x81)),logger=createClassLogger(a88_0x20b788(0x7b));class TrackedContext{constructor(_0x6f518d,_0x539808,_0x5a3602,_0x502c70){const _0x2506d1=a88_0x20b788;this['id']=_0x6f518d,this[_0x2506d1(0x77)]=_0x539808,this[_0x2506d1(0x84)]=_0x5a3602,this[_0x2506d1(0x7e)]=_0x502c70;}[a88_0x20b788(0x75)](){const _0x3e6047=a88_0x20b788;return this[_0x3e6047(0x77)];}['getProcessId'](){const _0x4b0a3e=a88_0x20b788;return this[_0x4b0a3e(0x84)];}[a88_0x20b788(0x79)](){return this['id'];}[a88_0x20b788(0x78)](){const _0x3b93d0=a88_0x20b788;return this[_0x3b93d0(0x7e)];}}module['exports']=TrackedContext;function a88_0x2d4f(){const _0x100392=['160348sxHWkx','processId','566488Dbfodd','1701085gsPCpQ','getThreadId','7327565aaZWtN','threadId','getType','getId','12lDYdyK','TrackedContext','1064067OSmMir','12vmkivs','type','1560815GGyWOk','31030090vkLiAk','../../../helpers/classLogger','9YiySHa'];a88_0x2d4f=function(){return _0x100392;};return a88_0x2d4f();}
|