browserstack-node-sdk 1.32.10 → 1.32.11
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/CFTemplates/aws-eks-cluster-dep.yaml +6 -1
- 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/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.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/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/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/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/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x26e31a=a32_0x48ea;function a32_0x48ea(_0x255b27,_0xe6b285){const _0x47ea49=a32_0x47ea();return a32_0x48ea=function(_0x48ea39,_0x552218){_0x48ea39=_0x48ea39-0x17f;let _0x1e2978=_0x47ea49[_0x48ea39];return _0x1e2978;},a32_0x48ea(_0x255b27,_0xe6b285);}function a32_0x47ea(){const _0x20215b=['IEruE','qdBYA','iswdX','syrBK','KubernetesObjectApi','bjOjB','patch','TThNV','push','yUrFm','kind','mBWSa','browserVersion','BXNAd','read','AurbR','YejIN','kBgFO','VLSkc','wIwOw','status','Browserstack','hubVersion','cAZlI','eGtnk','akrJS','oEwKS','ulSSG','forceLocal','Timeout\x20waiting\x20for\x20deployment\x20','ZPGNy','OoqpH','reportToGalactusAndSendToEDS','FifCW','child_process','username','encodeBase64','byCyc','replace','NeQsq','clusterRegion','xgCFw','Basic\x20','MJUvm','lymlj','https://','vjOkY','wzUmo','X-cli-path','metadata','split','oHkCp','password','SnXrF','concurrency','readFileSync','dMHRR','CVjCh','iowCf','Qjurv','NMnOw','./instrumentationUtils','ravjq','Szvlg','isRunning','TVCXf','ami-0a0b7559ee7c88dcd','ysuWX','kVHIb','Nfnpw','ZMTiB','localIdentifier','sOqmj','722498KZsVCl','uqlhT','MXwsC','constructor','got','ktPWM','maxNodes','tiPtK','LNhwq','toString','makeApiClient','scgZa','OwMrC','Deployment\x20','aihih','browserStackLocalOptions','clusterName','XEaIE','X-npm-version','KmUSz','sreXs','KmPXE','X-ci-environment','body','Iugtj','kxDyC','cHZDB','40Fsajev','TJzEH','dMjyK','.ats','utf-8','yvYig','jQcva','debug','ZYJQg','zEwGB','Svbzb','JPLHe','Error\x20while\x20waiting\x20for\x20deployment:','VwPau','NyEVZ','UfoGO','SgWlb','NKMSM','accessKey','ONKTF','true','startLocalBinarySync','jWnMa','hsoDJ','cloudProvider','npm\x20install\x20@azure/arm-containerservice@19.8.0\x20@azure/arm-network@33.1.0\x20@azure/arm-resources@5.2.0\x20@azure/arm-storage@18.2.0\x20@azure/identity@4.0.1\x20--save','stop','\x20to\x20be\x20ready...','kebabCase','immkr','rLzgT','homedir','jjWBK','join','\x20to\x20become\x20available.','getAccessKey','execSync','X-os','QyzKT','DFwPo','type','exJbl','aoSAk','4725OyICwt','UBIVf','yVXnL','setLocalArgs','FiQIi','QyJrB','ZkUKi','NsmFy','node','125152jtNIfT','10|6|9|1|8|5|7|3|2|0|4','rCkfn','ssXQY','now','FIFzM','customRepeaters','Subwp','getAuthHeader','PYTqd','2546946KZxYWC','installAzurePackages','\x20is\x20ready.','minNodes','base64','application/json','SmOHB','VFpfq','TVrld','../config/logger','nYxJX','namespace','verbose','pMuXj','../config/constants','elWzs','wKbHr','6|0|4|7|9|2|8|1|10|3|5','TWUBO','ltiyB','ats-repeater','xthlm','instanceType','$1-$2','WKnRs','mSNtw','3076ndfQNk','rORBd','mUOkW','WrpLV','Cuyzu','ami','wiyPJ','UOEgr','EZMAs','136143SnLxns','parse','key','version','uPoEP','toLowerCase','stringify','X-cli-version','rypYe','existsSync','path','JJEou','MyTgs','\x20in\x20namespace\x20','EJjBO','getCredentialsPath','Local','startSync','aSwRW','create','vfZeV','165311sTqJwJ','s3Bucket','gEtBG','yOAuz','DBRIs','custom-repeater','getDirForConfig','writeFileSync','rxhSn','fetchOrUpdateUserConfig','Xcmrn','isArray','versions','Qkqtd','2275941vjhAiX','eWsHv'];a32_0x47ea=function(){return _0x20215b;};return a32_0x47ea();}(function(_0x346346,_0x508eec){const _0x3906f6=a32_0x48ea,_0xdbc985=_0x346346();while(!![]){try{const _0xd74754=parseInt(_0x3906f6(0x1c7))/0x1+parseInt(_0x3906f6(0x185))/0x2+-parseInt(_0x3906f6(0x1d5))/0x3+-parseInt(_0x3906f6(0x1a9))/0x4*(-parseInt(_0x3906f6(0x266))/0x5)+parseInt(_0x3906f6(0x18f))/0x6+-parseInt(_0x3906f6(0x220))/0x7+-parseInt(_0x3906f6(0x23b))/0x8*(-parseInt(_0x3906f6(0x1b2))/0x9);if(_0xd74754===_0x508eec)break;else _0xdbc985['push'](_0xdbc985['shift']());}catch(_0x1187e5){_0xdbc985['push'](_0xdbc985['shift']());}}}(a32_0x47ea,0x90bd9));const path=require('path'),os=require('os'),fs=require('fs'),cp=require(a32_0x26e31a(0x1f9)),webSocketUtils=require('./webSocketUtils'),{sendInstrumentationEvent}=require(a32_0x26e31a(0x214)),BrowserstackLocalLauncher=require('browserstack-local'),got=require(a32_0x26e31a(0x224)),k8s=require('@kubernetes/client-node'),{logger}=require(a32_0x26e31a(0x198)),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require(a32_0x26e31a(0x214)),{global_registry,WS_EVENTS,AG_API_URL}=require(a32_0x26e31a(0x19d));exports[a32_0x26e31a(0x1fb)]=_0x1e8792=>Buffer['from'](_0x1e8792)[a32_0x26e31a(0x229)](a32_0x26e31a(0x193)),exports['getDirForConfig']=()=>{const _0x4413a9=a32_0x26e31a,_0x490911={};_0x490911[_0x4413a9(0x181)]=_0x4413a9(0x23e);const _0x21cbc4=_0x490911;return path[_0x4413a9(0x25c)](os[_0x4413a9(0x25a)](),_0x21cbc4[_0x4413a9(0x181)]);},exports[a32_0x26e31a(0x1c1)]=()=>{const _0x5f0dc6=a32_0x26e31a,_0x4d039e={};_0x4d039e[_0x5f0dc6(0x182)]='credentials.json';const _0x2534b4=_0x4d039e;return path[_0x5f0dc6(0x25c)](this[_0x5f0dc6(0x1cd)](),_0x2534b4[_0x5f0dc6(0x182)]);},exports['waitForDeployment']=async(_0x2c7418,_0x27d6f4,_0x16c22a,_0x127816)=>{const _0x28753a=a32_0x26e31a,_0x318b10={'pMuXj':_0x28753a(0x254),'iowCf':_0x28753a(0x236),'MXwsC':'custom-repeater','UBIVf':_0x28753a(0x1b4),'JJEou':_0x28753a(0x19b),'Qkqtd':_0x28753a(0x1f3),'wiyPJ':_0x28753a(0x24f),'SnXrF':_0x28753a(0x21e),'QyzKT':_0x28753a(0x1a3),'kxDyC':function(_0x13af96,_0x52c238){return _0x13af96===_0x52c238;},'vfZeV':function(_0x58b264,_0x3c86e2){return _0x58b264(_0x3c86e2);},'xqauN':function(_0x27613b,_0x38e565){return _0x27613b!==_0x38e565;},'yvYig':_0x28753a(0x212),'AurbR':_0x28753a(0x1a8),'NKMSM':function(_0x224d20,_0xb40603){return _0x224d20===_0xb40603;},'Szvlg':_0x28753a(0x225),'CVjCh':function(_0x34266c,_0x3f575b){return _0x34266c>_0x3f575b;},'pprKs':function(_0x571872,_0x488727){return _0x571872-_0x488727;},'HKlcT':function(_0x499eac,_0x571996){return _0x499eac===_0x571996;},'dfdEI':_0x28753a(0x19e),'aoSAk':_0x28753a(0x215),'lCyZC':function(_0x2e67b9,_0x2603d8){return _0x2e67b9>=_0x2603d8;},'Svbzb':_0x28753a(0x218),'wzUmo':_0x28753a(0x252),'EZMAs':_0x28753a(0x268),'dMjyK':_0x28753a(0x247)};try{if(_0x318b10['xqauN'](_0x318b10[_0x28753a(0x240)],_0x318b10[_0x28753a(0x1e6)])){const _0x5ea01b=0x1388,_0x49215b=Date[_0x28753a(0x189)]();let _0x5a401e=![];while(!_0x5a401e){if(_0x318b10[_0x28753a(0x24c)](_0x318b10[_0x28753a(0x216)],_0x318b10[_0x28753a(0x216)])){if(_0x318b10[_0x28753a(0x210)](_0x318b10['pprKs'](Date[_0x28753a(0x189)](),_0x49215b),_0x127816)){if(_0x318b10['HKlcT'](_0x318b10['dfdEI'],_0x318b10[_0x28753a(0x265)]))_0x213068[_0x28753a(0x25f)](_0x318b10[_0x28753a(0x19c)]);else throw new Error(_0x28753a(0x1f4)+_0x16c22a+'\x20in\x20namespace\x20'+_0x27d6f4+_0x28753a(0x25d));}const _0x134321={};_0x134321['name']=_0x16c22a,_0x134321[_0x28753a(0x19a)]=_0x27d6f4;const _0x3d4cfb=await _0x2c7418['readNamespacedDeployment'](_0x134321),_0x3b8484=_0x3d4cfb['spec']['replicas']||0x1,_0x553fa9=_0x3d4cfb[_0x28753a(0x1eb)]['availableReplicas']||0x0;_0x5a401e=_0x318b10['lCyZC'](_0x553fa9,_0x3b8484),!_0x5a401e&&(_0x318b10[_0x28753a(0x24c)](_0x318b10[_0x28753a(0x245)],_0x318b10[_0x28753a(0x206)])?_0x11853b[_0x318b10[_0x28753a(0x211)]]=_0x38c5a6:(logger[_0x28753a(0x242)]('Waiting\x20for\x20deployment\x20'+_0x16c22a+'\x20in\x20namespace\x20'+_0x27d6f4+_0x28753a(0x256)),await new Promise(_0x32c8c0=>setTimeout(_0x32c8c0,_0x5ea01b))));}else _0x43fe4f[_0x318b10[_0x28753a(0x222)]]=_0x3073df[_0x28753a(0x18b)]['join'](',');}logger['debug'](_0x28753a(0x22d)+_0x16c22a+'\x20in\x20namespace\x20'+_0x27d6f4+_0x28753a(0x191));}else{let _0x589c26={};return _0x589c26[_0x318b10[_0x28753a(0x267)]]=this['getAccessKey'](_0x1c67f6),_0x589c26[_0x318b10[_0x28753a(0x1bd)]]=0x3,_0x589c26[_0x318b10[_0x28753a(0x1d4)]]=_0x318b10[_0x28753a(0x1af)],_0x589c26[_0x318b10[_0x28753a(0x20c)]]=_0x318b10[_0x28753a(0x261)],_0x2fc454['customRepeaters']&&_0x41858a[_0x28753a(0x1d2)](_0x49254a[_0x28753a(0x18b)])&&(_0x589c26[_0x318b10[_0x28753a(0x222)]]=_0x5734be[_0x28753a(0x18b)]['join'](',')),_0x4b4157[_0x28753a(0x22f)]&&_0x318b10[_0x28753a(0x239)](_0x96b7fc['browserStackLocalOptions']['constructor'],_0x4c4e81)&&(_0x589c26={..._0x194a4c[_0x28753a(0x22f)],..._0x589c26}),_0x589c26;}}catch(_0x3b0635){if(_0x318b10[_0x28753a(0x24c)](_0x318b10[_0x28753a(0x1b1)],_0x318b10[_0x28753a(0x1b1)])){logger['debug'](_0x318b10[_0x28753a(0x23d)],_0x3b0635);throw _0x3b0635;}else return _0x318b10[_0x28753a(0x1c6)](_0x4ea120,_0x51bdf5);}},exports['updateGlobalRegistryWithConfig']=(_0x4e1958,_0x3e1db8,_0xca8661,_0x5716f2,_0xc8363,_0x18afd7,_0x5521a7,_0x5dcaf5,_0x683eb6,_0x51a321,_0x35b2df)=>{const _0x509ffd=a32_0x26e31a,_0x58ead4={};_0x58ead4['DhKjo']=_0x509ffd(0x1a0),_0x58ead4[_0x509ffd(0x202)]=_0x509ffd(0x219);const _0x4a9d45=_0x58ead4,_0x59694f=_0x4a9d45['DhKjo']['split']('|');let _0x333736=0x0;while(!![]){switch(_0x59694f[_0x333736++]){case'0':global_registry[_0x509ffd(0x1ff)]=_0xca8661;continue;case'1':global_registry[_0x509ffd(0x1ed)]=_0x5dcaf5;continue;case'2':global_registry[_0x509ffd(0x1c8)]=_0x18afd7;continue;case'3':global_registry['minNodes']=_0x51a321;continue;case'4':global_registry[_0x509ffd(0x230)]=_0x3e1db8;continue;case'5':global_registry[_0x509ffd(0x226)]=_0x35b2df;continue;case'6':global_registry[_0x509ffd(0x253)]=_0x4e1958;continue;case'7':global_registry[_0x509ffd(0x20d)]=_0x5716f2;continue;case'8':global_registry[_0x509ffd(0x1ae)]=_0x5521a7[_0x509ffd(0x1ae)]||_0x4a9d45['MJUvm'];continue;case'9':global_registry[_0x509ffd(0x1a5)]=_0xc8363;continue;case'10':global_registry['browserVersion']=_0x683eb6;continue;}break;}},exports[a32_0x26e31a(0x257)]=_0x1e9c72=>_0x1e9c72[a32_0x26e31a(0x1fd)](/([a-z])([A-Z])/g,a32_0x26e31a(0x1a6))['replace'](/[\s_]+/g,'-')[a32_0x26e31a(0x1b7)](),exports[a32_0x26e31a(0x1f7)]=async(_0x5cf23e,_0xe1d7c5,_0x47cfaa,_0x5a3249,_0x504802,_0x34eeb8,_0x4feab7)=>{const _0x1d24e0=a32_0x26e31a,_0x35ebe0={'MFpHO':function(_0x3af2b0,_0x487945,_0x2ea01e,_0x4dccb8,_0x50eed4,_0x4d83da,_0x2fe87e){return _0x3af2b0(_0x487945,_0x2ea01e,_0x4dccb8,_0x50eed4,_0x4d83da,_0x2fe87e);}};await _0x35ebe0['MFpHO'](sendInstrumentationEvent,_0x5cf23e,_0x504802,_0x5a3249,_0x34eeb8,null,_0x5cf23e);const _0x57ff94={};_0x57ff94[_0x1d24e0(0x263)]=WS_EVENTS['LOG'],_0x57ff94['message']=_0x47cfaa,await webSocketUtils['sendEventToBackend'](_0xe1d7c5,_0x57ff94,_0x4feab7,!![]);},exports[a32_0x26e31a(0x25e)]=_0x1e55b1=>{const _0x1e7219=a32_0x26e31a;return _0x1e55b1[_0x1e7219(0x24d)];},exports[a32_0x26e31a(0x17f)]=_0x3b155f=>{const _0x1c4fc6=a32_0x26e31a,_0x3c3857={'xthlm':function(_0x411b2f,_0x1e25c4){return _0x411b2f(_0x1e25c4);},'Subwp':function(_0x40c48d){return _0x40c48d();},'kauVg':_0x1c4fc6(0x1b4),'OzcMc':'verbose','SmOHB':'forceLocal','rCkfn':_0x1c4fc6(0x24f),'ACENL':_0x1c4fc6(0x21e),'uPoEP':_0x1c4fc6(0x1a3),'WfmMJ':function(_0x5787dc,_0xeec77e){return _0x5787dc!==_0xeec77e;},'tiPtK':'goIlX','rLzgT':_0x1c4fc6(0x1cc),'yOAuz':function(_0x4d3306,_0x1b925c){return _0x4d3306===_0x1b925c;},'BXNAd':function(_0x10e39a,_0x39f838){return _0x10e39a!==_0x39f838;},'EJjBO':_0x1c4fc6(0x1ee),'bjOjB':'FClKk'};let _0x1566a3={};_0x1566a3[_0x3c3857['kauVg']]=this['getAccessKey'](_0x3b155f),_0x1566a3[_0x3c3857['OzcMc']]=0x3,_0x1566a3[_0x3c3857[_0x1c4fc6(0x195)]]=_0x3c3857[_0x1c4fc6(0x187)],_0x1566a3[_0x3c3857['ACENL']]=_0x3c3857[_0x1c4fc6(0x1b6)];if(_0x3b155f[_0x1c4fc6(0x18b)]&&Array[_0x1c4fc6(0x1d2)](_0x3b155f[_0x1c4fc6(0x18b)])){if(_0x3c3857['WfmMJ'](_0x3c3857['tiPtK'],_0x3c3857[_0x1c4fc6(0x227)])){if(_0x52ae86)return _0x3c3857[_0x1c4fc6(0x1a4)](_0x2b8a13,_0x1b0834);_0x3c3857[_0x1c4fc6(0x18c)](_0x2d362b);}else _0x1566a3[_0x3c3857[_0x1c4fc6(0x259)]]=_0x3b155f[_0x1c4fc6(0x18b)]['join'](',');}if(_0x3b155f[_0x1c4fc6(0x22f)]&&_0x3c3857[_0x1c4fc6(0x1ca)](_0x3b155f[_0x1c4fc6(0x22f)][_0x1c4fc6(0x223)],Object)){if(_0x3c3857[_0x1c4fc6(0x1e4)](_0x3c3857[_0x1c4fc6(0x1c0)],_0x3c3857[_0x1c4fc6(0x1dc)]))_0x1566a3={..._0x3b155f[_0x1c4fc6(0x22f)],..._0x1566a3};else{const _0x58a7e4={..._0x4c67c8[_0x1c4fc6(0x22f)],..._0x2733b1};_0x3a5971=_0x58a7e4;}}return _0x1566a3;},exports[a32_0x26e31a(0x250)]=_0x3bfca9=>{const _0x51e7d4=a32_0x26e31a,_0xa48deb=new BrowserstackLocalLauncher[(_0x51e7d4(0x1c2))](),_0x52d472=this[_0x51e7d4(0x17f)](_0x3bfca9),_0x302d3f=_0xa48deb[_0x51e7d4(0x1c3)](_0x52d472);if(_0x302d3f)throw _0x302d3f;return isLocalRunning=_0xa48deb[_0x51e7d4(0x217)](),_0xa48deb;},exports['stopLocalBinary']=async _0x45e62b=>{const _0x2e553c=a32_0x26e31a,_0x46d55e={'dMHRR':function(_0x2b6921,_0x223470){return _0x2b6921&&_0x223470;},'ysuWX':_0x2e553c(0x23f),'kVHIb':function(_0x3e655e,_0xada94c){return _0x3e655e===_0xada94c;},'rxhSn':_0x2e553c(0x249),'yeBAY':function(_0x6b4493,_0x36214d){return _0x6b4493!==_0x36214d;},'sreXs':_0x2e553c(0x228),'EIRoT':function(_0x2f0b6e,_0x2ba4a2){return _0x2f0b6e(_0x2ba4a2);},'akrJS':function(_0x2bd0e8){return _0x2bd0e8();},'ZBcZM':_0x2e553c(0x186),'OoqpH':_0x2e553c(0x219),'syrBK':function(_0x5588e7,_0xbc3908){return _0x5588e7!==_0xbc3908;},'eGtnk':'wLNlO','yvndL':'wJgNO'};return new Promise((_0x4dd07d,_0x5e386b)=>{const _0x59d38e=_0x2e553c;if(_0x46d55e[_0x59d38e(0x1da)](_0x46d55e[_0x59d38e(0x1ef)],_0x46d55e['yvndL']))_0x45e62b&&_0x45e62b[_0x59d38e(0x255)](_0x35a11d=>{const _0x39959c=_0x59d38e,_0x3d8807={'oHkCp':function(_0x4a20d4,_0x58dbfd){const _0x20b3cd=a32_0x48ea;return _0x46d55e[_0x20b3cd(0x20f)](_0x4a20d4,_0x58dbfd);},'lymlj':_0x46d55e[_0x39959c(0x21a)]};if(_0x46d55e[_0x39959c(0x21b)](_0x46d55e[_0x39959c(0x1cf)],_0x46d55e[_0x39959c(0x1cf)])){if(_0x35a11d){if(_0x46d55e['yeBAY'](_0x46d55e[_0x39959c(0x234)],_0x46d55e['sreXs']))throw new _0x5a6f8a(_0x39959c(0x1f4)+_0x4c923e+_0x39959c(0x1bf)+_0x4918d0+'\x20to\x20become\x20available.');else return _0x46d55e['EIRoT'](_0x5e386b,_0x35a11d);}_0x46d55e[_0x39959c(0x1f0)](_0x4dd07d);}else{if(_0x3d8807[_0x39959c(0x20a)](_0x178829,_0x1533ef)){const _0x3658a3={};_0x3658a3[_0x39959c(0x1fa)]=_0x3fb3ee,_0x3658a3[_0x39959c(0x20b)]=_0x352519;const _0x1eae49={};_0x1eae49['Browserstack']=_0x3658a3;const _0x4aed27=_0x1eae49;_0x2df16a['writeFileSync'](this[_0x39959c(0x1c1)](),_0x31f72b[_0x39959c(0x1b8)](_0x4aed27));}const _0x3c3ff4=_0x24c72a[_0x39959c(0x1b3)](_0x3c40eb[_0x39959c(0x20e)](this[_0x39959c(0x1c1)](),_0x3d8807[_0x39959c(0x203)]));return[_0x3c3ff4[_0x39959c(0x1ec)][_0x39959c(0x1fa)],_0x3c3ff4[_0x39959c(0x1ec)]['password']];}});else{const _0x5287cf=_0x46d55e['ZBcZM']['split']('|');let _0x283eae=0x0;while(!![]){switch(_0x5287cf[_0x283eae++]){case'0':_0x815361[_0x59d38e(0x192)]=_0x43ac12;continue;case'1':_0x43666b[_0x59d38e(0x20d)]=_0x5700e9;continue;case'2':_0x57eba2[_0x59d38e(0x1e3)]=_0x50f051;continue;case'3':_0xcbbae7[_0x59d38e(0x1ed)]=_0x5f3f33;continue;case'4':_0x9fec47[_0x59d38e(0x226)]=_0x35b67a;continue;case'5':_0x1ab25d[_0x59d38e(0x1c8)]=_0x59c0aa;continue;case'6':_0x5edead['clusterRegion']=_0x39ce87;continue;case'7':_0x4ab0f1[_0x59d38e(0x1ae)]=_0x320158['ami']||_0x46d55e[_0x59d38e(0x1f6)];continue;case'8':_0x573e7a[_0x59d38e(0x1a5)]=_0x25b679;continue;case'9':_0x3b8fed[_0x59d38e(0x230)]=_0x2656cb;continue;case'10':_0x37e7a8['cloudProvider']=_0xc00ad1;continue;}break;}}});},exports[a32_0x26e31a(0x1d0)]=(_0x226aa2,_0x4a5a1c)=>{const _0x5a53e1=a32_0x26e31a,_0x3f9dcb={'kUOAS':function(_0x4daeb6,_0x5800e9){return _0x4daeb6(_0x5800e9);},'immkr':function(_0x3fe0af){return _0x3fe0af();},'aSwRW':_0x5a53e1(0x1b9),'JPLHe':function(_0x2f8ed7,_0x15b1c7){return _0x2f8ed7&&_0x15b1c7;},'nYxJX':function(_0x679c06,_0x24877c){return _0x679c06!==_0x24877c;},'SgWlb':_0x5a53e1(0x262),'ulSSG':function(_0xea2ef6,_0x5d54f7){return _0xea2ef6===_0x5d54f7;},'UfoGO':_0x5a53e1(0x1f1),'OwMrC':_0x5a53e1(0x1ab),'YMwHg':_0x5a53e1(0x23f)},_0xe1d232=fs[_0x5a53e1(0x1bb)](this[_0x5a53e1(0x1c1)]());if(_0xe1d232||_0x3f9dcb[_0x5a53e1(0x246)](_0x226aa2,_0x4a5a1c)){if(_0x3f9dcb[_0x5a53e1(0x199)](_0x3f9dcb[_0x5a53e1(0x24b)],_0x3f9dcb[_0x5a53e1(0x24b)])){const _0x395c39={'sVCHu':function(_0x46be08,_0x6c8216){return _0x3f9dcb['kUOAS'](_0x46be08,_0x6c8216);},'gEtBG':function(_0x490dae){const _0x49fe0d=_0x5a53e1;return _0x3f9dcb[_0x49fe0d(0x258)](_0x490dae);}};_0x4cd8bd&&_0x32db38[_0x5a53e1(0x255)](_0x1d3ed8=>{const _0x4f5da3=_0x5a53e1;if(_0x1d3ed8)return _0x395c39['sVCHu'](_0x1d701f,_0x1d3ed8);_0x395c39[_0x4f5da3(0x1c9)](_0x47cd46);});}else{if(_0x3f9dcb[_0x5a53e1(0x246)](_0x226aa2,_0x4a5a1c)){if(_0x3f9dcb[_0x5a53e1(0x1f2)](_0x3f9dcb[_0x5a53e1(0x24a)],_0x3f9dcb[_0x5a53e1(0x22c)]))_0xa280b6[_0x3f9dcb[_0x5a53e1(0x1c4)]]=_0x1c275d[_0x5a53e1(0x1b5)];else{const _0x5e7d3a={};_0x5e7d3a['username']=_0x226aa2,_0x5e7d3a['password']=_0x4a5a1c;const _0x957bf={};_0x957bf[_0x5a53e1(0x1ec)]=_0x5e7d3a;const _0x5f248d=_0x957bf;fs[_0x5a53e1(0x1ce)](this[_0x5a53e1(0x1c1)](),JSON['stringify'](_0x5f248d));}}const _0x3fb6fe=JSON['parse'](fs[_0x5a53e1(0x20e)](this[_0x5a53e1(0x1c1)](),_0x3f9dcb['YMwHg']));return[_0x3fb6fe[_0x5a53e1(0x1ec)][_0x5a53e1(0x1fa)],_0x3fb6fe[_0x5a53e1(0x1ec)][_0x5a53e1(0x20b)]];}}return null;},exports['getGridDetails']=async(_0xf17c6d,_0xbe09fa,_0xc5a869)=>{const _0x5127f5=a32_0x26e31a,_0x580059={'KVDNM':'credentials.json','FifCW':'GET','FiQIi':function(_0x540518,_0x1550ce,_0x2e25d2){return _0x540518(_0x1550ce,_0x2e25d2);},'Fktti':function(_0x49d9c9,_0x22dda4){return _0x49d9c9===_0x22dda4;},'mLoER':function(_0x385c30,_0x5df511){return _0x385c30!==_0x5df511;},'DBRIs':_0x5127f5(0x200)},_0x1bbd48=_0x5127f5(0x204)+_0xf17c6d+':'+_0xbe09fa+'@'+AG_API_URL+'/packages/cli/get-grid-details?gridId='+_0xc5a869,_0x43c0d3={'method':_0x580059[_0x5127f5(0x1f8)],'headers':this[_0x5127f5(0x18d)](_0xf17c6d,_0xbe09fa),'throwHttpErrors':![]},_0x5dc30b=await _0x580059[_0x5127f5(0x180)](got,_0x1bbd48,_0x43c0d3);if(_0x580059['Fktti'](_0x5dc30b['statusCode'],0xc8))return _0x580059['mLoER'](_0x580059[_0x5127f5(0x1cb)],_0x580059[_0x5127f5(0x1cb)])?_0x232dcc[_0x5127f5(0x25c)](this[_0x5127f5(0x1cd)](),_0x580059['KVDNM']):[_0x5dc30b,JSON[_0x5127f5(0x1b3)](_0x5dc30b[_0x5127f5(0x237)])];return[_0x5dc30b,null];},exports['kubeApply']=async(_0x23ba33,_0xc467d6)=>{const _0x203565=a32_0x26e31a,_0x287093={};_0x287093[_0x203565(0x1ac)]=_0x203565(0x207),_0x287093['qdBYA']=_0x203565(0x247),_0x287093[_0x203565(0x1de)]=function(_0x32f7a5,_0x48d3c2){return _0x32f7a5===_0x48d3c2;},_0x287093[_0x203565(0x241)]='IPuuK',_0x287093[_0x203565(0x231)]=function(_0x245909,_0x250956){return _0x245909===_0x250956;},_0x287093[_0x203565(0x23c)]=_0x203565(0x22e),_0x287093[_0x203565(0x251)]=_0x203565(0x1a1),_0x287093['mBWSa']=function(_0xb8d24a,_0x35a3a6){return _0xb8d24a===_0x35a3a6;},_0x287093[_0x203565(0x196)]=_0x203565(0x18e),_0x287093[_0x203565(0x1e8)]='celgR';const _0x5400ec=_0x287093,_0x17137c=await k8s[_0x203565(0x1db)][_0x203565(0x22a)](_0xc467d6),_0x3357e3=_0x23ba33['filter'](_0x11630=>_0x11630&&_0x11630[_0x203565(0x1e1)]&&_0x11630[_0x203565(0x208)]),_0x5b1d33=[];for await(const _0x2c5f7 of _0x3357e3){if(_0x5400ec[_0x203565(0x1de)](_0x5400ec[_0x203565(0x241)],_0x5400ec[_0x203565(0x241)]))try{if(_0x5400ec[_0x203565(0x231)](_0x5400ec[_0x203565(0x23c)],_0x5400ec[_0x203565(0x251)]))_0x3e8fa0[_0x5400ec[_0x203565(0x1ac)]]=_0x19144b['path'];else{await _0x17137c[_0x203565(0x1e5)](_0x2c5f7);const _0x122811=await _0x17137c[_0x203565(0x1dd)](_0x2c5f7);_0x5b1d33[_0x203565(0x1df)](_0x122811[_0x203565(0x237)]);}}catch(_0x602aa4){if(_0x5400ec[_0x203565(0x1e2)](_0x5400ec[_0x203565(0x196)],_0x5400ec[_0x203565(0x1e8)])){_0x208a09[_0x203565(0x242)](_0x5400ec[_0x203565(0x1d8)],_0x5ea19e);throw _0x3a802b;}else{const _0x4822b3=await _0x17137c[_0x203565(0x1c5)](_0x2c5f7);_0x5b1d33[_0x203565(0x1df)](_0x4822b3[_0x203565(0x237)]);}}else{const _0x307a7c={};_0x307a7c[_0x203565(0x1fa)]=_0x34814e,_0x307a7c['password']=_0x520a12;const _0x5c5431={};_0x5c5431[_0x203565(0x1ec)]=_0x307a7c;const _0x840043=_0x5c5431;_0x590273[_0x203565(0x1ce)](this['getCredentialsPath'](),_0x556d6d[_0x203565(0x1b8)](_0x840043));}}},exports[a32_0x26e31a(0x18d)]=(_0x428a24,_0x452348)=>{const _0x4a7157=a32_0x26e31a,_0x3e9c44={'byCyc':'X-os-version','FIFzM':function(_0x31116e,_0x4324eb){return _0x31116e(_0x4324eb);},'NMnOw':function(_0x2013b5){return _0x2013b5();},'ZPGNy':function(_0x318367,_0x2c1ea8){return _0x318367>=_0x2c1ea8;},'YejIN':_0x4a7157(0x254),'Nfnpw':_0x4a7157(0x23e),'EpGFk':function(_0x1b6834){return _0x1b6834();},'KmPXE':function(_0x665fe0){return _0x665fe0();},'MyTgs':function(_0x3e6abc){return _0x3e6abc();},'ltiyB':_0x4a7157(0x194),'wIwOw':function(_0xcf2412,_0x3194d7){return _0xcf2412+_0x3194d7;},'wnJcc':_0x4a7157(0x201),'Wxzvf':_0x4a7157(0x193),'scgZa':function(_0x2740d8,_0x3fca49){return _0x2740d8===_0x3fca49;},'zEwGB':_0x4a7157(0x1e9),'rypYe':'X-cli-version','IEruE':function(_0x11d10a,_0x2827a8){return _0x11d10a!==_0x2827a8;},'Cuyzu':_0x4a7157(0x1d6),'wKbHr':'X-cli-path','iswdX':_0x4a7157(0x1aa),'Apiwq':_0x4a7157(0x260),'KmUSz':function(_0x15e3a6,_0x68ba33){return _0x15e3a6!==_0x68ba33;},'vjOkY':_0x4a7157(0x1b0),'jjWBK':function(_0x1d0c0d,_0x35d9bf){return _0x1d0c0d===_0x35d9bf;},'VwPau':_0x4a7157(0x183),'ssXQY':_0x4a7157(0x23a),'NeQsq':_0x4a7157(0x232),'dlMLr':function(_0x522439,_0x10a2af){return _0x522439!==_0x10a2af;},'exJbl':_0x4a7157(0x24e),'uqlhT':_0x4a7157(0x236)},_0x2aeb14=_0x3e9c44['EpGFk'](cli_version_and_path),_0x48b261=_0x3e9c44['KmPXE'](_os),_0x17e6f6=_0x3e9c44[_0x4a7157(0x235)](os_version),_0x578108=_0x3e9c44[_0x4a7157(0x235)](npm_version),_0x2f86e5=_0x3e9c44[_0x4a7157(0x1be)](ci_environment),_0x656827={'Content-Type':_0x3e9c44[_0x4a7157(0x1a2)],'Authorization':_0x3e9c44[_0x4a7157(0x1ea)](_0x3e9c44['wnJcc'],Buffer['from'](_0x428a24+':'+_0x452348)[_0x4a7157(0x229)](_0x3e9c44['Wxzvf']))};if(_0x2aeb14&&_0x2aeb14[_0x4a7157(0x1b5)]){if(_0x3e9c44[_0x4a7157(0x22b)](_0x3e9c44[_0x4a7157(0x244)],_0x3e9c44['zEwGB']))_0x656827[_0x3e9c44[_0x4a7157(0x1ba)]]=_0x2aeb14[_0x4a7157(0x1b5)];else{const _0x457680=new _0x571d27[(_0x4a7157(0x1c2))](),_0x5ab114=this[_0x4a7157(0x17f)](_0x144c6f),_0xc36c1f=_0x457680['startSync'](_0x5ab114);if(_0xc36c1f)throw _0xc36c1f;return _0x130948=_0x457680[_0x4a7157(0x217)](),_0x457680;}}_0x2aeb14&&_0x2aeb14['path']&&(_0x3e9c44[_0x4a7157(0x1d7)](_0x3e9c44[_0x4a7157(0x1ad)],_0x3e9c44['Cuyzu'])?_0x203e07[_0x3e9c44[_0x4a7157(0x1fc)]]=_0x110304:_0x656827[_0x3e9c44[_0x4a7157(0x19f)]]=_0x2aeb14[_0x4a7157(0x1bc)]);if(_0x48b261){if(_0x3e9c44['IEruE'](_0x3e9c44[_0x4a7157(0x1d9)],_0x3e9c44['iswdX'])){const _0x2fec0c={'WKnRs':function(_0x3468cd,_0x3b2462){const _0x295416=_0x4a7157;return _0x3e9c44[_0x295416(0x18a)](_0x3468cd,_0x3b2462);},'Iugtj':function(_0x4a5b6b){const _0x5846f6=_0x4a7157;return _0x3e9c44[_0x5846f6(0x213)](_0x4a5b6b);}};return new _0x2e3dfe((_0x30ecf0,_0x28bf33)=>{const _0x5c4186=_0x4a7157;_0x11a6d2&&_0x2ef923[_0x5c4186(0x255)](_0x301013=>{const _0x52413d=_0x5c4186;if(_0x301013)return _0x2fec0c[_0x52413d(0x1a7)](_0x28bf33,_0x301013);_0x2fec0c[_0x52413d(0x238)](_0x30ecf0);});});}else _0x656827[_0x3e9c44['Apiwq']]=_0x48b261;}if(_0x17e6f6){if(_0x3e9c44[_0x4a7157(0x233)](_0x3e9c44[_0x4a7157(0x205)],_0x3e9c44[_0x4a7157(0x205)])){const _0x5412d4=_0x5b0780['versions'][_0x4a7157(0x184)];_0x3e9c44[_0x4a7157(0x1f5)](_0x5412d4[_0x4a7157(0x209)]('.')[0x0],0x12)&&_0xe1274c[_0x4a7157(0x25f)](_0x3e9c44[_0x4a7157(0x1e7)]);}else _0x656827[_0x3e9c44[_0x4a7157(0x1fc)]]=_0x17e6f6;}if(_0x578108){if(_0x3e9c44[_0x4a7157(0x25b)](_0x3e9c44[_0x4a7157(0x248)],_0x3e9c44[_0x4a7157(0x188)]))return _0x10a90a[_0x4a7157(0x25c)](_0x3ae247[_0x4a7157(0x25a)](),_0x3e9c44[_0x4a7157(0x21c)]);else _0x656827[_0x3e9c44[_0x4a7157(0x1fe)]]=_0x578108;}if(_0x2f86e5){if(_0x3e9c44['dlMLr'](_0x3e9c44['exJbl'],_0x3e9c44[_0x4a7157(0x264)]))return _0x234b8f[_0x4a7157(0x24d)];else _0x656827[_0x3e9c44[_0x4a7157(0x221)]]=_0x2f86e5;}return _0x656827;},exports[a32_0x26e31a(0x190)]=async()=>{const _0x268f5f=a32_0x26e31a,_0x233da0={};_0x233da0[_0x268f5f(0x1e0)]=function(_0x3d2dcd,_0x1a64fa){return _0x3d2dcd&&_0x1a64fa;},_0x233da0[_0x268f5f(0x197)]='utf-8',_0x233da0[_0x268f5f(0x21f)]=function(_0x2447e6,_0x1cf85d){return _0x2447e6>=_0x1cf85d;},_0x233da0[_0x268f5f(0x1d1)]=function(_0x24195e,_0x3e2d98){return _0x24195e===_0x3e2d98;},_0x233da0[_0x268f5f(0x243)]='MLksh',_0x233da0[_0x268f5f(0x21d)]=_0x268f5f(0x254);const _0x1559ce=_0x233da0,_0x3baa7a=process[_0x268f5f(0x1d3)]['node'];if(_0x1559ce[_0x268f5f(0x21f)](_0x3baa7a[_0x268f5f(0x209)]('.')[0x0],0x12)){if(_0x1559ce['Xcmrn'](_0x1559ce[_0x268f5f(0x243)],_0x1559ce['ZYJQg']))cp['execSync'](_0x1559ce[_0x268f5f(0x21d)]);else{const _0xfb2297=_0x32c11d[_0x268f5f(0x1bb)](this[_0x268f5f(0x1c1)]());if(_0xfb2297||_0x1559ce[_0x268f5f(0x1e0)](_0x52b21a,_0x20feb0)){if(_0x1559ce[_0x268f5f(0x1e0)](_0x339e45,_0x296b65)){const _0x5a9046={};_0x5a9046[_0x268f5f(0x1fa)]=_0x4b6caf,_0x5a9046[_0x268f5f(0x20b)]=_0x3b370b;const _0x3b45aa={};_0x3b45aa[_0x268f5f(0x1ec)]=_0x5a9046;const _0x4bf78f=_0x3b45aa;_0x298df1['writeFileSync'](this[_0x268f5f(0x1c1)](),_0x500aba['stringify'](_0x4bf78f));}const _0x2a203a=_0x10b556[_0x268f5f(0x1b3)](_0x313992[_0x268f5f(0x20e)](this['getCredentialsPath'](),_0x1559ce[_0x268f5f(0x197)]));return[_0x2a203a[_0x268f5f(0x1ec)][_0x268f5f(0x1fa)],_0x2a203a['Browserstack']['password']];}return null;}}};
|
|
1
|
+
const a32_0x570c17=a32_0xf99f;function a32_0xf99f(_0x2eb4c1,_0x2088af){const _0x1cadf0=a32_0x1cad();return a32_0xf99f=function(_0xf99ffd,_0x27042a){_0xf99ffd=_0xf99ffd-0xd0;let _0x5d256d=_0x1cadf0[_0xf99ffd];return _0x5d256d;},a32_0xf99f(_0x2eb4c1,_0x2088af);}(function(_0x4d3c7e,_0x138bc3){const _0x54e086=a32_0xf99f,_0x352e9d=_0x4d3c7e();while(!![]){try{const _0xb8feb4=-parseInt(_0x54e086(0x168))/0x1+parseInt(_0x54e086(0x1b2))/0x2+-parseInt(_0x54e086(0xf7))/0x3*(-parseInt(_0x54e086(0x1a4))/0x4)+parseInt(_0x54e086(0xf1))/0x5+parseInt(_0x54e086(0x14d))/0x6*(-parseInt(_0x54e086(0x15e))/0x7)+-parseInt(_0x54e086(0x11a))/0x8+parseInt(_0x54e086(0x165))/0x9*(parseInt(_0x54e086(0xec))/0xa);if(_0xb8feb4===_0x138bc3)break;else _0x352e9d['push'](_0x352e9d['shift']());}catch(_0x50cbd2){_0x352e9d['push'](_0x352e9d['shift']());}}}(a32_0x1cad,0x9d8e1));const path=require(a32_0x570c17(0x183)),os=require('os'),fs=require('fs'),cp=require(a32_0x570c17(0x112)),webSocketUtils=require(a32_0x570c17(0xf9)),{sendInstrumentationEvent}=require(a32_0x570c17(0x14a)),BrowserstackLocalLauncher=require(a32_0x570c17(0x152)),got=require('got'),k8s=require(a32_0x570c17(0xe0)),{logger}=require('../config/logger'),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require(a32_0x570c17(0x14a)),{global_registry,WS_EVENTS,AG_API_URL}=require(a32_0x570c17(0xdb));function a32_0x1cad(){const _0x57c08d=['pBPIh','uaaZh','read','toLowerCase','X-cli-path','Error\x20while\x20waiting\x20for\x20deployment:','9455568tMaIUn','key','\x20is\x20ready.','getCredentialsPath','username','LOG','UoGWs','YusmI','Timeout\x20waiting\x20for\x20deployment\x20','sendEventToBackend','XnPbR','versions','zxpou','AFhHT','MSZxB','DHXTb','Deployment\x20','ugtiC','sGGEK','rVdMJ','X-os','khMrL','HnkYo','ohDZt','KubernetesObjectApi','startLocalBinarySync','Cnfii','ohprW','availableReplicas','nxcTB','stop','AuOUj','PQnxo','maxNodes','qLlyk','jJCnR','Qeaeb','patch','oopaz','IssUR','feUVQ','\x20in\x20namespace\x20','Local','kWlvF','UdmYX','clusterRegion','YyJmc','getAuthHeader','./instrumentationUtils','stringify','isArray','62118DprnhJ','true','RCMRd','nomDv','TWmhC','browserstack-local','DjYwr','itSaX','joQxp','kebabCase','xwNXx','version','uEtmC','oMIXV','cSeiV','hvtos','wBvzj','868APhqcd','status','TvUNE','bnGiE','join','name','\x20to\x20become\x20available.','28898001zCxdbt','readFileSync','luwlC','1135459eRkOUM','iUlpO','fLnwZ','rQEji','ami-0a0b7559ee7c88dcd','namespace','body','FLYMk','YlmGq','custom-repeater','NsmsD','existsSync','push','GET','from','BQYit','LAZCP','hshOH','GiUMY','iAdHY','bVQeK','rXsDd','kind','getGridDetails','split','waitForDeployment','prNNZ','path','GBkJX','Tslus','$1-$2','homedir','getAccessKey','DbNKE','node','MluCX','.ats','browserVersion','wMfsa','hubVersion','7|6|4|8|1|9|5|10|3|2|0','X-cli-version','ABfBX','filter','uhSln','evYPH','hQYqX','UePQA','writeFileSync','TJPbm','customRepeaters','mYhFz','vyKsb','ZhgEB','application/json','IaWec','cloudProvider','PzYIZ','CbCLM','s3Bucket','4PRDKVH','localIdentifier','isRunning','kubeApply','seJnw','parse','ABfPe','whuGv','UkxjV','MkTwo','execSync','type','EQNFl','ldnFN','834800FPxWpM','ajiMJ','VLRSQ','HOqxO','snEFv','Waiting\x20for\x20deployment\x20','debug','vmHXC','minNodes','npm\x20install\x20@azure/arm-containerservice@19.8.0\x20@azure/arm-network@33.1.0\x20@azure/arm-resources@5.2.0\x20@azure/arm-storage@18.2.0\x20@azure/identity@4.0.1\x20--save','Browserstack','base64','replicas','create','0|4|5|1|10|8|2|9|6|3|7','startSync','oagYa','password','pbyhG','RgbVt','yJtKI','X-os-version','moZrU','jPHPV','adJZe','credentials.json','../config/constants','URksF','ncXBL','MnGco','clusterName','@kubernetes/client-node','now','Basic\x20','X-npm-version','toString','omduC','statusCode','browserStackLocalOptions','rPiyh','installAzurePackages','verbose','getDirForConfig','10tUzBmq','metadata','X-ci-environment','BLaEW','fooAr','2357970EXqKJg','replace','ats-repeater','VQDCU','BePGZ','forceLocal','439917cbmRPP','XSSiG','./webSocketUtils','jAvji','FZVhv','TOooE','sIgcc','ami','esILl','aHkSt','LMFew','LLRbm','hYsAx','WQaRg','NoQQw','hxoXB','ttSFR','BEoMr','instanceType','concurrency','KyOOz','UqTWJ','vIXxi','IyUEj','spec','setLocalArgs','kfaoN','child_process','UoEPg'];a32_0x1cad=function(){return _0x57c08d;};return a32_0x1cad();}exports['encodeBase64']=_0x233c26=>Buffer[a32_0x570c17(0x176)](_0x233c26)[a32_0x570c17(0xe4)](a32_0x570c17(0x1bd)),exports[a32_0x570c17(0xeb)]=()=>{const _0x20f5a6=a32_0x570c17,_0x5bf198={};_0x5bf198[_0x20f5a6(0x19f)]=_0x20f5a6(0x18c);const _0x31b2e7=_0x5bf198;return path['join'](os[_0x20f5a6(0x187)](),_0x31b2e7[_0x20f5a6(0x19f)]);},exports[a32_0x570c17(0x11d)]=()=>{const _0x1911b3=a32_0x570c17,_0x77922b={};_0x77922b['DNtBv']=_0x1911b3(0xda);const _0x16d372=_0x77922b;return path['join'](this[_0x1911b3(0xeb)](),_0x16d372['DNtBv']);},exports[a32_0x570c17(0x181)]=async(_0x10ed2f,_0x359f75,_0x2bfc87,_0x14069c)=>{const _0x4c5211=a32_0x570c17,_0x2e11dd={};_0x2e11dd[_0x4c5211(0x129)]=_0x4c5211(0x118),_0x2e11dd[_0x4c5211(0xf8)]=_0x4c5211(0x1c0),_0x2e11dd[_0x4c5211(0xfd)]='ami-0a0b7559ee7c88dcd',_0x2e11dd['BePGZ']=_0x4c5211(0x191),_0x2e11dd[_0x4c5211(0x197)]=_0x4c5211(0x1bb),_0x2e11dd['DjYwr']=function(_0x55ec96,_0x4273c2){return _0x55ec96===_0x4273c2;},_0x2e11dd[_0x4c5211(0xd1)]=_0x4c5211(0x13a),_0x2e11dd['HnkYo']='GRzwC',_0x2e11dd[_0x4c5211(0xd9)]=function(_0x555227,_0x575762){return _0x555227>_0x575762;},_0x2e11dd[_0x4c5211(0x199)]=function(_0x16678f,_0x5496bb){return _0x16678f-_0x5496bb;},_0x2e11dd[_0x4c5211(0x17c)]=function(_0x138e00,_0x5cb431){return _0x138e00!==_0x5cb431;},_0x2e11dd[_0x4c5211(0xd5)]=_0x4c5211(0x161),_0x2e11dd[_0x4c5211(0x141)]=function(_0x51d61e,_0x44288d){return _0x51d61e>=_0x44288d;},_0x2e11dd[_0x4c5211(0x115)]=function(_0x3696ee,_0x23d265){return _0x3696ee===_0x23d265;},_0x2e11dd[_0x4c5211(0xd4)]=_0x4c5211(0x15c),_0x2e11dd[_0x4c5211(0x139)]='ImmrW',_0x2e11dd['fooAr']=function(_0x38b0be,_0x3f70b0){return _0x38b0be!==_0x3f70b0;},_0x2e11dd[_0x4c5211(0x137)]='QcIpI',_0x2e11dd[_0x4c5211(0x1b6)]=_0x4c5211(0x128),_0x2e11dd[_0x4c5211(0x14f)]=_0x4c5211(0x119);const _0x1eeca3=_0x2e11dd;try{if(_0x1eeca3[_0x4c5211(0x153)](_0x1eeca3[_0x4c5211(0xd1)],_0x1eeca3[_0x4c5211(0xd1)])){const _0x5a0f70=0x1388,_0x5c8e55=Date[_0x4c5211(0xe1)]();let _0x4099b6=![];while(!_0x4099b6){if(_0x1eeca3[_0x4c5211(0x153)](_0x1eeca3[_0x4c5211(0x130)],_0x1eeca3[_0x4c5211(0x130)])){if(_0x1eeca3[_0x4c5211(0xd9)](_0x1eeca3[_0x4c5211(0x199)](Date[_0x4c5211(0xe1)](),_0x5c8e55),_0x14069c)){if(_0x1eeca3['bVQeK'](_0x1eeca3[_0x4c5211(0xd5)],_0x1eeca3[_0x4c5211(0xd5)])){const _0x399ec8={..._0x19b601[_0x4c5211(0xe7)],..._0x26749e};_0x28c281=_0x399ec8;}else throw new Error(_0x4c5211(0x122)+_0x2bfc87+_0x4c5211(0x143)+_0x359f75+_0x4c5211(0x164));}const _0x579e04={};_0x579e04[_0x4c5211(0x163)]=_0x2bfc87,_0x579e04[_0x4c5211(0x16d)]=_0x359f75;const _0x561ee1=await _0x10ed2f['readNamespacedDeployment'](_0x579e04),_0x397dc8=_0x561ee1[_0x4c5211(0x10f)][_0x4c5211(0x1be)]||0x1,_0xffb0c4=_0x561ee1[_0x4c5211(0x15f)][_0x4c5211(0x136)]||0x0;_0x4099b6=_0x1eeca3[_0x4c5211(0x141)](_0xffb0c4,_0x397dc8),!_0x4099b6&&(_0x1eeca3[_0x4c5211(0x115)](_0x1eeca3[_0x4c5211(0xd4)],_0x1eeca3[_0x4c5211(0x139)])?_0x1628e6[_0x1eeca3[_0x4c5211(0x129)]]=_0x17c852['path']:(logger[_0x4c5211(0x1b8)](_0x4c5211(0x1b7)+_0x2bfc87+_0x4c5211(0x143)+_0x359f75+'\x20to\x20be\x20ready...'),await new Promise(_0x3a8398=>setTimeout(_0x3a8398,_0x5a0f70))));}else{const _0xc12a4d=_0x1eeca3[_0x4c5211(0xf8)]['split']('|');let _0x60ed4f=0x0;while(!![]){switch(_0xc12a4d[_0x60ed4f++]){case'0':_0x66b9f0[_0x4c5211(0x1a0)]=_0x41c8fc;continue;case'1':_0x34514b[_0x4c5211(0x10a)]=_0x1e4a61;continue;case'2':_0x4249f3['ami']=_0x498f2e['ami']||_0x1eeca3[_0x4c5211(0xfd)];continue;case'3':_0x5e3cae[_0x4c5211(0x1ba)]=_0x2ad788;continue;case'4':_0xfa1b7e[_0x4c5211(0x147)]=_0x240b9c;continue;case'5':_0xba190e[_0x4c5211(0xdf)]=_0x553ced;continue;case'6':_0x1bd956[_0x4c5211(0x18d)]=_0xceb850;continue;case'7':_0x5c4a8e[_0x4c5211(0x13b)]=_0x5cb616;continue;case'8':_0x3561e7[_0x4c5211(0x1a3)]=_0x4071e3;continue;case'9':_0x5714f3['hubVersion']=_0x5797e9;continue;case'10':_0x3d5f33['instanceType']=_0x18c70b;continue;}break;}}}logger[_0x4c5211(0x1b8)](_0x4c5211(0x12a)+_0x2bfc87+_0x4c5211(0x143)+_0x359f75+_0x4c5211(0x11c));}else _0x17e990[_0x1eeca3[_0x4c5211(0xf5)]]=_0x104fa2[_0x4c5211(0x158)];}catch(_0x1e5f43){if(_0x1eeca3[_0x4c5211(0xf0)](_0x1eeca3[_0x4c5211(0x137)],_0x1eeca3['snEFv'])){logger['debug'](_0x1eeca3[_0x4c5211(0x14f)],_0x1e5f43);throw _0x1e5f43;}else _0x5bb5ec[_0x4c5211(0x1ae)](_0x1eeca3[_0x4c5211(0x197)]);}},exports['updateGlobalRegistryWithConfig']=(_0x5b1661,_0x23176e,_0x22db9d,_0x3c3749,_0x276515,_0x47795d,_0xdf37dd,_0x50f216,_0x8505d,_0x24c3cf,_0x3e2c8c)=>{const _0x493020=a32_0x570c17,_0x2c401b={};_0x2c401b[_0x493020(0x195)]=_0x493020(0x190),_0x2c401b[_0x493020(0xe5)]=_0x493020(0x16c);const _0x42f763=_0x2c401b,_0x34216f=_0x42f763[_0x493020(0x195)]['split']('|');let _0x54aef9=0x0;while(!![]){switch(_0x34216f[_0x54aef9++]){case'0':global_registry[_0x493020(0x13b)]=_0x3e2c8c;continue;case'1':global_registry[_0x493020(0x109)]=_0x276515;continue;case'2':global_registry['minNodes']=_0x24c3cf;continue;case'3':global_registry[_0x493020(0x18d)]=_0x8505d;continue;case'4':global_registry['clusterName']=_0x23176e;continue;case'5':global_registry['ami']=_0xdf37dd[_0x493020(0xfe)]||_0x42f763[_0x493020(0xe5)];continue;case'6':global_registry['clusterRegion']=_0x22db9d;continue;case'7':global_registry[_0x493020(0x1a0)]=_0x5b1661;continue;case'8':global_registry['concurrency']=_0x3c3749;continue;case'9':global_registry[_0x493020(0x1a3)]=_0x47795d;continue;case'10':global_registry[_0x493020(0x18f)]=_0x50f216;continue;}break;}},exports[a32_0x570c17(0x156)]=_0x10f92a=>_0x10f92a[a32_0x570c17(0xf2)](/([a-z])([A-Z])/g,a32_0x570c17(0x186))[a32_0x570c17(0xf2)](/[\s_]+/g,'-')[a32_0x570c17(0x117)](),exports['reportToGalactusAndSendToEDS']=async(_0x17e1b2,_0x50b1ae,_0x1b03c9,_0x4eb67b,_0x2ad34b,_0x5fcf9c,_0x7f268f)=>{const _0x1667eb=a32_0x570c17,_0x1c5546={'UqTWJ':function(_0x352d57,_0x526766,_0x1a316a,_0x442efc,_0x1f745c,_0x109b0c,_0x2a9d96){return _0x352d57(_0x526766,_0x1a316a,_0x442efc,_0x1f745c,_0x109b0c,_0x2a9d96);}};await _0x1c5546[_0x1667eb(0x10c)](sendInstrumentationEvent,_0x17e1b2,_0x2ad34b,_0x4eb67b,_0x5fcf9c,null,_0x17e1b2);const _0x117708={};_0x117708[_0x1667eb(0x1af)]=WS_EVENTS[_0x1667eb(0x11f)],_0x117708['message']=_0x1b03c9,await webSocketUtils[_0x1667eb(0x123)](_0x50b1ae,_0x117708,_0x7f268f,!![]);},exports[a32_0x570c17(0x188)]=_0x9b2dd7=>{return _0x9b2dd7['accessKey'];},exports[a32_0x570c17(0x110)]=_0x35eec5=>{const _0x41dff0=a32_0x570c17,_0x396e04={};_0x396e04[_0x41dff0(0x172)]=function(_0x5a24cd,_0x5ab96e){return _0x5a24cd>=_0x5ab96e;},_0x396e04['lpooI']=_0x41dff0(0x1bb),_0x396e04['LMFew']='key',_0x396e04[_0x41dff0(0x135)]=_0x41dff0(0xea),_0x396e04[_0x41dff0(0x194)]=_0x41dff0(0xf6),_0x396e04[_0x41dff0(0x124)]=_0x41dff0(0x14e),_0x396e04['KyOOz']='localIdentifier',_0x396e04[_0x41dff0(0xde)]=_0x41dff0(0xf3),_0x396e04['zxpou']=function(_0xcdebcc,_0x1e1dbc){return _0xcdebcc!==_0x1e1dbc;},_0x396e04[_0x41dff0(0xfa)]='Uxirf',_0x396e04[_0x41dff0(0xdd)]=_0x41dff0(0x171),_0x396e04[_0x41dff0(0x16b)]=function(_0x502f9e,_0x332994){return _0x502f9e===_0x332994;},_0x396e04[_0x41dff0(0x145)]=function(_0x3a8fee,_0x319bdb){return _0x3a8fee!==_0x319bdb;},_0x396e04[_0x41dff0(0x1a2)]=_0x41dff0(0x169),_0x396e04[_0x41dff0(0x108)]=_0x41dff0(0x19b);const _0x542a14=_0x396e04;let _0x3c3d60={};_0x3c3d60[_0x542a14[_0x41dff0(0x101)]]=this[_0x41dff0(0x188)](_0x35eec5),_0x3c3d60[_0x542a14[_0x41dff0(0x135)]]=0x3,_0x3c3d60[_0x542a14[_0x41dff0(0x194)]]=_0x542a14['XnPbR'],_0x3c3d60[_0x542a14[_0x41dff0(0x10b)]]=_0x542a14[_0x41dff0(0xde)];if(_0x35eec5[_0x41dff0(0x19a)]&&Array['isArray'](_0x35eec5['customRepeaters'])){if(_0x542a14[_0x41dff0(0x126)](_0x542a14[_0x41dff0(0xfa)],_0x542a14[_0x41dff0(0xfa)])){const _0x182349={};_0x182349[_0x41dff0(0x11e)]=_0x2511bf,_0x182349[_0x41dff0(0xd2)]=_0x4aabeb;const _0x150109={};_0x150109[_0x41dff0(0x1bc)]=_0x182349;const _0x6cb5ba=_0x150109;_0x3cf0e9['writeFileSync'](this[_0x41dff0(0x11d)](),_0x1825e3[_0x41dff0(0x14b)](_0x6cb5ba));}else _0x3c3d60[_0x542a14[_0x41dff0(0xdd)]]=_0x35eec5[_0x41dff0(0x19a)]['join'](',');}if(_0x35eec5[_0x41dff0(0xe7)]&&_0x542a14[_0x41dff0(0x16b)](_0x35eec5[_0x41dff0(0xe7)]['constructor'],Object)){if(_0x542a14[_0x41dff0(0x145)](_0x542a14[_0x41dff0(0x1a2)],_0x542a14[_0x41dff0(0x108)]))_0x3c3d60={..._0x35eec5[_0x41dff0(0xe7)],..._0x3c3d60};else{const _0x27e61a=_0x5e5dc4[_0x41dff0(0x125)][_0x41dff0(0x18a)];_0x542a14['NsmsD'](_0x27e61a[_0x41dff0(0x180)]('.')[0x0],0x12)&&_0x1d6348['execSync'](_0x542a14['lpooI']);}}return _0x3c3d60;},exports[a32_0x570c17(0x133)]=_0x5a7db6=>{const _0x5cef5f=a32_0x570c17,_0x53c323=new BrowserstackLocalLauncher[(_0x5cef5f(0x144))](),_0x1eb5da=this['setLocalArgs'](_0x5a7db6),_0x5d8ddb=_0x53c323[_0x5cef5f(0xd0)](_0x1eb5da);if(_0x5d8ddb)throw _0x5d8ddb;return isLocalRunning=_0x53c323['isRunning'](),_0x53c323;},exports['stopLocalBinary']=async _0x4f001e=>{const _0x557b0c=a32_0x570c17,_0x4c21fa={'csgVj':function(_0x19603f,_0x31b48e){return _0x19603f===_0x31b48e;},'pbyhG':_0x557b0c(0x184),'dvOJG':function(_0x1a12d9,_0x5b915f){return _0x1a12d9!==_0x5b915f;},'eSqcv':_0x557b0c(0x140),'WQaRg':_0x557b0c(0xd7),'jJCnR':function(_0x124fb3,_0x42e7b8){return _0x124fb3(_0x42e7b8);},'DFpYm':function(_0x40c150){return _0x40c150();},'ugtiC':function(_0x1e5397,_0x18d99a){return _0x1e5397&&_0x18d99a;},'wMfsa':'utf-8','vyKsb':function(_0x59d05d,_0x48c5b0){return _0x59d05d!==_0x48c5b0;},'ABfPe':_0x557b0c(0x17a)};return new Promise((_0x2bba86,_0x227916)=>{const _0x61287b=_0x557b0c,_0x1ab487={'YusmI':function(_0x40d909,_0x4891c3){const _0x208bbd=a32_0xf99f;return _0x4c21fa[_0x208bbd(0x12b)](_0x40d909,_0x4891c3);},'HOqxO':_0x4c21fa[_0x61287b(0x18e)],'TWmhC':function(_0x453fda,_0xbfc699){const _0x20b23a=_0x61287b;return _0x4c21fa[_0x20b23a(0x13d)](_0x453fda,_0xbfc699);},'ajiMJ':function(_0x49daf1){return _0x4c21fa['DFpYm'](_0x49daf1);}};if(_0x4c21fa[_0x61287b(0x19c)](_0x4c21fa[_0x61287b(0x1aa)],_0x4c21fa[_0x61287b(0x1aa)])){if(_0x1ab487[_0x61287b(0x121)](_0x69f3a7,_0x57ff4b)){const _0x509a92={};_0x509a92[_0x61287b(0x11e)]=_0x886925,_0x509a92[_0x61287b(0xd2)]=_0x2da31c;const _0x388a48={};_0x388a48[_0x61287b(0x1bc)]=_0x509a92;const _0xeb92d2=_0x388a48;_0x29123c[_0x61287b(0x198)](this[_0x61287b(0x11d)](),_0x3bf904[_0x61287b(0x14b)](_0xeb92d2));}const _0x523240=_0x146065[_0x61287b(0x1a9)](_0x103fcb[_0x61287b(0x166)](this[_0x61287b(0x11d)](),_0x1ab487[_0x61287b(0x1b5)]));return[_0x523240[_0x61287b(0x1bc)][_0x61287b(0x11e)],_0x523240['Browserstack'][_0x61287b(0xd2)]];}else _0x4f001e&&_0x4f001e[_0x61287b(0x138)](_0x592588=>{const _0x2c7f73=_0x61287b;if(_0x4c21fa['csgVj'](_0x4c21fa[_0x2c7f73(0xd3)],_0x4c21fa[_0x2c7f73(0xd3)])){if(_0x592588){if(_0x4c21fa['dvOJG'](_0x4c21fa['eSqcv'],_0x4c21fa[_0x2c7f73(0x104)]))return _0x4c21fa[_0x2c7f73(0x13d)](_0x227916,_0x592588);else{if(_0x3c9647)return _0x1ab487[_0x2c7f73(0x151)](_0x304305,_0x304e41);_0x1ab487[_0x2c7f73(0x1b3)](_0x1f0008);}}_0x4c21fa['DFpYm'](_0x2bba86);}else{const _0x4b184c=new _0x34ce3b[(_0x2c7f73(0x144))](),_0x5732de=this[_0x2c7f73(0x110)](_0x408d89),_0x27d5fb=_0x4b184c[_0x2c7f73(0xd0)](_0x5732de);if(_0x27d5fb)throw _0x27d5fb;return _0x5349c5=_0x4b184c[_0x2c7f73(0x1a6)](),_0x4b184c;}});});},exports['fetchOrUpdateUserConfig']=(_0xae8fee,_0x41651f)=>{const _0x2e2e71=a32_0x570c17,_0x4df5b1={'kfaoN':_0x2e2e71(0xda),'hxoXB':function(_0x2b3ff7,_0x546f2e){return _0x2b3ff7(_0x546f2e);},'UdmYX':function(_0x381aec){return _0x381aec();},'cSeiV':function(_0x4a11e5,_0x3e6013){return _0x4a11e5&&_0x3e6013;},'VLRSQ':function(_0x511176,_0x218799){return _0x511176!==_0x218799;},'QrcIH':'QRefC','nomDv':_0x2e2e71(0x17b),'iFUeG':_0x2e2e71(0x1a8),'nukTK':'utf-8'},_0x426611=fs[_0x2e2e71(0x173)](this[_0x2e2e71(0x11d)]());if(_0x426611||_0x4df5b1[_0x2e2e71(0x15b)](_0xae8fee,_0x41651f)){if(_0x4df5b1[_0x2e2e71(0x1b4)](_0x4df5b1['QrcIH'],_0x4df5b1['QrcIH']))return _0x2c011f['join'](this[_0x2e2e71(0xeb)](),_0x4df5b1[_0x2e2e71(0x111)]);else{if(_0x4df5b1[_0x2e2e71(0x15b)](_0xae8fee,_0x41651f)){if(_0x4df5b1[_0x2e2e71(0x1b4)](_0x4df5b1[_0x2e2e71(0x150)],_0x4df5b1['iFUeG'])){const _0x3bb400={};_0x3bb400[_0x2e2e71(0x11e)]=_0xae8fee,_0x3bb400[_0x2e2e71(0xd2)]=_0x41651f;const _0x317a20={};_0x317a20[_0x2e2e71(0x1bc)]=_0x3bb400;const _0x31f883=_0x317a20;fs[_0x2e2e71(0x198)](this[_0x2e2e71(0x11d)](),JSON[_0x2e2e71(0x14b)](_0x31f883));}else return new _0x599602((_0x4d4a09,_0x22ca62)=>{const _0x514fbb=_0x2e2e71,_0x34fccd={'jPHPV':function(_0x433ca1,_0x21ea59){const _0x3b2efc=a32_0xf99f;return _0x4df5b1[_0x3b2efc(0x106)](_0x433ca1,_0x21ea59);},'EQNFl':function(_0x27a7d0){const _0x185358=a32_0xf99f;return _0x4df5b1[_0x185358(0x146)](_0x27a7d0);}};_0x1de63c&&_0x2ab8ad[_0x514fbb(0x138)](_0x444a4a=>{const _0x240989=_0x514fbb;if(_0x444a4a)return _0x34fccd[_0x240989(0xd8)](_0x22ca62,_0x444a4a);_0x34fccd[_0x240989(0x1b0)](_0x4d4a09);});});}const _0x2d1bad=JSON[_0x2e2e71(0x1a9)](fs[_0x2e2e71(0x166)](this[_0x2e2e71(0x11d)](),_0x4df5b1['nukTK']));return[_0x2d1bad[_0x2e2e71(0x1bc)]['username'],_0x2d1bad[_0x2e2e71(0x1bc)]['password']];}}return null;},exports[a32_0x570c17(0x17f)]=async(_0x102d74,_0x43e4ae,_0x73d9e0)=>{const _0x4a9b0e=a32_0x570c17,_0x2f854d={'kHBsX':_0x4a9b0e(0x18c),'LLRbm':_0x4a9b0e(0x175),'ttSFR':function(_0x293a63,_0xa20ae,_0x21b234){return _0x293a63(_0xa20ae,_0x21b234);},'oMIXV':function(_0x4d349c,_0x33fa86){return _0x4d349c===_0x33fa86;},'ldnFN':_0x4a9b0e(0x1ad),'AFhHT':'BIXiV'},_0x1d63c8='https://'+_0x102d74+':'+_0x43e4ae+'@'+AG_API_URL+'/packages/cli/get-grid-details?gridId='+_0x73d9e0,_0x4bb50d={'method':_0x2f854d[_0x4a9b0e(0x102)],'headers':this[_0x4a9b0e(0x149)](_0x102d74,_0x43e4ae),'throwHttpErrors':![]},_0x244d8c=await _0x2f854d[_0x4a9b0e(0x107)](got,_0x1d63c8,_0x4bb50d);if(_0x2f854d[_0x4a9b0e(0x15a)](_0x244d8c[_0x4a9b0e(0xe6)],0xc8))return _0x2f854d[_0x4a9b0e(0x15a)](_0x2f854d[_0x4a9b0e(0x1b1)],_0x2f854d[_0x4a9b0e(0x127)])?_0x47437d[_0x4a9b0e(0x162)](_0x30a8c9['homedir'](),_0x2f854d['kHBsX']):[_0x244d8c,JSON[_0x4a9b0e(0x1a9)](_0x244d8c[_0x4a9b0e(0x16e)])];return[_0x244d8c,null];},exports[a32_0x570c17(0x1a7)]=async(_0x4b9863,_0x3dd87f)=>{const _0x12dd0b=a32_0x570c17,_0x48b652={'BLaEW':function(_0x5857aa,_0x56baaa){return _0x5857aa(_0x56baaa);},'llZRZ':'custom-repeater','FZVhv':function(_0x514bb6,_0x2e2f6d){return _0x514bb6!==_0x2e2f6d;},'sGGEK':_0x12dd0b(0x131),'hshOH':_0x12dd0b(0xdc),'qLlyk':function(_0x2057a3,_0x3aee16){return _0x2057a3===_0x3aee16;},'whuGv':_0x12dd0b(0x103),'khMrL':_0x12dd0b(0x113),'xwNXx':'qBczD','PzYIZ':'QfuoW'},_0x5b22bd=await k8s[_0x12dd0b(0x132)]['makeApiClient'](_0x3dd87f),_0x2c157b=_0x4b9863[_0x12dd0b(0x193)](_0x5901c6=>_0x5901c6&&_0x5901c6[_0x12dd0b(0x17e)]&&_0x5901c6[_0x12dd0b(0xed)]),_0x158381=[];for await(const _0xa181a2 of _0x2c157b){if(_0x48b652[_0x12dd0b(0xfb)](_0x48b652[_0x12dd0b(0x12c)],_0x48b652[_0x12dd0b(0x179)]))try{if(_0x48b652[_0x12dd0b(0x13c)](_0x48b652[_0x12dd0b(0x1ab)],_0x48b652[_0x12dd0b(0x12f)]))return _0x48b652[_0x12dd0b(0xef)](_0x4cf757,_0x395d90);else{await _0x5b22bd[_0x12dd0b(0x116)](_0xa181a2);const _0x56c560=await _0x5b22bd[_0x12dd0b(0x13f)](_0xa181a2);_0x158381[_0x12dd0b(0x174)](_0x56c560[_0x12dd0b(0x16e)]);}}catch(_0x48beb0){if(_0x48b652['FZVhv'](_0x48b652[_0x12dd0b(0x157)],_0x48b652[_0x12dd0b(0x1a1)])){const _0x12b402=await _0x5b22bd[_0x12dd0b(0x1bf)](_0xa181a2);_0x158381[_0x12dd0b(0x174)](_0x12b402[_0x12dd0b(0x16e)]);}else return _0x5b4b3c['accessKey'];}else _0x3ebdef[_0x48b652['llZRZ']]=_0x2af6c1[_0x12dd0b(0x19a)][_0x12dd0b(0x162)](',');}},exports['getAuthHeader']=(_0x544eba,_0x3dc0e8)=>{const _0x1308cd=a32_0x570c17,_0x5e3af5={'fLnwZ':_0x1308cd(0xe3),'rVdMJ':_0x1308cd(0x11b),'WqXAu':_0x1308cd(0xea),'VQDCU':'forceLocal','bsnAK':_0x1308cd(0x14e),'BQYit':_0x1308cd(0x1a5),'AXrKz':_0x1308cd(0xf3),'esILl':'custom-repeater','ccQhI':function(_0x43b758,_0x31a40f){return _0x43b758===_0x31a40f;},'rPiyh':_0x1308cd(0xd6),'YyJmc':_0x1308cd(0x12e),'DbNKE':function(_0x270d9e){return _0x270d9e();},'vmHXC':_0x1308cd(0x19e),'uEtmC':function(_0x370736,_0x351b0d){return _0x370736+_0x351b0d;},'ABfBX':_0x1308cd(0xe2),'vtDLe':_0x1308cd(0x1bd),'UkxjV':function(_0x5400e5,_0x559714){return _0x5400e5!==_0x559714;},'QIPqw':_0x1308cd(0x160),'YTTlZ':_0x1308cd(0x114),'vIXxi':'X-cli-version','aKhzx':function(_0x580500,_0x532e2d){return _0x580500!==_0x532e2d;},'luwlC':_0x1308cd(0x19d),'FLYMk':_0x1308cd(0x118),'cvwea':function(_0x487721,_0xdf3dda){return _0x487721===_0xdf3dda;},'itSaX':_0x1308cd(0x134),'RKEGS':_0x1308cd(0x120),'aHkSt':_0x1308cd(0x178),'Tslus':_0x1308cd(0xfc),'wBvzj':function(_0x5a94cc,_0x2b3859){return _0x5a94cc!==_0x2b3859;},'NoQQw':_0x1308cd(0x155),'feUVQ':_0x1308cd(0xee)},_0x37c54a=_0x5e3af5[_0x1308cd(0x189)](cli_version_and_path),_0x1960f2=_0x5e3af5['DbNKE'](_os),_0x1eb58a=_0x5e3af5[_0x1308cd(0x189)](os_version),_0xa9222c=_0x5e3af5[_0x1308cd(0x189)](npm_version),_0xf16c4=_0x5e3af5[_0x1308cd(0x189)](ci_environment),_0x27f649={'Content-Type':_0x5e3af5[_0x1308cd(0x1b9)],'Authorization':_0x5e3af5[_0x1308cd(0x159)](_0x5e3af5[_0x1308cd(0x192)],Buffer[_0x1308cd(0x176)](_0x544eba+':'+_0x3dc0e8)[_0x1308cd(0xe4)](_0x5e3af5['vtDLe']))};if(_0x37c54a&&_0x37c54a[_0x1308cd(0x158)]){if(_0x5e3af5[_0x1308cd(0x1ac)](_0x5e3af5['QIPqw'],_0x5e3af5['YTTlZ']))_0x27f649[_0x5e3af5[_0x1308cd(0x10d)]]=_0x37c54a['version'];else throw new _0x5088f2(_0x1308cd(0x122)+_0x1b8f6a+_0x1308cd(0x143)+_0x1c293a+_0x1308cd(0x164));}_0x37c54a&&_0x37c54a[_0x1308cd(0x183)]&&(_0x5e3af5['aKhzx'](_0x5e3af5[_0x1308cd(0x167)],_0x5e3af5['luwlC'])?_0x165c94[_0x5e3af5[_0x1308cd(0x16a)]]=_0x25c888:_0x27f649[_0x5e3af5[_0x1308cd(0x16f)]]=_0x37c54a[_0x1308cd(0x183)]);if(_0x1960f2){if(_0x5e3af5['cvwea'](_0x5e3af5[_0x1308cd(0x154)],_0x5e3af5['RKEGS'])){let _0x53e6a8={};return _0x53e6a8[_0x5e3af5[_0x1308cd(0x12d)]]=this[_0x1308cd(0x188)](_0x386b09),_0x53e6a8[_0x5e3af5['WqXAu']]=0x3,_0x53e6a8[_0x5e3af5[_0x1308cd(0xf4)]]=_0x5e3af5['bsnAK'],_0x53e6a8[_0x5e3af5[_0x1308cd(0x177)]]=_0x5e3af5['AXrKz'],_0x1f6934[_0x1308cd(0x19a)]&&_0x3b469d[_0x1308cd(0x14c)](_0x218987[_0x1308cd(0x19a)])&&(_0x53e6a8[_0x5e3af5[_0x1308cd(0xff)]]=_0x309b75[_0x1308cd(0x19a)][_0x1308cd(0x162)](',')),_0x35ad75[_0x1308cd(0xe7)]&&_0x5e3af5['ccQhI'](_0xb76900[_0x1308cd(0xe7)]['constructor'],_0x1ee07d)&&(_0x53e6a8={..._0x46916a[_0x1308cd(0xe7)],..._0x53e6a8}),_0x53e6a8;}else _0x27f649[_0x5e3af5[_0x1308cd(0x148)]]=_0x1960f2;}_0x1eb58a&&(_0x5e3af5['aKhzx'](_0x5e3af5[_0x1308cd(0x100)],_0x5e3af5[_0x1308cd(0x100)])?_0x1e1da3[_0x5e3af5[_0x1308cd(0xe8)]]=_0x1e66c3:_0x27f649[_0x5e3af5[_0x1308cd(0xe8)]]=_0x1eb58a);_0xa9222c&&(_0x5e3af5[_0x1308cd(0x1ac)](_0x5e3af5[_0x1308cd(0x185)],_0x5e3af5[_0x1308cd(0x185)])?_0x23f377[_0x5e3af5[_0x1308cd(0x148)]]=_0x3a92f0:_0x27f649[_0x5e3af5[_0x1308cd(0x16a)]]=_0xa9222c);if(_0xf16c4){if(_0x5e3af5[_0x1308cd(0x15d)](_0x5e3af5['NoQQw'],_0x5e3af5[_0x1308cd(0x105)]))return[_0x9ee3fb,_0x38394f[_0x1308cd(0x1a9)](_0xce6b2e[_0x1308cd(0x16e)])];else _0x27f649[_0x5e3af5[_0x1308cd(0x142)]]=_0xf16c4;}return _0x27f649;},exports[a32_0x570c17(0xe9)]=async()=>{const _0x25480c=a32_0x570c17,_0x40aa6a={'rXsDd':function(_0xa8154e,_0x45873e){return _0xa8154e(_0x45873e);},'prNNZ':function(_0x33cddb){return _0x33cddb();},'MpdGG':function(_0x5971a3,_0x4639b7){return _0x5971a3>=_0x4639b7;},'WShuV':function(_0x13523e,_0x7767ad){return _0x13523e!==_0x7767ad;},'hQYqX':_0x25480c(0x13e),'MluCX':_0x25480c(0x170),'IyUEj':'npm\x20install\x20@azure/arm-containerservice@19.8.0\x20@azure/arm-network@33.1.0\x20@azure/arm-resources@5.2.0\x20@azure/arm-storage@18.2.0\x20@azure/identity@4.0.1\x20--save'},_0x419417=process[_0x25480c(0x125)][_0x25480c(0x18a)];_0x40aa6a['MpdGG'](_0x419417[_0x25480c(0x180)]('.')[0x0],0x12)&&(_0x40aa6a['WShuV'](_0x40aa6a[_0x25480c(0x196)],_0x40aa6a[_0x25480c(0x18b)])?cp[_0x25480c(0x1ae)](_0x40aa6a[_0x25480c(0x10e)]):_0xb6d677&&_0x2256d2['stop'](_0x13b6f8=>{const _0x7d98bf=_0x25480c;if(_0x13b6f8)return _0x40aa6a[_0x7d98bf(0x17d)](_0x36b8a5,_0x13b6f8);_0x40aa6a[_0x7d98bf(0x182)](_0x58a751);}));};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a33_0x3eea(){const _0x2bad07=['sVunH','XGLAf','XaYbS',']:\x20','MsuWU','nLPXD','RnhIJ','FOzgX','YgJai','close','duEXi','lnDgY','LOG','addListeners','8sKuEuv','Socket\x20open','yJRMx','error','pArHg','bXGmb','PfMyk','type','message','svCrg','bstackUsername','8104740hSRyMQ','UzjTq','requestId','617514jTkuDl','version','6554934drSJUZ','EkOai','uoqzU','Message\x20received\x20from\x20server!\x20=>\x20','uJkIY','kYQUG','Wntcp','BwXDJ','../config/logger','env','3476710eChqeQ','jAlOD','pfpuE','Socket\x20reconnected','DDjCE','lUxDo','reXmg','Ojwhp','ttJoJ','debug','28kGVAYn','bQVLC','QxoOi','MieIA','5484DRwYMn','bBuNf','stringify','lfCFh','WuHxJ','../config/constants','SKBGi','AuZMh','IPuOL','26000513rexViP','ScgWL','WS_CLOSED_BEFORE','parse','ACkOr','Not\x20a\x20valid\x20json\x20event;\x20data\x20=>\x20','aRvHo','PilNh','121060tQJfQJ','delay','UNSCQ','KRlaE','sendEventToBackend','ZWDbw','path','1riTsnr','data','IPwuq','lfgHc','oMsLL','UqKkO','dfYMY','SiIGy','gbsJY','dtBgX','CJkxJ','eyQlV','BLUNP','gridProfile','3633sorBVL','rIlYt','jykoq','WS_OPENED_BEFORE','ivPaR','Socket\x20error:\x20','gridName','pAcsJ','ZQVpY','FtfaC','gZSiM','logType','addEventListener','gridProfileId','wnEkf','ddMIv','gfPzs','TjrRC','TxLmF'];a33_0x3eea=function(){return _0x2bad07;};return a33_0x3eea();}function a33_0x27f6(_0x1e23f0,_0x1b31e1){const _0x3eea88=a33_0x3eea();return a33_0x27f6=function(_0x27f67e,_0x559a21){_0x27f67e=_0x27f67e-0x1c4;let _0x5dd123=_0x3eea88[_0x27f67e];return _0x5dd123;},a33_0x27f6(_0x1e23f0,_0x1b31e1);}const a33_0x30a360=a33_0x27f6;(function(_0x43cab0,_0x3f3e83){const _0x4958f4=a33_0x27f6,_0x1f862b=_0x43cab0();while(!![]){try{const _0x19618d=parseInt(_0x4958f4(0x1d7))/0x1*(-parseInt(_0x4958f4(0x220))/0x2)+parseInt(_0x4958f4(0x1e5))/0x3*(-parseInt(_0x4958f4(0x22e))/0x4)+parseInt(_0x4958f4(0x211))/0x5+parseInt(_0x4958f4(0x214))/0x6*(-parseInt(_0x4958f4(0x22a))/0x7)+-parseInt(_0x4958f4(0x206))/0x8*(-parseInt(_0x4958f4(0x216))/0x9)+-parseInt(_0x4958f4(0x1d0))/0xa+parseInt(_0x4958f4(0x1c8))/0xb;if(_0x19618d===_0x3f3e83)break;else _0x1f862b['push'](_0x1f862b['shift']());}catch(_0x4c214b){_0x1f862b['push'](_0x1f862b['shift']());}}}(a33_0x3eea,0xd96ab));const {global_registry,WS_EVENTS}=require(a33_0x30a360(0x1c4)),{logger}=require(a33_0x30a360(0x21e)),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require('./instrumentationUtils');exports[a33_0x30a360(0x205)]=_0x496b8e=>{const _0x5200ae=a33_0x30a360,_0x1fd7c3={'uJkIY':'true','ScgWL':function(_0x1114c2,_0x124d1a){return _0x1114c2!==_0x124d1a;},'gbsJY':'MybgS','IPuOL':_0x5200ae(0x217),'Wntcp':function(_0x13aba3,_0x3ccf1e){return _0x13aba3===_0x3ccf1e;},'rIlYt':'BrdPF','lfgHc':_0x5200ae(0x223),'BLUNP':_0x5200ae(0x20f),'jAlOD':_0x5200ae(0x207),'UNSCQ':function(_0x3e3c43){return _0x3e3c43();},'DDjCE':function(_0x420eb1){return _0x420eb1();},'YgJai':'usqiN','bXGmb':_0x5200ae(0x1f5),'pAcsJ':_0x5200ae(0x231),'MieIA':_0x5200ae(0x1d9),'TjrRC':function(_0x247dde,_0xf0a06){return _0x247dde===_0xf0a06;},'UzjTq':'Socket\x20closed','gZSiM':function(_0x4dfd6b,_0x1ef5ab){return _0x4dfd6b===_0x1ef5ab;},'ZWDbw':_0x5200ae(0x1f4),'CJkxJ':function(_0x52ce09,_0x5a78c3){return _0x52ce09===_0x5a78c3;},'ZQVpY':_0x5200ae(0x203),'kYQUG':function(_0x33aaa5,_0x25022a){return _0x33aaa5===_0x25022a;},'bQVLC':function(_0x1177c6,_0x24b682){return _0x1177c6===_0x24b682;},'ttJoJ':_0x5200ae(0x1d3),'jykoq':_0x5200ae(0x225),'pfpuE':'open','GqzWW':_0x5200ae(0x20e),'XaYbS':_0x5200ae(0x209),'Ojwhp':_0x5200ae(0x201)};_0x496b8e[_0x5200ae(0x1f1)](_0x1fd7c3[_0x5200ae(0x222)],()=>{const _0x2dfcc9=_0x5200ae,_0x21cd67={};_0x21cd67[_0x2dfcc9(0x1f3)]=_0x1fd7c3[_0x2dfcc9(0x21a)];const _0x376623=_0x21cd67;if(_0x1fd7c3[_0x2dfcc9(0x1c9)](_0x1fd7c3[_0x2dfcc9(0x1df)],_0x1fd7c3[_0x2dfcc9(0x1c7)])){if(_0x1fd7c3['Wntcp'](process[_0x2dfcc9(0x21f)][_0x2dfcc9(0x1ca)],_0x1fd7c3['uJkIY'])){if(_0x1fd7c3['Wntcp'](_0x1fd7c3['rIlYt'],_0x1fd7c3[_0x2dfcc9(0x1e6)]))logger[_0x2dfcc9(0x229)](_0x1fd7c3[_0x2dfcc9(0x1da)]);else{_0x1aa494[_0x2dfcc9(0x229)](_0x2dfcc9(0x219)+_0x423846['data']);let _0x3bb037,_0x51dda8;try{_0x51dda8=_0x1dee9b['parse'](_0x5b9040['data']),_0x3bb037=_0x51dda8[_0x2dfcc9(0x20d)];}catch(_0x4d1050){_0x1ce3d4[_0x2dfcc9(0x209)](_0x2dfcc9(0x1cd)+_0x59c7c5[_0x2dfcc9(0x1d8)]);}}}else _0x1fd7c3[_0x2dfcc9(0x21c)](_0x1fd7c3[_0x2dfcc9(0x1e3)],_0x1fd7c3[_0x2dfcc9(0x1e3)])?(logger[_0x2dfcc9(0x229)](_0x1fd7c3[_0x2dfcc9(0x221)]),process['env'][_0x2dfcc9(0x1e8)]=!![]):_0x3e594b[_0x2dfcc9(0x1eb)]=_0x49c2e6[_0x2dfcc9(0x1eb)];}else _0x162498[_0x2dfcc9(0x21f)][_0x2dfcc9(0x1ca)]=_0x376623['wnEkf'];}),_0x496b8e[_0x5200ae(0x1f1)](_0x1fd7c3['GqzWW'],async function(_0x4ed186){const _0x528243=_0x5200ae,_0x43388c={'PfMyk':function(_0x539c48){const _0x43976d=a33_0x27f6;return _0x1fd7c3[_0x43976d(0x1d2)](_0x539c48);},'nLPXD':function(_0x4bc808){const _0x348796=a33_0x27f6;return _0x1fd7c3[_0x348796(0x1d2)](_0x4bc808);},'reXmg':function(_0x6954cd){return _0x1fd7c3['DDjCE'](_0x6954cd);},'TxLmF':function(_0x1b346e){const _0x13ddea=a33_0x27f6;return _0x1fd7c3[_0x13ddea(0x224)](_0x1b346e);}};if(_0x1fd7c3[_0x528243(0x21c)](_0x1fd7c3['YgJai'],_0x1fd7c3[_0x528243(0x200)])){logger[_0x528243(0x229)](_0x528243(0x219)+_0x4ed186[_0x528243(0x1d8)]);let _0x5f1b29,_0x270668;try{_0x1fd7c3[_0x528243(0x1c9)](_0x1fd7c3[_0x528243(0x20b)],_0x1fd7c3[_0x528243(0x1ec)])?(_0x270668=JSON[_0x528243(0x1cb)](_0x4ed186[_0x528243(0x1d8)]),_0x5f1b29=_0x270668[_0x528243(0x20d)]):_0x582cad[_0x528243(0x1e4)]=_0x23a7d6[_0x528243(0x1e4)];}catch(_0x4f33a6){_0x1fd7c3[_0x528243(0x1c9)](_0x1fd7c3[_0x528243(0x22d)],_0x1fd7c3[_0x528243(0x22d)])?_0x1bcb00['debug'](_0x528243(0x1ea)+_0xf140e3):logger[_0x528243(0x209)](_0x528243(0x1cd)+_0x4ed186[_0x528243(0x1d8)]);}}else{let _0x5d2236=_0x43388c[_0x528243(0x20c)](_0x208693);const _0x31bcaf={'requestId':_0x36ca0f[_0x528243(0x213)],'username':_0x3c1596[_0x528243(0x210)],'cli_version':_0x5d2236[_0x528243(0x215)],'cli_path':_0x5d2236[_0x528243(0x1d6)],'os':_0x43388c[_0x528243(0x1fd)](_0x3ed356),'os_version':_0x43388c[_0x528243(0x226)](_0x54010e),'npm_version':_0x43388c[_0x528243(0x226)](_0x4f1254),'ci_environment':_0x43388c[_0x528243(0x1f7)](_0x55ac5f)};return _0x2c8971[_0x528243(0x1f2)]&&(_0x31bcaf['gridProfileId']=_0x139c32['gridProfileId']),_0x3237cb[_0x528243(0x1e4)]&&(_0x31bcaf[_0x528243(0x1e4)]=_0x252ab3[_0x528243(0x1e4)]),_0x649094[_0x528243(0x1eb)]&&(_0x31bcaf[_0x528243(0x1eb)]=_0x5ae6ef['gridName']),_0x31bcaf;}}),_0x496b8e[_0x5200ae(0x1f1)](_0x1fd7c3[_0x5200ae(0x1fa)],function(_0x5ae70c){const _0x452782=_0x5200ae;_0x1fd7c3[_0x452782(0x1ef)](_0x1fd7c3['ZWDbw'],_0x1fd7c3[_0x452782(0x1d5)])?logger[_0x452782(0x229)](_0x452782(0x1ea)+_0x5ae70c):(_0x1fd7c3[_0x452782(0x1f6)](_0x2146d0[_0x452782(0x21f)][_0x452782(0x1e8)],_0x1fd7c3[_0x452782(0x21a)])&&(_0x588b01[_0x452782(0x21f)][_0x452782(0x1ca)]=_0x1fd7c3['uJkIY']),_0x2194e9[_0x452782(0x229)](_0x1fd7c3[_0x452782(0x212)]));}),_0x496b8e['addEventListener'](_0x1fd7c3[_0x5200ae(0x227)],function(){const _0x52a36d=_0x5200ae,_0xcce58e={};_0xcce58e[_0x52a36d(0x22c)]=_0x1fd7c3[_0x52a36d(0x1da)];const _0x3e35a9=_0xcce58e;_0x1fd7c3[_0x52a36d(0x1e1)](_0x1fd7c3[_0x52a36d(0x1ed)],_0x1fd7c3[_0x52a36d(0x1ed)])?(_0x1fd7c3[_0x52a36d(0x21b)](process[_0x52a36d(0x21f)][_0x52a36d(0x1e8)],_0x1fd7c3[_0x52a36d(0x21a)])&&(_0x1fd7c3[_0x52a36d(0x22b)](_0x1fd7c3[_0x52a36d(0x228)],_0x1fd7c3[_0x52a36d(0x1e7)])?(_0x542c1d['debug'](_0x1fd7c3['jAlOD']),_0x584883[_0x52a36d(0x21f)][_0x52a36d(0x1e8)]=!![]):process[_0x52a36d(0x21f)][_0x52a36d(0x1ca)]=_0x1fd7c3[_0x52a36d(0x21a)]),logger[_0x52a36d(0x229)](_0x1fd7c3[_0x52a36d(0x212)])):_0x17b576[_0x52a36d(0x229)](_0x3e35a9[_0x52a36d(0x22c)]);});};const getLogMetaData=()=>{const _0x5356af=a33_0x30a360,_0x56f1d4={'XGLAf':function(_0x700c82,_0xf18544){return _0x700c82===_0xf18544;},'RnhIJ':'true','BwXDJ':_0x5356af(0x223),'yJRMx':'Socket\x20open','SKBGi':function(_0xbc1147){return _0xbc1147();},'pArHg':function(_0x58306c){return _0x58306c();},'PilNh':function(_0x4f5883){return _0x4f5883();},'sVunH':function(_0x5d4c1c){return _0x5d4c1c();},'ivPaR':function(_0x4271e1){return _0x4271e1();},'MsuWU':function(_0x58708e,_0x26b758){return _0x58708e!==_0x26b758;},'duEXi':'MhsdO','uoqzU':function(_0x27f459,_0x2973e2){return _0x27f459===_0x2973e2;},'wAuIN':_0x5356af(0x1c6),'UqKkO':'grmZj','WuHxJ':function(_0x118782,_0x8bbcd){return _0x118782!==_0x8bbcd;},'YOGpu':'USncJ','oMsLL':_0x5356af(0x1ff)};let _0xc5308c=_0x56f1d4[_0x5356af(0x1c5)](cli_version_and_path);const _0xab348d={'requestId':global_registry[_0x5356af(0x213)],'username':global_registry['bstackUsername'],'cli_version':_0xc5308c[_0x5356af(0x215)],'cli_path':_0xc5308c[_0x5356af(0x1d6)],'os':_0x56f1d4[_0x5356af(0x20a)](_os),'os_version':_0x56f1d4[_0x5356af(0x1cf)](os_version),'npm_version':_0x56f1d4[_0x5356af(0x1f8)](npm_version),'ci_environment':_0x56f1d4[_0x5356af(0x1e9)](ci_environment)};return global_registry['gridProfileId']&&(_0x56f1d4[_0x5356af(0x1fc)](_0x56f1d4[_0x5356af(0x202)],_0x56f1d4[_0x5356af(0x202)])?_0x56f1d4[_0x5356af(0x1f9)](_0x4c6ef9['env'][_0x5356af(0x1ca)],_0x56f1d4[_0x5356af(0x1fe)])?_0x18da6d[_0x5356af(0x229)](_0x56f1d4[_0x5356af(0x21d)]):(_0x1b1770[_0x5356af(0x229)](_0x56f1d4[_0x5356af(0x208)]),_0x2b9d62[_0x5356af(0x21f)][_0x5356af(0x1e8)]=!![]):_0xab348d[_0x5356af(0x1f2)]=global_registry[_0x5356af(0x1f2)]),global_registry[_0x5356af(0x1e4)]&&(_0x56f1d4[_0x5356af(0x218)](_0x56f1d4['wAuIN'],_0x56f1d4[_0x5356af(0x1dc)])?_0x212846[_0x5356af(0x1f2)]=_0x6db8b2[_0x5356af(0x1f2)]:_0xab348d['gridProfile']=global_registry[_0x5356af(0x1e4)]),global_registry['gridName']&&(_0x56f1d4[_0x5356af(0x232)](_0x56f1d4['YOGpu'],_0x56f1d4[_0x5356af(0x1db)])?_0xab348d[_0x5356af(0x1eb)]=global_registry['gridName']:_0x1bcbaf[_0x5356af(0x209)]('Not\x20a\x20valid\x20json\x20event;\x20data\x20=>\x20'+_0x41e4dc['data'])),_0xab348d;};exports[a33_0x30a360(0x1d1)]=_0x570047=>new Promise((_0x547564,_0x4a300c)=>setTimeout(_0x547564,_0x570047)),exports[a33_0x30a360(0x1d4)]=async(_0x2deb6d,_0xa68045,_0x34a3c2='info',_0xb21f44=![])=>{const _0x23a3a6=a33_0x30a360,_0xafe119={'fAfHL':function(_0x16e87d,_0x536699){return _0x16e87d===_0x536699;},'dtBgX':_0x23a3a6(0x1ce),'dfYMY':_0x23a3a6(0x22f),'HuIfI':function(_0xdd609a){return _0xdd609a();},'SiIGy':function(_0x410e63,_0x50ddef){return _0x410e63!==_0x50ddef;},'FtfaC':'oCLww','eyQlV':_0x23a3a6(0x1cc)};let _0x20804c=_0xa68045[_0x23a3a6(0x20e)];_0xafe119['fAfHL'](_0xa68045[_0x23a3a6(0x20d)],WS_EVENTS[_0x23a3a6(0x204)])&&(_0xafe119['fAfHL'](_0xafe119[_0x23a3a6(0x1e0)],_0xafe119[_0x23a3a6(0x1dd)])?_0x2af370='['+new _0x313591()['toUTCString']()+_0x23a3a6(0x1fb)+_0x34594a['message']:_0x20804c='['+new Date()['toUTCString']()+_0x23a3a6(0x1fb)+_0xa68045[_0x23a3a6(0x20e)]);const _0x4e62b5={};_0x4e62b5[_0x23a3a6(0x20e)]=_0x20804c,_0x4e62b5[_0x23a3a6(0x1f0)]=_0x34a3c2;const _0x1dc5dd={'type':_0xa68045['type'],..._0xafe119['HuIfI'](getLogMetaData),'data':_0x4e62b5};_0x2deb6d['send'](JSON[_0x23a3a6(0x230)](_0x1dc5dd)),_0xb21f44&&(_0xafe119[_0x23a3a6(0x1de)](_0xafe119[_0x23a3a6(0x1ee)],_0xafe119[_0x23a3a6(0x1e2)])?await this[_0x23a3a6(0x1d1)](0x1f4):(_0x370425=_0x22b99a['parse'](_0xec9116['data']),_0x2d2d22=_0x34aa0f[_0x23a3a6(0x20d)]));};
|
|
1
|
+
const a33_0x18893c=a33_0x3395;(function(_0x455652,_0x46c5cd){const _0x1de752=a33_0x3395,_0x1623af=_0x455652();while(!![]){try{const _0x142166=parseInt(_0x1de752(0x119))/0x1+parseInt(_0x1de752(0x11f))/0x2+-parseInt(_0x1de752(0xe9))/0x3+parseInt(_0x1de752(0x10e))/0x4*(-parseInt(_0x1de752(0x103))/0x5)+-parseInt(_0x1de752(0xf6))/0x6+parseInt(_0x1de752(0xed))/0x7+parseInt(_0x1de752(0xfe))/0x8*(parseInt(_0x1de752(0xeb))/0x9);if(_0x142166===_0x46c5cd)break;else _0x1623af['push'](_0x1623af['shift']());}catch(_0x1e9eaa){_0x1623af['push'](_0x1623af['shift']());}}}(a33_0x3929,0x7e902));const {global_registry,WS_EVENTS}=require(a33_0x18893c(0x121)),{logger}=require(a33_0x18893c(0x12c)),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require(a33_0x18893c(0x10d));function a33_0x3395(_0x561606,_0x140b20){const _0x39294f=a33_0x3929();return a33_0x3395=function(_0x3395f7,_0x2f6158){_0x3395f7=_0x3395f7-0xe2;let _0x4aaf53=_0x39294f[_0x3395f7];return _0x4aaf53;},a33_0x3395(_0x561606,_0x140b20);}exports['addListeners']=_0x5d16b3=>{const _0x749189=a33_0x18893c,_0x348d83={};_0x348d83['WpchD']=function(_0x35c8f7,_0x100736){return _0x35c8f7===_0x100736;},_0x348d83[_0x749189(0xe8)]=_0x749189(0x12d),_0x348d83[_0x749189(0x136)]=_0x749189(0x11b),_0x348d83[_0x749189(0x130)]='true',_0x348d83[_0x749189(0x123)]=function(_0x15d52c,_0x5bbca8){return _0x15d52c===_0x5bbca8;},_0x348d83[_0x749189(0x143)]=_0x749189(0x11d),_0x348d83['iwYby']=_0x749189(0xe5),_0x348d83['arqKG']='Socket\x20reconnected',_0x348d83[_0x749189(0xfa)]=function(_0x44c099,_0x77ed69){return _0x44c099!==_0x77ed69;},_0x348d83[_0x749189(0x14a)]='sEuXJ',_0x348d83['pZBdZ']=_0x749189(0x144),_0x348d83[_0x749189(0x12e)]=_0x749189(0x146),_0x348d83['ntIxQ']=function(_0x4301ec,_0x4fe993){return _0x4301ec!==_0x4fe993;},_0x348d83[_0x749189(0x11a)]=_0x749189(0xe3),_0x348d83[_0x749189(0x10a)]='TnBhu',_0x348d83[_0x749189(0x105)]=_0x749189(0x145),_0x348d83[_0x749189(0xee)]=function(_0x2c5f4d,_0x21d5ac){return _0x2c5f4d!==_0x21d5ac;},_0x348d83[_0x749189(0xec)]=_0x749189(0x132),_0x348d83[_0x749189(0x142)]=_0x749189(0x141),_0x348d83[_0x749189(0x147)]=function(_0x835281,_0x4bb1b8){return _0x835281===_0x4bb1b8;},_0x348d83['NGYkr']=_0x749189(0x140),_0x348d83['kyctH']=_0x749189(0xfd),_0x348d83[_0x749189(0x12f)]=function(_0x2d3217,_0x52ab33){return _0x2d3217===_0x52ab33;},_0x348d83['saafl']='Socket\x20closed',_0x348d83[_0x749189(0x116)]=function(_0x5cabaf,_0x4ee81d){return _0x5cabaf!==_0x4ee81d;},_0x348d83['LGScP']=_0x749189(0x13c),_0x348d83[_0x749189(0x137)]=function(_0x93536,_0x1a367d){return _0x93536===_0x1a367d;},_0x348d83['yBPxl']=_0x749189(0x13d),_0x348d83['aiOec']=_0x749189(0xf3),_0x348d83[_0x749189(0x118)]=_0x749189(0xe7),_0x348d83['gMnbh']='error',_0x348d83['VJXMF']=_0x749189(0x109);const _0x272bca=_0x348d83;_0x5d16b3[_0x749189(0x135)](_0x272bca[_0x749189(0xfc)],()=>{const _0xfab4f3=_0x749189;_0x272bca[_0xfab4f3(0x139)](_0x272bca['bPODA'],_0x272bca[_0xfab4f3(0x136)])?_0x1e4a56='['+new _0x2ea3bd()[_0xfab4f3(0xef)]()+_0xfab4f3(0xf8)+_0x282594[_0xfab4f3(0xe7)]:_0x272bca[_0xfab4f3(0x139)](process[_0xfab4f3(0xff)]['WS_CLOSED_BEFORE'],_0x272bca[_0xfab4f3(0x130)])?_0x272bca[_0xfab4f3(0x123)](_0x272bca[_0xfab4f3(0x143)],_0x272bca['iwYby'])?_0x1c3b5d['gridProfileId']=_0x492c05[_0xfab4f3(0x122)]:logger[_0xfab4f3(0x10b)](_0x272bca['arqKG']):_0x272bca[_0xfab4f3(0xfa)](_0x272bca[_0xfab4f3(0x14a)],_0x272bca[_0xfab4f3(0x107)])?(logger[_0xfab4f3(0x10b)](_0x272bca[_0xfab4f3(0x12e)]),process[_0xfab4f3(0xff)][_0xfab4f3(0x114)]=!![]):(_0x4a1ec6=_0x15959a[_0xfab4f3(0x14e)](_0x1a4dcb['data']),_0x2d17f6=_0x29b4c4[_0xfab4f3(0x115)]);}),_0x5d16b3['addEventListener'](_0x272bca[_0x749189(0x118)],async function(_0x19cab7){const _0x547653=_0x749189;if(_0x272bca[_0x547653(0x12b)](_0x272bca[_0x547653(0x11a)],_0x272bca['TpeVV']))_0x2b8add['gridName']=_0x4eeb0b[_0x547653(0x106)];else{logger['debug']('Message\x20received\x20from\x20server!\x20=>\x20'+_0x19cab7['data']);let _0x57c0b4,_0x3bfa22;try{_0x272bca[_0x547653(0xfa)](_0x272bca[_0x547653(0x10a)],_0x272bca['qPitB'])?(_0x3bfa22=JSON[_0x547653(0x14e)](_0x19cab7[_0x547653(0x124)]),_0x57c0b4=_0x3bfa22[_0x547653(0x115)]):_0x316956[_0x547653(0xf5)]=_0x3673cd[_0x547653(0xf5)];}catch(_0x3ea0be){if(_0x272bca['ukpMm'](_0x272bca[_0x547653(0xec)],_0x272bca['MSGtL']))logger[_0x547653(0x113)](_0x547653(0x111)+_0x19cab7['data']);else{_0x22cd14[_0x547653(0x10b)](_0x547653(0x12a)+_0xac142b[_0x547653(0x124)]);let _0x37c75f,_0x2c575c;try{_0x2c575c=_0x521305[_0x547653(0x14e)](_0x3c6fa2[_0x547653(0x124)]),_0x37c75f=_0x2c575c[_0x547653(0x115)];}catch(_0x40b195){_0x1b13b5[_0x547653(0x113)](_0x547653(0x111)+_0x5ef94a[_0x547653(0x124)]);}}}}}),_0x5d16b3[_0x749189(0x135)](_0x272bca[_0x749189(0x104)],function(_0x38a311){const _0x7338d6=_0x749189;_0x272bca[_0x7338d6(0x147)](_0x272bca[_0x7338d6(0x133)],_0x272bca['kyctH'])?_0x272bca['WpchD'](_0x49ce11[_0x7338d6(0xff)]['WS_CLOSED_BEFORE'],_0x272bca[_0x7338d6(0x130)])?_0x26c4a0[_0x7338d6(0x10b)](_0x272bca[_0x7338d6(0x126)]):(_0x4aa61b['debug'](_0x272bca[_0x7338d6(0x12e)]),_0x367ba0[_0x7338d6(0xff)][_0x7338d6(0x114)]=!![]):logger[_0x7338d6(0x10b)](_0x7338d6(0x148)+_0x38a311);}),_0x5d16b3['addEventListener'](_0x272bca[_0x749189(0x13b)],function(){const _0x506793=_0x749189,_0x438b8d={};_0x438b8d[_0x506793(0x13f)]=_0x272bca[_0x506793(0x126)];const _0x15b210=_0x438b8d;_0x272bca[_0x506793(0x116)](_0x272bca['LGScP'],_0x272bca[_0x506793(0x134)])?_0x2e7b03[_0x506793(0x10b)](_0x15b210[_0x506793(0x13f)]):(_0x272bca['GhKrn'](process[_0x506793(0xff)][_0x506793(0x114)],_0x272bca[_0x506793(0x130)])&&(_0x272bca[_0x506793(0x139)](_0x272bca[_0x506793(0x129)],_0x272bca['yBPxl'])?process[_0x506793(0xff)][_0x506793(0xf2)]=_0x272bca[_0x506793(0x130)]:(_0x272bca[_0x506793(0x12f)](_0x5d8839[_0x506793(0xff)][_0x506793(0x114)],_0x272bca['Ilgti'])&&(_0x1a452d[_0x506793(0xff)][_0x506793(0xf2)]=_0x272bca[_0x506793(0x130)]),_0x23a27e[_0x506793(0x10b)](_0x272bca[_0x506793(0xf7)]))),logger['debug'](_0x272bca[_0x506793(0xf7)]));});};function a33_0x3929(){const _0x1ccf93=['DFUcE','crCNC','sendEventToBackend','RKcvr','QbOEp','raKZp','TpqiO','message','bPODA','169176ItUEQq','send','72ICJXtK','UvGiD','5533262mUMQUS','ukpMm','toUTCString','VDsIo','dDTvf','WS_CLOSED_BEFORE','open','iVmjT','gridProfile','3779958lEBPNO','saafl',']:\x20','path','FscDt','fhoWw','aiOec','fdrXH','439760pejrwW','env','version','iuGfq','miXsp','3810740LQlKdA','gMnbh','qPitB','gridName','pZBdZ','logType','close','CCSFZ','debug','FzRHl','./instrumentationUtils','4URTovZ','fcraY','wzxbG','Not\x20a\x20valid\x20json\x20event;\x20data\x20=>\x20','IcEaI','error','WS_OPENED_BEFORE','type','tQQad','lxxhk','sftZc','31955QrQOwM','TpeVV','jNZSY','delay','YYSFH','seBsl','1409508XkiQeC','true','../config/constants','gridProfileId','Xgfoz','data','SrRUm','arqKG','YVoZi','zMrXC','yBPxl','Message\x20received\x20from\x20server!\x20=>\x20','ntIxQ','../config/logger','mBDbC','dbwhP','tMGAz','Ilgti','aVCge','ZlZew','NGYkr','LGScP','addEventListener','riqzK','GhKrn','stringify','WpchD','ktvrW','VJXMF','yyoVb','FQHEE','requestId','RPXkD','CzEgj','iGpVy','MSGtL','DpiNC','IdPLJ','xKKhY','Socket\x20open','LSWzO','Socket\x20error:\x20','xctoQ','KJIki','bstackUsername','nIiFb','LOG','parse'];a33_0x3929=function(){return _0x1ccf93;};return a33_0x3929();}const getLogMetaData=()=>{const _0xaeba37=a33_0x18893c,_0x4504a7={'ktvrW':_0xaeba37(0x146),'crCNC':function(_0xa0619d){return _0xa0619d();},'DFUcE':function(_0x29c3db){return _0x29c3db();},'cGSmA':function(_0x532a20){return _0x532a20();},'fhoWw':function(_0x3459eb,_0xcbbfa){return _0x3459eb!==_0xcbbfa;},'seBsl':_0xaeba37(0x110),'QbOEp':function(_0x579e15,_0x163f02){return _0x579e15===_0x163f02;},'YVoZi':_0xaeba37(0x14c),'miXsp':_0xaeba37(0x117),'VDsIo':_0xaeba37(0x125)};let _0x48f3c2=_0x4504a7['crCNC'](cli_version_and_path);const _0x26b350={'requestId':global_registry['requestId'],'username':global_registry[_0xaeba37(0x14b)],'cli_version':_0x48f3c2[_0xaeba37(0x100)],'cli_path':_0x48f3c2[_0xaeba37(0xf9)],'os':_0x4504a7[_0xaeba37(0x14f)](_os),'os_version':_0x4504a7['cGSmA'](os_version),'npm_version':_0x4504a7[_0xaeba37(0x14f)](npm_version),'ci_environment':_0x4504a7[_0xaeba37(0x150)](ci_environment)};return global_registry[_0xaeba37(0x122)]&&(_0x4504a7[_0xaeba37(0xfb)](_0x4504a7[_0xaeba37(0x11e)],_0x4504a7[_0xaeba37(0x11e)])?(_0x3f9633[_0xaeba37(0x10b)](_0x4504a7[_0xaeba37(0x13a)]),_0x5141f4[_0xaeba37(0xff)][_0xaeba37(0x114)]=!![]):_0x26b350[_0xaeba37(0x122)]=global_registry[_0xaeba37(0x122)]),global_registry[_0xaeba37(0xf5)]&&(_0x4504a7[_0xaeba37(0xe4)](_0x4504a7[_0xaeba37(0x127)],_0x4504a7[_0xaeba37(0x102)])?_0xf5a1bb[_0xaeba37(0x10b)](_0xaeba37(0x148)+_0x5eec4f):_0x26b350[_0xaeba37(0xf5)]=global_registry[_0xaeba37(0xf5)]),global_registry[_0xaeba37(0x106)]&&(_0x4504a7[_0xaeba37(0xe4)](_0x4504a7[_0xaeba37(0xf0)],_0x4504a7[_0xaeba37(0xf0)])?_0x26b350[_0xaeba37(0x106)]=global_registry[_0xaeba37(0x106)]:_0xdeca07['error'](_0xaeba37(0x111)+_0x28cf3b[_0xaeba37(0x124)])),_0x26b350;};exports[a33_0x18893c(0x11c)]=_0x27e690=>new Promise((_0xae0131,_0x26c536)=>setTimeout(_0xae0131,_0x27e690)),exports[a33_0x18893c(0xe2)]=async(_0x56879c,_0x4b5577,_0x24c3ac='info',_0x52aecb=![])=>{const _0x34ed7d=a33_0x18893c,_0x552f06={'aVCge':_0x34ed7d(0x120),'iuGfq':function(_0xc8cce0){return _0xc8cce0();},'Ivkau':function(_0xdd6682){return _0xdd6682();},'zMrXC':function(_0x48d31d){return _0x48d31d();},'iVmjT':function(_0x74f294){return _0x74f294();},'xctoQ':function(_0x3d5486,_0x2e0108){return _0x3d5486===_0x2e0108;},'TpqiO':_0x34ed7d(0xf1),'rKjDq':function(_0x271b6d){return _0x271b6d();},'FzRHl':function(_0x23d7b3,_0x38f071){return _0x23d7b3!==_0x38f071;},'fcraY':_0x34ed7d(0x112)};let _0x16d867=_0x4b5577[_0x34ed7d(0xe7)];_0x552f06[_0x34ed7d(0x149)](_0x4b5577[_0x34ed7d(0x115)],WS_EVENTS[_0x34ed7d(0x14d)])&&(_0x552f06[_0x34ed7d(0x149)](_0x552f06[_0x34ed7d(0xe6)],_0x552f06[_0x34ed7d(0xe6)])?_0x16d867='['+new Date()[_0x34ed7d(0xef)]()+_0x34ed7d(0xf8)+_0x4b5577[_0x34ed7d(0xe7)]:_0x2a2ac1[_0x34ed7d(0xff)][_0x34ed7d(0xf2)]=_0x552f06[_0x34ed7d(0x131)]);const _0x2673d1={};_0x2673d1[_0x34ed7d(0xe7)]=_0x16d867,_0x2673d1[_0x34ed7d(0x108)]=_0x24c3ac;const _0x55ceae={'type':_0x4b5577[_0x34ed7d(0x115)],..._0x552f06['rKjDq'](getLogMetaData),'data':_0x2673d1};_0x56879c[_0x34ed7d(0xea)](JSON[_0x34ed7d(0x138)](_0x55ceae));if(_0x52aecb){if(_0x552f06[_0x34ed7d(0x10c)](_0x552f06[_0x34ed7d(0x10f)],_0x552f06[_0x34ed7d(0x10f)])){let _0x171939=_0x552f06[_0x34ed7d(0x101)](_0x3ec05d);const _0x2caf7a={'requestId':_0x53d810[_0x34ed7d(0x13e)],'username':_0x58fa59[_0x34ed7d(0x14b)],'cli_version':_0x171939['version'],'cli_path':_0x171939[_0x34ed7d(0xf9)],'os':_0x552f06[_0x34ed7d(0x101)](_0x479de4),'os_version':_0x552f06['Ivkau'](_0x4bc794),'npm_version':_0x552f06[_0x34ed7d(0x128)](_0x2d94f2),'ci_environment':_0x552f06[_0x34ed7d(0xf4)](_0x5f04eb)};return _0x18a13c[_0x34ed7d(0x122)]&&(_0x2caf7a['gridProfileId']=_0x36a27d[_0x34ed7d(0x122)]),_0x224935[_0x34ed7d(0xf5)]&&(_0x2caf7a['gridProfile']=_0x1117f1[_0x34ed7d(0xf5)]),_0x5e1a8c[_0x34ed7d(0x106)]&&(_0x2caf7a[_0x34ed7d(0x106)]=_0x5f10e9['gridName']),_0x2caf7a;}else await this[_0x34ed7d(0x11c)](0x1f4);}};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x1aa2e4=a0_0x4ffb;function a0_0x4ffb(_0x4b4264,_0x597e76){const _0x22ecfc=a0_0x22ec();return a0_0x4ffb=function(_0x4ffb94,_0xbc4b58){_0x4ffb94=_0x4ffb94-0xa8;let _0x7fff7=_0x22ecfc[_0x4ffb94];return _0x7fff7;},a0_0x4ffb(_0x4b4264,_0x597e76);}(function(_0x4f786b,_0x5b0db9){const _0xd3e3a1=a0_0x4ffb,_0xf91d56=_0x4f786b();while(!![]){try{const _0x283eaf=parseInt(_0xd3e3a1(0xec))/0x1*(-parseInt(_0xd3e3a1(0x124))/0x2)+-parseInt(_0xd3e3a1(0xb2))/0x3*(-parseInt(_0xd3e3a1(0xf3))/0x4)+-parseInt(_0xd3e3a1(0xc6))/0x5*(parseInt(_0xd3e3a1(0xb6))/0x6)+parseInt(_0xd3e3a1(0x136))/0x7*(parseInt(_0xd3e3a1(0x11c))/0x8)+parseInt(_0xd3e3a1(0x13d))/0x9+-parseInt(_0xd3e3a1(0xc7))/0xa+parseInt(_0xd3e3a1(0xd0))/0xb*(parseInt(_0xd3e3a1(0xa9))/0xc);if(_0x283eaf===_0x5b0db9)break;else _0xf91d56['push'](_0xf91d56['shift']());}catch(_0x9ad04){_0xf91d56['push'](_0xf91d56['shift']());}}}(a0_0x22ec,0x523c4));const fs=require('fs'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a0_0x1aa2e4(0x146))[a0_0x1aa2e4(0xed)],testOpsHelper=require(a0_0x1aa2e4(0xd3)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a0_0x1aa2e4(0x101)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a0_0x1aa2e4(0xf1)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a0_0x1aa2e4(0xac)),scripts=require(a0_0x1aa2e4(0xe7)),PerformanceTester=require(a0_0x1aa2e4(0xd2)),{fetchPlatformDetails,processWebDriverConfig,shouldPatchExecuteScript}=require(a0_0x1aa2e4(0xd1)),CodeceptJS=requireModule(a0_0x1aa2e4(0x11d)),CodeceptUtils=requireModule(a0_0x1aa2e4(0xe1)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a0_0x1aa2e4(0xde)),CodeceptPlaywright=requireModule(a0_0x1aa2e4(0x106)),playwrightMarkSessionStatus=(_0x254931,_0x5c80d8,_0x4c6c15)=>{const _0x2e6a26=a0_0x1aa2e4,_0xa8e02a={'knTwa':_0x2e6a26(0xc3),'kXhFc':function(_0x138cf0,_0x1ba439){return _0x138cf0(_0x1ba439);}},_0x258ac0={};_0x258ac0[_0x2e6a26(0xbb)]=_0x5c80d8;const _0x125990={};_0x125990['action']=_0xa8e02a[_0x2e6a26(0x12e)],_0x125990['arguments']=_0x258ac0;const _0x570bc6=_0x125990;return!_0xa8e02a[_0x2e6a26(0xca)](isUndefined,_0x4c6c15)&&(_0x570bc6[_0x2e6a26(0x14b)][_0x2e6a26(0xf4)]=JSON[_0x2e6a26(0x122)](_0x4c6c15)),_0x254931['executeScript'](()=>{},_0x2e6a26(0xb3)+JSON[_0x2e6a26(0x122)](_0x570bc6));},o11ySync=async _0x2f89f9=>{const _0x6d5cdf=a0_0x1aa2e4,_0x393346={};_0x393346[_0x6d5cdf(0xd5)]=function(_0x2b8672,_0x1be0cd){return _0x2b8672===_0x1be0cd;},_0x393346[_0x6d5cdf(0x10d)]='Playwright';const _0x2cd43a=_0x393346;_0x2cd43a[_0x6d5cdf(0xd5)](_0x2f89f9[_0x6d5cdf(0x143)]['name'],_0x2cd43a[_0x6d5cdf(0x10d)])?await _0x2f89f9['executeScript'](_0x4b654c=>{},testOpsHelper[_0x6d5cdf(0xd6)]()):await _0x2f89f9['executeScript'](testOpsHelper[_0x6d5cdf(0xd6)]());},markSessionName=async(_0x233f54,_0x6a8b3e)=>{const _0x47cc06=a0_0x1aa2e4,_0x416bd7={};_0x416bd7[_0x47cc06(0x142)]='setSessionName',_0x416bd7[_0x47cc06(0x109)]=function(_0x26ec4e,_0x3689b5){return _0x26ec4e===_0x3689b5;},_0x416bd7[_0x47cc06(0xc0)]=_0x47cc06(0x108);const _0x154aec=_0x416bd7,_0x1ae8df={};_0x1ae8df[_0x47cc06(0x13f)]=_0x6a8b3e;const _0x1fea87={};_0x1fea87[_0x47cc06(0x117)]=_0x154aec[_0x47cc06(0x142)],_0x1fea87['arguments']=_0x1ae8df;const _0x4a7255=_0x1fea87;_0x154aec[_0x47cc06(0x109)](_0x233f54[_0x47cc06(0x143)]['name'],_0x154aec[_0x47cc06(0xc0)])?await _0x233f54[_0x47cc06(0x13c)](()=>{},_0x47cc06(0xb3)+JSON[_0x47cc06(0x122)](_0x4a7255)):await _0x233f54['executeScript']('browserstack_executor:\x20'+JSON[_0x47cc06(0x122)](_0x4a7255));},patchSaveScreenshot=_0x29e109=>{const _0x5c6d9b=a0_0x1aa2e4,_0x498c00={'ZiAfQ':_0x5c6d9b(0xd9),'MqnYb':_0x5c6d9b(0x10f),'vwOxs':function(_0x5869ad){return _0x5869ad();},'XBdNu':function(_0xa5818a,_0x4f1f1b){return _0xa5818a(_0x4f1f1b);}};_0x498c00['XBdNu'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x29e109[_0x5c6d9b(0x144)]&&(_0x29e109[_0x5c6d9b(0x144)]=!![],_0x29e109[_0x5c6d9b(0xbe)]=_0x29e109[_0x5c6d9b(0x135)],_0x29e109[_0x5c6d9b(0x135)]=(_0x579c58,_0x633649=![])=>{const _0x307c34={'tjbNr':_0x498c00['ZiAfQ'],'cEePm':_0x498c00['MqnYb'],'FOUoq':function(_0x3e2571){return _0x498c00['vwOxs'](_0x3e2571);}};return new Promise(function(_0x17a57f,_0x47869b){const _0x32f87a=a0_0x4ffb;_0x29e109['initSaveScreenshot'](_0x579c58,_0x633649)[_0x32f87a(0xe0)](()=>{const _0x332a1d=_0x32f87a,_0x55d2d5=CodeceptUtils[_0x332a1d(0xda)](_0x579c58),_0x5318e5=fs[_0x332a1d(0xf8)](_0x55d2d5);process[_0x332a1d(0xb0)](_0x332a1d(0x113)+process[_0x332a1d(0x149)],{'timestamp':new Date()['toISOString'](),'message':_0x5318e5[_0x332a1d(0x111)](_0x307c34[_0x332a1d(0xf9)]),'kind':_0x307c34['cEePm']}),_0x307c34['FOUoq'](_0x17a57f);})[_0x32f87a(0x137)](()=>null);});});},patchWebDriverBefore=_0x138cb1=>{const _0x3a78a9=a0_0x1aa2e4,_0xdbd509={'JotWB':function(_0x2548d8){return _0x2548d8();},'gJBNW':function(_0x59cc58,_0x4f7c55){return _0x59cc58(_0x4f7c55);},'LNgro':function(_0x2e1ec6,_0x5c9c44){return _0x2e1ec6===_0x5c9c44;},'rWgkR':'Element'},_0x4f724b=async function(_0x35015c,_0x4169fa){const _0x4b837e=a0_0x4ffb;return _0xdbd509[_0x4b837e(0x130)](isAccessibilityAutomationSession)&&!global[_0x4b837e(0x148)]&&global[_0x4b837e(0x13a)]&&scripts[_0x4b837e(0x147)](_0x35015c[_0x4b837e(0x13f)])&&_0xdbd509[_0x4b837e(0xc2)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4b837e(0x148)]=!![],logger['debug']('Performing\x20scan\x20for\x20'+_0x35015c[_0x4b837e(0xfd)]+'\x20'+_0x35015c['name']),await AccessibilityHelper[_0x4b837e(0x12c)](_0x138cb1,scripts[_0x4b837e(0xef)])),global['bstackAllyScanning']=![],_0x4169fa['apply'](this,Array[_0x4b837e(0x12f)]['slice'][_0x4b837e(0xab)](arguments,0x2));},_0x216f5d=CodeceptWebDriver[_0x3a78a9(0x12f)]['_before'];CodeceptWebDriver[_0x3a78a9(0x12f)][_0x3a78a9(0xe8)]=async function(){const _0x2b0938=_0x3a78a9;await _0x216f5d[_0x2b0938(0xea)](this,arguments),scripts[_0x2b0938(0x118)][_0x2b0938(0x128)](_0x20ed19=>_0x20ed19[_0x2b0938(0x13f)]&&_0x20ed19[_0x2b0938(0xfd)])[_0x2b0938(0x11f)](_0x4bc258=>{const _0x168253=_0x2b0938;this[_0x168253(0xf6)][_0x168253(0x123)](_0x4bc258[_0x168253(0x13f)],_0x4f724b[_0x168253(0x11b)](this,_0x4bc258),_0xdbd509[_0x168253(0x139)](_0x4bc258[_0x168253(0xfd)],_0xdbd509[_0x168253(0xf5)]));}),_0xdbd509['gJBNW'](processWebDriverConfig,_0x138cb1);};},patchPlaywrightBefore=()=>{const _0x5a5577=a0_0x1aa2e4;PlaywrightSessionDetails[_0x5a5577(0x114)]();const _0x4e826f=CodeceptPlaywright[_0x5a5577(0x12f)][_0x5a5577(0xe8)];CodeceptPlaywright[_0x5a5577(0x12f)][_0x5a5577(0xe8)]=async function(){const _0x24acd4=_0x5a5577;this['browserContext']=await this[_0x24acd4(0xf6)][_0x24acd4(0x110)]()[0x0],await _0x4e826f[_0x24acd4(0xea)](this,arguments);};},getCodeceptDriver=()=>{const _0x17e639=a0_0x1aa2e4,_0x81390f={};_0x81390f[_0x17e639(0x125)]=_0x17e639(0xba),_0x81390f['UsBmB']=_0x17e639(0x108),_0x81390f[_0x17e639(0xee)]='Puppeteer',_0x81390f[_0x17e639(0x133)]=_0x17e639(0x121);const _0x46be8d=_0x81390f,_0x464c6d=[_0x46be8d[_0x17e639(0x125)],_0x46be8d['UsBmB'],_0x46be8d[_0x17e639(0xee)],_0x46be8d['gImPq']],_0x3186cf=_0x464c6d[_0x17e639(0xcb)](_0x673792=>!!CodeceptJS[_0x17e639(0xaa)][_0x17e639(0x102)](_0x673792));if(!_0x3186cf)return null;return CodeceptJS[_0x17e639(0xaa)][_0x17e639(0x102)](_0x3186cf);};module['exports']=function(_0x4622c1){const _0x435e61=a0_0x1aa2e4,_0x5b2ebe={'Ivatu':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','WdMxZ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','RnEqM':function(_0x10a764){return _0x10a764();},'ntnym':function(_0x590345){return _0x590345();},'VqfwM':function(_0x390a43,_0x148401){return _0x390a43(_0x148401);},'wluIT':function(_0x554b82,_0x1c011f,_0x3a0ff0){return _0x554b82(_0x1c011f,_0x3a0ff0);},'GzqzF':function(_0x33f9b2){return _0x33f9b2();},'sBDJh':function(_0x28252c,_0x5e65d2,_0x48b440,_0x1e0c81){return _0x28252c(_0x5e65d2,_0x48b440,_0x1e0c81);},'ttXtZ':function(_0x242f9c,_0x10ba40){return _0x242f9c===_0x10ba40;},'inojC':_0x435e61(0x105),'uAiAf':function(_0x2537cb){return _0x2537cb();},'aeEEK':_0x435e61(0xcf),'pAxic':_0x435e61(0xdc),'YGUTb':'browser','jSsPu':_0x435e61(0x129),'QIGLw':_0x435e61(0xe5),'yZDfL':_0x435e61(0x103),'arCix':_0x435e61(0x132),'wnzaK':'Playwright','JpXgn':function(_0x5a0c4f,_0x4ea5be){return _0x5a0c4f(_0x4ea5be);}};_0x4622c1[_0x435e61(0x127)]&&(global['__skipSessionStatus']=_0x4622c1['skipSessionStatus']);PerformanceTester[_0x435e61(0xf0)]();const _0x40234d=_0x5b2ebe['RnEqM'](getCodeceptDriver),_0xa2181a=new O11yHelper(_0x40234d,_0x4622c1),_0x59f04e=!!CodeceptJS[_0x435e61(0xaa)]['helpers'](_0x5b2ebe[_0x435e61(0xb5)]);global[_0x435e61(0xe4)]=_0x40234d,_0x40234d&&(_0x59f04e?_0x5b2ebe['ntnym'](patchPlaywrightBefore):_0x5b2ebe[_0x435e61(0xd8)](patchWebDriverBefore,_0x40234d),_0x40234d['getAccessibilityResultsSummary']=async()=>{const _0x452429=_0x435e61;if(global[_0x452429(0x13a)])await AccessibilityHelper['browserStackExecuteDriver'](_0x40234d,scripts[_0x452429(0xef)]),await AccessibilityHelper[_0x452429(0x12c)](_0x40234d,scripts[_0x452429(0x138)]);else return logger[_0x452429(0x10a)](_0x5b2ebe[_0x452429(0xdf)]),{};},_0x40234d['getAccessibilityResults']=async()=>{const _0x408899=_0x435e61;if(global[_0x408899(0x13a)])await AccessibilityHelper[_0x408899(0x12c)](_0x40234d,scripts[_0x408899(0xef)]),await AccessibilityHelper[_0x408899(0x12c)](_0x40234d,scripts['getResults']);else return logger[_0x408899(0x10a)](_0x5b2ebe[_0x408899(0x134)]),{};},_0x5b2ebe[_0x435e61(0xd8)](patchSaveScreenshot,_0x40234d)),CodeceptJS['event'][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)]['all'][_0x435e61(0xc5)],()=>{const _0x1a1234=_0x435e61;try{_0xa2181a[_0x1a1234(0xbf)](),testOpsHelper[_0x1a1234(0xa8)]();}catch(_0x19f487){PerformanceTester['captureError'](_0x19f487);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event']['all'][_0x435e61(0x140)],async()=>{const _0x36af1f=_0x435e61;try{requestSpy[_0x36af1f(0x119)](),await _0xa2181a[_0x36af1f(0x131)]();}catch(_0x344f6e){PerformanceTester[_0x36af1f(0xb4)](_0x344f6e);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)]['hook'][_0x435e61(0x104)],_0x7d3af6=>{const _0x540d80=_0x435e61;try{const _0x286f7d=_0x7d3af6[_0x540d80(0xbc)][_0x540d80(0xcc)],_0x5b7cae=_0xa2181a['captureEvent'](TEST_EVENTS[_0x540d80(0x11e)],_0x286f7d);CodeceptRecorder[_0x540d80(0xc8)](()=>_0xa2181a[_0x540d80(0xe6)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x5b7cae));}catch(_0x500324){PerformanceTester[_0x540d80(0xb4)](_0x500324);}}),CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xc4)][_0x435e61(0xfa)],_0x43f6b4=>{const _0xa179e6=_0x435e61;try{const _0x1d7a24=_0x43f6b4[_0xa179e6(0xbc)][_0xa179e6(0xcc)],_0x28194c=_0xa2181a[_0xa179e6(0x145)](TEST_EVENTS[_0xa179e6(0x107)],_0x1d7a24);CodeceptRecorder['add'](()=>_0xa2181a['fireEvent'](TEST_EVENTS[_0xa179e6(0x107)],_0x28194c));}catch(_0x320d92){PerformanceTester[_0xa179e6(0xb4)](_0x320d92);}}),CodeceptJS['event'][_0x435e61(0xc9)]['on'](CodeceptJS['event'][_0x435e61(0xc4)]['failed'],async(_0x577934,_0x4d891f)=>{const _0x4d3621=_0x435e61;try{const _0x1e6aac=_0x577934['ctx']['test'],_0x2a0e36=_0xa2181a[_0x4d3621(0x145)](TEST_EVENTS[_0x4d3621(0x107)],_0x1e6aac,_0x4d891f);CodeceptRecorder[_0x4d3621(0xc8)](()=>_0xa2181a[_0x4d3621(0xe6)](TEST_EVENTS[_0x4d3621(0x107)],_0x2a0e36));}catch(_0x61d937){PerformanceTester[_0x4d3621(0xb4)](_0x61d937);}}),CodeceptJS['event'][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xcc)]['before'],_0x2d6af8=>{const _0x2259ba=_0x435e61;try{_0x5b2ebe[_0x2259ba(0xbd)](isBrowserstackInfra)&&(_0x59f04e&&(global['__workerDetails']={'currentTest':{'name':_0x2d6af8[_0x2259ba(0x100)],'testInfo':{'titlePath':_0x2d6af8[_0x2259ba(0xb9)]()}}}));}catch(_0x2acd57){PerformanceTester[_0x2259ba(0xb4)](_0x2acd57);}}),CodeceptJS['event'][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xcc)][_0x435e61(0x104)],_0x1e1201=>{const _0x3997c9=_0x435e61,_0x395da0={'czfJL':function(_0x505924){const _0x93beae=a0_0x4ffb;return _0x5b2ebe[_0x93beae(0x14a)](_0x505924);},'hJNXc':function(_0x266e0d,_0x3898fb){const _0x20182c=a0_0x4ffb;return _0x5b2ebe[_0x20182c(0xaf)](_0x266e0d,_0x3898fb);},'oKEel':function(_0x9cbaa,_0x25db1b,_0x538211){const _0x213579=a0_0x4ffb;return _0x5b2ebe[_0x213579(0xc1)](_0x9cbaa,_0x25db1b,_0x538211);}};try{const _0x575b0c=_0xa2181a[_0x3997c9(0x145)](TEST_EVENTS[_0x3997c9(0x112)],_0x1e1201);CodeceptRecorder[_0x3997c9(0xc8)](()=>_0xa2181a['fireEvent'](TEST_EVENTS[_0x3997c9(0x112)],_0x575b0c)),CodeceptRecorder[_0x3997c9(0xc8)](async()=>{const _0x214734=_0x3997c9;_0x395da0[_0x214734(0xdb)](isBrowserstackInfra)&&(!_0x395da0['hJNXc'](isTrue,_0x4622c1['skipSessionName'])&&await _0x395da0[_0x214734(0x10c)](markSessionName,_0x40234d,_0x1e1201[_0x214734(0x100)]),_0xa2181a[_0x214734(0xe3)]&&await _0x395da0[_0x214734(0x12b)](o11ySync,_0x40234d));});}catch(_0x204335){PerformanceTester['captureError'](_0x204335);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xcc)][_0x435e61(0xfa)],_0x13b196=>{const _0x25bf0d=_0x435e61,_0x50de3b={'WOdiu':function(_0x32c11f){return _0x5b2ebe['GzqzF'](_0x32c11f);},'avJsw':function(_0x50b50c,_0x702f8e,_0x25aa03){const _0x4a21a4=a0_0x4ffb;return _0x5b2ebe[_0x4a21a4(0xc1)](_0x50b50c,_0x702f8e,_0x25aa03);}};try{const _0x4b23af=_0xa2181a[_0x25bf0d(0x145)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x13b196);CodeceptRecorder[_0x25bf0d(0xc8)](()=>_0xa2181a[_0x25bf0d(0xe6)](TEST_EVENTS[_0x25bf0d(0xd7)],_0x4b23af)),CodeceptRecorder[_0x25bf0d(0xc8)](async()=>{const _0x5a9081=_0x25bf0d;_0x50de3b['WOdiu'](isBrowserstackInfra)&&(_0x59f04e?await _0x50de3b[_0x5a9081(0xae)](playwrightMarkSessionStatus,_0x40234d,STATE_PASSED):await _0x50de3b[_0x5a9081(0xae)](markSessionStatus,_0x40234d,STATE_PASSED));});}catch(_0x1373b2){PerformanceTester[_0x25bf0d(0xb4)](_0x1373b2);}}),CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)]['test'][_0x435e61(0xdd)],(_0x2e9bde,_0x7dc0d7)=>{const _0x4fe7da=_0x435e61,_0x2914b5={'TsKnJ':function(_0x3e33d2){const _0x3fa965=a0_0x4ffb;return _0x5b2ebe[_0x3fa965(0xbd)](_0x3e33d2);},'YlLZh':function(_0x314016,_0x357651,_0x126df3,_0x91e6f9){const _0x9f6de1=a0_0x4ffb;return _0x5b2ebe[_0x9f6de1(0xfe)](_0x314016,_0x357651,_0x126df3,_0x91e6f9);}};try{if(_0x5b2ebe[_0x4fe7da(0xce)](_0x2e9bde[_0x4fe7da(0x143)]['name'],_0x5b2ebe[_0x4fe7da(0x115)])){const _0x5ce357=_0xa2181a['captureEvent'](TEST_EVENTS[_0x4fe7da(0xfc)],_0x2e9bde['ctx'][_0x4fe7da(0xcd)]);CodeceptRecorder['add'](()=>_0xa2181a[_0x4fe7da(0xe6)](TEST_EVENTS[_0x4fe7da(0xfc)],_0x5ce357));}else{const _0x226736=_0xa2181a[_0x4fe7da(0x145)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2e9bde,_0x7dc0d7);CodeceptRecorder[_0x4fe7da(0xc8)](()=>_0xa2181a[_0x4fe7da(0xe6)](TEST_EVENTS[_0x4fe7da(0xd7)],_0x226736)),CodeceptRecorder['add'](async()=>{const _0x2b134d=_0x4fe7da;_0x2914b5[_0x2b134d(0x13e)](isBrowserstackInfra)&&(_0x59f04e?await _0x2914b5[_0x2b134d(0xb8)](playwrightMarkSessionStatus,_0x40234d,STATE_FAILED,_0x7dc0d7):await _0x2914b5[_0x2b134d(0xb8)](markSessionStatus,_0x40234d,STATE_FAILED,_0x7dc0d7));});}}catch(_0x4f064b){PerformanceTester[_0x4fe7da(0xb4)](_0x4f064b);}}),CodeceptJS['event'][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xcc)][_0x435e61(0x141)],_0x3c4c3c=>{const _0xc21dfe=_0x435e61;try{const _0x259950=_0xa2181a[_0xc21dfe(0x145)](TEST_EVENTS[_0xc21dfe(0xfc)],_0x3c4c3c);CodeceptRecorder[_0xc21dfe(0xc8)](()=>_0xa2181a[_0xc21dfe(0xe6)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x259950));}catch(_0x5e7f7a){PerformanceTester['captureError'](_0x5e7f7a);}}),CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xcc)][_0x435e61(0x140)],async(_0x36ccd9,_0x560ac4)=>{const _0x15bef0=_0x435e61;try{if(_0x5b2ebe[_0x15bef0(0x12d)](isBrowserstackInfra)){const _0x31d3a0=_0x5b2ebe[_0x15bef0(0xc1)](shouldScanTestForAccessibility,_0x36ccd9[_0x15bef0(0xb9)](),!![]);if(_0x5b2ebe[_0x15bef0(0xe2)](isAccessibilityAutomationSession)&&global[_0x15bef0(0x13a)]&&_0x31d3a0){const _0xd625df=global[_0x15bef0(0xff)],_0x354ea2=_0x5b2ebe['VqfwM'](fetchPlatformDetails,_0x40234d)[_0xd625df],_0x33e905={};_0x33e905['os_name']=_0x354ea2[_0x5b2ebe[_0x15bef0(0xf2)]],_0x33e905['os_version']=_0x354ea2[_0x5b2ebe[_0x15bef0(0x10b)]],_0x33e905['browser_name']=_0x354ea2[_0x5b2ebe[_0x15bef0(0xd4)]],_0x33e905[_0x15bef0(0x129)]=_0x354ea2[_0x5b2ebe[_0x15bef0(0x116)]];const _0x5c1464={'saveResults':_0x31d3a0,'testDetails':{'name':_0x36ccd9[_0x15bef0(0x100)],'testRunId':process[_0x15bef0(0xeb)][_0x15bef0(0xfb)],'filePath':_0x36ccd9[_0x15bef0(0xb7)],'scopeList':_0x36ccd9['titlePath']()},'platform':_0x33e905};CodeceptRecorder[_0x15bef0(0xc8)](async()=>{const _0x25cfda=_0x15bef0;await AccessibilityHelper[_0x25cfda(0x12c)](_0x40234d,scripts[_0x25cfda(0xef)]),await AccessibilityHelper[_0x25cfda(0x12c)](_0x40234d,scripts[_0x25cfda(0xe9)],_0x5c1464);}),logger[_0x15bef0(0xad)](_0x5b2ebe[_0x15bef0(0x120)]);}}}catch(_0x578b3c){PerformanceTester['captureError'](_0x578b3c);}}),CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xc9)]['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0xb1)]['comment'],_0x5cdb2f=>{const _0x50da14=_0x435e61;try{process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x50da14(0x12a)](),'level':_0x5b2ebe[_0x50da14(0x11a)],'message':_0x5cdb2f,'kind':_0x5b2ebe[_0x50da14(0x13b)],'http_response':{}});}catch(_0x47c8cd){PerformanceTester['captureError'](_0x47c8cd);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x435e61(0xf7)][_0x435e61(0x126)]['started'],_0x10d5bd=>{_0xa2181a['bddStepStart'](_0x10d5bd);}),CodeceptJS[_0x435e61(0xf7)]['dispatcher']['on'](CodeceptJS['event']['bddStep']['finished'],_0x31b12f=>{const _0x1ea74b=_0x435e61;_0xa2181a[_0x1ea74b(0x10e)](_0x31b12f);});};function a0_0x22ec(){const _0x50e779=['../../helpers/accessibility-automation/scripts','_before','saveTestResults','apply','env','1LOhCRj','winstonLogger','nYJZd','performScan','startMonitoring','./o11yHelper','aeEEK','692yZnHSj','reason','rWgkR','browser','event','readFileSync','tjbNr','passed','BS_A11Y_TEST_RUN_ID','TEST_RUN_SKIPPED','class','sBDJh','__cloud_provider___','title','../../bin/playwright/sessionDetails','helpers','INFO','started','Suite','codeceptjs/lib/helper/Playwright.js','HOOK_RUN_FINISHED','Playwright','kwbpZ','warn','pAxic','oKEel','LQLyj','bddStepFinish','TEST_SCREENSHOT','contexts','toString','TEST_RUN_STARTED','bs:addLog:','patch','inojC','jSsPu','action','commandsToWrap','restore','yZDfL','bind','8EJVpfj','codeceptjs/lib/index.js','HOOK_RUN_STARTED','forEach','QIGLw','TestCafe','stringify','overwriteCommand','579954VaYPkG','obAAP','bddStep','skipSessionStatus','filter','browser_version','toISOString','hJNXc','browserStackExecuteDriver','uAiAf','knTwa','prototype','JotWB','stop','TEST_LOG','gImPq','WdMxZ','saveScreenshot','1107323djQdhH','catch','getResultsSummary','LNgro','accessibilityPlatform','arCix','executeScript','4224762NNLMsq','TsKnJ','name','after','skipped','AiImr','constructor','patchSaveScreenshot','captureEvent','../../helpers/logger','shouldWrapCommand','bstackAllyScanning','pid','ntnym','arguments','addRequestSpy','1164APunZy','container','call','../../bin/playwright/accessibility-helper','info','avJsw','VqfwM','emit','step','7455nGvPGN','browserstack_executor:\x20','captureError','wnzaK','6mWDFNL','file','YlLZh','titlePath','WebDriver','status','ctx','RnEqM','initSaveScreenshot','start','ntsiO','wluIT','gJBNW','setSessionStatus','hook','before','2964980qZfnHD','4186360OSDuUg','add','dispatcher','kXhFc','find','test','currentTest','ttXtZ','platform','65879oiJtdm','./helper.js','../../helpers/performance-tester','../../helpers/test-observability/utils','YGUTb','kOrku','getSyncScript','TEST_RUN_FINISHED','JpXgn','base64','screenshotOutputFolder','czfJL','platform_version','failed','codeceptjs/lib/recorder.js','Ivatu','then','codeceptjs/lib/utils.js','GzqzF','enabled','__driver','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','fireEvent'];a0_0x22ec=function(){return _0x50e779;};return a0_0x22ec();}
|
|
1
|
+
const a0_0x10a8fe=a0_0x3837;function a0_0x53cf(){const _0x28d0d8=['overwriteCommand','FFAMP','TEST_RUN_FINISHED','bstackAllyScanning','boWJz','saveTestResults','stopMonitoring','sEQmH','prototype','1068QOWXpl','catch','arguments','FYKgB','HAwEJ','info','../../bin/playwright/sessionDetails','codeceptjs/lib/helper/WebDriver.js','title','after','HOOK_RUN_STARTED','../../helpers/request-spy','constructor','pfljK','slice','eqxmH','Playwright','currentTest','248432JiHrwV','bddStep','Element','284eOvqrt','BS_A11Y_TEST_RUN_ID','../../helpers/helper','class','helpers','codeceptjs/lib/utils.js','performScan','../../helpers/test-observability/utils','VOybC','skipSessionStatus','forEach','all','browserContext','18ZBkoDR','codeceptjs/lib/index.js','LvSyK','browser_version','status','1670116StJxAA','NCmzP','dFOoW','FbEog','test','HkpdS','UxfVN','340QaJXhP','GhLFY','warn','__driver','GBSiQ','saveScreenshot','browser_name','captureError','call','gWtSR','Puppeteer','emit','ctx','container','add','getResults','453677eJGBWT','../../helpers/accessibility-automation/helper','Suite','LGKhE','browser','oBSuZ','5765Muzksn','codeceptjs/lib/helper/Playwright.js','os_version','_before','patch','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Performing\x20scan\x20for\x20','accessibilityPlatform','apply','cqylx','HXskl','name','fireEvent','stringify','WNAgn','vazWa','before','debug','hJFJI','browserstack_executor:\x20','platform','../../helpers/performance-tester','TEST_RUN_SKIPPED','__skipSessionStatus','codeceptjs/lib/recorder.js','patchSaveScreenshot','getSyncScript','atgUJ','JZIwH','commandsToWrap','platform_version','pid','6081hEHLQB','step','find','getAccessibilityResults','abHgk','ouyVc','../../helpers/logger','captureEvent','env','browserStackExecuteDriver','winstonLogger','failed','start','passed','./o11yHelper','startMonitoring','toISOString','getResultsSummary','bs:addLog:','../../bin/playwright/accessibility-helper','53394vGjbqB','tiebR','toString','started','zoeLz','event','DbafL','ydlop','snnWL','HOOK_RUN_FINISHED','BS_TESTOPS_ALLOW_SCREENSHOTS','restore','__cloud_provider___','dispatcher','TEST_RUN_STARTED','../../helpers/accessibility-automation/scripts','sHtqW','titlePath','enabled','skipped','poeDO','bind','readFileSync','shouldWrapCommand','zMqLx','hook','__workerDetails','friUe','jebRF','Rnuok','TestCafe','QezLe','setSessionName','initSaveScreenshot','base64','TEST_SCREENSHOT','vdnix','executeScript','kdjgc','273207KoDWoN','BzSbd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','WebDriver','NdLeX'];a0_0x53cf=function(){return _0x28d0d8;};return a0_0x53cf();}function a0_0x3837(_0x587155,_0xa64c1b){const _0x53cf3d=a0_0x53cf();return a0_0x3837=function(_0x3837fe,_0x61eba){_0x3837fe=_0x3837fe-0xfc;let _0x23350a=_0x53cf3d[_0x3837fe];return _0x23350a;},a0_0x3837(_0x587155,_0xa64c1b);}(function(_0xa1cce4,_0x337665){const _0x425489=a0_0x3837,_0x5137c9=_0xa1cce4();while(!![]){try{const _0xca79f0=parseInt(_0x425489(0x13f))/0x1+parseInt(_0x425489(0x179))/0x2+-parseInt(_0x425489(0x165))/0x3*(-parseInt(_0x425489(0x116))/0x4)+-parseInt(_0x425489(0x145))/0x5*(-parseInt(_0x425489(0x101))/0x6)+parseInt(_0x425489(0x128))/0x7+parseInt(_0x425489(0x113))/0x8*(parseInt(_0x425489(0x123))/0x9)+parseInt(_0x425489(0x12f))/0xa*(-parseInt(_0x425489(0x1a0))/0xb);if(_0xca79f0===_0x337665)break;else _0x5137c9['push'](_0x5137c9['shift']());}catch(_0x48f21a){_0x5137c9['push'](_0x5137c9['shift']());}}}(a0_0x53cf,0x45c43));const fs=require('fs'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a0_0x10a8fe(0x118)),logger=require(a0_0x10a8fe(0x16b))[a0_0x10a8fe(0x16f)],testOpsHelper=require(a0_0x10a8fe(0x11d)),requestSpy=require(a0_0x10a8fe(0x10c)),PlaywrightSessionDetails=require(a0_0x10a8fe(0x107)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a0_0x10a8fe(0x173)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a0_0x10a8fe(0x140)),AccessibilityHelper=require(a0_0x10a8fe(0x178)),scripts=require(a0_0x10a8fe(0x188)),PerformanceTester=require(a0_0x10a8fe(0x15a)),{fetchPlatformDetails,processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),CodeceptJS=requireModule(a0_0x10a8fe(0x124)),CodeceptUtils=requireModule(a0_0x10a8fe(0x11b)),CodeceptWebDriver=requireModule(a0_0x10a8fe(0x108)),CodeceptRecorder=requireModule(a0_0x10a8fe(0x15d)),CodeceptPlaywright=requireModule(a0_0x10a8fe(0x146)),playwrightMarkSessionStatus=(_0x43cfad,_0x100a00,_0x5be91e)=>{const _0x127738=a0_0x10a8fe,_0xec603={'tiebR':'setSessionStatus','boWJz':function(_0x10282c,_0x6f01cb){return _0x10282c(_0x6f01cb);}},_0x86bf15={};_0x86bf15[_0x127738(0x127)]=_0x100a00;const _0x9012f6={};_0x9012f6['action']=_0xec603[_0x127738(0x17a)],_0x9012f6['arguments']=_0x86bf15;const _0x2aeff2=_0x9012f6;return!_0xec603[_0x127738(0xfc)](isUndefined,_0x5be91e)&&(_0x2aeff2[_0x127738(0x103)]['reason']=JSON['stringify'](_0x5be91e)),_0x43cfad[_0x127738(0x19e)](()=>{},_0x127738(0x158)+JSON[_0x127738(0x152)](_0x2aeff2));},o11ySync=async _0x56d22f=>{const _0x34e506=a0_0x10a8fe,_0xe4a6a={};_0xe4a6a['VhEwQ']=function(_0x3cc60a,_0xd292ec){return _0x3cc60a===_0xd292ec;},_0xe4a6a[_0x34e506(0x198)]=_0x34e506(0x111);const _0x4796b5=_0xe4a6a;_0x4796b5['VhEwQ'](_0x56d22f[_0x34e506(0x10d)][_0x34e506(0x150)],_0x4796b5[_0x34e506(0x198)])?await _0x56d22f['executeScript'](_0x2730d0=>{},testOpsHelper[_0x34e506(0x15f)]()):await _0x56d22f[_0x34e506(0x19e)](testOpsHelper[_0x34e506(0x15f)]());},markSessionName=async(_0xf47b9a,_0x37a3ff)=>{const _0x633b8d=a0_0x10a8fe,_0x1aad23={};_0x1aad23['GBSiQ']=_0x633b8d(0x199),_0x1aad23[_0x633b8d(0x189)]=function(_0x562338,_0x3500fa){return _0x562338===_0x3500fa;},_0x1aad23['HAwEJ']='Playwright';const _0x5c064c=_0x1aad23,_0x5fc9c2={};_0x5fc9c2[_0x633b8d(0x150)]=_0x37a3ff;const _0x58b239={};_0x58b239['action']=_0x5c064c[_0x633b8d(0x133)],_0x58b239[_0x633b8d(0x103)]=_0x5fc9c2;const _0x2e373a=_0x58b239;_0x5c064c['sHtqW'](_0xf47b9a['constructor']['name'],_0x5c064c[_0x633b8d(0x105)])?await _0xf47b9a[_0x633b8d(0x19e)](()=>{},_0x633b8d(0x158)+JSON['stringify'](_0x2e373a)):await _0xf47b9a['executeScript'](_0x633b8d(0x158)+JSON[_0x633b8d(0x152)](_0x2e373a));},patchSaveScreenshot=_0x353a2a=>{const _0x486f76=a0_0x10a8fe,_0x301565={'gnVAY':_0x486f76(0x19b),'gWtSR':_0x486f76(0x19c),'IepJF':function(_0xae93c8){return _0xae93c8();},'UxfVN':function(_0x3614a0,_0x244bb3){return _0x3614a0(_0x244bb3);}};_0x301565[_0x486f76(0x12e)](isTrue,process[_0x486f76(0x16d)][_0x486f76(0x183)])&&!_0x353a2a[_0x486f76(0x15e)]&&(_0x353a2a[_0x486f76(0x15e)]=!![],_0x353a2a[_0x486f76(0x19a)]=_0x353a2a[_0x486f76(0x134)],_0x353a2a[_0x486f76(0x134)]=(_0x5260b5,_0x42219a=![])=>{const _0x39736f=_0x486f76,_0x2c5cd8={'sEQmH':_0x301565['gnVAY'],'LGKhE':_0x301565[_0x39736f(0x138)],'XybLv':function(_0x3d8926){return _0x301565['IepJF'](_0x3d8926);}};return new Promise(function(_0xe65cd3,_0x3ff6e0){const _0x3f93a4=_0x39736f;_0x353a2a[_0x3f93a4(0x19a)](_0x5260b5,_0x42219a)['then'](()=>{const _0x114658=_0x3f93a4,_0x3380c0=CodeceptUtils['screenshotOutputFolder'](_0x5260b5),_0x1aa4fa=fs[_0x114658(0x18f)](_0x3380c0);process[_0x114658(0x13a)](_0x114658(0x177)+process[_0x114658(0x164)],{'timestamp':new Date()['toISOString'](),'message':_0x1aa4fa[_0x114658(0x17b)](_0x2c5cd8[_0x114658(0xff)]),'kind':_0x2c5cd8[_0x114658(0x142)]}),_0x2c5cd8['XybLv'](_0xe65cd3);})[_0x3f93a4(0x102)](()=>null);});});},patchWebDriverBefore=_0x166994=>{const _0x5d373d=a0_0x10a8fe,_0x14e8e6={'FYKgB':function(_0x5190aa){return _0x5190aa();},'FFAMP':function(_0x20eeee,_0x312fb7){return _0x20eeee(_0x312fb7);},'FFsaI':function(_0x1abd2d,_0x466333){return _0x1abd2d===_0x466333;},'NCmzP':_0x5d373d(0x115)},_0x38bef5=async function(_0x97fdc2,_0x11bc21){const _0x425237=_0x5d373d;return _0x14e8e6[_0x425237(0x104)](isAccessibilityAutomationSession)&&!global[_0x425237(0x1a8)]&&global[_0x425237(0x14c)]&&scripts[_0x425237(0x190)](_0x97fdc2[_0x425237(0x150)])&&_0x14e8e6[_0x425237(0x1a6)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x425237(0x1a8)]=!![],logger[_0x425237(0x156)](_0x425237(0x14b)+_0x97fdc2[_0x425237(0x119)]+'\x20'+_0x97fdc2[_0x425237(0x150)]),await AccessibilityHelper[_0x425237(0x16e)](_0x166994,scripts[_0x425237(0x11c)])),global[_0x425237(0x1a8)]=![],_0x11bc21[_0x425237(0x14d)](this,Array[_0x425237(0x100)][_0x425237(0x10f)][_0x425237(0x137)](arguments,0x2));},_0x5dae8f=CodeceptWebDriver[_0x5d373d(0x100)][_0x5d373d(0x148)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x3bbd9a=_0x5d373d;await _0x5dae8f['apply'](this,arguments),scripts[_0x3bbd9a(0x162)]['filter'](_0x11c0f5=>_0x11c0f5[_0x3bbd9a(0x150)]&&_0x11c0f5[_0x3bbd9a(0x119)])[_0x3bbd9a(0x120)](_0x14105f=>{const _0x473ec2=_0x3bbd9a;this[_0x473ec2(0x143)][_0x473ec2(0x1a5)](_0x14105f[_0x473ec2(0x150)],_0x38bef5[_0x473ec2(0x18e)](this,_0x14105f),_0x14e8e6['FFsaI'](_0x14105f[_0x473ec2(0x119)],_0x14e8e6[_0x473ec2(0x129)]));}),_0x14e8e6[_0x3bbd9a(0x1a6)](processWebDriverConfig,_0x166994);};},patchPlaywrightBefore=()=>{const _0x11c800=a0_0x10a8fe;PlaywrightSessionDetails[_0x11c800(0x149)]();const _0x122391=CodeceptPlaywright[_0x11c800(0x100)]['_before'];CodeceptPlaywright[_0x11c800(0x100)][_0x11c800(0x148)]=async function(){const _0x4e4e34=_0x11c800;this[_0x4e4e34(0x122)]=await this[_0x4e4e34(0x143)]['contexts']()[0x0],await _0x122391[_0x4e4e34(0x14d)](this,arguments);};},getCodeceptDriver=()=>{const _0x5909fa=a0_0x10a8fe,_0x2c3671={};_0x2c3671[_0x5909fa(0x16a)]=_0x5909fa(0x1a3),_0x2c3671[_0x5909fa(0x17d)]=_0x5909fa(0x111),_0x2c3671[_0x5909fa(0x14f)]=_0x5909fa(0x139),_0x2c3671[_0x5909fa(0x130)]=_0x5909fa(0x197);const _0x115932=_0x2c3671,_0xb4fef5=[_0x115932[_0x5909fa(0x16a)],_0x115932['zoeLz'],_0x115932[_0x5909fa(0x14f)],_0x115932[_0x5909fa(0x130)]],_0x3b3a5b=_0xb4fef5[_0x5909fa(0x167)](_0x4cdbb2=>!!CodeceptJS[_0x5909fa(0x13c)]['helpers'](_0x4cdbb2));if(!_0x3b3a5b)return null;return CodeceptJS[_0x5909fa(0x13c)][_0x5909fa(0x11a)](_0x3b3a5b);};module['exports']=function(_0x3ae104){const _0x67b3c6=a0_0x10a8fe,_0x271e29={'kdjgc':_0x67b3c6(0x1a2),'NdLeX':_0x67b3c6(0x14a),'trFai':function(_0x5cd4e7){return _0x5cd4e7();},'LvSyK':function(_0x26642f){return _0x26642f();},'oBSuZ':function(_0x2e45e4,_0x18e7bb){return _0x2e45e4(_0x18e7bb);},'poeDO':function(_0x4a71e5,_0x5a7970,_0x14dc82){return _0x4a71e5(_0x5a7970,_0x14dc82);},'atgUJ':function(_0x59995e,_0x2ef935){return _0x59995e(_0x2ef935);},'VOybC':function(_0x48cc46){return _0x48cc46();},'pfljK':function(_0x580b4c){return _0x580b4c();},'JZIwH':function(_0x9d2799,_0x49abbf,_0x27f8c1,_0x52258d){return _0x9d2799(_0x49abbf,_0x27f8c1,_0x52258d);},'eqxmH':function(_0x827186,_0x1e0287,_0xb852ad,_0x31e617){return _0x827186(_0x1e0287,_0xb852ad,_0x31e617);},'hJFJI':function(_0x23b036,_0x7ae5a1){return _0x23b036===_0x7ae5a1;},'IVCVq':_0x67b3c6(0x141),'WNAgn':function(_0x18ff2a){return _0x18ff2a();},'SRrOQ':function(_0x25c10a){return _0x25c10a();},'cqylx':_0x67b3c6(0x159),'HkpdS':_0x67b3c6(0x163),'abHgk':'browser','FbEog':_0x67b3c6(0x126),'jebRF':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','friUe':'INFO','snnWL':'TEST_LOG','Rnuok':'Playwright','vdnix':function(_0x25dfb5){return _0x25dfb5();},'zMqLx':function(_0x4dbc87,_0x4788e6){return _0x4dbc87(_0x4788e6);}};_0x3ae104[_0x67b3c6(0x11f)]&&(global[_0x67b3c6(0x15c)]=_0x3ae104['skipSessionStatus']);PerformanceTester[_0x67b3c6(0x174)]();const _0x560deb=_0x271e29['trFai'](getCodeceptDriver),_0x748b57=new O11yHelper(_0x560deb,_0x3ae104),_0xc4cfc3=!!CodeceptJS[_0x67b3c6(0x13c)]['helpers'](_0x271e29[_0x67b3c6(0x196)]);global[_0x67b3c6(0x132)]=_0x560deb,_0x560deb&&(_0xc4cfc3?_0x271e29[_0x67b3c6(0x19d)](patchPlaywrightBefore):_0x271e29[_0x67b3c6(0x160)](patchWebDriverBefore,_0x560deb),_0x560deb['getAccessibilityResultsSummary']=async()=>{const _0x4f9a=_0x67b3c6;if(global[_0x4f9a(0x14c)])await AccessibilityHelper[_0x4f9a(0x16e)](_0x560deb,scripts[_0x4f9a(0x11c)]),await AccessibilityHelper[_0x4f9a(0x16e)](_0x560deb,scripts[_0x4f9a(0x176)]);else return logger[_0x4f9a(0x131)](_0x271e29[_0x4f9a(0x19f)]),{};},_0x560deb[_0x67b3c6(0x168)]=async()=>{const _0x2fa632=_0x67b3c6;if(global[_0x2fa632(0x14c)])await AccessibilityHelper[_0x2fa632(0x16e)](_0x560deb,scripts[_0x2fa632(0x11c)]),await AccessibilityHelper[_0x2fa632(0x16e)](_0x560deb,scripts[_0x2fa632(0x13e)]);else return logger[_0x2fa632(0x131)](_0x271e29[_0x2fa632(0x1a4)]),{};},_0x271e29[_0x67b3c6(0x191)](patchSaveScreenshot,_0x560deb)),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x121)][_0x67b3c6(0x155)],()=>{const _0xeaf8b7=_0x67b3c6;try{_0x748b57[_0xeaf8b7(0x171)](),testOpsHelper['addRequestSpy']();}catch(_0x1fc3ba){PerformanceTester[_0xeaf8b7(0x136)](_0x1fc3ba);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x121)][_0x67b3c6(0x10a)],async()=>{const _0x3ade0a=_0x67b3c6;try{requestSpy[_0x3ade0a(0x184)](),await _0x748b57['stop']();}catch(_0x118b98){PerformanceTester[_0x3ade0a(0x136)](_0x118b98);}finally{PerformanceTester[_0x3ade0a(0xfe)]();}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS['event'][_0x67b3c6(0x192)][_0x67b3c6(0x17c)],_0x2d4f7d=>{const _0x14a589=_0x67b3c6;try{const _0x3a6e50=_0x2d4f7d[_0x14a589(0x13b)][_0x14a589(0x12c)],_0xcd3b47=_0x748b57[_0x14a589(0x16c)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3a6e50);CodeceptRecorder[_0x14a589(0x13d)](()=>_0x748b57['fireEvent'](TEST_EVENTS[_0x14a589(0x10b)],_0xcd3b47));}catch(_0x186b50){PerformanceTester[_0x14a589(0x136)](_0x186b50);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x192)][_0x67b3c6(0x172)],_0x3c593a=>{const _0xe38f5d=_0x67b3c6;try{const _0x479946=_0x3c593a[_0xe38f5d(0x13b)][_0xe38f5d(0x12c)],_0x50c574=_0x748b57[_0xe38f5d(0x16c)](TEST_EVENTS[_0xe38f5d(0x182)],_0x479946);CodeceptRecorder[_0xe38f5d(0x13d)](()=>_0x748b57['fireEvent'](TEST_EVENTS[_0xe38f5d(0x182)],_0x50c574));}catch(_0x1100f4){PerformanceTester['captureError'](_0x1100f4);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x192)]['failed'],async(_0x2b57c4,_0x2e2b61)=>{const _0x5156f7=_0x67b3c6;try{const _0x1931d9=_0x2b57c4[_0x5156f7(0x13b)]['test'],_0x462226=_0x748b57[_0x5156f7(0x16c)](TEST_EVENTS[_0x5156f7(0x182)],_0x1931d9,_0x2e2b61);CodeceptRecorder['add'](()=>_0x748b57[_0x5156f7(0x151)](TEST_EVENTS[_0x5156f7(0x182)],_0x462226));}catch(_0x12a034){PerformanceTester[_0x5156f7(0x136)](_0x12a034);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)]['test'][_0x67b3c6(0x155)],_0xb128d0=>{const _0x1f2f38=_0x67b3c6;try{_0x271e29['trFai'](isBrowserstackInfra)&&(_0xc4cfc3&&(global[_0x1f2f38(0x193)]={'currentTest':{'name':_0xb128d0[_0x1f2f38(0x109)],'testInfo':{'titlePath':_0xb128d0[_0x1f2f38(0x18a)]()}}}));}catch(_0x41c1ab){PerformanceTester[_0x1f2f38(0x136)](_0x41c1ab);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)]['test'][_0x67b3c6(0x17c)],_0x213e0d=>{const _0x407543=_0x67b3c6;try{const _0x29f2fa=_0x748b57['captureEvent'](TEST_EVENTS[_0x407543(0x187)],_0x213e0d);CodeceptRecorder[_0x407543(0x13d)](()=>_0x748b57[_0x407543(0x151)](TEST_EVENTS['TEST_RUN_STARTED'],_0x29f2fa)),CodeceptRecorder[_0x407543(0x13d)](async()=>{const _0x59da26=_0x407543;_0x271e29[_0x59da26(0x125)](isBrowserstackInfra)&&(!_0x271e29[_0x59da26(0x144)](isTrue,_0x3ae104['skipSessionName'])&&await _0x271e29[_0x59da26(0x18d)](markSessionName,_0x560deb,_0x213e0d[_0x59da26(0x109)]),_0x748b57[_0x59da26(0x18b)]&&await _0x271e29['atgUJ'](o11ySync,_0x560deb));});}catch(_0x5ef30b){PerformanceTester[_0x407543(0x136)](_0x5ef30b);}}),CodeceptJS['event'][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x12c)]['passed'],_0x3c01b2=>{const _0x3c49d5=_0x67b3c6,_0x1f2d8a={'DbafL':function(_0x11d166){const _0x9c62ef=a0_0x3837;return _0x271e29[_0x9c62ef(0x11e)](_0x11d166);},'vazWa':function(_0x480423,_0x11b44a,_0x2d1112){const _0x17074e=a0_0x3837;return _0x271e29[_0x17074e(0x18d)](_0x480423,_0x11b44a,_0x2d1112);},'dFOoW':function(_0x4a90a2,_0x1764a6,_0xb1e639){const _0x42c95e=a0_0x3837;return _0x271e29[_0x42c95e(0x18d)](_0x4a90a2,_0x1764a6,_0xb1e639);}};try{const _0x5317ff=_0x748b57[_0x3c49d5(0x16c)](TEST_EVENTS[_0x3c49d5(0x1a7)],_0x3c01b2);CodeceptRecorder['add'](()=>_0x748b57[_0x3c49d5(0x151)](TEST_EVENTS[_0x3c49d5(0x1a7)],_0x5317ff)),CodeceptRecorder['add'](async()=>{const _0x3870a9=_0x3c49d5;_0x1f2d8a[_0x3870a9(0x17f)](isBrowserstackInfra)&&(_0xc4cfc3?await _0x1f2d8a[_0x3870a9(0x154)](playwrightMarkSessionStatus,_0x560deb,STATE_PASSED):await _0x1f2d8a[_0x3870a9(0x12a)](markSessionStatus,_0x560deb,STATE_PASSED));});}catch(_0x214439){PerformanceTester['captureError'](_0x214439);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x12c)][_0x67b3c6(0x170)],(_0x35ce54,_0x343736)=>{const _0x20aaa5=_0x67b3c6,_0x36b174={'RNUUe':function(_0x5c1870){const _0x55eb25=a0_0x3837;return _0x271e29[_0x55eb25(0x10e)](_0x5c1870);},'BzSbd':function(_0x363770,_0x33b378,_0x2226da,_0x523ed5){const _0x4ff5e8=a0_0x3837;return _0x271e29[_0x4ff5e8(0x161)](_0x363770,_0x33b378,_0x2226da,_0x523ed5);},'ydlop':function(_0x15214b,_0x1e205a,_0x2cd84d,_0x529bbe){const _0x557d2e=a0_0x3837;return _0x271e29[_0x557d2e(0x110)](_0x15214b,_0x1e205a,_0x2cd84d,_0x529bbe);}};try{if(_0x271e29[_0x20aaa5(0x157)](_0x35ce54[_0x20aaa5(0x10d)][_0x20aaa5(0x150)],_0x271e29['IVCVq'])){const _0x1cef92=_0x748b57[_0x20aaa5(0x16c)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x35ce54[_0x20aaa5(0x13b)][_0x20aaa5(0x112)]);CodeceptRecorder['add'](()=>_0x748b57[_0x20aaa5(0x151)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1cef92));}else{const _0x4103eb=_0x748b57[_0x20aaa5(0x16c)](TEST_EVENTS[_0x20aaa5(0x1a7)],_0x35ce54,_0x343736);CodeceptRecorder[_0x20aaa5(0x13d)](()=>_0x748b57[_0x20aaa5(0x151)](TEST_EVENTS[_0x20aaa5(0x1a7)],_0x4103eb)),CodeceptRecorder[_0x20aaa5(0x13d)](async()=>{const _0x1553db=_0x20aaa5;_0x36b174['RNUUe'](isBrowserstackInfra)&&(_0xc4cfc3?await _0x36b174[_0x1553db(0x1a1)](playwrightMarkSessionStatus,_0x560deb,STATE_FAILED,_0x343736):await _0x36b174[_0x1553db(0x180)](markSessionStatus,_0x560deb,STATE_FAILED,_0x343736));});}}catch(_0x5acf3e){PerformanceTester['captureError'](_0x5acf3e);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x12c)][_0x67b3c6(0x18c)],_0x31cfe8=>{const _0x132e93=_0x67b3c6;try{const _0x309b58=_0x748b57[_0x132e93(0x16c)](TEST_EVENTS[_0x132e93(0x15b)],_0x31cfe8);CodeceptRecorder[_0x132e93(0x13d)](()=>_0x748b57['fireEvent'](TEST_EVENTS[_0x132e93(0x15b)],_0x309b58));}catch(_0x2c3a71){PerformanceTester['captureError'](_0x2c3a71);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)]['test'][_0x67b3c6(0x10a)],async(_0x4659d7,_0x304073)=>{const _0x811c26=_0x67b3c6;try{if(_0x271e29[_0x811c26(0x153)](isBrowserstackInfra)){const _0x2ae1b0=_0x271e29[_0x811c26(0x18d)](shouldScanTestForAccessibility,_0x4659d7[_0x811c26(0x18a)](),!![]);if(_0x271e29['SRrOQ'](isAccessibilityAutomationSession)&&global[_0x811c26(0x14c)]&&_0x2ae1b0){const _0x5a04bd=global[_0x811c26(0x185)],_0x2f64fc=_0x271e29[_0x811c26(0x160)](fetchPlatformDetails,_0x560deb)[_0x5a04bd],_0x2e5a53={};_0x2e5a53['os_name']=_0x2f64fc[_0x271e29[_0x811c26(0x14e)]],_0x2e5a53[_0x811c26(0x147)]=_0x2f64fc[_0x271e29[_0x811c26(0x12d)]],_0x2e5a53[_0x811c26(0x135)]=_0x2f64fc[_0x271e29[_0x811c26(0x169)]],_0x2e5a53[_0x811c26(0x126)]=_0x2f64fc[_0x271e29[_0x811c26(0x12b)]];const _0x3ad698={'saveResults':_0x2ae1b0,'testDetails':{'name':_0x4659d7[_0x811c26(0x109)],'testRunId':process[_0x811c26(0x16d)][_0x811c26(0x117)],'filePath':_0x4659d7['file'],'scopeList':_0x4659d7[_0x811c26(0x18a)]()},'platform':_0x2e5a53};CodeceptRecorder[_0x811c26(0x13d)](async()=>{const _0x5daa04=_0x811c26;await AccessibilityHelper[_0x5daa04(0x16e)](_0x560deb,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x560deb,scripts[_0x5daa04(0xfd)],_0x3ad698);}),logger[_0x811c26(0x106)](_0x271e29[_0x811c26(0x195)]);}}}catch(_0x5925ba){PerformanceTester[_0x811c26(0x136)](_0x5925ba);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x166)]['comment'],_0x165d5c=>{const _0x123823=_0x67b3c6;try{process['emit'](_0x123823(0x177)+process[_0x123823(0x164)],{'timestamp':new Date()[_0x123823(0x175)](),'level':_0x271e29[_0x123823(0x194)],'message':_0x165d5c,'kind':_0x271e29[_0x123823(0x181)],'http_response':{}});}catch(_0x27adde){PerformanceTester[_0x123823(0x136)](_0x27adde);}}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x114)][_0x67b3c6(0x17c)],_0x20420e=>{_0x748b57['bddStepStart'](_0x20420e);}),CodeceptJS[_0x67b3c6(0x17e)][_0x67b3c6(0x186)]['on'](CodeceptJS[_0x67b3c6(0x17e)]['bddStep']['finished'],_0x16d8e2=>{_0x748b57['bddStepFinish'](_0x16d8e2);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a1_0x1ce6e3=a1_0x3c0a;(function(_0x4900cc,_0x5c95e8){const _0x15d216=a1_0x3c0a,_0x506dff=_0x4900cc();while(!![]){try{const _0x4efdcf=parseInt(_0x15d216(0x119))/0x1+-parseInt(_0x15d216(0xbb))/0x2*(parseInt(_0x15d216(0xea))/0x3)+-parseInt(_0x15d216(0x100))/0x4*(-parseInt(_0x15d216(0xe7))/0x5)+-parseInt(_0x15d216(0x10c))/0x6*(parseInt(_0x15d216(0xf8))/0x7)+-parseInt(_0x15d216(0xe4))/0x8+-parseInt(_0x15d216(0xfe))/0x9+parseInt(_0x15d216(0xa7))/0xa*(parseInt(_0x15d216(0xce))/0xb);if(_0x4efdcf===_0x5c95e8)break;else _0x506dff['push'](_0x506dff['shift']());}catch(_0x3fc787){_0x506dff['push'](_0x506dff['shift']());}}}(a1_0x1c19,0xcea54));function a1_0x3c0a(_0x2f9730,_0x15ae26){const _0x1c195e=a1_0x1c19();return a1_0x3c0a=function(_0x3c0a63,_0x18f5b4){_0x3c0a63=_0x3c0a63-0xa5;let _0x535d66=_0x1c195e[_0x3c0a63];return _0x535d66;},a1_0x3c0a(_0x2f9730,_0x15ae26);}const fs=require('fs'),path=require(a1_0x1ce6e3(0xd4)),util=require(a1_0x1ce6e3(0x12d)),{spawn}=require(a1_0x1ce6e3(0xd0)),process=require(a1_0x1ce6e3(0xc1)),logger=require('../../helpers/logger')[a1_0x1ce6e3(0xb5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a1_0x1ce6e3(0x12b)),{setAccessibilityCapabilities}=require(a1_0x1ce6e3(0xb0)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x1ce6e3(0xee)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),SessionHandler=require(a1_0x1ce6e3(0xa8)),testOpsHelper=require(a1_0x1ce6e3(0x105)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x30fbb6,_0x3626ba)=>{const _0x16e0a0=a1_0x1ce6e3,_0x221498={};_0x221498[_0x16e0a0(0xc5)]=function(_0x5b5207,_0x36c2a6){return _0x5b5207===_0x36c2a6;},_0x221498[_0x16e0a0(0xf0)]=_0x16e0a0(0x126),_0x221498[_0x16e0a0(0x12c)]=_0x16e0a0(0xe3);const _0x277e97=_0x221498;let _0x320779=null;const _0x592502={};let _0x3abf7a=_0x3626ba[_0x16e0a0(0xc3)](_0x1609a8=>_0x1609a8===_0x16e0a0(0x106));_0x277e97[_0x16e0a0(0xc5)](_0x3abf7a,-0x1)&&(_0x3abf7a=_0x3626ba[_0x16e0a0(0xc3)](_0x4ccd84=>_0x4ccd84==='-c'));if(!helper[_0x16e0a0(0x115)](_0x30fbb6[_0x16e0a0(0xaa)])&&fs[_0x16e0a0(0x10d)](path[_0x16e0a0(0xbf)](process['cwd'](),_0x30fbb6['config'])))_0x320779=path[_0x16e0a0(0xbf)](process[_0x16e0a0(0xc9)](),_0x30fbb6[_0x16e0a0(0xaa)]),_0x3626ba[_0x16e0a0(0x11f)](_0x3abf7a,0x2);else{if(!helper[_0x16e0a0(0x115)](_0x30fbb6['c'])&&fs[_0x16e0a0(0x10d)](path[_0x16e0a0(0xbf)](process[_0x16e0a0(0xc9)](),_0x30fbb6['c'])))_0x320779=path['join'](process[_0x16e0a0(0xc9)](),_0x30fbb6['c']),_0x3626ba[_0x16e0a0(0x11f)](_0x3abf7a,0x2);else{if(fs['existsSync'](path[_0x16e0a0(0xbf)](process['cwd'](),_0x277e97[_0x16e0a0(0xf0)])))_0x320779=path['join'](process[_0x16e0a0(0xc9)](),_0x277e97[_0x16e0a0(0xf0)]);else fs['existsSync'](path['join'](process[_0x16e0a0(0xc9)](),_0x277e97[_0x16e0a0(0x12c)]))&&(_0x320779=path['join'](process[_0x16e0a0(0xc9)](),_0x277e97[_0x16e0a0(0x12c)]));}}return _0x320779;},getO11yRerunPattern=()=>{const _0x113f23=a1_0x1ce6e3,_0x57f266={};_0x57f266[_0x113f23(0xdc)]=function(_0x4298f7,_0x1da19d){return _0x4298f7!==_0x1da19d;},_0x57f266['OypSl']=_0x113f23(0x113);const _0x192cca=_0x57f266,_0x270b61=helper[_0x113f23(0xfd)](process[_0x113f23(0xe5)][_0x113f23(0xc7)]);if(_0x270b61){const _0x4c0879=process[_0x113f23(0xe5)][_0x113f23(0xae)],_0x51159f=[];if(_0x192cca[_0x113f23(0xdc)](_0x4c0879,_0x192cca[_0x113f23(0xca)])&&!helper[_0x113f23(0x115)](_0x4c0879)){_0x4c0879[_0x113f23(0x127)](',')['map'](_0x13a282=>{const _0x485573=_0x113f23;_0x51159f[_0x485573(0xeb)]('('+_0x13a282[_0x485573(0x109)]()+')');});const _0x136052='^'+_0x51159f[_0x113f23(0xbf)]('|')+'$';return _0x136052;}}return null;},a1_0x393f4b={};a1_0x393f4b['chrome']=a1_0x1ce6e3(0xd3),a1_0x393f4b['playwright-chromium']=a1_0x1ce6e3(0xd3),a1_0x393f4b[a1_0x1ce6e3(0xbc)]='firefox',a1_0x393f4b[a1_0x1ce6e3(0xf9)]=a1_0x1ce6e3(0x108);function a1_0x1c19(){const _0x4af830=['exports','codecept.json','12475144USfFuI','env','title','955etmbJb','jszHi','debug','2443977luCYwq','push','qdiDl','now','../../helpers/helper','Passed\x20:\x20','RYkNC','modifyBrowserStackCaps','createGroupsOfSuites','errorMessage','enPAt','info','Started\x20:\x20','false','11168367seANdc','playwright-webkit','modifyBrowserStackW3CCaps','SApzz','browserName','isTrue','12699720eFOYjO','testObservability','23764YCoBmT','root_dir_path','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','passed','run','../../helpers/test-observability/utils','--config','platforms','webkit','trim','skipSessionName','require','6thcxKy','existsSync','result','forEach','codeceptjs','Playwright','dirname','null','bootstrapAll','isUndefined','root','hjRzy','Failed\x20:\x20','782544VGUTbo','all','spawn','-cucumber','3|4|1|2|5|0','initialize','slice','Xkdoz','FKbKv','test','WFkWy','gherkin','testContextOptions','codecept.conf.js','split','RjdHo','printBuildLink','format','../../helpers/accessibility-automation/helper','mRBnZ','util','handleApp','skipSessionStatus','pAqHR','stringify','event','90xNpyIW','../../helpers/test-observability/sessionHandler','accessibilityOptions','config','VkKVv','helpers','HXTTh','BROWSERSTACK_RERUN_TESTS','log','../../bin/playwright/accessibility-helper','testConfig','parallelsPerPlatform','ZCSVY','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','winstonLogger','map','getPlaywrightUrl','Workers','WebDriver','browser','2jJJbAq','playwright-firefox','WtbgC','liHqB','join','BS_A11Y_JWT','process','isTestObservabilitySession','findIndex','before','dfLSa','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','BROWSERSTACK_RERUN','frameworkName','cwd','OypSl','mEGzs','getPlatformName','stack','5267482nJdTsW','UVaTO','child_process','latSh','chdir','chromium','path','desiredCapabilities','browserStackCwd','stop','BROWSERSTACK_TEST_OBSERVABILITY_YML','Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20','getFrameworkVersion','length','xqNMa','wboYc','plugins','gNWkd','AUbjr','gFTth'];a1_0x1c19=function(){return _0x4af830;};return a1_0x1c19();}const pwToCodeceptBrowser=a1_0x393f4b;async function run(_0x95c512,_0x56c61a){const _0x47e23=a1_0x1ce6e3,_0x489fb7={'WFkWy':_0x47e23(0x110),'WzHYT':function(_0x16a86d,_0x5038ef){return _0x16a86d+_0x5038ef;},'wboYc':function(_0x3a211b,_0x31c496){return _0x3a211b(_0x31c496);},'HXTTh':function(_0xb1720d,_0x3a0645){return _0xb1720d+_0x3a0645;},'Xkdoz':function(_0x39bc90,_0xbf5768,_0x343852){return _0x39bc90(_0xbf5768,_0x343852);},'latSh':_0x47e23(0xaa),'hjRzy':_0x47e23(0xac),'UVaTO':function(_0x3dafbd){return _0x3dafbd();},'SApzz':_0x47e23(0x118),'pAqHR':_0x47e23(0xef),'WtbgC':_0x47e23(0xf6),'mebjq':_0x47e23(0x11d),'ZCSVY':function(_0x3cfa31,_0x380a96,_0x14a540){return _0x3cfa31(_0x380a96,_0x14a540);},'BpoIF':function(_0x4bc25f,_0x2562e8){return _0x4bc25f(_0x2562e8);},'grZsM':_0x47e23(0xb4),'enPAt':_0x47e23(0x111),'FKbKv':_0x47e23(0xb9),'mEGzs':function(_0x3116f2,_0x272652){return _0x3116f2(_0x272652);},'hkBRu':function(_0x1ab8fd,_0xba5e6e){return _0x1ab8fd!=_0xba5e6e;},'qdiDl':_0x47e23(0xf7),'gFTth':_0x47e23(0x116),'gNWkd':'BrowserStackPlugin.js','liHqB':_0x47e23(0xd6),'DcOXu':function(_0x1a0b93,_0x30c8e8){return _0x1a0b93*_0x30c8e8;},'AUbjr':function(_0x521afe,_0x1172a3){return _0x521afe+_0x1172a3;},'VkKVv':function(_0x4b8b41,_0x1c6434,_0x41267e){return _0x4b8b41(_0x1c6434,_0x41267e);},'RjdHo':_0x47e23(0x124),'jszHi':_0x47e23(0x11c),'ChlYa':function(_0x3be5f7){return _0x3be5f7();}},_0x9ab4aa=new BrowserStackSetup(_0x95c512,_0x489fb7['WFkWy']);await _0x9ab4aa[_0x47e23(0x11e)](),await helper[_0x47e23(0x12e)](_0x9ab4aa[_0x47e23(0xaa)]);if(!_0x9ab4aa[_0x47e23(0xaa)])return;const _0x52b11f=_0x489fb7['ZCSVY'](getUserCodeceptJSConfigs,_0x95c512,_0x56c61a);let _0x3f6db0={};_0x52b11f?(logger[_0x47e23(0xf5)](_0x47e23(0x102)+_0x52b11f),_0x3f6db0=_0x489fb7['BpoIF'](require,_0x52b11f)):logger['info'](_0x489fb7['grZsM']);let _0x44c309=![];_0x489fb7[_0x47e23(0xb3)](nestedKeyValue,_0x3f6db0,[_0x489fb7[_0x47e23(0xd1)],_0x489fb7['hjRzy'],_0x489fb7[_0x47e23(0xf4)]])&&(_0x44c309=!![]);const _0xec38ef=_0x44c309?_0x489fb7['enPAt']:_0x489fb7[_0x47e23(0x121)];let _0x5c7c6a=!_0x44c309?helper['useW3C'](_0x9ab4aa[_0x47e23(0xaa)]):![];!helper['isUndefined'](_0x9ab4aa[_0x47e23(0xaa)][_0x47e23(0xa9)])&&(process[_0x47e23(0xe5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x47e23(0xa5)](_0x9ab4aa[_0x47e23(0xaa)]['accessibilityOptions']));let _0x21514c=_0x9ab4aa['config']['accessibility'];_0x21514c=_0x21514c||_0x489fb7[_0x47e23(0xdd)](checkAccessibilityPlatformConfig,_0x9ab4aa[_0x47e23(0xaa)]),process[_0x47e23(0xe5)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x21514c;if(_0x21514c){_0x5c7c6a=![];const [_0x4ca145,_0x3c4046]=await _0x489fb7['ZCSVY'](createAccessibilityTestRun,_0x9ab4aa['config'],_0x489fb7[_0x47e23(0x123)]);logger[_0x47e23(0xe9)](_0x47e23(0xc6)+_0x3c4046),process[_0x47e23(0xe5)][_0x47e23(0xc0)]=_0x4ca145,process[_0x47e23(0xe5)]['BS_A11Y_TEST_RUN_ID']=_0x3c4046,_0x489fb7[_0x47e23(0xcb)](setAccessibilityCapabilities,_0x9ab4aa[_0x47e23(0xaa)]);}_0x489fb7['hkBRu'](_0x9ab4aa[_0x47e23(0xaa)][_0x47e23(0xff)],null)?process[_0x47e23(0xe5)][_0x47e23(0xd8)]=_0x9ab4aa['config'][_0x47e23(0xff)]:process[_0x47e23(0xe5)][_0x47e23(0xd8)]=_0x489fb7[_0x47e23(0xec)];const _0xd6d85b={},_0x3a602a=[];if(_0x489fb7[_0x47e23(0xcf)](isBrowserstackInfra)){const _0x12ec4a=[];_0x9ab4aa[_0x47e23(0xaa)][_0x47e23(0x107)][_0x47e23(0x10f)]((_0x24c6b4,_0x3f7802)=>{const _0x5be9fb=_0x47e23;_0x5c7c6a?_0x12ec4a['push'](helper[_0x5be9fb(0xfa)](_0x9ab4aa['config'],_0x489fb7[_0x5be9fb(0x123)],_0x3f7802)):_0x12ec4a[_0x5be9fb(0xeb)](helper[_0x5be9fb(0xf1)](_0x9ab4aa[_0x5be9fb(0xaa)],_0x489fb7['WFkWy'],_0x3f7802));}),_0x12ec4a[_0x47e23(0x10f)](_0x9f30e5=>{const _0x481698=_0x47e23,_0x44b6cb=_0x489fb7[_0x481698(0xad)](helper[_0x481698(0xcc)](_0x9f30e5,'_'),'_'+Date[_0x481698(0xed)]()),_0x1eb539=((()=>{const _0x38e64d=_0x481698;if(_0x44c309){const _0x41329e=pwToCodeceptBrowser[_0x9f30e5['browserName']]||_0x9f30e5['browserName'];return{'browser':_0x41329e,[_0x41329e]:{'browserWSEndpoint':_0x489fb7['WzHYT'](helper[_0x38e64d(0xb7)](_0x9ab4aa[_0x38e64d(0xaa)]),_0x489fb7[_0x38e64d(0xdd)](encodeURIComponent,JSON[_0x38e64d(0xa5)](_0x9f30e5)))}};}const _0x51528a={};return _0x51528a[_0x38e64d(0xd5)]=_0x9f30e5,_0x51528a;})()),_0x4c4164=_0x489fb7[_0x481698(0x120)](nestedKeyValue,_0x3f6db0,[_0x489fb7[_0x481698(0xd1)],_0x489fb7[_0x481698(0x117)],_0xec38ef]);_0xd6d85b[_0x44b6cb]=_0x4c4164?helper['mergeDeep'](_0x1eb539,_0x4c4164):_0x1eb539,!_0x44c309&&(_0xd6d85b[_0x44b6cb][_0x481698(0xba)]=_0x9f30e5[_0x481698(0xfc)]||_0x1eb539['browser']),_0x3a602a['push'](_0x44b6cb);});}else _0xd6d85b[_0x489fb7['gFTth']]=_0x3f6db0[_0x47e23(0xaa)],_0x3a602a[_0x47e23(0xeb)](_0x489fb7[_0x47e23(0xe1)]);const _0x545ae0={};_0x545ae0[_0x47e23(0xb1)]=_0x52b11f;const _0x1ddb93=_0x545ae0,_0x4b93e5=path[_0x47e23(0xbf)](__dirname,_0x489fb7[_0x47e23(0xdf)]),_0xf6c8fc=process[_0x47e23(0xc9)]();process[_0x47e23(0xe5)][_0x489fb7[_0x47e23(0xbe)]]=_0xf6c8fc,process['chdir'](path[_0x47e23(0x112)](_0x52b11f));const _0x221ba7=new CodeceptJS[(_0x47e23(0xb8))](null,_0x1ddb93),_0x572890=_0x221ba7[_0x47e23(0xf2)](_0x489fb7['DcOXu'](_0x9ab4aa[_0x47e23(0xaa)][_0x47e23(0xb2)],_0x9ab4aa[_0x47e23(0xaa)][_0x47e23(0x107)][_0x47e23(0xdb)])),_0x41fec5=testOpsHelper[_0x47e23(0xc2)](),_0x13f386=_0x489fb7[_0x47e23(0xe0)](_0x489fb7[_0x47e23(0x123)],_0x489fb7[_0x47e23(0xab)](nestedKeyValue,_0x3f6db0,[_0x489fb7['latSh'],_0x489fb7[_0x47e23(0x128)]])?_0x489fb7[_0x47e23(0xe8)]:''),_0x58a38f=_0x3a602a[_0x47e23(0xb6)](_0x5f1a0c=>{const _0x633732=_0x47e23,_0x103d02={};_0x103d02[_0x633732(0x111)]=_0xd6d85b[_0x5f1a0c];const _0x34a53c={};_0x34a53c[_0x633732(0xb9)]=_0xd6d85b[_0x5f1a0c];const _0x519245=_0x44c309?_0x103d02:_0x34a53c,_0x459a2e=_0x489fb7[_0x633732(0xcf)](getO11yRerunPattern),_0x16fcd2={};_0x16fcd2['helpers']=_0x519245;const _0x2f12e1={};_0x2f12e1[_0x633732(0x10b)]=_0x4b93e5,_0x2f12e1['enabled']=!![],_0x2f12e1[_0x633732(0x10a)]=_0x9ab4aa[_0x633732(0xaa)][_0x633732(0x125)]['skipSessionName'],_0x2f12e1[_0x633732(0x12f)]=_0x9ab4aa['config'][_0x633732(0x125)][_0x633732(0x12f)],_0x2f12e1[_0x633732(0xff)]=_0x41fec5,_0x2f12e1[_0x633732(0xc8)]=_0x13f386;const _0x5b74cb={};_0x5b74cb['BrowserStackPlugin']=_0x2f12e1;const _0x47a6fd={};return _0x47a6fd[_0x633732(0xde)]=_0x5b74cb,helper['mergeDeep']({},_0x3f6db0[_0x633732(0xaa)],_0x489fb7[_0x633732(0xcf)](isBrowserstackInfra)?_0x16fcd2:{},_0x459a2e?{'grep':_0x459a2e}:{},_0x47a6fd);});if(_0x41fec5){const _0x5b620c={};_0x5b620c[_0x47e23(0x101)]='',await SessionHandler['launch'](Object['assign']({},_0x9ab4aa['config'],_0x5b620c),{'frameworkName':_0x13f386,'frameworkVersion':testOpsHelper[_0x47e23(0xda)](_0x489fb7['WFkWy'])});}for(const _0xc5d7f of _0x58a38f){for(const _0x14a6b6 of _0x572890){const _0xb95490=_0x221ba7[_0x47e23(0x11b)]();_0xb95490['addTests'](_0x14a6b6),_0xb95490['addConfig'](_0xc5d7f);}}_0x221ba7['on'](CodeceptJS[_0x47e23(0xa6)][_0x47e23(0x122)]['failed'],(_0x33e671,_0x57c6a)=>{const _0x3dd6f3=_0x47e23;console[_0x3dd6f3(0xaf)](_0x489fb7[_0x3dd6f3(0xfb)],_0x33e671[_0x3dd6f3(0xe6)]);const _0x1c5d3e={[_0x33e671[_0x3dd6f3(0xe6)]]:_0x33e671['err'][_0x3dd6f3(0xcd)]};_testErrorData[_0x3dd6f3(0xeb)](_0x1c5d3e);}),_0x221ba7['on'](CodeceptJS['event'][_0x47e23(0x122)][_0x47e23(0x103)],async _0xe11f93=>{const _0x2118c8=_0x47e23;console[_0x2118c8(0xaf)](_0x489fb7[_0x2118c8(0x130)],_0xe11f93['title']);}),_0x221ba7['on'](CodeceptJS['event'][_0x47e23(0x122)][_0x47e23(0xc4)],async _0x4ae7e5=>{const _0x182100=_0x47e23;console[_0x182100(0xaf)](_0x489fb7[_0x182100(0xbd)],_0x4ae7e5[_0x182100(0xe6)]);}),_0x221ba7['on'](CodeceptJS['event'][_0x47e23(0x11a)][_0x47e23(0x10e)],async()=>{const _0x2ea988=_0x47e23,_0x57f3f4=_0x489fb7['mebjq'][_0x2ea988(0x127)]('|');let _0x343855=0x0;while(!![]){switch(_0x57f3f4[_0x343855++]){case'0':_0x221ba7['printResults']();continue;case'1':testOpsHelper[_0x2ea988(0x129)]();continue;case'2':helper['finalExecution'](_0x9ab4aa);continue;case'3':_0x9ab4aa[_0x2ea988(0xf3)]=_testErrorData;continue;case'4':_0x21514c&&await _0x489fb7[_0x2ea988(0xdd)](stopAccessibilityTestRun,_0x9ab4aa['config']);continue;case'5':if(_0x41fec5)try{await SessionHandler[_0x2ea988(0xd7)]();}catch(_0x340f16){logger[_0x2ea988(0xe9)](_0x2ea988(0xd9)+util[_0x2ea988(0x12a)](_0x340f16));}continue;}break;}});async function _0x34e777(){const _0x4be424=_0x47e23;try{await _0x221ba7[_0x4be424(0x114)](),await _0x221ba7[_0x4be424(0x104)]();}finally{process[_0x4be424(0xd2)](_0xf6c8fc),await _0x221ba7['teardownAll']();}}_0x489fb7['ChlYa'](_0x34e777);}module[a1_0x1ce6e3(0xe2)]=run;
|
|
2
|
+
'use strict';function a1_0x32fe(){const _0x3ceb26=['slice','AJVUd','vQXVA','wlonW','gherkin','BS_A11Y_JWT','gYVEt','parallelsPerPlatform','fKAca','ZQzJD','all','../../helpers/helper','Started\x20:\x20','PbnEq','RjIeN','config','initialize','chdir','browserName','desiredCapabilities','root','cwd','stop','run','map','push','result','codeceptjs','1027353rYjfnn','BS_A11Y_TEST_RUN_ID','playwright-firefox','title','winstonLogger','getPlatformName','spawn','zRyDK','../../helpers/BrowserStackSetup','codeceptjs/lib/index.js','existsSync','isUndefined','ZEopX','testContextOptions','../../bin/playwright/accessibility-helper','helpers','null','assign','9178378XRLXjF','before','testConfig','zUXAG','iRBYg','printResults','sMzaM','1302595enTGoI','createGroupsOfSuites','../../helpers/test-observability/utils','mOhHZ','sdnQf','env','frameworkName','6zWdowS','debug','ozwaP','errorMessage','playwright-chromium','VoGAo','--config','log','CVWjs','path','2RjYwKN','1848427AVKUmp','err','format','oZtkh','addTests','test','BROWSERSTACK_RERUN_TESTS','finalExecution','playwright-webkit','codecept.conf.js','join','1271691YMlyyj','split','launch','BROWSERSTACK_TEST_OBSERVABILITY_YML','skipSessionStatus','2296295VIVDNJ','WebDriver','findIndex','accessibilityOptions','mUKQc','AUeAS','mergeDeep','browser','JVdsZ','3|1|4|5|0|2','Failed\x20:\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','skipSessionName','18714640tBOnoH','LnlmH','8iysJfG','browserStackCwd','useW3C','qTRLF','12fKMQTA','bootstrapAll','Playwright','testObservability','trim','info','wjdKc','addConfig','kCQfC','getPlaywrightUrl','platforms','OyYjj','isTestObservabilitySession','Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20','Workers','require','failed','accessibility','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','event','exports','teardownAll','process','printBuildLink','getFrameworkVersion','../../helpers/logger','../../helpers/test-observability/sessionHandler','../../helpers/accessibility-automation/helper','WpnQR','forEach','root_dir_path','codecept.json','dirname','child_process','stringify'];a1_0x32fe=function(){return _0x3ceb26;};return a1_0x32fe();}const a1_0x21e1dc=a1_0x44ab;function a1_0x44ab(_0x4cfcc8,_0x5546bb){const _0x32fea0=a1_0x32fe();return a1_0x44ab=function(_0x44abfe,_0x268c86){_0x44abfe=_0x44abfe-0x165;let _0x58865f=_0x32fea0[_0x44abfe];return _0x58865f;},a1_0x44ab(_0x4cfcc8,_0x5546bb);}(function(_0x41dee0,_0x28edb4){const _0x262a6d=a1_0x44ab,_0x424045=_0x41dee0();while(!![]){try{const _0xaf6e32=-parseInt(_0x262a6d(0x175))/0x1*(-parseInt(_0x262a6d(0x186))/0x2)+-parseInt(_0x262a6d(0x1eb))/0x3*(parseInt(_0x262a6d(0x1ab))/0x4)+parseInt(_0x262a6d(0x197))/0x5*(-parseInt(_0x262a6d(0x17c))/0x6)+parseInt(_0x262a6d(0x187))/0x7+-parseInt(_0x262a6d(0x1a7))/0x8*(parseInt(_0x262a6d(0x192))/0x9)+parseInt(_0x262a6d(0x1a5))/0xa+-parseInt(_0x262a6d(0x16e))/0xb;if(_0xaf6e32===_0x28edb4)break;else _0x424045['push'](_0x424045['shift']());}catch(_0x15d677){_0x424045['push'](_0x424045['shift']());}}}(a1_0x32fe,0xee3c3));const fs=require('fs'),path=require(a1_0x21e1dc(0x185)),util=require('util'),{spawn}=require(a1_0x21e1dc(0x1cd)),process=require(a1_0x21e1dc(0x1c2)),logger=require(a1_0x21e1dc(0x1c5))[a1_0x21e1dc(0x1ef)],{default:BrowserStackSetup}=require(a1_0x21e1dc(0x1f3)),helper=require(a1_0x21e1dc(0x1da)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a1_0x21e1dc(0x1c7)),{setAccessibilityCapabilities}=require(a1_0x21e1dc(0x16a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x21e1dc(0x1da)),CodeceptJS=requireModule(a1_0x21e1dc(0x165)),SessionHandler=require(a1_0x21e1dc(0x1c6)),testOpsHelper=require(a1_0x21e1dc(0x177)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x365aa2,_0x55bd81)=>{const _0xe0d22=a1_0x21e1dc,_0x4310db={};_0x4310db[_0xe0d22(0x17e)]=function(_0x18d86e,_0x2b7906){return _0x18d86e===_0x2b7906;},_0x4310db['PbnEq']=_0xe0d22(0x190),_0x4310db[_0xe0d22(0x172)]=_0xe0d22(0x1cb);const _0x4e73bf=_0x4310db;let _0x2bd3f8=null;const _0x243180={};let _0x1425c2=_0x55bd81['findIndex'](_0x1dff67=>_0x1dff67===_0xe0d22(0x182));_0x4e73bf[_0xe0d22(0x17e)](_0x1425c2,-0x1)&&(_0x1425c2=_0x55bd81[_0xe0d22(0x199)](_0x9abfc9=>_0x9abfc9==='-c'));if(!helper[_0xe0d22(0x167)](_0x365aa2[_0xe0d22(0x1de)])&&fs[_0xe0d22(0x166)](path[_0xe0d22(0x191)](process['cwd'](),_0x365aa2[_0xe0d22(0x1de)])))_0x2bd3f8=path[_0xe0d22(0x191)](process[_0xe0d22(0x1e4)](),_0x365aa2[_0xe0d22(0x1de)]),_0x55bd81[_0xe0d22(0x1cf)](_0x1425c2,0x2);else{if(!helper[_0xe0d22(0x167)](_0x365aa2['c'])&&fs['existsSync'](path[_0xe0d22(0x191)](process[_0xe0d22(0x1e4)](),_0x365aa2['c'])))_0x2bd3f8=path['join'](process[_0xe0d22(0x1e4)](),_0x365aa2['c']),_0x55bd81[_0xe0d22(0x1cf)](_0x1425c2,0x2);else{if(fs[_0xe0d22(0x166)](path[_0xe0d22(0x191)](process[_0xe0d22(0x1e4)](),_0x4e73bf[_0xe0d22(0x1dc)])))_0x2bd3f8=path[_0xe0d22(0x191)](process[_0xe0d22(0x1e4)](),_0x4e73bf[_0xe0d22(0x1dc)]);else fs[_0xe0d22(0x166)](path[_0xe0d22(0x191)](process[_0xe0d22(0x1e4)](),_0x4e73bf['iRBYg']))&&(_0x2bd3f8=path[_0xe0d22(0x191)](process[_0xe0d22(0x1e4)](),_0x4e73bf[_0xe0d22(0x172)]));}}return _0x2bd3f8;},getO11yRerunPattern=()=>{const _0x40bd18=a1_0x21e1dc,_0x2decbc={};_0x2decbc[_0x40bd18(0x1a6)]=function(_0x1f1335,_0x545937){return _0x1f1335!==_0x545937;},_0x2decbc['ZQzJD']=_0x40bd18(0x16c);const _0x13e5ec=_0x2decbc,_0x3fdabb=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x3fdabb){const _0x2e2e4d=process[_0x40bd18(0x17a)][_0x40bd18(0x18d)],_0x4beba8=[];if(_0x13e5ec[_0x40bd18(0x1a6)](_0x2e2e4d,_0x13e5ec[_0x40bd18(0x1d8)])&&!helper['isUndefined'](_0x2e2e4d)){_0x2e2e4d['split'](',')[_0x40bd18(0x1e7)](_0x3e398d=>{const _0x50f098=_0x40bd18;_0x4beba8[_0x50f098(0x1e8)]('('+_0x3e398d[_0x50f098(0x1af)]()+')');});const _0x12e42a='^'+_0x4beba8[_0x40bd18(0x191)]('|')+'$';return _0x12e42a;}}return null;},a1_0x56d53e={};a1_0x56d53e['chrome']='chromium',a1_0x56d53e[a1_0x21e1dc(0x180)]='chromium',a1_0x56d53e[a1_0x21e1dc(0x1ed)]='firefox',a1_0x56d53e[a1_0x21e1dc(0x18f)]='webkit';const pwToCodeceptBrowser=a1_0x56d53e;async function run(_0x5e00cf,_0x12e8af){const _0x17e307=a1_0x21e1dc,_0x571073={'kCQfC':_0x17e307(0x1ea),'mOhHZ':function(_0x2eabd2,_0x3f9a03){return _0x2eabd2+_0x3f9a03;},'sdnQf':function(_0x5b8b46,_0x4c24b3){return _0x5b8b46(_0x4c24b3);},'oZtkh':function(_0x1fd6ec,_0x63f365,_0x2969cd){return _0x1fd6ec(_0x63f365,_0x2969cd);},'mUKQc':_0x17e307(0x1de),'wjdKc':'helpers','RjIeN':function(_0x184f46){return _0x184f46();},'jasIV':function(_0x252cdd){return _0x252cdd();},'OyYjj':_0x17e307(0x1a1),'AJVUd':'Passed\x20:\x20','JVdsZ':_0x17e307(0x1db),'gYVEt':_0x17e307(0x1a0),'fKAca':function(_0x35efeb,_0x4069e6){return _0x35efeb(_0x4069e6);},'BQnZv':function(_0x165475,_0x564fd4){return _0x165475(_0x564fd4);},'ASxTD':_0x17e307(0x1a2),'VoGAo':'Playwright','tfTAD':'WebDriver','wlonW':function(_0x2e8b39,_0x189d03){return _0x2e8b39(_0x189d03);},'CVWjs':function(_0x2810a5,_0x125e0c,_0x247eb2){return _0x2810a5(_0x125e0c,_0x247eb2);},'VVrmW':function(_0x7b5ed6,_0x353a4f){return _0x7b5ed6(_0x353a4f);},'qTRLF':function(_0x251069,_0x37dc39){return _0x251069!=_0x37dc39;},'sMzaM':'false','zUXAG':_0x17e307(0x1e3),'WpnQR':'BrowserStackPlugin.js','zRyDK':_0x17e307(0x1a8),'vQXVA':function(_0x41aef1,_0x4d0896){return _0x41aef1*_0x4d0896;},'pUPOS':function(_0x2ace70,_0x248fe9){return _0x2ace70+_0x248fe9;},'AUeAS':function(_0x18203c,_0x3f7b43,_0x4679d9){return _0x18203c(_0x3f7b43,_0x4679d9);},'HkTca':_0x17e307(0x1d3),'ZEopX':'-cucumber'},_0x20fa0c=new BrowserStackSetup(_0x5e00cf,_0x571073[_0x17e307(0x1b3)]);await _0x20fa0c[_0x17e307(0x1df)](),await helper['handleApp'](_0x20fa0c[_0x17e307(0x1de)]);if(!_0x20fa0c[_0x17e307(0x1de)])return;const _0x5b970c=_0x571073[_0x17e307(0x18a)](getUserCodeceptJSConfigs,_0x5e00cf,_0x12e8af);let _0x4a7bbb={};_0x5b970c?(logger[_0x17e307(0x1b0)](_0x17e307(0x1bd)+_0x5b970c),_0x4a7bbb=_0x571073['BQnZv'](require,_0x5b970c)):logger[_0x17e307(0x1b0)](_0x571073['ASxTD']);let _0x38b0cc=![];_0x571073[_0x17e307(0x18a)](nestedKeyValue,_0x4a7bbb,[_0x571073[_0x17e307(0x19b)],_0x571073[_0x17e307(0x1b1)],_0x571073[_0x17e307(0x181)]])&&(_0x38b0cc=!![]);const _0x4ae193=_0x38b0cc?_0x571073[_0x17e307(0x181)]:_0x571073['tfTAD'];let _0x11ce4a=!_0x38b0cc?helper[_0x17e307(0x1a9)](_0x20fa0c[_0x17e307(0x1de)]):![];!helper[_0x17e307(0x167)](_0x20fa0c[_0x17e307(0x1de)][_0x17e307(0x19a)])&&(process[_0x17e307(0x17a)][_0x17e307(0x1a3)]=JSON['stringify'](_0x20fa0c['config']['accessibilityOptions']));let _0x567ab0=_0x20fa0c['config'][_0x17e307(0x1bc)];_0x567ab0=_0x567ab0||_0x571073[_0x17e307(0x1d2)](checkAccessibilityPlatformConfig,_0x20fa0c['config']),process[_0x17e307(0x17a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x567ab0;if(_0x567ab0){_0x11ce4a=![];const [_0x5e078d,_0x288caa]=await _0x571073[_0x17e307(0x184)](createAccessibilityTestRun,_0x20fa0c[_0x17e307(0x1de)],_0x571073[_0x17e307(0x1b3)]);logger[_0x17e307(0x17d)](_0x17e307(0x1be)+_0x288caa),process['env'][_0x17e307(0x1d4)]=_0x5e078d,process[_0x17e307(0x17a)][_0x17e307(0x1ec)]=_0x288caa,_0x571073['VVrmW'](setAccessibilityCapabilities,_0x20fa0c[_0x17e307(0x1de)]);}_0x571073[_0x17e307(0x1aa)](_0x20fa0c[_0x17e307(0x1de)]['testObservability'],null)?process[_0x17e307(0x17a)][_0x17e307(0x195)]=_0x20fa0c[_0x17e307(0x1de)][_0x17e307(0x1ae)]:process[_0x17e307(0x17a)][_0x17e307(0x195)]=_0x571073[_0x17e307(0x174)];const _0x1f6ec6={},_0x19f72a=[];if(_0x571073[_0x17e307(0x1dd)](isBrowserstackInfra)){const _0x2dc888=[];_0x20fa0c['config'][_0x17e307(0x1b5)][_0x17e307(0x1c9)]((_0x133296,_0xd437e9)=>{const _0x4b3372=_0x17e307;_0x11ce4a?_0x2dc888['push'](helper['modifyBrowserStackW3CCaps'](_0x20fa0c[_0x4b3372(0x1de)],_0x571073[_0x4b3372(0x1b3)],_0xd437e9)):_0x2dc888[_0x4b3372(0x1e8)](helper['modifyBrowserStackCaps'](_0x20fa0c[_0x4b3372(0x1de)],_0x571073[_0x4b3372(0x1b3)],_0xd437e9));}),_0x2dc888[_0x17e307(0x1c9)](_0x2a72d8=>{const _0x471324=_0x17e307,_0x3347d8=_0x571073[_0x471324(0x178)](helper[_0x471324(0x1f0)](_0x2a72d8,'_'),'_'+Date['now']()),_0x291bef=((()=>{const _0x53881a=_0x471324;if(_0x38b0cc){const _0x44fa3a=pwToCodeceptBrowser[_0x2a72d8[_0x53881a(0x1e1)]]||_0x2a72d8[_0x53881a(0x1e1)];return{'browser':_0x44fa3a,[_0x44fa3a]:{'browserWSEndpoint':_0x571073[_0x53881a(0x178)](helper[_0x53881a(0x1b4)](_0x20fa0c[_0x53881a(0x1de)]),_0x571073[_0x53881a(0x179)](encodeURIComponent,JSON[_0x53881a(0x1ce)](_0x2a72d8)))}};}const _0x2f808f={};return _0x2f808f[_0x53881a(0x1e2)]=_0x2a72d8,_0x2f808f;})()),_0x535a13=_0x571073[_0x471324(0x18a)](nestedKeyValue,_0x4a7bbb,[_0x571073['mUKQc'],_0x571073[_0x471324(0x1b1)],_0x4ae193]);_0x1f6ec6[_0x3347d8]=_0x535a13?helper[_0x471324(0x19d)](_0x291bef,_0x535a13):_0x291bef,!_0x38b0cc&&(_0x1f6ec6[_0x3347d8][_0x471324(0x19e)]=_0x2a72d8['browserName']||_0x291bef[_0x471324(0x19e)]),_0x19f72a[_0x471324(0x1e8)](_0x3347d8);});}else _0x1f6ec6[_0x571073[_0x17e307(0x171)]]=_0x4a7bbb[_0x17e307(0x1de)],_0x19f72a['push'](_0x571073[_0x17e307(0x171)]);const _0x4eb8c2={};_0x4eb8c2[_0x17e307(0x170)]=_0x5b970c;const _0xb59f9a=_0x4eb8c2,_0x67326a=path[_0x17e307(0x191)](__dirname,_0x571073[_0x17e307(0x1c8)]),_0x4eafa0=process[_0x17e307(0x1e4)]();process['env'][_0x571073[_0x17e307(0x1f2)]]=_0x4eafa0,process[_0x17e307(0x1e0)](path[_0x17e307(0x1cc)](_0x5b970c));const _0x1a1c95=new CodeceptJS[(_0x17e307(0x1b9))](null,_0xb59f9a),_0xcd21f2=_0x1a1c95[_0x17e307(0x176)](_0x571073[_0x17e307(0x1d1)](_0x20fa0c[_0x17e307(0x1de)][_0x17e307(0x1d6)],_0x20fa0c['config'][_0x17e307(0x1b5)]['length'])),_0x3c3243=testOpsHelper[_0x17e307(0x1b7)](),_0x2d4a4b=_0x571073['pUPOS'](_0x571073['kCQfC'],_0x571073[_0x17e307(0x19c)](nestedKeyValue,_0x4a7bbb,[_0x571073['mUKQc'],_0x571073['HkTca']])?_0x571073[_0x17e307(0x168)]:''),_0x552bf9=_0x19f72a[_0x17e307(0x1e7)](_0x59920d=>{const _0x40ad64=_0x17e307,_0x59d126={};_0x59d126[_0x40ad64(0x1ad)]=_0x1f6ec6[_0x59920d];const _0x383b52={};_0x383b52[_0x40ad64(0x198)]=_0x1f6ec6[_0x59920d];const _0x3ae11e=_0x38b0cc?_0x59d126:_0x383b52,_0x1867c1=_0x571073[_0x40ad64(0x1dd)](getO11yRerunPattern),_0x2f2ccb={};_0x2f2ccb[_0x40ad64(0x16b)]=_0x3ae11e;const _0x29fe46={};_0x29fe46[_0x40ad64(0x1ba)]=_0x67326a,_0x29fe46['enabled']=!![],_0x29fe46[_0x40ad64(0x1a4)]=_0x20fa0c[_0x40ad64(0x1de)]['testContextOptions']['skipSessionName'],_0x29fe46['skipSessionStatus']=_0x20fa0c[_0x40ad64(0x1de)][_0x40ad64(0x169)][_0x40ad64(0x196)],_0x29fe46['testObservability']=_0x3c3243,_0x29fe46[_0x40ad64(0x17b)]=_0x2d4a4b;const _0x523062={};_0x523062['BrowserStackPlugin']=_0x29fe46;const _0x47cfe6={};return _0x47cfe6['plugins']=_0x523062,helper[_0x40ad64(0x19d)]({},_0x4a7bbb[_0x40ad64(0x1de)],_0x571073['jasIV'](isBrowserstackInfra)?_0x2f2ccb:{},_0x1867c1?{'grep':_0x1867c1}:{},_0x47cfe6);});if(_0x3c3243){const _0x2c9dca={};_0x2c9dca[_0x17e307(0x1ca)]='',await SessionHandler[_0x17e307(0x194)](Object[_0x17e307(0x16d)]({},_0x20fa0c['config'],_0x2c9dca),{'frameworkName':_0x2d4a4b,'frameworkVersion':testOpsHelper[_0x17e307(0x1c4)](_0x571073['kCQfC'])});}for(const _0x12dd4e of _0x552bf9){for(const _0x556bb0 of _0xcd21f2){const _0x43fa7=_0x1a1c95[_0x17e307(0x1f1)]();_0x43fa7[_0x17e307(0x18b)](_0x556bb0),_0x43fa7[_0x17e307(0x1b2)](_0x12dd4e);}}_0x1a1c95['on'](CodeceptJS['event'][_0x17e307(0x18c)][_0x17e307(0x1bb)],(_0x155704,_0x3fce5c)=>{const _0x1083b3=_0x17e307;console['log'](_0x571073[_0x1083b3(0x1b6)],_0x155704[_0x1083b3(0x1ee)]);const _0x2ee0f3={[_0x155704[_0x1083b3(0x1ee)]]:_0x155704[_0x1083b3(0x188)]['stack']};_testErrorData['push'](_0x2ee0f3);}),_0x1a1c95['on'](CodeceptJS[_0x17e307(0x1bf)][_0x17e307(0x18c)]['passed'],async _0x356e30=>{const _0x16817a=_0x17e307;console[_0x16817a(0x183)](_0x571073[_0x16817a(0x1d0)],_0x356e30['title']);}),_0x1a1c95['on'](CodeceptJS[_0x17e307(0x1bf)][_0x17e307(0x18c)][_0x17e307(0x16f)],async _0x14b710=>{const _0x55b6e0=_0x17e307;console[_0x55b6e0(0x183)](_0x571073[_0x55b6e0(0x19f)],_0x14b710['title']);}),_0x1a1c95['on'](CodeceptJS['event'][_0x17e307(0x1d9)][_0x17e307(0x1e9)],async()=>{const _0x1f1f1c=_0x17e307,_0x1337b6=_0x571073[_0x1f1f1c(0x1d5)][_0x1f1f1c(0x193)]('|');let _0xd05995=0x0;while(!![]){switch(_0x1337b6[_0xd05995++]){case'0':if(_0x3c3243)try{await SessionHandler[_0x1f1f1c(0x1e5)]();}catch(_0x1f9457){logger['debug'](_0x1f1f1c(0x1b8)+util[_0x1f1f1c(0x189)](_0x1f9457));}continue;case'1':_0x567ab0&&await _0x571073[_0x1f1f1c(0x1d7)](stopAccessibilityTestRun,_0x20fa0c['config']);continue;case'2':_0x1a1c95[_0x1f1f1c(0x173)]();continue;case'3':_0x20fa0c[_0x1f1f1c(0x17f)]=_testErrorData;continue;case'4':testOpsHelper[_0x1f1f1c(0x1c3)]();continue;case'5':helper[_0x1f1f1c(0x18e)](_0x20fa0c);continue;}break;}});async function _0x289672(){const _0x4f8275=_0x17e307;try{await _0x1a1c95[_0x4f8275(0x1ac)](),await _0x1a1c95[_0x4f8275(0x1e6)]();}finally{process['chdir'](_0x4eafa0),await _0x1a1c95[_0x4f8275(0x1c1)]();}}_0x571073['jasIV'](_0x289672);}module[a1_0x21e1dc(0x1c0)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2_0x27cf50=a2_0x288b;(function(_0x178e20,_0x4f346f){const _0x45fc2d=a2_0x288b,_0x7ef3a0=_0x178e20();while(!![]){try{const _0x185e13=parseInt(_0x45fc2d(0x188))/0x1*(parseInt(_0x45fc2d(0x15d))/0x2)+-parseInt(_0x45fc2d(0x174))/0x3*(-parseInt(_0x45fc2d(0x198))/0x4)+parseInt(_0x45fc2d(0x189))/0x5*(-parseInt(_0x45fc2d(0x184))/0x6)+parseInt(_0x45fc2d(0x180))/0x7*(-parseInt(_0x45fc2d(0x1a3))/0x8)+parseInt(_0x45fc2d(0x1a6))/0x9+-parseInt(_0x45fc2d(0x19f))/0xa*(parseInt(_0x45fc2d(0x190))/0xb)+parseInt(_0x45fc2d(0x15a))/0xc;if(_0x185e13===_0x4f346f)break;else _0x7ef3a0['push'](_0x7ef3a0['shift']());}catch(_0x1633c2){_0x7ef3a0['push'](_0x7ef3a0['shift']());}}}(a2_0x4388,0xd1021));const {isUndefined,nestedKeyValue}=require(a2_0x27cf50(0x165)),logger=require(a2_0x27cf50(0x15e))[a2_0x27cf50(0x171)],PlaywrightSessionDetails=require(a2_0x27cf50(0x17d)),{isAccessibilityAutomationSession}=require(a2_0x27cf50(0x192)),getOSVersionFromCaps=_0x512ae4=>{const _0x27c932=a2_0x27cf50,_0x3e693b={};_0x3e693b[_0x27c932(0x167)]=_0x27c932(0x196),_0x3e693b[_0x27c932(0x18b)]=_0x27c932(0x197),_0x3e693b[_0x27c932(0x172)]='platform_version',_0x3e693b['ETPrm']=_0x27c932(0x191),_0x3e693b[_0x27c932(0x16b)]=_0x27c932(0x181);const _0x203b15=_0x3e693b;if(!_0x512ae4)return null;const _0x4185a5=_0x512ae4[_0x203b15[_0x27c932(0x167)]],_0x31bb97=[_0x203b15[_0x27c932(0x18b)],_0x203b15['ngoSy'],_0x203b15[_0x27c932(0x170)],_0x203b15[_0x27c932(0x16b)]];for(const _0x13e806 of _0x31bb97){if(_0x4185a5&&_0x4185a5[_0x13e806])return _0x4185a5[_0x13e806];else{if(_0x512ae4[_0x13e806])return _0x512ae4[_0x13e806];}}return null;};function a2_0x288b(_0x2d4d66,_0x35f4d5){const _0x438861=a2_0x4388();return a2_0x288b=function(_0x288b27,_0x10f0cd){_0x288b27=_0x288b27-0x159;let _0x290f54=_0x438861[_0x288b27];return _0x290f54;},a2_0x288b(_0x2d4d66,_0x35f4d5);}exports[a2_0x27cf50(0x1a5)]=_0x3c627a=>{const _0xc09a73=a2_0x27cf50,_0x3cf749={'LElpc':_0xc09a73(0x19c),'LCLeP':function(_0x27e6b2,_0x36a716){return _0x27e6b2===_0x36a716;},'lMeUQ':_0xc09a73(0x1a1),'QKXHM':function(_0x12c7a9,_0x287611){return _0x12c7a9(_0x287611);},'WLoOh':function(_0x309d67,_0x1fee8b,_0x79e617){return _0x309d67(_0x1fee8b,_0x79e617);},'kzWeZ':_0xc09a73(0x15b),'PVMYi':'desiredCapabilities','dBZEc':_0xc09a73(0x16c),'qggpn':_0xc09a73(0x162),'rnTuL':_0xc09a73(0x16e),'MNHbh':'app-automate','uYPmw':'automate','LYhaB':function(_0x287ab9,_0x9052a1){return _0x287ab9===_0x9052a1;},'YBJCW':'Playwright','NZyqV':_0xc09a73(0x182),'ORmSo':_0xc09a73(0x173),'HxLoV':'caps','vSTWR':function(_0x10b296,_0x1b1c1b){return _0x10b296===_0x1b1c1b;}};if(!_0x3c627a)return null;let _0x590277=global[_0xc09a73(0x17a)]||_0x3cf749[_0xc09a73(0x177)];if(_0x3cf749[_0xc09a73(0x178)](_0x3c627a['constructor'][_0xc09a73(0x16f)],_0x3cf749[_0xc09a73(0x17e)])){const _0x5da61c=_0x3c627a[_0xc09a73(0x182)];if(!_0x5da61c)return null;const _0x4179c4=_0x5da61c['capabilities'],_0x23a30e=_0x3cf749[_0xc09a73(0x185)](getOSVersionFromCaps,_0x3cf749[_0xc09a73(0x1a4)](nestedKeyValue,_0x3c627a,[_0x3cf749['kzWeZ'],_0x3cf749[_0xc09a73(0x18d)]]));return{[_0x590277]:{'browser':_0x4179c4[_0xc09a73(0x19d)],'browser_version':_0x4179c4[_0xc09a73(0x175)],'capabilities':_0x4179c4,'platform':_0x4179c4[_0xc09a73(0x19b)],'platform_version':_0x4179c4[_0xc09a73(0x197)]||_0x23a30e,'product':_0x3cf749['LCLeP'](global[_0xc09a73(0x17a)],_0x3cf749[_0xc09a73(0x166)])?_0x4179c4[_0x3cf749[_0xc09a73(0x169)]]||_0x4179c4[_0x3cf749[_0xc09a73(0x17b)]]?_0x3cf749[_0xc09a73(0x16a)]:_0x3cf749['uYPmw']:null,'session_id':_0x5da61c[_0xc09a73(0x16d)]}};}else{if(_0x3cf749['LYhaB'](_0x3c627a['constructor'][_0xc09a73(0x16f)],_0x3cf749[_0xc09a73(0x186)])){const _0x5bab22=PlaywrightSessionDetails['getDetails']();_0x590277=_0x5bab22[_0xc09a73(0x179)]||_0x590277;const _0x96a2f8=_0x3cf749[_0xc09a73(0x1a4)](nestedKeyValue,_0x3c627a,[_0x3cf749[_0xc09a73(0x160)],_0x3cf749['NZyqV'],_0x3cf749['ORmSo']]),_0x45d562=_0x96a2f8?JSON[_0xc09a73(0x1a2)](new URL(_0x96a2f8)[_0xc09a73(0x19e)]['get'](_0x3cf749[_0xc09a73(0x1aa)])):{};return{[_0x590277]:{'browser':_0x5bab22['browser']||_0x45d562[_0xc09a73(0x19d)],'browser_version':_0x5bab22[_0xc09a73(0x18e)]||_0x45d562['browser_version'],'capabilities':_0x45d562,'platform':_0x5bab22[_0xc09a73(0x187)],'platform_version':_0x5bab22['platform_version'],'product':_0x3cf749['vSTWR'](global[_0xc09a73(0x17a)],_0x3cf749[_0xc09a73(0x166)])?_0x45d562[_0x3cf749['qggpn']]||_0x45d562[_0x3cf749[_0xc09a73(0x17b)]]?_0x3cf749[_0xc09a73(0x16a)]:_0x3cf749['uYPmw']:null,'session_id':_0x5bab22[_0xc09a73(0x168)]}};}}},exports[a2_0x27cf50(0x17c)]=_0x307034=>{const _0x244c9a=a2_0x27cf50,_0x111d0b={'SIupc':function(_0x124b88){return _0x124b88();},'ZiqBV':function(_0x3d3584,_0x126454){return _0x3d3584===_0x126454;},'ZqJso':_0x244c9a(0x159),'aqHOq':function(_0x42b53f,_0x509346){return _0x42b53f>_0x509346;},'sdCwK':function(_0x47452c,_0x15568c){return _0x47452c(_0x15568c);},'VaJVY':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','oGRCz':'chrome','ixWWZ':function(_0x24f15a,_0x4bea86){return _0x24f15a===_0x4bea86;},'GxhkB':_0x244c9a(0x17f),'AdIOJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','SLcCX':_0x244c9a(0x161)};if(_0x111d0b[_0x244c9a(0x1a8)](isAccessibilityAutomationSession)){const _0x132e11=_0x307034[_0x244c9a(0x182)],_0x5e2d06=_0x132e11[_0x244c9a(0x195)];global['accessibilityPlatform']=!![],!(_0x111d0b[_0x244c9a(0x1a7)](_0x5e2d06[_0x244c9a(0x175)],_0x111d0b[_0x244c9a(0x1a0)])||_0x111d0b[_0x244c9a(0x18c)](_0x111d0b[_0x244c9a(0x176)](parseInt,_0x5e2d06[_0x244c9a(0x175)]),0x5e))&&(logger[_0x244c9a(0x164)](_0x111d0b[_0x244c9a(0x194)]),global[_0x244c9a(0x199)]=![]),!(_0x111d0b[_0x244c9a(0x1a7)](_0x5e2d06[_0x244c9a(0x19d)],_0x111d0b['oGRCz'])||_0x111d0b[_0x244c9a(0x15f)](_0x5e2d06[_0x244c9a(0x19d)],_0x111d0b[_0x244c9a(0x18a)]))&&(logger[_0x244c9a(0x164)](_0x111d0b[_0x244c9a(0x1a9)]),global['accessibilityPlatform']=![]),!_0x111d0b[_0x244c9a(0x176)](isUndefined,_0x5e2d06[_0x244c9a(0x19a)])&&(logger[_0x244c9a(0x164)](_0x111d0b['SLcCX']),global[_0x244c9a(0x199)]=![]);}},exports['shouldPatchExecuteScript']=_0x4dd99f=>{const _0x58634b=a2_0x27cf50,_0x2b0841={};_0x2b0841[_0x58634b(0x15c)]=_0x58634b(0x193),_0x2b0841[_0x58634b(0x18f)]=_0x58634b(0x183);const _0x5a78e0=_0x2b0841;if(!_0x4dd99f)return![];return!_0x4dd99f[_0x58634b(0x163)](_0x5a78e0[_0x58634b(0x15c)])&&!_0x4dd99f['includes'](_0x5a78e0[_0x58634b(0x18f)]);};function a2_0x4388(){const _0x18222c=['KthYU','browserstack','sessionId','app','name','ETPrm','winstonLogger','ngoSy','browserWSEndpoint','3ltOqHf','browserVersion','sdCwK','LElpc','LCLeP','cloudProvider','__cloud_provider___','rnTuL','processWebDriverConfig','../../bin/playwright/sessionDetails','lMeUQ','playwright-chromium','14ynmbin','os_version','browser','browserstack_accessibility_automation_script','2317998LCiJCJ','QKXHM','YBJCW','platform','304qnwlkn','20hbNnSp','GxhkB','jKoSr','aqHOq','PVMYi','browser_version','IyYbe','11yqtXQK','osVersion','../../helpers/accessibility-automation/helper','browserstack_executor','VaJVY','capabilities','bstack:options','platformVersion','4231924pNMaAw','accessibilityPlatform','deviceName','platformName','unknown_grid','browserName','searchParams','9277630acKZjZ','ZqJso','WebDriver','parse','2036552Wlqzkg','WLoOh','fetchPlatformDetails','1315215pUgOkP','ZiqBV','SIupc','AdIOJ','HxLoV','latest','24252552kbRNWQ','config','MnejI','4034ccqZMh','../../helpers/logger','ixWWZ','kzWeZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','appium:app','includes','warn','../../helpers/helper','dBZEc','lMFcg','bsSessionId','qggpn','MNHbh'];a2_0x4388=function(){return _0x18222c;};return a2_0x4388();}
|