browserstack-node-sdk 1.36.0 → 1.36.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 +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.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/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/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.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/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/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/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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/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
|
-
const a88_0x172f99=a88_0x5d16;(function(_0x51709f,_0x96cc98){const _0x5b4b7f=a88_0x5d16,_0x4d7137=_0x51709f();while(!![]){try{const _0x284d44=parseInt(_0x5b4b7f(0x284))/0x1+-parseInt(_0x5b4b7f(0x20c))/0x2+parseInt(_0x5b4b7f(0x27e))/0x3+-parseInt(_0x5b4b7f(0x293))/0x4+-parseInt(_0x5b4b7f(0x1e6))/0x5*(-parseInt(_0x5b4b7f(0x268))/0x6)+-parseInt(_0x5b4b7f(0x2d1))/0x7+parseInt(_0x5b4b7f(0x2b0))/0x8;if(_0x284d44===_0x96cc98)break;else _0x4d7137['push'](_0x4d7137['shift']());}catch(_0x49633e){_0x4d7137['push'](_0x4d7137['shift']());}}}(a88_0x46b8,0xbbc3d));const fs=require('fs'),path=require(a88_0x172f99(0x20e)),gitLastCommit=require(a88_0x172f99(0x278)),getRepoInfo=require(a88_0x172f99(0x28c)),{consoleHolder,API_URL,SCREENSHOT_ENDPOINT,UPLOAD_ATTACHMENT_ENDPOINT,FRAMEWORKS,OBSERVABILITY_UPLOAD_API_URL}=require('./constants'),http=require(a88_0x172f99(0x20b)),https=require(a88_0x172f99(0x1ce)),child_process=require('child_process'),getos=require(a88_0x172f99(0x2ce)),os=require('os'),logger=require(a88_0x172f99(0x263))[a88_0x172f99(0x29f)],bsSetupHelper=require(a88_0x172f99(0x2a1)),requestSpy=require(a88_0x172f99(0x2b7)),constants=require(a88_0x172f99(0x1f3)),logPatcher=require(a88_0x172f99(0x25e)),util=require(a88_0x172f99(0x2be)),{fileLogger}=require(a88_0x172f99(0x263)),PerformanceTester=require('../performance/performance-tester'),{isFunction}=require(a88_0x172f99(0x1e5)),BSTestOpsPatcher=new logPatcher({}),{O11y_EVENTS:PerformanceO11yEvents}=require(a88_0x172f99(0x2d4));exports[a88_0x172f99(0x1f6)]=_0x50d631=>{const _0x579d8b=a88_0x172f99;fileLogger[_0x579d8b(0x267)]('['+new Date()[_0x579d8b(0x1f5)]()+_0x579d8b(0x1dc)+_0x50d631);},exports[a88_0x172f99(0x1dd)]=_0x209b2e=>{const _0x13cd04=a88_0x172f99,_0x144034={};_0x144034[_0x13cd04(0x299)]=function(_0x4a845c,_0x3d7f97){return _0x4a845c===_0x3d7f97;},_0x144034[_0x13cd04(0x236)]='true',_0x144034[_0x13cd04(0x2d6)]=function(_0x3b4f68,_0x30fb17){return _0x3b4f68===_0x30fb17;};const _0x2d0d99=_0x144034;fileLogger[_0x13cd04(0x1dd)]('['+new Date()[_0x13cd04(0x1f5)]()+'][\x20OBSERVABILITY\x20]\x20'+_0x209b2e),(_0x2d0d99[_0x13cd04(0x299)](process[_0x13cd04(0x1f9)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x2d0d99[_0x13cd04(0x236)])||_0x2d0d99[_0x13cd04(0x2d6)](process[_0x13cd04(0x1f9)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x13cd04(0x292)]('\x0a['+new Date()[_0x13cd04(0x1f5)]()+_0x13cd04(0x1dc)+_0x209b2e+'\x0a');};const a88_0x122d38={};a88_0x122d38[a88_0x172f99(0x222)]=!![],a88_0x122d38[a88_0x172f99(0x23b)]=0xea60,a88_0x122d38[a88_0x172f99(0x2b1)]=0x2,a88_0x122d38[a88_0x172f99(0x217)]=0x2;function a88_0x5d16(_0x2a0d6a,_0x22cceb){const _0x46b81a=a88_0x46b8();return a88_0x5d16=function(_0x5d1667,_0x5ea5df){_0x5d1667=_0x5d1667-0x1cb;let _0x3426c2=_0x46b81a[_0x5d1667];return _0x3426c2;},a88_0x5d16(_0x2a0d6a,_0x22cceb);}const httpKeepAliveAgent=new http[(a88_0x172f99(0x1cb))](a88_0x122d38),a88_0x4acea3={};a88_0x4acea3[a88_0x172f99(0x222)]=!![],a88_0x4acea3[a88_0x172f99(0x23b)]=0xea60,a88_0x4acea3[a88_0x172f99(0x2b1)]=0x2,a88_0x4acea3[a88_0x172f99(0x217)]=0x2;const httpsKeepAliveAgent=new https['Agent'](a88_0x4acea3),a88_0x18baee={};a88_0x18baee[a88_0x172f99(0x222)]=!![],a88_0x18baee[a88_0x172f99(0x23b)]=0xea60,a88_0x18baee['maxSockets']=0x2,a88_0x18baee[a88_0x172f99(0x217)]=0x2;const httpScreenshotsKeepAliveAgent=new http[(a88_0x172f99(0x1cb))](a88_0x18baee),a88_0x16ef77={};function a88_0x46b8(){const _0x2527a6=['maxTotalSockets','catch','zvyhv','true','eEImA','cMOEv','stringify','ObservabilitySync:','BQSoL','eastc','platformVersion','keepAlive','Fzayz','capabilities','browserstack_executor:\x20','browserstack','BdEZU','config','TEST_OBSERVABILITY_BUILD_TAG','PVJuF','annotate','replace','object','getAccessKey','trim','fIRqo','CUCUMBER','Bearer\x20','map','UOwXd','message','thWFd','SCatI','YGIgV','UaXQd','bcsYl','timeout','removeAnsiColors','Failed\x20to\x20determine\x20product\x20linked\x20to\x20Observability\x20test\x20instance\x20:\x20','sLoCR','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','platformName','getBrowserName','vPgWz','ekjXl','execSync','__cloud_provider___','njlKE','app','patchConsoleLogger','xMifB','getPlatformDetails','ATS_HUB_URL_REGEX','@cucumber/cucumber','iaDmY','qfwwo','kHbac','automate','extractValuesWithRegexKeyMatch','BROWSERSTACK_TEST_OBSERVABILITY','test','Not\x20a\x20JSON\x20response\x20from\x20BrowserStack\x20Server','OuipM','split','pid','length','Bglsm','vFzBW','BROWSERSTACK_CONFIG_FILE_PATH','agent','getPackageVersion','../../bin/utils/logPatcher','VBUtV','Windows','FxCIh','headers','../logger','readConfig','mJGxC','X-BSTACK-TESTOPS','silly','18pPXQEl','win32','prefixTestPath','url','BROWSERSTACK_TESTHUB_JWT','logs','TEST_ATTACHMENT','dqxJO','mocha','getObservabilityLinkedProductName','dibWX','uKdkP','includes','\x20:\x20','bmhLJ','error','git-last-commit','LogCreated','Content-Type','rIxcP','kTKGk','BROWSERSTACK_RERUN_TESTS','4303467pJIOts','buildTag','nLdGl','darwin','release','Exception\x20in\x20populating\x20test\x20failure\x20data\x20with\x20error\x20:\x20','178372KsDhmB','^CUSTOM_TAG_\x5cd+$','KQVuC','HTTP','PathHelper','MOCHA','Authorization','stack','git-repo-info','TEST_PLATFORM','JEST','][\x20OBSERVABILITY\x20]\x20Build\x20Not\x20Found','getCapabilities','bIBPf','log','3453680xszdeI','filter','Uploading\x20trace\x20logs\x20to:\x20','Not\x20a\x20JSON\x20response\x20from\x20BrowserStack\x20Server\x20-\x20body:\x20%s,\x20error:\x20%s','data','rOcmb','FQimp','parse','spy','formData','getPlatform','PLAYWRIGHT','winstonLogger','sendPlatformDetails','../helper','BoMgo','getFailureType','customTag','ECPRI','relative','CUSTOM_TAG','JcOAu','tuCCR','info','measureWrapper','emit','getCustomTags','FydWs','UBMht','6674432EjTQXl','maxSockets','@playwright/test','map_','Visit\x20https://observability.browserstack.com/builds/','yxXVo','WSyrq','../../helpers/request-spy','YMsgH','gJPCn','AzPvq','prefix','\x20to\x20view\x20build\x20report,\x20insights,\x20and\x20many\x20more\x20debugging\x20information\x20all\x20at\x20one\x20place!\x0a','default','util','push','WSggM','join','toString','WwGqb','now','zcUaj','WaJXG','BROWSERSTACK_TEST_OBSERVABILITY_YML','PLAYWRIGHT_TRACE_LOGS','DokSP','JeFck','modifyReqForTraceUpload','Unknown','Error\x20in\x20importing\x20windows-release\x20','getos','getUserName','ykgWS','6523461KrEyZp','ESgfV','oFANo','../performance/constants','fXIFA','BRXuh','QBwqS','asyncAwaitNodeReq','wrJjs','isTestObservabilitySession','local_grid','UnhandledError','cEgWW','Agent','unknown_grid','getBrowserVersion','https','Error\x20in\x20getting\x20Linux\x20Details','sleep','keys','Error\x20in\x20sending\x20request\x20to\x20BrowserStack\x20Server\x20:\x20','Linux','linux','rvNtP','bMCzm','MbuuA','relativeTestFilePath','body','osoTZ','SVieE','][\x20OBSERVABILITY\x20]\x20','debug','toJSON','gXbLI','Received\x20response\x20from\x20BrowserStack\x20Server\x20with\x20status\x20:\x20','parseFileNames','fromEntries','SRbFr','lJBEX','lodash','2044555LQRaal','platform','jest','BS_TESTOPS_BUILD_HASHED_ID','iFSTw','json','azjmW','null','fVBNm','getBuildTags','getFrameworkVersion','LxadK','CODECEPT_CUCUMBER','../../bin/utils/constants','host','toISOString','trace','forEach','jMNTG','env','bs:addLog:','codeceptjs','getUserCredentials','application/json','IWSAu','bstack:options','oMtDU','xFldK','dgGZP','rmomg','TLKQY','isInternalHook','nodeRequest','isArray','0|1|2|4|3|5','awk\x20\x27/SOFTWARE\x20LICENSE\x20AGREEMENT\x20FOR\x20macOS/\x27\x20\x27/System/Library/CoreServices/Setup\x20Assistant.app/Contents/Resources/en.lproj/OSXSoftwareLicense.rtf\x27\x20|\x20awk\x20-F\x20\x27macOS\x20\x27\x20\x27{print\x20$NF}\x27\x20|\x20awk\x20\x27{print\x20substr($0,\x200,\x20length($0)-1)}\x27','windows-release','http','2218940CyKxTk','urJKQ','path','format','KYTgZ','nJJtB','dist','oEXBJ','fileName','test_run_uuid','hostname'];a88_0x46b8=function(){return _0x2527a6;};return a88_0x46b8();}a88_0x16ef77[a88_0x172f99(0x222)]=!![],a88_0x16ef77[a88_0x172f99(0x23b)]=0xea60,a88_0x16ef77[a88_0x172f99(0x2b1)]=0x2,a88_0x16ef77[a88_0x172f99(0x217)]=0x2;const httpsScreenshotsKeepAliveAgent=new https[(a88_0x172f99(0x1cb))](a88_0x16ef77);exports['shouldReRunObservabilityTests']=()=>{const _0x122337=a88_0x172f99,_0x3c8ead={};_0x3c8ead[_0x122337(0x20d)]=function(_0x2e2e53,_0x42af21){return _0x2e2e53!==_0x42af21;},_0x3c8ead[_0x122337(0x201)]=_0x122337(0x1ed);const _0x5712d4=_0x3c8ead;return process[_0x122337(0x1f9)][_0x122337(0x27d)]&&_0x5712d4['urJKQ'](process['env'][_0x122337(0x27d)],_0x5712d4['xFldK'])?!![]:![];},exports[a88_0x172f99(0x2da)]=()=>{const _0x19f76f=a88_0x172f99,_0x42f4a2={};_0x42f4a2['UaXQd']=function(_0x1e88e8,_0xd0408e){return _0x1e88e8===_0xd0408e;},_0x42f4a2[_0x19f76f(0x2c5)]='true',_0x42f4a2[_0x19f76f(0x2a9)]=function(_0x5d797c,_0x2fa9bc){return _0x5d797c===_0x2fa9bc;};const _0x4fa300=_0x42f4a2;let _0x53311e=!![];return process[_0x19f76f(0x1f9)][_0x19f76f(0x2c7)]&&(_0x53311e=_0x4fa300[_0x19f76f(0x239)](process[_0x19f76f(0x1f9)][_0x19f76f(0x2c7)],_0x4fa300[_0x19f76f(0x2c5)])),process['env'][_0x19f76f(0x252)]&&(_0x53311e=_0x4fa300['tuCCR'](process[_0x19f76f(0x1f9)][_0x19f76f(0x252)],_0x4fa300[_0x19f76f(0x2c5)])),_0x53311e;},exports[a88_0x172f99(0x1e1)]=_0xa0a803=>{const _0x115f42=a88_0x172f99;if(bsSetupHelper['isUndefined'](_0xa0a803))return undefined;try{return _0xa0a803[_0x115f42(0x22f)]()[_0x115f42(0x256)](',');}catch(_0x5e21e0){return undefined;}},exports['printBuildLink']=()=>{const _0x2938dd=a88_0x172f99,_0x3ba52a={};_0x3ba52a['rmomg']=function(_0x4884b1,_0x126c0d){return _0x4884b1!==_0x126c0d;},_0x3ba52a[_0x2938dd(0x21f)]=_0x2938dd(0x1ed),_0x3ba52a[_0x2938dd(0x2ba)]='undefined';const _0x533338=_0x3ba52a;return PerformanceTester[_0x2938dd(0x2ab)](PerformanceO11yEvents['PRINT_BUILDLINK'],async()=>{const _0x2f9822=_0x2938dd;try{process[_0x2f9822(0x1f9)][_0x2f9822(0x1e9)]&&_0x533338[_0x2f9822(0x203)](process[_0x2f9822(0x1f9)][_0x2f9822(0x1e9)],_0x533338[_0x2f9822(0x21f)])&&_0x533338[_0x2f9822(0x203)](process[_0x2f9822(0x1f9)][_0x2f9822(0x1e9)],_0x533338[_0x2f9822(0x2ba)])&&logger[_0x2f9822(0x2aa)](_0x2f9822(0x2b4)+process[_0x2f9822(0x1f9)][_0x2f9822(0x1e9)]+_0x2f9822(0x2bc));}catch(_0x72caa8){logger[_0x2f9822(0x277)]('['+new Date()[_0x2f9822(0x1f5)]()+_0x2f9822(0x28f));}})();},exports[a88_0x172f99(0x2a3)]=_0x1b9fb0=>{const _0x384485=a88_0x172f99,_0x5ef086={};_0x5ef086[_0x384485(0x273)]='AssertionError',_0x5ef086[_0x384485(0x1f1)]=_0x384485(0x2dc);const _0x21cd1f=_0x5ef086;if(!_0x1b9fb0)return null;return _0x1b9fb0[_0x384485(0x2c2)]()['match'](/AssertionError/)?_0x21cd1f[_0x384485(0x273)]:_0x21cd1f[_0x384485(0x1f1)];},exports[a88_0x172f99(0x1f0)]=_0x54fd6d=>{const _0xef38c2=a88_0x172f99,_0xcb98c2={};_0xcb98c2['WaJXG']=_0xef38c2(0x270),_0xcb98c2[_0xef38c2(0x2d3)]=_0xef38c2(0x2b2),_0xcb98c2[_0xef38c2(0x27b)]=_0xef38c2(0x1fb),_0xcb98c2[_0xef38c2(0x2b8)]=_0xef38c2(0x1e8),_0xcb98c2['wcvOh']=_0xef38c2(0x24c);const _0x204ddf=_0xcb98c2;let _0x4da699=null;switch(_0x54fd6d){case FRAMEWORKS[_0xef38c2(0x289)]:_0x4da699=bsSetupHelper[_0xef38c2(0x25d)](_0x204ddf[_0xef38c2(0x2c6)]);break;case FRAMEWORKS[_0xef38c2(0x29e)]:_0x4da699=bsSetupHelper['getPackageVersion'](_0x204ddf[_0xef38c2(0x2d3)]);break;case FRAMEWORKS['CODECEPT']:case FRAMEWORKS[_0xef38c2(0x1f2)]:_0x4da699=bsSetupHelper[_0xef38c2(0x25d)](_0x204ddf[_0xef38c2(0x27b)]);break;case FRAMEWORKS[_0xef38c2(0x28e)]:_0x4da699=bsSetupHelper[_0xef38c2(0x25d)](_0x204ddf[_0xef38c2(0x2b8)]);break;case FRAMEWORKS[_0xef38c2(0x231)]:_0x4da699=bsSetupHelper[_0xef38c2(0x25d)](_0x204ddf['wcvOh']);break;default:break;}return _0x4da699;},exports['getBrowserStackConfig']=_0x35d1a8=>{const _0x4f337d=a88_0x172f99;let _0x112453=null;switch(_0x35d1a8){case FRAMEWORKS['PLAYWRIGHT']:_0x112453=process['env'][_0x4f337d(0x25b)];break;}if(!_0x112453)return;return bsSetupHelper[_0x4f337d(0x264)](_0x112453,![]);},exports[a88_0x172f99(0x1fc)]=_0x199680=>{const _0x5b089c=a88_0x172f99;return{'username':bsSetupHelper[_0x5b089c(0x2cf)](_0x199680),'accessKey':bsSetupHelper[_0x5b089c(0x22e)](_0x199680)};},exports[a88_0x172f99(0x2cb)]=(_0x1e16f0,_0x4d0e06)=>{const _0x3a4e52=a88_0x172f99,_0x375532={};_0x375532[_0x3a4e52(0x255)]=_0x3a4e52(0x208),_0x375532[_0x3a4e52(0x230)]=_0x3a4e52(0x279),_0x375532[_0x3a4e52(0x23e)]=_0x3a4e52(0x26e),_0x375532[_0x3a4e52(0x2b5)]=_0x3a4e52(0x2c8);const _0x4931f6=_0x375532,_0x338fd1=_0x4931f6[_0x3a4e52(0x255)][_0x3a4e52(0x256)]('|');let _0x1196c4=0x0;while(!![]){switch(_0x338fd1[_0x1196c4++]){case'0':if(!_0x1e16f0[_0x3a4e52(0x1d9)]||!Array[_0x3a4e52(0x207)](_0x1e16f0[_0x3a4e52(0x1d9)]))return;continue;case'1':if(!_0x1e16f0['body'][0x0]||!_0x1e16f0[_0x3a4e52(0x1d9)][0x0][_0x3a4e52(0x26d)]||!_0x1e16f0['body'][0x0][_0x3a4e52(0x26d)][_0x3a4e52(0x258)])return;continue;case'2':_0x1e16f0[_0x3a4e52(0x29c)]={'data':_0x1e16f0[_0x3a4e52(0x1d9)][0x0][_0x3a4e52(0x26d)][0x0][_0x3a4e52(0x297)],'test_run_uuid':_0x1e16f0[_0x3a4e52(0x1d9)][0x0][_0x3a4e52(0x26d)][0x0][_0x3a4e52(0x215)],'event_type':_0x4931f6[_0x3a4e52(0x230)],'kind':_0x4931f6['sLoCR'],'attachmentType':_0x4931f6[_0x3a4e52(0x2b5)],'timestamp':new Date()['toISOString'](),'fileName':_0x1e16f0['body'][0x0][_0x3a4e52(0x26d)][0x0][_0x3a4e52(0x214)]};continue;case'3':delete _0x1e16f0[_0x3a4e52(0x1eb)];continue;case'4':delete _0x1e16f0[_0x3a4e52(0x1d9)];continue;case'5':delete _0x4d0e06[_0x3a4e52(0x262)];continue;}break;}},exports[a88_0x172f99(0x2d8)]=async(_0x5732ad,_0x55e0e0,_0x57c92f,_0x111192,_0x63728a=!![])=>{const _0x209c5d=a88_0x172f99,_0x5d2343={};_0x5d2343[_0x209c5d(0x2d0)]=function(_0x14ac4f,_0x44b98a){return _0x14ac4f===_0x44b98a;},_0x5d2343[_0x209c5d(0x1e3)]=_0x209c5d(0x27a),_0x5d2343[_0x209c5d(0x291)]='application/json',_0x5d2343['YGIgV']=_0x209c5d(0x1ce),_0x5d2343[_0x209c5d(0x2ca)]=function(_0x4afc42,_0x2d112c){return _0x4afc42!==_0x2d112c;},_0x5d2343['DokSP']=function(_0x3ffe37,_0x1260bd){return _0x3ffe37!==_0x1260bd;},_0x5d2343[_0x209c5d(0x2dd)]=_0x209c5d(0x22d),_0x5d2343[_0x209c5d(0x242)]=_0x209c5d(0x296);const _0x5ac241=_0x5d2343,_0x5a85c5={..._0x111192,...{'method':_0x5732ad,'url':OBSERVABILITY_UPLOAD_API_URL+'/'+_0x55e0e0,'body':_0x57c92f,'json':_0x5ac241[_0x209c5d(0x2d0)](_0x111192[_0x209c5d(0x262)][_0x5ac241[_0x209c5d(0x1e3)]],_0x5ac241[_0x209c5d(0x291)]),'agent':API_URL[_0x209c5d(0x274)](_0x5ac241[_0x209c5d(0x238)])?httpsKeepAliveAgent:httpKeepAliveAgent}};_0x5ac241[_0x209c5d(0x2d0)](_0x55e0e0,UPLOAD_ATTACHMENT_ENDPOINT)&&(_0x5a85c5[_0x209c5d(0x25c)]=API_URL[_0x209c5d(0x274)](_0x5ac241[_0x209c5d(0x238)])?httpsScreenshotsKeepAliveAgent:httpScreenshotsKeepAliveAgent,exports['modifyReqForTraceUpload'](_0x5a85c5,_0x111192),logger[_0x209c5d(0x1dd)](_0x209c5d(0x295)+_0x5a85c5['url']));try{const {statusCode:_0x4bba76,body:_0x13b1d9}=await bsSetupHelper[_0x209c5d(0x206)](_0x5732ad,_0x55e0e0,_0x5a85c5,_0x111192,_0x5a85c5[_0x209c5d(0x26b)]);if(_0x5ac241[_0x209c5d(0x2ca)](_0x4bba76,0xc8))return _0x13b1d9?_0x13b1d9:'Received\x20response\x20from\x20BrowserStack\x20Server\x20with\x20status\x20:\x20'+_0x4bba76;let _0x5969fb=_0x13b1d9;if(_0x63728a)try{_0x5ac241[_0x209c5d(0x2c9)](typeof _0x13b1d9,_0x5ac241[_0x209c5d(0x2dd)])&&(_0x5969fb=JSON[_0x209c5d(0x29a)](_0x13b1d9));}catch(_0x13d098){logger['error'](_0x5ac241[_0x209c5d(0x242)],_0x13b1d9,util[_0x209c5d(0x20f)](_0x13d098));}const _0x1679a1={};return _0x1679a1[_0x209c5d(0x297)]=_0x5969fb,_0x1679a1;}catch(_0x1ecbed){logger['error'](_0x209c5d(0x1d2)+util[_0x209c5d(0x20f)](_0x1ecbed));throw _0x1ecbed;}},exports[a88_0x172f99(0x206)]=(_0x57aee4,_0x1a4989,_0x2c994c,_0x1b79c3,_0x2af28b=!![])=>{const _0x453b37=a88_0x172f99,_0x3a6c02={'KYTgZ':function(_0x34ea69,_0x381837){return _0x34ea69!==_0x381837;},'gXbLI':function(_0x180e79,_0x3ab02b){return _0x180e79(_0x3ab02b);},'qETYB':function(_0x5c4106,_0x342f4a){return _0x5c4106!==_0x342f4a;},'oEXBJ':_0x453b37(0x22d),'XtXoW':function(_0x5cfa89,_0x1c5014){return _0x5cfa89(_0x1c5014);},'IWSAu':_0x453b37(0x254),'kPNSR':function(_0x194e20,_0x2a171b){return _0x194e20===_0x2a171b;},'bmhLJ':_0x453b37(0x27a),'pNhOq':_0x453b37(0x1fd),'rvNtP':_0x453b37(0x1ce)};return new Promise((_0x33242c,_0x49720d)=>{const _0x17f51d=_0x453b37,_0x21ba32={'hExmu':function(_0x1710e3,_0x21c7f4){const _0x124adc=a88_0x5d16;return _0x3a6c02[_0x124adc(0x210)](_0x1710e3,_0x21c7f4);},'lJBEX':function(_0x42408c,_0x122c5e){const _0x52e858=a88_0x5d16;return _0x3a6c02[_0x52e858(0x1df)](_0x42408c,_0x122c5e);},'TLKQY':function(_0x1b703f,_0x40f3a3){return _0x3a6c02['qETYB'](_0x1b703f,_0x40f3a3);},'dgGZP':_0x3a6c02[_0x17f51d(0x213)],'KQVuC':function(_0x16e307,_0x32df63){return _0x3a6c02['XtXoW'](_0x16e307,_0x32df63);},'gJPCn':_0x3a6c02[_0x17f51d(0x1fe)],'SVieE':function(_0x7a8da7,_0x15f83a){const _0x585886=_0x17f51d;return _0x3a6c02[_0x585886(0x1df)](_0x7a8da7,_0x15f83a);}},_0x5a5ea0={..._0x1b79c3,...{'method':_0x57aee4,'url':API_URL+'/'+_0x1a4989,'body':_0x2c994c,'json':_0x3a6c02['kPNSR'](_0x1b79c3[_0x17f51d(0x262)][_0x3a6c02[_0x17f51d(0x276)]],_0x3a6c02['pNhOq']),'agent':API_URL[_0x17f51d(0x274)](_0x3a6c02[_0x17f51d(0x1d5)])?httpsKeepAliveAgent:httpKeepAliveAgent}};_0x3a6c02['kPNSR'](_0x1a4989,SCREENSHOT_ENDPOINT)&&(_0x5a5ea0[_0x17f51d(0x25c)]=API_URL[_0x17f51d(0x274)](_0x3a6c02[_0x17f51d(0x1d5)])?httpsScreenshotsKeepAliveAgent:httpScreenshotsKeepAliveAgent),bsSetupHelper[_0x17f51d(0x206)](_0x57aee4,_0x1a4989,_0x5a5ea0,_0x1b79c3,API_URL)['then'](({statusCode:_0x31bcb5,body:_0x20f2dc})=>{const _0x45f9ba=_0x17f51d;if(_0x21ba32['hExmu'](_0x31bcb5,0xc8))_0x21ba32[_0x45f9ba(0x1e4)](_0x49720d,_0x20f2dc?_0x20f2dc:_0x45f9ba(0x1e0)+_0x31bcb5);else{if(_0x2af28b)try{_0x21ba32[_0x45f9ba(0x204)](typeof _0x20f2dc,_0x21ba32[_0x45f9ba(0x202)])&&(_0x20f2dc=JSON[_0x45f9ba(0x29a)](_0x20f2dc));}catch(_0x157eba){_0x21ba32[_0x45f9ba(0x286)](_0x49720d,_0x21ba32[_0x45f9ba(0x2b9)]);return;}const _0x503cec={};_0x503cec['data']=_0x20f2dc,_0x21ba32[_0x45f9ba(0x1db)](_0x33242c,_0x503cec);}})[_0x17f51d(0x218)](_0x5914ba=>{const _0x557f0a=_0x17f51d;_0x5914ba&&_0x21ba32[_0x557f0a(0x1db)](_0x49720d,_0x5914ba);});});},exports[a88_0x172f99(0x1ef)]=_0x38c456=>{const _0x57dc21=a88_0x172f99;if(process[_0x57dc21(0x1f9)][_0x57dc21(0x229)])return process[_0x57dc21(0x1f9)][_0x57dc21(0x229)]['split'](',');if(_0x38c456[_0x57dc21(0x27f)])return _0x38c456[_0x57dc21(0x27f)];return[];},exports['getDefaultHeaders']=(_0x1414bc=!![])=>{const _0x1db5a4=a88_0x172f99,_0xaeb82f={};_0xaeb82f[_0x1db5a4(0x2af)]=_0x1db5a4(0x1fd),_0xaeb82f[_0x1db5a4(0x21c)]=_0x1db5a4(0x21a),_0xaeb82f['WSyrq']=_0x1db5a4(0x28a);const _0x45b171=_0xaeb82f,_0x367851={};_0x367851['Content-Type']=_0x45b171[_0x1db5a4(0x2af)],_0x367851[_0x1db5a4(0x266)]=_0x45b171[_0x1db5a4(0x21c)];const _0x4b8938=_0x367851;return _0x1414bc&&process[_0x1db5a4(0x1f9)][_0x1db5a4(0x26c)]&&(_0x4b8938[_0x45b171[_0x1db5a4(0x2b6)]]=_0x1db5a4(0x232)+process[_0x1db5a4(0x1f9)][_0x1db5a4(0x26c)]),_0x4b8938;},exports['extractValuesWithRegexKeyMatch']=_0x31031a=>{const _0x501b65=a88_0x172f99,_0x564d87={};_0x564d87['eastc']=_0x501b65(0x285);const _0x4c8aba=_0x564d87,_0x1d7d3c=[],_0x5ab960=new RegExp(_0x4c8aba[_0x501b65(0x220)],'i');return Object[_0x501b65(0x1d1)](_0x31031a)[_0x501b65(0x294)](_0x502d50=>_0x5ab960['test'](_0x502d50))[_0x501b65(0x1f7)](_0x127734=>_0x1d7d3c['push'](_0x31031a[_0x127734])),_0x1d7d3c;},exports[a88_0x172f99(0x2ad)]=_0x104597=>{const _0x1a7122=a88_0x172f99,_0x586c73=[],_0x161a24=_0x104597[_0x1a7122(0x2a4)]||process[_0x1a7122(0x1f9)][_0x1a7122(0x2a7)];return _0x161a24&&_0x586c73[_0x1a7122(0x2bf)](_0x161a24),_0x586c73['push'](...exports[_0x1a7122(0x251)](process['env'])),_0x586c73['push'](...exports[_0x1a7122(0x251)](_0x104597)),_0x586c73;},exports[a88_0x172f99(0x23c)]=_0x47da15=>{const _0x58a6c9=a88_0x172f99;if(!_0x47da15)return'';return _0x47da15[_0x58a6c9(0x22c)](/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,'');},exports[a88_0x172f99(0x1d0)]=(_0x3ca35b=0x64)=>new Promise(_0x529e72=>setTimeout(_0x529e72,_0x3ca35b));const getPlatformName=()=>{const _0x5ea613=a88_0x172f99,_0x32db52={};_0x32db52['kHbac']=function(_0x3a2eac,_0x1ceb50){return _0x3a2eac===_0x1ceb50;},_0x32db52[_0x5ea613(0x1d7)]=_0x5ea613(0x269),_0x32db52[_0x5ea613(0x2a8)]='Windows',_0x32db52['mJGxC']=_0x5ea613(0x281),_0x32db52[_0x5ea613(0x1ee)]='OS\x20X',_0x32db52[_0x5ea613(0x272)]=_0x5ea613(0x1d4),_0x32db52[_0x5ea613(0x22a)]=_0x5ea613(0x1d3),_0x32db52['fXIFA']=_0x5ea613(0x2cc);const _0x4fd94a=_0x32db52;if(_0x4fd94a[_0x5ea613(0x24f)](process[_0x5ea613(0x1e7)],_0x4fd94a[_0x5ea613(0x1d7)]))return _0x4fd94a[_0x5ea613(0x2a8)];if(_0x4fd94a[_0x5ea613(0x24f)](process[_0x5ea613(0x1e7)],_0x4fd94a[_0x5ea613(0x265)]))return _0x4fd94a[_0x5ea613(0x1ee)];if(_0x4fd94a[_0x5ea613(0x24f)](process['platform'],_0x4fd94a[_0x5ea613(0x272)]))return _0x4fd94a['PVJuF'];return _0x4fd94a[_0x5ea613(0x2d5)];},getMacOSVersion=()=>{const _0x88d174=a88_0x172f99,_0x5f2e8a={};_0x5f2e8a[_0x88d174(0x2a5)]=_0x88d174(0x209);const _0x2acb41=_0x5f2e8a;return child_process[_0x88d174(0x244)](_0x2acb41[_0x88d174(0x2a5)])[_0x88d174(0x2c2)]()[_0x88d174(0x22f)]();},getLinuxDetails=()=>{const _0x514114={'BoMgo':function(_0x631300,_0x1af4d1){return _0x631300(_0x1af4d1);},'jMNTG':function(_0x3c87df,_0x3dadfe){return _0x3c87df(_0x3dadfe);}};return new Promise((_0x2855aa,_0x2a53bb)=>{const _0x4ab031=a88_0x5d16,_0x1f5db3={'dqxJO':function(_0x20736c,_0x202ff8){const _0x2bc8ae=a88_0x5d16;return _0x514114[_0x2bc8ae(0x2a2)](_0x20736c,_0x202ff8);}};_0x514114[_0x4ab031(0x1f8)](getos,(_0x472390,_0x57c88e)=>{const _0x59ff9c=_0x4ab031;if(_0x472390)return _0x1f5db3[_0x59ff9c(0x26f)](_0x2a53bb,_0x472390);_0x1f5db3[_0x59ff9c(0x26f)](_0x2855aa,_0x57c88e);});});};exports[a88_0x172f99(0x24a)]=async()=>{const _0x22a08d=a88_0x172f99,_0x533e45={'FxCIh':function(_0x250ab5){return _0x250ab5();},'WSggM':'OS\x20X','Bglsm':function(_0x222428){return _0x222428();},'vFzBW':_0x22a08d(0x260),'nJJtB':_0x22a08d(0x20a),'xMifB':function(_0x322ebe){return _0x322ebe();},'BdEZU':'Linux','zkxoh':function(_0x2c8ad3){return _0x2c8ad3();},'ESgfV':_0x22a08d(0x1cf)};let _0x2c2c98=_0x533e45[_0x22a08d(0x261)](getPlatformName),_0x119743=os[_0x22a08d(0x282)]()[_0x22a08d(0x2c2)]();switch(_0x2c2c98){case _0x533e45[_0x22a08d(0x2c0)]:_0x119743=_0x533e45[_0x22a08d(0x259)](getMacOSVersion);break;case _0x533e45[_0x22a08d(0x25a)]:try{const _0x55e13d=(await import(_0x533e45[_0x22a08d(0x211)]))[_0x22a08d(0x2bd)];_0x119743=_0x533e45[_0x22a08d(0x249)](_0x55e13d);}catch(_0x247c98){exports[_0x22a08d(0x1dd)](_0x22a08d(0x2cd)+_0x247c98[_0x22a08d(0x2c2)]());}break;case _0x533e45[_0x22a08d(0x227)]:try{const _0x38ac70=await _0x533e45['zkxoh'](getLinuxDetails);_0x38ac70[_0x22a08d(0x212)]&&(_0x2c2c98=_0x38ac70['dist']),_0x38ac70[_0x22a08d(0x282)]&&(_0x119743=_0x38ac70[_0x22a08d(0x282)]['toString']());}catch(_0x40f04b){exports[_0x22a08d(0x1dd)](_0x533e45[_0x22a08d(0x2d2)]);}break;default:break;}const _0x4993ee={};return _0x4993ee[_0x22a08d(0x240)]=_0x2c2c98,_0x4993ee[_0x22a08d(0x221)]=_0x119743,_0x4993ee;},exports['failureData']=(_0x26d2f4,_0x2862ef)=>{const _0x27e185=a88_0x172f99,_0x473359={};_0x473359[_0x27e185(0x2d7)]=function(_0x5887c3,_0x1ce7b0){return _0x5887c3===_0x1ce7b0;},_0x473359[_0x27e185(0x24d)]='test',_0x473359[_0x27e185(0x23a)]='err';const _0x182885=_0x473359;if(!_0x26d2f4)return[];try{if(_0x182885[_0x27e185(0x2d7)](_0x2862ef,_0x182885[_0x27e185(0x24d)]))return _0x26d2f4[_0x27e185(0x233)](_0x39d5fb=>{const _0x90ac99=_0x27e185,{stack:_0x189c42,..._0x3546f7}=_0x39d5fb,_0x5d77c1=Object[_0x90ac99(0x1d1)](_0x3546f7)[_0x90ac99(0x233)](_0x5de63f=>{return _0x5de63f+':\x20'+_0x3546f7[_0x5de63f];}),_0x46fb59=_0x189c42?exports['removeAnsiColors'](_0x189c42)[_0x90ac99(0x256)](/\r?\n/):[exports[_0x90ac99(0x23c)](_0x39d5fb[_0x90ac99(0x235)])],_0x65b9da={};return _0x65b9da['backtrace']=_0x46fb59,_0x65b9da['expanded']=_0x5d77c1,_0x65b9da;});else{if(_0x182885[_0x27e185(0x2d7)](_0x2862ef,_0x182885[_0x27e185(0x23a)])){const _0x50a07f=[],_0x26ea5e=[];return Object[_0x27e185(0x1d1)](_0x26d2f4)['forEach'](_0x2f3a9d=>{const _0x33f87c=_0x27e185;try{_0x26ea5e[_0x33f87c(0x2bf)](_0x2f3a9d+':\x20'+_0x26d2f4[_0x2f3a9d]);}catch(_0x338c8c){exports[_0x33f87c(0x1dd)](_0x33f87c(0x283)+_0x338c8c['message']+'\x20:\x20'+_0x338c8c['backtrace']);}}),_0x50a07f[_0x27e185(0x2bf)]({'backtrace':exports[_0x27e185(0x23c)](_0x26d2f4[_0x27e185(0x28b)])[_0x27e185(0x256)](/\r?\n/),'expanded':_0x26ea5e}),_0x50a07f;}}return[];}catch(_0x14966a){exports[_0x27e185(0x1dd)]('Exception\x20in\x20populating\x20test\x20failure\x20data\x20with\x20error\x20:\x20'+_0x14966a[_0x27e185(0x235)]+_0x27e185(0x275)+_0x14966a['backtrace']);}return[];};class PathHelper{constructor(_0x43a71d,_0x5d2a11){const _0x46ba41=a88_0x172f99;this[_0x46ba41(0x228)]=_0x43a71d,this[_0x46ba41(0x2bb)]=_0x5d2a11;}[a88_0x172f99(0x1d8)](_0x44f660){const _0x4de105=a88_0x172f99,_0x4047cc=this[_0x4de105(0x228)]['cwd']||this[_0x4de105(0x228)]['rootDir'];return path[_0x4de105(0x2a6)](_0x4047cc,_0x44f660);}[a88_0x172f99(0x26a)](_0xe6563){const _0x2e44a7=a88_0x172f99,_0x4d6064=this[_0x2e44a7(0x1d8)](_0xe6563);return this[_0x2e44a7(0x2bb)]?path[_0x2e44a7(0x2c1)](this['prefix'],_0x4d6064):_0x4d6064;}}exports[a88_0x172f99(0x288)]=PathHelper,exports['addRequestSpy']=(_0x423c2d=!![])=>{const _0x12bdf2=a88_0x172f99,_0x4c0b94={};_0x4c0b94['zvyhv']=function(_0x5471c1,_0x27625a){return _0x5471c1===_0x27625a;},_0x4c0b94[_0x12bdf2(0x24e)]=_0x12bdf2(0x266),_0x4c0b94['piUpW']=_0x12bdf2(0x21a),_0x4c0b94['njlKE']=_0x12bdf2(0x287),_0x4c0b94[_0x12bdf2(0x27c)]=_0x12bdf2(0x226),_0x4c0b94[_0x12bdf2(0x21b)]=_0x12bdf2(0x2db);const _0x4da839=_0x4c0b94;requestSpy[_0x12bdf2(0x29b)]((_0x2eb4fc,_0x5d90e3)=>{const _0x3532a9=_0x12bdf2;_0x5d90e3&&!(_0x5d90e3[_0x3532a9(0x262)]&&_0x4da839[_0x3532a9(0x219)](_0x5d90e3[_0x3532a9(0x262)][_0x4da839[_0x3532a9(0x24e)]],_0x4da839['piUpW']))&&(_0x5d90e3[_0x3532a9(0x1f4)]=_0x5d90e3[_0x3532a9(0x216)],delete _0x5d90e3['hostname'],_0x423c2d&&process[_0x3532a9(0x2ac)](_0x3532a9(0x1fa)+process['pid'],{'timestamp':new Date()[_0x3532a9(0x1f5)](),'level':null,'message':null,'kind':_0x4da839[_0x3532a9(0x246)],'http_response':_0x5d90e3})),_0x5d90e3&&(constants['HUB_URL_REGEX'][_0x3532a9(0x253)](_0x5d90e3[_0x3532a9(0x1f4)])||constants[_0x3532a9(0x24b)][_0x3532a9(0x253)](_0x5d90e3['host']))?global[_0x3532a9(0x245)]=_0x4da839['kTKGk']:global[_0x3532a9(0x245)]=_0x4da839[_0x3532a9(0x21b)];});},exports[a88_0x172f99(0x248)]=()=>{const _0x5d31dd=a88_0x172f99,_0x5a239b={'wrJjs':function(_0x47ab5e,_0xb659ce){return _0x47ab5e(_0xb659ce);}};console={},Object[_0x5d31dd(0x1d1)](consoleHolder)[_0x5d31dd(0x1f7)](_0x53bd77=>{const _0x268be6=_0x5d31dd;_0x5a239b[_0x268be6(0x2d9)](isFunction,consoleHolder[_0x53bd77])?console[_0x53bd77]=(..._0x3bcdc0)=>{const _0x50f1e2=_0x268be6;try{!Object['keys'](BSTestOpsPatcher)[_0x50f1e2(0x274)](_0x53bd77)?consoleHolder[_0x53bd77](..._0x3bcdc0):BSTestOpsPatcher[_0x53bd77](..._0x3bcdc0);}catch(_0x45999b){consoleHolder[_0x53bd77](..._0x3bcdc0);}}:console[_0x53bd77]=consoleHolder[_0x53bd77];});},exports['getSyncScript']=()=>a88_0x172f99(0x225)+JSON[a88_0x172f99(0x21d)]({'action':a88_0x172f99(0x22b),'arguments':{'data':a88_0x172f99(0x21e)+Date[a88_0x172f99(0x2c4)](),'level':a88_0x172f99(0x1dd)}}),exports['getObservabilityLinkedProductName']=_0x4332eb=>{const _0x523ca0=a88_0x172f99,_0x4fafb0={};_0x4fafb0['bMCzm']=function(_0x3d160b,_0x23779c){return _0x3d160b===_0x23779c;},_0x4fafb0[_0x523ca0(0x234)]=_0x523ca0(0x226),_0x4fafb0[_0x523ca0(0x1da)]='appium:app',_0x4fafb0[_0x523ca0(0x2ae)]=_0x523ca0(0x247),_0x4fafb0['iFSTw']=function(_0x31925c,_0x3744c5){return _0x31925c>_0x3744c5;},_0x4fafb0[_0x523ca0(0x25f)]='app-automate',_0x4fafb0[_0x523ca0(0x1ec)]=_0x523ca0(0x1ff),_0x4fafb0[_0x523ca0(0x237)]='turboScaleGridDetails',_0x4fafb0[_0x523ca0(0x2c3)]='turboscale',_0x4fafb0['Fzayz']=_0x523ca0(0x250);const _0x3f5773=_0x4fafb0;let _0x244c37=null;try{if(_0x3f5773[_0x523ca0(0x1d6)](global[_0x523ca0(0x245)],_0x3f5773[_0x523ca0(0x234)])){if(_0x4332eb[_0x3f5773[_0x523ca0(0x1da)]]||_0x4332eb[_0x3f5773[_0x523ca0(0x2ae)]]||!bsSetupHelper['isUndefined'](global[_0x523ca0(0x224)])&&_0x3f5773[_0x523ca0(0x1ea)](global[_0x523ca0(0x224)][_0x523ca0(0x258)],0x0)&&(global['capabilities'][0x0][_0x3f5773[_0x523ca0(0x2ae)]]||global[_0x523ca0(0x224)][0x0][_0x3f5773[_0x523ca0(0x1da)]]))_0x244c37=_0x3f5773['VBUtV'];else _0x4332eb[_0x3f5773['azjmW']]&&_0x4332eb[_0x3f5773[_0x523ca0(0x1ec)]][_0x3f5773[_0x523ca0(0x237)]]?_0x244c37=_0x3f5773['WwGqb']:_0x244c37=_0x3f5773[_0x523ca0(0x223)];}}catch(_0xd71a04){exports[_0x523ca0(0x1dd)](_0x523ca0(0x23d)+_0xd71a04);}return _0x244c37;},exports[a88_0x172f99(0x2a0)]=async(_0xde2b7e,_0x1b5349,_0x5f5d0b=![])=>{const _0x21ed15=a88_0x172f99,_0x38345a={};_0x38345a['rOcmb']=function(_0x37a65e,_0x1b6242){return _0x37a65e===_0x1b6242;},_0x38345a['nLdGl']=_0x21ed15(0x226),_0x38345a[_0x21ed15(0x200)]=_0x21ed15(0x1cc),_0x38345a['ekjXl']=_0x21ed15(0x28d);const _0x2cb791=_0x38345a;try{const _0x4234c9=await _0xde2b7e[_0x21ed15(0x290)](),_0x541794=await _0xde2b7e['getSession'](),_0x5b5a42={},_0x1cac3d=Object[_0x21ed15(0x1e2)](_0x541794[_0x21ed15(0x290)]()[_0x21ed15(0x2b3)]),_0x5f391d={'product':exports[_0x21ed15(0x271)](_0x1cac3d),'capabilities':_0x1cac3d,'platform':_0x4234c9[_0x21ed15(0x29d)](),'platform_version':bsSetupHelper['getPlatformVersion'](_0x2cb791[_0x21ed15(0x298)](global[_0x21ed15(0x245)],_0x2cb791[_0x21ed15(0x280)])),'browser':_0x4234c9[_0x21ed15(0x241)](),'browser_version':_0x4234c9[_0x21ed15(0x1cd)](),'session_id':_0x541794[_0x21ed15(0x1de)]()};global['__cloud_provider___']?_0x5b5a42[global[_0x21ed15(0x245)]]=_0x5f391d:_0x5b5a42[_0x2cb791[_0x21ed15(0x200)]]=_0x5f391d;if(_0x5f5d0b)return _0x5b5a42;process[_0x21ed15(0x2ac)]('bs:addPlatformDetails:'+process[_0x21ed15(0x257)],{'timestamp':new Date()[_0x21ed15(0x1f5)](),'level':null,'message':null,'kind':_0x2cb791[_0x21ed15(0x243)],'http_response':_0x5b5a42,'uuid':_0x1b5349});}catch(_0xc1b9b3){exports['debug'](_0x21ed15(0x23f)+_0xc1b9b3);}},exports[a88_0x172f99(0x205)]=_0x2c5214=>{const _0x3fb278=a88_0x172f99;return _0x2c5214&&_0x2c5214[_0x3fb278(0x2c2)]()['match'](/browserstack internal helper hook/);};
|
|
1
|
+
const a88_0x16a540=a88_0x2eca;function a88_0x2eca(_0x465670,_0x14d640){const _0x379445=a88_0x3794();return a88_0x2eca=function(_0x2eca90,_0x28a29a){_0x2eca90=_0x2eca90-0x101;let _0x172422=_0x379445[_0x2eca90];return _0x172422;},a88_0x2eca(_0x465670,_0x14d640);}(function(_0x51d119,_0x4318e9){const _0x1727e8=a88_0x2eca,_0x39d44e=_0x51d119();while(!![]){try{const _0x554922=-parseInt(_0x1727e8(0x186))/0x1*(-parseInt(_0x1727e8(0x19f))/0x2)+parseInt(_0x1727e8(0x145))/0x3+parseInt(_0x1727e8(0x15c))/0x4*(parseInt(_0x1727e8(0x1f2))/0x5)+-parseInt(_0x1727e8(0x202))/0x6*(-parseInt(_0x1727e8(0x127))/0x7)+-parseInt(_0x1727e8(0x104))/0x8*(parseInt(_0x1727e8(0x130))/0x9)+-parseInt(_0x1727e8(0x193))/0xa*(parseInt(_0x1727e8(0x1b0))/0xb)+-parseInt(_0x1727e8(0x151))/0xc*(-parseInt(_0x1727e8(0x1a3))/0xd);if(_0x554922===_0x4318e9)break;else _0x39d44e['push'](_0x39d44e['shift']());}catch(_0x5cdfb9){_0x39d44e['push'](_0x39d44e['shift']());}}}(a88_0x3794,0xec3a9));const fs=require('fs'),path=require(a88_0x16a540(0x12d)),gitLastCommit=require(a88_0x16a540(0x11c)),getRepoInfo=require(a88_0x16a540(0x10d)),{consoleHolder,API_URL,SCREENSHOT_ENDPOINT,UPLOAD_ATTACHMENT_ENDPOINT,FRAMEWORKS,OBSERVABILITY_UPLOAD_API_URL}=require('./constants'),http=require(a88_0x16a540(0x142)),https=require(a88_0x16a540(0x1be)),child_process=require(a88_0x16a540(0x1e5)),getos=require('getos'),os=require('os'),logger=require(a88_0x16a540(0x18d))[a88_0x16a540(0x1a9)],bsSetupHelper=require(a88_0x16a540(0x208)),requestSpy=require(a88_0x16a540(0x1e2)),constants=require(a88_0x16a540(0x132)),logPatcher=require(a88_0x16a540(0x114)),util=require(a88_0x16a540(0x1eb)),{fileLogger}=require(a88_0x16a540(0x18d)),PerformanceTester=require(a88_0x16a540(0x14c)),{isFunction}=require('lodash'),BSTestOpsPatcher=new logPatcher({}),{O11y_EVENTS:PerformanceO11yEvents}=require('../performance/constants');exports['trace']=_0xec069a=>{const _0x11e4af=a88_0x16a540;fileLogger[_0x11e4af(0x136)]('['+new Date()[_0x11e4af(0x118)]()+'][\x20OBSERVABILITY\x20]\x20'+_0xec069a);},exports[a88_0x16a540(0x1c7)]=_0x41763c=>{const _0x53e23a=a88_0x16a540,_0x4383d2={};_0x4383d2[_0x53e23a(0x1ae)]=function(_0x272be5,_0x92506d){return _0x272be5===_0x92506d;},_0x4383d2[_0x53e23a(0x13f)]='true';const _0x2c40d9=_0x4383d2;fileLogger[_0x53e23a(0x1c7)]('['+new Date()[_0x53e23a(0x118)]()+'][\x20OBSERVABILITY\x20]\x20'+_0x41763c),(_0x2c40d9[_0x53e23a(0x1ae)](process[_0x53e23a(0x163)][_0x53e23a(0x195)],_0x2c40d9[_0x53e23a(0x13f)])||_0x2c40d9[_0x53e23a(0x1ae)](process[_0x53e23a(0x163)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder['log']('\x0a['+new Date()[_0x53e23a(0x118)]()+_0x53e23a(0x1fe)+_0x41763c+'\x0a');};const a88_0x44667f={};a88_0x44667f[a88_0x16a540(0x15e)]=!![],a88_0x44667f[a88_0x16a540(0x1ed)]=0xea60,a88_0x44667f[a88_0x16a540(0x1ce)]=0x2,a88_0x44667f[a88_0x16a540(0x1ee)]=0x2;const httpKeepAliveAgent=new http[(a88_0x16a540(0x1b2))](a88_0x44667f),a88_0xdefac2={};a88_0xdefac2['keepAlive']=!![],a88_0xdefac2[a88_0x16a540(0x1ed)]=0xea60,a88_0xdefac2[a88_0x16a540(0x1ce)]=0x2,a88_0xdefac2[a88_0x16a540(0x1ee)]=0x2;const httpsKeepAliveAgent=new https['Agent'](a88_0xdefac2),a88_0xf0afef={};a88_0xf0afef[a88_0x16a540(0x15e)]=!![],a88_0xf0afef[a88_0x16a540(0x1ed)]=0xea60,a88_0xf0afef[a88_0x16a540(0x1ce)]=0x2,a88_0xf0afef[a88_0x16a540(0x1ee)]=0x2;function a88_0x3794(){const _0x11cbf9=['X-BSTACK-TESTOPS','test_run_uuid','patchConsoleLogger','4373084EpsCbj','NFBpF','keepAlive','windows-release','aOofb','TEST_PLATFORM','sOvvj','env','Content-Type','CUCUMBER','__cloud_provider___','vdHUE','CUSTOM_TAG','AyFDN','GYRvk','hqUwi','vcAGy','info','automate','jest','Error\x20in\x20importing\x20windows-release\x20','tUqkN','ThnBU','XdAAe','MXqGg','cehAk','annotate','prefixTestPath','mocha','nrsjW','getUserCredentials','shouldReRunObservabilityTests','HUB_URL_REGEX','isTestObservabilitySession','@cucumber/cucumber','map_','app','modifyReqForTraceUpload','url','Not\x20a\x20JSON\x20response\x20from\x20BrowserStack\x20Server','lqZKk','Windows','7pVcjap','NoJuX','win32','measureWrapper','Unknown','getPackageVersion','eLzzW','../logger','platform','\x20to\x20view\x20build\x20report,\x20insights,\x20and\x20many\x20more\x20debugging\x20information\x20all\x20at\x20one\x20place!\x0a','BROWSERSTACK_TEST_OBSERVABILITY_YML','MOCHA','PWhxO','10dzztww','][\x20OBSERVABILITY\x20]\x20Build\x20Not\x20Found','BROWSERSTACK_OBSERVABILITY_DEBUG','fileName','browserstack_executor:\x20','BROWSERSTACK_TESTHUB_JWT','application/json','backtrace','HhFdB','tOrrO','BS_TESTOPS_BUILD_HASHED_ID','CODECEPT','398812qaQBdM','appium:app','gLCmA','format','910754AYHzSm','pid','rqQyO','Exception\x20in\x20populating\x20test\x20failure\x20data\x20with\x20error\x20:\x20','EopBK','hostname','winstonLogger','VJwRj','then','customTag','getCapabilities','JGYHZ','ZJfer','20196902mqWzVb','Error\x20in\x20getting\x20Linux\x20Details','Agent','zSyuZ','failureData','headers','getCustomTags','JeqRB','ZVfMm','turboScaleGridDetails','Bearer\x20','cwd','ATS_HUB_URL_REGEX','body','https','isUndefined','emit','forEach','Stpym','ObservabilitySync:','getBuildTags','yYdfe','prefix','debug','getPlatformDetails','toString','Visit\x20https://observability.browserstack.com/builds/','getSyncScript','osguu','^CUSTOM_TAG_\x5cd+$','maxSockets','readConfig','TEST_ATTACHMENT','fromEntries','tpwNg','platformName','KczmG','rxiYk','dist','fVJFX','getFrameworkVersion','PathHelper','join','getUserName','BROWSERSTACK_RERUN_TESTS','split','junLs','jbzNA','err','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/request-spy','OAnpR','@playwright/test','child_process','push','UnhandledError','qFguB','getBrowserVersion','getDefaultHeaders','util','wkDbC','timeout','maxTotalSockets','pbjSt','JQAgH','KSQmg','5JBrUOS','xsjJo','test','QfuTe','parse','LcwPY','Failed\x20to\x20determine\x20product\x20linked\x20to\x20Observability\x20test\x20instance\x20:\x20','mczxE','capabilities','bkNJu','DiXTp','JEST','][\x20OBSERVABILITY\x20]\x20','data','codeceptjs','NzvPc','9529188TNpZAN','vEBWr','default','filter','Received\x20response\x20from\x20BrowserStack\x20Server\x20with\x20status\x20:\x20','replace','../helper','PRINT_BUILDLINK','getObservabilityLinkedProductName','MkfCs','getBrowserName','object','JkJXt','release','280yXTbyT','bs:addPlatformDetails:','includes','darwin','jzdYC','PErgZ','BROWSERSTACK_CONFIG_FILE_PATH','browserstack','SxLya','git-repo-info','UsvpI','undefined','Linux','getPlatform','PLAYWRIGHT','trim','../../bin/utils/logPatcher','CJypX','length','CODECEPT_CUCUMBER','toISOString','XbuqN','mVVbr','OS\x20X','git-last-commit','uCuOD','removeAnsiColors','agent','nodeRequest','true','Not\x20a\x20JSON\x20response\x20from\x20BrowserStack\x20Server\x20-\x20body:\x20%s,\x20error:\x20%s','extractValuesWithRegexKeyMatch','getBrowserStackConfig','app-automate','buildTag','7AXzvMg','isArray','stack','map','ItkXQ','PUlwh','path','logs','catch','427059dRblAD','platformVersion','../../bin/utils/constants','TuLWV','host','AzjLM','silly','sLswS','TEST_OBSERVABILITY_BUILD_TAG','JwNAv','error','xYgYg','xWwly','lcthG','wEFXq','aCqyk','bs:addLog:','stringify','http','LogCreated','cMsYR','741099hsnGVa','VvuQT','hPmRY','execSync','VPGmh','isInternalHook','keys','../performance/performance-tester','uqyaM','xtWxO','FsSLY','message','24MkEvri','ZUcip','sendPlatformDetails','config','\x20:\x20','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','match','PLAYWRIGHT_TRACE_LOGS'];a88_0x3794=function(){return _0x11cbf9;};return a88_0x3794();}const httpScreenshotsKeepAliveAgent=new http[(a88_0x16a540(0x1b2))](a88_0xf0afef),a88_0xd73c7f={};a88_0xd73c7f['keepAlive']=!![],a88_0xd73c7f[a88_0x16a540(0x1ed)]=0xea60,a88_0xd73c7f['maxSockets']=0x2,a88_0xd73c7f[a88_0x16a540(0x1ee)]=0x2;const httpsScreenshotsKeepAliveAgent=new https['Agent'](a88_0xd73c7f);exports[a88_0x16a540(0x17b)]=()=>{const _0x387d7e=a88_0x16a540,_0x51c74b={};_0x51c74b['XdAAe']=function(_0x3cc4aa,_0x5dcf6c){return _0x3cc4aa!==_0x5dcf6c;},_0x51c74b[_0x387d7e(0x1d5)]='null';const _0x549bb2=_0x51c74b;return process['env']['BROWSERSTACK_RERUN_TESTS']&&_0x549bb2[_0x387d7e(0x173)](process[_0x387d7e(0x163)][_0x387d7e(0x1dc)],_0x549bb2[_0x387d7e(0x1d5)])?!![]:![];},exports[a88_0x16a540(0x17d)]=()=>{const _0x4bec1a=a88_0x16a540,_0x2e3b9c={};_0x2e3b9c['NzvPc']=function(_0x1e1a67,_0x56320d){return _0x1e1a67===_0x56320d;},_0x2e3b9c['LcwPY']='true',_0x2e3b9c[_0x4bec1a(0x13d)]=function(_0x46e1ed,_0x188faa){return _0x46e1ed===_0x188faa;};const _0x10928b=_0x2e3b9c;let _0x4726c4=!![];return process[_0x4bec1a(0x163)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']&&(_0x4726c4=_0x10928b[_0x4bec1a(0x201)](process[_0x4bec1a(0x163)][_0x4bec1a(0x190)],_0x10928b[_0x4bec1a(0x1f7)])),process[_0x4bec1a(0x163)][_0x4bec1a(0x1e1)]&&(_0x4726c4=_0x10928b[_0x4bec1a(0x13d)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'],_0x10928b[_0x4bec1a(0x1f7)])),_0x4726c4;},exports['parseFileNames']=_0xca2a21=>{const _0x12a681=a88_0x16a540;if(bsSetupHelper[_0x12a681(0x1bf)](_0xca2a21))return undefined;try{return _0xca2a21[_0x12a681(0x113)]()[_0x12a681(0x1dd)](',');}catch(_0x5524a4){return undefined;}},exports['printBuildLink']=()=>{const _0x1d98a6=a88_0x16a540,_0x2e1025={};_0x2e1025[_0x1d98a6(0x11a)]=function(_0x2c51f7,_0x3434c3){return _0x2c51f7!==_0x3434c3;},_0x2e1025[_0x1d98a6(0x184)]='null',_0x2e1025[_0x1d98a6(0x1f3)]=function(_0x4cd897,_0x39584d){return _0x4cd897!==_0x39584d;},_0x2e1025[_0x1d98a6(0x1b7)]=_0x1d98a6(0x10f);const _0x55bf07=_0x2e1025;return PerformanceTester[_0x1d98a6(0x189)](PerformanceO11yEvents[_0x1d98a6(0x209)],async()=>{const _0x26af3c=_0x1d98a6;try{process[_0x26af3c(0x163)]['BS_TESTOPS_BUILD_HASHED_ID']&&_0x55bf07[_0x26af3c(0x11a)](process[_0x26af3c(0x163)]['BS_TESTOPS_BUILD_HASHED_ID'],_0x55bf07['lqZKk'])&&_0x55bf07[_0x26af3c(0x1f3)](process[_0x26af3c(0x163)][_0x26af3c(0x19d)],_0x55bf07[_0x26af3c(0x1b7)])&&logger[_0x26af3c(0x16d)](_0x26af3c(0x1ca)+process[_0x26af3c(0x163)][_0x26af3c(0x19d)]+_0x26af3c(0x18f));}catch(_0x416aae){logger['error']('['+new Date()[_0x26af3c(0x118)]()+_0x26af3c(0x194));}})();},exports['getFailureType']=_0x150009=>{const _0x4afa7d=a88_0x16a540,_0x2c49c4={};_0x2c49c4[_0x4afa7d(0x13c)]='AssertionError',_0x2c49c4[_0x4afa7d(0x1a7)]=_0x4afa7d(0x1e7);const _0x3cd25f=_0x2c49c4;if(!_0x150009)return null;return _0x150009['toString']()['match'](/AssertionError/)?_0x3cd25f[_0x4afa7d(0x13c)]:_0x3cd25f[_0x4afa7d(0x1a7)];},exports[a88_0x16a540(0x1d8)]=_0x3d448d=>{const _0x36a417=a88_0x16a540,_0x30819f={};_0x30819f[_0x36a417(0x1d7)]=_0x36a417(0x178),_0x30819f[_0x36a417(0x16b)]=_0x36a417(0x1e4),_0x30819f[_0x36a417(0x171)]=_0x36a417(0x200),_0x30819f[_0x36a417(0x13b)]=_0x36a417(0x16f),_0x30819f[_0x36a417(0x14d)]=_0x36a417(0x17e);const _0x471655=_0x30819f;let _0x4e6d7b=null;switch(_0x3d448d){case FRAMEWORKS[_0x36a417(0x191)]:_0x4e6d7b=bsSetupHelper['getPackageVersion'](_0x471655[_0x36a417(0x1d7)]);break;case FRAMEWORKS[_0x36a417(0x112)]:_0x4e6d7b=bsSetupHelper[_0x36a417(0x18b)](_0x471655['hqUwi']);break;case FRAMEWORKS[_0x36a417(0x19e)]:case FRAMEWORKS[_0x36a417(0x117)]:_0x4e6d7b=bsSetupHelper['getPackageVersion'](_0x471655['tUqkN']);break;case FRAMEWORKS[_0x36a417(0x1fd)]:_0x4e6d7b=bsSetupHelper[_0x36a417(0x18b)](_0x471655[_0x36a417(0x13b)]);break;case FRAMEWORKS[_0x36a417(0x165)]:_0x4e6d7b=bsSetupHelper[_0x36a417(0x18b)](_0x471655['uqyaM']);break;default:break;}return _0x4e6d7b;},exports[a88_0x16a540(0x124)]=_0x235f4a=>{const _0x5b5b11=a88_0x16a540;let _0x58dcd3=null;switch(_0x235f4a){case FRAMEWORKS[_0x5b5b11(0x112)]:_0x58dcd3=process[_0x5b5b11(0x163)][_0x5b5b11(0x10a)];break;}if(!_0x58dcd3)return;return bsSetupHelper[_0x5b5b11(0x1cf)](_0x58dcd3,![]);},exports[a88_0x16a540(0x17a)]=_0x34a948=>{const _0x281afc=a88_0x16a540;return{'username':bsSetupHelper[_0x281afc(0x1db)](_0x34a948),'accessKey':bsSetupHelper['getAccessKey'](_0x34a948)};},exports[a88_0x16a540(0x181)]=(_0x311792,_0xe8bcb2)=>{const _0x16dc5b=a88_0x16a540,_0x5b1396={};_0x5b1396[_0x16dc5b(0x12c)]='0|5|2|1|4|3',_0x5b1396[_0x16dc5b(0x133)]=_0x16dc5b(0x143),_0x5b1396[_0x16dc5b(0x1aa)]=_0x16dc5b(0x1d0),_0x5b1396[_0x16dc5b(0x13e)]=_0x16dc5b(0x158);const _0x3c1e0e=_0x5b1396,_0x39c4db=_0x3c1e0e[_0x16dc5b(0x12c)]['split']('|');let _0x40f560=0x0;while(!![]){switch(_0x39c4db[_0x40f560++]){case'0':if(!_0x311792[_0x16dc5b(0x1bd)]||!Array[_0x16dc5b(0x128)](_0x311792[_0x16dc5b(0x1bd)]))return;continue;case'1':delete _0x311792[_0x16dc5b(0x1bd)];continue;case'2':_0x311792['formData']={'data':_0x311792[_0x16dc5b(0x1bd)][0x0][_0x16dc5b(0x12e)][0x0]['data'],'test_run_uuid':_0x311792['body'][0x0][_0x16dc5b(0x12e)][0x0][_0x16dc5b(0x15a)],'event_type':_0x3c1e0e[_0x16dc5b(0x133)],'kind':_0x3c1e0e[_0x16dc5b(0x1aa)],'attachmentType':_0x3c1e0e[_0x16dc5b(0x13e)],'timestamp':new Date()[_0x16dc5b(0x118)](),'fileName':_0x311792['body'][0x0][_0x16dc5b(0x12e)][0x0][_0x16dc5b(0x196)]};continue;case'3':delete _0xe8bcb2[_0x16dc5b(0x1b5)];continue;case'4':delete _0x311792['json'];continue;case'5':if(!_0x311792['body'][0x0]||!_0x311792[_0x16dc5b(0x1bd)][0x0]['logs']||!_0x311792[_0x16dc5b(0x1bd)][0x0][_0x16dc5b(0x12e)]['length'])return;continue;}break;}},exports['asyncAwaitNodeReq']=async(_0x3f81f2,_0x5c728a,_0x4dce69,_0x46aa95,_0x1d03c5=!![])=>{const _0x464213=a88_0x16a540,_0x5dc6ae={};_0x5dc6ae[_0x464213(0x1a1)]=function(_0x539086,_0x33da30){return _0x539086===_0x33da30;},_0x5dc6ae[_0x464213(0x146)]=_0x464213(0x164),_0x5dc6ae[_0x464213(0x1ec)]=_0x464213(0x199),_0x5dc6ae['KSQmg']=_0x464213(0x1be),_0x5dc6ae['uCuOD']=function(_0x29ab90,_0x2a40fc){return _0x29ab90!==_0x2a40fc;},_0x5dc6ae['DiXTp']=function(_0x333cec,_0x6b1590){return _0x333cec!==_0x6b1590;},_0x5dc6ae[_0x464213(0x152)]='object',_0x5dc6ae[_0x464213(0x175)]=_0x464213(0x122);const _0x118bf8=_0x5dc6ae,_0xf541c7={..._0x46aa95,...{'method':_0x3f81f2,'url':OBSERVABILITY_UPLOAD_API_URL+'/'+_0x5c728a,'body':_0x4dce69,'json':_0x118bf8[_0x464213(0x1a1)](_0x46aa95[_0x464213(0x1b5)][_0x118bf8['VvuQT']],_0x118bf8['wkDbC']),'agent':API_URL[_0x464213(0x106)](_0x118bf8[_0x464213(0x1f1)])?httpsKeepAliveAgent:httpKeepAliveAgent}};_0x118bf8[_0x464213(0x1a1)](_0x5c728a,UPLOAD_ATTACHMENT_ENDPOINT)&&(_0xf541c7[_0x464213(0x11f)]=API_URL['includes'](_0x118bf8[_0x464213(0x1f1)])?httpsScreenshotsKeepAliveAgent:httpScreenshotsKeepAliveAgent,exports[_0x464213(0x181)](_0xf541c7,_0x46aa95),logger[_0x464213(0x1c7)]('Uploading\x20trace\x20logs\x20to:\x20'+_0xf541c7[_0x464213(0x182)]));try{const {statusCode:_0xef41f6,body:_0x5305b5}=await bsSetupHelper['nodeRequest'](_0x3f81f2,_0x5c728a,_0xf541c7,_0x46aa95,_0xf541c7[_0x464213(0x182)]);if(_0x118bf8[_0x464213(0x11d)](_0xef41f6,0xc8))return _0x5305b5?_0x5305b5:_0x464213(0x206)+_0xef41f6;let _0x4a67d0=_0x5305b5;if(_0x1d03c5)try{_0x118bf8[_0x464213(0x1fc)](typeof _0x5305b5,_0x118bf8[_0x464213(0x152)])&&(_0x4a67d0=JSON[_0x464213(0x1f6)](_0x5305b5));}catch(_0x313b22){logger[_0x464213(0x13a)](_0x118bf8[_0x464213(0x175)],_0x5305b5,util[_0x464213(0x1a2)](_0x313b22));}const _0xfc63b8={};return _0xfc63b8['data']=_0x4a67d0,_0xfc63b8;}catch(_0x55d818){logger[_0x464213(0x13a)]('Error\x20in\x20sending\x20request\x20to\x20BrowserStack\x20Server\x20:\x20'+util[_0x464213(0x1a2)](_0x55d818));throw _0x55d818;}},exports['nodeRequest']=(_0x3313ee,_0x2e9642,_0x54e828,_0x1d9dd1,_0xdb3285=!![])=>{const _0x328677=a88_0x16a540,_0x254eb4={'jzdYC':function(_0x950f3d,_0x3230bd){return _0x950f3d!==_0x3230bd;},'JQAgH':function(_0x56b8ef,_0x1dbe27){return _0x56b8ef(_0x1dbe27);},'cMsYR':_0x328677(0x101),'SxLya':_0x328677(0x183),'zibsh':function(_0x49a954,_0x479e8c){return _0x49a954(_0x479e8c);},'jbzNA':function(_0x410f4b,_0x2adc7d){return _0x410f4b===_0x2adc7d;},'ThnBU':_0x328677(0x164),'SPpyR':_0x328677(0x199),'yYdfe':_0x328677(0x1be)};return new Promise((_0x4d8afe,_0x574ef4)=>{const _0x4dcc55=_0x328677,_0x1b40af={'JwNAv':function(_0xcea3a9,_0xd4f1d1){const _0x3131ef=a88_0x2eca;return _0x254eb4[_0x3131ef(0x1f0)](_0xcea3a9,_0xd4f1d1);}},_0xd31c97={..._0x1d9dd1,...{'method':_0x3313ee,'url':API_URL+'/'+_0x2e9642,'body':_0x54e828,'json':_0x254eb4['jbzNA'](_0x1d9dd1['headers'][_0x254eb4[_0x4dcc55(0x172)]],_0x254eb4['SPpyR']),'agent':API_URL['includes'](_0x254eb4['yYdfe'])?httpsKeepAliveAgent:httpKeepAliveAgent}};_0x254eb4[_0x4dcc55(0x1df)](_0x2e9642,SCREENSHOT_ENDPOINT)&&(_0xd31c97[_0x4dcc55(0x11f)]=API_URL[_0x4dcc55(0x106)](_0x254eb4[_0x4dcc55(0x1c5)])?httpsScreenshotsKeepAliveAgent:httpScreenshotsKeepAliveAgent),bsSetupHelper[_0x4dcc55(0x120)](_0x3313ee,_0x2e9642,_0xd31c97,_0x1d9dd1,API_URL)[_0x4dcc55(0x1ab)](({statusCode:_0x43c5d2,body:_0x3adbf3})=>{const _0x395b54=_0x4dcc55;if(_0x254eb4[_0x395b54(0x108)](_0x43c5d2,0xc8))_0x254eb4[_0x395b54(0x1f0)](_0x574ef4,_0x3adbf3?_0x3adbf3:'Received\x20response\x20from\x20BrowserStack\x20Server\x20with\x20status\x20:\x20'+_0x43c5d2);else{if(_0xdb3285)try{_0x254eb4[_0x395b54(0x108)](typeof _0x3adbf3,_0x254eb4[_0x395b54(0x144)])&&(_0x3adbf3=JSON['parse'](_0x3adbf3));}catch(_0x116de0){_0x254eb4[_0x395b54(0x1f0)](_0x574ef4,_0x254eb4[_0x395b54(0x10c)]);return;}const _0xcc03c9={};_0xcc03c9[_0x395b54(0x1ff)]=_0x3adbf3,_0x254eb4['zibsh'](_0x4d8afe,_0xcc03c9);}})[_0x4dcc55(0x12f)](_0x560787=>{const _0x41f4d7=_0x4dcc55;_0x560787&&_0x1b40af[_0x41f4d7(0x139)](_0x574ef4,_0x560787);});});},exports[a88_0x16a540(0x1c4)]=_0xc9c4e0=>{const _0x385f8b=a88_0x16a540;if(process[_0x385f8b(0x163)][_0x385f8b(0x138)])return process[_0x385f8b(0x163)][_0x385f8b(0x138)][_0x385f8b(0x1dd)](',');if(_0xc9c4e0['buildTag'])return _0xc9c4e0[_0x385f8b(0x126)];return[];},exports[a88_0x16a540(0x1ea)]=(_0x1af007=!![])=>{const _0x161ada=a88_0x16a540,_0x4c102c={};_0x4c102c[_0x161ada(0x119)]=_0x161ada(0x199),_0x4c102c['iFWZD']='true',_0x4c102c['AzjLM']='Authorization';const _0x580e78=_0x4c102c,_0x17ae58={};_0x17ae58[_0x161ada(0x164)]=_0x580e78[_0x161ada(0x119)],_0x17ae58[_0x161ada(0x159)]=_0x580e78['iFWZD'];const _0x1ccb1d=_0x17ae58;return _0x1af007&&process[_0x161ada(0x163)][_0x161ada(0x198)]&&(_0x1ccb1d[_0x580e78[_0x161ada(0x135)]]=_0x161ada(0x1ba)+process[_0x161ada(0x163)][_0x161ada(0x198)]),_0x1ccb1d;},exports[a88_0x16a540(0x123)]=_0xc2180d=>{const _0x435a3b=a88_0x16a540,_0x386a14={};_0x386a14['MtxCL']=_0x435a3b(0x1cd);const _0xb8cc6a=_0x386a14,_0x4b5808=[],_0x5360ac=new RegExp(_0xb8cc6a['MtxCL'],'i');return Object['keys'](_0xc2180d)[_0x435a3b(0x205)](_0x47f44=>_0x5360ac[_0x435a3b(0x1f4)](_0x47f44))[_0x435a3b(0x1c1)](_0x45366c=>_0x4b5808['push'](_0xc2180d[_0x45366c])),_0x4b5808;},exports[a88_0x16a540(0x1b6)]=_0xfa6c7a=>{const _0x174d90=a88_0x16a540,_0x58032c=[],_0x3b89cb=_0xfa6c7a[_0x174d90(0x1ac)]||process[_0x174d90(0x163)][_0x174d90(0x168)];return _0x3b89cb&&_0x58032c[_0x174d90(0x1e6)](_0x3b89cb),_0x58032c[_0x174d90(0x1e6)](...exports[_0x174d90(0x123)](process['env'])),_0x58032c[_0x174d90(0x1e6)](...exports[_0x174d90(0x123)](_0xfa6c7a)),_0x58032c;},exports[a88_0x16a540(0x11e)]=_0x21e387=>{const _0x2add11=a88_0x16a540;if(!_0x21e387)return'';return _0x21e387[_0x2add11(0x207)](/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,'');},exports['sleep']=(_0x578258=0x64)=>new Promise(_0x5e23c4=>setTimeout(_0x5e23c4,_0x578258));const getPlatformName=()=>{const _0x4ebf57=a88_0x16a540,_0x4f3192={};_0x4f3192[_0x4ebf57(0x1a5)]=function(_0x576432,_0x56a6c5){return _0x576432===_0x56a6c5;},_0x4f3192[_0x4ebf57(0x14f)]=_0x4ebf57(0x188),_0x4f3192[_0x4ebf57(0x1c2)]='Windows',_0x4f3192[_0x4ebf57(0x20b)]=function(_0x24d472,_0x4c3cec){return _0x24d472===_0x4c3cec;},_0x4f3192[_0x4ebf57(0x10e)]=_0x4ebf57(0x107),_0x4f3192[_0x4ebf57(0x1fb)]=_0x4ebf57(0x11b),_0x4f3192[_0x4ebf57(0x19b)]=function(_0x2a482b,_0x4f935e){return _0x2a482b===_0x4f935e;},_0x4f3192[_0x4ebf57(0x1cc)]='linux',_0x4f3192[_0x4ebf57(0x167)]=_0x4ebf57(0x110),_0x4f3192[_0x4ebf57(0x14e)]=_0x4ebf57(0x18a);const _0x46f8c9=_0x4f3192;if(_0x46f8c9[_0x4ebf57(0x1a5)](process[_0x4ebf57(0x18e)],_0x46f8c9['FsSLY']))return _0x46f8c9[_0x4ebf57(0x1c2)];if(_0x46f8c9[_0x4ebf57(0x20b)](process[_0x4ebf57(0x18e)],_0x46f8c9[_0x4ebf57(0x10e)]))return _0x46f8c9[_0x4ebf57(0x1fb)];if(_0x46f8c9[_0x4ebf57(0x19b)](process[_0x4ebf57(0x18e)],_0x46f8c9[_0x4ebf57(0x1cc)]))return _0x46f8c9[_0x4ebf57(0x167)];return _0x46f8c9[_0x4ebf57(0x14e)];},getMacOSVersion=()=>{const _0x58b505=a88_0x16a540,_0x3f9d1c={};_0x3f9d1c['QfuTe']='awk\x20\x27/SOFTWARE\x20LICENSE\x20AGREEMENT\x20FOR\x20macOS/\x27\x20\x27/System/Library/CoreServices/Setup\x20Assistant.app/Contents/Resources/en.lproj/OSXSoftwareLicense.rtf\x27\x20|\x20awk\x20-F\x20\x27macOS\x20\x27\x20\x27{print\x20$NF}\x27\x20|\x20awk\x20\x27{print\x20substr($0,\x200,\x20length($0)-1)}\x27';const _0x153fa4=_0x3f9d1c;return child_process[_0x58b505(0x148)](_0x153fa4[_0x58b505(0x1f5)])[_0x58b505(0x1c9)]()['trim']();},getLinuxDetails=()=>{const _0x43b4f1={'nrsjW':function(_0x9a6e2a,_0x53f521){return _0x9a6e2a(_0x53f521);},'NFBpF':function(_0x528fef,_0x29766c){return _0x528fef(_0x29766c);}};return new Promise((_0x57ee17,_0xb077ee)=>{const _0x48dcf7=a88_0x2eca;_0x43b4f1[_0x48dcf7(0x15d)](getos,(_0x42fccf,_0x2c55a0)=>{const _0x23b572=_0x48dcf7;if(_0x42fccf)return _0x43b4f1[_0x23b572(0x179)](_0xb077ee,_0x42fccf);_0x43b4f1[_0x23b572(0x15d)](_0x57ee17,_0x2c55a0);});});};exports[a88_0x16a540(0x1c8)]=async()=>{const _0x553247=a88_0x16a540,_0x2af61a={'vEBWr':function(_0xaa1fb1){return _0xaa1fb1();},'GYRvk':_0x553247(0x11b),'qFguB':_0x553247(0x185),'fuNNX':_0x553247(0x15f),'ZVfMm':_0x553247(0x110),'AcDLw':function(_0x37f490){return _0x37f490();},'tOrrO':_0x553247(0x1b1)};let _0x2d2188=_0x2af61a[_0x553247(0x203)](getPlatformName),_0x511b0b=os['release']()[_0x553247(0x1c9)]();switch(_0x2d2188){case _0x2af61a[_0x553247(0x16a)]:_0x511b0b=_0x2af61a[_0x553247(0x203)](getMacOSVersion);break;case _0x2af61a[_0x553247(0x1e8)]:try{const _0x417162=(await import(_0x2af61a['fuNNX']))[_0x553247(0x204)];_0x511b0b=_0x2af61a[_0x553247(0x203)](_0x417162);}catch(_0x31cb71){exports['debug'](_0x553247(0x170)+_0x31cb71[_0x553247(0x1c9)]());}break;case _0x2af61a[_0x553247(0x1b8)]:try{const _0x4276a7=await _0x2af61a['AcDLw'](getLinuxDetails);_0x4276a7[_0x553247(0x1d6)]&&(_0x2d2188=_0x4276a7[_0x553247(0x1d6)]),_0x4276a7[_0x553247(0x103)]&&(_0x511b0b=_0x4276a7['release'][_0x553247(0x1c9)]());}catch(_0x55e19d){exports[_0x553247(0x1c7)](_0x2af61a[_0x553247(0x19c)]);}break;default:break;}const _0x1d9fa3={};return _0x1d9fa3[_0x553247(0x1d3)]=_0x2d2188,_0x1d9fa3[_0x553247(0x131)]=_0x511b0b,_0x1d9fa3;},exports[a88_0x16a540(0x1b4)]=(_0x482c1a,_0x4504c9)=>{const _0x2b0a85=a88_0x16a540,_0x4febdc={};_0x4febdc[_0x2b0a85(0x1af)]=function(_0x35286e,_0x65bf85){return _0x35286e===_0x65bf85;},_0x4febdc['junLs']='test',_0x4febdc['PWhxO']=function(_0x52cdbe,_0x5c4330){return _0x52cdbe===_0x5c4330;},_0x4febdc['tpwNg']=_0x2b0a85(0x1e0);const _0x525bca=_0x4febdc;if(!_0x482c1a)return[];try{if(_0x525bca[_0x2b0a85(0x1af)](_0x4504c9,_0x525bca[_0x2b0a85(0x1de)]))return _0x482c1a['map'](_0x195361=>{const _0x1c134d=_0x2b0a85,{stack:_0x5b6a19,..._0x26e222}=_0x195361,_0x40f3aa=Object[_0x1c134d(0x14b)](_0x26e222)[_0x1c134d(0x12a)](_0x83548a=>{return _0x83548a+':\x20'+_0x26e222[_0x83548a];}),_0x5b5982=_0x5b6a19?exports['removeAnsiColors'](_0x5b6a19)[_0x1c134d(0x1dd)](/\r?\n/):[exports[_0x1c134d(0x11e)](_0x195361[_0x1c134d(0x150)])],_0x470f26={};return _0x470f26['backtrace']=_0x5b5982,_0x470f26['expanded']=_0x40f3aa,_0x470f26;});else{if(_0x525bca[_0x2b0a85(0x192)](_0x4504c9,_0x525bca[_0x2b0a85(0x1d2)])){const _0x3fa48e=[],_0x889bbc=[];return Object[_0x2b0a85(0x14b)](_0x482c1a)['forEach'](_0x28b8f9=>{const _0x595ef2=_0x2b0a85;try{_0x889bbc[_0x595ef2(0x1e6)](_0x28b8f9+':\x20'+_0x482c1a[_0x28b8f9]);}catch(_0x4e7597){exports['debug'](_0x595ef2(0x1a6)+_0x4e7597[_0x595ef2(0x150)]+_0x595ef2(0x155)+_0x4e7597[_0x595ef2(0x19a)]);}}),_0x3fa48e[_0x2b0a85(0x1e6)]({'backtrace':exports[_0x2b0a85(0x11e)](_0x482c1a[_0x2b0a85(0x129)])[_0x2b0a85(0x1dd)](/\r?\n/),'expanded':_0x889bbc}),_0x3fa48e;}}return[];}catch(_0x2f8424){exports[_0x2b0a85(0x1c7)](_0x2b0a85(0x1a6)+_0x2f8424[_0x2b0a85(0x150)]+_0x2b0a85(0x155)+_0x2f8424[_0x2b0a85(0x19a)]);}return[];};class PathHelper{constructor(_0x1da64a,_0x9f0af0){const _0x3d7fc9=a88_0x16a540;this[_0x3d7fc9(0x154)]=_0x1da64a,this[_0x3d7fc9(0x1c6)]=_0x9f0af0;}['relativeTestFilePath'](_0x3ab71e){const _0x5b9b90=a88_0x16a540,_0x5c0d5c=this[_0x5b9b90(0x154)][_0x5b9b90(0x1bb)]||this[_0x5b9b90(0x154)]['rootDir'];return path['relative'](_0x5c0d5c,_0x3ab71e);}[a88_0x16a540(0x177)](_0x33f5f9){const _0x1a4b01=a88_0x16a540,_0x277eb5=this['relativeTestFilePath'](_0x33f5f9);return this[_0x1a4b01(0x1c6)]?path[_0x1a4b01(0x1da)](this[_0x1a4b01(0x1c6)],_0x277eb5):_0x277eb5;}}exports[a88_0x16a540(0x1d9)]=PathHelper,exports['addRequestSpy']=(_0x59702f=!![])=>{const _0x272bce=a88_0x16a540,_0x3e1da6={};_0x3e1da6['zSyuZ']=function(_0x3648c7,_0x234489){return _0x3648c7===_0x234489;},_0x3e1da6[_0x272bce(0x1e3)]=_0x272bce(0x159),_0x3e1da6[_0x272bce(0x1ef)]=_0x272bce(0x121),_0x3e1da6[_0x272bce(0x187)]='HTTP',_0x3e1da6[_0x272bce(0x147)]=_0x272bce(0x10b),_0x3e1da6[_0x272bce(0x1d4)]='local_grid';const _0x3641de=_0x3e1da6;requestSpy['spy']((_0x62da41,_0x2ba3e0)=>{const _0x4343b2=_0x272bce;_0x2ba3e0&&!(_0x2ba3e0[_0x4343b2(0x1b5)]&&_0x3641de[_0x4343b2(0x1b3)](_0x2ba3e0['headers'][_0x3641de[_0x4343b2(0x1e3)]],_0x3641de[_0x4343b2(0x1ef)]))&&(_0x2ba3e0[_0x4343b2(0x134)]=_0x2ba3e0[_0x4343b2(0x1a8)],delete _0x2ba3e0[_0x4343b2(0x1a8)],_0x59702f&&process[_0x4343b2(0x1c0)](_0x4343b2(0x140)+process[_0x4343b2(0x1a4)],{'timestamp':new Date()[_0x4343b2(0x118)](),'level':null,'message':null,'kind':_0x3641de[_0x4343b2(0x187)],'http_response':_0x2ba3e0})),_0x2ba3e0&&(constants[_0x4343b2(0x17c)]['test'](_0x2ba3e0[_0x4343b2(0x134)])||constants[_0x4343b2(0x1bc)][_0x4343b2(0x1f4)](_0x2ba3e0[_0x4343b2(0x134)]))?global[_0x4343b2(0x166)]=_0x3641de['hPmRY']:global[_0x4343b2(0x166)]=_0x3641de['KczmG'];});},exports[a88_0x16a540(0x15b)]=()=>{const _0x27ec9a=a88_0x16a540,_0x235f58={'vYgRe':function(_0x1212f7,_0x5eed16){return _0x1212f7(_0x5eed16);}};console={},Object[_0x27ec9a(0x14b)](consoleHolder)[_0x27ec9a(0x1c1)](_0x4b357a=>{_0x235f58['vYgRe'](isFunction,consoleHolder[_0x4b357a])?console[_0x4b357a]=(..._0x146ea9)=>{const _0x3a1cc1=a88_0x2eca;try{!Object[_0x3a1cc1(0x14b)](BSTestOpsPatcher)[_0x3a1cc1(0x106)](_0x4b357a)?consoleHolder[_0x4b357a](..._0x146ea9):BSTestOpsPatcher[_0x4b357a](..._0x146ea9);}catch(_0x280d67){consoleHolder[_0x4b357a](..._0x146ea9);}}:console[_0x4b357a]=consoleHolder[_0x4b357a];});},exports[a88_0x16a540(0x1cb)]=()=>a88_0x16a540(0x197)+JSON[a88_0x16a540(0x141)]({'action':a88_0x16a540(0x176),'arguments':{'data':a88_0x16a540(0x1c3)+Date['now'](),'level':a88_0x16a540(0x1c7)}}),exports[a88_0x16a540(0x20a)]=_0x9469fa=>{const _0x4b302c=a88_0x16a540,_0x465e06={};_0x465e06[_0x4b302c(0x169)]=function(_0x486d1d,_0x2363ce){return _0x486d1d===_0x2363ce;},_0x465e06[_0x4b302c(0x149)]=_0x4b302c(0x10b),_0x465e06[_0x4b302c(0x18c)]=_0x4b302c(0x1a0),_0x465e06[_0x4b302c(0x162)]=_0x4b302c(0x180),_0x465e06[_0x4b302c(0x160)]=function(_0x3d9385,_0x142f2d){return _0x3d9385>_0x142f2d;},_0x465e06['vcAGy']=_0x4b302c(0x125),_0x465e06[_0x4b302c(0x109)]='bstack:options',_0x465e06[_0x4b302c(0x12b)]=_0x4b302c(0x1b9),_0x465e06['JkJXt']='turboscale',_0x465e06['hjSsc']=_0x4b302c(0x16e);const _0x3e060b=_0x465e06;let _0x5bde3e=null;try{if(_0x3e060b[_0x4b302c(0x169)](global[_0x4b302c(0x166)],_0x3e060b[_0x4b302c(0x149)])){if(_0x9469fa[_0x3e060b[_0x4b302c(0x18c)]]||_0x9469fa[_0x3e060b[_0x4b302c(0x162)]]||!bsSetupHelper[_0x4b302c(0x1bf)](global['capabilities'])&&_0x3e060b[_0x4b302c(0x160)](global[_0x4b302c(0x1fa)][_0x4b302c(0x116)],0x0)&&(global[_0x4b302c(0x1fa)][0x0][_0x3e060b[_0x4b302c(0x162)]]||global[_0x4b302c(0x1fa)][0x0][_0x3e060b['eLzzW']]))_0x5bde3e=_0x3e060b[_0x4b302c(0x16c)];else _0x9469fa[_0x3e060b[_0x4b302c(0x109)]]&&_0x9469fa[_0x3e060b['PErgZ']][_0x3e060b[_0x4b302c(0x12b)]]?_0x5bde3e=_0x3e060b[_0x4b302c(0x102)]:_0x5bde3e=_0x3e060b['hjSsc'];}}catch(_0x4a1c4d){exports[_0x4b302c(0x1c7)](_0x4b302c(0x1f8)+_0x4a1c4d);}return _0x5bde3e;},exports[a88_0x16a540(0x153)]=async(_0x3dfde9,_0x16c914,_0x6fd96b=![])=>{const _0x1775e4=a88_0x16a540,_0x350706={};_0x350706['CJypX']=function(_0x3280de,_0x31657a){return _0x3280de===_0x31657a;},_0x350706['sLswS']=_0x1775e4(0x10b),_0x350706[_0x1775e4(0x174)]='unknown_grid',_0x350706[_0x1775e4(0x1f9)]=_0x1775e4(0x161);const _0x331b17=_0x350706;try{const _0xa1409b=await _0x3dfde9[_0x1775e4(0x1ad)](),_0x3cd7c6=await _0x3dfde9['getSession'](),_0x2c5c88={},_0x206440=Object[_0x1775e4(0x1d1)](_0x3cd7c6[_0x1775e4(0x1ad)]()[_0x1775e4(0x17f)]),_0x13b644={'product':exports[_0x1775e4(0x20a)](_0x206440),'capabilities':_0x206440,'platform':_0xa1409b[_0x1775e4(0x111)](),'platform_version':bsSetupHelper['getPlatformVersion'](_0x331b17[_0x1775e4(0x115)](global[_0x1775e4(0x166)],_0x331b17[_0x1775e4(0x137)])),'browser':_0xa1409b[_0x1775e4(0x20c)](),'browser_version':_0xa1409b[_0x1775e4(0x1e9)](),'session_id':_0x3cd7c6['toJSON']()};global[_0x1775e4(0x166)]?_0x2c5c88[global['__cloud_provider___']]=_0x13b644:_0x2c5c88[_0x331b17[_0x1775e4(0x174)]]=_0x13b644;if(_0x6fd96b)return _0x2c5c88;process[_0x1775e4(0x1c0)](_0x1775e4(0x105)+process[_0x1775e4(0x1a4)],{'timestamp':new Date()[_0x1775e4(0x118)](),'level':null,'message':null,'kind':_0x331b17[_0x1775e4(0x1f9)],'http_response':_0x2c5c88,'uuid':_0x16c914});}catch(_0x20ee1b){exports[_0x1775e4(0x1c7)](_0x1775e4(0x156)+_0x20ee1b);}},exports[a88_0x16a540(0x14a)]=_0x48ffa0=>{const _0x3bdcaa=a88_0x16a540;return _0x48ffa0&&_0x48ffa0['toString']()[_0x3bdcaa(0x157)](/browserstack internal helper hook/);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a89_0x518979=a89_0x5ef0;function a89_0x5ef0(_0x57c976,_0x180b91){var _0x24284b=a89_0x2428();return a89_0x5ef0=function(_0x5ef041,_0x122785){_0x5ef041=_0x5ef041-0x1a3;var _0xdb4a5c=_0x24284b[_0x5ef041];return _0xdb4a5c;},a89_0x5ef0(_0x57c976,_0x180b91);}function a89_0x2428(){var _0x3b0b0f=['TestFinished','TestStarted','7BpSYpr','72TNibZz','12mMZdBm','BROWSERSTACK_TESTHUB_UUID','TestRunStarted','api/v2/builds','ERROR_INVALID_CREDENTIALS','BROWSERSTACK_TESTHUB_JWT','DEPRECATED','ENV_VAR','TestSkipped','TESTHUB_BUILD_API','1787520iOnuNA','ACCESSIBILITY','HookRunStarted','EVENT','ERROR_SDK_DEPRECATED','ERROR_ACCESS_DENIED','ACCESS_DENIED','TestRunFinished','observability','HookFinished','1406890NFoaLK','OBSERVABILITY','INVALID_CREDENTIALS','472830BgkqVq','395319lnDSOE','1306456MARKsS','1184598OeQrEr','53930uozEPz'];a89_0x2428=function(){return _0x3b0b0f;};return a89_0x2428();}(function(_0x56db6b,_0x59bf0f){var _0x22e3c3=a89_0x5ef0,_0x27c5ad=_0x56db6b();while(!![]){try{var _0x5d2e24=-parseInt(_0x22e3c3(0x1b3))/0x1+parseInt(_0x22e3c3(0x1b6))/0x2+parseInt(_0x22e3c3(0x1b5))/0x3+parseInt(_0x22e3c3(0x1a5))/0x4+-parseInt(_0x22e3c3(0x1af))/0x5*(parseInt(_0x22e3c3(0x1bb))/0x6)+parseInt(_0x22e3c3(0x1b9))/0x7*(parseInt(_0x22e3c3(0x1b4))/0x8)+parseInt(_0x22e3c3(0x1ba))/0x9*(parseInt(_0x22e3c3(0x1b2))/0xa);if(_0x5d2e24===_0x59bf0f)break;else _0x27c5ad['push'](_0x27c5ad['shift']());}catch(_0x282253){_0x27c5ad['push'](_0x27c5ad['shift']());}}}(a89_0x2428,0x6e66f));var a89_0x2f477a={};a89_0x2f477a[a89_0x518979(0x1b1)]=a89_0x518979(0x1bf),a89_0x2f477a[a89_0x518979(0x1c1)]=a89_0x518979(0x1a9),a89_0x2f477a[a89_0x518979(0x1ab)]=a89_0x518979(0x1aa);var a89_0x1c6d1d={};a89_0x1c6d1d[a89_0x518979(0x1b8)]=a89_0x518979(0x1bd),a89_0x1c6d1d[a89_0x518979(0x1b7)]=a89_0x518979(0x1ac),a89_0x1c6d1d[a89_0x518979(0x1a3)]='TestRunSkipped',a89_0x1c6d1d['LogCreated']='LogCreated',a89_0x1c6d1d['HookStarted']=a89_0x518979(0x1a7),a89_0x1c6d1d[a89_0x518979(0x1ae)]='HookRunFinished',a89_0x1c6d1d['CBTSessionCreated']='CBTSessionCreated';var a89_0x51d8e3={};a89_0x51d8e3[a89_0x518979(0x1bc)]='BROWSERSTACK_TESTHUB_UUID',a89_0x51d8e3[a89_0x518979(0x1c0)]=a89_0x518979(0x1c0);var a89_0x4f33cf={};a89_0x4f33cf[a89_0x518979(0x1a4)]=a89_0x518979(0x1be),a89_0x4f33cf[a89_0x518979(0x1a6)]='accessibility',a89_0x4f33cf[a89_0x518979(0x1b0)]=a89_0x518979(0x1ad),a89_0x4f33cf['ERROR']=a89_0x2f477a,a89_0x4f33cf[a89_0x518979(0x1a8)]=a89_0x1c6d1d,a89_0x4f33cf[a89_0x518979(0x1c2)]=a89_0x51d8e3,module['exports']=a89_0x4f33cf;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90_0x190f97=a90_0x5875;(function(_0x5546ac,_0x1a8861){const _0x3d851e=a90_0x5875,_0x2416f9=_0x5546ac();while(!![]){try{const _0x5a5190=parseInt(_0x3d851e(0x1cb))/0x1*(-parseInt(_0x3d851e(0x1bb))/0x2)+-parseInt(_0x3d851e(0x1f7))/0x3+-parseInt(_0x3d851e(0x191))/0x4*(parseInt(_0x3d851e(0x1b3))/0x5)+parseInt(_0x3d851e(0x1db))/0x6+parseInt(_0x3d851e(0x1c5))/0x7+-parseInt(_0x3d851e(0x1b8))/0x8*(parseInt(_0x3d851e(0x1d0))/0x9)+parseInt(_0x3d851e(0x203))/0xa*(parseInt(_0x3d851e(0x1c8))/0xb);if(_0x5a5190===_0x1a8861)break;else _0x2416f9['push'](_0x2416f9['shift']());}catch(_0x48b9a3){_0x2416f9['push'](_0x2416f9['shift']());}}}(a90_0x2bab,0xe7fa6));const bsSetupHelper=require(a90_0x190f97(0x197)),path=require(a90_0x190f97(0x1f4)),util=require(a90_0x190f97(0x208)),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require(a90_0x190f97(0x1ed)),testhubUtils=require(a90_0x190f97(0x1b6)),testHubConstants=require('./constants.js'),constants=require(a90_0x190f97(0x1a8)),RequestQueueHandler=require('../test-observability/requestQueueHandler.js'),logger=require(a90_0x190f97(0x204))[a90_0x190f97(0x1aa)],SessionHandler=require(a90_0x190f97(0x1f9)),PerformanceTester=require(a90_0x190f97(0x1e3)),{TESTHUB_EVENTS:PerformanceEvents}=require('../performance/constants'),TestDetails=require(a90_0x190f97(0x1ec)),{uploadTraceZip}=require(a90_0x190f97(0x1e0)),OngoingEvents=new Set();let processedTraceZips=![];const addEvent=_0x1dff6e=>{const _0x23484e=a90_0x190f97;OngoingEvents[_0x23484e(0x1b1)](_0x1dff6e);},awaitAllEvents=async()=>{const _0x328880=a90_0x190f97;return Promise[_0x328880(0x201)](OngoingEvents);};function a90_0x5875(_0x3ce50e,_0x1a5b0f){const _0x2bab53=a90_0x2bab();return a90_0x5875=function(_0x58751d,_0x3c548d){_0x58751d=_0x58751d-0x183;let _0x4b0f41=_0x2bab53[_0x58751d];return _0x4b0f41;},a90_0x5875(_0x3ce50e,_0x1a5b0f);}function a90_0x2bab(){const _0x5d4619=['percy','username','BROWSERSTACK_ACCESSIBILITY','error','TEBQK','1456052HAloXV','PFeNM','EciVD','assign','finished_metadata','getConfig','../helper','MsCNq','measureWrapper','bFdvl','eMKCk','jwt','buildDescription','api/v1/builds/','auth','PERCY_SUPPORTED_FRAMEWORKS','YFONF','OzHVQ','uploadPending','CQUyc','ACCESSIBILITY','BROWSERSTACK_CENTRAL_SCANNER_JOBID','isUndefined','../../bin/utils/constants.js','BROWSERSTACK_TESTHUB_JWT','winstonLogger','resolve','forEach','buildName','jLJkZ','UDeoH','mRbTA','add','stop','5VpFLMw','checkAndSetupPercy','iHCyU','./utils.js','waitForBuildStatus','8fFEefS','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getTraceFilePaths','125098zdaznU','Ahhxi','lvlEX','getProductMapForBuildStartCall','qVgYe','BROWSERSTACK_CENTRAL_SCANNER_JWT','cwd','stringify','extractDataFromResponse','BBSIa','6394234tbwmjk','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','getAccessibilityValueFromYml','11diYwJO','getProductMap','setTestHubCommonMetaInfo','22XTiWlf','processTraceZips','buildStopSent','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','password','6163119eJZomV','duNYM','TESTHUB_BUILD_API','status','message','STOP','mqcEg','response','GLuqy','ENV_VAR','START','9040290IpNJDa','env','data','hxjPF','projectName','../../bin/playwright/reporter/pwUtils.js','stopBuildUpstream\x20event\x20successful!','BROWSERSTACK_TEST_OBSERVABILITY','../performance/performance-tester.js','getAccessKey','accessibility','Testhub\x20started\x20with\x20id:\x20','Error\x20while\x20waiting\x20for\x20events:\x20','khpUw','BROWSERSTACK_BUILD_RUN_IDENTIFIER','basename','BROWSERSTACK_PRODUCT_MAP','../../bin/playwright/reporter/test-details.js','../test-observability/utils','authToken','statusText','toISOString','getCiInfo','BROWSERSTACK_TESTHUB_UUID','All\x20trace\x20zip\x20send\x20events\x20complete','path','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','debug','4900857lrzgTq','setAccessibilityVariables','../test-observability/sessionHandler.js','central_scanner','tlHnS','buildIdentifier','/stop','Percy\x20is\x20not\x20supported\x20for\x20','config','format','allSettled','false','25885060OExXvg','../logger','JMyuC','tXdid','buildHashedId','util','xLcXx','generateBuildUpstreamData','includes','lcnc','allowScreenshot','getAccessibilityOptions','ydXLX','isBrowserstackInfra','cCifn','BS_TESTOPS_BUILD_COMPLETED','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','snBlH','framework','true','VDmGm','VWYGL','NYnMS','getCentralUser'];a90_0x2bab=function(){return _0x5d4619;};return a90_0x2bab();}class TestHubHandler{static [a90_0x190f97(0x1cd)]=![];static async['launchBuild'](_0x38e51f,_0x27964f){const _0x418841=a90_0x190f97,_0x3dc5ae={'eMKCk':function(_0x441664,_0x182ac0){return _0x441664||_0x182ac0;},'VWYGL':function(_0x30b644,_0x38c45e){return _0x30b644===_0x38c45e;},'duNYM':function(_0x5a5c54){return _0x5a5c54();},'CQUyc':_0x418841(0x1c6),'OzHVQ':_0x418841(0x202),'ydXLX':'Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','EciVD':function(_0x28ac62,_0x85691,_0x3c5c11,_0xf80475,_0x263250){return _0x28ac62(_0x85691,_0x3c5c11,_0xf80475,_0x263250);},'snBlH':'POST','ZcCin':'accessibility','mRbTA':_0x418841(0x187),'Hlgqs':function(_0x26ccb8,_0x26e215){return _0x26ccb8===_0x26e215;}};await PerformanceTester[_0x418841(0x199)](PerformanceEvents[_0x418841(0x1da)],async()=>{const _0x5d42e7=_0x418841,_0x33ae4e=Object[_0x5d42e7(0x194)]({},_0x27964f[_0x5d42e7(0x1ff)],{'root_dir_path':'','framework':_0x27964f[_0x5d42e7(0x186)]}),_0x389308=bsSetupHelper['getUserName'](_0x33ae4e),_0x5417c7=bsSetupHelper[_0x5d42e7(0x1e4)](_0x33ae4e),_0x376f0f=_0x3dc5ae[_0x5d42e7(0x19b)](_0x389308,'')+':'+_0x3dc5ae['eMKCk'](_0x5417c7,''),_0x4570da=testhubUtils[_0x5d42e7(0x1c9)](_0x33ae4e);process[_0x5d42e7(0x1dc)][_0x5d42e7(0x1eb)]=JSON['stringify'](_0x4570da);if(_0x3dc5ae['VWYGL'](_0x376f0f,':'))return _0x3dc5ae[_0x5d42e7(0x1d1)](isTestObservabilitySession)&&(logger[_0x5d42e7(0x1f6)](_0x3dc5ae[_0x5d42e7(0x1a4)]),process[_0x5d42e7(0x1dc)]['BS_TESTOPS_BUILD_COMPLETED']=_0x3dc5ae[_0x5d42e7(0x1a2)]),testhubUtils['isAccessibilityEnabled'](_0x33ae4e)&&logger[_0x5d42e7(0x1f6)](_0x3dc5ae[_0x5d42e7(0x20f)]),[null,null];try{const _0xb46494=await this['generateBuildUpstreamData'](_0x33ae4e,_0x38e51f),_0x3928b4=this['getConfig'](_0x389308,_0x5417c7),_0x1d3fc6=await _0x3dc5ae[_0x5d42e7(0x193)](nodeRequest,_0x3dc5ae[_0x5d42e7(0x185)],testHubConstants[_0x5d42e7(0x1d2)],_0xb46494,_0x3928b4),_0x399008=this[_0x5d42e7(0x1c3)](_0x33ae4e,_0x1d3fc6,_0x3928b4);await this[_0x5d42e7(0x1b4)](_0x27964f,_0x38e51f);if(_0x3dc5ae[_0x5d42e7(0x189)](testhubUtils[_0x5d42e7(0x1c7)](_0x27964f[_0x5d42e7(0x1ff)]),null)){const _0x24a5d4=_0x399008[_0x3dc5ae['ZcCin']];_0x24a5d4&&_0x24a5d4[_0x5d42e7(0x1ee)]&&_0x24a5d4[_0x5d42e7(0x207)]&&(_0x27964f[_0x5d42e7(0x1ff)][_0x5d42e7(0x1e5)]=!![],process['env'][_0x5d42e7(0x1b9)]=_0x3dc5ae[_0x5d42e7(0x1b0)]);}return _0x399008;}catch(_0x1130b0){if(_0x3dc5ae['Hlgqs'](_0x1130b0['success'],![])){testhubUtils['logBuildError'](_0x1130b0);return;}}})();}static async[a90_0x190f97(0x1cc)](){const _0x4b0f38=a90_0x190f97,_0x166532={'tXdid':function(_0x36c942,_0x57d56f,_0x30d6d0){return _0x36c942(_0x57d56f,_0x30d6d0);},'SPbHD':function(_0x44a363,_0x1ad7e8){return _0x44a363(_0x1ad7e8);},'GLuqy':function(_0x316986){return _0x316986();},'khpUw':_0x4b0f38(0x1f3)};if(processedTraceZips)return;const _0x1ed418=TestDetails[_0x4b0f38(0x1ba)]();_0x1ed418[_0x4b0f38(0x1ac)](({testUId:_0x3d238d,filePath:_0x292458})=>{const _0x11abfd=_0x4b0f38;var _0x1d8c9d=_0x166532[_0x11abfd(0x206)](uploadTraceZip,_0x292458,_0x3d238d);_0x166532['SPbHD'](addEvent,_0x1d8c9d);});try{await _0x166532[_0x4b0f38(0x1d8)](awaitAllEvents),logger['debug'](_0x166532[_0x4b0f38(0x1e8)]),processedTraceZips=!![];}catch(_0x534ff7){logger[_0x4b0f38(0x18f)](_0x4b0f38(0x1e7)+util[_0x4b0f38(0x200)](_0x534ff7));}}static async[a90_0x190f97(0x1b4)](_0x19ef2b,_0x3fce9b){const _0x389054=a90_0x190f97;if(constants[_0x389054(0x1a0)][_0x389054(0x20b)](_0x3fce9b)){await _0x19ef2b['setupPercy']();return;}_0x19ef2b['config'][_0x389054(0x18c)]&&logger[_0x389054(0x1f6)](_0x389054(0x1fe)+_0x3fce9b+'\x20framework');}static[a90_0x190f97(0x20e)](_0x30a54d){const _0x2449d9={};_0x2449d9['settings']=_0x30a54d['accessibilityOptions'];const _0x2931d6=_0x2449d9;return _0x2931d6;}static[a90_0x190f97(0x196)](_0x149e5a,_0x1f0f11){const _0x278f13=a90_0x190f97,_0xa9081b={'hxjPF':function(_0x543cf9,_0x4d386c){return _0x543cf9(_0x4d386c);}},_0x4b7ad1={};return _0x4b7ad1[_0x278f13(0x18d)]=_0x149e5a,_0x4b7ad1[_0x278f13(0x1cf)]=_0x1f0f11,{'auth':_0x4b7ad1,'headers':_0xa9081b[_0x278f13(0x1de)](getDefaultHeaders,![])};}static async[a90_0x190f97(0x20a)](_0x2c47d8,_0x190fa3){const _0x549989=a90_0x190f97,_0x15b6a6={'TEBQK':function(_0x3a2fde,_0x4be64a){return _0x3a2fde(_0x4be64a);}},_0x4e8112={'project_name':_0x2c47d8[_0x549989(0x1df)]||'','name':_0x2c47d8[_0x549989(0x1ad)]||path[_0x549989(0x1ea)](path[_0x549989(0x1ab)](process[_0x549989(0x1c1)]())),'build_identifier':_0x2c47d8[_0x549989(0x1fc)],'description':_0x2c47d8[_0x549989(0x19d)]||'','started_at':new Date()[_0x549989(0x1f0)](),'tags':_0x15b6a6[_0x549989(0x190)](getCustomTags,_0x2c47d8),'host_info':bsSetupHelper['getHostInfo'](),'ci_info':bsSetupHelper[_0x549989(0x1f1)](),'build_run_identifier':process[_0x549989(0x1dc)][_0x549989(0x1e9)],'failed_tests_rerun':process[_0x549989(0x1dc)]['BROWSERSTACK_RERUN']||![],'version_control':await bsSetupHelper['getGitMetaData'](),'accessibility':this[_0x549989(0x20e)](_0x2c47d8),'framework_details':testhubUtils['getFrameworkDetails'](_0x2c47d8,_0x190fa3),'product_map':testhubUtils[_0x549989(0x1be)](_0x2c47d8),'browserstackAutomation':bsSetupHelper[_0x549989(0x210)](),'grouping_identifier':process['env'][_0x549989(0x1f5)]};if(bsSetupHelper[_0x549989(0x18b)]()[_0x549989(0x1fa)]||bsSetupHelper[_0x549989(0x18b)]()[_0x549989(0x20c)]){const _0x1b822b={};_0x1b822b['job_id']=process[_0x549989(0x1dc)][_0x549989(0x1a6)],_0x1b822b['token']=process[_0x549989(0x1dc)][_0x549989(0x1c0)],_0x4e8112[_0x549989(0x1fa)]=_0x1b822b;}return _0x4e8112;}static['extractDataFromResponse'](_0x88ea7d,_0x2eff1d,_0x1bc91b){const _0x150f20=a90_0x190f97,_0x2547e1={'YFONF':function(_0x1500d7){return _0x1500d7();},'JMyuC':function(_0x41b91b,_0x4165e0){return _0x41b91b&&_0x4165e0;},'cCifn':_0x150f20(0x187),'lvlEX':_0x150f20(0x202)},_0x583cd4={};if(_0x2547e1[_0x150f20(0x1a1)](isTestObservabilitySession)){const [_0x17907d,_0x5a509b,_0x106b70]=testhubUtils['setTestObservabilityVariables'](_0x2eff1d[_0x150f20(0x1dd)],_0x1bc91b[_0x150f20(0x19f)]);if(_0x2547e1['JMyuC'](_0x17907d,_0x5a509b)){const _0x2e44d8={};_0x2e44d8[_0x150f20(0x19c)]=_0x17907d,_0x2e44d8[_0x150f20(0x207)]=_0x5a509b,_0x2e44d8[_0x150f20(0x20d)]=_0x106b70,_0x583cd4[testHubConstants['OBSERVABILITY']]=_0x2e44d8,process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x2547e1[_0x150f20(0x211)];}else _0x583cd4[testHubConstants['OBSERVABILITY']]={},process[_0x150f20(0x1dc)][_0x150f20(0x1e2)]=_0x2547e1[_0x150f20(0x1bd)];}else process['env'][_0x150f20(0x1e2)]=_0x2547e1['lvlEX'];const [_0x4e4a0e,_0x9643bf]=testhubUtils[_0x150f20(0x1f8)](_0x2eff1d[_0x150f20(0x1dd)]);if(_0x2547e1[_0x150f20(0x205)](_0x4e4a0e,_0x9643bf)){const _0x153e0c={};_0x153e0c[_0x150f20(0x1ee)]=_0x4e4a0e,_0x153e0c['buildHashedId']=_0x9643bf,_0x583cd4[testHubConstants[_0x150f20(0x1a5)]]=_0x153e0c,process[_0x150f20(0x1dc)][_0x150f20(0x18e)]=_0x2547e1['cCifn'];}else _0x583cd4[testHubConstants[_0x150f20(0x1a5)]]={},process[_0x150f20(0x1dc)][_0x150f20(0x18e)]=_0x2547e1[_0x150f20(0x1bd)];return testhubUtils[_0x150f20(0x1ca)](_0x2eff1d[_0x150f20(0x1dd)]),logger['info'](_0x150f20(0x1e6)+process[_0x150f20(0x1dc)]['BROWSERSTACK_TESTHUB_UUID']),_0x583cd4;}static async[a90_0x190f97(0x1b2)](_0x465fdf){const _0x503c99=a90_0x190f97,_0x41d6d7={'zpXRA':function(_0x5a408e,_0x4c11f5){return _0x5a408e===_0x4c11f5;},'bFdvl':'false','BBSIa':function(_0x3e7e5a,_0x4f74c4){return _0x3e7e5a===_0x4f74c4;},'mqcEg':'null','MsCNq':function(_0x19bf60,_0x5745f4){return _0x19bf60===_0x5745f4;},'Ahhxi':'EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','xLcXx':_0x503c99(0x18f),'VDmGm':_0x503c99(0x1ce),'iHCyU':_0x503c99(0x195),'NYnMS':'user_killed','PFeNM':function(_0x1f01fa){return _0x1f01fa();},'tlHnS':function(_0x5262ce,_0x506219,_0x34223b,_0x4bbaa9,_0x963ea4,_0x43c3bb){return _0x5262ce(_0x506219,_0x34223b,_0x4bbaa9,_0x963ea4,_0x43c3bb);},'UDeoH':'PUT','qVgYe':_0x503c99(0x1e1),'jLJkZ':'success'};await this[_0x503c99(0x1cc)](),await PerformanceTester[_0x503c99(0x199)](PerformanceEvents[_0x503c99(0x1d5)],async()=>{const _0x298b34=_0x503c99;if(_0x41d6d7['zpXRA'](process['env'][_0x298b34(0x183)],_0x41d6d7[_0x298b34(0x19a)])||TestHubHandler[_0x298b34(0x1cd)]||bsSetupHelper[_0x298b34(0x1a7)](process[_0x298b34(0x1dc)][testHubConstants['ENV_VAR'][_0x298b34(0x1a9)]]))return;TestHubHandler[_0x298b34(0x1cd)]=!![],await RequestQueueHandler['getInstance']()[_0x298b34(0x1a3)](),await SessionHandler[_0x298b34(0x1b7)]();if(_0x41d6d7[_0x298b34(0x1c4)](process[_0x298b34(0x1dc)][testHubConstants['ENV_VAR'][_0x298b34(0x1a9)]],_0x41d6d7[_0x298b34(0x1d6)])||_0x41d6d7[_0x298b34(0x198)](process[_0x298b34(0x1dc)][testHubConstants[_0x298b34(0x1d9)]['BROWSERSTACK_TESTHUB_UUID']],_0x41d6d7['mqcEg'])){logger['debug'](_0x41d6d7[_0x298b34(0x1bc)]);const _0x3853a2={};return _0x3853a2[_0x298b34(0x1d3)]=_0x41d6d7['xLcXx'],_0x3853a2[_0x298b34(0x1d4)]=_0x41d6d7[_0x298b34(0x188)],_0x3853a2;}const _0x3467f4={'finished_at':new Date()[_0x298b34(0x1f0)](),'finished_metadata':[]};!!_0x465fdf&&_0x3467f4[_0x41d6d7[_0x298b34(0x1b5)]]['push']({'reason':_0x41d6d7[_0x298b34(0x18a)],'signal':_0x465fdf,'failure_data':''});const _0x2df716={'headers':_0x41d6d7[_0x298b34(0x192)](getDefaultHeaders)};try{const _0x351b33=await _0x41d6d7[_0x298b34(0x1fb)](nodeRequest,_0x41d6d7[_0x298b34(0x1af)],_0x298b34(0x19e)+process[_0x298b34(0x1dc)][testHubConstants['ENV_VAR'][_0x298b34(0x1f2)]]+_0x298b34(0x1fd),_0x3467f4,_0x2df716,![]);if(_0x351b33['data']&&_0x351b33[_0x298b34(0x1dd)][_0x298b34(0x18f)]){const _0x52a5b6={};_0x52a5b6['message']=_0x351b33['data'][_0x298b34(0x18f)];throw _0x52a5b6;}else{logger[_0x298b34(0x1f6)](_0x41d6d7[_0x298b34(0x1bf)]);const _0x3ae265={};return _0x3ae265[_0x298b34(0x1d3)]=_0x41d6d7[_0x298b34(0x1ae)],_0x3ae265[_0x298b34(0x1d4)]='',_0x3ae265;}}catch(_0x1b863b){_0x1b863b[_0x298b34(0x1d7)]?logger[_0x298b34(0x1f6)]('EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20'+_0x1b863b[_0x298b34(0x1d7)]['status']+'\x20'+_0x1b863b[_0x298b34(0x1d7)][_0x298b34(0x1ef)]+'\x20'+JSON[_0x298b34(0x1c2)](_0x1b863b['response'][_0x298b34(0x1dd)])):logger[_0x298b34(0x1f6)](_0x298b34(0x184)+(_0x1b863b[_0x298b34(0x1d4)]||_0x1b863b));const _0x3a579f={};return _0x3a579f[_0x298b34(0x1d3)]=_0x41d6d7[_0x298b34(0x209)],_0x3a579f[_0x298b34(0x1d4)]=_0x1b863b[_0x298b34(0x1d4)]||_0x1b863b[_0x298b34(0x1d7)]?_0x1b863b[_0x298b34(0x1d7)][_0x298b34(0x1d3)]+':'+_0x1b863b[_0x298b34(0x1d7)]['statusText']:_0x1b863b,_0x3a579f;}})();}}module['exports']=TestHubHandler;
|
|
1
|
+
const a90_0x397166=a90_0x393c;(function(_0x43acf9,_0x1d321c){const _0x303f3e=a90_0x393c,_0xdd2528=_0x43acf9();while(!![]){try{const _0xf46cb4=-parseInt(_0x303f3e(0x1e8))/0x1+parseInt(_0x303f3e(0x16a))/0x2*(parseInt(_0x303f3e(0x197))/0x3)+-parseInt(_0x303f3e(0x19b))/0x4+parseInt(_0x303f3e(0x1e0))/0x5*(parseInt(_0x303f3e(0x1bf))/0x6)+parseInt(_0x303f3e(0x1b0))/0x7+-parseInt(_0x303f3e(0x163))/0x8+parseInt(_0x303f3e(0x1d4))/0x9*(parseInt(_0x303f3e(0x1ae))/0xa);if(_0xf46cb4===_0x1d321c)break;else _0xdd2528['push'](_0xdd2528['shift']());}catch(_0xf59d1b){_0xdd2528['push'](_0xdd2528['shift']());}}}(a90_0x30de,0xc366c));const bsSetupHelper=require(a90_0x397166(0x1c5)),path=require('path'),util=require('util'),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require('../test-observability/utils'),testhubUtils=require(a90_0x397166(0x198)),testHubConstants=require(a90_0x397166(0x174)),constants=require('../../bin/utils/constants.js'),RequestQueueHandler=require(a90_0x397166(0x173)),logger=require(a90_0x397166(0x1c6))[a90_0x397166(0x183)],SessionHandler=require('../test-observability/sessionHandler.js'),PerformanceTester=require(a90_0x397166(0x17a)),{TESTHUB_EVENTS:PerformanceEvents}=require(a90_0x397166(0x1de)),TestDetails=require('../../bin/playwright/reporter/test-details.js'),{uploadTraceZip}=require(a90_0x397166(0x1cf)),OngoingEvents=new Set();let processedTraceZips=![];const addEvent=_0x37cb39=>{const _0x2b869f=a90_0x397166;OngoingEvents[_0x2b869f(0x18b)](_0x37cb39);},awaitAllEvents=async()=>{const _0x2fbed3=a90_0x397166;return Promise[_0x2fbed3(0x1bd)](OngoingEvents);};function a90_0x393c(_0x5ca90d,_0x47c47b){const _0x30de87=a90_0x30de();return a90_0x393c=function(_0x393c91,_0x559d42){_0x393c91=_0x393c91-0x163;let _0x219f89=_0x30de87[_0x393c91];return _0x219f89;},a90_0x393c(_0x5ca90d,_0x47c47b);}class TestHubHandler{static [a90_0x397166(0x167)]=![];static async['launchBuild'](_0x429b0e,_0x48b8f7){const _0x1f40a2=a90_0x397166,_0x2abb12={'FWxQN':function(_0x26d021,_0x48694f){return _0x26d021||_0x48694f;},'fnYxc':function(_0x27583d,_0x172824){return _0x27583d||_0x172824;},'ZuzYe':function(_0x5b94fa,_0x44ff7d){return _0x5b94fa===_0x44ff7d;},'ZvMWz':function(_0xda2a8a){return _0xda2a8a();},'eRics':_0x1f40a2(0x175),'Gqsgz':'false','jBWAn':'Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','NkUrD':function(_0x3be809,_0x7e2503,_0x105426,_0x6f5ed9,_0x2e8ebb){return _0x3be809(_0x7e2503,_0x105426,_0x6f5ed9,_0x2e8ebb);},'qhCnZ':'POST','Nilia':function(_0x46193a,_0x409ab9){return _0x46193a===_0x409ab9;},'umGnr':_0x1f40a2(0x195),'jjQRB':_0x1f40a2(0x1b5)};await PerformanceTester['measureWrapper'](PerformanceEvents[_0x1f40a2(0x17f)],async()=>{const _0x11bc1e=_0x1f40a2,_0x375477=Object[_0x11bc1e(0x1c9)]({},_0x48b8f7['config'],{'root_dir_path':'','framework':_0x48b8f7[_0x11bc1e(0x1aa)]}),_0x1a2bf6=bsSetupHelper[_0x11bc1e(0x1b7)](_0x375477),_0x46c24d=bsSetupHelper[_0x11bc1e(0x1e7)](_0x375477),_0x3d5585=_0x2abb12[_0x11bc1e(0x1c0)](_0x1a2bf6,'')+':'+_0x2abb12[_0x11bc1e(0x1a8)](_0x46c24d,''),_0x31f45b=testhubUtils[_0x11bc1e(0x199)](_0x375477);process[_0x11bc1e(0x190)][_0x11bc1e(0x18f)]=JSON['stringify'](_0x31f45b);if(_0x2abb12[_0x11bc1e(0x16b)](_0x3d5585,':'))return _0x2abb12[_0x11bc1e(0x170)](isTestObservabilitySession)&&(logger[_0x11bc1e(0x181)](_0x2abb12[_0x11bc1e(0x196)]),process[_0x11bc1e(0x190)]['BS_TESTOPS_BUILD_COMPLETED']=_0x2abb12[_0x11bc1e(0x1da)]),testhubUtils[_0x11bc1e(0x1cb)](_0x375477)&&logger[_0x11bc1e(0x181)](_0x2abb12['jBWAn']),[null,null];try{const _0xe5eb4c=await this[_0x11bc1e(0x1db)](_0x375477,_0x429b0e),_0x5df71b=this[_0x11bc1e(0x1c8)](_0x1a2bf6,_0x46c24d),_0x25f732=await _0x2abb12[_0x11bc1e(0x166)](nodeRequest,_0x2abb12['qhCnZ'],testHubConstants[_0x11bc1e(0x1b9)],_0xe5eb4c,_0x5df71b),_0x21b548=this[_0x11bc1e(0x1af)](_0x375477,_0x25f732,_0x5df71b);await this['checkAndSetupPercy'](_0x48b8f7,_0x429b0e);if(_0x2abb12[_0x11bc1e(0x1d3)](testhubUtils[_0x11bc1e(0x164)](_0x48b8f7['config']),null)){const _0x2f9d75=_0x21b548[_0x2abb12['umGnr']];_0x2f9d75&&_0x2f9d75['authToken']&&_0x2f9d75[_0x11bc1e(0x1bb)]&&(_0x48b8f7[_0x11bc1e(0x1d6)][_0x11bc1e(0x195)]=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x2abb12[_0x11bc1e(0x1a6)]);}return _0x21b548;}catch(_0x3d3f9a){if(_0x2abb12[_0x11bc1e(0x1d3)](_0x3d3f9a[_0x11bc1e(0x188)],![])){testhubUtils[_0x11bc1e(0x1a3)](_0x3d3f9a);return;}}})();}static async[a90_0x397166(0x1ce)](){const _0x2f8148=a90_0x397166,_0x190422={'EbVbn':function(_0x3e1927,_0x35e243,_0x1e36f6){return _0x3e1927(_0x35e243,_0x1e36f6);},'UhoKT':function(_0x344cdc,_0x120fee){return _0x344cdc(_0x120fee);},'IXSdY':function(_0x13c3a3){return _0x13c3a3();},'TVWtl':_0x2f8148(0x17e)};if(processedTraceZips)return;const _0x265edf=TestDetails[_0x2f8148(0x1ec)]();_0x265edf[_0x2f8148(0x1d7)](({testUId:_0x4b6b0d,filePath:_0x25e5c7})=>{const _0x24f248=_0x2f8148;var _0x4a7eb9=_0x190422[_0x24f248(0x1d9)](uploadTraceZip,_0x25e5c7,_0x4b6b0d);_0x190422['UhoKT'](addEvent,_0x4a7eb9);});try{await _0x190422[_0x2f8148(0x1a0)](awaitAllEvents),logger['debug'](_0x190422[_0x2f8148(0x1e3)]),processedTraceZips=!![];}catch(_0x1ca186){logger[_0x2f8148(0x1a4)](_0x2f8148(0x1b2)+util[_0x2f8148(0x1dc)](_0x1ca186));}}static async[a90_0x397166(0x16d)](_0x2c44b9,_0x100c32){const _0x18c597=a90_0x397166;if(constants[_0x18c597(0x16e)][_0x18c597(0x1c3)](_0x100c32)){await _0x2c44b9['setupPercy']();return;}_0x2c44b9[_0x18c597(0x1d6)]['percy']&&logger['debug'](_0x18c597(0x169)+_0x100c32+_0x18c597(0x17c));}static[a90_0x397166(0x1d8)](_0x45fc84){const _0x216222=a90_0x397166,_0x155884={};_0x155884[_0x216222(0x1b4)]=_0x45fc84['accessibilityOptions'];const _0x4ab747=_0x155884;return _0x4ab747;}static['getConfig'](_0x29afc4,_0x5017f1){const _0x5a9241=a90_0x397166,_0x405f27={'LHIlB':function(_0x573ce7,_0xfbdd33){return _0x573ce7(_0xfbdd33);}},_0x28abc1={};return _0x28abc1['username']=_0x29afc4,_0x28abc1[_0x5a9241(0x1ad)]=_0x5017f1,{'auth':_0x28abc1,'headers':_0x405f27[_0x5a9241(0x1df)](getDefaultHeaders,![])};}static async[a90_0x397166(0x1db)](_0x24b01b,_0x28dbb4){const _0x4e6635=a90_0x397166,_0x17e32e={'iTfkJ':function(_0x1b79d0,_0x3b0fe3){return _0x1b79d0(_0x3b0fe3);}},_0x225b3c={'project_name':_0x24b01b[_0x4e6635(0x178)]||'','name':_0x24b01b[_0x4e6635(0x19a)]||path[_0x4e6635(0x193)](path['resolve'](process[_0x4e6635(0x16f)]())),'build_identifier':_0x24b01b[_0x4e6635(0x19c)],'description':_0x24b01b['buildDescription']||'','started_at':new Date()[_0x4e6635(0x1ab)](),'tags':_0x17e32e[_0x4e6635(0x191)](getCustomTags,_0x24b01b),'host_info':bsSetupHelper[_0x4e6635(0x1bc)](),'ci_info':bsSetupHelper[_0x4e6635(0x1e2)](),'build_run_identifier':process['env'][_0x4e6635(0x1b6)],'failed_tests_rerun':process[_0x4e6635(0x190)]['BROWSERSTACK_RERUN']||![],'version_control':await bsSetupHelper[_0x4e6635(0x176)](),'accessibility':this[_0x4e6635(0x1d8)](_0x24b01b),'framework_details':testhubUtils[_0x4e6635(0x1c7)](_0x24b01b,_0x28dbb4),'product_map':testhubUtils[_0x4e6635(0x1d2)](_0x24b01b),'browserstackAutomation':bsSetupHelper[_0x4e6635(0x19d)](),'grouping_identifier':process[_0x4e6635(0x190)][_0x4e6635(0x186)]};if(bsSetupHelper[_0x4e6635(0x172)]()[_0x4e6635(0x165)]||bsSetupHelper[_0x4e6635(0x172)]()[_0x4e6635(0x184)]){const _0x4d7c49={};_0x4d7c49[_0x4e6635(0x1ac)]=process[_0x4e6635(0x190)][_0x4e6635(0x1b3)],_0x4d7c49[_0x4e6635(0x17b)]=process['env'][_0x4e6635(0x1ed)],_0x225b3c[_0x4e6635(0x165)]=_0x4d7c49;}return _0x225b3c;}static[a90_0x397166(0x1af)](_0x248aa7,_0x3ff607,_0x292747){const _0x4a52bd=a90_0x397166,_0x5355b2={'BIjpe':function(_0x4d1545){return _0x4d1545();},'MGsjO':function(_0x44f08b,_0x4016a8){return _0x44f08b&&_0x4016a8;},'Bhaza':'true','FUVQh':_0x4a52bd(0x16c),'tySLq':function(_0x44e2db,_0x20ac3f){return _0x44e2db&&_0x20ac3f;}},_0x2c7eab={};if(_0x5355b2[_0x4a52bd(0x18d)](isTestObservabilitySession)){const [_0x61d4f1,_0x66286a,_0x1d5acf]=testhubUtils[_0x4a52bd(0x19f)](_0x3ff607[_0x4a52bd(0x171)],_0x292747[_0x4a52bd(0x1e5)]);if(_0x5355b2['MGsjO'](_0x61d4f1,_0x66286a)){const _0x59057d={};_0x59057d[_0x4a52bd(0x1eb)]=_0x61d4f1,_0x59057d[_0x4a52bd(0x1bb)]=_0x66286a,_0x59057d[_0x4a52bd(0x168)]=_0x1d5acf,_0x2c7eab[testHubConstants['OBSERVABILITY']]=_0x59057d,process[_0x4a52bd(0x190)][_0x4a52bd(0x1a2)]=_0x5355b2[_0x4a52bd(0x1ea)];}else _0x2c7eab[testHubConstants[_0x4a52bd(0x18c)]]={},process[_0x4a52bd(0x190)][_0x4a52bd(0x1a2)]=_0x5355b2[_0x4a52bd(0x1e1)];}else process[_0x4a52bd(0x190)][_0x4a52bd(0x1a2)]=_0x5355b2[_0x4a52bd(0x1e1)];const [_0x54357f,_0xd03ca6]=testhubUtils[_0x4a52bd(0x17d)](_0x3ff607[_0x4a52bd(0x171)]);if(_0x5355b2[_0x4a52bd(0x194)](_0x54357f,_0xd03ca6)){const _0x1582a5={};_0x1582a5['authToken']=_0x54357f,_0x1582a5[_0x4a52bd(0x1bb)]=_0xd03ca6,_0x2c7eab[testHubConstants[_0x4a52bd(0x1ca)]]=_0x1582a5,process[_0x4a52bd(0x190)][_0x4a52bd(0x1c4)]=_0x5355b2[_0x4a52bd(0x1ea)];}else _0x2c7eab[testHubConstants[_0x4a52bd(0x1ca)]]={},process['env'][_0x4a52bd(0x1c4)]=_0x5355b2[_0x4a52bd(0x1e1)];return testhubUtils[_0x4a52bd(0x1d1)](_0x3ff607[_0x4a52bd(0x171)]),logger['info'](_0x4a52bd(0x1be)+process[_0x4a52bd(0x190)]['BROWSERSTACK_TESTHUB_UUID']),_0x2c7eab;}static async[a90_0x397166(0x1b8)](_0x3e4f22){const _0x2d9385=a90_0x397166,_0x4dc8bd={'MlbIM':function(_0x3865af,_0x467f9c){return _0x3865af===_0x467f9c;},'CxWZm':'false','rlrDl':_0x2d9385(0x18a),'pRrUX':_0x2d9385(0x192),'svqnW':_0x2d9385(0x1a4),'IXmXK':'Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','fMNbM':_0x2d9385(0x1a5),'xyORp':_0x2d9385(0x1a9),'XbkPq':function(_0x1ecebd){return _0x1ecebd();},'pFsYh':function(_0x17e32a,_0x343483,_0x55e706,_0x4b993d,_0x360b3c,_0x3ec597){return _0x17e32a(_0x343483,_0x55e706,_0x4b993d,_0x360b3c,_0x3ec597);},'owdIZ':_0x2d9385(0x185),'UcCts':_0x2d9385(0x1cd),'qyxeL':_0x2d9385(0x188)};await this[_0x2d9385(0x1ce)](),await PerformanceTester['measureWrapper'](PerformanceEvents[_0x2d9385(0x1cc)],async()=>{const _0xf5c6eb=_0x2d9385;if(_0x4dc8bd[_0xf5c6eb(0x1d5)](process[_0xf5c6eb(0x190)]['BS_TESTOPS_BUILD_COMPLETED'],_0x4dc8bd[_0xf5c6eb(0x18e)])||TestHubHandler[_0xf5c6eb(0x167)]||bsSetupHelper['isUndefined'](process[_0xf5c6eb(0x190)][testHubConstants['ENV_VAR'][_0xf5c6eb(0x1a7)]]))return;TestHubHandler['buildStopSent']=!![],await RequestQueueHandler['getInstance']()[_0xf5c6eb(0x1e6)](),await SessionHandler[_0xf5c6eb(0x1e9)]();if(_0x4dc8bd[_0xf5c6eb(0x1d5)](process[_0xf5c6eb(0x190)][testHubConstants['ENV_VAR'][_0xf5c6eb(0x1a7)]],_0x4dc8bd[_0xf5c6eb(0x187)])||_0x4dc8bd[_0xf5c6eb(0x1d5)](process[_0xf5c6eb(0x190)][testHubConstants[_0xf5c6eb(0x1d0)]['BROWSERSTACK_TESTHUB_UUID']],_0x4dc8bd[_0xf5c6eb(0x187)])){logger[_0xf5c6eb(0x181)](_0x4dc8bd[_0xf5c6eb(0x182)]);const _0x3b4a51={};return _0x3b4a51['status']=_0x4dc8bd[_0xf5c6eb(0x19e)],_0x3b4a51['message']=_0x4dc8bd['IXmXK'],_0x3b4a51;}const _0x47a8bc={'finished_at':new Date()[_0xf5c6eb(0x1ab)](),'finished_metadata':[]};!!_0x3e4f22&&_0x47a8bc[_0x4dc8bd['fMNbM']][_0xf5c6eb(0x189)]({'reason':_0x4dc8bd[_0xf5c6eb(0x1a1)],'signal':_0x3e4f22,'failure_data':''});const _0x2a5ce4={'headers':_0x4dc8bd['XbkPq'](getDefaultHeaders)};try{const _0x4fc9c2=await _0x4dc8bd['pFsYh'](nodeRequest,_0x4dc8bd['owdIZ'],_0xf5c6eb(0x1c1)+process[_0xf5c6eb(0x190)][testHubConstants[_0xf5c6eb(0x1d0)][_0xf5c6eb(0x1b1)]]+_0xf5c6eb(0x1e4),_0x47a8bc,_0x2a5ce4,![]);if(_0x4fc9c2['data']&&_0x4fc9c2[_0xf5c6eb(0x171)][_0xf5c6eb(0x1a4)]){const _0x4033e3={};_0x4033e3[_0xf5c6eb(0x179)]=_0x4fc9c2[_0xf5c6eb(0x171)][_0xf5c6eb(0x1a4)];throw _0x4033e3;}else{logger[_0xf5c6eb(0x181)](_0x4dc8bd['UcCts']);const _0x33774a={};return _0x33774a[_0xf5c6eb(0x1ba)]=_0x4dc8bd['qyxeL'],_0x33774a[_0xf5c6eb(0x179)]='',_0x33774a;}}catch(_0x489ae1){_0x489ae1['response']?logger[_0xf5c6eb(0x181)]('EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20'+_0x489ae1[_0xf5c6eb(0x180)]['status']+'\x20'+_0x489ae1[_0xf5c6eb(0x180)][_0xf5c6eb(0x1dd)]+'\x20'+JSON['stringify'](_0x489ae1['response'][_0xf5c6eb(0x171)])):logger[_0xf5c6eb(0x181)](_0xf5c6eb(0x177)+(_0x489ae1[_0xf5c6eb(0x179)]||_0x489ae1));const _0x12833a={};return _0x12833a[_0xf5c6eb(0x1ba)]=_0x4dc8bd['svqnW'],_0x12833a[_0xf5c6eb(0x179)]=_0x489ae1['message']||_0x489ae1[_0xf5c6eb(0x180)]?_0x489ae1['response'][_0xf5c6eb(0x1ba)]+':'+_0x489ae1[_0xf5c6eb(0x180)][_0xf5c6eb(0x1dd)]:_0x489ae1,_0x12833a;}})();}}module[a90_0x397166(0x1c2)]=TestHubHandler;function a90_0x30de(){const _0x56e89f=['push','null','add','OBSERVABILITY','BIjpe','CxWZm','BROWSERSTACK_PRODUCT_MAP','env','iTfkJ','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','basename','tySLq','accessibility','eRics','49695yqsOgc','./utils.js','getProductMap','buildName','1237328uUNbwM','buildIdentifier','isBrowserstackInfra','svqnW','setTestObservabilityVariables','IXSdY','xyORp','BROWSERSTACK_TEST_OBSERVABILITY','logBuildError','error','finished_metadata','jjQRB','BROWSERSTACK_TESTHUB_JWT','fnYxc','user_killed','framework','toISOString','job_id','password','10ZIBGja','extractDataFromResponse','2135875JwPvjf','BROWSERSTACK_TESTHUB_UUID','Error\x20while\x20waiting\x20for\x20events:\x20','BROWSERSTACK_CENTRAL_SCANNER_JOBID','settings','true','BROWSERSTACK_BUILD_RUN_IDENTIFIER','getUserName','stop','TESTHUB_BUILD_API','status','buildHashedId','getHostInfo','allSettled','Testhub\x20started\x20with\x20id:\x20','6ZrTOOW','FWxQN','api/v1/builds/','exports','includes','BROWSERSTACK_ACCESSIBILITY','../helper','../logger','getFrameworkDetails','getConfig','assign','ACCESSIBILITY','isAccessibilityEnabled','STOP','stopBuildUpstream\x20event\x20successful!','processTraceZips','../../bin/playwright/reporter/pwUtils.js','ENV_VAR','setTestHubCommonMetaInfo','getProductMapForBuildStartCall','Nilia','8664129jFjicJ','MlbIM','config','forEach','getAccessibilityOptions','EbVbn','Gqsgz','generateBuildUpstreamData','format','statusText','../performance/constants','LHIlB','4447825xhUECi','FUVQh','getCiInfo','TVWtl','/stop','auth','uploadPending','getAccessKey','765316bKugyA','waitForBuildStatus','Bhaza','jwt','getTraceFilePaths','BROWSERSTACK_CENTRAL_SCANNER_JWT','2656432cYiLaK','getAccessibilityValueFromYml','central_scanner','NkUrD','buildStopSent','allowScreenshot','Percy\x20is\x20not\x20supported\x20for\x20','6bMqTSE','ZuzYe','false','checkAndSetupPercy','PERCY_SUPPORTED_FRAMEWORKS','cwd','ZvMWz','data','getCentralUser','../test-observability/requestQueueHandler.js','./constants.js','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','getGitMetaData','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','projectName','message','../performance/performance-tester.js','token','\x20framework','setAccessibilityVariables','All\x20trace\x20zip\x20send\x20events\x20complete','START','response','debug','pRrUX','winstonLogger','lcnc','PUT','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','rlrDl','success'];a90_0x30de=function(){return _0x56e89f;};return a90_0x30de();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91_0x297bdf=a91_0x493b;(function(_0x3fce04,_0xe6f87c){const _0x1741b7=a91_0x493b,_0x34d185=_0x3fce04();while(!![]){try{const _0x11fac6=parseInt(_0x1741b7(0x1e4))/0x1*(-parseInt(_0x1741b7(0x1ba))/0x2)+-parseInt(_0x1741b7(0x258))/0x3*(parseInt(_0x1741b7(0x246))/0x4)+-parseInt(_0x1741b7(0x1df))/0x5+-parseInt(_0x1741b7(0x1f3))/0x6+parseInt(_0x1741b7(0x1ea))/0x7+parseInt(_0x1741b7(0x237))/0x8*(parseInt(_0x1741b7(0x217))/0x9)+-parseInt(_0x1741b7(0x1ce))/0xa*(-parseInt(_0x1741b7(0x250))/0xb);if(_0x11fac6===_0xe6f87c)break;else _0x34d185['push'](_0x34d185['shift']());}catch(_0x39a289){_0x34d185['push'](_0x34d185['shift']());}}}(a91_0xf77a,0x56f41));const bsSetupHelper=require(a91_0x297bdf(0x22f)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a91_0x297bdf(0x23f)),logger=require(a91_0x297bdf(0x254))['winstonLogger'],{nestedKeyValue}=require(a91_0x297bdf(0x1b6)),scripts=require(a91_0x297bdf(0x1f9)),globals=require(a91_0x297bdf(0x259)),testHubConstants=require(a91_0x297bdf(0x257)),PWTestDetails=require(a91_0x297bdf(0x240)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a91_0x297bdf(0x1f6)),{isTurboScaleSession}=require(a91_0x297bdf(0x1b3));function a91_0x493b(_0x58b52f,_0xc107aa){const _0xf77a37=a91_0xf77a();return a91_0x493b=function(_0x493bf9,_0x50edea){_0x493bf9=_0x493bf9-0x1ab;let _0x19efa0=_0xf77a37[_0x493bf9];return _0x19efa0;},a91_0x493b(_0x58b52f,_0xc107aa);}let testData={};exports[a91_0x297bdf(0x1c1)]=_0x28ddee=>{const _0x17128f=a91_0x297bdf,_0x2a8a27={'OFfBv':function(_0x44b9b3){return _0x44b9b3();},'vkJyY':function(_0x131af9,_0x277024){return _0x131af9(_0x277024);}};let _0x2d8c65=![],_0x3c047d=![];if(bsSetupHelper[_0x17128f(0x251)]()&&_0x28ddee[_0x17128f(0x1e5)])_0x3c047d=!![];else bsSetupHelper[_0x17128f(0x251)]()&&(_0x2d8c65=!![]);return Object[_0x17128f(0x1ab)]({'observability':_0x2a8a27[_0x17128f(0x1b0)](isTestObservabilitySession),'accessibility':exports[_0x17128f(0x1f7)](_0x28ddee),'percy':_0x28ddee[_0x17128f(0x1b7)]||![],'automate':_0x2d8c65,'app_automate':_0x3c047d,'turboscale':_0x2a8a27[_0x17128f(0x1db)](isTurboScaleSession,_0x28ddee)},bsSetupHelper[_0x17128f(0x1e0)]());},exports[a91_0x297bdf(0x1e6)]=(_0x26ac88,_0x40df6f)=>{const _0x1c31cb=a91_0x297bdf,_0x1f06e9={'ItGrc':function(_0x25f63c,_0x1ad757){return _0x25f63c(_0x1ad757);},'MuWvC':_0x1c31cb(0x239)};return{'frameworkName':_0x40df6f,'frameworkVersion':_0x1f06e9[_0x1c31cb(0x1ac)](getFrameworkVersion,_0x40df6f),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x1f06e9[_0x1c31cb(0x24f)],'testFramework':bsSetupHelper[_0x1c31cb(0x255)](_0x26ac88,_0x40df6f)};},exports['setPercyFlag']=_0x2fb014=>{const _0x193513=a91_0x297bdf,_0x37aee8={};_0x37aee8['WkYft']=_0x193513(0x1d5),_0x37aee8[_0x193513(0x1ef)]='true';const _0x405c3f=_0x37aee8;process[_0x193513(0x247)][_0x193513(0x1ae)]=_0x405c3f[_0x193513(0x227)],bsSetupHelper[_0x193513(0x253)](_0x2fb014[_0x193513(0x226)][_0x193513(0x1b7)])&&(!_0x2fb014[_0x193513(0x1b7)]||!_0x2fb014[_0x193513(0x1b7)]['isRunning']())&&(process['env'][_0x193513(0x1ae)]=_0x405c3f[_0x193513(0x1ef)]);},exports[a91_0x297bdf(0x1f0)]=()=>{const _0x3b501b=a91_0x297bdf;return bsSetupHelper['isTrue'](process[_0x3b501b(0x247)][_0x3b501b(0x1ae)]);},exports[a91_0x297bdf(0x1f7)]=(_0x5292da={})=>{const _0xd7c000=a91_0x297bdf,_0x29f12f={};_0x29f12f[_0xd7c000(0x23b)]=function(_0x129f2c,_0x5016f6){return _0x129f2c!==_0x5016f6;},_0x29f12f['lFdAe']=function(_0x4beb26,_0x100ba1){return _0x4beb26===_0x100ba1;},_0x29f12f[_0xd7c000(0x22b)]=_0xd7c000(0x224),_0x29f12f[_0xd7c000(0x236)]=function(_0x55fe81,_0x3a837b){return _0x55fe81>_0x3a837b;};const _0x27c528=_0x29f12f;if(_0x27c528[_0xd7c000(0x23b)](process['env'][_0xd7c000(0x219)],undefined))return bsSetupHelper[_0xd7c000(0x253)](process[_0xd7c000(0x247)]['BROWSERSTACK_ACCESSIBILITY']);let _0x337ada=_0x27c528[_0xd7c000(0x1ca)](process[_0xd7c000(0x247)][_0xd7c000(0x203)],_0x27c528[_0xd7c000(0x22b)]);return _0x27c528['baLNR'](Object['keys'](_0x5292da)[_0xd7c000(0x1e1)],0x0)&&(process[_0xd7c000(0x247)][_0xd7c000(0x24c)]=accessibilityHelper[_0xd7c000(0x1ec)](_0x5292da)),_0x337ada=_0x337ada||_0x27c528['lFdAe'](process[_0xd7c000(0x247)][_0xd7c000(0x24c)],_0x27c528['tqzlR']),_0x337ada;},exports['setTestObservabilityVariables']=(_0x531646,_0x22c6d7)=>{const _0x20ee26=a91_0x297bdf,_0x4e7657={'ddRNk':function(_0x30d70e){return _0x30d70e();},'chznQ':'4|3|0|1|2|5','SRKmZ':function(_0xd512c0,_0x10ccf2,_0x3cb67e){return _0xd512c0(_0x10ccf2,_0x3cb67e);},'HbbST':_0x20ee26(0x1d0),'uIwum':_0x20ee26(0x204),'CIGzC':'true'};if(!_0x531646||!_0x531646[_0x20ee26(0x1d0)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x531646[_0x20ee26(0x1d0)][_0x20ee26(0x1fa)])return exports[_0x20ee26(0x1ad)](_0x531646['observability']),[null,null,null];if(_0x4e7657[_0x20ee26(0x208)](isTestObservabilitySession)){const _0x13befa=_0x4e7657['chznQ'][_0x20ee26(0x1e2)]('|');let _0x12d6da=0x0;while(!![]){switch(_0x13befa[_0x12d6da++]){case'0':_0x531646[_0x20ee26(0x248)]&&(process[_0x20ee26(0x247)][_0x20ee26(0x1f2)]=_0x531646[_0x20ee26(0x248)]);continue;case'1':_0x4e7657[_0x20ee26(0x201)](nestedKeyValue,_0x531646,[_0x4e7657[_0x20ee26(0x216)],_0x4e7657[_0x20ee26(0x23a)]])&&(process[_0x20ee26(0x247)][_0x20ee26(0x1ee)]=_0x531646['observability'][_0x20ee26(0x204)][_0x20ee26(0x1cd)][_0x20ee26(0x1c6)]());continue;case'2':logger[_0x20ee26(0x1ed)](_0x20ee26(0x20f)+_0x531646['build_hashed_id']);continue;case'3':if(_0x531646['jwt']){process['env'][_0x20ee26(0x221)]=_0x531646['jwt'];const _0x7a3c26={};_0x7a3c26[_0x20ee26(0x229)]=_0x22c6d7['username'],_0x7a3c26[_0x20ee26(0x213)]=_0x22c6d7[_0x20ee26(0x213)],process['env']['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x20ee26(0x1be)](_0x7a3c26);}continue;case'4':process['env'][_0x20ee26(0x1d8)]=_0x4e7657[_0x20ee26(0x1d6)];continue;case'5':return[_0x531646[_0x20ee26(0x234)],_0x531646[_0x20ee26(0x248)],process[_0x20ee26(0x247)]['BS_TESTOPS_ALLOW_SCREENSHOTS']];}break;}}return[null,null,null];},exports[a91_0x297bdf(0x209)]=_0x2849a5=>{const _0x15669b=a91_0x297bdf,_0xd10a1d={'UcAeT':function(_0x34a7a9,_0x29c22f,_0x19b4ba){return _0x34a7a9(_0x29c22f,_0x19b4ba);},'vXZqK':_0x15669b(0x220),'EPCFt':_0x15669b(0x204),'YMjhz':function(_0x511436,_0x95fc15,_0x37bf86,_0x20777e){return _0x511436(_0x95fc15,_0x37bf86,_0x20777e);},'pAXzh':_0x15669b(0x1b1),'PUiBe':_0x15669b(0x1fc),'jINFm':function(_0x48391a,_0x1803e9,_0x13a36c,_0x3d65a1){return _0x48391a(_0x1803e9,_0x13a36c,_0x3d65a1);},'EKLnx':_0x15669b(0x23d),'dnqaM':_0x15669b(0x1b8)};if(!_0x2849a5[_0x15669b(0x220)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x2849a5[_0x15669b(0x220)][_0x15669b(0x1fa)])return exports[_0x15669b(0x1cb)](_0x2849a5[_0x15669b(0x220)]),[null,null];if(_0xd10a1d['UcAeT'](nestedKeyValue,_0x2849a5,[_0xd10a1d['vXZqK'],_0xd10a1d[_0x15669b(0x1dc)]])){const {accessibilityToken:_0x56f49a,scannerVersion:_0x54a005}=_0xd10a1d[_0x15669b(0x1e3)](jsonifyAccessibilityArray,_0x2849a5['accessibility'][_0x15669b(0x204)][_0x15669b(0x1c8)],_0xd10a1d[_0x15669b(0x21c)],_0xd10a1d[_0x15669b(0x24b)]),_0xe4536={'scripts':_0xd10a1d[_0x15669b(0x1c5)](jsonifyAccessibilityArray,_0x2849a5[_0x15669b(0x220)]['options'][_0x15669b(0x210)],_0xd10a1d[_0x15669b(0x21c)],_0xd10a1d['EKLnx'])};_0xe4536[_0xd10a1d[_0x15669b(0x21b)]]=_0x2849a5[_0x15669b(0x220)][_0x15669b(0x204)][_0x15669b(0x230)][_0x15669b(0x1b8)],scripts['parseFromJson'](_0xe4536),scripts[_0x15669b(0x1b2)]();let _0x3941eb=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x3941eb=!!_0x3941eb?JSON[_0x15669b(0x215)](_0x3941eb):{},_0x3941eb[_0x15669b(0x1eb)]=_0x54a005,process[_0x15669b(0x247)][_0x15669b(0x1bd)]=JSON['stringify'](_0x3941eb),process[_0x15669b(0x247)][_0x15669b(0x207)]=_0x56f49a,logger[_0x15669b(0x1ed)](_0x15669b(0x1c4)+_0x2849a5[_0x15669b(0x248)]),[_0x56f49a,_0x2849a5[_0x15669b(0x248)]];}return[null,null];},exports['handleErrorForObservability']=_0x210e2f=>{const _0x105f79=a91_0x297bdf,_0x2d9839={};_0x2d9839[_0x105f79(0x214)]=_0x105f79(0x1b5),_0x2d9839[_0x105f79(0x1bb)]='null',_0x2d9839[_0x105f79(0x1c7)]=_0x105f79(0x1d5);const _0xe9ff1b=_0x2d9839,_0x148f12=_0xe9ff1b['pOPYg'][_0x105f79(0x1e2)]('|');let _0x3caf59=0x0;while(!![]){switch(_0x148f12[_0x3caf59++]){case'0':process['env'][_0x105f79(0x1f2)]=_0xe9ff1b['YPjMV'];continue;case'1':process[_0x105f79(0x247)][_0x105f79(0x221)]=_0xe9ff1b[_0x105f79(0x1bb)];continue;case'2':process[_0x105f79(0x247)]['BS_TESTOPS_BUILD_COMPLETED']=_0xe9ff1b[_0x105f79(0x1c7)];continue;case'3':exports[_0x105f79(0x1e8)](_0x210e2f,testHubConstants[_0x105f79(0x202)]);continue;case'4':process['env'][_0x105f79(0x20c)]=_0xe9ff1b['YPjMV'];continue;case'5':process[_0x105f79(0x247)][_0x105f79(0x1d3)]=_0xe9ff1b[_0x105f79(0x1bb)];continue;case'6':process['env'][_0x105f79(0x1ee)]=_0xe9ff1b[_0x105f79(0x1bb)];continue;}break;}},exports['handleErrorForAccessibility']=_0x2893e9=>{const _0x49eaa9=a91_0x297bdf,_0x2396da={};_0x2396da[_0x49eaa9(0x242)]=_0x49eaa9(0x1b9),_0x2396da[_0x49eaa9(0x20a)]=_0x49eaa9(0x249),_0x2396da['IXzEB']=_0x49eaa9(0x1d5);const _0x3ba7ca=_0x2396da,_0x21ca77=_0x3ba7ca[_0x49eaa9(0x242)][_0x49eaa9(0x1e2)]('|');let _0x34c4bb=0x0;while(!![]){switch(_0x21ca77[_0x34c4bb++]){case'0':process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x3ba7ca[_0x49eaa9(0x20a)];continue;case'1':process[_0x49eaa9(0x247)][_0x49eaa9(0x24c)]=_0x3ba7ca[_0x49eaa9(0x24d)];continue;case'2':process[_0x49eaa9(0x247)][_0x49eaa9(0x1d3)]=_0x3ba7ca[_0x49eaa9(0x20a)];continue;case'3':process[_0x49eaa9(0x247)][_0x49eaa9(0x203)]=_0x3ba7ca[_0x49eaa9(0x24d)];continue;case'4':exports[_0x49eaa9(0x1e8)](_0x2893e9,testHubConstants[_0x49eaa9(0x1dd)]);continue;}break;}},exports['logBuildError']=(_0xa1cb5b,_0xbb9406='')=>{const _0x1b3c9a=a91_0x297bdf,_0x11f923={};_0x11f923[_0x1b3c9a(0x22c)]=function(_0x5df9ef,_0x183816){return _0x5df9ef===_0x183816;};const _0x2d492d=_0x11f923;if(_0x2d492d[_0x1b3c9a(0x22c)](_0xa1cb5b,undefined)){logger[_0x1b3c9a(0x205)](_0xbb9406[_0x1b3c9a(0x223)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x40732a of _0xa1cb5b[_0x1b3c9a(0x1d7)]){const _0x1287aa=_0x40732a['key'],_0x346dfb=_0x40732a[_0x1b3c9a(0x241)];if(_0x346dfb)switch(_0x1287aa){case testHubConstants[_0x1b3c9a(0x1cc)][_0x1b3c9a(0x233)]:logger[_0x1b3c9a(0x205)](_0x346dfb);break;case testHubConstants[_0x1b3c9a(0x1cc)][_0x1b3c9a(0x1e7)]:logger[_0x1b3c9a(0x1bf)](_0x346dfb);break;case testHubConstants[_0x1b3c9a(0x1cc)][_0x1b3c9a(0x21d)]:logger[_0x1b3c9a(0x205)](_0x346dfb);break;default:logger[_0x1b3c9a(0x205)](_0x346dfb);}}};const jsonifyAccessibilityArray=(_0x5a8690,_0x291db4,_0x3b07e1)=>{const _0x202e5d=a91_0x297bdf,_0x50eea6={};return _0x5a8690[_0x202e5d(0x1de)](_0x224ed7=>{_0x50eea6[_0x224ed7[_0x291db4]]=_0x224ed7[_0x3b07e1];}),_0x50eea6;};exports[a91_0x297bdf(0x1d4)]=_0x38a7ff=>{const _0x5f2460=a91_0x297bdf;_0x38a7ff[_0x5f2460(0x234)]&&(process[_0x5f2460(0x247)][_0x5f2460(0x1d3)]=_0x38a7ff[_0x5f2460(0x234)]);_0x38a7ff[_0x5f2460(0x248)]&&(process[_0x5f2460(0x247)]['BROWSERSTACK_TESTHUB_UUID']=_0x38a7ff['build_hashed_id'],logger['debug'](_0x5f2460(0x1ff)+_0x38a7ff[_0x5f2460(0x248)]));;},exports['shouldProcessEventForTesthub']=(_0x3cdebe='',_0x34bcb4='')=>{const _0xf69a87=a91_0x297bdf,_0xdc0f17={'eveLr':function(_0x4fb923){return _0x4fb923();},'PctEz':function(_0x17e88f,_0x28aef6){return _0x17e88f===_0x28aef6;},'CjSYS':'uploadEventData','ZLUUA':_0xf69a87(0x1b4),'judlr':'CBTSessionCreated','RsCvV':'HookRunStarted','yruvv':'HookRunFinished'};if(exports[_0xf69a87(0x1f0)]()&&!exports[_0xf69a87(0x1f7)]()&&!_0xdc0f17['eveLr'](isTestObservabilitySession)){if(_0xdc0f17[_0xf69a87(0x252)](_0x34bcb4,_0xdc0f17[_0xf69a87(0x212)]))return![];if([_0xdc0f17[_0xf69a87(0x228)],_0xdc0f17['judlr']]['includes'](_0x3cdebe))return![];return!![];}if(exports[_0xf69a87(0x1f7)]()&&!_0xdc0f17['eveLr'](isTestObservabilitySession)){if([_0xdc0f17[_0xf69a87(0x1c9)],_0xdc0f17['yruvv'],_0xdc0f17[_0xf69a87(0x228)]][_0xf69a87(0x1cf)](_0x3cdebe))return![];return!![];}return exports[_0xf69a87(0x1f7)]()||_0xdc0f17['eveLr'](isTestObservabilitySession)||exports['isPercyBuild']();},exports['appendTesthubParams']=(_0x51f855,_0x46b419,_0x5bcfba='',_0x4b8c16)=>{const _0xd1854e=a91_0x297bdf,_0xd6f978={};_0xd6f978['wuoJc']=_0xd1854e(0x238),_0xd6f978['bpGye']=_0xd1854e(0x1da),_0xd6f978[_0xd1854e(0x21e)]=function(_0x22b0d0,_0x1a8d15){return _0x22b0d0===_0x1a8d15;},_0xd6f978[_0xd1854e(0x1fd)]='bstackA11yShouldScan',_0xd6f978[_0xd1854e(0x1c3)]=_0xd1854e(0x1af),_0xd6f978[_0xd1854e(0x200)]=_0xd1854e(0x220),_0xd6f978[_0xd1854e(0x24a)]=function(_0x49887e,_0x1b7ca0){return _0x49887e&&_0x1b7ca0;},_0xd6f978[_0xd1854e(0x20e)]=function(_0x5293b2,_0x1a3060){return _0x5293b2+_0x1a3060;},_0xd6f978[_0xd1854e(0x1f5)]=function(_0xaae536,_0x1c21e5){return _0xaae536&&_0x1c21e5;},_0xd6f978[_0xd1854e(0x1fb)]=function(_0x1a72e1,_0x564db0){return _0x1a72e1===_0x564db0;},_0xd6f978[_0xd1854e(0x24e)]=_0xd1854e(0x1bc),_0xd6f978['EiuRo']=function(_0x392eae,_0x374558){return _0x392eae===_0x374558;},_0xd6f978[_0xd1854e(0x222)]=function(_0x547199,_0xb425a5){return _0x547199&&_0xb425a5;},_0xd6f978[_0xd1854e(0x244)]=_0xd1854e(0x25a);const _0x1cc251=_0xd6f978;if(![_0x1cc251[_0xd1854e(0x1e9)],_0x1cc251[_0xd1854e(0x231)]][_0xd1854e(0x1cf)](_0x46b419)&&exports[_0xd1854e(0x1f7)]()){const _0x28e601={};if(_0x1cc251[_0xd1854e(0x21e)](_0x4b8c16,FRAMEWORKS[_0xd1854e(0x23e)])){const _0x3012d6=globals['getGlobal'](_0x1cc251['WWeeQ'])||accessibilityHelper[_0xd1854e(0x211)](_0x5bcfba[_0xd1854e(0x232)](),!![]),_0x103c68=globals[_0xd1854e(0x1d2)](_0x1cc251[_0xd1854e(0x1c3)]);_0x28e601[_0x1cc251[_0xd1854e(0x200)]]=_0x1cc251[_0xd1854e(0x24a)](_0x103c68,_0x3012d6);}if(_0x1cc251[_0xd1854e(0x21e)](_0x4b8c16,FRAMEWORKS[_0xd1854e(0x21f)])){const _0x3841a3=_0x1cc251[_0xd1854e(0x20e)](_0x1cc251[_0xd1854e(0x20e)](_0x51f855[_0xd1854e(0x22d)]['join']('\x20'),'\x20'),_0x5bcfba['name']),_0x1fd3b9=globals['getGlobal'](_0x1cc251['WWeeQ'])||accessibilityHelper['shouldScanTestForAccessibility'](_0x3841a3,![]),_0x10b32b=browserStackGlobals['isAccessibilityPlatform'];_0x28e601[_0x1cc251[_0xd1854e(0x200)]]=_0x1cc251['EeqEA'](_0x10b32b,_0x1fd3b9);}if(_0x1cc251[_0xd1854e(0x21e)](_0x4b8c16,FRAMEWORKS[_0xd1854e(0x20b)])){if(_0x1cc251['YBtnC'](_0x46b419,_0x1cc251['ERqWi']))return;_0x28e601[_0x1cc251['OCGlc']]=PWTestDetails[_0xd1854e(0x245)](_0x51f855[_0xd1854e(0x243)]);}if(_0x1cc251[_0xd1854e(0x1c2)](_0x4b8c16,FRAMEWORKS['CODECEPT'])){const _0xa869e9=accessibilityHelper[_0xd1854e(0x211)](_0x5bcfba[_0xd1854e(0x232)](),!![]),_0x1f98cf=global['accessibilityPlatform']&&bsSetupHelper['isBrowserstackInfra']();_0x28e601[_0x1cc251[_0xd1854e(0x200)]]=_0x1cc251['TIiPb'](_0x1f98cf,_0xa869e9);}if(_0x1cc251[_0xd1854e(0x1fb)](_0x4b8c16,FRAMEWORKS[_0xd1854e(0x22e)])){const _0x4f6790=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x51f855[_0xd1854e(0x1d1)]),_0x329ccc=globals[_0xd1854e(0x1d2)](_0x1cc251['fvdbY']);_0x28e601[_0x1cc251[_0xd1854e(0x200)]]=_0x1cc251[_0xd1854e(0x1f5)](_0x329ccc,_0x4f6790);}_0x51f855[_0x1cc251[_0xd1854e(0x244)]]=_0x28e601;}},exports[a91_0x297bdf(0x20d)]=_0x3e077a=>{const _0x192c5d=a91_0x297bdf,_0x55b447={};_0x55b447[_0x192c5d(0x22a)]=function(_0x24b3bc,_0x6fd783){return _0x24b3bc>_0x6fd783;},_0x55b447[_0x192c5d(0x1f8)]=function(_0x25e3f1,_0x145507){return _0x25e3f1>_0x145507;};const _0x1069d4=_0x55b447;let _0x5d03c9={};if(_0x1069d4['eWQMM'](Object[_0x192c5d(0x256)](testData)['length'],0x0))return testData;_0x5d03c9=JestTestDetails['getTestData']();if(_0x1069d4[_0x192c5d(0x1f8)](Object[_0x192c5d(0x256)](_0x5d03c9)[_0x192c5d(0x1e1)],0x0))return _0x5d03c9;return _0x5d03c9;},exports['setCurrentTestData']=(_0x539e69,_0xd8514d={})=>{const _0x5b33f8=a91_0x297bdf;if(bsSetupHelper[_0x5b33f8(0x1f1)](_0xd8514d[_0x5b33f8(0x235)]))return;switch(_0x539e69){case FRAMEWORKS[_0x5b33f8(0x23e)]:testData=_0xd8514d[_0x5b33f8(0x235)];break;case FRAMEWORKS[_0x5b33f8(0x21f)]:JestTestDetails[_0x5b33f8(0x23c)](_0xd8514d[_0x5b33f8(0x235)]);break;default:break;}},exports[a91_0x297bdf(0x21a)]=_0x21593b=>{const _0x1530ed=a91_0x297bdf,_0x3ef90e={};_0x3ef90e[_0x1530ed(0x218)]=function(_0x12fd2c,_0x342418){return _0x12fd2c!==_0x342418;},_0x3ef90e[_0x1530ed(0x1c0)]=function(_0x2368a9,_0x335618){return _0x2368a9!==_0x335618;},_0x3ef90e[_0x1530ed(0x1d9)]=function(_0x2484e9,_0x319bd3){return _0x2484e9!==_0x319bd3;},_0x3ef90e[_0x1530ed(0x1fe)]=function(_0x218a41,_0x50841d){return _0x218a41!==_0x50841d;};const _0x170c95=_0x3ef90e;if(_0x170c95[_0x1530ed(0x218)](_0x21593b[_0x1530ed(0x220)],null)&&_0x170c95[_0x1530ed(0x1c0)](_0x21593b[_0x1530ed(0x220)],undefined))return _0x21593b[_0x1530ed(0x220)];let _0x380801=![],_0x5af99d=![];if(_0x21593b[_0x1530ed(0x1f4)])for(const _0x56cbe4 of _0x21593b[_0x1530ed(0x1f4)]){_0x170c95[_0x1530ed(0x1d9)](_0x56cbe4[_0x1530ed(0x220)],null)&&_0x170c95['CrrKQ'](_0x56cbe4[_0x1530ed(0x220)],undefined)&&(_0x380801=_0x380801||bsSetupHelper[_0x1530ed(0x253)](_0x56cbe4['accessibility']),_0x5af99d=!![]);}if(_0x5af99d)return _0x380801;return null;},exports[a91_0x297bdf(0x225)]=_0x3cba40=>{const _0x344f93=a91_0x297bdf,_0x11160d={'uVGBP':function(_0x2ddd9d){return _0x2ddd9d();},'WSYkU':function(_0xc46e46,_0x297bd8){return _0xc46e46(_0x297bd8);}};let _0x180293=![],_0x19b90a=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x3cba40[_0x344f93(0x1e5)])_0x19b90a=!![];else bsSetupHelper[_0x344f93(0x251)]()&&(_0x180293=!![]);return Object[_0x344f93(0x1ab)]({'observability':_0x11160d['uVGBP'](isTestObservabilitySession),'accessibility':exports[_0x344f93(0x21a)](_0x3cba40),'percy':_0x3cba40['percy']||![],'automate':_0x180293,'app_automate':_0x19b90a,'turboscale':_0x11160d[_0x344f93(0x206)](isTurboScaleSession,_0x3cba40)},bsSetupHelper[_0x344f93(0x1e0)]());};function a91_0xf77a(){const _0x582ac6=['ZLUUA','username','eWQMM','tqzlR','Nrdyi','scopes','CUCUMBER','../helper','commandsToWrap','bpGye','titlePath','INVALID_CREDENTIALS','jwt','test_run','baLNR','72hKVLqA','HookRunStarted','javascript','uIwum','KGVOk','setTestData','command','MOCHA','../accessibility-automation/helper','../../bin/playwright/reporter/test-details.js','message','UnEBV','uuid','hvNWw','getAccessibilityPlatformValidation','116ZoeimC','env','build_hashed_id','null','TCefw','PUiBe','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','IXzEB','ERqWi','MuWvC','44473onMuIw','isBrowserstackInfra','PctEz','isTrue','../logger','getTestFrameworkDetails','keys','./constants.js','38844zvGoar','../globals.js','product_map','assign','ItGrc','handleErrorForObservability','BROWSERSTACK_PERCY','isAccessibilityPlatform','OFfBv','name','toJson','../ats/helper','LogCreated','4|5|2|1|0|6|3','../helper.js','percy','commands','0|2|3|1|4','205974pGoMKP','YPjMV','TestRunStarted','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stringify','info','oXsMc','getProductMap','EiuRo','fvdbY','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','jINFm','toString','MkHQg','capabilities','RsCvV','lFdAe','handleErrorForAccessibility','ERROR','allow_screenshots','3340KMRfLS','includes','observability','tags','getGlobal','BROWSERSTACK_TESTHUB_JWT','setTestHubCommonMetaInfo','false','CIGzC','errors','BS_TESTOPS_BUILD_COMPLETED','cABEk','HookRunFinished','vkJyY','EPCFt','ACCESSIBILITY','forEach','1881810PZBlkq','getCentralUser','length','split','YMjhz','6QSbUmc','app','getFrameworkDetails','ACCESS_DENIED','logBuildError','wuoJc','1203972ZUiDeW','scannerVersion','checkAccessibilityPlatformConfig','debug','BS_TESTOPS_ALLOW_SCREENSHOTS','pJKlk','isPercyBuild','isUndefined','BS_TESTOPS_BUILD_HASHED_ID','403224DobtrJ','platforms','EeqEA','../test-observability/constants.js','isAccessibilityEnabled','nihQg','../accessibility-automation/scripts.js','success','YBtnC','value','WWeeQ','CrrKQ','BROWSERSTACK_TESTHUB_UUID:\x20','OCGlc','SRKmZ','OBSERVABILITY','BROWSERSTACK_TEST_ACCESSIBILITY_YML','options','error','WSYkU','BS_A11Y_JWT','ddRNk','setAccessibilityVariables','wVmbn','PLAYWRIGHT','BROWSERSTACK_TESTHUB_UUID','getCurrentTestData','ecbcP','[OBSERVABILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','scripts','shouldScanTestForAccessibility','CjSYS','password','pOPYg','parse','HbbST','270783VQDJuV','fpeEo','BROWSERSTACK_ACCESSIBILITY','getAccessibilityValueFromYml','dnqaM','pAXzh','DEPRECATED','ideBA','JEST','accessibility','BS_TESTOPS_JWT','TIiPb','toUpperCase','true','getProductMapForBuildStartCall','config','WkYft'];a91_0xf77a=function(){return _0x582ac6;};return a91_0xf77a();}
|
|
1
|
+
const a91_0x381bc3=a91_0x208f;(function(_0x1bd10d,_0x5a66a6){const _0x374008=a91_0x208f,_0x5758b5=_0x1bd10d();while(!![]){try{const _0x4b0cc1=parseInt(_0x374008(0xec))/0x1+-parseInt(_0x374008(0x188))/0x2*(-parseInt(_0x374008(0x133))/0x3)+parseInt(_0x374008(0x155))/0x4+-parseInt(_0x374008(0x113))/0x5*(-parseInt(_0x374008(0x154))/0x6)+-parseInt(_0x374008(0x123))/0x7+-parseInt(_0x374008(0x15d))/0x8*(-parseInt(_0x374008(0x189))/0x9)+parseInt(_0x374008(0x139))/0xa*(-parseInt(_0x374008(0x18b))/0xb);if(_0x4b0cc1===_0x5a66a6)break;else _0x5758b5['push'](_0x5758b5['shift']());}catch(_0x392dd6){_0x5758b5['push'](_0x5758b5['shift']());}}}(a91_0x4aff,0x9cdd1));function a91_0x208f(_0x18994c,_0x15e790){const _0x4aff37=a91_0x4aff();return a91_0x208f=function(_0x208f26,_0x30f13f){_0x208f26=_0x208f26-0xde;let _0x488fcc=_0x4aff37[_0x208f26];return _0x488fcc;},a91_0x208f(_0x18994c,_0x15e790);}const bsSetupHelper=require(a91_0x381bc3(0x14c)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require('../accessibility-automation/helper'),logger=require('../logger')['winstonLogger'],{nestedKeyValue}=require(a91_0x381bc3(0x178)),scripts=require(a91_0x381bc3(0x18d)),globals=require(a91_0x381bc3(0x185)),testHubConstants=require(a91_0x381bc3(0x10a)),PWTestDetails=require(a91_0x381bc3(0x137)),JestTestDetails=require(a91_0x381bc3(0xf8)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a91_0x381bc3(0x10c));function a91_0x4aff(){const _0xbf2cc1=['ElElV','ThEzL','DEPRECATED','ItxDb','includes','BROWSERSTACK_PERCY','TLkVY','CREDENTIALS_FOR_CRASH_REPORTING','tPyaZ','./constants.js','toJson','../ats/helper','split','fotTe','ACCESSIBILITY','length','HookRunFinished','1|4|3|2|0','5602885QcXibA','isBrowserstackInfra','getProductMap','logBuildError','JCkaQ','BS_TESTOPS_ALLOW_SCREENSHOTS','parseFromJson','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','uZbxZ','error','Rpbas','ctEAB','value','CAJRN','getCurrentTestData','WKDjl','5706281clafof','BROWSERSTACK_TESTHUB_UUID','KMunQ','fHUEK','command','username','isAccessibilityEnabled','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','MUirw','koqmY','getAccessibilityValueFromYml','MOCHA','isPercyBuild','toString','Blhed','tags','818751bKVAcY','commands','accessibility','setAccessibilityVariables','../../bin/playwright/reporter/test-details.js','MEKiF','70VBtZSp','WHuVc','XEnWu','errors','false','config','BS_TESTOPS_BUILD_COMPLETED','percy','success','qbTjm','getGlobal','jdXEL','isRunning','assign','handleErrorForAccessibility','SGKga','message','JEST','bstackA11yShouldScan','../helper','forEach','debug','setTestObservabilityVariables','fXeSz','test_run','true','dBPcO','6WUdief','5032444bVRfDG','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','RBYHe','build_hashed_id','capabilities','jOmnV','BS_A11Y_JWT','EbxiU','56RDUFtk','GdEvr','RpWSb','options','vfyBd','LogCreated','titlePath','uuid','DafiG','\x20Build\x20creation\x20failed','jwt','getAccessibilityPlatformValidation','setCurrentTestData','HookRunStarted','isTrue','dwrvT','mkoLj','QcAGy','getCentralUser','olUse','env','PnjYQ','null','inyZN','BS_TESTOPS_JWT','bMNPs','isUndefined','../helper.js','parse','observability','keys','join','RJlPX','BROWSERSTACK_ACCESSIBILITY','app','jfmSa','INVALID_CREDENTIALS','scannerVersion','BS_TESTOPS_BUILD_HASHED_ID','xVCET','../globals.js','shouldProcessEventForTesthub','xENJe','8aVQRbX','1046583mZsILD','VmaDc','5732837AOJFAu','BROWSERSTACK_TESTHUB_JWT','../accessibility-automation/scripts.js','shouldScanTestForAccessibility','[OBSERVABILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','OzVHE','commandsToWrap','vYlSk','rxwXv','BROWSERSTACK_TESTHUB_UUID:\x20','Tzoqd','name','javascript','SosIc','CBTSessionCreated','ERROR','ShsNc','OBSERVABILITY','821500HgLZdX','aatXE','isAccessibilityPlatform','envVr','stringify','CODECEPT','TYxNk','bnLYZ','key','setTestData','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibilityPlatform','../../bin/jest/test-observability/test-details.js','info','uploadEventData','platforms','handleErrorForObservability','ACCESS_DENIED','password','dvJGE','KJpkr'];a91_0x4aff=function(){return _0xbf2cc1;};return a91_0x4aff();}let testData={};exports[a91_0x381bc3(0x115)]=_0x264e70=>{const _0x2b1115=a91_0x381bc3,_0x2a9656={'SGKga':function(_0x31edf0){return _0x31edf0();},'bMNPs':function(_0x2a2b74,_0x55454b){return _0x2a2b74(_0x55454b);}};let _0xd2a10e=![],_0x301bfd=![];if(bsSetupHelper[_0x2b1115(0x114)]()&&_0x264e70[_0x2b1115(0x17f)])_0x301bfd=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0xd2a10e=!![]);return Object[_0x2b1115(0x146)]({'observability':_0x2a9656[_0x2b1115(0x148)](isTestObservabilitySession),'accessibility':exports[_0x2b1115(0x129)](_0x264e70),'percy':_0x264e70[_0x2b1115(0x140)]||![],'automate':_0xd2a10e,'app_automate':_0x301bfd,'turboscale':_0x2a9656[_0x2b1115(0x176)](isTurboScaleSession,_0x264e70)},bsSetupHelper[_0x2b1115(0x16f)]());},exports['getFrameworkDetails']=(_0x53a527,_0x44c085)=>{const _0x368825=a91_0x381bc3,_0x4949f2={'fotTe':function(_0x4a2d46,_0x2cceb8){return _0x4a2d46(_0x2cceb8);},'jfmSa':_0x368825(0xe6)};return{'frameworkName':_0x44c085,'frameworkVersion':_0x4949f2[_0x368825(0x10e)](getFrameworkVersion,_0x44c085),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x4949f2[_0x368825(0x180)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x53a527,_0x44c085)};},exports['setPercyFlag']=_0x268aa8=>{const _0x5c100f=a91_0x381bc3,_0x20dda5={};_0x20dda5[_0x5c100f(0x187)]=_0x5c100f(0x13d),_0x20dda5['ElElV']=_0x5c100f(0x152);const _0x5c471f=_0x20dda5;process[_0x5c100f(0x171)][_0x5c100f(0x106)]=_0x5c471f['xENJe'],bsSetupHelper[_0x5c100f(0x16b)](_0x268aa8[_0x5c100f(0x13e)]['percy'])&&(!_0x268aa8[_0x5c100f(0x140)]||!_0x268aa8[_0x5c100f(0x140)][_0x5c100f(0x145)]())&&(process[_0x5c100f(0x171)][_0x5c100f(0x106)]=_0x5c471f[_0x5c100f(0x101)]);},exports[a91_0x381bc3(0x12f)]=()=>{const _0x5ebd15=a91_0x381bc3;return bsSetupHelper['isTrue'](process[_0x5ebd15(0x171)][_0x5ebd15(0x106)]);},exports['isAccessibilityEnabled']=(_0x1b1cff={})=>{const _0x36272c=a91_0x381bc3,_0x2a283f={};_0x2a283f[_0x36272c(0x161)]=function(_0x18bb52,_0x3616cd){return _0x18bb52!==_0x3616cd;},_0x2a283f[_0x36272c(0xe1)]=function(_0x2a7d3f,_0x26a93d){return _0x2a7d3f===_0x26a93d;},_0x2a283f[_0x36272c(0x109)]='true',_0x2a283f[_0x36272c(0x157)]=function(_0x4a7dbc,_0x4bd4e7){return _0x4a7dbc>_0x4bd4e7;};const _0x1e0a88=_0x2a283f;if(_0x1e0a88[_0x36272c(0x161)](process['env'][_0x36272c(0x17e)],undefined))return bsSetupHelper[_0x36272c(0x16b)](process[_0x36272c(0x171)]['BROWSERSTACK_ACCESSIBILITY']);let _0xb95c0d=_0x1e0a88[_0x36272c(0xe1)](process[_0x36272c(0x171)][_0x36272c(0xf6)],_0x1e0a88['tPyaZ']);return _0x1e0a88[_0x36272c(0x157)](Object['keys'](_0x1b1cff)[_0x36272c(0x110)],0x0)&&(process[_0x36272c(0x171)][_0x36272c(0x12a)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1b1cff)),_0xb95c0d=_0xb95c0d||_0x1e0a88[_0x36272c(0xe1)](process['env'][_0x36272c(0x12a)],_0x1e0a88['tPyaZ']),_0xb95c0d;},exports[a91_0x381bc3(0x14f)]=(_0x12a0a9,_0xd0304d)=>{const _0x31dc2d=a91_0x381bc3,_0x2ece17={'cQehA':function(_0x5c72c4){return _0x5c72c4();},'CAJRN':'2|3|1|0|5|4','GdEvr':function(_0x26b2a1,_0xad5826,_0x1497cb){return _0x26b2a1(_0xad5826,_0x1497cb);},'dwrvT':'observability','ThEzL':_0x31dc2d(0x160),'fHUEK':_0x31dc2d(0x152)};if(!_0x12a0a9||!_0x12a0a9['observability'])return exports[_0x31dc2d(0xfc)](),[null,null,null];if(!_0x12a0a9['observability'][_0x31dc2d(0x141)])return exports[_0x31dc2d(0xfc)](_0x12a0a9[_0x31dc2d(0x17a)]),[null,null,null];if(_0x2ece17['cQehA'](isTestObservabilitySession)){const _0x395f21=_0x2ece17[_0x31dc2d(0x120)]['split']('|');let _0x4cc4fc=0x0;while(!![]){switch(_0x395f21[_0x4cc4fc++]){case'0':_0x2ece17[_0x31dc2d(0x15e)](nestedKeyValue,_0x12a0a9,[_0x2ece17[_0x31dc2d(0x16c)],_0x2ece17[_0x31dc2d(0x102)]])&&(process[_0x31dc2d(0x171)][_0x31dc2d(0x118)]=_0x12a0a9[_0x31dc2d(0x17a)][_0x31dc2d(0x160)]['allow_screenshots'][_0x31dc2d(0x130)]());continue;case'1':_0x12a0a9[_0x31dc2d(0x158)]&&(process[_0x31dc2d(0x171)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x12a0a9[_0x31dc2d(0x158)]);continue;case'2':process[_0x31dc2d(0x171)][_0x31dc2d(0x13f)]=_0x2ece17[_0x31dc2d(0x126)];continue;case'3':if(_0x12a0a9[_0x31dc2d(0x167)]){process['env'][_0x31dc2d(0x175)]=_0x12a0a9[_0x31dc2d(0x167)];const _0x5e587c={};_0x5e587c[_0x31dc2d(0x128)]=_0xd0304d[_0x31dc2d(0x128)],_0x5e587c[_0x31dc2d(0xfe)]=_0xd0304d[_0x31dc2d(0xfe)],process['env'][_0x31dc2d(0x108)]=JSON[_0x31dc2d(0xf0)](_0x5e587c);}continue;case'4':return[_0x12a0a9['jwt'],_0x12a0a9[_0x31dc2d(0x158)],process[_0x31dc2d(0x171)][_0x31dc2d(0x118)]];case'5':logger['debug'](_0x31dc2d(0xde)+_0x12a0a9['build_hashed_id']);continue;}break;}}return[null,null,null];},exports[a91_0x381bc3(0x136)]=_0x2b0d13=>{const _0x525b61=a91_0x381bc3,_0x6f87c8={'Tzoqd':function(_0x4b214e,_0x3a3b1e,_0x9fd97){return _0x4b214e(_0x3a3b1e,_0x9fd97);},'WKDjl':_0x525b61(0x135),'KJpkr':_0x525b61(0x160),'inyZN':function(_0x36d90d,_0x56d6ff,_0x1bb528,_0x141b3f){return _0x36d90d(_0x56d6ff,_0x1bb528,_0x141b3f);},'EbxiU':_0x525b61(0xe5),'ItxDb':_0x525b61(0x11f),'Blhed':function(_0x51db72,_0x389151,_0x453828,_0x1a31ad){return _0x51db72(_0x389151,_0x453828,_0x1a31ad);},'bnLYZ':_0x525b61(0x127),'rxwXv':_0x525b61(0x134)};if(!_0x2b0d13[_0x525b61(0x135)])return exports[_0x525b61(0x147)](),[null,null];if(!_0x2b0d13[_0x525b61(0x135)]['success'])return exports[_0x525b61(0x147)](_0x2b0d13['accessibility']),[null,null];if(_0x6f87c8[_0x525b61(0xe4)](nestedKeyValue,_0x2b0d13,[_0x6f87c8[_0x525b61(0x122)],_0x6f87c8[_0x525b61(0x100)]])){const {accessibilityToken:_0x142bf7,scannerVersion:_0x4408d2}=_0x6f87c8[_0x525b61(0x174)](jsonifyAccessibilityArray,_0x2b0d13[_0x525b61(0x135)][_0x525b61(0x160)][_0x525b61(0x159)],_0x6f87c8[_0x525b61(0x15c)],_0x6f87c8[_0x525b61(0x104)]),_0x28f7f9={'scripts':_0x6f87c8[_0x525b61(0x131)](jsonifyAccessibilityArray,_0x2b0d13[_0x525b61(0x135)][_0x525b61(0x160)]['scripts'],_0x6f87c8[_0x525b61(0x15c)],_0x6f87c8[_0x525b61(0xf3)])};_0x28f7f9[_0x6f87c8[_0x525b61(0xe2)]]=_0x2b0d13['accessibility'][_0x525b61(0x160)][_0x525b61(0xe0)][_0x525b61(0x134)],scripts[_0x525b61(0x119)](_0x28f7f9),scripts[_0x525b61(0x10b)]();let _0x1ba8ee=process['env'][_0x525b61(0x156)];return _0x1ba8ee=!!_0x1ba8ee?JSON[_0x525b61(0x179)](_0x1ba8ee):{},_0x1ba8ee[_0x525b61(0x182)]=_0x4408d2,process[_0x525b61(0x171)][_0x525b61(0x156)]=JSON[_0x525b61(0xf0)](_0x1ba8ee),process[_0x525b61(0x171)][_0x525b61(0x15b)]=_0x142bf7,logger[_0x525b61(0x14e)](_0x525b61(0x11a)+_0x2b0d13['build_hashed_id']),[_0x142bf7,_0x2b0d13[_0x525b61(0x158)]];}return[null,null];},exports[a91_0x381bc3(0xfc)]=_0x5e6f9e=>{const _0x352d23=a91_0x381bc3,_0x3ddf29={};_0x3ddf29['koqmY']='5|1|4|3|6|0|2',_0x3ddf29[_0x352d23(0xff)]='null',_0x3ddf29[_0x352d23(0x138)]=_0x352d23(0x13d);const _0x598954=_0x3ddf29,_0x2f464a=_0x598954[_0x352d23(0x12c)][_0x352d23(0x10d)]('|');let _0x5f4262=0x0;while(!![]){switch(_0x2f464a[_0x5f4262++]){case'0':process[_0x352d23(0x171)][_0x352d23(0x118)]=_0x598954[_0x352d23(0xff)];continue;case'1':process[_0x352d23(0x171)][_0x352d23(0x18c)]=_0x598954[_0x352d23(0xff)];continue;case'2':exports[_0x352d23(0x116)](_0x5e6f9e,testHubConstants[_0x352d23(0xeb)]);continue;case'3':process[_0x352d23(0x171)][_0x352d23(0x175)]=_0x598954[_0x352d23(0xff)];continue;case'4':process['env'][_0x352d23(0x13f)]=_0x598954['MEKiF'];continue;case'5':process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x598954[_0x352d23(0xff)];continue;case'6':process[_0x352d23(0x171)][_0x352d23(0x183)]=_0x598954[_0x352d23(0xff)];continue;}break;}},exports[a91_0x381bc3(0x147)]=_0x5cfbeb=>{const _0xadb595=a91_0x381bc3,_0x5d80bd={};_0x5d80bd[_0xadb595(0x172)]=_0xadb595(0x112),_0x5d80bd['JCkaQ']=_0xadb595(0x173),_0x5d80bd['SosIc']=_0xadb595(0x13d);const _0x42c93f=_0x5d80bd,_0x29dd56=_0x42c93f['PnjYQ']['split']('|');let _0x186514=0x0;while(!![]){switch(_0x29dd56[_0x186514++]){case'0':exports[_0xadb595(0x116)](_0x5cfbeb,testHubConstants[_0xadb595(0x10f)]);continue;case'1':process[_0xadb595(0x171)][_0xadb595(0x124)]=_0x42c93f[_0xadb595(0x117)];continue;case'2':process[_0xadb595(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x42c93f[_0xadb595(0xe7)];continue;case'3':process[_0xadb595(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x42c93f[_0xadb595(0xe7)];continue;case'4':process[_0xadb595(0x171)][_0xadb595(0x18c)]=_0x42c93f[_0xadb595(0x117)];continue;}break;}},exports[a91_0x381bc3(0x116)]=(_0x2738b7,_0x37580f='')=>{const _0x3e5bb3=a91_0x381bc3,_0x48435a={};_0x48435a['kGrIo']=function(_0x4d7b04,_0x406cce){return _0x4d7b04===_0x406cce;};const _0x23addd=_0x48435a;if(_0x23addd['kGrIo'](_0x2738b7,undefined)){logger[_0x3e5bb3(0x11c)](_0x37580f['toUpperCase']()+_0x3e5bb3(0x166));return;}for(const _0x3df636 of _0x2738b7[_0x3e5bb3(0x13c)]){const _0x3f3513=_0x3df636[_0x3e5bb3(0xf4)],_0x5a75fb=_0x3df636[_0x3e5bb3(0x149)];if(_0x5a75fb)switch(_0x3f3513){case testHubConstants[_0x3e5bb3(0xe9)][_0x3e5bb3(0x181)]:logger[_0x3e5bb3(0x11c)](_0x5a75fb);break;case testHubConstants[_0x3e5bb3(0xe9)][_0x3e5bb3(0xfd)]:logger[_0x3e5bb3(0xf9)](_0x5a75fb);break;case testHubConstants[_0x3e5bb3(0xe9)][_0x3e5bb3(0x103)]:logger['error'](_0x5a75fb);break;default:logger[_0x3e5bb3(0x11c)](_0x5a75fb);}}};const jsonifyAccessibilityArray=(_0x1a322b,_0x35c0ad,_0x2ae0ad)=>{const _0x57e688=a91_0x381bc3,_0x36253d={};return _0x1a322b[_0x57e688(0x14d)](_0x42902c=>{_0x36253d[_0x42902c[_0x35c0ad]]=_0x42902c[_0x2ae0ad];}),_0x36253d;};exports['setTestHubCommonMetaInfo']=_0x511852=>{const _0x23b4e0=a91_0x381bc3;_0x511852[_0x23b4e0(0x167)]&&(process[_0x23b4e0(0x171)]['BROWSERSTACK_TESTHUB_JWT']=_0x511852['jwt']);_0x511852['build_hashed_id']&&(process[_0x23b4e0(0x171)][_0x23b4e0(0x124)]=_0x511852['build_hashed_id'],logger[_0x23b4e0(0x14e)](_0x23b4e0(0xe3)+_0x511852[_0x23b4e0(0x158)]));;},exports[a91_0x381bc3(0x186)]=(_0xd7184b='',_0x1b1aae='')=>{const _0x5a3e9c=a91_0x381bc3,_0x30ee64={'UlmGb':function(_0x2500db){return _0x2500db();},'jdXEL':function(_0x2592e2,_0x24df6d){return _0x2592e2===_0x24df6d;},'envVr':_0x5a3e9c(0xfa),'WHuVc':_0x5a3e9c(0x162),'qbTjm':_0x5a3e9c(0xe8),'DafiG':_0x5a3e9c(0x16a),'XEnWu':_0x5a3e9c(0x111)};if(exports[_0x5a3e9c(0x12f)]()&&!exports[_0x5a3e9c(0x129)]()&&!_0x30ee64['UlmGb'](isTestObservabilitySession)){if(_0x30ee64[_0x5a3e9c(0x144)](_0x1b1aae,_0x30ee64[_0x5a3e9c(0xef)]))return![];if([_0x30ee64[_0x5a3e9c(0x13a)],_0x30ee64[_0x5a3e9c(0x142)]]['includes'](_0xd7184b))return![];return!![];}if(exports[_0x5a3e9c(0x129)]()&&!_0x30ee64['UlmGb'](isTestObservabilitySession)){if([_0x30ee64[_0x5a3e9c(0x165)],_0x30ee64[_0x5a3e9c(0x13b)],_0x30ee64[_0x5a3e9c(0x13a)]][_0x5a3e9c(0x105)](_0xd7184b))return![];return!![];}return exports[_0x5a3e9c(0x129)]()||_0x30ee64['UlmGb'](isTestObservabilitySession)||exports[_0x5a3e9c(0x12f)]();},exports['appendTesthubParams']=(_0x57162f,_0x5846e2,_0xde435='',_0x18163a)=>{const _0x5c14ef=a91_0x381bc3,_0x52d922={};_0x52d922['fXeSz']=_0x5c14ef(0x16a),_0x52d922[_0x5c14ef(0xed)]=_0x5c14ef(0x111),_0x52d922['RJlPX']=function(_0x32295d,_0x253dfe){return _0x32295d===_0x253dfe;},_0x52d922['RpWSb']=_0x5c14ef(0x14b),_0x52d922[_0x5c14ef(0x153)]=_0x5c14ef(0xee),_0x52d922[_0x5c14ef(0x11d)]=_0x5c14ef(0x135),_0x52d922['ShsNc']=function(_0x59003,_0x20e01b){return _0x59003&&_0x20e01b;},_0x52d922[_0x5c14ef(0x11b)]=function(_0x46634f,_0x532f30){return _0x46634f+_0x532f30;},_0x52d922[_0x5c14ef(0x184)]=function(_0x327a93,_0x52bdf4){return _0x327a93&&_0x52bdf4;},_0x52d922['jOmnV']=function(_0xa6fdc2,_0x323a7f){return _0xa6fdc2===_0x323a7f;},_0x52d922[_0x5c14ef(0x107)]='TestRunStarted',_0x52d922[_0x5c14ef(0x16e)]=function(_0x3e04ec,_0x200c61){return _0x3e04ec&&_0x200c61;},_0x52d922['mkoLj']=function(_0x569f76,_0x68c420){return _0x569f76===_0x68c420;},_0x52d922[_0x5c14ef(0xf2)]='product_map';const _0x12ea23=_0x52d922;if(![_0x12ea23[_0x5c14ef(0x150)],_0x12ea23[_0x5c14ef(0xed)]]['includes'](_0x5846e2)&&exports[_0x5c14ef(0x129)]()){const _0x5d278d={};if(_0x12ea23[_0x5c14ef(0x17d)](_0x18163a,FRAMEWORKS['MOCHA'])){const _0x5e00f7=globals[_0x5c14ef(0x143)](_0x12ea23[_0x5c14ef(0x15f)])||accessibilityHelper[_0x5c14ef(0x18e)](_0xde435['titlePath'](),!![]),_0x224d74=globals['getGlobal'](_0x12ea23[_0x5c14ef(0x153)]);_0x5d278d[_0x12ea23[_0x5c14ef(0x11d)]]=_0x12ea23[_0x5c14ef(0xea)](_0x224d74,_0x5e00f7);}if(_0x12ea23[_0x5c14ef(0x17d)](_0x18163a,FRAMEWORKS[_0x5c14ef(0x14a)])){const _0x30df99=_0x12ea23[_0x5c14ef(0x11b)](_0x12ea23['uZbxZ'](_0x57162f['scopes'][_0x5c14ef(0x17c)]('\x20'),'\x20'),_0xde435[_0x5c14ef(0xe5)]),_0x43a373=globals[_0x5c14ef(0x143)](_0x12ea23[_0x5c14ef(0x15f)])||accessibilityHelper[_0x5c14ef(0x18e)](_0x30df99,![]),_0x3c4437=browserStackGlobals['isAccessibilityPlatform'];_0x5d278d[_0x12ea23[_0x5c14ef(0x11d)]]=_0x12ea23['xVCET'](_0x3c4437,_0x43a373);}if(_0x12ea23[_0x5c14ef(0x17d)](_0x18163a,FRAMEWORKS['PLAYWRIGHT'])){if(_0x12ea23[_0x5c14ef(0x15a)](_0x5846e2,_0x12ea23[_0x5c14ef(0x107)]))return;_0x5d278d[_0x12ea23['Rpbas']]=PWTestDetails[_0x5c14ef(0x168)](_0x57162f[_0x5c14ef(0x164)]);}if(_0x12ea23[_0x5c14ef(0x17d)](_0x18163a,FRAMEWORKS[_0x5c14ef(0xf1)])){const _0x1a5de1=accessibilityHelper[_0x5c14ef(0x18e)](_0xde435[_0x5c14ef(0x163)](),!![]),_0x157392=global[_0x5c14ef(0xf7)]&&bsSetupHelper[_0x5c14ef(0x114)]();_0x5d278d[_0x12ea23['Rpbas']]=_0x12ea23[_0x5c14ef(0x16e)](_0x157392,_0x1a5de1);}if(_0x12ea23[_0x5c14ef(0x16d)](_0x18163a,FRAMEWORKS['CUCUMBER'])){const _0x566079=accessibilityHelper[_0x5c14ef(0x18e)](null,![],_0x57162f[_0x5c14ef(0x132)]),_0x595d7a=globals[_0x5c14ef(0x143)](_0x12ea23['dBPcO']);_0x5d278d[_0x12ea23[_0x5c14ef(0x11d)]]=_0x12ea23[_0x5c14ef(0x184)](_0x595d7a,_0x566079);}_0x57162f[_0x12ea23[_0x5c14ef(0xf2)]]=_0x5d278d;}},exports[a91_0x381bc3(0x121)]=_0x426088=>{const _0x537a5=a91_0x381bc3,_0x36fa3a={};_0x36fa3a['MUirw']=function(_0x2d7095,_0x13f9f5){return _0x2d7095>_0x13f9f5;},_0x36fa3a[_0x537a5(0x170)]=function(_0xc990dc,_0x3c0d93){return _0xc990dc>_0x3c0d93;};const _0x249fc0=_0x36fa3a;let _0x15db07={};if(_0x249fc0[_0x537a5(0x12b)](Object[_0x537a5(0x17b)](testData)[_0x537a5(0x110)],0x0))return testData;_0x15db07=JestTestDetails['getTestData']();if(_0x249fc0[_0x537a5(0x170)](Object[_0x537a5(0x17b)](_0x15db07)[_0x537a5(0x110)],0x0))return _0x15db07;return _0x15db07;},exports[a91_0x381bc3(0x169)]=(_0x3bbe1d,_0x3978f5={})=>{const _0x22bd76=a91_0x381bc3;if(bsSetupHelper[_0x22bd76(0x177)](_0x3978f5['test_run']))return;switch(_0x3bbe1d){case FRAMEWORKS[_0x22bd76(0x12e)]:testData=_0x3978f5[_0x22bd76(0x151)];break;case FRAMEWORKS[_0x22bd76(0x14a)]:JestTestDetails[_0x22bd76(0xf5)](_0x3978f5['test_run']);break;default:break;}},exports[a91_0x381bc3(0x12d)]=_0x5c9e5e=>{const _0x3ba595=a91_0x381bc3,_0x33e40b={};_0x33e40b[_0x3ba595(0x18a)]=function(_0x504ce4,_0x39de0e){return _0x504ce4!==_0x39de0e;},_0x33e40b[_0x3ba595(0xdf)]=function(_0x43d6ff,_0x4ba4d3){return _0x43d6ff!==_0x4ba4d3;};const _0x54fc45=_0x33e40b;if(_0x54fc45[_0x3ba595(0x18a)](_0x5c9e5e[_0x3ba595(0x135)],null)&&_0x54fc45[_0x3ba595(0x18a)](_0x5c9e5e[_0x3ba595(0x135)],undefined))return _0x5c9e5e[_0x3ba595(0x135)];let _0x22cebf=![],_0x505209=![];if(_0x5c9e5e[_0x3ba595(0xfb)])for(const _0x485c94 of _0x5c9e5e[_0x3ba595(0xfb)]){_0x54fc45[_0x3ba595(0x18a)](_0x485c94[_0x3ba595(0x135)],null)&&_0x54fc45[_0x3ba595(0xdf)](_0x485c94['accessibility'],undefined)&&(_0x22cebf=_0x22cebf||bsSetupHelper[_0x3ba595(0x16b)](_0x485c94[_0x3ba595(0x135)]),_0x505209=!![]);}if(_0x505209)return _0x22cebf;return null;},exports['getProductMapForBuildStartCall']=_0x42543d=>{const _0x1c9777=a91_0x381bc3,_0x43f098={'ctEAB':function(_0x2ee1ba){return _0x2ee1ba();},'KMunQ':function(_0x1a605b,_0x7a19a1){return _0x1a605b(_0x7a19a1);}};let _0x2c0072=![],_0x208d27=![];if(bsSetupHelper[_0x1c9777(0x114)]()&&_0x42543d[_0x1c9777(0x17f)])_0x208d27=!![];else bsSetupHelper[_0x1c9777(0x114)]()&&(_0x2c0072=!![]);return Object[_0x1c9777(0x146)]({'observability':_0x43f098[_0x1c9777(0x11e)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x42543d),'percy':_0x42543d['percy']||![],'automate':_0x2c0072,'app_automate':_0x208d27,'turboscale':_0x43f098[_0x1c9777(0x125)](isTurboScaleSession,_0x42543d)},bsSetupHelper[_0x1c9777(0x16f)]());};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x4824ae=a92_0x1d1e;(function(_0x2c55d9,_0x432caf){const _0x3f0bb9=a92_0x1d1e,_0x48b331=_0x2c55d9();while(!![]){try{const _0x2fcddf=parseInt(_0x3f0bb9(0xdb))/0x1+parseInt(_0x3f0bb9(0xd5))/0x2+-parseInt(_0x3f0bb9(0xd2))/0x3+parseInt(_0x3f0bb9(0xd9))/0x4*(-parseInt(_0x3f0bb9(0xd3))/0x5)+-parseInt(_0x3f0bb9(0xdc))/0x6*(-parseInt(_0x3f0bb9(0xce))/0x7)+-parseInt(_0x3f0bb9(0xcf))/0x8*(parseInt(_0x3f0bb9(0xdd))/0x9)+parseInt(_0x3f0bb9(0xd0))/0xa;if(_0x2fcddf===_0x432caf)break;else _0x48b331['push'](_0x48b331['shift']());}catch(_0x162c5b){_0x48b331['push'](_0x48b331['shift']());}}}(a92_0x1de7,0x7b40e));const utilities=require(a92_0x4824ae(0xd7));function a92_0x1d1e(_0x5319c9,_0x31b45f){const _0x1de785=a92_0x1de7();return a92_0x1d1e=function(_0x1d1e7f,_0x4c3d34){_0x1d1e7f=_0x1d1e7f-0xce;let _0x3fb1b8=_0x1de785[_0x1d1e7f];return _0x3fb1b8;},a92_0x1d1e(_0x5319c9,_0x31b45f);}module['exports']=(_0xdd25d0,_0x339fa7,_0x124499,_0x2282ba,_0x3d66ba,_0x4395c7)=>{const _0x10a319=a92_0x4824ae,_0x22cfd2={'MEaao':function(_0x4177a1,_0x394ddf){return _0x4177a1-_0x394ddf;},'AwykZ':function(_0x8644d2,_0xcf9ae2){return _0x8644d2(_0xcf9ae2);},'iWidl':function(_0x67c2a6,_0x7c11ee,_0x3e2635){return _0x67c2a6(_0x7c11ee,_0x3e2635);}};let _0x8de892,_0x35c0d0=![];const _0x33842b=new Promise((_0x40b641,_0x4d0800)=>{const _0x549b87=a92_0x1d1e;_0x8de892=_0x22cfd2[_0x549b87(0xd1)](setTimeout,()=>{const _0x3da3eb=_0x549b87;if(!_0x35c0d0){const _0x11ccd7={'status':''+_0x339fa7,'timeTaken':_0x22cfd2[_0x3da3eb(0xda)](new Date(),_0x2282ba)};utilities[_0x3da3eb(0xd8)](_0x124499,_0x11ccd7,_0x3d66ba,_0x4395c7),_0x22cfd2['AwykZ'](_0x4d0800,new Error(_0x339fa7));}},_0xdd25d0);});return _0x33842b[_0x10a319(0xd6)]=()=>{const _0x20f2fd=_0x10a319;_0x35c0d0=!![],_0x22cfd2[_0x20f2fd(0xd4)](clearTimeout,_0x8de892);},_0x33842b;};function a92_0x1de7(){const _0x42b51f=['24oACDeW','4947540XemVJG','iWidl','1949586sOHxFt','1085dgZZuf','AwykZ','1517760OZOAju','cancel','./utilities','fireFunnelTestEvent','772sFJLvb','MEaao','94402AymCLt','426fxWLDq','1646289UjUDoW','39172yVqfiR'];a92_0x1de7=function(){return _0x42b51f;};return a92_0x1de7();}
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93_0x1eab9b=a93_0x3542;(function(_0x5d9df9,_0x2d12cb){const _0x124e9e=a93_0x3542,_0x25f512=_0x5d9df9();while(!![]){try{const _0x4c7dc6=-parseInt(_0x124e9e(0x123))/0x1+-parseInt(_0x124e9e(0xcf))/0x2+parseInt(_0x124e9e(0xdc))/0x3+-parseInt(_0x124e9e(0x124))/0x4+parseInt(_0x124e9e(0xee))/0x5+-parseInt(_0x124e9e(0x110))/0x6+parseInt(_0x124e9e(0xc3))/0x7*(parseInt(_0x124e9e(0xb7))/0x8);if(_0x4c7dc6===_0x2d12cb)break;else _0x25f512['push'](_0x25f512['shift']());}catch(_0x3d9a9e){_0x25f512['push'](_0x25f512['shift']());}}}(a93_0x20df,0x78f88));function a93_0x20df(){const _0x1354a1=['source','parse','framework','getGlobal','hDxXs','stopPercy','getBuildLink','Playwright','undefined','bOseS','3899TAHJhs','env','\x20:\x20','./test-observability/utils','TJRlH','info','oZxvw','getUserName','VUlcg','selenium-webdriver','reduce','ueCaD','257516bcilxV','killSignal','getTurboScaleSessionsList','ultxI','browser','./ats/helper','SDK\x20run\x20ended\x20for\x20id:\x20','type','errorMessage','replace','forEach','inuEV','getAccessKey','572742XlUXga','McGlk','winstonLogger','jbEgS','nodejs','./testhub/utils','./helper','KpDDX','playwrightVersion','format','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','isBrowserstackInfra','sanitizeBrowserStackConfig','split','LOjkT','./globals','AUTOMATE','../bin/playwright/reporter/pwUtils','3347755WUUYmp','unhandledErrors','user_killed','assign','tests','seleniumVersion','./performance/performance-tester','content-type','application/json','all','null','hostname','values','_buildHashedId','error','version','browserVersion','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','qEpnv','length',',\x20testhub\x20id:\x20','app','yfbrm','push','osVersion','getFrameworkVersion','apply','ENV_VAR','body','event_properties','Error\x20in\x20firing\x20request\x20to\x20','eqHWc','debug','LIlCe','2304330jTtKkX','name','getOptimalHubUrl','requirePWModule','BROWSERSTACK_TESTHUB_UUID','JnGnk','\x20response\x20-\x20','object','stringify','SDKTestSuccessful','ErtJd','fireFunnelTestEvent','every','kIjvU','APP_AUTOMATE_PRODUCTS','TvRkj','browserStackConfig','zqfxw','sdkRunId','644969pMbGuP','854744JdQhqN','buildIdentifier','finishedMetadata','FIHLF','ybUlU','join','config','getSessionsList','nodeRequest','../helpers/testhub/constants','util','getPackageVersion','fsJBV','keys','yLAdy','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','WtRxF','codeceptjs','[REDACTED]','getTurboScaleBuildLink','globalException','14456IHAjbI','ZLdrA'];a93_0x20df=function(){return _0x1354a1;};return a93_0x20df();}function a93_0x3542(_0x3d4995,_0x2aec9a){const _0x20df01=a93_0x20df();return a93_0x3542=function(_0x3542cc,_0x5a991d){_0x3542cc=_0x3542cc-0xaa;let _0x6e1666=_0x20df01[_0x3542cc];return _0x6e1666;},a93_0x3542(_0x3d4995,_0x2aec9a);}const os=require('os'),util=require(a93_0x1eab9b(0xac)),{getProductMap}=require(a93_0x1eab9b(0xe1)),logger=require('./logger')[a93_0x1eab9b(0xde)],constants=require('../bin/utils/constants'),testHubConstants=require(a93_0x1eab9b(0xab)),{getTransformPath}=require(a93_0x1eab9b(0xed)),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a93_0x1eab9b(0xe2)),PerformanceTester=require(a93_0x1eab9b(0xf4)),globals=require(a93_0x1eab9b(0xeb)),{isTurboScaleSession}=require(a93_0x1eab9b(0xd4)),helper=require(a93_0x1eab9b(0xe2)),{isTestObservabilitySession}=require(a93_0x1eab9b(0xc6));let unhandledErrors='';exports[a93_0x1eab9b(0x11b)]=async(_0x542d06,_0x12f3d6={},_0x1f01be,_0x1d8ca8)=>{const _0xfba9f4=a93_0x1eab9b,_0x253a17={'kIjvU':function(_0xba6ad4,_0x4e11eb){return _0xba6ad4===_0x4e11eb;},'KpDDX':_0xfba9f4(0x117),'ybUlU':function(_0x58b766,_0x278793){return _0x58b766>_0x278793;},'oZxvw':_0xfba9f4(0xf2),'yfbrm':function(_0x2c7b41){return _0x2c7b41();},'TvRkj':function(_0x513bbd){return _0x513bbd();},'yLAdy':function(_0x8383ff,_0x4ff3ad){return _0x8383ff==_0x4ff3ad;},'TJRlH':_0xfba9f4(0xf8),'SLajn':function(_0xa9add2,_0x521922){return _0xa9add2===_0x521922;},'LIlCe':_0xfba9f4(0xc1),'WtRxF':function(_0x220f61,_0x1cf9d9){return _0x220f61===_0x1cf9d9;},'fsJBV':_0xfba9f4(0xb3),'nxVng':function(_0x3eb267,_0x3219d1){return _0x3eb267>_0x3219d1;},'ErtJd':function(_0x53efc1,_0x212643){return _0x53efc1!==_0x212643;},'oUdMq':_0xfba9f4(0xc0),'qEpnv':function(_0x3daae3,_0x498f49){return _0x3daae3===_0x498f49;},'khriS':_0xfba9f4(0xfc),'inuEV':function(_0x34c56a,_0x3d0b01){return _0x34c56a>_0x3d0b01;},'uHQdd':function(_0x52849f,_0x3b104a){return _0x52849f+_0x3b104a;},'cjFMS':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','JnGnk':_0xfba9f4(0xfb),'BPpsv':function(_0x1bbd27,_0x5ca4ca){return _0x1bbd27(_0x5ca4ca);},'bOseS':function(_0x155968,_0x2f9bc6){return _0x155968(_0x2f9bc6);},'FIHLF':'unknown','VUlcg':_0xfba9f4(0xe0),'LOjkT':_0xfba9f4(0x119),'McGlk':_0xfba9f4(0xcc),'SgkVu':_0xfba9f4(0xf6),'jbEgS':_0xfba9f4(0xb4),'zqfxw':'POST'};let _0x2d939a=[];if(helper[_0xfba9f4(0xe7)]()&&_0x253a17[_0xfba9f4(0x104)](isTestObservabilitySession))_0x2d939a=_0x1f01be[_0xfba9f4(0x103)]?constants[_0xfba9f4(0x11e)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x253a17[_0xfba9f4(0x11f)](isTestObservabilitySession))_0x2d939a=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0xfba9f4(0xe7)]()&&(_0x2d939a=_0x1f01be[_0xfba9f4(0x103)]?constants['APP_AUTOMATE']:constants[_0xfba9f4(0xec)]);}let _0x1c5672=_0x1f01be[_0xfba9f4(0x125)];if(_0x253a17[_0xfba9f4(0xb0)](_0x1c5672,null))_0x1c5672=_0x253a17[_0xfba9f4(0xc7)];else _0x253a17['SLajn'](_0x1c5672,undefined)&&(_0x1c5672=_0x253a17[_0xfba9f4(0x10f)]);unhandledErrors&&_0x253a17[_0xfba9f4(0x128)](unhandledErrors[_0xfba9f4(0x101)],0x0)&&(_0x12f3d6[_0xfba9f4(0xb6)]=unhandledErrors);global[_0xfba9f4(0x122)]&&(_0x12f3d6[_0xfba9f4(0x122)]=global[_0xfba9f4(0x122)]);try{if(_0x12f3d6[_0xfba9f4(0xfc)]){if(_0x253a17[_0xfba9f4(0xb2)](_0x1d8ca8,_0x253a17[_0xfba9f4(0xae)])&&_0x253a17['nxVng'](_0x12f3d6[_0xfba9f4(0xfc)]['length'],0x0)){const _0x4f6009={};_0x4f6009['os']='',_0x4f6009[_0xfba9f4(0x106)]='',_0x4f6009[_0xfba9f4(0xd3)]='',_0x4f6009[_0xfba9f4(0xfe)]='';const _0x39df4e=_0x4f6009;let _0x1546a6={};const _0x3e484d=_0x12f3d6[_0xfba9f4(0xfc)];_0x1546a6=_0x3e484d[_0xfba9f4(0xcd)]((_0x1108f7,_0x5482dc)=>{for(const _0x288de7 in _0x5482dc){_0x1108f7[_0x288de7]=_0x5482dc[_0x288de7];}return _0x1108f7;},{});const _0x5f3b39={};_0x5f3b39[_0xfba9f4(0xf2)]=_0x1546a6,_0x12f3d6[_0xfba9f4(0xfc)]=[Object[_0xfba9f4(0xf1)]({},_0x39df4e,_0x5f3b39)];}else{let _0x2fcb58=0x0;const _0x2a1479=_0x253a17[_0xfba9f4(0x11a)](_0x1d8ca8,_0x253a17['oUdMq'])?JSON[_0xfba9f4(0xba)](_0x12f3d6['error']):_0x12f3d6['error'],_0x51f5fe=Object[_0xfba9f4(0xfa)](_0x2a1479);_0x51f5fe[_0xfba9f4(0xd9)](_0x212781=>{const _0x84fadd=_0xfba9f4;if(_0x253a17[_0x84fadd(0x11d)](typeof _0x212781,_0x253a17[_0x84fadd(0xe3)])){const _0x4769a7=Object['values'](_0x212781);!_0x4769a7[_0x84fadd(0x11c)](_0x43b2e5=>_0x43b2e5===null||_0x43b2e5===undefined||_0x43b2e5==='')&&(_0x2fcb58+=0x1);}});if(_0x253a17['qEpnv'](_0x2fcb58,0x0))delete _0x12f3d6[_0x253a17['khriS']];else{const _0x3d8f5c=[];Object[_0xfba9f4(0xaf)](_0x2a1479)[_0xfba9f4(0xd9)](_0x2e8a59=>{const _0x4ff3df=_0xfba9f4,_0x5179ef={'ueCaD':function(_0x302ac5,_0x186cbb){const _0x387467=a93_0x3542;return _0x253a17[_0x387467(0x128)](_0x302ac5,_0x186cbb);}},[_0x10e6ab,_0x3d0cab,_0x1f9a05,_0xb33161]=_0x2e8a59[_0x4ff3df(0xe9)](',\x20');let _0x1b72ad={};if(!_0xb33161){const _0xaf133e={};_0xaf133e['deviceName']=_0x10e6ab,_0xaf133e[_0x4ff3df(0x106)]=_0x3d0cab,_0xaf133e[_0x4ff3df(0xd3)]=_0x1f9a05,_0x1b72ad=_0xaf133e;}else{const _0x1439f9={};_0x1439f9['os']=_0x10e6ab,_0x1439f9[_0x4ff3df(0x106)]=_0x3d0cab,_0x1439f9[_0x4ff3df(0xd3)]=_0x1f9a05,_0x1439f9[_0x4ff3df(0xfe)]=_0xb33161,_0x1b72ad=_0x1439f9;}const _0x34d890={},_0x3f66a9=_0x2a1479[_0x2e8a59];Object[_0x4ff3df(0xaf)](_0x3f66a9)[_0x4ff3df(0xd9)](_0x387158=>{const _0x30735f=_0x4ff3df;_0x5179ef[_0x30735f(0xce)](_0x3f66a9[_0x387158][_0x30735f(0x101)],0x0)&&(_0x34d890[_0x387158]=_0x3f66a9[_0x387158]);}),_0x253a17[_0x4ff3df(0x128)](Object[_0x4ff3df(0xaf)](_0x34d890)[_0x4ff3df(0x101)],0x0)&&(_0x1b72ad[_0x253a17[_0x4ff3df(0xc9)]]=_0x34d890,_0x3d8f5c[_0x4ff3df(0x105)](_0x1b72ad));}),_0x253a17[_0xfba9f4(0xda)](_0x3d8f5c[_0xfba9f4(0x101)],0x0)?_0x12f3d6[_0xfba9f4(0xfc)]=_0x3d8f5c:delete _0x12f3d6[_0x253a17['khriS']];}}}}catch(_0x358fcd){delete _0x12f3d6[_0x253a17['khriS']],logger['debug'](_0x253a17['uHQdd'](_0x253a17['cjFMS'],_0x358fcd));}const _0x3316cd=helper['getTestFrameworkDetails'](_0x1f01be,_0x1f01be[_0xfba9f4(0xbb)]),_0x401a47={'userName':helper[_0xfba9f4(0xca)](_0x1f01be),'accessKey':helper[_0xfba9f4(0xdb)](_0x1f01be),'event_type':_0x542d06,'detectedFramework':_0x1d8ca8,'buildHashedId':globals[_0xfba9f4(0xbc)](_0x253a17[_0xfba9f4(0x115)]),'optimalHubUrl':helper[_0xfba9f4(0x112)](),'event_properties':{'testhub_uuid':process[_0xfba9f4(0xc4)][testHubConstants[_0xfba9f4(0x109)][_0xfba9f4(0x114)]]||'','sdkRunId':global[_0xfba9f4(0x122)],'product_map':_0x253a17['BPpsv'](getProductMap,_0x1f01be),'productMap':_0x253a17[_0xfba9f4(0xc2)](getProductMap,_0x1f01be),'language_framework':_0x1f01be[_0xfba9f4(0xb9)]||_0x253a17[_0xfba9f4(0x127)],'referrer':helper['getNodeAgent'](_0x1d8ca8),'framework':_0x1f01be[_0xfba9f4(0xbb)],'frameworkVersion':helper[_0xfba9f4(0x107)](_0x1d8ca8),'automationFramework':_0x3316cd[_0xfba9f4(0x111)],'automationFrameworkVersion':_0x3316cd['version'],'language':_0x253a17[_0xfba9f4(0xcb)],'languageVersion':process[_0xfba9f4(0xfd)],'product':_0x2d939a,'buildName':_0x1f01be['buildName']||_0x253a17[_0xfba9f4(0x10f)],'buildIdentifier':_0x1c5672,'os':os[_0xfba9f4(0xd6)]()||_0x253a17[_0xfba9f4(0x127)],'hostname':os[_0xfba9f4(0xf9)]()||_0x253a17[_0xfba9f4(0x127)],..._0x12f3d6}};try{_0x253a17[_0xfba9f4(0x100)](_0x542d06,_0x253a17[_0xfba9f4(0xea)])&&(_0x401a47[_0xfba9f4(0x10b)][_0xfba9f4(0x120)]=helper[_0xfba9f4(0xe8)](_0x1f01be)),_0x253a17[_0xfba9f4(0xb2)](_0x1d8ca8,_0x253a17['oUdMq'])?_0x401a47[_0xfba9f4(0x10b)][_0xfba9f4(0xe4)]=helper[_0xfba9f4(0x113)][_0xfba9f4(0x108)](null,_0x253a17[_0xfba9f4(0x104)](getTransformPath),!![]):_0x401a47[_0xfba9f4(0x10b)][_0xfba9f4(0xf3)]=helper[_0xfba9f4(0xad)](_0x253a17[_0xfba9f4(0xdd)]);}catch(_0x3f29b9){logger[_0xfba9f4(0x10e)](_0xfba9f4(0xff)+_0x3f29b9);}const _0x10c859={};_0x10c859[_0xfba9f4(0xf5)]=_0x253a17['SgkVu'];const _0x34ef28={'headers':_0x10c859,'body':_0x401a47,'auth':{'user':helper[_0xfba9f4(0xca)](_0x1f01be),'pass':helper['getAccessKey'](_0x1f01be)},'json':!![]};logger[_0xfba9f4(0x10e)](_0xfba9f4(0xe6)+JSON[_0xfba9f4(0x118)](_0x34ef28[_0xfba9f4(0x10a)])[_0xfba9f4(0xd8)](new RegExp(helper[_0xfba9f4(0xca)](_0x1f01be),'g'),_0x253a17[_0xfba9f4(0xdf)])['replace'](new RegExp(helper['getAccessKey'](_0x1f01be),'g'),_0x253a17['jbEgS']));try{const _0x597ec7=await helper[_0xfba9f4(0xaa)](_0x253a17[_0xfba9f4(0x121)],constants['FUNNEL_INSTRUMENTATION_API_URL'],_0x34ef28,_0x1f01be);logger[_0xfba9f4(0x10e)]('API\x20Event\x20'+_0x542d06+_0xfba9f4(0x116)+util[_0xfba9f4(0xe5)]('%j',_0x597ec7));}catch(_0x28785d){logger[_0xfba9f4(0x10e)](_0xfba9f4(0x10c)+FUNNEL_INSTRUMENTATION_API_URL+_0xfba9f4(0xc5)+util['format'](_0x28785d));}},exports['finalExecution']=async _0x5a38c1=>{const _0x1deff0=a93_0x1eab9b,_0x3ec108={'eqHWc':function(_0x4829be){return _0x4829be();},'SfiVf':_0x1deff0(0x126),'ZLdrA':_0x1deff0(0xf0),'hFHoL':function(_0x54910b,_0x713cf){return _0x54910b(_0x713cf);},'ultxI':'SDKTestSuccessful','sehTb':function(_0x270a74,_0x4bcb8e,_0x29559b){return _0x270a74(_0x4bcb8e,_0x29559b);},'nroei':function(_0x208cde,_0x3af89f){return _0x208cde+_0x3af89f;},'hDxXs':_0x1deff0(0xb1)};try{await _0x5a38c1[_0x1deff0(0xbe)](),_0x3ec108[_0x1deff0(0x10d)](printNudgeLocalNotSetError);const _0x48091a={};_0x48091a[_0x1deff0(0xfc)]=_0x5a38c1[_0x1deff0(0xd7)]?_0x5a38c1[_0x1deff0(0xd7)]:'{}';const _0x1a3adf=_0x48091a,_0x557282=Object[_0x1deff0(0xf1)]({},_0x1a3adf);!!_0x5a38c1[_0x1deff0(0xd0)]&&(_0x557282[_0x3ec108['SfiVf']]={'reason':_0x3ec108[_0x1deff0(0xb8)],'signal':_0x5a38c1[_0x1deff0(0xd0)]});unhandledErrors=_0x5a38c1[_0x1deff0(0xef)][_0x1deff0(0x129)]('\x0a');let _0x1a1fdf,_0x3fa22e,_0x504e6c;_0x3ec108['hFHoL'](isTurboScaleSession,_0x5a38c1[_0x1deff0(0x12a)])?([_0x1a1fdf,_0x3fa22e]=await helper[_0x1deff0(0xb5)](_0x5a38c1[_0x1deff0(0x12a)]),[_0x504e6c]=await Promise[_0x1deff0(0xf7)]([helper[_0x1deff0(0xd1)](_0x1a1fdf,_0x5a38c1[_0x1deff0(0x12a)]),exports[_0x1deff0(0x11b)](_0x3ec108[_0x1deff0(0xd2)],_0x557282,_0x5a38c1['config'],_0x5a38c1[_0x1deff0(0xbb)])])):([_0x1a1fdf,_0x3fa22e]=await helper[_0x1deff0(0xbf)](_0x5a38c1[_0x1deff0(0x12a)]),[_0x504e6c]=await Promise[_0x1deff0(0xf7)]([helper[_0x1deff0(0x12b)](_0x1a1fdf,_0x5a38c1[_0x1deff0(0x12a)]),exports['fireFunnelTestEvent'](_0x3ec108[_0x1deff0(0xd2)],_0x557282,_0x5a38c1[_0x1deff0(0x12a)],_0x5a38c1['framework'])])),_0x504e6c&&await _0x3ec108['sehTb'](generateCIArtifacts,_0x504e6c,_0x3fa22e),logger[_0x1deff0(0xc8)](_0x1deff0(0xd5)+_0x5a38c1[_0x1deff0(0x122)]+_0x1deff0(0x102)+process['env'][_0x1deff0(0x114)]),await helper['sendLogs'](_0x5a38c1[_0x1deff0(0x12a)]);}catch(_0x19af55){logger[_0x1deff0(0x10e)](_0x3ec108['nroei'](_0x3ec108[_0x1deff0(0xbd)],_0x19af55));}helper['notifyUpdate']();};
|
|
1
|
+
function a93_0x2793(){const _0x3bfdf9=['winstonLogger','./ats/helper','lQyXQ','xCXRQ','codeceptjs','SDKTestSuccessful','3hNFpqq','SDK\x20run\x20ended\x20for\x20id:\x20','config','Error\x20in\x20firing\x20request\x20to\x20','isBrowserstackInfra','AUTOMATE_PRODUCTS','browser','yHuEE','debug','getFrameworkVersion','./performance/performance-tester','finalExecution','171sHMQgP','selenium-webdriver','_buildHashedId','400514huvzgG','errorMessage','all','env','reduce','browserVersion','deviceName','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','nodejs','198054MQYUYq','APP_AUTOMATE_PRODUCTS','browserStackConfig','BROWSERSTACK_TESTHUB_UUID','\x20:\x20','237840XgqimK','getSessionsList','IBmIM','getTurboScaleBuildLink','zAetX','version','getOptimalHubUrl','../bin/playwright/reporter/pwUtils','getTurboScaleSessionsList','QMGms','FUNNEL_INSTRUMENTATION_API_URL','14jzHguh','format','eDIZh','seleniumVersion','RxRuq','znkFV','killSignal','sdkRunId','152881IkAgqs','5eBIDxY','length','values','API\x20Event\x20','kFfOJ','stringify','getGlobal','error','keys','content-type','[REDACTED]','qXbru','73090mHjKfV','121QPIqzA','AUTOMATE','stopPercy','getNodeAgent','hKgyt','notifyUpdate','../bin/utils/constants','buildIdentifier','783112SwTduy','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','buildName','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','771504GMlinj','null','POST','object','app','syEif','apply','tests','util',',\x20testhub\x20id:\x20','getAccessKey','VDkHp','fcYax','aTewV','ZOrfN','split','getUserName','YrYWY','framework','event_properties','qSfVo','unhandledErrors','globalException','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','assign','./helper','source','Playwright','forEach','./globals','osVersion','replace','user_killed','type','APP_AUTOMATE','sanitizeBrowserStackConfig','bMglE','./testhub/utils','parse','shXmz','finishedMetadata','wUAvS','OEqJi','./test-observability/utils','getBuildLink','QUMpq','GWlzZ','SMznA','getTestFrameworkDetails','VudvC','fireFunnelTestEvent','nAXNN','playwrightVersion'];a93_0x2793=function(){return _0x3bfdf9;};return a93_0x2793();}const a93_0x494438=a93_0x1c96;(function(_0x4a97ce,_0x2516fa){const _0x54dd4e=a93_0x1c96,_0x3fbd11=_0x4a97ce();while(!![]){try{const _0x4f919e=-parseInt(_0x54dd4e(0x73))/0x1+parseInt(_0x54dd4e(0xd7))/0x2*(parseInt(_0x54dd4e(0xc8))/0x3)+parseInt(_0x54dd4e(0x89))/0x4+-parseInt(_0x54dd4e(0x74))/0x5*(-parseInt(_0x54dd4e(0xe0))/0x6)+-parseInt(_0x54dd4e(0xf0))/0x7*(parseInt(_0x54dd4e(0x8d))/0x8)+-parseInt(_0x54dd4e(0xd4))/0x9*(parseInt(_0x54dd4e(0x80))/0xa)+-parseInt(_0x54dd4e(0x81))/0xb*(-parseInt(_0x54dd4e(0xe5))/0xc);if(_0x4f919e===_0x2516fa)break;else _0x3fbd11['push'](_0x3fbd11['shift']());}catch(_0x34759c){_0x3fbd11['push'](_0x3fbd11['shift']());}}}(a93_0x2793,0x27a84));function a93_0x1c96(_0x475b38,_0x1e464d){const _0x2793ad=a93_0x2793();return a93_0x1c96=function(_0x1c96b5,_0x33945a){_0x1c96b5=_0x1c96b5-0x70;let _0x428855=_0x2793ad[_0x1c96b5];return _0x428855;},a93_0x1c96(_0x475b38,_0x1e464d);}const os=require('os'),util=require(a93_0x494438(0x95)),{getProductMap}=require(a93_0x494438(0xb2)),logger=require('./logger')[a93_0x494438(0xc2)],constants=require(a93_0x494438(0x87)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a93_0x494438(0xec)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a93_0x494438(0x87)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a93_0x494438(0xa6)),PerformanceTester=require(a93_0x494438(0xd2)),globals=require(a93_0x494438(0xaa)),{isTurboScaleSession}=require(a93_0x494438(0xc3)),helper=require(a93_0x494438(0xa6)),{isTestObservabilitySession}=require(a93_0x494438(0xb8));let unhandledErrors='';exports[a93_0x494438(0xbf)]=async(_0x1901f5,_0x47e358={},_0x2e8f74,_0x3c8bb2)=>{const _0x35fd23=a93_0x494438,_0x481701={'syEif':function(_0xbfd53c,_0x4698eb){return _0xbfd53c===_0x4698eb;},'ZOrfN':_0x35fd23(0x90),'xCXRQ':function(_0x47fa7b,_0x5eeb21){return _0x47fa7b>_0x5eeb21;},'VudvC':function(_0x517a59,_0x58fca6){return _0x517a59>_0x58fca6;},'kFfOJ':_0x35fd23(0x94),'fcYax':function(_0x2525b5){return _0x2525b5();},'QMGms':function(_0x2c4b19,_0x3496b8){return _0x2c4b19==_0x3496b8;},'VDkHp':_0x35fd23(0x8e),'aTewV':'undefined','ZDeDs':function(_0x4889d9,_0x3dc00e){return _0x4889d9>_0x3dc00e;},'dHyvF':_0x35fd23(0xc6),'IBmIM':function(_0x100424,_0x458faf){return _0x100424!==_0x458faf;},'zAetX':_0x35fd23(0xa8),'QUMpq':function(_0x34da4f,_0x551798){return _0x34da4f===_0x551798;},'eDIZh':_0x35fd23(0x7b),'neEYe':function(_0x25fed7,_0x333b7b){return _0x25fed7+_0x333b7b;},'yHuEE':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','oKCuB':_0x35fd23(0xd6),'RxRuq':function(_0x3709fb,_0x1f4e26){return _0x3709fb(_0x1f4e26);},'shXmz':'unknown','AlbSd':_0x35fd23(0xdf),'VKzwN':function(_0x379073,_0x35ca07){return _0x379073===_0x35ca07;},'qSfVo':_0x35fd23(0xc7),'oYvao':function(_0x2d2f18,_0x1b8dd4){return _0x2d2f18===_0x1b8dd4;},'qXbru':function(_0x5dd3ae){return _0x5dd3ae();},'GWlzZ':_0x35fd23(0xd5),'OEqJi':'application/json','nAXNN':_0x35fd23(0x7e),'lQyXQ':_0x35fd23(0x8f)};let _0x49193b=[];if(helper[_0x35fd23(0xcc)]()&&_0x481701[_0x35fd23(0x99)](isTestObservabilitySession))_0x49193b=_0x2e8f74[_0x35fd23(0x91)]?constants[_0x35fd23(0xe1)]:constants[_0x35fd23(0xcd)];else{if(_0x481701[_0x35fd23(0x99)](isTestObservabilitySession))_0x49193b=constants[_0x35fd23(0xde)];else helper[_0x35fd23(0xcc)]()&&(_0x49193b=_0x2e8f74[_0x35fd23(0x91)]?constants[_0x35fd23(0xaf)]:constants[_0x35fd23(0x82)]);}let _0x3d620b=_0x2e8f74[_0x35fd23(0x88)];if(_0x481701[_0x35fd23(0xee)](_0x3d620b,null))_0x3d620b=_0x481701[_0x35fd23(0x98)];else _0x481701[_0x35fd23(0x92)](_0x3d620b,undefined)&&(_0x3d620b=_0x481701['aTewV']);unhandledErrors&&_0x481701['ZDeDs'](unhandledErrors[_0x35fd23(0x75)],0x0)&&(_0x47e358[_0x35fd23(0xa3)]=unhandledErrors);global['sdkRunId']&&(_0x47e358[_0x35fd23(0x72)]=global[_0x35fd23(0x72)]);try{if(_0x47e358['error']){if(_0x481701['syEif'](_0x3c8bb2,_0x481701['dHyvF'])&&_0x481701['ZDeDs'](_0x47e358[_0x35fd23(0x7b)]['length'],0x0)){const _0x9cbe1d={};_0x9cbe1d['os']='',_0x9cbe1d[_0x35fd23(0xab)]='',_0x9cbe1d[_0x35fd23(0xce)]='',_0x9cbe1d[_0x35fd23(0xdc)]='';const _0x3a351f=_0x9cbe1d;let _0x457ac9={};const _0x71ebc6=_0x47e358[_0x35fd23(0x7b)];_0x457ac9=_0x71ebc6[_0x35fd23(0xdb)]((_0x37d968,_0x320727)=>{for(const _0x108bb2 in _0x320727){_0x37d968[_0x108bb2]=_0x320727[_0x108bb2];}return _0x37d968;},{});const _0x70eb36={};_0x70eb36['tests']=_0x457ac9,_0x47e358[_0x35fd23(0x7b)]=[Object[_0x35fd23(0xa5)]({},_0x3a351f,_0x70eb36)];}else{let _0x307e2e=0x0;const _0x1f0192=_0x481701[_0x35fd23(0xe7)](_0x3c8bb2,_0x481701[_0x35fd23(0xe9)])?JSON[_0x35fd23(0xb3)](_0x47e358[_0x35fd23(0x7b)]):_0x47e358[_0x35fd23(0x7b)],_0x452fd0=Object['values'](_0x1f0192);_0x452fd0[_0x35fd23(0xa9)](_0x249947=>{const _0x6d121c=_0x35fd23;if(_0x481701[_0x6d121c(0x92)](typeof _0x249947,_0x481701[_0x6d121c(0x9b)])){const _0x4a1155=Object[_0x6d121c(0x76)](_0x249947);!_0x4a1155['every'](_0x22690b=>_0x22690b===null||_0x22690b===undefined||_0x22690b==='')&&(_0x307e2e+=0x1);}});if(_0x481701[_0x35fd23(0xba)](_0x307e2e,0x0))delete _0x47e358[_0x481701[_0x35fd23(0xf2)]];else{const _0x22dee4=[];Object[_0x35fd23(0x7c)](_0x1f0192)[_0x35fd23(0xa9)](_0x246c6f=>{const _0x517055=_0x35fd23,_0x364828={'hKgyt':function(_0x1126c4,_0x9080c8){const _0x26e05d=a93_0x1c96;return _0x481701[_0x26e05d(0xc5)](_0x1126c4,_0x9080c8);}},[_0x4af76d,_0x1b0ca6,_0x6688e9,_0x24d761]=_0x246c6f[_0x517055(0x9c)](',\x20');let _0x39643a={};if(!_0x24d761){const _0x400682={};_0x400682[_0x517055(0xdd)]=_0x4af76d,_0x400682[_0x517055(0xab)]=_0x1b0ca6,_0x400682['browser']=_0x6688e9,_0x39643a=_0x400682;}else{const _0x1eca08={};_0x1eca08['os']=_0x4af76d,_0x1eca08[_0x517055(0xab)]=_0x1b0ca6,_0x1eca08[_0x517055(0xce)]=_0x6688e9,_0x1eca08[_0x517055(0xdc)]=_0x24d761,_0x39643a=_0x1eca08;}const _0x4af6a3={},_0x22de54=_0x1f0192[_0x246c6f];Object[_0x517055(0x7c)](_0x22de54)[_0x517055(0xa9)](_0xe662aa=>{const _0x10857f=_0x517055;_0x364828[_0x10857f(0x85)](_0x22de54[_0xe662aa]['length'],0x0)&&(_0x4af6a3[_0xe662aa]=_0x22de54[_0xe662aa]);}),_0x481701[_0x517055(0xbe)](Object[_0x517055(0x7c)](_0x4af6a3)[_0x517055(0x75)],0x0)&&(_0x39643a[_0x481701[_0x517055(0x78)]]=_0x4af6a3,_0x22dee4['push'](_0x39643a));}),_0x481701[_0x35fd23(0xbe)](_0x22dee4[_0x35fd23(0x75)],0x0)?_0x47e358[_0x35fd23(0x7b)]=_0x22dee4:delete _0x47e358[_0x481701[_0x35fd23(0xf2)]];}}}}catch(_0x4f5681){delete _0x47e358[_0x481701[_0x35fd23(0xf2)]],logger[_0x35fd23(0xd0)](_0x481701['neEYe'](_0x481701[_0x35fd23(0xcf)],_0x4f5681));}const _0x523914=helper[_0x35fd23(0xbd)](_0x2e8f74,_0x2e8f74['framework']),_0x333a8b={'userName':helper['getUserName'](_0x2e8f74),'accessKey':helper[_0x35fd23(0x97)](_0x2e8f74),'event_type':_0x1901f5,'detectedFramework':_0x3c8bb2,'buildHashedId':globals[_0x35fd23(0x7a)](_0x481701['oKCuB']),'optimalHubUrl':helper[_0x35fd23(0xeb)](),'event_properties':{'testhub_uuid':process[_0x35fd23(0xda)][testHubConstants['ENV_VAR'][_0x35fd23(0xe3)]]||'','sdkRunId':global[_0x35fd23(0x72)],'product_map':_0x481701[_0x35fd23(0xf4)](getProductMap,_0x2e8f74),'productMap':_0x481701[_0x35fd23(0xf4)](getProductMap,_0x2e8f74),'language_framework':_0x2e8f74[_0x35fd23(0xa7)]||_0x481701[_0x35fd23(0xb4)],'referrer':helper[_0x35fd23(0x84)](_0x3c8bb2),'framework':_0x2e8f74[_0x35fd23(0x9f)],'frameworkVersion':helper[_0x35fd23(0xd1)](_0x3c8bb2),'automationFramework':_0x523914['name'],'automationFrameworkVersion':_0x523914[_0x35fd23(0xea)],'language':_0x481701['AlbSd'],'languageVersion':process[_0x35fd23(0xea)],'product':_0x49193b,'buildName':_0x2e8f74[_0x35fd23(0x8b)]||_0x481701[_0x35fd23(0x9a)],'buildIdentifier':_0x3d620b,'os':os[_0x35fd23(0xae)]()||_0x481701['shXmz'],'hostname':os['hostname']()||_0x481701[_0x35fd23(0xb4)],..._0x47e358}};try{_0x481701['VKzwN'](_0x1901f5,_0x481701[_0x35fd23(0xa1)])&&(_0x333a8b[_0x35fd23(0xa0)][_0x35fd23(0xe2)]=helper[_0x35fd23(0xb0)](_0x2e8f74)),_0x481701['oYvao'](_0x3c8bb2,_0x481701['zAetX'])?_0x333a8b[_0x35fd23(0xa0)][_0x35fd23(0xc1)]=helper['requirePWModule'][_0x35fd23(0x93)](null,_0x481701[_0x35fd23(0x7f)](getTransformPath),!![]):_0x333a8b['event_properties'][_0x35fd23(0xf3)]=helper['getPackageVersion'](_0x481701[_0x35fd23(0xbb)]);}catch(_0x4865c4){logger[_0x35fd23(0xd0)](_0x35fd23(0xa4)+_0x4865c4);}const _0xec269f={};_0xec269f[_0x35fd23(0x7d)]=_0x481701[_0x35fd23(0xb7)];const _0x35d918={'headers':_0xec269f,'body':_0x333a8b,'auth':{'user':helper[_0x35fd23(0x9d)](_0x2e8f74),'pass':helper['getAccessKey'](_0x2e8f74)},'json':!![]};logger[_0x35fd23(0xd0)](_0x35fd23(0x8a)+JSON[_0x35fd23(0x79)](_0x35d918['body'])['replace'](new RegExp(helper['getUserName'](_0x2e8f74),'g'),_0x481701[_0x35fd23(0xc0)])[_0x35fd23(0xac)](new RegExp(helper['getAccessKey'](_0x2e8f74),'g'),_0x481701[_0x35fd23(0xc0)]));try{const _0x57af5e=await helper['nodeRequest'](_0x481701[_0x35fd23(0xc4)],constants[_0x35fd23(0xef)],_0x35d918,_0x2e8f74);logger[_0x35fd23(0xd0)](_0x35fd23(0x77)+_0x1901f5+'\x20response\x20-\x20'+util[_0x35fd23(0xf1)]('%j',_0x57af5e));}catch(_0x728473){logger[_0x35fd23(0xd0)](_0x35fd23(0xcb)+FUNNEL_INSTRUMENTATION_API_URL+_0x35fd23(0xe4)+util[_0x35fd23(0xf1)](_0x728473));}},exports[a93_0x494438(0xd3)]=async _0x344863=>{const _0x18e4bd=a93_0x494438,_0x2a61b1={'YrYWY':function(_0x96517b){return _0x96517b();},'wUAvS':_0x18e4bd(0xb5),'Tpjks':_0x18e4bd(0xad),'SMznA':function(_0x4672fb,_0x5892a7){return _0x4672fb(_0x5892a7);},'bMglE':'SDKTestSuccessful','DLMzS':function(_0x26468e,_0x153314,_0x441603){return _0x26468e(_0x153314,_0x441603);},'EpdeP':function(_0x341ff8,_0x219947){return _0x341ff8+_0x219947;},'znkFV':_0x18e4bd(0x8c)};try{await _0x344863[_0x18e4bd(0x83)](),_0x2a61b1[_0x18e4bd(0x9e)](printNudgeLocalNotSetError);const _0x2ebea7={};_0x2ebea7[_0x18e4bd(0x7b)]=_0x344863[_0x18e4bd(0xd8)]?_0x344863[_0x18e4bd(0xd8)]:'{}';const _0x55ef06=_0x2ebea7,_0x10b03c=Object[_0x18e4bd(0xa5)]({},_0x55ef06);!!_0x344863[_0x18e4bd(0x71)]&&(_0x10b03c[_0x2a61b1[_0x18e4bd(0xb6)]]={'reason':_0x2a61b1['Tpjks'],'signal':_0x344863[_0x18e4bd(0x71)]});unhandledErrors=_0x344863[_0x18e4bd(0xa2)]['join']('\x0a');let _0x473531,_0x127f66,_0x14743c;_0x2a61b1[_0x18e4bd(0xbc)](isTurboScaleSession,_0x344863[_0x18e4bd(0xca)])?([_0x473531,_0x127f66]=await helper[_0x18e4bd(0xe8)](_0x344863[_0x18e4bd(0xca)]),[_0x14743c]=await Promise[_0x18e4bd(0xd9)]([helper[_0x18e4bd(0xed)](_0x473531,_0x344863[_0x18e4bd(0xca)]),exports[_0x18e4bd(0xbf)](_0x2a61b1[_0x18e4bd(0xb1)],_0x10b03c,_0x344863['config'],_0x344863[_0x18e4bd(0x9f)])])):([_0x473531,_0x127f66]=await helper[_0x18e4bd(0xb9)](_0x344863['config']),[_0x14743c]=await Promise[_0x18e4bd(0xd9)]([helper[_0x18e4bd(0xe6)](_0x473531,_0x344863[_0x18e4bd(0xca)]),exports[_0x18e4bd(0xbf)](_0x2a61b1[_0x18e4bd(0xb1)],_0x10b03c,_0x344863['config'],_0x344863[_0x18e4bd(0x9f)])])),_0x14743c&&await _0x2a61b1['DLMzS'](generateCIArtifacts,_0x14743c,_0x127f66),logger['info'](_0x18e4bd(0xc9)+_0x344863[_0x18e4bd(0x72)]+_0x18e4bd(0x96)+process['env'][_0x18e4bd(0xe3)]),await helper['sendLogs'](_0x344863[_0x18e4bd(0xca)]);}catch(_0x17330d){logger[_0x18e4bd(0xd0)](_0x2a61b1['EpdeP'](_0x2a61b1[_0x18e4bd(0x70)],_0x17330d));}helper[_0x18e4bd(0x86)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a94_0x53340a=a94_0x498f;function a94_0x498f(_0x559d99,_0x8b5421){var _0x47ed1a=a94_0x47ed();return a94_0x498f=function(_0x498f40,_0x2eb7c0){_0x498f40=_0x498f40-0x17d;var _0x190724=_0x47ed1a[_0x498f40];return _0x190724;},a94_0x498f(_0x559d99,_0x8b5421);}function a94_0x47ed(){var _0x4fb0ab=['sessionName','UwOgt','playwrightVersion','accessKey','browserstack.overridelocalInfo.localIdentifier','fkeGS','telemetryLogs','YoAuT','nRRLq','browserstack.testhubBuildUuid','lQXsj','networkLogsOptions','MqKbg','AfMaq','accessibilityOptions.wcagVersion','nkeel','seMBv','nKoxk','bfcache','name','Pkeia','bScve','enableSim','hosts','buildName','10905rGrkbW','buildProductMap','build','browserVersion','browserstack.autoWait','YaHoH','IVBGo','W3CMapping','jZiwE','6620DvDKMR','Nxlkc','browserstack.seleniumLogs','1287080YhfOiF','appiumVersion','rpqdQ','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserstack.console','UDxCm','ciGKD','YzeJF','TfqwM','YgdQN','browserstack.playwrightVersion','browserstack.buildIdentifier','UAGlZ','browserstack.video','uploadMedia','PrKNh','browserstack.maskCommands','zlmQJ','IOHAM','oSxGm','accessibilityOptions.includeIssueType.needsReview','project','PGzjT','wsLocalSupport','9414kUhiwU','browserstack.networkLogs','browser','kCJJD','SQXbG','eFeec','WUIus','accessibilityOptions.authToken','EpwLk','920jMoENL','8UAFybT','jLoni','browserstack.networkLogsOptions','oQkXI','browserstack.headerParams','seleniumVersion','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.accessibilityOptions.includeIssueType.needsReview','testhubBuildUuid','EmKjj','browserstack.selenium_version','pWLih','browserstack.key','browserstack.browserstackSDK','browserstack.accessibilityOptions.wcagVersion','LFmrT','browserstack.idleTimeout','debug','26339uDTeOU','6587sSMtLh','browserstack.geoLocation','browserstack.accessibilityOptions.authToken','4088336BWSbdd','accessibilityOptions.includeIssueType.bestPractice','304536PJdOdL','browserstack.enableSim','Mkhic','headerParams','projectName','browserstack.user','browserstack.disableCorsRestrictions','maskCommands','realMobile','lFvUj','browserstackSDK','networkLogs','autoWait','deviceOrientation','browserstack.localIdentifier','consoleLogs','RTEar','browserstack.appium_version','VFygY','useW3c','tjhhI','browserstack.simOptions','3312PPZDgl','browserstack.timezone','geoLocation','fxAdw','kStSI','local','browserstack.customNetwork','browserstack.networkProfile','browserstack.use_w3c','idleTimeout','browserstack.telemetryLogs','customNetwork','accessibility','AfoTi','sYgWF','browserstack.bfcache','DOpEo','WYHtz','AzOqg','resolution','176tXIFtY','browserstack.local','kMKWd','ZFIGQ','accessibilityOptions.scannerProcessingTimeout','EgbwV'];a94_0x47ed=function(){return _0x4fb0ab;};return a94_0x47ed();}(function(_0x15353b,_0x3cb3be){var _0x21aa1e=a94_0x498f,_0x459a77=_0x15353b();while(!![]){try{var _0x3c048d=-parseInt(_0x21aa1e(0x195))/0x1*(parseInt(_0x21aa1e(0x183))/0x2)+-parseInt(_0x21aa1e(0x1e4))/0x3*(parseInt(_0x21aa1e(0x182))/0x4)+parseInt(_0x21aa1e(0x1f0))/0x5+parseInt(_0x21aa1e(0x1b1))/0x6*(parseInt(_0x21aa1e(0x196))/0x7)+-parseInt(_0x21aa1e(0x199))/0x8+-parseInt(_0x21aa1e(0x208))/0x9*(-parseInt(_0x21aa1e(0x1ed))/0xa)+parseInt(_0x21aa1e(0x1c5))/0xb*(parseInt(_0x21aa1e(0x19b))/0xc);if(_0x3c048d===_0x3cb3be)break;else _0x459a77['push'](_0x459a77['shift']());}catch(_0x4a51bc){_0x459a77['push'](_0x459a77['shift']());}}}(a94_0x47ed,0x673f4),exports[a94_0x53340a(0x1eb)]=()=>{var _0x1c838e=a94_0x53340a,_0x4090ea={};_0x4090ea[_0x1c838e(0x1ea)]='userName',_0x4090ea[_0x1c838e(0x203)]=_0x1c838e(0x1ce),_0x4090ea[_0x1c838e(0x1d3)]='osVersion',_0x4090ea[_0x1c838e(0x1c1)]=_0x1c838e(0x20a),_0x4090ea[_0x1c838e(0x17e)]=_0x1c838e(0x1e7),_0x4090ea[_0x1c838e(0x1f6)]=_0x1c838e(0x1ae),_0x4090ea[_0x1c838e(0x18e)]=_0x1c838e(0x19f),_0x4090ea[_0x1c838e(0x1ad)]=_0x1c838e(0x1e3),_0x4090ea[_0x1c838e(0x20b)]=_0x1c838e(0x1cb),_0x4090ea[_0x1c838e(0x1be)]=_0x1c838e(0x1b6),_0x4090ea[_0x1c838e(0x1e0)]='localIdentifier',_0x4090ea[_0x1c838e(0x1ff)]=_0x1c838e(0x194),_0x4090ea[_0x1c838e(0x1f5)]=_0x1c838e(0x1aa),_0x4090ea[_0x1c838e(0x1c7)]=_0x1c838e(0x1a6),_0x4090ea[_0x1c838e(0x1ec)]=_0x1c838e(0x1d6),_0x4090ea[_0x1c838e(0x206)]='appiumLogs',_0x4090ea['EmKjj']='video',_0x4090ea[_0x1c838e(0x1f2)]='seleniumLogs',_0x4090ea['SQXbG']=_0x1c838e(0x1d1),_0x4090ea[_0x1c838e(0x1c2)]=_0x1c838e(0x1b3),_0x4090ea[_0x1c838e(0x1f9)]='timezone',_0x4090ea[_0x1c838e(0x1df)]='resolution',_0x4090ea[_0x1c838e(0x1d7)]=_0x1c838e(0x188),_0x4090ea[_0x1c838e(0x202)]=_0x1c838e(0x1a2),_0x4090ea[_0x1c838e(0x181)]=_0x1c838e(0x1ba),_0x4090ea['oQkXI']='maskBasicAuth',_0x4090ea[_0x1c838e(0x1ee)]=_0x1c838e(0x1a7),_0x4090ea['lnUJo']=_0x1c838e(0x1e2),_0x4090ea[_0x1c838e(0x1af)]=_0x1c838e(0x1dd),_0x4090ea[_0x1c838e(0x192)]=_0x1c838e(0x207),_0x4090ea[_0x1c838e(0x1d8)]='disableCorsRestrictions',_0x4090ea['nHkvi']='deviceName',_0x4090ea[_0x1c838e(0x1e9)]=_0x1c838e(0x1a3),_0x4090ea[_0x1c838e(0x1bf)]=_0x1c838e(0x1f1),_0x4090ea[_0x1c838e(0x1c3)]=_0x1c838e(0x1a8),_0x4090ea[_0x1c838e(0x1cc)]=_0x1c838e(0x1bc),_0x4090ea[_0x1c838e(0x1b5)]='networkProfile',_0x4090ea[_0x1c838e(0x1ca)]='buildIdentifier',_0x4090ea['TfqwM']=_0x1c838e(0x1a5),_0x4090ea[_0x1c838e(0x19d)]=_0x1c838e(0x1bd),_0x4090ea[_0x1c838e(0x184)]=_0x1c838e(0x1e5),_0x4090ea[_0x1c838e(0x1b4)]=_0x1c838e(0x18b),_0x4090ea[_0x1c838e(0x1fc)]=_0x1c838e(0x1d9),_0x4090ea[_0x1c838e(0x1d2)]='accessibilityOptions.scannerVersion',_0x4090ea['lFvUj']=_0x1c838e(0x1c9),_0x4090ea[_0x1c838e(0x1da)]=_0x1c838e(0x19a),_0x4090ea[_0x1c838e(0x1db)]=_0x1c838e(0x204),_0x4090ea[_0x1c838e(0x1c8)]=_0x1c838e(0x180),_0x4090ea[_0x1c838e(0x1f7)]=_0x1c838e(0x1fe),_0x4090ea[_0x1c838e(0x1d0)]=_0x1c838e(0x1e1),_0x4090ea[_0x1c838e(0x17f)]='simOptions',_0x4090ea[_0x1c838e(0x1d5)]=_0x1c838e(0x1cd),_0x4090ea[_0x1c838e(0x201)]='overridelocalInfo.userAuthToken',_0x4090ea[_0x1c838e(0x1dc)]='overridelocalInfo.localIdentifier',_0x4090ea[_0x1c838e(0x1ab)]=_0x1c838e(0x19e);var _0x70e08a=_0x4090ea,_0x4d4ee2={};return _0x4d4ee2[_0x1c838e(0x1a0)]=_0x70e08a[_0x1c838e(0x1ea)],_0x4d4ee2[_0x1c838e(0x18f)]=_0x70e08a[_0x1c838e(0x203)],_0x4d4ee2['os']='os',_0x4d4ee2['os_version']=_0x70e08a[_0x1c838e(0x1d3)],_0x4d4ee2[_0x1c838e(0x20a)]=_0x70e08a[_0x1c838e(0x1c1)],_0x4d4ee2['browser_version']=_0x70e08a[_0x1c838e(0x17e)],_0x4d4ee2[_0x1c838e(0x1b9)]=_0x70e08a[_0x1c838e(0x1f6)],_0x4d4ee2[_0x1c838e(0x205)]=_0x70e08a[_0x1c838e(0x18e)],_0x4d4ee2[_0x1c838e(0x1e6)]=_0x70e08a[_0x1c838e(0x1ad)],_0x4d4ee2[_0x1c838e(0x1de)]=_0x70e08a[_0x1c838e(0x20b)],_0x4d4ee2[_0x1c838e(0x1c6)]=_0x70e08a[_0x1c838e(0x1be)],_0x4d4ee2[_0x1c838e(0x1a9)]=_0x70e08a[_0x1c838e(0x1e0)],_0x4d4ee2['browserstack.debug']=_0x70e08a[_0x1c838e(0x1ff)],_0x4d4ee2[_0x1c838e(0x1f4)]=_0x70e08a['UDxCm'],_0x4d4ee2[_0x1c838e(0x209)]=_0x70e08a[_0x1c838e(0x1c7)],_0x4d4ee2[_0x1c838e(0x185)]=_0x70e08a[_0x1c838e(0x1ec)],_0x4d4ee2['browserstack.appiumLogs']=_0x70e08a[_0x1c838e(0x206)],_0x4d4ee2[_0x1c838e(0x1fd)]=_0x70e08a[_0x1c838e(0x18c)],_0x4d4ee2[_0x1c838e(0x1ef)]=_0x70e08a['rpqdQ'],_0x4d4ee2[_0x1c838e(0x1bb)]=_0x70e08a[_0x1c838e(0x17d)],_0x4d4ee2[_0x1c838e(0x197)]=_0x70e08a[_0x1c838e(0x1c2)],_0x4d4ee2[_0x1c838e(0x1b2)]=_0x70e08a[_0x1c838e(0x1f9)],_0x4d4ee2[_0x1c838e(0x1c4)]=_0x70e08a[_0x1c838e(0x1df)],_0x4d4ee2[_0x1c838e(0x18d)]=_0x70e08a[_0x1c838e(0x1d7)],_0x4d4ee2[_0x1c838e(0x200)]=_0x70e08a[_0x1c838e(0x202)],_0x4d4ee2[_0x1c838e(0x193)]=_0x70e08a[_0x1c838e(0x181)],_0x4d4ee2['browserstack.maskBasicAuth']=_0x70e08a[_0x1c838e(0x186)],_0x4d4ee2[_0x1c838e(0x1e8)]=_0x70e08a[_0x1c838e(0x1ee)],_0x4d4ee2['browserstack.hosts']=_0x70e08a['lnUJo'],_0x4d4ee2[_0x1c838e(0x1c0)]=_0x70e08a[_0x1c838e(0x1af)],_0x4d4ee2['browserstack.wsLocalSupport']=_0x70e08a[_0x1c838e(0x192)],_0x4d4ee2[_0x1c838e(0x1a1)]=_0x70e08a[_0x1c838e(0x1d8)],_0x4d4ee2['device']=_0x70e08a['nHkvi'],_0x4d4ee2[_0x1c838e(0x1a3)]=_0x70e08a[_0x1c838e(0x1e9)],_0x4d4ee2[_0x1c838e(0x1ac)]=_0x70e08a[_0x1c838e(0x1bf)],_0x4d4ee2[_0x1c838e(0x1a8)]=_0x70e08a['AzOqg'],_0x4d4ee2[_0x1c838e(0x1b7)]=_0x70e08a[_0x1c838e(0x1cc)],_0x4d4ee2[_0x1c838e(0x1b8)]=_0x70e08a['kStSI'],_0x4d4ee2[_0x1c838e(0x1fb)]=_0x70e08a[_0x1c838e(0x1ca)],_0x4d4ee2[_0x1c838e(0x190)]=_0x70e08a[_0x1c838e(0x1f8)],_0x4d4ee2['browserstack.accessibility']=_0x70e08a[_0x1c838e(0x19d)],_0x4d4ee2['browserstack.buildProductMap']=_0x70e08a[_0x1c838e(0x184)],_0x4d4ee2[_0x1c838e(0x1d4)]=_0x70e08a[_0x1c838e(0x1b4)],_0x4d4ee2[_0x1c838e(0x191)]=_0x70e08a[_0x1c838e(0x1fc)],_0x4d4ee2['browserstack.accessibilityOptions.scannerVersion']=_0x70e08a['YoAuT'],_0x4d4ee2[_0x1c838e(0x189)]=_0x70e08a[_0x1c838e(0x1a4)],_0x4d4ee2[_0x1c838e(0x1f3)]=_0x70e08a[_0x1c838e(0x1da)],_0x4d4ee2[_0x1c838e(0x18a)]=_0x70e08a[_0x1c838e(0x1db)],_0x4d4ee2[_0x1c838e(0x198)]=_0x70e08a[_0x1c838e(0x1c8)],_0x4d4ee2['browserstack.uploadMedia']=_0x70e08a[_0x1c838e(0x1f7)],_0x4d4ee2[_0x1c838e(0x19c)]=_0x70e08a[_0x1c838e(0x1d0)],_0x4d4ee2[_0x1c838e(0x1b0)]=_0x70e08a[_0x1c838e(0x17f)],_0x4d4ee2[_0x1c838e(0x1fa)]=_0x70e08a[_0x1c838e(0x1d5)],_0x4d4ee2['browserstack.overridelocalInfo.userAuthToken']=_0x70e08a['zlmQJ'],_0x4d4ee2[_0x1c838e(0x1cf)]=_0x70e08a[_0x1c838e(0x1dc)],_0x4d4ee2[_0x1c838e(0x187)]=_0x70e08a['RTEar'],_0x4d4ee2;});
|