browserstack-node-sdk 1.34.19 → 1.34.20
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/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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.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-tester.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 a86_0x462f60=a86_0x4206;(function(_0x5ac333,_0x58bbaa){const _0x119eae=a86_0x4206,_0x5b46c7=_0x5ac333();while(!![]){try{const _0x352911=parseInt(_0x119eae(0x164))/0x1*(parseInt(_0x119eae(0xdb))/0x2)+-parseInt(_0x119eae(0xec))/0x3+-parseInt(_0x119eae(0xbe))/0x4*(parseInt(_0x119eae(0x121))/0x5)+parseInt(_0x119eae(0x111))/0x6*(-parseInt(_0x119eae(0x167))/0x7)+parseInt(_0x119eae(0xe1))/0x8*(-parseInt(_0x119eae(0x157))/0x9)+-parseInt(_0x119eae(0xe0))/0xa*(parseInt(_0x119eae(0x115))/0xb)+parseInt(_0x119eae(0xd1))/0xc;if(_0x352911===_0x58bbaa)break;else _0x5b46c7['push'](_0x5b46c7['shift']());}catch(_0x3b64ad){_0x5b46c7['push'](_0x5b46c7['shift']());}}}(a86_0x1759,0x598bb));function a86_0x4206(_0x141ba4,_0x49e280){const _0x1759f2=a86_0x1759();return a86_0x4206=function(_0x42060e,_0x19e8fa){_0x42060e=_0x42060e-0xbb;let _0x4c8dce=_0x1759f2[_0x42060e];return _0x4c8dce;},a86_0x4206(_0x141ba4,_0x49e280);}function a86_0x1759(){const _0x35e0c2=['qSclS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','28890660OfsoUa','uploadEventData','true','stringify','CRlrk','error','QikUd','key','accessibilityPlatform','uyMPj','4194WBZtrd','./constants.js','../ats/helper','errors','name','333990FAuRrp','48dlENZb','psTVN','../test-observability/utils','commandsToWrap','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','RUbFj','isUndefined','percy','HHbUU','handleErrorForAccessibility','toUpperCase','1433082VjnTjQ','brhXg','BS_TESTOPS_JWT','eNixb','message','bstackA11yShouldScan','NnEZn','UWfYP','JCQNu','xWfwb','WAAji','toString','rdCkQ','xrTYW','../../bin/playwright/reporter/test-details.js','HFwaZ','rFbwk','KKcPs','username','BS_A11Y_JWT','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ERROR','split','BROWSERSTACK_PERCY','OMTyO','MOCHA','BS_TESTOPS_ALLOW_SCREENSHOTS','titlePath','svCHo','../logger','BS_TESTOPS_BUILD_COMPLETED','DDrRB','rsdaL','PqaDb','oifhF','PyLWg','setTestHubCommonMetaInfo','111486hVLLdJ','setTestData','WzBXF','javascript','154xKAmxO','INVALID_CREDENTIALS','winstonLogger','2|3|5|4|6|0|1','setPercyFlag','jCshi','password','gYikg','ACCESSIBILITY','vttRx','env','ahtLp','17375cXfdPe','HookRunStarted','BROWSERSTACK_ACCESSIBILITY','DEPRECATED','getAccessibilityPlatformValidation','../helper','appendTesthubParams','ksiwh','value','setAccessibilityVariables','command','CBTSessionCreated','UvchU','OnplO','isPercyBuild','allow_screenshots','yFyOY','[OBSERVABILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','uUTum','FnKmu','debug','dCCzT','../globals.js','gAfgd','setCurrentTestData','qMGBn','test_run','XzSys','parse','capabilities','isBrowserstackInfra','ogMDZ','BROWSERSTACK_TESTHUB_JWT','wqqgs','success','isAccessibilityPlatform','includes','4|2|1|5|3|0','OBSERVABILITY','uuid','LThsb','isAccessibilityEnabled','scripts','scannerVersion','../accessibility-automation/helper','getTestData','build_hashed_id','IKIWF','TestRunStarted','tLvzj','\x20Build\x20creation\x20failed','../test-observability/constants.js','../helper.js','JEST','627219vivezP','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','commands','HookRunFinished','scopes','null','length','accessibility','getGlobal','vnZIz','BROWSERSTACK_TESTHUB_UUID','vmHgf','BS_TESTOPS_BUILD_HASHED_ID','137wcGlul','zvLoG','UfgUW','133XYwauZ','options','fGKlx','tags','UlswQ','handleErrorForObservability','704KuqJQP','logBuildError','CUCUMBER','CREDENTIALS_FOR_CRASH_REPORTING','CODECEPT','fgqfQ','keys','false','aDPxc','jwt','shouldScanTestForAccessibility','BROWSERSTACK_TESTHUB_UUID:\x20','forEach','getProductMap','observability','product_map','isTrue'];a86_0x1759=function(){return _0x35e0c2;};return a86_0x1759();}const bsSetupHelper=require(a86_0x462f60(0x126)),{isTestObservabilitySession,getFrameworkVersion}=require(a86_0x462f60(0xe3)),accessibilityHelper=require(a86_0x462f60(0x14d)),logger=require(a86_0x462f60(0x109))[a86_0x462f60(0x117)],{nestedKeyValue}=require(a86_0x462f60(0x155)),scripts=require('../accessibility-automation/scripts.js'),globals=require(a86_0x462f60(0x137)),testHubConstants=require(a86_0x462f60(0xdc)),PWTestDetails=require(a86_0x462f60(0xfa)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a86_0x462f60(0x154)),{isTurboScaleSession}=require(a86_0x462f60(0xdd));let testData={};exports[a86_0x462f60(0xcb)]=_0x25b4f8=>{const _0x3c94f3=a86_0x462f60,_0x366470={'IKIWF':function(_0x43cc81){return _0x43cc81();},'vmHgf':function(_0x2ced7a,_0x105844){return _0x2ced7a(_0x105844);}};let _0x33dd8d=![],_0x420bdb=![];if(bsSetupHelper[_0x3c94f3(0x13f)]()&&_0x25b4f8['app'])_0x420bdb=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x33dd8d=!![]);return{'observability':_0x366470[_0x3c94f3(0x150)](isTestObservabilitySession),'accessibility':exports[_0x3c94f3(0x14a)](_0x25b4f8),'percy':_0x25b4f8[_0x3c94f3(0xe8)]||![],'automate':_0x33dd8d,'app_automate':_0x420bdb,'turboscale':_0x366470[_0x3c94f3(0x162)](isTurboScaleSession,_0x25b4f8)};},exports['getFrameworkDetails']=(_0x1efe33,_0x1da117)=>{const _0xdd0c57=a86_0x462f60,_0x3c0ae2={'gdeZR':function(_0x3eae9c,_0x3a3fdd){return _0x3eae9c(_0x3a3fdd);},'HHbUU':_0xdd0c57(0x114)};return{'frameworkName':_0x1da117,'frameworkVersion':_0x3c0ae2['gdeZR'](getFrameworkVersion,_0x1da117),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x3c0ae2[_0xdd0c57(0xe9)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x1efe33,_0x1da117)};},exports[a86_0x462f60(0x119)]=_0x2f32d5=>{const _0x2b617d=a86_0x462f60,_0x284bef={};_0x284bef['ksiwh']=_0x2b617d(0xc5),_0x284bef['qMGBn']=_0x2b617d(0xd3);const _0x383396=_0x284bef;process[_0x2b617d(0x11f)][_0x2b617d(0x103)]=_0x383396[_0x2b617d(0x128)],bsSetupHelper['isTrue'](_0x2f32d5['config'][_0x2b617d(0xe8)])&&(!_0x2f32d5[_0x2b617d(0xe8)]||!_0x2f32d5[_0x2b617d(0xe8)]['isRunning']())&&(process[_0x2b617d(0x11f)][_0x2b617d(0x103)]=_0x383396[_0x2b617d(0x13a)]);},exports[a86_0x462f60(0x12f)]=()=>{const _0xca66f3=a86_0x462f60;return bsSetupHelper['isTrue'](process[_0xca66f3(0x11f)][_0xca66f3(0x103)]);},exports[a86_0x462f60(0x14a)]=(_0x4544d7={})=>{const _0x18a122=a86_0x462f60,_0x755241={};_0x755241['oifhF']=function(_0x4046f9,_0x4e498a){return _0x4046f9!==_0x4e498a;},_0x755241[_0x18a122(0xe2)]=function(_0x39dd2d,_0x2a4d14){return _0x39dd2d===_0x2a4d14;},_0x755241[_0x18a122(0x104)]='true',_0x755241[_0x18a122(0x149)]=function(_0x26eb09,_0x41a971){return _0x26eb09>_0x41a971;},_0x755241[_0x18a122(0x11c)]=function(_0x59352d,_0x3f6059){return _0x59352d===_0x3f6059;};const _0x1cc94f=_0x755241;if(_0x1cc94f[_0x18a122(0x10e)](process['env'][_0x18a122(0x123)],undefined))return bsSetupHelper[_0x18a122(0xce)](process[_0x18a122(0x11f)][_0x18a122(0x123)]);let _0x1e77f8=_0x1cc94f[_0x18a122(0xe2)](process[_0x18a122(0x11f)][_0x18a122(0xd0)],_0x1cc94f[_0x18a122(0x104)]);return _0x1cc94f[_0x18a122(0x149)](Object[_0x18a122(0xc4)](_0x4544d7)[_0x18a122(0x15d)],0x0)&&(process[_0x18a122(0x11f)][_0x18a122(0x100)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4544d7)),_0x1e77f8=_0x1e77f8||_0x1cc94f[_0x18a122(0x11c)](process[_0x18a122(0x11f)][_0x18a122(0x100)],_0x1cc94f[_0x18a122(0x104)]),_0x1e77f8;},exports['setTestObservabilityVariables']=(_0x45f546,_0x333eb6)=>{const _0x207055=a86_0x462f60,_0x98872d={'AeFoC':function(_0x20ff86){return _0x20ff86();},'pgxhv':_0x207055(0x146),'yFyOY':_0x207055(0xd3),'eNixb':function(_0x1ea744,_0x58bbb0,_0x2f3674){return _0x1ea744(_0x58bbb0,_0x2f3674);},'ahtLp':_0x207055(0xcc),'QikUd':_0x207055(0x168)};if(!_0x45f546||!_0x45f546['observability'])return exports[_0x207055(0xbd)](),[null,null,null];if(!_0x45f546[_0x207055(0xcc)]['success'])return exports[_0x207055(0xbd)](_0x45f546[_0x207055(0xcc)]),[null,null,null];if(_0x98872d['AeFoC'](isTestObservabilitySession)){const _0x1fc3a8=_0x98872d['pgxhv'][_0x207055(0x102)]('|');let _0x3b7430=0x0;while(!![]){switch(_0x1fc3a8[_0x3b7430++]){case'0':return[_0x45f546[_0x207055(0xc7)],_0x45f546[_0x207055(0x14f)],process[_0x207055(0x11f)]['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'1':_0x45f546[_0x207055(0x14f)]&&(process[_0x207055(0x11f)][_0x207055(0x163)]=_0x45f546[_0x207055(0x14f)]);continue;case'2':if(_0x45f546[_0x207055(0xc7)]){process['env']['BS_TESTOPS_JWT']=_0x45f546[_0x207055(0xc7)];const _0x565d27={};_0x565d27[_0x207055(0xfe)]=_0x333eb6[_0x207055(0xfe)],_0x565d27['password']=_0x333eb6[_0x207055(0x11b)],process[_0x207055(0x11f)][_0x207055(0xc1)]=JSON[_0x207055(0xd4)](_0x565d27);}continue;case'3':logger['debug'](_0x207055(0x132)+_0x45f546['build_hashed_id']);continue;case'4':process[_0x207055(0x11f)][_0x207055(0x10a)]=_0x98872d[_0x207055(0x131)];continue;case'5':_0x98872d[_0x207055(0xef)](nestedKeyValue,_0x45f546,[_0x98872d[_0x207055(0x120)],_0x98872d[_0x207055(0xd7)]])&&(process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x45f546[_0x207055(0xcc)][_0x207055(0x168)][_0x207055(0x130)][_0x207055(0xf7)]());continue;}break;}}return[null,null,null];},exports[a86_0x462f60(0x12a)]=_0x5f0332=>{const _0x397f35=a86_0x462f60,_0x49a4dd={'wqqgs':function(_0x336609,_0x4c6063,_0x3652ed){return _0x336609(_0x4c6063,_0x3652ed);},'CRlrk':_0x397f35(0x15e),'HFwaZ':'options','jCshi':function(_0xfa28d5,_0xdf4e26,_0x51d036,_0x243de8){return _0xfa28d5(_0xdf4e26,_0x51d036,_0x243de8);},'rsdaL':_0x397f35(0xdf),'ogMDZ':_0x397f35(0x129),'vnZIz':function(_0x302f27,_0xab53e3,_0x17e0b5,_0x1f4571){return _0x302f27(_0xab53e3,_0x17e0b5,_0x1f4571);},'UvchU':_0x397f35(0x12b),'rdCkQ':_0x397f35(0x159)};if(!_0x5f0332['accessibility'])return exports[_0x397f35(0xea)](),[null,null];if(!_0x5f0332[_0x397f35(0x15e)][_0x397f35(0x143)])return exports[_0x397f35(0xea)](_0x5f0332[_0x397f35(0x15e)]),[null,null];if(_0x49a4dd[_0x397f35(0x142)](nestedKeyValue,_0x5f0332,[_0x49a4dd[_0x397f35(0xd5)],_0x49a4dd[_0x397f35(0xfb)]])){const {accessibilityToken:_0x32a8f0,scannerVersion:_0x716259}=_0x49a4dd[_0x397f35(0x11a)](jsonifyAccessibilityArray,_0x5f0332[_0x397f35(0x15e)][_0x397f35(0x168)][_0x397f35(0x13e)],_0x49a4dd['rsdaL'],_0x49a4dd[_0x397f35(0x140)]),_0x1dc6cf={'scripts':_0x49a4dd[_0x397f35(0x160)](jsonifyAccessibilityArray,_0x5f0332['accessibility'][_0x397f35(0x168)][_0x397f35(0x14b)],_0x49a4dd[_0x397f35(0x10c)],_0x49a4dd[_0x397f35(0x12d)])};_0x1dc6cf[_0x49a4dd[_0x397f35(0xf8)]]=_0x5f0332[_0x397f35(0x15e)][_0x397f35(0x168)][_0x397f35(0xe4)][_0x397f35(0x159)],scripts['parseFromJson'](_0x1dc6cf),scripts['toJson']();let _0x1d759e=process[_0x397f35(0x11f)][_0x397f35(0xe5)];return _0x1d759e=!!_0x1d759e?JSON[_0x397f35(0x13d)](_0x1d759e):{},_0x1d759e[_0x397f35(0x14c)]=_0x716259,process[_0x397f35(0x11f)][_0x397f35(0xe5)]=JSON['stringify'](_0x1d759e),process[_0x397f35(0x11f)][_0x397f35(0xff)]=_0x32a8f0,logger[_0x397f35(0x135)](_0x397f35(0x158)+_0x5f0332['build_hashed_id']),[_0x32a8f0,_0x5f0332['build_hashed_id']];}return[null,null];},exports[a86_0x462f60(0xbd)]=_0x415ad5=>{const _0x35c8e0=a86_0x462f60,_0x584248={};_0x584248[_0x35c8e0(0xda)]=_0x35c8e0(0x118),_0x584248[_0x35c8e0(0x166)]=_0x35c8e0(0x15c),_0x584248[_0x35c8e0(0x138)]=_0x35c8e0(0xc5);const _0x5746ba=_0x584248,_0x25b149=_0x5746ba[_0x35c8e0(0xda)]['split']('|');let _0x39a495=0x0;while(!![]){switch(_0x25b149[_0x39a495++]){case'0':process[_0x35c8e0(0x11f)][_0x35c8e0(0x106)]=_0x5746ba[_0x35c8e0(0x166)];continue;case'1':exports['logBuildError'](_0x415ad5,testHubConstants[_0x35c8e0(0x147)]);continue;case'2':process[_0x35c8e0(0x11f)][_0x35c8e0(0x161)]=_0x5746ba[_0x35c8e0(0x166)];continue;case'3':process[_0x35c8e0(0x11f)][_0x35c8e0(0x141)]=_0x5746ba['UfgUW'];continue;case'4':process['env'][_0x35c8e0(0xee)]=_0x5746ba[_0x35c8e0(0x166)];continue;case'5':process[_0x35c8e0(0x11f)][_0x35c8e0(0x10a)]=_0x5746ba[_0x35c8e0(0x138)];continue;case'6':process[_0x35c8e0(0x11f)][_0x35c8e0(0x163)]=_0x5746ba[_0x35c8e0(0x166)];continue;}break;}},exports['handleErrorForAccessibility']=_0x33c588=>{const _0xc73760=a86_0x462f60,_0x2e6f04={};_0x2e6f04[_0xc73760(0x11e)]='3|1|4|2|0',_0x2e6f04[_0xc73760(0xf6)]=_0xc73760(0x15c),_0x2e6f04['XzSys']=_0xc73760(0xc5);const _0x251d5a=_0x2e6f04,_0x614053=_0x251d5a['vttRx']['split']('|');let _0x1dbccd=0x0;while(!![]){switch(_0x614053[_0x1dbccd++]){case'0':exports[_0xc73760(0xbf)](_0x33c588,testHubConstants[_0xc73760(0x11d)]);continue;case'1':process['env'][_0xc73760(0x141)]=_0x251d5a[_0xc73760(0xf6)];continue;case'2':process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x251d5a['XzSys'];continue;case'3':process[_0xc73760(0x11f)][_0xc73760(0x161)]=_0x251d5a[_0xc73760(0xf6)];continue;case'4':process['env'][_0xc73760(0xd0)]=_0x251d5a[_0xc73760(0x13c)];continue;}break;}},exports[a86_0x462f60(0xbf)]=(_0x202495,_0x19c5a3='')=>{const _0x163fa6=a86_0x462f60,_0x3bec97={};_0x3bec97[_0x163fa6(0x152)]=function(_0x39663f,_0x21df41){return _0x39663f===_0x21df41;};const _0x595a34=_0x3bec97;if(_0x595a34[_0x163fa6(0x152)](_0x202495,undefined)){logger['error'](_0x19c5a3[_0x163fa6(0xeb)]()+_0x163fa6(0x153));return;}for(const _0x1f74bc of _0x202495[_0x163fa6(0xde)]){const _0x4c8c92=_0x1f74bc[_0x163fa6(0xd8)],_0x611f36=_0x1f74bc[_0x163fa6(0xf0)];if(_0x611f36)switch(_0x4c8c92){case testHubConstants[_0x163fa6(0x101)][_0x163fa6(0x116)]:logger['error'](_0x611f36);break;case testHubConstants[_0x163fa6(0x101)]['ACCESS_DENIED']:logger['info'](_0x611f36);break;case testHubConstants[_0x163fa6(0x101)][_0x163fa6(0x124)]:logger[_0x163fa6(0xd6)](_0x611f36);break;default:logger[_0x163fa6(0xd6)](_0x611f36);}}};const jsonifyAccessibilityArray=(_0x2d940d,_0x42975c,_0x38e40e)=>{const _0x4715a1=a86_0x462f60,_0x314c40={};return _0x2d940d[_0x4715a1(0xca)](_0x4e70c2=>{_0x314c40[_0x4e70c2[_0x42975c]]=_0x4e70c2[_0x38e40e];}),_0x314c40;};exports[a86_0x462f60(0x110)]=_0x506054=>{const _0x42b588=a86_0x462f60;_0x506054[_0x42b588(0xc7)]&&(process[_0x42b588(0x11f)][_0x42b588(0x141)]=_0x506054[_0x42b588(0xc7)]);_0x506054[_0x42b588(0x14f)]&&(process[_0x42b588(0x11f)][_0x42b588(0x161)]=_0x506054[_0x42b588(0x14f)],logger['debug'](_0x42b588(0xc9)+_0x506054[_0x42b588(0x14f)]));;},exports['shouldProcessEventForTesthub']=(_0x1df1cd='',_0x220e38='')=>{const _0x5cf437=a86_0x462f60,_0x447506={'uUTum':function(_0x165b26){return _0x165b26();},'PqaDb':function(_0x48705a,_0x593164){return _0x48705a===_0x593164;},'VAucp':_0x5cf437(0xd2),'PyLWg':'LogCreated','fGKlx':_0x5cf437(0x12c),'VDHxs':_0x5cf437(0x122),'NnEZn':_0x5cf437(0x15a)};if(exports['isPercyBuild']()&&!exports[_0x5cf437(0x14a)]()&&!_0x447506[_0x5cf437(0x133)](isTestObservabilitySession)){if(_0x447506[_0x5cf437(0x10d)](_0x220e38,_0x447506['VAucp']))return![];if([_0x447506[_0x5cf437(0x10f)],_0x447506[_0x5cf437(0x169)]][_0x5cf437(0x145)](_0x1df1cd))return![];return!![];}if(exports[_0x5cf437(0x14a)]()&&!_0x447506[_0x5cf437(0x133)](isTestObservabilitySession)){if([_0x447506['VDHxs'],_0x447506[_0x5cf437(0xf2)],_0x447506['PyLWg']]['includes'](_0x1df1cd))return![];return!![];}return exports[_0x5cf437(0x14a)]()||_0x447506[_0x5cf437(0x133)](isTestObservabilitySession)||exports[_0x5cf437(0x12f)]();},exports[a86_0x462f60(0x127)]=(_0x5962a2,_0x2763a5,_0x402ed7='',_0x11f3ef)=>{const _0x366780=a86_0x462f60,_0x500fae={};_0x500fae['xWfwb']=_0x366780(0x122),_0x500fae[_0x366780(0x113)]='HookRunFinished',_0x500fae['FnKmu']=function(_0x50be10,_0x23cb77){return _0x50be10===_0x23cb77;},_0x500fae[_0x366780(0x12e)]=_0x366780(0xf1),_0x500fae[_0x366780(0xf3)]=_0x366780(0x144),_0x500fae[_0x366780(0xf9)]=_0x366780(0x15e),_0x500fae[_0x366780(0xfd)]=function(_0x39371d,_0x17d35d){return _0x39371d&&_0x17d35d;},_0x500fae[_0x366780(0x136)]=function(_0x2b5d84,_0xb27b53){return _0x2b5d84===_0xb27b53;},_0x500fae[_0x366780(0xf4)]=function(_0x4fc832,_0x2aaceb){return _0x4fc832+_0x2aaceb;},_0x500fae[_0x366780(0xc3)]=function(_0x56a74c,_0x18069a){return _0x56a74c+_0x18069a;},_0x500fae[_0x366780(0xbc)]=function(_0x528f54,_0x384d1e){return _0x528f54&&_0x384d1e;},_0x500fae[_0x366780(0xcf)]=function(_0x5b2860,_0x311951){return _0x5b2860===_0x311951;},_0x500fae['svCHo']=_0x366780(0x151),_0x500fae[_0x366780(0xc6)]=function(_0x391c5c,_0x427a77){return _0x391c5c&&_0x427a77;},_0x500fae[_0x366780(0xe6)]=function(_0xcedcd7,_0x457833){return _0xcedcd7===_0x457833;},_0x500fae[_0x366780(0xed)]=function(_0x593a6b,_0x470767){return _0x593a6b&&_0x470767;},_0x500fae[_0x366780(0xfc)]=_0x366780(0xcd);const _0x24772b=_0x500fae;if(![_0x24772b[_0x366780(0xf5)],_0x24772b[_0x366780(0x113)]][_0x366780(0x145)](_0x2763a5)&&exports[_0x366780(0x14a)]()){const _0x1d26e9={};if(_0x24772b[_0x366780(0x134)](_0x11f3ef,FRAMEWORKS[_0x366780(0x105)])){const _0x53b75b=globals[_0x366780(0x15f)](_0x24772b[_0x366780(0x12e)])||accessibilityHelper[_0x366780(0xc8)](_0x402ed7['titlePath'](),!![]),_0x11120a=globals[_0x366780(0x15f)](_0x24772b['UWfYP']);_0x1d26e9[_0x24772b['xrTYW']]=_0x24772b['KKcPs'](_0x11120a,_0x53b75b);}if(_0x24772b[_0x366780(0x136)](_0x11f3ef,FRAMEWORKS[_0x366780(0x156)])){const _0x166a46=_0x24772b['JCQNu'](_0x24772b[_0x366780(0xc3)](_0x5962a2[_0x366780(0x15b)]['join']('\x20'),'\x20'),_0x402ed7['name']),_0x5bc7cf=globals[_0x366780(0x15f)](_0x24772b[_0x366780(0x12e)])||accessibilityHelper[_0x366780(0xc8)](_0x166a46,![]),_0x4459c3=browserStackGlobals[_0x366780(0x144)];_0x1d26e9[_0x24772b[_0x366780(0xf9)]]=_0x24772b[_0x366780(0xbc)](_0x4459c3,_0x5bc7cf);}if(_0x24772b[_0x366780(0xcf)](_0x11f3ef,FRAMEWORKS['PLAYWRIGHT'])){if(_0x24772b[_0x366780(0x134)](_0x2763a5,_0x24772b[_0x366780(0x108)]))return;_0x1d26e9[_0x24772b['xrTYW']]=PWTestDetails[_0x366780(0x125)](_0x5962a2[_0x366780(0x148)]);}if(_0x24772b[_0x366780(0xcf)](_0x11f3ef,FRAMEWORKS[_0x366780(0xc2)])){const _0x5f7df1=accessibilityHelper[_0x366780(0xc8)](_0x402ed7[_0x366780(0x107)](),!![]),_0x4127e9=global[_0x366780(0xd9)]&&bsSetupHelper[_0x366780(0x13f)]();_0x1d26e9[_0x24772b['xrTYW']]=_0x24772b[_0x366780(0xc6)](_0x4127e9,_0x5f7df1);}if(_0x24772b[_0x366780(0xe6)](_0x11f3ef,FRAMEWORKS[_0x366780(0xc0)])){const _0x5a38dc=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x5962a2[_0x366780(0xbb)]),_0x15838d=globals[_0x366780(0x15f)](_0x24772b['UWfYP']);_0x1d26e9[_0x24772b[_0x366780(0xf9)]]=_0x24772b[_0x366780(0xed)](_0x15838d,_0x5a38dc);}_0x5962a2[_0x24772b['rFbwk']]=_0x1d26e9;}},exports['getCurrentTestData']=_0x4fe6cf=>{const _0x2b00fe=a86_0x462f60,_0x3e65e4={};_0x3e65e4['zvLoG']=function(_0x4c07b7,_0x29811b){return _0x4c07b7>_0x29811b;},_0x3e65e4[_0x2b00fe(0x10b)]=function(_0x251320,_0x4268e2){return _0x251320>_0x4268e2;};const _0x31159b=_0x3e65e4;let _0x5ac36b={};if(_0x31159b[_0x2b00fe(0x165)](Object[_0x2b00fe(0xc4)](testData)[_0x2b00fe(0x15d)],0x0))return testData;_0x5ac36b=JestTestDetails[_0x2b00fe(0x14e)]();if(_0x31159b['DDrRB'](Object[_0x2b00fe(0xc4)](_0x5ac36b)[_0x2b00fe(0x15d)],0x0))return _0x5ac36b;return _0x5ac36b;},exports[a86_0x462f60(0x139)]=(_0x322a2c,_0xc2cb11={})=>{const _0x3f2959=a86_0x462f60;if(bsSetupHelper[_0x3f2959(0xe7)](_0xc2cb11['test_run']))return;switch(_0x322a2c){case FRAMEWORKS[_0x3f2959(0x105)]:testData=_0xc2cb11[_0x3f2959(0x13b)];break;case FRAMEWORKS[_0x3f2959(0x156)]:JestTestDetails[_0x3f2959(0x112)](_0xc2cb11[_0x3f2959(0x13b)]);break;default:break;}};
|
|
1
|
+
const a86_0x4403c9=a86_0x4695;(function(_0x484681,_0x53cc1f){const _0x2fe9b5=a86_0x4695,_0xf01b8f=_0x484681();while(!![]){try{const _0x3d1be8=parseInt(_0x2fe9b5(0x1ab))/0x1+-parseInt(_0x2fe9b5(0x16b))/0x2*(parseInt(_0x2fe9b5(0x1aa))/0x3)+-parseInt(_0x2fe9b5(0x194))/0x4*(-parseInt(_0x2fe9b5(0x173))/0x5)+parseInt(_0x2fe9b5(0x160))/0x6*(-parseInt(_0x2fe9b5(0x1c5))/0x7)+-parseInt(_0x2fe9b5(0x186))/0x8*(parseInt(_0x2fe9b5(0x144))/0x9)+parseInt(_0x2fe9b5(0x153))/0xa+parseInt(_0x2fe9b5(0x17e))/0xb;if(_0x3d1be8===_0x53cc1f)break;else _0xf01b8f['push'](_0xf01b8f['shift']());}catch(_0x3365fc){_0xf01b8f['push'](_0xf01b8f['shift']());}}}(a86_0x2938,0xbb00c));function a86_0x2938(){const _0x334e9d=['BS_TESTOPS_ALLOW_SCREENSHOTS','LogCreated','LKeeg','6|4|2|3|5|1|0','appendTesthubParams','build_hashed_id','shouldProcessEventForTesthub','BS_TESTOPS_BUILD_COMPLETED','../test-observability/constants.js','../globals.js','CxMtt','171714zzKYZK','tVOvi','join','password','BROWSERSTACK_ACCESSIBILITY','setTestObservabilityVariables','isAccessibilityEnabled','ACCESSIBILITY','RXpvH','BROWSERSTACK_TESTHUB_UUID:\x20','isAccessibilityPlatform','2411864VFDyTb','setTestHubCommonMetaInfo','oNHEB','parseFromJson','scannerVersion','FrLvH','edXKj','ywMYD','1850uQIodY','2|4|3|0|1','stringify','PLAYWRIGHT','config','split','uFHlS','pcdXA','keys','hQamN','NvLZf','8780673pToILv','../../bin/jest/test-observability/test-details.js','4|5|2|1|0|3','CUCUMBER','../logger','errors','app','TcRCY','824QCCSOz','kNZob','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setCurrentTestData','../../bin/playwright/reporter/test-details.js','INVALID_CREDENTIALS','getCurrentTestData','debug','javascript','xdMxN','jEjjV','error','jaqax','scripts','6464dnLoUm','getProductMap','getFrameworkDetails','titlePath','EJtHz','commands','test_run','shouldScanTestForAccessibility','isPercyBuild','../helper','message','info','JaAmZ','isBrowserstackInfra','env','ytbjg','wIZVB','OMLZN','KOUSx','HookRunFinished','winstonLogger','false','3Pjyqlp','648485nMIcnT','logBuildError','getAccessibilityPlatformValidation','JcPJZ','getTestData','jwt','product_map','../helper.js','ozYVa','forEach','observability','VPRJn','tCSia','bstackA11yShouldScan','\x20Build\x20creation\x20failed','BROWSERSTACK_TESTHUB_UUID','BROWSERSTACK_PERCY','isTrue','BS_TESTOPS_BUILD_HASHED_ID','HookRunStarted','parse','xvTbq','percy','true','handleErrorForAccessibility','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','287OfBHiE','CODECEPT','dlbow','JEST','YRTKL','HhhjL','toString','checkAccessibilityPlatformConfig','ACCESS_DENIED','dWeez','options','accessibility','hWwdJ','Gcwrc','commandsToWrap','name','UVBMw','uuid','NisZh','NFSMY','MQIZy','kycOw','getGlobal','KRFnw','key','../accessibility-automation/scripts.js','getTestFrameworkDetails','BROWSERSTACK_TESTHUB_JWT','setPercyFlag','capabilities','[OBSERVABILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','success','ERROR','includes','aIdWn','OBSERVABILITY','value','23400fvYntn','FXOWu','ixvFt','MOCHA','Ijsrb','IyPII','null','toUpperCase','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','username','BS_TESTOPS_JWT','length','allow_screenshots','accessibilityPlatform','tgkiV','13684270oCwYqD','../ats/helper'];a86_0x2938=function(){return _0x334e9d;};return a86_0x2938();}const bsSetupHelper=require(a86_0x4403c9(0x19d)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a86_0x4403c9(0x182))[a86_0x4403c9(0x1a8)],{nestedKeyValue}=require(a86_0x4403c9(0x1b2)),scripts=require(a86_0x4403c9(0x1de)),globals=require(a86_0x4403c9(0x15e)),testHubConstants=require('./constants.js'),PWTestDetails=require(a86_0x4403c9(0x18a)),JestTestDetails=require(a86_0x4403c9(0x17f)),{FRAMEWORKS}=require(a86_0x4403c9(0x15d)),{isTurboScaleSession}=require(a86_0x4403c9(0x154));let testData={};exports[a86_0x4403c9(0x195)]=_0x177626=>{const _0x276c4b=a86_0x4403c9,_0x4e3ac7={'LKeeg':function(_0x3b7104){return _0x3b7104();},'Gcwrc':function(_0x43645f,_0x224fa5){return _0x43645f(_0x224fa5);}};let _0x2aaa91=![],_0x133fd6=![];if(bsSetupHelper[_0x276c4b(0x1a1)]()&&_0x177626[_0x276c4b(0x184)])_0x133fd6=!![];else bsSetupHelper[_0x276c4b(0x1a1)]()&&(_0x2aaa91=!![]);return{'observability':_0x4e3ac7[_0x276c4b(0x157)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x177626),'percy':_0x177626[_0x276c4b(0x1c1)]||![],'automate':_0x2aaa91,'app_automate':_0x133fd6,'turboscale':_0x4e3ac7[_0x276c4b(0x1d2)](isTurboScaleSession,_0x177626)};},exports[a86_0x4403c9(0x196)]=(_0x5cb06f,_0x3aba24)=>{const _0xe5fc31=a86_0x4403c9,_0x137ce7={'aIdWn':function(_0x1b5554,_0x348750){return _0x1b5554(_0x348750);},'pCael':_0xe5fc31(0x18e)};return{'frameworkName':_0x3aba24,'frameworkVersion':_0x137ce7[_0xe5fc31(0x141)](getFrameworkVersion,_0x3aba24),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x137ce7['pCael'],'testFramework':bsSetupHelper[_0xe5fc31(0x1df)](_0x5cb06f,_0x3aba24)};},exports[a86_0x4403c9(0x13b)]=_0xa8fe87=>{const _0x41867e=a86_0x4403c9,_0x488b4b={};_0x488b4b['wIZVB']=_0x41867e(0x1a9),_0x488b4b[_0x41867e(0x1b7)]='true';const _0x52dcd9=_0x488b4b;process[_0x41867e(0x1a2)][_0x41867e(0x1bb)]=_0x52dcd9[_0x41867e(0x1a4)],bsSetupHelper['isTrue'](_0xa8fe87[_0x41867e(0x177)][_0x41867e(0x1c1)])&&(!_0xa8fe87['percy']||!_0xa8fe87[_0x41867e(0x1c1)]['isRunning']())&&(process[_0x41867e(0x1a2)]['BROWSERSTACK_PERCY']=_0x52dcd9[_0x41867e(0x1b7)]);},exports[a86_0x4403c9(0x19c)]=()=>{const _0x186fe7=a86_0x4403c9;return bsSetupHelper['isTrue'](process[_0x186fe7(0x1a2)][_0x186fe7(0x1bb)]);},exports[a86_0x4403c9(0x166)]=(_0x2ed9ed={})=>{const _0x4682af=a86_0x4403c9,_0x3e61bd={};_0x3e61bd[_0x4682af(0x172)]=function(_0x307d2e,_0x20f113){return _0x307d2e!==_0x20f113;},_0x3e61bd[_0x4682af(0x1c7)]=function(_0xa2c282,_0x24d77a){return _0xa2c282===_0x24d77a;},_0x3e61bd[_0x4682af(0x1b3)]=_0x4682af(0x1c2),_0x3e61bd[_0x4682af(0x149)]=function(_0x72b1c9,_0x2b872c){return _0x72b1c9>_0x2b872c;};const _0x421479=_0x3e61bd;if(_0x421479[_0x4682af(0x172)](process[_0x4682af(0x1a2)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x4682af(0x1bc)](process[_0x4682af(0x1a2)][_0x4682af(0x164)]);let _0x2b3d99=_0x421479[_0x4682af(0x1c7)](process[_0x4682af(0x1a2)][_0x4682af(0x188)],_0x421479['ozYVa']);return _0x421479[_0x4682af(0x149)](Object[_0x4682af(0x17b)](_0x2ed9ed)['length'],0x0)&&(process['env'][_0x4682af(0x1c4)]=accessibilityHelper[_0x4682af(0x1cc)](_0x2ed9ed)),_0x2b3d99=_0x2b3d99||_0x421479['dlbow'](process[_0x4682af(0x1a2)][_0x4682af(0x1c4)],_0x421479['ozYVa']),_0x2b3d99;},exports[a86_0x4403c9(0x165)]=(_0x2e7537,_0x761d73)=>{const _0x26e094=a86_0x4403c9,_0x3a045a={'gPyQS':function(_0x425cee){return _0x425cee();},'YRTKL':_0x26e094(0x180),'NvLZf':function(_0x442941,_0x252ab5,_0x40f423){return _0x442941(_0x252ab5,_0x40f423);},'pcdXA':_0x26e094(0x1b5),'ikoZE':_0x26e094(0x1cf),'OMLZN':'true'};if(!_0x2e7537||!_0x2e7537[_0x26e094(0x1b5)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x2e7537[_0x26e094(0x1b5)][_0x26e094(0x13e)])return exports['handleErrorForObservability'](_0x2e7537[_0x26e094(0x1b5)]),[null,null,null];if(_0x3a045a['gPyQS'](isTestObservabilitySession)){const _0x12385c=_0x3a045a[_0x26e094(0x1c9)]['split']('|');let _0x480c16=0x0;while(!![]){switch(_0x12385c[_0x480c16++]){case'0':logger[_0x26e094(0x18d)](_0x26e094(0x13d)+_0x2e7537[_0x26e094(0x15a)]);continue;case'1':_0x3a045a[_0x26e094(0x17d)](nestedKeyValue,_0x2e7537,[_0x3a045a[_0x26e094(0x17a)],_0x3a045a['ikoZE']])&&(process[_0x26e094(0x1a2)][_0x26e094(0x155)]=_0x2e7537[_0x26e094(0x1b5)][_0x26e094(0x1cf)][_0x26e094(0x150)][_0x26e094(0x1cb)]());continue;case'2':_0x2e7537['build_hashed_id']&&(process[_0x26e094(0x1a2)][_0x26e094(0x1bd)]=_0x2e7537['build_hashed_id']);continue;case'3':return[_0x2e7537[_0x26e094(0x1b0)],_0x2e7537['build_hashed_id'],process['env'][_0x26e094(0x155)]];case'4':process[_0x26e094(0x1a2)]['BS_TESTOPS_BUILD_COMPLETED']=_0x3a045a[_0x26e094(0x1a5)];continue;case'5':if(_0x2e7537[_0x26e094(0x1b0)]){process[_0x26e094(0x1a2)][_0x26e094(0x14e)]=_0x2e7537[_0x26e094(0x1b0)];const _0x489681={};_0x489681[_0x26e094(0x14d)]=_0x761d73[_0x26e094(0x14d)],_0x489681[_0x26e094(0x163)]=_0x761d73[_0x26e094(0x163)],process['env']['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x26e094(0x175)](_0x489681);}continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x3328a9=>{const _0x2264dd=a86_0x4403c9,_0x20c367={'JRmOh':function(_0x386cdd,_0x2635b6,_0x3e7b40){return _0x386cdd(_0x2635b6,_0x3e7b40);},'JaAmZ':_0x2264dd(0x1d0),'kycOw':_0x2264dd(0x1cf),'RksGb':function(_0x1e9b23,_0x51b3fe,_0x2dbfee,_0x29a44a){return _0x1e9b23(_0x51b3fe,_0x2dbfee,_0x29a44a);},'xvTbq':_0x2264dd(0x1d4),'dWeez':_0x2264dd(0x143),'EFvSv':'command','AuAcW':'commands'};if(!_0x3328a9[_0x2264dd(0x1d0)])return exports[_0x2264dd(0x1c3)](),[null,null];if(!_0x3328a9['accessibility']['success'])return exports[_0x2264dd(0x1c3)](_0x3328a9[_0x2264dd(0x1d0)]),[null,null];if(_0x20c367['JRmOh'](nestedKeyValue,_0x3328a9,[_0x20c367[_0x2264dd(0x1a0)],_0x20c367[_0x2264dd(0x1da)]])){const {accessibilityToken:_0x1ba21d,scannerVersion:_0x58f766}=_0x20c367['RksGb'](jsonifyAccessibilityArray,_0x3328a9['accessibility']['options'][_0x2264dd(0x13c)],_0x20c367[_0x2264dd(0x1c0)],_0x20c367[_0x2264dd(0x1ce)]),_0x60cc87={'scripts':_0x20c367['RksGb'](jsonifyAccessibilityArray,_0x3328a9['accessibility'][_0x2264dd(0x1cf)][_0x2264dd(0x193)],_0x20c367[_0x2264dd(0x1c0)],_0x20c367['EFvSv'])};_0x60cc87[_0x20c367['AuAcW']]=_0x3328a9['accessibility'][_0x2264dd(0x1cf)][_0x2264dd(0x1d3)][_0x2264dd(0x199)],scripts[_0x2264dd(0x16e)](_0x60cc87),scripts['toJson']();let _0x4c9efa=process[_0x2264dd(0x1a2)][_0x2264dd(0x14c)];return _0x4c9efa=!!_0x4c9efa?JSON[_0x2264dd(0x1bf)](_0x4c9efa):{},_0x4c9efa[_0x2264dd(0x16f)]=_0x58f766,process[_0x2264dd(0x1a2)][_0x2264dd(0x14c)]=JSON[_0x2264dd(0x175)](_0x4c9efa),process[_0x2264dd(0x1a2)]['BS_A11Y_JWT']=_0x1ba21d,logger[_0x2264dd(0x18d)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x3328a9[_0x2264dd(0x15a)]),[_0x1ba21d,_0x3328a9[_0x2264dd(0x15a)]];}return[null,null];},exports['handleErrorForObservability']=_0x1df488=>{const _0x119411=a86_0x4403c9,_0x3671f7={};_0x3671f7[_0x119411(0x187)]=_0x119411(0x158),_0x3671f7[_0x119411(0x1d5)]=_0x119411(0x14a),_0x3671f7[_0x119411(0x171)]=_0x119411(0x1a9);const _0x88285e=_0x3671f7,_0x1ab239=_0x88285e['kNZob'][_0x119411(0x178)]('|');let _0x1ea102=0x0;while(!![]){switch(_0x1ab239[_0x1ea102++]){case'0':exports[_0x119411(0x1ac)](_0x1df488,testHubConstants[_0x119411(0x142)]);continue;case'1':process[_0x119411(0x1a2)][_0x119411(0x155)]=_0x88285e[_0x119411(0x1d5)];continue;case'2':process[_0x119411(0x1a2)][_0x119411(0x15c)]=_0x88285e['edXKj'];continue;case'3':process[_0x119411(0x1a2)][_0x119411(0x14e)]=_0x88285e['UVBMw'];continue;case'4':process[_0x119411(0x1a2)][_0x119411(0x1e0)]=_0x88285e[_0x119411(0x1d5)];continue;case'5':process[_0x119411(0x1a2)][_0x119411(0x1bd)]=_0x88285e['UVBMw'];continue;case'6':process[_0x119411(0x1a2)][_0x119411(0x1ba)]=_0x88285e[_0x119411(0x1d5)];continue;}break;}},exports[a86_0x4403c9(0x1c3)]=_0x1a30a9=>{const _0x32a86f=a86_0x4403c9,_0x2fe405={};_0x2fe405[_0x32a86f(0x1b6)]=_0x32a86f(0x174),_0x2fe405['Ijsrb']=_0x32a86f(0x1a9),_0x2fe405[_0x32a86f(0x15f)]=_0x32a86f(0x14a);const _0x550138=_0x2fe405,_0xad4c3d=_0x550138[_0x32a86f(0x1b6)]['split']('|');let _0x4b70fc=0x0;while(!![]){switch(_0xad4c3d[_0x4b70fc++]){case'0':process[_0x32a86f(0x1a2)][_0x32a86f(0x1c4)]=_0x550138['Ijsrb'];continue;case'1':exports[_0x32a86f(0x1ac)](_0x1a30a9,testHubConstants[_0x32a86f(0x167)]);continue;case'2':process[_0x32a86f(0x1a2)][_0x32a86f(0x1ba)]=_0x550138['CxMtt'];continue;case'3':process[_0x32a86f(0x1a2)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x550138[_0x32a86f(0x148)];continue;case'4':process[_0x32a86f(0x1a2)][_0x32a86f(0x1e0)]=_0x550138['CxMtt'];continue;}break;}},exports['logBuildError']=(_0x246a56,_0x541593='')=>{const _0x70e53d=a86_0x4403c9,_0x1aac15={};_0x1aac15['FrLvH']=function(_0x466199,_0x37021f){return _0x466199===_0x37021f;};const _0x5f00a1=_0x1aac15;if(_0x5f00a1[_0x70e53d(0x170)](_0x246a56,undefined)){logger['error'](_0x541593[_0x70e53d(0x14b)]()+_0x70e53d(0x1b9));return;}for(const _0x55dce2 of _0x246a56[_0x70e53d(0x183)]){const _0x4b7c86=_0x55dce2[_0x70e53d(0x1dd)],_0x569e63=_0x55dce2[_0x70e53d(0x19e)];if(_0x569e63)switch(_0x4b7c86){case testHubConstants[_0x70e53d(0x13f)][_0x70e53d(0x18b)]:logger[_0x70e53d(0x191)](_0x569e63);break;case testHubConstants[_0x70e53d(0x13f)][_0x70e53d(0x1cd)]:logger[_0x70e53d(0x19f)](_0x569e63);break;case testHubConstants[_0x70e53d(0x13f)]['DEPRECATED']:logger[_0x70e53d(0x191)](_0x569e63);break;default:logger[_0x70e53d(0x191)](_0x569e63);}}};const jsonifyAccessibilityArray=(_0x12a577,_0x29ead1,_0x3fb0de)=>{const _0x4b7949=a86_0x4403c9,_0x11b146={};return _0x12a577[_0x4b7949(0x1b4)](_0x28c6f7=>{_0x11b146[_0x28c6f7[_0x29ead1]]=_0x28c6f7[_0x3fb0de];}),_0x11b146;};function a86_0x4695(_0x4e8824,_0x14130c){const _0x29385d=a86_0x2938();return a86_0x4695=function(_0x4695f,_0x54e2eb){_0x4695f=_0x4695f-0x13b;let _0x37205c=_0x29385d[_0x4695f];return _0x37205c;},a86_0x4695(_0x4e8824,_0x14130c);}exports[a86_0x4403c9(0x16c)]=_0x716bd7=>{const _0x4e419c=a86_0x4403c9;_0x716bd7['jwt']&&(process[_0x4e419c(0x1a2)][_0x4e419c(0x1e0)]=_0x716bd7[_0x4e419c(0x1b0)]);_0x716bd7[_0x4e419c(0x15a)]&&(process['env'][_0x4e419c(0x1ba)]=_0x716bd7['build_hashed_id'],logger[_0x4e419c(0x18d)](_0x4e419c(0x169)+_0x716bd7[_0x4e419c(0x15a)]));;},exports[a86_0x4403c9(0x15b)]=(_0x15c81e='',_0x1c73c2='')=>{const _0x5e4f7a=a86_0x4403c9,_0x3b109c={'HhhjL':function(_0x1e2960){return _0x1e2960();},'oNHEB':function(_0x54a096,_0x576742){return _0x54a096===_0x576742;},'CgSHX':'uploadEventData','RXpvH':_0x5e4f7a(0x156),'TcRCY':'CBTSessionCreated','EjqeI':_0x5e4f7a(0x1be),'uFHlS':_0x5e4f7a(0x1a7),'ixvFt':function(_0x4483f2){return _0x4483f2();}};if(exports[_0x5e4f7a(0x19c)]()&&!exports[_0x5e4f7a(0x166)]()&&!_0x3b109c[_0x5e4f7a(0x1ca)](isTestObservabilitySession)){if(_0x3b109c[_0x5e4f7a(0x16d)](_0x1c73c2,_0x3b109c['CgSHX']))return![];if([_0x3b109c[_0x5e4f7a(0x168)],_0x3b109c[_0x5e4f7a(0x185)]][_0x5e4f7a(0x140)](_0x15c81e))return![];return!![];}if(exports[_0x5e4f7a(0x166)]()&&!_0x3b109c[_0x5e4f7a(0x1ca)](isTestObservabilitySession)){if([_0x3b109c['EjqeI'],_0x3b109c[_0x5e4f7a(0x179)],_0x3b109c['RXpvH']][_0x5e4f7a(0x140)](_0x15c81e))return![];return!![];}return exports[_0x5e4f7a(0x166)]()||_0x3b109c[_0x5e4f7a(0x146)](isTestObservabilitySession)||exports[_0x5e4f7a(0x19c)]();},exports[a86_0x4403c9(0x159)]=(_0xfa21b8,_0x321605,_0x4aa7ad='',_0x5751f1)=>{const _0x297d11=a86_0x4403c9,_0x214d00={};_0x214d00[_0x297d11(0x1dc)]='HookRunStarted',_0x214d00[_0x297d11(0x1a3)]='HookRunFinished',_0x214d00[_0x297d11(0x17c)]=function(_0x50c6b7,_0x1665d8){return _0x50c6b7===_0x1665d8;},_0x214d00[_0x297d11(0x192)]=_0x297d11(0x1b8),_0x214d00['NFSMY']=_0x297d11(0x16a),_0x214d00[_0x297d11(0x1ae)]=_0x297d11(0x1d0),_0x214d00[_0x297d11(0x1d9)]=function(_0x4cff80,_0x53789b){return _0x4cff80&&_0x53789b;},_0x214d00[_0x297d11(0x1a6)]=function(_0x40eff6,_0x1ae754){return _0x40eff6===_0x1ae754;},_0x214d00[_0x297d11(0x161)]=function(_0x5a5fda,_0x53d42d){return _0x5a5fda+_0x53d42d;},_0x214d00[_0x297d11(0x145)]=function(_0x2c155b,_0x19bb78){return _0x2c155b&&_0x19bb78;},_0x214d00[_0x297d11(0x198)]=function(_0x4d323,_0xa9a2f5){return _0x4d323===_0xa9a2f5;},_0x214d00[_0x297d11(0x190)]='TestRunStarted',_0x214d00[_0x297d11(0x18f)]=function(_0x1c702c,_0x6e1729){return _0x1c702c&&_0x6e1729;},_0x214d00[_0x297d11(0x1d7)]=function(_0x194e2d,_0x3c7a8a){return _0x194e2d===_0x3c7a8a;},_0x214d00['tgkiV']=function(_0x4a4810,_0x5ba50b){return _0x4a4810&&_0x5ba50b;},_0x214d00['bqvpH']=_0x297d11(0x1b1);const _0x31a444=_0x214d00;if(![_0x31a444[_0x297d11(0x1dc)],_0x31a444[_0x297d11(0x1a3)]]['includes'](_0x321605)&&exports[_0x297d11(0x166)]()){const _0x193a79={};if(_0x31a444[_0x297d11(0x17c)](_0x5751f1,FRAMEWORKS[_0x297d11(0x147)])){const _0x3f3477=globals[_0x297d11(0x1db)](_0x31a444[_0x297d11(0x192)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x4aa7ad[_0x297d11(0x197)](),!![]),_0x1170de=globals['getGlobal'](_0x31a444[_0x297d11(0x1d8)]);_0x193a79[_0x31a444[_0x297d11(0x1ae)]]=_0x31a444[_0x297d11(0x1d9)](_0x1170de,_0x3f3477);}if(_0x31a444['KOUSx'](_0x5751f1,FRAMEWORKS[_0x297d11(0x1c8)])){const _0x5921d8=_0x31a444[_0x297d11(0x161)](_0x31a444[_0x297d11(0x161)](_0xfa21b8['scopes'][_0x297d11(0x162)]('\x20'),'\x20'),_0x4aa7ad[_0x297d11(0x1d4)]),_0x5828a4=globals[_0x297d11(0x1db)](_0x31a444['jaqax'])||accessibilityHelper[_0x297d11(0x19b)](_0x5921d8,![]),_0x1ded13=browserStackGlobals[_0x297d11(0x16a)];_0x193a79[_0x31a444[_0x297d11(0x1ae)]]=_0x31a444[_0x297d11(0x145)](_0x1ded13,_0x5828a4);}if(_0x31a444['EJtHz'](_0x5751f1,FRAMEWORKS[_0x297d11(0x176)])){if(_0x31a444['hQamN'](_0x321605,_0x31a444['jEjjV']))return;_0x193a79[_0x31a444[_0x297d11(0x1ae)]]=PWTestDetails[_0x297d11(0x1ad)](_0xfa21b8[_0x297d11(0x1d6)]);}if(_0x31a444[_0x297d11(0x198)](_0x5751f1,FRAMEWORKS[_0x297d11(0x1c6)])){const _0x199922=accessibilityHelper[_0x297d11(0x19b)](_0x4aa7ad[_0x297d11(0x197)](),!![]),_0x221ef7=global[_0x297d11(0x151)]&&bsSetupHelper['isBrowserstackInfra']();_0x193a79[_0x31a444[_0x297d11(0x1ae)]]=_0x31a444[_0x297d11(0x18f)](_0x221ef7,_0x199922);}if(_0x31a444['NisZh'](_0x5751f1,FRAMEWORKS[_0x297d11(0x181)])){const _0xa74d9e=accessibilityHelper[_0x297d11(0x19b)](null,![],_0xfa21b8['tags']),_0x30f3a0=globals['getGlobal'](_0x31a444[_0x297d11(0x1d8)]);_0x193a79[_0x31a444[_0x297d11(0x1ae)]]=_0x31a444[_0x297d11(0x152)](_0x30f3a0,_0xa74d9e);}_0xfa21b8[_0x31a444['bqvpH']]=_0x193a79;}},exports[a86_0x4403c9(0x18c)]=_0x6aa8fe=>{const _0x48decf=a86_0x4403c9,_0x49b9dd={};_0x49b9dd[_0x48decf(0x1d1)]=function(_0x5e1097,_0x55d176){return _0x5e1097>_0x55d176;};const _0x4a217b=_0x49b9dd;let _0xc23d62={};if(_0x4a217b[_0x48decf(0x1d1)](Object[_0x48decf(0x17b)](testData)[_0x48decf(0x14f)],0x0))return testData;_0xc23d62=JestTestDetails[_0x48decf(0x1af)]();if(_0x4a217b[_0x48decf(0x1d1)](Object['keys'](_0xc23d62)[_0x48decf(0x14f)],0x0))return _0xc23d62;return _0xc23d62;},exports[a86_0x4403c9(0x189)]=(_0x18e628,_0x4b4773={})=>{const _0x678b46=a86_0x4403c9;if(bsSetupHelper['isUndefined'](_0x4b4773['test_run']))return;switch(_0x18e628){case FRAMEWORKS[_0x678b46(0x147)]:testData=_0x4b4773[_0x678b46(0x19a)];break;case FRAMEWORKS['JEST']:JestTestDetails['setTestData'](_0x4b4773[_0x678b46(0x19a)]);break;default:break;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a87_0x4927(){const _0x2bb52b=['218583AkDzpn','exports','195918yNsuXZ','lGwhf','566174hULMvP','3kqzjdt','4292976odgCyC','64ifOhuQ','88NxEQfe','7811540iFhSrc','./utilities','61320JZWYtZ','630637FLpqOV','tLajI','cancel'];a87_0x4927=function(){return _0x2bb52b;};return a87_0x4927();}function a87_0x454d(_0x4b3d51,_0x4d5f52){const _0x492791=a87_0x4927();return a87_0x454d=function(_0x454db6,_0x50bf31){_0x454db6=_0x454db6-0x17a;let _0xaeb2d3=_0x492791[_0x454db6];return _0xaeb2d3;},a87_0x454d(_0x4b3d51,_0x4d5f52);}const a87_0x34a76b=a87_0x454d;(function(_0xf94516,_0x512639){const _0x1fd27d=a87_0x454d,_0x298a81=_0xf94516();while(!![]){try{const _0x3e015f=parseInt(_0x1fd27d(0x185))/0x1+parseInt(_0x1fd27d(0x183))/0x2*(-parseInt(_0x1fd27d(0x186))/0x3)+-parseInt(_0x1fd27d(0x17a))/0x4*(-parseInt(_0x1fd27d(0x17d))/0x5)+parseInt(_0x1fd27d(0x187))/0x6+-parseInt(_0x1fd27d(0x17e))/0x7+parseInt(_0x1fd27d(0x188))/0x8*(-parseInt(_0x1fd27d(0x181))/0x9)+-parseInt(_0x1fd27d(0x17b))/0xa;if(_0x3e015f===_0x512639)break;else _0x298a81['push'](_0x298a81['shift']());}catch(_0x2c6571){_0x298a81['push'](_0x298a81['shift']());}}}(a87_0x4927,0x5eb8a));const utilities=require(a87_0x34a76b(0x17c));module[a87_0x34a76b(0x182)]=(_0x135db1,_0x2b42fc,_0x504b6e,_0x1fb9e7,_0x20a861,_0x3c3a00)=>{const _0x3933c3=a87_0x34a76b,_0xc09184={'tLajI':function(_0x3dad00,_0x4470c9){return _0x3dad00-_0x4470c9;},'lGwhf':function(_0x2f8aca,_0x2248a5){return _0x2f8aca(_0x2248a5);},'NmtIW':function(_0x16c2f6,_0x3edfed,_0x5eae7f){return _0x16c2f6(_0x3edfed,_0x5eae7f);}};let _0xdf41c4,_0x121d0f=![];const _0x5bc45e=new Promise((_0x26b466,_0x1726a1)=>{_0xdf41c4=_0xc09184['NmtIW'](setTimeout,()=>{const _0x49dd6c=a87_0x454d;if(!_0x121d0f){const _0x316478={'status':''+_0x2b42fc,'timeTaken':_0xc09184[_0x49dd6c(0x17f)](new Date(),_0x1fb9e7)};utilities['fireFunnelTestEvent'](_0x504b6e,_0x316478,_0x20a861,_0x3c3a00),_0xc09184[_0x49dd6c(0x184)](_0x1726a1,new Error(_0x2b42fc));}},_0x135db1);});return _0x5bc45e[_0x3933c3(0x180)]=()=>{_0x121d0f=!![],_0xc09184['lGwhf'](clearTimeout,_0xdf41c4);},_0x5bc45e;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a88_0x365a(_0x262a8a,_0x385df0){const _0x3148d6=a88_0x3148();return a88_0x365a=function(_0x365a7c,_0x28d711){_0x365a7c=_0x365a7c-0x154;let _0x4f0356=_0x3148d6[_0x365a7c];return _0x4f0356;},a88_0x365a(_0x262a8a,_0x385df0);}const a88_0x2da6ab=a88_0x365a;function a88_0x3148(){const _0x3ae702=['stringify','env','assign','3CkbtlK','_buildHashedId','APP_AUTOMATE','RHhKd','AUTOMATE_PRODUCTS','./logger','isBrowserstackInfra','debug','POST','holFC','qzsWL','fiCLT','push','hrHUX','every','getNodeAgent','hostname','kxWRn','tests','Error\x20in\x20firing\x20request\x20to\x20','sdkRunId','requirePWModule','null','getOptimalHubUrl','content-type','finalize','nRInT','QkflS','CfTaD','unhandledErrors','./helper','3235810tlfRYg','sFwCl','API\x20Event\x20','length','../bin/utils/constants','undefined','Vsyhh','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','wfDwp','winstonLogger','Diayi','browser','klOuM','9jvgluh','split','source','./globals','osVersion','app','getTurboScaleBuildLink','errorMessage','../bin/playwright/reporter/pwUtils','getGlobal','iOGHS','fireFunnelTestEvent','mFBqJ','DOBaV','measures','finishedMetadata','nodeRequest','AkSEz','getPackageVersion','buildIdentifier','user_killed','11824HgcYLw','qwfIQ','globalException','7108926XrdBen','all','config','playwrightVersion','values','event_properties','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','248tQcqkG','unknown','selenium-webdriver','./ats/helper','ENV_VAR','getTurboScaleSessionsList','\x20response\x20-\x20','785dZoFZQ','./test-observability/utils','QafGA','48818NusKLd','1328406RbGMAf','error','./performance-tester','HxyuY','2693976FyzSHH','SDKTestSuccessful','uPFKI','HbfUh','getAccessKey','browserStackConfig','object','AUTOMATE','sanitizeBrowserStackConfig','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','buildName','util','framework','VGuES','nhrIE','sendLogs','format','join','application/json','body','keys','getBuildLink','320128soxnpw','getFrameworkVersion','deviceName','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','GXLMn','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','type','forEach','version','parse'];a88_0x3148=function(){return _0x3ae702;};return a88_0x3148();}(function(_0x5d0f82,_0x1aeaf6){const _0x92d4e1=a88_0x365a,_0x25bfde=_0x5d0f82();while(!![]){try{const _0x47a601=parseInt(_0x92d4e1(0x156))/0x1+-parseInt(_0x92d4e1(0x1b9))/0x2*(-parseInt(_0x92d4e1(0x163))/0x3)+parseInt(_0x92d4e1(0x1a4))/0x4*(-parseInt(_0x92d4e1(0x1b5))/0x5)+-parseInt(_0x92d4e1(0x1bd))/0x6+parseInt(_0x92d4e1(0x1b8))/0x7*(parseInt(_0x92d4e1(0x1ae))/0x8)+-parseInt(_0x92d4e1(0x18f))/0x9*(parseInt(_0x92d4e1(0x182))/0xa)+parseInt(_0x92d4e1(0x1a7))/0xb;if(_0x47a601===_0x1aeaf6)break;else _0x25bfde['push'](_0x25bfde['shift']());}catch(_0x5b23ed){_0x25bfde['push'](_0x25bfde['shift']());}}}(a88_0x3148,0x94f4a));const os=require('os'),util=require(a88_0x2da6ab(0x1c8)),{getProductMap}=require('./testhub/utils'),logger=require(a88_0x2da6ab(0x168))[a88_0x2da6ab(0x18b)],constants=require(a88_0x2da6ab(0x186)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a88_0x2da6ab(0x197)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a88_0x2da6ab(0x186)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a88_0x2da6ab(0x181)),PerformanceTester=require(a88_0x2da6ab(0x1bb)),globals=require(a88_0x2da6ab(0x192)),{isTurboScaleSession}=require(a88_0x2da6ab(0x1b1)),helper=require('./helper'),{isTestObservabilitySession}=require(a88_0x2da6ab(0x1b6));let unhandledErrors='';exports[a88_0x2da6ab(0x19a)]=async(_0x483c5d,_0x1552f9={},_0x4b176c,_0x542c9a)=>{const _0x2f5743=a88_0x2da6ab,_0x3a8e1c={'iOGHS':function(_0x7bfadb,_0x48f2f9){return _0x7bfadb===_0x48f2f9;},'uHaJU':_0x2f5743(0x1c3),'qzsWL':function(_0x18d27c,_0x44703b){return _0x18d27c>_0x44703b;},'Vsyhh':function(_0x4f9c1f,_0x15518c){return _0x4f9c1f>_0x15518c;},'holFC':_0x2f5743(0x175),'whLqg':function(_0x311050){return _0x311050();},'nRInT':function(_0x2d42a8){return _0x2d42a8();},'fgSbg':function(_0x252a30,_0x1736aa){return _0x252a30==_0x1736aa;},'LTCja':_0x2f5743(0x179),'klOuM':_0x2f5743(0x187),'RHhKd':'codeceptjs','euLeb':function(_0x591ad8,_0x4e6a1b){return _0x591ad8>_0x4e6a1b;},'hrHUX':function(_0x34b085,_0x34ddb0){return _0x34b085!==_0x34ddb0;},'DOBaV':'Playwright','fiCLT':_0x2f5743(0x1ba),'tLJnt':function(_0x5401af,_0x1bc0f7){return _0x5401af+_0x1bc0f7;},'CfTaD':_0x2f5743(0x1c6),'kxWRn':_0x2f5743(0x164),'HxyuY':function(_0x502109,_0x124c9b){return _0x502109(_0x124c9b);},'QkflS':_0x2f5743(0x1af),'PlsZZ':'nodejs','ldToS':function(_0x1f1672,_0x54118f){return _0x1f1672===_0x54118f;},'qwfIQ':'SDKTestSuccessful','xaKhN':function(_0x1ee164,_0x1d2d14){return _0x1ee164===_0x1d2d14;},'nhrIE':function(_0x2db8cd){return _0x2db8cd();},'SsGUW':_0x2f5743(0x1b0),'uPFKI':_0x2f5743(0x1cf),'HbfUh':_0x2f5743(0x16b)};let _0x11c9aa=[];if(helper[_0x2f5743(0x169)]()&&_0x3a8e1c['whLqg'](isTestObservabilitySession))_0x11c9aa=_0x4b176c['app']?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x2f5743(0x167)];else{if(_0x3a8e1c[_0x2f5743(0x17d)](isTestObservabilitySession))_0x11c9aa=constants[_0x2f5743(0x1ad)];else helper[_0x2f5743(0x169)]()&&(_0x11c9aa=_0x4b176c[_0x2f5743(0x194)]?constants[_0x2f5743(0x165)]:constants[_0x2f5743(0x1c4)]);}let _0x104bc8=_0x4b176c[_0x2f5743(0x1a2)];if(_0x3a8e1c['fgSbg'](_0x104bc8,null))_0x104bc8=_0x3a8e1c['LTCja'];else _0x3a8e1c[_0x2f5743(0x199)](_0x104bc8,undefined)&&(_0x104bc8=_0x3a8e1c[_0x2f5743(0x18e)]);unhandledErrors&&_0x3a8e1c[_0x2f5743(0x188)](unhandledErrors[_0x2f5743(0x185)],0x0)&&(_0x1552f9[_0x2f5743(0x1a6)]=unhandledErrors);global['sdkRunId']&&(_0x1552f9[_0x2f5743(0x177)]=global[_0x2f5743(0x177)]);try{if(_0x1552f9[_0x2f5743(0x1ba)]){if(_0x3a8e1c['iOGHS'](_0x542c9a,_0x3a8e1c[_0x2f5743(0x166)])&&_0x3a8e1c['euLeb'](_0x1552f9[_0x2f5743(0x1ba)][_0x2f5743(0x185)],0x0)){const _0x5f39b5={};_0x5f39b5['os']='',_0x5f39b5[_0x2f5743(0x193)]='',_0x5f39b5[_0x2f5743(0x18d)]='',_0x5f39b5['browserVersion']='';const _0x19e9e7=_0x5f39b5;let _0x57901b={};const _0xfe28da=_0x1552f9[_0x2f5743(0x1ba)];_0x57901b=_0xfe28da['reduce']((_0x159402,_0x3c2ec1)=>{for(const _0x215498 in _0x3c2ec1){_0x159402[_0x215498]=_0x3c2ec1[_0x215498];}return _0x159402;},{});const _0x39984b={};_0x39984b[_0x2f5743(0x175)]=_0x57901b,_0x1552f9[_0x2f5743(0x1ba)]=[Object[_0x2f5743(0x162)]({},_0x19e9e7,_0x39984b)];}else{let _0x1ad568=0x0;const _0x56b42a=_0x3a8e1c[_0x2f5743(0x170)](_0x542c9a,_0x3a8e1c[_0x2f5743(0x19c)])?JSON[_0x2f5743(0x15f)](_0x1552f9[_0x2f5743(0x1ba)]):_0x1552f9[_0x2f5743(0x1ba)],_0x1cdb8a=Object[_0x2f5743(0x1ab)](_0x56b42a);_0x1cdb8a[_0x2f5743(0x15d)](_0x109ee5=>{const _0x2e51f2=_0x2f5743;if(_0x3a8e1c['iOGHS'](typeof _0x109ee5,_0x3a8e1c['uHaJU'])){const _0x10f016=Object[_0x2e51f2(0x1ab)](_0x109ee5);!_0x10f016[_0x2e51f2(0x171)](_0x24e83a=>_0x24e83a===null||_0x24e83a===undefined||_0x24e83a==='')&&(_0x1ad568+=0x1);}});if(_0x3a8e1c[_0x2f5743(0x199)](_0x1ad568,0x0))delete _0x1552f9[_0x3a8e1c[_0x2f5743(0x16e)]];else{const _0x641de=[];Object[_0x2f5743(0x154)](_0x56b42a)[_0x2f5743(0x15d)](_0x247fe7=>{const _0x32f44b=_0x2f5743,_0x34e9d0={'Diayi':function(_0x244807,_0xdd1718){const _0x10d040=a88_0x365a;return _0x3a8e1c[_0x10d040(0x16d)](_0x244807,_0xdd1718);}},[_0x5565dc,_0x3a6397,_0x5838e5,_0x21aa0f]=_0x247fe7[_0x32f44b(0x190)](',\x20');let _0x4dea20={};if(!_0x21aa0f){const _0x55ca08={};_0x55ca08[_0x32f44b(0x158)]=_0x5565dc,_0x55ca08[_0x32f44b(0x193)]=_0x3a6397,_0x55ca08[_0x32f44b(0x18d)]=_0x5838e5,_0x4dea20=_0x55ca08;}else{const _0x15fea6={};_0x15fea6['os']=_0x5565dc,_0x15fea6[_0x32f44b(0x193)]=_0x3a6397,_0x15fea6[_0x32f44b(0x18d)]=_0x5838e5,_0x15fea6['browserVersion']=_0x21aa0f,_0x4dea20=_0x15fea6;}const _0x360beb={},_0x543e24=_0x56b42a[_0x247fe7];Object['keys'](_0x543e24)[_0x32f44b(0x15d)](_0x5d6505=>{const _0x2fa7de=_0x32f44b;_0x34e9d0[_0x2fa7de(0x18c)](_0x543e24[_0x5d6505][_0x2fa7de(0x185)],0x0)&&(_0x360beb[_0x5d6505]=_0x543e24[_0x5d6505]);}),_0x3a8e1c[_0x32f44b(0x188)](Object['keys'](_0x360beb)['length'],0x0)&&(_0x4dea20[_0x3a8e1c[_0x32f44b(0x16c)]]=_0x360beb,_0x641de[_0x32f44b(0x16f)](_0x4dea20));}),_0x3a8e1c[_0x2f5743(0x16d)](_0x641de[_0x2f5743(0x185)],0x0)?_0x1552f9[_0x2f5743(0x1ba)]=_0x641de:delete _0x1552f9[_0x3a8e1c[_0x2f5743(0x16e)]];}}}}catch(_0x516527){delete _0x1552f9[_0x3a8e1c[_0x2f5743(0x16e)]],logger['debug'](_0x3a8e1c['tLJnt'](_0x3a8e1c[_0x2f5743(0x17f)],_0x516527));}const _0x5313fc={'userName':helper['getUserName'](_0x4b176c),'accessKey':helper[_0x2f5743(0x1c1)](_0x4b176c),'event_type':_0x483c5d,'detectedFramework':_0x542c9a,'buildHashedId':globals[_0x2f5743(0x198)](_0x3a8e1c[_0x2f5743(0x174)]),'optimalHubUrl':helper[_0x2f5743(0x17a)](),'event_properties':{'testhub_uuid':process[_0x2f5743(0x161)][testHubConstants[_0x2f5743(0x1b2)]['BROWSERSTACK_TESTHUB_UUID']]||'','product_map':_0x3a8e1c[_0x2f5743(0x1bc)](getProductMap,_0x4b176c),'productMap':_0x3a8e1c[_0x2f5743(0x1bc)](getProductMap,_0x4b176c),'language_framework':_0x4b176c[_0x2f5743(0x191)]||_0x3a8e1c['QkflS'],'referrer':helper[_0x2f5743(0x172)](_0x542c9a),'frameworkVersion':helper[_0x2f5743(0x157)](_0x542c9a),'language':_0x3a8e1c['PlsZZ'],'product':_0x11c9aa,'languageVersion':process[_0x2f5743(0x15e)],'buildName':_0x4b176c[_0x2f5743(0x1c7)]||_0x3a8e1c[_0x2f5743(0x18e)],'buildIdentifier':_0x104bc8,'os':os[_0x2f5743(0x15c)]()||_0x3a8e1c[_0x2f5743(0x17e)],'hostname':os[_0x2f5743(0x173)]()||_0x3a8e1c['QkflS'],..._0x1552f9}};try{_0x3a8e1c['ldToS'](_0x483c5d,_0x3a8e1c[_0x2f5743(0x1a5)])&&(_0x5313fc[_0x2f5743(0x1ac)][_0x2f5743(0x1c2)]=helper[_0x2f5743(0x1c5)](_0x4b176c)),_0x3a8e1c['xaKhN'](_0x542c9a,_0x3a8e1c[_0x2f5743(0x19c)])?_0x5313fc[_0x2f5743(0x1ac)][_0x2f5743(0x1aa)]=helper[_0x2f5743(0x178)]['apply'](null,_0x3a8e1c[_0x2f5743(0x1cb)](getTransformPath),!![]):_0x5313fc['event_properties']['seleniumVersion']=helper[_0x2f5743(0x1a1)](_0x3a8e1c['SsGUW']);}catch(_0x56038b){logger[_0x2f5743(0x16a)](_0x2f5743(0x189)+_0x56038b);}const _0x4c3b8a={};_0x4c3b8a[_0x2f5743(0x17b)]=_0x3a8e1c[_0x2f5743(0x1bf)];const _0x377f9e={'headers':_0x4c3b8a,'body':_0x5313fc,'auth':{'user':helper['getUserName'](_0x4b176c),'pass':helper[_0x2f5743(0x1c1)](_0x4b176c)},'json':!![]};logger[_0x2f5743(0x16a)](_0x2f5743(0x159)+JSON[_0x2f5743(0x160)](_0x377f9e[_0x2f5743(0x1d0)]));try{const _0x24859f=await helper[_0x2f5743(0x19f)](_0x3a8e1c[_0x2f5743(0x1c0)],constants['FUNNEL_INSTRUMENTATION_API_URL'],_0x377f9e,_0x4b176c);logger[_0x2f5743(0x16a)](_0x2f5743(0x184)+_0x483c5d+_0x2f5743(0x1b4)+util[_0x2f5743(0x1cd)]('%j',_0x24859f));}catch(_0x2bf77a){logger[_0x2f5743(0x16a)](_0x2f5743(0x176)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util['format'](_0x2bf77a));}},exports['finalExecution']=async _0x9da529=>{const _0x3401d6=a88_0x2da6ab,_0x5c9c3b={'GVbcv':function(_0x16d985){return _0x16d985();},'mFBqJ':function(_0x3ab2a7,_0x363b48){return _0x3ab2a7>_0x363b48;},'QafGA':function(_0x7e34b8,_0x33c1cb){return _0x7e34b8>_0x33c1cb;},'wfDwp':_0x3401d6(0x19e),'VGuES':_0x3401d6(0x1a3),'GXLMn':function(_0x190059,_0x2771cc){return _0x190059(_0x2771cc);},'AkSEz':_0x3401d6(0x1be),'AHAae':function(_0x1c95cd,_0x4d9ae8,_0x193324){return _0x1c95cd(_0x4d9ae8,_0x193324);},'sFwCl':function(_0x1688da,_0x225f9f){return _0x1688da+_0x225f9f;},'FKdCp':_0x3401d6(0x15b)};try{await _0x9da529['stopPercy'](),_0x5c9c3b['GVbcv'](printNudgeLocalNotSetError);const _0x4b76b9={};_0x4b76b9[_0x3401d6(0x1ba)]=_0x9da529[_0x3401d6(0x196)]?_0x9da529[_0x3401d6(0x196)]:'{}';const _0x147507=_0x4b76b9,_0x45f041=Object[_0x3401d6(0x162)]({},_0x147507);if(PerformanceTester['isEnabled']()){const {measures:_0x22ee8a,errors:_0x3c3985}=PerformanceTester[_0x3401d6(0x17c)]();if(_0x22ee8a&&_0x5c9c3b[_0x3401d6(0x19b)](_0x22ee8a[_0x3401d6(0x185)],0x0)||_0x3c3985&&_0x5c9c3b[_0x3401d6(0x1b7)](_0x3c3985[_0x3401d6(0x185)],0x0)){const _0x4910e7={};_0x4910e7[_0x3401d6(0x19d)]=_0x22ee8a,_0x4910e7['exceptions']=_0x3c3985,Object[_0x3401d6(0x162)](_0x45f041,_0x4910e7);}}!!_0x9da529['killSignal']&&(_0x45f041[_0x5c9c3b[_0x3401d6(0x18a)]]={'reason':_0x5c9c3b[_0x3401d6(0x1ca)],'signal':_0x9da529['killSignal']});unhandledErrors=_0x9da529[_0x3401d6(0x180)][_0x3401d6(0x1ce)]('\x0a');let _0x2d6326,_0x109b13,_0x35f3cb;_0x5c9c3b[_0x3401d6(0x15a)](isTurboScaleSession,_0x9da529['config'])?([_0x2d6326,_0x109b13]=await helper[_0x3401d6(0x195)](_0x9da529['config']),[_0x35f3cb]=await Promise[_0x3401d6(0x1a8)]([helper[_0x3401d6(0x1b3)](_0x2d6326,_0x9da529[_0x3401d6(0x1a9)]),exports[_0x3401d6(0x19a)](_0x5c9c3b[_0x3401d6(0x1a0)],_0x45f041,_0x9da529['config'],_0x9da529['framework'])])):([_0x2d6326,_0x109b13]=await helper[_0x3401d6(0x155)](_0x9da529[_0x3401d6(0x1a9)]),[_0x35f3cb]=await Promise[_0x3401d6(0x1a8)]([helper['getSessionsList'](_0x2d6326,_0x9da529[_0x3401d6(0x1a9)]),exports[_0x3401d6(0x19a)](_0x5c9c3b[_0x3401d6(0x1a0)],_0x45f041,_0x9da529[_0x3401d6(0x1a9)],_0x9da529[_0x3401d6(0x1c9)])])),_0x35f3cb&&await _0x5c9c3b['AHAae'](generateCIArtifacts,_0x35f3cb,_0x109b13),await helper[_0x3401d6(0x1cc)](_0x9da529['config']);}catch(_0x3652f5){logger['debug'](_0x5c9c3b[_0x3401d6(0x183)](_0x5c9c3b['FKdCp'],_0x3652f5));}helper['notifyUpdate']();};
|
|
1
|
+
const a88_0x4aba55=a88_0x39ef;function a88_0x4e9e(){const _0x2431b0=['source','finalExecution','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','./logger','API\x20Event\x20','seleniumVersion','event_properties','Uqcso','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','config','qeGNk','getUserName','15499EuONVw','tHydF','nodeRequest','osVersion','keys','getBuildLink','aLpuZ','codeceptjs','util','15DvOxSq','join','VaOkY','LoLAh','ZBSJA','3320HRChed','browserStackConfig','push','deviceName','playwrightVersion','vSHPq','parse','hostname','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','ENV_VAR','apply','errorMessage','786NMJxju','length','body','sdkRunId','undefined','debug','Playwright','11779644krDZIT','finishedMetadata','nodejs','./testhub/utils','13MUNzKB','fEgzC','gHIYp','application/json','format','buildName','nklva','isBrowserstackInfra','exceptions','object','MqRNo','./helper','hggkp','type','aSOoZ','hogDG','user_killed','./globals','uLUCf','BZyzK','values','getPackageVersion','browserVersion','assign','app','content-type','fireFunnelTestEvent','getFrameworkVersion','getNodeAgent','all','notifyUpdate','getTurboScaleSessionsList','LtKqH','measures','BROWSERSTACK_TESTHUB_UUID','reduce','getOptimalHubUrl','_buildHashedId','../helpers/testhub/constants','bCQWJ','bCbnY','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','unknown','tcqcv','\x20:\x20','sendLogs','every','nXssv','8VcHQrk','fFCqh','tests','browser','Error\x20in\x20firing\x20request\x20to\x20','xJxJo','sanitizeBrowserStackConfig','22806TAuQKj','XmAYg','TrmGz','ZWgUt','selenium-webdriver','TlyOB','version','getGlobal','split','gDQIM','./test-observability/utils','tCKDY','884SOabGs','error','AEntg','getAccessKey','APP_AUTOMATE_PRODUCTS','globalException','HCDJv','framework','627652IWMBQp','3053727YSiTkW','SDKTestSuccessful','78042KWBVnx','9NuBYky'];a88_0x4e9e=function(){return _0x2431b0;};return a88_0x4e9e();}(function(_0x35f54f,_0x506eb2){const _0x327870=a88_0x39ef,_0x1ef8e0=_0x35f54f();while(!![]){try{const _0x5b8eca=parseInt(_0x327870(0x7e))/0x1+parseInt(_0x327870(0x89))/0x2*(parseInt(_0x327870(0x8a))/0x3)+parseInt(_0x327870(0x86))/0x4*(-parseInt(_0x327870(0xa0))/0x5)+parseInt(_0x327870(0xb1))/0x6*(parseInt(_0x327870(0xf3))/0x7)+-parseInt(_0x327870(0xec))/0x8*(parseInt(_0x327870(0x87))/0x9)+-parseInt(_0x327870(0xa5))/0xa*(parseInt(_0x327870(0x97))/0xb)+-parseInt(_0x327870(0xb8))/0xc*(-parseInt(_0x327870(0xbc))/0xd);if(_0x5b8eca===_0x506eb2)break;else _0x1ef8e0['push'](_0x1ef8e0['shift']());}catch(_0x22a6f7){_0x1ef8e0['push'](_0x1ef8e0['shift']());}}}(a88_0x4e9e,0x3cae8));const os=require('os'),util=require(a88_0x4aba55(0x9f)),{getProductMap}=require(a88_0x4aba55(0xbb)),logger=require(a88_0x4aba55(0x8e))['winstonLogger'],constants=require('../bin/utils/constants'),testHubConstants=require(a88_0x4aba55(0xe2)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a88_0x4aba55(0xc7)),PerformanceTester=require('./performance-tester'),globals=require(a88_0x4aba55(0xcd)),{isTurboScaleSession}=require('./ats/helper'),helper=require(a88_0x4aba55(0xc7)),{isTestObservabilitySession}=require(a88_0x4aba55(0x7c));let unhandledErrors='';function a88_0x39ef(_0xa4c4c8,_0x435d3a){const _0x4e9e29=a88_0x4e9e();return a88_0x39ef=function(_0x39efad,_0x228cc9){_0x39efad=_0x39efad-0x7b;let _0x17b374=_0x4e9e29[_0x39efad];return _0x17b374;},a88_0x39ef(_0xa4c4c8,_0x435d3a);}exports[a88_0x4aba55(0xd6)]=async(_0x23a510,_0x504793={},_0x4331f9,_0x44ea82)=>{const _0x299774=a88_0x4aba55,_0x21685d={'AEntg':function(_0x2dace1,_0x3b3987){return _0x2dace1===_0x3b3987;},'hogDG':_0x299774(0xc5),'VaOkY':function(_0x29513b,_0x54e629){return _0x29513b>_0x54e629;},'hggkp':function(_0xc193f4,_0x436f59){return _0xc193f4>_0x436f59;},'BZyzK':_0x299774(0xee),'nklva':function(_0xc0cacf){return _0xc0cacf();},'aLpuZ':function(_0x20e386){return _0x20e386();},'vSHPq':function(_0x1a2d9d,_0x4a49b0){return _0x1a2d9d==_0x4a49b0;},'VGsYd':'null','Uqcso':function(_0x4f3ca9,_0x27a891){return _0x4f3ca9===_0x27a891;},'HCDJv':_0x299774(0xb5),'TlyOB':function(_0x5946da,_0x34fb9b){return _0x5946da>_0x34fb9b;},'tcqcv':_0x299774(0x9e),'tHydF':function(_0x4d0cb3,_0xa36d99){return _0x4d0cb3>_0xa36d99;},'mWDLh':function(_0x41a1f6,_0x3ecfb0){return _0x41a1f6!==_0x3ecfb0;},'XmAYg':_0x299774(0xb7),'ZeyaB':function(_0x1e65fc,_0x426491){return _0x1e65fc===_0x426491;},'bCQWJ':_0x299774(0x7f),'TrmGz':function(_0x277018,_0x5ea23d){return _0x277018+_0x5ea23d;},'GLAqj':_0x299774(0x93),'ZWgUt':_0x299774(0xe1),'ZBSJA':function(_0x4b8a0f,_0x6bce08){return _0x4b8a0f(_0x6bce08);},'qeGNk':_0x299774(0xe6),'ZQRng':_0x299774(0xba),'SEcBs':function(_0x1a8ddd,_0x459492){return _0x1a8ddd===_0x459492;},'gDQIM':_0x299774(0x88),'RzRUC':function(_0x1456e1,_0xd68c22){return _0x1456e1===_0xd68c22;},'tCKDY':_0x299774(0xf7),'LtKqH':_0x299774(0xbf),'uLUCf':'POST'};let _0x532042=[];if(helper[_0x299774(0xc3)]()&&_0x21685d[_0x299774(0xc2)](isTestObservabilitySession))_0x532042=_0x4331f9[_0x299774(0xd4)]?constants[_0x299774(0x82)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x21685d[_0x299774(0x9d)](isTestObservabilitySession))_0x532042=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x299774(0xc3)]()&&(_0x532042=_0x4331f9[_0x299774(0xd4)]?constants['APP_AUTOMATE']:constants['AUTOMATE']);}let _0x33b18c=_0x4331f9['buildIdentifier'];if(_0x21685d[_0x299774(0xaa)](_0x33b18c,null))_0x33b18c=_0x21685d['VGsYd'];else _0x21685d[_0x299774(0x92)](_0x33b18c,undefined)&&(_0x33b18c=_0x21685d[_0x299774(0x84)]);unhandledErrors&&_0x21685d[_0x299774(0xf8)](unhandledErrors['length'],0x0)&&(_0x504793[_0x299774(0x83)]=unhandledErrors);global[_0x299774(0xb4)]&&(_0x504793['sdkRunId']=global['sdkRunId']);try{if(_0x504793['error']){if(_0x21685d[_0x299774(0x92)](_0x44ea82,_0x21685d[_0x299774(0xe7)])&&_0x21685d[_0x299774(0x98)](_0x504793[_0x299774(0x7f)][_0x299774(0xb2)],0x0)){const _0x22078f={};_0x22078f['os']='',_0x22078f[_0x299774(0x9a)]='',_0x22078f[_0x299774(0xef)]='',_0x22078f[_0x299774(0xd2)]='';const _0x48a9a0=_0x22078f;let _0x28c4fb={};const _0x475325=_0x504793[_0x299774(0x7f)];_0x28c4fb=_0x475325[_0x299774(0xdf)]((_0x1dd3ed,_0x8261d0)=>{for(const _0x159f44 in _0x8261d0){_0x1dd3ed[_0x159f44]=_0x8261d0[_0x159f44];}return _0x1dd3ed;},{});const _0x3c1650={};_0x3c1650['tests']=_0x28c4fb,_0x504793[_0x299774(0x7f)]=[Object['assign']({},_0x48a9a0,_0x3c1650)];}else{let _0x27bb27=0x0;const _0x43e7bf=_0x21685d['mWDLh'](_0x44ea82,_0x21685d[_0x299774(0xf4)])?JSON[_0x299774(0xab)](_0x504793['error']):_0x504793['error'],_0x57c462=Object[_0x299774(0xd0)](_0x43e7bf);_0x57c462['forEach'](_0x1eff14=>{const _0x1829e4=_0x299774;if(_0x21685d[_0x1829e4(0x80)](typeof _0x1eff14,_0x21685d[_0x1829e4(0xcb)])){const _0xd52f8e=Object[_0x1829e4(0xd0)](_0x1eff14);!_0xd52f8e[_0x1829e4(0xea)](_0x473916=>_0x473916===null||_0x473916===undefined||_0x473916==='')&&(_0x27bb27+=0x1);}});if(_0x21685d['ZeyaB'](_0x27bb27,0x0))delete _0x504793[_0x21685d[_0x299774(0xe3)]];else{const _0x15a87b=[];Object[_0x299774(0x9b)](_0x43e7bf)['forEach'](_0x3abd61=>{const _0x4dc37f=_0x299774,[_0x885794,_0x422db0,_0xdd367e,_0x4a80c4]=_0x3abd61[_0x4dc37f(0xfb)](',\x20');let _0x27ba93={};if(!_0x4a80c4){const _0x156401={};_0x156401[_0x4dc37f(0xa8)]=_0x885794,_0x156401[_0x4dc37f(0x9a)]=_0x422db0,_0x156401[_0x4dc37f(0xef)]=_0xdd367e,_0x27ba93=_0x156401;}else{const _0x406643={};_0x406643['os']=_0x885794,_0x406643['osVersion']=_0x422db0,_0x406643[_0x4dc37f(0xef)]=_0xdd367e,_0x406643[_0x4dc37f(0xd2)]=_0x4a80c4,_0x27ba93=_0x406643;}const _0x335b3c={},_0x5390b6=_0x43e7bf[_0x3abd61];Object[_0x4dc37f(0x9b)](_0x5390b6)['forEach'](_0x16c6f7=>{const _0x2373de=_0x4dc37f;_0x21685d[_0x2373de(0xa2)](_0x5390b6[_0x16c6f7][_0x2373de(0xb2)],0x0)&&(_0x335b3c[_0x16c6f7]=_0x5390b6[_0x16c6f7]);}),_0x21685d[_0x4dc37f(0xc8)](Object['keys'](_0x335b3c)[_0x4dc37f(0xb2)],0x0)&&(_0x27ba93[_0x21685d[_0x4dc37f(0xcf)]]=_0x335b3c,_0x15a87b[_0x4dc37f(0xa7)](_0x27ba93));}),_0x21685d['TlyOB'](_0x15a87b['length'],0x0)?_0x504793[_0x299774(0x7f)]=_0x15a87b:delete _0x504793[_0x21685d[_0x299774(0xe3)]];}}}}catch(_0xe1159){delete _0x504793[_0x21685d[_0x299774(0xe3)]],logger[_0x299774(0xb6)](_0x21685d[_0x299774(0xf5)](_0x21685d['GLAqj'],_0xe1159));}const _0x505081={'userName':helper[_0x299774(0x96)](_0x4331f9),'accessKey':helper[_0x299774(0x81)](_0x4331f9),'event_type':_0x23a510,'detectedFramework':_0x44ea82,'buildHashedId':globals[_0x299774(0xfa)](_0x21685d[_0x299774(0xf6)]),'optimalHubUrl':helper[_0x299774(0xe0)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x299774(0xae)][_0x299774(0xde)]]||'','product_map':_0x21685d[_0x299774(0xa4)](getProductMap,_0x4331f9),'productMap':_0x21685d[_0x299774(0xa4)](getProductMap,_0x4331f9),'language_framework':_0x4331f9[_0x299774(0x8b)]||_0x21685d[_0x299774(0x95)],'referrer':helper[_0x299774(0xd8)](_0x44ea82),'frameworkVersion':helper[_0x299774(0xd7)](_0x44ea82),'language':_0x21685d['ZQRng'],'product':_0x532042,'languageVersion':process[_0x299774(0xf9)],'buildName':_0x4331f9[_0x299774(0xc1)]||_0x21685d[_0x299774(0x84)],'buildIdentifier':_0x33b18c,'os':os[_0x299774(0xc9)]()||_0x21685d['qeGNk'],'hostname':os[_0x299774(0xac)]()||_0x21685d[_0x299774(0x95)],..._0x504793}};try{_0x21685d['SEcBs'](_0x23a510,_0x21685d[_0x299774(0x7b)])&&(_0x505081[_0x299774(0x91)][_0x299774(0xa6)]=helper[_0x299774(0xf2)](_0x4331f9)),_0x21685d['RzRUC'](_0x44ea82,_0x21685d[_0x299774(0xf4)])?_0x505081[_0x299774(0x91)][_0x299774(0xa9)]=helper['requirePWModule'][_0x299774(0xaf)](null,_0x21685d[_0x299774(0xc2)](getTransformPath),!![]):_0x505081[_0x299774(0x91)][_0x299774(0x90)]=helper[_0x299774(0xd1)](_0x21685d[_0x299774(0x7d)]);}catch(_0x7c742d){logger[_0x299774(0xb6)](_0x299774(0xad)+_0x7c742d);}const _0x53a672={};_0x53a672[_0x299774(0xd5)]=_0x21685d[_0x299774(0xdc)];const _0x2f4cff={'headers':_0x53a672,'body':_0x505081,'auth':{'user':helper[_0x299774(0x96)](_0x4331f9),'pass':helper[_0x299774(0x81)](_0x4331f9)},'json':!![]};logger[_0x299774(0xb6)](_0x299774(0xe5)+JSON['stringify'](_0x2f4cff[_0x299774(0xb3)]));try{const _0x3c04c6=await helper[_0x299774(0x99)](_0x21685d[_0x299774(0xce)],constants['FUNNEL_INSTRUMENTATION_API_URL'],_0x2f4cff,_0x4331f9);logger[_0x299774(0xb6)](_0x299774(0x8f)+_0x23a510+'\x20response\x20-\x20'+util[_0x299774(0xc0)]('%j',_0x3c04c6));}catch(_0x5de630){logger['debug'](_0x299774(0xf0)+FUNNEL_INSTRUMENTATION_API_URL+_0x299774(0xe8)+util[_0x299774(0xc0)](_0x5de630));}},exports[a88_0x4aba55(0x8c)]=async _0x56f6bb=>{const _0x313460=a88_0x4aba55,_0x365715={'fFCqh':function(_0x1f2d17){return _0x1f2d17();},'fEgzC':function(_0x3d9077,_0x445553){return _0x3d9077>_0x445553;},'nXssv':function(_0x540f84,_0x3a7b0e){return _0x540f84>_0x3a7b0e;},'gHIYp':_0x313460(0xb9),'MqRNo':_0x313460(0xcc),'aSOoZ':function(_0x3dc69f,_0x2be839){return _0x3dc69f(_0x2be839);},'xJxJo':_0x313460(0x88),'bCbnY':function(_0x2857ef,_0x2e403b,_0x381e5f){return _0x2857ef(_0x2e403b,_0x381e5f);},'LoLAh':function(_0x38939d,_0x551903){return _0x38939d+_0x551903;},'KgGpd':_0x313460(0x8d)};try{await _0x56f6bb['stopPercy'](),_0x365715[_0x313460(0xed)](printNudgeLocalNotSetError);const _0x3e0c3d={};_0x3e0c3d[_0x313460(0x7f)]=_0x56f6bb[_0x313460(0xb0)]?_0x56f6bb[_0x313460(0xb0)]:'{}';const _0x383a09=_0x3e0c3d,_0x1e78dc=Object['assign']({},_0x383a09);if(PerformanceTester['isEnabled']()){const {measures:_0x5e290a,errors:_0x4b7431}=PerformanceTester['finalize']();if(_0x5e290a&&_0x365715[_0x313460(0xbd)](_0x5e290a[_0x313460(0xb2)],0x0)||_0x4b7431&&_0x365715[_0x313460(0xeb)](_0x4b7431[_0x313460(0xb2)],0x0)){const _0x1ff2fa={};_0x1ff2fa[_0x313460(0xdd)]=_0x5e290a,_0x1ff2fa[_0x313460(0xc4)]=_0x4b7431,Object[_0x313460(0xd3)](_0x1e78dc,_0x1ff2fa);}}!!_0x56f6bb['killSignal']&&(_0x1e78dc[_0x365715[_0x313460(0xbe)]]={'reason':_0x365715[_0x313460(0xc6)],'signal':_0x56f6bb['killSignal']});unhandledErrors=_0x56f6bb['unhandledErrors'][_0x313460(0xa1)]('\x0a');let _0x50cd8a,_0x184ddf,_0x2a0c13;_0x365715[_0x313460(0xca)](isTurboScaleSession,_0x56f6bb[_0x313460(0x94)])?([_0x50cd8a,_0x184ddf]=await helper['getTurboScaleBuildLink'](_0x56f6bb[_0x313460(0x94)]),[_0x2a0c13]=await Promise[_0x313460(0xd9)]([helper[_0x313460(0xdb)](_0x50cd8a,_0x56f6bb['config']),exports['fireFunnelTestEvent'](_0x365715['xJxJo'],_0x1e78dc,_0x56f6bb[_0x313460(0x94)],_0x56f6bb[_0x313460(0x85)])])):([_0x50cd8a,_0x184ddf]=await helper[_0x313460(0x9c)](_0x56f6bb[_0x313460(0x94)]),[_0x2a0c13]=await Promise[_0x313460(0xd9)]([helper['getSessionsList'](_0x50cd8a,_0x56f6bb[_0x313460(0x94)]),exports[_0x313460(0xd6)](_0x365715[_0x313460(0xf1)],_0x1e78dc,_0x56f6bb['config'],_0x56f6bb[_0x313460(0x85)])])),_0x2a0c13&&await _0x365715[_0x313460(0xe4)](generateCIArtifacts,_0x2a0c13,_0x184ddf),await helper[_0x313460(0xe9)](_0x56f6bb[_0x313460(0x94)]);}catch(_0x24843b){logger[_0x313460(0xb6)](_0x365715[_0x313460(0xa3)](_0x365715['KgGpd'],_0x24843b));}helper[_0x313460(0xda)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a89_0x454a(_0x58fb29,_0x2148a2){var _0x42590a=a89_0x4259();return a89_0x454a=function(_0x454afb,_0x4da2e5){_0x454afb=_0x454afb-0x1c2;var _0x4f46ad=_0x42590a[_0x454afb];return _0x4f46ad;},a89_0x454a(_0x58fb29,_0x2148a2);}function a89_0x4259(){var _0x161a43=['accessibilityOptions.wcagVersion','browserstack.localIdentifier','browserstack.video','appiumVersion','userName','jnFYk','accessibilityOptions.includeIssueType.needsReview','tlsDV','os_version','qCuvX','browserstack.accessibility','257608AbxVuy','mRryR','browserstack.appiumLogs','fHqap','accessibilityOptions.authToken','maskBasicAuth','GnOhJ','deviceOrientation','accessibilityOptions.scannerProcessingTimeout','HVovw','psUaq','browserstack.appium_version','QorZi','browserstack.hosts','NLpMN','PDNLq','Kqdoy','882356QynkRo','browserstack.telemetryLogs','localIdentifier','geoLocation','browserstack.networkLogs','accessibility','browser_version','uploadMedia','debug','browserstack.networkProfile','2192984hbgegN','browserstack.customNetwork','browserstack.local','browserstack.accessibilityOptions.authToken','10NcgzbL','networkProfile','JrjVL','browserstack.accessibilityOptions.includeIssueType.needsReview','project','GoLTr','browserstack.user','vsOlm','14CATpcj','ThuKw','appiumLogs','acfnW','browserstack.accessibilityOptions.scannerProcessingTimeout','buildIdentifier','AokBe','hahaQ','FApzv','telemetryLogs','browserstackSDK','accessibilityOptions.scannerVersion','edIIK','browserstack.idleTimeout','maskCommands','video','Opsar','browserstack.seleniumLogs','taKfz','customNetwork','browserstack.browserstackSDK','browserstack.autoWait','OJBdP','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserVersion','WXUbt','browserstack.key','simOptions','BVBaE','LRoKm','browserstack.disableCorsRestrictions','browserstack.buildIdentifier','networkLogsOptions','JRlGC','kirUv','nraXu','CNpNv','qeOVm','NwXKY','8461838pWzMaA','useW3c','browserstack.accessibilityOptions.scannerVersion','browserstack.maskBasicAuth','18xTRwvn','OWPLq','browserstack.debug','NPqge','browserstack.accessibilityOptions.wcagVersion','sessionName','enableSim','ZztJe','7029828HrVlzV','osVersion','GpzJC','2445939XYEBTE','seleniumLogs','hexIY','bfcache','yygiq','316917WqReWq','wsLocalSupport','JAGYC','PQeRB','fsFtZ','20orAdyg','lrTVS','CmEOm','disableCorsRestrictions','QFShB','hosts','browserstack.networkLogsOptions','tCSfL','browserstack.wsLocalSupport','realMobile','browser','autoWait','browserstack.playwrightVersion','oWsYV','browserstack.enableSim','projectName','resolution'];a89_0x4259=function(){return _0x161a43;};return a89_0x4259();}(function(_0x147686,_0x4b3c99){var _0x2a7290=a89_0x454a,_0x3948ac=_0x147686();while(!![]){try{var _0x977271=-parseInt(_0x2a7290(0x1d7))/0x1+-parseInt(_0x2a7290(0x229))/0x2*(parseInt(_0x2a7290(0x239))/0x3)+-parseInt(_0x2a7290(0x1e8))/0x4*(parseInt(_0x2a7290(0x23e))/0x5)+parseInt(_0x2a7290(0x231))/0x6+-parseInt(_0x2a7290(0x1fe))/0x7*(-parseInt(_0x2a7290(0x1f2))/0x8)+-parseInt(_0x2a7290(0x234))/0x9*(-parseInt(_0x2a7290(0x1f6))/0xa)+parseInt(_0x2a7290(0x225))/0xb;if(_0x977271===_0x4b3c99)break;else _0x3948ac['push'](_0x3948ac['shift']());}catch(_0xe5b6a8){_0x3948ac['push'](_0x3948ac['shift']());}}}(a89_0x4259,0xa39f6),exports['W3CMapping']=()=>{var _0x3d3877=a89_0x454a,_0x446445={};_0x446445['OWPLq']=_0x3d3877(0x1d0),_0x446445[_0x3d3877(0x1ff)]='accessKey',_0x446445[_0x3d3877(0x1fb)]=_0x3d3877(0x232),_0x446445[_0x3d3877(0x238)]=_0x3d3877(0x1c5),_0x446445[_0x3d3877(0x20e)]=_0x3d3877(0x216),_0x446445[_0x3d3877(0x223)]=_0x3d3877(0x226),_0x446445[_0x3d3877(0x206)]=_0x3d3877(0x1ca),_0x446445['lstRO']='buildName',_0x446445['NPqge']=_0x3d3877(0x22e),_0x446445[_0x3d3877(0x1e6)]='local',_0x446445[_0x3d3877(0x1d8)]=_0x3d3877(0x1ea),_0x446445[_0x3d3877(0x1e7)]=_0x3d3877(0x1f0),_0x446445[_0x3d3877(0x224)]='consoleLogs',_0x446445[_0x3d3877(0x1e0)]='networkLogs',_0x446445[_0x3d3877(0x23d)]=_0x3d3877(0x21e),_0x446445[_0x3d3877(0x1e5)]=_0x3d3877(0x200),_0x446445[_0x3d3877(0x1e3)]=_0x3d3877(0x20d),_0x446445[_0x3d3877(0x23f)]=_0x3d3877(0x235),_0x446445[_0x3d3877(0x1c8)]=_0x3d3877(0x207),_0x446445[_0x3d3877(0x205)]=_0x3d3877(0x1eb),_0x446445[_0x3d3877(0x1f8)]='timezone',_0x446445[_0x3d3877(0x1e1)]='resolution',_0x446445['CNpNv']='seleniumVersion',_0x446445[_0x3d3877(0x1da)]=_0x3d3877(0x20c),_0x446445[_0x3d3877(0x23b)]='idleTimeout',_0x446445[_0x3d3877(0x242)]=_0x3d3877(0x1dc),_0x446445[_0x3d3877(0x1d5)]=_0x3d3877(0x1c6),_0x446445[_0x3d3877(0x233)]=_0x3d3877(0x243),_0x446445[_0x3d3877(0x1d3)]=_0x3d3877(0x237),_0x446445['LRoKm']=_0x3d3877(0x23a),_0x446445[_0x3d3877(0x1fd)]=_0x3d3877(0x241),_0x446445['kirUv']='deviceName',_0x446445['mOdjT']=_0x3d3877(0x1c4),_0x446445[_0x3d3877(0x217)]=_0x3d3877(0x1cf),_0x446445[_0x3d3877(0x1d1)]=_0x3d3877(0x1de),_0x446445['nraXu']=_0x3d3877(0x211),_0x446445[_0x3d3877(0x21f)]=_0x3d3877(0x1f7),_0x446445[_0x3d3877(0x21a)]=_0x3d3877(0x203),_0x446445[_0x3d3877(0x214)]=_0x3d3877(0x208),_0x446445[_0x3d3877(0x210)]=_0x3d3877(0x1ed),_0x446445['CmEOm']=_0x3d3877(0x1cc),_0x446445['acfnW']=_0x3d3877(0x209),_0x446445['edIIK']=_0x3d3877(0x1df),_0x446445['tCSfL']='accessibilityOptions.includeIssueType.bestPractice',_0x446445[_0x3d3877(0x1dd)]=_0x3d3877(0x1d2),_0x446445[_0x3d3877(0x23c)]=_0x3d3877(0x1db),_0x446445['mjnlg']=_0x3d3877(0x1ef),_0x446445[_0x3d3877(0x236)]=_0x3d3877(0x22f),_0x446445[_0x3d3877(0x204)]=_0x3d3877(0x219),_0x446445['ZztJe']='playwrightVersion';var _0x4dd73c=_0x446445,_0x53807a={};return _0x53807a[_0x3d3877(0x1fc)]=_0x4dd73c[_0x3d3877(0x22a)],_0x53807a[_0x3d3877(0x218)]=_0x4dd73c[_0x3d3877(0x1ff)],_0x53807a['os']='os',_0x53807a[_0x3d3877(0x1d4)]=_0x4dd73c[_0x3d3877(0x1fb)],_0x53807a[_0x3d3877(0x1c5)]=_0x4dd73c[_0x3d3877(0x238)],_0x53807a[_0x3d3877(0x1ee)]=_0x4dd73c[_0x3d3877(0x20e)],_0x53807a['browserstack.use_w3c']=_0x4dd73c[_0x3d3877(0x223)],_0x53807a[_0x3d3877(0x1fa)]=_0x4dd73c[_0x3d3877(0x206)],_0x53807a['build']=_0x4dd73c['lstRO'],_0x53807a['name']=_0x4dd73c[_0x3d3877(0x22c)],_0x53807a[_0x3d3877(0x1f4)]=_0x4dd73c[_0x3d3877(0x1e6)],_0x53807a[_0x3d3877(0x1cd)]=_0x4dd73c[_0x3d3877(0x1d8)],_0x53807a[_0x3d3877(0x22b)]=_0x4dd73c[_0x3d3877(0x1e7)],_0x53807a['browserstack.console']=_0x4dd73c['NwXKY'],_0x53807a[_0x3d3877(0x1ec)]=_0x4dd73c[_0x3d3877(0x1e0)],_0x53807a[_0x3d3877(0x244)]=_0x4dd73c[_0x3d3877(0x23d)],_0x53807a[_0x3d3877(0x1d9)]=_0x4dd73c['NLpMN'],_0x53807a[_0x3d3877(0x1ce)]=_0x4dd73c[_0x3d3877(0x1e3)],_0x53807a[_0x3d3877(0x20f)]=_0x4dd73c[_0x3d3877(0x23f)],_0x53807a[_0x3d3877(0x1e9)]=_0x4dd73c[_0x3d3877(0x1c8)],_0x53807a['browserstack.geoLocation']=_0x4dd73c[_0x3d3877(0x205)],_0x53807a['browserstack.timezone']=_0x4dd73c[_0x3d3877(0x1f8)],_0x53807a[_0x3d3877(0x1cb)]=_0x4dd73c[_0x3d3877(0x1e1)],_0x53807a['browserstack.selenium_version']=_0x4dd73c[_0x3d3877(0x222)],_0x53807a['browserstack.maskCommands']=_0x4dd73c[_0x3d3877(0x1da)],_0x53807a[_0x3d3877(0x20b)]=_0x4dd73c[_0x3d3877(0x23b)],_0x53807a[_0x3d3877(0x228)]=_0x4dd73c['QFShB'],_0x53807a[_0x3d3877(0x213)]=_0x4dd73c['qCuvX'],_0x53807a[_0x3d3877(0x1e4)]=_0x4dd73c[_0x3d3877(0x233)],_0x53807a['browserstack.bfcache']=_0x4dd73c[_0x3d3877(0x1d3)],_0x53807a[_0x3d3877(0x1c3)]=_0x4dd73c[_0x3d3877(0x21b)],_0x53807a[_0x3d3877(0x21c)]=_0x4dd73c[_0x3d3877(0x1fd)],_0x53807a['device']=_0x4dd73c[_0x3d3877(0x220)],_0x53807a['realMobile']=_0x4dd73c['mOdjT'],_0x53807a[_0x3d3877(0x1e2)]=_0x4dd73c[_0x3d3877(0x217)],_0x53807a[_0x3d3877(0x1de)]=_0x4dd73c[_0x3d3877(0x1d1)],_0x53807a[_0x3d3877(0x1f3)]=_0x4dd73c[_0x3d3877(0x221)],_0x53807a[_0x3d3877(0x1f1)]=_0x4dd73c['JRlGC'],_0x53807a[_0x3d3877(0x21d)]=_0x4dd73c[_0x3d3877(0x21a)],_0x53807a[_0x3d3877(0x212)]=_0x4dd73c[_0x3d3877(0x214)],_0x53807a[_0x3d3877(0x1d6)]=_0x4dd73c['taKfz'],_0x53807a[_0x3d3877(0x22d)]=_0x4dd73c[_0x3d3877(0x240)],_0x53807a[_0x3d3877(0x227)]=_0x4dd73c[_0x3d3877(0x201)],_0x53807a[_0x3d3877(0x202)]=_0x4dd73c[_0x3d3877(0x20a)],_0x53807a[_0x3d3877(0x215)]=_0x4dd73c[_0x3d3877(0x1c2)],_0x53807a[_0x3d3877(0x1f9)]=_0x4dd73c[_0x3d3877(0x1dd)],_0x53807a[_0x3d3877(0x1f5)]=_0x4dd73c[_0x3d3877(0x23c)],_0x53807a['browserstack.uploadMedia']=_0x4dd73c['mjnlg'],_0x53807a[_0x3d3877(0x1c9)]=_0x4dd73c[_0x3d3877(0x236)],_0x53807a['browserstack.simOptions']=_0x4dd73c[_0x3d3877(0x204)],_0x53807a[_0x3d3877(0x1c7)]=_0x4dd73c[_0x3d3877(0x230)],_0x53807a;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90_0x5595b2=a90_0x1221;(function(_0x17b054,_0x1f4756){const _0x411c8b=a90_0x1221,_0x38292b=_0x17b054();while(!![]){try{const _0x5b6d4f=parseInt(_0x411c8b(0x19e))/0x1+parseInt(_0x411c8b(0x1bf))/0x2*(-parseInt(_0x411c8b(0x1a1))/0x3)+-parseInt(_0x411c8b(0x1c1))/0x4+parseInt(_0x411c8b(0x187))/0x5*(parseInt(_0x411c8b(0x183))/0x6)+parseInt(_0x411c8b(0x193))/0x7*(-parseInt(_0x411c8b(0x1a7))/0x8)+-parseInt(_0x411c8b(0x199))/0x9*(parseInt(_0x411c8b(0x194))/0xa)+parseInt(_0x411c8b(0x1a6))/0xb;if(_0x5b6d4f===_0x1f4756)break;else _0x38292b['push'](_0x38292b['shift']());}catch(_0x5b4364){_0x38292b['push'](_0x38292b['shift']());}}}(a90_0xd383,0x45e23));function a90_0xd383(){const _0x1c0e9d=['newHubUrl','owEQo','GET','keys','./helpers/helper','omPnb','debug','sSpky','updateHubUrl','bwsLL','QdwYJ','KAtKH','./bin/utils/constants','2278LzvjYk','url','408516FfTMet','entries','fYZVj','IxbHC','qoeiA','kCQOe','findLatency','24qvXWNW','OcGnT','all','map','149605ocYqrt','sort','PIJif','resolve','then','getRequestOptions','YtVxR','Invalid\x20new\x20HUB\x20URL:\x20','push','nodeRequest','hubUrl','hostname','63FJUrxo','20QZxnPi','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','hash','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','winstonLogger','1473543DBhgjQ','./helpers/logger','check','kTMZd','HUDlq','318750RAjdSS','Execution\x20time\x20for\x20','catch','72loEeCZ','https://','fromEntries','util','preZt','4533969iMWzVL','95512iXUiNU','search','NcCpw','NJFyO','nextHubs','orJyF','Response:\x20','DFdql','PPnBu','DfZKG','data'];a90_0xd383=function(){return _0x1c0e9d;};return a90_0xd383();}function a90_0x1221(_0x515e39,_0xbefa67){const _0xd3833f=a90_0xd383();return a90_0x1221=function(_0x122100,_0x25de8f){_0x122100=_0x122100-0x17d;let _0x184070=_0xd3833f[_0x122100];return _0x184070;},a90_0x1221(_0x515e39,_0xbefa67);}const url=require(a90_0x5595b2(0x1c0)),util=require(a90_0x5595b2(0x1a4)),helper=require(a90_0x5595b2(0x1b6)),logger=require(a90_0x5595b2(0x19a))[a90_0x5595b2(0x198)],constants=require(a90_0x5595b2(0x1be));global['newHubUrl']='',exports[a90_0x5595b2(0x18c)]=_0xdcaba2=>{const _0x4471bb=a90_0x5595b2,_0x55fde1={};_0x55fde1['sSpky']=function(_0xe7bf6b,_0x53fcd3){return _0xe7bf6b+_0x53fcd3;},_0x55fde1['PPnBu']=_0x4471bb(0x18e);const _0x3f8a88=_0x55fde1,_0xa629ab=url['parse'](_0xdcaba2);if(!_0xa629ab[_0x4471bb(0x192)])throw new Error(_0x3f8a88[_0x4471bb(0x1b9)](_0x3f8a88[_0x4471bb(0x1af)],_0xdcaba2));return _0xa629ab[_0x4471bb(0x1a8)]=null,_0xa629ab[_0x4471bb(0x196)]=null,_0xa629ab['path']=_0xa629ab['pathname'],_0xa629ab;},exports[a90_0x5595b2(0x1ba)]=_0x9b139a=>{const _0x8dc6=a90_0x5595b2;global[_0x8dc6(0x1b2)]=_0x9b139a;},exports['allocateHub']=_0x5c0de9=>{const _0x587a85=a90_0x5595b2,_0x2f7fc2={'DFdql':function(_0x39ae5e){return _0x39ae5e();},'fYZVj':function(_0x42ba1d,_0x297ce7){return _0x42ba1d+_0x297ce7;},'BMyVB':'/wd/hub','orJyF':function(_0x4a8529,_0xd85e9){return _0x4a8529!=_0xd85e9;},'NJFyO':function(_0x21867b,_0x233c1b){return _0x21867b!==_0x233c1b;},'IxbHC':function(_0x29ecc5,_0x31f38d){return _0x29ecc5+_0x31f38d;},'OcGnT':_0x587a85(0x1a2),'wDIHj':function(_0x5388bd){return _0x5388bd();}};return new Promise(_0x205b47=>{const _0x4ed7b9=_0x587a85,_0x5049fe={'NcCpw':function(_0x5b6f4c,_0x5d5f69){const _0x1eeb69=a90_0x1221;return _0x2f7fc2[_0x1eeb69(0x17e)](_0x5b6f4c,_0x5d5f69);},'HUDlq':_0x2f7fc2['BMyVB'],'bwsLL':function(_0x165072){const _0x4733e9=a90_0x1221;return _0x2f7fc2[_0x4733e9(0x1ae)](_0x165072);},'QdwYJ':function(_0x33dff5,_0x9da1a8){const _0x5846ec=a90_0x1221;return _0x2f7fc2[_0x5846ec(0x1ac)](_0x33dff5,_0x9da1a8);},'PIJif':function(_0x57e174,_0x429724){const _0x2703a5=a90_0x1221;return _0x2f7fc2[_0x2703a5(0x1aa)](_0x57e174,_0x429724);},'kTMZd':function(_0x58d14e,_0x3a690c){const _0x28907f=a90_0x1221;return _0x2f7fc2[_0x28907f(0x17f)](_0x58d14e,_0x3a690c);},'DfZKG':_0x2f7fc2[_0x4ed7b9(0x184)],'kCQOe':function(_0x3d97c6){return _0x2f7fc2['wDIHj'](_0x3d97c6);}};Promise[_0x4ed7b9(0x18a)](this[_0x4ed7b9(0x1ab)](_0x5c0de9))[_0x4ed7b9(0x18b)](_0x3266f4=>{const _0xa5e977=_0x4ed7b9;logger[_0xa5e977(0x1b8)]('NEAREST\x20HUBS:\x20'+util['format']('%j',_0x3266f4));if(_0x5049fe[_0xa5e977(0x1bc)](_0x3266f4,null)&&_0x5049fe[_0xa5e977(0x189)](_0x3266f4['length'],0x0)){const _0x15e398=[];for(const _0x1f2520 of _0x3266f4){_0x15e398[_0xa5e977(0x18f)](this['findLatency'](_0x5c0de9,_0x5049fe[_0xa5e977(0x19c)](_0x5049fe[_0xa5e977(0x1b0)],_0x1f2520)));}Promise[_0xa5e977(0x185)](_0x15e398)['then'](_0x24db00=>{const _0x5e9c47=_0xa5e977,_0x4cc717=Object['fromEntries'](_0x24db00[_0x5e9c47(0x186)](_0x2bf48d=>[_0x2bf48d[_0x5e9c47(0x191)],_0x2bf48d['latency']])),_0x33121b=Object[_0x5e9c47(0x1a3)](Object[_0x5e9c47(0x17d)](_0x4cc717)[_0x5e9c47(0x188)](([,_0xecf96a],[,_0x413ce3])=>_0xecf96a-_0x413ce3)),_0x18c3e4=Object[_0x5e9c47(0x1b5)](_0x33121b)[0x0];constants[_0x5e9c47(0x191)]=_0x5049fe[_0x5e9c47(0x1a9)](_0x18c3e4,_0x5049fe[_0x5e9c47(0x19d)]),logger[_0x5e9c47(0x1b8)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0x18c3e4),_0x5049fe[_0x5e9c47(0x1bb)](_0x205b47);});}else _0x5049fe[_0xa5e977(0x181)](_0x205b47);})[_0x4ed7b9(0x1a0)](_0x31af32=>{const _0x40904c=_0x4ed7b9;logger[_0x40904c(0x1b8)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x31af32),_0x2f7fc2[_0x40904c(0x1ae)](_0x205b47);});});},exports[a90_0x5595b2(0x182)]=async(_0x29f3db,_0x5edff0)=>{const _0x713295=a90_0x5595b2,_0x557a47={};_0x557a47[_0x713295(0x18d)]=_0x713295(0x1b4),_0x557a47[_0x713295(0x1bd)]=_0x713295(0x19b),_0x557a47[_0x713295(0x1a5)]=function(_0x2c898b,_0x3403b2){return _0x2c898b-_0x3403b2;};const _0x4c9271=_0x557a47;try{const _0x93210b=new Date();await helper[_0x713295(0x190)](_0x4c9271[_0x713295(0x18d)],_0x4c9271['KAtKH'],{},_0x29f3db,_0x5edff0,0x1388);const _0x445755=_0x4c9271[_0x713295(0x1a5)](new Date(),_0x93210b);logger[_0x713295(0x1b8)](_0x713295(0x19f)+_0x5edff0+'\x20is:\x20'+_0x445755+'ms');const _0x305e6a={};return _0x305e6a[_0x713295(0x191)]=_0x5edff0,_0x305e6a['latency']=_0x445755,_0x305e6a;}catch(_0x3349d0){return logger[_0x713295(0x1b8)](_0x713295(0x195)+_0x5edff0+'\x20HUB\x20-\x20'+_0x3349d0),{};}},exports[a90_0x5595b2(0x1ab)]=async _0x273330=>{const _0x226e53=a90_0x5595b2,_0x1ce055={};_0x1ce055['qoeiA']=_0x226e53(0x1b4),_0x1ce055[_0x226e53(0x1b7)]='next_hubs',_0x1ce055['owEQo']='https://hub.browserstack.com';const _0x1eb313=_0x1ce055;try{const _0x65ead8=await helper[_0x226e53(0x190)](_0x1eb313[_0x226e53(0x180)],_0x1eb313[_0x226e53(0x1b7)],{},_0x273330,_0x1eb313[_0x226e53(0x1b3)],0x1388),_0x59073a=_0x65ead8[_0x226e53(0x1b1)];return logger[_0x226e53(0x1b8)](_0x226e53(0x1ad)+util['format']('%j',_0x59073a)),_0x59073a['hubs'];}catch(_0x534a3b){logger[_0x226e53(0x1b8)](_0x226e53(0x197)+_0x534a3b);}return null;};
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a91_0x416f(_0x571483,_0x3b1f76){const _0x1f823f=a91_0x1f82();return a91_0x416f=function(_0x416f65,_0x24fa70){_0x416f65=_0x416f65-0x158;let _0x519a32=_0x1f823f[_0x416f65];return _0x519a32;},a91_0x416f(_0x571483,_0x3b1f76);}const a91_0x51d982=a91_0x416f;(function(_0x1ac548,_0x427151){const _0x48d51d=a91_0x416f,_0x499637=_0x1ac548();while(!![]){try{const _0x3bfb4f=-parseInt(_0x48d51d(0x1be))/0x1*(parseInt(_0x48d51d(0x1b1))/0x2)+-parseInt(_0x48d51d(0x204))/0x3+-parseInt(_0x48d51d(0x1b6))/0x4*(-parseInt(_0x48d51d(0x1a0))/0x5)+parseInt(_0x48d51d(0x1e9))/0x6+parseInt(_0x48d51d(0x1aa))/0x7+-parseInt(_0x48d51d(0x15b))/0x8+parseInt(_0x48d51d(0x1da))/0x9;if(_0x3bfb4f===_0x427151)break;else _0x499637['push'](_0x499637['shift']());}catch(_0x158e82){_0x499637['push'](_0x499637['shift']());}}}(a91_0x1f82,0x413cc));const util=require(a91_0x51d982(0x1d5)),{overrideTakeScreenshot}=require('./helpers/patchHelpers'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require('./helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,setExtension}=require(a91_0x51d982(0x227)),helper=require(a91_0x51d982(0x203)),logger=require(a91_0x51d982(0x20d))[a91_0x51d982(0x16e)],hubAllocator=require(a91_0x51d982(0x218)),percySDK=require('./helpers/percy/PercySDK'),percyHelper=require(a91_0x51d982(0x17e)),BrowserStackSdk=require(a91_0x51d982(0x1ff)),modifyPlaywrightConfig=require(a91_0x51d982(0x21d)),scripts=require(a91_0x51d982(0x20b)),globals=require(a91_0x51d982(0x1a4)),{commandRepository}=require(a91_0x51d982(0x1dc)),{aiSdkWrapper}=require(a91_0x51d982(0x169)),{overrideExecute}=require(a91_0x51d982(0x21f)),modify=_0x16ca71=>{const _0x1c1b94=a91_0x51d982,_0xdb41b6={'DkBcJ':function(_0x2e5922,_0x307794){return _0x2e5922!==_0x307794;},'JyqzO':_0x1c1b94(0x1c8),'Wxuws':function(_0x2a8c6c,_0x52ec42){return _0x2a8c6c!==_0x52ec42;},'CEgmw':function(_0x5ef22b,_0x4af322){return _0x5ef22b+_0x4af322;},'yBwmx':function(_0x3e2262,_0x4a2592){return _0x3e2262+_0x4a2592;},'UASGA':_0x1c1b94(0x208),'lpKwt':_0x1c1b94(0x16b),'WdQuw':_0x1c1b94(0x1ba),'IBDzd':_0x1c1b94(0x1cf),'geBoP':_0x1c1b94(0x19a),'BKQZt':_0x1c1b94(0x21c),'uHHFk':_0x1c1b94(0x19d),'XxAws':'firefoxOptions','HTcEU':_0x1c1b94(0x215),'eTQoC':_0x1c1b94(0x1ce),'tQhRM':_0x1c1b94(0x1d2),'mzntb':function(_0x204809,_0x32c16c){return _0x204809===_0x32c16c;},'hBdLz':_0x1c1b94(0x201),'TxNPq':'Setting\x20Browserstack\x20capabilities','XtNLj':function(_0x3cde1b,_0x2a9985,_0x2f35e5){return _0x3cde1b(_0x2a9985,_0x2f35e5);},'XdHpl':function(_0xed4123,_0x2d2be9){return _0xed4123(_0x2d2be9);},'dTYMO':function(_0x3d4e7a,_0x4bb4e5){return _0x3d4e7a(_0x4bb4e5);},'YEWtU':_0x1c1b94(0x212),'vrvls':_0x1c1b94(0x1a5),'MsXFm':function(_0x526520,_0x1ed789,_0x259d40){return _0x526520(_0x1ed789,_0x259d40);},'eNDpM':function(_0x9d1e1f){return _0x9d1e1f();},'qtacw':function(_0x4d4e63,_0x513c42){return _0x4d4e63(_0x513c42);},'cCmQc':_0x1c1b94(0x187),'DxqYo':_0x1c1b94(0x176),'HsANW':function(_0x591e13,_0x38505e,_0x4d1931){return _0x591e13(_0x38505e,_0x4d1931);},'PuTxw':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','HZJxv':'Modifying\x20webdriver\x20builder'};logger[_0x1c1b94(0x189)](_0xdb41b6['PuTxw']),logger['debug'](_0xdb41b6[_0x1c1b94(0x159)]);const _0x5ad51f=helper[_0x1c1b94(0x1a3)](),_0x2d2608=helper[_0x1c1b94(0x202)]();class _0xe819dd extends _0x2d2608[_0x1c1b94(0x16a)]{[_0x1c1b94(0x1e5)](_0x16045d){const _0x3438da=_0x1c1b94;if(_0xdb41b6[_0x3438da(0x164)](_0x16045d[_0x3438da(0x1bf)],_0xdb41b6[_0x3438da(0x1ca)])&&_0xdb41b6['Wxuws'](global[_0x3438da(0x1d1)],''))try{global[_0x3438da(0x1d1)]=_0xdb41b6[_0x3438da(0x1bc)](_0xdb41b6[_0x3438da(0x1e1)](_0xdb41b6[_0x3438da(0x181)],global[_0x3438da(0x1d1)]),_0xdb41b6[_0x3438da(0x15f)]),this[_0x3438da(0x20c)]=hubAllocator[_0x3438da(0x19b)](global[_0x3438da(0x1d1)]),logger[_0x3438da(0x209)](_0x3438da(0x22b)+global['newHubUrl']),global['newHubUrl']='';}catch(_0xaa1cdd){logger[_0x3438da(0x174)](_0xaa1cdd);}return super['send'](_0x16045d);}}class _0x344633 extends _0x5ad51f[_0x1c1b94(0x207)]{[_0x1c1b94(0x17b)](_0x3ab3ab){const _0x5aec0a=_0x1c1b94;let _0x43f79d={};for(const _0x45a089 in _0x3ab3ab){switch(_0x45a089){case _0xdb41b6[_0x5aec0a(0x199)]:case _0xdb41b6['IBDzd']:this[_0x5aec0a(0x190)]&&(_0x43f79d=this[_0x5aec0a(0x190)][_0x5aec0a(0x17a)](this['chromeOptions_'][_0x5aec0a(0x1bb)])||{},this[_0x5aec0a(0x190)]['set'](this[_0x5aec0a(0x190)][_0x5aec0a(0x1bb)],helper[_0x5aec0a(0x1fd)](_0x43f79d,_0x3ab3ab[_0x45a089])));break;case _0xdb41b6[_0x5aec0a(0x1bd)]:case _0xdb41b6['BKQZt']:this[_0x5aec0a(0x1c4)]&&(_0x43f79d=this[_0x5aec0a(0x1c4)]['get'](this[_0x5aec0a(0x1c4)][_0x5aec0a(0x1bb)])||{},this['edgeOptions_']['set'](this[_0x5aec0a(0x1c4)][_0x5aec0a(0x1bb)],helper['mergeDeep'](_0x43f79d,_0x3ab3ab[_0x45a089])));break;case _0xdb41b6[_0x5aec0a(0x1e4)]:case _0xdb41b6[_0x5aec0a(0x16d)]:this[_0x5aec0a(0x192)]&&(_0x43f79d=this[_0x5aec0a(0x192)]['get'](this[_0x5aec0a(0x192)][_0x5aec0a(0x1bb)])||{},this['firefoxOptions_']['set'](this[_0x5aec0a(0x192)][_0x5aec0a(0x1bb)],helper['mergeDeep'](_0x43f79d,_0x3ab3ab[_0x45a089])));break;case _0xdb41b6['HTcEU']:this[_0x5aec0a(0x160)]&&(_0x43f79d=this[_0x5aec0a(0x160)][_0x5aec0a(0x17a)](this[_0x5aec0a(0x160)][_0x5aec0a(0x1bb)])||{},this['safariOptions_'][_0x5aec0a(0x200)](this[_0x5aec0a(0x160)][_0x5aec0a(0x1bb)],helper[_0x5aec0a(0x1fd)](_0x43f79d,_0x3ab3ab[_0x45a089])));break;case _0xdb41b6[_0x5aec0a(0x1b7)]:case _0xdb41b6['tQhRM']:this[_0x5aec0a(0x17f)]&&(_0x43f79d=this['ieOptions_']['get'](this[_0x5aec0a(0x17f)][_0x5aec0a(0x1bb)])||{},this[_0x5aec0a(0x17f)][_0x5aec0a(0x200)](this['ieOptions_'][_0x5aec0a(0x1bb)],helper['mergeDeep'](_0x43f79d,_0x3ab3ab[_0x45a089])));break;}}}[_0x1c1b94(0x206)](){const _0x3198bd=_0x1c1b94;return this[_0x3198bd(0x1d9)]=helper[_0x3198bd(0x225)](_0x16ca71),logger[_0x3198bd(0x209)](_0x3198bd(0x1c3)+this[_0x3198bd(0x1d9)]),this;}['setCapabilities'](){const _0x258e6e=_0x1c1b94;return logger[_0x258e6e(0x209)](_0xdb41b6['TxNPq']),this[_0x258e6e(0x17b)](_0x16ca71[_0x258e6e(0x1eb)]),Object[_0x258e6e(0x1fe)](_0x16ca71[_0x258e6e(0x1eb)])['forEach'](_0x31a513=>{const _0x2b409a=_0x258e6e,_0x53daf3=this[_0x2b409a(0x18c)][_0x2b409a(0x17a)](_0x31a513);_0xdb41b6['mzntb'](typeof _0x53daf3,_0xdb41b6[_0x2b409a(0x22c)])?this[_0x2b409a(0x18c)][_0x2b409a(0x200)](_0x31a513,helper[_0x2b409a(0x1fd)](_0x53daf3,_0x16ca71[_0x2b409a(0x1eb)][_0x31a513])):this[_0x2b409a(0x18c)][_0x2b409a(0x200)](_0x31a513,_0x16ca71[_0x2b409a(0x1eb)][_0x31a513]);}),this;}[_0x1c1b94(0x20f)](){const _0x143844=_0x1c1b94,_0x469b70={'weWMA':_0xdb41b6[_0x143844(0x219)],'fQfjf':_0xdb41b6[_0x143844(0x16f)],'VrmYi':function(_0x390bc0,_0x4f268d,_0x5c5f28){const _0x2e3e46=_0x143844;return _0xdb41b6[_0x2e3e46(0x167)](_0x390bc0,_0x4f268d,_0x5c5f28);}};_0xdb41b6[_0x143844(0x19e)](isAccessibilityAutomationSession)&&_0xdb41b6[_0x143844(0x22a)](setAccessibilityCapabilities,_0x16ca71);this[_0x143844(0x206)](),this[_0x143844(0x216)]();if(helper['isPacProxy'](_0x16ca71['proxySettings'][_0x143844(0x198)]))this[_0x143844(0x1c6)]=helper[_0x143844(0x1ee)](_0x16ca71[_0x143844(0x1f1)][_0x143844(0x198)]);else _0x16ca71[_0x143844(0x1f1)][_0x143844(0x198)]&&(this['proxy_']=_0x16ca71[_0x143844(0x1f1)][_0x143844(0x198)],logger[_0x143844(0x209)](_0x143844(0x1e2)+this['proxy_']));globals[_0x143844(0x21e)](_0xdb41b6[_0x143844(0x1f7)])&&(!_0xdb41b6['XtNLj'](setExtension,this,_0x16ca71)&&globals[_0x143844(0x18e)](_0xdb41b6[_0x143844(0x1f7)],![]));!helper['isBrowserstackInfra']()&&helper[_0x143844(0x177)](null,null,_0x16ca71['framework'],null,this,null);logger[_0x143844(0x209)](_0xdb41b6[_0x143844(0x1ad)]);const _0x1b1108=super['build']();return _0x1b1108[_0x143844(0x1de)][_0x143844(0x183)](_0x5b149c=>{const _0x139dea=_0x143844;try{const _0x3c9205=_0x5b149c[_0x139dea(0x1fa)][_0x139dea(0x17a)](_0x469b70['weWMA']);_0x3c9205?(logger[_0x139dea(0x209)](_0x139dea(0x1ef)+_0x3c9205),hubAllocator[_0x139dea(0x1af)](_0x3c9205),helper[_0x139dea(0x1ae)](_0x3c9205)):logger[_0x139dea(0x209)](_0x469b70['fQfjf']);}catch(_0x15339a){logger[_0x139dea(0x209)](_0x139dea(0x16c)+_0x15339a);}}),_0x1b1108['then']&&_0x1b1108[_0x143844(0x183)](_0x20730d=>{const _0x13009d=_0x143844,_0x8e161={'ORPPV':function(_0x13d6f7,_0x5dae56,_0x320f5d){const _0x658788=a91_0x416f;return _0xdb41b6[_0x658788(0x1f3)](_0x13d6f7,_0x5dae56,_0x320f5d);},'MrEoK':function(_0x5c663d,_0x53832e){const _0x1ea4db=a91_0x416f;return _0xdb41b6[_0x1ea4db(0x1d0)](_0x5c663d,_0x53832e);}};helper['overrideGet'](_0x20730d,_0x16ca71),_0xdb41b6[_0x13009d(0x1f3)](overrideExecute,_0x20730d,_0x16ca71),_0x20730d['getAccessibilityResultsSummary']=async()=>{const _0x2daf84=_0x13009d;return await _0x8e161[_0x2daf84(0x196)](getAccessibilityResultsSummary,_0x20730d,global);},_0x20730d[_0x13009d(0x1c9)]=async()=>{const _0x562eea=_0x13009d;return await _0x8e161[_0x562eea(0x196)](getAccessibilityResults,_0x20730d,global);},_0x20730d[_0x13009d(0x1fb)]=async()=>{const _0x30d95a=_0x13009d;return await _0x8e161[_0x30d95a(0x1b5)](performScan,_0x20730d);};}),_0x1b1108[_0x143844(0x20e)]=async()=>{return await _0x469b70['VrmYi'](getAccessibilityResultsSummary,_0x1b1108,global);},_0x1b1108[_0x143844(0x1c9)]=async()=>{return await _0x469b70['VrmYi'](getAccessibilityResults,_0x1b1108,global);},_0x1b1108[_0x143844(0x1fb)]=async()=>{const _0x2afed7=_0x143844;return await _0xdb41b6[_0x2afed7(0x168)](performScan,_0x1b1108);},helper[_0x143844(0x166)](_0x1b1108,_0x16ca71),_0xdb41b6['HsANW'](overrideExecute,_0x1b1108,_0x16ca71),helper[_0x143844(0x19c)](global['__driversArray'])&&(global[_0x143844(0x1b4)]=[]),global[_0x143844(0x1b4)][_0x143844(0x1a8)](_0x1b1108),_0x1b1108;}}_0x5ad51f['originalBuilder']=_0x5ad51f['Builder'],_0x5ad51f['Builder']=_0x344633,_0x2d2608[_0x1c1b94(0x16a)]=_0xe819dd;},modifyV2=(_0x2bc37c,_0x1b5aec=null,_0x255dd4=![])=>{const _0x158ded=a91_0x51d982,_0x23b6ec={'GqvBK':function(_0x4b0592,_0x4ec961){return _0x4b0592!==_0x4ec961;},'oJNzi':'/session','BSZZi':function(_0x2a9aca,_0x31fff9){return _0x2a9aca+_0x31fff9;},'TdEFd':_0x158ded(0x208),'yPiUY':_0x158ded(0x16b),'cifYj':_0x158ded(0x1d6),'xTdcG':_0x158ded(0x1cc),'VAAcK':_0x158ded(0x1ba),'sawDv':_0x158ded(0x1cf),'QNgCG':_0x158ded(0x19a),'YPlcG':_0x158ded(0x21c),'ipgmc':'moz:firefoxOptions','HpMhy':'firefoxOptions','qlCdD':_0x158ded(0x215),'teMqw':_0x158ded(0x1ce),'sXRsx':_0x158ded(0x1d2),'DfkfT':function(_0x13b18c,_0x2f1bcc){return _0x13b18c===_0x2f1bcc;},'EgRut':_0x158ded(0x201),'xybFZ':_0x158ded(0x221),'smext':'4|2|5|3|1|0|7|6','dOVhz':function(_0x28cfa4,_0x17f48d){return _0x28cfa4(_0x17f48d);},'QTrxz':function(_0x255a8d,_0x20ad94,_0x5bb944){return _0x255a8d(_0x20ad94,_0x5bb944);},'hQjyL':function(_0x4ec509,_0x1e78c1,_0x519196){return _0x4ec509(_0x1e78c1,_0x519196);},'ygZwf':_0x158ded(0x212),'HhPrc':_0x158ded(0x1a5),'deNTK':function(_0x11ec25,_0x5895eb,_0x46736b){return _0x11ec25(_0x5895eb,_0x46736b);},'DEIBm':function(_0x4e5a8c,_0xf00357){return _0x4e5a8c(_0xf00357);},'gskzX':function(_0x2d03ee,_0x3902cb,_0x3f96cc){return _0x2d03ee(_0x3902cb,_0x3f96cc);},'nQLSU':_0x158ded(0x1f4),'KFxGt':function(_0x499c32){return _0x499c32();},'SBZUD':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','JGzaC':_0x158ded(0x187),'QvKQc':_0x158ded(0x178),'wfOVa':_0x158ded(0x1ed),'vIHCl':_0x158ded(0x1e7),'eFjca':_0x158ded(0x211),'YqufZ':'Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','SiZSV':_0x158ded(0x1d3),'YMYBP':_0x158ded(0x1c1),'IcFvX':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','MOfip':_0x158ded(0x193),'WmHCP':function(_0x117d72){return _0x117d72();},'euggC':_0x158ded(0x205),'bDWmO':_0x158ded(0x1a6),'meyVE':_0x158ded(0x186),'rSpri':function(_0x881b0e,_0x2049e3){return _0x881b0e+_0x2049e3;},'hemzg':_0x158ded(0x18b)},_0x8a9371=helper[_0x158ded(0x202)]();let _0x38d02c;try{_0x38d02c=helper[_0x158ded(0x1a3)](),_0x38d02c[_0x158ded(0x171)]&&(_0x38d02c[_0x158ded(0x207)]=_0x38d02c['originalBuilder']);}catch(_0x5e4568){return;}if(helper[_0x158ded(0x1b3)]()){const _0x52472e={};_0x52472e[_0x158ded(0x20a)]=_0x2bc37c[_0x158ded(0x197)],helper[_0x158ded(0x226)](_0x52472e,new Map(),new Map()),logger[_0x158ded(0x189)](_0x23b6ec['IcFvX']),logger[_0x158ded(0x209)](_0x23b6ec[_0x158ded(0x210)]);}class _0x39bad3 extends _0x8a9371[_0x158ded(0x16a)]{[_0x158ded(0x1e5)](_0x1d1abb){const _0x58aeda=_0x158ded;if(_0x23b6ec[_0x58aeda(0x1a7)](_0x1d1abb[_0x58aeda(0x1bf)],_0x23b6ec[_0x58aeda(0x161)])&&_0x23b6ec[_0x58aeda(0x1a7)](global[_0x58aeda(0x1d1)],''))try{global[_0x58aeda(0x1d1)]=_0x23b6ec['BSZZi'](_0x23b6ec[_0x58aeda(0x195)](_0x23b6ec[_0x58aeda(0x1e6)],global[_0x58aeda(0x1d1)]),_0x23b6ec[_0x58aeda(0x213)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x58aeda(0x1d1)]),logger['debug'](_0x58aeda(0x22b)+global[_0x58aeda(0x1d1)]),global[_0x58aeda(0x1d1)]='';}catch(_0x269e26){logger[_0x58aeda(0x174)](_0x269e26);}if(globals[_0x58aeda(0x21e)](_0x23b6ec[_0x58aeda(0x228)])&&globals[_0x58aeda(0x21e)](_0x23b6ec['xTdcG'])){const _0x19af56=_0x1d1abb[_0x58aeda(0x1bf)][_0x58aeda(0x1f2)]('/')[0x2];_0x19af56&&commandRepository[_0x58aeda(0x179)](_0x19af56,_0x1d1abb);}return super[_0x58aeda(0x1e5)](_0x1d1abb);}}class _0x4c91bf extends _0x38d02c['Builder']{['setServer'](){const _0xbf3b51=_0x158ded;return this['url_']=helper[_0xbf3b51(0x225)](_0x2bc37c),logger[_0xbf3b51(0x209)](_0xbf3b51(0x1c3)+this[_0xbf3b51(0x1d9)]),this;}[_0x158ded(0x17b)](_0x29b961){const _0x58f23f=_0x158ded;let _0x4e879e={};for(const _0x38965d in _0x29b961){switch(_0x38965d){case _0x23b6ec[_0x58f23f(0x15e)]:case _0x23b6ec[_0x58f23f(0x18d)]:this[_0x58f23f(0x190)]&&(_0x4e879e=this['chromeOptions_'][_0x58f23f(0x17a)](this[_0x58f23f(0x190)][_0x58f23f(0x1bb)])||{},this[_0x58f23f(0x190)][_0x58f23f(0x200)](this['chromeOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x4e879e,_0x29b961[_0x38965d])));break;case _0x23b6ec[_0x58f23f(0x185)]:case _0x23b6ec[_0x58f23f(0x220)]:this[_0x58f23f(0x1c4)]&&(_0x4e879e=this[_0x58f23f(0x1c4)][_0x58f23f(0x17a)](this[_0x58f23f(0x1c4)][_0x58f23f(0x1bb)])||{},this[_0x58f23f(0x1c4)][_0x58f23f(0x200)](this['edgeOptions_'][_0x58f23f(0x1bb)],helper['mergeDeep'](_0x4e879e,_0x29b961[_0x38965d])));break;case _0x23b6ec[_0x58f23f(0x21a)]:case _0x23b6ec[_0x58f23f(0x170)]:this[_0x58f23f(0x192)]&&(_0x4e879e=this['firefoxOptions_'][_0x58f23f(0x17a)](this['firefoxOptions_'][_0x58f23f(0x1bb)])||{},this[_0x58f23f(0x192)]['set'](this[_0x58f23f(0x192)]['CAPABILITY_KEY'],helper[_0x58f23f(0x1fd)](_0x4e879e,_0x29b961[_0x38965d])));break;case _0x23b6ec[_0x58f23f(0x158)]:this['safariOptions_']&&(_0x4e879e=this[_0x58f23f(0x160)][_0x58f23f(0x17a)](this['safariOptions_'][_0x58f23f(0x1bb)])||{},this[_0x58f23f(0x160)][_0x58f23f(0x200)](this['safariOptions_'][_0x58f23f(0x1bb)],helper[_0x58f23f(0x1fd)](_0x4e879e,_0x29b961[_0x38965d])));break;case _0x23b6ec[_0x58f23f(0x21b)]:case _0x23b6ec[_0x58f23f(0x1db)]:this['ieOptions_']&&(_0x4e879e=this[_0x58f23f(0x17f)][_0x58f23f(0x17a)](this[_0x58f23f(0x17f)]['CAPABILITY_KEY'])||{},this[_0x58f23f(0x17f)][_0x58f23f(0x200)](this[_0x58f23f(0x17f)][_0x58f23f(0x1bb)],helper[_0x58f23f(0x1fd)](_0x4e879e,_0x29b961[_0x38965d])));break;}}}[_0x158ded(0x216)](){const _0x4637f1=_0x158ded;return logger[_0x4637f1(0x209)](_0x23b6ec['xybFZ']),this[_0x4637f1(0x17b)](_0x2bc37c[_0x4637f1(0x1eb)]),Object['keys'](_0x2bc37c[_0x4637f1(0x1eb)])[_0x4637f1(0x1c2)](_0x4328b8=>{const _0x2872f9=_0x4637f1,_0x5d3872=this['capabilities_'][_0x2872f9(0x17a)](_0x4328b8);_0x23b6ec[_0x2872f9(0x1b8)](typeof _0x5d3872,_0x23b6ec[_0x2872f9(0x1e3)])?this[_0x2872f9(0x18c)][_0x2872f9(0x200)](_0x4328b8,helper[_0x2872f9(0x1fd)](_0x5d3872,_0x2bc37c[_0x2872f9(0x1eb)][_0x4328b8])):this[_0x2872f9(0x18c)][_0x2872f9(0x200)](_0x4328b8,_0x2bc37c[_0x2872f9(0x1eb)][_0x4328b8]);}),this;}['build'](){const _0xca5cf5=_0x158ded,_0x30c922={'zRkEp':_0x23b6ec[_0xca5cf5(0x1df)],'qQEdg':_0x23b6ec[_0xca5cf5(0x1b2)],'qkPqg':function(_0x5cde47,_0x219e52,_0x2c1a6b){return _0x23b6ec['deNTK'](_0x5cde47,_0x219e52,_0x2c1a6b);},'pKliH':function(_0x424323,_0x1f06e1){const _0x3d7b1b=_0xca5cf5;return _0x23b6ec[_0x3d7b1b(0x1f6)](_0x424323,_0x1f06e1);},'gvApp':function(_0x3ada67,_0x4f0200,_0x304fe2){const _0x4fdd2a=_0xca5cf5;return _0x23b6ec[_0x4fdd2a(0x15d)](_0x3ada67,_0x4f0200,_0x304fe2);}};if(helper[_0xca5cf5(0x1b3)]()){const _0x4d03c6=_0x23b6ec['nQLSU'][_0xca5cf5(0x1f2)]('|');let _0x2c1ab5=0x0;while(!![]){switch(_0x4d03c6[_0x2c1ab5++]){case'0':if(helper[_0xca5cf5(0x18a)](_0x2bc37c[_0xca5cf5(0x1f1)][_0xca5cf5(0x198)]))this['agent_']=helper[_0xca5cf5(0x1ee)](_0x2bc37c['proxySettings'][_0xca5cf5(0x198)]);else _0x2bc37c[_0xca5cf5(0x1f1)]['proxyUrl']&&(this[_0xca5cf5(0x19f)]=_0x2bc37c['proxySettings'][_0xca5cf5(0x198)],logger[_0xca5cf5(0x209)](_0xca5cf5(0x1e2)+this[_0xca5cf5(0x19f)]));continue;case'1':_0x23b6ec['KFxGt'](isAccessibilityAutomationSession)&&_0x23b6ec['DEIBm'](setAccessibilityCapabilities,_0x2bc37c);continue;case'2':logger[_0xca5cf5(0x209)](_0x23b6ec[_0xca5cf5(0x17d)]);continue;case'3':this[_0xca5cf5(0x206)]();continue;case'4':globals[_0xca5cf5(0x21e)](_0x23b6ec[_0xca5cf5(0x222)])&&(!_0x23b6ec['QTrxz'](setExtension,this,_0x2bc37c)&&globals[_0xca5cf5(0x18e)](_0x23b6ec['JGzaC'],![]));continue;case'5':this['setCapabilities']();continue;}break;}}else{helper[_0xca5cf5(0x177)](null,null,_0x2bc37c['framework'],null,this,null),helper[_0xca5cf5(0x1f0)]();_0x23b6ec[_0xca5cf5(0x1b8)](globals[_0xca5cf5(0x21e)](_0x23b6ec[_0xca5cf5(0x1d7)]),_0x23b6ec['wfOVa'])&&(commandRepository['setFramework'](_0x23b6ec[_0xca5cf5(0x1f9)]),commandRepository[_0xca5cf5(0x173)](globals[_0xca5cf5(0x21e)](_0x23b6ec['vIHCl'])));if(this[_0xca5cf5(0x1d9)][_0xca5cf5(0x1cb)](_0x23b6ec[_0xca5cf5(0x175)]))logger['debug'](_0x23b6ec[_0xca5cf5(0x1d4)]),globals[_0xca5cf5(0x18e)](_0x23b6ec[_0xca5cf5(0x228)],![]),globals[_0xca5cf5(0x18e)](_0x23b6ec[_0xca5cf5(0x194)],![]);else globals[_0xca5cf5(0x21e)](_0x23b6ec[_0xca5cf5(0x228)])&&globals[_0xca5cf5(0x21e)](_0x23b6ec[_0xca5cf5(0x194)])&&aiSdkWrapper['initializeHealingCapabilities'](this);}const _0x1323af=super[_0xca5cf5(0x20f)]();return _0x1323af[_0xca5cf5(0x1de)]['then'](_0x1fb150=>{const _0x117102=_0xca5cf5;try{const _0x4a3b01=_0x1fb150['caps_'][_0x117102(0x17a)](_0x30c922[_0x117102(0x165)]);_0x4a3b01?(logger[_0x117102(0x209)](_0x117102(0x1ef)+_0x4a3b01),hubAllocator[_0x117102(0x1af)](_0x4a3b01),helper['storeOptimalHubUrl'](_0x4a3b01)):logger[_0x117102(0x209)](_0x30c922[_0x117102(0x191)]);}catch(_0x502c89){logger[_0x117102(0x209)](_0x117102(0x16c)+_0x502c89);}}),_0x1323af[_0xca5cf5(0x188)]=0x0,_0x1323af[_0xca5cf5(0x183)]&&_0x1323af[_0xca5cf5(0x183)](_0x32f6e0=>{const _0x20ffb7=_0xca5cf5,_0x31c67f=_0x23b6ec['smext'][_0x20ffb7(0x1f2)]('|');let _0x1273e8=0x0;while(!![]){switch(_0x31c67f[_0x1273e8++]){case'0':_0x32f6e0[_0x20ffb7(0x20e)]=async()=>{const _0x4823f5=_0x20ffb7;return await _0x30c922[_0x4823f5(0x1f8)](getAccessibilityResultsSummary,_0x32f6e0,global);};continue;case'1':_0x2bc37c['capability']&&percyHelper[_0x20ffb7(0x1dd)](_0x32f6e0,_0x38d02c[_0x20ffb7(0x1fc)],_0x2bc37c);continue;case'2':_0x255dd4&&_0x23b6ec[_0x20ffb7(0x1c0)](overrideTakeScreenshot,_0x32f6e0);continue;case'3':_0x23b6ec[_0x20ffb7(0x1c5)](overrideExecute,_0x32f6e0,_0x2bc37c);continue;case'4':helper[_0x20ffb7(0x18f)](_0x32f6e0,_0x1323af);continue;case'5':helper['overrideGet'](_0x32f6e0,_0x2bc37c);continue;case'6':_0x32f6e0[_0x20ffb7(0x1fb)]=async()=>{const _0x2424e7=_0x20ffb7;return await _0x30c922[_0x2424e7(0x172)](performScan,_0x32f6e0);};continue;case'7':_0x32f6e0[_0x20ffb7(0x1c9)]=async()=>{const _0x3d69d6=_0x20ffb7;return await _0x30c922[_0x3d69d6(0x1f8)](getAccessibilityResults,_0x32f6e0,global);};continue;}break;}}),_0x1323af['getAccessibilityResultsSummary']=async()=>{const _0x4a0314=_0xca5cf5;return await _0x23b6ec[_0x4a0314(0x223)](getAccessibilityResultsSummary,_0x1323af,global);},_0x1323af[_0xca5cf5(0x1c9)]=async()=>{const _0x505fbd=_0xca5cf5;return await _0x30c922[_0x505fbd(0x1d8)](getAccessibilityResults,_0x1323af,global);},_0x1323af['performScan']=async()=>{return await _0x30c922['pKliH'](performScan,_0x1323af);},_0x255dd4&&_0x23b6ec[_0xca5cf5(0x1f6)](overrideTakeScreenshot,_0x1323af),helper[_0xca5cf5(0x18f)](_0x1323af),helper['overrideGet'](_0x1323af,_0x2bc37c),_0x23b6ec['gskzX'](overrideExecute,_0x1323af,_0x2bc37c),_0x2bc37c[_0xca5cf5(0x1eb)]&&percyHelper['patchDriverPercy'](_0x1323af,_0x38d02c[_0xca5cf5(0x1fc)],_0x2bc37c),helper['isUndefined'](global[_0xca5cf5(0x1b4)])&&(global[_0xca5cf5(0x1b4)]=[]),helper[_0xca5cf5(0x19c)](global['__drivers'])&&(global['__drivers']=[]),global[_0xca5cf5(0x1b4)][_0xca5cf5(0x1a8)](_0x1323af),global[_0xca5cf5(0x1cd)]=_0x1323af,_0x1b5aec&&(_0x1b5aec[_0xca5cf5(0x214)][_0xca5cf5(0x1cd)]=_0x1323af),_0x23b6ec['GqvBK'](global[_0xca5cf5(0x162)],undefined)&&global[_0xca5cf5(0x162)][_0xca5cf5(0x1a8)](_0x1323af),_0x1b5aec&&helper[_0xca5cf5(0x19c)](_0x1b5aec[_0xca5cf5(0x214)][_0xca5cf5(0x1b4)])&&(_0x1b5aec[_0xca5cf5(0x214)][_0xca5cf5(0x1b4)]=[]),_0x1b5aec&&_0x23b6ec[_0xca5cf5(0x1a7)](_0x1b5aec[_0xca5cf5(0x214)][_0xca5cf5(0x162)],undefined)&&(_0x1b5aec[_0xca5cf5(0x214)][_0xca5cf5(0x162)][_0xca5cf5(0x1a8)](_0x1323af),_0x1b5aec[_0xca5cf5(0x214)][_0xca5cf5(0x1b4)][_0xca5cf5(0x1a8)](_0x1323af)),_0x1323af[_0xca5cf5(0x187)]=globals[_0xca5cf5(0x21e)](_0x23b6ec[_0xca5cf5(0x222)]),globals[_0xca5cf5(0x18e)](_0x23b6ec[_0xca5cf5(0x222)],globals[_0xca5cf5(0x21e)](_0x23b6ec[_0xca5cf5(0x222)])),_0x1323af;}}_0x1b5aec&&(globals[_0x158ded(0x17c)]=_0x1b5aec[_0x158ded(0x214)][_0x158ded(0x17c)]);if(_0x23b6ec['WmHCP'](isAccessibilityAutomationSession))try{let _0x59322f=helper['requireModule'](_0x23b6ec[_0x158ded(0x1ea)])['WebDriver'];(!_0x59322f[_0x158ded(0x224)]||!_0x59322f[_0x158ded(0x224)][_0x158ded(0x1e8)])&&(_0x59322f=helper[_0x158ded(0x15c)](_0x23b6ec['bDWmO'])[_0x158ded(0x163)]);if(_0x59322f[_0x158ded(0x224)]&&_0x59322f[_0x158ded(0x224)][_0x158ded(0x1e8)]){const _0x466f71=_0x59322f['prototype'][_0x158ded(0x1e8)];logger['debug'](_0x23b6ec[_0x158ded(0x1a9)]),_0x59322f[_0x158ded(0x224)][_0x158ded(0x1e8)]=async function(){const _0x17e1fd=_0x158ded;try{!globals[_0x17e1fd(0x21e)](_0x23b6ec[_0x17e1fd(0x1b9)])&&globals[_0x17e1fd(0x21e)](_0x23b6ec['JGzaC'])&&globals[_0x17e1fd(0x21e)](_0x23b6ec[_0x17e1fd(0x1ec)])&&scripts[_0x17e1fd(0x1b0)](arguments[0x0][_0x17e1fd(0x180)])&&!_0x23b6ec[_0x17e1fd(0x1c0)](isBrowserStackCommandExecutor,arguments[0x0][_0x17e1fd(0x184)])&&(globals[_0x17e1fd(0x18e)](_0x23b6ec[_0x17e1fd(0x1b9)],!![]),logger[_0x17e1fd(0x209)]('Performing\x20scan\x20for\x20'+arguments[0x0][_0x17e1fd(0x180)]),await _0x23b6ec[_0x17e1fd(0x223)](performScan,global[_0x17e1fd(0x1cd)],arguments[0x0][_0x17e1fd(0x180)]));}catch(_0x54896c){logger['debug'](_0x17e1fd(0x1c7)+util[_0x17e1fd(0x1ac)](_0x54896c));}return globals[_0x17e1fd(0x18e)](_0x23b6ec[_0x17e1fd(0x1b9)],![]),_0x466f71[_0x17e1fd(0x15a)](this,arguments);};}}catch(_0x2832a4){logger[_0x158ded(0x209)](_0x23b6ec[_0x158ded(0x1f5)](_0x23b6ec[_0x158ded(0x1a1)],_0x2832a4));}return _0x38d02c[_0x158ded(0x171)]=_0x38d02c[_0x158ded(0x207)],_0x38d02c['Builder']=_0x4c91bf,_0x8a9371[_0x158ded(0x16a)]=_0x39bad3,_0x38d02c;};module[a91_0x51d982(0x1a2)][a91_0x51d982(0x1e0)]=modify,module['exports'][a91_0x51d982(0x217)]=modifyV2,module[a91_0x51d982(0x1a2)][a91_0x51d982(0x182)]=percySDK,module['exports'][a91_0x51d982(0x229)]=BrowserStackSdk,module['exports'][a91_0x51d982(0x1ab)]=modifyPlaywrightConfig;function a91_0x1f82(){const _0xea4473=['agent_','Failed\x20to\x20perform\x20scan\x20','/session','getAccessibilityResults','JyqzO','includes','aiHeal_isHealingEnabled','__driver','se:ieOptions','chromeOptions','XdHpl','newHubUrl','ieOptions','bstackAllyScanning','YqufZ','util','aiHeal_isAuthenticated','QvKQc','gvApp','url_','4575303VTotYF','sXRsx','./helpers/ai-sdk/autoHealHelper','patchDriverPercy','session_','ygZwf','browserstackAgent','yBwmx','Proxy\x20set\x20to\x20','EgRut','uHHFk','send','TdEFd','aiSdk_bstackConfig','execute','1997856xQHWnz','euggC','capability','YMYBP','jest','getHttpAgent','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','readTcgAuthConfigToGlobal','proxySettings','split','XtNLj','1|3|5|0|4|2','rSpri','DEIBm','cCmQc','qkPqg','wfOVa','caps_','performScan','WebElement','mergeDeep','keys','./browserStackSdk','set','object','requireHttpClient','./helpers/helper','1496202NwjBry','selenium-webdriver/lib/webdriver.js','setServer','Builder','https://','debug','logLevel','./helpers/accessibility-automation/scripts','options_','./helpers/logger','getAccessibilityResultsSummary','build','MOfip','.browserstack.com','optimalHubUrl','yPiUY','global','safari.options','setCapabilities','browserstackAgentV2','./hubAllocationMethods','YEWtU','ipgmc','teMqw','edgeOptions','./bin/playwright/modifyPlaywrightConf','getGlobal','./helpers/patchHelper','YPlcG','Setting\x20Browserstack\x20capabilities','JGzaC','hQjyL','prototype','getHubUrl','setLogLevel','./bin/mocha/accessibility-automation/helper','cifYj','BrowserStackSdk','qtacw','New\x20hub\x20url\x20set\x20to\x20','hBdLz','qlCdD','HZJxv','apply','1471576Srzxwo','requireModule','gskzX','VAAcK','lpKwt','safariOptions_','oJNzi','__drivers','Executor','DkBcJ','zRkEp','overrideGet','MsXFm','dTYMO','./helpers/ai-sdk/aiSdkWrapper','HttpClient','/wd/hub','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','XxAws','winstonLogger','vrvls','HpMhy','originalBuilder','pKliH','setConfig','error','eFjca','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','prepareCapabilities','aiSdk_framework','pushCommand','get','__setBrowserOptions','browserStackGlobals','SBZUD','./helpers/percy/utils','ieOptions_','name_','UASGA','percy','then','parameters_','QNgCG','Modifying\x20webdriver\x20execute','isAccessibilityPlatform','quitCount_','info','isPacProxy','Unable\x20to\x20find\x20executor\x20class\x20','capabilities_','sawDv','setGlobal','overrideQuit','chromeOptions_','qQEdg','firefoxOptions_','Modifying\x20webdriver\x20builder','xTdcG','BSZZi','ORPPV','browserStackLogLevel','proxyUrl','WdQuw','ms:edgeOptions','getRequestOptions','isUndefined','moz:firefoxOptions','eNDpM','proxy_','10NOiqwu','hemzg','exports','requireSeleniumWebdriver','./helpers/globals','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','selenium-webdriver/lib/http.js','GqvBK','push','meyVE','2115050jPEGAB','_modifyPlaywright','format','DxqYo','storeOptimalHubUrl','updateHubUrl','shouldWrapCommand','72258VcegXu','HhPrc','isBrowserstackInfra','__driversArray','MrEoK','46348wNsjvH','eTQoC','DfkfT','SiZSV','goog:chromeOptions','CAPABILITY_KEY','CEgmw','geBoP','6LvcqeO','path','dOVhz','bstackA11yShouldScan','forEach','Hub\x20url\x20set\x20to\x20','edgeOptions_','QTrxz'];a91_0x1f82=function(){return _0xea4473;};return a91_0x1f82();}
|
|
1
|
+
const a91_0x4a3e3e=a91_0x20a8;(function(_0x1cb883,_0x52b1b3){const _0x539236=a91_0x20a8,_0x50837c=_0x1cb883();while(!![]){try{const _0x1a5888=parseInt(_0x539236(0x1c0))/0x1+parseInt(_0x539236(0x202))/0x2*(-parseInt(_0x539236(0x1c2))/0x3)+parseInt(_0x539236(0x1aa))/0x4+-parseInt(_0x539236(0x1ce))/0x5+parseInt(_0x539236(0x236))/0x6*(-parseInt(_0x539236(0x21f))/0x7)+-parseInt(_0x539236(0x25a))/0x8+parseInt(_0x539236(0x1f5))/0x9;if(_0x1a5888===_0x52b1b3)break;else _0x50837c['push'](_0x50837c['shift']());}catch(_0x632f8b){_0x50837c['push'](_0x50837c['shift']());}}}(a91_0x58c2,0x2cb8e));function a91_0x58c2(){const _0x2e7b29=['capability','KFScQ','./bin/playwright/modifyPlaywrightConf','safariOptions_','dPIdR','QqOPK','goog:chromeOptions','send','wvEWe','requireModule','performScan','VVfTL','HLqGq','FzZXx','_modifyPlaywright','DNXKc','UeluV','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','pxejC','GmOPz','./helpers/accessibility-automation/helper','shouldWrapCommand','quitCount_','isAccessibilityPlatform','miFHI','__driver','setCapabilities','exports','LHhcI','BrowserStackSdk','DsSth','PMvGP','3994443lICrIM','then','bUOBX','se:ieOptions','eCXrv','xAzoa','uiJNo','logLevel','bHiVL','get','info','proxyUrl','getHubUrl','2nimfID','GdLUP','gxyAC','./helpers/logger','chromeOptions','requireSeleniumWebdriver','CAPABILITY_KEY','debug','ieOptions','./bin/mocha/accessibility-automation/helper','includes','./helpers/ai-sdk/aiSdkWrapper','xHQsT','forEach','edgeOptions','ySXFh','Failed\x20to\x20perform\x20scan\x20','name_','Tjayy','browserStackGlobals','NNGVK','mlXsC','error','fJNXu','__driversArray','parameters_','push','gvsfe','yAxqP','181769WqDTaq','oFufv','QKlZy','UlytP','prototype','firefoxOptions_','./browserStackSdk','mTAwK','build','./helpers/globals','New\x20hub\x20url\x20set\x20to\x20','FoRTo','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','initializeHealingCapabilities','KEEUP','Builder','WebElement','Modifying\x20webdriver\x20execute','Belsp','url_','format','rbMmY','edgeOptions_','60GMwrsV','isBrowserstackInfra','jest','XuEpw','originalBuilder','dRYQR','split','set','winstonLogger','Qchcb','setConfig','./helpers/ai-sdk/autoHealHelper','FmIPd','getHttpAgent','percy','apply','ouOsV','nMSpk','selenium-webdriver/lib/http.js','YhltG','FrZaS','https://','prepareCapabilities','qpXPW','getRequestOptions','ms:edgeOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','PLlCX','browserStackLogLevel','path','caps_','isPacProxy','jiOoV','kXhCg','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','pushCommand','285648RwXoaG','Modifying\x20webdriver\x20builder','Hub\x20url\x20set\x20to\x20','DJygO','object','aiSdk_framework','BHQcx','selenium-webdriver/lib/webdriver.js','aiHeal_isHealingEnabled','overrideGet','proxySettings','./helpers/patchHelper','/session','XEZad','__setBrowserOptions','agent_','HttpClient','hDUvo','mergeDeep','proxy_','readTcgAuthConfigToGlobal','.browserstack.com','chromeOptions_','ziWOt','ILkOV','GaWdG','RVMKJ','framework','Vtnal','cuZfj','fQnoY','getGlobal','Unable\x20to\x20find\x20executor\x20class\x20','requireHttpClient','optimalHubUrl','aiSdk_bstackConfig','jIYaI','overrideQuit','keys','isUndefined','1037348NgqCuH','FKyXd','__drivers','getAccessibilityResults','LpsVM','setServer','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','GmMGT','Performing\x20scan\x20for\x20','./helpers/percy/PercySDK','util','session_','ieOptions_','Proxy\x20set\x20to\x20','./helpers/patchHelpers','zrHeS','moz:firefoxOptions','setFramework','MhYlx','dgRcF','METbd','execute','38885egCJmf','capabilities_','296739atyxGg','./hubAllocationMethods','safari.options','DkwxP','updateHubUrl','RTBXQ','newHubUrl','DqUTX','ZwrgN','jhqrp','browserstackAgentV2','global','822890qpRqXU','setGlobal','./helpers/percy/utils','CJguS','firefoxOptions','/wd/hub','getAccessibilityResultsSummary'];a91_0x58c2=function(){return _0x2e7b29;};return a91_0x58c2();}function a91_0x20a8(_0x12c6be,_0x18f21a){const _0x58c216=a91_0x58c2();return a91_0x20a8=function(_0x20a89c,_0x2f79db){_0x20a89c=_0x20a89c-0x1a5;let _0x137736=_0x58c216[_0x20a89c];return _0x137736;},a91_0x20a8(_0x12c6be,_0x18f21a);}const util=require(a91_0x4a3e3e(0x1b4)),{overrideTakeScreenshot}=require(a91_0x4a3e3e(0x1b8)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require(a91_0x4a3e3e(0x1e9)),{setAccessibilityCapabilities,setExtension}=require(a91_0x4a3e3e(0x20b)),helper=require('./helpers/helper'),logger=require(a91_0x4a3e3e(0x205))[a91_0x4a3e3e(0x23e)],hubAllocator=require(a91_0x4a3e3e(0x1c3)),percySDK=require(a91_0x4a3e3e(0x1b3)),percyHelper=require(a91_0x4a3e3e(0x1d0)),BrowserStackSdk=require(a91_0x4a3e3e(0x225)),modifyPlaywrightConfig=require(a91_0x4a3e3e(0x1d7)),scripts=require('./helpers/accessibility-automation/scripts'),globals=require(a91_0x4a3e3e(0x228)),{commandRepository}=require(a91_0x4a3e3e(0x241)),{aiSdkWrapper}=require(a91_0x4a3e3e(0x20d)),{overrideExecute}=require(a91_0x4a3e3e(0x265)),modify=_0x31ba06=>{const _0x537866=a91_0x4a3e3e,_0x2a9d24={'PMvGP':function(_0x12bd8f,_0x538e48){return _0x12bd8f!==_0x538e48;},'wvEWe':_0x537866(0x266),'BHQcx':function(_0x134a19,_0x1cbcba){return _0x134a19+_0x1cbcba;},'ZwrgN':'https://','miFHI':'/wd/hub','DJygO':'goog:chromeOptions','zrHeS':_0x537866(0x206),'QqOPK':_0x537866(0x24f),'hyUAP':_0x537866(0x210),'fQnoY':_0x537866(0x1ba),'eCXrv':'firefoxOptions','RVMKJ':'safari.options','aXqkj':_0x537866(0x1f8),'VOUSL':_0x537866(0x20a),'qpXPW':function(_0x502379,_0x319746){return _0x502379===_0x319746;},'gxyAC':'object','jIYaI':'Setting\x20Browserstack\x20capabilities','GaWdG':function(_0x15cfde,_0x2928e2,_0x3f565a){return _0x15cfde(_0x2928e2,_0x3f565a);},'pxejC':function(_0x4213b3,_0x582207,_0x43a210){return _0x4213b3(_0x582207,_0x43a210);},'LHhcI':function(_0x4d6590,_0x5e62f1){return _0x4d6590(_0x5e62f1);},'DqUTX':'optimalHubUrl','kXhCg':_0x537866(0x250),'oFufv':function(_0x339ef0,_0x988123,_0x5c10cf){return _0x339ef0(_0x988123,_0x5c10cf);},'Tjayy':function(_0x127469){return _0x127469();},'jhqrp':_0x537866(0x1ec),'bUOBX':function(_0x51459d,_0x587e7d,_0x2d4be5){return _0x51459d(_0x587e7d,_0x2d4be5);},'gvsfe':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','qIApI':_0x537866(0x258),'DkwxP':'Modifying\x20webdriver\x20builder'};logger['info'](_0x2a9d24['qIApI']),logger[_0x537866(0x209)](_0x2a9d24[_0x537866(0x1c5)]);const _0x26bb1f=helper[_0x537866(0x207)](),_0x5b77c9=helper['requireHttpClient']();class _0x393ca7 extends _0x5b77c9[_0x537866(0x26a)]{[_0x537866(0x1dc)](_0x32df3b){const _0x1964db=_0x537866;if(_0x2a9d24[_0x1964db(0x1f4)](_0x32df3b[_0x1964db(0x253)],_0x2a9d24[_0x1964db(0x1dd)])&&_0x2a9d24[_0x1964db(0x1f4)](global[_0x1964db(0x1c8)],''))try{global[_0x1964db(0x1c8)]=_0x2a9d24[_0x1964db(0x260)](_0x2a9d24[_0x1964db(0x260)](_0x2a9d24[_0x1964db(0x1ca)],global[_0x1964db(0x1c8)]),_0x2a9d24[_0x1964db(0x1ed)]),this['options_']=hubAllocator[_0x1964db(0x24e)](global[_0x1964db(0x1c8)]),logger[_0x1964db(0x209)](_0x1964db(0x229)+global[_0x1964db(0x1c8)]),global[_0x1964db(0x1c8)]='';}catch(_0x16bb0a){logger[_0x1964db(0x218)](_0x16bb0a);}return super[_0x1964db(0x1dc)](_0x32df3b);}}class _0x32e8a5 extends _0x26bb1f['Builder']{['__setBrowserOptions'](_0x6f29bf){const _0x3fbf0a=_0x537866;let _0x504b1d={};for(const _0x1063e4 in _0x6f29bf){switch(_0x1063e4){case _0x2a9d24[_0x3fbf0a(0x25d)]:case _0x2a9d24[_0x3fbf0a(0x1b9)]:this['chromeOptions_']&&(_0x504b1d=this['chromeOptions_']['get'](this['chromeOptions_'][_0x3fbf0a(0x208)])||{},this[_0x3fbf0a(0x270)]['set'](this['chromeOptions_'][_0x3fbf0a(0x208)],helper[_0x3fbf0a(0x26c)](_0x504b1d,_0x6f29bf[_0x1063e4])));break;case _0x2a9d24[_0x3fbf0a(0x1da)]:case _0x2a9d24['hyUAP']:this[_0x3fbf0a(0x235)]&&(_0x504b1d=this['edgeOptions_'][_0x3fbf0a(0x1fe)](this[_0x3fbf0a(0x235)][_0x3fbf0a(0x208)])||{},this[_0x3fbf0a(0x235)][_0x3fbf0a(0x23d)](this['edgeOptions_'][_0x3fbf0a(0x208)],helper['mergeDeep'](_0x504b1d,_0x6f29bf[_0x1063e4])));break;case _0x2a9d24[_0x3fbf0a(0x278)]:case _0x2a9d24[_0x3fbf0a(0x1f9)]:this[_0x3fbf0a(0x224)]&&(_0x504b1d=this['firefoxOptions_'][_0x3fbf0a(0x1fe)](this['firefoxOptions_'][_0x3fbf0a(0x208)])||{},this[_0x3fbf0a(0x224)][_0x3fbf0a(0x23d)](this[_0x3fbf0a(0x224)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x504b1d,_0x6f29bf[_0x1063e4])));break;case _0x2a9d24[_0x3fbf0a(0x274)]:this[_0x3fbf0a(0x1d8)]&&(_0x504b1d=this[_0x3fbf0a(0x1d8)][_0x3fbf0a(0x1fe)](this[_0x3fbf0a(0x1d8)]['CAPABILITY_KEY'])||{},this['safariOptions_'][_0x3fbf0a(0x23d)](this[_0x3fbf0a(0x1d8)][_0x3fbf0a(0x208)],helper[_0x3fbf0a(0x26c)](_0x504b1d,_0x6f29bf[_0x1063e4])));break;case _0x2a9d24['aXqkj']:case _0x2a9d24['VOUSL']:this[_0x3fbf0a(0x1b6)]&&(_0x504b1d=this[_0x3fbf0a(0x1b6)][_0x3fbf0a(0x1fe)](this[_0x3fbf0a(0x1b6)]['CAPABILITY_KEY'])||{},this[_0x3fbf0a(0x1b6)][_0x3fbf0a(0x23d)](this[_0x3fbf0a(0x1b6)][_0x3fbf0a(0x208)],helper[_0x3fbf0a(0x26c)](_0x504b1d,_0x6f29bf[_0x1063e4])));break;}}}[_0x537866(0x1af)](){const _0x350870=_0x537866;return this[_0x350870(0x232)]=helper[_0x350870(0x201)](_0x31ba06),logger[_0x350870(0x209)](_0x350870(0x25c)+this[_0x350870(0x232)]),this;}[_0x537866(0x1ef)](){const _0x57eadc=_0x537866,_0x5a4de4={'cuZfj':function(_0x5e924d,_0x4505b5){const _0x19b00b=a91_0x20a8;return _0x2a9d24[_0x19b00b(0x24d)](_0x5e924d,_0x4505b5);},'Belsp':_0x2a9d24[_0x57eadc(0x204)]};return logger[_0x57eadc(0x209)](_0x2a9d24[_0x57eadc(0x1a6)]),this[_0x57eadc(0x268)](_0x31ba06[_0x57eadc(0x1d5)]),Object[_0x57eadc(0x1a8)](_0x31ba06[_0x57eadc(0x1d5)])['forEach'](_0x5e466b=>{const _0x4a0a54=_0x57eadc,_0x131f70=this[_0x4a0a54(0x1c1)][_0x4a0a54(0x1fe)](_0x5e466b);_0x5a4de4[_0x4a0a54(0x277)](typeof _0x131f70,_0x5a4de4[_0x4a0a54(0x231)])?this[_0x4a0a54(0x1c1)][_0x4a0a54(0x23d)](_0x5e466b,helper[_0x4a0a54(0x26c)](_0x131f70,_0x31ba06[_0x4a0a54(0x1d5)][_0x5e466b])):this[_0x4a0a54(0x1c1)][_0x4a0a54(0x23d)](_0x5e466b,_0x31ba06[_0x4a0a54(0x1d5)][_0x5e466b]);}),this;}['build'](){const _0xd74a4b=_0x537866,_0x393d77={'iNwrR':_0x2a9d24[_0xd74a4b(0x1c9)],'xAzoa':_0x2a9d24[_0xd74a4b(0x257)],'QKlZy':function(_0x59e01d,_0x206c9c,_0x585a1e){const _0x3a4112=_0xd74a4b;return _0x2a9d24[_0x3a4112(0x220)](_0x59e01d,_0x206c9c,_0x585a1e);},'CJguS':function(_0xccdb64,_0x329946){const _0x56d703=_0xd74a4b;return _0x2a9d24[_0x56d703(0x1f1)](_0xccdb64,_0x329946);}};_0x2a9d24[_0xd74a4b(0x214)](isAccessibilityAutomationSession)&&_0x2a9d24[_0xd74a4b(0x1f1)](setAccessibilityCapabilities,_0x31ba06);this['setServer'](),this[_0xd74a4b(0x1ef)]();if(helper[_0xd74a4b(0x255)](_0x31ba06['proxySettings'][_0xd74a4b(0x200)]))this[_0xd74a4b(0x269)]=helper[_0xd74a4b(0x243)](_0x31ba06['proxySettings'][_0xd74a4b(0x200)]);else _0x31ba06['proxySettings'][_0xd74a4b(0x200)]&&(this[_0xd74a4b(0x26d)]=_0x31ba06[_0xd74a4b(0x264)][_0xd74a4b(0x200)],logger[_0xd74a4b(0x209)](_0xd74a4b(0x1b7)+this[_0xd74a4b(0x26d)]));globals[_0xd74a4b(0x279)](_0x2a9d24[_0xd74a4b(0x1cb)])&&(!_0x2a9d24[_0xd74a4b(0x1f7)](setExtension,this,_0x31ba06)&&globals[_0xd74a4b(0x1cf)](_0x2a9d24['jhqrp'],![]));!helper['isBrowserstackInfra']()&&helper[_0xd74a4b(0x24c)](null,null,_0x31ba06[_0xd74a4b(0x275)],null,this,null);logger[_0xd74a4b(0x209)](_0x2a9d24[_0xd74a4b(0x21d)]);const _0x1ef3ce=super[_0xd74a4b(0x227)]();return _0x1ef3ce['session_'][_0xd74a4b(0x1f6)](_0x8f489a=>{const _0x1b5d6d=_0xd74a4b;try{const _0x2fca7d=_0x8f489a[_0x1b5d6d(0x254)][_0x1b5d6d(0x1fe)](_0x393d77['iNwrR']);_0x2fca7d?(logger[_0x1b5d6d(0x209)](_0x1b5d6d(0x1e6)+_0x2fca7d),hubAllocator[_0x1b5d6d(0x1c6)](_0x2fca7d),helper['storeOptimalHubUrl'](_0x2fca7d)):logger[_0x1b5d6d(0x209)](_0x393d77[_0x1b5d6d(0x1fa)]);}catch(_0x3d6d98){logger[_0x1b5d6d(0x209)](_0x1b5d6d(0x1b0)+_0x3d6d98);}}),_0x1ef3ce[_0xd74a4b(0x1f6)]&&_0x1ef3ce[_0xd74a4b(0x1f6)](_0x221f21=>{const _0x12e652=_0xd74a4b,_0x4cdbc1={'Roehm':function(_0x3a9a68,_0x290364,_0x401255){const _0x5d6f50=a91_0x20a8;return _0x2a9d24[_0x5d6f50(0x273)](_0x3a9a68,_0x290364,_0x401255);}};helper[_0x12e652(0x263)](_0x221f21,_0x31ba06),_0x2a9d24['GaWdG'](overrideExecute,_0x221f21,_0x31ba06),_0x221f21[_0x12e652(0x1d4)]=async()=>{return await _0x4cdbc1['Roehm'](getAccessibilityResultsSummary,_0x221f21,global);},_0x221f21[_0x12e652(0x1ad)]=async()=>{const _0x7a5f37=_0x12e652;return await _0x393d77[_0x7a5f37(0x221)](getAccessibilityResults,_0x221f21,global);},_0x221f21[_0x12e652(0x1df)]=async()=>{const _0x19de9b=_0x12e652;return await _0x393d77[_0x19de9b(0x1d1)](performScan,_0x221f21);};}),_0x1ef3ce[_0xd74a4b(0x1d4)]=async()=>{return await _0x2a9d24['GaWdG'](getAccessibilityResultsSummary,_0x1ef3ce,global);},_0x1ef3ce[_0xd74a4b(0x1ad)]=async()=>{const _0x19484f=_0xd74a4b;return await _0x2a9d24[_0x19484f(0x1e7)](getAccessibilityResults,_0x1ef3ce,global);},_0x1ef3ce[_0xd74a4b(0x1df)]=async()=>{const _0x55ecb8=_0xd74a4b;return await _0x2a9d24[_0x55ecb8(0x1f1)](performScan,_0x1ef3ce);},helper[_0xd74a4b(0x263)](_0x1ef3ce,_0x31ba06),_0x2a9d24[_0xd74a4b(0x1f7)](overrideExecute,_0x1ef3ce,_0x31ba06),helper['isUndefined'](global[_0xd74a4b(0x21a)])&&(global[_0xd74a4b(0x21a)]=[]),global[_0xd74a4b(0x21a)][_0xd74a4b(0x21c)](_0x1ef3ce),_0x1ef3ce;}}_0x26bb1f[_0x537866(0x23a)]=_0x26bb1f['Builder'],_0x26bb1f[_0x537866(0x22e)]=_0x32e8a5,_0x5b77c9[_0x537866(0x26a)]=_0x393ca7;},modifyV2=(_0x4506f7,_0x482b9a=null,_0x19bf67=![])=>{const _0x5876e5=a91_0x4a3e3e,_0x21bed1={'rbMmY':function(_0x52e04d,_0x5fe59d){return _0x52e04d!==_0x5fe59d;},'VVfTL':_0x5876e5(0x266),'FKyXd':function(_0x4d483a,_0x1e7c54){return _0x4d483a!==_0x1e7c54;},'ouOsV':function(_0x44ba47,_0x443648){return _0x44ba47+_0x443648;},'mTAwK':function(_0x4c5c32,_0xd73e26){return _0x4c5c32+_0xd73e26;},'GmOPz':_0x5876e5(0x24b),'sqLNr':_0x5876e5(0x1d3),'FmIPd':'aiHeal_isAuthenticated','dRYQR':_0x5876e5(0x262),'XIvDv':_0x5876e5(0x1db),'FoRTo':_0x5876e5(0x206),'Vtnal':_0x5876e5(0x24f),'GmMGT':_0x5876e5(0x210),'xHQsT':'moz:firefoxOptions','KEEUP':_0x5876e5(0x1d2),'FzZXx':_0x5876e5(0x1c4),'MhYlx':'se:ieOptions','METbd':_0x5876e5(0x20a),'KFScQ':function(_0x41d4d9,_0x4b3d44){return _0x41d4d9===_0x4b3d44;},'ziWOt':_0x5876e5(0x25e),'ySXFh':'Setting\x20Browserstack\x20capabilities','LpsVM':function(_0x1ae630,_0x186cb3,_0x16406a){return _0x1ae630(_0x186cb3,_0x16406a);},'YhltG':function(_0xda1b06,_0x3bbd76){return _0xda1b06(_0x3bbd76);},'jiOoV':_0x5876e5(0x27c),'jMdEC':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','bHiVL':function(_0x237cc7,_0x3f7a18,_0x12a34a){return _0x237cc7(_0x3f7a18,_0x12a34a);},'PLlCX':function(_0x4de5f4,_0xfd6b03){return _0x4de5f4(_0xfd6b03);},'dgRcF':function(_0x1889a1,_0x3a5066,_0x1e1336){return _0x1889a1(_0x3a5066,_0x1e1336);},'mlXsC':'4|5|3|2|0|1','DsSth':_0x5876e5(0x1ec),'WULoa':_0x5876e5(0x22b),'ILkOV':function(_0x2295e6){return _0x2295e6();},'mZSEG':_0x5876e5(0x25f),'Qchcb':_0x5876e5(0x238),'UeluV':_0x5876e5(0x1a5),'gbtYw':_0x5876e5(0x26f),'RTBXQ':'Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','uiJNo':'bstackAllyScanning','GdLUP':'bstackA11yShouldScan','TmEvt':function(_0x112797,_0x150f59){return _0x112797(_0x150f59);},'yAxqP':function(_0x5c2994,_0x184b76,_0x247c5e){return _0x5c2994(_0x184b76,_0x247c5e);},'nMSpk':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','dPIdR':_0x5876e5(0x25b),'vmuIY':function(_0x726060){return _0x726060();},'TrXxP':_0x5876e5(0x261),'gbXYj':_0x5876e5(0x248),'XuEpw':_0x5876e5(0x230),'fJNXu':_0x5876e5(0x27a)},_0x2819d5=helper[_0x5876e5(0x27b)]();let _0x6ced82;try{_0x6ced82=helper[_0x5876e5(0x207)](),_0x6ced82['originalBuilder']&&(_0x6ced82[_0x5876e5(0x22e)]=_0x6ced82[_0x5876e5(0x23a)]);}catch(_0x280521){return;}if(helper[_0x5876e5(0x237)]()){const _0x5efaa5={};_0x5efaa5[_0x5876e5(0x1fc)]=_0x4506f7[_0x5876e5(0x252)],helper['setLogLevel'](_0x5efaa5,new Map(),new Map()),logger[_0x5876e5(0x1ff)](_0x21bed1[_0x5876e5(0x247)]),logger[_0x5876e5(0x209)](_0x21bed1[_0x5876e5(0x1d9)]);}class _0x3d4008 extends _0x2819d5[_0x5876e5(0x26a)]{[_0x5876e5(0x1dc)](_0x57ebf1){const _0x57be79=_0x5876e5;if(_0x21bed1[_0x57be79(0x234)](_0x57ebf1[_0x57be79(0x253)],_0x21bed1[_0x57be79(0x1e0)])&&_0x21bed1[_0x57be79(0x1ab)](global[_0x57be79(0x1c8)],''))try{global[_0x57be79(0x1c8)]=_0x21bed1[_0x57be79(0x246)](_0x21bed1[_0x57be79(0x226)](_0x21bed1[_0x57be79(0x1e8)],global[_0x57be79(0x1c8)]),_0x21bed1['sqLNr']),this['options_']=hubAllocator['getRequestOptions'](global[_0x57be79(0x1c8)]),logger[_0x57be79(0x209)](_0x57be79(0x229)+global[_0x57be79(0x1c8)]),global['newHubUrl']='';}catch(_0x5cc4a2){logger[_0x57be79(0x218)](_0x5cc4a2);}if(globals[_0x57be79(0x279)](_0x21bed1['FmIPd'])&&globals[_0x57be79(0x279)](_0x21bed1['dRYQR'])){const _0x1e650a=_0x57ebf1[_0x57be79(0x253)][_0x57be79(0x23c)]('/')[0x2];_0x1e650a&&commandRepository[_0x57be79(0x259)](_0x1e650a,_0x57ebf1);}return super[_0x57be79(0x1dc)](_0x57ebf1);}}class _0x232f8e extends _0x6ced82[_0x5876e5(0x22e)]{[_0x5876e5(0x1af)](){const _0x3d6431=_0x5876e5;return this[_0x3d6431(0x232)]=helper[_0x3d6431(0x201)](_0x4506f7),logger[_0x3d6431(0x209)](_0x3d6431(0x25c)+this[_0x3d6431(0x232)]),this;}[_0x5876e5(0x268)](_0x23beb2){const _0x57875d=_0x5876e5;let _0x33b23e={};for(const _0x1784b0 in _0x23beb2){switch(_0x1784b0){case _0x21bed1['XIvDv']:case _0x21bed1[_0x57875d(0x22a)]:this[_0x57875d(0x270)]&&(_0x33b23e=this['chromeOptions_']['get'](this[_0x57875d(0x270)]['CAPABILITY_KEY'])||{},this[_0x57875d(0x270)]['set'](this[_0x57875d(0x270)][_0x57875d(0x208)],helper[_0x57875d(0x26c)](_0x33b23e,_0x23beb2[_0x1784b0])));break;case _0x21bed1[_0x57875d(0x276)]:case _0x21bed1[_0x57875d(0x1b1)]:this[_0x57875d(0x235)]&&(_0x33b23e=this[_0x57875d(0x235)]['get'](this[_0x57875d(0x235)][_0x57875d(0x208)])||{},this['edgeOptions_'][_0x57875d(0x23d)](this[_0x57875d(0x235)]['CAPABILITY_KEY'],helper[_0x57875d(0x26c)](_0x33b23e,_0x23beb2[_0x1784b0])));break;case _0x21bed1[_0x57875d(0x20e)]:case _0x21bed1[_0x57875d(0x22d)]:this[_0x57875d(0x224)]&&(_0x33b23e=this['firefoxOptions_']['get'](this['firefoxOptions_'][_0x57875d(0x208)])||{},this[_0x57875d(0x224)][_0x57875d(0x23d)](this[_0x57875d(0x224)][_0x57875d(0x208)],helper[_0x57875d(0x26c)](_0x33b23e,_0x23beb2[_0x1784b0])));break;case _0x21bed1[_0x57875d(0x1e2)]:this[_0x57875d(0x1d8)]&&(_0x33b23e=this[_0x57875d(0x1d8)][_0x57875d(0x1fe)](this[_0x57875d(0x1d8)][_0x57875d(0x208)])||{},this[_0x57875d(0x1d8)][_0x57875d(0x23d)](this[_0x57875d(0x1d8)][_0x57875d(0x208)],helper['mergeDeep'](_0x33b23e,_0x23beb2[_0x1784b0])));break;case _0x21bed1[_0x57875d(0x1bc)]:case _0x21bed1[_0x57875d(0x1be)]:this[_0x57875d(0x1b6)]&&(_0x33b23e=this['ieOptions_']['get'](this[_0x57875d(0x1b6)][_0x57875d(0x208)])||{},this[_0x57875d(0x1b6)]['set'](this[_0x57875d(0x1b6)][_0x57875d(0x208)],helper[_0x57875d(0x26c)](_0x33b23e,_0x23beb2[_0x1784b0])));break;}}}[_0x5876e5(0x1ef)](){const _0x1eac48=_0x5876e5;return logger['debug'](_0x21bed1[_0x1eac48(0x211)]),this['__setBrowserOptions'](_0x4506f7[_0x1eac48(0x1d5)]),Object[_0x1eac48(0x1a8)](_0x4506f7['capability'])[_0x1eac48(0x20f)](_0x13bcaf=>{const _0x143aa8=_0x1eac48,_0x1056e9=this[_0x143aa8(0x1c1)][_0x143aa8(0x1fe)](_0x13bcaf);_0x21bed1[_0x143aa8(0x1d6)](typeof _0x1056e9,_0x21bed1[_0x143aa8(0x271)])?this[_0x143aa8(0x1c1)][_0x143aa8(0x23d)](_0x13bcaf,helper[_0x143aa8(0x26c)](_0x1056e9,_0x4506f7[_0x143aa8(0x1d5)][_0x13bcaf])):this[_0x143aa8(0x1c1)][_0x143aa8(0x23d)](_0x13bcaf,_0x4506f7[_0x143aa8(0x1d5)][_0x13bcaf]);}),this;}['build'](){const _0x178c72=_0x5876e5,_0x1e52e5={'UlytP':_0x21bed1[_0x178c72(0x256)],'WhNST':_0x21bed1['jMdEC'],'NNGVK':function(_0x1a0fea,_0x2b65a3,_0xd18f8f){const _0x398456=_0x178c72;return _0x21bed1[_0x398456(0x1fd)](_0x1a0fea,_0x2b65a3,_0xd18f8f);},'HLqGq':function(_0x500349,_0x1bf236){const _0x4cb460=_0x178c72;return _0x21bed1[_0x4cb460(0x251)](_0x500349,_0x1bf236);},'XEZad':function(_0x1e2a7d,_0x33ad05,_0x4cc3d3){const _0x1bac64=_0x178c72;return _0x21bed1[_0x1bac64(0x1ae)](_0x1e2a7d,_0x33ad05,_0x4cc3d3);},'FrZaS':function(_0x48bcbb,_0x46b35f,_0x59d2b8){return _0x21bed1['dgRcF'](_0x48bcbb,_0x46b35f,_0x59d2b8);}};if(helper[_0x178c72(0x237)]()){const _0x32596b=_0x21bed1[_0x178c72(0x217)][_0x178c72(0x23c)]('|');let _0x1cd59b=0x0;while(!![]){switch(_0x32596b[_0x1cd59b++]){case'0':globals[_0x178c72(0x279)](_0x21bed1[_0x178c72(0x1f3)])&&(!_0x21bed1[_0x178c72(0x1bd)](setExtension,this,_0x4506f7)&&globals['setGlobal'](_0x21bed1[_0x178c72(0x1f3)],![]));continue;case'1':logger[_0x178c72(0x209)](_0x21bed1['WULoa']);continue;case'2':if(helper['isPacProxy'](_0x4506f7[_0x178c72(0x264)][_0x178c72(0x200)]))this['agent_']=helper['getHttpAgent'](_0x4506f7[_0x178c72(0x264)][_0x178c72(0x200)]);else _0x4506f7[_0x178c72(0x264)][_0x178c72(0x200)]&&(this['proxy_']=_0x4506f7[_0x178c72(0x264)][_0x178c72(0x200)],logger['debug']('Proxy\x20set\x20to\x20'+this[_0x178c72(0x26d)]));continue;case'3':this['setCapabilities']();continue;case'4':_0x21bed1[_0x178c72(0x272)](isAccessibilityAutomationSession)&&_0x21bed1['PLlCX'](setAccessibilityCapabilities,_0x4506f7);continue;case'5':this[_0x178c72(0x1af)]();continue;}break;}}else{helper['prepareCapabilities'](null,null,_0x4506f7['framework'],null,this,null),helper[_0x178c72(0x26e)]();_0x21bed1[_0x178c72(0x1d6)](globals['getGlobal'](_0x21bed1['mZSEG']),_0x21bed1[_0x178c72(0x23f)])&&(commandRepository[_0x178c72(0x1bb)](_0x21bed1[_0x178c72(0x23f)]),commandRepository[_0x178c72(0x240)](globals[_0x178c72(0x279)](_0x21bed1[_0x178c72(0x1e5)])));if(this[_0x178c72(0x232)][_0x178c72(0x20c)](_0x21bed1['gbtYw']))logger[_0x178c72(0x209)](_0x21bed1[_0x178c72(0x1c7)]),globals[_0x178c72(0x1cf)](_0x21bed1[_0x178c72(0x242)],![]),globals[_0x178c72(0x1cf)](_0x21bed1[_0x178c72(0x23b)],![]);else globals[_0x178c72(0x279)](_0x21bed1[_0x178c72(0x242)])&&globals['getGlobal'](_0x21bed1[_0x178c72(0x23b)])&&aiSdkWrapper[_0x178c72(0x22c)](this);}const _0x1f6e3d=super[_0x178c72(0x227)]();return _0x1f6e3d[_0x178c72(0x1b5)][_0x178c72(0x1f6)](_0x2192e5=>{const _0x501a2e=_0x178c72;try{const _0x5ad7e2=_0x2192e5[_0x501a2e(0x254)][_0x501a2e(0x1fe)](_0x1e52e5[_0x501a2e(0x222)]);_0x5ad7e2?(logger['debug'](_0x501a2e(0x1e6)+_0x5ad7e2),hubAllocator['updateHubUrl'](_0x5ad7e2),helper['storeOptimalHubUrl'](_0x5ad7e2)):logger['debug'](_0x1e52e5['WhNST']);}catch(_0x4161d6){logger[_0x501a2e(0x209)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x4161d6);}}),_0x1f6e3d[_0x178c72(0x1eb)]=0x0,_0x1f6e3d['then']&&_0x1f6e3d[_0x178c72(0x1f6)](_0x2bf8f0=>{const _0x1921e9=_0x178c72,_0xf62c62={'hDUvo':function(_0x28957f,_0x1352c2,_0x22c727){const _0x3ef565=a91_0x20a8;return _0x1e52e5[_0x3ef565(0x216)](_0x28957f,_0x1352c2,_0x22c727);},'DNXKc':function(_0x5adf18,_0x50eca9){const _0xae3245=a91_0x20a8;return _0x1e52e5[_0xae3245(0x1e1)](_0x5adf18,_0x50eca9);}};helper[_0x1921e9(0x1a7)](_0x2bf8f0,_0x1f6e3d),_0x19bf67&&_0x1e52e5[_0x1921e9(0x1e1)](overrideTakeScreenshot,_0x2bf8f0),helper[_0x1921e9(0x263)](_0x2bf8f0,_0x4506f7),_0x1e52e5[_0x1921e9(0x267)](overrideExecute,_0x2bf8f0,_0x4506f7),_0x4506f7[_0x1921e9(0x1d5)]&&percyHelper['patchDriverPercy'](_0x2bf8f0,_0x6ced82[_0x1921e9(0x22f)],_0x4506f7),_0x2bf8f0['getAccessibilityResultsSummary']=async()=>{return await _0x1e52e5['NNGVK'](getAccessibilityResultsSummary,_0x2bf8f0,global);},_0x2bf8f0[_0x1921e9(0x1ad)]=async()=>{const _0x2078e7=_0x1921e9;return await _0xf62c62[_0x2078e7(0x26b)](getAccessibilityResults,_0x2bf8f0,global);},_0x2bf8f0[_0x1921e9(0x1df)]=async()=>{const _0xc4ce=_0x1921e9;return await _0xf62c62[_0xc4ce(0x1e4)](performScan,_0x2bf8f0);};}),_0x1f6e3d['getAccessibilityResultsSummary']=async()=>{const _0x251a96=_0x178c72;return await _0x1e52e5[_0x251a96(0x24a)](getAccessibilityResultsSummary,_0x1f6e3d,global);},_0x1f6e3d[_0x178c72(0x1ad)]=async()=>{const _0x34ba09=_0x178c72;return await _0x21bed1[_0x34ba09(0x1ae)](getAccessibilityResults,_0x1f6e3d,global);},_0x1f6e3d['performScan']=async()=>{const _0x3bcd20=_0x178c72;return await _0x21bed1[_0x3bcd20(0x249)](performScan,_0x1f6e3d);},_0x19bf67&&_0x21bed1[_0x178c72(0x251)](overrideTakeScreenshot,_0x1f6e3d),helper[_0x178c72(0x1a7)](_0x1f6e3d),helper[_0x178c72(0x263)](_0x1f6e3d,_0x4506f7),_0x21bed1['LpsVM'](overrideExecute,_0x1f6e3d,_0x4506f7),_0x4506f7[_0x178c72(0x1d5)]&&percyHelper['patchDriverPercy'](_0x1f6e3d,_0x6ced82[_0x178c72(0x22f)],_0x4506f7),helper['isUndefined'](global[_0x178c72(0x21a)])&&(global[_0x178c72(0x21a)]=[]),helper[_0x178c72(0x1a9)](global[_0x178c72(0x1ac)])&&(global[_0x178c72(0x1ac)]=[]),global[_0x178c72(0x21a)][_0x178c72(0x21c)](_0x1f6e3d),global[_0x178c72(0x1ee)]=_0x1f6e3d,_0x482b9a&&(_0x482b9a[_0x178c72(0x1cd)][_0x178c72(0x1ee)]=_0x1f6e3d),_0x21bed1['rbMmY'](global[_0x178c72(0x1ac)],undefined)&&global[_0x178c72(0x1ac)][_0x178c72(0x21c)](_0x1f6e3d),_0x482b9a&&helper[_0x178c72(0x1a9)](_0x482b9a[_0x178c72(0x1cd)][_0x178c72(0x21a)])&&(_0x482b9a[_0x178c72(0x1cd)][_0x178c72(0x21a)]=[]),_0x482b9a&&_0x21bed1['rbMmY'](_0x482b9a[_0x178c72(0x1cd)]['__drivers'],undefined)&&(_0x482b9a['global']['__drivers'][_0x178c72(0x21c)](_0x1f6e3d),_0x482b9a['global']['__driversArray'][_0x178c72(0x21c)](_0x1f6e3d)),_0x1f6e3d['isAccessibilityPlatform']=globals[_0x178c72(0x279)](_0x21bed1['DsSth']),globals[_0x178c72(0x1cf)](_0x21bed1[_0x178c72(0x1f3)],globals[_0x178c72(0x279)](_0x21bed1[_0x178c72(0x1f3)])),_0x1f6e3d;}}_0x482b9a&&(globals['browserStackGlobals']=_0x482b9a[_0x5876e5(0x1cd)][_0x5876e5(0x215)]);if(_0x21bed1['vmuIY'](isAccessibilityAutomationSession))try{let _0x49b34e=helper[_0x5876e5(0x1de)](_0x21bed1['TrXxP'])['WebDriver'];(!_0x49b34e[_0x5876e5(0x223)]||!_0x49b34e[_0x5876e5(0x223)][_0x5876e5(0x1bf)])&&(_0x49b34e=helper[_0x5876e5(0x1de)](_0x21bed1['gbXYj'])['Executor']);if(_0x49b34e[_0x5876e5(0x223)]&&_0x49b34e[_0x5876e5(0x223)][_0x5876e5(0x1bf)]){const _0x10d666=_0x49b34e['prototype'][_0x5876e5(0x1bf)];logger[_0x5876e5(0x209)](_0x21bed1[_0x5876e5(0x239)]),_0x49b34e[_0x5876e5(0x223)][_0x5876e5(0x1bf)]=async function(){const _0x1b7000=_0x5876e5;try{!globals[_0x1b7000(0x279)](_0x21bed1[_0x1b7000(0x1fb)])&&globals['getGlobal'](_0x21bed1['DsSth'])&&globals[_0x1b7000(0x279)](_0x21bed1[_0x1b7000(0x203)])&&scripts[_0x1b7000(0x1ea)](arguments[0x0][_0x1b7000(0x213)])&&!_0x21bed1['TmEvt'](isBrowserStackCommandExecutor,arguments[0x0][_0x1b7000(0x21b)])&&(globals[_0x1b7000(0x1cf)](_0x21bed1[_0x1b7000(0x1fb)],!![]),logger[_0x1b7000(0x209)](_0x1b7000(0x1b2)+arguments[0x0][_0x1b7000(0x213)]),await _0x21bed1[_0x1b7000(0x21e)](performScan,global[_0x1b7000(0x1ee)],arguments[0x0]['name_']));}catch(_0x596eaa){logger[_0x1b7000(0x209)](_0x1b7000(0x212)+util[_0x1b7000(0x233)](_0x596eaa));}return globals[_0x1b7000(0x1cf)](_0x21bed1[_0x1b7000(0x1fb)],![]),_0x10d666[_0x1b7000(0x245)](this,arguments);};}}catch(_0x17fa67){logger['debug'](_0x21bed1[_0x5876e5(0x246)](_0x21bed1[_0x5876e5(0x219)],_0x17fa67));}return _0x6ced82[_0x5876e5(0x23a)]=_0x6ced82[_0x5876e5(0x22e)],_0x6ced82[_0x5876e5(0x22e)]=_0x232f8e,_0x2819d5[_0x5876e5(0x26a)]=_0x3d4008,_0x6ced82;};module[a91_0x4a3e3e(0x1f0)]['browserstackAgent']=modify,module[a91_0x4a3e3e(0x1f0)][a91_0x4a3e3e(0x1cc)]=modifyV2,module[a91_0x4a3e3e(0x1f0)][a91_0x4a3e3e(0x244)]=percySDK,module[a91_0x4a3e3e(0x1f0)][a91_0x4a3e3e(0x1f2)]=BrowserStackSdk,module['exports'][a91_0x4a3e3e(0x1e3)]=modifyPlaywrightConfig;
|