browserstack-node-sdk 1.34.14 → 1.34.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -0
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0x5c9ebd=a66_0x556d;(function(_0xea9541,_0x1c7269){const _0x3ef8ab=a66_0x556d,_0x2bb983=_0xea9541();while(!![]){try{const _0x2a73ee=parseInt(_0x3ef8ab(0xb1))/0x1*(parseInt(_0x3ef8ab(0xad))/0x2)+parseInt(_0x3ef8ab(0xaa))/0x3+parseInt(_0x3ef8ab(0xb0))/0x4+-parseInt(_0x3ef8ab(0xba))/0x5*(parseInt(_0x3ef8ab(0xab))/0x6)+-parseInt(_0x3ef8ab(0xaf))/0x7+parseInt(_0x3ef8ab(0x9f))/0x8*(parseInt(_0x3ef8ab(0xb4))/0x9)+parseInt(_0x3ef8ab(0xae))/0xa;if(_0x2a73ee===_0x1c7269)break;else _0x2bb983['push'](_0x2bb983['shift']());}catch(_0x4c3b5b){_0x2bb983['push'](_0x2bb983['shift']());}}}(a66_0x1a6a,0xc644e));const winston=require('winston'),os=require('os'),fs=require('fs'),path=require(a66_0x5c9ebd(0xa2)),logDir=a66_0x5c9ebd(0xac);!fs[a66_0x5c9ebd(0xbf)](logDir)&&fs[a66_0x5c9ebd(0xa8)](logDir);const a66_0x12abdd={};a66_0x12abdd[a66_0x5c9ebd(0xb5)]=a66_0x5c9ebd(0xc0);function a66_0x556d(_0x4916e9,_0x46588c){const _0x1a6ada=a66_0x1a6a();return a66_0x556d=function(_0x556dd6,_0x3dff69){_0x556dd6=_0x556dd6-0x9f;let _0x2a00a5=_0x1a6ada[_0x556dd6];return _0x2a00a5;},a66_0x556d(_0x4916e9,_0x46588c);}const transports={'loggerConsole':new winston['transports'][(a66_0x5c9ebd(0xa0))](a66_0x12abdd),'loggerFile':new winston['transports'][(a66_0x5c9ebd(0xc1))]({'filename':path[a66_0x5c9ebd(0xbc)](logDir,a66_0x5c9ebd(0xb9))}),'debugLoggerFile':new winston[(a66_0x5c9ebd(0xa9))]['File']({'filename':path[a66_0x5c9ebd(0xbc)](logDir,a66_0x5c9ebd(0xb7)),'level':'silly'})},a66_0x146d33={};a66_0x146d33[a66_0x5c9ebd(0xa6)]=a66_0x5c9ebd(0xbe);const a66_0x1be60e={};a66_0x1be60e[a66_0x5c9ebd(0xb8)]=!![];const winstonLoggerParams={'format':winston[a66_0x5c9ebd(0xa6)][a66_0x5c9ebd(0xa7)](winston[a66_0x5c9ebd(0xa6)][a66_0x5c9ebd(0xa4)](a66_0x146d33),winston[a66_0x5c9ebd(0xa6)][a66_0x5c9ebd(0xa3)](a66_0x1be60e),winston[a66_0x5c9ebd(0xa6)]['printf'](_0x4fc5bc=>_0x4fc5bc[a66_0x5c9ebd(0xa4)]+'\x20-\x20'+_0x4fc5bc[a66_0x5c9ebd(0xb8)]+':\x20'+_0x4fc5bc['message'])),'transports':[transports[a66_0x5c9ebd(0xa1)],transports[a66_0x5c9ebd(0xb3)],transports[a66_0x5c9ebd(0xbb)]]},a66_0x5f13a9={};function a66_0x1a6a(){const _0x262d43=['message','YYYY-MM-DD\x20HH:mm:ss','existsSync','console.info','File','8663096puqCpe','Console','loggerConsole','path','colorize','timestamp','printf','format','combine','mkdirSync','transports','797241DjEMma','316908WUGMUC','log','910234nKdgOs','531900XEdwtE','1962912nIiVcp','1037488xbwqJl','2WdTWlV','winstonLogger','loggerFile','9xmiSKX','name','fileLogger','/usage-debug.log','level','/usage.log','140TaXqDL','debugLoggerFile','join'];a66_0x1a6a=function(){return _0x262d43;};return a66_0x1a6a();}a66_0x5f13a9[a66_0x5c9ebd(0xa6)]=a66_0x5c9ebd(0xbe);const a66_0x499cbe={};a66_0x499cbe[a66_0x5c9ebd(0xb8)]=!![];const winstonFileLoggerParams={'format':winston[a66_0x5c9ebd(0xa6)][a66_0x5c9ebd(0xa7)](winston[a66_0x5c9ebd(0xa6)][a66_0x5c9ebd(0xa4)](a66_0x5f13a9),winston[a66_0x5c9ebd(0xa6)][a66_0x5c9ebd(0xa3)](a66_0x499cbe),winston[a66_0x5c9ebd(0xa6)][a66_0x5c9ebd(0xa5)](_0x2a66c0=>_0x2a66c0[a66_0x5c9ebd(0xb8)]+':\x20'+_0x2a66c0[a66_0x5c9ebd(0xbd)])),'transports':[transports[a66_0x5c9ebd(0xb3)],transports['debugLoggerFile']]};exports[a66_0x5c9ebd(0xb2)]=new winston['createLogger'](winstonLoggerParams),exports[a66_0x5c9ebd(0xb6)]=new winston['createLogger'](winstonFileLoggerParams),exports['logDir']=logDir,exports['transports']=transports;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a67_0x2408a8=a67_0x3415;(function(_0x2a6263,_0x22a8e5){const _0x2730ff=a67_0x3415,_0x4201a3=_0x2a6263();while(!![]){try{const _0x62d6fd=parseInt(_0x2730ff(0xac))/0x1*(-parseInt(_0x2730ff(0xda))/0x2)+parseInt(_0x2730ff(0xbd))/0x3+parseInt(_0x2730ff(0xbe))/0x4+parseInt(_0x2730ff(0xdb))/0x5*(parseInt(_0x2730ff(0xe1))/0x6)+parseInt(_0x2730ff(0xd0))/0x7+parseInt(_0x2730ff(0xf6))/0x8*(-parseInt(_0x2730ff(0xde))/0x9)+-parseInt(_0x2730ff(0xf3))/0xa;if(_0x62d6fd===_0x22a8e5)break;else _0x4201a3['push'](_0x4201a3['shift']());}catch(_0x1aa6f3){_0x4201a3['push'](_0x4201a3['shift']());}}}(a67_0x3149,0x4df74));function a67_0x3415(_0x171d83,_0x431e35){const _0x3149ba=a67_0x3149();return a67_0x3415=function(_0x341516,_0x57dd3f){_0x341516=_0x341516-0x98;let _0x9f0c42=_0x3149ba[_0x341516];return _0x9f0c42;},a67_0x3415(_0x171d83,_0x431e35);}function a67_0x3149(){const _0x3a69e7=['DpjxB','cvsUJ','findElement\x20command\x20failed\x20with\x20cssPath:\x20','Error\x20in\x20handling\x20TCG\x20Auth:\x20','capability','286460FQxvXj','EuCRw','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','16712pLSgkt','PPfPO','xlFsD','WYmdr','nestedKeyValue','uNrxe','using','getGlobal','parameters_','NoSuchElementError','Successfully\x20healed\x20command\x20using\x20new\x20','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','get','setAiSessionTimeStamp','initExecute','getNudgeLocalNotSetError','./logger','measureWrapper','isBrowserstackInfra','winstonLogger','JsobW','./performance-tester','setTcgToken','QxUbK','getId','findElement\x20command\x20failed\x20with\x20','MiDjz','local','bstack:options','1NaEDZX','./globals','skCdN','mtosN','UhhAf','toString','zDdUN','../bin/utils/constants','lHIIu','url','wmnBw','./ai-sdk/aiSdkWrapper','aiHeal:setToken','sBIvz','find','jEPrz','iAyII','71019HgakDy','628264DeSQyC','findElement','info','./ai-sdk/autoHealHelper',';\x20Trying\x20to\x20heal','sPglB','handleFailure','esbdu','UdfIS','IDJOn','execute','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','nvXqC','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','SeVfi','name','value','skipHealingSuccess','4239711djqWDe','debug','css\x20selector','EoFbk','JavascriptError','isSelfHealEnabled','aiHeal:findElementSuccess','patchExecute','overrideExecute','JJQZc','1104764YcZCss','5FPeXAd','name_','uyUFi','1089OeAWun','NGFYC','aiHeal_isAuthenticated','2200398FcUobV','includes','getSession','sofrA','OwVFD','aiHeal:findElementFailure','YFcSz','SowQV','NUDGE_LOCAL_ERRORS','browserstack.local','eDQME','bNkZL','McERV'];a67_0x3149=function(){return _0x3a69e7;};return a67_0x3149();}const {aiSdkWrapper}=require(a67_0x2408a8(0xb7)),{commandRepository}=require(a67_0x2408a8(0xc1)),PerformanceTester=require(a67_0x2408a8(0xa4)),globals=require(a67_0x2408a8(0xad)),logger=require(a67_0x2408a8(0x9f))[a67_0x2408a8(0xa2)],helper=require('./helper'),constants=require(a67_0x2408a8(0xb3));exports[a67_0x2408a8(0xd8)]=(_0x93721a,_0x19cb41)=>{const _0x42f78b=a67_0x2408a8,_0xf75c2b={'SowQV':_0x42f78b(0xe0),'QWuDI':_0x42f78b(0xb8),'sBIvz':function(_0x46e5d4){return _0x46e5d4();},'cvsUJ':'aiSdk_defaultLogDataEnabled','zDdUN':function(_0x39ddee,_0x4714f7){return _0x39ddee===_0x4714f7;},'mtosN':_0x42f78b(0xbf),'UdfIS':'aiHeal_isHealingEnabled','iAyII':_0x42f78b(0xd6),'QxUbK':function(_0x3f3ff2){return _0x3f3ff2();},'IDJOn':_0x42f78b(0xc9),'NGFYC':function(_0x126ec6,_0x147745){return _0x126ec6===_0x147745;},'DpjxB':_0x42f78b(0x98),'LifZQ':_0x42f78b(0xd4),'YFcSz':function(_0x5a9e7c,_0x2ad023){return _0x5a9e7c===_0x2ad023;},'UheUP':_0x42f78b(0xd2),'lHIIu':function(_0x4a3ec2,_0xdc0720){return _0x4a3ec2+_0xdc0720;},'uNrxe':function(_0x46505d,_0x133bc7){return _0x46505d+_0x133bc7;},'JJQZc':_0x42f78b(0xf0),'skCdN':_0x42f78b(0xc2),'eDQME':function(_0x2b924c,_0x4c8710){return _0x2b924c+_0x4c8710;},'sPglB':function(_0x525608,_0x37edd7){return _0x525608+_0x37edd7;},'bNkZL':function(_0x28582a,_0x2c2085){return _0x28582a+_0x2c2085;},'vDohf':_0x42f78b(0xa8),'SeVfi':_0x42f78b(0xe6),'JsobW':function(_0x5c77be){return _0x5c77be();},'nvXqC':function(_0x145972,_0x3b7f2a){return _0x145972&&_0x3b7f2a;},'MiDjz':function(_0x5aabfc,_0x593553){return _0x5aabfc===_0x593553;},'MCCHM':_0x42f78b(0xcb),'wmnBw':function(_0x2979b2,_0x360f63){return _0x2979b2+_0x360f63;},'EuCRw':function(_0x2e0e6b,_0x224306){return _0x2e0e6b+_0x224306;},'JPaoY':_0x42f78b(0x99),'ZHQDf':function(_0x5dd5c1,_0x48ee0f){return _0x5dd5c1+_0x48ee0f;},'McERV':_0x42f78b(0xf5),'IQtcR':function(_0x56d20f,_0x4b27cc){return _0x56d20f+_0x4b27cc;},'BnEaS':'Healing\x20failed\x20for\x20command\x20using\x20','esbdu':function(_0x5d2e44,_0x52b50b){return _0x5d2e44===_0x52b50b;},'WYmdr':_0x42f78b(0x9b),'jEPrz':_0x42f78b(0xfe),'OwVFD':_0x42f78b(0xb5),'sofrA':_0x42f78b(0x9a),'PPfPO':_0x42f78b(0xf2),'UhhAf':_0x42f78b(0xea),'xlFsD':_0x42f78b(0xab),'uyUFi':_0x42f78b(0xaa)},_0x318091=_0x93721a[_0x42f78b(0xd7)]||(helper[_0x42f78b(0xfa)](_0x19cb41,[_0xf75c2b[_0x42f78b(0xf7)],_0xf75c2b[_0x42f78b(0xb0)]])||helper[_0x42f78b(0xfa)](_0x19cb41,[_0xf75c2b[_0x42f78b(0xf7)],_0xf75c2b[_0x42f78b(0xf8)],_0xf75c2b[_0x42f78b(0xdd)]]));if(!globals[_0x42f78b(0xfd)](_0xf75c2b['SowQV'])&&!globals['getGlobal'](_0xf75c2b[_0x42f78b(0xc6)])&&_0x318091)return;_0x93721a['patchExecute']=!![],_0x93721a[_0x42f78b(0x9d)]=_0x93721a[_0x42f78b(0xc8)],_0x93721a['execute']=async _0x1ea33f=>{const _0xdbbe04=_0x42f78b,_0x2c54d0={};_0x2c54d0['EoFbk']=_0xf75c2b[_0xdbbe04(0xe8)];const _0x4e1cec=_0x2c54d0;try{if(!commandRepository['getTcgTokenStatus']()&&globals[_0xdbbe04(0xfd)](_0xf75c2b[_0xdbbe04(0xe8)])){const _0x347fe8=PerformanceTester[_0xdbbe04(0xa0)](_0xf75c2b['QWuDI'],async()=>{const _0x457acd=_0xdbbe04;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x457acd(0xa5)]((await _0x93721a[_0x457acd(0xe3)]())['getId']());const _0x35db3f=globals[_0x457acd(0xfd)](_0x4e1cec[_0x457acd(0xd3)]);_0x35db3f&&commandRepository[_0x457acd(0x9c)]((await _0x93721a[_0x457acd(0xe3)]())[_0x457acd(0xa7)]());}catch(_0x54547d){logger['error'](_0x457acd(0xf1)+_0x54547d);}});await _0xf75c2b[_0xdbbe04(0xb9)](_0x347fe8);}const _0x194a27=await _0x93721a['initExecute'](_0x1ea33f);if(!helper['isBrowserstackInfra']()&&(commandRepository[_0xdbbe04(0xd5)]()||globals['getGlobal'](_0xf75c2b[_0xdbbe04(0xef)]))&&_0xf75c2b[_0xdbbe04(0xb2)](_0x1ea33f['name_'],_0xf75c2b[_0xdbbe04(0xaf)])&&!_0x1ea33f[_0xdbbe04(0xcf)]&&globals['getGlobal'](_0xf75c2b[_0xdbbe04(0xe8)])&&globals[_0xdbbe04(0xfd)](_0xf75c2b[_0xdbbe04(0xc6)])){const _0x1f3f9c=new Date(),_0x4289e6=PerformanceTester['measureWrapper'](_0xf75c2b[_0xdbbe04(0xbc)],async()=>{return await aiSdkWrapper['handleSuccess'](_0x19cb41,_0x93721a,_0x1ea33f);});await _0xf75c2b[_0xdbbe04(0xa6)](_0x4289e6);}return _0x194a27;}catch(_0x569a96){logger[_0xdbbe04(0xd1)](_0xf75c2b[_0xdbbe04(0xc7)]);try{if(!helper[_0xdbbe04(0xa1)]()&&(_0xf75c2b[_0xdbbe04(0xdf)](_0x569a96[_0xdbbe04(0xcd)],_0xf75c2b[_0xdbbe04(0xee)])||_0xf75c2b['zDdUN'](_0x569a96[_0xdbbe04(0xcd)],_0xf75c2b['LifZQ']))&&_0xf75c2b['zDdUN'](_0x1ea33f[_0xdbbe04(0xdc)],_0xf75c2b[_0xdbbe04(0xaf)])&&commandRepository[_0xdbbe04(0xd5)]()&&globals[_0xdbbe04(0xfd)](_0xf75c2b['SowQV'])&&globals[_0xdbbe04(0xfd)](_0xf75c2b['UdfIS'])){_0xf75c2b[_0xdbbe04(0xe7)](_0x1ea33f[_0xdbbe04(0xfe)]['using'],_0xf75c2b['UheUP'])?logger[_0xdbbe04(0xc0)](_0xf75c2b[_0xdbbe04(0xb4)](_0xf75c2b[_0xdbbe04(0xfb)](_0xf75c2b[_0xdbbe04(0xd9)],_0x1ea33f['parameters_'][_0xdbbe04(0xce)]),_0xf75c2b[_0xdbbe04(0xae)])):logger[_0xdbbe04(0xc0)](_0xf75c2b[_0xdbbe04(0xb4)](_0xf75c2b[_0xdbbe04(0xeb)](_0xf75c2b[_0xdbbe04(0xc3)](_0xf75c2b[_0xdbbe04(0xec)](_0xf75c2b['vDohf'],_0x1ea33f[_0xdbbe04(0xfe)]['using']),':\x20'),_0x1ea33f[_0xdbbe04(0xfe)][_0xdbbe04(0xce)]),_0xf75c2b[_0xdbbe04(0xae)]));const _0x94d30b=PerformanceTester[_0xdbbe04(0xa0)](_0xf75c2b[_0xdbbe04(0xcc)],async()=>{const _0x11ad9d=_0xdbbe04;return await aiSdkWrapper[_0x11ad9d(0xc4)](_0x19cb41,_0x93721a,_0x1ea33f);}),_0x455074=new Date(),{locatorType:_0x453c26,locatorValue:_0x30b781,commandHealed:_0x481132}=await _0xf75c2b[_0xdbbe04(0xa3)](_0x94d30b);if(_0xf75c2b[_0xdbbe04(0xca)](_0x453c26,_0x30b781)){_0x1ea33f[_0xdbbe04(0xfe)][_0xdbbe04(0xfc)]=_0x453c26,_0x1ea33f[_0xdbbe04(0xfe)][_0xdbbe04(0xce)]=_0x30b781,_0x1ea33f[_0xdbbe04(0xcf)]=!![];const _0x122e7d=_0x93721a['execute'](_0x1ea33f);return _0xf75c2b[_0xdbbe04(0xa9)](_0x453c26,_0xf75c2b['UheUP'])?logger[_0xdbbe04(0xc0)](_0xf75c2b[_0xdbbe04(0xfb)](_0xf75c2b['MCCHM'],_0x30b781)):logger[_0xdbbe04(0xc0)](_0xf75c2b[_0xdbbe04(0xb6)](_0xf75c2b[_0xdbbe04(0xf4)](_0xf75c2b[_0xdbbe04(0xb6)](_0xf75c2b['JPaoY'],_0x453c26),':\x20'),_0x30b781)),_0x122e7d;}else!_0x481132&&(_0xf75c2b[_0xdbbe04(0xb2)](_0x453c26,_0xf75c2b['UheUP'])?logger[_0xdbbe04(0xc0)](_0xf75c2b['ZHQDf'](_0xf75c2b[_0xdbbe04(0xed)],_0x1ea33f[_0xdbbe04(0xfe)][_0xdbbe04(0xce)])):logger[_0xdbbe04(0xc0)](_0xf75c2b[_0xdbbe04(0xb6)](_0xf75c2b['IQtcR'](_0xf75c2b['ZHQDf'](_0xf75c2b['BnEaS'],_0x1ea33f[_0xdbbe04(0xfe)]['using']),':\x20'),_0x1ea33f[_0xdbbe04(0xfe)][_0xdbbe04(0xce)])));}!_0x318091&&_0xf75c2b[_0xdbbe04(0xc5)](_0x1ea33f[_0xdbbe04(0xdc)],_0xf75c2b[_0xdbbe04(0xf9)])&&helper[_0xdbbe04(0xfa)](_0x1ea33f,[_0xf75c2b[_0xdbbe04(0xbb)],_0xf75c2b[_0xdbbe04(0xe5)]])&&!!constants[_0xdbbe04(0xe9)][_0xdbbe04(0xba)](_0x1a87d2=>{const _0x195070=_0xdbbe04;return _0x569a96[_0x195070(0xb1)]()[_0x195070(0xe2)](_0x1a87d2);})&&helper[_0xdbbe04(0x9e)](_0x1ea33f[_0xdbbe04(0xfe)][_0xdbbe04(0xb5)],!![]);}catch(_0x4a4fc9){logger[_0xdbbe04(0xd1)](_0xf75c2b[_0xdbbe04(0xe4)],_0x4a4fc9);}throw _0x569a96;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a68_0x501188=a68_0x2a2d;function a68_0x5638(){var _0x3f3dfc=['2611200wlDJML','4712484fMiwUm','emit','2GkkdRF','40oyRiMl','overrideTakeScreenshot','overrideQuit','initQuit','5|2|1|4|0|3','bs:addLog:','then','Fftds','724927wfRnKj','pid','3581379EWvFLu','initScreenshot','BS_TESTOPS_ALLOW_SCREENSHOTS','PZjDT','tVDGd','nYKhu','takeScreenshot','split','hnkHG','toISOString','3|1|0|2|4','quit','3831903JnYfuE','env','aujVK','nEwmV','patchScreenshot','XYZYj','patchQuit','pAZNs','190EntDmX','xISYS','true','TEST_SCREENSHOT','947656VlzbsJ','quitCount_','51654JdKqgm'];a68_0x5638=function(){return _0x3f3dfc;};return a68_0x5638();}function a68_0x2a2d(_0x524f08,_0x599c79){var _0x5638b5=a68_0x5638();return a68_0x2a2d=function(_0x2a2d57,_0x2ce62a){_0x2a2d57=_0x2a2d57-0xd0;var _0x199c6a=_0x5638b5[_0x2a2d57];return _0x199c6a;},a68_0x2a2d(_0x524f08,_0x599c79);}(function(_0x375287,_0x1f2480){var _0x28783f=a68_0x2a2d,_0x186913=_0x375287();while(!![]){try{var _0x2ef982=-parseInt(_0x28783f(0xd1))/0x1*(-parseInt(_0x28783f(0xf4))/0x2)+parseInt(_0x28783f(0xe8))/0x3+-parseInt(_0x28783f(0xf8))/0x4+parseInt(_0x28783f(0xf0))/0x5*(parseInt(_0x28783f(0xf6))/0x6)+-parseInt(_0x28783f(0xda))/0x7*(parseInt(_0x28783f(0xd2))/0x8)+parseInt(_0x28783f(0xdc))/0x9+-parseInt(_0x28783f(0xf7))/0xa;if(_0x2ef982===_0x1f2480)break;else _0x186913['push'](_0x186913['shift']());}catch(_0x5136ae){_0x186913['push'](_0x186913['shift']());}}}(a68_0x5638,0xf26d8),exports[a68_0x501188(0xd3)]=_0x10f3a0=>{var _0x302600=a68_0x501188,_0x37bda7={'ostNX':_0x302600(0xd6),'hnkHG':function(_0x2219fa,_0x582e73){return _0x2219fa!==_0x582e73;},'XYZYj':_0x302600(0xf2),'pAZNs':_0x302600(0xf3),'nEwmV':function(_0x32c306,_0x2a4d19){return _0x32c306(_0x2a4d19);}},_0x4d9b01=_0x37bda7['ostNX'][_0x302600(0xe3)]('|'),_0x58f2b9=0x0;while(!![]){switch(_0x4d9b01[_0x58f2b9++]){case'0':_0x10f3a0[_0x302600(0xdd)]=_0x10f3a0[_0x302600(0xe2)];continue;case'1':if(_0x10f3a0[_0x302600(0xec)])return;continue;case'2':if(_0x37bda7[_0x302600(0xe4)](process[_0x302600(0xe9)][_0x302600(0xde)],_0x37bda7[_0x302600(0xed)]))return;continue;case'3':_0x10f3a0['takeScreenshot']=()=>{return new Promise(function(_0x446e87,_0x59a34e){var _0x431e7d=a68_0x2a2d,_0x5cfb5a={'glFYm':_0x5cb81a['CpqVH'],'GpNMs':function(_0xe67f91,_0x4c1867){return _0x5cb81a['AnrtC'](_0xe67f91,_0x4c1867);}};_0x10f3a0[_0x431e7d(0xdd)]()[_0x431e7d(0xd8)](_0x1affdc=>{var _0xa97013=_0x431e7d;process[_0xa97013(0xd0)](_0xa97013(0xd7)+process[_0xa97013(0xdb)],{'timestamp':new Date()[_0xa97013(0xe5)](),'message':_0x1affdc,'kind':_0x5cfb5a['glFYm']}),_0x5cfb5a['GpNMs'](_0x446e87,_0x1affdc);});});};continue;case'4':_0x10f3a0['patchScreenshot']=!![];continue;case'5':var _0x5cb81a={'CpqVH':_0x37bda7[_0x302600(0xef)],'AnrtC':function(_0x4bbb78,_0x561c4c){var _0x1ee949=_0x302600;return _0x37bda7[_0x1ee949(0xeb)](_0x4bbb78,_0x561c4c);}};continue;}break;}},exports[a68_0x501188(0xd4)]=(_0x1a1f6c,_0xea5ab2=null)=>{var _0x5b7d35=a68_0x501188,_0x21413e={'PZjDT':_0x5b7d35(0xe6),'Fftds':function(_0x42f0c2){return _0x42f0c2();},'nYKhu':function(_0x5e1031,_0x3de1fc){return _0x5e1031>_0x3de1fc;}},_0x1a2799=_0x21413e[_0x5b7d35(0xdf)][_0x5b7d35(0xe3)]('|'),_0x38e9a9=0x0;while(!![]){switch(_0x1a2799[_0x38e9a9++]){case'0':_0x1a1f6c[_0x5b7d35(0xee)]=!![];continue;case'1':if(_0x1a1f6c['patchQuit'])return;continue;case'2':_0x1a1f6c[_0x5b7d35(0xd5)]=_0x1a1f6c[_0x5b7d35(0xe7)];continue;case'3':var _0x5f4d45={'aujVK':function(_0x372a74){var _0x2b74a3=_0x5b7d35;return _0x21413e[_0x2b74a3(0xd9)](_0x372a74);},'xISYS':function(_0x305072,_0x57e283){var _0x5232c8=_0x5b7d35;return _0x21413e[_0x5232c8(0xe1)](_0x305072,_0x57e283);}};continue;case'4':_0x1a1f6c[_0x5b7d35(0xe7)]=()=>{var _0x39f09d=_0x5b7d35,_0x21ea17={'tVDGd':function(_0x3c4294){var _0x2ba51=a68_0x2a2d;return _0x5f4d45[_0x2ba51(0xea)](_0x3c4294);}};if(_0xea5ab2){_0xea5ab2['quitCount_']+=0x1;if(_0x5f4d45['xISYS'](_0xea5ab2[_0x39f09d(0xf5)],0x1))return _0x1a1f6c[_0x39f09d(0xd5)]();}else{_0x1a1f6c[_0x39f09d(0xf5)]+=0x1;if(_0x5f4d45[_0x39f09d(0xf1)](_0x1a1f6c[_0x39f09d(0xf5)],0x1))return _0x1a1f6c[_0x39f09d(0xd5)]();}return new Promise(function(_0x1d5f85){var _0xddc558=_0x39f09d;_0x21ea17[_0xddc558(0xe0)](_0x1d5f85);});};continue;}break;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a69_0x23d8(){const _0x328f84=['isRunning','child_process','fetchPercyToken','../../helpers/testhub/constants','16617KKXGjC','api/app_percy/get_project_token?name=','getBinaryPath','createPercyConfig','ynppG','fHxlx','Percy\x20fetch\x20token\x20success','ENV_VAR','exec','env','projectName','../logger','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','25660TpSdvD','percyOptions','AyFsN','Percy\x20healthcheck\x20successful','lJNGW','debug','kaeJX','push','QuYXY','ygVZj','loXQY','531EkJmEl','app','fuiUL','xtbkw','automate','pipe','GET','4809120ooBzqp','AciZk','join','isProcessRunning','winstonLogger','1115124TmtdOs','359750jTkPHs','4027330Dldvom','PERCY_SERVER_ADDRESS','91dviwbv','http://localhost:5338','./PercyBinary','data','../helper','createWriteStream','healthcheck','Error\x20creating\x20percy\x20config:\x20','writeFile','RBpSQ','token','app:exec','DRXMy','percy/healthcheck','GnlJL','tmpdir','DstNS','BROWSERSTACK_TESTHUB_UUID','assign','nodeRequest','stdout','Percy\x20config\x20created\x20at\x20','&type=','268lMhaHO','close','GDnQr','LwkUD','7218nBmCpg','flags','xDklI','exports',':start','percy.json','error'];a69_0x23d8=function(){return _0x328f84;};return a69_0x23d8();}function a69_0x5364(_0x324960,_0x10a96b){const _0x23d837=a69_0x23d8();return a69_0x5364=function(_0x536409,_0x3816f0){_0x536409=_0x536409-0xb6;let _0x2d87a2=_0x23d837[_0x536409];return _0x2d87a2;},a69_0x5364(_0x324960,_0x10a96b);}const a69_0x1c571c=a69_0x5364;(function(_0x2bf2a2,_0x418078){const _0x46ba13=a69_0x5364,_0x5e1537=_0x2bf2a2();while(!![]){try{const _0x34eef2=-parseInt(_0x46ba13(0xe9))/0x1+-parseInt(_0x46ba13(0xea))/0x2+-parseInt(_0x46ba13(0xc5))/0x3*(-parseInt(_0x46ba13(0xb6))/0x4)+parseInt(_0x46ba13(0xeb))/0x5+-parseInt(_0x46ba13(0xba))/0x6*(-parseInt(_0x46ba13(0xed))/0x7)+parseInt(_0x46ba13(0xe4))/0x8+parseInt(_0x46ba13(0xdd))/0x9*(parseInt(_0x46ba13(0xd2))/0xa);if(_0x34eef2===_0x418078)break;else _0x5e1537['push'](_0x5e1537['shift']());}catch(_0x4485b4){_0x5e1537['push'](_0x5e1537['shift']());}}}(a69_0x23d8,0x9ea19));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a69_0x1c571c(0xc2)),helper=require(a69_0x1c571c(0xf1)),logger=require(a69_0x1c571c(0xd0))[a69_0x1c571c(0xe8)],{logDir}=require(a69_0x1c571c(0xd0)),testHubConstants=require(a69_0x1c571c(0xc4)),PercyBinary=require(a69_0x1c571c(0xef));class Percy{#logfile=path[a69_0x1c571c(0xe6)](logDir,'percy.log');#address=process[a69_0x1c571c(0xce)][a69_0x1c571c(0xec)]||a69_0x1c571c(0xee);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a69_0x1c571c(0xe7)]=![];constructor(_0x23eade){const _0x24e319=a69_0x1c571c;this.#config=_0x23eade,!!_0x23eade[_0x24e319(0xde)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x2ef0b6=a69_0x1c571c;if(!this.#binaryPath){const _0x4a0219=new PercyBinary();this.#binaryPath=await _0x4a0219[_0x2ef0b6(0xc7)](this.#config);}return this.#binaryPath;}async #sleep(_0x22b7ef){return new Promise(_0x569c69=>setTimeout(_0x569c69,_0x22b7ef));}async[a69_0x1c571c(0xf3)](){const _0x37a4c6=a69_0x1c571c,_0x5609e4={};_0x5609e4[_0x37a4c6(0xca)]=_0x37a4c6(0xe3),_0x5609e4[_0x37a4c6(0xd6)]=_0x37a4c6(0xfa);const _0x1ffca0=_0x5609e4;try{const _0x400af4=await helper[_0x37a4c6(0x100)](_0x1ffca0['fHxlx'],_0x1ffca0[_0x37a4c6(0xd6)],null,null,this.#address);if(_0x400af4)return!![];}catch(_0x239f13){return![];}}async['start'](){const _0x2fffbe=a69_0x1c571c,_0x484ccd={'GnlJL':_0x2fffbe(0xf8),'QuYXY':_0x2fffbe(0xcd),'LwkUD':function(_0x1f19a6,_0x4487ad,_0x44678d,_0x38adf4){return _0x1f19a6(_0x4487ad,_0x44678d,_0x38adf4);},'nEpiz':_0x2fffbe(0xb7),'GDnQr':_0x2fffbe(0xd5)},_0x104a8c=await this.#getBinaryPath(),_0xa95abd={};_0xa95abd[_0x2fffbe(0xbb)]='a';const _0x5c07db=fs[_0x2fffbe(0xf2)](this.#logfile,_0xa95abd),_0xf90e32=await this[_0x2fffbe(0xc3)](),_0x1f5cec=await this['createPercyConfig']();if(!_0xf90e32)return![];const _0x1dd4b9=[(this.#isApp?_0x484ccd[_0x2fffbe(0xfb)]:_0x484ccd[_0x2fffbe(0xda)])+_0x2fffbe(0xbe)];_0x1f5cec&&_0x1dd4b9[_0x2fffbe(0xd9)]('-c',_0x1f5cec);this.#proc=_0x484ccd[_0x2fffbe(0xb9)](spawn,_0x104a8c,_0x1dd4b9,{'env':Object[_0x2fffbe(0xff)](process[_0x2fffbe(0xce)],{'PERCY_TOKEN':_0xf90e32,'TH_BUILD_UUID':process[_0x2fffbe(0xce)][testHubConstants[_0x2fffbe(0xcc)][_0x2fffbe(0xfe)]]})}),this.#proc[_0x2fffbe(0x101)][_0x2fffbe(0xe2)](_0x5c07db),this.#proc['stderr'][_0x2fffbe(0xe2)](_0x5c07db),this['isProcessRunning']=!![];var _0x13d59b=this;this.#proc['on'](_0x484ccd['nEpiz'],function(_0x2bcf04){_0x13d59b['isProcessRunning']=![];});do{const _0x332075=await this['healthcheck']();if(_0x332075)return logger[_0x2fffbe(0xd7)](_0x484ccd[_0x2fffbe(0xb8)]),!![];await this.#sleep(0x3e8);}while(this[_0x2fffbe(0xe7)]);return![];}async['stop'](){const _0x5cc4a3=a69_0x1c571c,_0x4e65b4={'rHgAy':function(_0x389b38,_0x5ca796){return _0x389b38(_0x5ca796);},'fuiUL':function(_0x12186f,_0x3b90dc,_0xdda404){return _0x12186f(_0x3b90dc,_0xdda404);},'AciZk':'exec:stop','DRXMy':_0x5cc4a3(0xb7)},_0x40c2b7=await this.#getBinaryPath();return new Promise((_0x25f2e0,_0x2ab1ac)=>{const _0x579358=_0x5cc4a3,_0xf111a7={'weTpj':function(_0x5064bd,_0x33eeb9){return _0x4e65b4['rHgAy'](_0x5064bd,_0x33eeb9);}},_0x4f36fd=_0x4e65b4[_0x579358(0xdf)](spawn,_0x40c2b7,[_0x4e65b4[_0x579358(0xe5)]]);_0x4f36fd['on'](_0x4e65b4[_0x579358(0xf9)],_0x22c335=>{const _0x547128=_0x579358;this[_0x547128(0xe7)]=![],_0xf111a7['weTpj'](_0x25f2e0,_0x22c335);});});}[a69_0x1c571c(0xc1)](){return this['isProcessRunning'];}async[a69_0x1c571c(0xc3)](){const _0x5a06b9=a69_0x1c571c,_0x56fabe={};_0x56fabe[_0x5a06b9(0xbc)]='app',_0x56fabe[_0x5a06b9(0xc9)]=_0x5a06b9(0xe1),_0x56fabe[_0x5a06b9(0xfd)]=_0x5a06b9(0xe3),_0x56fabe[_0x5a06b9(0xdb)]=_0x5a06b9(0xcb);const _0xe82f58=_0x56fabe,_0x464545=this.#config[_0x5a06b9(0xcf)];try{const _0x261ddb=this.#isApp?_0xe82f58[_0x5a06b9(0xbc)]:_0xe82f58[_0x5a06b9(0xc9)],_0x578203=await helper[_0x5a06b9(0x100)](_0xe82f58[_0x5a06b9(0xfd)],_0x5a06b9(0xc6)+_0x464545+_0x5a06b9(0x103)+_0x261ddb,{},this.#config),_0x5219f5=_0x578203[_0x5a06b9(0xf0)];return logger[_0x5a06b9(0xd7)](_0xe82f58[_0x5a06b9(0xdb)]),_0x5219f5[_0x5a06b9(0xf7)];}catch(_0x4e8685){return logger[_0x5a06b9(0xc0)](_0x5a06b9(0xd1)+_0x4e8685),null;}}async[a69_0x1c571c(0xc8)](){const _0x963147=a69_0x1c571c,_0x367a78={'RBpSQ':function(_0x591284,_0x2c69a4){return _0x591284(_0x2c69a4);},'HBpsS':function(_0x41d634,_0xa3053b){return _0x41d634+_0xa3053b;},'loXQY':_0x963147(0x102),'kaeJX':_0x963147(0xbf)};if(!this.#config[_0x963147(0xd3)])return null;const _0x2df52d=path[_0x963147(0xe6)](os[_0x963147(0xfc)](),_0x367a78[_0x963147(0xd8)]),_0x11068c=this.#config['percyOptions'];return!_0x11068c['version']&&(_0x11068c['version']='2'),new Promise((_0x10b7bb,_0x116e32)=>{const _0x48ef36=_0x963147,_0x143b61={'AyFsN':function(_0x582836,_0x4aba3a){const _0x5d0e41=a69_0x5364;return _0x367a78[_0x5d0e41(0xf6)](_0x582836,_0x4aba3a);},'xtbkw':function(_0x2658cc,_0x101793){return _0x367a78['HBpsS'](_0x2658cc,_0x101793);},'fBQDz':_0x367a78[_0x48ef36(0xdc)]};fs[_0x48ef36(0xf5)](_0x2df52d,JSON['stringify'](_0x11068c),_0x1f1987=>{const _0x5ab99d=_0x48ef36;_0x1f1987&&(logger[_0x5ab99d(0xc0)](_0x5ab99d(0xf4)+_0x1f1987),_0x143b61[_0x5ab99d(0xd4)](_0x10b7bb,null)),logger[_0x5ab99d(0xd7)](_0x143b61[_0x5ab99d(0xe0)](_0x143b61['fBQDz'],_0x2df52d)),_0x143b61[_0x5ab99d(0xd4)](_0x10b7bb,_0x2df52d);});});}}module[a69_0x1c571c(0xbd)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a69_0x24420b=a69_0x53cc;(function(_0x1909f7,_0x2f6955){const _0x2cfea8=a69_0x53cc,_0x559f4f=_0x1909f7();while(!![]){try{const _0x300ed1=parseInt(_0x2cfea8(0x13e))/0x1+-parseInt(_0x2cfea8(0x14b))/0x2+-parseInt(_0x2cfea8(0x121))/0x3+-parseInt(_0x2cfea8(0x148))/0x4+-parseInt(_0x2cfea8(0x10e))/0x5+parseInt(_0x2cfea8(0x132))/0x6+parseInt(_0x2cfea8(0x16b))/0x7;if(_0x300ed1===_0x2f6955)break;else _0x559f4f['push'](_0x559f4f['shift']());}catch(_0x134649){_0x559f4f['push'](_0x559f4f['shift']());}}}(a69_0x4652,0xdf7e9));function a69_0x4652(){const _0x5dee56=['nuTuL','length','entry','4255180uJCQxz','W_OK','percy.exe','accessSync','winstonLogger','oNsNA','0755','error','iqSpV','.zip','NZOYI','yauzl','IbYOq','download','faZXl','/percy-linux.zip','join','port','LZVKD','1330986EErBbM','/home/','X_OK','host','cMQtn','mkdirSync','parse','GTsXz','JZThd','eezKy','USERPROFILE','test','pAoQr','XWRPp','aXUdp','ombkM','darwin','7259958RamHtI','proxyHost','path','createWriteStream','get','xelks','tPOHE','YzYFZ','readEntry','lazyEntries','HOMEPATH','NjdrZ','1703733MYwROi','R_OK','FPRcn','HvYlX','once','cwd','exports','qVlLo','/percy-osx.zip','jNmzX','1796608pPomQE','yHvuQ','/root','1099586QJFknA','LNAME','cvxSF','yNDRo','lYxzM','dBNTb','kZCJB','/percy-win.zip','dwLNe','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','Corrupt\x20percy\x20binary,\x20retrying','chmod','pipe','SupWN','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','Komwi','follow-redirects','QrTET','bcHfL','child_process','uQCAW','flTPT','aPZXU','msOWw','agent','readFileSync','dEmlB','validateBinary','end','../logger','sQvhM','klsmY','2067450vHQqVk','openReadStream','QQaEU','alDmE','linux','WxNnr','percy','kpPAB','GUYZK','OgcdP','XnQdw','function','lSCSd','open','USERNAME','lUXpj','useCaCertificate','https-proxy-agent','HOME','homedir','https://github.com/percy/cli/releases/latest/download','--version','bvdgZ','GiVxe','platform','vMHqH','getuid','fileName','proxyPort','close','data','YEIFt'];a69_0x4652=function(){return _0x5dee56;};return a69_0x4652();}const {https}=require(a69_0x24420b(0x15b)),url=require('url'),yauzl=require(a69_0x24420b(0x119)),fs=require('fs'),path=require(a69_0x24420b(0x134)),os=require('os'),{spawn}=require(a69_0x24420b(0x15e)),HttpsProxyAgent=require(a69_0x24420b(0xfc)),logger=require(a69_0x24420b(0x168))[a69_0x24420b(0x112)];function a69_0x53cc(_0x429fb6,_0x168aa6){const _0x465228=a69_0x4652();return a69_0x53cc=function(_0x53cce4,_0x13ebce){_0x53cce4=_0x53cce4-0xfc;let _0x54c183=_0x465228[_0x53cce4];return _0x54c183;},a69_0x53cc(_0x429fb6,_0x168aa6);}class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a69_0x24420b(0x171);#orderedPaths=[path['join'](this.#homedir(),'.browserstack'),process[a69_0x24420b(0x143)](),os['tmpdir']()];constructor(){const _0x455137=a69_0x24420b,_0x935d06={};_0x935d06['GUYZK']=_0x455137(0xff),_0x935d06[_0x455137(0x15f)]=function(_0x1ce0df,_0xe7f07f){return _0x1ce0df+_0xe7f07f;},_0x935d06['eezKy']=_0x455137(0x146),_0x935d06[_0x455137(0x11a)]=_0x455137(0x152),_0x935d06[_0x455137(0x120)]=_0x455137(0x110),_0x935d06[_0x455137(0x15d)]=function(_0x1348cb,_0x542176){return _0x1348cb+_0x542176;},_0x935d06[_0x455137(0x151)]=_0x455137(0x11d);const _0x5ebe23=_0x935d06,_0x41644c=_0x5ebe23[_0x455137(0x173)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x5ebe23[_0x455137(0x15f)](_0x41644c,_0x5ebe23[_0x455137(0x12a)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x5ebe23[_0x455137(0x15f)](_0x41644c,_0x5ebe23[_0x455137(0x11a)]),this.#binaryName=_0x5ebe23[_0x455137(0x120)]):this.#httpPath=_0x5ebe23[_0x455137(0x15d)](_0x41644c,_0x5ebe23[_0x455137(0x151)]);}#getAvailableDirs(){const _0x58aec7=a69_0x24420b,_0x2fca1a={};_0x2fca1a['NjdrZ']=function(_0x3519cf,_0x4e6411){return _0x3519cf<_0x4e6411;},_0x2fca1a[_0x58aec7(0x170)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x3dbec7=_0x2fca1a;for(var _0x461d24=0x0;_0x3dbec7[_0x58aec7(0x13d)](_0x461d24,this.#orderedPaths[_0x58aec7(0x10c)]);_0x461d24++){var _0x1970f2=this.#orderedPaths[_0x461d24];if(this.#makePath(_0x1970f2))return _0x1970f2;}throw new Error(_0x3dbec7[_0x58aec7(0x170)]);}#makePath(_0x17761b){const _0x12925b=a69_0x24420b;try{return!this.#checkPath(_0x17761b)&&fs[_0x12925b(0x126)](_0x17761b),!![];}catch{return![];}}#checkPath(_0x35bd56,_0x1b0fad){const _0x433968=a69_0x24420b,_0x18caec={};_0x18caec['iqSpV']=function(_0x1b8ac9,_0x2e5a0c){return _0x1b8ac9|_0x2e5a0c;},_0x18caec[_0x433968(0x17a)]=function(_0x163fa1,_0x4e4cdc){return _0x163fa1!==_0x4e4cdc;},_0x18caec[_0x433968(0x139)]='undefined';const _0x143a74=_0x18caec;_0x1b0fad=_0x1b0fad||_0x143a74[_0x433968(0x116)](fs[_0x433968(0x13f)],fs[_0x433968(0x10f)]);try{return fs[_0x433968(0x111)](_0x35bd56,_0x1b0fad),!![];}catch(_0x15abf3){if(_0x143a74['lUXpj'](typeof fs[_0x433968(0x111)],_0x143a74[_0x433968(0x139)]))return![];try{return fs['statSync'](_0x35bd56),!![];}catch(_0x482a02){return![];}}}async['getBinaryPath'](_0xcb80ad){const _0x3a854d=a69_0x24420b,_0x15bf86={};_0x15bf86[_0x3a854d(0x11c)]=_0x3a854d(0x155);const _0x5e7e61=_0x15bf86;var _0xfb5c13=this.#getAvailableDirs(),_0x3d96d2=path[_0x3a854d(0x11e)](_0xfb5c13,this.#binaryName);if(this.#checkPath(_0x3d96d2,fs[_0x3a854d(0x123)]))return _0x3d96d2;const _0x131b67=await this[_0x3a854d(0x11b)](_0xcb80ad,_0xfb5c13),_0x3330ca=await this[_0x3a854d(0x166)](_0x131b67);if(!_0x3330ca)return logger[_0x3a854d(0x115)](_0x5e7e61['faZXl']),await this[_0x3a854d(0x11b)](_0xcb80ad,_0xfb5c13);return _0x131b67;}async['validateBinary'](_0x265a93){const _0x378f1b=a69_0x24420b,_0x472162={'jNmzX':function(_0x1c75a5,_0xf4f11f){return _0x1c75a5(_0xf4f11f);},'QrTET':function(_0x4d780e,_0x5561ec,_0x386372){return _0x4d780e(_0x5561ec,_0x386372);},'ifYdv':_0x378f1b(0x100),'vMHqH':_0x378f1b(0x109),'qVlLo':_0x378f1b(0x108)},_0x1c20a7=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x420cab,_0x532ddb)=>{const _0xe2cbae=_0x378f1b,_0x1ecdec={'dwLNe':function(_0x186d16,_0x17fa6b){const _0x294ba1=a69_0x53cc;return _0x472162[_0x294ba1(0x147)](_0x186d16,_0x17fa6b);}},_0x5729d4=_0x472162[_0xe2cbae(0x15c)](spawn,_0x265a93,[_0x472162['ifYdv']]);_0x5729d4['stdout']['on'](_0x472162[_0xe2cbae(0x104)],_0x45b9c0=>{const _0x3151d5=_0xe2cbae;_0x1c20a7[_0x3151d5(0x12c)](_0x45b9c0)&&_0x1ecdec[_0x3151d5(0x153)](_0x420cab,!![]);}),_0x5729d4['on'](_0x472162[_0xe2cbae(0x145)],()=>{const _0xfce14e=_0xe2cbae;_0x472162[_0xfce14e(0x147)](_0x420cab,![]);});});}[a69_0x24420b(0x11b)](_0x26cb8d,_0x41e6ac){const _0x20f021=a69_0x24420b,_0x259d51={'cMQtn':_0x20f021(0x154),'ombkM':function(_0x4ade6d,_0x2f8252){return _0x4ade6d(_0x2f8252);},'flTPT':'Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','pAoQr':function(_0x1786cf,_0x576a7a){return _0x1786cf(_0x576a7a);},'FdCHr':_0x20f021(0x167),'SupWN':function(_0x3e6455,_0xaa3c48){return _0x3e6455===_0xaa3c48;},'sQvhM':_0x20f021(0x10d),'dBNTb':_0x20f021(0x115),'oNsNA':_0x20f021(0x108),'alDmE':_0x20f021(0x159),'iFRoD':function(_0x2f3ea3,_0x2c3ff5){return _0x2f3ea3(_0x2c3ff5);},'QQaEU':_0x20f021(0x114),'ivwEv':function(_0xf71e7a,_0x35dd36){return _0xf71e7a+_0x35dd36;},'lYxzM':_0x20f021(0x117),'OVPuF':'Percy\x20download\x20failed\x20to\x20read\x20cert\x20file'};!this.#checkPath(_0x41e6ac)&&fs[_0x20f021(0x126)](_0x41e6ac);const _0x188777=this.#binaryName,_0x54da10=path['join'](_0x41e6ac,_0x259d51['ivwEv'](_0x188777,_0x259d51[_0x20f021(0x14f)])),_0x192baa=path['join'](_0x41e6ac,_0x188777),_0x4b8b4b=fs[_0x20f021(0x135)](_0x54da10),_0x3a5025=url[_0x20f021(0x127)](this.#httpPath);if(_0x26cb8d[_0x20f021(0x133)]&&_0x26cb8d[_0x20f021(0x107)]){const _0x9e4e1e={};_0x9e4e1e[_0x20f021(0x124)]=_0x26cb8d[_0x20f021(0x133)],_0x9e4e1e[_0x20f021(0x11f)]=_0x26cb8d[_0x20f021(0x107)],_0x3a5025[_0x20f021(0x163)]=new HttpsProxyAgent(_0x9e4e1e);}if(_0x26cb8d[_0x20f021(0x17b)])try{_0x3a5025['ca']=fs[_0x20f021(0x164)](_0x26cb8d['useCaCertificate']);}catch(_0x15d68b){logger[_0x20f021(0x115)](_0x259d51['OVPuF'],_0x15d68b);}return new Promise((_0x4dfa1d,_0x3283bf)=>{const _0x532157=_0x20f021,_0x5e1b3f={'XWRPp':function(_0x28976c,_0x76f4c3){const _0x2ec77d=a69_0x53cc;return _0x259d51[_0x2ec77d(0x130)](_0x28976c,_0x76f4c3);},'kpPAB':_0x259d51[_0x532157(0x16d)]};https[_0x532157(0x136)](_0x3a5025,function(_0x5c4781){const _0x319809=_0x532157,_0x423c97={'klsmY':_0x259d51[_0x319809(0x125)],'msOWw':function(_0x152b24,_0x30015e){const _0x46d9f3=_0x319809;return _0x259d51[_0x46d9f3(0x130)](_0x152b24,_0x30015e);},'yHvuQ':_0x259d51[_0x319809(0x160)],'KjXes':function(_0x30624f,_0xf3f744){const _0x478e21=_0x319809;return _0x259d51[_0x478e21(0x12d)](_0x30624f,_0xf3f744);},'JZThd':_0x259d51['FdCHr'],'IHwrp':function(_0x3eec68,_0x31505d){const _0x4b0925=_0x319809;return _0x259d51[_0x4b0925(0x158)](_0x3eec68,_0x31505d);},'GTsXz':function(_0x169b20,_0x123538){const _0x176e76=_0x319809;return _0x259d51[_0x176e76(0x130)](_0x169b20,_0x123538);},'HvYlX':_0x259d51[_0x319809(0x169)],'etPJb':_0x259d51[_0x319809(0x150)]};_0x5c4781[_0x319809(0x157)](_0x4b8b4b),_0x5c4781['on'](_0x259d51['dBNTb'],function(_0x5ef142){const _0x188a5c=_0x319809;logger['error'](_0x423c97[_0x188a5c(0x16a)],_0x5ef142),_0x423c97[_0x188a5c(0x162)](_0x3283bf,_0x5ef142);}),_0x4b8b4b['on'](_0x259d51[_0x319809(0x150)],function(_0x8c76af){const _0xa6b00b=_0x319809;logger['error'](_0x423c97[_0xa6b00b(0x149)],_0x8c76af),_0x423c97['msOWw'](_0x3283bf,_0x8c76af);}),_0x4b8b4b['on'](_0x259d51[_0x319809(0x113)],function(){const _0x317c58=_0x319809,_0xa09599={'dEmlB':function(_0x111878,_0x109cd1){const _0xa24f89=a69_0x53cc;return _0x5e1b3f[_0xa24f89(0x12e)](_0x111878,_0x109cd1);},'yNDRo':_0x5e1b3f[_0x317c58(0x172)]},_0x4fbbde={};_0x4fbbde[_0x317c58(0x13b)]=!![],yauzl[_0x317c58(0x178)](_0x54da10,_0x4fbbde,function(_0x2cce8c,_0x753670){const _0x4fd338=_0x317c58,_0x81d766={'XnQdw':function(_0x1f3200,_0x215cc4){return _0x423c97['KjXes'](_0x1f3200,_0x215cc4);},'tPOHE':_0x423c97[_0x4fd338(0x129)],'FPRcn':function(_0x3dcdde,_0x37d602){return _0x423c97['IHwrp'](_0x3dcdde,_0x37d602);}};_0x2cce8c&&_0x423c97[_0x4fd338(0x128)](_0x3283bf,_0x2cce8c),_0x753670[_0x4fd338(0x13a)](),_0x753670['on'](_0x423c97[_0x4fd338(0x141)],_0x58b734=>{const _0x3609f8=_0x4fd338;if(/\/$/[_0x3609f8(0x12c)](_0x58b734[_0x3609f8(0x106)]))_0x753670[_0x3609f8(0x13a)]();else{const _0x126069=fs['createWriteStream'](path[_0x3609f8(0x11e)](_0x41e6ac,_0x58b734['fileName']));_0x753670[_0x3609f8(0x16c)](_0x58b734,function(_0x16ec0e,_0x19f91a){const _0x2e51d5=_0x3609f8;_0x16ec0e&&_0x81d766[_0x2e51d5(0x175)](_0x3283bf,_0x2cce8c),_0x19f91a['on'](_0x81d766[_0x2e51d5(0x138)],function(){const _0x2a381b=_0x2e51d5;_0x126069['close'](),_0x753670[_0x2a381b(0x13a)]();}),_0x19f91a[_0x2e51d5(0x157)](_0x126069);}),_0x81d766[_0x3609f8(0x140)](_0x58b734['fileName'],_0x188777)&&_0x753670[_0x3609f8(0x108)]();}}),_0x753670['on'](_0x423c97['etPJb'],_0x529146=>{const _0xa65ba6=_0x4fd338;_0xa09599[_0xa65ba6(0x165)](_0x3283bf,_0x529146);}),_0x753670[_0x4fd338(0x142)](_0x423c97['JZThd'],()=>{const _0x3cd61d=_0x4fd338,_0x183e0b={'aXUdp':function(_0x34ab91,_0x3c7d6b){const _0x329e38=a69_0x53cc;return _0xa09599[_0x329e38(0x165)](_0x34ab91,_0x3c7d6b);}};fs[_0x3cd61d(0x156)](_0x192baa,_0xa09599[_0x3cd61d(0x14e)],function(_0x36d66f){const _0x3d1712=_0x3cd61d;_0x36d66f&&_0x183e0b[_0x3d1712(0x12f)](_0x3283bf,_0x36d66f),_0x183e0b['aXUdp'](_0x4dfa1d,_0x192baa);}),_0x753670[_0x3cd61d(0x108)]();});});});})['on'](_0x259d51['dBNTb'],function(_0x323fea){const _0x2451cd=_0x532157;logger['error'](_0x259d51[_0x2451cd(0x16e)],_0x323fea),_0x259d51['iFRoD'](_0x3283bf,_0x323fea);});});}#homedir(){const _0x36eb58=a69_0x24420b,_0x520d50={};_0x520d50['cvxSF']=function(_0xed6150,_0x4896db){return _0xed6150===_0x4896db;},_0x520d50[_0x36eb58(0x118)]=_0x36eb58(0x176),_0x520d50['lOkkY']='win32',_0x520d50[_0x36eb58(0x15a)]=function(_0x3acd77,_0x2137d1){return _0x3acd77+_0x2137d1;},_0x520d50['OgcdP']=_0x36eb58(0x131),_0x520d50[_0x36eb58(0x102)]=function(_0x59dc12,_0x166dac){return _0x59dc12+_0x166dac;},_0x520d50[_0x36eb58(0x10a)]='/Users/',_0x520d50['xelks']=_0x36eb58(0x16f),_0x520d50[_0x36eb58(0x177)]=_0x36eb58(0x14a),_0x520d50[_0x36eb58(0x10b)]=function(_0x1324ca,_0x1e6cf1){return _0x1324ca+_0x1e6cf1;},_0x520d50[_0x36eb58(0x161)]=_0x36eb58(0x122),_0x520d50[_0x36eb58(0x101)]=function(_0x833c24,_0x18851b){return _0x833c24||_0x18851b;};const _0x5b57e4=_0x520d50;if(_0x5b57e4[_0x36eb58(0x14d)](typeof os[_0x36eb58(0xfe)],_0x5b57e4[_0x36eb58(0x118)]))return os[_0x36eb58(0xfe)]();const _0x14dbb9=process['env'],_0x49408f=_0x14dbb9[_0x36eb58(0xfd)],_0x1e6683=_0x14dbb9['LOGNAME']||_0x14dbb9['USER']||_0x14dbb9[_0x36eb58(0x14c)]||_0x14dbb9[_0x36eb58(0x179)];if(_0x5b57e4[_0x36eb58(0x14d)](process[_0x36eb58(0x103)],_0x5b57e4['lOkkY']))return _0x14dbb9[_0x36eb58(0x12b)]||_0x5b57e4[_0x36eb58(0x15a)](_0x14dbb9['HOMEDRIVE'],_0x14dbb9[_0x36eb58(0x13c)])||_0x49408f||null;if(_0x5b57e4[_0x36eb58(0x14d)](process[_0x36eb58(0x103)],_0x5b57e4[_0x36eb58(0x174)]))return _0x49408f||(_0x1e6683?_0x5b57e4['GiVxe'](_0x5b57e4[_0x36eb58(0x10a)],_0x1e6683):null);if(_0x5b57e4[_0x36eb58(0x14d)](process[_0x36eb58(0x103)],_0x5b57e4[_0x36eb58(0x137)]))return _0x49408f||(_0x5b57e4['cvxSF'](process[_0x36eb58(0x105)](),0x0)?_0x5b57e4[_0x36eb58(0x177)]:_0x1e6683?_0x5b57e4['nuTuL'](_0x5b57e4[_0x36eb58(0x161)],_0x1e6683):null);return _0x5b57e4[_0x36eb58(0x101)](_0x49408f,null);}}module[a69_0x24420b(0x144)]=PercyBinary;
|
|
1
|
+
const a70_0x532eeb=a70_0x1523;(function(_0x1ef607,_0x1ba49d){const _0x12e050=a70_0x1523,_0x24b718=_0x1ef607();while(!![]){try{const _0x269146=parseInt(_0x12e050(0x11a))/0x1+parseInt(_0x12e050(0xc0))/0x2*(parseInt(_0x12e050(0xec))/0x3)+-parseInt(_0x12e050(0xdb))/0x4+-parseInt(_0x12e050(0xcc))/0x5+parseInt(_0x12e050(0xb7))/0x6*(-parseInt(_0x12e050(0xe9))/0x7)+parseInt(_0x12e050(0xe5))/0x8*(parseInt(_0x12e050(0xf4))/0x9)+parseInt(_0x12e050(0xab))/0xa;if(_0x269146===_0x1ba49d)break;else _0x24b718['push'](_0x24b718['shift']());}catch(_0x5eeab1){_0x24b718['push'](_0x24b718['shift']());}}}(a70_0x1739,0xe3314));const {https}=require('follow-redirects'),url=require('url'),yauzl=require(a70_0x532eeb(0x106)),fs=require('fs'),path=require(a70_0x532eeb(0xd8)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a70_0x532eeb(0xeb)),logger=require('../logger')[a70_0x532eeb(0x110)];class PercyBinary{#hostOS=process[a70_0x532eeb(0xb4)];#httpPath=null;#binaryName=a70_0x532eeb(0xd0);#orderedPaths=[path[a70_0x532eeb(0xba)](this.#homedir(),a70_0x532eeb(0x127)),process[a70_0x532eeb(0xcf)](),os[a70_0x532eeb(0xf7)]()];constructor(){const _0x445e32=a70_0x532eeb,_0x3cc7f1={};_0x3cc7f1['nxTvw']=_0x445e32(0x114),_0x3cc7f1[_0x445e32(0xb0)]=function(_0x3fbd15,_0x2321fe){return _0x3fbd15+_0x2321fe;},_0x3cc7f1[_0x445e32(0x10a)]=_0x445e32(0xc8),_0x3cc7f1[_0x445e32(0xbd)]=_0x445e32(0xbf),_0x3cc7f1['YwRfO']=_0x445e32(0x103),_0x3cc7f1['CDtBV']=function(_0x3a8ce0,_0x510c71){return _0x3a8ce0+_0x510c71;},_0x3cc7f1['KqyNn']=_0x445e32(0xe8);const _0x3f222b=_0x3cc7f1,_0xb6bf39=_0x3f222b[_0x445e32(0xde)];if(this.#hostOS[_0x445e32(0xf9)](/darwin|mac os/i))this.#httpPath=_0x3f222b[_0x445e32(0xb0)](_0xb6bf39,_0x3f222b[_0x445e32(0x10a)]);else this.#hostOS[_0x445e32(0xf9)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3f222b[_0x445e32(0xb0)](_0xb6bf39,_0x3f222b['YcBYy']),this.#binaryName=_0x3f222b[_0x445e32(0x119)]):this.#httpPath=_0x3f222b['CDtBV'](_0xb6bf39,_0x3f222b[_0x445e32(0xa2)]);}#getAvailableDirs(){const _0x19feee=a70_0x532eeb,_0x1afce0={};_0x1afce0[_0x19feee(0x10d)]=function(_0x4a86d4,_0x2d3adb){return _0x4a86d4<_0x2d3adb;},_0x1afce0[_0x19feee(0x111)]=_0x19feee(0xdd);const _0x345ee5=_0x1afce0;for(var _0x21553a=0x0;_0x345ee5['MwXSk'](_0x21553a,this.#orderedPaths[_0x19feee(0x122)]);_0x21553a++){var _0x1e1f6e=this.#orderedPaths[_0x21553a];if(this.#makePath(_0x1e1f6e))return _0x1e1f6e;}throw new Error(_0x345ee5['MKcUu']);}#makePath(_0x4ce67c){const _0x40159d=a70_0x532eeb;try{return!this.#checkPath(_0x4ce67c)&&fs[_0x40159d(0xd3)](_0x4ce67c),!![];}catch{return![];}}#checkPath(_0x462338,_0x422f24){const _0x4e98af=a70_0x532eeb,_0x4ec19f={};_0x4ec19f[_0x4e98af(0xc2)]=function(_0x306689,_0x21bfe4){return _0x306689|_0x21bfe4;},_0x4ec19f[_0x4e98af(0xb3)]=function(_0xa2093d,_0x2badf3){return _0xa2093d!==_0x2badf3;},_0x4ec19f[_0x4e98af(0x11e)]='undefined';const _0x4e727a=_0x4ec19f;_0x422f24=_0x422f24||_0x4e727a['quTrN'](fs[_0x4e98af(0xaa)],fs[_0x4e98af(0x9d)]);try{return fs['accessSync'](_0x462338,_0x422f24),!![];}catch(_0x5dbc77){if(_0x4e727a[_0x4e98af(0xb3)](typeof fs[_0x4e98af(0xa9)],_0x4e727a[_0x4e98af(0x11e)]))return![];try{return fs[_0x4e98af(0xb6)](_0x462338),!![];}catch(_0x168e93){return![];}}}async[a70_0x532eeb(0xe4)](_0x295b89){const _0x23e87c=a70_0x532eeb,_0x56c161={};_0x56c161[_0x23e87c(0xd4)]='Corrupt\x20percy\x20binary,\x20retrying';const _0x28dc5f=_0x56c161;var _0x196374=this.#getAvailableDirs(),_0x8a22d2=path[_0x23e87c(0xba)](_0x196374,this.#binaryName);if(this.#checkPath(_0x8a22d2,fs[_0x23e87c(0xf1)]))return _0x8a22d2;const _0x481d5c=await this['download'](_0x295b89,_0x196374),_0x24e022=await this['validateBinary'](_0x481d5c);if(!_0x24e022)return logger['error'](_0x28dc5f['grZAK']),await this[_0x23e87c(0x11b)](_0x295b89,_0x196374);return _0x481d5c;}async[a70_0x532eeb(0xcb)](_0x145a75){const _0x4c90af=a70_0x532eeb,_0x3293f0={'wURpW':function(_0x219258,_0x17de08){return _0x219258(_0x17de08);},'PfZcb':function(_0x13fdbd,_0x47977d){return _0x13fdbd(_0x47977d);},'VYZWf':function(_0xb5b628,_0x281e16,_0x4c83e5){return _0xb5b628(_0x281e16,_0x4c83e5);},'uuJrJ':_0x4c90af(0x118),'Ojynl':_0x4c90af(0xd7),'ptpJW':_0x4c90af(0x120)},_0x46807d=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x414d40,_0x252e36)=>{const _0x4160fe=_0x4c90af,_0x59a3b9={'RXhLT':function(_0x346f64,_0x3a219b){const _0x371bf3=a70_0x1523;return _0x3293f0[_0x371bf3(0xb5)](_0x346f64,_0x3a219b);}},_0x44c492=_0x3293f0['VYZWf'](spawn,_0x145a75,[_0x3293f0[_0x4160fe(0xa6)]]);_0x44c492[_0x4160fe(0xe6)]['on'](_0x3293f0[_0x4160fe(0xee)],_0x4b0a0a=>{const _0x471a19=_0x4160fe;_0x46807d[_0x471a19(0xb1)](_0x4b0a0a)&&_0x3293f0[_0x471a19(0xbc)](_0x414d40,!![]);}),_0x44c492['on'](_0x3293f0['ptpJW'],()=>{const _0x12bb8e=_0x4160fe;_0x59a3b9[_0x12bb8e(0xc7)](_0x414d40,![]);});});}[a70_0x532eeb(0x11b)](_0x49f10b,_0x2ef1ba){const _0x1f0973=a70_0x532eeb,_0x93b503={'CXUVi':'Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','QaNfQ':function(_0x5e5946,_0x385f81){return _0x5e5946(_0x385f81);},'fNXSv':'Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','HHuwK':_0x1f0973(0xfa),'lrSnR':_0x1f0973(0x120),'CdIyP':function(_0x3b982c,_0x2e0d25){return _0x3b982c===_0x2e0d25;},'gOpMr':'end','LgVUg':_0x1f0973(0xfb),'EhSRl':_0x1f0973(0xaf),'WOtlf':_0x1f0973(0x115),'IMyKd':function(_0x26a4dd,_0x23975a){return _0x26a4dd(_0x23975a);},'eMYAp':function(_0x5753cc,_0x2d5560){return _0x5753cc+_0x2d5560;},'sBrqB':_0x1f0973(0xa4),'jFyOl':_0x1f0973(0x10b)};!this.#checkPath(_0x2ef1ba)&&fs[_0x1f0973(0xd3)](_0x2ef1ba);const _0x435525=this.#binaryName,_0x141060=path[_0x1f0973(0xba)](_0x2ef1ba,_0x93b503['eMYAp'](_0x435525,_0x93b503[_0x1f0973(0xad)])),_0x6a09b0=path[_0x1f0973(0xba)](_0x2ef1ba,_0x435525),_0x506c4f=fs[_0x1f0973(0xe0)](_0x141060),_0x80b703=url[_0x1f0973(0xea)](this.#httpPath);if(_0x49f10b[_0x1f0973(0x108)]&&_0x49f10b[_0x1f0973(0xc5)]){const _0x202088={};_0x202088[_0x1f0973(0xac)]=_0x49f10b['proxyHost'],_0x202088[_0x1f0973(0xed)]=_0x49f10b[_0x1f0973(0xc5)],_0x80b703[_0x1f0973(0x11c)]=new HttpsProxyAgent(_0x202088);}if(_0x49f10b[_0x1f0973(0x10c)])try{_0x80b703['ca']=fs[_0x1f0973(0xb2)](_0x49f10b['useCaCertificate']);}catch(_0x4eeabc){logger['error'](_0x93b503[_0x1f0973(0x124)],_0x4eeabc);}return new Promise((_0x51396f,_0x509567)=>{const _0x277c5e=_0x1f0973,_0x370c74={'IuSyA':function(_0x426178,_0x2d9299){const _0x131236=a70_0x1523;return _0x93b503[_0x131236(0xef)](_0x426178,_0x2d9299);},'CuQzt':function(_0x1a2dd9,_0x1bacf4){return _0x93b503['QaNfQ'](_0x1a2dd9,_0x1bacf4);},'WEVjA':_0x93b503[_0x277c5e(0xd9)],'FPSXV':function(_0x4f9dae,_0x5cfe9){const _0x551f9a=_0x277c5e;return _0x93b503[_0x551f9a(0xd5)](_0x4f9dae,_0x5cfe9);},'CUYAm':_0x93b503[_0x277c5e(0xc3)],'ZBPEx':_0x93b503[_0x277c5e(0xdf)],'HaHHF':_0x93b503[_0x277c5e(0xe1)],'nFPiK':_0x93b503['WOtlf'],'tFzZN':function(_0x5a05a2,_0x1d7e64){return _0x93b503['IMyKd'](_0x5a05a2,_0x1d7e64);}};https[_0x277c5e(0xae)](_0x80b703,function(_0x334d58){const _0x2c85fb=_0x277c5e,_0x508a23={'ntKLn':_0x93b503[_0x2c85fb(0x101)],'YETag':function(_0x2a53c7,_0x904eaf){return _0x93b503['QaNfQ'](_0x2a53c7,_0x904eaf);},'cNLKt':_0x93b503[_0x2c85fb(0xca)]};_0x334d58[_0x2c85fb(0xd2)](_0x506c4f),_0x334d58['on'](_0x93b503['HHuwK'],function(_0x34330c){const _0x5c1dc8=_0x2c85fb;logger[_0x5c1dc8(0xfa)](_0x508a23[_0x5c1dc8(0xf5)],_0x34330c),_0x508a23[_0x5c1dc8(0xd6)](_0x509567,_0x34330c);}),_0x506c4f['on'](_0x93b503[_0x2c85fb(0xe1)],function(_0xb3ac0a){const _0x49628d=_0x2c85fb;logger[_0x49628d(0xfa)](_0x508a23[_0x49628d(0xfc)],_0xb3ac0a),_0x508a23[_0x49628d(0xd6)](_0x509567,_0xb3ac0a);}),_0x506c4f['on'](_0x93b503['lrSnR'],function(){const _0x643127=_0x2c85fb,_0x320145={'fIRYG':function(_0x38d39b,_0x8b1444){const _0x50d8d7=a70_0x1523;return _0x370c74[_0x50d8d7(0xa7)](_0x38d39b,_0x8b1444);},'Wdgze':function(_0x41a449,_0xaadef5){return _0x370c74['CuQzt'](_0x41a449,_0xaadef5);},'tffAr':_0x370c74[_0x643127(0xf3)],'ufDRw':function(_0x2f9d6a,_0x27bef7){const _0x3bb67a=_0x643127;return _0x370c74[_0x3bb67a(0x104)](_0x2f9d6a,_0x27bef7);},'pdWQx':_0x370c74[_0x643127(0xf0)],'Zjovm':_0x370c74['ZBPEx'],'hJWdq':_0x370c74[_0x643127(0x107)]},_0x47ad15={};_0x47ad15[_0x643127(0xe3)]=!![],yauzl[_0x643127(0x100)](_0x141060,_0x47ad15,function(_0x54e76e,_0x121e4b){const _0x19b933=_0x643127,_0x168c17={'KNKAo':function(_0x4b1476,_0x1b7993){return _0x320145['Wdgze'](_0x4b1476,_0x1b7993);},'CeHQn':_0x320145[_0x19b933(0x9f)],'rImNW':function(_0x2c7df9,_0x5bc3f1){return _0x320145['ufDRw'](_0x2c7df9,_0x5bc3f1);},'xddoB':_0x320145[_0x19b933(0xb8)]};_0x54e76e&&_0x320145['ufDRw'](_0x509567,_0x54e76e),_0x121e4b[_0x19b933(0xc1)](),_0x121e4b['on'](_0x320145[_0x19b933(0xc6)],_0x1efc9c=>{const _0x300efb=_0x19b933;if(/\/$/[_0x300efb(0xb1)](_0x1efc9c[_0x300efb(0xf6)]))_0x121e4b[_0x300efb(0xc1)]();else{const _0x288880=fs[_0x300efb(0xe0)](path[_0x300efb(0xba)](_0x2ef1ba,_0x1efc9c[_0x300efb(0xf6)]));_0x121e4b[_0x300efb(0x10e)](_0x1efc9c,function(_0xc73310,_0xf9508d){const _0x263c07=_0x300efb;_0xc73310&&_0x168c17[_0x263c07(0x102)](_0x509567,_0x54e76e),_0xf9508d['on'](_0x168c17[_0x263c07(0x126)],function(){const _0x563984=_0x263c07;_0x288880[_0x563984(0x120)](),_0x121e4b[_0x563984(0xc1)]();}),_0xf9508d['pipe'](_0x288880);}),_0x320145[_0x300efb(0xdc)](_0x1efc9c[_0x300efb(0xf6)],_0x435525)&&_0x121e4b[_0x300efb(0x120)]();}}),_0x121e4b['on'](_0x320145[_0x19b933(0x109)],_0x572329=>{const _0x7f979f=_0x19b933;_0x320145[_0x7f979f(0x11d)](_0x509567,_0x572329);}),_0x121e4b[_0x19b933(0xa0)](_0x320145['tffAr'],()=>{const _0x49eb08=_0x19b933,_0x414c01={'AtNFV':function(_0x5342ac,_0x580a71){const _0x3e6312=a70_0x1523;return _0x168c17[_0x3e6312(0xa8)](_0x5342ac,_0x580a71);}};fs[_0x49eb08(0x105)](_0x6a09b0,_0x168c17[_0x49eb08(0x121)],function(_0xaff16c){const _0x5e40b9=_0x49eb08;_0xaff16c&&_0x414c01['AtNFV'](_0x509567,_0xaff16c),_0x414c01[_0x5e40b9(0xce)](_0x51396f,_0x6a09b0);}),_0x121e4b[_0x49eb08(0x120)]();});});});})['on'](_0x93b503[_0x277c5e(0xe1)],function(_0x3b72c1){const _0x2b109a=_0x277c5e;logger[_0x2b109a(0xfa)](_0x370c74['nFPiK'],_0x3b72c1),_0x370c74['tFzZN'](_0x509567,_0x3b72c1);});});}#homedir(){const _0x1d889c=a70_0x532eeb,_0x51b92b={};_0x51b92b[_0x1d889c(0xc4)]=function(_0xc73cd8,_0x4455a2){return _0xc73cd8===_0x4455a2;},_0x51b92b['FEJnG']=_0x1d889c(0x113),_0x51b92b['sPgjA']=_0x1d889c(0x123),_0x51b92b[_0x1d889c(0xcd)]=function(_0x285d2b,_0x3e069c){return _0x285d2b+_0x3e069c;},_0x51b92b['jLWUo']=_0x1d889c(0xf8),_0x51b92b['ggoZX']=_0x1d889c(0x10f),_0x51b92b['PljSm']=function(_0x2ccb68,_0x30c16){return _0x2ccb68===_0x30c16;},_0x51b92b['yeTrW']=_0x1d889c(0xbe),_0x51b92b[_0x1d889c(0xa5)]=_0x1d889c(0xff),_0x51b92b['kVMor']=function(_0x2443fb,_0x3acaa3){return _0x2443fb+_0x3acaa3;},_0x51b92b[_0x1d889c(0xbb)]='/home/',_0x51b92b[_0x1d889c(0x9e)]=function(_0x4e7e78,_0x2e8ef7){return _0x4e7e78||_0x2e8ef7;};const _0x2f7385=_0x51b92b;if(_0x2f7385['bAIuF'](typeof os[_0x1d889c(0x112)],_0x2f7385[_0x1d889c(0xb9)]))return os['homedir']();const _0x2a001e=process[_0x1d889c(0xa3)],_0x2ca993=_0x2a001e[_0x1d889c(0xf2)],_0x1a0ee0=_0x2a001e['LOGNAME']||_0x2a001e[_0x1d889c(0xda)]||_0x2a001e[_0x1d889c(0xe7)]||_0x2a001e[_0x1d889c(0xc9)];if(_0x2f7385['bAIuF'](process[_0x1d889c(0xb4)],_0x2f7385[_0x1d889c(0x125)]))return _0x2a001e[_0x1d889c(0x117)]||_0x2f7385[_0x1d889c(0xcd)](_0x2a001e[_0x1d889c(0xa1)],_0x2a001e[_0x1d889c(0xd1)])||_0x2ca993||null;if(_0x2f7385[_0x1d889c(0xc4)](process['platform'],_0x2f7385[_0x1d889c(0xfe)]))return _0x2ca993||(_0x1a0ee0?_0x2f7385[_0x1d889c(0xcd)](_0x2f7385['ggoZX'],_0x1a0ee0):null);if(_0x2f7385[_0x1d889c(0xe2)](process[_0x1d889c(0xb4)],_0x2f7385['yeTrW']))return _0x2ca993||(_0x2f7385[_0x1d889c(0xe2)](process[_0x1d889c(0xfd)](),0x0)?_0x2f7385['JAmvT']:_0x1a0ee0?_0x2f7385[_0x1d889c(0x11f)](_0x2f7385['khJEX'],_0x1a0ee0):null);return _0x2f7385['AisGX'](_0x2ca993,null);}}module[a70_0x532eeb(0x116)]=PercyBinary;function a70_0x1523(_0x25031a,_0x1033d3){const _0x17395c=a70_0x1739();return a70_0x1523=function(_0x15235c,_0x4e9acd){_0x15235c=_0x15235c-0x9d;let _0xe80d72=_0x17395c[_0x15235c];return _0xe80d72;},a70_0x1523(_0x25031a,_0x1033d3);}function a70_0x1739(){const _0x2847e0=['sPgjA','CeHQn','.browserstack','W_OK','AisGX','tffAr','once','HOMEDRIVE','KqyNn','env','.zip','JAmvT','uuJrJ','IuSyA','rImNW','accessSync','R_OK','6485250JaAoYO','host','sBrqB','get','entry','WTiqW','test','readFileSync','VSoKI','platform','PfZcb','statSync','713850zgnJSL','pdWQx','FEJnG','join','khJEX','wURpW','YcBYy','linux','/percy-win.zip','8dZTKNE','readEntry','quTrN','LgVUg','bAIuF','proxyPort','Zjovm','RXhLT','/percy-osx.zip','USERNAME','fNXSv','validateBinary','2616665VZAxPK','UqdmD','AtNFV','cwd','percy','HOMEPATH','pipe','mkdirSync','grZAK','QaNfQ','YETag','data','path','gOpMr','USER','3849208gyfclx','fIRYG','Error\x20trying\x20to\x20download\x20percy\x20binary','nxTvw','EhSRl','createWriteStream','HHuwK','PljSm','lazyEntries','getBinaryPath','13606808doKxnB','stdout','LNAME','/percy-linux.zip','84QwntLa','parse','https-proxy-agent','595029WIYSwU','port','Ojynl','CdIyP','CUYAm','X_OK','HOME','WEVjA','9TwRwpt','ntKLn','fileName','tmpdir','darwin','match','error','0755','cNLKt','getuid','jLWUo','/root','open','CXUVi','KNKAo','percy.exe','FPSXV','chmod','yauzl','HaHHF','proxyHost','hJWdq','azJii','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','useCaCertificate','MwXSk','openReadStream','/Users/','winstonLogger','MKcUu','homedir','function','https://github.com/percy/cli/releases/latest/download','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','exports','USERPROFILE','--version','YwRfO','701167pOAWzu','download','agent','Wdgze','AsOHv','kVMor','close','xddoB','length','win32','jFyOl'];a70_0x1739=function(){return _0x2847e0;};return a70_0x1739();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a71_0x1ecd14=a71_0x19c0;(function(_0x270979,_0x5a3989){var _0x2fe58f=a71_0x19c0,_0x15a3c1=_0x270979();while(!![]){try{var _0x2d0bd9=parseInt(_0x2fe58f(0x1b5))/0x1*(parseInt(_0x2fe58f(0x1b7))/0x2)+parseInt(_0x2fe58f(0x1b4))/0x3+parseInt(_0x2fe58f(0x1bb))/0x4*(parseInt(_0x2fe58f(0x1bc))/0x5)+parseInt(_0x2fe58f(0x1b8))/0x6+parseInt(_0x2fe58f(0x1b3))/0x7+-parseInt(_0x2fe58f(0x1bd))/0x8*(parseInt(_0x2fe58f(0x1b2))/0x9)+parseInt(_0x2fe58f(0x1b6))/0xa*(-parseInt(_0x2fe58f(0x1b9))/0xb);if(_0x2d0bd9===_0x5a3989)break;else _0x15a3c1['push'](_0x15a3c1['shift']());}catch(_0x12a9c0){_0x15a3c1['push'](_0x15a3c1['shift']());}}}(a71_0x5468,0x8a5b8));function a71_0x5468(){var _0x5893c0=['731311qAJfcx','781590PROXAx','9783kTqLJo','262370GREHWl','124HzIJiA','3019746hXuBJe','396pbpUpi','exports','708CMsAGR','27715XhYaYp','136tjyDCY','get','getName','increment','500139BUiyCP'];a71_0x5468=function(){return _0x5893c0;};return a71_0x5468();}function a71_0x19c0(_0x276877,_0x5357c8){var _0x546819=a71_0x5468();return a71_0x19c0=function(_0x19c061,_0x1d2635){_0x19c061=_0x19c061-0x1af;var _0x3d0e68=_0x546819[_0x19c061];return _0x3d0e68;},a71_0x19c0(_0x276877,_0x5357c8);}class PercyCaptureMap{#map={};[a71_0x1ecd14(0x1b1)](_0x3a2af5,_0x17acc8){!this.#map[_0x3a2af5]&&(this.#map[_0x3a2af5]={}),!this.#map[_0x3a2af5][_0x17acc8]&&(this.#map[_0x3a2af5][_0x17acc8]=0x0),this.#map[_0x3a2af5][_0x17acc8]++;}[a71_0x1ecd14(0x1b0)](_0x23c558,_0x16847d){var _0x53be63=a71_0x1ecd14;return _0x23c558+'-'+_0x16847d+'-'+this[_0x53be63(0x1af)](_0x23c558,_0x16847d);}[a71_0x1ecd14(0x1af)](_0x744620,_0x378f33){if(!this.#map[_0x744620])return 0x0;if(!this.#map[_0x744620][_0x378f33])return 0x0;return this.#map[_0x744620][_0x378f33];}}module[a71_0x1ecd14(0x1ba)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a72_0x39d619=a72_0x4c84;function a72_0x4c84(_0x2b3dc3,_0x9499aa){var _0x37037c=a72_0x3703();return a72_0x4c84=function(_0x4c84c8,_0x364225){_0x4c84c8=_0x4c84c8-0x14d;var _0xc060ac=_0x37037c[_0x4c84c8];return _0xc060ac;},a72_0x4c84(_0x2b3dc3,_0x9499aa);}function a72_0x3703(){var _0x2fcd50=['element','screenshot','3167649mkmfrB','sendKeys','24saOChD','manual','testcase','940365lntOyz','auto','11048416SJZMgZ','9039378bKGldg','3260488bhGNTF','driver','274512TlycBk','exports','takeScreenshot','click','7yUoBWj','3653118limPgZ'];a72_0x3703=function(){return _0x2fcd50;};return a72_0x3703();}(function(_0x377b97,_0x22a402){var _0x4e8c06=a72_0x4c84,_0x4563ba=_0x377b97();while(!![]){try{var _0x1f14dc=-parseInt(_0x4e8c06(0x15d))/0x1+-parseInt(_0x4e8c06(0x15b))/0x2+parseInt(_0x4e8c06(0x14f))/0x3+-parseInt(_0x4e8c06(0x154))/0x4*(-parseInt(_0x4e8c06(0x157))/0x5)+parseInt(_0x4e8c06(0x15a))/0x6+parseInt(_0x4e8c06(0x14e))/0x7*(-parseInt(_0x4e8c06(0x159))/0x8)+parseInt(_0x4e8c06(0x152))/0x9;if(_0x1f14dc===_0x22a402)break;else _0x4563ba['push'](_0x4563ba['shift']());}catch(_0x53cb59){_0x4563ba['push'](_0x4563ba['shift']());}}}(a72_0x3703,0xe054c));var a72_0x2ced17={};a72_0x2ced17[a72_0x39d619(0x15c)]=[a72_0x39d619(0x15f)],a72_0x2ced17[a72_0x39d619(0x150)]=['click',a72_0x39d619(0x153)];var a72_0x566fc3={};a72_0x566fc3[a72_0x39d619(0x15c)]=['takeScreenshot'];var a72_0x1c781c={};a72_0x1c781c[a72_0x39d619(0x150)]=['click'];var a72_0x52afb3={};a72_0x52afb3[a72_0x39d619(0x158)]=a72_0x2ced17,a72_0x52afb3[a72_0x39d619(0x151)]=a72_0x566fc3,a72_0x52afb3[a72_0x39d619(0x14d)]=a72_0x1c781c,a72_0x52afb3[a72_0x39d619(0x156)]={},a72_0x52afb3[a72_0x39d619(0x155)]={},module[a72_0x39d619(0x15e)]=a72_0x52afb3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a73_0x15a3c4=a73_0x4432;function a73_0x4432(_0x40c3cf,_0x59c5d4){const _0x4f02d3=a73_0x4f02();return a73_0x4432=function(_0x44323d,_0x261478){_0x44323d=_0x44323d-0x100;let _0x483b1e=_0x4f02d3[_0x44323d];return _0x483b1e;},a73_0x4432(_0x40c3cf,_0x59c5d4);}function a73_0x4f02(){const _0x17f15e=['rLaVe','testCase','screenshot','525mAZvBe','uuid','3208WPVNhf','length','snapshot','YGNyj','apply','screenshotApp','11HYFsIg','@percy/appium-app','3025WaqyOS','../../helpers/testhub/utils','MecTW','2094288PDNIOn','measure','AFBOq','174793TUGnZU','percy:screenshot','percy:screenshot-app','1726785KwFfqI','Unsupported\x20driver\x20for\x20percy','browserstackPlatformIndex','percy:snapshot','67794cHwLjH','16EbvjMg','name','../logger','idXlt','platformIndex','46830oLcWxL','18250710VHmHsm','XKtHW','@percy/selenium-webdriver','cWXoN','luYqG','thTestCaseExecutionId','zrVLi'];a73_0x4f02=function(){return _0x17f15e;};return a73_0x4f02();}(function(_0x3b66c7,_0x1f5f00){const _0x2794a6=a73_0x4432,_0x391b5e=_0x3b66c7();while(!![]){try{const _0x82f699=parseInt(_0x2794a6(0x10e))/0x1+-parseInt(_0x2794a6(0x10b))/0x2+-parseInt(_0x2794a6(0x115))/0x3+parseInt(_0x2794a6(0x100))/0x4*(-parseInt(_0x2794a6(0x108))/0x5)+-parseInt(_0x2794a6(0x11b))/0x6*(-parseInt(_0x2794a6(0x126))/0x7)+-parseInt(_0x2794a6(0x116))/0x8*(parseInt(_0x2794a6(0x111))/0x9)+-parseInt(_0x2794a6(0x11c))/0xa*(-parseInt(_0x2794a6(0x106))/0xb);if(_0x82f699===_0x1f5f00)break;else _0x391b5e['push'](_0x391b5e['shift']());}catch(_0x13a862){_0x391b5e['push'](_0x391b5e['shift']());}}}(a73_0x4f02,0x9dd9d));const tryRequire=function(_0x429d93,_0x1b9274){const _0x3162f3=a73_0x4432,_0x39a24d={'idXlt':function(_0x32bae6,_0x5eff3f){return _0x32bae6(_0x5eff3f);}};try{return _0x39a24d[_0x3162f3(0x119)](require,_0x429d93);}catch{return _0x1b9274;}},percySnapshot=tryRequire(a73_0x15a3c4(0x11e),null),{percyScreenshot}=tryRequire(a73_0x15a3c4(0x11e),{}),percyAppScreenshot=require(a73_0x15a3c4(0x107)),{getCurrentTestData}=require(a73_0x15a3c4(0x109)),PerformanceTester=require('../performance-tester'),logger=require(a73_0x15a3c4(0x118))['winstonLogger'];percySnapshot&&(exports[a73_0x15a3c4(0x102)]=async function(){const _0xa64784=a73_0x15a3c4,_0x4af545={'luYqG':function(_0x51609c,_0x40f9c3){return _0x51609c!==_0x40f9c3;},'rDpad':function(_0x75a3d,_0x3e6337){return _0x75a3d>=_0x3e6337;},'MecTW':function(_0x23ce9d){return _0x23ce9d();},'cWXoN':_0xa64784(0x114)};if(global['browserstackPlatformIndex']&&_0x4af545[_0xa64784(0x120)](global[_0xa64784(0x113)],global['browserstackPercyBestPlatform']))return;const _0x37ce83=_0x4af545['rDpad'](arguments[_0xa64784(0x101)],0x2)?arguments[0x1]:'',_0x3638fb=_0x4af545[_0xa64784(0x10a)](getCurrentTestData),_0x2c9cb3={};return _0x2c9cb3['name']=_0x37ce83,_0x2c9cb3[_0xa64784(0x124)]=_0x3638fb[_0xa64784(0x117)]||'',_0x2c9cb3[_0xa64784(0x121)]=_0x3638fb[_0xa64784(0x127)]||'',_0x2c9cb3['platformIndex']=global[_0xa64784(0x113)],await PerformanceTester[_0xa64784(0x10c)](_0x4af545[_0xa64784(0x11f)],()=>percySnapshot[_0xa64784(0x104)](null,arguments),_0x2c9cb3);});percyScreenshot?exports[a73_0x15a3c4(0x125)]=async function(){const _0x41c5ab=a73_0x15a3c4,_0x586a00={'XKtHW':function(_0x34456a,_0x3f93cd){return _0x34456a>=_0x3f93cd;},'kdjBN':function(_0x288f59){return _0x288f59();},'zrVLi':_0x41c5ab(0x10f)},_0x168e93=_0x586a00[_0x41c5ab(0x11d)](arguments[_0x41c5ab(0x101)],0x2)?arguments[0x1]:'',_0x2b360c=_0x586a00['kdjBN'](getCurrentTestData),_0xe98af={};return _0xe98af[_0x41c5ab(0x117)]=_0x168e93,_0xe98af[_0x41c5ab(0x124)]=_0x2b360c[_0x41c5ab(0x117)]||'',_0xe98af['thTestCaseExecutionId']=_0x2b360c['uuid']||'',_0xe98af[_0x41c5ab(0x11a)]=global[_0x41c5ab(0x113)],await PerformanceTester['measure'](_0x586a00[_0x41c5ab(0x122)],()=>percyScreenshot[_0x41c5ab(0x104)](null,arguments),_0xe98af);}:exports[a73_0x15a3c4(0x125)]=()=>{const _0x34aeeb=a73_0x15a3c4,_0x56cef6={};_0x56cef6[_0x34aeeb(0x123)]=_0x34aeeb(0x112);const _0x142f7c=_0x56cef6;logger['error'](_0x142f7c[_0x34aeeb(0x123)]);};exports[a73_0x15a3c4(0x105)]=async function(){const _0x29fd48=a73_0x15a3c4,_0x4b9884={'YGNyj':function(_0x34de12,_0x207523){return _0x34de12>=_0x207523;},'AFBOq':function(_0x2f7e5f){return _0x2f7e5f();},'REhtI':_0x29fd48(0x110)},_0x31e6f0=_0x4b9884[_0x29fd48(0x103)](arguments[_0x29fd48(0x101)],0x2)?arguments[0x1]:'',_0x2e9dc8=_0x4b9884[_0x29fd48(0x10d)](getCurrentTestData),_0x5f4bbe={};return _0x5f4bbe[_0x29fd48(0x117)]=_0x31e6f0,_0x5f4bbe[_0x29fd48(0x124)]=_0x2e9dc8[_0x29fd48(0x117)]||'',_0x5f4bbe['thTestCaseExecutionId']=_0x2e9dc8[_0x29fd48(0x127)]||'',_0x5f4bbe[_0x29fd48(0x11a)]=global[_0x29fd48(0x113)],await PerformanceTester['measure'](_0x4b9884['REhtI'],()=>percyAppScreenshot[_0x29fd48(0x104)](null,arguments),_0x5f4bbe);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a74_0xd056(_0x5ff80e,_0x2b227a){var _0x21ae54=a74_0x21ae();return a74_0xd056=function(_0xd05698,_0x2bf5e5){_0xd05698=_0xd05698-0x88;var _0x62d3a4=_0x21ae54[_0xd05698];return _0x62d3a4;},a74_0xd056(_0x5ff80e,_0x2b227a);}var a74_0x10cd4b=a74_0xd056;function a74_0x21ae(){var _0x45416d=['420918TWyyPN','1350265XQmzFC','24jeMbQC','2hPWhGt','328297YpTLAR','1901055mKJUyu','932175sdWAFc','1730694buZpWh','./Percy','13005280fiWTzg','4JhBdXk'];a74_0x21ae=function(){return _0x45416d;};return a74_0x21ae();}(function(_0x2ade5e,_0x7b4c25){var _0x228ba5=a74_0xd056,_0x4d2aa9=_0x2ade5e();while(!![]){try{var _0x4f1c21=parseInt(_0x228ba5(0x91))/0x1*(-parseInt(_0x228ba5(0x90))/0x2)+parseInt(_0x228ba5(0x8d))/0x3*(-parseInt(_0x228ba5(0x8c))/0x4)+-parseInt(_0x228ba5(0x92))/0x5+parseInt(_0x228ba5(0x89))/0x6+-parseInt(_0x228ba5(0x8e))/0x7+-parseInt(_0x228ba5(0x8f))/0x8*(parseInt(_0x228ba5(0x88))/0x9)+parseInt(_0x228ba5(0x8b))/0xa;if(_0x4f1c21===_0x7b4c25)break;else _0x4d2aa9['push'](_0x4d2aa9['shift']());}catch(_0x387985){_0x4d2aa9['push'](_0x4d2aa9['shift']());}}}(a74_0x21ae,0x39bff),module['exports']=require(a74_0x10cd4b(0x8a)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a75_0x5722d9=a75_0xf3fb;function a75_0x355f(){const _0x42eaea=['percyAutoCapture','261480SGvjzq','755886oyrkuW','10qkedlZ','app','./PercySDK','156373yOdrQI','3twSCPr','Stopping\x20percy','patch','screenshot','screenshotApp','6472510AYlCVn','1887885SwOrSX','platforms','\x20for\x20percy\x20','KYBhd','browserStackPercyOptions','isUndefined','increment','Giprk','apply','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','firefox','percy:stop','Bqgdj','Error\x20patching\x20','ifsbt','browserstackPercyMap','browserstackSessionName','HKeST','stop','./PercyCaptureMap','error','patchDriverPercy','toLowerCase','percy','safari','forEach','MmlLI','deviceName','getBestPlatformForPercySnapshot','4608044afUeKZ','./PercyCaptureModes','KdUhk','Gkuun','276164XYShhh','overrideXforPercy','element','manual','xVmOf','6wyeEsG','Starting\x20percy','percyCaptureMode','prototype','63TnNQqz','then','nestedKeyValue','chrome','debug','init','startPercy','../helper'];a75_0x355f=function(){return _0x42eaea;};return a75_0x355f();}(function(_0x2fb36c,_0x579ceb){const _0x3d0059=a75_0xf3fb,_0x16b8e7=_0x2fb36c();while(!![]){try{const _0x51d94e=parseInt(_0x3d0059(0x115))/0x1+-parseInt(_0x3d0059(0x128))/0x2*(-parseInt(_0x3d0059(0x12d))/0x3)+-parseInt(_0x3d0059(0x150))/0x4+-parseInt(_0x3d0059(0x133))/0x5*(-parseInt(_0x3d0059(0x11a))/0x6)+-parseInt(_0x3d0059(0x12c))/0x7+parseInt(_0x3d0059(0x127))/0x8*(parseInt(_0x3d0059(0x11e))/0x9)+parseInt(_0x3d0059(0x129))/0xa*(parseInt(_0x3d0059(0x132))/0xb);if(_0x51d94e===_0x579ceb)break;else _0x16b8e7['push'](_0x16b8e7['shift']());}catch(_0x4f503c){_0x16b8e7['push'](_0x16b8e7['shift']());}}}(a75_0x355f,0xa4aeb));const Percy=require('./Percy'),PercySDK=require(a75_0x5722d9(0x12b)),PercyCaptureModes=require(a75_0x5722d9(0x112)),PercyCaptureMap=require(a75_0x5722d9(0x146)),logger=require('../logger')['winstonLogger'],helper=require(a75_0x5722d9(0x125)),PerformanceTester=require('../performance-tester');function a75_0xf3fb(_0x4b773f,_0x41a1b9){const _0x355f2b=a75_0x355f();return a75_0xf3fb=function(_0xf3fbd8,_0x3d4e50){_0xf3fbd8=_0xf3fbd8-0x112;let _0x3d808d=_0x355f2b[_0xf3fbd8];return _0x3d808d;},a75_0xf3fb(_0x4b773f,_0x41a1b9);}exports[a75_0x5722d9(0x124)]=PerformanceTester['measureWrapper']('percy:start',async _0x4fe01c=>{const _0x2b59ae=a75_0x5722d9,_0x2abcac={};_0x2abcac[_0x2b59ae(0x13a)]=_0x2b59ae(0x11b);const _0x5ac309=_0x2abcac;logger[_0x2b59ae(0x122)](_0x5ac309[_0x2b59ae(0x13a)]);const _0x5689c3=new Percy(_0x4fe01c),_0x1d19bb=await _0x5689c3['start']();if(_0x1d19bb)return _0x5689c3;return null;}),exports['stopPercy']=PerformanceTester['measureWrapper'](a75_0x5722d9(0x13e),async _0x1c8f66=>{const _0x2482f2=a75_0x5722d9,_0x3a964f={};_0x3a964f[_0x2482f2(0x136)]=_0x2482f2(0x12e);const _0x3545d5=_0x3a964f;return logger['debug'](_0x3545d5[_0x2482f2(0x136)]),_0x1c8f66[_0x2482f2(0x145)]();}),exports[a75_0x5722d9(0x14f)]=_0x50be74=>{const _0x5138ff=a75_0x5722d9,_0x237c66={};_0x237c66[_0x5138ff(0x119)]=function(_0x19fdb6,_0x1c84d7){return _0x19fdb6<_0x1c84d7;};const _0x5790c2=_0x237c66,_0x472ad6={};_0x472ad6[_0x5138ff(0x121)]=0x0,_0x472ad6[_0x5138ff(0x13d)]=0x1,_0x472ad6['edge']=0x2,_0x472ad6[_0x5138ff(0x14b)]=0x3;const _0x3b55a1=_0x472ad6;return _0x50be74['reduce']((_0x39ee27,_0x5184a1,_0x5ce964)=>{const _0x253beb=_0x5138ff,_0x45253d=_0x50be74[_0x39ee27];if(_0x5184a1[_0x253beb(0x14e)])return _0x39ee27;if(_0x45253d[_0x253beb(0x14e)])return _0x5ce964;const _0x56468a=_0x5184a1['browser']?_0x5184a1['browser']:_0x5184a1['browserName'];if(_0x56468a&&_0x5790c2['xVmOf'](_0x3b55a1[_0x56468a[_0x253beb(0x149)]()],_0x3b55a1[_0x56468a[_0x253beb(0x149)]()]))return _0x5ce964;return _0x39ee27;},0x0);},exports['percyAutoCapture']=async(_0x18645b,_0x2d55aa,_0x442368)=>{const _0x4697b0=a75_0x5722d9,_0x4521ba={};_0x4521ba[_0x4697b0(0x141)]=_0x4697b0(0x13c);const _0x502a1a=_0x4521ba,_0x563a89=_0x18645b[_0x4697b0(0x142)];if(helper[_0x4697b0(0x138)](_0x18645b[_0x4697b0(0x143)])){logger['debug'](_0x502a1a[_0x4697b0(0x141)]);return;}const _0x3116cf=_0x563a89['getName'](_0x18645b[_0x4697b0(0x143)],_0x2d55aa);_0x442368[_0x4697b0(0x12a)]?await PercySDK[_0x4697b0(0x131)](_0x18645b,_0x3116cf):await PercySDK[_0x4697b0(0x130)](_0x18645b,_0x3116cf),_0x563a89[_0x4697b0(0x139)](_0x18645b['browserstackSessionName'],_0x2d55aa);},exports[a75_0x5722d9(0x148)]=(_0x69fa1a,_0x2a863e,_0x1e312f)=>{const _0x19106c=a75_0x5722d9,_0x43bd10={};_0x43bd10['FicMl']=_0x19106c(0x137),_0x43bd10[_0x19106c(0x144)]=_0x19106c(0x14a),_0x43bd10[_0x19106c(0x114)]=function(_0x4168f9,_0x2c22c9){return _0x4168f9!==_0x2c22c9;},_0x43bd10['Lbxfm']=_0x19106c(0x118);const _0x1fc75b=_0x43bd10;if(!helper[_0x19106c(0x120)](_0x1e312f,[_0x1fc75b['FicMl'],_0x1fc75b['HKeST']]))return;if(_0x1e312f[_0x19106c(0x137)][_0x19106c(0x14a)]&&_0x1e312f['browserStackPercyOptions'][_0x19106c(0x11c)]&&_0x1fc75b[_0x19106c(0x114)](_0x1e312f[_0x19106c(0x137)]['percyCaptureMode'],_0x1fc75b['Lbxfm'])&&!_0x69fa1a[_0x19106c(0x142)]){global[_0x19106c(0x143)]&&(_0x69fa1a[_0x19106c(0x143)]=global['browserstackSessionName']),_0x69fa1a[_0x19106c(0x142)]=new PercyCaptureMap();const _0x33506d=PercyCaptureModes[_0x1e312f[_0x19106c(0x137)]['percyCaptureMode']];_0x33506d['driver']&&_0x33506d['driver']['forEach'](_0x478929=>this[_0x19106c(0x116)](_0x69fa1a,_0x478929,_0x1e312f)),_0x33506d['element']&&_0x33506d[_0x19106c(0x117)][_0x19106c(0x14c)](_0x14f0ec=>{const _0x2509ef=_0x19106c;if(_0x2a863e[_0x2509ef(0x11d)][_0x2509ef(0x12f)+_0x14f0ec])return;_0x2a863e['prototype'][_0x2509ef(0x12f)+_0x14f0ec]=!![];const _0x2c218d=_0x2a863e[_0x2509ef(0x11d)][_0x14f0ec];_0x2a863e[_0x2509ef(0x11d)][_0x14f0ec]=async function(){const _0x41eabe=_0x2509ef;let _0x4cc7ee=_0x2c218d[_0x41eabe(0x13b)](this,arguments);_0x4cc7ee&&_0x4cc7ee[_0x41eabe(0x11f)]&&(_0x4cc7ee=await _0x4cc7ee);try{const _0x3868ef=this['getDriver']();await exports[_0x41eabe(0x126)](_0x3868ef,_0x14f0ec,_0x1e312f);}catch(_0x2dfd61){logger[_0x41eabe(0x147)](_0x41eabe(0x140)+_0x14f0ec+_0x41eabe(0x135)+_0x2dfd61);}return _0x4cc7ee;};});}},exports[a75_0x5722d9(0x116)]=function(_0x27d22a,_0x43d1da,_0x107f47){const _0x77eb83=a75_0x5722d9,_0x307d87={};_0x307d87[_0x77eb83(0x13f)]=function(_0x4c9ff5,_0x284a75){return _0x4c9ff5+_0x284a75;},_0x307d87[_0x77eb83(0x113)]=_0x77eb83(0x12f),_0x307d87[_0x77eb83(0x14d)]=_0x77eb83(0x123);const _0x17d474=_0x307d87,_0x271818=_0x17d474['Bqgdj'](_0x17d474[_0x77eb83(0x113)],_0x43d1da),_0x215dbb=_0x17d474[_0x77eb83(0x13f)](_0x17d474[_0x77eb83(0x14d)],_0x43d1da),_0x21fb15=this;if(_0x27d22a[_0x271818]||!_0x27d22a[_0x43d1da])return;_0x27d22a[_0x271818]=!![],_0x27d22a[_0x215dbb]=_0x27d22a[_0x43d1da],_0x27d22a[_0x43d1da]=async()=>{const _0x19ac12=_0x77eb83;try{await _0x21fb15[_0x19ac12(0x126)](_0x27d22a,_0x43d1da,_0x107f47);}catch(_0x5d0461){logger[_0x19ac12(0x147)](_0x19ac12(0x140)+_0x43d1da+'\x20for\x20percy\x20'+_0x5d0461);}return await _0x27d22a[_0x215dbb][_0x19ac12(0x13b)](_0x27d22a,arguments);};},exports['getPercyOptions']=_0x3f8cf6=>{const _0x4ceff7=a75_0x5722d9,_0x5ee04b={};_0x5ee04b[_0x4ceff7(0x14a)]=_0x3f8cf6[_0x4ceff7(0x14a)],_0x5ee04b[_0x4ceff7(0x11c)]=_0x3f8cf6[_0x4ceff7(0x11c)];const _0x282909=_0x5ee04b;_0x3f8cf6['percy']&&(_0x282909['browserstackPercyBestPlatform']=exports[_0x4ceff7(0x14f)](_0x3f8cf6[_0x4ceff7(0x134)]));;return _0x282909;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a75_0xa14a(_0x1495da,_0x29dbff){const _0x3edf5b=a75_0x3edf();return a75_0xa14a=function(_0xa14a65,_0xc466c1){_0xa14a65=_0xa14a65-0x1ba;let _0x4d4963=_0x3edf5b[_0xa14a65];return _0x4d4963;},a75_0xa14a(_0x1495da,_0x29dbff);}const a75_0x591e16=a75_0xa14a;function a75_0x3edf(){const _0x406e33=['593485GPfleR','readFileSync','_observer','IBugi','measureWrapper','uzUda','rYVJm','zGads','EKTir','cwd','getCleanedPerfEvents','QEtdN','catch','Performance\x20report\x20is\x20at\x20','finalizeErrors','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','_events','FWloe','slice','1DRzVkT','winstonLogger','calculateTimeFromEvents','vgrFl','\x20for\x20all\x20processes\x20is\x20','name','QFuHD','writeFile','867400RKmKeY','startMonitoring','toString','isEnabled','performance-own.html','measures','qMhea','generateJSON','error-report.json','qbBIc','BgOUg','CntAp','eZEeR','started','crEhb','exports','2620STZfKK','</td><td>','</td></tr>','join','errorReportFileName','finalizePerfMeasures','_errorEvents','DZqJW','observe','-end','</tbody></table></body></html>','map','jsonReportFileName','Error\x20in\x20writing\x20html\x20','463694NRuHaF','<tr><td>','getEventsFromJSON','calculateTimesFromMultipleFiles','false','16027yEQvnG','appendFileSync','CivRW','finally','env','UWjMe','function','measure','lfwNz','yNUeq','values','concat','disconnect','code','unlinkSync','4909860TXbane','stopMonitoring','-start','6439440yXrYHX','parse','Time\x20for\x20','getPerformance','forEach','./test-observability/utils','atuAD','_measureEvents','match','6xFMMff','8EIiTGo','TCIvn','meta','apply','QIABK','pushErrors','entries','1152204QWQlte','entryTypes','wyqIP','existsSync','WLcns','bTHui','push','ajeSt','entryType','mISco','wMvSm','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','stringify','pushPerfMeasures','./logger','deQPR','ndQvq','captureError','performance-report.json','IxuSP','duration','finalize','generateHTMLReport','yfnKj','debug','mark','length','errors'];a75_0x3edf=function(){return _0x406e33;};return a75_0x3edf();}(function(_0x586967,_0x356975){const _0x3ca72c=a75_0xa14a,_0x1970da=_0x586967();while(!![]){try{const _0x1ee634=parseInt(_0x3ca72c(0x20d))/0x1*(parseInt(_0x3ca72c(0x215))/0x2)+parseInt(_0x3ca72c(0x1de))/0x3*(-parseInt(_0x3ca72c(0x1d7))/0x4)+-parseInt(_0x3ca72c(0x1fa))/0x5*(parseInt(_0x3ca72c(0x1d6))/0x6)+parseInt(_0x3ca72c(0x233))/0x7+parseInt(_0x3ca72c(0x1cd))/0x8+parseInt(_0x3ca72c(0x1ca))/0x9+-parseInt(_0x3ca72c(0x225))/0xa*(parseInt(_0x3ca72c(0x1bb))/0xb);if(_0x1ee634===_0x356975)break;else _0x1970da['push'](_0x1970da['shift']());}catch(_0x2c49c3){_0x1970da['push'](_0x1970da['shift']());}}}(a75_0x3edf,0x8e0d5));const fs=require('fs'),{performance,PerformanceObserver}=require('perf_hooks'),{sleep,debug}=require(a75_0x591e16(0x1d2)),path=require('path'),logger=require(a75_0x591e16(0x1ec))[a75_0x591e16(0x20e)];class PerformanceTester{static [a75_0x591e16(0x1fc)];static [a75_0x591e16(0x20a)]=[];static [a75_0x591e16(0x1d4)]=[];static [a75_0x591e16(0x22b)]=[];static [a75_0x591e16(0x222)]=![];static [a75_0x591e16(0x231)]=a75_0x591e16(0x1f0);static [a75_0x591e16(0x229)]='error-report.json';static[a75_0x591e16(0x216)](_0x2501fb=a75_0x591e16(0x1f0),_0x4f2bb8=a75_0x591e16(0x21d)){const _0x155c42=a75_0x591e16,_0x13cb9d={};_0x13cb9d[_0x155c42(0x1e8)]=function(_0x28ee37,_0x1efe48){return _0x28ee37===_0x1efe48;},_0x13cb9d[_0x155c42(0x1c3)]=_0x155c42(0x1c2),_0x13cb9d[_0x155c42(0x21b)]=_0x155c42(0x1c1);const _0x6715aa=_0x13cb9d;if(this[_0x155c42(0x222)]||!this[_0x155c42(0x218)]())return;this['_observer']=new PerformanceObserver(_0x18f22d=>{const _0x29e601=_0x155c42;_0x18f22d['getEntries']()[_0x29e601(0x1d1)](_0x4064a8=>{const _0x57534f=_0x29e601;_0x6715aa[_0x57534f(0x1e8)](_0x4064a8[_0x57534f(0x1e6)],_0x6715aa[_0x57534f(0x1c3)])?this[_0x57534f(0x1d4)][_0x57534f(0x1e4)](_0x4064a8):this[_0x57534f(0x20a)][_0x57534f(0x1e4)](_0x4064a8);});});const _0x582620={};_0x582620['buffered']=!![],_0x582620[_0x155c42(0x1df)]=[_0x6715aa[_0x155c42(0x21b)],_0x6715aa[_0x155c42(0x1c3)]],this[_0x155c42(0x1fc)][_0x155c42(0x22d)](_0x582620),this[_0x155c42(0x222)]=!![],this[_0x155c42(0x231)]=_0x2501fb,this['errorReportFileName']=_0x4f2bb8;}static[a75_0x591e16(0x1d0)](){return performance;}static[a75_0x591e16(0x20f)](_0x8f16b1,_0x5de53a){const _0x27018a=a75_0x591e16,_0x490622={};_0x490622[_0x27018a(0x221)]=function(_0x2b4ff8,_0x405ac1){return _0x2b4ff8+_0x405ac1;},_0x490622[_0x27018a(0x21e)]=function(_0xafdbfc,_0x4be813){return _0xafdbfc||_0x4be813;},_0x490622[_0x27018a(0x1ff)]=function(_0x11899d,_0x5f1863){return _0x11899d===_0x5f1863;};const _0x17ed57=_0x490622,_0x341a30={};if(!_0x8f16b1||_0x17ed57[_0x27018a(0x1ff)](_0x8f16b1['length'],0x0))return;_0x8f16b1[_0x27018a(0x230)](_0x140a49=>{const _0x368c9c=_0x27018a;!_0x341a30[_0x140a49[_0x368c9c(0x212)]]&&(_0x341a30[_0x140a49[_0x368c9c(0x212)]]=0x0),_0x341a30[_0x140a49[_0x368c9c(0x212)]]+=_0x140a49[_0x368c9c(0x1f2)];});const _0x3987d8=_0x5de53a['reduce']((_0x48451c,_0x471cad)=>{const _0x347db2=_0x27018a;return _0x17ed57[_0x347db2(0x221)](_0x341a30[_0x471cad],_0x17ed57[_0x347db2(0x21e)](_0x48451c,0x0));},0x0);return _0x3987d8;}static async[a75_0x591e16(0x236)](_0x1837f9,_0x512300){const _0x294cab=a75_0x591e16,_0x10d9dc={'ajeSt':function(_0x5c641d,_0x2e6062){return _0x5c641d+_0x2e6062;},'QIABK':function(_0x21a58d,_0x63d1ca){return _0x21a58d||_0x63d1ca;},'dbZlB':function(_0xd8bcbc,_0x507202){return _0xd8bcbc===_0x507202;},'UWjMe':function(_0x3ff876,_0x4474d6){return _0x3ff876(_0x4474d6);}};if(!_0x1837f9||_0x10d9dc['dbZlB'](_0x1837f9[_0x294cab(0x1f8)],0x0))return 0x0;const _0xbc09a3=[];for(const _0x501fbf of _0x1837f9){const _0x81416f=path[_0x294cab(0x228)]('.',_0x501fbf);try{const _0x5da634=this[_0x294cab(0x235)](_0x81416f);_0x5da634[_0x294cab(0x230)](_0x921133=>{const _0x44e5e7=_0x294cab;!_0xbc09a3[_0x921133[_0x44e5e7(0x212)]]&&(_0xbc09a3[_0x921133[_0x44e5e7(0x212)]]=0x0),_0xbc09a3[_0x921133[_0x44e5e7(0x212)]]+=_0x921133[_0x44e5e7(0x1f2)];});}catch(_0x1e805b){_0x10d9dc['UWjMe'](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x1e805b[_0x294cab(0x217)]());}}const _0x2276a9=_0x512300['reduce']((_0x1bec15,_0x49d709)=>{const _0x2b1f34=_0x294cab;return _0x10d9dc[_0x2b1f34(0x1e5)](_0xbc09a3[_0x49d709],_0x10d9dc[_0x2b1f34(0x1db)](_0x1bec15,0x0));},0x0);return _0x10d9dc[_0x294cab(0x1c0)](debug,_0x294cab(0x1cf)+_0x512300+_0x294cab(0x211)+_0x2276a9),_0x2276a9;}static[a75_0x591e16(0x235)](_0x4ab42f){const _0x5d298c=a75_0x591e16;if(!fs['existsSync'](_0x4ab42f))return[];return JSON[_0x5d298c(0x1ce)](fs[_0x5d298c(0x1fb)](_0x4ab42f)[_0x5d298c(0x217)]());}static async['stopAndGenerate'](_0x25e8a0=a75_0x591e16(0x219),_0x11bfc8=null){const _0x25e8dc=a75_0x591e16,_0x57fa0={'yfnKj':function(_0x3631f8,_0x485ff3){return _0x3631f8(_0x485ff3);},'yNUeq':function(_0x2ddc92,_0x3fdc4d){return _0x2ddc92(_0x3fdc4d);}};if(!this[_0x25e8dc(0x222)])return;await _0x57fa0[_0x25e8dc(0x1c4)](sleep,0x1e),this['_observer']['disconnect'](),this[_0x25e8dc(0x222)]=![],this[_0x25e8dc(0x21c)](this['_events']);const _0x5d60fe=this[_0x25e8dc(0x1f4)](this['_events']),_0x38d0e4=path[_0x25e8dc(0x228)](process[_0x25e8dc(0x203)](),_0x25e8a0);fs[_0x25e8dc(0x214)](_0x38d0e4,_0x5d60fe,_0x4c77df=>{const _0x22f470=_0x25e8dc;if(_0x4c77df){_0x57fa0[_0x22f470(0x1f5)](debug,_0x22f470(0x232)+_0x4c77df[_0x22f470(0x217)]());return;}_0x57fa0[_0x22f470(0x1f5)](debug,_0x22f470(0x207)+_0x38d0e4);});if(_0x11bfc8)return this[_0x25e8dc(0x20f)](this[_0x25e8dc(0x20a)],_0x11bfc8);}static['generateHTMLReport'](_0x51027a){const _0x18e04e=a75_0x591e16,_0x4ae1e5={};_0x4ae1e5[_0x18e04e(0x1fd)]=_0x18e04e(0x1e9),_0x4ae1e5[_0x18e04e(0x223)]='<h1>Performance\x20Report</h1>',_0x4ae1e5[_0x18e04e(0x1d3)]=_0x18e04e(0x209),_0x4ae1e5['mISco']=_0x18e04e(0x22f);const _0xc68cc1=_0x4ae1e5;let _0x52b7eb=_0xc68cc1[_0x18e04e(0x1fd)];return _0x52b7eb+=_0xc68cc1[_0x18e04e(0x223)],_0x52b7eb+=_0xc68cc1[_0x18e04e(0x1d3)],_0x51027a[_0x18e04e(0x1d1)](_0x40fad8=>{const _0x2b3b51=_0x18e04e;_0x52b7eb+=_0x2b3b51(0x234)+_0x40fad8[_0x2b3b51(0x212)]+_0x2b3b51(0x226)+_0x40fad8[_0x2b3b51(0x1f2)]+_0x2b3b51(0x227);}),_0x52b7eb+=_0xc68cc1[_0x18e04e(0x1e7)],_0x52b7eb;}static[a75_0x591e16(0x21c)](_0x17c22e){const _0x52f6f3=a75_0x591e16;if(!this[_0x52f6f3(0x231)])return;const _0x1890b7={};_0x17c22e['map'](_0x5669fa=>{const _0x251010=_0x52f6f3;!_0x1890b7[_0x5669fa[_0x251010(0x212)]]&&(_0x1890b7[_0x5669fa['name']]=0x0),_0x1890b7[_0x5669fa[_0x251010(0x212)]]+=_0x5669fa[_0x251010(0x1f2)];});const _0x488453=Object[_0x52f6f3(0x1dd)](_0x1890b7)['map'](([_0x1a70ec,_0x56e179])=>{const _0x429b78=_0x52f6f3,_0x58a79f={};return _0x58a79f[_0x429b78(0x212)]=_0x1a70ec,_0x58a79f[_0x429b78(0x1f2)]=_0x56e179,_0x58a79f;});fs['writeFileSync'](this['jsonReportFileName'],JSON['stringify'](_0x488453));}static['isEnabled'](){const _0x1155f7=a75_0x591e16,_0x2fc5dc={};_0x2fc5dc[_0x1155f7(0x21f)]=function(_0x29042a,_0x18ebc1){return _0x29042a===_0x18ebc1;},_0x2fc5dc[_0x1155f7(0x210)]=_0x1155f7(0x1ba);const _0x20bd92=_0x2fc5dc;return!_0x20bd92[_0x1155f7(0x21f)](process[_0x1155f7(0x1bf)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x20bd92[_0x1155f7(0x210)]);}static['measure'](_0x5f5c7a,_0x2c3daa,_0x25169e=null,_0x425349=null){const _0x4851a4=a75_0x591e16,_0x53d3f9={};_0x53d3f9[_0x4851a4(0x201)]=function(_0x44ad51,_0x422fab){return _0x44ad51+_0x422fab;},_0x53d3f9[_0x4851a4(0x1ee)]=_0x4851a4(0x1cc),_0x53d3f9[_0x4851a4(0x1ed)]=function(_0xff2ded,_0x4a6742){return _0xff2ded+_0x4a6742;},_0x53d3f9[_0x4851a4(0x205)]=_0x4851a4(0x22e),_0x53d3f9[_0x4851a4(0x20b)]=function(_0x115c41,_0xb18046){return _0x115c41 instanceof _0xb18046;};const _0x573792=_0x53d3f9;try{if(this[_0x4851a4(0x222)]&&this[_0x4851a4(0x218)]()){let _0x40b3e2=_0x5f5c7a;_0x25169e&&(_0x40b3e2=_0x5f5c7a+'['+JSON[_0x4851a4(0x1ea)](_0x25169e)+']');const _0x1b424a=_0x573792[_0x4851a4(0x201)](_0x40b3e2,_0x573792[_0x4851a4(0x1ee)]),_0x33e61b=_0x573792[_0x4851a4(0x1ed)](_0x40b3e2,_0x573792[_0x4851a4(0x205)]);performance[_0x4851a4(0x1f7)](_0x1b424a);const _0x2b815d=_0x2c3daa[_0x4851a4(0x1da)](null,_0x425349);if(_0x573792['FWloe'](_0x2b815d,Promise))return new Promise((_0x1e28e0,_0x4c39fa)=>{const _0x2ea3c6=_0x4851a4;_0x2b815d['then'](_0x2af36d=>_0x1e28e0(_0x2af36d))[_0x2ea3c6(0x206)](_0x473267=>_0x4c39fa(_0x473267))[_0x2ea3c6(0x1be)](()=>{const _0xdf6063=_0x2ea3c6;performance[_0xdf6063(0x1f7)](_0x33e61b),performance[_0xdf6063(0x1c2)](_0x40b3e2,_0x1b424a,_0x33e61b);});});;return performance[_0x4851a4(0x1f7)](_0x33e61b),performance[_0x4851a4(0x1c2)](_0x40b3e2,_0x1b424a,_0x33e61b),_0x2b815d;};return _0x2c3daa[_0x4851a4(0x1da)](null,_0x425349);}catch(_0x34c13d){return _0x2c3daa[_0x4851a4(0x1da)](null,_0x425349);}}static[a75_0x591e16(0x1fe)](_0x967b7b,_0x325301){const _0x122127=this;return function(){const _0x4f26a2=a75_0xa14a,_0x48312f=[_0x967b7b,_0x325301,null][_0x4f26a2(0x1c6)](arguments);return _0x122127['measure'][_0x4f26a2(0x1da)](_0x122127,_0x48312f);};}static[a75_0x591e16(0x204)](){const _0x2d92a1=a75_0x591e16,_0x1c429a={};_0x1c429a[_0x2d92a1(0x22c)]=function(_0x513701,_0xaba381){return _0x513701/_0xaba381;},_0x1c429a[_0x2d92a1(0x202)]=function(_0x57ae24,_0x4c47e6){return _0x57ae24+_0x4c47e6;},_0x1c429a[_0x2d92a1(0x200)]=function(_0x2a1b60,_0x4077c0){return _0x2a1b60*_0x4077c0;},_0x1c429a['EOsel']=function(_0x1c1f95,_0x211db5){return _0x1c1f95+_0x211db5;};const _0x313dc5=_0x1c429a,_0x2d997c=/(^.*)\[(.*)\]$/,_0x198828={},_0x395b69={};for(const _0x176dcd of this[_0x2d92a1(0x1d4)]){const _0x2611f0=_0x176dcd['name'][_0x2d92a1(0x1d5)](_0x2d997c),_0x3d2dee={};_0x3d2dee['name']=_0x176dcd[_0x2d92a1(0x212)],_0x3d2dee[_0x2d92a1(0x1f2)]=_0x176dcd[_0x2d92a1(0x1f2)]||0x0;const _0x4b15b9=_0x3d2dee;_0x2611f0&&(_0x4b15b9[_0x2d92a1(0x212)]=_0x2611f0[0x1],_0x4b15b9[_0x2d92a1(0x1d9)]=JSON['parse'](_0x2611f0[0x2]));if(_0x198828[_0x4b15b9[_0x2d92a1(0x212)]]){const _0x36d8b3=_0x198828[_0x4b15b9['name']],_0x42a2fd=_0x395b69[_0x4b15b9[_0x2d92a1(0x212)]];_0x198828[_0x4b15b9[_0x2d92a1(0x212)]][_0x2d92a1(0x1f2)]=_0x313dc5[_0x2d92a1(0x22c)](_0x313dc5['EKTir'](_0x313dc5[_0x2d92a1(0x200)](_0x36d8b3[_0x2d92a1(0x1f2)],_0x42a2fd),_0x4b15b9[_0x2d92a1(0x1f2)]),_0x313dc5['EOsel'](0x1,_0x42a2fd)),_0x395b69[_0x4b15b9[_0x2d92a1(0x212)]]++;}else _0x198828[_0x4b15b9[_0x2d92a1(0x212)]]=_0x4b15b9,_0x395b69[_0x4b15b9['name']]=0x1;}return Object[_0x2d92a1(0x1c5)](_0x198828);}static[a75_0x591e16(0x1eb)](){const _0x4af6b6=a75_0x591e16,_0x506147={};_0x506147['WLcns']=function(_0x415372,_0x50e802){return _0x415372===_0x50e802;},_0x506147[_0x4af6b6(0x1e0)]=function(_0x2dce3e,_0x4b6878){return _0x2dce3e+_0x4b6878;};const _0x2f93d3=_0x506147;if(_0x2f93d3[_0x4af6b6(0x1e2)](this[_0x4af6b6(0x1d4)][_0x4af6b6(0x1f8)],0x0))return;const _0x4d7734=this[_0x4af6b6(0x204)](),_0x413af5=JSON['stringify'](_0x4d7734),_0x5ecfeb=_0x2f93d3[_0x4af6b6(0x1e0)](_0x413af5[_0x4af6b6(0x20c)](0x1,-0x1),',');fs['appendFileSync'](this[_0x4af6b6(0x231)],_0x5ecfeb);}static[a75_0x591e16(0x22a)](){const _0x3775ba=a75_0x591e16,_0x3f54e9={};_0x3f54e9[_0x3775ba(0x1f1)]=function(_0x196424,_0x489347){return _0x196424===_0x489347;},_0x3f54e9['CivRW']=function(_0x190c53,_0x402d5e){return _0x190c53>_0x402d5e;};const _0x31d40c=_0x3f54e9;if(!this[_0x3775ba(0x222)]||_0x31d40c['IxuSP'](this[_0x3775ba(0x1d4)][_0x3775ba(0x1f8)],0x0))return[];if(!fs[_0x3775ba(0x1e1)](this['jsonReportFileName']))return this['_measureEvents'];let _0x281e05=fs[_0x3775ba(0x1fb)](this[_0x3775ba(0x231)])[_0x3775ba(0x217)]();_0x281e05='['+_0x281e05[_0x3775ba(0x20c)](0x0,-0x1)+']';let _0x403015=JSON['parse'](_0x281e05);return _0x31d40c[_0x3775ba(0x1bd)](this[_0x3775ba(0x1d4)][_0x3775ba(0x1f8)],0x0)&&(_0x403015=_0x403015[_0x3775ba(0x1c6)](this[_0x3775ba(0x204)]())),this[_0x3775ba(0x1fc)][_0x3775ba(0x1c7)](),fs[_0x3775ba(0x1c9)](this[_0x3775ba(0x231)]),_0x403015;}static['pushErrors'](){const _0x962ea6=a75_0x591e16,_0x2a1fdf={};_0x2a1fdf['TCIvn']=function(_0x3bf481,_0x111689){return _0x3bf481===_0x111689;},_0x2a1fdf[_0x962ea6(0x1e3)]=function(_0xc68f2d,_0x2e4095){return _0xc68f2d+_0x2e4095;};const _0x2950cc=_0x2a1fdf;if(_0x2950cc[_0x962ea6(0x1d8)](this[_0x962ea6(0x22b)][_0x962ea6(0x1f8)],0x0))return;const _0x536bac=JSON[_0x962ea6(0x1ea)](this[_0x962ea6(0x22b)]),_0x140bc0=_0x2950cc['bTHui'](_0x536bac[_0x962ea6(0x20c)](0x1,-0x1),',');fs[_0x962ea6(0x1bc)](this['errorFile'],_0x140bc0);}static[a75_0x591e16(0x208)](){const _0x45fb33=a75_0x591e16,_0xac175e={};_0xac175e['QFuHD']=function(_0xb09a6e,_0x2e68ef){return _0xb09a6e>_0x2e68ef;};const _0x178dc5=_0xac175e;if(!fs['existsSync'](this[_0x45fb33(0x229)]))return this[_0x45fb33(0x22b)];let _0x1c6ff5=fs[_0x45fb33(0x1fb)](this[_0x45fb33(0x229)])[_0x45fb33(0x217)]();_0x1c6ff5='['+_0x1c6ff5['slice'](0x0,-0x1)+']';let _0x38c4f7=JSON[_0x45fb33(0x1ce)](_0x1c6ff5);return _0x178dc5[_0x45fb33(0x213)](this['_errorEvents'][_0x45fb33(0x1f8)],0x0)&&(_0x38c4f7=_0x38c4f7['concat'](this[_0x45fb33(0x22b)])),fs[_0x45fb33(0x1c9)](this['errorReportFileName']),_0x38c4f7;}static[a75_0x591e16(0x1ef)](_0x3c0527){const _0x35d8ed=a75_0x591e16;if(!this['isEnabled']())return;this[_0x35d8ed(0x22b)][_0x35d8ed(0x1e4)]({'message':_0x3c0527['message'],'trace':_0x3c0527['stack'],'code':_0x3c0527[_0x35d8ed(0x1c8)]||null,'time':new Date()});}static[a75_0x591e16(0x1cb)](){const _0x5695ad=a75_0x591e16,_0x4d8c15={};_0x4d8c15[_0x5695ad(0x220)]='Error\x20stopping\x20monitoring';const _0x4cee65=_0x4d8c15;try{if(!this['isEnabled']())return;this[_0x5695ad(0x1fc)][_0x5695ad(0x1c7)](),this['pushPerfMeasures'](),this[_0x5695ad(0x1dc)]();}catch{logger[_0x5695ad(0x1f6)](_0x4cee65[_0x5695ad(0x220)]);}}static[a75_0x591e16(0x1f3)](){const _0x289d73=a75_0x591e16,_0x1024c8=this[_0x289d73(0x22a)](),_0x419163=this[_0x289d73(0x208)]();if(!this[_0x289d73(0x218)]()){const _0x4d01ef={};return _0x4d01ef[_0x289d73(0x21a)]=[],_0x4d01ef[_0x289d73(0x1f9)]=[],_0x4d01ef;}const _0x385898={};return _0x385898[_0x289d73(0x21a)]=_0x1024c8,_0x385898[_0x289d73(0x1f9)]=_0x419163,_0x385898;}}module[a75_0x591e16(0x224)]=PerformanceTester;
|
|
1
|
+
const a76_0x535b51=a76_0x5324;function a76_0x5952(){const _0x29833b=['</td></tr>','623068qsnRks','</tbody></table></body></html>','aMnpA','Performance\x20report\x20is\x20at\x20','generateHTMLReport','LpYCL','buffered','join','observe','nfDrd','writeFile','unlinkSync','exports','appendFileSync','./logger','njdqX','errors','sJrCt','Fmbcw','psNJH','generateJSON','readFileSync','debug','277220SARxku','<tr><td>','getCleanedPerfEvents','KEHUv','perf_hooks','winstonLogger','performance-report.json','disconnect','</td><td>','10JcaMpH','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','then','finalize','wtSXR','finalizePerfMeasures','slice','forEach','Cogpq','lyNWF','XUYSe','stringify','2DKSQgr','calculateTimeFromEvents','concat','xIgHb','message','error-report.json','4520850odDpdT','uDnHn','function','toString','existsSync','<h1>Performance\x20Report</h1>','siMlx','startMonitoring','Error\x20stopping\x20monitoring','isEnabled','_events','PEjzm','apply','measure','NLDOV','pQTYl','name','captureError','XvnJU','match','pushPerfMeasures','hXuqb','getEventsFromJSON','kTBex','oUFah','length','2747206KkYuhz','33Qtejzo','mywqm','./test-observability/utils','errorReportFileName','performance-own.html','jsonReportFileName','values','meta','2857923DvoPfj','entryTypes','reduce','env','_measureEvents','stack','wMojz','QohWv','parse','BgMUW','measures','code','iyQHc','juQBt','2601087hpaNBp','finally','entries','emUoq','_errorEvents','16TcxMxr','map','pushErrors','916040tQXghI','duration','IElhP','started','_observer','errorFile','cwd','measureWrapper','calculateTimesFromMultipleFiles','catch','RqVwP','Error\x20in\x20doing\x20csv\x20operations:\x20','ziVOQ','push','mark','BofIR','entryType'];a76_0x5952=function(){return _0x29833b;};return a76_0x5952();}(function(_0x473a72,_0x11b6d2){const _0xcac345=a76_0x5324,_0x4275ed=_0x473a72();while(!![]){try{const _0x4a8408=-parseInt(_0xcac345(0x208))/0x1+-parseInt(_0xcac345(0x1b7))/0x2*(-parseInt(_0xcac345(0x1ee))/0x3)+-parseInt(_0xcac345(0x1f6))/0x4*(-parseInt(_0xcac345(0x1ab))/0x5)+-parseInt(_0xcac345(0x1bd))/0x6+parseInt(_0xcac345(0x1d7))/0x7*(parseInt(_0xcac345(0x1f3))/0x8)+-parseInt(_0xcac345(0x1e0))/0x9+parseInt(_0xcac345(0x1a2))/0xa*(parseInt(_0xcac345(0x1d8))/0xb);if(_0x4a8408===_0x11b6d2)break;else _0x4275ed['push'](_0x4275ed['shift']());}catch(_0x17a447){_0x4275ed['push'](_0x4275ed['shift']());}}}(a76_0x5952,0x79d61));const fs=require('fs'),{performance,PerformanceObserver}=require(a76_0x535b51(0x1a6)),{sleep,debug}=require(a76_0x535b51(0x1da)),path=require('path'),logger=require(a76_0x535b51(0x199))[a76_0x535b51(0x1a7)];class PerformanceTester{static [a76_0x535b51(0x1fa)];static ['_events']=[];static [a76_0x535b51(0x1e4)]=[];static [a76_0x535b51(0x1f2)]=[];static [a76_0x535b51(0x1f9)]=![];static ['jsonReportFileName']=a76_0x535b51(0x1a8);static ['errorReportFileName']=a76_0x535b51(0x1bc);static[a76_0x535b51(0x1c4)](_0x2aaae6='performance-report.json',_0x24b62e=a76_0x535b51(0x1bc)){const _0x111b5b=a76_0x535b51,_0x2ceea3={};_0x2ceea3[_0x111b5b(0x1c3)]=function(_0x543140,_0x41a9c1){return _0x543140===_0x41a9c1;},_0x2ceea3[_0x111b5b(0x1cc)]=_0x111b5b(0x1ca),_0x2ceea3['aMnpA']=_0x111b5b(0x1bf);const _0x3c8085=_0x2ceea3;if(this[_0x111b5b(0x1f9)]||!this[_0x111b5b(0x1c6)]())return;this[_0x111b5b(0x1fa)]=new PerformanceObserver(_0x52ce73=>{const _0x22b544=_0x111b5b,_0x38eb0f={'kTBex':function(_0x1b3079,_0x270f1d){return _0x3c8085['siMlx'](_0x1b3079,_0x270f1d);},'dEImH':_0x3c8085[_0x22b544(0x1cc)]};_0x52ce73['getEntries']()[_0x22b544(0x1b2)](_0x5f234b=>{const _0xecc82c=_0x22b544;_0x38eb0f[_0xecc82c(0x1d4)](_0x5f234b[_0xecc82c(0x206)],_0x38eb0f['dEImH'])?this['_measureEvents']['push'](_0x5f234b):this[_0xecc82c(0x1c7)][_0xecc82c(0x203)](_0x5f234b);});});const _0x38a95e={};_0x38a95e[_0x111b5b(0x20e)]=!![],_0x38a95e[_0x111b5b(0x1e1)]=[_0x3c8085[_0x111b5b(0x20a)],_0x3c8085[_0x111b5b(0x1cc)]],this[_0x111b5b(0x1fa)][_0x111b5b(0x210)](_0x38a95e),this[_0x111b5b(0x1f9)]=!![],this[_0x111b5b(0x1dd)]=_0x2aaae6,this[_0x111b5b(0x1db)]=_0x24b62e;}static['getPerformance'](){return performance;}static['calculateTimeFromEvents'](_0x3bb992,_0x1b6da5){const _0x3c9dbf=a76_0x535b51,_0x57259b={};_0x57259b[_0x3c9dbf(0x19d)]=function(_0x10514c,_0x192385){return _0x10514c+_0x192385;},_0x57259b[_0x3c9dbf(0x1e9)]=function(_0xc41b95,_0x5b2e7d){return _0xc41b95||_0x5b2e7d;},_0x57259b[_0x3c9dbf(0x1e6)]=function(_0x30dc38,_0x3b1b3a){return _0x30dc38===_0x3b1b3a;};const _0x3ee0b6=_0x57259b,_0x127ac4={};if(!_0x3bb992||_0x3ee0b6[_0x3c9dbf(0x1e6)](_0x3bb992[_0x3c9dbf(0x1d6)],0x0))return;_0x3bb992[_0x3c9dbf(0x1f4)](_0x41df25=>{const _0xceecd5=_0x3c9dbf;!_0x127ac4[_0x41df25[_0xceecd5(0x1cd)]]&&(_0x127ac4[_0x41df25['name']]=0x0),_0x127ac4[_0x41df25[_0xceecd5(0x1cd)]]+=_0x41df25[_0xceecd5(0x1f7)];});const _0x238460=_0x1b6da5[_0x3c9dbf(0x1e2)]((_0x4cae8f,_0x2f6371)=>{const _0x2ed8ac=_0x3c9dbf;return _0x3ee0b6[_0x2ed8ac(0x19d)](_0x127ac4[_0x2f6371],_0x3ee0b6[_0x2ed8ac(0x1e9)](_0x4cae8f,0x0));},0x0);return _0x238460;}static async[a76_0x535b51(0x1fe)](_0x3ad030,_0x2d3952){const _0x5d77cc=a76_0x535b51,_0x2a6573={'hjiNq':function(_0x3a4f1e,_0x175f06){return _0x3a4f1e+_0x175f06;},'Cogpq':function(_0x4eb00c,_0x567aa4){return _0x4eb00c||_0x567aa4;},'sJrCt':function(_0x4369a1,_0x444e18){return _0x4369a1===_0x444e18;},'NLDOV':function(_0x461312,_0x1a5a37){return _0x461312(_0x1a5a37);}};if(!_0x3ad030||_0x2a6573[_0x5d77cc(0x19c)](_0x3ad030['length'],0x0))return 0x0;const _0x970cf1=[];for(const _0x4a3efc of _0x3ad030){const _0x281d0b=path[_0x5d77cc(0x20f)]('.',_0x4a3efc);try{const _0x59e6cd=this[_0x5d77cc(0x1d3)](_0x281d0b);_0x59e6cd[_0x5d77cc(0x1f4)](_0x484f09=>{const _0x36380f=_0x5d77cc;!_0x970cf1[_0x484f09[_0x36380f(0x1cd)]]&&(_0x970cf1[_0x484f09['name']]=0x0),_0x970cf1[_0x484f09[_0x36380f(0x1cd)]]+=_0x484f09['duration'];});}catch(_0x4bc77f){_0x2a6573[_0x5d77cc(0x1cb)](debug,_0x5d77cc(0x201)+_0x4bc77f[_0x5d77cc(0x1c0)]());}}const _0x2a2b91=_0x2d3952[_0x5d77cc(0x1e2)]((_0x5f09e1,_0x5ae319)=>{const _0x5aac6f=_0x5d77cc;return _0x2a6573['hjiNq'](_0x970cf1[_0x5ae319],_0x2a6573[_0x5aac6f(0x1b3)](_0x5f09e1,0x0));},0x0);return _0x2a6573[_0x5d77cc(0x1cb)](debug,'Time\x20for\x20'+_0x2d3952+'\x20for\x20all\x20processes\x20is\x20'+_0x2a2b91),_0x2a2b91;}static[a76_0x535b51(0x1d3)](_0xc9e033){const _0x9f5592=a76_0x535b51;if(!fs[_0x9f5592(0x1c1)](_0xc9e033))return[];return JSON[_0x9f5592(0x1e8)](fs[_0x9f5592(0x1a0)](_0xc9e033)['toString']());}static async['stopAndGenerate'](_0x4766a0=a76_0x535b51(0x1dc),_0x216ea3=null){const _0x29a95e=a76_0x535b51,_0x46f6a5={'wtSXR':function(_0x28458a,_0x15fe88){return _0x28458a(_0x15fe88);},'XUYSe':function(_0x35c77d,_0xe0314c){return _0x35c77d(_0xe0314c);},'UaMCz':function(_0x1a5528,_0x56b175){return _0x1a5528(_0x56b175);}};if(!this[_0x29a95e(0x1f9)])return;await _0x46f6a5['UaMCz'](sleep,0x1e),this[_0x29a95e(0x1fa)][_0x29a95e(0x1a9)](),this[_0x29a95e(0x1f9)]=![],this[_0x29a95e(0x19f)](this[_0x29a95e(0x1c7)]);const _0x34698b=this[_0x29a95e(0x20c)](this[_0x29a95e(0x1c7)]),_0x88f851=path[_0x29a95e(0x20f)](process[_0x29a95e(0x1fc)](),_0x4766a0);fs[_0x29a95e(0x212)](_0x88f851,_0x34698b,_0x4374dc=>{const _0x2bb48a=_0x29a95e;if(_0x4374dc){_0x46f6a5[_0x2bb48a(0x1af)](debug,'Error\x20in\x20writing\x20html\x20'+_0x4374dc[_0x2bb48a(0x1c0)]());return;}_0x46f6a5[_0x2bb48a(0x1b5)](debug,_0x2bb48a(0x20b)+_0x88f851);});if(_0x216ea3)return this[_0x29a95e(0x1b8)](this[_0x29a95e(0x1c7)],_0x216ea3);}static[a76_0x535b51(0x20c)](_0x328563){const _0x7b6890=a76_0x535b51,_0xf76f50={};_0xf76f50['RqVwP']='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0xf76f50[_0x7b6890(0x1a5)]=_0x7b6890(0x1c2),_0xf76f50[_0x7b6890(0x1b4)]=_0x7b6890(0x1ac),_0xf76f50['IElhP']=_0x7b6890(0x209);const _0x1b87f2=_0xf76f50;let _0x2c60d6=_0x1b87f2[_0x7b6890(0x200)];return _0x2c60d6+=_0x1b87f2[_0x7b6890(0x1a5)],_0x2c60d6+=_0x1b87f2[_0x7b6890(0x1b4)],_0x328563['forEach'](_0x121320=>{const _0x1f236c=_0x7b6890;_0x2c60d6+=_0x1f236c(0x1a3)+_0x121320['name']+_0x1f236c(0x1aa)+_0x121320[_0x1f236c(0x1f7)]+_0x1f236c(0x207);}),_0x2c60d6+=_0x1b87f2[_0x7b6890(0x1f8)],_0x2c60d6;}static[a76_0x535b51(0x19f)](_0x3f0587){const _0x4616fb=a76_0x535b51;if(!this[_0x4616fb(0x1dd)])return;const _0x2fc634={};_0x3f0587['map'](_0x1f376b=>{const _0x5c8266=_0x4616fb;!_0x2fc634[_0x1f376b[_0x5c8266(0x1cd)]]&&(_0x2fc634[_0x1f376b[_0x5c8266(0x1cd)]]=0x0),_0x2fc634[_0x1f376b[_0x5c8266(0x1cd)]]+=_0x1f376b['duration'];});const _0x13c7b8=Object[_0x4616fb(0x1f0)](_0x2fc634)[_0x4616fb(0x1f4)](([_0x541b2a,_0x4b7985])=>{const _0x398dcf=_0x4616fb,_0xb80ad2={};return _0xb80ad2['name']=_0x541b2a,_0xb80ad2[_0x398dcf(0x1f7)]=_0x4b7985,_0xb80ad2;});fs['writeFileSync'](this[_0x4616fb(0x1dd)],JSON[_0x4616fb(0x1b6)](_0x13c7b8));}static[a76_0x535b51(0x1c6)](){const _0x39d538=a76_0x535b51,_0x279908={};_0x279908[_0x39d538(0x1ba)]=function(_0x3f5b1a,_0x2d4818){return _0x3f5b1a===_0x2d4818;},_0x279908['juQBt']='false';const _0x37afe0=_0x279908;return!_0x37afe0[_0x39d538(0x1ba)](process[_0x39d538(0x1e3)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x37afe0[_0x39d538(0x1ed)]);}static[a76_0x535b51(0x1ca)](_0x3e8f01,_0x7e427f,_0x58b867=null,_0x3a7e01=null){const _0xace103=a76_0x535b51,_0x495026={};_0x495026[_0xace103(0x1ec)]=function(_0x5538e7,_0x59b2e4){return _0x5538e7+_0x59b2e4;},_0x495026['nfDrd']='-start',_0x495026[_0xace103(0x1be)]='-end',_0x495026[_0xace103(0x1d9)]=function(_0x385041,_0x1bbfd1){return _0x385041 instanceof _0x1bbfd1;};const _0x2be992=_0x495026;try{if(this['started']&&this[_0xace103(0x1c6)]()){let _0x24ef91=_0x3e8f01;_0x58b867&&(_0x24ef91=_0x3e8f01+'['+JSON[_0xace103(0x1b6)](_0x58b867)+']');const _0x44e8e7=_0x2be992[_0xace103(0x1ec)](_0x24ef91,_0x2be992[_0xace103(0x211)]),_0x2bf10d=_0x2be992[_0xace103(0x1ec)](_0x24ef91,_0x2be992[_0xace103(0x1be)]);performance[_0xace103(0x204)](_0x44e8e7);const _0x269876=_0x7e427f[_0xace103(0x1c9)](null,_0x3a7e01);if(_0x2be992[_0xace103(0x1d9)](_0x269876,Promise))return new Promise((_0x4481f4,_0x3c4217)=>{const _0x54c62c=_0xace103;_0x269876[_0x54c62c(0x1ad)](_0x435437=>_0x4481f4(_0x435437))[_0x54c62c(0x1ff)](_0xb7b485=>_0x3c4217(_0xb7b485))[_0x54c62c(0x1ef)](()=>{const _0x211135=_0x54c62c;performance['mark'](_0x2bf10d),performance[_0x211135(0x1ca)](_0x24ef91,_0x44e8e7,_0x2bf10d);});});;return performance[_0xace103(0x204)](_0x2bf10d),performance['measure'](_0x24ef91,_0x44e8e7,_0x2bf10d),_0x269876;};return _0x7e427f[_0xace103(0x1c9)](null,_0x3a7e01);}catch(_0x3f2477){return _0x7e427f[_0xace103(0x1c9)](null,_0x3a7e01);}}static[a76_0x535b51(0x1fd)](_0x4737e7,_0x3a840f){const _0x5829f6=this;return function(){const _0x586340=a76_0x5324,_0x195867=[_0x4737e7,_0x3a840f,null][_0x586340(0x1b9)](arguments);return _0x5829f6['measure']['apply'](_0x5829f6,_0x195867);};}static[a76_0x535b51(0x1a4)](){const _0x2c98ac=a76_0x535b51,_0x55109e={};_0x55109e[_0x2c98ac(0x1e7)]=function(_0x2e091,_0x46fc26){return _0x2e091/_0x46fc26;},_0x55109e[_0x2c98ac(0x1f1)]=function(_0x4fe7df,_0x3a4213){return _0x4fe7df+_0x3a4213;},_0x55109e[_0x2c98ac(0x19e)]=function(_0x58b4c5,_0x23e0db){return _0x58b4c5*_0x23e0db;};const _0x170505=_0x55109e,_0x124add=/(^.*)\[(.*)\]$/,_0x21f666={},_0x1f1782={};for(const _0x51fae3 of this[_0x2c98ac(0x1e4)]){const _0x2fb7e=_0x51fae3[_0x2c98ac(0x1cd)][_0x2c98ac(0x1d0)](_0x124add),_0x3039e1={};_0x3039e1[_0x2c98ac(0x1cd)]=_0x51fae3[_0x2c98ac(0x1cd)],_0x3039e1[_0x2c98ac(0x1f7)]=_0x51fae3[_0x2c98ac(0x1f7)]||0x0;const _0x49652a=_0x3039e1;_0x2fb7e&&(_0x49652a['name']=_0x2fb7e[0x1],_0x49652a[_0x2c98ac(0x1df)]=JSON[_0x2c98ac(0x1e8)](_0x2fb7e[0x2]));if(_0x21f666[_0x49652a[_0x2c98ac(0x1cd)]]){const _0x234220=_0x21f666[_0x49652a[_0x2c98ac(0x1cd)]],_0x4052a0=_0x1f1782[_0x49652a[_0x2c98ac(0x1cd)]];_0x21f666[_0x49652a[_0x2c98ac(0x1cd)]][_0x2c98ac(0x1f7)]=_0x170505['QohWv'](_0x170505[_0x2c98ac(0x1f1)](_0x170505[_0x2c98ac(0x19e)](_0x234220['duration'],_0x4052a0),_0x49652a[_0x2c98ac(0x1f7)]),_0x170505[_0x2c98ac(0x1f1)](0x1,_0x4052a0)),_0x1f1782[_0x49652a['name']]++;}else _0x21f666[_0x49652a[_0x2c98ac(0x1cd)]]=_0x49652a,_0x1f1782[_0x49652a['name']]=0x1;}return Object[_0x2c98ac(0x1de)](_0x21f666);}static[a76_0x535b51(0x1d1)](){const _0x575b99=a76_0x535b51,_0x197c9e={};_0x197c9e[_0x575b99(0x1c8)]=function(_0x2c14e4,_0x22f71a){return _0x2c14e4===_0x22f71a;},_0x197c9e[_0x575b99(0x1d2)]=function(_0x707307,_0x2077e6){return _0x707307+_0x2077e6;};const _0x153b58=_0x197c9e;if(_0x153b58['PEjzm'](this[_0x575b99(0x1e4)][_0x575b99(0x1d6)],0x0))return;const _0x1e07fd=this[_0x575b99(0x1a4)](),_0x13ba60=JSON['stringify'](_0x1e07fd),_0x45c012=_0x153b58[_0x575b99(0x1d2)](_0x13ba60[_0x575b99(0x1b1)](0x1,-0x1),',');fs['appendFileSync'](this[_0x575b99(0x1dd)],_0x45c012);}static[a76_0x535b51(0x1b0)](){const _0x3b4977=a76_0x535b51,_0x3cdf39={};_0x3cdf39[_0x3b4977(0x1cf)]=function(_0x42fac4,_0x125650){return _0x42fac4===_0x125650;},_0x3cdf39[_0x3b4977(0x202)]=function(_0x28f643,_0xfc9f12){return _0x28f643>_0xfc9f12;};const _0x305fd0=_0x3cdf39;if(!this[_0x3b4977(0x1f9)]||_0x305fd0[_0x3b4977(0x1cf)](this[_0x3b4977(0x1e4)][_0x3b4977(0x1d6)],0x0))return[];if(!fs['existsSync'](this[_0x3b4977(0x1dd)]))return this[_0x3b4977(0x1e4)];let _0x110176=fs['readFileSync'](this[_0x3b4977(0x1dd)])[_0x3b4977(0x1c0)]();_0x110176='['+_0x110176[_0x3b4977(0x1b1)](0x0,-0x1)+']';let _0x23880e=JSON[_0x3b4977(0x1e8)](_0x110176);return _0x305fd0['ziVOQ'](this[_0x3b4977(0x1e4)][_0x3b4977(0x1d6)],0x0)&&(_0x23880e=_0x23880e['concat'](this[_0x3b4977(0x1a4)]())),this[_0x3b4977(0x1fa)]['disconnect'](),fs['unlinkSync'](this[_0x3b4977(0x1dd)]),_0x23880e;}static[a76_0x535b51(0x1f5)](){const _0x2870da=a76_0x535b51,_0x28bead={};_0x28bead[_0x2870da(0x20d)]=function(_0x471827,_0x163823){return _0x471827===_0x163823;},_0x28bead[_0x2870da(0x205)]=function(_0x4a71be,_0x454183){return _0x4a71be+_0x454183;};const _0x43c843=_0x28bead;if(_0x43c843[_0x2870da(0x20d)](this[_0x2870da(0x1f2)]['length'],0x0))return;const _0x588af8=JSON[_0x2870da(0x1b6)](this[_0x2870da(0x1f2)]),_0x415502=_0x43c843['BofIR'](_0x588af8[_0x2870da(0x1b1)](0x1,-0x1),',');fs[_0x2870da(0x215)](this[_0x2870da(0x1fb)],_0x415502);}static['finalizeErrors'](){const _0x372088=a76_0x535b51,_0x1014bf={};_0x1014bf[_0x372088(0x19a)]=function(_0x432891,_0x3a2c7b){return _0x432891>_0x3a2c7b;};const _0x2ecc03=_0x1014bf;if(!fs[_0x372088(0x1c1)](this[_0x372088(0x1db)]))return this[_0x372088(0x1f2)];let _0x586cc2=fs['readFileSync'](this[_0x372088(0x1db)])[_0x372088(0x1c0)]();_0x586cc2='['+_0x586cc2[_0x372088(0x1b1)](0x0,-0x1)+']';let _0x3c673c=JSON['parse'](_0x586cc2);return _0x2ecc03[_0x372088(0x19a)](this[_0x372088(0x1f2)][_0x372088(0x1d6)],0x0)&&(_0x3c673c=_0x3c673c[_0x372088(0x1b9)](this[_0x372088(0x1f2)])),fs[_0x372088(0x213)](this[_0x372088(0x1db)]),_0x3c673c;}static[a76_0x535b51(0x1ce)](_0x34b2dd){const _0x1a1a24=a76_0x535b51;if(!this['isEnabled']())return;this[_0x1a1a24(0x1f2)][_0x1a1a24(0x203)]({'message':_0x34b2dd[_0x1a1a24(0x1bb)],'trace':_0x34b2dd[_0x1a1a24(0x1e5)],'code':_0x34b2dd[_0x1a1a24(0x1eb)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x2b7faf=a76_0x535b51,_0xecf366={};_0xecf366[_0x2b7faf(0x1d5)]=_0x2b7faf(0x1c5);const _0x5cbc98=_0xecf366;try{if(!this[_0x2b7faf(0x1c6)]())return;this['_observer']['disconnect'](),this[_0x2b7faf(0x1d1)](),this[_0x2b7faf(0x1f5)]();}catch{logger[_0x2b7faf(0x1a1)](_0x5cbc98['oUFah']);}}static[a76_0x535b51(0x1ae)](){const _0x39c031=a76_0x535b51,_0x3b0129=this[_0x39c031(0x1b0)](),_0x4cdf7c=this['finalizeErrors']();if(!this[_0x39c031(0x1c6)]()){const _0x56efba={};return _0x56efba['measures']=[],_0x56efba[_0x39c031(0x19b)]=[],_0x56efba;}const _0x3b827a={};return _0x3b827a[_0x39c031(0x1ea)]=_0x3b0129,_0x3b827a[_0x39c031(0x19b)]=_0x4cdf7c,_0x3b827a;}}function a76_0x5324(_0x5e69b6,_0x51c618){const _0x59520a=a76_0x5952();return a76_0x5324=function(_0x532452,_0x1c7f18){_0x532452=_0x532452-0x199;let _0x52f389=_0x59520a[_0x532452];return _0x52f389;},a76_0x5324(_0x5e69b6,_0x51c618);}module[a76_0x535b51(0x214)]=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77_0x5c4d5c=a77_0x5090;(function(_0x5e8d04,_0x2c6204){const _0x2e1933=a77_0x5090,_0xf4e223=_0x5e8d04();while(!![]){try{const _0x56f3a1=-parseInt(_0x2e1933(0x92))/0x1+-parseInt(_0x2e1933(0x8a))/0x2+parseInt(_0x2e1933(0x73))/0x3+-parseInt(_0x2e1933(0x70))/0x4*(parseInt(_0x2e1933(0x82))/0x5)+-parseInt(_0x2e1933(0x7b))/0x6*(-parseInt(_0x2e1933(0x88))/0x7)+-parseInt(_0x2e1933(0x8f))/0x8*(-parseInt(_0x2e1933(0x7a))/0x9)+parseInt(_0x2e1933(0x85))/0xa;if(_0x56f3a1===_0x2c6204)break;else _0xf4e223['push'](_0xf4e223['shift']());}catch(_0x2e0e37){_0xf4e223['push'](_0xf4e223['shift']());}}}(a77_0xbd86,0x94dac));function a77_0xbd86(){const _0x55a815=['GIZwp','XuRSu','exports','removeListener','status_code','592760vlKmwH','tpvbT','monkeypatch','5311430knZthV','gqgHh','once','175721YiibwV','yuZRq','2235432ABXPOW','http','spy','method','headers','924424upRhkX','path','request','235289KdYKwg','PyrsG','JMEJE','fHuZo','end','vSDLm','12BsIpXB','now','socket','3584148jxIjfw','dsufX','LjsdK','unpatch','hostname','https','host','9xxEzJz','114lIOYvt','error'];a77_0xbd86=function(){return _0x55a815;};return a77_0xbd86();}const http=require(a77_0x5c4d5c(0x8b)),https=require(a77_0x5c4d5c(0x78)),monkeypatch=require(a77_0x5c4d5c(0x84));function spy(_0x387c6c){const _0x3a7952=a77_0x5c4d5c,_0x1abfd4={'XuRSu':function(_0x241f3c,_0x37884e,_0x2792e9){return _0x241f3c(_0x37884e,_0x2792e9);},'LjsdK':function(_0x3ef4cf,_0x2eb935){return _0x3ef4cf-_0x2eb935;},'fHuZo':function(_0x577c11,_0x4d933d,_0x15ee9c){return _0x577c11(_0x4d933d,_0x15ee9c);},'vSDLm':_0x3a7952(0x7c),'JMEJE':function(_0xb2e860,..._0xbde0c){return _0xb2e860(..._0xbde0c);},'PyrsG':'response','tpvbT':_0x3a7952(0x72),'gqgHh':function(_0x50f569,_0x5dd139,_0x5ed212,_0x573d1b){return _0x50f569(_0x5dd139,_0x5ed212,_0x573d1b);},'GIZwp':_0x3a7952(0x6e),'dsufX':function(_0x574cf4,_0x23bf12,_0x1d88a7,_0x947b89){return _0x574cf4(_0x23bf12,_0x1d88a7,_0x947b89);},'yuZRq':_0x3a7952(0x91)},_0x4f0201=(_0x2fbf16,_0x10221a,_0x51e75b)=>{const _0x2208ac=_0x3a7952,_0x29c792={'wPXrX':function(_0x2c461c,..._0x2150ac){const _0x4e065f=a77_0x5090;return _0x1abfd4[_0x4e065f(0x94)](_0x2c461c,..._0x2150ac);}},_0x21997b=_0x1abfd4[_0x2208ac(0x7e)](_0x2fbf16,_0x10221a,_0x51e75b);let _0x12e5d3=Date[_0x2208ac(0x71)](),_0x54284a;const _0x29e243=_0x22d4e5=>{const _0x22152c=_0x2208ac,_0x3e23a5={};_0x3e23a5[_0x22152c(0x79)]=_0x10221a[_0x22152c(0x79)]||_0x10221a[_0x22152c(0x77)],_0x3e23a5[_0x22152c(0x90)]=_0x10221a[_0x22152c(0x90)],_0x3e23a5[_0x22152c(0x8d)]=_0x10221a['method'],_0x3e23a5['headers']=_0x10221a[_0x22152c(0x8e)],_0x1abfd4[_0x22152c(0x7e)](_0x387c6c,_0x22d4e5,_0x3e23a5);};return _0x21997b['once'](_0x1abfd4[_0x2208ac(0x93)],_0x272951=>{const _0x5e0a0f=_0x2208ac,_0x53201a=_0x1abfd4[_0x5e0a0f(0x75)](Date['now'](),_0x12e5d3),_0x395f47={};_0x395f47['hostname']=_0x10221a['host']||_0x10221a[_0x5e0a0f(0x77)],_0x395f47['path']=_0x10221a[_0x5e0a0f(0x90)],_0x395f47[_0x5e0a0f(0x8d)]=_0x10221a['method'],_0x395f47[_0x5e0a0f(0x8e)]=_0x10221a[_0x5e0a0f(0x8e)],_0x395f47[_0x5e0a0f(0x81)]=_0x272951['statusCode'],_0x395f47['duration_ms']=_0x53201a,_0x1abfd4[_0x5e0a0f(0x6d)](_0x387c6c,null,_0x395f47),_0x54284a[_0x5e0a0f(0x80)](_0x1abfd4[_0x5e0a0f(0x6f)],_0x29e243);}),_0x21997b['on'](_0x1abfd4[_0x2208ac(0x83)],_0x2b2839=>{const _0x320101=_0x2208ac;_0x54284a=_0x2b2839,_0x2b2839[_0x320101(0x87)](_0x1abfd4['vSDLm'],_0x29e243);}),_0x1abfd4[_0x2208ac(0x86)](monkeypatch,_0x21997b,_0x1abfd4[_0x2208ac(0x7d)],(_0x462063,..._0x37774d)=>{const _0x25c937=_0x2208ac;_0x12e5d3=Date[_0x25c937(0x71)](),_0x29c792['wPXrX'](_0x462063,..._0x37774d);}),_0x21997b;};_0x1abfd4[_0x3a7952(0x74)](monkeypatch,http,_0x1abfd4[_0x3a7952(0x89)],_0x4f0201),_0x1abfd4[_0x3a7952(0x74)](monkeypatch,https,_0x1abfd4[_0x3a7952(0x89)],_0x4f0201);}function a77_0x5090(_0x29e160,_0x126f71){const _0xbd8620=a77_0xbd86();return a77_0x5090=function(_0x509082,_0x21e9ae){_0x509082=_0x509082-0x6d;let _0xdf452a=_0xbd8620[_0x509082];return _0xdf452a;},a77_0x5090(_0x29e160,_0x126f71);}function restore(){const _0x4b5191=a77_0x5c4d5c;http[_0x4b5191(0x91)][_0x4b5191(0x76)](),https['request'][_0x4b5191(0x76)]();}const a77_0x1b76bd={};a77_0x1b76bd[a77_0x5c4d5c(0x8c)]=spy,a77_0x1b76bd['restore']=restore,module[a77_0x5c4d5c(0x7f)]=a77_0x1b76bd;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a78_0x2314(_0x4b26cd,_0x24f676){const _0xba916f=a78_0xba91();return a78_0x2314=function(_0x23144f,_0x2e3b06){_0x23144f=_0x23144f-0x187;let _0xdea19e=_0xba916f[_0x23144f];return _0xdea19e;},a78_0x2314(_0x4b26cd,_0x24f676);}const a78_0x2b3ac4=a78_0x2314;(function(_0x59714b,_0x55128e){const _0x343d86=a78_0x2314,_0x2d348c=_0x59714b();while(!![]){try{const _0x43e0d0=parseInt(_0x343d86(0x18f))/0x1+-parseInt(_0x343d86(0x194))/0x2*(parseInt(_0x343d86(0x189))/0x3)+parseInt(_0x343d86(0x18d))/0x4+-parseInt(_0x343d86(0x199))/0x5+-parseInt(_0x343d86(0x188))/0x6*(parseInt(_0x343d86(0x19d))/0x7)+parseInt(_0x343d86(0x197))/0x8*(parseInt(_0x343d86(0x190))/0x9)+-parseInt(_0x343d86(0x18e))/0xa;if(_0x43e0d0===_0x55128e)break;else _0x2d348c['push'](_0x2d348c['shift']());}catch(_0x564a27){_0x2d348c['push'](_0x2d348c['shift']());}}}(a78_0xba91,0x2cc08),module[a78_0x2b3ac4(0x1a3)]=function(){const _0x470beb=a78_0x2b3ac4,_0xcf5ba1={'dNMoP':function(_0x265c8d,_0x5e39d7){return _0x265c8d===_0x5e39d7;},'AVhPi':_0x470beb(0x19b),'TBuxf':'agent','EhzGj':function(_0x8ccbab,_0x727a9c,_0x318612){return _0x8ccbab(_0x727a9c,_0x318612);},'rUpjc':function(_0x43b251,_0x4ee565,_0x19134d){return _0x43b251(_0x4ee565,_0x19134d);},'nZeKu':function(_0x52a774,_0x47475f){return _0x52a774(_0x47475f);},'wnkMN':_0x470beb(0x191),'pXEUh':function(_0x3fbf8e,_0x4a67d7){return _0x3fbf8e(_0x4a67d7);},'prfgG':_0x470beb(0x19c),'fDVEV':function(_0x1115f3,_0x74ac13){return _0x1115f3*_0x74ac13;},'qSfyh':'keepAlive'},_0x51538b=_0xcf5ba1['nZeKu'](require,_0xcf5ba1[_0x470beb(0x198)]),_0x4a334f=_0xcf5ba1['pXEUh'](require,_0xcf5ba1['prfgG']),_0x2c2365=_0xcf5ba1[_0x470beb(0x1a0)](0x1e,0x3e8);if(_0x51538b['globalAgent']&&Object[_0x470beb(0x195)]['hasOwnProperty']['call'](_0x51538b[_0x470beb(0x1a2)],_0xcf5ba1[_0x470beb(0x192)]))_0x51538b[_0x470beb(0x1a2)]['keepAlive']=!![],_0x4a334f['globalAgent'][_0x470beb(0x19e)]=!![],_0x51538b[_0x470beb(0x1a2)][_0x470beb(0x1a1)]=_0x2c2365,_0x4a334f[_0x470beb(0x1a2)]['keepAliveMsecs']=_0x2c2365;else{const _0x4b927a={};_0x4b927a[_0x470beb(0x19e)]=!![],_0x4b927a[_0x470beb(0x1a1)]=_0x2c2365;const _0x43b44e=new _0x51538b[(_0x470beb(0x193))](_0x4b927a),_0x439315={};_0x439315[_0x470beb(0x19e)]=!![],_0x439315[_0x470beb(0x1a1)]=_0x2c2365;const _0xa57caa=new _0x4a334f[(_0x470beb(0x193))](_0x439315),_0x2a9766=_0x51538b['request'],_0x2018c7=_0x4a334f[_0x470beb(0x187)];_0x51538b['request']=function(_0x203cbb,_0x48d3ea){const _0x12f519=_0x470beb;if(_0xcf5ba1[_0x12f519(0x196)](_0x203cbb[_0x12f519(0x19a)],_0xcf5ba1[_0x12f519(0x18c)]))return _0x203cbb[_0xcf5ba1[_0x12f519(0x19f)]]=_0xa57caa,_0xcf5ba1[_0x12f519(0x18a)](_0x2018c7,_0x203cbb,_0x48d3ea);return _0x203cbb[_0xcf5ba1[_0x12f519(0x19f)]]=_0x43b44e,_0xcf5ba1[_0x12f519(0x18b)](_0x2a9766,_0x203cbb,_0x48d3ea);};}});function a78_0xba91(){const _0x2e949d=['74RqQHmz','prototype','dNMoP','659752YpMtzL','wnkMN','123315VOiyDo','protocol','https:','https','42lifWrW','keepAlive','TBuxf','fDVEV','keepAliveMsecs','globalAgent','exports','request','152238NtoEWo','14484dFfAwI','EhzGj','rUpjc','AVhPi','730608mdiNOd','1311890UBehaR','322440jkkzOj','18kieSpC','http','qSfyh','Agent'];a78_0xba91=function(){return _0x2e949d;};return a78_0xba91();}
|