browserstack-node-sdk 1.59.0 → 1.60.1
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/package.json +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/assets/report.html +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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/testcafeDriverModule.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/driverInitErrorReporter.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
|
-
'use strict';const a98_0x34a247=a98_0xf93b;(function(_0x5dd210,_0x5edd37){const _0x21f010=a98_0xf93b,_0x4128b1=_0x5dd210();while(!![]){try{const _0x2aea89=-parseInt(_0x21f010(0x1bb))/0x1+-parseInt(_0x21f010(0x22f))/0x2*(parseInt(_0x21f010(0x267))/0x3)+parseInt(_0x21f010(0x233))/0x4*(parseInt(_0x21f010(0x25b))/0x5)+-parseInt(_0x21f010(0x1d2))/0x6+-parseInt(_0x21f010(0x27a))/0x7*(-parseInt(_0x21f010(0x247))/0x8)+parseInt(_0x21f010(0x1de))/0x9*(parseInt(_0x21f010(0x184))/0xa)+parseInt(_0x21f010(0x22e))/0xb*(-parseInt(_0x21f010(0x1b0))/0xc);if(_0x2aea89===_0x5edd37)break;else _0x4128b1['push'](_0x4128b1['shift']());}catch(_0x63b172){_0x4128b1['push'](_0x4128b1['shift']());}}}(a98_0x17ac,0xbf980));function a98_0x17ac(){const _0x210b05=['ZOxPU','KEY_TEST_LOCATION','jkidf','test','SXyqT','getConfig','TestCafeError','kind','event_started_at','updateData','_lazyCreateInstance','xUWoZ','SPoTo','finalizeOrphans','length','__platformIdentifiers','sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId=','error','\x20pi=','_stripAnsi','trackEvent\x20','../TestInfo.js','_parseTestStart','./testcafeAutomationFramework.js','eIigU','Cddze','MwBQy','GEagJ','keys','isArray','uVswJ','../grpcClient','__platformUuids','wLIbj','isInteger','_parseTestEnd','KEY_CAPABILITIES','trackEvent:\x20no\x20instance\x20for\x20state=','toString','ewSxO','KEY_HOOK_NAME','341GPsTsh','6UNyuAz','lDvZS','fQkkv','ZwAOm','1153756IUWHav','userAgents','rGXvt','zhISS','from','type','KEY_TEST_STARTED_AT','\x20platform\x20identifiers,\x20uuids=','AFTER_ALL','after','testcafe','testName','KUJlP','Error','KEY_TEST_ENDED_AT','lfmRB','getData','PRE','\x20platforms\x20(reusingFixtureUuids=','getAllData','2565488fYYgdg','ufQHs','rvxkj','uzqwG','KEY_TEST_FAILURE','getContext','beforeEach(test)','stringify','trim','KEY_TEST_RESULT','durationMs','testFrameworkEvent','DhLGT','HsXzB','hubUrl','Hook\x20','RJNil','fMLFo','KEY_TEST_FAILURE_REASON','OtbMM','10XWdvWg','tmJes','URanP','finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20','POST','before(fixture)','runHooks','replace','TestCafeOrphanTimeout','EZIlv','KEY_TEST_DURATION','../instances/testFrameworkInstance.js','1012290JTDNSL','KEY_TEST_NAME','testIdentifier','_sendLifecycleLogs\x20failed:\x20','before_all','format','IMAGE','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown','BtICt','XjSrZ','AFTER_EACH','message','getRef','zOwaU','ipKeS','LHfWX','resolveInstance','\x20target=','28gpyFnQ','./constants/testFrameworkConstants.js','instance','stack','TcrEl','logCreatedEvent','AcKmm','TestCafeTestFramework','KEY_HOOKS_FINISHED','KnvkO','createTestFrameworkEventPayload:\x20','get','_sendHookCbtEvents\x20inner\x20failed:\x20','skipped','getProcessId','rtBMm','OdPqU','eJUFd','afterEach(test)','../modules/testcafeDriverModule.js','tag','trackEvent\x20fan-out\x20','after(fixture)','getCurrentHookState','getTrackedInstance','map','testStartInfo','after_all','setCurrentTestState','getInstance','passed','MVQwg','before','LMJVK','_sendLifecycleLogs','fPyzx','sendLogCreatedEvent\x20failed:\x20','Inxeb','forEach','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','KEY_TEST_FRAMEWORK_NAME','util','aHVGe','jvydy','apRFP','xduou','iterAllInstances','VbQdF','tsZsM','object','fAdaL','jsNIq','\x20hookState=','testUuid','__pendingPlatformIdentifiers','split','testSessionEvent','matchHookRegex','KEY_HOOK_LAST_STARTED','_trackTestCafeInstance','__fixture_','_startedTestUuids','TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','hook_id','base64','screenshotPath','EJFMH','updateMultipleEntries','string','INIT_TEST','../../../helpers/classLogger.js','trackEvent','gKyMk','Qgzon','EEROM','\x20logs\x20for\x20testId=','NONE','finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid=','_deriveFailureType','\x20sessionId=','name','../browserstackCLI.js','ERROR','fixture','getCurrentInstanceName','startsWith','cLlHW','TEST','tags','VDcxy','ZVFEz','rUOgA','toISOString','30610DyTbsM','../../../helpers/helper.js','BEFORE_','BJQym','set','__currentPlatformUuids','wFvMv','tcpLu','info','trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20','KEY_HOOKS_STARTED','KEY_TEST_SCOPE','./testFramework','meta','\x20platformIndex=','dNuDJ','ZCJus','.__platformIdentifiers','BGICS','Yuxwr','VOUrY','NtNVE','_getTestIdentifier','../instances/trackedInstance.js','\x20orphan\x20test_run(s)',':\x20uuid=','uuid','gYgFr','clear','createTestFrameworkEventPayload','getThreadId','match','FpEdH','PGCBr','level','setTrackedInstance','getTestFrameworks','warn','errs','iKAtT','_sendHookCbtEvents','size','yfaXX','failed','46932phRKNT','getTestFrameworksVersions','KEY_TEST_SCREENSHOTS','push','AyUfY','event_ended_at','KEY_HOOK_ID','entries','sendLogCreatedEvent','iYomJ','_sendHookCbtEvents\x20failed:\x20','222851xtRzNn','KEY_TEST_FAILURE_TYPE','DEFAULT_TEST_RESULT','KEY_TEST_FILE_PATH','LlWHI','unknown','UaVIV','FzFfJ','cxIxx','KEY_EVENT_ENDED_AT','_trackTestCafeInstance:\x20contextId=','TEXya','gstlx','KEY_HOOK_RESULT','GAnoe','HOOK_REGEX','zQxKA','PjFEx','\x20completed','beoqK','hEzIw','pid','dfvQL','1047366GbEcWd','ejZGl','uyGgw','getId','AFTER_','setCurrentHookState','Tvmpq','timestamp','KEY_TEST_UUID','platformIndex','hAOQE','mUpyp','1341VXPGtF','addMultipleEntries','arYeM','_trackHookEvent','__pendingPlatformUuids','OdVOt','getState','dmmiy','endsWith','uISwB','debug','delete','LYAwo','toLowerCase','fixtureIdentifier','xNZYU','testRunInfo','LBtfg','jTESh','Lyuwi','OdeVx','xWbJi','KEY_TEST_FRAMEWORK_VERSION','path','KEY_TEST_SCOPES','.__platformUuids','startTime','createContext','KEY_EVENT_STARTED_AT','sYxYg','trackEvent:\x20state=','\x20failed:\x20','vGCmc','Test\x20execution\x20started:\x20','LhdFC','KEY_TEST_LOGS','screenshots','pVWGw','YPnmc'];a98_0x17ac=function(){return _0x210b05;};return a98_0x17ac();}function a98_0xf93b(_0x45d553,_0x6ff371){const _0x17ac21=a98_0x17ac();return a98_0xf93b=function(_0xf93b9e,_0xdbbbc6){_0xf93b9e=_0xf93b9e-0x141;let _0x5a72af=_0x17ac21[_0xf93b9e];return _0x5a72af;},a98_0xf93b(_0x45d553,_0x6ff371);}const TestFramework=require(a98_0x34a247(0x190)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),TestFrameworkInstance=require(a98_0x34a247(0x266)),TrackedInstance=require(a98_0x34a247(0x19b)),TestFrameworkConstants=require(a98_0x34a247(0x27b)),CLIUtils=require('../cliUtils.js'),TestInfo=require(a98_0x34a247(0x21a)),GrpcClient=require(a98_0x34a247(0x224)),{getPlaywrightProvider,getProductForSession}=require(a98_0x34a247(0x185)),{createClassLogger}=require(a98_0x34a247(0x16d)),{v4:uuidv4}=require(a98_0x34a247(0x19e)),util=require(a98_0x34a247(0x150)),logger=createClassLogger(a98_0x34a247(0x281));class TestCafeTestFramework extends TestFramework{constructor(_0x411f99,_0x5718e2,_0x11908c){super(_0x411f99,_0x5718e2,_0x11908c),this['_startedTestUuids']=new Map();}async[a98_0x34a247(0x16e)](_0x42c6e1,_0x2e377a,_0x1e37f0={}){const _0x4e915f=a98_0x34a247,_0x5f40a7={'TcrEl':function(_0xd8d773,_0x3fb855){return _0xd8d773===_0x3fb855;},'rvxkj':function(_0xa6cd11,_0x2f326e){return _0xa6cd11>_0x2f326e;},'uyGgw':_0x4e915f(0x1e2),'FzFfJ':_0x4e915f(0x15d),'PGCBr':function(_0xb5639a,_0x79d4e3){return _0xb5639a<_0x79d4e3;},'YHkjL':function(_0x184eb7){return _0x184eb7();},'KUJlP':function(_0x3d2b0c,_0x163569){return _0x3d2b0c&&_0x163569;},'lDvZS':_0x4e915f(0x189),'BGICS':'__currentPlatformIdentifiers','XjSrZ':function(_0x4452c2,_0x213484){return _0x4452c2<_0x213484;},'dmmiy':function(_0x39ad4e,_0x688e38){return _0x39ad4e===_0x688e38;},'vGCmc':_0x4e915f(0x208),'SyupK':_0x4e915f(0x186),'iYomJ':function(_0x17ec89,_0x3f955d){return _0x17ec89===_0x3f955d;},'aHVGe':_0x4e915f(0x26e),'zOwaU':function(_0x35560f,_0x21c2e4){return _0x35560f===_0x21c2e4;},'lfmRB':function(_0x2640f0,_0x4d15dd){return _0x2640f0===_0x4d15dd;},'sYxYg':function(_0x15a885,_0x20a6d0){return _0x15a885||_0x20a6d0;},'jkidf':function(_0x381a7d,_0x1ea7d7){return _0x381a7d<_0x1ea7d7;},'LBtfg':function(_0x156d42,_0x3a589d){return _0x156d42>_0x3a589d;},'RtVNj':function(_0x499a99,_0x256ccf){return _0x499a99===_0x256ccf;},'VDcxy':function(_0x447cdc,_0x20163c){return _0x447cdc===_0x20163c;}};super[_0x4e915f(0x16e)](_0x42c6e1,_0x2e377a,_0x1e37f0);const _0xe73625=this[_0x4e915f(0x278)](_0x42c6e1,_0x2e377a,_0x1e37f0);if(!_0xe73625){logger[_0x4e915f(0x1e8)](_0x4e915f(0x22a)+_0x42c6e1+'\x20hookState='+_0x2e377a);return;}_0xe73625[_0x4e915f(0x143)](_0x42c6e1),_0xe73625[_0x4e915f(0x1d7)](_0x2e377a),_0x1e37f0[_0x4e915f(0x27c)]=_0xe73625,logger[_0x4e915f(0x1e8)](_0x4e915f(0x1fc)+_0x42c6e1+_0x4e915f(0x15b)+_0x2e377a+'\x20ref='+(_0xe73625[_0x4e915f(0x274)]&&_0xe73625[_0x4e915f(0x274)]()));try{if(_0x5f40a7[_0x4e915f(0x27e)](_0x42c6e1,TestFrameworkState[_0x4e915f(0x17e)])&&_0x5f40a7[_0x4e915f(0x27e)](_0x2e377a,HookState[_0x4e915f(0x244)])){const _0x2927f2=this[_0x4e915f(0x19a)](_0x1e37f0['test'],0x0),_0x29f5dd=Array[_0x4e915f(0x222)](_0x1e37f0[_0x4e915f(0x234)])&&_0x5f40a7[_0x4e915f(0x249)](_0x1e37f0[_0x4e915f(0x234)][_0x4e915f(0x213)],0x0)?_0x1e37f0[_0x4e915f(0x234)]:[''],_0x1ca139=_0xe73625['getData'](_0x5f40a7['uyGgw']),_0x5cf2b9=_0xe73625[_0x4e915f(0x243)](_0x5f40a7['FzFfJ']),_0x34bd1b=Array[_0x4e915f(0x222)](_0x1ca139)&&_0x5f40a7[_0x4e915f(0x27e)](_0x1ca139['length'],_0x29f5dd[_0x4e915f(0x213)]);logger[_0x4e915f(0x18c)](_0x4e915f(0x18d)+_0x29f5dd[_0x4e915f(0x213)]+_0x4e915f(0x245)+_0x34bd1b+')');const _0x5d74d7=[],_0x20ed50=[],_0x5c9445={};for(let _0x22a6a7=0x0;_0x5f40a7['PGCBr'](_0x22a6a7,_0x29f5dd['length']);_0x22a6a7++){const _0xd1d75d=_0x34bd1b?_0x1ca139[_0x22a6a7]:_0x5f40a7['YHkjL'](uuidv4),_0x44c999=_0x5f40a7[_0x4e915f(0x23f)](_0x34bd1b,_0x5cf2b9)&&_0x5cf2b9[_0x22a6a7]?_0x5cf2b9[_0x22a6a7]:_0x2927f2+'#'+_0x22a6a7;_0x5d74d7[_0x4e915f(0x1b3)](_0xd1d75d),_0x20ed50['push'](_0x44c999),_0x5c9445[_0x44c999]=this[_0x4e915f(0x21b)](_0xd1d75d,_0x1e37f0[_0x4e915f(0x208)],_0x1e37f0[_0x4e915f(0x141)]);}_0xe73625[_0x4e915f(0x20e)](_0x5f40a7[_0x4e915f(0x1d4)],null),_0xe73625[_0x4e915f(0x20e)](_0x5f40a7[_0x4e915f(0x1c2)],null),_0xe73625[_0x4e915f(0x20e)](_0x5f40a7[_0x4e915f(0x230)],_0x5d74d7),_0xe73625[_0x4e915f(0x20e)](_0x5f40a7[_0x4e915f(0x196)],_0x20ed50),_0x5c9445[_0x2927f2]=_0x5c9445[_0x20ed50[0x0]],_0xe73625[_0x4e915f(0x1df)](_0x5c9445);const _0x2dd62e={[_0x2927f2+_0x4e915f(0x1f7)]:_0x5d74d7,[_0x2927f2+_0x4e915f(0x195)]:_0x20ed50};_0xe73625[_0x4e915f(0x16a)](_0x2dd62e),_0x1e37f0[_0x4e915f(0x269)]=_0x2927f2,_0x1e37f0['testUuid']=_0x5d74d7[0x0],_0x1e37f0[_0x4e915f(0x1db)]=0x0,_0x1e37f0[_0x4e915f(0x225)]=_0x5d74d7,_0x1e37f0[_0x4e915f(0x214)]=_0x20ed50;const _0x2c7adf=_0x1e37f0[_0x4e915f(0x208)]&&_0x1e37f0['test'][_0x4e915f(0x177)]||'';for(let _0x29bf7d=0x0;_0x5f40a7[_0x4e915f(0x271)](_0x29bf7d,_0x5d74d7[_0x4e915f(0x213)]);_0x29bf7d++){this[_0x4e915f(0x164)][_0x4e915f(0x188)](_0x5d74d7[_0x29bf7d],{'testName':_0x2c7adf,'platformIndex':_0x29bf7d,'testIdentifier':_0x20ed50[_0x29bf7d],'sessionId':null});}}if(_0x5f40a7['TcrEl'](_0x42c6e1,TestFrameworkState['TEST'])&&_0x5f40a7['dmmiy'](_0x2e377a,HookState[_0x4e915f(0x25f)])){const _0x418788=_0x1e37f0['test'],_0x53650a=_0x1e37f0[_0x4e915f(0x1ee)],_0x1681de=this['_getTestIdentifier'](_0x418788,0x0),_0x8489c1=_0xe73625[_0x4e915f(0x246)]()['get'](_0x1681de+_0x4e915f(0x1f7))||[],_0x4c7fa7=_0xe73625[_0x4e915f(0x246)]()[_0x4e915f(0x285)](_0x1681de+_0x4e915f(0x195))||[],_0x5ad088=this[_0x4e915f(0x228)](_0x418788,_0x53650a),_0x2a789c={};for(let _0x1accf6=0x0;_0x5f40a7[_0x4e915f(0x1a5)](_0x1accf6,_0x4c7fa7['length']);_0x1accf6++){const _0x5b403d=_0x4c7fa7[_0x1accf6],_0x6c0721=_0xe73625[_0x4e915f(0x246)]()['get'](_0x5b403d)||{},_0x5bbb4a={..._0x6c0721,..._0x5ad088};_0x2a789c[_0x5b403d]=_0x5bbb4a;}_0x5f40a7['rvxkj'](_0x4c7fa7[_0x4e915f(0x213)],0x0)&&(_0x2a789c[_0x1681de]=_0x2a789c[_0x4c7fa7[0x0]]);_0xe73625['addMultipleEntries'](_0x2a789c),_0x1e37f0[_0x4e915f(0x269)]=_0x1681de,_0x1e37f0['testUuid']=_0x8489c1[0x0]||'',_0x1e37f0['platformIndex']=0x0,_0x1e37f0[_0x4e915f(0x225)]=_0x8489c1,_0x1e37f0[_0x4e915f(0x214)]=_0x4c7fa7,await this[_0x4e915f(0x1b8)](_0xe73625,_0x42c6e1,_0x2e377a,_0x5f40a7['vGCmc'],_0x1e37f0,0x0);for(let _0x5c0914=0x0;_0x5f40a7[_0x4e915f(0x271)](_0x5c0914,_0x8489c1[_0x4e915f(0x213)]);_0x5c0914++){this[_0x4e915f(0x164)][_0x4e915f(0x1e9)](_0x8489c1[_0x5c0914]);}}if(CLIUtils[_0x4e915f(0x160)](_0x42c6e1[_0x4e915f(0x22b)]()[_0x4e915f(0x15e)]('.')[0x1])){const _0x7f858e=await this[_0x4e915f(0x1e1)](_0xe73625,_0x42c6e1,_0x2e377a,_0x1e37f0);Object[_0x4e915f(0x1b7)](_0x7f858e)['forEach'](([_0x4a2c7a,_0xa1f7b6])=>_0xe73625[_0x4e915f(0x1df)]({[_0x4a2c7a]:_0xa1f7b6}));const _0xf1297e=_0x42c6e1['toString']()[_0x4e915f(0x15e)]('.')[0x1];let _0x2e7d30=_0xe73625[_0x4e915f(0x243)](_0x5f40a7[_0x4e915f(0x230)]),_0x36b390=_0xe73625['getData'](_0x5f40a7[_0x4e915f(0x196)]);const _0x26dfab=Array['isArray'](_0x1e37f0['userAgents'])&&_0x5f40a7[_0x4e915f(0x249)](_0x1e37f0[_0x4e915f(0x234)][_0x4e915f(0x213)],0x0)?_0x1e37f0[_0x4e915f(0x234)]:Array['isArray'](_0x2e7d30)?_0x2e7d30:[''];if(_0xf1297e[_0x4e915f(0x17c)](_0x5f40a7['SyupK'])&&_0x5f40a7[_0x4e915f(0x27e)](_0x2e377a,HookState[_0x4e915f(0x244)])){const _0x5c25bf=Array[_0x4e915f(0x222)](_0xe73625['getData'](_0x5f40a7['uyGgw']))&&_0x5f40a7[_0x4e915f(0x1b9)](_0xe73625[_0x4e915f(0x243)](_0x5f40a7[_0x4e915f(0x1d4)])[_0x4e915f(0x213)],_0x26dfab[_0x4e915f(0x213)]);if(!_0x5c25bf){const _0x2ef967=_0x26dfab[_0x4e915f(0x293)](()=>uuidv4()),_0x307f07=_0x26dfab[_0x4e915f(0x293)]((_0xafc8eb,_0x558972)=>_0x4e915f(0x163)+(_0x1e37f0[_0x4e915f(0x1ec)]||_0x4e915f(0x1c0))+'#'+_0x558972);_0xe73625[_0x4e915f(0x20e)](_0x5f40a7['uyGgw'],_0x2ef967),_0xe73625[_0x4e915f(0x20e)](_0x5f40a7[_0x4e915f(0x1c2)],_0x307f07),_0xe73625[_0x4e915f(0x20e)](_0x5f40a7[_0x4e915f(0x230)],_0x2ef967),_0xe73625[_0x4e915f(0x20e)](_0x5f40a7[_0x4e915f(0x196)],_0x307f07),_0x2e7d30=_0x2ef967,_0x36b390=_0x307f07;}else _0x2e7d30=_0xe73625['getData'](_0x5f40a7[_0x4e915f(0x1d4)]),_0x36b390=_0xe73625[_0x4e915f(0x243)](_0x5f40a7['FzFfJ']);}Array['isArray'](_0x2e7d30)&&_0x5f40a7['rvxkj'](_0x2e7d30[_0x4e915f(0x213)],0x0)&&(_0x1e37f0[_0x4e915f(0x15c)]=_0x2e7d30[0x0],_0x1e37f0[_0x4e915f(0x1db)]=0x0,_0x1e37f0[_0x4e915f(0x225)]=_0x2e7d30,_0x1e37f0[_0x4e915f(0x214)]=_0x36b390);}}catch(_0x2e2299){logger[_0x4e915f(0x216)](util[_0x4e915f(0x26c)](_0x5f40a7[_0x4e915f(0x151)],_0x42c6e1,_0x2e377a,_0x2e2299[_0x4e915f(0x27d)]||_0x2e2299));}try{await this[_0x4e915f(0x261)](_0xe73625,_0x42c6e1,_0x2e377a,_0x1e37f0);}catch(_0x1bbf6f){logger[_0x4e915f(0x216)]('trackEvent:\x20runHooks\x20failed\x20—\x20'+(_0x1bbf6f[_0x4e915f(0x27d)]||_0x1bbf6f));}const _0x326013=_0x42c6e1['toString']()[_0x4e915f(0x15e)]('.')[0x1],_0x1facb5=_0x5f40a7[_0x4e915f(0x1e5)](_0x42c6e1,TestFrameworkState[_0x4e915f(0x17e)])&&(_0x5f40a7[_0x4e915f(0x1e5)](_0x2e377a,HookState[_0x4e915f(0x244)])||_0x5f40a7[_0x4e915f(0x275)](_0x2e377a,HookState[_0x4e915f(0x25f)])),_0x3b9ce8=CLIUtils[_0x4e915f(0x160)](_0x326013)&&(_0x5f40a7[_0x4e915f(0x242)](_0x2e377a,HookState[_0x4e915f(0x244)])||_0x5f40a7['zOwaU'](_0x2e377a,HookState[_0x4e915f(0x25f)]));if(_0x5f40a7[_0x4e915f(0x1fb)](_0x1facb5,_0x3b9ce8)){let _0x52c786=[],_0x1fe455=[];if(_0x1facb5){const _0x1eb719=this[_0x4e915f(0x19a)](_0x1e37f0[_0x4e915f(0x208)],0x0);_0x52c786=_0xe73625[_0x4e915f(0x246)]()[_0x4e915f(0x285)](_0x1eb719+_0x4e915f(0x1f7))||[],_0x1fe455=_0xe73625['getAllData']()[_0x4e915f(0x285)](_0x1eb719+_0x4e915f(0x195))||[];}else _0x52c786=Array['isArray'](_0xe73625[_0x4e915f(0x243)](_0x5f40a7[_0x4e915f(0x230)]))?_0xe73625[_0x4e915f(0x243)](_0x5f40a7[_0x4e915f(0x230)]):[],_0x1fe455=Array[_0x4e915f(0x222)](_0xe73625[_0x4e915f(0x243)](_0x5f40a7[_0x4e915f(0x196)]))?_0xe73625[_0x4e915f(0x243)](_0x5f40a7[_0x4e915f(0x196)]):[];logger[_0x4e915f(0x18c)](_0x4e915f(0x219)+_0x326013+'\x20'+_0x2e377a[_0x4e915f(0x22b)]()[_0x4e915f(0x15e)]('.')[0x1]+'\x20fan-out:\x20'+_0x1fe455['length']+_0x4e915f(0x23a)+_0x52c786[_0x4e915f(0x213)]);for(let _0x405f44=0x1;_0x5f40a7[_0x4e915f(0x207)](_0x405f44,_0x52c786['length']);_0x405f44++){const _0x262fc1={..._0x1e37f0};_0x262fc1[_0x4e915f(0x269)]=_0x1fe455[_0x405f44],_0x262fc1[_0x4e915f(0x15c)]=_0x52c786[_0x405f44],_0x262fc1[_0x4e915f(0x1db)]=_0x405f44;const _0x3bf15d=_0x262fc1;try{const _0x42167a=this[_0x4e915f(0x1a1)](_0x3bf15d);_0x42167a&&_0x5f40a7[_0x4e915f(0x1ef)](Object[_0x4e915f(0x221)](_0x42167a)[_0x4e915f(0x213)],0x0)&&(logger[_0x4e915f(0x18c)](_0x4e915f(0x28f)+_0x326013+_0x4e915f(0x217)+_0x405f44+_0x4e915f(0x19d)+_0x42167a[_0x4e915f(0x19e)]+'\x20platform_index='+_0x42167a['platformIndex']),await GrpcClient[_0x4e915f(0x144)]()['testFrameworkEvent'](_0x42167a)),_0x1facb5&&_0x5f40a7[_0x4e915f(0x1b9)](_0x2e377a,HookState[_0x4e915f(0x25f)])&&await this[_0x4e915f(0x1b8)](_0xe73625,_0x42c6e1,_0x2e377a,_0x5f40a7[_0x4e915f(0x1fe)],_0x3bf15d,_0x405f44);}catch(_0x220d26){logger['error'](_0x4e915f(0x28f)+_0x326013+_0x4e915f(0x217)+_0x405f44+_0x4e915f(0x1fd)+(_0x220d26[_0x4e915f(0x27d)]||_0x220d26));}}_0x3b9ce8&&(_0x5f40a7['RtVNj'](_0x2e377a,HookState[_0x4e915f(0x244)])||_0x5f40a7[_0x4e915f(0x180)](_0x2e377a,HookState[_0x4e915f(0x25f)]))&&await this[_0x4e915f(0x1ac)](_0xe73625,_0x326013,_0x2e377a,_0x52c786),await this['_sendLifecycleLogs'](_0xe73625,_0x326013,_0x2e377a,_0x52c786,_0x1fe455,_0x1e37f0);}}async[a98_0x34a247(0x149)](_0xc2b64,_0xb1d591,_0x5d59c4,_0x3f2830,_0x5d7f03,_0x1b2492){const _0x3682d7=a98_0x34a247,_0x8e398a={'iKAtT':function(_0x2fd705,_0x15cce4){return _0x2fd705(_0x15cce4);},'ipKeS':_0x3682d7(0x19e),'UaVIV':function(_0x421da0,_0xde39e6){return _0x421da0===_0xde39e6;},'jvydy':_0x3682d7(0x17e),'fPyzx':function(_0x134ebe,_0x267c1e){return _0x134ebe===_0x267c1e;},'MwBQy':_0x3682d7(0x244),'EJFMH':function(_0x47104e,_0x225ae5){return _0x47104e===_0x225ae5;},'LHfWX':_0x3682d7(0x25f),'DfvAD':'skipped','xSZUz':function(_0x1b7f8f,_0x3a6211){return _0x1b7f8f>_0x3a6211;},'gKyMk':_0x3682d7(0x1af),'tmJes':_0x3682d7(0x145),'zQxKA':_0x3682d7(0x186),'Tvmpq':'BEFORE_ALL','tsZsM':_0x3682d7(0x260),'Yuxwr':'BEFORE_EACH','wFvMv':_0x3682d7(0x24d),'pVWGw':function(_0x1c1805,_0xe42759){return _0x1c1805===_0xe42759;},'ZOxPU':function(_0x360bdd,_0x170493){return _0x360bdd===_0x170493;},'BtICt':_0x3682d7(0x1d6),'cxIxx':_0x3682d7(0x23b),'OdVOt':_0x3682d7(0x290),'uzqwG':_0x3682d7(0x272),'yfaXX':_0x3682d7(0x28c),'ovvhH':function(_0x5f13d4,_0x2ce11c){return _0x5f13d4<_0x2ce11c;},'zPLjS':_0x3682d7(0x18c)};try{const {v4:_0x22c529}=_0x8e398a[_0x3682d7(0x1ab)](require,_0x8e398a[_0x3682d7(0x276)]),_0x565068=_0x5d59c4[_0x3682d7(0x22b)]()[_0x3682d7(0x15e)]('.')[0x1];let _0x91612e='';if(_0x8e398a[_0x3682d7(0x1c1)](_0xb1d591,_0x8e398a[_0x3682d7(0x152)])&&_0x8e398a[_0x3682d7(0x14a)](_0x565068,_0x8e398a[_0x3682d7(0x21f)]))_0x91612e=_0x3682d7(0x1ff)+(_0x1b2492['test']&&_0x1b2492[_0x3682d7(0x208)][_0x3682d7(0x23e)]||'');else{if(_0x8e398a[_0x3682d7(0x169)](_0xb1d591,_0x8e398a[_0x3682d7(0x152)])&&_0x8e398a[_0x3682d7(0x169)](_0x565068,_0x8e398a[_0x3682d7(0x277)])){const _0x4180ca=_0x1b2492[_0x3682d7(0x1ee)]&&Array['isArray'](_0x1b2492['testRunInfo'][_0x3682d7(0x1aa)])?_0x1b2492[_0x3682d7(0x1ee)][_0x3682d7(0x1aa)]:[],_0x125bc8=_0x1b2492[_0x3682d7(0x1ee)]&&_0x1b2492['testRunInfo'][_0x3682d7(0x287)]?_0x8e398a['DfvAD']:_0x8e398a['xSZUz'](_0x4180ca[_0x3682d7(0x213)],0x0)?_0x8e398a[_0x3682d7(0x16f)]:_0x8e398a[_0x3682d7(0x25c)];_0x91612e='Test\x20execution\x20finished\x20—\x20result:\x20'+_0x125bc8;}else{if(_0xb1d591[_0x3682d7(0x17c)](_0x8e398a['zQxKA'])&&_0x8e398a[_0x3682d7(0x1c1)](_0x565068,_0x8e398a[_0x3682d7(0x21f)])){const _0xe114b=_0x8e398a[_0x3682d7(0x14a)](_0xb1d591,_0x8e398a[_0x3682d7(0x1d8)])?_0x8e398a['tsZsM']:_0x8e398a[_0x3682d7(0x1c1)](_0xb1d591,_0x8e398a[_0x3682d7(0x197)])?_0x8e398a[_0x3682d7(0x18a)]:_0xb1d591[_0x3682d7(0x1eb)]();_0x91612e=_0x3682d7(0x256)+_0xe114b+'\x20started';}else{if(_0xb1d591['startsWith'](_0x8e398a[_0x3682d7(0x1cb)])&&_0x8e398a[_0x3682d7(0x1c1)](_0x565068,_0x8e398a['LHfWX'])){const _0x352263=_0x8e398a['pVWGw'](_0xb1d591,_0x8e398a[_0x3682d7(0x1d8)])?_0x8e398a[_0x3682d7(0x157)]:_0x8e398a[_0x3682d7(0x205)](_0xb1d591,_0x8e398a[_0x3682d7(0x197)])?_0x8e398a['wFvMv']:_0xb1d591['toLowerCase']();_0x91612e=_0x3682d7(0x256)+_0x352263+_0x3682d7(0x1cd);}else{if(_0xb1d591[_0x3682d7(0x17c)](_0x8e398a[_0x3682d7(0x270)])&&_0x8e398a[_0x3682d7(0x203)](_0x565068,_0x8e398a[_0x3682d7(0x21f)])){const _0xc3dfc2=_0x8e398a[_0x3682d7(0x14a)](_0xb1d591,_0x8e398a[_0x3682d7(0x1c3)])?_0x8e398a[_0x3682d7(0x1e3)]:_0x8e398a[_0x3682d7(0x203)](_0xb1d591,_0x8e398a[_0x3682d7(0x24a)])?_0x8e398a[_0x3682d7(0x1ae)]:_0xb1d591['toLowerCase']();_0x91612e=_0x3682d7(0x256)+_0xc3dfc2+'\x20started';}else{if(_0xb1d591[_0x3682d7(0x17c)](_0x8e398a[_0x3682d7(0x270)])&&_0x8e398a[_0x3682d7(0x14a)](_0x565068,_0x8e398a[_0x3682d7(0x277)])){const _0x189fb2=_0x8e398a[_0x3682d7(0x1c1)](_0xb1d591,_0x8e398a['cxIxx'])?_0x8e398a[_0x3682d7(0x1e3)]:_0x8e398a[_0x3682d7(0x203)](_0xb1d591,_0x8e398a['uzqwG'])?_0x8e398a[_0x3682d7(0x1ae)]:_0xb1d591[_0x3682d7(0x1eb)]();_0x91612e=_0x3682d7(0x256)+_0x189fb2+'\x20completed';}else return;}}}}}const _0x492ed0=new Date()['toISOString'](),_0x1cc215=_0xb1d591[_0x3682d7(0x17c)](_0x8e398a[_0x3682d7(0x1cb)])||_0xb1d591[_0x3682d7(0x17c)](_0x8e398a[_0x3682d7(0x270)]);let _0x26e9b3='';if(_0x1cc215){const _0x585bae=_0xc2b64[_0x3682d7(0x246)]()['get'](TestFrameworkConstants['KEY_HOOK_LAST_STARTED'])||{};_0x26e9b3=_0x585bae[_0xb1d591]||'';}for(let _0x189555=0x0;_0x8e398a['ovvhH'](_0x189555,_0x3f2830[_0x3682d7(0x213)]);_0x189555++){const _0x67897c=_0x1cc215?_0x26e9b3:_0x3f2830[_0x189555];if(!_0x67897c)continue;const _0x3b81ef={};_0x3b81ef['uuid']=_0x67897c,_0x3b81ef['test_run_uuid']=_0x3f2830[_0x189555],_0x3b81ef[_0x3682d7(0x1d9)]=_0x492ed0,_0x3b81ef[_0x3682d7(0x273)]=_0x91612e,_0x3b81ef[_0x3682d7(0x20c)]=TestFrameworkConstants['KIND_LOG'],_0x3b81ef[_0x3682d7(0x1a6)]=_0x8e398a['zPLjS'];const _0x435239=_0x3b81ef,_0x5682b2={'platformIndex':_0x189555,'logs':[_0x435239],'testFrameworkName':this['getTestFrameworks']()[0x0],'testFrameworkVersion':this[_0x3682d7(0x1b1)]()[this[_0x3682d7(0x1a8)]()[0x0]]||'','testFrameworkState':_0xb1d591};try{await GrpcClient['getInstance']()[_0x3682d7(0x27f)](_0x5682b2);}catch(_0x4703c0){logger[_0x3682d7(0x1e8)]('_sendLifecycleLogs\x20pi='+_0x189555+':\x20'+(_0x4703c0[_0x3682d7(0x273)]||_0x4703c0));}}}catch(_0x1cbbae){logger[_0x3682d7(0x1e8)](_0x3682d7(0x26a)+(_0x1cbbae[_0x3682d7(0x273)]||_0x1cbbae));}}async[a98_0x34a247(0x1ac)](_0x13d0b5,_0x440acd,_0x26da4f,_0x360a2f){const _0x4ae6a0=a98_0x34a247,_0x2ba1a1={'ufQHs':function(_0x3f67ba,_0x3e1cfc){return _0x3f67ba(_0x3e1cfc);},'Aqbox':_0x4ae6a0(0x178),'hEzIw':_0x4ae6a0(0x21c),'uVswJ':_0x4ae6a0(0x28d),'dNuDJ':function(_0x2ade3f,_0x22a5ac){return _0x2ade3f(_0x22a5ac);},'GPtFv':'./automationFramework.js','xWbJi':function(_0x8630ae,_0x27cab3){return _0x8630ae===_0x27cab3;},'HsXzB':_0x4ae6a0(0x158),'jsNIq':function(_0x12c927,_0x1e7206){return _0x12c927>_0x1e7206;},'Cddze':'base64','GEagJ':_0x4ae6a0(0x23d),'VbQdF':'TestCafe','fMLFo':function(_0x3aa582){return _0x3aa582();}};try{const _0x58e959=_0x2ba1a1[_0x4ae6a0(0x248)](require,_0x2ba1a1['Aqbox']),_0x190427=_0x2ba1a1[_0x4ae6a0(0x248)](require,_0x2ba1a1[_0x4ae6a0(0x1cf)]),_0x58fc62=_0x58e959[_0x4ae6a0(0x144)](),_0x4a4f93=_0x58fc62[_0x4ae6a0(0x20a)]()?.[_0x4ae6a0(0x255)]||'',_0x2c56e3=_0x13d0b5[_0x4ae6a0(0x24c)](),_0x4be103={'hash':_0x2c56e3['getId'](),'threadId':_0x2c56e3['getThreadId']()[_0x4ae6a0(0x22b)](),'processId':_0x2c56e3['getProcessId']()[_0x4ae6a0(0x22b)]()};for(const {platformIndex:_0xae000d,instance:_0x2ad1b5}of _0x190427[_0x4ae6a0(0x155)]()){try{const _0x3588f2=_0x360a2f[_0xae000d]||_0x360a2f[0x0]||'';if(!_0x3588f2)continue;const _0x389724=_0x2ba1a1[_0x4ae6a0(0x248)](require,_0x2ba1a1[_0x4ae6a0(0x223)]),_0x8716c3=_0x2ba1a1['dNuDJ'](require,_0x2ba1a1['GPtFv']),_0xc54efe=_0x8716c3[_0x4ae6a0(0x1e4)](_0x2ad1b5,_0x389724['KEY_SESSION_ID'],'')||'',_0x417250=_0x8716c3[_0x4ae6a0(0x1e4)](_0x2ad1b5,_0x389724[_0x4ae6a0(0x229)],{})||{},_0x4ac129=_0x8716c3['getState'](_0x2ad1b5,_0x389724['KEY_HUB_URL'],'')||_0x4a4f93,_0x522812=_0x417250&&_0x2ba1a1[_0x4ae6a0(0x1f3)](typeof _0x417250,_0x2ba1a1[_0x4ae6a0(0x254)])?Object[_0x4ae6a0(0x221)](_0x417250)[_0x4ae6a0(0x213)]:0x0,_0x46d737=Buffer[_0x4ae6a0(0x237)](JSON[_0x4ae6a0(0x24e)](_0x2ba1a1[_0x4ae6a0(0x15a)](_0x522812,0x0)?_0x417250:{}))[_0x4ae6a0(0x22b)](_0x2ba1a1[_0x4ae6a0(0x21e)]),_0x846cfa={'platformIndex':_0xae000d,'testFrameworkName':this[_0x4ae6a0(0x1a8)]()[0x0]||_0x2ba1a1[_0x4ae6a0(0x220)],'testFrameworkVersion':this['getTestFrameworksVersions']()[this[_0x4ae6a0(0x1a8)]()[0x0]]||'','testFrameworkState':_0x440acd,'testHookState':_0x26da4f[_0x4ae6a0(0x22b)]()['split']('.')[0x1],'testUuid':_0x3588f2,'automationSession':{'provider':_0x2ba1a1[_0x4ae6a0(0x193)](getPlaywrightProvider,_0x4ac129),'frameworkName':_0x2ba1a1[_0x4ae6a0(0x156)],'frameworkVersion':'','frameworkSessionId':_0xc54efe,'ref':_0x2ad1b5[_0x4ae6a0(0x274)](),'hubUrl':_0x4ac129,'product':_0x2ba1a1[_0x4ae6a0(0x258)](getProductForSession)},'capabilities':_0x46d737,'executionContext':_0x4be103};logger[_0x4ae6a0(0x1e8)]('_sendHookCbtEvents:\x20'+_0x440acd+'\x20'+_0x26da4f+_0x4ae6a0(0x217)+_0xae000d+'\x20testUuid='+_0x3588f2+_0x4ae6a0(0x176)+_0xc54efe),await GrpcClient['getInstance']()[_0x4ae6a0(0x15f)](_0x846cfa);}catch(_0x3e59ea){logger['debug'](_0x4ae6a0(0x286)+(_0x3e59ea[_0x4ae6a0(0x273)]||_0x3e59ea));}}}catch(_0x51e0c9){logger[_0x4ae6a0(0x1e8)](_0x4ae6a0(0x1ba)+(_0x51e0c9[_0x4ae6a0(0x273)]||_0x51e0c9));}}async[a98_0x34a247(0x212)](){const _0x57a605=a98_0x34a247,_0x37f3fd={'arYeM':function(_0x301f12,_0x57caaf){return _0x301f12===_0x57caaf;},'OdeVx':'finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','LYAwo':_0x57a605(0x1af),'LhdFC':_0x57a605(0x263),'ZVFEz':_0x57a605(0x165),'nzmDu':_0x57a605(0x167),'LMJVK':function(_0x59e902,_0x46f64e){return _0x59e902(_0x46f64e);}};if(!this[_0x57a605(0x164)]||_0x37f3fd[_0x57a605(0x1e0)](this[_0x57a605(0x164)][_0x57a605(0x1ad)],0x0)){logger[_0x57a605(0x18c)](_0x37f3fd[_0x57a605(0x1f2)]);return;}const _0x3c4a9e=Array[_0x57a605(0x237)](this[_0x57a605(0x164)][_0x57a605(0x1b7)]());logger[_0x57a605(0x1a9)](_0x57a605(0x14e)+_0x3c4a9e[_0x57a605(0x213)]+_0x57a605(0x19c));const _0x89eed0=TestFrameworkState[_0x57a605(0x17e)]['toString']()['split']('.')[0x1],_0x5543f7=HookState[_0x57a605(0x25f)][_0x57a605(0x22b)]()[_0x57a605(0x15e)]('.')[0x1],_0x5e0707=new Date()[_0x57a605(0x183)]();for(const [_0x301924,_0x4d80c8]of _0x3c4a9e){const _0x28aa69={[TestFrameworkConstants[_0x57a605(0x14f)]]:this[_0x57a605(0x1a8)]()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x57a605(0x1b1)]()[this[_0x57a605(0x1a8)]()[0x0]]||'',[TestFrameworkConstants[_0x57a605(0x1da)]]:_0x301924,[TestFrameworkConstants[_0x57a605(0x268)]]:_0x4d80c8[_0x57a605(0x23e)]||'(orphan\x20test\x20'+_0x301924+')',[TestFrameworkConstants[_0x57a605(0x250)]]:_0x37f3fd[_0x57a605(0x1ea)],[TestFrameworkConstants[_0x57a605(0x24b)]]:[{'type':_0x37f3fd[_0x57a605(0x200)],'message':_0x37f3fd[_0x57a605(0x181)],'stack':''}],[TestFrameworkConstants[_0x57a605(0x1bc)]]:_0x37f3fd['LhdFC'],[TestFrameworkConstants[_0x57a605(0x239)]]:_0x5e0707,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5e0707,[TestFrameworkConstants[_0x57a605(0x282)]]:{},[TestFrameworkConstants[_0x57a605(0x18e)]]:{}},_0x541a96=Buffer['from'](JSON[_0x57a605(0x24e)](_0x28aa69))[_0x57a605(0x22b)](_0x37f3fd['nzmDu']),_0x18c5aa={'platformIndex':_0x4d80c8[_0x57a605(0x1db)]||0x0,'testFrameworkName':this[_0x57a605(0x1a8)]()[0x0],'testFrameworkVersion':this[_0x57a605(0x1b1)]()[this[_0x57a605(0x1a8)]()[0x0]]||'','testFrameworkState':_0x89eed0,'hookState':_0x5543f7,'startedAt':_0x5e0707,'endedAt':_0x5e0707,'uuid':_0x37f3fd[_0x57a605(0x148)](String,_0x301924),'eventJson':_0x541a96,'executionContext':{'hash':'','threadId':'0','processId':_0x37f3fd['LMJVK'](String,process[_0x57a605(0x1d0)])},'test_identifier':_0x4d80c8[_0x57a605(0x269)]||''};try{logger['info'](_0x57a605(0x174)+_0x301924+_0x57a605(0x192)+_0x4d80c8[_0x57a605(0x1db)]+'\x20testName='+_0x4d80c8[_0x57a605(0x23e)]),await GrpcClient[_0x57a605(0x144)]()[_0x57a605(0x252)](_0x18c5aa);}catch(_0x29e6b3){logger[_0x57a605(0x1a9)](_0x57a605(0x25e)+_0x301924+':\x20'+(_0x29e6b3[_0x57a605(0x273)]||_0x29e6b3));}}this[_0x57a605(0x164)][_0x57a605(0x1a0)]();}[a98_0x34a247(0x278)](_0x12c020,_0x39ddcd,_0x5321f5={}){const _0x46adc2=a98_0x34a247,_0xed924b={};_0xed924b['JpTQB']=function(_0x3c5cef,_0x37450a){return _0x3c5cef===_0x37450a;},_0xed924b['uISwB']=function(_0x19437b,_0x5f115a){return _0x19437b===_0x5f115a;};const _0x41db77=_0xed924b;return(_0x41db77['JpTQB'](_0x12c020,TestFrameworkState[_0x46adc2(0x16c)])||_0x41db77[_0x46adc2(0x1e7)](_0x12c020,TestFrameworkState['NONE']))&&this[_0x46adc2(0x162)](_0x12c020,_0x5321f5),TestFramework[_0x46adc2(0x292)]()||this[_0x46adc2(0x20f)](_0x12c020);}['_trackTestCafeInstance'](_0x5eec81,_0x4874b6){const _0x475ad4=a98_0x34a247,_0x8899f2=CLIUtils[_0x475ad4(0x17b)](),_0x11f7c7=TrackedInstance[_0x475ad4(0x1f9)](_0x8899f2),_0x4c9d69=new TestFrameworkInstance(_0x11f7c7,this[_0x475ad4(0x1a8)](),this[_0x475ad4(0x1b1)](),_0x5eec81,HookState[_0x475ad4(0x173)]);TestFramework[_0x475ad4(0x1a7)](_0x11f7c7,_0x4c9d69),logger['info'](_0x475ad4(0x1c5)+_0x11f7c7[_0x475ad4(0x1d5)]()+_0x475ad4(0x279)+_0x8899f2+'\x20state='+_0x5eec81);}[a98_0x34a247(0x20f)](_0x4bc522){const _0x15b306=a98_0x34a247;return this[_0x15b306(0x162)](_0x4bc522,{}),TestFramework[_0x15b306(0x292)]();}[a98_0x34a247(0x1a1)](_0x15545b){const _0x554b1b=a98_0x34a247,_0x4a61df={'RJNil':function(_0x31bfc5,_0x3c309f){return _0x31bfc5>_0x3c309f;},'DhLGT':function(_0x38857a,_0x1cb04b){return _0x38857a-_0x1cb04b;},'KnvkO':function(_0x36e39f,_0x154acc){return _0x36e39f===_0x154acc;},'FpEdH':_0x554b1b(0x158),'hAOQE':_0x554b1b(0x1f7),'SPoTo':_0x554b1b(0x195),'EEROM':function(_0x3640a3,_0x2e915e){return _0x3640a3||_0x2e915e;},'gQRYk':function(_0x4a0ca5,_0x2ff4f9){return _0x4a0ca5===_0x2ff4f9;},'Qgzon':_0x554b1b(0x25f),'gYgFr':_0x554b1b(0x145),'URanP':function(_0x5c5d00,_0x2f24ed){return _0x5c5d00(_0x2f24ed);},'jTESh':function(_0x3533ee,_0x1b1a3f){return _0x3533ee||_0x1b1a3f;},'xUWoZ':function(_0x54b3b0,_0x3d7c7d){return _0x54b3b0(_0x3d7c7d);},'fAdaL':function(_0x1454e2,_0x24afe1){return _0x1454e2(_0x24afe1);},'VOUrY':_0x554b1b(0x167),'MVQwg':function(_0x232750,_0x460f6b){return _0x232750(_0x460f6b);}};try{const _0x641618=_0x15545b[_0x554b1b(0x27c)];if(!_0x641618)return{};const _0x1cf56f=_0x641618[_0x554b1b(0x24c)](),_0x4bab37=_0x641618['getCurrentTestState']()[_0x554b1b(0x22b)]()[_0x554b1b(0x15e)]('.')[0x1],_0xba4afb=_0x641618[_0x554b1b(0x291)]()['toString']()[_0x554b1b(0x15e)]('.')[0x1],_0x26ec4c=Number[_0x554b1b(0x227)](_0x15545b[_0x554b1b(0x1db)])?_0x15545b[_0x554b1b(0x1db)]:0x0,_0x538f18={'hash':_0x1cf56f['getId'](),'threadId':_0x1cf56f[_0x554b1b(0x1a2)]()['toString'](),'processId':_0x1cf56f[_0x554b1b(0x288)]()[_0x554b1b(0x22b)]()};if(TestFrameworkConstants[_0x554b1b(0x1ca)]&&new RegExp(TestFrameworkConstants[_0x554b1b(0x1ca)])[_0x554b1b(0x208)](_0x4bab37)){const _0x2b1fa7=_0x4bab37,_0x16948d=_0x641618['getAllData'](),_0x2fa840=(_0x16948d[_0x554b1b(0x285)](TestFrameworkConstants[_0x554b1b(0x18e)])||{})[_0x2b1fa7],_0x116090=(_0x16948d[_0x554b1b(0x285)](TestFrameworkConstants[_0x554b1b(0x282)])||{})[_0x2b1fa7],_0xde8e0a=Array[_0x554b1b(0x222)](_0x2fa840)&&_0x4a61df[_0x554b1b(0x257)](_0x2fa840[_0x554b1b(0x213)],0x0)?_0x2fa840[_0x4a61df['DhLGT'](_0x2fa840['length'],0x1)]:null,_0x5c371b=Array[_0x554b1b(0x222)](_0x116090)&&_0x4a61df['RJNil'](_0x116090['length'],0x0)?_0x116090[_0x4a61df[_0x554b1b(0x253)](_0x116090[_0x554b1b(0x213)],0x1)]:null,_0x3941d8=_0xde8e0a&&_0xde8e0a['event_started_at']||'',_0x48918a=_0x5c371b&&_0x5c371b[_0x554b1b(0x1b5)]||'',_0xe34a7a=_0xde8e0a&&_0xde8e0a['hook_id']||_0x5c371b&&_0x5c371b['hook_id']||_0x2b1fa7+':'+_0x1cf56f['getId'](),_0x777d2e=_0x15545b['fixture']||{},_0x15f7b=_0x777d2e&&_0x777d2e[_0x554b1b(0x1f5)]||'',_0x3e1f9a=_0x777d2e&&_0x777d2e[_0x554b1b(0x177)]||'';let _0x30f8d2=null;for(const [_0x135e63,_0x23f459]of _0x16948d[_0x554b1b(0x1b7)]()){if(_0x23f459&&_0x4a61df[_0x554b1b(0x283)](typeof _0x23f459,_0x4a61df[_0x554b1b(0x1a4)])&&_0x23f459[TestFrameworkConstants['KEY_TEST_NAME']]&&!_0x135e63[_0x554b1b(0x1e6)](_0x4a61df[_0x554b1b(0x1dc)])&&!_0x135e63[_0x554b1b(0x1e6)](_0x4a61df[_0x554b1b(0x211)])){_0x30f8d2=_0x23f459;break;}}const _0x11f662=_0x30f8d2&&_0x30f8d2[TestFrameworkConstants[_0x554b1b(0x268)]]||_0x3e1f9a||_0x2b1fa7,_0x28dc74=_0x30f8d2&&_0x30f8d2[TestFrameworkConstants['KEY_TEST_LOCATION']]||_0x15f7b||'',_0x3f486a={[TestFrameworkConstants[_0x554b1b(0x1da)]]:_0x15545b[_0x554b1b(0x15c)]||'',[TestFrameworkConstants[_0x554b1b(0x268)]]:_0x11f662,[TestFrameworkConstants[_0x554b1b(0x206)]]:_0x28dc74,[TestFrameworkConstants[_0x554b1b(0x1be)]]:_0x28dc74,[TestFrameworkConstants[_0x554b1b(0x18f)]]:_0x4a61df[_0x554b1b(0x171)](_0x3e1f9a,_0x11f662),[TestFrameworkConstants[_0x554b1b(0x1f6)]]:_0x3e1f9a?[_0x3e1f9a]:[],[TestFrameworkConstants[_0x554b1b(0x22d)]]:_0x2b1fa7,[TestFrameworkConstants['KEY_HOOK_ID']]:_0xe34a7a,[TestFrameworkConstants[_0x554b1b(0x1c8)]]:_0x4a61df['gQRYk'](_0xba4afb,_0x4a61df[_0x554b1b(0x170)])?_0x4a61df[_0x554b1b(0x19f)]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x554b1b(0x1fa)]]:_0x3941d8,[TestFrameworkConstants[_0x554b1b(0x1c4)]]:_0x48918a,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x554b1b(0x1a8)]()[0x0],[TestFrameworkConstants[_0x554b1b(0x1f4)]]:this[_0x554b1b(0x1b1)]()[this[_0x554b1b(0x1a8)]()[0x0]]||'',[TestFrameworkConstants[_0x554b1b(0x18e)]]:_0x16948d[_0x554b1b(0x285)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{},[TestFrameworkConstants[_0x554b1b(0x282)]]:_0x16948d[_0x554b1b(0x285)](TestFrameworkConstants[_0x554b1b(0x282)])||{}};return{'platformIndex':_0x26ec4c,'testFrameworkName':this[_0x554b1b(0x1a8)]()[0x0],'testFrameworkVersion':this[_0x554b1b(0x1b1)]()[this[_0x554b1b(0x1a8)]()[0x0]]||'','testFrameworkState':_0x4bab37,'hookState':_0xba4afb,'startedAt':_0x4a61df[_0x554b1b(0x25d)](String,_0x4a61df[_0x554b1b(0x1f0)](_0x3941d8,'')),'endedAt':_0x4a61df[_0x554b1b(0x210)](String,_0x4a61df[_0x554b1b(0x1f0)](_0x48918a,'')),'uuid':_0x4a61df[_0x554b1b(0x159)](String,_0xe34a7a),'eventJson':Buffer[_0x554b1b(0x237)](JSON['stringify'](_0x3f486a))[_0x554b1b(0x22b)](_0x4a61df[_0x554b1b(0x198)]),'executionContext':_0x538f18,'test_identifier':_0x3f486a[TestFrameworkConstants[_0x554b1b(0x1b6)]]};}const _0x372a70=_0x15545b['testIdentifier']||_0x15545b[_0x554b1b(0x208)]&&this[_0x554b1b(0x19a)](_0x15545b['test'],0x0)||null,_0x52352c=_0x372a70&&_0x641618['getAllData']()[_0x554b1b(0x285)](_0x372a70)||{},_0x389976=_0x641618['getAllData'](),_0x6f36d3={..._0x52352c,[TestFrameworkConstants[_0x554b1b(0x18e)]]:_0x389976[_0x554b1b(0x285)](TestFrameworkConstants[_0x554b1b(0x18e)])||_0x52352c[TestFrameworkConstants[_0x554b1b(0x18e)]]||{},[TestFrameworkConstants[_0x554b1b(0x282)]]:_0x389976[_0x554b1b(0x285)](TestFrameworkConstants['KEY_HOOKS_FINISHED'])||_0x52352c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{}},{[TestFrameworkConstants[_0x554b1b(0x14f)]]:_0x15e4f4=this[_0x554b1b(0x1a8)]()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2984d6='',[TestFrameworkConstants[_0x554b1b(0x239)]]:_0x3a8e08='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3406fa=''}=_0x6f36d3,_0x5c9cb4=_0x15545b[_0x554b1b(0x15c)]||_0x6f36d3[TestFrameworkConstants[_0x554b1b(0x1da)]]||_0x641618[_0x554b1b(0x274)](),_0xc637dd=Buffer[_0x554b1b(0x237)](JSON[_0x554b1b(0x24e)](_0x6f36d3))[_0x554b1b(0x22b)](_0x4a61df[_0x554b1b(0x198)]);return{'platformIndex':_0x26ec4c,'testFrameworkName':_0x15e4f4,'testFrameworkVersion':_0x2984d6,'testFrameworkState':_0x4bab37,'hookState':_0xba4afb,'startedAt':_0x3a8e08?_0x4a61df[_0x554b1b(0x25d)](String,_0x3a8e08):'','endedAt':_0x3406fa?_0x4a61df['URanP'](String,_0x3406fa):'','uuid':_0x4a61df[_0x554b1b(0x146)](String,_0x4a61df[_0x554b1b(0x171)](_0x5c9cb4,'')),'eventJson':_0xc637dd,'executionContext':_0x538f18,'test_identifier':_0x372a70};}catch(_0x338425){return logger[_0x554b1b(0x216)](_0x554b1b(0x284)+(_0x338425[_0x554b1b(0x27d)]||_0x338425)),{};}}async[a98_0x34a247(0x1b8)](_0xd96318,_0x1705b0,_0xd9b823,_0x45ccee,_0xd94dbe,_0x5519b5){const _0x233410=a98_0x34a247,_0x5e923e={'TEXya':function(_0x268d7d){return _0x268d7d();},'Inxeb':_0x233410(0x26d),'PjFEx':function(_0x26ca98){return _0x26ca98();},'OdPqU':_0x233410(0x179),'apRFP':'sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','BJQym':function(_0x25ac7e,_0x39dfe7){return _0x25ac7e===_0x39dfe7;}};try{const _0x238e84=_0xd94dbe['testIdentifier']||_0xd94dbe[_0x233410(0x208)]&&this[_0x233410(0x19a)](_0xd94dbe[_0x233410(0x208)],0x0);if(!_0x238e84){logger[_0x233410(0x1e8)](_0x5e923e[_0x233410(0x153)]);return;}const _0x35b56b=_0xd96318[_0x233410(0x246)]()[_0x233410(0x285)](_0x238e84)||{},_0x3a436c=_0x35b56b[TestFrameworkConstants['KEY_TEST_UUID']],_0x173061=_0x35b56b[TestFrameworkConstants[_0x233410(0x1b2)]]||[],_0x526b3b=_0x35b56b[TestFrameworkConstants[_0x233410(0x24b)]]||[],_0x53a46b=[];_0x173061[_0x233410(0x14d)](_0x4bb55d=>{const _0x82bc3a=_0x233410;_0x53a46b[_0x82bc3a(0x1b3)]({'uuid':_0x5e923e[_0x82bc3a(0x1c6)](uuidv4),'test_run_uuid':_0x3a436c,'timestamp':new Date()['toISOString'](),'message':'','attachment_url':_0x4bb55d,'attachment_type':_0x5e923e[_0x82bc3a(0x14c)]});});Array[_0x233410(0x222)](_0x526b3b)&&_0x526b3b[_0x233410(0x14d)](_0xd397a=>{const _0x4b2ec3=_0x233410;_0x53a46b[_0x4b2ec3(0x1b3)]({'uuid':_0x5e923e[_0x4b2ec3(0x1cc)](uuidv4),'test_run_uuid':_0x3a436c,'timestamp':new Date()[_0x4b2ec3(0x183)](),'message':_0xd397a[_0x4b2ec3(0x273)]||'','stack_trace':_0xd397a[_0x4b2ec3(0x27d)]||'','level':_0x5e923e[_0x4b2ec3(0x28a)]});});if(_0x5e923e[_0x233410(0x187)](_0x53a46b[_0x233410(0x213)],0x0)){logger[_0x233410(0x1e8)](_0x233410(0x215)+_0x238e84);return;}const _0x4d5957=_0x35b56b[TestFrameworkConstants[_0x233410(0x14f)]]||this[_0x233410(0x1a8)]()[0x0],_0xe57f9d=_0x35b56b[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||'',_0x14ecbe={'platformIndex':Number['isInteger'](_0x5519b5)?_0x5519b5:Number[_0x233410(0x227)](_0xd94dbe[_0x233410(0x1db)])?_0xd94dbe[_0x233410(0x1db)]:0x0,'logs':_0x53a46b,'testFrameworkName':_0x4d5957,'testFrameworkVersion':_0xe57f9d,'testFrameworkState':_0x1705b0[_0x233410(0x22b)]()[_0x233410(0x15e)]('.')[0x1]};logger[_0x233410(0x1e8)]('sendLogCreatedEvent:\x20emitting\x20'+_0x53a46b['length']+_0x233410(0x172)+_0x238e84),await GrpcClient[_0x233410(0x144)]()['logCreatedEvent'](_0x14ecbe);}catch(_0xb2340c){logger[_0x233410(0x216)](_0x233410(0x14b)+(_0xb2340c[_0x233410(0x27d)]||_0xb2340c));}}['_getTestIdentifier'](_0x55b214,_0x11993f){const _0x9552bd=a98_0x34a247,_0x5ade5f={'POWWX':function(_0x117ac9){return _0x117ac9();},'YPnmc':_0x9552bd(0x1c0)};if(!_0x55b214)return'unknown::'+_0x5ade5f['POWWX'](uuidv4);const _0x22cf5e=_0x55b214[_0x9552bd(0x17a)]&&_0x55b214[_0x9552bd(0x17a)][_0x9552bd(0x1f5)]||_0x5ade5f['YPnmc'],_0x464c8b=_0x55b214[_0x9552bd(0x17a)]&&_0x55b214['fixture']['name']||_0x5ade5f[_0x9552bd(0x204)],_0x13eda6=_0x55b214[_0x9552bd(0x177)]||_0x5ade5f['YPnmc'],_0x456fdd=_0x22cf5e+'::'+_0x464c8b+'::'+_0x13eda6;return _0x11993f?_0x456fdd+'::retry'+_0x11993f:_0x456fdd;}[a98_0x34a247(0x21b)](_0x1c8dad,_0x59302a,_0x7757e3){const _0x318635=a98_0x34a247,_0xa473ff=_0x59302a&&_0x59302a['fixture']&&_0x59302a[_0x318635(0x17a)][_0x318635(0x1f5)]||'',_0x3864f0=_0x59302a&&_0x59302a['fixture']&&_0x59302a['fixture']['name']||'',_0x547f37=_0x59302a&&_0x59302a['name']||'',_0x13072b=this[_0x318635(0x1a8)]()[0x0];return{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x13072b,[TestFrameworkConstants[_0x318635(0x1f4)]]:this[_0x318635(0x1b1)]()[_0x13072b],[TestFrameworkConstants[_0x318635(0x1da)]]:_0x1c8dad,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x547f37,[TestFrameworkConstants[_0x318635(0x1be)]]:_0xa473ff,[TestFrameworkConstants[_0x318635(0x206)]]:_0xa473ff,[TestFrameworkConstants[_0x318635(0x18f)]]:_0x3864f0,[TestFrameworkConstants[_0x318635(0x1f6)]]:[_0x3864f0],[TestFrameworkConstants['KEY_TEST_TAGS']]:this['_extractTestTags'](_0x59302a),[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x318635(0x1bd)],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x7757e3?_0x7757e3[_0x318635(0x1f8)]:new Date()[_0x318635(0x183)](),[TestFrameworkConstants[_0x318635(0x201)]]:[],[TestFrameworkConstants[_0x318635(0x282)]]:{},[TestFrameworkConstants[_0x318635(0x18e)]]:{}};}['_extractTestTags'](_0x58fa4b){const _0x43690c=a98_0x34a247,_0x2efd10={'XxkxW':function(_0x8be3f,_0x354c48){return _0x8be3f==_0x354c48;},'ZCJus':function(_0x315bad,_0x12ae66){return _0x315bad(_0x12ae66);},'OtbMM':function(_0x40b57b,_0x1dc491){return _0x40b57b>_0x1dc491;},'Lyuwi':function(_0x47b488,_0x576263){return _0x47b488===_0x576263;},'rUOgA':'object','AyUfY':function(_0x24d1ae,_0x58c1d0){return _0x24d1ae in _0x58c1d0;},'mUpyp':_0x43690c(0x28e),'rGXvt':function(_0x15927f,_0x506eaa){return _0x15927f(_0x506eaa);},'pYOex':function(_0x6bd26c,_0x35e8f1){return _0x6bd26c in _0x35e8f1;},'cLlHW':_0x43690c(0x17f),'EHgZI':function(_0x3892ec,_0x179dbb){return _0x3892ec in _0x179dbb;}},_0x5579b5=[],_0x31d366=_0x4681f5=>{const _0x501702=_0x43690c;if(_0x2efd10['XxkxW'](_0x4681f5,null))return;if(Array[_0x501702(0x222)](_0x4681f5)){_0x4681f5['forEach'](_0x31d366);return;}const _0x1c42b1=_0x2efd10[_0x501702(0x194)](String,_0x4681f5)[_0x501702(0x24f)]();_0x2efd10[_0x501702(0x25a)](_0x1c42b1[_0x501702(0x213)],0x0)&&_0x5579b5[_0x501702(0x1b3)](_0x1c42b1);};try{const _0x1c9923=_0x58fa4b&&_0x58fa4b[_0x43690c(0x191)]||{};_0x1c9923&&_0x2efd10[_0x43690c(0x1f1)](typeof _0x1c9923,_0x2efd10[_0x43690c(0x182)])&&(_0x2efd10['AyUfY'](_0x2efd10[_0x43690c(0x1dd)],_0x1c9923)&&_0x2efd10[_0x43690c(0x235)](_0x31d366,_0x1c9923[_0x43690c(0x28e)]),_0x2efd10['pYOex'](_0x2efd10[_0x43690c(0x17d)],_0x1c9923)&&_0x2efd10[_0x43690c(0x194)](_0x31d366,_0x1c9923['tags']));const _0x63b618=_0x58fa4b&&_0x58fa4b[_0x43690c(0x17a)]&&_0x58fa4b['fixture'][_0x43690c(0x191)]||{};_0x63b618&&_0x2efd10[_0x43690c(0x1f1)](typeof _0x63b618,_0x2efd10[_0x43690c(0x182)])&&(_0x2efd10[_0x43690c(0x1b4)](_0x2efd10[_0x43690c(0x1dd)],_0x63b618)&&_0x2efd10[_0x43690c(0x194)](_0x31d366,_0x63b618[_0x43690c(0x28e)]),_0x2efd10['EHgZI'](_0x2efd10[_0x43690c(0x17d)],_0x63b618)&&_0x2efd10[_0x43690c(0x194)](_0x31d366,_0x63b618[_0x43690c(0x17f)]));}catch(_0x42093c){}return Array[_0x43690c(0x237)](new Set(_0x5579b5));}[a98_0x34a247(0x218)](_0x570427){const _0x43c173=a98_0x34a247,_0x35ce7e={};_0x35ce7e[_0x43c173(0x28b)]=function(_0x42dcdb,_0x1854e5){return _0x42dcdb!==_0x1854e5;},_0x35ce7e['fQkkv']=_0x43c173(0x16b);const _0x1e8cbf=_0x35ce7e;if(_0x1e8cbf['eJUFd'](typeof _0x570427,_0x1e8cbf[_0x43c173(0x231)]))return _0x570427;return _0x570427[_0x43c173(0x262)](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}[a98_0x34a247(0x175)](_0x276bea){const _0x365a7a=a98_0x34a247,_0x434ffc={};_0x434ffc[_0x365a7a(0x280)]=_0x365a7a(0x240),_0x434ffc['LlWHI']=function(_0x34e462,_0x30c631){return _0x34e462===_0x30c631;},_0x434ffc[_0x365a7a(0x1ed)]=_0x365a7a(0x16b),_0x434ffc[_0x365a7a(0x21d)]=function(_0x5eb28f,_0x5399ad){return _0x5eb28f!==_0x5399ad;},_0x434ffc['EZIlv']=function(_0x3fc1bd,_0x1d1cf6){return _0x3fc1bd===_0x1d1cf6;},_0x434ffc[_0x365a7a(0x232)]=_0x365a7a(0x20b);const _0x132bf5=_0x434ffc;if(!_0x276bea)return _0x132bf5[_0x365a7a(0x280)];if(_0x276bea[_0x365a7a(0x177)]&&_0x132bf5[_0x365a7a(0x1bf)](typeof _0x276bea[_0x365a7a(0x177)],_0x132bf5[_0x365a7a(0x1ed)])&&_0x132bf5['eIigU'](_0x276bea[_0x365a7a(0x177)],_0x132bf5[_0x365a7a(0x280)]))return _0x276bea[_0x365a7a(0x177)];const _0x17838b=_0x132bf5[_0x365a7a(0x1bf)](typeof _0x276bea[_0x365a7a(0x273)],_0x132bf5[_0x365a7a(0x1ed)])?_0x276bea['message']:'',_0x1c4b4f=_0x17838b[_0x365a7a(0x1a3)](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x1c4b4f)return _0x1c4b4f[0x1];return _0x276bea[_0x365a7a(0x238)]&&_0x132bf5[_0x365a7a(0x264)](typeof _0x276bea[_0x365a7a(0x238)],_0x132bf5[_0x365a7a(0x1ed)])?_0x276bea[_0x365a7a(0x238)]:_0x132bf5[_0x365a7a(0x232)];}[a98_0x34a247(0x228)](_0x225ced,_0x1d3e95){const _0x56f70f=a98_0x34a247,_0x571808={};_0x571808[_0x56f70f(0x199)]='failed',_0x571808[_0x56f70f(0x236)]=_0x56f70f(0x20b),_0x571808[_0x56f70f(0x1d3)]=_0x56f70f(0x26f),_0x571808['KzEci']='passed',_0x571808[_0x56f70f(0x22c)]=_0x56f70f(0x287),_0x571808[_0x56f70f(0x289)]=function(_0x3a8326,_0x48bfa7){return _0x3a8326>_0x48bfa7;};const _0x253dfc=_0x571808;if(!_0x1d3e95)return{[TestFrameworkConstants[_0x56f70f(0x250)]]:_0x253dfc[_0x56f70f(0x199)],[TestFrameworkConstants[_0x56f70f(0x265)]]:0x0,[TestFrameworkConstants[_0x56f70f(0x24b)]]:[{'type':_0x253dfc['zhISS'],'message':_0x253dfc[_0x56f70f(0x1d3)],'stack':''}],[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x253dfc[_0x56f70f(0x236)],[TestFrameworkConstants[_0x56f70f(0x259)]]:_0x253dfc[_0x56f70f(0x1d3)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:new Date()[_0x56f70f(0x183)]()};let _0x1b6087=_0x253dfc['KzEci'],_0x366a12=null,_0x423188=null,_0x2e3239=null;if(_0x1d3e95['skipped'])_0x1b6087=_0x253dfc[_0x56f70f(0x22c)];else{if(Array[_0x56f70f(0x222)](_0x1d3e95[_0x56f70f(0x1aa)])&&_0x253dfc[_0x56f70f(0x289)](_0x1d3e95[_0x56f70f(0x1aa)][_0x56f70f(0x213)],0x0)){_0x1b6087=_0x253dfc[_0x56f70f(0x199)],_0x366a12=_0x1d3e95[_0x56f70f(0x1aa)][_0x56f70f(0x293)](_0x152100=>({'type':this[_0x56f70f(0x175)](_0x152100),'message':this[_0x56f70f(0x218)](_0x152100&&_0x152100['message']?_0x152100[_0x56f70f(0x273)]:String(_0x152100)),'stack':this['_stripAnsi'](_0x152100&&_0x152100[_0x56f70f(0x27d)]?_0x152100['stack']:'')}));const _0x564ed2=_0x366a12[0x0];_0x423188=_0x564ed2[_0x56f70f(0x238)],_0x2e3239=_0x564ed2[_0x56f70f(0x273)];}}const _0x2cb164=Array[_0x56f70f(0x222)](_0x1d3e95[_0x56f70f(0x202)])?_0x1d3e95[_0x56f70f(0x202)][_0x56f70f(0x293)](_0x470f66=>_0x470f66&&_0x470f66[_0x56f70f(0x168)])['filter'](Boolean):[];return{[TestFrameworkConstants[_0x56f70f(0x250)]]:_0x1b6087,[TestFrameworkConstants[_0x56f70f(0x265)]]:_0x1d3e95[_0x56f70f(0x251)]||0x0,[TestFrameworkConstants[_0x56f70f(0x24b)]]:_0x366a12,[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x423188,[TestFrameworkConstants[_0x56f70f(0x259)]]:_0x2e3239,[TestFrameworkConstants[_0x56f70f(0x241)]]:new Date()[_0x56f70f(0x183)](),[TestFrameworkConstants[_0x56f70f(0x1b2)]]:_0x2cb164};}async[a98_0x34a247(0x1e1)](_0x324441,_0x5b356c,_0x45c3c5,_0x5b762b){const _0xfe622b=a98_0x34a247,_0x13f2a3={'wLIbj':_0xfe622b(0x147),'beoqK':_0xfe622b(0x26b),'FmXXb':_0xfe622b(0x23c),'dfvQL':_0xfe622b(0x142),'tcpLu':function(_0x265603,_0x29bb35){return _0x265603===_0x29bb35;},'xduou':function(_0xd7048b){return _0xd7048b();},'SXyqT':function(_0x4f29e3,_0x19d361){return _0x4f29e3===_0x19d361;},'GAnoe':function(_0x2a63bd,_0x1e5387){return _0x2a63bd-_0x1e5387;},'UjwgL':function(_0x58c22f){return _0x58c22f();},'gstlx':'passed'},_0x8fc5db=_0x5b356c[_0xfe622b(0x22b)]()[_0xfe622b(0x15e)]('.')[0x1],_0x3fd250=_0x8fc5db[_0xfe622b(0x1eb)](),_0x2c8eca=_0x3fd250['startsWith'](_0x13f2a3[_0xfe622b(0x226)])?_0x13f2a3[_0xfe622b(0x1ce)]:_0x3fd250[_0xfe622b(0x17c)](_0x13f2a3['FmXXb'])?_0x13f2a3[_0xfe622b(0x1d1)]:_0x3fd250,_0x525e51={};if(_0x13f2a3[_0xfe622b(0x18b)](_0x45c3c5,HookState[_0xfe622b(0x244)])){const _0x4e3ab6=_0x324441[_0xfe622b(0x246)]()[_0xfe622b(0x285)](TestFrameworkConstants[_0xfe622b(0x18e)])||{},_0x4a41b5=Array[_0xfe622b(0x222)](_0x4e3ab6[_0x8fc5db])?_0x4e3ab6[_0x8fc5db]:[],_0x5cb7ed=_0x13f2a3[_0xfe622b(0x154)](uuidv4);_0x4a41b5[_0xfe622b(0x1b3)]({'hook_id':_0x5cb7ed,'hook_name':_0x8fc5db,'key':_0x8fc5db,'hook_type':_0x2c8eca,'event_started_at':new Date()[_0xfe622b(0x183)]()}),_0x4e3ab6[_0x8fc5db]=_0x4a41b5;const _0xba6052=_0x324441[_0xfe622b(0x246)]()['get'](TestFrameworkConstants[_0xfe622b(0x161)])||{};_0xba6052[_0x8fc5db]=_0x5cb7ed,_0x525e51[TestFrameworkConstants[_0xfe622b(0x18e)]]=_0x4e3ab6,_0x525e51[TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0xba6052;}else{if(_0x13f2a3[_0xfe622b(0x209)](_0x45c3c5,HookState[_0xfe622b(0x25f)])){const _0x3f4253=_0x324441[_0xfe622b(0x246)]()[_0xfe622b(0x285)](TestFrameworkConstants[_0xfe622b(0x282)])||{},_0x23bc3a=Array['isArray'](_0x3f4253[_0x8fc5db])?_0x3f4253[_0x8fc5db]:[],_0x4200c2=_0x324441[_0xfe622b(0x246)]()['get'](TestFrameworkConstants[_0xfe622b(0x161)])||{},_0x395d34=_0x324441[_0xfe622b(0x246)]()['get'](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{},_0xae1dc=Array['isArray'](_0x395d34[_0x8fc5db])?_0x395d34[_0x8fc5db][_0x13f2a3[_0xfe622b(0x1c9)](_0x395d34[_0x8fc5db][_0xfe622b(0x213)],0x1)]:null,_0x3299f2=_0x4200c2&&_0x4200c2[_0x8fc5db]||_0xae1dc&&_0xae1dc[_0xfe622b(0x166)]||_0x13f2a3['UjwgL'](uuidv4);_0x23bc3a['push']({'hook_id':_0x3299f2,'hook_name':_0x8fc5db,'key':_0x8fc5db,'hook_type':_0x2c8eca,'event_started_at':_0xae1dc?_0xae1dc[_0xfe622b(0x20d)]:new Date()[_0xfe622b(0x183)](),'event_ended_at':new Date()[_0xfe622b(0x183)](),'hook_result':_0x13f2a3[_0xfe622b(0x1c7)]}),_0x3f4253[_0x8fc5db]=_0x23bc3a,_0x525e51[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x3f4253;}}return _0x525e51;}}module['exports']=TestCafeTestFramework;
|
|
1
|
+
'use strict';const a98_0x36534d=a98_0x24d5;(function(_0x207578,_0x4f50b0){const _0x44233f=a98_0x24d5,_0x33ab0b=_0x207578();while(!![]){try{const _0x41594c=-parseInt(_0x44233f(0x24e))/0x1*(-parseInt(_0x44233f(0x26a))/0x2)+parseInt(_0x44233f(0x1e8))/0x3+parseInt(_0x44233f(0x24f))/0x4*(parseInt(_0x44233f(0x15b))/0x5)+-parseInt(_0x44233f(0x23f))/0x6*(parseInt(_0x44233f(0x1ba))/0x7)+-parseInt(_0x44233f(0x16e))/0x8+-parseInt(_0x44233f(0x16d))/0x9+parseInt(_0x44233f(0x258))/0xa*(parseInt(_0x44233f(0x1d5))/0xb);if(_0x41594c===_0x4f50b0)break;else _0x33ab0b['push'](_0x33ab0b['shift']());}catch(_0x46d138){_0x33ab0b['push'](_0x33ab0b['shift']());}}}(a98_0x3a05,0x838c6));function a98_0x24d5(_0x14e559,_0x4df8b6){const _0x3a0524=a98_0x3a05();return a98_0x24d5=function(_0x24d5c8,_0x36fa67){_0x24d5c8=_0x24d5c8-0x143;let _0x4e02d3=_0x3a0524[_0x24d5c8];return _0x4e02d3;},a98_0x24d5(_0x14e559,_0x4df8b6);}const TestFramework=require(a98_0x36534d(0x183)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),TestFrameworkInstance=require(a98_0x36534d(0x19e)),TrackedInstance=require(a98_0x36534d(0x152)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),CLIUtils=require(a98_0x36534d(0x1be)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a98_0x36534d(0x209)),{getPlaywrightProvider,getProductForSession}=require(a98_0x36534d(0x15c)),{createClassLogger}=require(a98_0x36534d(0x162)),{v4:uuidv4}=require(a98_0x36534d(0x25d)),util=require(a98_0x36534d(0x20b)),logger=createClassLogger(a98_0x36534d(0x1c0));class TestCafeTestFramework extends TestFramework{constructor(_0x47153d,_0x4fc98c,_0x32cc05){super(_0x47153d,_0x4fc98c,_0x32cc05),this['_startedTestUuids']=new Map();}async[a98_0x36534d(0x147)](_0x37d9bf,_0x7381a3,_0x2c148b={}){const _0x29c309=a98_0x36534d,_0x476483={'QwcSw':function(_0x4a1988,_0x5d4cf1){return _0x4a1988===_0x5d4cf1;},'gzifH':function(_0x1431b8,_0x1b90b4){return _0x1431b8===_0x1b90b4;},'dIFcH':function(_0x32d9ec,_0x33ae96){return _0x32d9ec>_0x33ae96;},'uZPRC':_0x29c309(0x188),'XyGSx':'__pendingPlatformIdentifiers','EeUDG':function(_0x2717e6,_0xa3e054){return _0x2717e6===_0xa3e054;},'IwFvy':function(_0x45b183,_0x27f4ed){return _0x45b183<_0x27f4ed;},'CpYtw':function(_0x8d9259){return _0x8d9259();},'SJGnS':function(_0x4eb17f,_0x1c1757){return _0x4eb17f&&_0x1c1757;},'eFrYj':_0x29c309(0x171),'XLPJL':_0x29c309(0x1d6),'thHZx':function(_0x53f811,_0x3f3a3d){return _0x53f811<_0x3f3a3d;},'HULUG':function(_0x4979af,_0x41f0ba){return _0x4979af===_0x41f0ba;},'DTbnF':function(_0x58f41a,_0x98bfca){return _0x58f41a===_0x98bfca;},'dpBAM':function(_0x2d8df0,_0x208260){return _0x2d8df0>_0x208260;},'MvqUq':_0x29c309(0x257),'tNqzi':_0x29c309(0x237),'SYkrp':function(_0x5397d4,_0x2fd2cd){return _0x5397d4===_0x2fd2cd;},'OJCrC':_0x29c309(0x217),'dUGRs':function(_0x196234,_0x4aded6){return _0x196234===_0x4aded6;},'obtRu':function(_0x2c77d2,_0x27cc87){return _0x2c77d2===_0x27cc87;},'MPMmX':function(_0x52b506,_0xa1e6f6){return _0x52b506===_0xa1e6f6;},'FSpWZ':function(_0xa4e508,_0x1b61a4){return _0xa4e508||_0x1b61a4;},'FeQRa':function(_0x3e65a9,_0x6283cc){return _0x3e65a9<_0x6283cc;},'aClHG':function(_0x3b5d7e,_0x423b24){return _0x3b5d7e===_0x423b24;}};super[_0x29c309(0x147)](_0x37d9bf,_0x7381a3,_0x2c148b);const _0x681066=this['resolveInstance'](_0x37d9bf,_0x7381a3,_0x2c148b);if(!_0x681066){logger[_0x29c309(0x250)](_0x29c309(0x165)+_0x37d9bf+_0x29c309(0x1b3)+_0x7381a3);return;}_0x681066[_0x29c309(0x28d)](_0x37d9bf),_0x681066['setCurrentHookState'](_0x7381a3),_0x2c148b['instance']=_0x681066,logger[_0x29c309(0x250)](_0x29c309(0x1a0)+_0x37d9bf+_0x29c309(0x1b3)+_0x7381a3+'\x20ref='+(_0x681066[_0x29c309(0x17b)]&&_0x681066[_0x29c309(0x17b)]()));try{if(_0x476483['QwcSw'](_0x37d9bf,TestFrameworkState[_0x29c309(0x286)])&&_0x476483[_0x29c309(0x186)](_0x7381a3,HookState[_0x29c309(0x22f)])){const _0xfa3f40=this[_0x29c309(0x275)](_0x2c148b[_0x29c309(0x257)],0x0),_0x3c9f1d=Array[_0x29c309(0x23d)](_0x2c148b[_0x29c309(0x14b)])&&_0x476483['dIFcH'](_0x2c148b[_0x29c309(0x14b)][_0x29c309(0x23a)],0x0)?_0x2c148b[_0x29c309(0x14b)]:[''],_0x22fc89=_0x681066[_0x29c309(0x1e0)](_0x476483['uZPRC']),_0x5352c2=_0x681066[_0x29c309(0x1e0)](_0x476483['XyGSx']),_0x580fb4=Array[_0x29c309(0x23d)](_0x22fc89)&&_0x476483[_0x29c309(0x22e)](_0x22fc89[_0x29c309(0x23a)],_0x3c9f1d['length']);logger[_0x29c309(0x1f3)]('trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20'+_0x3c9f1d[_0x29c309(0x23a)]+_0x29c309(0x1ad)+_0x580fb4+')');const _0x11b8b6=[],_0xac27da=[],_0x160e85={};for(let _0x21e2d1=0x0;_0x476483[_0x29c309(0x187)](_0x21e2d1,_0x3c9f1d[_0x29c309(0x23a)]);_0x21e2d1++){const _0x55ecf4=_0x580fb4?_0x22fc89[_0x21e2d1]:_0x476483['CpYtw'](uuidv4),_0x12ed50=_0x476483[_0x29c309(0x17d)](_0x580fb4,_0x5352c2)&&_0x5352c2[_0x21e2d1]?_0x5352c2[_0x21e2d1]:_0xfa3f40+'#'+_0x21e2d1;_0x11b8b6['push'](_0x55ecf4),_0xac27da[_0x29c309(0x1db)](_0x12ed50),_0x160e85[_0x12ed50]=this[_0x29c309(0x1dd)](_0x55ecf4,_0x2c148b[_0x29c309(0x257)],_0x2c148b[_0x29c309(0x1d9)]);}_0x681066[_0x29c309(0x284)](_0x476483[_0x29c309(0x174)],null),_0x681066[_0x29c309(0x284)](_0x476483[_0x29c309(0x295)],null),_0x681066[_0x29c309(0x284)](_0x476483['eFrYj'],_0x11b8b6),_0x681066['updateData'](_0x476483[_0x29c309(0x1e3)],_0xac27da),_0x160e85[_0xfa3f40]=_0x160e85[_0xac27da[0x0]],_0x681066[_0x29c309(0x204)](_0x160e85);const _0x41b968={[_0xfa3f40+'.__platformUuids']:_0x11b8b6,[_0xfa3f40+_0x29c309(0x18c)]:_0xac27da};_0x681066['updateMultipleEntries'](_0x41b968),_0x2c148b[_0x29c309(0x1da)]=_0xfa3f40,_0x2c148b[_0x29c309(0x247)]=_0x11b8b6[0x0],_0x2c148b[_0x29c309(0x28a)]=0x0,_0x2c148b[_0x29c309(0x280)]=_0x11b8b6,_0x2c148b[_0x29c309(0x22a)]=_0xac27da;const _0x14fe2a=_0x2c148b[_0x29c309(0x257)]&&_0x2c148b[_0x29c309(0x257)][_0x29c309(0x1ff)]||'';for(let _0x31712d=0x0;_0x476483['thHZx'](_0x31712d,_0x11b8b6['length']);_0x31712d++){this[_0x29c309(0x25a)][_0x29c309(0x158)](_0x11b8b6[_0x31712d],{'testName':_0x14fe2a,'platformIndex':_0x31712d,'testIdentifier':_0xac27da[_0x31712d],'sessionId':null});}}if(_0x476483[_0x29c309(0x213)](_0x37d9bf,TestFrameworkState[_0x29c309(0x286)])&&_0x476483[_0x29c309(0x282)](_0x7381a3,HookState['POST'])){const _0x1fcf6a=_0x2c148b[_0x29c309(0x257)],_0x5b7461=_0x2c148b[_0x29c309(0x1f5)],_0x2e2afb=this[_0x29c309(0x275)](_0x1fcf6a,0x0),_0x315ad9=_0x681066[_0x29c309(0x155)]()[_0x29c309(0x21e)](_0x2e2afb+_0x29c309(0x150))||[],_0x2b1f6d=_0x681066['getAllData']()['get'](_0x2e2afb+'.__platformIdentifiers')||[],_0x3f891c=this[_0x29c309(0x198)](_0x1fcf6a,_0x5b7461),_0x1cedc5={};for(let _0x196450=0x0;_0x476483['IwFvy'](_0x196450,_0x2b1f6d[_0x29c309(0x23a)]);_0x196450++){const _0x5ca072=_0x2b1f6d[_0x196450],_0x399597=_0x681066[_0x29c309(0x155)]()[_0x29c309(0x21e)](_0x5ca072)||{},_0x3ef51f={..._0x399597,..._0x3f891c};_0x1cedc5[_0x5ca072]=_0x3ef51f;}_0x476483['dpBAM'](_0x2b1f6d[_0x29c309(0x23a)],0x0)&&(_0x1cedc5[_0x2e2afb]=_0x1cedc5[_0x2b1f6d[0x0]]);_0x681066['addMultipleEntries'](_0x1cedc5),_0x2c148b[_0x29c309(0x1da)]=_0x2e2afb,_0x2c148b[_0x29c309(0x247)]=_0x315ad9[0x0]||'',_0x2c148b[_0x29c309(0x28a)]=0x0,_0x2c148b[_0x29c309(0x280)]=_0x315ad9,_0x2c148b[_0x29c309(0x22a)]=_0x2b1f6d,await this[_0x29c309(0x1aa)](_0x681066,_0x37d9bf,_0x7381a3,_0x476483[_0x29c309(0x1d2)],_0x2c148b,0x0);for(let _0x20c507=0x0;_0x476483[_0x29c309(0x187)](_0x20c507,_0x315ad9[_0x29c309(0x23a)]);_0x20c507++){this[_0x29c309(0x25a)][_0x29c309(0x27d)](_0x315ad9[_0x20c507]);}}if(CLIUtils[_0x29c309(0x15e)](_0x37d9bf[_0x29c309(0x1e2)]()[_0x29c309(0x1b2)]('.')[0x1])){const _0x195008=await this[_0x29c309(0x157)](_0x681066,_0x37d9bf,_0x7381a3,_0x2c148b);Object[_0x29c309(0x1e7)](_0x195008)['forEach'](([_0xd520a4,_0x2b1edc])=>_0x681066[_0x29c309(0x204)]({[_0xd520a4]:_0x2b1edc}));const _0x2b5a6f=_0x37d9bf[_0x29c309(0x1e2)]()['split']('.')[0x1];let _0x2d8a1b=_0x681066['getData'](_0x476483[_0x29c309(0x218)]),_0x39d195=_0x681066[_0x29c309(0x1e0)](_0x476483[_0x29c309(0x1e3)]);const _0x469028=Array['isArray'](_0x2c148b[_0x29c309(0x14b)])&&_0x476483[_0x29c309(0x181)](_0x2c148b[_0x29c309(0x14b)][_0x29c309(0x23a)],0x0)?_0x2c148b['userAgents']:Array[_0x29c309(0x23d)](_0x2d8a1b)?_0x2d8a1b:[''];if(_0x2b5a6f[_0x29c309(0x225)](_0x476483[_0x29c309(0x231)])&&_0x476483[_0x29c309(0x27f)](_0x7381a3,HookState[_0x29c309(0x22f)])){const _0x1584e2=Array[_0x29c309(0x23d)](_0x681066[_0x29c309(0x1e0)](_0x476483['uZPRC']))&&_0x476483[_0x29c309(0x22e)](_0x681066[_0x29c309(0x1e0)](_0x476483[_0x29c309(0x174)])['length'],_0x469028['length']);if(!_0x1584e2){const _0xbbfa95=_0x469028[_0x29c309(0x1d0)](()=>uuidv4()),_0x2ba709=_0x469028[_0x29c309(0x1d0)]((_0x6d4e93,_0x42c686)=>_0x29c309(0x1c4)+(_0x2c148b['fixtureIdentifier']||_0x29c309(0x205))+'#'+_0x42c686);_0x681066['updateData'](_0x476483[_0x29c309(0x174)],_0xbbfa95),_0x681066[_0x29c309(0x284)](_0x476483[_0x29c309(0x295)],_0x2ba709),_0x681066[_0x29c309(0x284)](_0x476483[_0x29c309(0x218)],_0xbbfa95),_0x681066[_0x29c309(0x284)](_0x476483[_0x29c309(0x1e3)],_0x2ba709),_0x2d8a1b=_0xbbfa95,_0x39d195=_0x2ba709;}else _0x2d8a1b=_0x681066[_0x29c309(0x1e0)](_0x476483[_0x29c309(0x174)]),_0x39d195=_0x681066[_0x29c309(0x1e0)](_0x476483[_0x29c309(0x295)]);}Array[_0x29c309(0x23d)](_0x2d8a1b)&&_0x476483[_0x29c309(0x181)](_0x2d8a1b[_0x29c309(0x23a)],0x0)&&(_0x2c148b['testUuid']=_0x2d8a1b[0x0],_0x2c148b[_0x29c309(0x28a)]=0x0,_0x2c148b[_0x29c309(0x280)]=_0x2d8a1b,_0x2c148b['__platformIdentifiers']=_0x39d195);}}catch(_0x397a9e){logger[_0x29c309(0x208)](util[_0x29c309(0x264)](_0x476483[_0x29c309(0x1c6)],_0x37d9bf,_0x7381a3,_0x397a9e[_0x29c309(0x180)]||_0x397a9e));}try{await this[_0x29c309(0x251)](_0x681066,_0x37d9bf,_0x7381a3,_0x2c148b);}catch(_0xd261b1){logger[_0x29c309(0x208)](_0x29c309(0x226)+(_0xd261b1[_0x29c309(0x180)]||_0xd261b1));}const _0x14542f=_0x37d9bf[_0x29c309(0x1e2)]()[_0x29c309(0x1b2)]('.')[0x1],_0x41c136=_0x476483['dUGRs'](_0x37d9bf,TestFrameworkState[_0x29c309(0x286)])&&(_0x476483['QwcSw'](_0x7381a3,HookState[_0x29c309(0x22f)])||_0x476483[_0x29c309(0x192)](_0x7381a3,HookState['POST'])),_0x23570f=CLIUtils[_0x29c309(0x15e)](_0x14542f)&&(_0x476483[_0x29c309(0x154)](_0x7381a3,HookState[_0x29c309(0x22f)])||_0x476483['HULUG'](_0x7381a3,HookState[_0x29c309(0x21c)]));if(_0x476483[_0x29c309(0x178)](_0x41c136,_0x23570f)){let _0x35aeb8=[],_0x5370b6=[];if(_0x41c136){const _0x1fc114=this[_0x29c309(0x275)](_0x2c148b[_0x29c309(0x257)],0x0);_0x35aeb8=_0x681066[_0x29c309(0x155)]()[_0x29c309(0x21e)](_0x1fc114+_0x29c309(0x150))||[],_0x5370b6=_0x681066[_0x29c309(0x155)]()[_0x29c309(0x21e)](_0x1fc114+_0x29c309(0x18c))||[];}else _0x35aeb8=Array[_0x29c309(0x23d)](_0x681066[_0x29c309(0x1e0)](_0x476483[_0x29c309(0x218)]))?_0x681066[_0x29c309(0x1e0)](_0x476483['eFrYj']):[],_0x5370b6=Array[_0x29c309(0x23d)](_0x681066[_0x29c309(0x1e0)](_0x476483['XLPJL']))?_0x681066['getData'](_0x476483[_0x29c309(0x1e3)]):[];logger[_0x29c309(0x1f3)](_0x29c309(0x17f)+_0x14542f+'\x20'+_0x7381a3['toString']()[_0x29c309(0x1b2)]('.')[0x1]+_0x29c309(0x1b0)+_0x5370b6[_0x29c309(0x23a)]+'\x20platform\x20identifiers,\x20uuids='+_0x35aeb8[_0x29c309(0x23a)]);for(let _0x4b8d19=0x1;_0x476483['FeQRa'](_0x4b8d19,_0x35aeb8[_0x29c309(0x23a)]);_0x4b8d19++){const _0x545ddf={..._0x2c148b};_0x545ddf[_0x29c309(0x1da)]=_0x5370b6[_0x4b8d19],_0x545ddf['testUuid']=_0x35aeb8[_0x4b8d19],_0x545ddf[_0x29c309(0x28a)]=_0x4b8d19;const _0x3ba879=_0x545ddf;try{const _0x3c4e3c=this['createTestFrameworkEventPayload'](_0x3ba879);_0x3c4e3c&&_0x476483[_0x29c309(0x211)](Object[_0x29c309(0x15f)](_0x3c4e3c)[_0x29c309(0x23a)],0x0)&&(logger[_0x29c309(0x1f3)](_0x29c309(0x271)+_0x14542f+_0x29c309(0x1d4)+_0x4b8d19+_0x29c309(0x1b6)+_0x3c4e3c['uuid']+'\x20platform_index='+_0x3c4e3c['platformIndex']),await GrpcClient[_0x29c309(0x25c)]()[_0x29c309(0x22c)](_0x3c4e3c)),_0x41c136&&_0x476483[_0x29c309(0x1ea)](_0x7381a3,HookState[_0x29c309(0x21c)])&&await this[_0x29c309(0x1aa)](_0x681066,_0x37d9bf,_0x7381a3,_0x476483[_0x29c309(0x1d2)],_0x3ba879,_0x4b8d19);}catch(_0x4d828f){logger[_0x29c309(0x208)](_0x29c309(0x271)+_0x14542f+_0x29c309(0x1d4)+_0x4b8d19+_0x29c309(0x1fa)+(_0x4d828f[_0x29c309(0x180)]||_0x4d828f));}}_0x23570f&&(_0x476483[_0x29c309(0x24c)](_0x7381a3,HookState[_0x29c309(0x22f)])||_0x476483[_0x29c309(0x24c)](_0x7381a3,HookState['POST']))&&await this[_0x29c309(0x179)](_0x681066,_0x14542f,_0x7381a3,_0x35aeb8),await this['_sendLifecycleLogs'](_0x681066,_0x14542f,_0x7381a3,_0x35aeb8,_0x5370b6,_0x2c148b);}}async[a98_0x36534d(0x153)](_0x45f103,_0x50e972,_0x1a4b8f,_0x1d4bbe,_0x43a875,_0x10afcd){const _0x32e591=a98_0x36534d,_0x5e2794={'NnSgF':function(_0x1e2992,_0x836ae3){return _0x1e2992(_0x836ae3);},'iiRzk':_0x32e591(0x25d),'BCcyp':function(_0x238224,_0x558e7a){return _0x238224===_0x558e7a;},'DVKJp':'TEST','lJLNl':function(_0xea2c2f,_0x1d6106){return _0xea2c2f===_0x1d6106;},'oXeZy':_0x32e591(0x22f),'GmBoO':function(_0x410278,_0x3b63de){return _0x410278===_0x3b63de;},'ZUPBj':_0x32e591(0x21c),'Btdgs':'skipped','RDfjO':function(_0x1caa77,_0x2691fc){return _0x1caa77>_0x2691fc;},'KmJRB':_0x32e591(0x145),'XVYCv':_0x32e591(0x293),'xzouZ':'BEFORE_','qUiPd':function(_0x1e3538,_0x52a05f){return _0x1e3538===_0x52a05f;},'WJBQz':_0x32e591(0x26e),'sKGaO':'before(fixture)','XUOmM':function(_0x1a52d9,_0x572ec1){return _0x1a52d9===_0x572ec1;},'gidJi':_0x32e591(0x18d),'YOEEw':_0x32e591(0x23e),'zlaQh':function(_0xd3d6ef,_0x2c26d4){return _0xd3d6ef===_0x2c26d4;},'EeTUa':'AFTER_','FsUjj':function(_0x41f22b,_0x3370fc){return _0x41f22b===_0x3370fc;},'kCrOW':_0x32e591(0x28c),'uorSs':_0x32e591(0x164),'jsqkM':_0x32e591(0x27c),'Cvnpj':_0x32e591(0x1fb),'hpoVs':function(_0x400850,_0xbd154f){return _0x400850===_0xbd154f;},'mWzqf':function(_0x53211b,_0x456010){return _0x53211b===_0x456010;},'opCGz':function(_0x446542,_0x45d6d8){return _0x446542<_0x45d6d8;},'UHZjW':_0x32e591(0x1f3)};try{const {v4:_0x549a7d}=_0x5e2794[_0x32e591(0x272)](require,_0x5e2794[_0x32e591(0x267)]),_0x2ee14a=_0x1a4b8f[_0x32e591(0x1e2)]()[_0x32e591(0x1b2)]('.')[0x1];let _0x5e06f1='';if(_0x5e2794[_0x32e591(0x1c2)](_0x50e972,_0x5e2794[_0x32e591(0x14a)])&&_0x5e2794[_0x32e591(0x168)](_0x2ee14a,_0x5e2794[_0x32e591(0x26c)]))_0x5e06f1=_0x32e591(0x1a7)+(_0x10afcd[_0x32e591(0x257)]&&_0x10afcd[_0x32e591(0x257)][_0x32e591(0x1f9)]||'');else{if(_0x5e2794[_0x32e591(0x1a6)](_0x50e972,_0x5e2794[_0x32e591(0x14a)])&&_0x5e2794['BCcyp'](_0x2ee14a,_0x5e2794[_0x32e591(0x15d)])){const _0x4386c1=_0x10afcd['testRunInfo']&&Array['isArray'](_0x10afcd[_0x32e591(0x1f5)][_0x32e591(0x189)])?_0x10afcd[_0x32e591(0x1f5)]['errs']:[],_0x57bfec=_0x10afcd[_0x32e591(0x1f5)]&&_0x10afcd[_0x32e591(0x1f5)][_0x32e591(0x220)]?_0x5e2794[_0x32e591(0x1f6)]:_0x5e2794[_0x32e591(0x236)](_0x4386c1[_0x32e591(0x23a)],0x0)?_0x5e2794[_0x32e591(0x199)]:_0x5e2794['XVYCv'];_0x5e06f1=_0x32e591(0x151)+_0x57bfec;}else{if(_0x50e972[_0x32e591(0x225)](_0x5e2794['xzouZ'])&&_0x5e2794[_0x32e591(0x292)](_0x2ee14a,_0x5e2794['oXeZy'])){const _0x506299=_0x5e2794['GmBoO'](_0x50e972,_0x5e2794[_0x32e591(0x27a)])?_0x5e2794[_0x32e591(0x1ec)]:_0x5e2794[_0x32e591(0x1c7)](_0x50e972,_0x5e2794[_0x32e591(0x170)])?_0x5e2794[_0x32e591(0x1f7)]:_0x50e972[_0x32e591(0x227)]();_0x5e06f1=_0x32e591(0x1b4)+_0x506299+_0x32e591(0x1f1);}else{if(_0x50e972['startsWith'](_0x5e2794[_0x32e591(0x20c)])&&_0x5e2794[_0x32e591(0x16f)](_0x2ee14a,_0x5e2794['ZUPBj'])){const _0x1a6330=_0x5e2794[_0x32e591(0x1c7)](_0x50e972,_0x5e2794[_0x32e591(0x27a)])?_0x5e2794[_0x32e591(0x1ec)]:_0x5e2794[_0x32e591(0x1a6)](_0x50e972,_0x5e2794['gidJi'])?_0x5e2794[_0x32e591(0x1f7)]:_0x50e972[_0x32e591(0x227)]();_0x5e06f1=_0x32e591(0x1b4)+_0x1a6330+_0x32e591(0x1c8);}else{if(_0x50e972[_0x32e591(0x225)](_0x5e2794[_0x32e591(0x160)])&&_0x5e2794[_0x32e591(0x168)](_0x2ee14a,_0x5e2794[_0x32e591(0x26c)])){const _0x5dafa1=_0x5e2794['FsUjj'](_0x50e972,_0x5e2794[_0x32e591(0x27e)])?_0x5e2794[_0x32e591(0x195)]:_0x5e2794['XUOmM'](_0x50e972,_0x5e2794['jsqkM'])?_0x5e2794[_0x32e591(0x19f)]:_0x50e972[_0x32e591(0x227)]();_0x5e06f1=_0x32e591(0x1b4)+_0x5dafa1+_0x32e591(0x1f1);}else{if(_0x50e972[_0x32e591(0x225)](_0x5e2794[_0x32e591(0x160)])&&_0x5e2794[_0x32e591(0x207)](_0x2ee14a,_0x5e2794[_0x32e591(0x15d)])){const _0x58b50a=_0x5e2794[_0x32e591(0x14c)](_0x50e972,_0x5e2794[_0x32e591(0x27e)])?_0x5e2794[_0x32e591(0x195)]:_0x5e2794['mWzqf'](_0x50e972,_0x5e2794[_0x32e591(0x18e)])?_0x5e2794[_0x32e591(0x19f)]:_0x50e972[_0x32e591(0x227)]();_0x5e06f1=_0x32e591(0x1b4)+_0x58b50a+'\x20completed';}else return;}}}}}const _0x505c1c=new Date()[_0x32e591(0x200)](),_0x2afb1d=_0x50e972[_0x32e591(0x225)](_0x5e2794[_0x32e591(0x20c)])||_0x50e972[_0x32e591(0x225)](_0x5e2794['EeTUa']);let _0x12dbb9='';if(_0x2afb1d){const _0x4e9dcf=_0x45f103[_0x32e591(0x155)]()['get'](TestFrameworkConstants['KEY_HOOK_LAST_STARTED'])||{};_0x12dbb9=_0x4e9dcf[_0x50e972]||'';}for(let _0x5f4308=0x0;_0x5e2794[_0x32e591(0x17c)](_0x5f4308,_0x1d4bbe[_0x32e591(0x23a)]);_0x5f4308++){const _0x5bc93a=_0x2afb1d?_0x12dbb9:_0x1d4bbe[_0x5f4308];if(!_0x5bc93a)continue;const _0x26c0a9={};_0x26c0a9[_0x32e591(0x25d)]=_0x5bc93a,_0x26c0a9[_0x32e591(0x1d7)]=_0x1d4bbe[_0x5f4308],_0x26c0a9[_0x32e591(0x277)]=_0x505c1c,_0x26c0a9[_0x32e591(0x260)]=_0x5e06f1,_0x26c0a9[_0x32e591(0x223)]=TestFrameworkConstants[_0x32e591(0x173)],_0x26c0a9[_0x32e591(0x1d1)]=_0x5e2794[_0x32e591(0x184)];const _0x5c7918=_0x26c0a9,_0x532e49={'platformIndex':_0x5f4308,'logs':[_0x5c7918],'testFrameworkName':this[_0x32e591(0x166)]()[0x0],'testFrameworkVersion':this[_0x32e591(0x163)]()[this[_0x32e591(0x166)]()[0x0]]||'','testFrameworkState':_0x50e972};try{await GrpcClient[_0x32e591(0x25c)]()['logCreatedEvent'](_0x532e49);}catch(_0x169cb2){logger['debug']('_sendLifecycleLogs\x20pi='+_0x5f4308+':\x20'+(_0x169cb2[_0x32e591(0x260)]||_0x169cb2));}}}catch(_0x178571){logger[_0x32e591(0x250)](_0x32e591(0x167)+(_0x178571['message']||_0x178571));}}async[a98_0x36534d(0x179)](_0x497eb2,_0x5444dc,_0x3d40c2,_0x5d732d){const _0xb687d8=a98_0x36534d,_0x32e199={'PwRoA':function(_0x51099e,_0x131154){return _0x51099e(_0x131154);},'fgIaW':'../browserstackCLI.js','osDRw':'./testcafeAutomationFramework.js','ANtBI':'../modules/testcafeDriverModule.js','IKUJe':function(_0x4120a1,_0x4ac34a){return _0x4120a1(_0x4ac34a);},'PvZBN':'./automationFramework.js','gIaTY':function(_0x449a74,_0x5a183a){return _0x449a74===_0x5a183a;},'OdEFw':'object','iYKMr':function(_0x388cfc,_0x12c08e){return _0x388cfc>_0x12c08e;},'aVGmt':_0xb687d8(0x1ae),'nNXlc':_0xb687d8(0x1a8),'nteYA':_0xb687d8(0x276),'tgCDM':function(_0x449c5a){return _0x449c5a();}};try{const _0x2d7d10=_0x32e199['PwRoA'](require,_0x32e199[_0xb687d8(0x1c9)]),_0x4bf726=_0x32e199[_0xb687d8(0x212)](require,_0x32e199[_0xb687d8(0x143)]),_0x3f9243=_0x2d7d10[_0xb687d8(0x25c)](),_0x2b778f=_0x3f9243['getConfig']()?.[_0xb687d8(0x1e9)]||'',_0x41272c=_0x497eb2[_0xb687d8(0x1d8)](),_0x24573b={'hash':_0x41272c[_0xb687d8(0x1ab)](),'threadId':_0x41272c[_0xb687d8(0x1dc)]()[_0xb687d8(0x1e2)](),'processId':_0x41272c[_0xb687d8(0x249)]()[_0xb687d8(0x1e2)]()};for(const {platformIndex:_0x2a5b27,instance:_0x20b03a}of _0x4bf726[_0xb687d8(0x229)]()){try{const _0x2b73e3=_0x5d732d[_0x2a5b27]||_0x5d732d[0x0]||'';if(!_0x2b73e3)continue;const _0x43aca2=_0x32e199['PwRoA'](require,_0x32e199[_0xb687d8(0x1b1)]),_0x3b6f2a=_0x32e199[_0xb687d8(0x1f0)](require,_0x32e199['PvZBN']),_0x11bcd8=_0x3b6f2a[_0xb687d8(0x14e)](_0x20b03a,_0x43aca2[_0xb687d8(0x175)],'')||'',_0x1ffa2e=_0x3b6f2a['getState'](_0x20b03a,_0x43aca2[_0xb687d8(0x203)],{})||{},_0x382b56=_0x3b6f2a[_0xb687d8(0x14e)](_0x20b03a,_0x43aca2[_0xb687d8(0x230)],'')||_0x2b778f,_0x30e40e=_0x1ffa2e&&_0x32e199[_0xb687d8(0x1ee)](typeof _0x1ffa2e,_0x32e199['OdEFw'])?Object['keys'](_0x1ffa2e)['length']:0x0,_0x4a90cc=Buffer[_0xb687d8(0x1ca)](JSON['stringify'](_0x32e199['iYKMr'](_0x30e40e,0x0)?_0x1ffa2e:{}))['toString'](_0x32e199[_0xb687d8(0x16b)]),_0x4b442f={'platformIndex':_0x2a5b27,'testFrameworkName':this[_0xb687d8(0x166)]()[0x0]||_0x32e199[_0xb687d8(0x232)],'testFrameworkVersion':this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||'','testFrameworkState':_0x5444dc,'testHookState':_0x3d40c2[_0xb687d8(0x1e2)]()[_0xb687d8(0x1b2)]('.')[0x1],'testUuid':_0x2b73e3,'automationSession':{'provider':_0x32e199[_0xb687d8(0x212)](getPlaywrightProvider,_0x382b56),'frameworkName':_0x32e199[_0xb687d8(0x25f)],'frameworkVersion':'','frameworkSessionId':_0x11bcd8,'ref':_0x20b03a[_0xb687d8(0x17b)](),'hubUrl':_0x382b56,'product':_0x32e199[_0xb687d8(0x259)](getProductForSession)},'capabilities':_0x4a90cc,'executionContext':_0x24573b};logger[_0xb687d8(0x250)](_0xb687d8(0x18b)+_0x5444dc+'\x20'+_0x3d40c2+_0xb687d8(0x1d4)+_0x2a5b27+_0xb687d8(0x1ed)+_0x2b73e3+_0xb687d8(0x1a9)+_0x11bcd8),await GrpcClient[_0xb687d8(0x25c)]()[_0xb687d8(0x24a)](_0x4b442f);}catch(_0x3c2d6b){logger[_0xb687d8(0x250)](_0xb687d8(0x1b7)+(_0x3c2d6b[_0xb687d8(0x260)]||_0x3c2d6b));}}}catch(_0x24e304){logger[_0xb687d8(0x250)](_0xb687d8(0x290)+(_0x24e304[_0xb687d8(0x260)]||_0x24e304));}}async[a98_0x36534d(0x169)](){const _0x2a1584=a98_0x36534d,_0x140c3b={'fXrUV':function(_0xb99135,_0x1c56e2){return _0xb99135===_0x1c56e2;},'etvQh':_0x2a1584(0x191),'kHDVj':_0x2a1584(0x145),'mqoFw':'TestCafeOrphanTimeout','mPXrc':_0x2a1584(0x281),'EKhaF':'base64','kvCaG':function(_0xe3e59c,_0xd9bba1){return _0xe3e59c(_0xd9bba1);},'ChYvQ':function(_0x3295ca,_0x4af96d){return _0x3295ca(_0x4af96d);}};if(!this['_startedTestUuids']||_0x140c3b[_0x2a1584(0x20e)](this[_0x2a1584(0x25a)][_0x2a1584(0x193)],0x0)){logger[_0x2a1584(0x1f3)](_0x140c3b[_0x2a1584(0x159)]);return;}const _0x594b75=Array[_0x2a1584(0x1ca)](this[_0x2a1584(0x25a)]['entries']());logger[_0x2a1584(0x245)](_0x2a1584(0x20a)+_0x594b75[_0x2a1584(0x23a)]+_0x2a1584(0x1af));const _0x3a7208=TestFrameworkState[_0x2a1584(0x286)][_0x2a1584(0x1e2)]()[_0x2a1584(0x1b2)]('.')[0x1],_0x23a2b1=HookState['POST']['toString']()['split']('.')[0x1],_0x5dc94a=new Date()[_0x2a1584(0x200)]();for(const [_0x264e28,_0x20dd8f]of _0x594b75){const _0x5954d1={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x2a1584(0x166)]()[0x0],[TestFrameworkConstants[_0x2a1584(0x253)]]:this[_0x2a1584(0x163)]()[this[_0x2a1584(0x166)]()[0x0]]||'',[TestFrameworkConstants[_0x2a1584(0x274)]]:_0x264e28,[TestFrameworkConstants[_0x2a1584(0x252)]]:_0x20dd8f[_0x2a1584(0x1f9)]||_0x2a1584(0x17a)+_0x264e28+')',[TestFrameworkConstants[_0x2a1584(0x172)]]:_0x140c3b[_0x2a1584(0x17e)],[TestFrameworkConstants[_0x2a1584(0x266)]]:[{'type':_0x140c3b[_0x2a1584(0x215)],'message':_0x140c3b['mPXrc'],'stack':''}],[TestFrameworkConstants[_0x2a1584(0x1df)]]:_0x140c3b['mqoFw'],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5dc94a,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5dc94a,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2a1584(0x1de)]]:{}},_0x3ef58d=Buffer[_0x2a1584(0x1ca)](JSON[_0x2a1584(0x1e4)](_0x5954d1))[_0x2a1584(0x1e2)](_0x140c3b[_0x2a1584(0x25b)]),_0x4ba03d={'platformIndex':_0x20dd8f[_0x2a1584(0x28a)]||0x0,'testFrameworkName':this[_0x2a1584(0x166)]()[0x0],'testFrameworkVersion':this[_0x2a1584(0x163)]()[this[_0x2a1584(0x166)]()[0x0]]||'','testFrameworkState':_0x3a7208,'hookState':_0x23a2b1,'startedAt':_0x5dc94a,'endedAt':_0x5dc94a,'uuid':_0x140c3b[_0x2a1584(0x214)](String,_0x264e28),'eventJson':_0x3ef58d,'executionContext':{'hash':'','threadId':'0','processId':_0x140c3b[_0x2a1584(0x21b)](String,process['pid'])},'test_identifier':_0x20dd8f[_0x2a1584(0x1da)]||''};try{logger[_0x2a1584(0x1f3)]('finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid='+_0x264e28+_0x2a1584(0x224)+_0x20dd8f[_0x2a1584(0x28a)]+_0x2a1584(0x20d)+_0x20dd8f['testName']),await GrpcClient['getInstance']()[_0x2a1584(0x22c)](_0x4ba03d);}catch(_0x30796c){logger[_0x2a1584(0x245)]('finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20'+_0x264e28+':\x20'+(_0x30796c[_0x2a1584(0x260)]||_0x30796c));}}this[_0x2a1584(0x25a)][_0x2a1584(0x1fd)]();}[a98_0x36534d(0x210)](_0x56060c,_0x26d9cd,_0x9ace6a={}){const _0x1eae5d=a98_0x36534d,_0x532db7={};_0x532db7[_0x1eae5d(0x144)]=function(_0x277275,_0x3757e7){return _0x277275===_0x3757e7;},_0x532db7[_0x1eae5d(0x1a3)]=function(_0x72030a,_0x3b7031){return _0x72030a===_0x3b7031;};const _0x5cffab=_0x532db7;return(_0x5cffab['oxSpT'](_0x56060c,TestFrameworkState['INIT_TEST'])||_0x5cffab[_0x1eae5d(0x1a3)](_0x56060c,TestFrameworkState[_0x1eae5d(0x19a)]))&&this[_0x1eae5d(0x261)](_0x56060c,_0x9ace6a),TestFramework[_0x1eae5d(0x1bc)]()||this[_0x1eae5d(0x1bf)](_0x56060c);}[a98_0x36534d(0x261)](_0xad211e,_0x2d6f6e){const _0x27876c=a98_0x36534d,_0x46a886=CLIUtils[_0x27876c(0x256)](),_0x232228=TrackedInstance[_0x27876c(0x185)](_0x46a886),_0x4b7f01=new TestFrameworkInstance(_0x232228,this[_0x27876c(0x166)](),this[_0x27876c(0x163)](),_0xad211e,HookState[_0x27876c(0x19a)]);TestFramework[_0x27876c(0x1cf)](_0x232228,_0x4b7f01),logger[_0x27876c(0x1f3)](_0x27876c(0x255)+_0x232228[_0x27876c(0x1ab)]()+_0x27876c(0x269)+_0x46a886+'\x20state='+_0xad211e);}[a98_0x36534d(0x1bf)](_0x41ea83){const _0x316343=a98_0x36534d;return this[_0x316343(0x261)](_0x41ea83,{}),TestFramework['getTrackedInstance']();}['createTestFrameworkEventPayload'](_0x638691){const _0x34b076=a98_0x36534d,_0x5a5c5b={'Mmzql':function(_0x16b9ed,_0x47c7bd){return _0x16b9ed>_0x47c7bd;},'HzVRo':function(_0x4b19a9,_0x5e11b6){return _0x4b19a9-_0x5e11b6;},'hvWSL':function(_0x498555,_0x18d08e){return _0x498555>_0x18d08e;},'pGhDY':function(_0x18e700,_0x12b8af){return _0x18e700-_0x12b8af;},'qSWRm':function(_0x345daf,_0x3f8837){return _0x345daf===_0x3f8837;},'IUaCq':_0x34b076(0x24b),'AftaH':_0x34b076(0x150),'xCdFI':_0x34b076(0x18c),'qxKES':function(_0x1cea53,_0x3713b4){return _0x1cea53||_0x3713b4;},'PdFvO':function(_0x1374fb,_0x135b0e){return _0x1374fb===_0x135b0e;},'wTLuL':_0x34b076(0x21c),'pZXwD':_0x34b076(0x293),'EaRMS':function(_0x38ff52,_0x43c8ff){return _0x38ff52(_0x43c8ff);},'mPGAc':function(_0x3ca1fc,_0x3aa3c0){return _0x3ca1fc||_0x3aa3c0;},'TWpiL':function(_0xd9aea1,_0x76bbf){return _0xd9aea1(_0x76bbf);},'Ponvb':function(_0x86a23a,_0x3d6f3f){return _0x86a23a||_0x3d6f3f;},'Pfiug':function(_0x2bfd16,_0x5df4bd){return _0x2bfd16(_0x5df4bd);},'erSen':_0x34b076(0x1ae),'vZgEj':function(_0x3c7af8,_0x2e8dea){return _0x3c7af8(_0x2e8dea);},'PJjqT':function(_0x29c49c,_0x15cb1e){return _0x29c49c(_0x15cb1e);}};try{const _0x436316=_0x638691['instance'];if(!_0x436316)return{};const _0x1a3b0b=_0x436316['getContext'](),_0x5ecdb7=_0x436316[_0x34b076(0x1fc)]()[_0x34b076(0x1e2)]()[_0x34b076(0x1b2)]('.')[0x1],_0x3e112e=_0x436316[_0x34b076(0x288)]()[_0x34b076(0x1e2)]()[_0x34b076(0x1b2)]('.')[0x1],_0x53e1b9=Number[_0x34b076(0x146)](_0x638691['platformIndex'])?_0x638691[_0x34b076(0x28a)]:0x0,_0x127186={'hash':_0x1a3b0b[_0x34b076(0x1ab)](),'threadId':_0x1a3b0b[_0x34b076(0x1dc)]()[_0x34b076(0x1e2)](),'processId':_0x1a3b0b[_0x34b076(0x249)]()[_0x34b076(0x1e2)]()};if(TestFrameworkConstants[_0x34b076(0x219)]&&new RegExp(TestFrameworkConstants[_0x34b076(0x219)])[_0x34b076(0x257)](_0x5ecdb7)){const _0x3df4dc=_0x5ecdb7,_0xa843a3=_0x436316[_0x34b076(0x155)](),_0x567be8=(_0xa843a3['get'](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{})[_0x3df4dc],_0xd2226f=(_0xa843a3['get'](TestFrameworkConstants['KEY_HOOKS_FINISHED'])||{})[_0x3df4dc],_0x3849a4=Array[_0x34b076(0x23d)](_0x567be8)&&_0x5a5c5b[_0x34b076(0x240)](_0x567be8[_0x34b076(0x23a)],0x0)?_0x567be8[_0x5a5c5b[_0x34b076(0x1bb)](_0x567be8[_0x34b076(0x23a)],0x1)]:null,_0x266988=Array[_0x34b076(0x23d)](_0xd2226f)&&_0x5a5c5b[_0x34b076(0x296)](_0xd2226f['length'],0x0)?_0xd2226f[_0x5a5c5b[_0x34b076(0x294)](_0xd2226f['length'],0x1)]:null,_0xc4e0e9=_0x3849a4&&_0x3849a4['event_started_at']||'',_0x357ce9=_0x266988&&_0x266988['event_ended_at']||'',_0x56b48e=_0x3849a4&&_0x3849a4[_0x34b076(0x283)]||_0x266988&&_0x266988['hook_id']||_0x3df4dc+':'+_0x1a3b0b['getId'](),_0xe4e2fe=_0x638691[_0x34b076(0x244)]||{},_0xb15deb=_0xe4e2fe&&_0xe4e2fe['path']||'',_0xe977f5=_0xe4e2fe&&_0xe4e2fe[_0x34b076(0x1ff)]||'';let _0x1d4325=null;for(const [_0x3615b7,_0x1ad93f]of _0xa843a3['entries']()){if(_0x1ad93f&&_0x5a5c5b[_0x34b076(0x289)](typeof _0x1ad93f,_0x5a5c5b[_0x34b076(0x148)])&&_0x1ad93f[TestFrameworkConstants[_0x34b076(0x252)]]&&!_0x3615b7[_0x34b076(0x161)](_0x5a5c5b[_0x34b076(0x190)])&&!_0x3615b7[_0x34b076(0x161)](_0x5a5c5b[_0x34b076(0x149)])){_0x1d4325=_0x1ad93f;break;}}const _0x2aa7bb=_0x1d4325&&_0x1d4325[TestFrameworkConstants[_0x34b076(0x252)]]||_0xe977f5||_0x3df4dc,_0x3c939c=_0x1d4325&&_0x1d4325[TestFrameworkConstants['KEY_TEST_LOCATION']]||_0xb15deb||'',_0x4fc5fa={[TestFrameworkConstants['KEY_TEST_UUID']]:_0x638691[_0x34b076(0x247)]||'',[TestFrameworkConstants[_0x34b076(0x252)]]:_0x2aa7bb,[TestFrameworkConstants[_0x34b076(0x1cd)]]:_0x3c939c,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3c939c,[TestFrameworkConstants[_0x34b076(0x14d)]]:_0x5a5c5b[_0x34b076(0x265)](_0xe977f5,_0x2aa7bb),[TestFrameworkConstants[_0x34b076(0x1e1)]]:_0xe977f5?[_0xe977f5]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3df4dc,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x56b48e,[TestFrameworkConstants['KEY_HOOK_RESULT']]:_0x5a5c5b['PdFvO'](_0x3e112e,_0x5a5c5b[_0x34b076(0x270)])?_0x5a5c5b[_0x34b076(0x16c)]:TestFrameworkConstants[_0x34b076(0x201)],[TestFrameworkConstants[_0x34b076(0x268)]]:_0xc4e0e9,[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:_0x357ce9,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this['getTestFrameworks']()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x34b076(0x163)]()[this[_0x34b076(0x166)]()[0x0]]||'',[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0xa843a3[_0x34b076(0x21e)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{},[TestFrameworkConstants[_0x34b076(0x1eb)]]:_0xa843a3[_0x34b076(0x21e)](TestFrameworkConstants[_0x34b076(0x1eb)])||{}};return{'platformIndex':_0x53e1b9,'testFrameworkName':this[_0x34b076(0x166)]()[0x0],'testFrameworkVersion':this[_0x34b076(0x163)]()[this[_0x34b076(0x166)]()[0x0]]||'','testFrameworkState':_0x5ecdb7,'hookState':_0x3e112e,'startedAt':_0x5a5c5b['EaRMS'](String,_0x5a5c5b[_0x34b076(0x221)](_0xc4e0e9,'')),'endedAt':_0x5a5c5b[_0x34b076(0x242)](String,_0x5a5c5b[_0x34b076(0x177)](_0x357ce9,'')),'uuid':_0x5a5c5b[_0x34b076(0x19d)](String,_0x56b48e),'eventJson':Buffer[_0x34b076(0x1ca)](JSON[_0x34b076(0x1e4)](_0x4fc5fa))['toString'](_0x5a5c5b['erSen']),'executionContext':_0x127186,'test_identifier':_0x4fc5fa[TestFrameworkConstants[_0x34b076(0x28b)]]};}const _0x2c77bd=_0x638691[_0x34b076(0x1da)]||_0x638691[_0x34b076(0x257)]&&this['_getTestIdentifier'](_0x638691[_0x34b076(0x257)],0x0)||null,_0x1f26d9=_0x2c77bd&&_0x436316[_0x34b076(0x155)]()[_0x34b076(0x21e)](_0x2c77bd)||{},_0x107f6e=_0x436316[_0x34b076(0x155)](),_0x4f692e={..._0x1f26d9,[TestFrameworkConstants[_0x34b076(0x1de)]]:_0x107f6e[_0x34b076(0x21e)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||_0x1f26d9[TestFrameworkConstants[_0x34b076(0x1de)]]||{},[TestFrameworkConstants[_0x34b076(0x1eb)]]:_0x107f6e[_0x34b076(0x21e)](TestFrameworkConstants[_0x34b076(0x1eb)])||_0x1f26d9[TestFrameworkConstants[_0x34b076(0x1eb)]]||{}},{[TestFrameworkConstants[_0x34b076(0x1c1)]]:_0x1bb240=this[_0x34b076(0x166)]()[0x0],[TestFrameworkConstants[_0x34b076(0x253)]]:_0x1f7ec6='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x575a6c='',[TestFrameworkConstants[_0x34b076(0x1f2)]]:_0xc8a9fd=''}=_0x4f692e,_0x5315fa=_0x638691[_0x34b076(0x247)]||_0x4f692e[TestFrameworkConstants['KEY_TEST_UUID']]||_0x436316['getRef'](),_0x3271e6=Buffer['from'](JSON[_0x34b076(0x1e4)](_0x4f692e))[_0x34b076(0x1e2)](_0x5a5c5b[_0x34b076(0x273)]);return{'platformIndex':_0x53e1b9,'testFrameworkName':_0x1bb240,'testFrameworkVersion':_0x1f7ec6,'testFrameworkState':_0x5ecdb7,'hookState':_0x3e112e,'startedAt':_0x575a6c?_0x5a5c5b[_0x34b076(0x19c)](String,_0x575a6c):'','endedAt':_0xc8a9fd?_0x5a5c5b[_0x34b076(0x242)](String,_0xc8a9fd):'','uuid':_0x5a5c5b[_0x34b076(0x196)](String,_0x5a5c5b[_0x34b076(0x221)](_0x5315fa,'')),'eventJson':_0x3271e6,'executionContext':_0x127186,'test_identifier':_0x2c77bd};}catch(_0xd27d9b){return logger['error']('createTestFrameworkEventPayload:\x20'+(_0xd27d9b[_0x34b076(0x180)]||_0xd27d9b)),{};}}async[a98_0x36534d(0x1aa)](_0x42e790,_0x1f7e8d,_0xd8296f,_0x4c25d9,_0x59e004,_0x36eaea){const _0x42c597=a98_0x36534d,_0x101873={'AUQkI':function(_0x1564dd){return _0x1564dd();},'ksQNe':'IMAGE','fPzSF':function(_0x1ff639){return _0x1ff639();},'zJAdT':'ERROR','QHMRj':_0x42c597(0x254),'aXUUc':function(_0x107db2,_0x466c29){return _0x107db2===_0x466c29;}};try{const _0x1c869a=_0x59e004[_0x42c597(0x1da)]||_0x59e004[_0x42c597(0x257)]&&this[_0x42c597(0x275)](_0x59e004[_0x42c597(0x257)],0x0);if(!_0x1c869a){logger[_0x42c597(0x250)](_0x101873[_0x42c597(0x1cb)]);return;}const _0x55da16=_0x42e790[_0x42c597(0x155)]()[_0x42c597(0x21e)](_0x1c869a)||{},_0x13bc0f=_0x55da16[TestFrameworkConstants[_0x42c597(0x274)]],_0x5a360a=_0x55da16[TestFrameworkConstants[_0x42c597(0x238)]]||[],_0x185d9e=_0x55da16[TestFrameworkConstants[_0x42c597(0x266)]]||[],_0x449cec=[];_0x5a360a[_0x42c597(0x1b5)](_0x506209=>{const _0x46174e=_0x42c597;_0x449cec[_0x46174e(0x1db)]({'uuid':_0x101873[_0x46174e(0x23b)](uuidv4),'test_run_uuid':_0x13bc0f,'timestamp':new Date()[_0x46174e(0x200)](),'message':'','attachment_url':_0x506209,'attachment_type':_0x101873[_0x46174e(0x1a4)]});});Array[_0x42c597(0x23d)](_0x185d9e)&&_0x185d9e[_0x42c597(0x1b5)](_0x2bc4b9=>{const _0x3aff09=_0x42c597;_0x449cec[_0x3aff09(0x1db)]({'uuid':_0x101873[_0x3aff09(0x206)](uuidv4),'test_run_uuid':_0x13bc0f,'timestamp':new Date()[_0x3aff09(0x200)](),'message':_0x2bc4b9[_0x3aff09(0x260)]||'','stack_trace':_0x2bc4b9[_0x3aff09(0x180)]||'','level':_0x101873[_0x3aff09(0x243)]});});if(_0x101873['aXUUc'](_0x449cec['length'],0x0)){logger['debug'](_0x42c597(0x1b8)+_0x1c869a);return;}const _0x5bd3f1=_0x55da16[TestFrameworkConstants[_0x42c597(0x1c1)]]||this[_0x42c597(0x166)]()[0x0],_0x18e7cc=_0x55da16[TestFrameworkConstants[_0x42c597(0x253)]]||'',_0x19c271={'platformIndex':Number[_0x42c597(0x146)](_0x36eaea)?_0x36eaea:Number[_0x42c597(0x146)](_0x59e004[_0x42c597(0x28a)])?_0x59e004[_0x42c597(0x28a)]:0x0,'logs':_0x449cec,'testFrameworkName':_0x5bd3f1,'testFrameworkVersion':_0x18e7cc,'testFrameworkState':_0x1f7e8d[_0x42c597(0x1e2)]()[_0x42c597(0x1b2)]('.')[0x1]};logger['debug'](_0x42c597(0x222)+_0x449cec['length']+'\x20logs\x20for\x20testId='+_0x1c869a),await GrpcClient[_0x42c597(0x25c)]()['logCreatedEvent'](_0x19c271);}catch(_0x402274){logger[_0x42c597(0x208)](_0x42c597(0x1e6)+(_0x402274[_0x42c597(0x180)]||_0x402274));}}[a98_0x36534d(0x275)](_0xea48f1,_0x39b9f4){const _0x2a9359=a98_0x36534d,_0x5d6ecb={'QywjI':function(_0x40c402){return _0x40c402();},'RckGa':'unknown'};if(!_0xea48f1)return _0x2a9359(0x278)+_0x5d6ecb[_0x2a9359(0x1a2)](uuidv4);const _0x118dba=_0xea48f1[_0x2a9359(0x244)]&&_0xea48f1[_0x2a9359(0x244)]['path']||_0x5d6ecb[_0x2a9359(0x28f)],_0x1f6703=_0xea48f1[_0x2a9359(0x244)]&&_0xea48f1[_0x2a9359(0x244)][_0x2a9359(0x1ff)]||_0x5d6ecb['RckGa'],_0x5a96a2=_0xea48f1[_0x2a9359(0x1ff)]||_0x5d6ecb['RckGa'],_0x19e6af=_0x118dba+'::'+_0x1f6703+'::'+_0x5a96a2;return _0x39b9f4?_0x19e6af+_0x2a9359(0x18a)+_0x39b9f4:_0x19e6af;}[a98_0x36534d(0x1dd)](_0x44b4ab,_0x4b9a8b,_0x4b612b){const _0x5c6e8a=a98_0x36534d,_0x2d9ed2=_0x4b9a8b&&_0x4b9a8b[_0x5c6e8a(0x244)]&&_0x4b9a8b[_0x5c6e8a(0x244)][_0x5c6e8a(0x28e)]||'',_0x36fd3d=_0x4b9a8b&&_0x4b9a8b['fixture']&&_0x4b9a8b[_0x5c6e8a(0x244)][_0x5c6e8a(0x1ff)]||'',_0x2268e3=_0x4b9a8b&&_0x4b9a8b['name']||'',_0x417db7=this[_0x5c6e8a(0x166)]()[0x0];return{[TestFrameworkConstants[_0x5c6e8a(0x1c1)]]:_0x417db7,[TestFrameworkConstants[_0x5c6e8a(0x253)]]:this['getTestFrameworksVersions']()[_0x417db7],[TestFrameworkConstants[_0x5c6e8a(0x274)]]:_0x44b4ab,[TestFrameworkConstants[_0x5c6e8a(0x252)]]:_0x2268e3,[TestFrameworkConstants[_0x5c6e8a(0x21a)]]:_0x2d9ed2,[TestFrameworkConstants[_0x5c6e8a(0x1cd)]]:_0x2d9ed2,[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x36fd3d,[TestFrameworkConstants[_0x5c6e8a(0x1e1)]]:[_0x36fd3d],[TestFrameworkConstants[_0x5c6e8a(0x20f)]]:this[_0x5c6e8a(0x22d)](_0x4b9a8b),[TestFrameworkConstants[_0x5c6e8a(0x172)]]:TestFrameworkConstants[_0x5c6e8a(0x285)],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4b612b?_0x4b612b['startTime']:new Date()[_0x5c6e8a(0x200)](),[TestFrameworkConstants[_0x5c6e8a(0x26d)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{}};}[a98_0x36534d(0x22d)](_0x586b51){const _0x338d05=a98_0x36534d,_0x7c32bf={'vNZMu':function(_0x1aa922,_0x13720f){return _0x1aa922==_0x13720f;},'YqvKe':function(_0x2f882b,_0x1d25b1){return _0x2f882b(_0x1d25b1);},'ehsxA':function(_0x55e7e4,_0x1a57c9){return _0x55e7e4>_0x1a57c9;},'EYUJs':function(_0x4b2aab,_0x84be8){return _0x4b2aab===_0x84be8;},'DEETg':_0x338d05(0x24b),'uWvhn':function(_0x80919d,_0x4f457a){return _0x80919d in _0x4f457a;},'ABNFA':'tag','PNfUX':'tags','mMbJt':function(_0x160c82,_0x1d7411){return _0x160c82(_0x1d7411);},'VELau':function(_0x47c3db,_0x50a727){return _0x47c3db in _0x50a727;}},_0x5490fb=[],_0x22fa49=_0x1c2694=>{const _0x324649=_0x338d05;if(_0x7c32bf[_0x324649(0x27b)](_0x1c2694,null))return;if(Array[_0x324649(0x23d)](_0x1c2694)){_0x1c2694[_0x324649(0x1b5)](_0x22fa49);return;}const _0x43dc00=_0x7c32bf[_0x324649(0x1ac)](String,_0x1c2694)[_0x324649(0x1ce)]();_0x7c32bf[_0x324649(0x194)](_0x43dc00['length'],0x0)&&_0x5490fb[_0x324649(0x1db)](_0x43dc00);};try{const _0x56c100=_0x586b51&&_0x586b51[_0x338d05(0x15a)]||{};_0x56c100&&_0x7c32bf[_0x338d05(0x202)](typeof _0x56c100,_0x7c32bf['DEETg'])&&(_0x7c32bf[_0x338d05(0x228)](_0x7c32bf['ABNFA'],_0x56c100)&&_0x7c32bf[_0x338d05(0x1ac)](_0x22fa49,_0x56c100[_0x338d05(0x19b)]),_0x7c32bf[_0x338d05(0x228)](_0x7c32bf[_0x338d05(0x24d)],_0x56c100)&&_0x7c32bf[_0x338d05(0x1ef)](_0x22fa49,_0x56c100[_0x338d05(0x1f8)]));const _0x2578b1=_0x586b51&&_0x586b51[_0x338d05(0x244)]&&_0x586b51[_0x338d05(0x244)][_0x338d05(0x15a)]||{};_0x2578b1&&_0x7c32bf[_0x338d05(0x202)](typeof _0x2578b1,_0x7c32bf[_0x338d05(0x1c3)])&&(_0x7c32bf[_0x338d05(0x228)](_0x7c32bf[_0x338d05(0x197)],_0x2578b1)&&_0x7c32bf[_0x338d05(0x1ef)](_0x22fa49,_0x2578b1[_0x338d05(0x19b)]),_0x7c32bf['VELau'](_0x7c32bf['PNfUX'],_0x2578b1)&&_0x7c32bf['mMbJt'](_0x22fa49,_0x2578b1[_0x338d05(0x1f8)]));}catch(_0x38bac7){}return Array[_0x338d05(0x1ca)](new Set(_0x5490fb));}['_stripAnsi'](_0x28d203){const _0x30b29e=a98_0x36534d,_0x38c897={};_0x38c897['KSogM']=function(_0x4332df,_0x219e85){return _0x4332df!==_0x219e85;},_0x38c897[_0x30b29e(0x14f)]='string';const _0x5953e8=_0x38c897;if(_0x5953e8['KSogM'](typeof _0x28d203,_0x5953e8['ucpIa']))return _0x28d203;return _0x28d203[_0x30b29e(0x291)](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}['_deriveFailureType'](_0x426a96){const _0x35e419=a98_0x36534d,_0x1e679c={};_0x1e679c[_0x35e419(0x216)]='Error',_0x1e679c[_0x35e419(0x239)]=function(_0x463c18,_0x4a4de5){return _0x463c18===_0x4a4de5;},_0x1e679c[_0x35e419(0x26f)]='string',_0x1e679c[_0x35e419(0x246)]=function(_0x1c7e12,_0x1a4bd8){return _0x1c7e12!==_0x1a4bd8;},_0x1e679c[_0x35e419(0x235)]=function(_0x51d867,_0x3d51df){return _0x51d867===_0x3d51df;},_0x1e679c['nOGqc']=_0x35e419(0x1a5);const _0x22c58a=_0x1e679c;if(!_0x426a96)return _0x22c58a[_0x35e419(0x216)];if(_0x426a96[_0x35e419(0x1ff)]&&_0x22c58a[_0x35e419(0x239)](typeof _0x426a96['name'],_0x22c58a[_0x35e419(0x26f)])&&_0x22c58a['Akwky'](_0x426a96['name'],_0x22c58a[_0x35e419(0x216)]))return _0x426a96[_0x35e419(0x1ff)];const _0x238ab3=_0x22c58a[_0x35e419(0x235)](typeof _0x426a96[_0x35e419(0x260)],_0x22c58a[_0x35e419(0x26f)])?_0x426a96['message']:'',_0x3416b2=_0x238ab3['match'](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x3416b2)return _0x3416b2[0x1];return _0x426a96[_0x35e419(0x21d)]&&_0x22c58a['vCvSs'](typeof _0x426a96[_0x35e419(0x21d)],_0x22c58a[_0x35e419(0x26f)])?_0x426a96[_0x35e419(0x21d)]:_0x22c58a['nOGqc'];}[a98_0x36534d(0x198)](_0x18829d,_0x1581de){const _0x1dad30=a98_0x36534d,_0x31d3ed={};_0x31d3ed[_0x1dad30(0x23c)]='failed',_0x31d3ed[_0x1dad30(0x248)]=_0x1dad30(0x1a5),_0x31d3ed['CmwYP']=_0x1dad30(0x1bd),_0x31d3ed[_0x1dad30(0x241)]=_0x1dad30(0x293),_0x31d3ed[_0x1dad30(0x26b)]='skipped',_0x31d3ed['iVyPi']=function(_0x28563e,_0x132958){return _0x28563e>_0x132958;};const _0x34eaac=_0x31d3ed;if(!_0x1581de)return{[TestFrameworkConstants[_0x1dad30(0x172)]]:_0x34eaac[_0x1dad30(0x23c)],[TestFrameworkConstants[_0x1dad30(0x1c5)]]:0x0,[TestFrameworkConstants[_0x1dad30(0x266)]]:[{'type':_0x34eaac['NwJZO'],'message':_0x34eaac[_0x1dad30(0x234)],'stack':''}],[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x34eaac[_0x1dad30(0x248)],[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x34eaac[_0x1dad30(0x234)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:new Date()[_0x1dad30(0x200)]()};let _0x5880d4=_0x34eaac[_0x1dad30(0x241)],_0x36774c=null,_0x50f418=null,_0x450b43=null;if(_0x1581de[_0x1dad30(0x220)])_0x5880d4=_0x34eaac[_0x1dad30(0x26b)];else{if(Array[_0x1dad30(0x23d)](_0x1581de[_0x1dad30(0x189)])&&_0x34eaac[_0x1dad30(0x1fe)](_0x1581de['errs'][_0x1dad30(0x23a)],0x0)){_0x5880d4=_0x34eaac['MIFyK'],_0x36774c=_0x1581de[_0x1dad30(0x189)][_0x1dad30(0x1d0)](_0x4ed0e2=>({'type':this['_deriveFailureType'](_0x4ed0e2),'message':this['_stripAnsi'](_0x4ed0e2&&_0x4ed0e2[_0x1dad30(0x260)]?_0x4ed0e2[_0x1dad30(0x260)]:String(_0x4ed0e2)),'stack':this[_0x1dad30(0x176)](_0x4ed0e2&&_0x4ed0e2[_0x1dad30(0x180)]?_0x4ed0e2[_0x1dad30(0x180)]:'')}));const _0x65241b=_0x36774c[0x0];_0x50f418=_0x65241b[_0x1dad30(0x21d)],_0x450b43=_0x65241b['message'];}}const _0x107ac2=Array[_0x1dad30(0x23d)](_0x1581de[_0x1dad30(0x1e5)])?_0x1581de[_0x1dad30(0x1e5)][_0x1dad30(0x1d0)](_0x3b7ab5=>_0x3b7ab5&&_0x3b7ab5[_0x1dad30(0x182)])['filter'](Boolean):[];return{[TestFrameworkConstants[_0x1dad30(0x172)]]:_0x5880d4,[TestFrameworkConstants['KEY_TEST_DURATION']]:_0x1581de[_0x1dad30(0x279)]||0x0,[TestFrameworkConstants[_0x1dad30(0x266)]]:_0x36774c,[TestFrameworkConstants[_0x1dad30(0x1df)]]:_0x50f418,[TestFrameworkConstants[_0x1dad30(0x21f)]]:_0x450b43,[TestFrameworkConstants[_0x1dad30(0x1f2)]]:new Date()[_0x1dad30(0x200)](),[TestFrameworkConstants[_0x1dad30(0x238)]]:_0x107ac2};}async[a98_0x36534d(0x157)](_0x44f87a,_0xe246ad,_0xb3f461,_0x4788b4){const _0x52f580=a98_0x36534d,_0x153628={'SehWf':_0x52f580(0x262),'DOuLD':_0x52f580(0x156),'tojve':_0x52f580(0x25e),'hGsRA':_0x52f580(0x1cc),'MkRCg':function(_0x24fc4e,_0x498803){return _0x24fc4e===_0x498803;},'rsFDU':function(_0x9dbf20){return _0x9dbf20();},'ONjah':function(_0x375aa7,_0x218f9e){return _0x375aa7===_0x218f9e;},'XNcSg':function(_0x4a007c,_0xe51f78){return _0x4a007c-_0xe51f78;},'VlIpN':function(_0x5add69){return _0x5add69();},'tZaRT':'passed'},_0x387774=_0xe246ad[_0x52f580(0x1e2)]()[_0x52f580(0x1b2)]('.')[0x1],_0xf39cd=_0x387774['toLowerCase'](),_0xedae02=_0xf39cd['startsWith'](_0x153628[_0x52f580(0x233)])?_0x153628[_0x52f580(0x287)]:_0xf39cd[_0x52f580(0x225)](_0x153628['tojve'])?_0x153628['hGsRA']:_0xf39cd,_0x1a6177={};if(_0x153628[_0x52f580(0x1b9)](_0xb3f461,HookState['PRE'])){const _0x3fbc92=_0x44f87a['getAllData']()[_0x52f580(0x21e)](TestFrameworkConstants[_0x52f580(0x1de)])||{},_0x4b763d=Array[_0x52f580(0x23d)](_0x3fbc92[_0x387774])?_0x3fbc92[_0x387774]:[],_0x51f4ce=_0x153628[_0x52f580(0x22b)](uuidv4);_0x4b763d[_0x52f580(0x1db)]({'hook_id':_0x51f4ce,'hook_name':_0x387774,'key':_0x387774,'hook_type':_0xedae02,'event_started_at':new Date()[_0x52f580(0x200)]()}),_0x3fbc92[_0x387774]=_0x4b763d;const _0x299c5d=_0x44f87a['getAllData']()['get'](TestFrameworkConstants['KEY_HOOK_LAST_STARTED'])||{};_0x299c5d[_0x387774]=_0x51f4ce,_0x1a6177[TestFrameworkConstants[_0x52f580(0x1de)]]=_0x3fbc92,_0x1a6177[TestFrameworkConstants[_0x52f580(0x18f)]]=_0x299c5d;}else{if(_0x153628['ONjah'](_0xb3f461,HookState['POST'])){const _0x26e750=_0x44f87a[_0x52f580(0x155)]()[_0x52f580(0x21e)](TestFrameworkConstants[_0x52f580(0x1eb)])||{},_0x4cad4b=Array[_0x52f580(0x23d)](_0x26e750[_0x387774])?_0x26e750[_0x387774]:[],_0x192ebe=_0x44f87a[_0x52f580(0x155)]()[_0x52f580(0x21e)](TestFrameworkConstants[_0x52f580(0x18f)])||{},_0x5bc1c6=_0x44f87a[_0x52f580(0x155)]()[_0x52f580(0x21e)](TestFrameworkConstants[_0x52f580(0x1de)])||{},_0x132be6=Array[_0x52f580(0x23d)](_0x5bc1c6[_0x387774])?_0x5bc1c6[_0x387774][_0x153628[_0x52f580(0x1f4)](_0x5bc1c6[_0x387774][_0x52f580(0x23a)],0x1)]:null,_0x1b4c87=_0x192ebe&&_0x192ebe[_0x387774]||_0x132be6&&_0x132be6[_0x52f580(0x283)]||_0x153628[_0x52f580(0x1a1)](uuidv4);_0x4cad4b[_0x52f580(0x1db)]({'hook_id':_0x1b4c87,'hook_name':_0x387774,'key':_0x387774,'hook_type':_0xedae02,'event_started_at':_0x132be6?_0x132be6[_0x52f580(0x263)]:new Date()[_0x52f580(0x200)](),'event_ended_at':new Date()['toISOString'](),'hook_result':_0x153628[_0x52f580(0x16a)]}),_0x26e750[_0x387774]=_0x4cad4b,_0x1a6177[TestFrameworkConstants[_0x52f580(0x1eb)]]=_0x26e750;}}return _0x1a6177;}}function a98_0x3a05(){const _0x21d303=['dpBAM','PwRoA','HULUG','kvCaG','mqoFw','ZOXio','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','eFrYj','HOOK_REGEX','KEY_TEST_FILE_PATH','ChYvQ','POST','type','get','KEY_TEST_FAILURE_REASON','skipped','mPGAc','sendLogCreatedEvent:\x20emitting\x20','kind','\x20platformIndex=','startsWith','trackEvent:\x20runHooks\x20failed\x20—\x20','toLowerCase','uWvhn','iterAllInstances','__platformIdentifiers','rsFDU','testFrameworkEvent','_extractTestTags','EeUDG','PRE','KEY_HUB_URL','tNqzi','nNXlc','SehWf','CmwYP','PmyrA','RDfjO','BEFORE_','KEY_TEST_SCREENSHOTS','vCvSs','length','AUQkI','MIFyK','isArray','beforeEach(test)','27576SYHXOI','Mmzql','kNNcN','TWpiL','zJAdT','fixture','warn','Akwky','testUuid','NwJZO','getProcessId','testSessionEvent','object','dUGRs','PNfUX','95741YtUfdt','2948TiqUpa','debug','runHooks','KEY_TEST_NAME','KEY_TEST_FRAMEWORK_VERSION','sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','_trackTestCafeInstance:\x20contextId=','getCurrentInstanceName','test','18580UcgpuP','tgCDM','_startedTestUuids','EKhaF','getInstance','uuid','after','nteYA','message','_trackTestCafeInstance','before','event_started_at','format','qxKES','KEY_TEST_FAILURE','iiRzk','KEY_EVENT_STARTED_AT','\x20target=','4TXnNWu','Uliqd','oXeZy','KEY_TEST_LOGS','BEFORE_ALL','HbZhW','wTLuL','trackEvent\x20fan-out\x20','NnSgF','erSen','KEY_TEST_UUID','_getTestIdentifier','TestCafe','timestamp','unknown::','durationMs','WJBQz','vNZMu','AFTER_EACH','delete','kCrOW','SYkrp','__platformUuids','TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','DTbnF','hook_id','updateData','DEFAULT_TEST_RESULT','TEST','DOuLD','getCurrentHookState','qSWRm','platformIndex','KEY_HOOK_ID','AFTER_ALL','setCurrentTestState','path','RckGa','_sendHookCbtEvents\x20failed:\x20','replace','qUiPd','passed','pGhDY','XyGSx','hvWSL','osDRw','oxSpT','failed','isInteger','trackEvent','IUaCq','xCdFI','DVKJp','userAgents','FsUjj','KEY_TEST_SCOPE','getState','ucpIa','.__platformUuids','Test\x20execution\x20finished\x20—\x20result:\x20','../instances/trackedInstance.js','_sendLifecycleLogs','MPMmX','getAllData','before_all','_trackHookEvent','set','etvQh','meta','5170cjIwnr','../../../helpers/helper.js','ZUPBj','matchHookRegex','keys','EeTUa','endsWith','../../../helpers/classLogger.js','getTestFrameworksVersions','after(fixture)','trackEvent:\x20no\x20instance\x20for\x20state=','getTestFrameworks','_sendLifecycleLogs\x20failed:\x20','lJLNl','finalizeOrphans','tZaRT','aVGmt','pZXwD','1093905XwtoZx','5871048qdvkiW','zlaQh','gidJi','__currentPlatformUuids','KEY_TEST_RESULT','KIND_LOG','uZPRC','KEY_SESSION_ID','_stripAnsi','Ponvb','FSpWZ','_sendHookCbtEvents','(orphan\x20test\x20','getRef','opCGz','SJGnS','kHDVj','trackEvent\x20','stack','dIFcH','screenshotPath','./testFramework','UHZjW','createContext','gzifH','IwFvy','__pendingPlatformUuids','errs','::retry','_sendHookCbtEvents:\x20','.__platformIdentifiers','BEFORE_EACH','jsqkM','KEY_HOOK_LAST_STARTED','AftaH','finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','obtRu','size','ehsxA','uorSs','PJjqT','ABNFA','_parseTestEnd','KmJRB','NONE','tag','vZgEj','Pfiug','../instances/testFrameworkInstance.js','Cvnpj','trackEvent:\x20state=','VlIpN','QywjI','fnVwL','ksQNe','TestCafeError','GmBoO','Test\x20execution\x20started:\x20','testcafe','\x20sessionId=','sendLogCreatedEvent','getId','YqvKe','\x20platforms\x20(reusingFixtureUuids=','base64','\x20orphan\x20test_run(s)','\x20fan-out:\x20','ANtBI','split','\x20hookState=','Hook\x20','forEach',':\x20uuid=','_sendHookCbtEvents\x20inner\x20failed:\x20','sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId=','MkRCg','651yxKQzz','HzVRo','getTrackedInstance','testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown','../cliUtils.js','_lazyCreateInstance','TestCafeTestFramework','KEY_TEST_FRAMEWORK_NAME','BCcyp','DEETg','__fixture_','KEY_TEST_DURATION','OJCrC','XUOmM','\x20completed','fgIaW','from','QHMRj','after_all','KEY_TEST_LOCATION','trim','setTrackedInstance','map','level','MvqUq','exports','\x20pi=','1903VDWuNP','__currentPlatformIdentifiers','test_run_uuid','getContext','testStartInfo','testIdentifier','push','getThreadId','_parseTestStart','KEY_HOOKS_STARTED','KEY_TEST_FAILURE_TYPE','getData','KEY_TEST_SCOPES','toString','XLPJL','stringify','screenshots','sendLogCreatedEvent\x20failed:\x20','entries','1640106gVkDBp','hubUrl','aClHG','KEY_HOOKS_FINISHED','sKGaO','\x20testUuid=','gIaTY','mMbJt','IKUJe','\x20started','KEY_TEST_ENDED_AT','info','XNcSg','testRunInfo','Btdgs','YOEEw','tags','testName','\x20failed:\x20','afterEach(test)','getCurrentTestState','clear','iVyPi','name','toISOString','DEFAULT_HOOK_RESULT','EYUJs','KEY_CAPABILITIES','addMultipleEntries','unknown','fPzSF','hpoVs','error','../grpcClient','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','util','xzouZ','\x20testName=','fXrUV','KEY_TEST_TAGS','resolveInstance'];a98_0x3a05=function(){return _0x21d303;};return a98_0x3a05();}module[a98_0x36534d(0x1d3)]=TestCafeTestFramework;
|
package/src/bin/v2/grpcClient.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99_0x2ba781=a99_0x530a;(function(_0x430627,_0x5d1450){const _0x1a7d63=a99_0x530a,_0x32ea45=_0x430627();while(!![]){try{const _0xb0a9fe=parseInt(_0x1a7d63(0x239))/0x1+parseInt(_0x1a7d63(0x177))/0x2*(-parseInt(_0x1a7d63(0x230))/0x3)+-parseInt(_0x1a7d63(0x1bb))/0x4+-parseInt(_0x1a7d63(0x1a6))/0x5+parseInt(_0x1a7d63(0x1db))/0x6+parseInt(_0x1a7d63(0x1ed))/0x7+-parseInt(_0x1a7d63(0x20b))/0x8*(-parseInt(_0x1a7d63(0x252))/0x9);if(_0xb0a9fe===_0x5d1450)break;else _0x32ea45['push'](_0x32ea45['shift']());}catch(_0x14b470){_0x32ea45['push'](_0x32ea45['shift']());}}}(a99_0x19a5,0x54289));function a99_0x19a5(){const _0x84e447=['driverInit','Error\x20in\x20getPlaywrightConfig:\x20','fileName','DriverInit\x20request\x20successful','GmaEp','test_identifier','NTDKD','createInsecure','setPlatformIndex','util','SDK_CONNECT_BIN_SESSION','testFrameworkEvent','duration','setCliArgsList','connect','GRDre','setExitSignal','provider','credentials','testSessionEvent','GdYQN','getCallOptions','jIRDl','vtLQr','ftTHM','grpc.keepalive_time_ms','StartBinSession\x20successful','setTestFrameworkState','stop-bin-session\x20response:\x20','YciVe','HanDk',',\x20parsedConfig=','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','AccessibilityConfig\x20error:\x20','fileSize','connectBinSession','setLevel','Missing\x20binSessionId','setPathProject','ConnectBinSessionRequest','JvQVU','info','VXEsP','iXLGA','message','uLtLT','Getting\x20AggregatedClientTroubleshootingErrors','setHubUrl','logCreatedEvent','startBinSession','threadId','warning','pmjAd','getTestFrameworkDetail','vFHio','UqPjA','setSdkVersion','ReportClientTroubleshootingErrorRequest','cwd','KjRON','getSuccess','stopBinSession','hash','setUuid','LXQDU','Kfcws','Connected\x20to\x20gRPC\x20server\x20at\x20','Sending\x20TestFrameworkEvent','setKind','level','from','DPGfJ','../../helpers/classLogger.js','getAutomationFrameworkDetail','StartBinSession\x20error:\x20','Getting\x20Playwright\x20config','entries','TestFrameworkEvent\x20error:\x20','setMessage','TestFrameworkEventRequest','GrpcClient','784962WkhMpi','setFilePath','ReportClientTroubleshootingError\x20successful','BNrtn','yVqAM','NVVYF','setProvider','TestSessionEvent\x20error:\x20','\x20listenAddr:\x20','user_killed','setCliArgs:\x20cliArgs=','CiPWm','kdJdc','startBinSession:\x20Calling\x20startBinSession','YLogQ','filePath','\x20for\x20tag\x20validation','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','fileLogger','BROWSERSTACK_CLI_BIN_SESSION_ID','Jwrll','../../../generated/sdk-messages_pb','product','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','getAggregatedClientTroubleshootingErrors','setFrameworkName','UFMBH','test_run_uuid','Error\x20in\x20stopBinSession:\x20','Channel','setDuration','FetchDriverExecuteParamsEventRequest','RNAfw','RrELs','format','connect-bin-session\x20response:\x20','setBinSessionId','Error\x20in\x20DriverInit:\x20','attachment_type','setHash','AutomationSession','LogCreatedEvent\x20error:\x20','The\x20running\x20binary\x20build\x20was\x20generated\x20from\x20a\x20proto\x20file\x20that\x20does\x20not\x20declare\x20','No\x20gRPC\x20client\x20initialized.','client','jiVfm','setTestFrameworkVersion','1015770KEzmhn','setThreadId','LRQmI','vBoaA','oLSoU','stringify','setStartedAt','vmtRh','@grpc/grpc-js','setOrchestrationStrategy','FqoFl','RXTOm','EdbUA','fetchDriverExecuteParamsEvent','playwrightConfig','stack','getSdkLanguage','GetAggregatedClientTroubleshootingErrors\x20successful','miZcc','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','getFrameworkVersionsMap','1763900PnjzUH','qKnle','name','pQTQn','utf-8','stderr','wDDpC','launchcaps','StopBinSession\x20error:\x20','accessibilityConfig','kfqtA','pending-resolution-from-test-identifier','Connecting\x20bin\x20session','OidIi','CafuN','hubUrl','njeQw','Error\x20in\x20startBinSession:\x20','encode','getSeverity','LogCreatedEvent\x20request\x20successful','besaj','setOrchestrationMetadata','./cliUtils.js','dENdd','Error\x20in\x20TestSessionEvent:\x20','LwDhv','NboAu','setExecutionContext','setProcessId','JCUml','addLogs','925512kmnqIu','SDK_CLI_ON_STOP','setTestUuid','setTestHookState','ExecutionContext','frameworkName','setFrameworkVersion','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','Error\x20in\x20getAccessibilityConfig:\x20','../../helpers/performance/performance-tester.js','PlaywrightConfigRequest','getBrowserstackConfigPath','setTestFilesList','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','processId','setProduct','aKonX','BZXPz','531426ADCDOo','Sending\x20DriverInit','logger','Eszqu','toLowerCase','AccessibilityConfigRequest','KEsDV','\x22userName\x22:\x22[REDACTED]\x22','getPlaywrightConfig','getBrowserstackCliConfig','addAutomationSessions','Reporting\x20ClientTroubleshootingError\x20','Error\x20in\x20ReportClientTroubleshootingError:\x20','SDKClient','AccessibilityConfig\x20request\x20successful','zZLIW','end','CJAsM','\x20and\x20listen\x20address:\x20','lYItH','getAccessibilityConfig','function','setCustomMetadata','write','reportClientTroubleshootingError','setExitReason','set','JwvKv','listenAddress','Fkcfe','16OpDxoY','Mmbds','PJVsX','NUaQq','ConnectBinSession\x20successful','\x22accessKey\x22:\x22[REDACTED]\x22','winstonLogger','path','setTestIdentifier','ConnectBinSession\x20error:\x20','setCapabilities','replace','uTPVe','rPvnt','TestSessionEvent\x20request\x20successful','hook_run_uuid','PlaywrightConfig\x20request\x20successful','warn','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','start','./browserstackCLI.js','forEach','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','getOrderedTestFilesList','testInfo','stdout','../../helpers/logger.js','JGQtJ','testFrameworkName','plfIl','testCafeConfig','setEventJson','kRXXM','vzYct','wTegQ','Error\x20in\x20testOrchestration:\x20','testAnalyticsId','3GFqfKF','OuHlI','gguOr','HmefK','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20generated\x20proto\x20message\x20TestCafeConfigRequest\x20missing.\x20','Sending\x20TestSessionEvent','KAkPS','CEglu','SDK_AUTOMATION_FRAMEWORK_INIT','296129llbboX','dsgZO','VkuRe','GetAggregatedClientTroubleshootingErrorsRequest','No\x20gRPC\x20client\x20not\x20initialized.','sUzmY','(`cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build`).','LogCreatedEventRequest','TestCafeConfig\x20error:\x20','not\x20provided','getInstance','channel','getBody','setTestFrameworkName','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20gRPC\x20client\x20method\x20`testCafeConfig`\x20is\x20unavailable.\x20','bLTby','WPhoc','debug','ZTiHV','SDK_START_BIN_SESSION','xXjkx','version','setRef','test-orchestration-session=','testOrchestration','3847608RTWMII','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','zYMop','frameworkSessionId','DUhtT','OqvJE','frameworkVersion','StopBinSession\x20entries\x20forwarding\x20failed:\x20','JyfiR','error','TestCafeConfigRequest',',\x20scriptName=','ejOUK','GbKSL','setFileSize','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','NjtSt','addFrameworks','binSessionId','argv','getDeadline','setFileName','now','TestSessionEventRequest','slice','StopBinSessionRequest','env','Calling\x20TestCafeConfig','uSNVx','rrXgp','TestOrchestration\x20error:\x20'];a99_0x19a5=function(){return _0x84e447;};return a99_0x19a5();}const util=require(a99_0x2ba781(0x12f)),logger=require(a99_0x2ba781(0x225))[a99_0x2ba781(0x211)],fileLogger=require('../../helpers/logger.js')[a99_0x2ba781(0x189)],grpc=require(a99_0x2ba781(0x1ae)),services=require('../../../generated/sdk_grpc_pb'),messages=require(a99_0x2ba781(0x18c)),path=require(a99_0x2ba781(0x212)),CLIUtils=require(a99_0x2ba781(0x1d2)),{createClassLogger}=require(a99_0x2ba781(0x16e)),PerformanceTester=require(a99_0x2ba781(0x1e4)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require('../../helpers/helper.js');function a99_0x530a(_0x1cf7c1,_0x515328){const _0x19a500=a99_0x19a5();return a99_0x530a=function(_0x530a0d,_0xf9b5d3){_0x530a0d=_0x530a0d-0x118;let _0xb560cc=_0x19a500[_0x530a0d];return _0xb560cc;},a99_0x530a(_0x1cf7c1,_0x515328);}class GrpcClient{static #instance=null;[a99_0x2ba781(0x119)]=null;[a99_0x2ba781(0x209)]=null;['channel']=null;[a99_0x2ba781(0x1a3)]=null;['logger']=createClassLogger(a99_0x2ba781(0x176));constructor(){}static[a99_0x2ba781(0x243)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x175e68){const _0x3bd2f6=a99_0x2ba781,_0x553bbe={};_0x553bbe[_0x3bd2f6(0x24b)]=function(_0x23b15f,_0x31266c){return _0x23b15f||_0x31266c;};const _0x32677f=_0x553bbe,{id:_0x2a06d1,listen:_0x35da53}=_0x175e68;if(_0x32677f[_0x3bd2f6(0x24b)](!_0x2a06d1,!_0x35da53))throw new Error(_0x3bd2f6(0x1e2)+_0x2a06d1+_0x3bd2f6(0x17f)+_0x35da53);this[_0x3bd2f6(0x119)]=_0x2a06d1,this[_0x3bd2f6(0x209)]=_0x35da53,process[_0x3bd2f6(0x121)][_0x3bd2f6(0x18a)]=this[_0x3bd2f6(0x119)],process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x3bd2f6(0x209)],this[_0x3bd2f6(0x134)](),this[_0x3bd2f6(0x1ef)]['info'](_0x3bd2f6(0x1e8)+this[_0x3bd2f6(0x119)]+_0x3bd2f6(0x1ff)+this['listenAddress']);}['connect'](){const _0x5c1804=a99_0x2ba781,_0x475a24={};_0x475a24[_0x5c1804(0x1c8)]=_0x5c1804(0x253);const _0x48ba57=_0x475a24;let _0x49a2a1=this['listenAddress'];!_0x49a2a1&&(_0x49a2a1=process['env'][_0x5c1804(0x188)]);!this['binSessionId']&&(this[_0x5c1804(0x119)]=this[_0x5c1804(0x119)]||process['env'][_0x5c1804(0x18a)]);if(!_0x49a2a1)throw new Error(_0x48ba57[_0x5c1804(0x1c8)]);const _0x2b13e7={};_0x2b13e7[_0x5c1804(0x13f)]=0x2710,this[_0x5c1804(0x244)]=new grpc[(_0x5c1804(0x194))](_0x49a2a1,grpc[_0x5c1804(0x138)][_0x5c1804(0x12d)](),_0x2b13e7),this[_0x5c1804(0x1a3)]=new services[(_0x5c1804(0x1fa))](_0x49a2a1,grpc[_0x5c1804(0x138)][_0x5c1804(0x12d)]()),this[_0x5c1804(0x1ef)][_0x5c1804(0x14f)](_0x5c1804(0x168)+_0x49a2a1);}[a99_0x2ba781(0x11b)](){const _0x2ef445=a99_0x2ba781,_0x5b7bae={};_0x5b7bae[_0x2ef445(0x1d5)]=function(_0x245c56,_0x16b4d4){return _0x245c56+_0x16b4d4;};const _0xca9055=_0x5b7bae;return _0xca9055['LwDhv'](Date[_0x2ef445(0x11d)](),0x7530);}[a99_0x2ba781(0x13b)](){return{'deadline':this['getDeadline']()};}async[a99_0x2ba781(0x157)](){const _0x16d42b=a99_0x2ba781,_0x335126={'wTegQ':function(_0x261cf1,_0x278157){return _0x261cf1!==_0x278157;},'rrhAt':function(_0xd61aba,_0x105012){return _0xd61aba!==_0x105012;},'FqoFl':function(_0x4d182,_0x25cbc9){return _0x4d182(_0x25cbc9);},'YciVe':_0x16d42b(0x140),'VSVSI':function(_0x309483,_0x32d098){return _0x309483(_0x32d098);},'NVVYF':_0x16d42b(0x184),'VdVhN':_0x16d42b(0x23d),'gApaZ':_0x16d42b(0x21f),'Axiyy':function(_0x31a656,_0x476cfd){return _0x31a656 instanceof _0x476cfd;},'oLSoU':'null','HanDk':function(_0x3e22ef,_0x3c50d4){return _0x3e22ef||_0x3c50d4;}};PerformanceTester[_0x16d42b(0x21e)](PerformanceEvents[_0x16d42b(0x24c)]),this[_0x16d42b(0x1ef)][_0x16d42b(0x14f)](_0x335126[_0x16d42b(0x17c)]);try{!this[_0x16d42b(0x1a3)]&&this[_0x16d42b(0x1ef)][_0x16d42b(0x14f)](_0x335126['VdVhN']);const _0x545d80=CLIUtils['getSdkVersion'](),_0x1df678=CLIUtils[_0x16d42b(0x16f)](),_0x305c28=CLIUtils[_0x16d42b(0x15b)](),_0x454c4c=_0x1df678[_0x16d42b(0x1bd)],_0x57f66c=_0x1df678[_0x16d42b(0x24e)],_0x41571d=_0x305c28[_0x16d42b(0x1bd)],_0x3663f6=_0x305c28['version']?_0x305c28[_0x16d42b(0x24e)][_0x41571d]:'',_0x31a5b3=new messages['StartBinSessionRequest']();_0x31a5b3[_0x16d42b(0x19b)](this[_0x16d42b(0x119)]),_0x31a5b3['setSdkLanguage'](CLIUtils[_0x16d42b(0x1b6)]()),_0x31a5b3[_0x16d42b(0x15e)](_0x545d80),_0x31a5b3[_0x16d42b(0x14c)](process[_0x16d42b(0x160)]());const _0xb488c2=_0x31a5b3['getEnvVarsMap']();Object[_0x16d42b(0x172)](process[_0x16d42b(0x121)])[_0x16d42b(0x220)](([_0x2f18e8,_0x48529c])=>{const _0x52d19a=_0x16d42b;_0x335126[_0x52d19a(0x22d)](_0x48529c,undefined)&&_0x335126['rrhAt'](_0x48529c,null)&&_0xb488c2[_0x52d19a(0x207)](_0x2f18e8,_0x48529c);});const _0x2ef41f=_0x335126['VSVSI'](require,_0x335126['gApaZ']),_0xa45c0e=_0x2ef41f[_0x16d42b(0x243)]()[_0x16d42b(0x1f6)](),_0x500a11=[];_0xa45c0e&&_0x335126['Axiyy'](_0xa45c0e,Map)&&_0xa45c0e[_0x16d42b(0x220)]((_0x543271,_0x927a90)=>{_0x500a11['push'](_0x927a90+'='+_0x543271);});const _0x201f8d=process[_0x16d42b(0x11a)][_0x16d42b(0x11f)](0x2);_0x31a5b3[_0x16d42b(0x133)]([..._0x201f8d,..._0x500a11]),_0x31a5b3['setPathConfig'](_0x2ef41f['getInstance']()[_0x16d42b(0x1e6)]()),this[_0x16d42b(0x1ef)]['info'](_0x16d42b(0x181)+JSON['stringify'](_0x201f8d)+_0x16d42b(0x145)+(_0xa45c0e?JSON[_0x16d42b(0x1ab)]([..._0xa45c0e]):_0x335126[_0x16d42b(0x1aa)])),_0x31a5b3['setLanguage'](CLIUtils[_0x16d42b(0x1b6)]()),_0x31a5b3['setTestFramework'](_0x41571d);const _0x277772=_0x31a5b3[_0x16d42b(0x1ba)]();return _0x277772['set'](_0x454c4c,_0x335126[_0x16d42b(0x144)](_0x57f66c,'')),_0x277772['set'](_0x41571d,_0x335126[_0x16d42b(0x144)](_0x3663f6,'')),_0x31a5b3['addFrameworks'](_0x454c4c,_0x57f66c),_0x31a5b3[_0x16d42b(0x118)](_0x41571d,_0x3663f6),_0x31a5b3['setFrameworksList']([_0x41571d,_0x454c4c]),new Promise((_0x43664b,_0x1297bc)=>{const _0x577eb9=_0x16d42b;this[_0x577eb9(0x1a3)]['startBinSession'](_0x31a5b3,this[_0x577eb9(0x13b)](),(_0x32a5d3,_0x1137cd)=>{const _0x4cc05d=_0x577eb9;if(_0x32a5d3){this['logger']['error'](_0x4cc05d(0x170)+_0x32a5d3['message']),_0x335126[_0x4cc05d(0x1b0)](_0x1297bc,_0x32a5d3),PerformanceTester[_0x4cc05d(0x1fd)](PerformanceEvents[_0x4cc05d(0x24c)],![],util[_0x4cc05d(0x199)](_0x32a5d3));return;}this[_0x4cc05d(0x1ef)][_0x4cc05d(0x14f)](_0x335126[_0x4cc05d(0x143)]),PerformanceTester[_0x4cc05d(0x1fd)](PerformanceEvents[_0x4cc05d(0x24c)]),_0x335126['VSVSI'](_0x43664b,_0x1137cd);});});}catch(_0x389f2a){this[_0x16d42b(0x1ef)][_0x16d42b(0x25b)](_0x16d42b(0x1cc)+util[_0x16d42b(0x199)](_0x389f2a)),PerformanceTester[_0x16d42b(0x1fd)](PerformanceEvents[_0x16d42b(0x24c)],![],util[_0x16d42b(0x199)](_0x389f2a));throw _0x389f2a;}}async[a99_0x2ba781(0x149)](){const _0x457120=a99_0x2ba781,_0x58799c={'GdYQN':function(_0x4543fd,_0x3d9106){return _0x4543fd(_0x3d9106);},'plfIl':_0x457120(0x20f),'KEsDV':_0x457120(0x1c7),'vBoaA':'No\x20gRPC\x20client\x20not\x20initialized.','miZcc':_0x457120(0x1f4),'LXQDU':_0x457120(0x210),'BNrtn':'\x22key\x22:\x22[REDACTED]\x22'};PerformanceTester[_0x457120(0x21e)](PerformanceEvents[_0x457120(0x130)]),this[_0x457120(0x1ef)][_0x457120(0x14f)](_0x58799c[_0x457120(0x1f3)]);try{!this[_0x457120(0x1a3)]&&this[_0x457120(0x1ef)][_0x457120(0x14f)](_0x58799c[_0x457120(0x1a9)]);const _0x785b=new messages[(_0x457120(0x14d))]();_0x785b['setBinSessionId'](this[_0x457120(0x119)]);const _0x44054f=await new Promise((_0x523592,_0x2b3d43)=>{const _0x2bd7ca=_0x457120;this[_0x2bd7ca(0x1a3)][_0x2bd7ca(0x149)](_0x785b,this['getCallOptions'](),(_0x4ea485,_0x5a60ab)=>{const _0x3a7d4c=_0x2bd7ca;if(_0x4ea485){this[_0x3a7d4c(0x1ef)][_0x3a7d4c(0x25b)](_0x3a7d4c(0x214)+_0x4ea485[_0x3a7d4c(0x152)]),_0x58799c[_0x3a7d4c(0x13a)](_0x2b3d43,_0x4ea485),PerformanceTester[_0x3a7d4c(0x1fd)](PerformanceEvents[_0x3a7d4c(0x130)],![],util['format'](_0x4ea485));return;}this[_0x3a7d4c(0x1ef)]['info'](_0x58799c[_0x3a7d4c(0x228)]),PerformanceTester[_0x3a7d4c(0x1fd)](PerformanceEvents[_0x3a7d4c(0x130)]),_0x58799c[_0x3a7d4c(0x13a)](_0x523592,_0x5a60ab);});}),_0x1c9eed=util[_0x457120(0x199)](_0x44054f)[_0x457120(0x216)](/"userName":"[^"]*"/g,_0x58799c[_0x457120(0x1b8)])['replace'](/"accessKey":"[^"]*"/g,_0x58799c[_0x457120(0x166)])[_0x457120(0x216)](/"key":"[^"]*"/g,_0x58799c[_0x457120(0x17a)]);return this[_0x457120(0x1ef)][_0x457120(0x24a)](_0x457120(0x19a)+_0x1c9eed),_0x44054f;}catch(_0x150cba){PerformanceTester['end'](PerformanceEvents[_0x457120(0x130)],![],util[_0x457120(0x199)](_0x150cba)),this[_0x457120(0x1ef)][_0x457120(0x25b)]('Error\x20in\x20connectBinSession:\x20'+util['format'](_0x150cba));throw _0x150cba;}}async[a99_0x2ba781(0x163)](_0x10846d={},_0x395e2c=null){const _0xc35d54=a99_0x2ba781,_0xd92327={'QaQSL':function(_0x1a747c,_0xc61b64){return _0x1a747c(_0xc61b64);},'CafuN':'StopBinSession\x20successful','ftTHM':function(_0x2f39c8,_0x3cc744){return _0x2f39c8(_0x3cc744);},'KjRON':'Stopping\x20bin\x20session','NjtSt':_0xc35d54(0x14b),'trwqE':_0xc35d54(0x23d),'pQTQn':_0xc35d54(0x180),'ejOUK':function(_0x464c58,_0x4e6e4b){return _0x464c58===_0x4e6e4b;},'CzDBJ':'function','CJAsM':function(_0x4054a6,_0x592920){return _0x4054a6===_0x592920;},'dENdd':'info','vmtRh':function(_0x5942cc,_0x4571c1){return _0x5942cc===_0x4571c1;},'xXjkx':_0xc35d54(0x21c),'UqPjA':_0xc35d54(0x159),'bLTby':function(_0x4a8471,_0x1ebcab){return _0x4a8471===_0x1ebcab;},'dsgZO':_0xc35d54(0x25b),'uLtLT':function(_0x1f536d,_0x14c260){return _0x1f536d+_0x14c260;}};PerformanceTester['start'](PerformanceEvents[_0xc35d54(0x1dc)]),this['logger']['info'](_0xd92327[_0xc35d54(0x161)]);try{if(!this[_0xc35d54(0x119)])throw new Error(_0xd92327[_0xc35d54(0x262)]);!this[_0xc35d54(0x1a3)]&&this[_0xc35d54(0x1ef)][_0xc35d54(0x14f)](_0xd92327['trwqE']);const _0x371961=new messages[(_0xc35d54(0x120))]();this[_0xc35d54(0x1ef)]['debug']('Stopping\x20signal\x20'+JSON[_0xc35d54(0x1ab)](_0x395e2c)),_0x371961[_0xc35d54(0x19b)](this['binSessionId']),_0x371961[_0xc35d54(0x203)](_0x10846d),_0x371961[_0xc35d54(0x136)](_0x395e2c?_0x395e2c:null),_0x371961[_0xc35d54(0x206)](_0x395e2c?_0xd92327[_0xc35d54(0x1be)]:null),_0x371961['setExitCode'](_0x395e2c?0x1:0x0);const _0x985544=await new Promise((_0x54c0c2,_0x567bd6)=>{const _0x36f43f=_0xc35d54;this[_0x36f43f(0x1a3)][_0x36f43f(0x163)](_0x371961,this[_0x36f43f(0x13b)](),(_0x4a92cd,_0x808d6a)=>{const _0x464557=_0x36f43f;if(_0x4a92cd){this[_0x464557(0x1ef)][_0x464557(0x25b)](_0x464557(0x1c3)+_0x4a92cd[_0x464557(0x152)]),_0xd92327['QaQSL'](_0x567bd6,_0x4a92cd),PerformanceTester[_0x464557(0x1fd)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x464557(0x199)](_0x4a92cd));return;}this[_0x464557(0x1ef)][_0x464557(0x14f)](_0xd92327[_0x464557(0x1c9)]),PerformanceTester[_0x464557(0x1fd)](PerformanceEvents[_0x464557(0x1dc)]),_0xd92327[_0x464557(0x13e)](_0x54c0c2,_0x808d6a);});});this[_0xc35d54(0x1ef)]['debug'](_0xc35d54(0x142)+util['format'](_0x985544));try{const _0x167ba8=_0xd92327[_0xc35d54(0x25e)](typeof _0x985544['getEntriesList'],_0xd92327['CzDBJ'])?_0x985544['getEntriesList']():[];for(const _0x5ccb8b of _0x167ba8){const _0x5104ae=_0x5ccb8b&&_0xd92327[_0xc35d54(0x1fe)](typeof _0x5ccb8b['getBody'],_0xd92327['CzDBJ'])?_0x5ccb8b[_0xc35d54(0x245)]():'';if(!_0x5104ae)continue;const _0x329bb3=(_0x5ccb8b[_0xc35d54(0x1ce)]&&_0x5ccb8b[_0xc35d54(0x1ce)]()||_0xd92327[_0xc35d54(0x1d3)])[_0xc35d54(0x1f1)](),_0x572e3c=_0xd92327[_0xc35d54(0x1ad)](_0x329bb3,_0xd92327[_0xc35d54(0x24d)])||_0xd92327[_0xc35d54(0x1ad)](_0x329bb3,_0xd92327[_0xc35d54(0x15d)])||_0xd92327[_0xc35d54(0x248)](_0x329bb3,_0xd92327['dsgZO']),_0x12328d=_0x572e3c?process[_0xc35d54(0x1c0)]:process[_0xc35d54(0x224)];_0x12328d[_0xc35d54(0x204)](_0xd92327[_0xc35d54(0x153)](_0x5104ae,'\x0a'));const _0x40a0f0=_0xd92327[_0xc35d54(0x25e)](_0x329bb3,_0xd92327[_0xc35d54(0x23a)])?_0xd92327[_0xc35d54(0x23a)]:_0x572e3c?_0xd92327['xXjkx']:_0xd92327[_0xc35d54(0x1d3)];fileLogger[_0x40a0f0](_0x5104ae);}}catch(_0x31f44f){this['logger'][_0xc35d54(0x24a)](_0xc35d54(0x259)+(_0x31f44f[_0xc35d54(0x1b5)]||_0x31f44f));}return _0x985544;}catch(_0x242702){PerformanceTester['end'](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x242702)),this[_0xc35d54(0x1ef)][_0xc35d54(0x25b)](_0xc35d54(0x193)+util[_0xc35d54(0x199)](_0x242702));}}async[a99_0x2ba781(0x1f5)](_0x5a8386){const _0x58de2d=a99_0x2ba781,_0x54c488={'Jwrll':function(_0x45b643,_0x2b99e6){return _0x45b643(_0x2b99e6);},'aKonX':_0x58de2d(0x21b),'Kfcws':function(_0x5d401a,_0x424765){return _0x5d401a(_0x424765);},'RXTOm':_0x58de2d(0x171),'VXEsP':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x58de2d(0x21e)](PerformanceEvents[_0x58de2d(0x238)]),this[_0x58de2d(0x1ef)]['info'](_0x54c488[_0x58de2d(0x1b1)]);try{!this[_0x58de2d(0x1a3)]&&this[_0x58de2d(0x1ef)]['info'](_0x54c488[_0x58de2d(0x150)]);const _0x5bb7df=new messages[(_0x58de2d(0x1e5))]();return _0x5bb7df[_0x58de2d(0x19b)](this[_0x58de2d(0x119)]),_0x5bb7df['setConfig'](JSON[_0x58de2d(0x1ab)](_0x5a8386)),new Promise((_0x46e082,_0x3c1e74)=>{const _0x4dde5a=_0x58de2d;this[_0x4dde5a(0x1a3)][_0x4dde5a(0x1b4)](_0x5bb7df,this[_0x4dde5a(0x13b)](),(_0x27c826,_0x13bd3d)=>{const _0x26a8a8=_0x4dde5a;if(_0x27c826){this[_0x26a8a8(0x1ef)]['error']('PlaywrightConfig\x20error:\x20'+_0x27c826[_0x26a8a8(0x152)]),_0x54c488[_0x26a8a8(0x18b)](_0x3c1e74,_0x27c826),PerformanceTester[_0x26a8a8(0x1fd)](PerformanceEvents[_0x26a8a8(0x238)],![],util[_0x26a8a8(0x199)](_0x27c826));return;}this[_0x26a8a8(0x1ef)][_0x26a8a8(0x14f)](_0x54c488[_0x26a8a8(0x1eb)]),PerformanceTester[_0x26a8a8(0x1fd)](PerformanceEvents[_0x26a8a8(0x238)]),_0x54c488[_0x26a8a8(0x167)](_0x46e082,_0x13bd3d);});});}catch(_0x5c1c3d){PerformanceTester['end'](PerformanceEvents[_0x58de2d(0x238)],![],util['format'](_0x5c1c3d)),this['logger']['error'](_0x58de2d(0x127)+util[_0x58de2d(0x199)](_0x5c1c3d));throw _0x5c1c3d;}}async[a99_0x2ba781(0x201)](_0x5b37b4){const _0x4bcf70=a99_0x2ba781,_0x80b28b={'vFHio':function(_0x1f758e,_0x188ce6){return _0x1f758e(_0x188ce6);},'kfqtA':_0x4bcf70(0x1fb),'DUhtT':function(_0x58d6c6,_0x1c197c){return _0x58d6c6||_0x1c197c;},'JCUml':'not\x20provided','BZXPz':_0x4bcf70(0x1bf)},_0x43fb41=_0x5b37b4['testInfo']?.[_0x4bcf70(0x22f)]||_0x5b37b4[_0x4bcf70(0x223)]?.['id'];this[_0x4bcf70(0x1ef)][_0x4bcf70(0x14f)](_0x4bcf70(0x146)+_0x80b28b[_0x4bcf70(0x256)](_0x43fb41,_0x80b28b[_0x4bcf70(0x1d9)]));try{const _0x39e6cc=Buffer[_0x4bcf70(0x16c)](JSON['stringify'](_0x5b37b4[_0x4bcf70(0x1c2)]),_0x80b28b[_0x4bcf70(0x1ec)]),_0x5134cf=new messages[(_0x4bcf70(0x1f2))](),_0x1c7e2a=CLIUtils[_0x4bcf70(0x16f)](),_0x276fbb=_0x1c7e2a[_0x4bcf70(0x1bd)],_0x3a302d=_0x1c7e2a['version'];_0x5134cf['setBinSessionId'](this[_0x4bcf70(0x119)]),_0x5134cf['setPlatformIndex'](0x0),_0x5134cf[_0x4bcf70(0x190)](_0x276fbb),_0x5134cf['setFrameworkVersion'](_0x3a302d),_0x5134cf[_0x4bcf70(0x155)](_0x5b37b4[_0x4bcf70(0x1ca)]),_0x5134cf['setCapabilities'](_0x39e6cc);if(_0x5b37b4[_0x4bcf70(0x223)]?.[_0x4bcf70(0x22f)]||_0x5b37b4[_0x4bcf70(0x223)]?.['id']){const _0x3b50ef=_0x5b37b4[_0x4bcf70(0x223)]['testAnalyticsId']||_0x5b37b4['testInfo']['id'];_0x5134cf[_0x4bcf70(0x213)](_0x3b50ef),this[_0x4bcf70(0x1ef)][_0x4bcf70(0x24a)](_0x4bcf70(0x221)+_0x3b50ef+_0x4bcf70(0x187));}return new Promise((_0x202fbf,_0x214a81)=>{const _0x1b52ab=_0x4bcf70;this['client'][_0x1b52ab(0x1c4)](_0x5134cf,this[_0x1b52ab(0x13b)](),(_0xfd6d32,_0x9c3ecb)=>{const _0x6df7b2=_0x1b52ab;if(_0xfd6d32){this[_0x6df7b2(0x1ef)][_0x6df7b2(0x25b)](_0x6df7b2(0x147)+_0xfd6d32[_0x6df7b2(0x152)]),_0x80b28b[_0x6df7b2(0x15c)](_0x214a81,_0xfd6d32);return;}this['logger'][_0x6df7b2(0x14f)](_0x80b28b[_0x6df7b2(0x1c5)]),_0x80b28b[_0x6df7b2(0x15c)](_0x202fbf,_0x9c3ecb);});});}catch(_0x183780){this['logger'][_0x4bcf70(0x25b)](_0x4bcf70(0x1e3)+util[_0x4bcf70(0x199)](_0x183780));}}async[a99_0x2ba781(0x251)](_0x143c1d,_0x46381e=null,_0x1a4622=null){const _0x112e2f=a99_0x2ba781,_0x28d0ac={'yVqAM':function(_0x378a08,_0x414f4c){return _0x378a08(_0x414f4c);},'zYMop':function(_0x595d5e,_0x5607d3){return _0x595d5e(_0x5607d3);}};try{const _0x508b82=new messages['TestOrchestrationRequest']();return _0x508b82[_0x112e2f(0x19b)](this[_0x112e2f(0x119)]),_0x508b82[_0x112e2f(0x1e7)](_0x143c1d||[]),_0x46381e&&_0x508b82[_0x112e2f(0x1af)](_0x46381e),_0x1a4622&&_0x508b82[_0x112e2f(0x1d1)](_0x1a4622),new Promise((_0x3e9659,_0x525f0a)=>{const _0x3c5836=_0x112e2f;this[_0x3c5836(0x1a3)][_0x3c5836(0x251)](_0x508b82,(_0x460d1f,_0x5528ef)=>{const _0x399c73=_0x3c5836;if(_0x460d1f){this['logger'][_0x399c73(0x25b)](_0x399c73(0x125)+_0x460d1f[_0x399c73(0x152)]),_0x28d0ac[_0x399c73(0x17b)](_0x525f0a,_0x460d1f);return;}this[_0x399c73(0x1ef)][_0x399c73(0x24a)](_0x399c73(0x250)+util[_0x399c73(0x199)](_0x5528ef));if(_0x5528ef[_0x399c73(0x162)]()){const _0x3aecf7=_0x5528ef[_0x399c73(0x222)]();_0x28d0ac[_0x399c73(0x254)](_0x3e9659,_0x3aecf7);}else _0x28d0ac[_0x399c73(0x17b)](_0x3e9659,null);});});}catch(_0x2ed893){return this[_0x112e2f(0x1ef)]['error'](_0x112e2f(0x22e)+util[_0x112e2f(0x199)](_0x2ed893)),null;}}async[a99_0x2ba781(0x139)](_0x94c6f9){const _0x2ad7ba=a99_0x2ba781,_0x38014d={'JGQtJ':function(_0x460aed,_0x3dfab6){return _0x460aed(_0x3dfab6);},'GmaEp':_0x2ad7ba(0x219),'sUzmY':_0x2ad7ba(0x235),'JHGHl':_0x2ad7ba(0x23d)};this[_0x2ad7ba(0x1ef)][_0x2ad7ba(0x14f)](_0x38014d[_0x2ad7ba(0x23e)]);try{!this[_0x2ad7ba(0x1a3)]&&this[_0x2ad7ba(0x1ef)][_0x2ad7ba(0x14f)](_0x38014d['JHGHl']);const {platformIndex:_0x404d3b,testFrameworkName:_0x51321c,testFrameworkVersion:_0x5f1994,testFrameworkState:_0x1da0d4,testHookState:_0x2f58ad,testUuid:_0x11f5a3,automationSession:_0x12f63c,capabilities:_0x2e1a1a,executionContext:_0x4eefd6,test_identifier:_0x356818}=_0x94c6f9,_0x166695=new messages[(_0x2ad7ba(0x11e))]();_0x166695[_0x2ad7ba(0x19b)](this[_0x2ad7ba(0x119)]),_0x166695[_0x2ad7ba(0x12e)](_0x404d3b),_0x166695[_0x2ad7ba(0x246)](_0x51321c),_0x166695[_0x2ad7ba(0x1a5)](_0x5f1994),_0x166695[_0x2ad7ba(0x141)](_0x1da0d4),_0x166695[_0x2ad7ba(0x1de)](_0x2f58ad),_0x166695[_0x2ad7ba(0x1dd)](_0x11f5a3);const _0x44a56f=new messages[(_0x2ad7ba(0x11e))][(_0x2ad7ba(0x19f))]();_0x44a56f[_0x2ad7ba(0x17d)](_0x12f63c[_0x2ad7ba(0x137)]),_0x44a56f['setFrameworkName'](_0x12f63c[_0x2ad7ba(0x1e0)]),_0x44a56f[_0x2ad7ba(0x1e1)](_0x12f63c[_0x2ad7ba(0x258)]),_0x44a56f['setFrameworkSessionId'](_0x12f63c[_0x2ad7ba(0x255)]),_0x44a56f[_0x2ad7ba(0x1ea)](_0x12f63c[_0x2ad7ba(0x18d)]),_0x44a56f['setRef'](_0x12f63c['ref']),_0x44a56f[_0x2ad7ba(0x155)](_0x12f63c['hubUrl']),_0x166695[_0x2ad7ba(0x1f7)](_0x44a56f),_0x166695[_0x2ad7ba(0x215)](_0x2e1a1a);const _0x52386c=new messages['ExecutionContext']();return _0x52386c[_0x2ad7ba(0x1d8)](_0x4eefd6['processId']),_0x52386c[_0x2ad7ba(0x1a7)](_0x4eefd6[_0x2ad7ba(0x158)]),_0x52386c[_0x2ad7ba(0x19e)](_0x4eefd6[_0x2ad7ba(0x164)]),_0x166695[_0x2ad7ba(0x1d7)](_0x52386c),_0x356818&&_0x166695[_0x2ad7ba(0x213)](_0x356818),new Promise((_0x1c103d,_0x5b84ee)=>{const _0x1ce80e=_0x2ad7ba,_0x3a415e={'kRXXM':function(_0x2c67a2,_0x250a98){const _0xeb9b55=a99_0x530a;return _0x38014d[_0xeb9b55(0x226)](_0x2c67a2,_0x250a98);},'Mmbds':_0x38014d[_0x1ce80e(0x12a)]};this[_0x1ce80e(0x1a3)][_0x1ce80e(0x139)](_0x166695,this['getCallOptions'](),(_0x83ca18,_0x119579)=>{const _0x201d70=_0x1ce80e;if(_0x83ca18){this['logger'][_0x201d70(0x25b)](_0x201d70(0x17e)+_0x83ca18[_0x201d70(0x152)]),_0x3a415e[_0x201d70(0x22b)](_0x5b84ee,_0x83ca18);return;}this[_0x201d70(0x1ef)][_0x201d70(0x14f)](_0x3a415e[_0x201d70(0x20c)]),_0x3a415e['kRXXM'](_0x1c103d,_0x119579);});});}catch(_0x44f5ff){this[_0x2ad7ba(0x1ef)][_0x2ad7ba(0x25b)](_0x2ad7ba(0x1d4)+util[_0x2ad7ba(0x199)](_0x44f5ff));throw _0x44f5ff;}}async[a99_0x2ba781(0x131)](_0x47c4de){const _0x4a1acf=a99_0x2ba781,_0xb6c52e={'CiPWm':function(_0x1beda5,_0xeef6b2){return _0x1beda5(_0xeef6b2);},'uSNVx':'TestFrameworkEvent\x20request\x20successful','DPGfJ':_0x4a1acf(0x169),'kdJdc':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x4a1acf(0x1ef)][_0x4a1acf(0x14f)](_0xb6c52e[_0x4a1acf(0x16d)]);try{!this[_0x4a1acf(0x1a3)]&&this[_0x4a1acf(0x1ef)][_0x4a1acf(0x14f)](_0xb6c52e[_0x4a1acf(0x183)]);const {platformIndex:_0x48468b,testFrameworkName:_0xc9ba29,testFrameworkVersion:_0x84836b,testFrameworkState:_0x2687c2,hookState:_0x1c79b4,startedAt:_0x1c6932,endedAt:_0x2496bb,uuid:_0xc58321,eventJson:_0x2da402,executionContext:_0x293d8e,test_identifier:_0x4f4c83}=_0x47c4de,_0x1af245=new messages[(_0x4a1acf(0x175))]();_0x1af245['setBinSessionId'](this[_0x4a1acf(0x119)]),_0x1af245[_0x4a1acf(0x12e)](_0x48468b),_0x1af245[_0x4a1acf(0x246)](_0xc9ba29),_0x1af245['setTestFrameworkVersion'](_0x84836b),_0x1af245[_0x4a1acf(0x141)](_0x2687c2),_0x1af245[_0x4a1acf(0x1de)](_0x1c79b4),_0x1af245[_0x4a1acf(0x1ac)](_0x1c6932),_0x1af245['setEndedAt'](_0x2496bb),_0x1af245['setUuid'](_0xc58321),_0x1af245[_0x4a1acf(0x22a)](_0x2da402);const _0x533202=new messages[(_0x4a1acf(0x1df))]();return _0x533202['setProcessId'](_0x293d8e[_0x4a1acf(0x1e9)]),_0x533202[_0x4a1acf(0x1a7)](_0x293d8e[_0x4a1acf(0x158)]),_0x533202[_0x4a1acf(0x19e)](_0x293d8e[_0x4a1acf(0x164)]),_0x1af245[_0x4a1acf(0x1d7)](_0x533202),_0x4f4c83&&_0x1af245['setTestIdentifier'](_0x4f4c83),new Promise((_0x5f4b95,_0x356162)=>{const _0x11a253=_0x4a1acf,_0x384d7b={'wDDpC':function(_0x535b6e,_0x4c3303){const _0x3eefbc=a99_0x530a;return _0xb6c52e[_0x3eefbc(0x182)](_0x535b6e,_0x4c3303);},'UFMBH':_0xb6c52e[_0x11a253(0x123)],'zZLIW':function(_0x5f3f0f,_0x10de3b){const _0x3369d5=_0x11a253;return _0xb6c52e[_0x3369d5(0x182)](_0x5f3f0f,_0x10de3b);}};this[_0x11a253(0x1a3)][_0x11a253(0x131)](_0x1af245,this[_0x11a253(0x13b)](),(_0x2e18c8,_0x2ec12b)=>{const _0x74b38=_0x11a253;if(_0x2e18c8){this['logger'][_0x74b38(0x25b)](_0x74b38(0x173)+_0x2e18c8[_0x74b38(0x152)]),_0x384d7b[_0x74b38(0x1c1)](_0x356162,_0x2e18c8);return;}this[_0x74b38(0x1ef)][_0x74b38(0x14f)](_0x384d7b[_0x74b38(0x191)]),_0x384d7b[_0x74b38(0x1fc)](_0x5f4b95,_0x2ec12b);});});}catch(_0x124ee2){this[_0x4a1acf(0x1ef)][_0x4a1acf(0x25b)]('Error\x20in\x20TestFrameworkEvent:\x20'+util['format'](_0x124ee2));throw _0x124ee2;}}async[a99_0x2ba781(0x126)](_0x162dd8){const _0x5a7eb0=a99_0x2ba781,_0x16e099={'GbKSL':function(_0x5f2a01,_0x443603){return _0x5f2a01(_0x443603);},'GRDre':_0x5a7eb0(0x129),'ZOAIq':function(_0x1237bd,_0xebb17b){return _0x1237bd(_0xebb17b);},'JwvKv':_0x5a7eb0(0x1ee),'RNAfw':_0x5a7eb0(0x23d)};this[_0x5a7eb0(0x1ef)]['info'](_0x16e099[_0x5a7eb0(0x208)]);try{!this[_0x5a7eb0(0x1a3)]&&this['logger'][_0x5a7eb0(0x14f)](_0x16e099[_0x5a7eb0(0x197)]);const {platformIndex:_0x2726c8,ref:_0x275de6,userInputParams:_0x1fd05d,hubUrl:_0x1e3120}=_0x162dd8,_0x13ddc6=new messages['DriverInitRequest']();return _0x13ddc6[_0x5a7eb0(0x19b)](this[_0x5a7eb0(0x119)]),_0x13ddc6[_0x5a7eb0(0x12e)](_0x2726c8),_0x13ddc6[_0x5a7eb0(0x24f)](_0x275de6),_0x13ddc6['setUserInputParams'](_0x1fd05d),_0x13ddc6[_0x5a7eb0(0x155)](_0x1e3120),new Promise((_0x1d8dc0,_0xd6af69)=>{const _0x28bcf3=_0x5a7eb0,_0x3bb00a={'YsVgN':function(_0x2934c3,_0x20c1be){const _0x9f39ff=a99_0x530a;return _0x16e099[_0x9f39ff(0x25f)](_0x2934c3,_0x20c1be);},'vzYct':_0x16e099[_0x28bcf3(0x135)],'HmefK':function(_0xb3d769,_0x978c40){return _0x16e099['ZOAIq'](_0xb3d769,_0x978c40);}};this['client']['driverInit'](_0x13ddc6,this[_0x28bcf3(0x13b)](),(_0x490657,_0x17d3b8)=>{const _0x366b33=_0x28bcf3;if(_0x490657){this[_0x366b33(0x1ef)][_0x366b33(0x25b)]('DriverInit\x20error:\x20'+_0x490657[_0x366b33(0x152)]),_0x3bb00a['YsVgN'](_0xd6af69,_0x490657);return;}this[_0x366b33(0x1ef)][_0x366b33(0x14f)](_0x3bb00a[_0x366b33(0x22c)]),_0x3bb00a[_0x366b33(0x233)](_0x1d8dc0,_0x17d3b8);});});}catch(_0x46eefb){this[_0x5a7eb0(0x1ef)][_0x5a7eb0(0x25b)](_0x5a7eb0(0x19c)+util['format'](_0x46eefb));throw _0x46eefb;}}async[a99_0x2ba781(0x156)](_0x227392){const _0xdfce29=a99_0x2ba781,_0xfbbef4={'JvQVU':function(_0x3e7c1c,_0x584de4){return _0x3e7c1c===_0x584de4;},'Eszqu':_0xdfce29(0x1c6),'vtLQr':function(_0x2d63f6,_0x35dbdb){return _0x2d63f6(_0x35dbdb);},'JyfiR':_0xdfce29(0x1cf),'NTDKD':function(_0x19fd3a,_0x2b3a1b){return _0x19fd3a(_0x2b3a1b);},'LRQmI':'Sending\x20LogCreatedEvent','RZVTI':_0xdfce29(0x23d)};this[_0xdfce29(0x1ef)][_0xdfce29(0x14f)](_0xfbbef4[_0xdfce29(0x1a8)]);try{!this['client']&&this[_0xdfce29(0x1ef)]['info'](_0xfbbef4['RZVTI']);const {platformIndex:_0x3227dc,logs:_0x4aaf44}=_0x227392,_0x55fc2d=new messages[(_0xdfce29(0x240))]();_0x55fc2d[_0xdfce29(0x19b)](this[_0xdfce29(0x119)]),_0x55fc2d[_0xdfce29(0x12e)](_0x3227dc);const _0x2a8eae=_0x227392[_0xdfce29(0x227)],_0xe2f89e=_0x227392['testFrameworkVersion'],_0x40b79b=_0x227392['testFrameworkState'];return _0x4aaf44['forEach'](_0x42fe2d=>{const _0x27fba6=_0xdfce29,_0x16f584=new messages[(_0x27fba6(0x240))]['LogEntry']();_0x16f584['setTestFrameworkName'](_0x2a8eae),_0x16f584['setTestFrameworkVersion'](_0xe2f89e),_0x16f584[_0x27fba6(0x141)](_0x40b79b),_0x16f584['setTimestamp'](_0x42fe2d['timestamp']);if(_0xfbbef4[_0x27fba6(0x14e)](_0x42fe2d[_0x27fba6(0x19d)],PLAYWRIGHT_TRACE_LOGS))_0x16f584[_0x27fba6(0x165)](_0x42fe2d[_0x27fba6(0x192)]),_0x16f584[_0x27fba6(0x174)](new TextEncoder()['encode'](JSON[_0x27fba6(0x1ab)](_0x42fe2d)));else{if(_0x42fe2d['test_identifier'])_0x16f584[_0x27fba6(0x165)](_0xfbbef4[_0x27fba6(0x1f0)]);else{if(_0x42fe2d[_0x27fba6(0x21a)])_0x16f584[_0x27fba6(0x165)](_0x42fe2d['hook_run_uuid']);else _0x42fe2d['uuid']&&_0x16f584['setUuid'](_0x42fe2d['uuid']);}_0x16f584[_0x27fba6(0x174)](new TextEncoder()[_0x27fba6(0x1cd)](_0x42fe2d[_0x27fba6(0x152)]));}_0x16f584[_0x27fba6(0x16a)](_0x42fe2d['kind']),_0x16f584[_0x27fba6(0x14a)](_0x42fe2d[_0x27fba6(0x16b)]),_0x16f584[_0x27fba6(0x11c)](_0x42fe2d?.[_0x27fba6(0x128)]||''),_0x16f584[_0x27fba6(0x178)](_0x42fe2d?.[_0x27fba6(0x186)]||''),_0x16f584[_0x27fba6(0x260)](_0x42fe2d?.[_0x27fba6(0x148)]||0x0),_0x16f584['setAttachmentType'](_0x42fe2d?.[_0x27fba6(0x19d)]||''),_0x42fe2d['test_identifier']&&_0x16f584[_0x27fba6(0x213)](_0x42fe2d[_0x27fba6(0x12b)]),_0x42fe2d[_0x27fba6(0x132)]&&_0x16f584[_0x27fba6(0x195)](_0x42fe2d[_0x27fba6(0x132)]),_0x55fc2d[_0x27fba6(0x1da)](_0x16f584);}),new Promise((_0x43aaf5,_0x3d49f8)=>{const _0xc44a88=_0xdfce29,_0x652457={'rPvnt':function(_0x95a215,_0x3794cf){const _0x4278a8=a99_0x530a;return _0xfbbef4[_0x4278a8(0x13d)](_0x95a215,_0x3794cf);},'gguOr':_0xfbbef4[_0xc44a88(0x25a)],'CEglu':function(_0x36e87f,_0x5152d7){const _0x401eb0=_0xc44a88;return _0xfbbef4[_0x401eb0(0x12c)](_0x36e87f,_0x5152d7);}};this[_0xc44a88(0x1a3)]['logCreatedEvent'](_0x55fc2d,this[_0xc44a88(0x13b)](),(_0x1122d7,_0x4b9f09)=>{const _0x5d732d=_0xc44a88;if(_0x1122d7){this[_0x5d732d(0x1ef)][_0x5d732d(0x25b)](_0x5d732d(0x1a0)+_0x1122d7['message']),_0x652457[_0x5d732d(0x218)](_0x3d49f8,_0x1122d7);return;}this[_0x5d732d(0x1ef)][_0x5d732d(0x14f)](_0x652457[_0x5d732d(0x232)]),_0x652457[_0x5d732d(0x237)](_0x43aaf5,_0x4b9f09);});});}catch(_0x26e9ca){this[_0xdfce29(0x1ef)][_0xdfce29(0x25b)]('Error\x20in\x20LogCreatedEvent:\x20'+util['format'](_0x26e9ca));throw _0x26e9ca;}}async[a99_0x2ba781(0x1b3)](_0x4d59a3,_0x237413,_0xf6df6e,_0x6630e4=null){const _0x33046c=a99_0x2ba781,_0x58860e={'besaj':function(_0x75664e,_0x47db9a){return _0x75664e(_0x47db9a);},'SKCoH':function(_0x1c8853,_0x1f858c){return _0x1c8853||_0x1f858c;},'OqvJE':_0x33046c(0x242),'VkuRe':_0x33046c(0x1a2)};this[_0x33046c(0x1ef)][_0x33046c(0x24a)](_0x33046c(0x21d)+_0x4d59a3+',\x20product='+_0x237413+',\x20scriptName='+_0xf6df6e+',\x20testIdentifier='+_0x58860e['SKCoH'](_0x6630e4,_0x58860e[_0x33046c(0x257)]));try{if(!this[_0x33046c(0x1a3)])return this['logger'][_0x33046c(0x24a)](_0x58860e[_0x33046c(0x23b)]),null;const _0x21725e=new messages[(_0x33046c(0x196))]();return _0x21725e[_0x33046c(0x19b)](_0x4d59a3),_0x21725e[_0x33046c(0x1ea)](_0x237413),_0x21725e['setScriptName'](_0xf6df6e),_0x6630e4&&(_0x21725e['setTestIdentifier'](_0x6630e4),this[_0x33046c(0x1ef)][_0x33046c(0x24a)]('fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier='+_0x6630e4+'\x20for\x20product='+_0x237413+_0x33046c(0x25d)+_0xf6df6e)),await new Promise(_0x1f5b0a=>{const _0x453a80=_0x33046c,_0x4c9346={'lYItH':function(_0x544265,_0x50aadc){const _0x4eedc5=a99_0x530a;return _0x58860e[_0x4eedc5(0x1d0)](_0x544265,_0x50aadc);}};this[_0x453a80(0x1a3)]['fetchDriverExecuteParamsEvent'](_0x21725e,this[_0x453a80(0x13b)](),(_0x398580,_0x565501)=>{const _0xbccf42=_0x453a80;if(_0x398580){this[_0xbccf42(0x1ef)][_0xbccf42(0x24a)](_0xbccf42(0x261)+_0x398580),_0x4c9346[_0xbccf42(0x200)](_0x1f5b0a,null);return;}this[_0xbccf42(0x1ef)][_0xbccf42(0x24a)](_0xbccf42(0x18e)+(_0x565501[_0xbccf42(0x162)]&&_0x565501[_0xbccf42(0x162)]())),_0x4c9346['lYItH'](_0x1f5b0a,_0x565501);});});}catch(_0xb500d6){return this['logger'][_0x33046c(0x24a)](_0x33046c(0x261)+_0xb500d6),null;}}async['reportClientTroubleshootingError'](_0xaa2c58){const _0x5ca5b2=a99_0x2ba781,_0x40369c={'HAhYN':function(_0x201b4c,_0x3dc6a7){return _0x201b4c(_0x3dc6a7);},'RrELs':_0x5ca5b2(0x179),'rrXgp':'No\x20gRPC\x20client\x20initialized.'};this[_0x5ca5b2(0x1ef)][_0x5ca5b2(0x24a)](_0x5ca5b2(0x1f8)+_0xaa2c58);try{if(!this['client'])return this[_0x5ca5b2(0x1ef)][_0x5ca5b2(0x24a)](_0x40369c[_0x5ca5b2(0x124)]),null;const _0x254dd8=new messages[(_0x5ca5b2(0x15f))]();_0x254dd8[_0x5ca5b2(0x19b)](this['binSessionId']),_0x254dd8['setErrorKey'](_0xaa2c58);const _0x5acaff=await new Promise((_0x3182e2,_0x420432)=>{const _0x1b4746=_0x5ca5b2;this[_0x1b4746(0x1a3)][_0x1b4746(0x205)](_0x254dd8,this[_0x1b4746(0x13b)](),(_0x5e195c,_0x57a7cf)=>{const _0x5c1797=_0x1b4746;if(_0x5e195c){this[_0x5c1797(0x1ef)][_0x5c1797(0x24a)](_0x5c1797(0x1f9)+_0x5e195c),_0x40369c['HAhYN'](_0x420432,_0x5e195c);return;}this[_0x5c1797(0x1ef)][_0x5c1797(0x24a)](_0x40369c[_0x5c1797(0x198)]),_0x40369c['HAhYN'](_0x3182e2,_0x57a7cf);});});return _0x5acaff;}catch(_0x2914bc){return this['logger'][_0x5ca5b2(0x24a)](_0x5ca5b2(0x1f9)+_0x2914bc),null;}}async[a99_0x2ba781(0x18f)](){const _0x1580d7=a99_0x2ba781,_0x1b422f={'njeQw':function(_0x5edf6d,_0x5e00b5){return _0x5edf6d(_0x5e00b5);},'jiVfm':_0x1580d7(0x1b7),'cdKkY':function(_0x3cb069,_0x5b0217){return _0x3cb069(_0x5b0217);},'MkLZP':_0x1580d7(0x154),'WPhoc':_0x1580d7(0x1a2)};this['logger'][_0x1580d7(0x24a)](_0x1b422f['MkLZP']);try{if(!this[_0x1580d7(0x1a3)])return this['logger'][_0x1580d7(0x24a)](_0x1b422f[_0x1580d7(0x249)]),null;const _0x28e75c=new messages[(_0x1580d7(0x23c))]();_0x28e75c[_0x1580d7(0x19b)](this[_0x1580d7(0x119)]);const _0x2b8dd7=await new Promise((_0x1591f6,_0x289ed8)=>{const _0x58eb36=_0x1580d7;this[_0x58eb36(0x1a3)][_0x58eb36(0x18f)](_0x28e75c,this[_0x58eb36(0x13b)](),(_0x3937ca,_0x2ea3ac)=>{const _0x209c4c=_0x58eb36;if(_0x3937ca){this[_0x209c4c(0x1ef)][_0x209c4c(0x24a)](_0x209c4c(0x1b9)+_0x3937ca),_0x1b422f[_0x209c4c(0x1cb)](_0x289ed8,_0x3937ca);return;}this['logger']['debug'](_0x1b422f[_0x209c4c(0x1a4)]),_0x1b422f['cdKkY'](_0x1591f6,_0x2ea3ac);});});return _0x2b8dd7;}catch(_0x43f9ec){return this['logger'][_0x1580d7(0x24a)](_0x1580d7(0x1b9)+_0x43f9ec),null;}}async[a99_0x2ba781(0x229)](){const _0x38c7b8=a99_0x2ba781,_0x13f7b0={'qKnle':function(_0x410771,_0x7b9ac4){return _0x410771(_0x7b9ac4);},'KAkPS':function(_0x18069e,_0x5cf48d){return _0x18069e(_0x5cf48d);},'uTPVe':_0x38c7b8(0x122),'jIRDl':function(_0x177226,_0x17a9a5){return _0x177226!==_0x17a9a5;},'YLogQ':_0x38c7b8(0x202),'EdbUA':function(_0x441a9e,_0x1c25db){return _0x441a9e+_0x1c25db;},'BoYHp':_0x38c7b8(0x234),'PJVsX':'Run\x20\x27cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build\x27\x20to\x20regenerate\x20stubs\x20from\x20the\x20updated\x20proto.','NboAu':function(_0x194287,_0x1bf3c7){return _0x194287!==_0x1bf3c7;},'NUaQq':function(_0x3f0774,_0x4ec270){return _0x3f0774+_0x4ec270;},'Fkcfe':function(_0x5aa3b2,_0x1ae3fd){return _0x5aa3b2+_0x1ae3fd;},'DiDAl':_0x38c7b8(0x247),'pmjAd':_0x38c7b8(0x1a1),'iXLGA':'the\x20TestCafeConfig\x20RPC.\x20Rebuild\x20the\x20binary\x20in\x20lockstep\x20with\x20the\x20SDK\x20','OuHlI':_0x38c7b8(0x23f)};this[_0x38c7b8(0x1ef)][_0x38c7b8(0x14f)](_0x13f7b0[_0x38c7b8(0x217)]);if(_0x13f7b0[_0x38c7b8(0x13c)](typeof messages[_0x38c7b8(0x25c)],_0x13f7b0[_0x38c7b8(0x185)]))throw new Error(_0x13f7b0[_0x38c7b8(0x1b2)](_0x13f7b0['BoYHp'],_0x13f7b0[_0x38c7b8(0x20d)]));if(_0x13f7b0[_0x38c7b8(0x1d6)](typeof this[_0x38c7b8(0x1a3)][_0x38c7b8(0x229)],_0x13f7b0[_0x38c7b8(0x185)]))throw new Error(_0x13f7b0[_0x38c7b8(0x20e)](_0x13f7b0[_0x38c7b8(0x20e)](_0x13f7b0[_0x38c7b8(0x20a)](_0x13f7b0['DiDAl'],_0x13f7b0[_0x38c7b8(0x15a)]),_0x13f7b0[_0x38c7b8(0x151)]),_0x13f7b0[_0x38c7b8(0x231)]));const _0x171567=new messages[(_0x38c7b8(0x25c))]();return _0x171567['setBinSessionId'](this['binSessionId']),new Promise((_0x3b2653,_0x1f934f)=>{const _0x1e9a4d=_0x38c7b8;this[_0x1e9a4d(0x1a3)][_0x1e9a4d(0x229)](_0x171567,this[_0x1e9a4d(0x13b)](),(_0x5081f5,_0x1ba5d8)=>{const _0x3e753c=_0x1e9a4d;if(_0x5081f5){this[_0x3e753c(0x1ef)][_0x3e753c(0x25b)](_0x3e753c(0x241)+_0x5081f5[_0x3e753c(0x152)]),_0x13f7b0[_0x3e753c(0x1bc)](_0x1f934f,_0x5081f5);return;}_0x13f7b0[_0x3e753c(0x236)](_0x3b2653,_0x1ba5d8);});});}['getClient'](){const _0x273dba=a99_0x2ba781;return this[_0x273dba(0x1a3)];}['getChannel'](){const _0x1e65d8=a99_0x2ba781;return this[_0x1e65d8(0x244)];}}module['exports']=GrpcClient;
|
|
1
|
+
const a99_0x5d6982=a99_0x1586;(function(_0xdd8839,_0x1dd319){const _0x10824c=a99_0x1586,_0xf55f2b=_0xdd8839();while(!![]){try{const _0x148208=parseInt(_0x10824c(0x25d))/0x1+-parseInt(_0x10824c(0x234))/0x2+parseInt(_0x10824c(0x1cd))/0x3+-parseInt(_0x10824c(0x212))/0x4+parseInt(_0x10824c(0x2a6))/0x5*(parseInt(_0x10824c(0x266))/0x6)+-parseInt(_0x10824c(0x232))/0x7*(parseInt(_0x10824c(0x1fb))/0x8)+parseInt(_0x10824c(0x22d))/0x9;if(_0x148208===_0x1dd319)break;else _0xf55f2b['push'](_0xf55f2b['shift']());}catch(_0x45a9a5){_0xf55f2b['push'](_0xf55f2b['shift']());}}}(a99_0x1689,0x7d238));function a99_0x1586(_0x1efd3a,_0x86ae62){const _0x16899b=a99_0x1689();return a99_0x1586=function(_0x158621,_0x513df7){_0x158621=_0x158621-0x1cc;let _0x3f2377=_0x16899b[_0x158621];return _0x3f2377;},a99_0x1586(_0x1efd3a,_0x86ae62);}const util=require(a99_0x5d6982(0x2cf)),logger=require('../../helpers/logger.js')[a99_0x5d6982(0x206)],fileLogger=require(a99_0x5d6982(0x297))[a99_0x5d6982(0x2e9)],grpc=require(a99_0x5d6982(0x1dd)),services=require(a99_0x5d6982(0x21b)),messages=require(a99_0x5d6982(0x273)),path=require(a99_0x5d6982(0x1dc)),CLIUtils=require(a99_0x5d6982(0x2ef)),{createClassLogger}=require(a99_0x5d6982(0x226)),PerformanceTester=require(a99_0x5d6982(0x308)),{EVENTS:PerformanceEvents}=require(a99_0x5d6982(0x2ca)),{PLAYWRIGHT_TRACE_LOGS}=require(a99_0x5d6982(0x26e)),helper=require(a99_0x5d6982(0x2e5));function a99_0x1689(){const _0x46bfd9=['getSuccess','getInstance','5pEVDVc','testInfo','getFrameworkVersionsMap','getEnvVarsMap','Wraas','dYdif','qYLAL','function',',\x20parsedConfig=','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','frameworkSessionId','SDK_START_BIN_SESSION','user_killed','setSdkVersion','setLanguage','now','setFrameworkSessionId','KNVFF','setHash','AutomationSession','setFileName','setTestUuid','testAnalyticsId','setStartedAt','setThreadId','getClient','getEntriesList','KPlQO','threadId','message','AccessibilityConfig\x20request\x20successful','timestamp','XERpL','ybkuY','testFrameworkName','channel','../../helpers/performance/constants','testCafeConfig','gkraY','env','getAggregatedClientTroubleshootingErrors','util','ConnectBinSession\x20error:\x20','setExecutionContext','VmWtX','StopBinSessionRequest','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','setCustomMetadata',',\x20product=','wrHqC','pending-resolution-from-test-identifier','testSessionEvent','getCallOptions','NxASu','yyaRZ','eURpB','Error\x20in\x20startBinSession:\x20','cNeQO','setEventJson','fileSize','\x22userName\x22:\x22[REDACTED]\x22','processId','../../helpers/helper.js','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','reportClientTroubleshootingError','connectBinSession','fileLogger','Calling\x20TestCafeConfig','setTestFrameworkVersion','setTimestamp','warning','cwd','./cliUtils.js','TBHbu','YBMLR','aCmMH','frameworkVersion','StartBinSessionRequest','setTestFramework','TestCafeConfig\x20error:\x20','setProcessId','ptZQJ','setPlatformIndex','test_identifier','set','testFrameworkState','vZqXJ','utf-8','getAutomationFrameworkDetail','AccessibilityConfig\x20error:\x20','QUkmP','addLogs','setPathConfig','logger','ThFvV','setProduct','HkihL','../../helpers/performance/performance-tester.js','RXWVs','TestOrchestrationRequest','StopBinSession\x20successful','Error\x20in\x20getPlaywrightConfig:\x20','not\x20provided','error','SDK_CLI_ON_STOP','LogEntry','Getting\x20AggregatedClientTroubleshootingErrors','ExecutionContext','1868673JKsVwC','\x22key\x22:\x22[REDACTED]\x22','Connecting\x20bin\x20session','setSdkLanguage','No\x20gRPC\x20client\x20not\x20initialized.','accessibilityConfig','Run\x20\x27cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build\x27\x20to\x20regenerate\x20stubs\x20from\x20the\x20updated\x20proto.','testOrchestration','LogCreatedEvent\x20error:\x20','TestFrameworkEvent\x20request\x20successful','iWdBn','setOrchestrationMetadata','denuX','UTlea','HXRAr','path','@grpc/grpc-js','xOlGI','LEoQP','setTestFilesList','BROWSERSTACK_CLI_BIN_SESSION_ID','FetchDriverExecuteParamsEventRequest','ref','HhcCD','LogCreatedEventRequest','LCGLC','setFrameworkVersion','testFrameworkEvent','setHubUrl','write','DriverInitRequest','HNezX','stringify','\x20for\x20tag\x20validation','startBinSession','getBody','getSeverity','setFrameworksList','qhEzn','attachment_type','(`cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build`).','stdout','TestSessionEventRequest','format','\x20and\x20listen\x20address:\x20','getSdkVersion','92024vptuBY','nSxiX','UvHBW','binSessionId','SDK_CONNECT_BIN_SESSION','start','setFileSize',',\x20testIdentifier=','Stopping\x20bin\x20session','hubUrl','AccessibilityConfigRequest','winstonLogger','setLevel','KjvdE','uuid','FTXNG','setErrorKey','TCMfD','setUuid','setCliArgs:\x20cliArgs=','rilKH','logCreatedEvent','setExitSignal','2980380ByyrMg','FEqZb','No\x20gRPC\x20client\x20initialized.','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','frameworkName','vQVuY','PlaywrightConfig\x20error:\x20','klcQi','stopBinSession','../../../generated/sdk_grpc_pb','NuIYq','TestOrchestration\x20error:\x20','DECQE','xmyQL','null','addFrameworks','kind','jsVoR','YkSQL','Sending\x20LogCreatedEvent','../../helpers/classLogger.js','fileName','driverInit','Error\x20in\x20connectBinSession:\x20','ReportClientTroubleshootingErrorRequest','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20generated\x20proto\x20message\x20TestCafeConfigRequest\x20missing.\x20','Sending\x20TestSessionEvent','1293309nAIlBT','setMessage','info','setConfig','rNVEV','287FgpIFx','pcqbb','200112AGmhhO','saUfM','sXiuw','adbAB','replace','dWWYI','etkkx','getSdkLanguage','ReportClientTroubleshootingError\x20successful','NaVfe','ZBCsd','filePath','listenAddress','The\x20running\x20binary\x20build\x20was\x20generated\x20from\x20a\x20proto\x20file\x20that\x20does\x20not\x20declare\x20','exports','testFrameworkVersion','entries','getAccessibilityConfig','setDuration','GetAggregatedClientTroubleshootingErrorsRequest','version','setTestHookState','Stopping\x20signal\x20',',\x20scriptName=','setTestFrameworkState','nbsni','launchcaps','forEach','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','setTestIdentifier','zxBpi','setAttachmentType','setFrameworkName','BwGrp','./browserstackCLI.js','end','debug','GetAggregatedClientTroubleshootingErrors\x20successful','TmKGA','Error\x20in\x20TestFrameworkEvent:\x20','bulMj','225488NvwtZG','NbzOW','hash','Reporting\x20ClientTroubleshootingError\x20','name','nSKuj','GrpcClient','setBinSessionId','level','5023572nssZtr','playwrightConfig','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20gRPC\x20client\x20method\x20`testCafeConfig`\x20is\x20unavailable.\x20','pxppc','DriverInit\x20request\x20successful','ERABx','duration','Error\x20in\x20ReportClientTroubleshootingError:\x20','../utils/constants','setPathProject','BRPQz','ConnectBinSession\x20successful','xvKIS','../../../generated/sdk-messages_pb','stderr','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','grpc.keepalive_time_ms','yAeCx','setTestFrameworkName','from','setRef','xKpGN','setFilePath','product','OdAxc','kXgXK','SDK_AUTOMATION_FRAMEWORK_INIT','Error\x20in\x20LogCreatedEvent:\x20','PlaywrightConfigRequest','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','SaPll','Getting\x20Playwright\x20config','ldqaz','xaEQu','connect','Missing\x20binSessionId','setProvider','QaVZx','createInsecure','REHHo','Sending\x20TestFrameworkEvent','getBrowserstackConfigPath','stop-bin-session\x20response:\x20','Sending\x20DriverInit','KVCOQ','setUserInputParams','getTestFrameworkDetail','VATMc','fetchDriverExecuteParamsEvent','../../helpers/logger.js','QiGMd','GRAMQ','kHFmm','stack','setScriptName','provider','client','startBinSession:\x20Calling\x20startBinSession','getDeadline','StopBinSession\x20entries\x20forwarding\x20failed:\x20','DriverInit\x20error:\x20','TestSessionEvent\x20error:\x20'];a99_0x1689=function(){return _0x46bfd9;};return a99_0x1689();}class GrpcClient{static #instance=null;[a99_0x5d6982(0x1fe)]=null;[a99_0x5d6982(0x240)]=null;[a99_0x5d6982(0x2c9)]=null;[a99_0x5d6982(0x29e)]=null;[a99_0x5d6982(0x304)]=createClassLogger(a99_0x5d6982(0x263));constructor(){}static[a99_0x5d6982(0x2a5)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x316511){const _0x11b63d=a99_0x5d6982,_0x2c0d9={};_0x2c0d9[_0x11b63d(0x2f2)]=function(_0x1382ca,_0x49f6a7){return _0x1382ca||_0x49f6a7;};const _0x376f3a=_0x2c0d9,{id:_0x1ac1ce,listen:_0x41771b}=_0x316511;if(_0x376f3a[_0x11b63d(0x2f2)](!_0x1ac1ce,!_0x41771b))throw new Error(_0x11b63d(0x250)+_0x1ac1ce+'\x20listenAddr:\x20'+_0x41771b);this[_0x11b63d(0x1fe)]=_0x1ac1ce,this[_0x11b63d(0x240)]=_0x41771b,process['env'][_0x11b63d(0x1e1)]=this[_0x11b63d(0x1fe)],process[_0x11b63d(0x2cd)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x11b63d(0x240)],this[_0x11b63d(0x288)](),this[_0x11b63d(0x304)][_0x11b63d(0x22f)](_0x11b63d(0x2e6)+this[_0x11b63d(0x1fe)]+_0x11b63d(0x1f9)+this[_0x11b63d(0x240)]);}[a99_0x5d6982(0x288)](){const _0x30b7ad=a99_0x5d6982,_0x158966={};_0x158966['SaPll']='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0x509cbf=_0x158966;let _0x37b71f=this[_0x30b7ad(0x240)];!_0x37b71f&&(_0x37b71f=process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this['binSessionId']&&(this['binSessionId']=this[_0x30b7ad(0x1fe)]||process['env'][_0x30b7ad(0x1e1)]);if(!_0x37b71f)throw new Error(_0x509cbf[_0x30b7ad(0x284)]);const _0x25cc69={};_0x25cc69[_0x30b7ad(0x276)]=0x2710,this[_0x30b7ad(0x2c9)]=new grpc['Channel'](_0x37b71f,grpc['credentials'][_0x30b7ad(0x28c)](),_0x25cc69),this[_0x30b7ad(0x29e)]=new services['SDKClient'](_0x37b71f,grpc['credentials']['createInsecure']()),this[_0x30b7ad(0x304)]['info']('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x37b71f);}[a99_0x5d6982(0x2a0)](){const _0x44b208=a99_0x5d6982,_0x33e229={};_0x33e229[_0x44b208(0x277)]=function(_0x367d1f,_0x40f07b){return _0x367d1f+_0x40f07b;};const _0x30e43d=_0x33e229;return _0x30e43d[_0x44b208(0x277)](Date[_0x44b208(0x2b5)](),0x7530);}[a99_0x5d6982(0x2db)](){const _0x3b9902=a99_0x5d6982;return{'deadline':this[_0x3b9902(0x2a0)]()};}async['startBinSession'](){const _0x2a4bfc=a99_0x5d6982,_0x1e756d={'cNeQO':function(_0x4ef93b,_0x4220fb){return _0x4ef93b!==_0x4220fb;},'YBMLR':function(_0x3d4950,_0x33c875){return _0x3d4950!==_0x33c875;},'xKpGN':function(_0x2ea028,_0x514ceb){return _0x2ea028(_0x514ceb);},'dWWYI':'StartBinSession\x20successful','qhEzn':function(_0x31114e,_0x1ae20f){return _0x31114e(_0x1ae20f);},'nSxiX':_0x2a4bfc(0x29f),'kHFmm':_0x2a4bfc(0x1d1),'QiGMd':_0x2a4bfc(0x256),'YkSQL':function(_0x42535b,_0x55d38e){return _0x42535b instanceof _0x55d38e;},'etkkx':_0x2a4bfc(0x220),'UTlea':function(_0x4b534c,_0x2b40b9){return _0x4b534c||_0x2b40b9;}};PerformanceTester[_0x2a4bfc(0x200)](PerformanceEvents[_0x2a4bfc(0x2b1)]),this[_0x2a4bfc(0x304)][_0x2a4bfc(0x22f)](_0x1e756d[_0x2a4bfc(0x1fc)]);try{!this['client']&&this[_0x2a4bfc(0x304)][_0x2a4bfc(0x22f)](_0x1e756d[_0x2a4bfc(0x29a)]);const _0xe64c2f=CLIUtils[_0x2a4bfc(0x1fa)](),_0x52bb1d=CLIUtils['getAutomationFrameworkDetail'](),_0x5891ef=CLIUtils[_0x2a4bfc(0x294)](),_0x57eeba=_0x52bb1d[_0x2a4bfc(0x261)],_0x36edb8=_0x52bb1d[_0x2a4bfc(0x248)],_0x3e2cf6=_0x5891ef[_0x2a4bfc(0x261)],_0x3f58cd=_0x5891ef['version']?_0x5891ef['version'][_0x3e2cf6]:'',_0x2ace9c=new messages[(_0x2a4bfc(0x2f4))]();_0x2ace9c[_0x2a4bfc(0x264)](this[_0x2a4bfc(0x1fe)]),_0x2ace9c[_0x2a4bfc(0x1d0)](CLIUtils[_0x2a4bfc(0x23b)]()),_0x2ace9c[_0x2a4bfc(0x2b3)](_0xe64c2f),_0x2ace9c[_0x2a4bfc(0x26f)](process[_0x2a4bfc(0x2ee)]());const _0x2ed1b8=_0x2ace9c[_0x2a4bfc(0x2a9)]();Object[_0x2a4bfc(0x244)](process[_0x2a4bfc(0x2cd)])[_0x2a4bfc(0x24f)](([_0x511164,_0x3b7a25])=>{const _0x468ed2=_0x2a4bfc;_0x1e756d[_0x468ed2(0x2e0)](_0x3b7a25,undefined)&&_0x1e756d[_0x468ed2(0x2f1)](_0x3b7a25,null)&&_0x2ed1b8['set'](_0x511164,_0x3b7a25);});const _0x1fe244=_0x1e756d[_0x2a4bfc(0x27b)](require,_0x1e756d[_0x2a4bfc(0x298)]),_0x57cb8c=_0x1fe244[_0x2a4bfc(0x2a5)]()['getBrowserstackCliConfig'](),_0x4d423c=[];_0x57cb8c&&_0x1e756d[_0x2a4bfc(0x224)](_0x57cb8c,Map)&&_0x57cb8c[_0x2a4bfc(0x24f)]((_0x21fc78,_0x25f25e)=>{_0x4d423c['push'](_0x25f25e+'='+_0x21fc78);});const _0x4fbea3=process['argv']['slice'](0x2);_0x2ace9c['setCliArgsList']([..._0x4fbea3,..._0x4d423c]),_0x2ace9c[_0x2a4bfc(0x303)](_0x1fe244[_0x2a4bfc(0x2a5)]()[_0x2a4bfc(0x28f)]()),this[_0x2a4bfc(0x304)][_0x2a4bfc(0x22f)](_0x2a4bfc(0x20e)+JSON['stringify'](_0x4fbea3)+_0x2a4bfc(0x2ae)+(_0x57cb8c?JSON[_0x2a4bfc(0x1ed)]([..._0x57cb8c]):_0x1e756d[_0x2a4bfc(0x23a)])),_0x2ace9c[_0x2a4bfc(0x2b4)](CLIUtils['getSdkLanguage']()),_0x2ace9c[_0x2a4bfc(0x2f5)](_0x3e2cf6);const _0x25eab7=_0x2ace9c[_0x2a4bfc(0x2a8)]();return _0x25eab7['set'](_0x57eeba,_0x1e756d[_0x2a4bfc(0x1da)](_0x36edb8,'')),_0x25eab7[_0x2a4bfc(0x2fb)](_0x3e2cf6,_0x1e756d['UTlea'](_0x3f58cd,'')),_0x2ace9c[_0x2a4bfc(0x221)](_0x57eeba,_0x36edb8),_0x2ace9c[_0x2a4bfc(0x221)](_0x3e2cf6,_0x3f58cd),_0x2ace9c[_0x2a4bfc(0x1f2)]([_0x3e2cf6,_0x57eeba]),new Promise((_0x49db6a,_0x532689)=>{const _0x24af18=_0x2a4bfc;this[_0x24af18(0x29e)][_0x24af18(0x1ef)](_0x2ace9c,this[_0x24af18(0x2db)](),(_0x290aed,_0x35e13e)=>{const _0x46c79c=_0x24af18;if(_0x290aed){this[_0x46c79c(0x304)]['error']('StartBinSession\x20error:\x20'+_0x290aed[_0x46c79c(0x2c3)]),_0x1e756d[_0x46c79c(0x27b)](_0x532689,_0x290aed),PerformanceTester[_0x46c79c(0x257)](PerformanceEvents[_0x46c79c(0x2b1)],![],util[_0x46c79c(0x1f8)](_0x290aed));return;}this[_0x46c79c(0x304)]['info'](_0x1e756d[_0x46c79c(0x239)]),PerformanceTester[_0x46c79c(0x257)](PerformanceEvents[_0x46c79c(0x2b1)]),_0x1e756d[_0x46c79c(0x1f3)](_0x49db6a,_0x35e13e);});});}catch(_0x501bd2){this[_0x2a4bfc(0x304)][_0x2a4bfc(0x30e)](_0x2a4bfc(0x2df)+util[_0x2a4bfc(0x1f8)](_0x501bd2)),PerformanceTester['end'](PerformanceEvents[_0x2a4bfc(0x2b1)],![],util[_0x2a4bfc(0x1f8)](_0x501bd2));throw _0x501bd2;}}async[a99_0x5d6982(0x2e8)](){const _0x156616=a99_0x5d6982,_0x4422d6={'HuWiB':function(_0x3e182e,_0x388f00){return _0x3e182e(_0x388f00);},'HYGwi':_0x156616(0x271),'NuIYq':_0x156616(0x1cf),'xaEQu':_0x156616(0x1d1),'iWdBn':_0x156616(0x2e3),'wrHqC':'\x22accessKey\x22:\x22[REDACTED]\x22','VATMc':_0x156616(0x1ce)};PerformanceTester['start'](PerformanceEvents[_0x156616(0x1ff)]),this[_0x156616(0x304)][_0x156616(0x22f)](_0x4422d6[_0x156616(0x21c)]);try{!this[_0x156616(0x29e)]&&this[_0x156616(0x304)][_0x156616(0x22f)](_0x4422d6[_0x156616(0x287)]);const _0x3805df=new messages['ConnectBinSessionRequest']();_0x3805df[_0x156616(0x264)](this[_0x156616(0x1fe)]);const _0x4c23c5=await new Promise((_0x510593,_0x10fa6a)=>{const _0x55cafa=_0x156616;this[_0x55cafa(0x29e)][_0x55cafa(0x2e8)](_0x3805df,this['getCallOptions'](),(_0x227461,_0x214209)=>{const _0x400907=_0x55cafa;if(_0x227461){this[_0x400907(0x304)][_0x400907(0x30e)](_0x400907(0x2d0)+_0x227461[_0x400907(0x2c3)]),_0x4422d6['HuWiB'](_0x10fa6a,_0x227461),PerformanceTester[_0x400907(0x257)](PerformanceEvents[_0x400907(0x1ff)],![],util[_0x400907(0x1f8)](_0x227461));return;}this[_0x400907(0x304)][_0x400907(0x22f)](_0x4422d6['HYGwi']),PerformanceTester[_0x400907(0x257)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x4422d6['HuWiB'](_0x510593,_0x214209);});}),_0xa21b00=util[_0x156616(0x1f8)](_0x4c23c5)['replace'](/"userName":"[^"]*"/g,_0x4422d6[_0x156616(0x1d7)])[_0x156616(0x238)](/"accessKey":"[^"]*"/g,_0x4422d6[_0x156616(0x2d8)])['replace'](/"key":"[^"]*"/g,_0x4422d6[_0x156616(0x295)]);return this[_0x156616(0x304)][_0x156616(0x258)]('connect-bin-session\x20response:\x20'+_0xa21b00),_0x4c23c5;}catch(_0x127ff1){PerformanceTester[_0x156616(0x257)](PerformanceEvents[_0x156616(0x1ff)],![],util['format'](_0x127ff1)),this[_0x156616(0x304)]['error'](_0x156616(0x229)+util[_0x156616(0x1f8)](_0x127ff1));throw _0x127ff1;}}async[a99_0x5d6982(0x21a)](_0x54f68a={},_0x1ac75e=null){const _0x4c8612=a99_0x5d6982,_0x3d7029={'HhcCD':function(_0x264f6c,_0x598077){return _0x264f6c(_0x598077);},'Wraas':_0x4c8612(0x30b),'nSKuj':_0x4c8612(0x203),'ERABx':_0x4c8612(0x289),'sXiuw':_0x4c8612(0x1d1),'RXWVs':_0x4c8612(0x2b2),'gkraY':function(_0x5156d7,_0x259792){return _0x5156d7===_0x259792;},'DECQE':_0x4c8612(0x2ad),'REHHo':_0x4c8612(0x22f),'TmKGA':'warn','QviDn':_0x4c8612(0x2ed),'QUkmP':function(_0x1ae4ff,_0x775365){return _0x1ae4ff===_0x775365;},'BRPQz':_0x4c8612(0x30e),'NaVfe':function(_0x5b014c,_0x15358){return _0x5b014c+_0x15358;}};PerformanceTester['start'](PerformanceEvents[_0x4c8612(0x30f)]),this[_0x4c8612(0x304)][_0x4c8612(0x22f)](_0x3d7029[_0x4c8612(0x262)]);try{if(!this[_0x4c8612(0x1fe)])throw new Error(_0x3d7029[_0x4c8612(0x26b)]);!this['client']&&this[_0x4c8612(0x304)][_0x4c8612(0x22f)](_0x3d7029[_0x4c8612(0x236)]);const _0x23067f=new messages[(_0x4c8612(0x2d3))]();this[_0x4c8612(0x304)][_0x4c8612(0x258)](_0x4c8612(0x24a)+JSON['stringify'](_0x1ac75e)),_0x23067f[_0x4c8612(0x264)](this[_0x4c8612(0x1fe)]),_0x23067f[_0x4c8612(0x2d6)](_0x54f68a),_0x23067f[_0x4c8612(0x211)](_0x1ac75e?_0x1ac75e:null),_0x23067f['setExitReason'](_0x1ac75e?_0x3d7029[_0x4c8612(0x309)]:null),_0x23067f['setExitCode'](_0x1ac75e?0x1:0x0);const _0x50b69d=await new Promise((_0x4f05ed,_0x3aaf22)=>{const _0x2ea312=_0x4c8612,_0x499ddb={'KNVFF':function(_0xeced23,_0x98e552){const _0x5f363b=a99_0x1586;return _0x3d7029[_0x5f363b(0x1e4)](_0xeced23,_0x98e552);},'qYLAL':_0x3d7029[_0x2ea312(0x2aa)],'xOlGI':function(_0x440a90,_0x156beb){const _0x58aeb7=_0x2ea312;return _0x3d7029[_0x58aeb7(0x1e4)](_0x440a90,_0x156beb);}};this[_0x2ea312(0x29e)][_0x2ea312(0x21a)](_0x23067f,this[_0x2ea312(0x2db)](),(_0x57f34d,_0x396fcb)=>{const _0x5c1ea1=_0x2ea312;if(_0x57f34d){this['logger'][_0x5c1ea1(0x30e)]('StopBinSession\x20error:\x20'+_0x57f34d[_0x5c1ea1(0x2c3)]),_0x499ddb[_0x5c1ea1(0x2b7)](_0x3aaf22,_0x57f34d),PerformanceTester['end'](PerformanceEvents[_0x5c1ea1(0x30f)],![],util['format'](_0x57f34d));return;}this[_0x5c1ea1(0x304)][_0x5c1ea1(0x22f)](_0x499ddb[_0x5c1ea1(0x2ac)]),PerformanceTester[_0x5c1ea1(0x257)](PerformanceEvents[_0x5c1ea1(0x30f)]),_0x499ddb[_0x5c1ea1(0x1de)](_0x4f05ed,_0x396fcb);});});this[_0x4c8612(0x304)][_0x4c8612(0x258)](_0x4c8612(0x290)+util['format'](_0x50b69d));try{const _0x25bf3a=_0x3d7029[_0x4c8612(0x2cc)](typeof _0x50b69d[_0x4c8612(0x2c0)],_0x3d7029[_0x4c8612(0x21e)])?_0x50b69d[_0x4c8612(0x2c0)]():[];for(const _0x380598 of _0x25bf3a){const _0x4f19f5=_0x380598&&_0x3d7029[_0x4c8612(0x2cc)](typeof _0x380598[_0x4c8612(0x1f0)],_0x3d7029[_0x4c8612(0x21e)])?_0x380598[_0x4c8612(0x1f0)]():'';if(!_0x4f19f5)continue;const _0x6164cf=(_0x380598[_0x4c8612(0x1f1)]&&_0x380598[_0x4c8612(0x1f1)]()||_0x3d7029[_0x4c8612(0x28d)])['toLowerCase'](),_0x3eb864=_0x3d7029[_0x4c8612(0x2cc)](_0x6164cf,_0x3d7029['TmKGA'])||_0x3d7029[_0x4c8612(0x2cc)](_0x6164cf,_0x3d7029['QviDn'])||_0x3d7029[_0x4c8612(0x301)](_0x6164cf,_0x3d7029['BRPQz']),_0x2d979c=_0x3eb864?process[_0x4c8612(0x274)]:process[_0x4c8612(0x1f6)];_0x2d979c[_0x4c8612(0x1ea)](_0x3d7029[_0x4c8612(0x23d)](_0x4f19f5,'\x0a'));const _0x3370d0=_0x3d7029[_0x4c8612(0x2cc)](_0x6164cf,_0x3d7029[_0x4c8612(0x270)])?_0x3d7029['BRPQz']:_0x3eb864?_0x3d7029[_0x4c8612(0x25a)]:_0x3d7029[_0x4c8612(0x28d)];fileLogger[_0x3370d0](_0x4f19f5);}}catch(_0xbb05b3){this[_0x4c8612(0x304)][_0x4c8612(0x258)](_0x4c8612(0x2a1)+(_0xbb05b3[_0x4c8612(0x29b)]||_0xbb05b3));}return _0x50b69d;}catch(_0x3d8e26){PerformanceTester[_0x4c8612(0x257)](PerformanceEvents[_0x4c8612(0x30f)],![],util[_0x4c8612(0x1f8)](_0x3d8e26)),this['logger'][_0x4c8612(0x30e)]('Error\x20in\x20stopBinSession:\x20'+util['format'](_0x3d8e26));}}async['getPlaywrightConfig'](_0x2cb1cf){const _0x19b043=a99_0x5d6982,_0x325b64={'denuX':function(_0x353880,_0x2b2df5){return _0x353880(_0x2b2df5);},'NxASu':'PlaywrightConfig\x20request\x20successful','ptZQJ':function(_0x1a20a0,_0x5ccb79){return _0x1a20a0(_0x5ccb79);},'dYdif':_0x19b043(0x285),'QaVZx':_0x19b043(0x1d1)};PerformanceTester[_0x19b043(0x200)](PerformanceEvents[_0x19b043(0x280)]),this['logger']['info'](_0x325b64[_0x19b043(0x2ab)]);try{!this[_0x19b043(0x29e)]&&this[_0x19b043(0x304)][_0x19b043(0x22f)](_0x325b64[_0x19b043(0x28b)]);const _0x20995f=new messages[(_0x19b043(0x282))]();return _0x20995f['setBinSessionId'](this[_0x19b043(0x1fe)]),_0x20995f[_0x19b043(0x230)](JSON['stringify'](_0x2cb1cf)),new Promise((_0x53f36c,_0x4c3b98)=>{const _0x20c5cc=_0x19b043;this[_0x20c5cc(0x29e)][_0x20c5cc(0x267)](_0x20995f,this['getCallOptions'](),(_0x41b319,_0x2b9bc7)=>{const _0x4fd989=_0x20c5cc;if(_0x41b319){this['logger']['error'](_0x4fd989(0x218)+_0x41b319[_0x4fd989(0x2c3)]),_0x325b64[_0x4fd989(0x1d9)](_0x4c3b98,_0x41b319),PerformanceTester[_0x4fd989(0x257)](PerformanceEvents[_0x4fd989(0x280)],![],util[_0x4fd989(0x1f8)](_0x41b319));return;}this[_0x4fd989(0x304)][_0x4fd989(0x22f)](_0x325b64[_0x4fd989(0x2dc)]),PerformanceTester[_0x4fd989(0x257)](PerformanceEvents[_0x4fd989(0x280)]),_0x325b64[_0x4fd989(0x2f8)](_0x53f36c,_0x2b9bc7);});});}catch(_0x287395){PerformanceTester['end'](PerformanceEvents[_0x19b043(0x280)],![],util[_0x19b043(0x1f8)](_0x287395)),this[_0x19b043(0x304)][_0x19b043(0x30e)](_0x19b043(0x30c)+util[_0x19b043(0x1f8)](_0x287395));throw _0x287395;}}async[a99_0x5d6982(0x245)](_0x4aa068){const _0x43f2fe=a99_0x5d6982,_0x30097a={'nXqgN':function(_0x1f1782,_0xf7e446){return _0x1f1782(_0xf7e446);},'LEoQP':_0x43f2fe(0x2c4),'vQVuY':function(_0x39b59a,_0x5bc792){return _0x39b59a||_0x5bc792;},'hKUFz':_0x43f2fe(0x30d),'OdAxc':_0x43f2fe(0x2fe)},_0x422442=_0x4aa068[_0x43f2fe(0x2a7)]?.[_0x43f2fe(0x2bc)]||_0x4aa068[_0x43f2fe(0x2a7)]?.['id'];this[_0x43f2fe(0x304)]['info']('[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier='+_0x30097a[_0x43f2fe(0x217)](_0x422442,_0x30097a['hKUFz']));try{const _0x38e996=Buffer[_0x43f2fe(0x279)](JSON[_0x43f2fe(0x1ed)](_0x4aa068[_0x43f2fe(0x24e)]),_0x30097a[_0x43f2fe(0x27e)]),_0x2680de=new messages[(_0x43f2fe(0x205))](),_0x531a98=CLIUtils[_0x43f2fe(0x2ff)](),_0x1958f6=_0x531a98[_0x43f2fe(0x261)],_0x1e6660=_0x531a98[_0x43f2fe(0x248)];_0x2680de[_0x43f2fe(0x264)](this[_0x43f2fe(0x1fe)]),_0x2680de[_0x43f2fe(0x2f9)](0x0),_0x2680de[_0x43f2fe(0x254)](_0x1958f6),_0x2680de[_0x43f2fe(0x1e7)](_0x1e6660),_0x2680de['setHubUrl'](_0x4aa068[_0x43f2fe(0x204)]),_0x2680de['setCapabilities'](_0x38e996);if(_0x4aa068[_0x43f2fe(0x2a7)]?.[_0x43f2fe(0x2bc)]||_0x4aa068[_0x43f2fe(0x2a7)]?.['id']){const _0xe30841=_0x4aa068[_0x43f2fe(0x2a7)][_0x43f2fe(0x2bc)]||_0x4aa068['testInfo']['id'];_0x2680de['setTestIdentifier'](_0xe30841),this[_0x43f2fe(0x304)][_0x43f2fe(0x258)](_0x43f2fe(0x2af)+_0xe30841+_0x43f2fe(0x1ee));}return new Promise((_0x1c1ebc,_0x3b0670)=>{const _0x43de77=_0x43f2fe,_0x684864={'KjvdE':function(_0x4f9359,_0x440f5e){return _0x30097a['nXqgN'](_0x4f9359,_0x440f5e);},'ZBCsd':_0x30097a[_0x43de77(0x1df)]};this['client'][_0x43de77(0x1d2)](_0x2680de,this[_0x43de77(0x2db)](),(_0x1cc0dc,_0x9b5e1c)=>{const _0x1cc256=_0x43de77;if(_0x1cc0dc){this[_0x1cc256(0x304)][_0x1cc256(0x30e)](_0x1cc256(0x300)+_0x1cc0dc['message']),_0x684864[_0x1cc256(0x208)](_0x3b0670,_0x1cc0dc);return;}this[_0x1cc256(0x304)][_0x1cc256(0x22f)](_0x684864[_0x1cc256(0x23e)]),_0x684864[_0x1cc256(0x208)](_0x1c1ebc,_0x9b5e1c);});});}catch(_0x1b2d08){this[_0x43f2fe(0x304)][_0x43f2fe(0x30e)]('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0x43f2fe(0x1f8)](_0x1b2d08));}}async[a99_0x5d6982(0x1d4)](_0x568001,_0x2238b9=null,_0x150eab=null){const _0x25f454=a99_0x5d6982,_0x3c4d91={'KPlQO':function(_0x570512,_0x2be5f5){return _0x570512(_0x2be5f5);}};try{const _0xcc9ec6=new messages[(_0x25f454(0x30a))]();return _0xcc9ec6[_0x25f454(0x264)](this['binSessionId']),_0xcc9ec6[_0x25f454(0x1e0)](_0x568001||[]),_0x2238b9&&_0xcc9ec6['setOrchestrationStrategy'](_0x2238b9),_0x150eab&&_0xcc9ec6[_0x25f454(0x1d8)](_0x150eab),new Promise((_0x160238,_0x5e0460)=>{const _0x57f98a=_0x25f454,_0x16029a={'yyaRZ':function(_0x472e8e,_0x432200){const _0x373fc2=a99_0x1586;return _0x3c4d91[_0x373fc2(0x2c1)](_0x472e8e,_0x432200);},'FEqZb':function(_0x1b2d66,_0x2c5880){return _0x3c4d91['KPlQO'](_0x1b2d66,_0x2c5880);},'luuwJ':function(_0x44298b,_0x1fef8b){return _0x3c4d91['KPlQO'](_0x44298b,_0x1fef8b);}};this[_0x57f98a(0x29e)]['testOrchestration'](_0xcc9ec6,(_0x1b1009,_0x5e9961)=>{const _0x252e6d=_0x57f98a;if(_0x1b1009){this[_0x252e6d(0x304)][_0x252e6d(0x30e)](_0x252e6d(0x21d)+_0x1b1009['message']),_0x16029a[_0x252e6d(0x2dd)](_0x5e0460,_0x1b1009);return;}this['logger'][_0x252e6d(0x258)]('test-orchestration-session='+util['format'](_0x5e9961));if(_0x5e9961[_0x252e6d(0x2a4)]()){const _0x24e445=_0x5e9961['getOrderedTestFilesList']();_0x16029a[_0x252e6d(0x213)](_0x160238,_0x24e445);}else _0x16029a['luuwJ'](_0x160238,null);});});}catch(_0x6aa4d1){return this[_0x25f454(0x304)][_0x25f454(0x30e)]('Error\x20in\x20testOrchestration:\x20'+util[_0x25f454(0x1f8)](_0x6aa4d1)),null;}}async[a99_0x5d6982(0x2da)](_0x48d120){const _0x11b7be=a99_0x5d6982,_0x4aeecc={'zxBpi':function(_0x5c5393,_0x48fb6c){return _0x5c5393(_0x48fb6c);},'cKUhz':'TestSessionEvent\x20request\x20successful','xvKIS':_0x11b7be(0x22c),'ThFvV':_0x11b7be(0x1d1)};this[_0x11b7be(0x304)][_0x11b7be(0x22f)](_0x4aeecc[_0x11b7be(0x272)]);try{!this['client']&&this[_0x11b7be(0x304)][_0x11b7be(0x22f)](_0x4aeecc[_0x11b7be(0x305)]);const {platformIndex:_0x3b6102,testFrameworkName:_0x4c1cdc,testFrameworkVersion:_0x406ec2,testFrameworkState:_0x3d5ba8,testHookState:_0x1f3e2e,testUuid:_0x44ce40,automationSession:_0x21378e,capabilities:_0x1f5cc4,executionContext:_0x214ea5,test_identifier:_0x497f0e}=_0x48d120,_0x3fb052=new messages[(_0x11b7be(0x1f7))]();_0x3fb052[_0x11b7be(0x264)](this['binSessionId']),_0x3fb052[_0x11b7be(0x2f9)](_0x3b6102),_0x3fb052[_0x11b7be(0x278)](_0x4c1cdc),_0x3fb052['setTestFrameworkVersion'](_0x406ec2),_0x3fb052[_0x11b7be(0x24c)](_0x3d5ba8),_0x3fb052[_0x11b7be(0x249)](_0x1f3e2e),_0x3fb052[_0x11b7be(0x2bb)](_0x44ce40);const _0x5935dc=new messages[(_0x11b7be(0x1f7))][(_0x11b7be(0x2b9))]();_0x5935dc[_0x11b7be(0x28a)](_0x21378e[_0x11b7be(0x29d)]),_0x5935dc[_0x11b7be(0x254)](_0x21378e[_0x11b7be(0x216)]),_0x5935dc[_0x11b7be(0x1e7)](_0x21378e[_0x11b7be(0x2f3)]),_0x5935dc[_0x11b7be(0x2b6)](_0x21378e[_0x11b7be(0x2b0)]),_0x5935dc['setProduct'](_0x21378e[_0x11b7be(0x27d)]),_0x5935dc['setRef'](_0x21378e[_0x11b7be(0x1e3)]),_0x5935dc[_0x11b7be(0x1e9)](_0x21378e[_0x11b7be(0x204)]),_0x3fb052['addAutomationSessions'](_0x5935dc),_0x3fb052['setCapabilities'](_0x1f5cc4);const _0x61b513=new messages[(_0x11b7be(0x1cc))]();return _0x61b513[_0x11b7be(0x2f7)](_0x214ea5[_0x11b7be(0x2e4)]),_0x61b513[_0x11b7be(0x2be)](_0x214ea5[_0x11b7be(0x2c2)]),_0x61b513[_0x11b7be(0x2b8)](_0x214ea5['hash']),_0x3fb052[_0x11b7be(0x2d1)](_0x61b513),_0x497f0e&&_0x3fb052[_0x11b7be(0x251)](_0x497f0e),new Promise((_0x100dfe,_0x116614)=>{const _0x538297=_0x11b7be;this[_0x538297(0x29e)][_0x538297(0x2da)](_0x3fb052,this[_0x538297(0x2db)](),(_0xc8fb67,_0x1bf965)=>{const _0x12c34b=_0x538297;if(_0xc8fb67){this['logger'][_0x12c34b(0x30e)](_0x12c34b(0x2a3)+_0xc8fb67['message']),_0x4aeecc[_0x12c34b(0x252)](_0x116614,_0xc8fb67);return;}this['logger'][_0x12c34b(0x22f)](_0x4aeecc['cKUhz']),_0x4aeecc[_0x12c34b(0x252)](_0x100dfe,_0x1bf965);});});}catch(_0xe853e0){this[_0x11b7be(0x304)][_0x11b7be(0x30e)]('Error\x20in\x20TestSessionEvent:\x20'+util[_0x11b7be(0x1f8)](_0xe853e0));throw _0xe853e0;}}async[a99_0x5d6982(0x1e8)](_0x1d39fb){const _0x3f76c5=a99_0x5d6982,_0x468c65={'VmWtX':function(_0x2aa6b2,_0x5886de){return _0x2aa6b2(_0x5886de);},'lzfCs':_0x3f76c5(0x1d6),'UvHBW':_0x3f76c5(0x28e),'ZSVaG':_0x3f76c5(0x1d1)};this[_0x3f76c5(0x304)][_0x3f76c5(0x22f)](_0x468c65[_0x3f76c5(0x1fd)]);try{!this[_0x3f76c5(0x29e)]&&this[_0x3f76c5(0x304)][_0x3f76c5(0x22f)](_0x468c65['ZSVaG']);const {platformIndex:_0x5a75a8,testFrameworkName:_0x5d770a,testFrameworkVersion:_0x2ea9a2,testFrameworkState:_0x80b3ff,hookState:_0x449c8c,startedAt:_0x1edee1,endedAt:_0x17ee90,uuid:_0x1cc019,eventJson:_0x458633,executionContext:_0x141de3,test_identifier:_0x5c96ca}=_0x1d39fb,_0x52af4b=new messages['TestFrameworkEventRequest']();_0x52af4b['setBinSessionId'](this[_0x3f76c5(0x1fe)]),_0x52af4b[_0x3f76c5(0x2f9)](_0x5a75a8),_0x52af4b[_0x3f76c5(0x278)](_0x5d770a),_0x52af4b[_0x3f76c5(0x2eb)](_0x2ea9a2),_0x52af4b['setTestFrameworkState'](_0x80b3ff),_0x52af4b['setTestHookState'](_0x449c8c),_0x52af4b[_0x3f76c5(0x2bd)](_0x1edee1),_0x52af4b['setEndedAt'](_0x17ee90),_0x52af4b[_0x3f76c5(0x20d)](_0x1cc019),_0x52af4b[_0x3f76c5(0x2e1)](_0x458633);const _0x374a89=new messages[(_0x3f76c5(0x1cc))]();return _0x374a89[_0x3f76c5(0x2f7)](_0x141de3[_0x3f76c5(0x2e4)]),_0x374a89[_0x3f76c5(0x2be)](_0x141de3['threadId']),_0x374a89[_0x3f76c5(0x2b8)](_0x141de3[_0x3f76c5(0x25f)]),_0x52af4b['setExecutionContext'](_0x374a89),_0x5c96ca&&_0x52af4b[_0x3f76c5(0x251)](_0x5c96ca),new Promise((_0x56f846,_0x3d8d2b)=>{const _0x870a6=_0x3f76c5;this[_0x870a6(0x29e)][_0x870a6(0x1e8)](_0x52af4b,this[_0x870a6(0x2db)](),(_0x19b8f4,_0x47b5ca)=>{const _0x35aea8=_0x870a6;if(_0x19b8f4){this['logger'][_0x35aea8(0x30e)]('TestFrameworkEvent\x20error:\x20'+_0x19b8f4['message']),_0x468c65['VmWtX'](_0x3d8d2b,_0x19b8f4);return;}this[_0x35aea8(0x304)][_0x35aea8(0x22f)](_0x468c65['lzfCs']),_0x468c65[_0x35aea8(0x2d2)](_0x56f846,_0x47b5ca);});});}catch(_0x5915ba){this[_0x3f76c5(0x304)][_0x3f76c5(0x30e)](_0x3f76c5(0x25b)+util['format'](_0x5915ba));throw _0x5915ba;}}async['driverInit'](_0x5cec74){const _0x19a695=a99_0x5d6982,_0x930bfd={'BwGrp':function(_0x51dc90,_0x5f5df3){return _0x51dc90(_0x5f5df3);},'NbzOW':_0x19a695(0x26a),'HNezX':_0x19a695(0x291),'LOAKm':_0x19a695(0x1d1)};this[_0x19a695(0x304)][_0x19a695(0x22f)](_0x930bfd[_0x19a695(0x1ec)]);try{!this[_0x19a695(0x29e)]&&this[_0x19a695(0x304)][_0x19a695(0x22f)](_0x930bfd['LOAKm']);const {platformIndex:_0x3c6045,ref:_0x220250,userInputParams:_0xb47f97,hubUrl:_0x10b2c1}=_0x5cec74,_0x5e43ac=new messages[(_0x19a695(0x1eb))]();return _0x5e43ac[_0x19a695(0x264)](this[_0x19a695(0x1fe)]),_0x5e43ac[_0x19a695(0x2f9)](_0x3c6045),_0x5e43ac[_0x19a695(0x27a)](_0x220250),_0x5e43ac[_0x19a695(0x293)](_0xb47f97),_0x5e43ac['setHubUrl'](_0x10b2c1),new Promise((_0x2ec34a,_0x5978d6)=>{const _0x2a86a0=_0x19a695;this[_0x2a86a0(0x29e)][_0x2a86a0(0x228)](_0x5e43ac,this[_0x2a86a0(0x2db)](),(_0x42cda1,_0x391845)=>{const _0x13f522=_0x2a86a0;if(_0x42cda1){this[_0x13f522(0x304)][_0x13f522(0x30e)](_0x13f522(0x2a2)+_0x42cda1[_0x13f522(0x2c3)]),_0x930bfd[_0x13f522(0x255)](_0x5978d6,_0x42cda1);return;}this['logger']['info'](_0x930bfd[_0x13f522(0x25e)]),_0x930bfd[_0x13f522(0x255)](_0x2ec34a,_0x391845);});});}catch(_0x2804e1){this[_0x19a695(0x304)]['error']('Error\x20in\x20DriverInit:\x20'+util[_0x19a695(0x1f8)](_0x2804e1));throw _0x2804e1;}}async[a99_0x5d6982(0x210)](_0x54238c){const _0x44ebd3=a99_0x5d6982,_0x4e6d27={'rilKH':function(_0x6e7601,_0x439b37){return _0x6e7601===_0x439b37;},'ybkuY':_0x44ebd3(0x2d9),'XERpL':function(_0x486938,_0x307839){return _0x486938(_0x307839);},'TCMfD':'LogCreatedEvent\x20request\x20successful','eURpB':_0x44ebd3(0x225),'saUfM':_0x44ebd3(0x1d1)};this[_0x44ebd3(0x304)]['info'](_0x4e6d27[_0x44ebd3(0x2de)]);try{!this['client']&&this[_0x44ebd3(0x304)][_0x44ebd3(0x22f)](_0x4e6d27[_0x44ebd3(0x235)]);const {platformIndex:_0x197594,logs:_0x42a588}=_0x54238c,_0x2cd771=new messages[(_0x44ebd3(0x1e5))]();_0x2cd771[_0x44ebd3(0x264)](this[_0x44ebd3(0x1fe)]),_0x2cd771['setPlatformIndex'](_0x197594);const _0x3c51e3=_0x54238c[_0x44ebd3(0x2c8)],_0x5e0bba=_0x54238c[_0x44ebd3(0x243)],_0x5a837d=_0x54238c[_0x44ebd3(0x2fc)];return _0x42a588[_0x44ebd3(0x24f)](_0x5cb8b9=>{const _0x3db2e8=_0x44ebd3,_0x5da388=new messages['LogCreatedEventRequest'][(_0x3db2e8(0x310))]();_0x5da388['setTestFrameworkName'](_0x3c51e3),_0x5da388[_0x3db2e8(0x2eb)](_0x5e0bba),_0x5da388['setTestFrameworkState'](_0x5a837d),_0x5da388[_0x3db2e8(0x2ec)](_0x5cb8b9[_0x3db2e8(0x2c5)]);if(_0x4e6d27[_0x3db2e8(0x20f)](_0x5cb8b9[_0x3db2e8(0x1f4)],PLAYWRIGHT_TRACE_LOGS))_0x5da388['setUuid'](_0x5cb8b9['test_run_uuid']),_0x5da388[_0x3db2e8(0x22e)](new TextEncoder()['encode'](JSON[_0x3db2e8(0x1ed)](_0x5cb8b9)));else{if(_0x5cb8b9['test_identifier'])_0x5da388[_0x3db2e8(0x20d)](_0x4e6d27[_0x3db2e8(0x2c7)]);else{if(_0x5cb8b9['hook_run_uuid'])_0x5da388[_0x3db2e8(0x20d)](_0x5cb8b9['hook_run_uuid']);else _0x5cb8b9[_0x3db2e8(0x209)]&&_0x5da388[_0x3db2e8(0x20d)](_0x5cb8b9['uuid']);}_0x5da388[_0x3db2e8(0x22e)](new TextEncoder()['encode'](_0x5cb8b9['message']));}_0x5da388['setKind'](_0x5cb8b9[_0x3db2e8(0x222)]),_0x5da388[_0x3db2e8(0x207)](_0x5cb8b9[_0x3db2e8(0x265)]),_0x5da388[_0x3db2e8(0x2ba)](_0x5cb8b9?.[_0x3db2e8(0x227)]||''),_0x5da388[_0x3db2e8(0x27c)](_0x5cb8b9?.[_0x3db2e8(0x23f)]||''),_0x5da388[_0x3db2e8(0x201)](_0x5cb8b9?.[_0x3db2e8(0x2e2)]||0x0),_0x5da388[_0x3db2e8(0x253)](_0x5cb8b9?.[_0x3db2e8(0x1f4)]||''),_0x5cb8b9[_0x3db2e8(0x2fa)]&&_0x5da388[_0x3db2e8(0x251)](_0x5cb8b9['test_identifier']),_0x5cb8b9[_0x3db2e8(0x26c)]&&_0x5da388[_0x3db2e8(0x246)](_0x5cb8b9[_0x3db2e8(0x26c)]),_0x2cd771[_0x3db2e8(0x302)](_0x5da388);}),new Promise((_0x578421,_0xc76a52)=>{const _0x4f737e=_0x44ebd3,_0x547246={'EXKyF':function(_0x366b54,_0x531eca){const _0x5ea15a=a99_0x1586;return _0x4e6d27[_0x5ea15a(0x2c6)](_0x366b54,_0x531eca);},'GRAMQ':_0x4e6d27[_0x4f737e(0x20c)]};this[_0x4f737e(0x29e)][_0x4f737e(0x210)](_0x2cd771,this[_0x4f737e(0x2db)](),(_0x4cf22e,_0x47c76f)=>{const _0x3f0987=_0x4f737e;if(_0x4cf22e){this[_0x3f0987(0x304)][_0x3f0987(0x30e)](_0x3f0987(0x1d5)+_0x4cf22e[_0x3f0987(0x2c3)]),_0x547246['EXKyF'](_0xc76a52,_0x4cf22e);return;}this[_0x3f0987(0x304)]['info'](_0x547246[_0x3f0987(0x299)]),_0x547246['EXKyF'](_0x578421,_0x47c76f);});});}catch(_0x416d61){this['logger'][_0x44ebd3(0x30e)](_0x44ebd3(0x281)+util[_0x44ebd3(0x1f8)](_0x416d61));throw _0x416d61;}}async[a99_0x5d6982(0x296)](_0x288292,_0x11702f,_0x4e040a,_0x3a4f15=null){const _0x51ddeb=a99_0x5d6982,_0x17eb1e={'vZqXJ':function(_0x1b57b5,_0x337456){return _0x1b57b5(_0x337456);},'klcQi':function(_0x2bb67a,_0x52764c){return _0x2bb67a||_0x52764c;},'kXgXK':_0x51ddeb(0x30d),'wsAfK':_0x51ddeb(0x214)};this[_0x51ddeb(0x304)][_0x51ddeb(0x258)](_0x51ddeb(0x283)+_0x288292+_0x51ddeb(0x2d7)+_0x11702f+_0x51ddeb(0x24b)+_0x4e040a+_0x51ddeb(0x202)+_0x17eb1e[_0x51ddeb(0x219)](_0x3a4f15,_0x17eb1e[_0x51ddeb(0x27f)]));try{if(!this[_0x51ddeb(0x29e)])return this[_0x51ddeb(0x304)][_0x51ddeb(0x258)](_0x17eb1e['wsAfK']),null;const _0x338c1c=new messages[(_0x51ddeb(0x1e2))]();return _0x338c1c[_0x51ddeb(0x264)](_0x288292),_0x338c1c[_0x51ddeb(0x306)](_0x11702f),_0x338c1c[_0x51ddeb(0x29c)](_0x4e040a),_0x3a4f15&&(_0x338c1c['setTestIdentifier'](_0x3a4f15),this[_0x51ddeb(0x304)][_0x51ddeb(0x258)](_0x51ddeb(0x2d4)+_0x3a4f15+'\x20for\x20product='+_0x11702f+_0x51ddeb(0x24b)+_0x4e040a)),await new Promise(_0x30217c=>{const _0x5b99b3=_0x51ddeb;this[_0x5b99b3(0x29e)][_0x5b99b3(0x296)](_0x338c1c,this[_0x5b99b3(0x2db)](),(_0x1bd6ab,_0x11850e)=>{const _0x397d8a=_0x5b99b3;if(_0x1bd6ab){this['logger'][_0x397d8a(0x258)](_0x397d8a(0x215)+_0x1bd6ab),_0x17eb1e[_0x397d8a(0x2fd)](_0x30217c,null);return;}this[_0x397d8a(0x304)][_0x397d8a(0x258)](_0x397d8a(0x275)+(_0x11850e[_0x397d8a(0x2a4)]&&_0x11850e[_0x397d8a(0x2a4)]())),_0x17eb1e[_0x397d8a(0x2fd)](_0x30217c,_0x11850e);});});}catch(_0x118ab6){return this[_0x51ddeb(0x304)]['debug']('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x118ab6),null;}}async[a99_0x5d6982(0x2e7)](_0x3c1133){const _0x1cc23f=a99_0x5d6982,_0x4bb5cb={'adbAB':function(_0x3f7e20,_0x470d0a){return _0x3f7e20(_0x470d0a);},'pcqbb':_0x1cc23f(0x23c),'FTXNG':_0x1cc23f(0x214)};this[_0x1cc23f(0x304)]['debug'](_0x1cc23f(0x260)+_0x3c1133);try{if(!this[_0x1cc23f(0x29e)])return this[_0x1cc23f(0x304)][_0x1cc23f(0x258)](_0x4bb5cb[_0x1cc23f(0x20a)]),null;const _0x1284ef=new messages[(_0x1cc23f(0x22a))]();_0x1284ef[_0x1cc23f(0x264)](this[_0x1cc23f(0x1fe)]),_0x1284ef[_0x1cc23f(0x20b)](_0x3c1133);const _0xe4733d=await new Promise((_0x20c875,_0x5d5ee8)=>{const _0x1aec71=_0x1cc23f;this['client'][_0x1aec71(0x2e7)](_0x1284ef,this[_0x1aec71(0x2db)](),(_0xc94f3d,_0x204029)=>{const _0x5df118=_0x1aec71;if(_0xc94f3d){this[_0x5df118(0x304)][_0x5df118(0x258)](_0x5df118(0x26d)+_0xc94f3d),_0x4bb5cb[_0x5df118(0x237)](_0x5d5ee8,_0xc94f3d);return;}this[_0x5df118(0x304)][_0x5df118(0x258)](_0x4bb5cb[_0x5df118(0x233)]),_0x4bb5cb['adbAB'](_0x20c875,_0x204029);});});return _0xe4733d;}catch(_0xf28818){return this[_0x1cc23f(0x304)][_0x1cc23f(0x258)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0xf28818),null;}}async[a99_0x5d6982(0x2ce)](){const _0x1d3434=a99_0x5d6982,_0xa80330={'LCGLC':function(_0x59dd32,_0x1b58e1){return _0x59dd32(_0x1b58e1);},'CTAcS':_0x1d3434(0x259),'Hnhil':function(_0x56c1c7,_0x6d08ef){return _0x56c1c7(_0x6d08ef);},'HXRAr':_0x1d3434(0x311),'LgwnQ':_0x1d3434(0x214)};this[_0x1d3434(0x304)]['debug'](_0xa80330[_0x1d3434(0x1db)]);try{if(!this[_0x1d3434(0x29e)])return this[_0x1d3434(0x304)]['debug'](_0xa80330['LgwnQ']),null;const _0x353138=new messages[(_0x1d3434(0x247))]();_0x353138[_0x1d3434(0x264)](this[_0x1d3434(0x1fe)]);const _0x2c66e8=await new Promise((_0x3c34df,_0xdd3c3f)=>{const _0x55be3e=_0x1d3434;this[_0x55be3e(0x29e)][_0x55be3e(0x2ce)](_0x353138,this['getCallOptions'](),(_0x401a85,_0x1e95a1)=>{const _0x5b317f=_0x55be3e;if(_0x401a85){this[_0x5b317f(0x304)][_0x5b317f(0x258)](_0x5b317f(0x2d5)+_0x401a85),_0xa80330[_0x5b317f(0x1e6)](_0xdd3c3f,_0x401a85);return;}this['logger'][_0x5b317f(0x258)](_0xa80330['CTAcS']),_0xa80330['Hnhil'](_0x3c34df,_0x1e95a1);});});return _0x2c66e8;}catch(_0xfdb39a){return this[_0x1d3434(0x304)][_0x1d3434(0x258)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0xfdb39a),null;}}async['testCafeConfig'](){const _0x3ccf57=a99_0x5d6982,_0x188634={'HkihL':function(_0x238866,_0x4b889f){return _0x238866(_0x4b889f);},'kkEcT':function(_0x31d2a3,_0x1a34d6){return _0x31d2a3(_0x1a34d6);},'MbQoY':_0x3ccf57(0x2ea),'KVCOQ':function(_0x2d2f36,_0x479d47){return _0x2d2f36!==_0x479d47;},'ldqaz':_0x3ccf57(0x2ad),'nbsni':function(_0x2cf8fc,_0x4b0f5a){return _0x2cf8fc+_0x4b0f5a;},'TBHbu':_0x3ccf57(0x22b),'xmyQL':_0x3ccf57(0x1d3),'bulMj':function(_0x1f9bae,_0x58c4c7){return _0x1f9bae!==_0x58c4c7;},'jsVoR':function(_0x35996c,_0x4dace5){return _0x35996c+_0x4dace5;},'AFrXO':function(_0x77519,_0x1d1ab8){return _0x77519+_0x1d1ab8;},'pxppc':function(_0x3ce99e,_0x4096a9){return _0x3ce99e+_0x4096a9;},'mGktd':_0x3ccf57(0x268),'rNVEV':_0x3ccf57(0x241),'mXgET':'the\x20TestCafeConfig\x20RPC.\x20Rebuild\x20the\x20binary\x20in\x20lockstep\x20with\x20the\x20SDK\x20','sBQYX':_0x3ccf57(0x1f5)};this['logger'][_0x3ccf57(0x22f)](_0x188634['MbQoY']);if(_0x188634[_0x3ccf57(0x292)](typeof messages['TestCafeConfigRequest'],_0x188634[_0x3ccf57(0x286)]))throw new Error(_0x188634[_0x3ccf57(0x24d)](_0x188634[_0x3ccf57(0x2f0)],_0x188634[_0x3ccf57(0x21f)]));if(_0x188634[_0x3ccf57(0x25c)](typeof this[_0x3ccf57(0x29e)][_0x3ccf57(0x2cb)],_0x188634['ldqaz']))throw new Error(_0x188634[_0x3ccf57(0x223)](_0x188634['AFrXO'](_0x188634[_0x3ccf57(0x269)](_0x188634['mGktd'],_0x188634[_0x3ccf57(0x231)]),_0x188634['mXgET']),_0x188634['sBQYX']));const _0x2818ef=new messages['TestCafeConfigRequest']();return _0x2818ef[_0x3ccf57(0x264)](this[_0x3ccf57(0x1fe)]),new Promise((_0x906cc,_0x247789)=>{const _0x55aeb4=_0x3ccf57;this[_0x55aeb4(0x29e)][_0x55aeb4(0x2cb)](_0x2818ef,this[_0x55aeb4(0x2db)](),(_0x376527,_0x11e60f)=>{const _0x5e480b=_0x55aeb4;if(_0x376527){this[_0x5e480b(0x304)][_0x5e480b(0x30e)](_0x5e480b(0x2f6)+_0x376527['message']),_0x188634[_0x5e480b(0x307)](_0x247789,_0x376527);return;}_0x188634['kkEcT'](_0x906cc,_0x11e60f);});});}[a99_0x5d6982(0x2bf)](){return this['client'];}['getChannel'](){return this['channel'];}}module[a99_0x5d6982(0x242)]=GrpcClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a100_0x21ed(_0x3b7bac,_0x103f54){const _0x1070b8=a100_0x1070();return a100_0x21ed=function(_0x21eddd,_0x544022){_0x21eddd=_0x21eddd-0x160;let _0x4a065f=_0x1070b8[_0x21eddd];return _0x4a065f;},a100_0x21ed(_0x3b7bac,_0x103f54);}const a100_0x50f25e=a100_0x21ed;(function(_0x303703,_0x4e27fc){const _0x59e81a=a100_0x21ed,_0x5cd38d=_0x303703();while(!![]){try{const _0x223fd1=-parseInt(_0x59e81a(0x175))/0x1+-parseInt(_0x59e81a(0x165))/0x2+parseInt(_0x59e81a(0x16b))/0x3+-parseInt(_0x59e81a(0x162))/0x4+-parseInt(_0x59e81a(0x16e))/0x5+parseInt(_0x59e81a(0x163))/0x6*(-parseInt(_0x59e81a(0x173))/0x7)+-parseInt(_0x59e81a(0x160))/0x8*(-parseInt(_0x59e81a(0x169))/0x9);if(_0x223fd1===_0x4e27fc)break;else _0x5cd38d['push'](_0x5cd38d['shift']());}catch(_0x41784e){_0x5cd38d['push'](_0x5cd38d['shift']());}}}(a100_0x1070,0x698c7));const AutomationFrameworkState=require(a100_0x50f25e(0x170)),TrackedInstance=require(a100_0x50f25e(0x16a)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x54c302,_0x11fa55,_0x45bf33,_0x443be7){const _0x31ad6c=a100_0x50f25e,_0x490f97={};_0x490f97['LWzui']='0|5|1|4|2|3';const _0x439931=_0x490f97,_0x21451a=_0x439931[_0x31ad6c(0x167)][_0x31ad6c(0x174)]('|');let _0x3214fb=0x0;while(!![]){switch(_0x21451a[_0x3214fb++]){case'0':super(_0x54c302);continue;case'1':this[_0x31ad6c(0x16c)]=_0x45bf33;continue;case'2':this[_0x31ad6c(0x161)]=AutomationFrameworkState[_0x31ad6c(0x171)];continue;case'3':this[_0x31ad6c(0x172)]=now[_0x31ad6c(0x176)]();continue;case'4':this[_0x31ad6c(0x164)]=_0x443be7;continue;case'5':this[_0x31ad6c(0x168)]=_0x11fa55;continue;}break;}}[a100_0x50f25e(0x166)](){const _0x15b2e6=a100_0x50f25e;return this[_0x15b2e6(0x168)];}['getFrameworkVersion'](){const _0x4cd1b4=a100_0x50f25e;return this[_0x4cd1b4(0x16c)];}['getState'](){return this['state'];}[a100_0x50f25e(0x16d)](_0x2d619b){const _0x46b021=a100_0x50f25e;this[_0x46b021(0x161)]=this['state'],this[_0x46b021(0x164)]=_0x2d619b;}}function a100_0x1070(){const _0x59d352=['769407gQapRW','frameworkVersion','setState','3861970QfmdXr','exports','../state/automationFrameworkState','NONE','createdAt','791zgYeiy','split','836272xOlIQZ','toLocaleString','46688GlGFlk','lastState','2216736juLhdE','31560EmEdfQ','state','436704kTfLFC','getFrameworkName','LWzui','frameworkName','4860CYcxZD','./trackedInstance'];a100_0x1070=function(){return _0x59d352;};return a100_0x1070();}module[a100_0x50f25e(0x16f)]=AutomationFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101_0x1b7df9=a101_0x563f;(function(_0x1ec50e,_0x4e372b){const _0x3f830c=a101_0x563f,_0x4a2476=_0x1ec50e();while(!![]){try{const _0x520967=parseInt(_0x3f830c(0x1ed))/0x1*(parseInt(_0x3f830c(0x1d4))/0x2)+-parseInt(_0x3f830c(0x1e7))/0x3+parseInt(_0x3f830c(0x1dc))/0x4+parseInt(_0x3f830c(0x1ee))/0x5*(parseInt(_0x3f830c(0x1d9))/0x6)+parseInt(_0x3f830c(0x1e3))/0x7+-parseInt(_0x3f830c(0x1e1))/0x8*(-parseInt(_0x3f830c(0x1cd))/0x9)+-parseInt(_0x3f830c(0x1d3))/0xa;if(_0x520967===_0x4e372b)break;else _0x4a2476['push'](_0x4a2476['shift']());}catch(_0x26609e){_0x4a2476['push'](_0x4a2476['shift']());}}}(a101_0x2524,0x3b8b7));const {createClassLogger}=require(a101_0x1b7df9(0x1e9)),logger=createClassLogger(a101_0x1b7df9(0x1dd)),HookState=require(a101_0x1b7df9(0x1f1)),TestFrameworkState=require(a101_0x1b7df9(0x1e0)),TrackedContext=require('./trackedContext'),TrackedInstance=require('./trackedInstance'),now=new Date();function a101_0x563f(_0x254819,_0x335411){const _0x252454=a101_0x2524();return a101_0x563f=function(_0x563fb9,_0x17c4cd){_0x563fb9=_0x563fb9-0x1c9;let _0x29924b=_0x252454[_0x563fb9];return _0x29924b;},a101_0x563f(_0x254819,_0x335411);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x13f0d4,_0x3e0191,_0x186a3e,_0x269895,_0x52d63e){const _0x14d802=a101_0x1b7df9,_0x5ab52c={};_0x5ab52c[_0x14d802(0x1ef)]='8|3|2|0|5|7|1|4|6';const _0x396fb8=_0x5ab52c,_0x3a1847=_0x396fb8[_0x14d802(0x1ef)][_0x14d802(0x1db)]('|');let _0x41ca60=0x0;while(!![]){switch(_0x3a1847[_0x41ca60++]){case'0':this['currentTestState']=_0x269895;continue;case'1':this[_0x14d802(0x1cb)]=HookState['NONE'];continue;case'2':this[_0x14d802(0x1d6)]=_0x186a3e;continue;case'3':this[_0x14d802(0x1d0)]=_0x3e0191;continue;case'4':this[_0x14d802(0x1d1)]=now['toLocaleString']();continue;case'5':this[_0x14d802(0x1da)]=_0x52d63e;continue;case'6':this[_0x14d802(0x1c9)]=new Map();continue;case'7':this[_0x14d802(0x1e5)]=TestFrameworkState[_0x14d802(0x1d2)];continue;case'8':super(_0x13f0d4);continue;}break;}}[a101_0x1b7df9(0x1e6)](){const _0x4712dd=a101_0x1b7df9;return this[_0x4712dd(0x1e8)];}[a101_0x1b7df9(0x1f0)](_0x49cf53){const _0x254715=a101_0x1b7df9;this[_0x254715(0x1e2)](this[_0x254715(0x1e8)]),this[_0x254715(0x1e8)]=_0x49cf53;}[a101_0x1b7df9(0x1d5)](){return this['currentHookState'];}['setCurrentHookState'](_0x43e900){const _0x738945=a101_0x1b7df9;this['setLastHookState'](this[_0x738945(0x1da)]),this[_0x738945(0x1da)]=_0x43e900;}[a101_0x1b7df9(0x1e4)](){return this['lastTestState'];}[a101_0x1b7df9(0x1e2)](_0x1460b9){const _0x58b700=a101_0x1b7df9;this[_0x58b700(0x1e5)]=_0x1460b9;}['getLastHookState'](){const _0x2d0400=a101_0x1b7df9;return this[_0x2d0400(0x1cb)];}['setLastHookState'](_0x4c93a0){this['lastHookState']=_0x4c93a0;}[a101_0x1b7df9(0x1ec)](){const _0x508285=a101_0x1b7df9;return this[_0x508285(0x1d1)];}[a101_0x1b7df9(0x1cc)](_0x15a0df,_0x924821){const _0x5d1214=a101_0x1b7df9;!this[_0x5d1214(0x1c9)][_0x5d1214(0x1ea)](_0x15a0df)&&this['pendingHooks'][_0x5d1214(0x1eb)](_0x15a0df,[]),this['pendingHooks']['get'](_0x15a0df)['push'](_0x924821);}[a101_0x1b7df9(0x1d7)](_0x4bd2f5){const _0x163e9b=a101_0x1b7df9;return this[_0x163e9b(0x1c9)]['get'](_0x4bd2f5)||[];}[a101_0x1b7df9(0x1ca)](_0x6765f3){const _0x79731b=a101_0x1b7df9;this[_0x79731b(0x1c9)][_0x79731b(0x1de)](_0x6765f3);}[a101_0x1b7df9(0x1ce)](_0x5aad4a){const _0x22470d=a101_0x1b7df9;return this[_0x22470d(0x1c9)][_0x22470d(0x1ea)](_0x5aad4a);}[a101_0x1b7df9(0x1cf)](){const _0x8fc3b0=a101_0x1b7df9;return Array['from'](this[_0x8fc3b0(0x1c9)][_0x8fc3b0(0x1df)]());}}module[a101_0x1b7df9(0x1d8)]=TestFrameworkInstance;function a101_0x2524(){const _0x3b5156=['getAllPendingHookTestIds','testFrameworks','createdAt','NONE','11541970czxFFJ','218OmWbrX','getCurrentHookState','testFrameworksVersions','getPendingHooks','exports','69468oFlkNF','currentHookState','split','1465020Nlbngz','TrackedInstance','delete','keys','../state/testFrameworkState','16JwrGtd','setLastTestState','1674680ixJFOx','getLastTestState','lastTestState','getCurrentTestState','67431ECYIVb','currentTestState','../../../helpers/classLogger','has','set','getCreatedAt','310rKCjeG','155poALJx','zyTYC','setCurrentTestState','../state/hookState','pendingHooks','removePendingHooks','lastHookState','addPendingHook','1900647DWfypc','hasPendingHooks'];a101_0x2524=function(){return _0x3b5156;};return a101_0x2524();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a102_0x272a5b=a102_0x36d0;(function(_0x675266,_0x1a696c){const _0x352290=a102_0x36d0,_0x38927e=_0x675266();while(!![]){try{const _0xad7998=-parseInt(_0x352290(0x166))/0x1*(parseInt(_0x352290(0x168))/0x2)+parseInt(_0x352290(0x15a))/0x3+parseInt(_0x352290(0x158))/0x4*(parseInt(_0x352290(0x161))/0x5)+-parseInt(_0x352290(0x160))/0x6+-parseInt(_0x352290(0x15b))/0x7+-parseInt(_0x352290(0x157))/0x8+parseInt(_0x352290(0x15f))/0x9;if(_0xad7998===_0x1a696c)break;else _0x38927e['push'](_0x38927e['shift']());}catch(_0x5c5a77){_0x38927e['push'](_0x38927e['shift']());}}}(a102_0x1b93,0x5c81f));function a102_0x36d0(_0x16c9a8,_0x5c255b){const _0x1b9399=a102_0x1b93();return a102_0x36d0=function(_0x36d02d,_0x4346cb){_0x36d02d=_0x36d02d-0x157;let _0x24fe0f=_0x1b9399[_0x36d02d];return _0x24fe0f;},a102_0x36d0(_0x16c9a8,_0x5c255b);}function a102_0x1b93(){const _0x2b6b02=['processId','8476677aEAwIx','1404270rfhhDo','545loUQlQ','getProcessId','exports','getId','type','1616YYkldU','getThreadId','842tOiUoL','774624suYfJS','6528Qilfcy','TrackedContext','1322529ymkmWL','1193248KradPL','getType','threadId'];a102_0x1b93=function(){return _0x2b6b02;};return a102_0x1b93();}const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a102_0x272a5b(0x159));class TrackedContext{constructor(_0x172b24,_0x181f1c,_0x4be7f6,_0x11296e){const _0xf0daee=a102_0x272a5b;this['id']=_0x172b24,this[_0xf0daee(0x15d)]=_0x181f1c,this[_0xf0daee(0x15e)]=_0x4be7f6,this[_0xf0daee(0x165)]=_0x11296e;}[a102_0x272a5b(0x167)](){return this['threadId'];}[a102_0x272a5b(0x162)](){const _0x562a05=a102_0x272a5b;return this[_0x562a05(0x15e)];}[a102_0x272a5b(0x164)](){return this['id'];}[a102_0x272a5b(0x15c)](){const _0x2dc8ad=a102_0x272a5b;return this[_0x2dc8ad(0x165)];}}module[a102_0x272a5b(0x163)]=TrackedContext;
|