browserstack-node-sdk 1.32.4 → 1.32.6
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 +58 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a59_0x139a31=a59_0x3dc9;(function(_0x1d2408,_0x11786d){const _0x1e8c44=a59_0x3dc9,_0x58415f=_0x1d2408();while(!![]){try{const _0x3a577f=-parseInt(_0x1e8c44(0x1cd))/0x1*(parseInt(_0x1e8c44(0x1c6))/0x2)+-parseInt(_0x1e8c44(0x1bb))/0x3+parseInt(_0x1e8c44(0x1cc))/0x4+-parseInt(_0x1e8c44(0x1c7))/0x5+-parseInt(_0x1e8c44(0x1be))/0x6*(-parseInt(_0x1e8c44(0x1cf))/0x7)+parseInt(_0x1e8c44(0x1ba))/0x8+-parseInt(_0x1e8c44(0x1ce))/0x9;if(_0x3a577f===_0x11786d)break;else _0x58415f['push'](_0x58415f['shift']());}catch(_0x82b3ec){_0x58415f['push'](_0x58415f['shift']());}}}(a59_0x4276,0x64286));const winston=require(a59_0x139a31(0x1ca)),os=require('os'),fs=require('fs'),path=require('path'),logDir=a59_0x139a31(0x1b8);!fs[a59_0x139a31(0x1d3)](logDir)&&fs['mkdirSync'](logDir);const a59_0x56b1d3={};a59_0x56b1d3[a59_0x139a31(0x1d4)]=a59_0x139a31(0x1d7);const transports={'loggerConsole':new winston[(a59_0x139a31(0x1d5))][(a59_0x139a31(0x1c8))](a59_0x56b1d3),'loggerFile':new winston[(a59_0x139a31(0x1d5))][(a59_0x139a31(0x1b9))]({'filename':path[a59_0x139a31(0x1c3)](logDir,a59_0x139a31(0x1b7))}),'debugLoggerFile':new winston[(a59_0x139a31(0x1d5))][(a59_0x139a31(0x1b9))]({'filename':path['join'](os[a59_0x139a31(0x1d1)](),a59_0x139a31(0x1c0)),'level':a59_0x139a31(0x1b6)})},a59_0x420f81={};a59_0x420f81['format']=a59_0x139a31(0x1d2);function a59_0x4276(){const _0x5683d0=['console.info','debug','/usage.log','log','File','3461088GkFIpE','124392BifkKN','\x20-\x20','printf','38424VbNPMy','level','/usage-debug.log','fileLogger','combine','join','createLogger','format','44610SPjReK','2272740QekeHA','Console','winstonLogger','winston','colorize','1850384gBKWdU','6XqzTCz','3480084geEoxO','581pHXuvF','message','tmpdir','YYYY-MM-DD\x20HH:mm:ss','existsSync','name','transports','timestamp'];a59_0x4276=function(){return _0x5683d0;};return a59_0x4276();}const a59_0x5d9672={};a59_0x5d9672[a59_0x139a31(0x1bf)]=!![];function a59_0x3dc9(_0x373990,_0x3483fe){const _0x427672=a59_0x4276();return a59_0x3dc9=function(_0x3dc9e7,_0x3ec45a){_0x3dc9e7=_0x3dc9e7-0x1b6;let _0x18c17a=_0x427672[_0x3dc9e7];return _0x18c17a;},a59_0x3dc9(_0x373990,_0x3483fe);}const winstonLoggerParams={'format':winston[a59_0x139a31(0x1c5)][a59_0x139a31(0x1c2)](winston[a59_0x139a31(0x1c5)][a59_0x139a31(0x1d6)](a59_0x420f81),winston[a59_0x139a31(0x1c5)][a59_0x139a31(0x1cb)](a59_0x5d9672),winston['format'][a59_0x139a31(0x1bd)](_0x10acc9=>_0x10acc9['timestamp']+a59_0x139a31(0x1bc)+_0x10acc9[a59_0x139a31(0x1bf)]+':\x20'+_0x10acc9[a59_0x139a31(0x1d0)])),'transports':[transports['loggerConsole'],transports['loggerFile'],transports['debugLoggerFile']]},a59_0x59d252={};a59_0x59d252[a59_0x139a31(0x1d5)]=[transports['loggerFile']];const winstonFileLoggerParams=a59_0x59d252;exports[a59_0x139a31(0x1c9)]=new winston['createLogger'](winstonLoggerParams),exports[a59_0x139a31(0x1c1)]=new winston[(a59_0x139a31(0x1c4))](winstonFileLoggerParams),exports['logDir']=logDir,exports[a59_0x139a31(0x1d5)]=transports;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a60_0x339d(){var _0x48eaa7=['iahKi','BS_TESTOPS_ALLOW_SCREENSHOTS','quitCount_','3PLWSXK','initQuit','patchScreenshot','ftVUa','695VbuXfj','patchQuit','initScreenshot','overrideTakeScreenshot','tgYEr','4312560NVXwwt','2776941IRsSyD','joSFR','174oqzgje','overrideQuit','takeScreenshot','LoBmx','1400904YFjzut','18175uvveXx','TEST_SCREENSHOT','toISOString','bs:addLog:','env','cKLhy','quit','XQRtz','yImJT','22910390dMWiPi','jTenr','QCzzL','eqBGS','1712NxcWvj','emit','TAWDZ','1053004HtLIUq','then','true','pid','split','2|1|5|3|4|0'];a60_0x339d=function(){return _0x48eaa7;};return a60_0x339d();}function a60_0xd770(_0x2261b1,_0x57093b){var _0x339d68=a60_0x339d();return a60_0xd770=function(_0xd770b2,_0x450f6f){_0xd770b2=_0xd770b2-0x1ea;var _0x25393b=_0x339d68[_0xd770b2];return _0x25393b;},a60_0xd770(_0x2261b1,_0x57093b);}var a60_0x13a27d=a60_0xd770;(function(_0xaf1a6e,_0x51b8b4){var _0x17b47a=a60_0xd770,_0x1251d0=_0xaf1a6e();while(!![]){try{var _0x35c8de=-parseInt(_0x17b47a(0x1fe))/0x1*(parseInt(_0x17b47a(0x1ee))/0x2)+-parseInt(_0x17b47a(0x1fa))/0x3*(parseInt(_0x17b47a(0x1f1))/0x4)+-parseInt(_0x17b47a(0x20b))/0x5*(-parseInt(_0x17b47a(0x206))/0x6)+-parseInt(_0x17b47a(0x203))/0x7+-parseInt(_0x17b47a(0x20a))/0x8+-parseInt(_0x17b47a(0x204))/0x9+parseInt(_0x17b47a(0x1ea))/0xa;if(_0x35c8de===_0x51b8b4)break;else _0x1251d0['push'](_0x1251d0['shift']());}catch(_0x221ac1){_0x1251d0['push'](_0x1251d0['shift']());}}}(a60_0x339d,0x6b10d),exports[a60_0x13a27d(0x201)]=_0x598b1c=>{var _0x48ac1e=a60_0x13a27d,_0x584b84={'ftVUa':_0x48ac1e(0x1f6),'jTenr':function(_0x1e3742,_0x24ef89){return _0x1e3742!==_0x24ef89;},'oDBxK':_0x48ac1e(0x1f3),'QCzzL':_0x48ac1e(0x20c),'LoBmx':function(_0x3b62f6,_0x20c0ea){return _0x3b62f6(_0x20c0ea);}},_0x388bd9=_0x584b84[_0x48ac1e(0x1fd)][_0x48ac1e(0x1f5)]('|'),_0x34b7fd=0x0;while(!![]){switch(_0x388bd9[_0x34b7fd++]){case'0':_0x598b1c['takeScreenshot']=()=>{var _0x14ec67=_0x48ac1e,_0x4be18c={'XQRtz':_0x559dfb[_0x14ec67(0x213)],'iahKi':function(_0xafcb9a,_0x181f11){return _0x559dfb['BhJxa'](_0xafcb9a,_0x181f11);}};return new Promise(function(_0x490979,_0x50db19){var _0x28eb7b=_0x14ec67;_0x598b1c[_0x28eb7b(0x200)]()[_0x28eb7b(0x1f2)](_0x398285=>{var _0x27a9b4=_0x28eb7b;process[_0x27a9b4(0x1ef)](_0x27a9b4(0x20e)+process[_0x27a9b4(0x1f4)],{'timestamp':new Date()[_0x27a9b4(0x20d)](),'message':_0x398285,'kind':_0x4be18c[_0x27a9b4(0x212)]}),_0x4be18c[_0x27a9b4(0x1f7)](_0x490979,_0x398285);});});};continue;case'1':if(_0x584b84[_0x48ac1e(0x1eb)](process[_0x48ac1e(0x20f)][_0x48ac1e(0x1f8)],_0x584b84['oDBxK']))return;continue;case'2':var _0x559dfb={'yImJT':_0x584b84[_0x48ac1e(0x1ec)],'BhJxa':function(_0x5d8e8f,_0x35ae56){var _0x5b07a8=_0x48ac1e;return _0x584b84[_0x5b07a8(0x209)](_0x5d8e8f,_0x35ae56);}};continue;case'3':_0x598b1c[_0x48ac1e(0x1fc)]=!![];continue;case'4':_0x598b1c[_0x48ac1e(0x200)]=_0x598b1c[_0x48ac1e(0x208)];continue;case'5':if(_0x598b1c[_0x48ac1e(0x1fc)])return;continue;}break;}},exports[a60_0x13a27d(0x207)]=(_0x4bb667,_0x31227c=null)=>{var _0x2c68a0=a60_0x13a27d,_0x1cc768={'TAWDZ':'1|3|4|0|2','eqBGS':function(_0x2b411a){return _0x2b411a();},'tgYEr':function(_0x502fb1,_0x4a8007){return _0x502fb1>_0x4a8007;}},_0x3783cb=_0x1cc768[_0x2c68a0(0x1f0)][_0x2c68a0(0x1f5)]('|'),_0x48dc93=0x0;while(!![]){switch(_0x3783cb[_0x48dc93++]){case'0':_0x4bb667[_0x2c68a0(0x1fb)]=_0x4bb667['quit'];continue;case'1':var _0x546b5f={'TuPhr':function(_0x1a675c){var _0x63d7b2=_0x2c68a0;return _0x1cc768[_0x63d7b2(0x1ed)](_0x1a675c);},'joSFR':function(_0xa8d182,_0x5f573d){return _0x1cc768['tgYEr'](_0xa8d182,_0x5f573d);},'cKLhy':function(_0x13cd0e,_0x20f85a){var _0x3c3268=_0x2c68a0;return _0x1cc768[_0x3c3268(0x202)](_0x13cd0e,_0x20f85a);}};continue;case'2':_0x4bb667[_0x2c68a0(0x211)]=()=>{var _0x4157d7=_0x2c68a0;if(_0x31227c){_0x31227c[_0x4157d7(0x1f9)]+=0x1;if(_0x546b5f[_0x4157d7(0x205)](_0x31227c[_0x4157d7(0x1f9)],0x1))return _0x4bb667['initQuit']();}else{_0x4bb667[_0x4157d7(0x1f9)]+=0x1;if(_0x546b5f[_0x4157d7(0x210)](_0x4bb667[_0x4157d7(0x1f9)],0x1))return _0x4bb667[_0x4157d7(0x1fb)]();}return new Promise(function(_0x243681){_0x546b5f['TuPhr'](_0x243681);});};continue;case'3':if(_0x4bb667[_0x2c68a0(0x1ff)])return;continue;case'4':_0x4bb667[_0x2c68a0(0x1ff)]=!![];continue;}break;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a61_0x17b0(){const _0x3be753=['WRDdB','wenAb','cDRUq','isRunning','stderr','flags','fetchPercyToken','NuGaJ','WfAQK','rYxIW','qDpzQ','oOiRj','42PjvpkF','child_process','percy.json','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','vlPWS','mdZdY','Ehcte','push','PERCY_SERVER_ADDRESS','DzfPF','nfxYF','RHIos','exec','cbowZ','ollVC','./PercyBinary','token','xuCaM','Error\x20creating\x20percy\x20config:\x20','KlpqJ','Percy\x20healthcheck\x20successful','nodeRequest','UiRZI','Percy\x20config\x20created\x20at\x20','JqIMs','app:exec','projectName','khoDf','XjNDS','HqZaK','HfzUc','exports','version','LwDnm','error','sbbPv','lhoRr','gPDvc','pLDkx','4152SsZHIw','LQNzy','MKUck','70774SeKcNW','start','1906zZUkUg','healthcheck','1428070SGgcpm','qrBjq','GuzQf','assign','createPercyConfig','uvouT','tmpdir','lALsW','pipe','27vRrHbX','data','path','IzLwi','NgJqX','rbzXP','aZUjf','cpXcK','JCTlz','MomoJ','AGBhU','nPWZF','DqGgv','NBygg','FuKZZ','NzrVo','xEJdl','1213944FTdrat','vSkys','getBinaryPath','join','eihrF','uRtAM','Percy\x20fetch\x20token\x20success','ffIMF','http://localhost:5338','debug','divoU','stdout','exec:stop','xNIJu','2078692XpJHsl','GJHlz','app','cHQOu','NhQhG','sUCMz','stringify','kDwFW','createWriteStream','pevgL','automate','GET',':start','OffdO','MVmEi','bGDIp','LYjCJ','tIUXb','Sfhth','nNmNF','406cpZhsp','writeFile','eYpbs','close','winstonLogger','isProcessRunning','api/app_percy/get_project_token?name=','366285tnRZEp','kJesi','QHdEe','vppkT','stop','percy.log','percy/healthcheck','714xXXpmH','BCjYq','&type=','env','Zuobh','YJOem','../logger','2220RESquu','fpoxV','XcwVJ','kXjNC','FHPmL','gAkCI'];a61_0x17b0=function(){return _0x3be753;};return a61_0x17b0();}function a61_0x28fb(_0x172b41,_0x398cf5){const _0x17b076=a61_0x17b0();return a61_0x28fb=function(_0x28fbe4,_0x1761cb){_0x28fbe4=_0x28fbe4-0x193;let _0x3588ce=_0x17b076[_0x28fbe4];return _0x3588ce;},a61_0x28fb(_0x172b41,_0x398cf5);}const a61_0x12aa1e=a61_0x28fb;(function(_0x58387c,_0x5c11c6){const _0x58e120=a61_0x28fb,_0x263571=_0x58387c();while(!![]){try{const _0x40c6f1=-parseInt(_0x58e120(0x205))/0x1*(parseInt(_0x58e120(0x1b2))/0x2)+parseInt(_0x58e120(0x1c0))/0x3*(-parseInt(_0x58e120(0x200))/0x4)+parseInt(_0x58e120(0x1b9))/0x5*(parseInt(_0x58e120(0x1d9))/0x6)+-parseInt(_0x58e120(0x19e))/0x7+-parseInt(_0x58e120(0x221))/0x8*(parseInt(_0x58e120(0x210))/0x9)+parseInt(_0x58e120(0x207))/0xa+-parseInt(_0x58e120(0x203))/0xb*(-parseInt(_0x58e120(0x1c7))/0xc);if(_0x40c6f1===_0x5c11c6)break;else _0x263571['push'](_0x263571['shift']());}catch(_0x413e0b){_0x263571['push'](_0x263571['shift']());}}}(a61_0x17b0,0x703e5));const fs=require('fs'),path=require(a61_0x12aa1e(0x212)),os=require('os'),{spawn}=require(a61_0x12aa1e(0x1da)),helper=require('../helper'),logger=require(a61_0x12aa1e(0x1c6))[a61_0x12aa1e(0x1b6)],{logDir}=require('../logger'),PercyBinary=require(a61_0x12aa1e(0x1e8));class Percy{#logfile=path[a61_0x12aa1e(0x193)](logDir,a61_0x12aa1e(0x1be));#address=process['env'][a61_0x12aa1e(0x1e1)]||a61_0x12aa1e(0x198);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a61_0x12aa1e(0x1b7)]=![];constructor(_0x525b5f){const _0x2d3f4b=a61_0x12aa1e,_0x42679c={};_0x42679c[_0x2d3f4b(0x1b1)]=function(_0x3d8656,_0x5c9a7c){return _0x3d8656!==_0x5c9a7c;},_0x42679c['VUYHD']=_0x2d3f4b(0x1a2),_0x42679c[_0x2d3f4b(0x21f)]=_0x2d3f4b(0x1ae);const _0x39dd9a=_0x42679c;this.#config=_0x525b5f;if(!!_0x525b5f[_0x2d3f4b(0x1a0)]){if(_0x39dd9a[_0x2d3f4b(0x1b1)](_0x39dd9a['VUYHD'],_0x39dd9a[_0x2d3f4b(0x21f)]))this.#isApp=!![];else return new _0x2a9c9e(_0x26a6bf=>_0x279618(_0x26a6bf,_0xf325c));}}async #getBinaryPath(){const _0x2812d8=a61_0x12aa1e,_0xa1a49d={'sbbPv':function(_0x5f5dcd,_0x432bb4){return _0x5f5dcd(_0x432bb4);},'rYxIW':function(_0x2c780a,_0x5aa0ea,_0x371e4e){return _0x2c780a(_0x5aa0ea,_0x371e4e);},'IzLwi':'exec:stop','JrpIr':_0x2812d8(0x1b5),'JCTlz':function(_0x2d314e,_0x16971d){return _0x2d314e!==_0x16971d;},'HfzUc':_0x2812d8(0x1f6)};if(!this.#binaryPath){if(_0xa1a49d[_0x2812d8(0x218)](_0xa1a49d[_0x2812d8(0x1f7)],_0xa1a49d[_0x2812d8(0x1f7)])){const _0x363802={'vlPWS':function(_0x57edf1,_0x3280ab){const _0x552163=_0x2812d8;return _0xa1a49d[_0x552163(0x1fc)](_0x57edf1,_0x3280ab);}},_0x104b06=_0xa1a49d[_0x2812d8(0x1d6)](_0x38affe,_0x4f2498,[_0xa1a49d[_0x2812d8(0x213)]]);_0x104b06['on'](_0xa1a49d['JrpIr'],_0x309ef7=>{const _0x44b648=_0x2812d8;this['isProcessRunning']=![],_0x363802[_0x44b648(0x1dd)](_0x1eba62,_0x309ef7);});}else{const _0x6af064=new PercyBinary();this.#binaryPath=await _0x6af064[_0x2812d8(0x223)](this.#config);}}return this.#binaryPath;}async #sleep(_0x11aa8f){return new Promise(_0x12f635=>setTimeout(_0x12f635,_0x11aa8f));}async[a61_0x12aa1e(0x206)](){const _0xb307bf=a61_0x12aa1e,_0x4da8bc={};_0x4da8bc[_0xb307bf(0x21d)]=function(_0x2c17d3,_0x1bd03f){return _0x2c17d3===_0x1bd03f;},_0x4da8bc[_0xb307bf(0x201)]='gfZqi',_0x4da8bc[_0xb307bf(0x1ec)]=_0xb307bf(0x1cf),_0x4da8bc['Zuobh']='GET',_0x4da8bc['uvouT']=_0xb307bf(0x1bf),_0x4da8bc['kXRbB']=function(_0x3f5033,_0x551b0d){return _0x3f5033===_0x551b0d;},_0x4da8bc['gAkCI']=_0xb307bf(0x1b4),_0x4da8bc[_0xb307bf(0x1ad)]=_0xb307bf(0x1c9),_0x4da8bc[_0xb307bf(0x1ba)]=function(_0xbb763,_0x58442e){return _0xbb763===_0x58442e;},_0x4da8bc[_0xb307bf(0x1ac)]=_0xb307bf(0x1fa),_0x4da8bc['cHQOu']=_0xb307bf(0x1ab);const _0x2a2d21=_0x4da8bc;try{if(_0x2a2d21[_0xb307bf(0x21d)](_0x2a2d21[_0xb307bf(0x201)],_0x2a2d21['KlpqJ']))return![];else{const _0x8bc25f=await helper[_0xb307bf(0x1ee)](_0x2a2d21[_0xb307bf(0x1c4)],_0x2a2d21[_0xb307bf(0x20c)],null,null,this.#address);if(_0x8bc25f){if(_0x2a2d21['kXRbB'](_0x2a2d21[_0xb307bf(0x1cc)],_0x2a2d21['bGDIp']))_0x344eb4[_0xb307bf(0x1f9)]='2';else return!![];}}}catch(_0x31a069){return _0x2a2d21[_0xb307bf(0x1ba)](_0x2a2d21[_0xb307bf(0x1ac)],_0x2a2d21[_0xb307bf(0x1a1)])?this[_0xb307bf(0x1b7)]:![];}}async[a61_0x12aa1e(0x204)](){const _0x25b2b4=a61_0x12aa1e,_0x2496ff={'BCjYq':function(_0x1cba88,_0x4f4af4){return _0x1cba88===_0x4f4af4;},'RHIos':_0x25b2b4(0x216),'UoGEQ':function(_0x3dea96,_0x220e24){return _0x3dea96(_0x220e24);},'lALsW':function(_0x5a9387,_0x3d6acd){return _0x5a9387+_0x3d6acd;},'xEJdl':_0x25b2b4(0x1f0),'ffIMF':function(_0x546f84,_0x3b568b){return _0x546f84(_0x3b568b);},'cpXcK':function(_0x187934,_0x120aa0){return _0x187934!==_0x120aa0;},'GuzQf':_0x25b2b4(0x21b),'khoDf':_0x25b2b4(0x1ef),'ArRev':_0x25b2b4(0x1f2),'Sfhth':_0x25b2b4(0x1e5),'kXjNC':function(_0xc675b8,_0x269a10){return _0xc675b8!==_0x269a10;},'gPDvc':_0x25b2b4(0x208),'WfAQK':function(_0x50875d,_0x3164a8,_0x175fcb,_0x5c7682){return _0x50875d(_0x3164a8,_0x175fcb,_0x5c7682);},'cHmtR':_0x25b2b4(0x1b5),'rbzXP':_0x25b2b4(0x1f5),'eihrF':'nZzvx','YNRsj':'tMrAy','qDpzQ':_0x25b2b4(0x1ed)},_0x1986ad=await this.#getBinaryPath(),_0x500807={};_0x500807[_0x25b2b4(0x1d2)]='a';const _0x4fe5f8=fs[_0x25b2b4(0x1a6)](this.#logfile,_0x500807),_0x961c14=await this[_0x25b2b4(0x1d3)](),_0x383d13=await this[_0x25b2b4(0x20b)]();if(!_0x961c14){if(_0x2496ff[_0x25b2b4(0x217)](_0x2496ff[_0x25b2b4(0x209)],_0x2496ff[_0x25b2b4(0x1f4)]))return![];else _0x3c79fe[_0x25b2b4(0x1e0)]('-c',_0x21a128);}const _0x45463f=[(this.#isApp?_0x2496ff['ArRev']:_0x2496ff[_0x25b2b4(0x1b0)])+_0x25b2b4(0x1aa)];if(_0x383d13){if(_0x2496ff[_0x25b2b4(0x1ca)](_0x2496ff[_0x25b2b4(0x1fe)],_0x2496ff[_0x25b2b4(0x1fe)]))return null;else _0x45463f[_0x25b2b4(0x1e0)]('-c',_0x383d13);}const _0xe6bd70={};_0xe6bd70['PERCY_TOKEN']=_0x961c14,this.#proc=_0x2496ff[_0x25b2b4(0x1d5)](spawn,_0x1986ad,_0x45463f,{'env':Object[_0x25b2b4(0x20a)](process[_0x25b2b4(0x1c3)],_0xe6bd70)}),this.#proc[_0x25b2b4(0x19b)]['pipe'](_0x4fe5f8),this.#proc[_0x25b2b4(0x1d1)][_0x25b2b4(0x20f)](_0x4fe5f8),this[_0x25b2b4(0x1b7)]=!![];var _0x3adbbb=this;this.#proc['on'](_0x2496ff['cHmtR'],function(_0x50edb3){const _0x42fea0=_0x25b2b4;if(_0x2496ff[_0x42fea0(0x1c1)](_0x2496ff[_0x42fea0(0x1e4)],_0x2496ff[_0x42fea0(0x1e4)]))_0x3adbbb[_0x42fea0(0x1b7)]=![];else return![];});do{if(_0x2496ff[_0x25b2b4(0x1c1)](_0x2496ff[_0x25b2b4(0x215)],_0x2496ff[_0x25b2b4(0x215)])){const _0x4bab45=await this['healthcheck']();if(_0x4bab45){if(_0x2496ff['BCjYq'](_0x2496ff[_0x25b2b4(0x194)],_0x2496ff['YNRsj']))_0x180fb8[_0x25b2b4(0x1b7)]=![];else return logger[_0x25b2b4(0x199)](_0x2496ff[_0x25b2b4(0x1d7)]),!![];}await this.#sleep(0x3e8);}else _0x271424&&(_0x35888a['error'](_0x25b2b4(0x1eb)+_0x2ab812),_0x2496ff['UoGEQ'](_0x16f34c,null)),_0x3383ff[_0x25b2b4(0x199)](_0x2496ff[_0x25b2b4(0x20e)](_0x2496ff[_0x25b2b4(0x220)],_0x490a41)),_0x2496ff[_0x25b2b4(0x197)](_0x340cd2,_0x5a1a61);}while(this[_0x25b2b4(0x1b7)]);return![];}async[a61_0x12aa1e(0x1bd)](){const _0x3f2e0f=a61_0x12aa1e,_0x138363={'QHdEe':function(_0x159d41,_0x411261){return _0x159d41===_0x411261;},'NgJqX':_0x3f2e0f(0x1cd),'vSkys':function(_0x52ce74,_0x129f7d){return _0x52ce74(_0x129f7d);},'xNIJu':function(_0x3475bd,_0x37ab31){return _0x3475bd!==_0x37ab31;},'lhoRr':'eODeb','ETTSo':'tvscR','xuCaM':function(_0x4df114,_0x10f244,_0xce863a){return _0x4df114(_0x10f244,_0xce863a);},'sUCMz':_0x3f2e0f(0x19c),'uyUtg':_0x3f2e0f(0x1b5)},_0x261df6=await this.#getBinaryPath();return new Promise((_0x29da1a,_0x2dc89b)=>{const _0x3a89df=_0x3f2e0f,_0x2c16e0={'DzfPF':function(_0x3d7d82,_0xacbd58){const _0x3812db=a61_0x28fb;return _0x138363[_0x3812db(0x222)](_0x3d7d82,_0xacbd58);}};if(_0x138363[_0x3a89df(0x19d)](_0x138363[_0x3a89df(0x1fd)],_0x138363['ETTSo'])){const _0x153968=_0x138363[_0x3a89df(0x1ea)](spawn,_0x261df6,[_0x138363[_0x3a89df(0x1a3)]]);_0x153968['on'](_0x138363['uyUtg'],_0x525d85=>{const _0x59b4fc=_0x3a89df;_0x138363[_0x59b4fc(0x1bb)](_0x138363[_0x59b4fc(0x214)],_0x138363[_0x59b4fc(0x214)])?(this['isProcessRunning']=![],_0x138363[_0x59b4fc(0x222)](_0x29da1a,_0x525d85)):(_0x3146cd[_0x59b4fc(0x1fb)](_0x59b4fc(0x1eb)+_0x3bddfa),_0x2c16e0[_0x59b4fc(0x1e2)](_0x51c509,null));});}else this[_0x3a89df(0x1b7)]=![],_0x138363[_0x3a89df(0x222)](_0x2c2bc5,_0x3a6f9a);});}[a61_0x12aa1e(0x1d0)](){const _0x28f82c=a61_0x12aa1e;return this[_0x28f82c(0x1b7)];}async['fetchPercyToken'](){const _0xbf2a19=a61_0x12aa1e,_0x1de136={};_0x1de136[_0xbf2a19(0x1ff)]=_0xbf2a19(0x1ed),_0x1de136[_0xbf2a19(0x1df)]=function(_0x501306,_0x571e62){return _0x501306!==_0x571e62;},_0x1de136[_0xbf2a19(0x21e)]=_0xbf2a19(0x1d4),_0x1de136[_0xbf2a19(0x1f1)]='hQGcW',_0x1de136[_0xbf2a19(0x21a)]=_0xbf2a19(0x1a0),_0x1de136[_0xbf2a19(0x1d8)]=_0xbf2a19(0x1a8),_0x1de136[_0xbf2a19(0x21c)]=_0xbf2a19(0x1a9),_0x1de136[_0xbf2a19(0x1c8)]=_0xbf2a19(0x196),_0x1de136[_0xbf2a19(0x1e6)]=_0xbf2a19(0x1de);const _0x27e9d3=_0x1de136,_0x59145f=this.#config[_0xbf2a19(0x1f3)];try{if(_0x27e9d3[_0xbf2a19(0x1df)](_0x27e9d3[_0xbf2a19(0x21e)],_0x27e9d3[_0xbf2a19(0x1f1)])){const _0x16d441=this.#isApp?_0x27e9d3[_0xbf2a19(0x21a)]:_0x27e9d3[_0xbf2a19(0x1d8)],_0x1195da=await helper[_0xbf2a19(0x1ee)](_0x27e9d3[_0xbf2a19(0x21c)],_0xbf2a19(0x1b8)+_0x59145f+_0xbf2a19(0x1c2)+_0x16d441,{},this.#config),_0x2dbb70=_0x1195da[_0xbf2a19(0x211)];return logger[_0xbf2a19(0x199)](_0x27e9d3[_0xbf2a19(0x1c8)]),_0x2dbb70[_0xbf2a19(0x1e9)];}else return _0x3069c5[_0xbf2a19(0x1fb)](_0xbf2a19(0x1dc)+_0x41dfe4),null;}catch(_0x4bc635){return _0x27e9d3[_0xbf2a19(0x1df)](_0x27e9d3['cbowZ'],_0x27e9d3['cbowZ'])?(_0x45dcdc[_0xbf2a19(0x199)](_0x27e9d3[_0xbf2a19(0x1ff)]),!![]):(logger[_0xbf2a19(0x1fb)](_0xbf2a19(0x1dc)+_0x4bc635),null);}}async[a61_0x12aa1e(0x20b)](){const _0x4653e9=a61_0x12aa1e,_0x1f52e4={'MKUck':function(_0x428f5b,_0x1afc4e){return _0x428f5b(_0x1afc4e);},'divoU':function(_0x16f224,_0x1db633){return _0x16f224+_0x1db633;},'YJOem':_0x4653e9(0x1f0),'FHPmL':function(_0xbbbbc1,_0x52f992){return _0xbbbbc1(_0x52f992);},'ztzBD':function(_0x1272a7,_0x111aaa){return _0x1272a7(_0x111aaa);},'GJHlz':function(_0x3d92a4,_0x23f87e){return _0x3d92a4!==_0x23f87e;},'wenAb':_0x4653e9(0x195),'nfxYF':_0x4653e9(0x1db),'QoTri':function(_0x2cfe2b,_0x2230fb){return _0x2cfe2b===_0x2230fb;},'ollVC':'qlpXd','OTPhE':_0x4653e9(0x1a5)};if(!this.#config['percyOptions']){if(_0x1f52e4[_0x4653e9(0x19f)](_0x1f52e4[_0x4653e9(0x1ce)],_0x1f52e4[_0x4653e9(0x1ce)])){const _0x2ffca2={'MomoJ':function(_0x48f9c1,_0x3bddf1){const _0x4dd28a=_0x4653e9;return _0x1f52e4[_0x4dd28a(0x202)](_0x48f9c1,_0x3bddf1);},'vppkT':function(_0x448d2d,_0x5518e9){const _0x1e0a2e=_0x4653e9;return _0x1f52e4[_0x1e0a2e(0x19a)](_0x448d2d,_0x5518e9);},'pevgL':_0x1f52e4[_0x4653e9(0x1c5)],'tIUXb':function(_0x56dc55,_0x595c47){const _0x460a7a=_0x4653e9;return _0x1f52e4[_0x460a7a(0x1cb)](_0x56dc55,_0x595c47);}};_0x3762ba[_0x4653e9(0x1b3)](_0x177f82,_0x385832[_0x4653e9(0x1a4)](_0x456a0e),_0xba8e42=>{const _0xb23208=_0x4653e9;_0xba8e42&&(_0x5b98dd[_0xb23208(0x1fb)](_0xb23208(0x1eb)+_0xba8e42),_0x2ffca2[_0xb23208(0x219)](_0x1dc4a1,null)),_0x5656a3['debug'](_0x2ffca2[_0xb23208(0x1bc)](_0x2ffca2[_0xb23208(0x1a7)],_0x460d4f)),_0x2ffca2[_0xb23208(0x1af)](_0x37db2a,_0xc2e20a);});}else return null;}const _0x4a9ff2=path['join'](os[_0x4653e9(0x20d)](),_0x1f52e4[_0x4653e9(0x1e3)]),_0x59857=this.#config['percyOptions'];if(!_0x59857[_0x4653e9(0x1f9)]){if(_0x1f52e4['QoTri'](_0x1f52e4[_0x4653e9(0x1e7)],_0x1f52e4['OTPhE']))return!![];else _0x59857[_0x4653e9(0x1f9)]='2';}return new Promise((_0x9a5b33,_0x8427f0)=>{const _0x79d350=_0x4653e9;fs[_0x79d350(0x1b3)](_0x4a9ff2,JSON['stringify'](_0x59857),_0x5bd75e=>{const _0x33f00e=_0x79d350;_0x5bd75e&&(logger[_0x33f00e(0x1fb)](_0x33f00e(0x1eb)+_0x5bd75e),_0x1f52e4['MKUck'](_0x9a5b33,null)),logger[_0x33f00e(0x199)](_0x1f52e4[_0x33f00e(0x19a)](_0x1f52e4[_0x33f00e(0x1c5)],_0x4a9ff2)),_0x1f52e4['ztzBD'](_0x9a5b33,_0x4a9ff2);});});}}module[a61_0x12aa1e(0x1f8)]=Percy;
|
|
1
|
+
const a61_0x204bd5=a61_0x235d;(function(_0x29606c,_0x4f7032){const _0x5824c7=a61_0x235d,_0x22204e=_0x29606c();while(!![]){try{const _0x3c9c4b=parseInt(_0x5824c7(0x19b))/0x1*(parseInt(_0x5824c7(0x17d))/0x2)+parseInt(_0x5824c7(0x16e))/0x3+-parseInt(_0x5824c7(0x185))/0x4*(-parseInt(_0x5824c7(0x178))/0x5)+-parseInt(_0x5824c7(0x1a4))/0x6+parseInt(_0x5824c7(0x1aa))/0x7+parseInt(_0x5824c7(0x172))/0x8+-parseInt(_0x5824c7(0x173))/0x9*(parseInt(_0x5824c7(0x18d))/0xa);if(_0x3c9c4b===_0x4f7032)break;else _0x22204e['push'](_0x22204e['shift']());}catch(_0x50cd5f){_0x22204e['push'](_0x22204e['shift']());}}}(a61_0x1434,0xb71d7));const fs=require('fs'),path=require(a61_0x204bd5(0x196)),os=require('os'),{spawn}=require(a61_0x204bd5(0x1a6)),helper=require(a61_0x204bd5(0x180)),logger=require('../logger')[a61_0x204bd5(0x174)],{logDir}=require(a61_0x204bd5(0x1a0)),PercyBinary=require(a61_0x204bd5(0x168));class Percy{#logfile=path[a61_0x204bd5(0x191)](logDir,a61_0x204bd5(0x198));#address=process[a61_0x204bd5(0x1a7)][a61_0x204bd5(0x18a)]||a61_0x204bd5(0x181);#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x40e59c){const _0x164dbc=a61_0x204bd5;this.#config=_0x40e59c,!!_0x40e59c[_0x164dbc(0x193)]&&(this.#isApp=!![]);}async #getBinaryPath(){if(!this.#binaryPath){const _0x1e2b4c=new PercyBinary();this.#binaryPath=await _0x1e2b4c['getBinaryPath'](this.#config);}return this.#binaryPath;}async #sleep(_0x3aa3bc){return new Promise(_0x2c2a7e=>setTimeout(_0x2c2a7e,_0x3aa3bc));}async[a61_0x204bd5(0x175)](){const _0x20f22f=a61_0x204bd5,_0x4373e1={};_0x4373e1['WlcJJ']='GET',_0x4373e1[_0x20f22f(0x1a5)]='percy/healthcheck';const _0x38475d=_0x4373e1;try{const _0x56c5f9=await helper['nodeRequest'](_0x38475d[_0x20f22f(0x18e)],_0x38475d[_0x20f22f(0x1a5)],null,null,this.#address);if(_0x56c5f9)return!![];}catch(_0x2cc5a5){return![];}}async[a61_0x204bd5(0x19e)](){const _0x2c604b=a61_0x204bd5,_0x54a0c9={'IiKyQ':'app:exec','NPntP':_0x2c604b(0x17c),'YLBGE':function(_0x513c7a,_0x49de29,_0x29fa9c,_0x4efc4a){return _0x513c7a(_0x49de29,_0x29fa9c,_0x4efc4a);},'CQBuO':_0x2c604b(0x1ab),'Bctnm':_0x2c604b(0x177)},_0x1a9c98=await this.#getBinaryPath(),_0x1c0911={};_0x1c0911[_0x2c604b(0x197)]='a';const _0x58b913=fs[_0x2c604b(0x189)](this.#logfile,_0x1c0911),_0x2305f5=await this[_0x2c604b(0x17b)](),_0x48eb96=await this[_0x2c604b(0x161)]();if(!_0x2305f5)return![];const _0x5df482=[(this.#isApp?_0x54a0c9[_0x2c604b(0x1a9)]:_0x54a0c9[_0x2c604b(0x1a2)])+_0x2c604b(0x182)];_0x48eb96&&_0x5df482[_0x2c604b(0x1a1)]('-c',_0x48eb96);const _0x1f3321={};_0x1f3321[_0x2c604b(0x17a)]=_0x2305f5,this.#proc=_0x54a0c9[_0x2c604b(0x199)](spawn,_0x1a9c98,_0x5df482,{'env':Object[_0x2c604b(0x18c)](process['env'],_0x1f3321)}),this.#proc['stdout'][_0x2c604b(0x170)](_0x58b913),this.#proc[_0x2c604b(0x16a)]['pipe'](_0x58b913),this[_0x2c604b(0x17f)]=!![];var _0x259d95=this;this.#proc['on'](_0x54a0c9[_0x2c604b(0x19f)],function(_0x1af6eb){const _0x3789d6=_0x2c604b;_0x259d95[_0x3789d6(0x17f)]=![];});do{const _0x9f7664=await this[_0x2c604b(0x175)]();if(_0x9f7664)return logger['debug'](_0x54a0c9[_0x2c604b(0x16b)]),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a61_0x204bd5(0x19d)](){const _0x1fe2d5=a61_0x204bd5,_0x434d08={'hxDHM':function(_0x30ea55,_0x16bb33){return _0x30ea55(_0x16bb33);},'zEGOS':function(_0x5170f1,_0x5e3009,_0x564e7d){return _0x5170f1(_0x5e3009,_0x564e7d);},'jpgDu':_0x1fe2d5(0x16f),'IsOHr':_0x1fe2d5(0x1ab)},_0x11f7fd=await this.#getBinaryPath();return new Promise((_0x543fe3,_0x4a6d5c)=>{const _0xb91fe2=_0x1fe2d5,_0x34fa1d={'GjrSO':function(_0x1f04d6,_0x1e1412){return _0x434d08['hxDHM'](_0x1f04d6,_0x1e1412);}},_0x193ea6=_0x434d08['zEGOS'](spawn,_0x11f7fd,[_0x434d08[_0xb91fe2(0x195)]]);_0x193ea6['on'](_0x434d08[_0xb91fe2(0x179)],_0xa9603b=>{const _0x3fff3a=_0xb91fe2;this[_0x3fff3a(0x17f)]=![],_0x34fa1d[_0x3fff3a(0x192)](_0x543fe3,_0xa9603b);});});}['isRunning'](){return this['isProcessRunning'];}async[a61_0x204bd5(0x17b)](){const _0x4c35d6=a61_0x204bd5,_0x2bf144={};_0x2bf144[_0x4c35d6(0x1a8)]=_0x4c35d6(0x193),_0x2bf144[_0x4c35d6(0x163)]=_0x4c35d6(0x165),_0x2bf144[_0x4c35d6(0x169)]=_0x4c35d6(0x18b),_0x2bf144['rMsNO']=_0x4c35d6(0x176);const _0x385f15=_0x2bf144,_0x1331d4=this.#config[_0x4c35d6(0x16d)];try{const _0x3af776=this.#isApp?_0x385f15[_0x4c35d6(0x1a8)]:_0x385f15[_0x4c35d6(0x163)],_0x5dbf2e=await helper['nodeRequest'](_0x385f15[_0x4c35d6(0x169)],_0x4c35d6(0x19a)+_0x1331d4+_0x4c35d6(0x19c)+_0x3af776,{},this.#config),_0x5347e0=_0x5dbf2e['data'];return logger[_0x4c35d6(0x184)](_0x385f15[_0x4c35d6(0x171)]),_0x5347e0[_0x4c35d6(0x164)];}catch(_0x29bb9e){return logger[_0x4c35d6(0x166)](_0x4c35d6(0x187)+_0x29bb9e),null;}}async[a61_0x204bd5(0x161)](){const _0x485427=a61_0x204bd5,_0x29688d={'Oeftv':function(_0x1e92cd,_0x3dcb32){return _0x1e92cd(_0x3dcb32);},'ZSnbO':function(_0x4255a2,_0x35523c){return _0x4255a2+_0x35523c;},'VbChq':_0x485427(0x1ac),'sHnCW':_0x485427(0x183)};if(!this.#config['percyOptions'])return null;const _0x55d4b2=path['join'](os[_0x485427(0x167)](),_0x29688d[_0x485427(0x18f)]),_0x547e54=this.#config['percyOptions'];return!_0x547e54[_0x485427(0x17e)]&&(_0x547e54['version']='2'),new Promise((_0x1108ca,_0x580ded)=>{const _0x327b51=_0x485427,_0x79247c={'XYURn':function(_0x1de365,_0x773406){const _0x5e2714=a61_0x235d;return _0x29688d[_0x5e2714(0x162)](_0x1de365,_0x773406);},'GFEXM':function(_0xf307de,_0x21596e){const _0x21b102=a61_0x235d;return _0x29688d[_0x21b102(0x16c)](_0xf307de,_0x21596e);},'UnjLL':_0x29688d[_0x327b51(0x190)]};fs['writeFile'](_0x55d4b2,JSON[_0x327b51(0x188)](_0x547e54),_0x2eef93=>{const _0x3e2184=_0x327b51;_0x2eef93&&(logger[_0x3e2184(0x166)](_0x3e2184(0x186)+_0x2eef93),_0x79247c[_0x3e2184(0x194)](_0x1108ca,null)),logger[_0x3e2184(0x184)](_0x79247c[_0x3e2184(0x160)](_0x79247c['UnjLL'],_0x55d4b2)),_0x79247c[_0x3e2184(0x194)](_0x1108ca,_0x55d4b2);});});}}module[a61_0x204bd5(0x1a3)]=Percy;function a61_0x235d(_0x440d6c,_0x4b98e8){const _0x1434ac=a61_0x1434();return a61_0x235d=function(_0x235dbc,_0x557854){_0x235dbc=_0x235dbc-0x160;let _0x531c45=_0x1434ac[_0x235dbc];return _0x531c45;},a61_0x235d(_0x440d6c,_0x4b98e8);}function a61_0x1434(){const _0x2b6b8c=['start','CQBuO','../logger','push','NPntP','exports','5805660CYyKHP','wcsNC','child_process','env','JbzEb','IiKyQ','10411772fugpkl','close','Percy\x20config\x20created\x20at\x20','GFEXM','createPercyConfig','Oeftv','LYvxl','token','automate','error','tmpdir','./PercyBinary','xLsLt','stderr','Bctnm','ZSnbO','projectName','2738298catHyZ','exec:stop','pipe','rMsNO','1815840fPJLwF','9MHDRXC','winstonLogger','healthcheck','Percy\x20fetch\x20token\x20success','Percy\x20healthcheck\x20successful','895UZdmsy','IsOHr','PERCY_TOKEN','fetchPercyToken','exec','158cZLsao','version','isProcessRunning','../helper','http://localhost:5338',':start','percy.json','debug','324JAaWLT','Error\x20creating\x20percy\x20config:\x20','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','stringify','createWriteStream','PERCY_SERVER_ADDRESS','GET','assign','15111990evIcey','WlcJJ','sHnCW','VbChq','join','GjrSO','app','XYURn','jpgDu','path','flags','percy.log','YLBGE','api/app_percy/get_project_token?name=','7433vgyBPk','&type=','stop'];a61_0x1434=function(){return _0x2b6b8c;};return a61_0x1434();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a62_0x1cbfa5=a62_0x4134;function a62_0x4ede(){const _0xfe0dee=['frCgx','kkSPZ','proxyHost','agent','gWhFy','sIPls','proxyPort','cetpG','QBDlN','RQTOU','ThKnZ','StVbK','ZtQgF','parse','--version','undefined','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','EpGJI','RcBxt','anNTz','pipe','qMDCI','OwWUa','80awKLit','UNUbw','TmAfm','FTiGN','OxEEo','yvfCT','mdqWl','fjkbK','66gRUJtG','zxinp','dowse','jTIGl','ifXZo','EHGOo','PZwCd','OjkhB','shfeq','sNJzx','fYAHt','error','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','SkVkl','tYcfJ','kWvFr','urpYB','nXuzZ','child_process','data','BoWOv','/Users/','linux','7mixSHg','GtLYh','test','R_OK','FPrXX','fuvPO','VQyGa','StTgq','nQkTQ','aHUnm','/root','qZETK','sbuqd','jSbRt','SpChD','RTxqz','lazyEntries','qRhYX','getuid','https://github.com/percy/cli/releases/latest/download','nLbyL','bjHRH','QHqCv','pTqml','LOGNAME','mkdirSync','ZlkCJ','dhUsC','UPkPp','eYLdH','join','match','sMyGk','xNfWq','Imuqx','Nwwhw','follow-redirects','nIObB','percy','hjzZI','321762YrYVxh','ybcTs','PfXFw','ndWIK','JHKkK','cNwNl','USERPROFILE','HOMEDRIVE','ciNga','get','/percy-win.zip','0755','lXzwS','WZAOT','VWdzM','YgqHX','port','Error\x20trying\x20to\x20download\x20percy\x20binary','exports','accessSync','uUAiq','XAYTl','qutZl','.zip','Abgpc','vYVkm','JlLDJ','VIRMa','IaqIU','sQxLg','Syekz','RBUcx','yJYSK','host','geYXt','sSUxc','nnsEA','AnsWA','HEQbJ','GWsoC','kNifT','qufDh','Fvjgt','GYzRh','CAqgH','VlpNW','ZVqvl','LNAME','qgyum','useCaCertificate','Vkrfc','fxRYj','uclGM','sXRDv','tgaJD','W_OK','ZGVZp','HTKer','iyDJT','KUSqM','homedir','dkvnu','USERNAME','UjFrr','Lvtpw','hCIwI','RqALc','HZfdO','aihTT','FoEUO','X_OK','FjgmT','BgZKv','jzzXP','BFsIn','openReadStream','fgnrC','KMGpl','vqYIO','path','5554HtmyAS','readFileSync','UKAVu','gbkFI','ZouJA','CSQyR','UMgoN','cwd','end','jgEPO','IOoIR','percy.exe','vccHw','stdout','url','fileName','lhOtZ','/home/','DUesD','jBGtA','GeEtS','oqqgW','HOMEPATH','UDttI','6942232UEwIER','PEfVC','yaoMw','OndyG','win32','ZimiZ','7327060tOlFEj','readEntry','leteZ','ljdpT','FhGYw','NgObi','validateBinary','oEfrN','ImsnA','TiiyW','tSdJG','ONnXA','TfoqT','ybJsK','HbUiw','145915MWkNCz','PsUIL','GEngx','hLspf','yLPRu','LRNJQ','QHIQQ','tQYKK','bFfws','YZwOi','KHGna','cxWYx','wZZXT','platform','NydYB','ovsnP','gdEbf','TUblN','winstonLogger','9CiZvqq','EXSmX','KOixL','ZPhCg','function','oFyjB','../logger','HOME','statSync','mCErL','Sxjvt','PgDZF','bxERN','/percy-osx.zip','yWjFW','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','ldwIJ','eWMuH','TTHZv','UUnNd','NKyOq','vRbYv','chmod','qkDzo','Odxfk','NHIFR','VONWY','PfhBQ','WKrvV','IANbY','wDywR','ZZhzZ','FzesH','apzIK','RrLbu','DGGKR','close','hgOkJ','QOzao','getBinaryPath','CTIUP','20259668WQInhz','download','KDXqN','liVOj','ZMFdD','mdVtw','VRXNd','uMxQT','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','HqBNH','186912UiUJcR','PDZJY','bHAUi','AIsaa','IUSAg','eBAGs','https-proxy-agent','UulZC','IfDiC','cFgUL','gvusN','jyECU','Btobp','CMqyx','FRHcD','AIxyH','cGDGQ','DnAPw','jzpGx','zRMXv','fepHW','eXZwI','PhKqX','UqihB','HgarQ','createWriteStream'];a62_0x4ede=function(){return _0xfe0dee;};return a62_0x4ede();}(function(_0x2e4331,_0x537aad){const _0x197381=a62_0x4134,_0x4f4578=_0x2e4331();while(!![]){try{const _0x563699=parseInt(_0x197381(0x1e1))/0x1*(-parseInt(_0x197381(0x278))/0x2)+parseInt(_0x197381(0x1e9))/0x3*(-parseInt(_0x197381(0x1b0))/0x4)+parseInt(_0x197381(0x2a5))/0x5+parseInt(_0x197381(0x228))/0x6*(parseInt(_0x197381(0x200))/0x7)+parseInt(_0x197381(0x290))/0x8*(parseInt(_0x197381(0x2b8))/0x9)+-parseInt(_0x197381(0x296))/0xa+parseInt(_0x197381(0x1a6))/0xb;if(_0x563699===_0x537aad)break;else _0x4f4578['push'](_0x4f4578['shift']());}catch(_0x3a656e){_0x4f4578['push'](_0x4f4578['shift']());}}}(a62_0x4ede,0xc5a17));function a62_0x4134(_0x21a38c,_0x46efb8){const _0x4ede81=a62_0x4ede();return a62_0x4134=function(_0x41343c,_0x283a94){_0x41343c=_0x41343c-0x190;let _0x314eb9=_0x4ede81[_0x41343c];return _0x314eb9;},a62_0x4134(_0x21a38c,_0x46efb8);}const {https}=require(a62_0x1cbfa5(0x224)),url=require(a62_0x1cbfa5(0x286)),yauzl=require('yauzl'),fs=require('fs'),path=require(a62_0x1cbfa5(0x277)),os=require('os'),{spawn}=require(a62_0x1cbfa5(0x1fb)),HttpsProxyAgent=require(a62_0x1cbfa5(0x1b6)),logger=require(a62_0x1cbfa5(0x2be))[a62_0x1cbfa5(0x2b7)];class PercyBinary{#hostOS=process[a62_0x1cbfa5(0x2b2)];#httpPath=null;#binaryName=a62_0x1cbfa5(0x226);#orderedPaths=[path[a62_0x1cbfa5(0x21e)](this.#homedir(),'.browserstack'),process[a62_0x1cbfa5(0x27f)](),os['tmpdir']()];constructor(){const _0x3e301e=a62_0x1cbfa5,_0x26b9c3={'HTKer':function(_0x2ee26c,_0x17c7e7){return _0x2ee26c(_0x17c7e7);},'PEfVC':_0x3e301e(0x1f5),'VONWY':function(_0x1bfcd5,_0x477cc9){return _0x1bfcd5!==_0x477cc9;},'qZETK':_0x3e301e(0x1d9),'nnsEA':_0x3e301e(0x213),'eXZwI':function(_0x8620a0,_0x40e66c){return _0x8620a0===_0x40e66c;},'QCtTV':_0x3e301e(0x20e),'ImsnA':function(_0x36ac9d,_0xdde3df){return _0x36ac9d+_0xdde3df;},'aihTT':_0x3e301e(0x2c5),'ebfqW':function(_0x5bda51,_0xb5b54e){return _0x5bda51!==_0xb5b54e;},'PhKqX':_0x3e301e(0x22b),'HbUiw':function(_0x442322,_0x34e7a3){return _0x442322+_0x34e7a3;},'WvPaQ':_0x3e301e(0x232),'RqALc':_0x3e301e(0x283),'VRXNd':_0x3e301e(0x1cb),'pqQVm':_0x3e301e(0x282),'LRNJQ':'/percy-linux.zip'},_0x2e3776=_0x26b9c3[_0x3e301e(0x24c)];if(this.#hostOS[_0x3e301e(0x21f)](/darwin|mac os/i))_0x26b9c3[_0x3e301e(0x1c5)](_0x26b9c3['QCtTV'],_0x26b9c3['QCtTV'])?this.#httpPath=_0x26b9c3[_0x3e301e(0x29e)](_0x2e3776,_0x26b9c3[_0x3e301e(0x26c)]):_0x26b9c3[_0x3e301e(0x261)](_0x5ea5cc,_0x2405c8);else{if(this.#hostOS[_0x3e301e(0x21f)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i))_0x26b9c3['ebfqW'](_0x26b9c3[_0x3e301e(0x1c6)],_0x26b9c3[_0x3e301e(0x1c6)])?(_0x2de8f1['error'](_0x26b9c3[_0x3e301e(0x291)],_0x4ff32e),_0x26b9c3[_0x3e301e(0x261)](_0x35ec47,_0x31d389)):(this.#httpPath=_0x26b9c3[_0x3e301e(0x2a4)](_0x2e3776,_0x26b9c3['WvPaQ']),this.#binaryName=_0x26b9c3[_0x3e301e(0x26a)]);else{if(_0x26b9c3[_0x3e301e(0x197)](_0x26b9c3[_0x3e301e(0x1ac)],_0x26b9c3['pqQVm']))this.#httpPath=_0x26b9c3[_0x3e301e(0x2a4)](_0x2e3776,_0x26b9c3[_0x3e301e(0x2aa)]);else{if(_0x26b9c3[_0x3e301e(0x197)](typeof _0x4ec51a[_0x3e301e(0x23b)],_0x26b9c3[_0x3e301e(0x20b)]))return![];try{return _0x44d5f1['statSync'](_0x12506d),!![];}catch(_0x191cf4){return![];}}}}}#getAvailableDirs(){const _0x248f16=a62_0x1cbfa5,_0x50bc3f={'ifXZo':_0x248f16(0x1ae),'injwn':function(_0x9ddad3,_0x3dbae8){return _0x9ddad3(_0x3dbae8);},'hCIwI':_0x248f16(0x2c7),'sucXt':function(_0x43943b,_0x26c504){return _0x43943b<_0x26c504;},'crITQ':function(_0x5090af,_0x16d058){return _0x5090af!==_0x16d058;},'RBUcx':'yGQQw','SCWhl':_0x248f16(0x1e3),'bOzia':function(_0x6c4a7f,_0x184536){return _0x6c4a7f===_0x184536;},'KOixL':'fwhTU','JHKkK':_0x248f16(0x216),'nQkTQ':_0x248f16(0x239)};for(var _0x19a924=0x0;_0x50bc3f['sucXt'](_0x19a924,this.#orderedPaths['length']);_0x19a924++){if(_0x50bc3f['crITQ'](_0x50bc3f[_0x248f16(0x247)],_0x50bc3f['SCWhl'])){var _0x499cbd=this.#orderedPaths[_0x19a924];if(this.#makePath(_0x499cbd)){if(_0x50bc3f['bOzia'](_0x50bc3f[_0x248f16(0x2ba)],_0x50bc3f[_0x248f16(0x22c)]))_0x39560a[_0x248f16(0x1f4)](_0x50bc3f[_0x248f16(0x1ed)],_0x4ddf0c),_0x50bc3f['injwn'](_0x3daa85,_0x5a4951);else return _0x499cbd;}}else try{_0x3e04f3['ca']=_0x47b57a[_0x248f16(0x279)](_0xd32df6[_0x248f16(0x259)]);}catch(_0x4bf2b4){_0x105449[_0x248f16(0x1f4)](_0x50bc3f[_0x248f16(0x269)],_0x4bf2b4);}}throw new Error(_0x50bc3f[_0x248f16(0x208)]);}#makePath(_0x23d7b8){const _0x187bae=a62_0x1cbfa5,_0x5f536e={'yWjFW':'Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','Vkrfc':function(_0x383e73,_0x4a97c5){return _0x383e73(_0x4a97c5);},'cMAsM':function(_0x4c5c9e,_0x14eff5){return _0x4c5c9e!==_0x14eff5;},'UKAVu':_0x187bae(0x194),'jBGtA':_0x187bae(0x1f2),'iyDJT':function(_0x34f305,_0x1c7a1c){return _0x34f305!==_0x1c7a1c;},'vqYIO':'UgsZK','ZZhzZ':function(_0x2db59d,_0x339eb5){return _0x2db59d!==_0x339eb5;},'StTgq':_0x187bae(0x2ae),'CSQyR':'KaMIJ'};try{return _0x5f536e['cMAsM'](_0x5f536e[_0x187bae(0x27a)],_0x5f536e[_0x187bae(0x28b)])?(!this.#checkPath(_0x23d7b8)&&(_0x5f536e[_0x187bae(0x262)](_0x5f536e[_0x187bae(0x276)],_0x5f536e[_0x187bae(0x276)])?_0x2890bc['ca']=_0x4599ef[_0x187bae(0x279)](_0x294ae6['useCaCertificate']):fs[_0x187bae(0x219)](_0x23d7b8)),!![]):(_0x90071a[_0x187bae(0x2c0)](_0x1b7b7b),!![]);}catch{if(_0x5f536e[_0x187bae(0x19c)](_0x5f536e[_0x187bae(0x207)],_0x5f536e[_0x187bae(0x27d)]))return![];else _0xf83dd9[_0x187bae(0x1f4)](_0x5f536e[_0x187bae(0x2c6)],_0x34a5bf),_0x5f536e[_0x187bae(0x25a)](_0x116c5e,_0x5edb65);}}#checkPath(_0x247f53,_0x107a0e){const _0x1435dc=a62_0x1cbfa5,_0x1e7b00={'jgEPO':function(_0x4e47f8,_0x2c9cd9){return _0x4e47f8+_0x2c9cd9;},'OjkhB':function(_0x3fc08c,_0x328aa8){return _0x3fc08c(_0x328aa8);},'IaHTo':function(_0x13ee16,_0x2c4040){return _0x13ee16(_0x2c4040);},'dAFak':'0755','VQyGa':function(_0x4566e0,_0x1af94d){return _0x4566e0(_0x1af94d);},'jxSuf':function(_0x6e28f0,_0x242109){return _0x6e28f0(_0x242109);},'sMyGk':function(_0x2fbcf4,_0x4c40f1,_0x149aab){return _0x2fbcf4(_0x4c40f1,_0x149aab);},'fepHW':_0x1435dc(0x1d8),'yJYSK':_0x1435dc(0x1fc),'ybcTs':_0x1435dc(0x1a1),'Bbcqr':function(_0x439708,_0x4dee08){return _0x439708(_0x4dee08);},'JlLDJ':function(_0x28cc87,_0x58fa84){return _0x28cc87|_0x58fa84;},'mdqWl':function(_0x155a50,_0x5f56da){return _0x155a50!==_0x5f56da;},'mCErL':_0x1435dc(0x2b0),'BAmEj':function(_0x5dbf85,_0x50afe7){return _0x5dbf85===_0x50afe7;},'AIsaa':_0x1435dc(0x204),'Nwwhw':'GAseF','liVOj':function(_0x2fe7c3,_0x514d9c){return _0x2fe7c3!==_0x514d9c;},'YikjE':_0x1435dc(0x1d9),'wYvMK':function(_0x26accc,_0x7cbd8b){return _0x26accc===_0x7cbd8b;},'anNTz':_0x1435dc(0x2c4),'gVOjW':_0x1435dc(0x1a2),'yvfCT':function(_0x55ec8e,_0x138197){return _0x55ec8e!==_0x138197;},'ONnXA':_0x1435dc(0x1b8),'tgaJD':'SWPIc','WKrvV':_0x1435dc(0x284)};_0x107a0e=_0x107a0e||_0x1e7b00[_0x1435dc(0x242)](fs[_0x1435dc(0x203)],fs[_0x1435dc(0x25f)]);try{return _0x1e7b00[_0x1435dc(0x1e7)](_0x1e7b00['mCErL'],_0x1e7b00[_0x1435dc(0x2c1)])?_0x16ebb8[_0x1435dc(0x22e)]||_0x1e7b00[_0x1435dc(0x281)](_0x56d699[_0x1435dc(0x22f)],_0x33f5a3['HOMEPATH'])||_0x674ccd||null:(fs[_0x1435dc(0x23b)](_0x247f53,_0x107a0e),!![]);}catch(_0x2b816d){if(_0x1e7b00['BAmEj'](_0x1e7b00[_0x1435dc(0x1b3)],_0x1e7b00[_0x1435dc(0x223)]))_0x525a9f[_0x1435dc(0x193)](_0x28a98e,_0x1e7b00['dAFak'],function(_0x400a79){const _0x489401=_0x1435dc;_0x400a79&&_0x1e7b00[_0x489401(0x1f0)](_0x529fe3,_0x400a79),_0x1e7b00['IaHTo'](_0xaa777d,_0x51b18c);}),_0x4df629[_0x1435dc(0x1a1)]();else{if(_0x1e7b00[_0x1435dc(0x1a9)](typeof fs['accessSync'],_0x1e7b00['YikjE'])){if(_0x1e7b00['wYvMK'](_0x1e7b00[_0x1435dc(0x1dd)],_0x1e7b00['gVOjW'])){const _0xbf2e0b={'Sxjvt':function(_0x4bc34b,_0x3992ed){return _0x1e7b00['jxSuf'](_0x4bc34b,_0x3992ed);}},_0x23533d=_0x1e7b00[_0x1435dc(0x220)](_0x578cda,_0x12ae22,[_0x1e7b00[_0x1435dc(0x1c4)]]);_0x23533d['stdout']['on'](_0x1e7b00[_0x1435dc(0x248)],_0x356ad4=>{const _0x40931e=_0x1435dc;_0x363146[_0x40931e(0x202)](_0x356ad4)&&_0x1e7b00[_0x40931e(0x206)](_0x1bce7f,!![]);}),_0x23533d['on'](_0x1e7b00[_0x1435dc(0x229)],()=>{const _0x284f97=_0x1435dc;_0xbf2e0b[_0x284f97(0x2c2)](_0x2c2f34,![]);});}else return![];}try{if(_0x1e7b00[_0x1435dc(0x1e6)](_0x1e7b00[_0x1435dc(0x2a1)],_0x1e7b00[_0x1435dc(0x25e)]))return fs[_0x1435dc(0x2c0)](_0x247f53),!![];else _0x2a8c44[_0x1435dc(0x297)]();}catch(_0x139dc3){if(_0x1e7b00[_0x1435dc(0x1a9)](_0x1e7b00[_0x1435dc(0x199)],_0x1e7b00['WKrvV']))_0x1e7b00['Bbcqr'](_0x1b7807,_0x80d2ad);else return![];}}}}async[a62_0x1cbfa5(0x1a4)](_0x3abb03){const _0x4569b6=a62_0x1cbfa5,_0x279139={'ovsnP':function(_0x1c736f,_0x1f2e9f){return _0x1c736f(_0x1f2e9f);},'gTBYS':function(_0x59c851,_0x29b706){return _0x59c851(_0x29b706);},'JNTDy':function(_0x42a927,_0x314887){return _0x42a927===_0x314887;},'fyXSl':_0x4569b6(0x2a6),'Btobp':_0x4569b6(0x191),'oFyjB':function(_0x24cede,_0x35b141){return _0x24cede!==_0x35b141;},'BgZKv':'oqrSn','dkvnu':'Corrupt\x20percy\x20binary,\x20retrying'};var _0x5c8b98=this.#getAvailableDirs(),_0x17c454=path[_0x4569b6(0x21e)](_0x5c8b98,this.#binaryName);if(this.#checkPath(_0x17c454,fs[_0x4569b6(0x26e)])){if(_0x279139['JNTDy'](_0x279139['fyXSl'],_0x279139[_0x4569b6(0x1bc)])){const _0x3785fa={};_0x3785fa[_0x4569b6(0x249)]=_0x1a80ed[_0x4569b6(0x1cc)],_0x3785fa[_0x4569b6(0x238)]=_0x717832[_0x4569b6(0x1d0)],_0x3556a0[_0x4569b6(0x1cd)]=new _0x4aa570(_0x3785fa);}else return _0x17c454;}const _0x59c580=await this[_0x4569b6(0x1a7)](_0x3abb03,_0x5c8b98),_0x2734ff=await this[_0x4569b6(0x29c)](_0x59c580);if(!_0x2734ff){if(_0x279139[_0x4569b6(0x2bd)](_0x279139[_0x4569b6(0x270)],_0x279139[_0x4569b6(0x270)]))_0x49db4e&&_0x279139[_0x4569b6(0x2b4)](_0x48f01b,_0x59f702),_0x279139['gTBYS'](_0x205c1a,_0x5e5744);else return logger[_0x4569b6(0x1f4)](_0x279139[_0x4569b6(0x265)]),await this[_0x4569b6(0x1a7)](_0x3abb03,_0x5c8b98);}return _0x59c580;}async['validateBinary'](_0x4a1dc3){const _0x19c228=a62_0x1cbfa5,_0x549a2d={'UPkPp':_0x19c228(0x2c7),'BFsIn':function(_0x127a68,_0x481ebb){return _0x127a68!==_0x481ebb;},'GEngx':_0x19c228(0x254),'GAhrA':_0x19c228(0x20d),'yaoMw':function(_0x37e076,_0x2948a5){return _0x37e076===_0x2948a5;},'WZAOT':_0x19c228(0x2ac),'sSUxc':'Uefrg','FuIoa':function(_0x2fadeb,_0x22f8a3){return _0x2fadeb(_0x22f8a3);},'SkVkl':function(_0x4ce821,_0x4e086d){return _0x4ce821(_0x4e086d);},'HqBNH':_0x19c228(0x280),'Imuqx':function(_0x69d136,_0x4299ac){return _0x69d136!==_0x4299ac;},'aHUnm':_0x19c228(0x27e),'WEfYk':_0x19c228(0x250),'VWdzM':function(_0x3576af,_0x5d8614){return _0x3576af!==_0x5d8614;},'ZPhCg':_0x19c228(0x2c9),'bFfws':_0x19c228(0x1ca),'KMGpl':function(_0x3e2034,_0x5f37de,_0x1e20c8){return _0x3e2034(_0x5f37de,_0x1e20c8);},'JWccV':_0x19c228(0x1d8),'kWvFr':'data','crRuo':_0x19c228(0x1a1)},_0x3390c5=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x31ea74,_0x44a644)=>{const _0x5cf1f7=_0x19c228;if(_0x549a2d[_0x5cf1f7(0x236)](_0x549a2d[_0x5cf1f7(0x2bb)],_0x549a2d[_0x5cf1f7(0x2ad)])){const _0x1c0c80=_0x549a2d[_0x5cf1f7(0x275)](spawn,_0x4a1dc3,[_0x549a2d['JWccV']]);_0x1c0c80[_0x5cf1f7(0x285)]['on'](_0x549a2d[_0x5cf1f7(0x1f8)],_0x1c8383=>{const _0x25280e=_0x5cf1f7,_0x54ce14={};_0x54ce14['xDKue']=_0x549a2d[_0x25280e(0x21c)];const _0x49a4f4=_0x54ce14;if(_0x549a2d[_0x25280e(0x272)](_0x549a2d[_0x25280e(0x2a7)],_0x549a2d['GAhrA'])){if(_0x3390c5[_0x25280e(0x202)](_0x1c8383)){if(_0x549a2d[_0x25280e(0x292)](_0x549a2d[_0x25280e(0x235)],_0x549a2d[_0x25280e(0x24b)]))return _0x576f20[_0x25280e(0x264)]();else _0x549a2d['FuIoa'](_0x31ea74,!![]);}}else _0x3de4a1['error'](_0x49a4f4['xDKue'],_0x121d3f);}),_0x1c0c80['on'](_0x549a2d['crRuo'],()=>{const _0x433ace=_0x5cf1f7,_0xe42da3={'IANbY':function(_0x6fa872,_0x2fc110){return _0x549a2d['SkVkl'](_0x6fa872,_0x2fc110);},'sQxLg':_0x549a2d[_0x433ace(0x1af)]};_0x549a2d[_0x433ace(0x222)](_0x549a2d[_0x433ace(0x209)],_0x549a2d['WEfYk'])?_0x549a2d['FuIoa'](_0x31ea74,![]):(_0x127d93&&_0xe42da3[_0x433ace(0x19a)](_0x457d47,_0x1e9af5),_0x2d95f4['on'](_0xe42da3[_0x433ace(0x245)],function(){const _0x508985=_0x433ace;_0x385189[_0x508985(0x1a1)](),_0x703cd8[_0x508985(0x297)]();}),_0x95ad3b[_0x433ace(0x1de)](_0x381b7b));});}else _0x549a2d[_0x5cf1f7(0x1f6)](_0x47bdf5,_0x1e107b);});}[a62_0x1cbfa5(0x1a7)](_0x2f4438,_0x2ce89d){const _0x5eaa98=a62_0x1cbfa5,_0x3381da={'xNfWq':function(_0x575da3,_0x2547ff){return _0x575da3(_0x2547ff);},'RQTOU':function(_0x3c1c30,_0x494ce3){return _0x3c1c30===_0x494ce3;},'GypHg':'xqcLS','Fvjgt':_0x5eaa98(0x1ae),'ciNga':function(_0x56fcf8,_0x4913f1){return _0x56fcf8(_0x4913f1);},'BiQqz':_0x5eaa98(0x20a),'QOzao':function(_0x54c614,_0x16dd9d){return _0x54c614+_0x16dd9d;},'qufDh':'/home/','gdEbf':'LiMMz','VIRMa':_0x5eaa98(0x1f5),'wZZXT':function(_0x57b5ab,_0x834c75){return _0x57b5ab(_0x834c75);},'ybJsK':function(_0x38d913,_0x1490e4){return _0x38d913!==_0x1490e4;},'ljdpT':'AJsLY','cMPoI':_0x5eaa98(0x1ec),'ZouJA':_0x5eaa98(0x234),'fAOvW':_0x5eaa98(0x237),'oCjkJ':_0x5eaa98(0x21d),'VIqCR':_0x5eaa98(0x1d5),'GeEtS':_0x5eaa98(0x1fe),'IffEC':'KYCvX','IaqIU':_0x5eaa98(0x21a),'FjgmT':'OWFaz','jzpGx':_0x5eaa98(0x1fd),'aDlID':_0x5eaa98(0x280),'gfUWc':_0x5eaa98(0x233),'lhOtZ':'eMFYD','nuWoW':'entry','bjHRH':_0x5eaa98(0x1f4),'gWhFy':_0x5eaa98(0x1a1),'ldwIJ':_0x5eaa98(0x1da),'JmtVN':function(_0x319ae9,_0x3247cd){return _0x319ae9!==_0x3247cd;},'qutZl':'fptpk','usRwt':_0x5eaa98(0x23f),'zRMXv':function(_0x2f488c,_0x341d63){return _0x2f488c!==_0x341d63;},'geYXt':_0x5eaa98(0x1eb),'PfhBQ':_0x5eaa98(0x2af),'fxRYj':function(_0x5ee444,_0x3892ae){return _0x5ee444===_0x3892ae;},'uKKiY':'KdBVy','hLspf':_0x5eaa98(0x25c),'eBAGs':_0x5eaa98(0x241),'mdVtw':_0x5eaa98(0x214),'UulZC':function(_0x20e9d9,_0x91cb1b){return _0x20e9d9!==_0x91cb1b;},'GWsoC':'hojLb','cFgUL':_0x5eaa98(0x2c7)};!this.#checkPath(_0x2ce89d)&&(_0x3381da['JmtVN'](_0x3381da[_0x5eaa98(0x23e)],_0x3381da[_0x5eaa98(0x23e)])?_0x2881cd[_0x5eaa98(0x219)](_0x2c33bc):fs['mkdirSync'](_0x2ce89d));const _0x40d0c1=this.#binaryName,_0x1b73d7=path[_0x5eaa98(0x21e)](_0x2ce89d,_0x3381da[_0x5eaa98(0x1a3)](_0x40d0c1,_0x3381da['usRwt'])),_0x1dbd43=path[_0x5eaa98(0x21e)](_0x2ce89d,_0x40d0c1),_0x2c2c34=fs[_0x5eaa98(0x1c9)](_0x1b73d7),_0x589a4b=url[_0x5eaa98(0x1d7)](this.#httpPath);if(_0x2f4438[_0x5eaa98(0x1cc)]&&_0x2f4438[_0x5eaa98(0x1d0)]){if(_0x3381da[_0x5eaa98(0x1c3)](_0x3381da[_0x5eaa98(0x24a)],_0x3381da[_0x5eaa98(0x198)])){const _0x185270={};_0x185270[_0x5eaa98(0x249)]=_0x2f4438[_0x5eaa98(0x1cc)],_0x185270['port']=_0x2f4438[_0x5eaa98(0x1d0)],_0x589a4b[_0x5eaa98(0x1cd)]=new HttpsProxyAgent(_0x185270);}else return _0x17d7a5;}if(_0x2f4438['useCaCertificate']){if(_0x3381da[_0x5eaa98(0x25b)](_0x3381da['uKKiY'],_0x3381da[_0x5eaa98(0x2a8)]))_0x3381da[_0x5eaa98(0x221)](_0x33fb40,![]);else try{_0x3381da[_0x5eaa98(0x1d3)](_0x3381da[_0x5eaa98(0x1b5)],_0x3381da[_0x5eaa98(0x1ab)])?_0x7ad89['close']():_0x589a4b['ca']=fs['readFileSync'](_0x2f4438[_0x5eaa98(0x259)]);}catch(_0x416330){if(_0x3381da[_0x5eaa98(0x1b7)](_0x3381da[_0x5eaa98(0x24f)],_0x3381da['GWsoC']))return _0x446005[_0x5eaa98(0x23b)](_0x387251,_0x279abf),!![];else logger[_0x5eaa98(0x1f4)](_0x3381da[_0x5eaa98(0x1b9)],_0x416330);}}return new Promise((_0x51ac0b,_0x5dd930)=>{const _0x2ccdbb=_0x5eaa98,_0x4c781b={'cNwNl':function(_0x744d,_0x15c3c3){const _0x378d14=a62_0x4134;return _0x3381da[_0x378d14(0x1d3)](_0x744d,_0x15c3c3);},'UDttI':_0x3381da['GypHg'],'FhGYw':_0x3381da[_0x2ccdbb(0x252)],'DUesD':function(_0x1aeab0,_0x4fcf79){const _0x2db223=_0x2ccdbb;return _0x3381da[_0x2db223(0x230)](_0x1aeab0,_0x4fcf79);},'UUnNd':_0x3381da['BiQqz'],'uMxQT':function(_0x5ca2e8,_0x2acb50){return _0x3381da['QOzao'](_0x5ca2e8,_0x2acb50);},'HZfdO':_0x3381da[_0x2ccdbb(0x251)],'kNjQR':_0x3381da[_0x2ccdbb(0x2b5)],'UNUbw':_0x3381da[_0x2ccdbb(0x243)],'UjFrr':function(_0x74b1e8,_0x33c8b7){const _0xa5b6c3=_0x2ccdbb;return _0x3381da[_0xa5b6c3(0x2b1)](_0x74b1e8,_0x33c8b7);},'FRHcD':function(_0x163618,_0x3a3653){const _0x26e2d4=_0x2ccdbb;return _0x3381da[_0x26e2d4(0x2b1)](_0x163618,_0x3a3653);},'TTHZv':function(_0xedf5fd,_0x13a00b){const _0x49d271=_0x2ccdbb;return _0x3381da[_0x49d271(0x2a3)](_0xedf5fd,_0x13a00b);},'vRbYv':_0x3381da[_0x2ccdbb(0x299)],'TfoqT':_0x3381da['cMPoI'],'YhHyI':function(_0xcf25d3,_0x2c68cd){return _0x3381da['RQTOU'](_0xcf25d3,_0x2c68cd);},'NydYB':_0x3381da[_0x2ccdbb(0x27c)],'PgDZF':_0x3381da['fAOvW'],'OzsXa':_0x3381da['oCjkJ'],'nrmNp':_0x3381da['VIqCR'],'AIxyH':_0x3381da[_0x2ccdbb(0x28c)],'xktQx':_0x3381da['IffEC'],'PZwCd':_0x3381da[_0x2ccdbb(0x244)],'CTIUP':_0x3381da[_0x2ccdbb(0x26f)],'NHIFR':_0x3381da[_0x2ccdbb(0x1c2)],'byank':_0x3381da['aDlID'],'yLPRu':_0x3381da['gfUWc'],'zeGBM':_0x3381da[_0x2ccdbb(0x288)],'IUSAg':_0x3381da['nuWoW'],'fjkbK':_0x3381da[_0x2ccdbb(0x215)],'PfXFw':_0x3381da[_0x2ccdbb(0x1ce)],'hjzZI':_0x3381da[_0x2ccdbb(0x2c8)],'wDywR':function(_0x332732,_0x335feb){const _0x5dced7=_0x2ccdbb;return _0x3381da[_0x5dced7(0x230)](_0x332732,_0x335feb);}};https[_0x2ccdbb(0x231)](_0x589a4b,function(_0x341519){const _0x5a23da=_0x2ccdbb,_0x13a4ca={'TUblN':function(_0x5da0bb,_0x5b0946){const _0x4363e6=a62_0x4134;return _0x4c781b[_0x4363e6(0x22d)](_0x5da0bb,_0x5b0946);},'OwWUa':_0x4c781b[_0x5a23da(0x190)],'EHGOo':function(_0x1adbb8,_0x1710ed){const _0x4de77c=_0x5a23da;return _0x4c781b[_0x4de77c(0x1ad)](_0x1adbb8,_0x1710ed);},'hPHxe':_0x4c781b[_0x5a23da(0x26b)],'Lvtpw':_0x4c781b['kNjQR'],'qRhYX':_0x4c781b[_0x5a23da(0x1e2)],'OxEEo':function(_0x4ebf7c,_0x1ff411){const _0x568e01=_0x5a23da;return _0x4c781b[_0x568e01(0x267)](_0x4ebf7c,_0x1ff411);},'urpYB':function(_0x42e12e,_0x269eb7){const _0x168483=_0x5a23da;return _0x4c781b[_0x168483(0x1be)](_0x42e12e,_0x269eb7);},'jyECU':function(_0x479f95,_0x51a50e){const _0x2c0fe0=_0x5a23da;return _0x4c781b[_0x2c0fe0(0x2ca)](_0x479f95,_0x51a50e);},'cetpG':_0x4c781b[_0x5a23da(0x192)],'FgaeX':_0x4c781b[_0x5a23da(0x2a2)],'uUAiq':function(_0x36b752,_0x4019ff){return _0x4c781b['YhHyI'](_0x36b752,_0x4019ff);},'leteZ':_0x4c781b[_0x5a23da(0x2b3)],'nScco':_0x4c781b[_0x5a23da(0x2c3)],'PDZJY':_0x4c781b['OzsXa'],'GYzRh':_0x4c781b['nrmNp'],'mSdpy':function(_0x55cc17,_0xe277fa){const _0xe2fc34=_0x5a23da;return _0x4c781b[_0xe2fc34(0x1ad)](_0x55cc17,_0xe277fa);},'Abgpc':_0x4c781b[_0x5a23da(0x1bf)],'fYAHt':_0x4c781b['xktQx'],'kEqVG':_0x4c781b[_0x5a23da(0x1ef)],'pTqml':_0x4c781b[_0x5a23da(0x1a5)],'Syekz':_0x4c781b[_0x5a23da(0x196)],'CMqyx':_0x4c781b['byank'],'Odxfk':_0x4c781b[_0x5a23da(0x2a9)],'RrLbu':_0x4c781b['zeGBM'],'fuvPO':_0x4c781b[_0x5a23da(0x1b4)],'GtLYh':_0x4c781b[_0x5a23da(0x1e8)]};_0x341519[_0x5a23da(0x1de)](_0x2c2c34),_0x341519['on'](_0x4c781b[_0x5a23da(0x1e8)],function(_0x477ce5){const _0x2af3dc=_0x5a23da;if(_0x4c781b[_0x2af3dc(0x22d)](_0x4c781b['UDttI'],_0x4c781b[_0x2af3dc(0x28f)]))logger[_0x2af3dc(0x1f4)](_0x4c781b[_0x2af3dc(0x29a)],_0x477ce5),_0x4c781b[_0x2af3dc(0x28a)](_0x5dd930,_0x477ce5);else return![];}),_0x2c2c34['on'](_0x4c781b[_0x5a23da(0x1e8)],function(_0x4728b6){const _0x2a2a19=_0x5a23da,_0x4b7ea2={'wofeX':function(_0x1a5560,_0x225b1d){const _0x299b48=a62_0x4134;return _0x13a4ca[_0x299b48(0x2b6)](_0x1a5560,_0x225b1d);},'gvusN':_0x13a4ca[_0x2a2a19(0x1e0)],'KDXqN':function(_0x4dd659,_0x4e90f9){const _0x161819=_0x2a2a19;return _0x13a4ca[_0x161819(0x1ee)](_0x4dd659,_0x4e90f9);},'qdyZJ':_0x13a4ca['hPHxe']};if(_0x13a4ca[_0x2a2a19(0x2b6)](_0x13a4ca[_0x2a2a19(0x268)],_0x13a4ca[_0x2a2a19(0x268)]))logger['error'](_0x13a4ca[_0x2a2a19(0x211)],_0x4728b6),_0x13a4ca[_0x2a2a19(0x1e5)](_0x5dd930,_0x4728b6);else return _0x1c069a||(_0x4b7ea2['wofeX'](_0x413858['getuid'](),0x0)?_0x4b7ea2[_0x2a2a19(0x1ba)]:_0x4b2bc9?_0x4b7ea2[_0x2a2a19(0x1a8)](_0x4b7ea2['qdyZJ'],_0x26da04):null);}),_0x2c2c34['on'](_0x4c781b[_0x5a23da(0x22a)],function(){const _0x552d02=_0x5a23da,_0x3f1789={'apzIK':function(_0x13b70d,_0x275cc3){const _0x8faf22=a62_0x4134;return _0x13a4ca[_0x8faf22(0x1f9)](_0x13b70d,_0x275cc3);},'zxinp':function(_0x17ae53,_0x5d9899){const _0x368de7=a62_0x4134;return _0x13a4ca[_0x368de7(0x1bb)](_0x17ae53,_0x5d9899);},'UqihB':_0x13a4ca[_0x552d02(0x1d1)],'AnsWA':_0x13a4ca['FgaeX'],'EXSmX':function(_0x30e19d,_0x1e5842){const _0x5efbf5=_0x552d02;return _0x13a4ca[_0x5efbf5(0x23c)](_0x30e19d,_0x1e5842);},'sXRDv':_0x13a4ca[_0x552d02(0x298)],'fgnrC':_0x13a4ca['nScco'],'DnAPw':_0x13a4ca[_0x552d02(0x1b1)],'DGGKR':_0x13a4ca[_0x552d02(0x253)],'ZVqvl':function(_0x264669,_0x4a04a1){return _0x13a4ca['mSdpy'](_0x264669,_0x4a04a1);},'ZmHFA':_0x13a4ca[_0x552d02(0x240)],'RTxqz':_0x13a4ca[_0x552d02(0x1f3)],'oEfrN':function(_0x512cd9,_0x593e08){const _0x44cd36=_0x552d02;return _0x13a4ca[_0x44cd36(0x2b6)](_0x512cd9,_0x593e08);},'dhUsC':_0x13a4ca['kEqVG'],'sdbUK':_0x13a4ca[_0x552d02(0x217)],'VkzlL':_0x13a4ca[_0x552d02(0x246)],'bHAUi':_0x13a4ca[_0x552d02(0x1bd)],'KUSqM':function(_0x5ecb67,_0x23dfe9){const _0x38999a=_0x552d02;return _0x13a4ca[_0x38999a(0x1e5)](_0x5ecb67,_0x23dfe9);},'BIGxd':_0x13a4ca[_0x552d02(0x195)],'gFoaz':function(_0x59c426,_0xfdb463){return _0x13a4ca['jyECU'](_0x59c426,_0xfdb463);},'NgObi':_0x13a4ca[_0x552d02(0x19f)],'ZMFdD':_0x13a4ca[_0x552d02(0x205)],'TiiyW':_0x13a4ca[_0x552d02(0x201)]},_0x255b9f={};_0x255b9f[_0x552d02(0x210)]=!![],yauzl['open'](_0x1b73d7,_0x255b9f,function(_0x6f84ad,_0x551f98){const _0x27db53=_0x552d02,_0xfb3c9c={'FzesH':function(_0x2c0579,_0x575db6){const _0xa3cf12=a62_0x4134;return _0x3f1789[_0xa3cf12(0x256)](_0x2c0579,_0x575db6);},'vnuhk':_0x3f1789['ZmHFA'],'EpGJI':function(_0x126955,_0x117ff6){const _0x584eff=a62_0x4134;return _0x3f1789[_0x584eff(0x1ea)](_0x126955,_0x117ff6);},'HEQbJ':_0x3f1789[_0x27db53(0x20f)],'shfeq':function(_0x37049d,_0x593db8){const _0x215420=_0x27db53;return _0x3f1789[_0x215420(0x29d)](_0x37049d,_0x593db8);},'sIPls':_0x3f1789[_0x27db53(0x21b)],'ZimiZ':_0x3f1789['sdbUK'],'sbuqd':function(_0xf9bf06,_0x41fdbe){const _0x47b3ce=_0x27db53;return _0x3f1789[_0x47b3ce(0x1ea)](_0xf9bf06,_0x41fdbe);},'ZGVZp':_0x3f1789['VkzlL'],'QBDlN':function(_0x2972a1,_0x434760){return _0x3f1789['apzIK'](_0x2972a1,_0x434760);},'geDCO':_0x3f1789[_0x27db53(0x1b2)],'ThKnZ':function(_0x23fadf,_0x514740){const _0x3231ee=_0x27db53;return _0x3f1789[_0x3231ee(0x263)](_0x23fadf,_0x514740);},'OndyG':_0x3f1789['BIGxd']};if(_0x6f84ad){if(_0x3f1789['gFoaz'](_0x3f1789['NgObi'],_0x3f1789[_0x27db53(0x29b)]))return![];else _0x3f1789[_0x27db53(0x19e)](_0x5dd930,_0x6f84ad);}_0x551f98[_0x27db53(0x297)](),_0x551f98['on'](_0x3f1789[_0x27db53(0x1aa)],_0x3404a1=>{const _0x4e0760=_0x27db53,_0x29410a={'tYcfJ':function(_0x250014,_0x180b5c){const _0x27cc99=a62_0x4134;return _0x3f1789[_0x27cc99(0x19e)](_0x250014,_0x180b5c);}};if(_0x3f1789[_0x4e0760(0x1ea)](_0x3f1789[_0x4e0760(0x1c7)],_0x3f1789[_0x4e0760(0x24d)])){if(/\/$/[_0x4e0760(0x202)](_0x3404a1[_0x4e0760(0x287)]))_0x3f1789[_0x4e0760(0x2b9)](_0x3f1789[_0x4e0760(0x25d)],_0x3f1789['sXRDv'])?_0x551f98['readEntry']():_0x29410a[_0x4e0760(0x1f7)](_0x160f17,!![]);else{if(_0x3f1789[_0x4e0760(0x2b9)](_0x3f1789['fgnrC'],_0x3f1789[_0x4e0760(0x274)])){const _0x1df1c1=fs['createWriteStream'](path['join'](_0x2ce89d,_0x3404a1[_0x4e0760(0x287)]));_0x551f98[_0x4e0760(0x273)](_0x3404a1,function(_0x44c1c0,_0x1299f){const _0x34c1c0=_0x4e0760,_0x1063f0={'RcBxt':function(_0x490ad2,_0x470372){const _0x4c959e=a62_0x4134;return _0xfb3c9c[_0x4c959e(0x19d)](_0x490ad2,_0x470372);},'qgyum':_0xfb3c9c['vnuhk'],'nXuzZ':function(_0x5047e2,_0x121523){const _0x191f5b=a62_0x4134;return _0xfb3c9c[_0x191f5b(0x1db)](_0x5047e2,_0x121523);},'gsjEI':_0xfb3c9c[_0x34c1c0(0x24e)]};if(_0xfb3c9c[_0x34c1c0(0x1f1)](_0xfb3c9c[_0x34c1c0(0x1cf)],_0xfb3c9c[_0x34c1c0(0x295)]))_0x1ecac8[_0x34c1c0(0x1a1)](),_0x2e8f0f[_0x34c1c0(0x297)]();else{if(_0x44c1c0){if(_0xfb3c9c[_0x34c1c0(0x20c)](_0xfb3c9c[_0x34c1c0(0x260)],_0xfb3c9c[_0x34c1c0(0x260)]))return _0x2bb1d4;else _0xfb3c9c[_0x34c1c0(0x1d2)](_0x5dd930,_0x6f84ad);}_0x1299f['on'](_0xfb3c9c['geDCO'],function(){const _0xf27ae2=_0x34c1c0,_0x3a6f8e={'alrJq':function(_0x432335,_0x14e6c6){const _0x331707=a62_0x4134;return _0x1063f0[_0x331707(0x1dc)](_0x432335,_0x14e6c6);},'FoEUO':_0x1063f0[_0xf27ae2(0x258)]};if(_0x1063f0[_0xf27ae2(0x1fa)](_0x1063f0['gsjEI'],_0x1063f0['gsjEI']))return _0x554860||(_0x49c1b8?_0x3a6f8e['alrJq'](_0x3a6f8e[_0xf27ae2(0x26d)],_0x561308):null);else _0x1df1c1[_0xf27ae2(0x1a1)](),_0x551f98[_0xf27ae2(0x297)]();}),_0x1299f['pipe'](_0x1df1c1);}}),_0x3f1789[_0x4e0760(0x2b9)](_0x3404a1[_0x4e0760(0x287)],_0x40d0c1)&&(_0x3f1789[_0x4e0760(0x1ea)](_0x3f1789[_0x4e0760(0x1c1)],_0x3f1789[_0x4e0760(0x1c1)])?_0x29410a[_0x4e0760(0x1f7)](_0x542e48,_0x2c5f82):_0x551f98[_0x4e0760(0x1a1)]());}else _0x1cd55d[_0x4e0760(0x219)](_0x4e168e);}}else return![];}),_0x551f98['on'](_0x3f1789[_0x27db53(0x29f)],_0x7a212b=>{const _0x3ef3ac=_0x27db53,_0xf8f581={'gbkFI':function(_0x537b43,_0x25800c){const _0x4c9653=a62_0x4134;return _0x3f1789[_0x4c9653(0x19e)](_0x537b43,_0x25800c);}};_0x3f1789[_0x3ef3ac(0x2b9)](_0x3f1789['DGGKR'],_0x3f1789[_0x3ef3ac(0x1a0)])?_0x3f1789[_0x3ef3ac(0x19e)](_0x5dd930,_0x7a212b):_0x5df874['test'](_0x2119a4)&&_0xf8f581[_0x3ef3ac(0x27b)](_0x1814cf,!![]);}),_0x551f98['once'](_0x3f1789[_0x27db53(0x1b2)],()=>{const _0x1f148a=_0x27db53;fs[_0x1f148a(0x193)](_0x1dbd43,_0xfb3c9c[_0x1f148a(0x293)],function(_0x2dbc16){const _0x2738ac=_0x1f148a;_0x2dbc16&&_0xfb3c9c[_0x2738ac(0x1d2)](_0x5dd930,_0x2dbc16),_0xfb3c9c[_0x2738ac(0x1d4)](_0x51ac0b,_0x1dbd43);}),_0x551f98[_0x1f148a(0x1a1)]();});});});})['on'](_0x3381da[_0x2ccdbb(0x215)],function(_0x55fe37){const _0x1e28c2=_0x2ccdbb;logger['error'](_0x4c781b[_0x1e28c2(0x227)],_0x55fe37),_0x4c781b[_0x1e28c2(0x19b)](_0x5dd930,_0x55fe37);});});}#homedir(){const _0x3bb852=a62_0x1cbfa5,_0x40a358={};_0x40a358[_0x3bb852(0x23d)]=function(_0x4f2a5d,_0x213acd){return _0x4f2a5d===_0x213acd;},_0x40a358[_0x3bb852(0x1d6)]=_0x3bb852(0x2bc),_0x40a358[_0x3bb852(0x1c8)]=function(_0x56eb08,_0x50c71a){return _0x56eb08===_0x50c71a;},_0x40a358['wOvYp']=_0x3bb852(0x294),_0x40a358[_0x3bb852(0x1c0)]=function(_0x2781ad,_0x13885b){return _0x2781ad+_0x13885b;},_0x40a358['oqqgW']=function(_0x57beb9,_0x5a29d2){return _0x57beb9===_0x5a29d2;},_0x40a358[_0x3bb852(0x2ab)]='darwin',_0x40a358[_0x3bb852(0x271)]=_0x3bb852(0x1fe),_0x40a358[_0x3bb852(0x1df)]=_0x3bb852(0x1ff),_0x40a358[_0x3bb852(0x2a0)]=function(_0x528889,_0x527ea5){return _0x528889===_0x527ea5;},_0x40a358[_0x3bb852(0x255)]=_0x3bb852(0x20a),_0x40a358[_0x3bb852(0x225)]=_0x3bb852(0x289),_0x40a358[_0x3bb852(0x1e4)]=function(_0x36ce18,_0x196508){return _0x36ce18||_0x196508;};const _0x10acfa=_0x40a358;if(_0x10acfa[_0x3bb852(0x23d)](typeof os[_0x3bb852(0x264)],_0x10acfa[_0x3bb852(0x1d6)]))return os[_0x3bb852(0x264)]();const _0x39eb11=process['env'],_0x599cd0=_0x39eb11[_0x3bb852(0x2bf)],_0x32b85a=_0x39eb11[_0x3bb852(0x218)]||_0x39eb11['USER']||_0x39eb11[_0x3bb852(0x257)]||_0x39eb11[_0x3bb852(0x266)];if(_0x10acfa[_0x3bb852(0x1c8)](process['platform'],_0x10acfa['wOvYp']))return _0x39eb11[_0x3bb852(0x22e)]||_0x10acfa[_0x3bb852(0x1c0)](_0x39eb11[_0x3bb852(0x22f)],_0x39eb11[_0x3bb852(0x28e)])||_0x599cd0||null;if(_0x10acfa[_0x3bb852(0x28d)](process['platform'],_0x10acfa[_0x3bb852(0x2ab)]))return _0x599cd0||(_0x32b85a?_0x10acfa[_0x3bb852(0x1c0)](_0x10acfa[_0x3bb852(0x271)],_0x32b85a):null);if(_0x10acfa[_0x3bb852(0x23d)](process[_0x3bb852(0x2b2)],_0x10acfa['qMDCI']))return _0x599cd0||(_0x10acfa[_0x3bb852(0x2a0)](process[_0x3bb852(0x212)](),0x0)?_0x10acfa[_0x3bb852(0x255)]:_0x32b85a?_0x10acfa[_0x3bb852(0x1c0)](_0x10acfa[_0x3bb852(0x225)],_0x32b85a):null);return _0x10acfa[_0x3bb852(0x1e4)](_0x599cd0,null);}}module[a62_0x1cbfa5(0x23a)]=PercyBinary;
|
|
1
|
+
const a62_0x599e8a=a62_0x4664;(function(_0xe4ec07,_0x318a60){const _0x4a640c=a62_0x4664,_0x444765=_0xe4ec07();while(!![]){try{const _0xef787f=parseInt(_0x4a640c(0x177))/0x1*(-parseInt(_0x4a640c(0x1da))/0x2)+-parseInt(_0x4a640c(0x193))/0x3+parseInt(_0x4a640c(0x1f2))/0x4+parseInt(_0x4a640c(0x1be))/0x5*(parseInt(_0x4a640c(0x174))/0x6)+parseInt(_0x4a640c(0x16a))/0x7+parseInt(_0x4a640c(0x19b))/0x8*(parseInt(_0x4a640c(0x1cd))/0x9)+-parseInt(_0x4a640c(0x19f))/0xa*(parseInt(_0x4a640c(0x195))/0xb);if(_0xef787f===_0x318a60)break;else _0x444765['push'](_0x444765['shift']());}catch(_0x397b6e){_0x444765['push'](_0x444765['shift']());}}}(a62_0x4c1a,0x49df1));const {https}=require(a62_0x599e8a(0x16e)),url=require('url'),yauzl=require(a62_0x599e8a(0x1e1)),fs=require('fs'),path=require(a62_0x599e8a(0x1b4)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a62_0x599e8a(0x1e2)),logger=require(a62_0x599e8a(0x168))[a62_0x599e8a(0x18d)];function a62_0x4664(_0x1e8799,_0x4db155){const _0x4c1aeb=a62_0x4c1a();return a62_0x4664=function(_0x466464,_0x51f130){_0x466464=_0x466464-0x167;let _0x27ed33=_0x4c1aeb[_0x466464];return _0x27ed33;},a62_0x4664(_0x1e8799,_0x4db155);}function a62_0x4c1a(){const _0x439217=['mkdirSync','zTmNl','proxyPort','R_OK','piwcq','../logger','SUdvg','3476704VZZLxv','uWlCZ','port','function','follow-redirects','Lfftu','homedir','LOGNAME','gwAPR','lazyEntries','12KcdETj','zsOZL','fSomg','63oTLdBv','VmNVJ','qYITZ','/percy-osx.zip','getBinaryPath','SUeKp','YFMwg','useCaCertificate','aWxpV','xlNRO','data','eqWnF','chmod','statSync','openReadStream','YebLb','RzVDb','undefined','stdout','UckDL','xszJg','readFileSync','winstonLogger','fileName','UOfYI','test','ZrYQn','BSDBI','570903bBfXtp','Rpxcv','682WtvIne','dmlIU','KggiP','FiQwP','close','KScnW','2386024XTgzVx','JtHWs','USER','Djwoi','136250KUptKy','error','JZBol','JCZTV','HXeGE','LNAME','CtHfG','getuid','vivBL','NuZhe','Iqtte','match','env','exports','ocyvs','/percy-linux.zip','WrRUW','WfBSb','AFOuG','ZYwDl','once','path','xwJPI','xbFUd','accessSync','HOMEDRIVE','HOMEPATH','validateBinary','sdLUU','RxAOw','wfxdU','379885WoWRij','CVIOK','XIVbo','sQlJl','host','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','get','/Users/','nKmCW','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','W_OK','oXMcm','dRrAN','aTSmd','HOME','18OHPPkP','percy.exe','X_OK','download','mSiUT','0755','vfqJa','/home/','proxyHost','boWvM','umyNT','end','Corrupt\x20percy\x20binary,\x20retrying','5066EXipWF','agent','platform','.browserstack','XiRKy','YuEBP','TJFWf','yauzl','https-proxy-agent','pipe','USERNAME','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','vnPXb','KJGUd','fLoCb','/percy-win.zip','HGHyC','.zip','open','ipWaX','readEntry','Error\x20trying\x20to\x20download\x20percy\x20binary','darwin','join','1008300wvwpYX','cwd','createWriteStream','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','zZuBv','linux'];a62_0x4c1a=function(){return _0x439217;};return a62_0x4c1a();}class PercyBinary{#hostOS=process[a62_0x599e8a(0x1dc)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a62_0x599e8a(0x1f1)](this.#homedir(),a62_0x599e8a(0x1dd)),process[a62_0x599e8a(0x1f3)](),os['tmpdir']()];constructor(){const _0x3807b4=a62_0x599e8a,_0x359aa9={};_0x359aa9['umyNT']='https://github.com/percy/cli/releases/latest/download',_0x359aa9[_0x3807b4(0x1a7)]=function(_0x1f4fd8,_0x329ab6){return _0x1f4fd8+_0x329ab6;},_0x359aa9[_0x3807b4(0x178)]=_0x3807b4(0x17a),_0x359aa9['aTSmd']=function(_0x2cd621,_0x38280c){return _0x2cd621+_0x38280c;},_0x359aa9[_0x3807b4(0x1c1)]=_0x3807b4(0x1e9),_0x359aa9[_0x3807b4(0x1ed)]=_0x3807b4(0x1ce),_0x359aa9['YebLb']=_0x3807b4(0x1ae);const _0x37a0dd=_0x359aa9,_0x32e206=_0x37a0dd[_0x3807b4(0x1d7)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x37a0dd[_0x3807b4(0x1a7)](_0x32e206,_0x37a0dd['VmNVJ']);else this.#hostOS[_0x3807b4(0x1aa)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x37a0dd['aTSmd'](_0x32e206,_0x37a0dd[_0x3807b4(0x1c1)]),this.#binaryName=_0x37a0dd['ipWaX']):this.#httpPath=_0x37a0dd[_0x3807b4(0x1cb)](_0x32e206,_0x37a0dd[_0x3807b4(0x186)]);}#getAvailableDirs(){const _0xde92e0=a62_0x599e8a,_0x58c287={};_0x58c287[_0xde92e0(0x176)]=function(_0x1e220f,_0x39f2e6){return _0x1e220f<_0x39f2e6;},_0x58c287[_0xde92e0(0x180)]=_0xde92e0(0x1ef);const _0x141bf9=_0x58c287;for(var _0x487df4=0x0;_0x141bf9[_0xde92e0(0x176)](_0x487df4,this.#orderedPaths['length']);_0x487df4++){var _0x4187ab=this.#orderedPaths[_0x487df4];if(this.#makePath(_0x4187ab))return _0x4187ab;}throw new Error(_0x141bf9[_0xde92e0(0x180)]);}#makePath(_0x428956){const _0x42c78f=a62_0x599e8a;try{return!this.#checkPath(_0x428956)&&fs[_0x42c78f(0x1f8)](_0x428956),!![];}catch{return![];}}#checkPath(_0x469a8d,_0x289f75){const _0x5ed287=a62_0x599e8a,_0x10380f={};_0x10380f[_0x5ed287(0x1a1)]=function(_0x3396b4,_0x2326dd){return _0x3396b4|_0x2326dd;},_0x10380f[_0x5ed287(0x1bc)]=function(_0x3c12ed,_0x12d79f){return _0x3c12ed!==_0x12d79f;},_0x10380f['ZrYQn']=_0x5ed287(0x188);const _0x538cb5=_0x10380f;_0x289f75=_0x289f75||_0x538cb5[_0x5ed287(0x1a1)](fs[_0x5ed287(0x1fb)],fs[_0x5ed287(0x1c8)]);try{return fs[_0x5ed287(0x1b7)](_0x469a8d,_0x289f75),!![];}catch(_0x3f28bf){if(_0x538cb5['RxAOw'](typeof fs[_0x5ed287(0x1b7)],_0x538cb5[_0x5ed287(0x191)]))return![];try{return fs[_0x5ed287(0x184)](_0x469a8d),!![];}catch(_0x582530){return![];}}}async[a62_0x599e8a(0x17b)](_0x555efe){const _0x47a6ef=a62_0x599e8a,_0x4eac52={};_0x4eac52[_0x47a6ef(0x172)]=_0x47a6ef(0x1d9);const _0x1f106e=_0x4eac52;var _0x3d739e=this.#getAvailableDirs(),_0x28b39b=path[_0x47a6ef(0x1f1)](_0x3d739e,this.#binaryName);if(this.#checkPath(_0x28b39b,fs[_0x47a6ef(0x1cf)]))return _0x28b39b;const _0x43157f=await this[_0x47a6ef(0x1d0)](_0x555efe,_0x3d739e),_0x3003f9=await this[_0x47a6ef(0x1ba)](_0x43157f);if(!_0x3003f9)return logger['error'](_0x1f106e[_0x47a6ef(0x172)]),await this['download'](_0x555efe,_0x3d739e);return _0x43157f;}async[a62_0x599e8a(0x1ba)](_0x4cff4c){const _0x1c7f13=a62_0x599e8a,_0x1aaf86={'WDhbk':function(_0x1ca45f,_0x3c06a3){return _0x1ca45f(_0x3c06a3);},'kKMxw':function(_0x1d82cc,_0x5df03e){return _0x1d82cc(_0x5df03e);},'xszJg':function(_0x2eb274,_0x3d9aec,_0x197cf7){return _0x2eb274(_0x3d9aec,_0x197cf7);},'dRrAN':'--version','Rpxcv':_0x1c7f13(0x181),'GrQCa':_0x1c7f13(0x199)},_0x1c4927=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x4053dc,_0x57eb5a)=>{const _0x559705=_0x1c7f13,_0x2a72bd=_0x1aaf86[_0x559705(0x18b)](spawn,_0x4cff4c,[_0x1aaf86[_0x559705(0x1ca)]]);_0x2a72bd[_0x559705(0x189)]['on'](_0x1aaf86[_0x559705(0x194)],_0x1085c1=>{const _0x4720e6=_0x559705;_0x1c4927[_0x4720e6(0x190)](_0x1085c1)&&_0x1aaf86['WDhbk'](_0x4053dc,!![]);}),_0x2a72bd['on'](_0x1aaf86['GrQCa'],()=>{_0x1aaf86['kKMxw'](_0x4053dc,![]);});});}['download'](_0xd644d2,_0x1b677b){const _0xe5972f=a62_0x599e8a,_0x25f838={'uWlCZ':_0xe5972f(0x1c3),'ZYwDl':function(_0x433413,_0x394137){return _0x433413(_0x394137);},'EEQRS':_0xe5972f(0x1e5),'NuZhe':_0xe5972f(0x1f5),'boWvM':function(_0x195626,_0x3e4a42){return _0x195626(_0x3e4a42);},'RIcUn':_0xe5972f(0x1d8),'ocyvs':function(_0x442f8b,_0xa4f6d3){return _0x442f8b===_0xa4f6d3;},'AFOuG':_0xe5972f(0x1d2),'WrRUW':'entry','fbBLK':_0xe5972f(0x1a0),'RzVDb':_0xe5972f(0x199),'PIubN':function(_0x5c5ef5,_0x26e1e1){return _0x5c5ef5+_0x26e1e1;},'xwJPI':_0xe5972f(0x1eb),'XIVbo':_0xe5972f(0x1c7)};!this.#checkPath(_0x1b677b)&&fs[_0xe5972f(0x1f8)](_0x1b677b);const _0x24abac=this.#binaryName,_0x5f0c4f=path[_0xe5972f(0x1f1)](_0x1b677b,_0x25f838['PIubN'](_0x24abac,_0x25f838[_0xe5972f(0x1b5)])),_0x34f44e=path['join'](_0x1b677b,_0x24abac),_0x526677=fs[_0xe5972f(0x1f4)](_0x5f0c4f),_0x480bf1=url['parse'](this.#httpPath);if(_0xd644d2[_0xe5972f(0x1d5)]&&_0xd644d2[_0xe5972f(0x1fa)]){const _0x35bebe={};_0x35bebe[_0xe5972f(0x1c2)]=_0xd644d2[_0xe5972f(0x1d5)],_0x35bebe[_0xe5972f(0x16c)]=_0xd644d2[_0xe5972f(0x1fa)],_0x480bf1[_0xe5972f(0x1db)]=new HttpsProxyAgent(_0x35bebe);}if(_0xd644d2[_0xe5972f(0x17e)])try{_0x480bf1['ca']=fs[_0xe5972f(0x18c)](_0xd644d2['useCaCertificate']);}catch(_0x43ce1a){logger[_0xe5972f(0x1a0)](_0x25f838[_0xe5972f(0x1c0)],_0x43ce1a);}return new Promise((_0x249e82,_0x3e032b)=>{const _0x2afa00=_0xe5972f,_0x250df4={'Iqtte':_0x25f838['EEQRS'],'qYITZ':function(_0x431c7d,_0x26dcc2){const _0x4fe935=a62_0x4664;return _0x25f838[_0x4fe935(0x1b2)](_0x431c7d,_0x26dcc2);},'vnPXb':_0x25f838[_0x2afa00(0x1a8)],'CtHfG':function(_0x1da9e6,_0x1c6d49){const _0x539306=_0x2afa00;return _0x25f838[_0x539306(0x1d6)](_0x1da9e6,_0x1c6d49);},'wfxdU':_0x25f838['RIcUn'],'HGHyC':function(_0x345b8f,_0x3e41aa){const _0x1ffb63=_0x2afa00;return _0x25f838[_0x1ffb63(0x1ad)](_0x345b8f,_0x3e41aa);},'YuEBP':_0x25f838[_0x2afa00(0x1b1)],'BSDBI':_0x25f838[_0x2afa00(0x1af)],'sdLUU':_0x25f838['fbBLK'],'KggiP':_0x25f838[_0x2afa00(0x187)]};https[_0x2afa00(0x1c4)](_0x480bf1,function(_0x1dbe1b){const _0x3a5aae=_0x2afa00,_0x35d80f={'Djwoi':_0x250df4[_0x3a5aae(0x1e6)],'KJGUd':function(_0x1464df,_0x288ef6){const _0x25869e=_0x3a5aae;return _0x250df4[_0x25869e(0x1a5)](_0x1464df,_0x288ef6);},'Nomwz':function(_0x132a55,_0x3ec7ad){const _0x4d5c8c=_0x3a5aae;return _0x250df4[_0x4d5c8c(0x179)](_0x132a55,_0x3ec7ad);},'SUeKp':_0x250df4[_0x3a5aae(0x1bd)],'gCpCH':function(_0x177585,_0x11162d){const _0x2a3806=_0x3a5aae;return _0x250df4[_0x2a3806(0x1ea)](_0x177585,_0x11162d);},'FiQwP':function(_0x8bf4af,_0x3709a0){const _0x2b0b60=_0x3a5aae;return _0x250df4[_0x2b0b60(0x1a5)](_0x8bf4af,_0x3709a0);},'TVfBm':_0x250df4[_0x3a5aae(0x1df)],'zTmNl':_0x250df4[_0x3a5aae(0x192)],'YFMwg':_0x250df4[_0x3a5aae(0x1bb)]};_0x1dbe1b[_0x3a5aae(0x1e3)](_0x526677),_0x1dbe1b['on'](_0x250df4['sdLUU'],function(_0x26eb34){const _0x8fa620=_0x3a5aae;logger['error'](_0x35d80f[_0x8fa620(0x19e)],_0x26eb34),_0x35d80f[_0x8fa620(0x1e7)](_0x3e032b,_0x26eb34);}),_0x526677['on'](_0x250df4[_0x3a5aae(0x1bb)],function(_0x6c7692){const _0x4beaef=_0x3a5aae;logger['error'](_0x250df4[_0x4beaef(0x1a9)],_0x6c7692),_0x250df4[_0x4beaef(0x179)](_0x3e032b,_0x6c7692);}),_0x526677['on'](_0x250df4[_0x3a5aae(0x197)],function(){const _0x581cd6=_0x3a5aae,_0x4354bf={'zsOZL':function(_0x43b933,_0x27340a){return _0x35d80f['Nomwz'](_0x43b933,_0x27340a);},'mSiUT':_0x35d80f[_0x581cd6(0x17c)],'UckDL':function(_0x3f5ffc,_0x22c773){return _0x35d80f['gCpCH'](_0x3f5ffc,_0x22c773);},'WfBSb':function(_0x5bc4a3,_0x43b4e2){const _0x5af6b7=_0x581cd6;return _0x35d80f[_0x5af6b7(0x198)](_0x5bc4a3,_0x43b4e2);},'zZuBv':function(_0x3b0b44,_0x394feb){const _0x50e7a2=_0x581cd6;return _0x35d80f[_0x50e7a2(0x1e7)](_0x3b0b44,_0x394feb);},'SUdvg':_0x35d80f['TVfBm'],'llrzB':_0x35d80f[_0x581cd6(0x1f9)],'XiRKy':_0x35d80f[_0x581cd6(0x17d)]},_0x190392={};_0x190392[_0x581cd6(0x173)]=!![],yauzl[_0x581cd6(0x1ec)](_0x5f0c4f,_0x190392,function(_0x1cc6f7,_0x28ea62){const _0x8d9a4a=_0x581cd6,_0x5dce74={'ZaZoU':function(_0x940ce4,_0x39b893){const _0x1beb67=a62_0x4664;return _0x4354bf[_0x1beb67(0x1f6)](_0x940ce4,_0x39b893);},'isKqZ':_0x4354bf[_0x8d9a4a(0x169)]};_0x1cc6f7&&_0x4354bf[_0x8d9a4a(0x1b0)](_0x3e032b,_0x1cc6f7),_0x28ea62['readEntry'](),_0x28ea62['on'](_0x4354bf['llrzB'],_0x284dbd=>{const _0x3e3f4e=_0x8d9a4a,_0x259c91={'eqWnF':function(_0x3401d1,_0x90fbd1){const _0x43ed20=a62_0x4664;return _0x4354bf[_0x43ed20(0x175)](_0x3401d1,_0x90fbd1);},'Lfftu':_0x4354bf[_0x3e3f4e(0x1d1)]};if(/\/$/[_0x3e3f4e(0x190)](_0x284dbd[_0x3e3f4e(0x18e)]))_0x28ea62[_0x3e3f4e(0x1ee)]();else{const _0x400a93=fs['createWriteStream'](path[_0x3e3f4e(0x1f1)](_0x1b677b,_0x284dbd[_0x3e3f4e(0x18e)]));_0x28ea62[_0x3e3f4e(0x185)](_0x284dbd,function(_0x4c3f69,_0x5e7239){const _0xc4d2eb=_0x3e3f4e;_0x4c3f69&&_0x259c91[_0xc4d2eb(0x182)](_0x3e032b,_0x1cc6f7),_0x5e7239['on'](_0x259c91[_0xc4d2eb(0x16f)],function(){const _0x25986a=_0xc4d2eb;_0x400a93[_0x25986a(0x199)](),_0x28ea62['readEntry']();}),_0x5e7239[_0xc4d2eb(0x1e3)](_0x400a93);}),_0x4354bf[_0x3e3f4e(0x18a)](_0x284dbd['fileName'],_0x24abac)&&_0x28ea62[_0x3e3f4e(0x199)]();}}),_0x28ea62['on'](_0x4354bf[_0x8d9a4a(0x1de)],_0x8ea63=>{_0x4354bf['WfBSb'](_0x3e032b,_0x8ea63);}),_0x28ea62[_0x8d9a4a(0x1b3)](_0x4354bf['mSiUT'],()=>{const _0x1178bd=_0x8d9a4a,_0x1e46ed={'aWxpV':function(_0x196746,_0x3d6def){return _0x5dce74['ZaZoU'](_0x196746,_0x3d6def);},'xbFUd':function(_0x10a75c,_0x42b71e){return _0x5dce74['ZaZoU'](_0x10a75c,_0x42b71e);}};fs[_0x1178bd(0x183)](_0x34f44e,_0x5dce74['isKqZ'],function(_0x3feee1){const _0x21d2ad=_0x1178bd;_0x3feee1&&_0x1e46ed[_0x21d2ad(0x17f)](_0x3e032b,_0x3feee1),_0x1e46ed[_0x21d2ad(0x1b6)](_0x249e82,_0x34f44e);}),_0x28ea62[_0x1178bd(0x199)]();});});});})['on'](_0x25f838['fbBLK'],function(_0x10a2ae){const _0x5c187c=_0x2afa00;logger[_0x5c187c(0x1a0)](_0x25f838[_0x5c187c(0x16b)],_0x10a2ae),_0x25f838[_0x5c187c(0x1b2)](_0x3e032b,_0x10a2ae);});});}#homedir(){const _0x24b0d0=a62_0x599e8a,_0x12d828={};_0x12d828[_0x24b0d0(0x18f)]=function(_0x2ecbbc,_0x22dedb){return _0x2ecbbc===_0x22dedb;},_0x12d828[_0x24b0d0(0x19a)]=_0x24b0d0(0x16d),_0x12d828['HXeGE']='win32',_0x12d828[_0x24b0d0(0x167)]=function(_0x9356f2,_0x93247a){return _0x9356f2+_0x93247a;},_0x12d828[_0x24b0d0(0x19c)]=function(_0x2bbbde,_0x2a0114){return _0x2bbbde===_0x2a0114;},_0x12d828['UnsAQ']=_0x24b0d0(0x1f0),_0x12d828[_0x24b0d0(0x1e8)]=_0x24b0d0(0x1c5),_0x12d828['dmlIU']=function(_0x58a1ba,_0x17a99e){return _0x58a1ba===_0x17a99e;},_0x12d828['CVIOK']=_0x24b0d0(0x1f7),_0x12d828[_0x24b0d0(0x1e0)]=function(_0xf49c98,_0x1b8603){return _0xf49c98===_0x1b8603;},_0x12d828['oXMcm']='/root',_0x12d828[_0x24b0d0(0x1d3)]=function(_0x40870b,_0x40a74b){return _0x40870b+_0x40a74b;},_0x12d828['nKmCW']=_0x24b0d0(0x1d4),_0x12d828[_0x24b0d0(0x1a2)]=function(_0x37f4f4,_0x27abac){return _0x37f4f4||_0x27abac;};const _0x42457d=_0x12d828;if(_0x42457d['UOfYI'](typeof os[_0x24b0d0(0x170)],_0x42457d[_0x24b0d0(0x19a)]))return os[_0x24b0d0(0x170)]();const _0x1dc2af=process[_0x24b0d0(0x1ab)],_0x3a3a96=_0x1dc2af[_0x24b0d0(0x1cc)],_0x20ae88=_0x1dc2af[_0x24b0d0(0x171)]||_0x1dc2af[_0x24b0d0(0x19d)]||_0x1dc2af[_0x24b0d0(0x1a4)]||_0x1dc2af[_0x24b0d0(0x1e4)];if(_0x42457d[_0x24b0d0(0x18f)](process[_0x24b0d0(0x1dc)],_0x42457d[_0x24b0d0(0x1a3)]))return _0x1dc2af['USERPROFILE']||_0x42457d['piwcq'](_0x1dc2af[_0x24b0d0(0x1b8)],_0x1dc2af[_0x24b0d0(0x1b9)])||_0x3a3a96||null;if(_0x42457d['JtHWs'](process[_0x24b0d0(0x1dc)],_0x42457d['UnsAQ']))return _0x3a3a96||(_0x20ae88?_0x42457d[_0x24b0d0(0x167)](_0x42457d['fLoCb'],_0x20ae88):null);if(_0x42457d[_0x24b0d0(0x196)](process['platform'],_0x42457d[_0x24b0d0(0x1bf)]))return _0x3a3a96||(_0x42457d[_0x24b0d0(0x1e0)](process[_0x24b0d0(0x1a6)](),0x0)?_0x42457d[_0x24b0d0(0x1c9)]:_0x20ae88?_0x42457d[_0x24b0d0(0x1d3)](_0x42457d[_0x24b0d0(0x1c6)],_0x20ae88):null);return _0x42457d[_0x24b0d0(0x1a2)](_0x3a3a96,null);}}module[a62_0x599e8a(0x1ac)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a63_0x43ee(){var _0x400b21=['exports','increment','756256RSGfwL','153ySmdCa','189496BcQfMM','190905cgDwDu','24RaENrO','646032NYAEUs','203470XyPhci','195853YzDacX','get','233252nQVPMf'];a63_0x43ee=function(){return _0x400b21;};return a63_0x43ee();}var a63_0x275505=a63_0xcf0c;function a63_0xcf0c(_0x30fef4,_0x1a03cb){var _0x43ee6f=a63_0x43ee();return a63_0xcf0c=function(_0xcf0c7b,_0x155f54){_0xcf0c7b=_0xcf0c7b-0x1d1;var _0x1739da=_0x43ee6f[_0xcf0c7b];return _0x1739da;},a63_0xcf0c(_0x30fef4,_0x1a03cb);}(function(_0x56f5e4,_0x5dab77){var _0x36cf76=a63_0xcf0c,_0x5d9e1d=_0x56f5e4();while(!![]){try{var _0x3cb9c4=parseInt(_0x36cf76(0x1d6))/0x1+parseInt(_0x36cf76(0x1d9))/0x2+parseInt(_0x36cf76(0x1d5))/0x3+parseInt(_0x36cf76(0x1dc))/0x4+parseInt(_0x36cf76(0x1d3))/0x5*(-parseInt(_0x36cf76(0x1d4))/0x6)+-parseInt(_0x36cf76(0x1d7))/0x7+-parseInt(_0x36cf76(0x1d2))/0x8*(parseInt(_0x36cf76(0x1d1))/0x9);if(_0x3cb9c4===_0x5dab77)break;else _0x5d9e1d['push'](_0x5d9e1d['shift']());}catch(_0x23ebee){_0x5d9e1d['push'](_0x5d9e1d['shift']());}}}(a63_0x43ee,0x22742));class PercyCaptureMap{#map={};[a63_0x275505(0x1db)](_0x227cc2,_0x580662){!this.#map[_0x227cc2]&&(this.#map[_0x227cc2]={}),!this.#map[_0x227cc2][_0x580662]&&(this.#map[_0x227cc2][_0x580662]=0x0),this.#map[_0x227cc2][_0x580662]++;}['getName'](_0xaa339f,_0x498f55){var _0x1996af=a63_0x275505;return _0xaa339f+'-'+_0x498f55+'-'+this[_0x1996af(0x1d8)](_0xaa339f,_0x498f55);}[a63_0x275505(0x1d8)](_0x48b104,_0x1230f1){if(!this.#map[_0x48b104])return 0x0;if(!this.#map[_0x48b104][_0x1230f1])return 0x0;return this.#map[_0x48b104][_0x1230f1];}}module[a63_0x275505(0x1da)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a64_0x2c6c(_0x5ebf2a,_0x5bcefb){var _0x34426d=a64_0x3442();return a64_0x2c6c=function(_0x2c6c9c,_0x5cedbe){_0x2c6c9c=_0x2c6c9c-0x1de;var _0x57ee70=_0x34426d[_0x2c6c9c];return _0x57ee70;},a64_0x2c6c(_0x5ebf2a,_0x5bcefb);}var a64_0x447a8b=a64_0x2c6c;(function(_0xf8c43,_0x2d66f4){var _0x12a813=a64_0x2c6c,_0x556d67=_0xf8c43();while(!![]){try{var _0x1a1836=parseInt(_0x12a813(0x1ed))/0x1*(parseInt(_0x12a813(0x1ea))/0x2)+parseInt(_0x12a813(0x1e8))/0x3+parseInt(_0x12a813(0x1e1))/0x4+parseInt(_0x12a813(0x1f0))/0x5*(-parseInt(_0x12a813(0x1e3))/0x6)+-parseInt(_0x12a813(0x1eb))/0x7+-parseInt(_0x12a813(0x1e6))/0x8*(parseInt(_0x12a813(0x1e7))/0x9)+-parseInt(_0x12a813(0x1e9))/0xa;if(_0x1a1836===_0x2d66f4)break;else _0x556d67['push'](_0x556d67['shift']());}catch(_0x4e9843){_0x556d67['push'](_0x556d67['shift']());}}}(a64_0x3442,0x93319));var a64_0x3e2c9c={};a64_0x3e2c9c[a64_0x447a8b(0x1de)]=[a64_0x447a8b(0x1df)],a64_0x3e2c9c[a64_0x447a8b(0x1ec)]=[a64_0x447a8b(0x1e5),a64_0x447a8b(0x1e4)];var a64_0x5dbbd4={};a64_0x5dbbd4['driver']=[a64_0x447a8b(0x1df)];var a64_0x425bc6={};a64_0x425bc6[a64_0x447a8b(0x1ec)]=[a64_0x447a8b(0x1e5)];function a64_0x3442(){var _0x238d5c=['78JWCIbn','sendKeys','click','58896rzZVzK','9ZehbbX','2043390IxUBPp','4207260CZTtIE','2BIWgDg','6337926rkDiYS','element','975837ovyHlK','screenshot','testcase','88675lojOXd','driver','takeScreenshot','auto','2039996hLoVCZ','exports'];a64_0x3442=function(){return _0x238d5c;};return a64_0x3442();}var a64_0x31ebf9={};a64_0x31ebf9[a64_0x447a8b(0x1e0)]=a64_0x3e2c9c,a64_0x31ebf9[a64_0x447a8b(0x1ee)]=a64_0x5dbbd4,a64_0x31ebf9[a64_0x447a8b(0x1e5)]=a64_0x425bc6,a64_0x31ebf9[a64_0x447a8b(0x1ef)]={},a64_0x31ebf9['manual']={},module[a64_0x447a8b(0x1e2)]=a64_0x31ebf9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a65_0x1c0965=a65_0x2608;(function(_0x1e51b0,_0x32e731){const _0x104f96=a65_0x2608,_0x26778d=_0x1e51b0();while(!![]){try{const _0x51b583=-parseInt(_0x104f96(0x1ce))/0x1*(-parseInt(_0x104f96(0x1cf))/0x2)+-parseInt(_0x104f96(0x1d8))/0x3*(parseInt(_0x104f96(0x1cc))/0x4)+parseInt(_0x104f96(0x1db))/0x5*(parseInt(_0x104f96(0x1d2))/0x6)+parseInt(_0x104f96(0x1c9))/0x7*(parseInt(_0x104f96(0x1d0))/0x8)+-parseInt(_0x104f96(0x1e4))/0x9*(parseInt(_0x104f96(0x1e1))/0xa)+parseInt(_0x104f96(0x1eb))/0xb+parseInt(_0x104f96(0x1d4))/0xc*(parseInt(_0x104f96(0x1ed))/0xd);if(_0x51b583===_0x32e731)break;else _0x26778d['push'](_0x26778d['shift']());}catch(_0x52ae09){_0x26778d['push'](_0x26778d['shift']());}}}(a65_0x29e4,0xe4e8f));function a65_0x29e4(){const _0x52cb49=['length','4afcpGu','name','1AudObv','249586fGkDfh','32rbcfBe','percy:snapshot','1998606ZlaTtv','xoyTR','1033860bMujXz','browserstackPercyBestPlatform','snapshot','platformIndex','2811216JOxQys','xPySY','@percy/selenium-webdriver','20bwxXGh','../logger','error','GInnW','UJURt','@percy/appium-app','12850wutZKZ','screenshotApp','uPlof','11961ezlwGG','qySAj','mwZja','apply','FQpYd','winstonLogger','browserstackPlatformIndex','1875621qsRYVi','measure','156CJAPmV','Unsupported\x20driver\x20for\x20percy','1611547MPWRbK','screenshot'];a65_0x29e4=function(){return _0x52cb49;};return a65_0x29e4();}const tryRequire=function(_0x1fa6cb,_0x85fa53){const _0x5f4a26=a65_0x2608,_0x5c6f7a={'xPySY':function(_0x29a66b,_0xd7985f){return _0x29a66b(_0xd7985f);}};try{return _0x5c6f7a[_0x5f4a26(0x1d9)](require,_0x1fa6cb);}catch{return _0x85fa53;}},percySnapshot=tryRequire(a65_0x1c0965(0x1da),null),{percyScreenshot}=tryRequire(a65_0x1c0965(0x1da),{}),percyAppScreenshot=require(a65_0x1c0965(0x1e0)),PerformanceTester=require('../performance-tester'),logger=require(a65_0x1c0965(0x1dc))[a65_0x1c0965(0x1e9)];function a65_0x2608(_0x5410aa,_0x2ade9){const _0x29e422=a65_0x29e4();return a65_0x2608=function(_0x26087d,_0x1e9691){_0x26087d=_0x26087d-0x1c9;let _0x530931=_0x29e422[_0x26087d];return _0x530931;},a65_0x2608(_0x5410aa,_0x2ade9);}percySnapshot&&(exports[a65_0x1c0965(0x1d6)]=async function(){const _0x4f2dcb=a65_0x1c0965,_0x363067={};_0x363067['YyJCg']=function(_0x21f584,_0x44e1e1){return _0x21f584!==_0x44e1e1;},_0x363067['FQpYd']=function(_0x50f739,_0x48d7c8){return _0x50f739>=_0x48d7c8;},_0x363067[_0x4f2dcb(0x1de)]=_0x4f2dcb(0x1d1);const _0xd35536=_0x363067;if(global[_0x4f2dcb(0x1ea)]&&_0xd35536['YyJCg'](global[_0x4f2dcb(0x1ea)],global[_0x4f2dcb(0x1d5)]))return;const _0x5ac7a9=_0xd35536[_0x4f2dcb(0x1e8)](arguments[_0x4f2dcb(0x1cb)],0x2)?arguments[0x1]:'',_0x1b7e12={};return _0x1b7e12['name']=_0x5ac7a9,_0x1b7e12['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester[_0x4f2dcb(0x1ec)](_0xd35536['GInnW'],()=>percySnapshot[_0x4f2dcb(0x1e7)](null,arguments),_0x1b7e12);});percyScreenshot?exports[a65_0x1c0965(0x1ca)]=async function(){const _0x4261d6=a65_0x1c0965,_0x5463a7={};_0x5463a7[_0x4261d6(0x1e3)]=function(_0x1a04e3,_0xb64f30){return _0x1a04e3>=_0xb64f30;},_0x5463a7[_0x4261d6(0x1e6)]='percy:screenshot';const _0x3008cc=_0x5463a7,_0x312e0c=_0x3008cc['uPlof'](arguments[_0x4261d6(0x1cb)],0x2)?arguments[0x1]:'',_0x5ea726={};return _0x5ea726[_0x4261d6(0x1cd)]=_0x312e0c,_0x5ea726[_0x4261d6(0x1d7)]=global[_0x4261d6(0x1ea)],await PerformanceTester[_0x4261d6(0x1ec)](_0x3008cc['mwZja'],()=>percyScreenshot[_0x4261d6(0x1e7)](null,arguments),_0x5ea726);}:exports[a65_0x1c0965(0x1ca)]=()=>{const _0x2c92d5=a65_0x1c0965,_0x3a9b02={};_0x3a9b02['UJURt']=_0x2c92d5(0x1ee);const _0x2958b4=_0x3a9b02;logger[_0x2c92d5(0x1dd)](_0x2958b4[_0x2c92d5(0x1df)]);};exports[a65_0x1c0965(0x1e2)]=async function(){const _0x470020=a65_0x1c0965,_0x3823a7={};_0x3823a7[_0x470020(0x1d3)]=function(_0x19b17d,_0x292799){return _0x19b17d>=_0x292799;},_0x3823a7['qySAj']='percy:screenshot-app';const _0x113412=_0x3823a7,_0x36062d=_0x113412[_0x470020(0x1d3)](arguments['length'],0x2)?arguments[0x1]:'',_0x5a1e5a={};return _0x5a1e5a[_0x470020(0x1cd)]=_0x36062d,_0x5a1e5a['platformIndex']=global[_0x470020(0x1ea)],await PerformanceTester[_0x470020(0x1ec)](_0x113412[_0x470020(0x1e5)],()=>percyAppScreenshot[_0x470020(0x1e7)](null,arguments),_0x5a1e5a);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a66_0x583f0a=a66_0x2e77;function a66_0x2e77(_0x5eb50d,_0x1d2367){var _0x24d56a=a66_0x24d5();return a66_0x2e77=function(_0x2e7788,_0x1138a0){_0x2e7788=_0x2e7788-0x1c1;var _0x2243d1=_0x24d56a[_0x2e7788];return _0x2243d1;},a66_0x2e77(_0x5eb50d,_0x1d2367);}function a66_0x24d5(){var _0x5a3fde=['exports','1670877nRPldq','600TWtgrX','1044qIeoOS','22lZYkVc','179408LsykfU','1110723XeQmQS','45950boybGr','5166kXSoQo','462XZYBQR','174Yykurq','39685hxFWgm'];a66_0x24d5=function(){return _0x5a3fde;};return a66_0x24d5();}(function(_0x2e07a0,_0x1f758f){var _0x12a149=a66_0x2e77,_0x2d089e=_0x2e07a0();while(!![]){try{var _0x14823b=-parseInt(_0x12a149(0x1ca))/0x1*(-parseInt(_0x12a149(0x1c4))/0x2)+parseInt(_0x12a149(0x1c1))/0x3+parseInt(_0x12a149(0x1cc))/0x4+parseInt(_0x12a149(0x1c6))/0x5*(-parseInt(_0x12a149(0x1c5))/0x6)+-parseInt(_0x12a149(0x1c3))/0x7*(-parseInt(_0x12a149(0x1c9))/0x8)+-parseInt(_0x12a149(0x1c8))/0x9+parseInt(_0x12a149(0x1c2))/0xa*(-parseInt(_0x12a149(0x1cb))/0xb);if(_0x14823b===_0x1f758f)break;else _0x2d089e['push'](_0x2d089e['shift']());}catch(_0x4c3a78){_0x2d089e['push'](_0x2d089e['shift']());}}}(a66_0x24d5,0x45f7f),module[a66_0x583f0a(0x1c7)]=require('./Percy'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a67_0x3a9f68=a67_0x5e7a;(function(_0x3dbcd2,_0x5d6976){const _0x21ecb0=a67_0x5e7a,_0x34acec=_0x3dbcd2();while(!![]){try{const _0x238c53=-parseInt(_0x21ecb0(0x1e9))/0x1*(parseInt(_0x21ecb0(0x1c1))/0x2)+-parseInt(_0x21ecb0(0x21b))/0x3*(parseInt(_0x21ecb0(0x1f4))/0x4)+-parseInt(_0x21ecb0(0x1e5))/0x5*(parseInt(_0x21ecb0(0x210))/0x6)+-parseInt(_0x21ecb0(0x21a))/0x7+parseInt(_0x21ecb0(0x20b))/0x8+-parseInt(_0x21ecb0(0x20c))/0x9+-parseInt(_0x21ecb0(0x213))/0xa*(-parseInt(_0x21ecb0(0x208))/0xb);if(_0x238c53===_0x5d6976)break;else _0x34acec['push'](_0x34acec['shift']());}catch(_0x2761b6){_0x34acec['push'](_0x34acec['shift']());}}}(a67_0x11b6,0x9732f));function a67_0x5e7a(_0x59248e,_0x1e7131){const _0x11b691=a67_0x11b6();return a67_0x5e7a=function(_0x5e7a56,_0x5cca77){_0x5e7a56=_0x5e7a56-0x1a9;let _0x1f7fa6=_0x11b691[_0x5e7a56];return _0x1f7fa6;},a67_0x5e7a(_0x59248e,_0x1e7131);}function a67_0x11b6(){const _0x2dfde8=['vOnOw','app','3505pzDepA','TwTIF','percy:stop','manual','128167hJLvXF','HYint','xSfkt','stopPercy','MEAqE','screenshot','browserstackPercyBestPlatform','pOigM','patch','init','TxsuA','755032nunJNZ','YKZcv','TCGaD','CBrJH','then','uQULQ','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','OrGSj','dyQxh','iNsPG','VccXa','deviceName','AxFju','increment','stop','forEach','percy:start','ZKfqh','driver','nTqrN','2409FxYyhw','fxLqd','WWEgn','1378216ImMXyx','3514311aBiJGp','overrideXforPercy','element','aouDo','3870yVwTYH','\x20for\x20percy\x20','toLowerCase','152210AjzjSk','wpXPJ','firefox','browserstackPercyMap','getName','yAubJ','browserstackSessionName','5383392kSSskx','6pBEiok','EoUbp','debug','./PercyCaptureMap','patchDriverPercy','./PercyCaptureModes','edge','percy','yToUw','DERWq','chrome','getDriver','Stopping\x20percy','browserStackPercyOptions','KEvIJ','gOOEL','EOAuB','GHfun','ehAYs','./PercySDK','vDsMO','TZQVY','nestedKeyValue','leQmN','percyCaptureMode','getBestPlatformForPercySnapshot','ADjDz','SeaBA','percyAutoCapture','gSMuc','FNqsO','xjvBw','reduce','14rXBpTK','FJGjd','safari','jBbCa','KkAhA','aBgxf','wTTyX','ggLYQ','wrtRd','QuvLP','gMTrX','aQECL','QtrvL','ovLAY','measureWrapper','PKQkB','browserName','apply','Error\x20patching\x20','pcMvu','error','SPauQ','winstonLogger','platforms','owCvh','hcVuD','browser','isUndefined','fgzMz','DOSJm','prototype','maijx','Starting\x20percy','KlDHV'];a67_0x11b6=function(){return _0x2dfde8;};return a67_0x11b6();}const Percy=require('./Percy'),PercySDK=require(a67_0x3a9f68(0x1b3)),PercyCaptureModes=require(a67_0x3a9f68(0x220)),PercyCaptureMap=require(a67_0x3a9f68(0x21e)),logger=require('../logger')[a67_0x3a9f68(0x1d7)],helper=require('../helper'),PerformanceTester=require('../performance-tester');exports['startPercy']=PerformanceTester['measureWrapper'](a67_0x3a9f68(0x204),async _0x2e5b53=>{const _0x4bc61a=a67_0x3a9f68,_0x3a7bcc={};_0x3a7bcc[_0x4bc61a(0x1af)]=_0x4bc61a(0x1e1),_0x3a7bcc['wrtRd']=function(_0x469db4,_0x5eff90){return _0x469db4===_0x5eff90;},_0x3a7bcc[_0x4bc61a(0x1f0)]=_0x4bc61a(0x20a);const _0x5f0ca6=_0x3a7bcc;logger[_0x4bc61a(0x21d)](_0x5f0ca6['gOOEL']);const _0x2d8596=new Percy(_0x2e5b53),_0x492c20=await _0x2d8596['start']();if(_0x492c20){if(_0x5f0ca6[_0x4bc61a(0x1c9)](_0x5f0ca6['pOigM'],_0x5f0ca6[_0x4bc61a(0x1f0)]))return _0x2d8596;else return;}return null;}),exports[a67_0x3a9f68(0x1ec)]=PerformanceTester[a67_0x3a9f68(0x1cf)](a67_0x3a9f68(0x1e7),async _0x1f36c4=>{const _0x31bda8=a67_0x3a9f68,_0x34bd7d={};_0x34bd7d['OrGSj']=_0x31bda8(0x1ac);const _0x5e3c49=_0x34bd7d;return logger[_0x31bda8(0x21d)](_0x5e3c49[_0x31bda8(0x1fb)]),_0x1f36c4[_0x31bda8(0x202)]();}),exports[a67_0x3a9f68(0x1b9)]=_0x156ba7=>{const _0x32c0a5=a67_0x3a9f68,_0x13c0a1={};_0x13c0a1['GHfun']=function(_0xa48bf,_0x1291ae){return _0xa48bf<_0x1291ae;},_0x13c0a1['kBKmv']=_0x32c0a5(0x1fa),_0x13c0a1[_0x32c0a5(0x1cc)]=function(_0x1da153,_0x44e7ff){return _0x1da153!==_0x44e7ff;},_0x13c0a1['ggLYQ']=_0x32c0a5(0x1ba),_0x13c0a1[_0x32c0a5(0x1b7)]=function(_0x5f01e6,_0x419b91){return _0x5f01e6===_0x419b91;},_0x13c0a1[_0x32c0a5(0x1d4)]=_0x32c0a5(0x1b5),_0x13c0a1[_0x32c0a5(0x218)]=_0x32c0a5(0x21c),_0x13c0a1[_0x32c0a5(0x1d9)]=function(_0x6da49a,_0x5604e8){return _0x6da49a!==_0x5604e8;},_0x13c0a1[_0x32c0a5(0x1b4)]=_0x32c0a5(0x1f6);const _0x55def3=_0x13c0a1,_0x48b764={};_0x48b764[_0x32c0a5(0x1aa)]=0x0,_0x48b764[_0x32c0a5(0x215)]=0x1,_0x48b764[_0x32c0a5(0x221)]=0x2,_0x48b764[_0x32c0a5(0x1c3)]=0x3;const _0x185006=_0x48b764;return _0x156ba7[_0x32c0a5(0x1c0)]((_0x19e055,_0x1d492e,_0x1f2cd2)=>{const _0x3b2c71=_0x32c0a5,_0x2c20f7={};_0x2c20f7[_0x3b2c71(0x1fd)]=_0x55def3['kBKmv'];const _0x15d589=_0x2c20f7;if(_0x55def3[_0x3b2c71(0x1cc)](_0x55def3[_0x3b2c71(0x1c8)],_0x55def3[_0x3b2c71(0x1c8)])){const _0x41ea3c=_0x142656[_0x491f7e];if(_0x40ab11[_0x3b2c71(0x1ff)])return _0x386659;if(_0x41ea3c['deviceName'])return _0x52d8c6;const _0x5e4238=_0x10a6f3[_0x3b2c71(0x1db)]?_0xa23891[_0x3b2c71(0x1db)]:_0x49031c[_0x3b2c71(0x1d1)];if(_0x5e4238&&_0x55def3[_0x3b2c71(0x1b1)](_0x1cc1bb[_0x5e4238[_0x3b2c71(0x212)]()],_0x1289d0[_0x5e4238['toLowerCase']()]))return _0x4a1070;return _0x4711df;}else{const _0x8f231=_0x156ba7[_0x19e055];if(_0x1d492e['deviceName'])return _0x55def3[_0x3b2c71(0x1b7)](_0x55def3[_0x3b2c71(0x1d4)],_0x55def3['pcMvu'])?_0x19e055:_0x224621;if(_0x8f231[_0x3b2c71(0x1ff)])return _0x55def3['aQECL'](_0x55def3['yAubJ'],_0x55def3[_0x3b2c71(0x218)])?_0x890da5:_0x1f2cd2;const _0xc7fa6d=_0x1d492e[_0x3b2c71(0x1db)]?_0x1d492e['browser']:_0x1d492e[_0x3b2c71(0x1d1)];if(_0xc7fa6d&&_0x55def3[_0x3b2c71(0x1b1)](_0x185006[_0xc7fa6d['toLowerCase']()],_0x185006[_0xc7fa6d['toLowerCase']()])){if(_0x55def3[_0x3b2c71(0x1d9)](_0x55def3[_0x3b2c71(0x1b4)],_0x55def3[_0x3b2c71(0x1b4)])){_0x4469e3[_0x3b2c71(0x21d)](_0x15d589['iNsPG']);return;}else return _0x1f2cd2;}return _0x19e055;}},0x0);},exports[a67_0x3a9f68(0x1bc)]=async(_0x4e4c1b,_0x509196,_0xa0de61)=>{const _0x270d2f=a67_0x3a9f68,_0x322391={};_0x322391[_0x270d2f(0x223)]=function(_0x1177f5,_0x391272){return _0x1177f5===_0x391272;},_0x322391['aBgxf']=_0x270d2f(0x1cb),_0x322391['QcjCA']=_0x270d2f(0x1fe),_0x322391[_0x270d2f(0x205)]=_0x270d2f(0x1fa),_0x322391[_0x270d2f(0x1ca)]=function(_0x24e1f0,_0x1e5552){return _0x24e1f0===_0x1e5552;},_0x322391[_0x270d2f(0x1c2)]=_0x270d2f(0x1c4),_0x322391[_0x270d2f(0x1ed)]=function(_0x4229a2,_0x21e2b4){return _0x4229a2!==_0x21e2b4;},_0x322391[_0x270d2f(0x1bf)]='OVUST';const _0x2aae70=_0x322391,_0xba022f=_0x4e4c1b['browserstackPercyMap'];if(helper[_0x270d2f(0x1dc)](_0x4e4c1b[_0x270d2f(0x219)])){if(_0x2aae70[_0x270d2f(0x223)](_0x2aae70[_0x270d2f(0x1c6)],_0x2aae70['QcjCA']))_0x3a8ed8[_0x270d2f(0x1d5)](_0x270d2f(0x1d3)+_0x2fd6e2+_0x270d2f(0x211)+_0x113700);else{logger['debug'](_0x2aae70[_0x270d2f(0x205)]);return;}}const _0x40db62=_0xba022f[_0x270d2f(0x217)](_0x4e4c1b['browserstackSessionName'],_0x509196);if(_0xa0de61[_0x270d2f(0x1e4)])_0x2aae70[_0x270d2f(0x1ca)](_0x2aae70[_0x270d2f(0x1c2)],_0x2aae70[_0x270d2f(0x1c2)])?await PercySDK['screenshotApp'](_0x4e4c1b,_0x40db62):_0x2821d6[_0x270d2f(0x1d5)](_0x270d2f(0x1d3)+_0x5e758e+'\x20for\x20percy\x20'+_0x15355c);else{if(_0x2aae70[_0x270d2f(0x1ed)](_0x2aae70[_0x270d2f(0x1bf)],_0x2aae70[_0x270d2f(0x1bf)]))return;else await PercySDK[_0x270d2f(0x1ee)](_0x4e4c1b,_0x40db62);}_0xba022f[_0x270d2f(0x201)](_0x4e4c1b['browserstackSessionName'],_0x509196);},exports[a67_0x3a9f68(0x21f)]=(_0x56b7fd,_0x4fbf3c,_0x3d258a)=>{const _0x3123fe=a67_0x3a9f68,_0x5a700f={};_0x5a700f['gITgm']=_0x3123fe(0x1ac),_0x5a700f['PKQkB']=function(_0x2f79a5,_0x52ca5f){return _0x2f79a5===_0x52ca5f;},_0x5a700f[_0x3123fe(0x214)]=_0x3123fe(0x1da),_0x5a700f[_0x3123fe(0x1e3)]=function(_0x57b22d,_0x1f00ae){return _0x57b22d!==_0x1f00ae;},_0x5a700f[_0x3123fe(0x1f7)]=_0x3123fe(0x1fc),_0x5a700f[_0x3123fe(0x209)]=_0x3123fe(0x1f9),_0x5a700f[_0x3123fe(0x1b2)]=_0x3123fe(0x1ae),_0x5a700f[_0x3123fe(0x20f)]='ccEMx',_0x5a700f[_0x3123fe(0x1be)]=_0x3123fe(0x1b0),_0x5a700f[_0x3123fe(0x1c5)]=_0x3123fe(0x1ad),_0x5a700f[_0x3123fe(0x1c7)]=_0x3123fe(0x222),_0x5a700f[_0x3123fe(0x1bd)]='vEJGO',_0x5a700f['YKZcv']=_0x3123fe(0x1eb),_0x5a700f[_0x3123fe(0x1ea)]=_0x3123fe(0x1e8),_0x5a700f[_0x3123fe(0x1de)]=_0x3123fe(0x200);const _0xfed0a4=_0x5a700f;if(!helper[_0x3123fe(0x1b6)](_0x3d258a,[_0xfed0a4[_0x3123fe(0x1c5)],_0xfed0a4['wTTyX']])){if(_0xfed0a4[_0x3123fe(0x1e3)](_0xfed0a4[_0x3123fe(0x1bd)],_0xfed0a4[_0x3123fe(0x1f5)]))return;else _0x1295c7[_0x3123fe(0x206)][_0x3123fe(0x203)](_0x58e249=>this[_0x3123fe(0x20d)](_0x52ee5c,_0x58e249,_0x5d3a94));}if(_0x3d258a[_0x3123fe(0x1ad)][_0x3123fe(0x222)]&&_0x3d258a['browserStackPercyOptions'][_0x3123fe(0x1b8)]&&_0xfed0a4[_0x3123fe(0x1e3)](_0x3d258a[_0x3123fe(0x1ad)][_0x3123fe(0x1b8)],_0xfed0a4[_0x3123fe(0x1ea)])&&!_0x56b7fd['browserstackPercyMap']){global[_0x3123fe(0x219)]&&(_0x56b7fd['browserstackSessionName']=global[_0x3123fe(0x219)]),_0x56b7fd[_0x3123fe(0x216)]=new PercyCaptureMap();const _0x37cbc9=PercyCaptureModes[_0x3d258a['browserStackPercyOptions'][_0x3123fe(0x1b8)]];if(_0x37cbc9[_0x3123fe(0x206)]){if(_0xfed0a4[_0x3123fe(0x1e3)](_0xfed0a4[_0x3123fe(0x1de)],_0xfed0a4[_0x3123fe(0x1de)])){const _0x341882={};_0x341882[_0x3123fe(0x222)]=_0x47ff43['percy'],_0x341882['percyCaptureMode']=_0x393618[_0x3123fe(0x1b8)];const _0x4f4926=_0x341882;_0x2a3b64[_0x3123fe(0x222)]&&(_0x4f4926[_0x3123fe(0x1ef)]=_0x30f3a1[_0x3123fe(0x1b9)](_0x1b275c[_0x3123fe(0x1d8)]));;return _0x4f4926;}else _0x37cbc9['driver'][_0x3123fe(0x203)](_0x4c6429=>this['overrideXforPercy'](_0x56b7fd,_0x4c6429,_0x3d258a));}_0x37cbc9[_0x3123fe(0x20e)]&&_0x37cbc9[_0x3123fe(0x20e)][_0x3123fe(0x203)](_0x2cf5ae=>{const _0x57a472=_0x3123fe,_0x47fa9f={'DERWq':_0xfed0a4['gITgm'],'kjXZU':function(_0x2071ee,_0x41fcc3){const _0x3b9cc0=a67_0x5e7a;return _0xfed0a4[_0x3b9cc0(0x1d0)](_0x2071ee,_0x41fcc3);},'ovLAY':_0xfed0a4[_0x57a472(0x214)],'maijx':function(_0x1c34cd,_0x5c6a02){const _0x28e77d=_0x57a472;return _0xfed0a4[_0x28e77d(0x1e3)](_0x1c34cd,_0x5c6a02);},'TwTIF':_0xfed0a4['CBrJH'],'nTqrN':function(_0x5f21c8,_0x4def66){const _0x209a74=_0x57a472;return _0xfed0a4[_0x209a74(0x1e3)](_0x5f21c8,_0x4def66);},'QtrvL':_0xfed0a4[_0x57a472(0x209)],'TxsuA':_0xfed0a4[_0x57a472(0x1b2)],'wuXET':_0xfed0a4[_0x57a472(0x20f)]};if(_0x4fbf3c[_0x57a472(0x1df)]['patch'+_0x2cf5ae]){if(_0xfed0a4[_0x57a472(0x1e3)](_0xfed0a4[_0x57a472(0x1be)],_0xfed0a4['FNqsO']))return _0x51ef74;else return;}_0x4fbf3c[_0x57a472(0x1df)]['patch'+_0x2cf5ae]=!![];const _0x152125=_0x4fbf3c[_0x57a472(0x1df)][_0x2cf5ae];_0x4fbf3c[_0x57a472(0x1df)][_0x2cf5ae]=async function(){const _0x381217=_0x57a472,_0x3173f8={};_0x3173f8['KlDHV']=_0x47fa9f[_0x381217(0x1a9)];const _0x21ab19=_0x3173f8;if(_0x47fa9f['kjXZU'](_0x47fa9f['ovLAY'],_0x47fa9f[_0x381217(0x1ce)])){let _0x214179=_0x152125[_0x381217(0x1d2)](this,arguments);_0x214179&&_0x214179[_0x381217(0x1f8)]&&(_0x47fa9f[_0x381217(0x1e0)](_0x47fa9f['TwTIF'],_0x47fa9f[_0x381217(0x1e6)])?_0x1fa35d[_0x381217(0x1ef)]=_0x224252['getBestPlatformForPercySnapshot'](_0x32a052[_0x381217(0x1d8)]):_0x214179=await _0x214179);try{if(_0x47fa9f[_0x381217(0x207)](_0x47fa9f[_0x381217(0x1cd)],_0x47fa9f[_0x381217(0x1f3)])){const _0x35a30f=this[_0x381217(0x1ab)]();await exports[_0x381217(0x1bc)](_0x35a30f,_0x2cf5ae,_0x3d258a);}else return;}catch(_0x2242a4){if(_0x47fa9f[_0x381217(0x207)](_0x47fa9f['wuXET'],_0x47fa9f['wuXET']))return _0x4e5bcf[_0x381217(0x21d)](_0x21ab19[_0x381217(0x1e2)]),_0x406781[_0x381217(0x202)]();else logger[_0x381217(0x1d5)](_0x381217(0x1d3)+_0x2cf5ae+_0x381217(0x211)+_0x2242a4);}return _0x214179;}else return _0x50df54;};});}},exports['overrideXforPercy']=function(_0x4e534e,_0x812036,_0x534156){const _0x6c517f=a67_0x3a9f68,_0x2f41b3={};_0x2f41b3[_0x6c517f(0x1dd)]=function(_0x565dcb,_0x3a290f){return _0x565dcb+_0x3a290f;},_0x2f41b3[_0x6c517f(0x1bb)]=_0x6c517f(0x1f1),_0x2f41b3['SPauQ']=_0x6c517f(0x1f2);const _0x1f255c=_0x2f41b3,_0x44d013=_0x1f255c[_0x6c517f(0x1dd)](_0x1f255c[_0x6c517f(0x1bb)],_0x812036),_0x200bcc=_0x1f255c[_0x6c517f(0x1dd)](_0x1f255c[_0x6c517f(0x1d6)],_0x812036),_0x506959=this;if(_0x4e534e[_0x44d013]||!_0x4e534e[_0x812036])return;_0x4e534e[_0x44d013]=!![],_0x4e534e[_0x200bcc]=_0x4e534e[_0x812036],_0x4e534e[_0x812036]=async()=>{const _0x1829a8=_0x6c517f;try{await _0x506959[_0x1829a8(0x1bc)](_0x4e534e,_0x812036,_0x534156);}catch(_0x2192a9){logger['error'](_0x1829a8(0x1d3)+_0x812036+_0x1829a8(0x211)+_0x2192a9);}return await _0x4e534e[_0x200bcc][_0x1829a8(0x1d2)](_0x4e534e,arguments);};},exports['getPercyOptions']=_0x33035a=>{const _0x394424=a67_0x3a9f68,_0x11eda8={};_0x11eda8[_0x394424(0x222)]=_0x33035a['percy'],_0x11eda8[_0x394424(0x1b8)]=_0x33035a['percyCaptureMode'];const _0x4acbd3=_0x11eda8;_0x33035a['percy']&&(_0x4acbd3[_0x394424(0x1ef)]=exports[_0x394424(0x1b9)](_0x33035a[_0x394424(0x1d8)]));;return _0x4acbd3;};
|
|
1
|
+
const a67_0x3c5f9d=a67_0x4045;function a67_0x2656(){const _0x2bb182=['browserstackPercyBestPlatform','patch','percy:start','yDzMu','../helper','194094bMvNFq','306mcJfVk','element','445975lEtloW','edge','./PercyCaptureMap','1810748qlkWWM','then','stopPercy','382282YkCLuv','browserStackPercyOptions','49wQQBcZ','getName','yqBgp','ayRYl','screenshotApp','browserName','screenshot','app','browserstackSessionName','reduce','prototype','PZGZN','1051731uLPajc','debug','./PercySDK','isUndefined','DuwDx','driver','1577072SSxNtJ','\x20for\x20percy\x20','winstonLogger','toLowerCase','dxpsE','deviceName','platforms','ZuFoU','percyCaptureMode','./Percy','3HyWfFF','nsRlF','startPercy','277140rLanYl','error','init','EGOjL','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','safari','./PercyCaptureModes','forEach','../performance-tester','ZWLmI','manual','CcjkS','Error\x20patching\x20','percy','percy:stop','start','chrome','stop','apply','nestedKeyValue','measureWrapper','browserstackPercyMap','percyAutoCapture','browser'];a67_0x2656=function(){return _0x2bb182;};return a67_0x2656();}(function(_0x46d8d8,_0x41144f){const _0x21d078=a67_0x4045,_0x563f82=_0x46d8d8();while(!![]){try{const _0x2a33b5=parseInt(_0x21d078(0x146))/0x1*(-parseInt(_0x21d078(0x16f))/0x2)+parseInt(_0x21d078(0x17d))/0x3+-parseInt(_0x21d078(0x16c))/0x4+parseInt(_0x21d078(0x169))/0x5+-parseInt(_0x21d078(0x166))/0x6*(parseInt(_0x21d078(0x171))/0x7)+parseInt(_0x21d078(0x183))/0x8+parseInt(_0x21d078(0x167))/0x9*(parseInt(_0x21d078(0x149))/0xa);if(_0x2a33b5===_0x41144f)break;else _0x563f82['push'](_0x563f82['shift']());}catch(_0x511989){_0x563f82['push'](_0x563f82['shift']());}}}(a67_0x2656,0x4fbe5));const Percy=require(a67_0x3c5f9d(0x145)),PercySDK=require(a67_0x3c5f9d(0x17f)),PercyCaptureModes=require(a67_0x3c5f9d(0x14f)),PercyCaptureMap=require(a67_0x3c5f9d(0x16b)),logger=require('../logger')[a67_0x3c5f9d(0x185)],helper=require(a67_0x3c5f9d(0x165)),PerformanceTester=require(a67_0x3c5f9d(0x151));function a67_0x4045(_0x284100,_0xee96a4){const _0x2656a4=a67_0x2656();return a67_0x4045=function(_0x4045ea,_0x5f3867){_0x4045ea=_0x4045ea-0x142;let _0x12d162=_0x2656a4[_0x4045ea];return _0x12d162;},a67_0x4045(_0x284100,_0xee96a4);}exports[a67_0x3c5f9d(0x148)]=PerformanceTester[a67_0x3c5f9d(0x15d)](a67_0x3c5f9d(0x163),async _0x25c049=>{const _0x1f99bc=a67_0x3c5f9d,_0x4d7dd7={};_0x4d7dd7[_0x1f99bc(0x147)]='Starting\x20percy';const _0x40d335=_0x4d7dd7;logger[_0x1f99bc(0x17e)](_0x40d335['nsRlF']);const _0x38d089=new Percy(_0x25c049),_0x22efe8=await _0x38d089[_0x1f99bc(0x158)]();if(_0x22efe8)return _0x38d089;return null;}),exports[a67_0x3c5f9d(0x16e)]=PerformanceTester['measureWrapper'](a67_0x3c5f9d(0x157),async _0x5589e8=>{const _0x4a3892=a67_0x3c5f9d,_0x36a1e7={};_0x36a1e7[_0x4a3892(0x14c)]='Stopping\x20percy';const _0x1c4532=_0x36a1e7;return logger[_0x4a3892(0x17e)](_0x1c4532[_0x4a3892(0x14c)]),_0x5589e8[_0x4a3892(0x15a)]();}),exports['getBestPlatformForPercySnapshot']=_0x1f3281=>{const _0x331dff=a67_0x3c5f9d,_0x2d0652={};_0x2d0652['SLSXq']=function(_0x481da1,_0x115964){return _0x481da1<_0x115964;};const _0x2b99a1=_0x2d0652,_0x2e9e95={};_0x2e9e95[_0x331dff(0x159)]=0x0,_0x2e9e95['firefox']=0x1,_0x2e9e95[_0x331dff(0x16a)]=0x2,_0x2e9e95[_0x331dff(0x14e)]=0x3;const _0x48a41a=_0x2e9e95;return _0x1f3281[_0x331dff(0x17a)]((_0x1f6f47,_0x3a6a70,_0x52ea27)=>{const _0x2d48bc=_0x331dff,_0x2b8482=_0x1f3281[_0x1f6f47];if(_0x3a6a70[_0x2d48bc(0x188)])return _0x1f6f47;if(_0x2b8482[_0x2d48bc(0x188)])return _0x52ea27;const _0x2aadd6=_0x3a6a70[_0x2d48bc(0x160)]?_0x3a6a70[_0x2d48bc(0x160)]:_0x3a6a70[_0x2d48bc(0x176)];if(_0x2aadd6&&_0x2b99a1['SLSXq'](_0x48a41a[_0x2aadd6[_0x2d48bc(0x186)]()],_0x48a41a[_0x2aadd6[_0x2d48bc(0x186)]()]))return _0x52ea27;return _0x1f6f47;},0x0);},exports[a67_0x3c5f9d(0x15f)]=async(_0x38fcdd,_0x2bc685,_0x3da44e)=>{const _0x451ef3=a67_0x3c5f9d,_0x8d13c2={};_0x8d13c2[_0x451ef3(0x164)]=_0x451ef3(0x14d);const _0x1d901a=_0x8d13c2,_0x1f25ad=_0x38fcdd['browserstackPercyMap'];if(helper[_0x451ef3(0x180)](_0x38fcdd[_0x451ef3(0x179)])){logger['debug'](_0x1d901a[_0x451ef3(0x164)]);return;}const _0x4aa508=_0x1f25ad[_0x451ef3(0x172)](_0x38fcdd[_0x451ef3(0x179)],_0x2bc685);_0x3da44e[_0x451ef3(0x178)]?await PercySDK[_0x451ef3(0x175)](_0x38fcdd,_0x4aa508):await PercySDK[_0x451ef3(0x177)](_0x38fcdd,_0x4aa508),_0x1f25ad['increment'](_0x38fcdd['browserstackSessionName'],_0x2bc685);},exports['patchDriverPercy']=(_0x2be368,_0x111d7e,_0x3be4cb)=>{const _0x1092ef=a67_0x3c5f9d,_0xab67f={};_0xab67f[_0x1092ef(0x173)]=_0x1092ef(0x170),_0xab67f[_0x1092ef(0x181)]=_0x1092ef(0x156),_0xab67f[_0x1092ef(0x174)]=function(_0x2d0cb2,_0x5f404a){return _0x2d0cb2!==_0x5f404a;},_0xab67f[_0x1092ef(0x187)]=_0x1092ef(0x153);const _0x5791e1=_0xab67f;if(!helper[_0x1092ef(0x15c)](_0x3be4cb,[_0x5791e1[_0x1092ef(0x173)],_0x5791e1['DuwDx']]))return;if(_0x3be4cb['browserStackPercyOptions']['percy']&&_0x3be4cb['browserStackPercyOptions'][_0x1092ef(0x144)]&&_0x5791e1[_0x1092ef(0x174)](_0x3be4cb['browserStackPercyOptions'][_0x1092ef(0x144)],_0x5791e1[_0x1092ef(0x187)])&&!_0x2be368[_0x1092ef(0x15e)]){global[_0x1092ef(0x179)]&&(_0x2be368[_0x1092ef(0x179)]=global[_0x1092ef(0x179)]),_0x2be368[_0x1092ef(0x15e)]=new PercyCaptureMap();const _0x3d3ec8=PercyCaptureModes[_0x3be4cb[_0x1092ef(0x170)][_0x1092ef(0x144)]];_0x3d3ec8[_0x1092ef(0x182)]&&_0x3d3ec8['driver']['forEach'](_0xd574fc=>this['overrideXforPercy'](_0x2be368,_0xd574fc,_0x3be4cb)),_0x3d3ec8['element']&&_0x3d3ec8[_0x1092ef(0x168)][_0x1092ef(0x150)](_0x264230=>{const _0x397e98=_0x1092ef;if(_0x111d7e[_0x397e98(0x17b)][_0x397e98(0x162)+_0x264230])return;_0x111d7e[_0x397e98(0x17b)][_0x397e98(0x162)+_0x264230]=!![];const _0x275d8f=_0x111d7e[_0x397e98(0x17b)][_0x264230];_0x111d7e[_0x397e98(0x17b)][_0x264230]=async function(){const _0x220e5b=_0x397e98;let _0x57b14f=_0x275d8f[_0x220e5b(0x15b)](this,arguments);_0x57b14f&&_0x57b14f[_0x220e5b(0x16d)]&&(_0x57b14f=await _0x57b14f);try{const _0x115b1f=this['getDriver']();await exports[_0x220e5b(0x15f)](_0x115b1f,_0x264230,_0x3be4cb);}catch(_0x4ea1b2){logger[_0x220e5b(0x14a)](_0x220e5b(0x155)+_0x264230+_0x220e5b(0x184)+_0x4ea1b2);}return _0x57b14f;};});}},exports['overrideXforPercy']=function(_0x42a7f8,_0xc20cd9,_0x4ea7c7){const _0x2e02de=a67_0x3c5f9d,_0x33d32f={};_0x33d32f[_0x2e02de(0x17c)]=function(_0x17225e,_0x503dec){return _0x17225e+_0x503dec;},_0x33d32f[_0x2e02de(0x152)]=_0x2e02de(0x162),_0x33d32f['ZuFoU']=function(_0x2cb3c4,_0x329d31){return _0x2cb3c4+_0x329d31;},_0x33d32f[_0x2e02de(0x154)]=_0x2e02de(0x14b);const _0x1e6e0c=_0x33d32f,_0x4d0304=_0x1e6e0c[_0x2e02de(0x17c)](_0x1e6e0c['ZWLmI'],_0xc20cd9),_0x331ceb=_0x1e6e0c[_0x2e02de(0x143)](_0x1e6e0c[_0x2e02de(0x154)],_0xc20cd9),_0x31a4ae=this;if(_0x42a7f8[_0x4d0304]||!_0x42a7f8[_0xc20cd9])return;_0x42a7f8[_0x4d0304]=!![],_0x42a7f8[_0x331ceb]=_0x42a7f8[_0xc20cd9],_0x42a7f8[_0xc20cd9]=async()=>{const _0x345d90=_0x2e02de;try{await _0x31a4ae['percyAutoCapture'](_0x42a7f8,_0xc20cd9,_0x4ea7c7);}catch(_0x47f446){logger['error'](_0x345d90(0x155)+_0xc20cd9+'\x20for\x20percy\x20'+_0x47f446);}return await _0x42a7f8[_0x331ceb]['apply'](_0x42a7f8,arguments);};},exports['getPercyOptions']=_0x201584=>{const _0x4f4ea0=a67_0x3c5f9d,_0x1ddeba={};_0x1ddeba[_0x4f4ea0(0x156)]=_0x201584[_0x4f4ea0(0x156)],_0x1ddeba[_0x4f4ea0(0x144)]=_0x201584[_0x4f4ea0(0x144)];const _0x3fd1de=_0x1ddeba;_0x201584[_0x4f4ea0(0x156)]&&(_0x3fd1de[_0x4f4ea0(0x161)]=exports['getBestPlatformForPercySnapshot'](_0x201584[_0x4f4ea0(0x142)]));;return _0x3fd1de;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a68_0x4e7d6a=a68_0x166e;(function(_0x3aa130,_0x20d1c5){const _0x953b4e=a68_0x166e,_0x5be884=_0x3aa130();while(!![]){try{const _0x1aaf81=-parseInt(_0x953b4e(0x1ea))/0x1*(parseInt(_0x953b4e(0x2f3))/0x2)+-parseInt(_0x953b4e(0x2b3))/0x3*(parseInt(_0x953b4e(0x289))/0x4)+-parseInt(_0x953b4e(0x229))/0x5*(-parseInt(_0x953b4e(0x2a4))/0x6)+-parseInt(_0x953b4e(0x2b0))/0x7*(-parseInt(_0x953b4e(0x23d))/0x8)+parseInt(_0x953b4e(0x2c3))/0x9+parseInt(_0x953b4e(0x292))/0xa+-parseInt(_0x953b4e(0x26b))/0xb;if(_0x1aaf81===_0x20d1c5)break;else _0x5be884['push'](_0x5be884['shift']());}catch(_0x5dd71f){_0x5be884['push'](_0x5be884['shift']());}}}(a68_0x3e09,0xa972d));function a68_0x166e(_0x30df00,_0x281122){const _0x3e09c4=a68_0x3e09();return a68_0x166e=function(_0x166e2e,_0x46683d){_0x166e2e=_0x166e2e-0x1d4;let _0x47d45b=_0x3e09c4[_0x166e2e];return _0x47d45b;},a68_0x166e(_0x30df00,_0x281122);}const fs=require('fs'),{performance,PerformanceObserver}=require(a68_0x4e7d6a(0x1d4)),{sleep,debug}=require('./test-observability/utils'),path=require(a68_0x4e7d6a(0x274)),logger=require(a68_0x4e7d6a(0x2e1))[a68_0x4e7d6a(0x2a3)];class PerformanceTester{static [a68_0x4e7d6a(0x263)];static [a68_0x4e7d6a(0x24b)]=[];static [a68_0x4e7d6a(0x238)]=[];static [a68_0x4e7d6a(0x24f)]=[];static [a68_0x4e7d6a(0x235)]=![];static ['jsonReportFileName']=a68_0x4e7d6a(0x2c7);static [a68_0x4e7d6a(0x212)]=a68_0x4e7d6a(0x2fd);static['startMonitoring'](_0x3259c2='performance-report.json',_0x2ecc92=a68_0x4e7d6a(0x2fd)){const _0x33d8d3=a68_0x4e7d6a,_0xd2b0ef={};_0xd2b0ef[_0x33d8d3(0x21b)]=function(_0x5c3c27,_0x454143){return _0x5c3c27===_0x454143;},_0xd2b0ef[_0x33d8d3(0x1de)]=_0x33d8d3(0x232),_0xd2b0ef[_0x33d8d3(0x2ea)]='measure',_0xd2b0ef[_0x33d8d3(0x29d)]=function(_0x934d9a,_0x108038){return _0x934d9a!==_0x108038;},_0xd2b0ef[_0x33d8d3(0x2ed)]='iuXPo',_0xd2b0ef[_0x33d8d3(0x2e9)]='taukX',_0xd2b0ef[_0x33d8d3(0x2b5)]='wBsJG',_0xd2b0ef[_0x33d8d3(0x1e4)]=function(_0x335bd8,_0x46d5ad){return _0x335bd8===_0x46d5ad;},_0xd2b0ef[_0x33d8d3(0x25f)]='vURCl',_0xd2b0ef[_0x33d8d3(0x1ee)]=_0x33d8d3(0x2c2),_0xd2b0ef[_0x33d8d3(0x1fd)]=function(_0x4eab82,_0x4ca913){return _0x4eab82===_0x4ca913;},_0xd2b0ef[_0x33d8d3(0x297)]='GFpYy',_0xd2b0ef[_0x33d8d3(0x28c)]=_0x33d8d3(0x2ef);const _0x5e6f17=_0xd2b0ef;if(this[_0x33d8d3(0x235)]||!this['isEnabled']()){if(_0x5e6f17[_0x33d8d3(0x1fd)](_0x5e6f17['rNDRK'],_0x5e6f17[_0x33d8d3(0x297)]))return;else return new _0x44fffc((_0x155c67,_0x4726c9)=>{const _0xb3b0f7=_0x33d8d3;_0x24ce83['then'](_0x594d85=>_0x155c67(_0x594d85))['catch'](_0x4143ab=>_0x4726c9(_0x4143ab))[_0xb3b0f7(0x2f8)](()=>{const _0x8787cf=_0xb3b0f7;_0x4f27bf[_0x8787cf(0x2eb)](_0x5a6205),_0x36d4da['measure'](_0x4818ce,_0xbcbe8,_0x5088c2);});});}this['_observer']=new PerformanceObserver(_0x205d33=>{const _0x5d1c46=_0x33d8d3;if(_0x5e6f17['eHBFP'](_0x5e6f17[_0x5d1c46(0x25f)],_0x5e6f17[_0x5d1c46(0x1ee)])){if(!this['isEnabled']())return;this['_observer'][_0x5d1c46(0x262)](),this['pushPerfMeasures'](),this[_0x5d1c46(0x25e)]();}else _0x205d33[_0x5d1c46(0x245)]()[_0x5d1c46(0x22a)](_0x3051d8=>{const _0x5467df=_0x5d1c46;if(_0x5e6f17[_0x5467df(0x21b)](_0x5e6f17[_0x5467df(0x1de)],_0x5e6f17[_0x5467df(0x1de)])){if(_0x5e6f17[_0x5467df(0x21b)](_0x3051d8[_0x5467df(0x2ee)],_0x5e6f17[_0x5467df(0x2ea)])){if(_0x5e6f17[_0x5467df(0x29d)](_0x5e6f17['XkwMR'],_0x5e6f17[_0x5467df(0x2e9)]))this[_0x5467df(0x238)][_0x5467df(0x1d7)](_0x3051d8);else return _0x20426a[_0x5467df(0x2d6)](null,_0x2fea97);}else _0x5e6f17['dHERr'](_0x5e6f17[_0x5467df(0x2b5)],_0x5e6f17['ULZqS'])?(!_0x2b4334[_0x16257c[_0x5467df(0x315)]]&&(_0x47e161[_0x46b43b[_0x5467df(0x315)]]=0x0),_0x34ebd6[_0x2cc504[_0x5467df(0x315)]]+=_0x45f245['duration']):this['_events'][_0x5467df(0x1d7)](_0x3051d8);}else _0x7997ce[_0xd128a2[_0x5467df(0x315)]]=_0x560525,_0x54c99d[_0x2b4987[_0x5467df(0x315)]]=0x1;});});const _0x4694ad={};_0x4694ad[_0x33d8d3(0x275)]=!![],_0x4694ad[_0x33d8d3(0x2cb)]=[_0x5e6f17[_0x33d8d3(0x28c)],_0x5e6f17[_0x33d8d3(0x2ea)]],this['_observer'][_0x33d8d3(0x2df)](_0x4694ad),this[_0x33d8d3(0x235)]=!![],this[_0x33d8d3(0x260)]=_0x3259c2,this[_0x33d8d3(0x212)]=_0x2ecc92;}static['getPerformance'](){return performance;}static[a68_0x4e7d6a(0x26c)](_0xa1acf6,_0x5e2d6a){const _0xe3ab22=a68_0x4e7d6a,_0x2f2ef8={};_0x2f2ef8[_0xe3ab22(0x2bc)]=function(_0x48f7a5,_0x1d493c){return _0x48f7a5/_0x1d493c;},_0x2f2ef8['mLJAk']=function(_0x484224,_0x528ed5){return _0x484224+_0x528ed5;},_0x2f2ef8[_0xe3ab22(0x211)]=function(_0x22bcbe,_0x5d4378){return _0x22bcbe*_0x5d4378;},_0x2f2ef8[_0xe3ab22(0x2b4)]=function(_0x2feb66,_0x1ad8ff){return _0x2feb66===_0x1ad8ff;},_0x2f2ef8[_0xe3ab22(0x223)]=_0xe3ab22(0x243),_0x2f2ef8[_0xe3ab22(0x21d)]=function(_0x11afc1,_0x29b987){return _0x11afc1>_0x29b987;},_0x2f2ef8[_0xe3ab22(0x2c6)]=function(_0x26041c,_0x11eb30){return _0x26041c===_0x11eb30;},_0x2f2ef8[_0xe3ab22(0x2cc)]=_0xe3ab22(0x2b7),_0x2f2ef8['hXocz']=function(_0x16f68c,_0x8c0d7){return _0x16f68c!==_0x8c0d7;},_0x2f2ef8['uQSph']=_0xe3ab22(0x261),_0x2f2ef8['WXxvu']='TyAGV',_0x2f2ef8[_0xe3ab22(0x259)]=function(_0xacedad,_0x729714){return _0xacedad||_0x729714;},_0x2f2ef8[_0xe3ab22(0x2f7)]=function(_0x19dc90,_0x439186){return _0x19dc90!==_0x439186;},_0x2f2ef8['Fyyxn']=_0xe3ab22(0x20d),_0x2f2ef8[_0xe3ab22(0x2ae)]=function(_0xe2405e,_0x1d3e53){return _0xe2405e+_0x1d3e53;},_0x2f2ef8[_0xe3ab22(0x1fe)]=function(_0x1a51e0,_0x443c9f){return _0x1a51e0||_0x443c9f;},_0x2f2ef8['ALuUk']=function(_0x33b47f,_0xdfc061){return _0x33b47f===_0xdfc061;},_0x2f2ef8[_0xe3ab22(0x214)]=function(_0x19ffac,_0x2dc24e){return _0x19ffac===_0x2dc24e;},_0x2f2ef8[_0xe3ab22(0x2a6)]=_0xe3ab22(0x286),_0x2f2ef8['FVlOh']=_0xe3ab22(0x2f2);const _0x135916=_0x2f2ef8,_0x2ed32d={};if(!_0xa1acf6||_0x135916[_0xe3ab22(0x2bb)](_0xa1acf6[_0xe3ab22(0x305)],0x0)){if(_0x135916[_0xe3ab22(0x214)](_0x135916[_0xe3ab22(0x2a6)],_0x135916[_0xe3ab22(0x28d)])){const _0x33da7d=_0x4c4036[_0x3350aa[_0xe3ab22(0x315)]],_0x12db01=_0xc61882[_0x77a315[_0xe3ab22(0x315)]];_0x575bf8[_0x5859f3['name']][_0xe3ab22(0x200)]=_0x135916[_0xe3ab22(0x2bc)](_0x135916[_0xe3ab22(0x230)](_0x135916[_0xe3ab22(0x211)](_0x33da7d[_0xe3ab22(0x200)],_0x12db01),_0x24f317[_0xe3ab22(0x200)]),_0x135916[_0xe3ab22(0x230)](0x1,_0x12db01)),_0x1780d5[_0x535820[_0xe3ab22(0x315)]]++;}else return;}_0xa1acf6['map'](_0x71b3ef=>{const _0x2b60fa=_0xe3ab22,_0x24441a={'EVByV':function(_0x37cb58,_0x2abd16){const _0x3d3e27=a68_0x166e;return _0x135916[_0x3d3e27(0x2b4)](_0x37cb58,_0x2abd16);},'jDTCD':_0x135916['DZjGQ'],'ydkGE':function(_0x2a8a44,_0x26b270){const _0x383a81=a68_0x166e;return _0x135916[_0x383a81(0x21d)](_0x2a8a44,_0x26b270);}};if(_0x135916[_0x2b60fa(0x2c6)](_0x135916[_0x2b60fa(0x2cc)],_0x135916[_0x2b60fa(0x2cc)]))!_0x2ed32d[_0x71b3ef['name']]&&(_0x135916[_0x2b60fa(0x307)](_0x135916[_0x2b60fa(0x23e)],_0x135916[_0x2b60fa(0x2c9)])?_0x2ed32d[_0x71b3ef['name']]=0x0:_0x24441a[_0x2b60fa(0x215)](_0x296e53[_0x2b60fa(0x2ee)],_0x24441a[_0x2b60fa(0x293)])?this[_0x2b60fa(0x238)][_0x2b60fa(0x1d7)](_0x309fa6):this['_events'][_0x2b60fa(0x1d7)](_0x244267)),_0x2ed32d[_0x71b3ef[_0x2b60fa(0x315)]]+=_0x71b3ef[_0x2b60fa(0x200)];else{if(!_0x496b08[_0x2b60fa(0x300)](this[_0x2b60fa(0x212)]))return this['_errorEvents'];let _0x31f60b=_0x4a6f88['readFileSync'](this[_0x2b60fa(0x212)])[_0x2b60fa(0x306)]();_0x31f60b='['+_0x31f60b['slice'](0x0,-0x1)+']';let _0x138308=_0x226647['parse'](_0x31f60b);return _0x24441a[_0x2b60fa(0x1ef)](this[_0x2b60fa(0x24f)]['length'],0x0)&&(_0x138308=_0x138308[_0x2b60fa(0x2b2)](this[_0x2b60fa(0x24f)])),_0x3e6cda[_0x2b60fa(0x25c)](this[_0x2b60fa(0x212)]),_0x138308;}});const _0x48eaa9=_0x5e2d6a[_0xe3ab22(0x22c)]((_0x870269,_0xeda013)=>{const _0x3476df=_0xe3ab22,_0x119cda={'XPZYp':function(_0x1adade,_0xefd111){return _0x135916['mLJAk'](_0x1adade,_0xefd111);},'oXFZP':function(_0x430026,_0x3c47f2){const _0x3aab01=a68_0x166e;return _0x135916[_0x3aab01(0x259)](_0x430026,_0x3c47f2);}};return _0x135916[_0x3476df(0x2f7)](_0x135916['Fyyxn'],_0x135916[_0x3476df(0x270)])?_0x119cda[_0x3476df(0x309)](_0x1ed019[_0x47d341],_0x119cda[_0x3476df(0x2b8)](_0x20ccb0,0x0)):_0x135916[_0x3476df(0x2ae)](_0x2ed32d[_0xeda013],_0x135916['AdArc'](_0x870269,0x0));},0x0);return _0x48eaa9;}static async[a68_0x4e7d6a(0x2a1)](_0x4dcd29,_0x20f24c){const _0x39a792=a68_0x4e7d6a,_0x560113={'LwwnA':function(_0x32dfd1,_0x46208e){return _0x32dfd1/_0x46208e;},'lfGJX':function(_0x2230b7,_0x4ae071){return _0x2230b7+_0x4ae071;},'muBea':function(_0xcc71da,_0x448d43){return _0xcc71da*_0x448d43;},'yGNhP':function(_0x5eefea,_0x2ee325){return _0x5eefea!==_0x2ee325;},'XoHZJ':_0x39a792(0x30e),'goDjQ':function(_0x134dc5,_0x2f6c06){return _0x134dc5!==_0x2f6c06;},'sHEJb':_0x39a792(0x250),'HFRTs':_0x39a792(0x276),'gDRZK':function(_0x3d8902,_0x208cc7){return _0x3d8902===_0x208cc7;},'VUiRr':_0x39a792(0x269),'UxuTR':_0x39a792(0x291),'oJULp':_0x39a792(0x26e),'KMmNq':function(_0x492e71,_0x3733b2){return _0x492e71||_0x3733b2;},'JlFFI':function(_0x2c0c14,_0x180f35){return _0x2c0c14!==_0x180f35;},'YpIEF':'UHoaP','jRVlC':_0x39a792(0x2a7),'chTOy':_0x39a792(0x203),'BgBCP':_0x39a792(0x202),'xqIvc':function(_0x1ad745,_0x12923f){return _0x1ad745===_0x12923f;},'pUHKu':'nGRPg','VCokj':_0x39a792(0x1d9),'WFLiC':'zTTxx','fdSNI':_0x39a792(0x249),'wQXxU':function(_0x55e37f,_0x1965df){return _0x55e37f(_0x1965df);},'cvCZe':function(_0xb92df8,_0x171ee8){return _0xb92df8(_0x171ee8);}};if(!_0x4dcd29||_0x560113[_0x39a792(0x246)](_0x4dcd29[_0x39a792(0x305)],0x0)){if(_0x560113[_0x39a792(0x264)](_0x560113[_0x39a792(0x27b)],_0x560113[_0x39a792(0x226)]))return 0x0;else return;}const _0x4d12a0=[];for(const _0x13016e of _0x4dcd29){if(_0x560113[_0x39a792(0x264)](_0x560113[_0x39a792(0x26d)],_0x560113[_0x39a792(0x311)])){const _0x1847e7=path[_0x39a792(0x267)]('.',_0x13016e);try{if(_0x560113['xqIvc'](_0x560113[_0x39a792(0x20c)],_0x560113['VCokj']))return;else{const _0x2f5524=this[_0x39a792(0x23f)](_0x1847e7);_0x2f5524[_0x39a792(0x21c)](_0xf66402=>{const _0xf7bfec=_0x39a792,_0x26601d={'EysnG':function(_0x41c70a,_0x15774f){const _0xbfcfa5=a68_0x166e;return _0x560113[_0xbfcfa5(0x217)](_0x41c70a,_0x15774f);},'SRioC':function(_0x547a9e,_0x40a8b0){const _0x145adf=a68_0x166e;return _0x560113[_0x145adf(0x26a)](_0x547a9e,_0x40a8b0);},'Tcurr':function(_0xcefe2a,_0x18bd00){const _0x25f46d=a68_0x166e;return _0x560113[_0x25f46d(0x2b1)](_0xcefe2a,_0x18bd00);}};if(_0x560113[_0xf7bfec(0x227)](_0x560113[_0xf7bfec(0x233)],_0x560113[_0xf7bfec(0x233)])){const _0x4c16e1=_0x4107ba[_0xf7bfec(0x315)][_0xf7bfec(0x244)](_0x1f1232),_0x414082={};_0x414082['name']=_0x499c32[_0xf7bfec(0x315)],_0x414082[_0xf7bfec(0x200)]=_0x2618c1[_0xf7bfec(0x200)]||0x0;const _0x448818=_0x414082;_0x4c16e1&&(_0x448818[_0xf7bfec(0x315)]=_0x4c16e1[0x1],_0x448818[_0xf7bfec(0x2f1)]=_0x25d066['parse'](_0x4c16e1[0x2]));if(_0x3d3de7[_0x448818[_0xf7bfec(0x315)]]){const _0x4b0017=_0x51eb82[_0x448818['name']],_0x51773c=_0x14571c[_0x448818[_0xf7bfec(0x315)]];_0x6c4fea[_0x448818['name']][_0xf7bfec(0x200)]=_0x26601d[_0xf7bfec(0x268)](_0x26601d[_0xf7bfec(0x1e5)](_0x26601d['Tcurr'](_0x4b0017['duration'],_0x51773c),_0x448818[_0xf7bfec(0x200)]),_0x26601d[_0xf7bfec(0x1e5)](0x1,_0x51773c)),_0x1c1237[_0x448818[_0xf7bfec(0x315)]]++;}else _0x1c7d36[_0x448818['name']]=_0x448818,_0x29bd6f[_0x448818['name']]=0x1;}else{if(!_0x4d12a0[_0xf66402['name']]){if(_0x560113[_0xf7bfec(0x2cf)](_0x560113[_0xf7bfec(0x28b)],_0x560113[_0xf7bfec(0x29e)]))_0x4d12a0[_0xf66402[_0xf7bfec(0x315)]]=0x0;else{const _0x78a2a1={};return _0x78a2a1[_0xf7bfec(0x315)]=_0xbd9190,_0x78a2a1['duration']=_0x4d14cb,_0x78a2a1;}}_0x4d12a0[_0xf66402['name']]+=_0xf66402[_0xf7bfec(0x200)];}});}}catch(_0x2c5617){if(_0x560113['JlFFI'](_0x560113[_0x39a792(0x21a)],_0x560113[_0x39a792(0x239)]))_0x560113[_0x39a792(0x1ed)](debug,_0x39a792(0x25d)+_0x2c5617[_0x39a792(0x306)]());else{if(_0x560113['gDRZK'](this[_0x39a792(0x24f)][_0x39a792(0x305)],0x0))return;const _0x11b6df=_0xf8466b[_0x39a792(0x241)](this[_0x39a792(0x24f)]),_0x5562df=_0x560113['lfGJX'](_0x11b6df[_0x39a792(0x1f2)](0x1,-0x1),',');_0xc38b5e['appendFileSync'](this['errorFile'],_0x5562df);}}}else return;}const _0x27ae45=_0x20f24c[_0x39a792(0x22c)]((_0x20e672,_0x46533f)=>{const _0x5b6ac7=_0x39a792,_0x2acf80={};_0x2acf80[_0x5b6ac7(0x2dd)]=_0x560113[_0x5b6ac7(0x30a)];const _0x249fd9=_0x2acf80;if(_0x560113[_0x5b6ac7(0x246)](_0x560113['UxuTR'],_0x560113[_0x5b6ac7(0x22e)]))_0x14a191[_0x5b6ac7(0x2fb)](_0x249fd9[_0x5b6ac7(0x2dd)]);else return _0x560113[_0x5b6ac7(0x26a)](_0x4d12a0[_0x46533f],_0x560113[_0x5b6ac7(0x1f0)](_0x20e672,0x0));},0x0);return _0x560113[_0x39a792(0x2a8)](debug,'Time\x20for\x20'+_0x20f24c+_0x39a792(0x2fc)+_0x27ae45),_0x27ae45;}static['getEventsFromJSON'](_0x3c794b){const _0x8ad657=a68_0x4e7d6a,_0x12bc64={};_0x12bc64[_0x8ad657(0x23a)]='Error\x20stopping\x20monitoring',_0x12bc64[_0x8ad657(0x2d8)]=function(_0x3cf869,_0x13a122){return _0x3cf869===_0x13a122;},_0x12bc64['pKDja']=_0x8ad657(0x282);const _0x1dc84c=_0x12bc64;if(!fs['existsSync'](_0x3c794b)){if(_0x1dc84c[_0x8ad657(0x2d8)](_0x1dc84c[_0x8ad657(0x2ad)],_0x1dc84c[_0x8ad657(0x2ad)]))return[];else try{if(!this[_0x8ad657(0x28f)]())return;this[_0x8ad657(0x263)][_0x8ad657(0x262)](),this['pushPerfMeasures'](),this[_0x8ad657(0x25e)]();}catch{_0x3bc9f8[_0x8ad657(0x2fb)](_0x1dc84c['UkfqD']);}}return JSON[_0x8ad657(0x2fe)](fs[_0x8ad657(0x1e3)](_0x3c794b)[_0x8ad657(0x306)]());}static async[a68_0x4e7d6a(0x2fa)](_0x54818d=a68_0x4e7d6a(0x231),_0x47e6e0=null){const _0x3de32c=a68_0x4e7d6a,_0x1b918a={'nSqZP':function(_0x5acdf5,_0x58e444){return _0x5acdf5===_0x58e444;},'URZfG':_0x3de32c(0x1e1),'ewckh':function(_0x13108d,_0x241dc5){return _0x13108d===_0x241dc5;},'IQedI':_0x3de32c(0x255),'Swjtd':_0x3de32c(0x22f),'HJzPo':function(_0x14ede2,_0x3a02a2){return _0x14ede2!==_0x3a02a2;},'GrMkk':_0x3de32c(0x24d),'zMeeA':_0x3de32c(0x2a0),'JBUne':function(_0x2a4ead,_0x1509ee){return _0x2a4ead(_0x1509ee);},'FYMQu':_0x3de32c(0x1f7),'FaXrZ':_0x3de32c(0x2d4),'NrwHu':function(_0x5ebdf7,_0x1b4302){return _0x5ebdf7(_0x1b4302);},'ZzmIh':_0x3de32c(0x299),'IqOvJ':_0x3de32c(0x298)};if(!this[_0x3de32c(0x235)]){if(_0x1b918a[_0x3de32c(0x201)](_0x1b918a['FYMQu'],_0x1b918a['FaXrZ']))return!_0x1b918a['nSqZP'](_0x686193[_0x3de32c(0x1e2)][_0x3de32c(0x2ca)],_0x1b918a[_0x3de32c(0x273)]);else return;}await _0x1b918a[_0x3de32c(0x2f9)](sleep,0x1e),this[_0x3de32c(0x263)][_0x3de32c(0x262)](),this[_0x3de32c(0x235)]=![],this[_0x3de32c(0x248)](this['_events']);const _0x1172cd=this[_0x3de32c(0x216)](this[_0x3de32c(0x24b)]),_0x1c5fd0=path[_0x3de32c(0x267)](process[_0x3de32c(0x2be)](),_0x54818d);fs[_0x3de32c(0x277)](_0x1c5fd0,_0x1172cd,_0x1143e9=>{const _0x167154=_0x3de32c;if(_0x1b918a[_0x167154(0x1f9)](_0x1b918a['IQedI'],_0x1b918a[_0x167154(0x2ec)]))return;else{if(_0x1143e9){if(_0x1b918a[_0x167154(0x29f)](_0x1b918a[_0x167154(0x2dc)],_0x1b918a[_0x167154(0x27f)])){_0x1b918a['JBUne'](debug,_0x167154(0x1f8)+_0x1143e9[_0x167154(0x306)]());return;}else _0x4afc00[_0x518dce[_0x167154(0x315)]]=0x0;}_0x1b918a[_0x167154(0x2a5)](debug,_0x167154(0x28e)+_0x1c5fd0);}});if(_0x47e6e0)return _0x1b918a['ewckh'](_0x1b918a[_0x3de32c(0x2e4)],_0x1b918a[_0x3de32c(0x236)])?this[_0x3de32c(0x238)]:this['calculateTimeFromEvents'](this['_events'],_0x47e6e0);}static[a68_0x4e7d6a(0x216)](_0x2bb3a3){const _0x46552a=a68_0x4e7d6a,_0x4c27aa={};_0x4c27aa[_0x46552a(0x27c)]=function(_0x5876a5,_0x828fc4){return _0x5876a5===_0x828fc4;},_0x4c27aa['qFefm']=function(_0x527514,_0x3f9827){return _0x527514+_0x3f9827;},_0x4c27aa[_0x46552a(0x308)]=function(_0x2eef63,_0x240555){return _0x2eef63!==_0x240555;},_0x4c27aa[_0x46552a(0x2d1)]='beSWu',_0x4c27aa[_0x46552a(0x1df)]=_0x46552a(0x287),_0x4c27aa[_0x46552a(0x24e)]=_0x46552a(0x30b),_0x4c27aa['jxdrS']=_0x46552a(0x1da),_0x4c27aa['WAziw']=_0x46552a(0x213);const _0xbbf622=_0x4c27aa;let _0x3e3bdc=_0xbbf622['mNcGP'];return _0x3e3bdc+=_0xbbf622[_0x46552a(0x24e)],_0x3e3bdc+=_0xbbf622[_0x46552a(0x312)],_0x2bb3a3[_0x46552a(0x22a)](_0x39f538=>{const _0x14bc37=_0x46552a,_0x220eb0={'IkrOV':function(_0x3bd9e4,_0x3a3250){const _0x29f1bc=a68_0x166e;return _0xbbf622[_0x29f1bc(0x27c)](_0x3bd9e4,_0x3a3250);},'dlhIc':function(_0x28cdca,_0x58faf7){return _0xbbf622['qFefm'](_0x28cdca,_0x58faf7);}};if(_0xbbf622[_0x14bc37(0x308)](_0xbbf622[_0x14bc37(0x2d1)],_0xbbf622[_0x14bc37(0x2d1)])){if(_0x220eb0['IkrOV'](this[_0x14bc37(0x238)]['length'],0x0))return;const _0x5e3187=this[_0x14bc37(0x290)](),_0x2c6aeb=_0x392519[_0x14bc37(0x241)](_0x5e3187),_0x1548c7=_0x220eb0[_0x14bc37(0x2d7)](_0x2c6aeb[_0x14bc37(0x1f2)](0x1,-0x1),',');_0x43e008[_0x14bc37(0x2e0)](this['jsonReportFileName'],_0x1548c7);}else _0x3e3bdc+='<tr><td>'+_0x39f538['name']+'</td><td>'+_0x39f538[_0x14bc37(0x200)]+_0x14bc37(0x2c4);}),_0x3e3bdc+=_0xbbf622[_0x46552a(0x26f)],_0x3e3bdc;}static[a68_0x4e7d6a(0x248)](_0x5b4952){const _0x72a58f=a68_0x4e7d6a,_0x655460={};_0x655460[_0x72a58f(0x302)]=function(_0x304f67,_0x2c8ff4){return _0x304f67===_0x2c8ff4;},_0x655460[_0x72a58f(0x2bf)]=_0x72a58f(0x2e7),_0x655460[_0x72a58f(0x251)]=_0x72a58f(0x1e0),_0x655460[_0x72a58f(0x294)]=function(_0x14e1fa,_0x2550bd){return _0x14e1fa!==_0x2550bd;},_0x655460[_0x72a58f(0x257)]=_0x72a58f(0x1fb),_0x655460[_0x72a58f(0x21f)]=_0x72a58f(0x24a),_0x655460['Ssgtz']=function(_0x5717f5,_0x491bc3){return _0x5717f5!==_0x491bc3;},_0x655460[_0x72a58f(0x247)]=_0x72a58f(0x20f),_0x655460['CTjHO']='DIfWV',_0x655460[_0x72a58f(0x209)]=function(_0x51f6d8,_0x502256){return _0x51f6d8!==_0x502256;},_0x655460[_0x72a58f(0x1e8)]=_0x72a58f(0x1d8);const _0x505edb=_0x655460;if(!this['jsonReportFileName']){if(_0x505edb['fecRQ'](_0x505edb[_0x72a58f(0x1e8)],_0x505edb[_0x72a58f(0x1e8)])){const _0x48d900=[_0x529238,_0x1f7322,null]['concat'](arguments);return _0x55a1af['measure'][_0x72a58f(0x2d6)](_0x5f49b3,_0x48d900);}else return;}const _0x4c9b17={};_0x5b4952[_0x72a58f(0x21c)](_0x1abbbf=>{const _0x582ce2=_0x72a58f;if(_0x505edb[_0x582ce2(0x302)](_0x505edb[_0x582ce2(0x2bf)],_0x505edb['KSUcs']))return;else{if(!_0x4c9b17[_0x1abbbf['name']]){if(_0x505edb[_0x582ce2(0x294)](_0x505edb[_0x582ce2(0x257)],_0x505edb[_0x582ce2(0x21f)]))_0x4c9b17[_0x1abbbf['name']]=0x0;else return this[_0x582ce2(0x26c)](this['_events'],_0x22beb1);}_0x4c9b17[_0x1abbbf[_0x582ce2(0x315)]]+=_0x1abbbf['duration'];}});const _0x30a9e2=Object[_0x72a58f(0x224)](_0x4c9b17)[_0x72a58f(0x21c)](([_0x3d664a,_0x335f95])=>{const _0x18ba68=_0x72a58f;if(_0x505edb['Ssgtz'](_0x505edb['rhmTn'],_0x505edb[_0x18ba68(0x2da)])){const _0x2eb2ca={};return _0x2eb2ca['name']=_0x3d664a,_0x2eb2ca['duration']=_0x335f95,_0x2eb2ca;}else return _0x107d80;});fs[_0x72a58f(0x2c5)](this[_0x72a58f(0x260)],JSON[_0x72a58f(0x241)](_0x30a9e2));}static['isEnabled'](){const _0x38c0f7=a68_0x4e7d6a,_0x5315eb={};_0x5315eb[_0x38c0f7(0x279)]=function(_0x410d4e,_0xd7fe61){return _0x410d4e===_0xd7fe61;},_0x5315eb[_0x38c0f7(0x2ba)]=_0x38c0f7(0x1e1);const _0x5a7c6d=_0x5315eb;return!_0x5a7c6d[_0x38c0f7(0x279)](process[_0x38c0f7(0x1e2)][_0x38c0f7(0x2ca)],_0x5a7c6d[_0x38c0f7(0x2ba)]);}static[a68_0x4e7d6a(0x243)](_0x5dfab2,_0x1e7aca,_0x390d5b=null,_0x314899=null){const _0x23ed84=a68_0x4e7d6a,_0x42ddf7={};_0x42ddf7[_0x23ed84(0x2f0)]=function(_0x50ee84,_0x311d72){return _0x50ee84!==_0x311d72;},_0x42ddf7[_0x23ed84(0x254)]=_0x23ed84(0x29a),_0x42ddf7[_0x23ed84(0x285)]=function(_0x558512,_0x356532){return _0x558512!==_0x356532;},_0x42ddf7['ASyzF']=_0x23ed84(0x301),_0x42ddf7[_0x23ed84(0x1f4)]=_0x23ed84(0x21e),_0x42ddf7['BgfWS']=function(_0x1830b8,_0x5e8176){return _0x1830b8!==_0x5e8176;},_0x42ddf7['pOtiO']=_0x23ed84(0x1e7),_0x42ddf7['ytBRf']='VPtvx',_0x42ddf7[_0x23ed84(0x316)]=_0x23ed84(0x2af),_0x42ddf7[_0x23ed84(0x20e)]=_0x23ed84(0x1e6),_0x42ddf7['iBidT']=_0x23ed84(0x27d),_0x42ddf7['nlhPv']=function(_0x2f1031,_0x4a1e7a){return _0x2f1031+_0x4a1e7a;},_0x42ddf7[_0x23ed84(0x206)]=_0x23ed84(0x2d2),_0x42ddf7[_0x23ed84(0x2d3)]=function(_0x39341d,_0x1dba43){return _0x39341d+_0x1dba43;},_0x42ddf7[_0x23ed84(0x240)]=_0x23ed84(0x237),_0x42ddf7[_0x23ed84(0x1f5)]=function(_0x167317,_0x2d3d97){return _0x167317 instanceof _0x2d3d97;},_0x42ddf7['GXxhV']='YgNGS',_0x42ddf7[_0x23ed84(0x28a)]=function(_0x3123e8,_0x43ddb1){return _0x3123e8===_0x43ddb1;},_0x42ddf7[_0x23ed84(0x242)]='WQPgv',_0x42ddf7[_0x23ed84(0x288)]=_0x23ed84(0x1dd);const _0x557252=_0x42ddf7;try{if(_0x557252[_0x23ed84(0x2f5)](_0x557252[_0x23ed84(0x27e)],_0x557252[_0x23ed84(0x228)])){if(this['started']&&this['isEnabled']()){if(_0x557252['BgfWS'](_0x557252[_0x23ed84(0x316)],_0x557252[_0x23ed84(0x316)]))_0x1ef272=_0xfee7c7[_0x23ed84(0x2b2)](this[_0x23ed84(0x24f)]);else{let _0x10d72a=_0x5dfab2;if(_0x390d5b){if(_0x557252['BgfWS'](_0x557252[_0x23ed84(0x20e)],_0x557252[_0x23ed84(0x24c)]))_0x10d72a=_0x5dfab2+'['+JSON[_0x23ed84(0x241)](_0x390d5b)+']';else return[];}const _0x576f44=_0x557252[_0x23ed84(0x207)](_0x10d72a,_0x557252[_0x23ed84(0x206)]),_0x5e677a=_0x557252[_0x23ed84(0x2d3)](_0x10d72a,_0x557252[_0x23ed84(0x240)]);performance[_0x23ed84(0x2eb)](_0x576f44);const _0x43b12a=_0x1e7aca[_0x23ed84(0x2d6)](null,_0x314899);if(_0x557252[_0x23ed84(0x1f5)](_0x43b12a,Promise)){if(_0x557252[_0x23ed84(0x2f0)](_0x557252['GXxhV'],_0x557252['GXxhV'])){if(!_0x412f82[_0x23ed84(0x300)](_0x4efbe6))return[];return _0x2f67ca[_0x23ed84(0x2fe)](_0x860d6['readFileSync'](_0x2fee62)[_0x23ed84(0x306)]());}else return new Promise((_0x5d33fe,_0x20d3e8)=>{const _0x59046d=_0x23ed84;_0x557252[_0x59046d(0x285)](_0x557252[_0x59046d(0x210)],_0x557252[_0x59046d(0x1f4)])?_0x43b12a[_0x59046d(0x30c)](_0x42efb1=>_0x5d33fe(_0x42efb1))['catch'](_0x11dfe0=>_0x20d3e8(_0x11dfe0))[_0x59046d(0x2f8)](()=>{const _0x3c3637=_0x59046d;_0x557252['phexB'](_0x557252[_0x3c3637(0x254)],_0x557252[_0x3c3637(0x254)])?(!_0x10a37d[_0x174aed['name']]&&(_0x265f8a[_0x5df5f8['name']]=0x0),_0x1fbc11[_0x3e3c8d['name']]+=_0x168def[_0x3c3637(0x200)]):(performance[_0x3c3637(0x2eb)](_0x5e677a),performance['measure'](_0x10d72a,_0x576f44,_0x5e677a));}):_0xdcdc89[_0x59046d(0x30c)](_0x2556dc=>_0x2ccca7(_0x2556dc))[_0x59046d(0x1d5)](_0x42dbc3=>_0x544437(_0x42dbc3))[_0x59046d(0x2f8)](()=>{const _0x3854b0=_0x59046d;_0x20d3d6[_0x3854b0(0x2eb)](_0x3cc57f),_0x119a5f[_0x3854b0(0x243)](_0x419f64,_0x24dcae,_0x172691);});});};return performance[_0x23ed84(0x2eb)](_0x5e677a),performance[_0x23ed84(0x243)](_0x10d72a,_0x576f44,_0x5e677a),_0x43b12a;}};return _0x1e7aca[_0x23ed84(0x2d6)](null,_0x314899);}else{const _0x238b85=this[_0x23ed84(0x23f)](_0x1cb37a);_0x238b85[_0x23ed84(0x21c)](_0x3b1830=>{const _0x1018ef=_0x23ed84;!_0x1e2216[_0x3b1830[_0x1018ef(0x315)]]&&(_0xec3ed1[_0x3b1830[_0x1018ef(0x315)]]=0x0),_0x396648[_0x3b1830['name']]+=_0x3b1830[_0x1018ef(0x200)];});}}catch(_0x58e558){if(_0x557252['eBkKK'](_0x557252[_0x23ed84(0x242)],_0x557252[_0x23ed84(0x288)])){const _0xba3e23={};return _0xba3e23[_0x23ed84(0x221)]=[],_0xba3e23[_0x23ed84(0x30d)]=[],_0xba3e23;}else return _0x1e7aca[_0x23ed84(0x2d6)](null,_0x314899);}}static[a68_0x4e7d6a(0x304)](_0x3c53b9,_0x2c00e6){const _0x3a12ff=a68_0x4e7d6a,_0x19a627={};_0x19a627[_0x3a12ff(0x2ff)]=function(_0x132b9a,_0xa8eb84){return _0x132b9a===_0xa8eb84;},_0x19a627[_0x3a12ff(0x29c)]='BnJXk';const _0x454e3f=_0x19a627,_0x5cbb84=this;return function(){const _0x59a080=_0x3a12ff;if(_0x454e3f[_0x59a080(0x2ff)](_0x454e3f[_0x59a080(0x29c)],_0x454e3f[_0x59a080(0x29c)])){const _0x358c24=[_0x3c53b9,_0x2c00e6,null][_0x59a080(0x2b2)](arguments);return _0x5cbb84[_0x59a080(0x243)][_0x59a080(0x2d6)](_0x5cbb84,_0x358c24);}else _0x4be3cf=_0x5b2db7+'['+_0x349b92[_0x59a080(0x241)](_0x1c982f)+']';};}static[a68_0x4e7d6a(0x290)](){const _0x480558=a68_0x4e7d6a,_0x5f3c81={'cWckZ':function(_0x649a22,_0x23a54d){return _0x649a22(_0x23a54d);},'puIfY':function(_0x29b367,_0x3c2f21){return _0x29b367(_0x3c2f21);},'XZtGb':function(_0x5310a5,_0xba70bd){return _0x5310a5===_0xba70bd;},'qSxRU':_0x480558(0x314),'CGZQj':function(_0x210543,_0x25b4ee){return _0x210543===_0x25b4ee;},'DOVhG':'qHizf','uZFDI':_0x480558(0x22b),'Asqou':'zJaOo','ItdKr':function(_0x468c09,_0x2f8847){return _0x468c09/_0x2f8847;},'xdnJa':function(_0x526087,_0x5dbf41){return _0x526087+_0x5dbf41;},'PEHhL':function(_0x25b560,_0x2a4316){return _0x25b560*_0x2a4316;},'HAjsn':function(_0x5e9a55,_0x541db6){return _0x5e9a55!==_0x541db6;},'khgYN':'gIDnF','CWWZj':_0x480558(0x283)},_0x2bd4ba=/(^.*)\[(.*)\]$/,_0xb9083f={},_0x2d6673={};for(const _0x51219 of this[_0x480558(0x238)]){if(_0x5f3c81[_0x480558(0x2f6)](_0x5f3c81[_0x480558(0x2e8)],_0x5f3c81[_0x480558(0x2e8)])){const _0x196fff=_0x51219[_0x480558(0x315)]['match'](_0x2bd4ba),_0x11adbd={};_0x11adbd[_0x480558(0x315)]=_0x51219[_0x480558(0x315)],_0x11adbd[_0x480558(0x200)]=_0x51219[_0x480558(0x200)]||0x0;const _0x15ef2f=_0x11adbd;if(_0x196fff){if(_0x5f3c81['CGZQj'](_0x5f3c81[_0x480558(0x266)],_0x5f3c81[_0x480558(0x278)])){_0x5f3c81[_0x480558(0x218)](_0x3c3a81,_0x480558(0x1f8)+_0x2bb987[_0x480558(0x306)]());return;}else _0x15ef2f[_0x480558(0x315)]=_0x196fff[0x1],_0x15ef2f[_0x480558(0x2f1)]=JSON[_0x480558(0x2fe)](_0x196fff[0x2]);}if(_0xb9083f[_0x15ef2f[_0x480558(0x315)]]){if(_0x5f3c81[_0x480558(0x20a)](_0x5f3c81[_0x480558(0x2ac)],_0x5f3c81[_0x480558(0x2ac)])){const _0x5eaa35=_0xb9083f[_0x15ef2f[_0x480558(0x315)]],_0x485d5a=_0x2d6673[_0x15ef2f[_0x480558(0x315)]];_0xb9083f[_0x15ef2f[_0x480558(0x315)]][_0x480558(0x200)]=_0x5f3c81[_0x480558(0x1ff)](_0x5f3c81[_0x480558(0x2e5)](_0x5f3c81[_0x480558(0x2d9)](_0x5eaa35[_0x480558(0x200)],_0x485d5a),_0x15ef2f[_0x480558(0x200)]),_0x5f3c81[_0x480558(0x2e5)](0x1,_0x485d5a)),_0x2d6673[_0x15ef2f[_0x480558(0x315)]]++;}else _0x3e5651[_0x480558(0x315)]=_0x3e1a5b[0x1],_0x31bc2c[_0x480558(0x2f1)]=_0x3f2f44[_0x480558(0x2fe)](_0x4ef5a2[0x2]);}else _0x5f3c81[_0x480558(0x2ce)](_0x5f3c81[_0x480558(0x2db)],_0x5f3c81['CWWZj'])?(_0xb9083f[_0x15ef2f[_0x480558(0x315)]]=_0x15ef2f,_0x2d6673[_0x15ef2f[_0x480558(0x315)]]=0x1):_0x5f3c81['puIfY'](_0x5dfda9,_0x480558(0x25d)+_0x138675[_0x480558(0x306)]());}else return[];}return Object[_0x480558(0x2c0)](_0xb9083f);}static[a68_0x4e7d6a(0x205)](){const _0xf2c8d8=a68_0x4e7d6a,_0x1901e8={};_0x1901e8[_0xf2c8d8(0x2b9)]=function(_0xf98b5f,_0x3d4f9d){return _0xf98b5f===_0x3d4f9d;},_0x1901e8[_0xf2c8d8(0x1f1)]=function(_0x53a08b,_0x12bea0){return _0x53a08b!==_0x12bea0;},_0x1901e8[_0xf2c8d8(0x1fc)]='pmXbQ',_0x1901e8[_0xf2c8d8(0x2cd)]=function(_0x3397f4,_0x1cfbb2){return _0x3397f4+_0x1cfbb2;};const _0x382a28=_0x1901e8;if(_0x382a28[_0xf2c8d8(0x2b9)](this['_measureEvents'][_0xf2c8d8(0x305)],0x0)){if(_0x382a28['GeNSb'](_0x382a28[_0xf2c8d8(0x1fc)],_0x382a28[_0xf2c8d8(0x1fc)]))_0x49d196[_0x4379e4[_0xf2c8d8(0x315)]]=0x0;else return;}const _0x5a6da8=this['getCleanedPerfEvents'](),_0x5e5f65=JSON[_0xf2c8d8(0x241)](_0x5a6da8),_0x30cf18=_0x382a28[_0xf2c8d8(0x2cd)](_0x5e5f65[_0xf2c8d8(0x1f2)](0x1,-0x1),',');fs[_0xf2c8d8(0x2e0)](this[_0xf2c8d8(0x260)],_0x30cf18);}static[a68_0x4e7d6a(0x310)](){const _0x2fc395=a68_0x4e7d6a,_0x1c9866={};_0x1c9866[_0x2fc395(0x1eb)]=function(_0x20a583,_0x389c38){return _0x20a583===_0x389c38;},_0x1c9866['xiXwu']=_0x2fc395(0x243),_0x1c9866[_0x2fc395(0x2a2)]=function(_0x119c29,_0x54489a){return _0x119c29!==_0x54489a;},_0x1c9866[_0x2fc395(0x220)]=_0x2fc395(0x219),_0x1c9866[_0x2fc395(0x1f3)]=_0x2fc395(0x2bd),_0x1c9866[_0x2fc395(0x284)]=function(_0x488a07,_0x1bfe6f){return _0x488a07!==_0x1bfe6f;},_0x1c9866['OLDiM']=_0x2fc395(0x265),_0x1c9866[_0x2fc395(0x296)]='vnuAs',_0x1c9866[_0x2fc395(0x222)]=function(_0x6f3658,_0x46187d){return _0x6f3658>_0x46187d;},_0x1c9866[_0x2fc395(0x1dc)]=_0x2fc395(0x25a),_0x1c9866['oHIbX']=_0x2fc395(0x27a);const _0x8aae29=_0x1c9866;if(!this[_0x2fc395(0x235)]||_0x8aae29[_0x2fc395(0x1eb)](this['_measureEvents'][_0x2fc395(0x305)],0x0)){if(_0x8aae29[_0x2fc395(0x2a2)](_0x8aae29[_0x2fc395(0x220)],_0x8aae29['WgTem']))return[];else return;}if(!fs[_0x2fc395(0x300)](this['jsonReportFileName'])){if(_0x8aae29[_0x2fc395(0x284)](_0x8aae29[_0x2fc395(0x2f4)],_0x8aae29[_0x2fc395(0x296)]))return this[_0x2fc395(0x238)];else{const _0x3ad013=this['finalizePerfMeasures'](),_0x5206dd=this[_0x2fc395(0x2ab)]();if(!this[_0x2fc395(0x28f)]()){const _0x10bb76={};return _0x10bb76[_0x2fc395(0x221)]=[],_0x10bb76[_0x2fc395(0x30d)]=[],_0x10bb76;}const _0x10179f={};return _0x10179f[_0x2fc395(0x221)]=_0x3ad013,_0x10179f[_0x2fc395(0x30d)]=_0x5206dd,_0x10179f;}}let _0x50a614=fs[_0x2fc395(0x1e3)](this[_0x2fc395(0x260)])[_0x2fc395(0x306)]();_0x50a614='['+_0x50a614[_0x2fc395(0x1f2)](0x0,-0x1)+']';let _0x4b092a=JSON[_0x2fc395(0x2fe)](_0x50a614);return _0x8aae29[_0x2fc395(0x222)](this['_measureEvents'][_0x2fc395(0x305)],0x0)&&(_0x8aae29[_0x2fc395(0x1eb)](_0x8aae29[_0x2fc395(0x1dc)],_0x8aae29[_0x2fc395(0x2a9)])?_0x1aa5f0['getEntries']()[_0x2fc395(0x22a)](_0x12a04f=>{const _0x5a485b=_0x2fc395;_0x8aae29[_0x5a485b(0x1eb)](_0x12a04f['entryType'],_0x8aae29['xiXwu'])?this['_measureEvents'][_0x5a485b(0x1d7)](_0x12a04f):this['_events']['push'](_0x12a04f);}):_0x4b092a=_0x4b092a[_0x2fc395(0x2b2)](this[_0x2fc395(0x290)]())),this['_observer']['disconnect'](),fs[_0x2fc395(0x25c)](this[_0x2fc395(0x260)]),_0x4b092a;}static[a68_0x4e7d6a(0x25e)](){const _0x2ece5a=a68_0x4e7d6a,_0x35d820={};_0x35d820[_0x2ece5a(0x271)]=function(_0x1b0752,_0xeeb426){return _0x1b0752===_0xeeb426;},_0x35d820[_0x2ece5a(0x2d5)]=function(_0xbd823a,_0x2d3750){return _0xbd823a===_0x2d3750;},_0x35d820[_0x2ece5a(0x20b)]='WWovi',_0x35d820[_0x2ece5a(0x313)]=_0x2ece5a(0x234),_0x35d820[_0x2ece5a(0x1f6)]=function(_0x3d4354,_0x356b1f){return _0x3d4354+_0x356b1f;};const _0x1bbfb0=_0x35d820;if(_0x1bbfb0[_0x2ece5a(0x271)](this[_0x2ece5a(0x24f)][_0x2ece5a(0x305)],0x0)){if(_0x1bbfb0[_0x2ece5a(0x2d5)](_0x1bbfb0['lDDjo'],_0x1bbfb0[_0x2ece5a(0x313)]))return 0x0;else return;}const _0x372c2c=JSON[_0x2ece5a(0x241)](this[_0x2ece5a(0x24f)]),_0x5cb0df=_0x1bbfb0[_0x2ece5a(0x1f6)](_0x372c2c[_0x2ece5a(0x1f2)](0x1,-0x1),',');fs[_0x2ece5a(0x2e0)](this[_0x2ece5a(0x256)],_0x5cb0df);}static[a68_0x4e7d6a(0x2ab)](){const _0x7f9281=a68_0x4e7d6a,_0x5552e7={};_0x5552e7[_0x7f9281(0x2de)]=function(_0x411138,_0x2416c0){return _0x411138!==_0x2416c0;},_0x5552e7[_0x7f9281(0x1e9)]=_0x7f9281(0x2e6),_0x5552e7[_0x7f9281(0x23c)]=_0x7f9281(0x25b),_0x5552e7[_0x7f9281(0x1fa)]=function(_0x45010b,_0x13d118){return _0x45010b>_0x13d118;},_0x5552e7[_0x7f9281(0x208)]=function(_0x11d176,_0x1213f3){return _0x11d176===_0x1213f3;},_0x5552e7['RwOoQ']=_0x7f9281(0x272);const _0x45423b=_0x5552e7;if(!fs[_0x7f9281(0x300)](this['errorReportFileName'])){if(_0x45423b[_0x7f9281(0x2de)](_0x45423b[_0x7f9281(0x1e9)],_0x45423b[_0x7f9281(0x23c)]))return this[_0x7f9281(0x24f)];else _0x332c2c=_0x20d0c7[_0x7f9281(0x2b2)](this[_0x7f9281(0x290)]());}let _0x4b1a53=fs[_0x7f9281(0x1e3)](this[_0x7f9281(0x212)])['toString']();_0x4b1a53='['+_0x4b1a53[_0x7f9281(0x1f2)](0x0,-0x1)+']';let _0x787136=JSON[_0x7f9281(0x2fe)](_0x4b1a53);return _0x45423b[_0x7f9281(0x1fa)](this[_0x7f9281(0x24f)][_0x7f9281(0x305)],0x0)&&(_0x45423b['PYPEb'](_0x45423b[_0x7f9281(0x204)],_0x45423b[_0x7f9281(0x204)])?_0x787136=_0x787136[_0x7f9281(0x2b2)](this['_errorEvents']):this[_0x7f9281(0x24b)][_0x7f9281(0x1d7)](_0x2aa19e)),fs[_0x7f9281(0x25c)](this[_0x7f9281(0x212)]),_0x787136;}static[a68_0x4e7d6a(0x29b)](_0x49cf5f){const _0x40b3df=a68_0x4e7d6a,_0x36f36a={};_0x36f36a[_0x40b3df(0x1d6)]=function(_0x2b24f6,_0x726752){return _0x2b24f6!==_0x726752;},_0x36f36a[_0x40b3df(0x258)]=_0x40b3df(0x295),_0x36f36a[_0x40b3df(0x2b6)]=_0x40b3df(0x253);const _0x4e7041=_0x36f36a;if(!this[_0x40b3df(0x28f)]()){if(_0x4e7041[_0x40b3df(0x1d6)](_0x4e7041[_0x40b3df(0x258)],_0x4e7041[_0x40b3df(0x2b6)]))return;else return;}this['_errorEvents'][_0x40b3df(0x1d7)]({'message':_0x49cf5f[_0x40b3df(0x1ec)],'trace':_0x49cf5f[_0x40b3df(0x23b)],'code':_0x49cf5f['code']||null,'time':new Date()});}static[a68_0x4e7d6a(0x2e3)](){const _0x4c74be=a68_0x4e7d6a,_0x502884={};_0x502884['wPQxl']=function(_0x4aab22,_0x5d6d33){return _0x4aab22!==_0x5d6d33;},_0x502884[_0x4c74be(0x2aa)]=_0x4c74be(0x2d0),_0x502884['yrHcB']=function(_0x5c8017,_0x4b9f3b){return _0x5c8017===_0x4b9f3b;},_0x502884['vPdgf']='BcsUI',_0x502884[_0x4c74be(0x22d)]=_0x4c74be(0x252),_0x502884[_0x4c74be(0x30f)]=_0x4c74be(0x269);const _0x47d0b5=_0x502884;try{if(_0x47d0b5[_0x4c74be(0x280)](_0x47d0b5[_0x4c74be(0x2aa)],_0x47d0b5[_0x4c74be(0x2aa)])){const _0x12b80a=this;return function(){const _0x40a515=_0x4c74be,_0x39e9ac=[_0x2b3cc6,_0x3576a4,null][_0x40a515(0x2b2)](arguments);return _0x12b80a[_0x40a515(0x243)][_0x40a515(0x2d6)](_0x12b80a,_0x39e9ac);};}else{if(!this[_0x4c74be(0x28f)]()){if(_0x47d0b5[_0x4c74be(0x2c1)](_0x47d0b5[_0x4c74be(0x281)],_0x47d0b5['vPdgf']))return;else!_0x23551a[_0x8c9528[_0x4c74be(0x315)]]&&(_0x44c56e[_0x3e3a26['name']]=0x0),_0x5e0a9b[_0x581dbd['name']]+=_0x42b13d['duration'];}this[_0x4c74be(0x263)]['disconnect'](),this[_0x4c74be(0x205)](),this[_0x4c74be(0x25e)]();}}catch{_0x47d0b5[_0x4c74be(0x2c1)](_0x47d0b5[_0x4c74be(0x22d)],_0x47d0b5['pPSQu'])?logger[_0x4c74be(0x2fb)](_0x47d0b5['MMlnJ']):this[_0x4c74be(0x238)][_0x4c74be(0x1d7)](_0x2df736);}}static[a68_0x4e7d6a(0x303)](){const _0x54cca5=a68_0x4e7d6a,_0x38fc79={};_0x38fc79[_0x54cca5(0x2c8)]=function(_0x3f868f,_0x4965f7){return _0x3f868f!==_0x4965f7;},_0x38fc79[_0x54cca5(0x2e2)]=_0x54cca5(0x225);const _0x31c4cd=_0x38fc79,_0xa12cec=this[_0x54cca5(0x310)](),_0x369853=this['finalizeErrors']();if(!this[_0x54cca5(0x28f)]()){if(_0x31c4cd[_0x54cca5(0x2c8)](_0x31c4cd[_0x54cca5(0x2e2)],_0x31c4cd[_0x54cca5(0x2e2)]))_0x3deffa+='<tr><td>'+_0x5aa22d['name']+'</td><td>'+_0x1c5ec4[_0x54cca5(0x200)]+'</td></tr>';else{const _0x23419a={};return _0x23419a[_0x54cca5(0x221)]=[],_0x23419a['errors']=[],_0x23419a;}}const _0x29bfc8={};return _0x29bfc8['measures']=_0xa12cec,_0x29bfc8[_0x54cca5(0x30d)]=_0x369853,_0x29bfc8;}}module[a68_0x4e7d6a(0x1db)]=PerformanceTester;function a68_0x3e09(){const _0x328977=['lOGxN','calculateTimesFromMultipleFiles','fePFv','winstonLogger','6BaOqQw','JBUne','WmdyD','slFSj','cvCZe','oHIbX','ebIRI','finalizeErrors','Asqou','pKDja','DfDbW','WqRsi','1592402Epdank','muBea','concat','3873YQCUzz','sFwML','ULZqS','IKnYh','FANUy','oXFZP','kURfV','ceEsz','ALuUk','aIGWw','UdkGq','cwd','AyeCf','values','yrHcB','SygHk','6993450RvGLTU','</td></tr>','writeFileSync','ttNkQ','performance-report.json','szXLH','WXxvu','BROWSERSTACK_SDK_INSTRUMENTATION','entryTypes','fhWNY','Yzqsk','HAjsn','goDjQ','DUXZG','bYzQw','-start','ATVTh','GDfQN','tIEkl','apply','dlhIc','zuSYs','PEHhL','CTjHO','khgYN','GrMkk','EgWxi','eBkeY','observe','appendFileSync','./logger','fWfnH','stopMonitoring','ZzmIh','xdnJa','lWKPX','bWyPf','qSxRU','Hvbsi','VxPSl','mark','Swjtd','XkwMR','entryType','function','phexB','meta','VYLix','264998xeTahT','OLDiM','BgfWS','XZtGb','ezfng','finally','NrwHu','stopAndGenerate','debug','\x20for\x20all\x20processes\x20is\x20','error-report.json','parse','xLwKz','existsSync','JbNHQ','FWODH','finalize','measureWrapper','length','toString','hXocz','mclaj','XPZYp','VUiRr','<h1>Performance\x20Report</h1>','then','errors','FdlJS','MMlnJ','finalizePerfMeasures','BgBCP','jxdrS','fOWQy','EkmiO','name','OIrKg','perf_hooks','catch','dGGVu','push','tgXYY','nkgSL','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','exports','ulUre','WWaPu','tZVwX','mNcGP','QMzbi','false','env','readFileSync','eHBFP','SRioC','knWdM','SbvHR','sSqqw','NOhUD','2ABhNSY','YTADg','message','wQXxU','cyWSW','ydkGE','KMmNq','GeNSb','slice','WgTem','Ahwnr','vqDFL','OJtux','biOYF','Error\x20in\x20writing\x20html\x20','ewckh','jBBNN','DEVVl','TUokN','cNGpT','AdArc','ItdKr','duration','nSqZP','SCarX','cdiIZ','RwOoQ','pushPerfMeasures','Bwdvx','nlhPv','PYPEb','fecRQ','CGZQj','lDDjo','pUHKu','aXnst','FLAVp','YAmrP','ASyzF','xBYDL','errorReportFileName','</tbody></table></body></html>','HNjNk','EVByV','generateHTMLReport','LwwnA','cWckZ','ogVgq','WFLiC','xxrug','map','ryzqw','EjQhy','cLCjC','asxCF','measures','OGfPx','DZjGQ','entries','aTsXC','jRVlC','yGNhP','ytBRf','3332105jHRJlT','forEach','XgjuP','reduce','pPSQu','oJULp','AtHxW','mLJAk','performance-own.html','eedAk','XoHZJ','DKMIn','started','IqOvJ','-end','_measureEvents','fdSNI','UkfqD','stack','OaGuO','8qYFTau','uQSph','getEventsFromJSON','ZoFFU','stringify','KoBpe','measure','match','getEntries','gDRZK','rhmTn','generateJSON','AKEKp','ieHOc','_events','iBidT','VdbTR','qZFDR','_errorEvents','letPG','KSUcs','FVBsm','bLzzJ','RNvOH','uLgQd','errorFile','qDdvl','EHGZe','rifEc','POgdi','COrAH','unlinkSync','Error\x20in\x20doing\x20csv\x20operations:\x20','pushErrors','qeHIj','jsonReportFileName','oZDwb','disconnect','_observer','JlFFI','DYPkY','DOVhG','join','EysnG','Error\x20stopping\x20monitoring','lfGJX','443685UDcCKQ','calculateTimeFromEvents','chTOy','uJpfT','WAziw','Fyyxn','iEHPn','gRIet','URZfG','path','buffered','oraxT','writeFile','uZFDI','LuUQA','ncIUG','YpIEF','blKFD','leXtZ','pOtiO','zMeeA','wPQxl','vPdgf','sCwik','ICwrE','IxWXI','QXYyp','gEBqm','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','STNvv','2308zUVrZx','eBkKK','sHEJb','eLtyX','FVlOh','Performance\x20report\x20is\x20at\x20','isEnabled','getCleanedPerfEvents','CFREa','733440kRECwV','jDTCD','kpoxE','Ybcle','hFdWb','rNDRK','NNtFG','tKJBl','FWuWi','captureError','gwKzl','dHERr','HFRTs','HJzPo'];a68_0x3e09=function(){return _0x328977;};return a68_0x3e09();}
|
|
1
|
+
const a68_0x3bbf65=a68_0x1d17;(function(_0x435b17,_0x4e2ea2){const _0x215f28=a68_0x1d17,_0x2fef11=_0x435b17();while(!![]){try{const _0x4260a3=parseInt(_0x215f28(0x1c3))/0x1+parseInt(_0x215f28(0x1cf))/0x2*(parseInt(_0x215f28(0x1df))/0x3)+-parseInt(_0x215f28(0x1c8))/0x4*(-parseInt(_0x215f28(0x20c))/0x5)+parseInt(_0x215f28(0x1bf))/0x6+parseInt(_0x215f28(0x1cb))/0x7*(-parseInt(_0x215f28(0x19a))/0x8)+parseInt(_0x215f28(0x206))/0x9*(-parseInt(_0x215f28(0x1b0))/0xa)+-parseInt(_0x215f28(0x200))/0xb;if(_0x4260a3===_0x4e2ea2)break;else _0x2fef11['push'](_0x2fef11['shift']());}catch(_0x1baf9a){_0x2fef11['push'](_0x2fef11['shift']());}}}(a68_0x9bc3,0xd3311));function a68_0x9bc3(){const _0x50eb80=['getCleanedPerfEvents','BAwwn','EWcRM','CnkGi','_errorEvents','-end','getEventsFromJSON','parse','_observer','UYcfc','20TAfdyd','finally','YQAMx','\x20for\x20all\x20processes\x20is\x20','errors','exports','apply','qitRA','hIQUW','false','performance-report.json','observe','map','HXVfT','reduce','5242884VjIMYo','sqRJs','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','tGmTx','1019127hEfKku','tfuDc','catch','winstonLogger','started','52KRSDkK','_measureEvents','Bggnv','716443IBblwZ','isEnabled','calculateTimesFromMultipleFiles','readFileSync','859324VmiPWC','existsSync','mark','pushErrors','SbBqo','unlinkSync','vnSWn','forEach','pDcHu','ZErzs','Performance\x20report\x20is\x20at\x20','generateJSON','DMGhC','entryTypes','captureError','entryType','6qDUTVH','rqNsT','Error\x20in\x20doing\x20csv\x20operations:\x20','debug','match','calculateTimeFromEvents','length','perf_hooks','disconnect','startMonitoring','cwd','name','concat','push','jsonReportFileName','error-report.json','Time\x20for\x20','errorReportFileName','./logger','HwLEp','<h1>Performance\x20Report</h1>','GgdcW','join','function','stack','finalizePerfMeasures','Error\x20stopping\x20monitoring','sLjBr','finalizeErrors','hSbpR','Lqauf','BROWSERSTACK_SDK_INSTRUMENTATION','entries','25923161rfGiMh','measures','measure','stringify','./test-observability/utils','buffered','1794033BaLGJH','meta','message','getPerformance','SwGNK','stopAndGenerate','491345UlhkbF','toString','duration','lZSEe','code','jjDzL','generateHTMLReport','EpzbU','hvKfb','Error\x20in\x20writing\x20html\x20','HBufs','HdkYT','then','32pYpOXD','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','_events','appendFileSync','kTNJQ','performance-own.html','ppOph','giKip','pushPerfMeasures','slice','path','</td><td>'];a68_0x9bc3=function(){return _0x50eb80;};return a68_0x9bc3();}const fs=require('fs'),{performance,PerformanceObserver}=require(a68_0x3bbf65(0x1e6)),{sleep,debug}=require(a68_0x3bbf65(0x204)),path=require(a68_0x3bbf65(0x1a4)),logger=require(a68_0x3bbf65(0x1f1))[a68_0x3bbf65(0x1c6)];function a68_0x1d17(_0x2c3605,_0x5ad236){const _0x9bc33b=a68_0x9bc3();return a68_0x1d17=function(_0x1d1792,_0x217434){_0x1d1792=_0x1d1792-0x190;let _0x39b6e9=_0x9bc33b[_0x1d1792];return _0x39b6e9;},a68_0x1d17(_0x2c3605,_0x5ad236);}class PerformanceTester{static [a68_0x3bbf65(0x1ae)];static [a68_0x3bbf65(0x19c)]=[];static ['_measureEvents']=[];static ['_errorEvents']=[];static ['started']=![];static [a68_0x3bbf65(0x1ed)]=a68_0x3bbf65(0x1ba);static ['errorReportFileName']=a68_0x3bbf65(0x1ee);static[a68_0x3bbf65(0x1e8)](_0x86fc2f=a68_0x3bbf65(0x1ba),_0x46e790=a68_0x3bbf65(0x1ee)){const _0x5748b5=a68_0x3bbf65,_0x715ce3={};_0x715ce3[_0x5748b5(0x1a1)]=function(_0x4edba2,_0x4b1fc5){return _0x4edba2===_0x4b1fc5;},_0x715ce3[_0x5748b5(0x1fd)]='measure',_0x715ce3['fXqRH']=_0x5748b5(0x1f6);const _0xcaf733=_0x715ce3;if(this['started']||!this[_0x5748b5(0x1cc)]())return;this[_0x5748b5(0x1ae)]=new PerformanceObserver(_0x4a6933=>{const _0x28f135=_0x5748b5,_0x2aea25={'HdkYT':function(_0x3d242e,_0x219d36){return _0xcaf733['giKip'](_0x3d242e,_0x219d36);},'HIMYZ':_0xcaf733[_0x28f135(0x1fd)]};_0x4a6933['getEntries']()[_0x28f135(0x1d6)](_0x21281c=>{const _0x34926d=_0x28f135;_0x2aea25[_0x34926d(0x198)](_0x21281c[_0x34926d(0x1de)],_0x2aea25['HIMYZ'])?this[_0x34926d(0x1c9)][_0x34926d(0x1ec)](_0x21281c):this['_events'][_0x34926d(0x1ec)](_0x21281c);});});const _0x4605f8={};_0x4605f8[_0x5748b5(0x205)]=!![],_0x4605f8[_0x5748b5(0x1dc)]=[_0xcaf733['fXqRH'],_0xcaf733[_0x5748b5(0x1fd)]],this['_observer'][_0x5748b5(0x1bb)](_0x4605f8),this[_0x5748b5(0x1c7)]=!![],this[_0x5748b5(0x1ed)]=_0x86fc2f,this[_0x5748b5(0x1f0)]=_0x46e790;}static[a68_0x3bbf65(0x209)](){return performance;}static[a68_0x3bbf65(0x1e4)](_0x457516,_0x2c33a7){const _0x3d5121=a68_0x3bbf65,_0xc01219={};_0xc01219['hSbpR']=function(_0x27b7fe,_0x112ace){return _0x27b7fe+_0x112ace;},_0xc01219[_0x3d5121(0x1c0)]=function(_0x12f7c8,_0x57bfd4){return _0x12f7c8||_0x57bfd4;},_0xc01219[_0x3d5121(0x1c4)]=function(_0x56e404,_0x2759f1){return _0x56e404===_0x2759f1;};const _0x4c49ba=_0xc01219,_0xb4913d={};if(!_0x457516||_0x4c49ba['tfuDc'](_0x457516[_0x3d5121(0x1e5)],0x0))return;_0x457516['map'](_0x2d0102=>{const _0x479bcf=_0x3d5121;!_0xb4913d[_0x2d0102[_0x479bcf(0x1ea)]]&&(_0xb4913d[_0x2d0102[_0x479bcf(0x1ea)]]=0x0),_0xb4913d[_0x2d0102[_0x479bcf(0x1ea)]]+=_0x2d0102[_0x479bcf(0x20e)];});const _0xeef573=_0x2c33a7[_0x3d5121(0x1be)]((_0x362a32,_0x9a58a)=>{const _0x46d0e2=_0x3d5121;return _0x4c49ba[_0x46d0e2(0x1fc)](_0xb4913d[_0x9a58a],_0x4c49ba[_0x46d0e2(0x1c0)](_0x362a32,0x0));},0x0);return _0xeef573;}static async[a68_0x3bbf65(0x1cd)](_0x456d02,_0x431f94){const _0x20205d=a68_0x3bbf65,_0x41a7a3={'twxNZ':function(_0x5d1312,_0xbe8032){return _0x5d1312+_0xbe8032;},'HwLEp':function(_0x36e38a,_0x1d11df){return _0x36e38a||_0x1d11df;},'ZErzs':function(_0x51e4a0,_0x5e73e0){return _0x51e4a0===_0x5e73e0;},'rqNsT':function(_0x1d31fd,_0x56bf3b){return _0x1d31fd(_0x56bf3b);},'HBufs':function(_0x430ec9,_0x4dbb4b){return _0x430ec9(_0x4dbb4b);}};if(!_0x456d02||_0x41a7a3[_0x20205d(0x1d8)](_0x456d02[_0x20205d(0x1e5)],0x0))return 0x0;const _0x27a433=[];for(const _0x81b254 of _0x456d02){const _0x5d2719=path[_0x20205d(0x1f5)]('.',_0x81b254);try{const _0x4879dc=this[_0x20205d(0x1ac)](_0x5d2719);_0x4879dc[_0x20205d(0x1bc)](_0x5c219d=>{const _0x193d9d=_0x20205d;!_0x27a433[_0x5c219d[_0x193d9d(0x1ea)]]&&(_0x27a433[_0x5c219d[_0x193d9d(0x1ea)]]=0x0),_0x27a433[_0x5c219d['name']]+=_0x5c219d[_0x193d9d(0x20e)];});}catch(_0xe21bec){_0x41a7a3[_0x20205d(0x1e0)](debug,_0x20205d(0x1e1)+_0xe21bec['toString']());}}const _0x375702=_0x431f94[_0x20205d(0x1be)]((_0x325dc6,_0x43161c)=>{const _0x1fdc36=_0x20205d;return _0x41a7a3['twxNZ'](_0x27a433[_0x43161c],_0x41a7a3[_0x1fdc36(0x1f2)](_0x325dc6,0x0));},0x0);return _0x41a7a3[_0x20205d(0x197)](debug,_0x20205d(0x1ef)+_0x431f94+_0x20205d(0x1b3)+_0x375702),_0x375702;}static[a68_0x3bbf65(0x1ac)](_0x535702){const _0xba0f6d=a68_0x3bbf65;if(!fs[_0xba0f6d(0x1d0)](_0x535702))return[];return JSON[_0xba0f6d(0x1ad)](fs[_0xba0f6d(0x1ce)](_0x535702)['toString']());}static async[a68_0x3bbf65(0x20b)](_0x272d4a=a68_0x3bbf65(0x19f),_0x322eda=null){const _0x4d994c=a68_0x3bbf65,_0x27a4b1={'OnsDW':function(_0x2a5091,_0x2ea994){return _0x2a5091(_0x2ea994);},'hvKfb':function(_0x2de9e3,_0x32a907){return _0x2de9e3(_0x32a907);},'YQAMx':function(_0x179056,_0x543e2e){return _0x179056(_0x543e2e);}};if(!this[_0x4d994c(0x1c7)])return;await _0x27a4b1[_0x4d994c(0x1b2)](sleep,0x1e),this['_observer'][_0x4d994c(0x1e7)](),this[_0x4d994c(0x1c7)]=![],this['generateJSON'](this[_0x4d994c(0x19c)]);const _0x25c176=this[_0x4d994c(0x193)](this[_0x4d994c(0x19c)]),_0x19bcce=path[_0x4d994c(0x1f5)](process[_0x4d994c(0x1e9)](),_0x272d4a);fs['writeFile'](_0x19bcce,_0x25c176,_0x46b2ff=>{const _0xd2ee94=_0x4d994c;if(_0x46b2ff){_0x27a4b1['OnsDW'](debug,_0xd2ee94(0x196)+_0x46b2ff['toString']());return;}_0x27a4b1[_0xd2ee94(0x195)](debug,_0xd2ee94(0x1d9)+_0x19bcce);});if(_0x322eda)return this[_0x4d994c(0x1e4)](this['_events'],_0x322eda);}static['generateHTMLReport'](_0x2ae51b){const _0x1e2f75=a68_0x3bbf65,_0x2e6d41={};_0x2e6d41[_0x1e2f75(0x1a9)]=_0x1e2f75(0x1c1),_0x2e6d41[_0x1e2f75(0x1ca)]=_0x1e2f75(0x1f3),_0x2e6d41[_0x1e2f75(0x190)]=_0x1e2f75(0x19b),_0x2e6d41[_0x1e2f75(0x194)]='</tbody></table></body></html>';const _0x5e2c14=_0x2e6d41;let _0x4507e9=_0x5e2c14['CnkGi'];return _0x4507e9+=_0x5e2c14[_0x1e2f75(0x1ca)],_0x4507e9+=_0x5e2c14[_0x1e2f75(0x190)],_0x2ae51b[_0x1e2f75(0x1d6)](_0x498396=>{const _0x478857=_0x1e2f75;_0x4507e9+='<tr><td>'+_0x498396[_0x478857(0x1ea)]+_0x478857(0x1a5)+_0x498396[_0x478857(0x20e)]+'</td></tr>';}),_0x4507e9+=_0x5e2c14[_0x1e2f75(0x194)],_0x4507e9;}static[a68_0x3bbf65(0x1da)](_0x473779){const _0x3237fd=a68_0x3bbf65;if(!this[_0x3237fd(0x1ed)])return;const _0x19c21f={};_0x473779[_0x3237fd(0x1bc)](_0xbc6715=>{const _0x77d05c=_0x3237fd;!_0x19c21f[_0xbc6715[_0x77d05c(0x1ea)]]&&(_0x19c21f[_0xbc6715[_0x77d05c(0x1ea)]]=0x0),_0x19c21f[_0xbc6715[_0x77d05c(0x1ea)]]+=_0xbc6715[_0x77d05c(0x20e)];});const _0x1056b6=Object[_0x3237fd(0x1ff)](_0x19c21f)[_0x3237fd(0x1bc)](([_0x2af77c,_0xd15129])=>{const _0x503988=_0x3237fd,_0x384422={};return _0x384422['name']=_0x2af77c,_0x384422[_0x503988(0x20e)]=_0xd15129,_0x384422;});fs['writeFileSync'](this[_0x3237fd(0x1ed)],JSON['stringify'](_0x1056b6));}static[a68_0x3bbf65(0x1cc)](){const _0x488387=a68_0x3bbf65,_0x2b1974={};_0x2b1974['SwGNK']=function(_0x42fb78,_0x16b766){return _0x42fb78===_0x16b766;},_0x2b1974[_0x488387(0x1a8)]=_0x488387(0x1b9);const _0x95b97=_0x2b1974;return!_0x95b97[_0x488387(0x20a)](process['env'][_0x488387(0x1fe)],_0x95b97['EWcRM']);}static[a68_0x3bbf65(0x202)](_0x232252,_0x29abb7,_0x355743=null,_0x545b72=null){const _0x48c1ae=a68_0x3bbf65,_0x4fbb0f={};_0x4fbb0f[_0x48c1ae(0x1af)]=function(_0x207427,_0x2b7695){return _0x207427+_0x2b7695;},_0x4fbb0f[_0x48c1ae(0x1a7)]='-start',_0x4fbb0f[_0x48c1ae(0x1c2)]=_0x48c1ae(0x1ab),_0x4fbb0f[_0x48c1ae(0x1d5)]=function(_0x370b2f,_0x59f930){return _0x370b2f instanceof _0x59f930;};const _0x396b7a=_0x4fbb0f;try{if(this[_0x48c1ae(0x1c7)]&&this[_0x48c1ae(0x1cc)]()){let _0x3531fe=_0x232252;_0x355743&&(_0x3531fe=_0x232252+'['+JSON[_0x48c1ae(0x203)](_0x355743)+']');const _0xf78f52=_0x396b7a['UYcfc'](_0x3531fe,_0x396b7a['BAwwn']),_0x77a153=_0x396b7a[_0x48c1ae(0x1af)](_0x3531fe,_0x396b7a[_0x48c1ae(0x1c2)]);performance[_0x48c1ae(0x1d1)](_0xf78f52);const _0x527cd2=_0x29abb7[_0x48c1ae(0x1b6)](null,_0x545b72);if(_0x396b7a[_0x48c1ae(0x1d5)](_0x527cd2,Promise))return new Promise((_0x3b686b,_0x580a59)=>{const _0x4e9db1=_0x48c1ae;_0x527cd2[_0x4e9db1(0x199)](_0x2ef1da=>_0x3b686b(_0x2ef1da))[_0x4e9db1(0x1c5)](_0x4b32bd=>_0x580a59(_0x4b32bd))[_0x4e9db1(0x1b1)](()=>{const _0x2ea58e=_0x4e9db1;performance[_0x2ea58e(0x1d1)](_0x77a153),performance['measure'](_0x3531fe,_0xf78f52,_0x77a153);});});;return performance[_0x48c1ae(0x1d1)](_0x77a153),performance['measure'](_0x3531fe,_0xf78f52,_0x77a153),_0x527cd2;};return _0x29abb7[_0x48c1ae(0x1b6)](null,_0x545b72);}catch(_0x361c3c){return _0x29abb7[_0x48c1ae(0x1b6)](null,_0x545b72);}}static['measureWrapper'](_0x31628f,_0x43e074){const _0x4ff5c0=this;return function(){const _0xfab252=a68_0x1d17,_0x2bbcc6=[_0x31628f,_0x43e074,null][_0xfab252(0x1eb)](arguments);return _0x4ff5c0[_0xfab252(0x202)]['apply'](_0x4ff5c0,_0x2bbcc6);};}static[a68_0x3bbf65(0x1a6)](){const _0x3da038=a68_0x3bbf65,_0x1d587f={};_0x1d587f['GgdcW']=function(_0x207c5f,_0x2f2d05){return _0x207c5f/_0x2f2d05;},_0x1d587f[_0x3da038(0x1a0)]=function(_0xb240fd,_0x97cd86){return _0xb240fd+_0x97cd86;},_0x1d587f[_0x3da038(0x1bd)]=function(_0x560487,_0x4aedaa){return _0x560487*_0x4aedaa;};const _0x1898b1=_0x1d587f,_0x8316ff=/(^.*)\[(.*)\]$/,_0x810a29={},_0x3b647b={};for(const _0x440e19 of this[_0x3da038(0x1c9)]){const _0x5cd078=_0x440e19['name'][_0x3da038(0x1e3)](_0x8316ff),_0x33c17b={};_0x33c17b[_0x3da038(0x1ea)]=_0x440e19[_0x3da038(0x1ea)],_0x33c17b[_0x3da038(0x20e)]=_0x440e19[_0x3da038(0x20e)]||0x0;const _0x5e6047=_0x33c17b;_0x5cd078&&(_0x5e6047['name']=_0x5cd078[0x1],_0x5e6047[_0x3da038(0x207)]=JSON[_0x3da038(0x1ad)](_0x5cd078[0x2]));if(_0x810a29[_0x5e6047[_0x3da038(0x1ea)]]){const _0x277070=_0x810a29[_0x5e6047[_0x3da038(0x1ea)]],_0x45c214=_0x3b647b[_0x5e6047[_0x3da038(0x1ea)]];_0x810a29[_0x5e6047[_0x3da038(0x1ea)]][_0x3da038(0x20e)]=_0x1898b1[_0x3da038(0x1f4)](_0x1898b1['ppOph'](_0x1898b1['HXVfT'](_0x277070['duration'],_0x45c214),_0x5e6047[_0x3da038(0x20e)]),_0x1898b1[_0x3da038(0x1a0)](0x1,_0x45c214)),_0x3b647b[_0x5e6047[_0x3da038(0x1ea)]]++;}else _0x810a29[_0x5e6047[_0x3da038(0x1ea)]]=_0x5e6047,_0x3b647b[_0x5e6047[_0x3da038(0x1ea)]]=0x1;}return Object['values'](_0x810a29);}static[a68_0x3bbf65(0x1a2)](){const _0x5d698d=a68_0x3bbf65,_0x553fc9={};_0x553fc9[_0x5d698d(0x1b8)]=function(_0x346bab,_0x21057f){return _0x346bab===_0x21057f;},_0x553fc9['jjDzL']=function(_0x340657,_0x399fb2){return _0x340657+_0x399fb2;};const _0x5d9056=_0x553fc9;if(_0x5d9056[_0x5d698d(0x1b8)](this[_0x5d698d(0x1c9)][_0x5d698d(0x1e5)],0x0))return;const _0x3e2556=this[_0x5d698d(0x1a6)](),_0x30095d=JSON[_0x5d698d(0x203)](_0x3e2556),_0x22acc3=_0x5d9056[_0x5d698d(0x192)](_0x30095d[_0x5d698d(0x1a3)](0x1,-0x1),',');fs[_0x5d698d(0x19d)](this['jsonReportFileName'],_0x22acc3);}static[a68_0x3bbf65(0x1f8)](){const _0x390b18=a68_0x3bbf65,_0x5b98b7={};_0x5b98b7['pDcHu']=function(_0x4b9fa6,_0x865c61){return _0x4b9fa6===_0x865c61;},_0x5b98b7['DMGhC']=function(_0x3b3daf,_0x577280){return _0x3b3daf>_0x577280;};const _0x2ac1ed=_0x5b98b7;if(!this['started']||_0x2ac1ed[_0x390b18(0x1d7)](this['_measureEvents'][_0x390b18(0x1e5)],0x0))return[];if(!fs['existsSync'](this[_0x390b18(0x1ed)]))return this['_measureEvents'];let _0x3ccb08=fs[_0x390b18(0x1ce)](this['jsonReportFileName'])[_0x390b18(0x20d)]();_0x3ccb08='['+_0x3ccb08[_0x390b18(0x1a3)](0x0,-0x1)+']';let _0x1f73a4=JSON[_0x390b18(0x1ad)](_0x3ccb08);return _0x2ac1ed[_0x390b18(0x1db)](this[_0x390b18(0x1c9)]['length'],0x0)&&(_0x1f73a4=_0x1f73a4[_0x390b18(0x1eb)](this[_0x390b18(0x1a6)]())),this['_observer']['disconnect'](),fs[_0x390b18(0x1d4)](this['jsonReportFileName']),_0x1f73a4;}static[a68_0x3bbf65(0x1d2)](){const _0x5edde9=a68_0x3bbf65,_0x42ba5d={};_0x42ba5d[_0x5edde9(0x19e)]=function(_0x8d802f,_0x34a4ef){return _0x8d802f===_0x34a4ef;},_0x42ba5d[_0x5edde9(0x1d3)]=function(_0xa66f52,_0x2e65c7){return _0xa66f52+_0x2e65c7;};const _0x59513d=_0x42ba5d;if(_0x59513d[_0x5edde9(0x19e)](this[_0x5edde9(0x1aa)][_0x5edde9(0x1e5)],0x0))return;const _0xba83e3=JSON[_0x5edde9(0x203)](this[_0x5edde9(0x1aa)]),_0x82111d=_0x59513d[_0x5edde9(0x1d3)](_0xba83e3[_0x5edde9(0x1a3)](0x1,-0x1),',');fs[_0x5edde9(0x19d)](this['errorFile'],_0x82111d);}static[a68_0x3bbf65(0x1fb)](){const _0x5508e1=a68_0x3bbf65,_0x311322={};_0x311322[_0x5508e1(0x1b7)]=function(_0x14c302,_0x521bda){return _0x14c302>_0x521bda;};const _0x5e4b58=_0x311322;if(!fs[_0x5508e1(0x1d0)](this[_0x5508e1(0x1f0)]))return this[_0x5508e1(0x1aa)];let _0x1b0875=fs[_0x5508e1(0x1ce)](this[_0x5508e1(0x1f0)])[_0x5508e1(0x20d)]();_0x1b0875='['+_0x1b0875[_0x5508e1(0x1a3)](0x0,-0x1)+']';let _0x2e1e2f=JSON[_0x5508e1(0x1ad)](_0x1b0875);return _0x5e4b58[_0x5508e1(0x1b7)](this['_errorEvents'][_0x5508e1(0x1e5)],0x0)&&(_0x2e1e2f=_0x2e1e2f['concat'](this[_0x5508e1(0x1aa)])),fs[_0x5508e1(0x1d4)](this[_0x5508e1(0x1f0)]),_0x2e1e2f;}static[a68_0x3bbf65(0x1dd)](_0x14ef6b){const _0x46925e=a68_0x3bbf65;if(!this[_0x46925e(0x1cc)]())return;this[_0x46925e(0x1aa)][_0x46925e(0x1ec)]({'message':_0x14ef6b[_0x46925e(0x208)],'trace':_0x14ef6b[_0x46925e(0x1f7)],'code':_0x14ef6b[_0x46925e(0x191)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x496763=a68_0x3bbf65,_0x5d2ae4={};_0x5d2ae4[_0x496763(0x1fa)]=_0x496763(0x1f9);const _0x2979a4=_0x5d2ae4;try{if(!this['isEnabled']())return;this['_observer'][_0x496763(0x1e7)](),this[_0x496763(0x1a2)](),this[_0x496763(0x1d2)]();}catch{logger[_0x496763(0x1e2)](_0x2979a4['sLjBr']);}}static['finalize'](){const _0xc1aaed=a68_0x3bbf65,_0x4ab7dc=this['finalizePerfMeasures'](),_0xb1edf7=this[_0xc1aaed(0x1fb)]();if(!this['isEnabled']()){const _0x40237e={};return _0x40237e[_0xc1aaed(0x201)]=[],_0x40237e[_0xc1aaed(0x1b4)]=[],_0x40237e;}const _0x3e7b78={};return _0x3e7b78[_0xc1aaed(0x201)]=_0x4ab7dc,_0x3e7b78['errors']=_0xb1edf7,_0x3e7b78;}}module[a68_0x3bbf65(0x1b5)]=PerformanceTester;
|