browserstack-node-sdk 1.31.16 → 1.31.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.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/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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.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
|
-
const
|
|
1
|
+
const a54_0x245422=a54_0x8f05;(function(_0x16d40e,_0x5bb619){const _0xaeec94=a54_0x8f05,_0x438cd0=_0x16d40e();while(!![]){try{const _0x20dfb7=-parseInt(_0xaeec94(0x1ae))/0x1+parseInt(_0xaeec94(0x198))/0x2*(parseInt(_0xaeec94(0x1a3))/0x3)+parseInt(_0xaeec94(0x1a7))/0x4+-parseInt(_0xaeec94(0x1a6))/0x5*(parseInt(_0xaeec94(0x199))/0x6)+-parseInt(_0xaeec94(0x1a5))/0x7*(-parseInt(_0xaeec94(0x19b))/0x8)+-parseInt(_0xaeec94(0x18c))/0x9*(parseInt(_0xaeec94(0x19e))/0xa)+parseInt(_0xaeec94(0x191))/0xb;if(_0x20dfb7===_0x5bb619)break;else _0x438cd0['push'](_0x438cd0['shift']());}catch(_0x435e2c){_0x438cd0['push'](_0x438cd0['shift']());}}}(a54_0x46c5,0xd1bb2));const winston=require(a54_0x245422(0x18f)),os=require('os'),fs=require('fs'),path=require(a54_0x245422(0x194)),logDir=a54_0x245422(0x195);!fs[a54_0x245422(0x1ac)](logDir)&&fs[a54_0x245422(0x192)](logDir);const a54_0x1d2fa3={};a54_0x1d2fa3['name']=a54_0x245422(0x19f);const transports={'loggerConsole':new winston[(a54_0x245422(0x193))][(a54_0x245422(0x18b))](a54_0x1d2fa3),'loggerFile':new winston[(a54_0x245422(0x193))][(a54_0x245422(0x1a1))]({'filename':path[a54_0x245422(0x18d)](logDir,'/usage.log')}),'debugLoggerFile':new winston[(a54_0x245422(0x193))][(a54_0x245422(0x1a1))]({'filename':path[a54_0x245422(0x18d)](os[a54_0x245422(0x1a9)](),a54_0x245422(0x1a0)),'level':a54_0x245422(0x190)})},a54_0x3d5ade={};a54_0x3d5ade['format']=a54_0x245422(0x19d);const a54_0x3723c9={};a54_0x3723c9[a54_0x245422(0x1a4)]=!![];function a54_0x46c5(){const _0x3aae3e=['console.info','/usage-debug.log','File','format','3oywqZt','level','1171849bdfBaF','665595DqAqvI','2830488XcZXbn','message','tmpdir','timestamp','winstonLogger','existsSync','combine','856021tPeGdk','Console','31194equBGh','join','fileLogger','winston','debug','18468406PHmmau','mkdirSync','transports','path','log','\x20-\x20','colorize','1186858YRmRBY','42axFbgl','createLogger','24qMfedb','loggerFile','YYYY-MM-DD\x20HH:mm:ss','2410HulMcV'];a54_0x46c5=function(){return _0x3aae3e;};return a54_0x46c5();}const winstonLoggerParams={'format':winston[a54_0x245422(0x1a2)][a54_0x245422(0x1ad)](winston[a54_0x245422(0x1a2)][a54_0x245422(0x1aa)](a54_0x3d5ade),winston[a54_0x245422(0x1a2)][a54_0x245422(0x197)](a54_0x3723c9),winston['format']['printf'](_0x395d95=>_0x395d95['timestamp']+a54_0x245422(0x196)+_0x395d95[a54_0x245422(0x1a4)]+':\x20'+_0x395d95[a54_0x245422(0x1a8)])),'transports':[transports['loggerConsole'],transports[a54_0x245422(0x19c)],transports['debugLoggerFile']]},a54_0x465a9e={};a54_0x465a9e[a54_0x245422(0x193)]=[transports['loggerFile']];const winstonFileLoggerParams=a54_0x465a9e;function a54_0x8f05(_0xdb2b3c,_0x80758f){const _0x46c580=a54_0x46c5();return a54_0x8f05=function(_0x8f05ff,_0x4b6daf){_0x8f05ff=_0x8f05ff-0x18b;let _0x1d7b63=_0x46c580[_0x8f05ff];return _0x1d7b63;},a54_0x8f05(_0xdb2b3c,_0x80758f);}exports[a54_0x245422(0x1ab)]=new winston['createLogger'](winstonLoggerParams),exports[a54_0x245422(0x18e)]=new winston[(a54_0x245422(0x19a))](winstonFileLoggerParams),exports['logDir']=logDir,exports[a54_0x245422(0x193)]=transports;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a55_0x1e8048=a55_0x3d97;function a55_0x5764(){var _0x4f26ef=['mYQOr','HtppJ','jhUrY','UozGB','initScreenshot','eqiFX','xxYqR','toISOString','ECuWQ','GbLTd','JiipB','WxQnJ','uatQA','quit','SJZAK','2801778vuJPKr','uVZdx','SPmBc','HPMcB','WAfPa','iTwqx','emit','ddCdE','pid','TEST_SCREENSHOT','ACIJK','BS_TESTOPS_ALLOW_SCREENSHOTS','overrideQuit','eIUEt','xtpTp','bs:addLog:','LXOSu','then','hbaAE','kEoVe','wynnq','EAvLH','Nhsrv','sgfil','RhHGn','peTMQ','3141350oqgeIS','geebh','VYYyR','1116944qUTzSp','quitCount_','8jMYQrX','iWFpp','sHPqp','PyYYt','PULPZ','12QqAymz','67647eZgZVr','KqVWc','2018160hwwSLO','nLmIr','CyZCm','AoTpD','vQmjh','JydlE','true','REhGo','KrYWJ','348HcdjaO','FfKiI','13450nbjZex','patchQuit','190320KuPpoY','takeScreenshot','ufpwB','LOcim','wcMXE','RGykf','uGuDz','initQuit','patchScreenshot','crtCh','zeEcO','pBDgq','MPuZG','NRcCa','env','YbAtI','uhaHj','lJQjN','PJYXL','jnfsP'];a55_0x5764=function(){return _0x4f26ef;};return a55_0x5764();}function a55_0x3d97(_0x7866e2,_0x4a8bc4){var _0x576428=a55_0x5764();return a55_0x3d97=function(_0x3d97f6,_0x2c2bd9){_0x3d97f6=_0x3d97f6-0x97;var _0x3a3074=_0x576428[_0x3d97f6];return _0x3a3074;},a55_0x3d97(_0x7866e2,_0x4a8bc4);}(function(_0x4c66eb,_0x5ca8d7){var _0x587a4d=a55_0x3d97,_0x492544=_0x4c66eb();while(!![]){try{var _0x398b41=-parseInt(_0x587a4d(0xb3))/0x1+parseInt(_0x587a4d(0xa3))/0x2*(parseInt(_0x587a4d(0xa4))/0x3)+-parseInt(_0x587a4d(0x9c))/0x4+-parseInt(_0x587a4d(0xb1))/0x5*(-parseInt(_0x587a4d(0xaf))/0x6)+parseInt(_0x587a4d(0xd6))/0x7*(parseInt(_0x587a4d(0x9e))/0x8)+-parseInt(_0x587a4d(0xa6))/0x9+parseInt(_0x587a4d(0x99))/0xa;if(_0x398b41===_0x5ca8d7)break;else _0x492544['push'](_0x492544['shift']());}catch(_0x25aa5b){_0x492544['push'](_0x492544['shift']());}}}(a55_0x5764,0x4c263),exports['overrideTakeScreenshot']=_0xa5d597=>{var _0x4e4b2f=a55_0x3d97,_0x4b171f={'SJZAK':_0x4e4b2f(0xdf),'kEoVe':function(_0x1bd828,_0x2a1722){return _0x1bd828(_0x2a1722);},'sgfil':function(_0x5cb17f){return _0x5cb17f();},'PULPZ':function(_0x2c8e89,_0x57836e){return _0x2c8e89===_0x57836e;},'jhUrY':_0x4e4b2f(0xca),'CyZCm':_0x4e4b2f(0xb0),'lJQjN':_0x4e4b2f(0xc3),'xxYqR':function(_0x1abc82,_0x8a6335){return _0x1abc82>_0x8a6335;},'ddCdE':'VbEMu','nLmIr':function(_0x3d28e8,_0x5c518f){return _0x3d28e8!==_0x5c518f;},'iWFpp':_0x4e4b2f(0xac),'wcwlI':function(_0x3a3bbc,_0xca24c8){return _0x3a3bbc===_0xca24c8;},'geebh':_0x4e4b2f(0xbd),'wcMXE':_0x4e4b2f(0xc0),'JiipB':function(_0x51082e,_0x39aa72){return _0x51082e!==_0x39aa72;},'YbAtI':'DhfFZ','EAvLH':'kLeGS'};if(_0x4b171f[_0x4e4b2f(0xa7)](process[_0x4e4b2f(0xc1)][_0x4e4b2f(0xe1)],_0x4b171f[_0x4e4b2f(0x9f)])){if(_0x4b171f['wcwlI'](_0x4b171f[_0x4e4b2f(0x9a)],_0x4b171f[_0x4e4b2f(0xb7)]))return _0x4c68ca[_0x4e4b2f(0xba)]();else return;}if(_0xa5d597[_0x4e4b2f(0xbb)]){if(_0x4b171f[_0x4e4b2f(0xd1)](_0x4b171f[_0x4e4b2f(0xc2)],_0x4b171f[_0x4e4b2f(0xeb)]))return;else{var _0x2dc626={'ECuWQ':_0x4b171f[_0x4e4b2f(0xd5)],'iTwqx':function(_0x32a97e,_0x1cbddd){var _0x536bd9=_0x4e4b2f;return _0x4b171f[_0x536bd9(0xe9)](_0x32a97e,_0x1cbddd);}};_0x11c3bd[_0x4e4b2f(0xcb)]()[_0x4e4b2f(0xe7)](_0x184390=>{var _0x2d4c4d=_0x4e4b2f;_0x37847c[_0x2d4c4d(0xdc)](_0x2d4c4d(0xe5)+_0x4334d8[_0x2d4c4d(0xde)],{'timestamp':new _0x369e5b()['toISOString'](),'message':_0x184390,'kind':_0x2dc626[_0x2d4c4d(0xcf)]}),_0x2dc626[_0x2d4c4d(0xdb)](_0x25caec,_0x184390);});}}_0xa5d597[_0x4e4b2f(0xbb)]=!![],_0xa5d597[_0x4e4b2f(0xcb)]=_0xa5d597[_0x4e4b2f(0xb4)],_0xa5d597[_0x4e4b2f(0xb4)]=()=>{var _0x4ecf02=_0x4e4b2f;if(_0x4b171f[_0x4ecf02(0xa2)](_0x4b171f[_0x4ecf02(0xdd)],_0x4b171f[_0x4ecf02(0xdd)]))return new Promise(function(_0x4e79ee,_0x440737){var _0x3c23e1=_0x4ecf02,_0x331798={'eIUEt':function(_0x5b0c87){var _0x58d6ac=a55_0x3d97;return _0x4b171f[_0x58d6ac(0xed)](_0x5b0c87);},'GCDJB':function(_0xc95ec9,_0x418d61){var _0x47811c=a55_0x3d97;return _0x4b171f[_0x47811c(0xa2)](_0xc95ec9,_0x418d61);},'peTMQ':_0x4b171f[_0x3c23e1(0xc9)],'jnfsP':_0x4b171f[_0x3c23e1(0xa8)],'JydlE':_0x4b171f[_0x3c23e1(0xd5)],'vQmjh':function(_0x25dce5,_0x1fd6f7){var _0x45f6e2=_0x3c23e1;return _0x4b171f[_0x45f6e2(0xe9)](_0x25dce5,_0x1fd6f7);}};if(_0x4b171f[_0x3c23e1(0xa2)](_0x4b171f[_0x3c23e1(0xc4)],_0x4b171f[_0x3c23e1(0xc4)]))_0xa5d597[_0x3c23e1(0xcb)]()[_0x3c23e1(0xe7)](_0x336f04=>{var _0xf66b12=_0x3c23e1,_0x4dbe44={'dErvX':function(_0xa87036){var _0x1e9564=a55_0x3d97;return _0x331798[_0x1e9564(0xe3)](_0xa87036);}};_0x331798['GCDJB'](_0x331798[_0xf66b12(0x98)],_0x331798[_0xf66b12(0xc6)])?_0x4dbe44['dErvX'](_0x456cd5):(process[_0xf66b12(0xdc)](_0xf66b12(0xe5)+process[_0xf66b12(0xde)],{'timestamp':new Date()[_0xf66b12(0xce)](),'message':_0x336f04,'kind':_0x331798[_0xf66b12(0xab)]}),_0x331798[_0xf66b12(0xaa)](_0x4e79ee,_0x336f04));});else return _0xa4f280[_0x3c23e1(0xba)]();});else{_0x8e479d[_0x4ecf02(0x9d)]+=0x1;if(_0x4b171f[_0x4ecf02(0xcd)](_0x3523cf[_0x4ecf02(0x9d)],0x1))return _0x221c18[_0x4ecf02(0xba)]();}};},exports[a55_0x1e8048(0xe2)]=(_0x264ed9,_0xb702d4=null)=>{var _0x5a2ad6=a55_0x1e8048,_0x5cced2={'WAfPa':_0x5a2ad6(0xdf),'RhHGn':function(_0x5c06d7,_0x3b0418){return _0x5c06d7(_0x3b0418);},'LXOSu':function(_0x427c1c,_0x525d0d){return _0x427c1c>_0x525d0d;},'mYQOr':function(_0x3a7db6,_0x426d38){return _0x3a7db6!==_0x426d38;},'xtpTp':_0x5a2ad6(0xc8),'AoTpD':_0x5a2ad6(0xe0),'sBPae':function(_0x3f126){return _0x3f126();},'wynnq':function(_0x3f5af2,_0x4b4c90){return _0x3f5af2===_0x4b4c90;},'VYYyR':_0x5a2ad6(0xa0),'RGykf':_0x5a2ad6(0xad),'pBDgq':_0x5a2ad6(0xcc),'GbLTd':_0x5a2ad6(0xb5),'uatQA':function(_0x3cc0df,_0x196e0e){return _0x3cc0df>_0x196e0e;},'uVZdx':function(_0x2dbfd5,_0x3df0e2){return _0x2dbfd5===_0x3df0e2;},'csLOh':_0x5a2ad6(0xd8),'LOcim':_0x5a2ad6(0xc5),'KqVWc':_0x5a2ad6(0xec)};if(_0x264ed9[_0x5a2ad6(0xb2)]){if(_0x5cced2[_0x5a2ad6(0xea)](_0x5cced2['KqVWc'],_0x5cced2[_0x5a2ad6(0xa5)]))return;else return;}_0x264ed9['patchQuit']=!![],_0x264ed9[_0x5a2ad6(0xba)]=_0x264ed9['quit'],_0x264ed9[_0x5a2ad6(0xd4)]=()=>{var _0x4bda42=_0x5a2ad6,_0x17c233={'WxQnJ':_0x5cced2[_0x4bda42(0xda)],'PyYYt':function(_0xb80753,_0x3cde92){var _0x1d43c4=_0x4bda42;return _0x5cced2[_0x1d43c4(0x97)](_0xb80753,_0x3cde92);},'hbaAE':function(_0x24ceba,_0x2e03e1){return _0x5cced2['LXOSu'](_0x24ceba,_0x2e03e1);},'HgHRY':function(_0xe538f7,_0x53a019){var _0x42fcb4=_0x4bda42;return _0x5cced2[_0x42fcb4(0xc7)](_0xe538f7,_0x53a019);},'VLFyP':_0x5cced2[_0x4bda42(0xe4)],'KrYWJ':_0x5cced2[_0x4bda42(0xa9)],'MPuZG':function(_0x535d35){return _0x5cced2['sBPae'](_0x535d35);}};if(_0xb702d4){if(_0x5cced2['wynnq'](_0x5cced2[_0x4bda42(0x9b)],_0x5cced2[_0x4bda42(0xb8)]))_0xbe6e26[_0x4bda42(0xdc)](_0x4bda42(0xe5)+_0x161ec3['pid'],{'timestamp':new _0x5827da()[_0x4bda42(0xce)](),'message':_0x393d1d,'kind':_0x17c233[_0x4bda42(0xd2)]}),_0x17c233[_0x4bda42(0xa1)](_0x31628f,_0x466494);else{_0xb702d4[_0x4bda42(0x9d)]+=0x1;if(_0x5cced2[_0x4bda42(0xe6)](_0xb702d4[_0x4bda42(0x9d)],0x1)){if(_0x5cced2[_0x4bda42(0xea)](_0x5cced2[_0x4bda42(0xbe)],_0x5cced2[_0x4bda42(0xbe)]))return _0x264ed9[_0x4bda42(0xba)]();else return;}}}else{if(_0x5cced2[_0x4bda42(0xc7)](_0x5cced2[_0x4bda42(0xd0)],_0x5cced2[_0x4bda42(0xd0)])){var _0x3b5e3a={'crtCh':_0x5cced2['WAfPa'],'HPMcB':function(_0x277cfa,_0x173407){var _0x576ccd=_0x4bda42;return _0x5cced2[_0x576ccd(0x97)](_0x277cfa,_0x173407);}};return new _0x5577a3(function(_0x115b57,_0x3840fe){var _0x3c6403=_0x4bda42,_0x413062={'mUOUL':_0x3b5e3a[_0x3c6403(0xbc)],'uGuDz':function(_0x4ec35a,_0x57d3e0){var _0x4d1c3c=_0x3c6403;return _0x3b5e3a[_0x4d1c3c(0xd9)](_0x4ec35a,_0x57d3e0);}};_0x413a62[_0x3c6403(0xcb)]()[_0x3c6403(0xe7)](_0x5a855a=>{var _0x32cd49=_0x3c6403;_0x523cb1[_0x32cd49(0xdc)](_0x32cd49(0xe5)+_0x3c08f3[_0x32cd49(0xde)],{'timestamp':new _0x29bef8()[_0x32cd49(0xce)](),'message':_0x5a855a,'kind':_0x413062['mUOUL']}),_0x413062[_0x32cd49(0xb9)](_0x115b57,_0x5a855a);});});}else{_0x264ed9['quitCount_']+=0x1;if(_0x5cced2[_0x4bda42(0xd3)](_0x264ed9['quitCount_'],0x1)){if(_0x5cced2[_0x4bda42(0xd7)](_0x5cced2['csLOh'],_0x5cced2[_0x4bda42(0xb6)])){_0x4178bf['quitCount_']+=0x1;if(_0x17c233[_0x4bda42(0xe8)](_0x47ad23['quitCount_'],0x1))return _0x28c725[_0x4bda42(0xba)]();}else return _0x264ed9[_0x4bda42(0xba)]();}}}return new Promise(function(_0x15c245){var _0x5a2dd2=_0x4bda42;if(_0x17c233['HgHRY'](_0x17c233['VLFyP'],_0x17c233[_0x5a2dd2(0xae)]))_0x17c233[_0x5a2dd2(0xbf)](_0x15c245);else return;});};});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x1510fc=a56_0xfe1f;(function(_0x1f4fdb,_0x39ca42){const _0x1c52e0=a56_0xfe1f,_0x4c7dea=_0x1f4fdb();while(!![]){try{const _0x25785e=parseInt(_0x1c52e0(0x1be))/0x1*(parseInt(_0x1c52e0(0x1ea))/0x2)+parseInt(_0x1c52e0(0x184))/0x3+parseInt(_0x1c52e0(0x1b2))/0x4*(-parseInt(_0x1c52e0(0x1e8))/0x5)+-parseInt(_0x1c52e0(0x1d8))/0x6+-parseInt(_0x1c52e0(0x1d5))/0x7+-parseInt(_0x1c52e0(0x188))/0x8*(parseInt(_0x1c52e0(0x1dc))/0x9)+parseInt(_0x1c52e0(0x1c3))/0xa;if(_0x25785e===_0x39ca42)break;else _0x4c7dea['push'](_0x4c7dea['shift']());}catch(_0x5a6a26){_0x4c7dea['push'](_0x4c7dea['shift']());}}}(a56_0x6eaf,0x937a4));const fs=require('fs'),path=require(a56_0x1510fc(0x1e0)),os=require('os'),{spawn}=require('child_process'),helper=require(a56_0x1510fc(0x1d6)),logger=require(a56_0x1510fc(0x1ab))[a56_0x1510fc(0x1f0)],{logDir}=require(a56_0x1510fc(0x1ab)),PercyBinary=require(a56_0x1510fc(0x1cb));function a56_0xfe1f(_0x2b7c4d,_0x29aa8d){const _0x6eaf8e=a56_0x6eaf();return a56_0xfe1f=function(_0xfe1f14,_0x19bf85){_0xfe1f14=_0xfe1f14-0x176;let _0x2d5eb5=_0x6eaf8e[_0xfe1f14];return _0x2d5eb5;},a56_0xfe1f(_0x2b7c4d,_0x29aa8d);}function a56_0x6eaf(){const _0x4650fe=['dYXtV','flags','9TjeJfO','GET','pwJlI','kXQda','path','vzmvr','AegZB','mlygd','anIRh','hvrFD','gMZNQ','debug','15lpNBTm','bsHnG','529346VaBlvE','lmwft','omPVy','ETChW','OtVEt','vclXk','winstonLogger','OhDiM','onXbE','percy.json','createWriteStream','OmMVB','oQSBJ','join','kfbLS','MusZF','qNfVJ','AdwVd','IZjkZ','NDwlo','fRtdT','PERCY_TOKEN','unIrW','ENWCJ','rabls','&type=','TDpuQ','GNPdl','createPercyConfig','percy/healthcheck','PZwAG','Error\x20creating\x20percy\x20config:\x20','error','WkfBs','3336141ZNsQwd','sQfKp','stdout','PERCY_SERVER_ADDRESS','3718936DmLroa','close','http://localhost:5338','aqTAe','abVST','ZWfSh','aZFRF','tmpdir','sXAUW','stringify','LTxQh','api/app_percy/get_project_token?name=','stop','pipe','YWLzU','DUNMg','token','nodeRequest','fNLoR','Vcosg','healthcheck','app','IVKtR','env','qmaMx','version','BohYS','XAHVf','pNnEg','VpLWD','oBfXL','writeFile','WdrSZ','XdTfA','automate','../logger','bYmtC','ZnNui','fXmSG','vySch','YndjA','omGqJ','1004348mbBcOo','push','txHJc','projectName','pqwKQ','exec','isProcessRunning','getBinaryPath','ZBwgz','wDPvo','DXmAZ','WCtdd','2eBOrhK','data','ngwKX','bLGAs','fetchPercyToken','11675040WVQvYz','Percy\x20config\x20created\x20at\x20','rwccT','MWUap','exec:stop','HEnHt','app:exec','TRQkI','./PercyBinary','Ximal','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','percyOptions','EqgcU','Percy\x20healthcheck\x20successful','start','LrjmP','MOqzq','ZGqwg','5167386hXnbfk','../helper','Lunmz','1491018cJFidw','JAQjR'];a56_0x6eaf=function(){return _0x4650fe;};return a56_0x6eaf();}class Percy{#logfile=path[a56_0x1510fc(0x1f7)](logDir,'percy.log');#address=process[a56_0x1510fc(0x19f)][a56_0x1510fc(0x187)]||a56_0x1510fc(0x18a);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a56_0x1510fc(0x1b8)]=![];constructor(_0x326570){const _0x4201a8=a56_0x1510fc,_0x30c922={};_0x30c922[_0x4201a8(0x190)]=function(_0x4564e1,_0x40800e){return _0x4564e1===_0x40800e;},_0x30c922['hvrFD']='BsXUT';const _0x2d9704=_0x30c922;this.#config=_0x326570;if(!!_0x326570[_0x4201a8(0x19d)]){if(_0x2d9704[_0x4201a8(0x190)](_0x2d9704[_0x4201a8(0x1e5)],_0x2d9704[_0x4201a8(0x1e5)]))this.#isApp=!![];else return![];}}async #getBinaryPath(){const _0x181236=a56_0x1510fc,_0x48ec6d={'MOqzq':function(_0x426a4d,_0x2378f5){return _0x426a4d(_0x2378f5);},'IZjkZ':function(_0x417537,_0x232d48){return _0x417537+_0x232d48;},'vzmvr':_0x181236(0x1c4),'pwJlI':function(_0x387463,_0x94dd86){return _0x387463!==_0x94dd86;},'XdTfA':'evPWZ','NDwlo':_0x181236(0x1ae)};if(!this.#binaryPath){if(_0x48ec6d[_0x181236(0x1de)](_0x48ec6d[_0x181236(0x1a9)],_0x48ec6d[_0x181236(0x1fd)])){const _0x59e128=new PercyBinary();this.#binaryPath=await _0x59e128[_0x181236(0x1b9)](this.#config);}else _0x528b5f&&(_0x53da94[_0x181236(0x182)](_0x181236(0x181)+_0x955f63),_0x48ec6d[_0x181236(0x1d3)](_0x2e6eb0,null)),_0x397974[_0x181236(0x1e7)](_0x48ec6d[_0x181236(0x1fc)](_0x48ec6d[_0x181236(0x1e1)],_0x5393f3)),_0x48ec6d['MOqzq'](_0x183cfb,_0x15c402);}return this.#binaryPath;}async #sleep(_0x446e14){return new Promise(_0x154e0b=>setTimeout(_0x154e0b,_0x446e14));}async[a56_0x1510fc(0x19c)](){const _0xb98588=a56_0x1510fc,_0x54226d={'reUJi':_0xb98588(0x1d0),'ETChW':function(_0x31774a,_0x20fff9){return _0x31774a(_0x20fff9);},'WCtdd':function(_0x4004c1,_0x198a89,_0x402660){return _0x4004c1(_0x198a89,_0x402660);},'AGxdX':'exec:stop','AegZB':_0xb98588(0x189),'oBfXL':function(_0x2048d7,_0x27c12a){return _0x2048d7!==_0x27c12a;},'BWVok':'XItUp','coiJl':_0xb98588(0x180),'IVKtR':_0xb98588(0x1dd),'OhDiM':_0xb98588(0x17f),'XAHVf':function(_0x4899b2,_0x224d4c){return _0x4899b2===_0x224d4c;},'ZBwgz':_0xb98588(0x1cf),'WkfBs':'zqMwT','hUhGI':function(_0x414615,_0xe673fd){return _0x414615!==_0xe673fd;},'sPDFg':'AhZhX','vySch':'hyjQG'};try{if(_0x54226d[_0xb98588(0x1a6)](_0x54226d['BWVok'],_0x54226d['coiJl'])){const _0x3de29c=await helper[_0xb98588(0x199)](_0x54226d[_0xb98588(0x19e)],_0x54226d[_0xb98588(0x1f1)],null,null,this.#address);if(_0x3de29c)return _0x54226d[_0xb98588(0x1a3)](_0x54226d[_0xb98588(0x1ba)],_0x54226d[_0xb98588(0x183)])?(_0x388726['debug'](_0x54226d['reUJi']),!![]):!![];}else{const _0x51b5a7=_0x54226d[_0xb98588(0x1bd)](_0x76a3b0,_0x367ea4,[_0x54226d['AGxdX']]);_0x51b5a7['on'](_0x54226d[_0xb98588(0x1e2)],_0x38af6a=>{const _0x192765=_0xb98588;this[_0x192765(0x1b8)]=![],_0x54226d[_0x192765(0x1ed)](_0x192201,_0x38af6a);});}}catch(_0x102c32){if(_0x54226d['hUhGI'](_0x54226d['sPDFg'],_0x54226d[_0xb98588(0x1af)]))return![];else _0x416784[_0xb98588(0x1b3)]('-c',_0x2c9e45);}}async[a56_0x1510fc(0x1d1)](){const _0x5c4946=a56_0x1510fc,_0x33bf6c={'TRQkI':function(_0x4de6e3,_0x5aafd8){return _0x4de6e3(_0x5aafd8);},'ZWfSh':function(_0x226b90,_0x381db7){return _0x226b90===_0x381db7;},'pNnEg':_0x5c4946(0x197),'mSbFf':function(_0x115525,_0x34866a){return _0x115525(_0x34866a);},'vclXk':'EHHQE','qNfVJ':_0x5c4946(0x1c9),'omPVy':_0x5c4946(0x1b7),'fNLoR':function(_0x3e61e7,_0x47cfc5){return _0x3e61e7!==_0x47cfc5;},'mlygd':_0x5c4946(0x1c1),'bMkcT':_0x5c4946(0x1f9),'yLJVo':function(_0xe71c3b,_0x382272,_0x141841,_0x4196fd){return _0xe71c3b(_0x382272,_0x141841,_0x4196fd);},'ZnNui':_0x5c4946(0x189),'kXQda':function(_0x210545,_0x5695eb){return _0x210545!==_0x5695eb;},'LrjmP':_0x5c4946(0x185),'oQSBJ':_0x5c4946(0x1cc),'OtVEt':_0x5c4946(0x1d4),'JAQjR':_0x5c4946(0x1f5),'pqwKQ':_0x5c4946(0x1d0)},_0x222f9d=await this.#getBinaryPath(),_0x1caed4={};_0x1caed4[_0x5c4946(0x1db)]='a';const _0x22d360=fs[_0x5c4946(0x1f4)](this.#logfile,_0x1caed4),_0xc55706=await this[_0x5c4946(0x1c2)](),_0xc8da9a=await this[_0x5c4946(0x17e)]();if(!_0xc55706){if(_0x33bf6c[_0x5c4946(0x18d)](_0x33bf6c[_0x5c4946(0x1ef)],_0x33bf6c[_0x5c4946(0x1ef)]))return![];else _0x239588['error'](_0x5c4946(0x181)+_0x1318ff),_0x33bf6c[_0x5c4946(0x1ca)](_0x257e92,null);}const _0x72e710=[(this.#isApp?_0x33bf6c[_0x5c4946(0x1fa)]:_0x33bf6c[_0x5c4946(0x1ec)])+':start'];if(_0xc8da9a){if(_0x33bf6c[_0x5c4946(0x19a)](_0x33bf6c[_0x5c4946(0x1e3)],_0x33bf6c['bMkcT']))_0x72e710[_0x5c4946(0x1b3)]('-c',_0xc8da9a);else return null;}const _0x225100={};_0x225100[_0x5c4946(0x177)]=_0xc55706,this.#proc=_0x33bf6c['yLJVo'](spawn,_0x222f9d,_0x72e710,{'env':Object['assign'](process[_0x5c4946(0x19f)],_0x225100)}),this.#proc[_0x5c4946(0x186)][_0x5c4946(0x195)](_0x22d360),this.#proc['stderr']['pipe'](_0x22d360),this[_0x5c4946(0x1b8)]=!![];var _0x208c20=this;this.#proc['on'](_0x33bf6c[_0x5c4946(0x1ad)],function(_0x4934b3){const _0xae7484=_0x5c4946;if(_0x33bf6c['ZWfSh'](_0x33bf6c['pNnEg'],_0x33bf6c[_0xae7484(0x1a4)]))_0x208c20[_0xae7484(0x1b8)]=![];else return this['isProcessRunning'];});do{if(_0x33bf6c[_0x5c4946(0x1df)](_0x33bf6c[_0x5c4946(0x1d2)],_0x33bf6c[_0x5c4946(0x1f6)])){const _0x2b4b0c=await this[_0x5c4946(0x19c)]();if(_0x2b4b0c){if(_0x33bf6c['ZWfSh'](_0x33bf6c[_0x5c4946(0x1ee)],_0x33bf6c[_0x5c4946(0x1d9)]))_0x5217cf['isProcessRunning']=![];else return logger['debug'](_0x33bf6c[_0x5c4946(0x1b6)]),!![];}await this.#sleep(0x3e8);}else this[_0x5c4946(0x1b8)]=![],_0x33bf6c['mSbFf'](_0x4c5f74,_0x52a7ea);}while(this[_0x5c4946(0x1b8)]);return![];}async[a56_0x1510fc(0x194)](){const _0x1a17d0=a56_0x1510fc,_0x1566f4={'aZFRF':function(_0x2b1006,_0xc0be95){return _0x2b1006===_0xc0be95;},'TDpuQ':_0x1a17d0(0x1a8),'YWLzU':function(_0x2e3551,_0x2b60a0){return _0x2e3551(_0x2b60a0);},'wMtbT':function(_0x36fcdf,_0x589b0f){return _0x36fcdf!==_0x589b0f;},'fRtdT':_0x1a17d0(0x18b),'AdwVd':function(_0x4b6783,_0x29af74,_0x506a40){return _0x4b6783(_0x29af74,_0x506a40);},'XUYCD':_0x1a17d0(0x1c7),'omGqJ':'close'},_0x403d5b=await this.#getBinaryPath();return new Promise((_0x35cbe6,_0x196be6)=>{const _0xf8c4d2=_0x1a17d0;if(_0x1566f4['wMtbT'](_0x1566f4[_0xf8c4d2(0x176)],_0x1566f4[_0xf8c4d2(0x176)]))return!![];else{const _0x2e235c=_0x1566f4[_0xf8c4d2(0x1fb)](spawn,_0x403d5b,[_0x1566f4['XUYCD']]);_0x2e235c['on'](_0x1566f4[_0xf8c4d2(0x1b1)],_0x1a8f1b=>{const _0x26c486=_0xf8c4d2;if(_0x1566f4[_0x26c486(0x18e)](_0x1566f4[_0x26c486(0x17c)],_0x1566f4[_0x26c486(0x17c)]))this[_0x26c486(0x1b8)]=![],_0x1566f4[_0x26c486(0x196)](_0x35cbe6,_0x1a8f1b);else return _0x2abbfd[_0x26c486(0x182)](_0x26c486(0x1cd)+_0x1b6ded),null;});}});}['isRunning'](){const _0x583b0d=a56_0x1510fc;return this[_0x583b0d(0x1b8)];}async[a56_0x1510fc(0x1c2)](){const _0xe47488=a56_0x1510fc,_0x4e9850={'WbZhW':function(_0x47cc45,_0x2fc6fe){return _0x47cc45(_0x2fc6fe);},'GNPdl':function(_0x3649ff,_0x31c774){return _0x3649ff+_0x31c774;},'VpLWD':_0xe47488(0x1c4),'uvxKy':function(_0xfacc08,_0x55d872){return _0xfacc08===_0x55d872;},'DXmAZ':_0xe47488(0x1a2),'ENWCJ':_0xe47488(0x178),'onXbE':_0xe47488(0x19d),'anIRh':_0xe47488(0x1aa),'MWAFI':_0xe47488(0x1dd),'YndjA':'Percy\x20fetch\x20token\x20success','ngwKX':function(_0x59f3d2,_0x57a078){return _0x59f3d2!==_0x57a078;},'ShxSZ':_0xe47488(0x17a),'HEnHt':_0xe47488(0x1ac)},_0xb521e1=this.#config[_0xe47488(0x1b5)];try{if(_0x4e9850['uvxKy'](_0x4e9850[_0xe47488(0x1bc)],_0x4e9850[_0xe47488(0x179)])){const _0x3d5267={'kfbLS':function(_0xb6a776,_0x3dbca3){return _0x4e9850['WbZhW'](_0xb6a776,_0x3dbca3);},'txHJc':function(_0x5ec0e1,_0x19e7ad){const _0x1b5dbb=_0xe47488;return _0x4e9850[_0x1b5dbb(0x17d)](_0x5ec0e1,_0x19e7ad);},'wDPvo':_0x4e9850[_0xe47488(0x1a5)],'QSoPK':function(_0x5ae54e,_0x54098c){return _0x4e9850['WbZhW'](_0x5ae54e,_0x54098c);}};_0x284942[_0xe47488(0x1a7)](_0x2ddda2,_0x2dae68['stringify'](_0x14dd67),_0x586aa4=>{const _0x2e201d=_0xe47488;_0x586aa4&&(_0x303a92['error'](_0x2e201d(0x181)+_0x586aa4),_0x3d5267[_0x2e201d(0x1f8)](_0x3802bf,null)),_0x4a4a6e[_0x2e201d(0x1e7)](_0x3d5267[_0x2e201d(0x1b4)](_0x3d5267[_0x2e201d(0x1bb)],_0x5507c3)),_0x3d5267['QSoPK'](_0x1f4956,_0xe9c99c);});}else{const _0xd78869=this.#isApp?_0x4e9850[_0xe47488(0x1f2)]:_0x4e9850[_0xe47488(0x1e4)],_0x296359=await helper['nodeRequest'](_0x4e9850['MWAFI'],_0xe47488(0x193)+_0xb521e1+_0xe47488(0x17b)+_0xd78869,{},this.#config),_0x33f726=_0x296359[_0xe47488(0x1bf)];return logger[_0xe47488(0x1e7)](_0x4e9850[_0xe47488(0x1b0)]),_0x33f726[_0xe47488(0x198)];}}catch(_0x2201bd){return _0x4e9850[_0xe47488(0x1c0)](_0x4e9850['ShxSZ'],_0x4e9850[_0xe47488(0x1c8)])?(logger['error']('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x2201bd),null):![];}}async[a56_0x1510fc(0x17e)](){const _0x4f4716=a56_0x1510fc,_0x2a1c96={'qmaMx':function(_0x379f29,_0x4651c0){return _0x379f29(_0x4651c0);},'MWUap':function(_0x208734,_0x394370){return _0x208734+_0x394370;},'bsHnG':_0x4f4716(0x1c4),'abVST':function(_0x47bfc9,_0x37fca1){return _0x47bfc9(_0x37fca1);},'Vcosg':function(_0x2da832,_0x371e3e){return _0x2da832===_0x371e3e;},'Lunmz':_0x4f4716(0x1e6),'rwccT':_0x4f4716(0x1f3),'lmwft':function(_0x70d662,_0xef5c34){return _0x70d662===_0xef5c34;},'dYXtV':_0x4f4716(0x192)};if(!this.#config[_0x4f4716(0x1ce)])return _0x2a1c96[_0x4f4716(0x19b)](_0x2a1c96[_0x4f4716(0x1d7)],_0x2a1c96['Lunmz'])?null:new _0x76be68(_0xc4f0ed=>_0x3cb3e6(_0xc4f0ed,_0x310673));const _0x35373b=path[_0x4f4716(0x1f7)](os[_0x4f4716(0x18f)](),_0x2a1c96[_0x4f4716(0x1c5)]),_0xfebe45=this.#config['percyOptions'];return!_0xfebe45[_0x4f4716(0x1a1)]&&(_0x2a1c96[_0x4f4716(0x1eb)](_0x2a1c96[_0x4f4716(0x1da)],_0x2a1c96['dYXtV'])?_0xfebe45[_0x4f4716(0x1a1)]='2':_0x3e3906['version']='2'),new Promise((_0x4d6aac,_0x25f545)=>{const _0x1284c5=_0x4f4716;fs['writeFile'](_0x35373b,JSON[_0x1284c5(0x191)](_0xfebe45),_0x43e39f=>{const _0x4992a9=_0x1284c5;_0x43e39f&&(logger[_0x4992a9(0x182)]('Error\x20creating\x20percy\x20config:\x20'+_0x43e39f),_0x2a1c96[_0x4992a9(0x1a0)](_0x4d6aac,null)),logger[_0x4992a9(0x1e7)](_0x2a1c96[_0x4992a9(0x1c6)](_0x2a1c96[_0x4992a9(0x1e9)],_0x35373b)),_0x2a1c96[_0x4992a9(0x18c)](_0x4d6aac,_0x35373b);});});}}module['exports']=Percy;
|
|
1
|
+
function a56_0x30e2(){const _0x471a14=['debug','vOkKh','TTtzf','CjqWF','tOWrm','close','1coGevf','projectName','percy.json','1339362MulkHN','./PercyBinary','start','14873336ahGGXf','CzeHi','4967008TwTRjl','iaNtj','qSFzU','env','ArjxM','api/app_percy/get_project_token?name=','JroKH','pEsDa','VnGBH','percyOptions','3147278SqEpcj','UqwUJ','Lcacl','gJYMw','createWriteStream','error','AcPwX','FdSkT','255306AOiuML','data','vfUMM','PERCY_SERVER_ADDRESS','app','sTiTn','ljYXU','UILKH','exec:stop','XfekP','BLvmS','JNmbr','wsdYA','wpsMn','token','http://localhost:5338','vUBLM','WfiyN','ZhVkZ','Ciyjq','PCNoF','bNVAj','uxLGB','peMHF','stringify','GKECx','FjGgz','../helper','healthcheck','tPYRV','qIYUq','CVjBC','automate','isProcessRunning','Percy\x20healthcheck\x20successful','VpkWz','GZqzx','zjyZN','AAgku','vxwZN','fwoqm','GET','cUjnA','ijsNk','NPwsr','pipe','HIOux','OhAgT','join','XwbgX','ejlUU','akteo','TeFYc','PERCY_TOKEN','hQVSn','ezZDb','XmzQF','exports',':start','xHjuz','Ebdic','4846220YukeSl','qlGEl','path','oAkwS','tmpdir','writeFile','getBinaryPath','winstonLogger','PBkTj','app:exec','isRunning','EjRgk','kmiCc','fetchPercyToken','VVnoo','kXtlP','push','kgyZE','SGGOs','105fRejzd','LLgcY','version','ebRsT','assign','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','SmoWz','Error\x20creating\x20percy\x20config:\x20','Percy\x20config\x20created\x20at\x20','IBZdO','percy/healthcheck','LsNVO','XPeUh','NUBIt','bjdQm','57454263aBEAMV'];a56_0x30e2=function(){return _0x471a14;};return a56_0x30e2();}const a56_0x5f385d=a56_0x1974;(function(_0xd14f8,_0x365e0f){const _0x5666d7=a56_0x1974,_0x46a039=_0xd14f8();while(!![]){try{const _0x2e5de5=-parseInt(_0x5666d7(0x172))/0x1*(parseInt(_0x5666d7(0x184))/0x2)+-parseInt(_0x5666d7(0x175))/0x3+-parseInt(_0x5666d7(0x17a))/0x4+-parseInt(_0x5666d7(0x1c9))/0x5+-parseInt(_0x5666d7(0x18c))/0x6*(-parseInt(_0x5666d7(0x15c))/0x7)+-parseInt(_0x5666d7(0x178))/0x8+parseInt(_0x5666d7(0x16b))/0x9;if(_0x2e5de5===_0x365e0f)break;else _0x46a039['push'](_0x46a039['shift']());}catch(_0x22c9bc){_0x46a039['push'](_0x46a039['shift']());}}}(a56_0x30e2,0xe37e8));function a56_0x1974(_0x38522f,_0x141734){const _0x30e281=a56_0x30e2();return a56_0x1974=function(_0x1974cc,_0x2d1dfb){_0x1974cc=_0x1974cc-0x153;let _0x356631=_0x30e281[_0x1974cc];return _0x356631;},a56_0x1974(_0x38522f,_0x141734);}const fs=require('fs'),path=require(a56_0x5f385d(0x1cb)),os=require('os'),{spawn}=require('child_process'),helper=require(a56_0x5f385d(0x1a7)),logger=require('../logger')[a56_0x5f385d(0x1d0)],{logDir}=require('../logger'),PercyBinary=require(a56_0x5f385d(0x176));class Percy{#logfile=path[a56_0x5f385d(0x1bc)](logDir,'percy.log');#address=process[a56_0x5f385d(0x17d)][a56_0x5f385d(0x18f)]||a56_0x5f385d(0x19b);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a56_0x5f385d(0x1ad)]=![];constructor(_0x453a21){const _0x82196e=a56_0x5f385d,_0x1c21f8={};_0x1c21f8[_0x82196e(0x16a)]=function(_0x40d3cd,_0x46905d){return _0x40d3cd===_0x46905d;},_0x1c21f8['CVjBC']=_0x82196e(0x19c);const _0x3fa59e=_0x1c21f8;this.#config=_0x453a21;if(!!_0x453a21[_0x82196e(0x190)]){if(_0x3fa59e['bjdQm'](_0x3fa59e[_0x82196e(0x1ab)],_0x3fa59e[_0x82196e(0x1ab)]))this.#isApp=!![];else return![];}}async #getBinaryPath(){const _0x4c28d3=a56_0x5f385d,_0x3d6a11={};_0x3d6a11[_0x4c28d3(0x1b3)]=function(_0xc2792c,_0x5ad7c0){return _0xc2792c!==_0x5ad7c0;},_0x3d6a11[_0x4c28d3(0x1aa)]='BfGrc',_0x3d6a11['vfUMM']=_0x4c28d3(0x1a0);const _0x275446=_0x3d6a11;if(!this.#binaryPath){if(_0x275446[_0x4c28d3(0x1b3)](_0x275446[_0x4c28d3(0x1aa)],_0x275446[_0x4c28d3(0x18e)])){const _0x45cf0c=new PercyBinary();this.#binaryPath=await _0x45cf0c[_0x4c28d3(0x1cf)](this.#config);}else return _0x3442ac[_0x4c28d3(0x189)](_0x4c28d3(0x161)+_0x553a96),null;}return this.#binaryPath;}async #sleep(_0x2cece5){return new Promise(_0x2381ce=>setTimeout(_0x2381ce,_0x2cece5));}async['healthcheck'](){const _0x50bb6a=a56_0x5f385d,_0x213278={};_0x213278['iaNtj']=function(_0x4355b0,_0x350e9e){return _0x4355b0===_0x350e9e;},_0x213278[_0x50bb6a(0x1af)]='phNcB',_0x213278[_0x50bb6a(0x167)]=_0x50bb6a(0x1b5),_0x213278[_0x50bb6a(0x1bd)]=_0x50bb6a(0x166),_0x213278[_0x50bb6a(0x179)]=_0x50bb6a(0x1b0),_0x213278[_0x50bb6a(0x1b6)]='nPKKF',_0x213278['GKECx']='tzINb';const _0x4a76d6=_0x213278;try{if(_0x4a76d6['iaNtj'](_0x4a76d6[_0x50bb6a(0x1af)],_0x4a76d6[_0x50bb6a(0x1af)])){const _0x3945d4=await helper['nodeRequest'](_0x4a76d6[_0x50bb6a(0x167)],_0x4a76d6[_0x50bb6a(0x1bd)],null,null,this.#address);if(_0x3945d4)return _0x4a76d6[_0x50bb6a(0x17b)](_0x4a76d6[_0x50bb6a(0x179)],_0x4a76d6['cUjnA'])?![]:!![];}else return!![];}catch(_0x58fe8b){if(_0x4a76d6[_0x50bb6a(0x17b)](_0x4a76d6['GKECx'],_0x4a76d6[_0x50bb6a(0x1a5)]))return![];else _0x427922[_0x50bb6a(0x15e)]='2';}}async[a56_0x5f385d(0x177)](){const _0x1841b0=a56_0x5f385d,_0x52c475={'akteo':function(_0x4068d7,_0x2c2d9c){return _0x4068d7(_0x2c2d9c);},'bGatM':function(_0x17fcfc,_0x4d1812,_0x1e1682){return _0x17fcfc(_0x4d1812,_0x1e1682);},'tPYRV':_0x1841b0(0x194),'FdSkT':_0x1841b0(0x171),'ukXUz':function(_0x22113f,_0x202737){return _0x22113f(_0x202737);},'kgyZE':function(_0x2503e7,_0x38a5f1){return _0x2503e7===_0x38a5f1;},'wpsMn':_0x1841b0(0x17e),'XfekP':_0x1841b0(0x158),'Ciyjq':_0x1841b0(0x1d2),'WfiyN':'exec','vOkKh':function(_0x1417e8,_0x3199a9){return _0x1417e8===_0x3199a9;},'STzLc':_0x1841b0(0x155),'tOWrm':'HiuGf','ODRCY':function(_0x30d163,_0x5c7f6c,_0x6ee150,_0x2f9e78){return _0x30d163(_0x5c7f6c,_0x6ee150,_0x2f9e78);},'JNmbr':_0x1841b0(0x1c0),'LLgcY':_0x1841b0(0x1b2),'HIOux':function(_0x136a0a,_0x2b50eb){return _0x136a0a===_0x2b50eb;},'xHjuz':_0x1841b0(0x1b1),'ejlUU':_0x1841b0(0x1c4),'EjRgk':_0x1841b0(0x1ae)},_0x264b81=await this.#getBinaryPath(),_0x58022e={};_0x58022e['flags']='a';const _0x438082=fs[_0x1841b0(0x188)](this.#logfile,_0x58022e),_0x133d8d=await this[_0x1841b0(0x156)](),_0x443ef6=await this['createPercyConfig']();if(!_0x133d8d){if(_0x52c475[_0x1841b0(0x15a)](_0x52c475[_0x1841b0(0x195)],_0x52c475[_0x1841b0(0x195)]))return![];else{const _0x415b03=_0x52c475['bGatM'](_0x47c5fa,_0x585e95,[_0x52c475[_0x1841b0(0x1a9)]]);_0x415b03['on'](_0x52c475[_0x1841b0(0x18b)],_0x186367=>{const _0x4d3113=_0x1841b0;this['isProcessRunning']=![],_0x52c475[_0x4d3113(0x1bf)](_0x469e40,_0x186367);});}}const _0x429fe4=[(this.#isApp?_0x52c475[_0x1841b0(0x19f)]:_0x52c475[_0x1841b0(0x19d)])+_0x1841b0(0x1c6)];_0x443ef6&&(_0x52c475[_0x1841b0(0x16d)](_0x52c475['STzLc'],_0x52c475[_0x1841b0(0x170)])?(this['isProcessRunning']=![],_0x52c475[_0x1841b0(0x1bf)](_0x392667,_0x11ae63)):_0x429fe4[_0x1841b0(0x159)]('-c',_0x443ef6));const _0x2e17b5={};_0x2e17b5[_0x1841b0(0x1c1)]=_0x133d8d,this.#proc=_0x52c475['ODRCY'](spawn,_0x264b81,_0x429fe4,{'env':Object[_0x1841b0(0x160)](process[_0x1841b0(0x17d)],_0x2e17b5)}),this.#proc['stdout'][_0x1841b0(0x1b9)](_0x438082),this.#proc['stderr']['pipe'](_0x438082),this[_0x1841b0(0x1ad)]=!![];var _0x4e7493=this;this.#proc['on'](_0x52c475['FdSkT'],function(_0x3ea862){const _0x55b4da=_0x1841b0,_0x2c66de={'Lcacl':function(_0x37e9ca,_0x3f5272){return _0x52c475['ukXUz'](_0x37e9ca,_0x3f5272);}};_0x52c475[_0x55b4da(0x15a)](_0x52c475[_0x55b4da(0x199)],_0x52c475['wpsMn'])?_0x4e7493['isProcessRunning']=![]:(_0x1d337a[_0x55b4da(0x189)]('Error\x20creating\x20percy\x20config:\x20'+_0xb7000e),_0x2c66de[_0x55b4da(0x186)](_0x2d0869,null));});do{if(_0x52c475[_0x1841b0(0x15a)](_0x52c475[_0x1841b0(0x197)],_0x52c475[_0x1841b0(0x15d)]))return this[_0x1841b0(0x1ad)];else{const _0x275984=await this[_0x1841b0(0x1a8)]();if(_0x275984)return _0x52c475[_0x1841b0(0x1ba)](_0x52c475[_0x1841b0(0x1c7)],_0x52c475[_0x1841b0(0x1be)])?null:(logger[_0x1841b0(0x16c)](_0x52c475[_0x1841b0(0x154)]),!![]);await this.#sleep(0x3e8);}}while(this[_0x1841b0(0x1ad)]);return![];}async['stop'](){const _0x20f2a0=a56_0x5f385d,_0x4e3b06={'ZhVkZ':function(_0x59d805,_0x36be71){return _0x59d805!==_0x36be71;},'kbgSU':_0x20f2a0(0x16f),'UILKH':function(_0x2995fb,_0xe4d668){return _0x2995fb(_0xe4d668);},'qSFzU':function(_0x57d406,_0xdcabc2){return _0x57d406===_0xdcabc2;},'wsdYA':_0x20f2a0(0x168),'sTiTn':_0x20f2a0(0x1d1),'uxgGa':function(_0x22191b,_0x1a58c4,_0x46f20c){return _0x22191b(_0x1a58c4,_0x46f20c);},'qlGEl':_0x20f2a0(0x194),'uxLGB':_0x20f2a0(0x171)},_0x95973=await this.#getBinaryPath();return new Promise((_0x110314,_0x2729a9)=>{const _0x4d58ec=_0x20f2a0;if(_0x4e3b06[_0x4d58ec(0x17c)](_0x4e3b06[_0x4d58ec(0x198)],_0x4e3b06[_0x4d58ec(0x191)]))return new _0x146797(_0x260204=>_0x50fe45(_0x260204,_0x5eecc9));else{const _0x9748b5=_0x4e3b06['uxgGa'](spawn,_0x95973,[_0x4e3b06[_0x4d58ec(0x1ca)]]);_0x9748b5['on'](_0x4e3b06[_0x4d58ec(0x1a2)],_0x5a0cc0=>{const _0xa3c0a2=_0x4d58ec;_0x4e3b06[_0xa3c0a2(0x19e)](_0x4e3b06['kbgSU'],_0x4e3b06['kbgSU'])?_0x54e8e3[_0xa3c0a2(0x159)]('-c',_0x3dedfd):(this[_0xa3c0a2(0x1ad)]=![],_0x4e3b06[_0xa3c0a2(0x193)](_0x110314,_0x5a0cc0));});}});}[a56_0x5f385d(0x153)](){const _0x639cc4=a56_0x5f385d;return this[_0x639cc4(0x1ad)];}async[a56_0x5f385d(0x156)](){const _0x477e7a=a56_0x5f385d,_0x2f1fa5={'OhAgT':function(_0x2bcd8e,_0x3f31b9){return _0x2bcd8e(_0x3f31b9);},'Ebdic':function(_0x318824,_0x3708c8){return _0x318824+_0x3708c8;},'IBZdO':_0x477e7a(0x164),'UqwUJ':function(_0x585b29,_0x55e606){return _0x585b29!==_0x55e606;},'AcPwX':_0x477e7a(0x1b7),'VnGBH':'app','hQVSn':_0x477e7a(0x1ac),'EyVqy':_0x477e7a(0x1b5),'fwoqm':'Percy\x20fetch\x20token\x20success','JroKH':function(_0x59010f,_0x30b5b7){return _0x59010f!==_0x30b5b7;},'QuzrG':_0x477e7a(0x162)},_0x37aa3a=this.#config[_0x477e7a(0x173)];try{if(_0x2f1fa5[_0x477e7a(0x185)](_0x2f1fa5[_0x477e7a(0x18a)],_0x2f1fa5[_0x477e7a(0x18a)])){const _0xdc5dc1={'VVnoo':function(_0x5d27ed,_0x2bca41){const _0x1473b5=_0x477e7a;return _0x2f1fa5[_0x1473b5(0x1bb)](_0x5d27ed,_0x2bca41);},'oAkwS':function(_0x1758f9,_0xd08292){const _0x1875d9=_0x477e7a;return _0x2f1fa5[_0x1875d9(0x1c8)](_0x1758f9,_0xd08292);},'FjGgz':_0x2f1fa5[_0x477e7a(0x165)]};_0x2ce27c[_0x477e7a(0x1ce)](_0x35720f,_0x53149b[_0x477e7a(0x1a4)](_0x414fc3),_0x26ef21=>{const _0x4afe6a=_0x477e7a;_0x26ef21&&(_0x52576e[_0x4afe6a(0x189)](_0x4afe6a(0x163)+_0x26ef21),_0xdc5dc1[_0x4afe6a(0x157)](_0x46e862,null)),_0x4ee61c[_0x4afe6a(0x16c)](_0xdc5dc1[_0x4afe6a(0x1cc)](_0xdc5dc1[_0x4afe6a(0x1a6)],_0x1bd343)),_0xdc5dc1[_0x4afe6a(0x157)](_0x3b1834,_0x55ddbf);});}else{const _0x4c41a0=this.#isApp?_0x2f1fa5[_0x477e7a(0x182)]:_0x2f1fa5[_0x477e7a(0x1c2)],_0x3246b8=await helper['nodeRequest'](_0x2f1fa5['EyVqy'],_0x477e7a(0x17f)+_0x37aa3a+'&type='+_0x4c41a0,{},this.#config),_0x35ecb1=_0x3246b8[_0x477e7a(0x18d)];return logger[_0x477e7a(0x16c)](_0x2f1fa5[_0x477e7a(0x1b4)]),_0x35ecb1[_0x477e7a(0x19a)];}}catch(_0x2bdbc5){if(_0x2f1fa5[_0x477e7a(0x180)](_0x2f1fa5['QuzrG'],_0x2f1fa5['QuzrG']))_0x48b96c[_0x477e7a(0x1ad)]=![];else return logger[_0x477e7a(0x189)](_0x477e7a(0x161)+_0x2bdbc5),null;}}async['createPercyConfig'](){const _0x5148b9=a56_0x5f385d,_0x4bfdbd={'osIOp':function(_0x30d5e1,_0x24ad44){return _0x30d5e1(_0x24ad44);},'pEsDa':function(_0x14af31,_0x2635ca){return _0x14af31+_0x2635ca;},'ebRsT':'Percy\x20config\x20created\x20at\x20','peMHF':function(_0x2b513d,_0x5c321c){return _0x2b513d(_0x5c321c);},'ZmDFX':_0x5148b9(0x1ae),'iEnuR':function(_0xc6cd5a,_0x42e137){return _0xc6cd5a(_0x42e137);},'obuAy':function(_0x14eb28,_0x3d72b7){return _0x14eb28!==_0x3d72b7;},'ezZDb':'SJgiI','gJYMw':_0x5148b9(0x174),'vUvdA':function(_0x5754eb,_0xfa4e8d){return _0x5754eb!==_0xfa4e8d;},'ljYXU':_0x5148b9(0x1b8),'SGGOs':_0x5148b9(0x196)};if(!this.#config[_0x5148b9(0x183)]){if(_0x4bfdbd['obuAy'](_0x4bfdbd[_0x5148b9(0x1c3)],_0x4bfdbd['ezZDb']))_0x9fb244&&(_0x25fcc6[_0x5148b9(0x189)]('Error\x20creating\x20percy\x20config:\x20'+_0x1547ba),_0x4bfdbd['osIOp'](_0x1fbcd7,null)),_0x30a2a9[_0x5148b9(0x16c)](_0x4bfdbd[_0x5148b9(0x181)](_0x4bfdbd[_0x5148b9(0x15f)],_0x577359)),_0x4bfdbd[_0x5148b9(0x1a3)](_0x290a5b,_0x56ad92);else return null;}const _0x26dd92=path['join'](os[_0x5148b9(0x1cd)](),_0x4bfdbd[_0x5148b9(0x187)]),_0x142509=this.#config[_0x5148b9(0x183)];if(!_0x142509['version']){if(_0x4bfdbd['vUvdA'](_0x4bfdbd[_0x5148b9(0x192)],_0x4bfdbd[_0x5148b9(0x15b)]))_0x142509[_0x5148b9(0x15e)]='2';else return _0x12695b['debug'](_0x4bfdbd['ZmDFX']),!![];}return new Promise((_0xd2d8fc,_0x130939)=>{const _0x215012=_0x5148b9,_0x292d53={'TTtzf':function(_0x1363cf,_0xc47093){return _0x4bfdbd['iEnuR'](_0x1363cf,_0xc47093);},'NUBIt':function(_0x4aee44,_0x3d1568){const _0x1e081a=a56_0x1974;return _0x4bfdbd[_0x1e081a(0x181)](_0x4aee44,_0x3d1568);},'bNVAj':_0x4bfdbd[_0x215012(0x15f)]};fs[_0x215012(0x1ce)](_0x26dd92,JSON[_0x215012(0x1a4)](_0x142509),_0x1470ab=>{const _0xd9e78f=_0x215012;_0x1470ab&&(logger[_0xd9e78f(0x189)](_0xd9e78f(0x163)+_0x1470ab),_0x292d53[_0xd9e78f(0x16e)](_0xd2d8fc,null)),logger[_0xd9e78f(0x16c)](_0x292d53[_0xd9e78f(0x169)](_0x292d53[_0xd9e78f(0x1a1)],_0x26dd92)),_0x292d53[_0xd9e78f(0x16e)](_0xd2d8fc,_0x26dd92);});});}}module[a56_0x5f385d(0x1c5)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57_0x5d4499=a57_0x13fb;(function(_0xd79628,_0x2a8237){const _0x228ef9=a57_0x13fb,_0xc6e39a=_0xd79628();while(!![]){try{const _0x435c24=parseInt(_0x228ef9(0x24e))/0x1*(-parseInt(_0x228ef9(0x296))/0x2)+parseInt(_0x228ef9(0x227))/0x3+-parseInt(_0x228ef9(0x24c))/0x4+parseInt(_0x228ef9(0x2bc))/0x5+parseInt(_0x228ef9(0x24f))/0x6+-parseInt(_0x228ef9(0x1f1))/0x7*(-parseInt(_0x228ef9(0x26e))/0x8)+parseInt(_0x228ef9(0x295))/0x9*(-parseInt(_0x228ef9(0x285))/0xa);if(_0x435c24===_0x2a8237)break;else _0xc6e39a['push'](_0xc6e39a['shift']());}catch(_0x3b8f78){_0xc6e39a['push'](_0xc6e39a['shift']());}}}(a57_0x1e3f,0x59b80));const {https}=require('follow-redirects'),url=require(a57_0x5d4499(0x1e6)),yauzl=require(a57_0x5d4499(0x200)),fs=require('fs'),path=require(a57_0x5d4499(0x272)),os=require('os'),{spawn}=require(a57_0x5d4499(0x23f)),HttpsProxyAgent=require(a57_0x5d4499(0x249)),logger=require(a57_0x5d4499(0x1c4))[a57_0x5d4499(0x2c1)];function a57_0x1e3f(){const _0x48f919=['OihxV','WFeEw','exports','nQGKE','eXgtx','iWdKN','proCQ','ttGxd','daDoZ','ySaLj','dDPqZ','eTdfX','eXCaJ','iXXLj','yrZMq','bmEoA','data','SRTan','ZXTpw','xSbnL','ofdoc','rChKq','BCOEj','kCsrc','TcwSd','TxLjS','eljOJ','8552tPTraP','FqWBo','function','yvcgL','path','WYOeh','GZCtb','match','VcFIk','FRmYQ','yQFTK','LLAwW','fHNPn','jXtyN','aPkeV','ummcQ','FSTfP','shBQv','dIVzv','ddHaD','HOME','AlDoI','caUjS','694270XHZiaC','forUE','zhTyM','vyVpw','HuGBV','pjDQu','close','ZXrst','JacWO','FZlxo','fUmgQ','LAPDs','HOMEPATH','proxyPort','IykTi','iAXsc','36iUicqR','1323596oCqBiW','rZFjJ','PoiWH','vvpZO','/home/','AWhHF','QZYRT','vLcIe','QsOup','umtyY','sigNY','LNAME','/percy-osx.zip','syAtd','dpAKt','ImEVc','DmUNt','nhMvK','eyZjz','uExpL','undefined','vLgPi','sGsAh','OfeoY','rVQyn','iLMyY','hOHxj','GjxZr','CJnkM','ajODN','WcopD','xdCfw','rbdUL','win32','accessSync','jHDDU','lvjGE','percy','1967085BYuiDN','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','test','USER','IdXHX','winstonLogger','validateBinary','gYfJg','btCal','EKdEF','NSbHQ','jRTlj','kUcXk','xbPEB','host','openReadStream','mkdirSync','QOhUw','wAkDC','RcHLj','uwhtd','hHrar','mAEmw','phBYD','lazyEntries','linux','gklPb','rWVAm','useCaCertificate','proxyHost','entry','jRzKw','pWwpu','ijMMw','RZdLc','RaDbm','ogMDU','lTMgN','vibYu','cwtjh','KDaqc','PuDYq','https://github.com/percy/cli/releases/latest/download','nbduO','../logger','OvGTK','/root','--version','YdJPU','rpiNX','port','frqLC','getuid','aAefG','DFGwz','dBTQh','CONhT','VOTnE','BStpe','DFptu','CMpPC','aPdVL','GbAaN','pzXkr','0755','adrmF','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','sgJsd','PPZSj','open','ZaUgD','qgiRh','iUZYb','chmod','WRluq','YWLFv','SjwSC','R_OK','url','tmpdir','IQHnb','readEntry','agent','ZxYyf','CGVXX','DEKFM','kQusi','tLkUM','MjPUv','4228pfhfav','platform','readFileSync','/Users/','OTmFV','wIEts','KPYKu','statSync','lApws','jZteU','MFOcD','end','error','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','tRxkD','yauzl','fiPvC','npQbg','mEvbb','download','ZcaVU','AWDei','getBinaryPath','bAXWQ','krRGU','RxIFG','LUpEN','/percy-linux.zip','.browserstack','ObCHe','gjmDX','jthNW','KgRUN','EtgZN','get','cGUUn','EnJgJ','nAMks','jvpnx','LWNTa','OaTwU','nHhud','OXYRN','ZzPgh','kynFt','HOMEDRIVE','jgCrO','WNJHb','ehCKP','TeIgr','lBoCS','kMJnZ','vmhHW','.zip','1741149QoBehY','join','bGsho','KPzCd','fCaJV','iXasj','USERPROFILE','SJRZG','parse','XOflM','ckqJc','RYcLx','rpwvD','uDJlC','BAEci','homedir','QiVcs','LOGNAME','rezEw','buTHo','stdout','wCLwV','W_OK','Scydq','child_process','paOPj','UYwZY','nqtWE','MBquR','fFBzS','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','OhsHF','KujDW','cQgxg','https-proxy-agent','/percy-win.zip','hiEvd','2002948aowKto','aqlon','1isPWJD','1129530UssFNG','pipe','XLSfg','qwRJz'];a57_0x1e3f=function(){return _0x48f919;};return a57_0x1e3f();}function a57_0x13fb(_0x20ef33,_0x49d893){const _0x1e3f38=a57_0x1e3f();return a57_0x13fb=function(_0x13fb17,_0x3837f1){_0x13fb17=_0x13fb17-0x1ad;let _0x55179a=_0x1e3f38[_0x13fb17];return _0x55179a;},a57_0x13fb(_0x20ef33,_0x49d893);}class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a57_0x5d4499(0x2bb);#orderedPaths=[path[a57_0x5d4499(0x228)](this.#homedir(),a57_0x5d4499(0x20d)),process['cwd'](),os[a57_0x5d4499(0x1e7)]()];constructor(){const _0x393499=a57_0x5d4499,_0x2734e6={'ObCHe':function(_0x5a83e2,_0xfc65ef){return _0x5a83e2(_0xfc65ef);},'GZCtb':_0x393499(0x1fc),'iXasj':_0x393499(0x1da),'XLSfg':_0x393499(0x1c2),'umtyY':function(_0x1ea09a,_0x5c3277){return _0x1ea09a!==_0x5c3277;},'QOhUw':_0x393499(0x252),'XxFEt':function(_0x496b83,_0x167f88){return _0x496b83+_0x167f88;},'buTHo':_0x393499(0x2a2),'uwhtd':_0x393499(0x2b1),'EnJgJ':function(_0x331bbb,_0x27e6ed){return _0x331bbb+_0x27e6ed;},'SPcfD':_0x393499(0x24a),'DEKFM':'percy.exe','yvcgL':function(_0x4d5e84,_0x15996d){return _0x4d5e84!==_0x15996d;},'VcFIk':_0x393499(0x1d6),'mEvbb':_0x393499(0x20c)},_0x2dae62=_0x2734e6[_0x393499(0x251)];if(this.#hostOS[_0x393499(0x275)](/darwin|mac os/i))_0x2734e6[_0x393499(0x29f)](_0x2734e6['QOhUw'],_0x2734e6[_0x393499(0x2cd)])?(_0x2415da&&_0x2734e6[_0x393499(0x20e)](_0x55ddc9,_0x53d6b1),_0xe9ebe6['on'](_0x2734e6[_0x393499(0x274)],function(){const _0x327767=_0x393499;_0x3cfe3e[_0x327767(0x28b)](),_0x43414f[_0x327767(0x1e9)]();}),_0x201b36[_0x393499(0x250)](_0x3e70cd)):this.#httpPath=_0x2734e6['XxFEt'](_0x2dae62,_0x2734e6[_0x393499(0x23a)]);else{if(this.#hostOS[_0x393499(0x275)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i))_0x2734e6[_0x393499(0x29f)](_0x2734e6[_0x393499(0x2d0)],_0x2734e6[_0x393499(0x2d0)])?(_0x4f3aa6[_0x393499(0x28b)](),_0x5cb9a4[_0x393499(0x1e9)]()):(this.#httpPath=_0x2734e6[_0x393499(0x215)](_0x2dae62,_0x2734e6['SPcfD']),this.#binaryName=_0x2734e6[_0x393499(0x1ed)]);else{if(_0x2734e6[_0x393499(0x271)](_0x2734e6[_0x393499(0x276)],_0x2734e6['VcFIk']))try{_0x2ec23d['ca']=_0x14cb53[_0x393499(0x1f3)](_0x3357ce['useCaCertificate']);}catch(_0x2bfe30){_0x4c2fe3[_0x393499(0x1fd)](_0x2734e6[_0x393499(0x22c)],_0x2bfe30);}else this.#httpPath=_0x2734e6[_0x393499(0x215)](_0x2dae62,_0x2734e6[_0x393499(0x203)]);}}}#getAvailableDirs(){const _0x5c3a1a=a57_0x5d4499,_0xac0758={'RYcLx':function(_0x260df5,_0x5ca875){return _0x260df5(_0x5ca875);},'ajODN':function(_0x56cf62,_0x445129){return _0x56cf62+_0x445129;},'ExqIs':_0x5c3a1a(0x1f4),'rezEw':function(_0x4e6e35,_0x5f0506){return _0x4e6e35<_0x5f0506;},'kUcXk':function(_0x47cde7,_0x9a8781){return _0x47cde7===_0x9a8781;},'forUE':_0x5c3a1a(0x26a),'aAefG':'lfGib','fHNPn':'vYAFu','RaDbm':'Error\x20trying\x20to\x20download\x20percy\x20binary'};for(var _0x5ec26a=0x0;_0xac0758[_0x5c3a1a(0x239)](_0x5ec26a,this.#orderedPaths['length']);_0x5ec26a++){if(_0xac0758['kUcXk'](_0xac0758[_0x5c3a1a(0x286)],_0xac0758[_0x5c3a1a(0x1cd)]))_0x478a04['test'](_0x1bb35f)&&_0xac0758[_0x5c3a1a(0x232)](_0x1f715f,!![]);else{var _0x4b0839=this.#orderedPaths[_0x5ec26a];if(this.#makePath(_0x4b0839))return _0xac0758[_0x5c3a1a(0x2c8)](_0xac0758[_0x5c3a1a(0x27a)],_0xac0758['fHNPn'])?_0x4b0839:_0x853159||(_0x9b0dc2?_0xac0758[_0x5c3a1a(0x2b3)](_0xac0758['ExqIs'],_0x5ded6e):null);}}throw new Error(_0xac0758[_0x5c3a1a(0x1bb)]);}#makePath(_0x4e0c0c){const _0x30a7d1=a57_0x5d4499,_0x4dc85d={'RljXB':'Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','enUCf':function(_0x3dcd2e,_0x5af32d){return _0x3dcd2e(_0x5af32d);},'YWLFv':function(_0x3f3e92,_0x59e1fd){return _0x3f3e92===_0x59e1fd;},'KIofG':'duKUo','sgJsd':'oOlsq','pzXkr':_0x30a7d1(0x287),'CMpPC':_0x30a7d1(0x28f),'Krsak':function(_0x1215a7,_0x396b06){return _0x1215a7!==_0x396b06;},'jgCrO':_0x30a7d1(0x1f7),'iXXLj':'xdMrg'};try{return _0x4dc85d[_0x30a7d1(0x1e3)](_0x4dc85d['KIofG'],_0x4dc85d[_0x30a7d1(0x1db)])?![]:(!this.#checkPath(_0x4e0c0c)&&(_0x4dc85d[_0x30a7d1(0x1e3)](_0x4dc85d[_0x30a7d1(0x1d7)],_0x4dc85d[_0x30a7d1(0x1d4)])?(_0x25efc3[_0x30a7d1(0x1fd)](_0x4dc85d['RljXB'],_0x2fb5b6),_0x4dc85d['enUCf'](_0x1d4e63,_0x23109b)):fs[_0x30a7d1(0x2cc)](_0x4e0c0c)),!![]);}catch{return _0x4dc85d['Krsak'](_0x4dc85d[_0x30a7d1(0x21f)],_0x4dc85d[_0x30a7d1(0x260)])?![]:_0x24caa3;}}#checkPath(_0x10608c,_0x4721c4){const _0x5ea05d=a57_0x5d4499,_0x172d84={'vmhHW':function(_0x309e7a,_0x329a3d){return _0x309e7a(_0x329a3d);},'RRnSe':_0x5ea05d(0x1d8),'shBQv':function(_0x2bf5f5,_0x2f4b48){return _0x2bf5f5(_0x2f4b48);},'EzVvg':function(_0x5bdd03,_0x4cfabf){return _0x5bdd03|_0x4cfabf;},'jXtyN':function(_0x3b1fb5,_0xdbcfdd){return _0x3b1fb5===_0xdbcfdd;},'LUpEN':_0x5ea05d(0x2b2),'fCaJV':_0x5ea05d(0x2c3),'MjPUv':function(_0x562f31,_0x250ef6){return _0x562f31===_0x250ef6;},'BAEci':_0x5ea05d(0x2b6),'wCLwV':function(_0x279a3b,_0x5c5a11){return _0x279a3b!==_0x5c5a11;},'eXCaJ':_0x5ea05d(0x2aa),'KjbkC':_0x5ea05d(0x25d),'XADqL':'OxgHc','anRHX':_0x5ea05d(0x1bf),'lQgAa':_0x5ea05d(0x1d3),'aHKfc':function(_0x429e72,_0x5ac75f){return _0x429e72===_0x5ac75f;},'ZXrst':'QGYeb'};_0x4721c4=_0x4721c4||_0x172d84['EzVvg'](fs[_0x5ea05d(0x1e5)],fs[_0x5ea05d(0x23d)]);try{if(_0x172d84[_0x5ea05d(0x27b)](_0x172d84[_0x5ea05d(0x20b)],_0x172d84[_0x5ea05d(0x22b)]))_0x196a79[_0x5ea05d(0x1e1)](_0x3fcf84,_0x172d84['RRnSe'],function(_0x20874a){const _0x2ac42f=_0x5ea05d;_0x20874a&&_0x172d84[_0x2ac42f(0x225)](_0x57b821,_0x20874a),_0x172d84[_0x2ac42f(0x225)](_0x42f6f6,_0x2fc911);}),_0xa10f09[_0x5ea05d(0x28b)]();else return fs[_0x5ea05d(0x2b8)](_0x10608c,_0x4721c4),!![];}catch(_0x162df5){if(_0x172d84[_0x5ea05d(0x1f0)](_0x172d84[_0x5ea05d(0x235)],_0x172d84[_0x5ea05d(0x235)])){if(_0x172d84[_0x5ea05d(0x23c)](typeof fs['accessSync'],_0x172d84[_0x5ea05d(0x25f)])){if(_0x172d84[_0x5ea05d(0x1f0)](_0x172d84['KjbkC'],_0x172d84['XADqL']))_0x240c11[_0x5ea05d(0x2cc)](_0x3ff57d);else return![];}try{return _0x172d84[_0x5ea05d(0x27b)](_0x172d84['anRHX'],_0x172d84['lQgAa'])?(_0x3c6110[_0x5ea05d(0x2b8)](_0x46f25d,_0x60ca28),!![]):(fs[_0x5ea05d(0x1f8)](_0x10608c),!![]);}catch(_0x4e9340){return _0x172d84['aHKfc'](_0x172d84[_0x5ea05d(0x28c)],_0x172d84[_0x5ea05d(0x28c)])?![]:![];}}else _0x172d84[_0x5ea05d(0x27f)](_0x24a0cb,_0x24a12f);}}async[a57_0x5d4499(0x207)](_0x5aaba6){const _0xfc9620=a57_0x5d4499,_0x199466={};_0x199466[_0xfc9620(0x22e)]=_0xfc9620(0x1da),_0x199466['cGUUn']=function(_0x13e11b,_0x4828d6){return _0x13e11b!==_0x4828d6;},_0x199466['ijMMw']=_0xfc9620(0x2c0),_0x199466[_0xfc9620(0x28a)]=_0xfc9620(0x21a),_0x199466[_0xfc9620(0x27d)]=_0xfc9620(0x246),_0x199466['lvjGE']='Corrupt\x20percy\x20binary,\x20retrying';const _0x3fbbcd=_0x199466;var _0x59deab=this.#getAvailableDirs(),_0x2c4752=path[_0xfc9620(0x228)](_0x59deab,this.#binaryName);if(this.#checkPath(_0x2c4752,fs['X_OK'])){if(_0x3fbbcd[_0xfc9620(0x214)](_0x3fbbcd['ijMMw'],_0x3fbbcd[_0xfc9620(0x1b9)]))_0x136f4a[_0xfc9620(0x1fd)](_0x3fbbcd[_0xfc9620(0x22e)],_0x188cc4);else return _0x2c4752;}const _0x21f4b5=await this['download'](_0x5aaba6,_0x59deab),_0x18035e=await this['validateBinary'](_0x21f4b5);if(!_0x18035e){if(_0x3fbbcd[_0xfc9620(0x214)](_0x3fbbcd['pjDQu'],_0x3fbbcd['ummcQ']))return logger[_0xfc9620(0x1fd)](_0x3fbbcd[_0xfc9620(0x2ba)]),await this[_0xfc9620(0x204)](_0x5aaba6,_0x59deab);else _0x3f7386['ca']=_0xe6e9f0[_0xfc9620(0x1f3)](_0x36955b['useCaCertificate']);}return _0x21f4b5;}async[a57_0x5d4499(0x2c2)](_0x281619){const _0x2e117e=a57_0x5d4499,_0x3a61cc={'QZYRT':function(_0x17416a,_0x35f1dd){return _0x17416a(_0x35f1dd);},'dpAKt':function(_0x414d70,_0x639efc){return _0x414d70!==_0x639efc;},'tRxkD':_0x2e117e(0x254),'jthNW':function(_0x3fda94,_0x6675cf){return _0x3fda94===_0x6675cf;},'nQGKE':_0x2e117e(0x24b),'CGVXX':function(_0x41f1a4,_0x20689e){return _0x41f1a4(_0x20689e);},'VIAcQ':_0x2e117e(0x2bd),'WcopD':function(_0x333de6,_0x24acb4){return _0x333de6!==_0x24acb4;},'MFOcD':_0x2e117e(0x1d2),'bAXWQ':_0x2e117e(0x258),'sGsAh':function(_0x189f73,_0x108660){return _0x189f73+_0x108660;},'lBoCS':function(_0x32d7f2,_0x50771b){return _0x32d7f2===_0x50771b;},'tJeFS':'cZpQB','aZOie':_0x2e117e(0x2a3),'ZaMqr':function(_0x2709a1,_0x51eee9,_0x38b01c){return _0x2709a1(_0x51eee9,_0x38b01c);},'MBquR':_0x2e117e(0x1c7),'AaFtv':_0x2e117e(0x263),'TcwSd':_0x2e117e(0x28b)},_0x3952c2=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x12c24d,_0x16e0ea)=>{const _0x401814=_0x2e117e,_0x39f634={'IykTi':function(_0x3575f9,_0x26fff2){const _0xfa80cc=a57_0x13fb;return _0x3a61cc[_0xfa80cc(0x2ac)](_0x3575f9,_0x26fff2);}};if(_0x3a61cc[_0x401814(0x223)](_0x3a61cc['tJeFS'],_0x3a61cc['aZOie']))return _0x11ebbc[_0x401814(0x22d)]||_0x39f634[_0x401814(0x293)](_0xa46bf6[_0x401814(0x21e)],_0x2ccd71[_0x401814(0x291)])||_0x23b935||null;else{const _0x2a9b70=_0x3a61cc['ZaMqr'](spawn,_0x281619,[_0x3a61cc[_0x401814(0x243)]]);_0x2a9b70['stdout']['on'](_0x3a61cc['AaFtv'],_0xa34c45=>{const _0x20a6a2=_0x401814,_0x59883d={'caUjS':function(_0x4e51cf,_0xc2fa38){const _0x2db5e0=a57_0x13fb;return _0x3a61cc[_0x2db5e0(0x29c)](_0x4e51cf,_0xc2fa38);}};_0x3a61cc[_0x20a6a2(0x2a4)](_0x3a61cc[_0x20a6a2(0x1ff)],_0x3a61cc[_0x20a6a2(0x1ff)])?_0x59883d[_0x20a6a2(0x284)](_0x4a805d,_0x1e5e9d):_0x3952c2['test'](_0xa34c45)&&(_0x3a61cc[_0x20a6a2(0x210)](_0x3a61cc[_0x20a6a2(0x256)],_0x3a61cc[_0x20a6a2(0x256)])?_0x3a61cc[_0x20a6a2(0x1ec)](_0x12c24d,!![]):_0xb007ad[_0x20a6a2(0x28b)]());}),_0x2a9b70['on'](_0x3a61cc[_0x401814(0x26b)],()=>{const _0x151401=_0x401814,_0x3bfc28={'dIVzv':_0x3a61cc['VIAcQ'],'xKWVH':function(_0x29e6e4,_0x2e3d3d){const _0x2ebf11=a57_0x13fb;return _0x3a61cc[_0x2ebf11(0x1ec)](_0x29e6e4,_0x2e3d3d);}};_0x3a61cc[_0x151401(0x2b4)](_0x3a61cc[_0x151401(0x1fb)],_0x3a61cc[_0x151401(0x208)])?_0x3a61cc[_0x151401(0x29c)](_0x12c24d,![]):(_0x22c417['error'](_0x3bfc28[_0x151401(0x280)],_0x2cfcad),_0x3bfc28['xKWVH'](_0x4d21a6,_0x4a711e));});}});}['download'](_0x271361,_0x1650a9){const _0x4cac1f=a57_0x5d4499,_0x440a4e={'QiVcs':function(_0x300f3d,_0x44f0c0){return _0x300f3d===_0x44f0c0;},'WZwBt':_0x4cac1f(0x1c6),'hOHxj':function(_0x4a46e3,_0x43efca){return _0x4a46e3+_0x43efca;},'gDntt':'/home/','AlDoI':function(_0x3f644c,_0x1bd54e){return _0x3f644c!==_0x1bd54e;},'ZzPgh':_0x4cac1f(0x29d),'ZcaVU':_0x4cac1f(0x245),'NSbHQ':function(_0x5f1164,_0x3999b0){return _0x5f1164(_0x3999b0);},'EEYlq':'nTAar','JacWO':_0x4cac1f(0x1d1),'ogMDU':_0x4cac1f(0x1fe),'LWNTa':function(_0x1d8e6b,_0x298d2a,_0x417a1d){return _0x1d8e6b(_0x298d2a,_0x417a1d);},'nAMks':_0x4cac1f(0x1c7),'uDJlC':'data','CONhT':'close','eCpPk':_0x4cac1f(0x1b7),'sigNY':'mCwVu','SeQch':_0x4cac1f(0x23e),'rpwvD':_0x4cac1f(0x25c),'gshLj':_0x4cac1f(0x1fc),'kynFt':'undefined','vibYu':_0x4cac1f(0x1b3),'RxIFG':_0x4cac1f(0x299),'aoVMk':_0x4cac1f(0x220),'gklPb':_0x4cac1f(0x29b),'FZzGG':_0x4cac1f(0x242),'RuHXG':_0x4cac1f(0x241),'hHrar':_0x4cac1f(0x244),'LAPDs':'CfARG','KgRUN':'0755','xbPEB':_0x4cac1f(0x1e2),'FIKOe':'WdJpv','Gdquh':_0x4cac1f(0x1b6),'gjmDX':'error','tLkUM':_0x4cac1f(0x2bd),'FgwCm':function(_0x1b8692,_0x115006){return _0x1b8692===_0x115006;},'bmEoA':_0x4cac1f(0x1c3),'YdJPU':'tMGsA','paOPj':function(_0x4571fd,_0x173b09){return _0x4571fd+_0x173b09;},'hIgGm':_0x4cac1f(0x226),'RcHLj':_0x4cac1f(0x2a9),'rfoTH':function(_0x1d8456,_0x455f13){return _0x1d8456===_0x455f13;},'rpiNX':_0x4cac1f(0x281),'OXYRN':_0x4cac1f(0x257),'iLMyY':function(_0x5e140e,_0x2348e7){return _0x5e140e===_0x2348e7;},'iUZYb':_0x4cac1f(0x253),'FqWBo':'BnXLS','lApws':'Percy\x20download\x20failed\x20to\x20read\x20cert\x20file'};!this.#checkPath(_0x1650a9)&&(_0x440a4e['FgwCm'](_0x440a4e[_0x4cac1f(0x262)],_0x440a4e[_0x4cac1f(0x1c8)])?_0x45a7c2[_0x4cac1f(0x1e9)]():fs[_0x4cac1f(0x2cc)](_0x1650a9));const _0x3a464f=this.#binaryName,_0x1af2fd=path[_0x4cac1f(0x228)](_0x1650a9,_0x440a4e[_0x4cac1f(0x240)](_0x3a464f,_0x440a4e['hIgGm'])),_0x2d4dc2=path[_0x4cac1f(0x228)](_0x1650a9,_0x3a464f),_0x1692f8=fs['createWriteStream'](_0x1af2fd),_0x3e5598=url[_0x4cac1f(0x22f)](this.#httpPath);if(_0x271361['proxyHost']&&_0x271361[_0x4cac1f(0x292)]){if(_0x440a4e[_0x4cac1f(0x283)](_0x440a4e[_0x4cac1f(0x2cf)],_0x440a4e[_0x4cac1f(0x2cf)])){const _0x12166c={};_0x12166c['host']=_0x4d9fd8[_0x4cac1f(0x1b5)],_0x12166c[_0x4cac1f(0x1ca)]=_0x8ddab2['proxyPort'],_0x17a028[_0x4cac1f(0x1ea)]=new _0x34aba3(_0x12166c);}else{const _0xdafc0c={};_0xdafc0c[_0x4cac1f(0x2ca)]=_0x271361[_0x4cac1f(0x1b5)],_0xdafc0c[_0x4cac1f(0x1ca)]=_0x271361[_0x4cac1f(0x292)],_0x3e5598[_0x4cac1f(0x1ea)]=new HttpsProxyAgent(_0xdafc0c);}}if(_0x271361[_0x4cac1f(0x1b4)]){if(_0x440a4e['rfoTH'](_0x440a4e[_0x4cac1f(0x1c9)],_0x440a4e[_0x4cac1f(0x21b)]))return _0x55ab79[_0x4cac1f(0x1f8)](_0x320629),!![];else try{if(_0x440a4e[_0x4cac1f(0x2af)](_0x440a4e[_0x4cac1f(0x1e0)],_0x440a4e[_0x4cac1f(0x1e0)]))_0x3e5598['ca']=fs[_0x4cac1f(0x1f3)](_0x271361[_0x4cac1f(0x1b4)]);else return _0x5d0baa[_0x4cac1f(0x236)]();}catch(_0x48064e){if(_0x440a4e['FgwCm'](_0x440a4e[_0x4cac1f(0x26f)],_0x440a4e[_0x4cac1f(0x26f)]))logger[_0x4cac1f(0x1fd)](_0x440a4e[_0x4cac1f(0x1f9)],_0x48064e);else return _0x549b5e;}}return new Promise((_0x4ceca6,_0x4e1da3)=>{const _0x42c8ee=_0x4cac1f;https[_0x42c8ee(0x213)](_0x3e5598,function(_0x21b533){const _0x2f31f7=_0x42c8ee,_0x3ce0f0={'OfeoY':function(_0x426e7b,_0x4d6c14){return _0x440a4e['QiVcs'](_0x426e7b,_0x4d6c14);},'TuTqa':_0x440a4e['WZwBt'],'OaTwU':function(_0x12f47f,_0x41ff75){const _0x591389=a57_0x13fb;return _0x440a4e[_0x591389(0x2b0)](_0x12f47f,_0x41ff75);},'aqlon':_0x440a4e['gDntt'],'ImEVc':function(_0x455a9c,_0x2e751d){const _0x584b90=a57_0x13fb;return _0x440a4e[_0x584b90(0x283)](_0x455a9c,_0x2e751d);},'rChKq':_0x440a4e[_0x2f31f7(0x21c)],'FRmYQ':_0x440a4e[_0x2f31f7(0x205)],'ofdoc':function(_0x1e53d5,_0x50dc39){return _0x440a4e['NSbHQ'](_0x1e53d5,_0x50dc39);},'jHDDU':function(_0x70b32b,_0x527c69){const _0x5461d7=_0x2f31f7;return _0x440a4e[_0x5461d7(0x237)](_0x70b32b,_0x527c69);},'XIXvx':_0x440a4e['EEYlq'],'wAkDC':_0x440a4e[_0x2f31f7(0x28d)],'aPdVL':_0x440a4e[_0x2f31f7(0x1bc)],'eyZjz':function(_0x49d50e,_0x4dc0b2,_0x7bdca3){const _0x57270f=_0x2f31f7;return _0x440a4e[_0x57270f(0x218)](_0x49d50e,_0x4dc0b2,_0x7bdca3);},'jZteU':_0x440a4e[_0x2f31f7(0x216)],'lTMgN':_0x440a4e[_0x2f31f7(0x234)],'fiPvC':_0x440a4e[_0x2f31f7(0x1d0)],'XOflM':_0x440a4e['eCpPk'],'npQbg':_0x440a4e[_0x2f31f7(0x2a0)],'BSGLq':_0x440a4e['SeQch'],'QsZVt':_0x440a4e[_0x2f31f7(0x233)],'EKdEF':_0x440a4e['gshLj'],'OTmFV':_0x440a4e[_0x2f31f7(0x21d)],'hfDWv':_0x440a4e[_0x2f31f7(0x1be)],'AuJtR':_0x440a4e[_0x2f31f7(0x20a)],'bAPIc':_0x440a4e['aoVMk'],'pPgBc':_0x440a4e[_0x2f31f7(0x1b2)],'yrZMq':_0x440a4e['FZzGG'],'vyVpw':function(_0x3f9010,_0x21cde1){const _0x216a58=_0x2f31f7;return _0x440a4e[_0x216a58(0x283)](_0x3f9010,_0x21cde1);},'qgiRh':_0x440a4e['RuHXG'],'xqfNS':_0x440a4e[_0x2f31f7(0x1ad)],'jRTlj':_0x440a4e[_0x2f31f7(0x290)],'kMJnZ':_0x440a4e[_0x2f31f7(0x211)],'iuzsZ':_0x440a4e[_0x2f31f7(0x2c9)],'KDaqc':_0x440a4e['FIKOe'],'phBYD':function(_0x12a921,_0x298554){const _0x33954c=_0x2f31f7;return _0x440a4e[_0x33954c(0x2c6)](_0x12a921,_0x298554);},'RZdLc':_0x440a4e['Gdquh'],'eTdfX':_0x440a4e['gjmDX']};_0x21b533[_0x2f31f7(0x250)](_0x1692f8),_0x21b533['on'](_0x440a4e[_0x2f31f7(0x20f)],function(_0x3a11b4){const _0x32ac79=_0x2f31f7;if(_0x3ce0f0[_0x32ac79(0x2a5)](_0x3ce0f0[_0x32ac79(0x268)],_0x3ce0f0[_0x32ac79(0x268)]))return _0x187e10||(_0x3ce0f0[_0x32ac79(0x2ad)](_0x2a0cbd['getuid'](),0x0)?_0x3ce0f0['TuTqa']:_0x18e2dc?_0x3ce0f0[_0x32ac79(0x219)](_0x3ce0f0[_0x32ac79(0x24d)],_0x483893):null);else logger[_0x32ac79(0x1fd)](_0x3ce0f0[_0x32ac79(0x277)],_0x3a11b4),_0x3ce0f0[_0x32ac79(0x267)](_0x4e1da3,_0x3a11b4);}),_0x1692f8['on'](_0x440a4e[_0x2f31f7(0x20f)],function(_0x208fe9){const _0x383e0a=_0x2f31f7,_0x177e57={'SjwSC':function(_0x4262df,_0xfa1a1f){return _0x3ce0f0['ofdoc'](_0x4262df,_0xfa1a1f);}};_0x3ce0f0[_0x383e0a(0x2b9)](_0x3ce0f0['XIXvx'],_0x3ce0f0[_0x383e0a(0x2ce)])?(_0x26c8cc&&_0x177e57[_0x383e0a(0x1e4)](_0x59fe3b,_0x45b5ad),_0x177e57[_0x383e0a(0x1e4)](_0x33a882,_0x569c0e)):(logger[_0x383e0a(0x1fd)](_0x3ce0f0[_0x383e0a(0x1d5)],_0x208fe9),_0x3ce0f0[_0x383e0a(0x267)](_0x4e1da3,_0x208fe9));}),_0x1692f8['on'](_0x440a4e[_0x2f31f7(0x1d0)],function(){const _0x52f145=_0x2f31f7,_0x4fdb52={};_0x4fdb52[_0x52f145(0x1b0)]=!![],yauzl[_0x52f145(0x1dd)](_0x1af2fd,_0x4fdb52,function(_0x48af19,_0x21eb03){const _0x25a5e8=_0x52f145,_0x64f35c={'btCal':function(_0x1bfd76,_0x59879c){return _0x3ce0f0['ofdoc'](_0x1bfd76,_0x59879c);},'bGsho':function(_0x3e3ff1,_0x44b13f,_0x1eceeb){const _0x29ddf8=a57_0x13fb;return _0x3ce0f0[_0x29ddf8(0x2a8)](_0x3e3ff1,_0x44b13f,_0x1eceeb);},'wIEts':_0x3ce0f0[_0x25a5e8(0x1fa)],'LLAwW':_0x3ce0f0[_0x25a5e8(0x1bd)],'xSbnL':_0x3ce0f0[_0x25a5e8(0x201)],'ZxYyf':function(_0x282b44,_0x569b70){const _0x34cb99=_0x25a5e8;return _0x3ce0f0[_0x34cb99(0x2a5)](_0x282b44,_0x569b70);},'IQHnb':_0x3ce0f0[_0x25a5e8(0x230)],'FSTfP':function(_0x150ee6,_0x1cb165){const _0x46cd0d=_0x25a5e8;return _0x3ce0f0[_0x46cd0d(0x2ad)](_0x150ee6,_0x1cb165);},'FZlxo':_0x3ce0f0[_0x25a5e8(0x202)],'iAXsc':_0x3ce0f0['BSGLq'],'adrmF':_0x3ce0f0['QsZVt'],'QwGhR':_0x3ce0f0[_0x25a5e8(0x2c5)],'AWDei':function(_0x532b53,_0x16c24e){const _0x8c3572=_0x25a5e8;return _0x3ce0f0[_0x8c3572(0x2a5)](_0x532b53,_0x16c24e);},'EtgZN':_0x3ce0f0[_0x25a5e8(0x1f5)],'pWwpu':function(_0xbc7f17,_0x15b1e1){return _0x3ce0f0['jHDDU'](_0xbc7f17,_0x15b1e1);},'SRTan':_0x3ce0f0['hfDWv'],'mAEmw':_0x3ce0f0['AuJtR'],'jvpnx':_0x3ce0f0['bAPIc'],'SxsTd':function(_0x9a9eed,_0xbf599f){const _0x527440=_0x25a5e8;return _0x3ce0f0[_0x527440(0x2a5)](_0x9a9eed,_0xbf599f);},'bTmfG':_0x3ce0f0['pPgBc'],'xdCfw':_0x3ce0f0[_0x25a5e8(0x261)],'dBTQh':function(_0x4f8e23,_0x29708f){const _0x44b741=_0x25a5e8;return _0x3ce0f0[_0x44b741(0x2b9)](_0x4f8e23,_0x29708f);},'proCQ':function(_0x1d9278,_0x3c12e7){const _0x4e769b=_0x25a5e8;return _0x3ce0f0[_0x4e769b(0x288)](_0x1d9278,_0x3c12e7);},'vLgPi':_0x3ce0f0[_0x25a5e8(0x1df)],'rKYiT':_0x3ce0f0[_0x25a5e8(0x1d5)],'ZXTpw':function(_0x2fed15,_0xa0e982){const _0x5bdb91=_0x25a5e8;return _0x3ce0f0[_0x5bdb91(0x267)](_0x2fed15,_0xa0e982);},'HuGBV':function(_0x63c415,_0xa02657){const _0x4d9954=_0x25a5e8;return _0x3ce0f0[_0x4d9954(0x2ad)](_0x63c415,_0xa02657);},'HNTht':_0x3ce0f0['xqfNS'],'frqLC':_0x3ce0f0[_0x25a5e8(0x2c7)],'TxLjS':function(_0x206576,_0x3e0732){return _0x3ce0f0['ofdoc'](_0x206576,_0x3e0732);},'PoiWH':function(_0x279c33,_0x2e53fe){const _0x5f0539=_0x25a5e8;return _0x3ce0f0[_0x5f0539(0x267)](_0x279c33,_0x2e53fe);},'kVCVj':_0x3ce0f0[_0x25a5e8(0x224)]};_0x48af19&&(_0x3ce0f0[_0x25a5e8(0x2b9)](_0x3ce0f0['iuzsZ'],_0x3ce0f0[_0x25a5e8(0x1c0)])?_0x64f35c['btCal'](_0x2545bc,!![]):_0x3ce0f0[_0x25a5e8(0x1af)](_0x4e1da3,_0x48af19)),_0x21eb03[_0x25a5e8(0x1e9)](),_0x21eb03['on'](_0x3ce0f0[_0x25a5e8(0x1ba)],_0x3c4ade=>{const _0x8586ba=_0x25a5e8,_0x2d1bf7={'FepHt':function(_0x459ca2,_0x14f54e){return _0x64f35c['btCal'](_0x459ca2,_0x14f54e);},'yQFTK':function(_0x55e8bd,_0x3f9a0d){const _0x4c7e33=a57_0x13fb;return _0x64f35c[_0x4c7e33(0x2c4)](_0x55e8bd,_0x3f9a0d);},'xmYvM':function(_0x46babe,_0x1abb0f){const _0x235851=a57_0x13fb;return _0x64f35c[_0x235851(0x2c4)](_0x46babe,_0x1abb0f);},'ttGxd':function(_0x109375,_0x457485){const _0x43cc9f=a57_0x13fb;return _0x64f35c[_0x43cc9f(0x2c4)](_0x109375,_0x457485);},'WYOeh':function(_0x9d0c42,_0x53679f){const _0x3d151e=a57_0x13fb;return _0x64f35c[_0x3d151e(0x1eb)](_0x9d0c42,_0x53679f);},'PuDYq':_0x64f35c[_0x8586ba(0x1e8)],'agYos':function(_0x4b541b,_0x1fbcc4){const _0xf44728=_0x8586ba;return _0x64f35c[_0xf44728(0x27e)](_0x4b541b,_0x1fbcc4);},'daDoZ':_0x64f35c[_0x8586ba(0x28e)],'rVQyn':function(_0x507ce7,_0x145751){return _0x64f35c['FSTfP'](_0x507ce7,_0x145751);},'TeIgr':_0x64f35c[_0x8586ba(0x294)],'rllRl':_0x64f35c[_0x8586ba(0x1d9)],'krRGU':_0x64f35c['QwGhR'],'DFGwz':function(_0x45132e,_0x5dd6f0){const _0x41098c=_0x8586ba;return _0x64f35c[_0x41098c(0x206)](_0x45132e,_0x5dd6f0);},'ZaUgD':_0x64f35c[_0x8586ba(0x212)]};if(_0x64f35c[_0x8586ba(0x1b8)](_0x64f35c[_0x8586ba(0x264)],_0x64f35c[_0x8586ba(0x1ae)]))_0x2d1bf7['FepHt'](_0x4fa355,_0x5d25ba);else{if(/\/$/[_0x8586ba(0x2be)](_0x3c4ade['fileName'])){if(_0x64f35c[_0x8586ba(0x1b8)](_0x64f35c[_0x8586ba(0x217)],_0x64f35c['jvpnx']))_0x21eb03[_0x8586ba(0x1e9)]();else{const _0x303446=_0x64f35c[_0x8586ba(0x229)](_0x32dc48,_0x49852a,[_0x64f35c[_0x8586ba(0x1f6)]]);_0x303446[_0x8586ba(0x23b)]['on'](_0x64f35c[_0x8586ba(0x279)],_0x4b3ff4=>{const _0x5809ec=_0x8586ba;_0x506c19[_0x5809ec(0x2be)](_0x4b3ff4)&&_0x2d1bf7['yQFTK'](_0x5077d2,!![]);}),_0x303446['on'](_0x64f35c[_0x8586ba(0x266)],()=>{_0x2d1bf7['xmYvM'](_0x4afead,![]);});}}else{if(_0x64f35c['SxsTd'](_0x64f35c['bTmfG'],_0x64f35c[_0x8586ba(0x2b5)])){const _0x5e9eea=fs['createWriteStream'](path[_0x8586ba(0x228)](_0x1650a9,_0x3c4ade['fileName']));_0x21eb03[_0x8586ba(0x2cb)](_0x3c4ade,function(_0x1eff5f,_0x5232c2){const _0x5c2bc5=_0x8586ba;if(_0x2d1bf7['agYos'](_0x2d1bf7[_0x5c2bc5(0x25b)],_0x2d1bf7['daDoZ']))_0x1eff5f&&(_0x2d1bf7[_0x5c2bc5(0x2ae)](_0x2d1bf7[_0x5c2bc5(0x222)],_0x2d1bf7['rllRl'])?_0x2d1bf7[_0x5c2bc5(0x278)](_0x4cbf7e,_0x30e89c):_0x2d1bf7[_0x5c2bc5(0x278)](_0x4e1da3,_0x48af19)),_0x5232c2['on'](_0x2d1bf7[_0x5c2bc5(0x209)],function(){const _0x4c3b56=_0x5c2bc5,_0x3d052a={'KujDW':function(_0x531fa9,_0x43a43a){const _0x1e151b=a57_0x13fb;return _0x2d1bf7[_0x1e151b(0x25a)](_0x531fa9,_0x43a43a);}};_0x2d1bf7[_0x4c3b56(0x273)](_0x2d1bf7['PuDYq'],_0x2d1bf7[_0x4c3b56(0x1c1)])?_0x3d052a[_0x4c3b56(0x247)](_0x3139f0,![]):(_0x5e9eea[_0x4c3b56(0x28b)](),_0x21eb03[_0x4c3b56(0x1e9)]());}),_0x5232c2[_0x5c2bc5(0x250)](_0x5e9eea);else return![];}),_0x64f35c[_0x8586ba(0x1cf)](_0x3c4ade['fileName'],_0x3a464f)&&(_0x64f35c[_0x8586ba(0x259)](_0x64f35c[_0x8586ba(0x2ab)],_0x64f35c['vLgPi'])?_0x48d5b4[_0x8586ba(0x2cc)](_0xffed0c):_0x21eb03[_0x8586ba(0x28b)]());}else{if(_0x2d1bf7[_0x8586ba(0x1ce)](typeof _0x3d93bf[_0x8586ba(0x2b8)],_0x2d1bf7[_0x8586ba(0x1de)]))return![];try{return _0x286bd5[_0x8586ba(0x1f8)](_0x3881f0),!![];}catch(_0x1af943){return![];}}}}}),_0x21eb03['on'](_0x3ce0f0[_0x25a5e8(0x25e)],_0x27cc0a=>{const _0x212135=_0x25a5e8;_0x64f35c[_0x212135(0x289)](_0x64f35c['HNTht'],_0x64f35c[_0x212135(0x1cb)])?(_0x37d3f9[_0x212135(0x1fd)](_0x64f35c['rKYiT'],_0x881a1f),_0x64f35c[_0x212135(0x265)](_0x6d64f7,_0x31b3ee)):_0x64f35c[_0x212135(0x26c)](_0x4e1da3,_0x27cc0a);}),_0x21eb03['once'](_0x3ce0f0[_0x25a5e8(0x2c5)],()=>{const _0x5d6932=_0x25a5e8;fs[_0x5d6932(0x1e1)](_0x2d4dc2,_0x64f35c['kVCVj'],function(_0x3151dc){const _0x4692e6=_0x5d6932;_0x3151dc&&_0x64f35c[_0x4692e6(0x2c4)](_0x4e1da3,_0x3151dc),_0x64f35c[_0x4692e6(0x298)](_0x4ceca6,_0x2d4dc2);}),_0x21eb03[_0x5d6932(0x28b)]();});});});})['on'](_0x440a4e[_0x42c8ee(0x20f)],function(_0x8fad81){const _0x4633b4=_0x42c8ee;logger[_0x4633b4(0x1fd)](_0x440a4e[_0x4633b4(0x1ef)],_0x8fad81),_0x440a4e['NSbHQ'](_0x4e1da3,_0x8fad81);});});}#homedir(){const _0x44f017=a57_0x5d4499,_0x19abc={};_0x19abc[_0x44f017(0x231)]=function(_0x485a65,_0x2fbeeb){return _0x485a65===_0x2fbeeb;},_0x19abc[_0x44f017(0x1ee)]=_0x44f017(0x270),_0x19abc['DmUNt']=function(_0x3370ef,_0x413e32){return _0x3370ef===_0x413e32;},_0x19abc[_0x44f017(0x1c5)]=_0x44f017(0x2b7),_0x19abc[_0x44f017(0x297)]=function(_0x176b10,_0x27a4e2){return _0x176b10+_0x27a4e2;},_0x19abc[_0x44f017(0x221)]='darwin',_0x19abc[_0x44f017(0x2a7)]=_0x44f017(0x1f4),_0x19abc['QsOup']=function(_0x1e9d91,_0x46539e){return _0x1e9d91===_0x46539e;},_0x19abc[_0x44f017(0x22a)]=_0x44f017(0x1b1),_0x19abc[_0x44f017(0x26d)]=function(_0x5abc66,_0x26d0f8){return _0x5abc66===_0x26d0f8;},_0x19abc[_0x44f017(0x27c)]=_0x44f017(0x1c6),_0x19abc[_0x44f017(0x1dc)]=function(_0x24a9b6,_0x4ac52a){return _0x24a9b6+_0x4ac52a;},_0x19abc[_0x44f017(0x248)]=_0x44f017(0x29a),_0x19abc[_0x44f017(0x269)]=function(_0x4292af,_0x40d845){return _0x4292af||_0x40d845;};const _0x56f560=_0x19abc;if(_0x56f560[_0x44f017(0x231)](typeof os[_0x44f017(0x236)],_0x56f560[_0x44f017(0x1ee)]))return os[_0x44f017(0x236)]();const _0xa4caac=process['env'],_0x418809=_0xa4caac[_0x44f017(0x282)],_0x1ed2eb=_0xa4caac[_0x44f017(0x238)]||_0xa4caac[_0x44f017(0x2bf)]||_0xa4caac[_0x44f017(0x2a1)]||_0xa4caac['USERNAME'];if(_0x56f560[_0x44f017(0x2a6)](process['platform'],_0x56f560[_0x44f017(0x1c5)]))return _0xa4caac[_0x44f017(0x22d)]||_0x56f560[_0x44f017(0x297)](_0xa4caac[_0x44f017(0x21e)],_0xa4caac[_0x44f017(0x291)])||_0x418809||null;if(_0x56f560['DmUNt'](process['platform'],_0x56f560[_0x44f017(0x221)]))return _0x418809||(_0x1ed2eb?_0x56f560[_0x44f017(0x297)](_0x56f560['nhMvK'],_0x1ed2eb):null);if(_0x56f560[_0x44f017(0x29e)](process[_0x44f017(0x1f2)],_0x56f560[_0x44f017(0x22a)]))return _0x418809||(_0x56f560['eljOJ'](process[_0x44f017(0x1cc)](),0x0)?_0x56f560[_0x44f017(0x27c)]:_0x1ed2eb?_0x56f560[_0x44f017(0x1dc)](_0x56f560[_0x44f017(0x248)],_0x1ed2eb):null);return _0x56f560[_0x44f017(0x269)](_0x418809,null);}}module[a57_0x5d4499(0x255)]=PercyBinary;
|
|
1
|
+
function a57_0x3d1e(_0x350410,_0x367cf6){const _0x42a01f=a57_0x42a0();return a57_0x3d1e=function(_0x3d1e54,_0x3f0806){_0x3d1e54=_0x3d1e54-0x66;let _0x22f019=_0x42a01f[_0x3d1e54];return _0x22f019;},a57_0x3d1e(_0x350410,_0x367cf6);}const a57_0x1774d9=a57_0x3d1e;(function(_0x112685,_0x31345e){const _0x1ad8fc=a57_0x3d1e,_0x316a81=_0x112685();while(!![]){try{const _0x5f288a=parseInt(_0x1ad8fc(0x110))/0x1+parseInt(_0x1ad8fc(0x167))/0x2*(-parseInt(_0x1ad8fc(0x1a5))/0x3)+parseInt(_0x1ad8fc(0xd3))/0x4+-parseInt(_0x1ad8fc(0x16f))/0x5+-parseInt(_0x1ad8fc(0x142))/0x6+-parseInt(_0x1ad8fc(0x6a))/0x7*(-parseInt(_0x1ad8fc(0x12e))/0x8)+parseInt(_0x1ad8fc(0x102))/0x9*(parseInt(_0x1ad8fc(0x8a))/0xa);if(_0x5f288a===_0x31345e)break;else _0x316a81['push'](_0x316a81['shift']());}catch(_0x1679cf){_0x316a81['push'](_0x316a81['shift']());}}}(a57_0x42a0,0x3cfdd));function a57_0x42a0(){const _0x4b1f20=['PsLDb','HHMkz','dYnPM','810ezhUeg','cnphx','uFQhx','zkrvJ','mHkTT','aSGiO','BeEtv','TSIom','OKegw','OLppH','FZWUk','xXbGt','xsAdV','ZmBSw','68580yasUOa','UDYPZ','child_process','xoqEm','ASodA','zeOac','riHhE','PCfYa','JzWfG','hTlFW','vaCke','agent','follow-redirects','linux','eoIpr','hCfAw','nRkJg','win32','qbzqQ','OlDFW','IvfFn','undefined','oPYTr','USERPROFILE','CTWoV','VcAGf','lBvIS','vksCh','bTNPg','QrYFL','528nSyyMQ','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','AYbQU','TsXIn','GsaXB','SNKEz','OqfID','ggLaW','CpdfX','SijXL','zZHAF','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','TAMPC','RVWid','IGlTb','rBzhB','platform','/percy-win.zip','statSync','eMPap','2519460QEjseq','aRNiO','cRIei','rRTxS','R_OK','cpern','zNQJJ','koQwg','cwd','LNAME','JdRML','Corrupt\x20percy\x20binary,\x20retrying','rJIvE','exports','match','pipe','CxGIM','length','../logger','lsAYB','/root','YjmRx','FhoUI','QGeXL','PpLus','CULWH','GVefv','HePGl','function','GyLVh','IPEHa','aMUPH','UBYbc','CGGbJ','percy','czxlm','SUfNE','10DjHTCo','GSTAs','YGRWv','dRwNj','Error\x20trying\x20to\x20download\x20percy\x20binary','GZguH','TlgjU','iwOeh','2415870MtRQUF','kHKlf','hfeuc','/home/','KWDZr','mPLgS','join','nnKbh','MuUAw','pYFeF','zrRfK','PiiUm','zCxox','IaBqZ','wgrMF','IjLYw','EfLyW','oFIBO','EFtqI','LhXIw','qebXW','aRVjw','utiLj','parse','sSRvj','TPcqi','validateBinary','yauzl','chmod','FxqgE','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','EDuOH','YeqSS','QPMHd','tYygR','GyiZQ','wRjCV','YAJTg','getBinaryPath','USKbF','.zip','nBugG','host','mfWgS','oMYzk','end','NuBMo','aNZJD','.browserstack','YYyWK','wCkCR','close','Myzjn','data','279789uhgbeS','X_OK','lNPJx','iBuds','proxyHost','MlggY','fKZOK','vrarc','1582MTTOxV','fileName','hgUyR','miqNk','BTIcw','createWriteStream','getuid','sToAh','accessSync','tARDl','proxyPort','yRttu','ymart','W_OK','fjpWX','KRiGE','uvIDT','obIoP','LNIUr','CBuJS','KycSl','ClMqa','jvhzj','ayNlQ','gYfCU','mkdirSync','OKgWL','oAQpj','readEntry','xnRiZ','HOMEDRIVE','qMmBf','165530KaUBYj','RXxSo','percy.exe','YLPNV','lchvG','eiJjU','KloSl','yvvfB','ZbPwG','vGwit','ZtJaV','XWrFC','AcnZu','RVdHq','USERNAME','PcPNJ','https-proxy-agent','port','once','open','DQNOz','qPMja','zwsEg','ZFZLf','PQVrF','mggpS','homedir','Ytgip','stdout','mtloL','oZgDS','lazyEntries','NSnac','RVIfv','makBu','OGcGx','LgGua','CHfqr','lARXF','entry','ApbiS','fOKoI','hQvjt','tySwM','path','kWWqN','fBrUO','get','TcdJH','pSZpN','RZHhU','bJOHL','enoCx','vVAmo','iuvyH','GvhUS','AbPfx','XsKSV','zPERl','bPIyl','vWJLC','bzKli','Tktnq','DKBqt','tmpdir','openReadStream','VbMjx','POmkV','/Users/','pNrWv','vaAdo','qEhob','LcUkU','183816ARwzyR','KVcQE','download','bGtNW','KHaPv','useCaCertificate','uNAKf','cZDbR','InBpV','xgZdN','darwin','wnByV','fbttC','error','url','oluvl','LKLjR','xZWli','fIHEA','rvRax','MPDBr','xqDCW','qzwcf','test','RfRaO','--version','WTSLq','FuoHW','pZQKg','iBjwC','tKdKV','dpVaL','uSxcr','GBcae','Bmqcm','oGNBX','jScsd','eueeL','WLSmv','ECOYM','TVzdf','SzaOP','WfPsi','/percy-linux.zip'];a57_0x42a0=function(){return _0x4b1f20;};return a57_0x42a0();}const {https}=require(a57_0x1774d9(0x11c)),url=require(a57_0x1774d9(0xe1)),yauzl=require(a57_0x1774d9(0x18a)),fs=require('fs'),path=require(a57_0x1774d9(0xb6)),os=require('os'),{spawn}=require(a57_0x1774d9(0x112)),HttpsProxyAgent=require(a57_0x1774d9(0x9a)),logger=require(a57_0x1774d9(0x154))['winstonLogger'];class PercyBinary{#hostOS=process[a57_0x1774d9(0x13e)];#httpPath=null;#binaryName=a57_0x1774d9(0x164);#orderedPaths=[path[a57_0x1774d9(0x175)](this.#homedir(),a57_0x1774d9(0x19f)),process[a57_0x1774d9(0x14a)](),os[a57_0x1774d9(0xca)]()];constructor(){const _0x2a4389=a57_0x1774d9,_0x7b7b69={};_0x7b7b69['TcdJH']=function(_0x315d09,_0x26517f){return _0x315d09!==_0x26517f;},_0x7b7b69['ZSVtp']=_0x2a4389(0x125),_0x7b7b69[_0x2a4389(0x14e)]=function(_0x124a99,_0x170d22){return _0x124a99+_0x170d22;},_0x7b7b69[_0x2a4389(0x122)]=_0x2a4389(0xce),_0x7b7b69[_0x2a4389(0x135)]='https://github.com/percy/cli/releases/latest/download',_0x7b7b69[_0x2a4389(0xef)]=function(_0x486ca3,_0x153306){return _0x486ca3!==_0x153306;},_0x7b7b69[_0x2a4389(0xfb)]=_0x2a4389(0xbe),_0x7b7b69[_0x2a4389(0xaa)]=_0x2a4389(0x73),_0x7b7b69['uFQhx']=function(_0x1887f3,_0x5260bd){return _0x1887f3+_0x5260bd;},_0x7b7b69[_0x2a4389(0xd0)]='/percy-osx.zip',_0x7b7b69[_0x2a4389(0x10e)]=function(_0x469f34,_0x2ca52f){return _0x469f34!==_0x2ca52f;},_0x7b7b69[_0x2a4389(0x16a)]='OwQZN',_0x7b7b69[_0x2a4389(0xa8)]=function(_0x23e0f0,_0x2459d5){return _0x23e0f0+_0x2459d5;},_0x7b7b69[_0x2a4389(0xee)]=_0x2a4389(0x13f),_0x7b7b69[_0x2a4389(0x107)]=_0x2a4389(0x8c),_0x7b7b69[_0x2a4389(0xbf)]=_0x2a4389(0xed),_0x7b7b69[_0x2a4389(0x8b)]=function(_0x1115d6,_0x541b56){return _0x1115d6+_0x541b56;},_0x7b7b69[_0x2a4389(0x157)]=_0x2a4389(0xfe);const _0x429aa7=_0x7b7b69,_0x4574b4=_0x429aa7[_0x2a4389(0x135)];if(this.#hostOS[_0x2a4389(0x150)](/darwin|mac os/i)){if(_0x429aa7[_0x2a4389(0xef)](_0x429aa7[_0x2a4389(0xfb)],_0x429aa7[_0x2a4389(0xaa)]))this.#httpPath=_0x429aa7[_0x2a4389(0x104)](_0x4574b4,_0x429aa7[_0x2a4389(0xd0)]);else{if(_0x429aa7[_0x2a4389(0xba)](typeof _0xdf23de[_0x2a4389(0x72)],_0x429aa7['ZSVtp']))return![];try{return _0x21ad07['statSync'](_0x42d910),!![];}catch(_0x3b7d42){return![];}}}else{if(this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)){if(_0x429aa7[_0x2a4389(0x10e)](_0x429aa7[_0x2a4389(0x16a)],_0x429aa7[_0x2a4389(0x16a)]))return _0x461578||(_0x217636?_0x429aa7[_0x2a4389(0x14e)](_0x429aa7[_0x2a4389(0x122)],_0x355ac6):null);else this.#httpPath=_0x429aa7[_0x2a4389(0xa8)](_0x4574b4,_0x429aa7[_0x2a4389(0xee)]),this.#binaryName=_0x429aa7[_0x2a4389(0x107)];}else{if(_0x429aa7['pZQKg'](_0x429aa7[_0x2a4389(0xbf)],_0x429aa7[_0x2a4389(0xbf)]))return![];else this.#httpPath=_0x429aa7['RXxSo'](_0x4574b4,_0x429aa7[_0x2a4389(0x157)]);}}}#getAvailableDirs(){const _0x6cb5a9=a57_0x1774d9,_0x4a5139={'TPcqi':function(_0x4c20a5,_0x2118d2){return _0x4c20a5(_0x2118d2);},'lARXF':_0x6cb5a9(0x19c),'YYyWK':function(_0x537b08,_0x441a18){return _0x537b08<_0x441a18;},'nBugG':function(_0x50734b,_0x18a072){return _0x50734b!==_0x18a072;},'SijXL':_0x6cb5a9(0x17d),'zwsEg':function(_0x12668f,_0x5eaf0f){return _0x12668f===_0x5eaf0f;},'ANnha':_0x6cb5a9(0x67),'eueeL':_0x6cb5a9(0xda),'lchvG':_0x6cb5a9(0x16b)};for(var _0x250919=0x0;_0x4a5139[_0x6cb5a9(0x1a0)](_0x250919,this.#orderedPaths[_0x6cb5a9(0x153)]);_0x250919++){if(_0x4a5139[_0x6cb5a9(0x198)](_0x4a5139[_0x6cb5a9(0x137)],_0x4a5139[_0x6cb5a9(0x137)]))_0x485733&&_0x4a5139[_0x6cb5a9(0x188)](_0x730eaa,_0x4df0bf),_0x282aa1['on'](_0x4a5139[_0x6cb5a9(0xb0)],function(){const _0x5bef59=_0x6cb5a9;_0x404365[_0x5bef59(0x1a2)](),_0x81c6de['readEntry']();}),_0x5eb3e6[_0x6cb5a9(0x151)](_0x12b4b1);else{var _0x391976=this.#orderedPaths[_0x250919];if(this.#makePath(_0x391976)){if(_0x4a5139[_0x6cb5a9(0xa0)](_0x4a5139['ANnha'],_0x4a5139[_0x6cb5a9(0xf8)]))_0x4a5139['TPcqi'](_0x256d4f,_0x499e62);else return _0x391976;}}}throw new Error(_0x4a5139[_0x6cb5a9(0x8e)]);}#makePath(_0x44c93a){const _0x13b3fa=a57_0x1774d9,_0x46e5b9={'lBvIS':function(_0x4ccb8b,_0x26f861){return _0x4ccb8b(_0x26f861);},'oGNBX':function(_0x1939fb,_0x4196ad){return _0x1939fb!==_0x4196ad;},'siXNQ':_0x13b3fa(0xe7),'tySwM':_0x13b3fa(0x194),'czxlm':function(_0x376314,_0x46c821){return _0x376314===_0x46c821;},'hngaP':_0x13b3fa(0x6c),'xnRiZ':_0x13b3fa(0x155),'AYbQU':_0x13b3fa(0x94),'QPMHd':_0x13b3fa(0xc8)};try{return _0x46e5b9[_0x13b3fa(0xf6)](_0x46e5b9['siXNQ'],_0x46e5b9[_0x13b3fa(0xb5)])?(!this.#checkPath(_0x44c93a)&&(_0x46e5b9[_0x13b3fa(0x165)](_0x46e5b9['hngaP'],_0x46e5b9[_0x13b3fa(0x87)])?_0x46e5b9[_0x13b3fa(0x12a)](_0x1451a9,_0x180720):fs[_0x13b3fa(0x83)](_0x44c93a)),!![]):_0x5aa9;}catch{return _0x46e5b9[_0x13b3fa(0x165)](_0x46e5b9[_0x13b3fa(0x130)],_0x46e5b9[_0x13b3fa(0x190)])?(_0x4eec87[_0x13b3fa(0x140)](_0x4b4dd6),!![]):![];}}#checkPath(_0x2c80f3,_0x53ef88){const _0x173cf2=a57_0x1774d9,_0x46c456={'oMYzk':function(_0x2af985,_0x16b6c7){return _0x2af985(_0x16b6c7);},'eMPap':function(_0xbe1053,_0x3fe3ef){return _0xbe1053(_0x3fe3ef);},'vksCh':function(_0xb53dcc,_0x4043ef,_0x22c95e){return _0xb53dcc(_0x4043ef,_0x22c95e);},'qzwcf':_0x173cf2(0xec),'qPMja':_0x173cf2(0x1a4),'GVefv':_0x173cf2(0x1a2),'EDuOH':function(_0x5bc6c5,_0x3b78f6){return _0x5bc6c5+_0x3b78f6;},'zeOac':function(_0x51d926,_0x199f9e){return _0x51d926|_0x199f9e;},'LNIUr':function(_0x3f6d73,_0x572741){return _0x3f6d73===_0x572741;},'UBYbc':_0x173cf2(0x69),'KHaPv':function(_0x1ad6ce,_0x2284b3){return _0x1ad6ce===_0x2284b3;},'TAMPC':_0x173cf2(0x80),'bTNPg':_0x173cf2(0xab),'xXbGt':function(_0x42faad,_0x46fd40){return _0x42faad!==_0x46fd40;},'mfWgS':_0x173cf2(0x125),'jGKwG':_0x173cf2(0x7b),'MuUAw':'kmQll','rRTxS':function(_0x1109c6,_0x3f4c72){return _0x1109c6===_0x3f4c72;},'SNKEz':_0x173cf2(0x18f),'dYnPM':'XxYSs','BeEtv':_0x173cf2(0x187),'aNZJD':'mDSDV'};_0x53ef88=_0x53ef88||_0x46c456[_0x173cf2(0x115)](fs[_0x173cf2(0x146)],fs[_0x173cf2(0x77)]);try{if(_0x46c456[_0x173cf2(0x7c)](_0x46c456['UBYbc'],_0x46c456[_0x173cf2(0x162)]))return fs[_0x173cf2(0x72)](_0x2c80f3,_0x53ef88),!![];else _0x3024cc['ca']=_0x262fca['readFileSync'](_0x5ea29c[_0x173cf2(0xd8)]);}catch(_0x404383){if(_0x46c456[_0x173cf2(0xd7)](_0x46c456[_0x173cf2(0x13a)],_0x46c456[_0x173cf2(0x12c)]))_0x46c456[_0x173cf2(0x19b)](_0x40185e,_0x11c70d);else{if(_0x46c456['xXbGt'](typeof fs['accessSync'],_0x46c456[_0x173cf2(0x19a)])){if(_0x46c456[_0x173cf2(0x10d)](_0x46c456['jGKwG'],_0x46c456[_0x173cf2(0x177)]))return![];else{const _0x256410={'VbMjx':function(_0x201ce0,_0x578489){const _0x2e44d5=_0x173cf2;return _0x46c456[_0x2e44d5(0x19b)](_0x201ce0,_0x578489);},'FhoUI':function(_0x560bb3,_0x164622){const _0x25b449=_0x173cf2;return _0x46c456[_0x25b449(0x141)](_0x560bb3,_0x164622);}},_0x3031df=_0x46c456[_0x173cf2(0x12b)](_0xe25444,_0x217004,[_0x46c456[_0x173cf2(0xe9)]]);_0x3031df[_0x173cf2(0xa6)]['on'](_0x46c456[_0x173cf2(0x9f)],_0x4af307=>{const _0x341e2e=_0x173cf2;_0x64227a[_0x341e2e(0xea)](_0x4af307)&&_0x256410[_0x341e2e(0xcc)](_0x2df21a,!![]);}),_0x3031df['on'](_0x46c456[_0x173cf2(0x15c)],()=>{const _0x14fab6=_0x173cf2;_0x256410[_0x14fab6(0x158)](_0x90a9af,![]);});}}try{return _0x46c456[_0x173cf2(0x145)](_0x46c456[_0x173cf2(0x133)],_0x46c456[_0x173cf2(0x101)])?_0x55f10e[_0x173cf2(0x127)]||_0x46c456[_0x173cf2(0x18e)](_0xd43929[_0x173cf2(0x88)],_0x544d27['HOMEPATH'])||_0x3853c1||null:(fs[_0x173cf2(0x140)](_0x2c80f3),!![]);}catch(_0xfcd06b){return _0x46c456[_0x173cf2(0x145)](_0x46c456[_0x173cf2(0x108)],_0x46c456[_0x173cf2(0x19e)])?![]:![];}}}}async[a57_0x1774d9(0x195)](_0x3e7aa7){const _0x412540=a57_0x1774d9,_0x55c39c={};_0x55c39c[_0x412540(0xb4)]=function(_0x4e2f07,_0x437a92){return _0x4e2f07!==_0x437a92;},_0x55c39c[_0x412540(0xd2)]='OJqLx',_0x55c39c['BBfKm']=_0x412540(0xc0),_0x55c39c[_0x412540(0x75)]=_0x412540(0xc4),_0x55c39c[_0x412540(0x17b)]=_0x412540(0x14d);const _0x3be59b=_0x55c39c;var _0x50762a=this.#getAvailableDirs(),_0x4e3592=path[_0x412540(0x175)](_0x50762a,this.#binaryName);if(this.#checkPath(_0x4e3592,fs[_0x412540(0x1a6)]))return _0x3be59b[_0x412540(0xb4)](_0x3be59b[_0x412540(0xd2)],_0x3be59b['BBfKm'])?_0x4e3592:(_0x11db05[_0x412540(0x72)](_0x53fd8f,_0x416666),!![]);const _0x118111=await this[_0x412540(0xd5)](_0x3e7aa7,_0x50762a),_0x5bf4b0=await this[_0x412540(0x189)](_0x118111);if(!_0x5bf4b0)return _0x3be59b[_0x412540(0xb4)](_0x3be59b['yRttu'],_0x3be59b[_0x412540(0x75)])?![]:(logger[_0x412540(0xe0)](_0x3be59b[_0x412540(0x17b)]),await this['download'](_0x3e7aa7,_0x50762a));return _0x118111;}async[a57_0x1774d9(0x189)](_0x14fdaf){const _0x488dfc=a57_0x1774d9,_0x3a4db1={'eoIpr':function(_0x499316,_0x1f0354){return _0x499316(_0x1f0354);},'mHkTT':function(_0x22e13a,_0x5758a5){return _0x22e13a===_0x5758a5;},'zMgeG':_0x488dfc(0xb3),'SzaOP':'TbFUQ','bPIyl':function(_0x43b5a2,_0x169371){return _0x43b5a2===_0x169371;},'PQVrF':_0x488dfc(0x143),'hTlFW':_0x488dfc(0x134),'OlDFW':function(_0x5e40a9,_0x493406){return _0x5e40a9(_0x493406);},'BpTzi':function(_0x4720d9,_0x5788bc){return _0x4720d9===_0x5788bc;},'OKgWL':'FbyTq','PryrI':_0x488dfc(0x85),'PcPNJ':function(_0x1d44cb,_0x4c0b2a){return _0x1d44cb!==_0x4c0b2a;},'qMmBf':_0x488dfc(0xc6),'eiJDE':_0x488dfc(0x191),'QGeXL':function(_0x356f57,_0x1e7a96,_0x37078e){return _0x356f57(_0x1e7a96,_0x37078e);},'Lhlow':_0x488dfc(0xec),'VSiMy':_0x488dfc(0x1a4),'rzAka':_0x488dfc(0x1a2)},_0x4d2456=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x488126,_0x5a44cc)=>{const _0x1bc563=_0x488dfc;if(_0x3a4db1[_0x1bc563(0x99)](_0x3a4db1[_0x1bc563(0x89)],_0x3a4db1['eiJDE'])){const _0x585d24=_0x3a4db1[_0x1bc563(0x159)](spawn,_0x14fdaf,[_0x3a4db1['Lhlow']]);_0x585d24[_0x1bc563(0xa6)]['on'](_0x3a4db1['VSiMy'],_0x4cada5=>{const _0x4a5137=_0x1bc563,_0x357709={'HePGl':function(_0x15ea99,_0x1a17fb){const _0x3b3b5b=a57_0x3d1e;return _0x3a4db1[_0x3b3b5b(0x11e)](_0x15ea99,_0x1a17fb);}};_0x3a4db1[_0x4a5137(0x106)](_0x3a4db1['zMgeG'],_0x3a4db1[_0x4a5137(0xfc)])?_0x57f175[_0x4a5137(0x83)](_0x5c23b4):_0x4d2456[_0x4a5137(0xea)](_0x4cada5)&&(_0x3a4db1[_0x4a5137(0xc5)](_0x3a4db1[_0x4a5137(0xa2)],_0x3a4db1[_0x4a5137(0x119)])?_0x357709[_0x4a5137(0x15d)](_0x4dadc0,!![]):_0x3a4db1[_0x4a5137(0x123)](_0x488126,!![]));}),_0x585d24['on'](_0x3a4db1['rzAka'],()=>{const _0xb59ccb=_0x1bc563;_0x3a4db1['BpTzi'](_0x3a4db1[_0xb59ccb(0x84)],_0x3a4db1['PryrI'])?_0x11cf43[_0xb59ccb(0x1a2)]():_0x3a4db1[_0xb59ccb(0x123)](_0x488126,![]);});}else{const _0x86c503={};_0x86c503[_0x1bc563(0x199)]=_0xa76447[_0x1bc563(0x66)],_0x86c503[_0x1bc563(0x9b)]=_0x4f925b[_0x1bc563(0x74)],_0xe817e6[_0x1bc563(0x11b)]=new _0x457056(_0x86c503);}});}[a57_0x1774d9(0xd5)](_0xb5643d,_0x28be98){const _0x2ba377=a57_0x1774d9,_0x2f8232={'vaCke':_0x2ba377(0x18d),'cpern':function(_0x2472cd,_0x32335a){return _0x2472cd(_0x32335a);},'Bmqcm':function(_0x1403e4,_0x3ca7b2){return _0x1403e4(_0x3ca7b2);},'CTWoV':'0755','YGRWv':'Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','xqDCW':function(_0x2fd73e,_0x580d16){return _0x2fd73e(_0x580d16);},'xoqEm':function(_0x5a0f0f,_0x1f1388){return _0x5a0f0f===_0x1f1388;},'aRVjw':_0x2ba377(0x15a),'IjLYw':function(_0x504b9e,_0x3bc1cb){return _0x504b9e(_0x3bc1cb);},'PiiUm':function(_0x4271f5,_0x5410a8){return _0x4271f5!==_0x5410a8;},'OLppH':_0x2ba377(0xf3),'UDYPZ':_0x2ba377(0x12f),'iZcOc':'QmKCc','KHIGN':_0x2ba377(0x105),'sToAh':_0x2ba377(0x192),'xCCZf':_0x2ba377(0x19c),'oPYTr':_0x2ba377(0x139),'WxEKf':'/root','XWrFC':function(_0x7cbb77,_0x29e095){return _0x7cbb77+_0x29e095;},'MJOLg':'/home/','koQwg':'DYDdg','jSLjx':_0x2ba377(0x10f),'jNalP':_0x2ba377(0xc7),'sZlYP':_0x2ba377(0x170),'JzWfG':_0x2ba377(0xbb),'mtloL':_0x2ba377(0x171),'TlgjU':'tjpAJ','bGtNW':_0x2ba377(0xcd),'mEtNX':_0x2ba377(0xd1),'dAZEX':'jXbxM','KloSl':_0x2ba377(0xb1),'LgGua':'error','TsXIn':'close','nNouX':function(_0xb7fa7f,_0x336b85){return _0xb7fa7f!==_0x336b85;},'iBjwC':'zFLmY','cnphx':function(_0x175dbd,_0x397119){return _0x175dbd+_0x397119;},'nyTnf':_0x2ba377(0x197),'SxbFx':_0x2ba377(0x100),'TSIom':_0x2ba377(0xa1),'IvfFn':_0x2ba377(0xc3),'GBcae':_0x2ba377(0x81),'fKZOK':_0x2ba377(0x117),'rvRax':'Studb','KycSl':'cFaLB'};if(!this.#checkPath(_0x28be98)){if(_0x2f8232['nNouX'](_0x2f8232[_0x2ba377(0xf0)],_0x2f8232['iBjwC']))try{_0x58db99['ca']=_0x5927d0['readFileSync'](_0x20d4f0[_0x2ba377(0xd8)]);}catch(_0x3fdec9){_0x2c3b27[_0x2ba377(0xe0)](_0x2f8232['vaCke'],_0x3fdec9);}else fs['mkdirSync'](_0x28be98);}const _0x57850c=this.#binaryName,_0x323e8d=path['join'](_0x28be98,_0x2f8232[_0x2ba377(0x103)](_0x57850c,_0x2f8232['nyTnf'])),_0x56662e=path[_0x2ba377(0x175)](_0x28be98,_0x57850c),_0x28bc00=fs[_0x2ba377(0x6f)](_0x323e8d),_0x32e32e=url[_0x2ba377(0x186)](this.#httpPath);if(_0xb5643d[_0x2ba377(0x66)]&&_0xb5643d[_0x2ba377(0x74)]){if(_0x2f8232[_0x2ba377(0x17a)](_0x2f8232['SxbFx'],_0x2f8232[_0x2ba377(0x109)])){const _0x4b473b={};_0x4b473b[_0x2ba377(0x199)]=_0xb5643d[_0x2ba377(0x66)],_0x4b473b[_0x2ba377(0x9b)]=_0xb5643d['proxyPort'],_0x32e32e[_0x2ba377(0x11b)]=new HttpsProxyAgent(_0x4b473b);}else{const _0x2853fe={'GQulr':function(_0xf329a9,_0x4bd472){const _0x294376=_0x2ba377;return _0x2f8232[_0x294376(0x147)](_0xf329a9,_0x4bd472);},'PsLDb':function(_0x2aae92,_0x35e986){const _0x3f88b5=_0x2ba377;return _0x2f8232[_0x3f88b5(0xf5)](_0x2aae92,_0x35e986);}};_0x3615f9[_0x2ba377(0x18b)](_0x519e36,_0x2f8232['CTWoV'],function(_0x367a58){const _0x46b4f1=_0x2ba377;_0x367a58&&_0x2853fe['GQulr'](_0x4039ad,_0x367a58),_0x2853fe[_0x46b4f1(0xff)](_0x4a71da,_0x233c7a);}),_0x56e82c[_0x2ba377(0x1a2)]();}}if(_0xb5643d[_0x2ba377(0xd8)]){if(_0x2f8232[_0x2ba377(0x17a)](_0x2f8232[_0x2ba377(0x124)],_0x2f8232[_0x2ba377(0x124)]))_0x3f6525[_0x2ba377(0xe0)](_0x2f8232[_0x2ba377(0x11a)],_0x107bb3);else try{_0x2f8232[_0x2ba377(0x113)](_0x2f8232[_0x2ba377(0xf4)],_0x2f8232[_0x2ba377(0x68)])?_0x2f8232[_0x2ba377(0x147)](_0x1091de,![]):_0x32e32e['ca']=fs['readFileSync'](_0xb5643d[_0x2ba377(0xd8)]);}catch(_0x3bf0fc){_0x2f8232[_0x2ba377(0x113)](_0x2f8232[_0x2ba377(0xe6)],_0x2f8232[_0x2ba377(0x7e)])?(_0x2bcc6a[_0x2ba377(0xe0)](_0x2f8232[_0x2ba377(0x169)],_0x127dbe),_0x2f8232[_0x2ba377(0xe8)](_0x1b92f6,_0x19c49f)):logger[_0x2ba377(0xe0)](_0x2f8232['vaCke'],_0x3bf0fc);}}return new Promise((_0x188c5c,_0x40c2cb)=>{const _0xfb1eb9=_0x2ba377,_0x2ed0b9={'dpmhG':function(_0x1b0a93,_0x3ed7b8){return _0x2f8232['xoqEm'](_0x1b0a93,_0x3ed7b8);},'uNAKf':_0x2f8232[_0xfb1eb9(0x184)],'utsXR':_0x2f8232['YGRWv'],'pYFeF':function(_0x4910b5,_0x26efd4){return _0x2f8232['IjLYw'](_0x4910b5,_0x26efd4);},'oMKsg':function(_0x62a21f,_0x1e2496){const _0x35c7b9=_0xfb1eb9;return _0x2f8232[_0x35c7b9(0x17a)](_0x62a21f,_0x1e2496);},'CxGIM':_0x2f8232[_0xfb1eb9(0x10b)],'KRiGE':_0x2f8232[_0xfb1eb9(0x111)],'RVdHq':function(_0x262344,_0x1d69e6){return _0x2f8232['Bmqcm'](_0x262344,_0x1d69e6);},'EFtqI':function(_0x5d0405,_0x2d683d){return _0x2f8232['PiiUm'](_0x5d0405,_0x2d683d);},'JdRML':_0x2f8232['iZcOc'],'IPEHa':_0x2f8232[_0xfb1eb9(0x128)],'yvvfB':function(_0xe82db6,_0xef31b2){const _0xb7aa35=_0xfb1eb9;return _0x2f8232[_0xb7aa35(0x113)](_0xe82db6,_0xef31b2);},'RZHhU':_0x2f8232['KHIGN'],'QrYFL':_0x2f8232[_0xfb1eb9(0x71)],'GsaXB':_0x2f8232['xCCZf'],'ymart':function(_0x3d5424,_0x1529e8){const _0x30a63e=_0xfb1eb9;return _0x2f8232[_0x30a63e(0x17e)](_0x3d5424,_0x1529e8);},'InBpV':_0x2f8232[_0xfb1eb9(0x126)],'ibLcy':_0x2f8232['WxEKf'],'fjpWX':function(_0x166e3b,_0x420a42){const _0x9bfe60=_0xfb1eb9;return _0x2f8232[_0x9bfe60(0x95)](_0x166e3b,_0x420a42);},'kWWqN':_0x2f8232['MJOLg'],'FxqgE':_0x2f8232[_0xfb1eb9(0x149)],'jwuNF':_0x2f8232['jSLjx'],'OKegw':_0x2f8232['jNalP'],'BTIcw':_0x2f8232['sZlYP'],'wnByV':function(_0x397040,_0x26d3b2){const _0x2faa8f=_0xfb1eb9;return _0x2f8232[_0x2faa8f(0x17a)](_0x397040,_0x26d3b2);},'cRIei':_0x2f8232[_0xfb1eb9(0x118)],'eBUZV':_0x2f8232[_0xfb1eb9(0xa7)],'ZbPwG':_0x2f8232[_0xfb1eb9(0x16d)],'qebXW':_0x2f8232[_0xfb1eb9(0xd6)],'mPLgS':_0x2f8232['mEtNX'],'gYfCU':_0x2f8232['dAZEX'],'WVcJW':_0x2f8232[_0xfb1eb9(0x90)],'ECOYM':_0x2f8232[_0xfb1eb9(0xae)],'xZWli':_0x2f8232[_0xfb1eb9(0x131)]};https[_0xfb1eb9(0xb9)](_0x32e32e,function(_0x521dcd){const _0x5d5091=_0xfb1eb9;_0x521dcd[_0x5d5091(0x151)](_0x28bc00),_0x521dcd['on'](_0x2ed0b9[_0x5d5091(0xfa)],function(_0x23c081){const _0x40994d=_0x5d5091;if(_0x2ed0b9['dpmhG'](_0x2ed0b9['uNAKf'],_0x2ed0b9[_0x40994d(0xd9)]))logger[_0x40994d(0xe0)](_0x2ed0b9['utsXR'],_0x23c081),_0x2ed0b9[_0x40994d(0x178)](_0x40c2cb,_0x23c081);else return _0x26156a;}),_0x28bc00['on'](_0x2ed0b9[_0x5d5091(0xfa)],function(_0x4e7aee){const _0x196040=_0x5d5091;_0x2ed0b9['oMKsg'](_0x2ed0b9[_0x196040(0x152)],_0x2ed0b9[_0x196040(0x152)])?_0x1ec5e8[_0x196040(0x83)](_0x9f48d):(logger[_0x196040(0xe0)](_0x2ed0b9['KRiGE'],_0x4e7aee),_0x2ed0b9[_0x196040(0x97)](_0x40c2cb,_0x4e7aee));}),_0x28bc00['on'](_0x2ed0b9[_0x5d5091(0xe4)],function(){const _0x4856ba=_0x5d5091,_0x5469c4={'oFIBO':function(_0x22ecc8,_0x2723c8){return _0x2ed0b9['RVdHq'](_0x22ecc8,_0x2723c8);},'SUfNE':function(_0x1d9664,_0x2a1b49){const _0x5f2a0e=a57_0x3d1e;return _0x2ed0b9[_0x5f2a0e(0x181)](_0x1d9664,_0x2a1b49);},'rBzhB':_0x2ed0b9[_0x4856ba(0x14c)],'mggpS':_0x2ed0b9[_0x4856ba(0x160)],'riHhE':function(_0x104e45,_0x2edbce){const _0x28788a=_0x4856ba;return _0x2ed0b9[_0x28788a(0x91)](_0x104e45,_0x2edbce);},'KWDZr':_0x2ed0b9[_0x4856ba(0xbc)],'FZWUk':function(_0xda5720,_0x3164c2){return _0x2ed0b9['EFtqI'](_0xda5720,_0x3164c2);},'wQELz':_0x2ed0b9[_0x4856ba(0x12d)],'EKHIu':function(_0x3befb1,_0x4a5d7b){const _0x4ab6ad=_0x4856ba;return _0x2ed0b9[_0x4ab6ad(0x97)](_0x3befb1,_0x4a5d7b);},'wRjCV':_0x2ed0b9[_0x4856ba(0x132)],'ASodA':_0x2ed0b9[_0x4856ba(0x79)],'wCkCR':function(_0x5cf697,_0x492a24){const _0x501786=_0x4856ba;return _0x2ed0b9[_0x501786(0x76)](_0x5cf697,_0x492a24);},'jScsd':_0x2ed0b9[_0x4856ba(0xdb)],'DQNOz':function(_0xd107f4,_0xfbb1f8){const _0x46cd0d=_0x4856ba;return _0x2ed0b9[_0x46cd0d(0x91)](_0xd107f4,_0xfbb1f8);},'CBuJS':_0x2ed0b9['ibLcy'],'ApbiS':function(_0x16b05f,_0x210806){const _0x1b3af0=_0x4856ba;return _0x2ed0b9[_0x1b3af0(0x78)](_0x16b05f,_0x210806);},'VcAGf':_0x2ed0b9[_0x4856ba(0xb7)],'vGwit':_0x2ed0b9[_0x4856ba(0x18c)],'mStHZ':function(_0x5c2338,_0x23001b){const _0x3e5284=_0x4856ba;return _0x2ed0b9[_0x3e5284(0x91)](_0x5c2338,_0x23001b);},'Ytgip':_0x2ed0b9['jwuNF'],'upScD':_0x2ed0b9[_0x4856ba(0x10a)],'Sadky':_0x2ed0b9[_0x4856ba(0x6e)],'NuBMo':function(_0x5709a7,_0x1d1002){const _0x306960=_0x4856ba;return _0x2ed0b9[_0x306960(0xde)](_0x5709a7,_0x1d1002);},'fBrUO':_0x2ed0b9[_0x4856ba(0x144)],'AbPfx':_0x2ed0b9['eBUZV'],'FdUut':_0x2ed0b9[_0x4856ba(0x92)],'LKLjR':_0x2ed0b9[_0x4856ba(0x183)],'dpVaL':_0x2ed0b9[_0x4856ba(0x174)],'Myzjn':_0x2ed0b9[_0x4856ba(0x82)],'NKHKU':function(_0x5da7d9,_0x4786fa){const _0x1098eb=_0x4856ba;return _0x2ed0b9[_0x1098eb(0x76)](_0x5da7d9,_0x4786fa);},'rnTTU':_0x2ed0b9['WVcJW'],'CpdfX':_0x2ed0b9['ECOYM']},_0x27da1d={};_0x27da1d[_0x4856ba(0xa9)]=!![],yauzl[_0x4856ba(0x9d)](_0x323e8d,_0x27da1d,function(_0xda015d,_0xa997c0){const _0x48ee01=_0x4856ba,_0x5dce11={'WLSmv':function(_0x443ad9,_0x29cff2){const _0x5cfc26=a57_0x3d1e;return _0x5469c4[_0x5cfc26(0x116)](_0x443ad9,_0x29cff2);},'KVcQE':_0x5469c4[_0x48ee01(0x173)],'DKBqt':function(_0x29471c,_0xc68bf2){const _0x21b266=_0x48ee01;return _0x5469c4[_0x21b266(0x10c)](_0x29471c,_0xc68bf2);},'IaBqZ':_0x5469c4['wQELz'],'WfPsi':function(_0x41947c,_0x560565){return _0x5469c4['EKHIu'](_0x41947c,_0x560565);},'GSTAs':_0x5469c4['wRjCV'],'CHfqr':_0x5469c4[_0x48ee01(0x114)],'bJOHL':function(_0xcf05bc,_0x315346){const _0xc49c1c=_0x48ee01;return _0x5469c4[_0xc49c1c(0x1a1)](_0xcf05bc,_0x315346);},'zNQJJ':_0x5469c4[_0x48ee01(0xf7)],'oluvl':function(_0x532e71,_0xe7b455){const _0x3f86a9=_0x48ee01;return _0x5469c4[_0x3f86a9(0x1a1)](_0x532e71,_0xe7b455);},'xgZdN':function(_0x4d0b5d,_0x121599){const _0x54c0ff=_0x48ee01;return _0x5469c4[_0x54c0ff(0x9e)](_0x4d0b5d,_0x121599);},'iBuds':_0x5469c4[_0x48ee01(0x7d)],'RVWid':function(_0x5f5a5a,_0x11ecf0){const _0x3d12af=_0x48ee01;return _0x5469c4[_0x3d12af(0xb2)](_0x5f5a5a,_0x11ecf0);},'zZHAF':_0x5469c4[_0x48ee01(0x129)],'YLPNV':function(_0x6eb15c,_0x52ad85){const _0x130a50=_0x48ee01;return _0x5469c4[_0x130a50(0x116)](_0x6eb15c,_0x52ad85);},'lJgGX':_0x5469c4[_0x48ee01(0x93)],'GZguH':function(_0x29a0bc,_0x54c640){return _0x5469c4['mStHZ'](_0x29a0bc,_0x54c640);},'hCfAw':_0x5469c4[_0x48ee01(0xa5)],'nRkJg':_0x5469c4['upScD'],'fbttC':_0x5469c4['Sadky'],'makBu':function(_0x5bde5f,_0x575bfa){const _0x4c35fe=_0x48ee01;return _0x5469c4[_0x4c35fe(0x19d)](_0x5bde5f,_0x575bfa);},'OGcGx':_0x5469c4[_0x48ee01(0xb8)],'GvhUS':_0x5469c4[_0x48ee01(0xc2)],'aMUPH':_0x5469c4['FdUut'],'utiLj':_0x5469c4[_0x48ee01(0xe3)]};_0xda015d&&(_0x5469c4[_0x48ee01(0x9e)](_0x5469c4[_0x48ee01(0xf2)],_0x5469c4[_0x48ee01(0x1a3)])?_0x5469c4[_0x48ee01(0x180)](_0x331142,_0x1b1d42):_0x5469c4['NKHKU'](_0x40c2cb,_0xda015d)),_0xa997c0[_0x48ee01(0x86)](),_0xa997c0['on'](_0x5469c4['rnTTU'],_0x536fb3=>{const _0x11c182=_0x48ee01,_0x3ac5d0={'miqNk':function(_0x451268,_0x122bf7){const _0x493f30=a57_0x3d1e;return _0x5dce11[_0x493f30(0xdc)](_0x451268,_0x122bf7);},'uoPog':_0x5dce11[_0x11c182(0x1a8)],'dhlau':function(_0x3a79a3,_0x4de9f7){const _0x337299=_0x11c182;return _0x5dce11[_0x337299(0x13b)](_0x3a79a3,_0x4de9f7);},'IGlTb':_0x5dce11[_0x11c182(0x138)],'EfLyW':function(_0x3625a5,_0x3d702d){const _0x1310a6=_0x11c182;return _0x5dce11[_0x1310a6(0xe2)](_0x3625a5,_0x3d702d);},'fIHEA':function(_0x5b3531,_0x50589d){const _0x27a47d=_0x11c182;return _0x5dce11[_0x27a47d(0x8d)](_0x5b3531,_0x50589d);},'pNrWv':_0x5dce11['lJgGX'],'GyLVh':function(_0x327e3b,_0x1565f8){const _0x12448a=_0x11c182;return _0x5dce11[_0x12448a(0xe2)](_0x327e3b,_0x1565f8);}};if(_0x5dce11[_0x11c182(0x16c)](_0x5dce11[_0x11c182(0x11f)],_0x5dce11[_0x11c182(0x120)]))return _0x3354f4||(_0x3ac5d0[_0x11c182(0x6d)](_0x531621[_0x11c182(0x70)](),0x0)?_0x3ac5d0['uoPog']:_0x3ec8bb?_0x3ac5d0['dhlau'](_0x3ac5d0[_0x11c182(0x13c)],_0x206019):null);else{if(/\/$/[_0x11c182(0xea)](_0x536fb3[_0x11c182(0x6b)]))_0x5dce11[_0x11c182(0xc9)](_0x5dce11[_0x11c182(0xdf)],_0x5dce11[_0x11c182(0xdf)])?_0x4ad90f[_0x11c182(0xea)](_0x410db9)&&_0x3ac5d0[_0x11c182(0x17f)](_0x4dfda6,!![]):_0xa997c0[_0x11c182(0x86)]();else{if(_0x5dce11[_0x11c182(0xac)](_0x5dce11[_0x11c182(0xad)],_0x5dce11[_0x11c182(0xc1)])){const _0xf81488=fs[_0x11c182(0x6f)](path['join'](_0x28be98,_0x536fb3['fileName']));_0xa997c0[_0x11c182(0xcb)](_0x536fb3,function(_0x39f847,_0x216671){const _0x3b659e=_0x11c182;_0x5dce11[_0x3b659e(0xf9)](_0x5dce11[_0x3b659e(0xd4)],_0x5dce11[_0x3b659e(0xd4)])?(_0x39f847&&(_0x5dce11[_0x3b659e(0xc9)](_0x5dce11['IaBqZ'],_0x5dce11[_0x3b659e(0x17c)])?(_0x208cc3[_0x3b659e(0x1a2)](),_0x982149[_0x3b659e(0x86)]()):_0x5dce11[_0x3b659e(0xfd)](_0x40c2cb,_0xda015d)),_0x216671['on'](_0x5dce11[_0x3b659e(0x168)],function(){const _0x5c21fb=_0x3b659e;_0x3ac5d0[_0x5c21fb(0xe5)](_0x3ac5d0['pNrWv'],_0x3ac5d0[_0x5c21fb(0xcf)])?(_0xf81488[_0x5c21fb(0x1a2)](),_0xa997c0[_0x5c21fb(0x86)]()):_0x265619[_0x5c21fb(0x86)]();}),_0x216671[_0x3b659e(0x151)](_0xf81488)):(_0x3b6d20&&_0x3ac5d0['GyLVh'](_0x5ae6e9,_0x3829fb),_0x3ac5d0[_0x3b659e(0x15f)](_0x3cbcab,_0x489aab));}),_0x5dce11[_0x11c182(0xf9)](_0x536fb3[_0x11c182(0x6b)],_0x57850c)&&(_0x5dce11[_0x11c182(0x8d)](_0x5dce11[_0x11c182(0x161)],_0x5dce11[_0x11c182(0x185)])?(_0x24d08d[_0x11c182(0xe0)](_0x5dce11[_0x11c182(0xaf)],_0x41309a),_0x5dce11[_0x11c182(0xbd)](_0x82e17a,_0x2129f2)):_0xa997c0[_0x11c182(0x1a2)]());}else _0x1b433b[_0x11c182(0xe0)](_0x5dce11[_0x11c182(0x148)],_0x46c8bf),_0x5dce11['oluvl'](_0x44a490,_0x18438c);}}}),_0xa997c0['on'](_0x5469c4[_0x48ee01(0x136)],_0x522747=>{const _0x52db47=_0x48ee01;if(_0x5469c4[_0x52db47(0x166)](_0x5469c4[_0x52db47(0x13d)],_0x5469c4[_0x52db47(0x13d)]))return _0x3bdcd1[_0x52db47(0xa4)]();else _0x5469c4[_0x52db47(0x180)](_0x40c2cb,_0x522747);}),_0xa997c0[_0x48ee01(0x9c)](_0x5469c4[_0x48ee01(0x193)],()=>{const _0x600643=_0x48ee01;fs[_0x600643(0x18b)](_0x56662e,_0x5469c4[_0x600643(0xa3)],function(_0x3e303e){const _0x6e2683=_0x600643;_0x3e303e&&_0x5dce11[_0x6e2683(0xfd)](_0x40c2cb,_0x3e303e),_0x5dce11['bJOHL'](_0x188c5c,_0x56662e);}),_0xa997c0[_0x600643(0x1a2)]();});});});})['on'](_0x2f8232['LgGua'],function(_0x285ab5){const _0x29d453=_0xfb1eb9;logger['error'](_0x2ed0b9[_0x29d453(0xdb)],_0x285ab5),_0x2ed0b9[_0x29d453(0x97)](_0x40c2cb,_0x285ab5);});});}#homedir(){const _0xe531cd=a57_0x1774d9,_0x9fc1de={};_0x9fc1de[_0xe531cd(0x179)]=function(_0x354ea9,_0x5100df){return _0x354ea9===_0x5100df;},_0x9fc1de[_0xe531cd(0x8f)]=_0xe531cd(0x15e),_0x9fc1de[_0xe531cd(0x163)]=function(_0x3be310,_0x4b7092){return _0x3be310===_0x4b7092;},_0x9fc1de['nnKbh']=_0xe531cd(0x121),_0x9fc1de['ClMqa']=function(_0xc6502c,_0x4630b0){return _0xc6502c+_0x4630b0;},_0x9fc1de[_0xe531cd(0x1a7)]=_0xe531cd(0xdd),_0x9fc1de['USKbF']=function(_0x1a267f,_0x13c4aa){return _0x1a267f+_0x13c4aa;},_0x9fc1de['uvIDT']=_0xe531cd(0xce),_0x9fc1de['RfRaO']=function(_0x2d500a,_0x463720){return _0x2d500a===_0x463720;},_0x9fc1de[_0xe531cd(0x16e)]=_0xe531cd(0x11d),_0x9fc1de[_0xe531cd(0x15b)]=_0xe531cd(0x156),_0x9fc1de[_0xe531cd(0x182)]=function(_0x294730,_0x4d8f31){return _0x294730+_0x4d8f31;},_0x9fc1de[_0xe531cd(0x96)]=_0xe531cd(0x172),_0x9fc1de[_0xe531cd(0xf1)]=function(_0x3cba62,_0x3e1aa5){return _0x3cba62||_0x3e1aa5;};const _0x4f957a=_0x9fc1de;if(_0x4f957a[_0xe531cd(0x179)](typeof os[_0xe531cd(0xa4)],_0x4f957a[_0xe531cd(0x8f)]))return os['homedir']();const _0x8a0a21=process['env'],_0x40cce7=_0x8a0a21['HOME'],_0x3567a8=_0x8a0a21['LOGNAME']||_0x8a0a21['USER']||_0x8a0a21[_0xe531cd(0x14b)]||_0x8a0a21[_0xe531cd(0x98)];if(_0x4f957a[_0xe531cd(0x163)](process[_0xe531cd(0x13e)],_0x4f957a[_0xe531cd(0x176)]))return _0x8a0a21[_0xe531cd(0x127)]||_0x4f957a[_0xe531cd(0x7f)](_0x8a0a21[_0xe531cd(0x88)],_0x8a0a21['HOMEPATH'])||_0x40cce7||null;if(_0x4f957a['zrRfK'](process[_0xe531cd(0x13e)],_0x4f957a[_0xe531cd(0x1a7)]))return _0x40cce7||(_0x3567a8?_0x4f957a[_0xe531cd(0x196)](_0x4f957a[_0xe531cd(0x7a)],_0x3567a8):null);if(_0x4f957a[_0xe531cd(0xeb)](process[_0xe531cd(0x13e)],_0x4f957a[_0xe531cd(0x16e)]))return _0x40cce7||(_0x4f957a[_0xe531cd(0x179)](process[_0xe531cd(0x70)](),0x0)?_0x4f957a['CULWH']:_0x3567a8?_0x4f957a[_0xe531cd(0x182)](_0x4f957a[_0xe531cd(0x96)],_0x3567a8):null);return _0x4f957a['tKdKV'](_0x40cce7,null);}}module[a57_0x1774d9(0x14f)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a58_0x2b5bab=a58_0x4532;(function(_0x47552b,_0x4773c0){var _0x5cb995=a58_0x4532,_0x3fbbdf=_0x47552b();while(!![]){try{var _0x4dd731=parseInt(_0x5cb995(0x1e5))/0x1+parseInt(_0x5cb995(0x1e2))/0x2+-parseInt(_0x5cb995(0x1ec))/0x3+parseInt(_0x5cb995(0x1e6))/0x4*(parseInt(_0x5cb995(0x1e8))/0x5)+-parseInt(_0x5cb995(0x1e7))/0x6+parseInt(_0x5cb995(0x1e4))/0x7+-parseInt(_0x5cb995(0x1ea))/0x8;if(_0x4dd731===_0x4773c0)break;else _0x3fbbdf['push'](_0x3fbbdf['shift']());}catch(_0x17c024){_0x3fbbdf['push'](_0x3fbbdf['shift']());}}}(a58_0x16d2,0x31599));function a58_0x4532(_0x2dfa59,_0x5e813d){var _0x16d292=a58_0x16d2();return a58_0x4532=function(_0x453245,_0x146487){_0x453245=_0x453245-0x1e2;var _0x1b0474=_0x16d292[_0x453245];return _0x1b0474;},a58_0x4532(_0x2dfa59,_0x5e813d);}function a58_0x16d2(){var _0x4b0c74=['1092936wgdhUr','60108QSDXlU','exports','831026byAbAh','378616gkbXEI','1132164ObJhMV','905292PpQRfi','5pAjuNd','get','744784hytBXN','increment'];a58_0x16d2=function(){return _0x4b0c74;};return a58_0x16d2();}class PercyCaptureMap{#map={};[a58_0x2b5bab(0x1eb)](_0x56d5bf,_0x2c6923){!this.#map[_0x56d5bf]&&(this.#map[_0x56d5bf]={}),!this.#map[_0x56d5bf][_0x2c6923]&&(this.#map[_0x56d5bf][_0x2c6923]=0x0),this.#map[_0x56d5bf][_0x2c6923]++;}['getName'](_0x4acb21,_0x1e5bca){var _0x29ddf3=a58_0x2b5bab;return _0x4acb21+'-'+_0x1e5bca+'-'+this[_0x29ddf3(0x1e9)](_0x4acb21,_0x1e5bca);}['get'](_0x446402,_0x388eb8){if(!this.#map[_0x446402])return 0x0;if(!this.#map[_0x446402][_0x388eb8])return 0x0;return this.#map[_0x446402][_0x388eb8];}}module[a58_0x2b5bab(0x1e3)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a59_0x55d6(){var _0x3b59e0=['click','manual','721815DNVkmg','691668YUmhvm','takeScreenshot','element','294BzVGIi','16NOgOKW','24389970uQBStr','auto','2831391ZFqXeL','1835667QPBTZx','20AKsSqJ','5097848LNKqWF','screenshot','5445VRpGAD'];a59_0x55d6=function(){return _0x3b59e0;};return a59_0x55d6();}var a59_0x21b949=a59_0x133c;(function(_0x302ed3,_0x15f60b){var _0x40986e=a59_0x133c,_0x5965cd=_0x302ed3();while(!![]){try{var _0x54d328=parseInt(_0x40986e(0xe4))/0x1*(parseInt(_0x40986e(0xdb))/0x2)+-parseInt(_0x40986e(0xe0))/0x3+parseInt(_0x40986e(0xe1))/0x4*(-parseInt(_0x40986e(0xd7))/0x5)+-parseInt(_0x40986e(0xd8))/0x6+-parseInt(_0x40986e(0xe2))/0x7+-parseInt(_0x40986e(0xdc))/0x8*(parseInt(_0x40986e(0xdf))/0x9)+parseInt(_0x40986e(0xdd))/0xa;if(_0x54d328===_0x15f60b)break;else _0x5965cd['push'](_0x5965cd['shift']());}catch(_0x524b65){_0x5965cd['push'](_0x5965cd['shift']());}}}(a59_0x55d6,0x69b48));var a59_0x274402={};function a59_0x133c(_0x2ebf9b,_0x251271){var _0x55d6a0=a59_0x55d6();return a59_0x133c=function(_0x133c3f,_0x1b5c11){_0x133c3f=_0x133c3f-0xd6;var _0x299040=_0x55d6a0[_0x133c3f];return _0x299040;},a59_0x133c(_0x2ebf9b,_0x251271);}a59_0x274402['driver']=[a59_0x21b949(0xd9)],a59_0x274402[a59_0x21b949(0xda)]=[a59_0x21b949(0xe5),'sendKeys'];var a59_0x1eda75={};a59_0x1eda75['driver']=['takeScreenshot'];var a59_0x85fc8={};a59_0x85fc8[a59_0x21b949(0xda)]=['click'];var a59_0x1bd2b9={};a59_0x1bd2b9[a59_0x21b949(0xde)]=a59_0x274402,a59_0x1bd2b9[a59_0x21b949(0xe3)]=a59_0x1eda75,a59_0x1bd2b9['click']=a59_0x85fc8,a59_0x1bd2b9['testcase']={},a59_0x1bd2b9[a59_0x21b949(0xd6)]={},module['exports']=a59_0x1bd2b9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a60_0xe305da=a60_0x19b8;(function(_0x28a347,_0x2d12de){const _0x8fc6a3=a60_0x19b8,_0x5662b3=_0x28a347();while(!![]){try{const _0x58eabf=parseInt(_0x8fc6a3(0x15b))/0x1*(parseInt(_0x8fc6a3(0x16b))/0x2)+-parseInt(_0x8fc6a3(0x166))/0x3+parseInt(_0x8fc6a3(0x15a))/0x4*(-parseInt(_0x8fc6a3(0x175))/0x5)+parseInt(_0x8fc6a3(0x16d))/0x6+parseInt(_0x8fc6a3(0x172))/0x7+-parseInt(_0x8fc6a3(0x17d))/0x8+-parseInt(_0x8fc6a3(0x177))/0x9*(-parseInt(_0x8fc6a3(0x160))/0xa);if(_0x58eabf===_0x2d12de)break;else _0x5662b3['push'](_0x5662b3['shift']());}catch(_0x308ab3){_0x5662b3['push'](_0x5662b3['shift']());}}}(a60_0x1086,0xd066d));const tryRequire=function(_0x34e013,_0x39d0e8){const _0x14839b=a60_0x19b8,_0xbfa41b={'ykRiF':function(_0x3b495f,_0x420c79){return _0x3b495f===_0x420c79;},'yfjiB':_0x14839b(0x165),'shXlz':function(_0x3e9bd7,_0x50147a){return _0x3e9bd7(_0x50147a);},'HnAhQ':function(_0x584248,_0x7905d2){return _0x584248!==_0x7905d2;},'OPLyc':_0x14839b(0x156),'kaufw':_0x14839b(0x155)};try{return _0xbfa41b['ykRiF'](_0xbfa41b[_0x14839b(0x171)],_0xbfa41b[_0x14839b(0x171)])?_0xbfa41b[_0x14839b(0x16c)](require,_0x34e013):_0xaf144a;}catch{if(_0xbfa41b[_0x14839b(0x174)](_0xbfa41b[_0x14839b(0x17b)],_0xbfa41b['kaufw']))return _0x39d0e8;else return;}},percySnapshot=tryRequire(a60_0xe305da(0x16f),null),{percyScreenshot}=tryRequire(a60_0xe305da(0x16f),{}),percyAppScreenshot=require(a60_0xe305da(0x173)),PerformanceTester=require(a60_0xe305da(0x15c)),logger=require('../logger')[a60_0xe305da(0x180)];function a60_0x19b8(_0x35a919,_0x2101a6){const _0x1086ac=a60_0x1086();return a60_0x19b8=function(_0x19b820,_0x479c0a){_0x19b820=_0x19b820-0x155;let _0x3266a9=_0x1086ac[_0x19b820];return _0x3266a9;},a60_0x19b8(_0x35a919,_0x2101a6);}percySnapshot&&(exports[a60_0xe305da(0x17e)]=async function(){const _0x275767=a60_0xe305da,_0x2d69b4={};_0x2d69b4[_0x275767(0x170)]=_0x275767(0x16e),_0x2d69b4[_0x275767(0x157)]=function(_0x32672d,_0x38fc85){return _0x32672d!==_0x38fc85;},_0x2d69b4[_0x275767(0x163)]='gigep',_0x2d69b4['xswOK']=function(_0x22aff2,_0x47206c){return _0x22aff2>=_0x47206c;},_0x2d69b4['gXkeA']=_0x275767(0x16a);const _0x113f24=_0x2d69b4;if(global[_0x275767(0x179)]&&_0x113f24[_0x275767(0x157)](global[_0x275767(0x179)],global[_0x275767(0x17a)])){if(_0x113f24[_0x275767(0x157)](_0x113f24[_0x275767(0x163)],_0x113f24[_0x275767(0x163)]))_0x53de98[_0x275767(0x17f)](_0x113f24[_0x275767(0x170)]);else return;}const _0xfc4ebf=_0x113f24[_0x275767(0x168)](arguments[_0x275767(0x15d)],0x2)?arguments[0x1]:'',_0x5b4769={};return _0x5b4769['name']=_0xfc4ebf,_0x5b4769[_0x275767(0x158)]=global[_0x275767(0x179)],await PerformanceTester[_0x275767(0x17c)](_0x113f24['gXkeA'],()=>percySnapshot[_0x275767(0x181)](null,arguments),_0x5b4769);});function a60_0x1086(){const _0x5bebc5=['lBYUC','ELcJn','platformIndex','JGFLY','33508CHEqHo','1yPQzZo','../performance-tester','length','name','screenshotApp','11865590kDSsQm','screenshot','mamtv','LSrvI','xpCOs','sXjZN','1225548ZVaDdn','JigxK','xswOK','owvFh','percy:snapshot','694502taNFjl','shXlz','9990984ILuvtz','Unsupported\x20driver\x20for\x20percy','@percy/selenium-webdriver','FCwOn','yfjiB','2988846lRhmKk','@percy/appium-app','HnAhQ','455VgDUdT','percy:screenshot','9yXJEFl','percy:screenshot-app','browserstackPlatformIndex','browserstackPercyBestPlatform','OPLyc','measure','12812128gbgLkQ','snapshot','error','winstonLogger','apply','AJdlv'];a60_0x1086=function(){return _0x5bebc5;};return a60_0x1086();}percyScreenshot?exports[a60_0xe305da(0x161)]=async function(){const _0x11bddb=a60_0xe305da,_0x392514={};_0x392514[_0x11bddb(0x167)]=function(_0x517f7d,_0x5f462d){return _0x517f7d>=_0x5f462d;},_0x392514[_0x11bddb(0x164)]=_0x11bddb(0x176);const _0x2004cd=_0x392514,_0xf4d036=_0x2004cd[_0x11bddb(0x167)](arguments[_0x11bddb(0x15d)],0x2)?arguments[0x1]:'',_0x3b1ef1={};return _0x3b1ef1[_0x11bddb(0x15e)]=_0xf4d036,_0x3b1ef1[_0x11bddb(0x158)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x11bddb(0x17c)](_0x2004cd[_0x11bddb(0x164)],()=>percyScreenshot[_0x11bddb(0x181)](null,arguments),_0x3b1ef1);}:exports[a60_0xe305da(0x161)]=()=>{const _0x66227c=a60_0xe305da,_0x2a3c66={};_0x2a3c66[_0x66227c(0x159)]='Unsupported\x20driver\x20for\x20percy';const _0x204a66=_0x2a3c66;logger[_0x66227c(0x17f)](_0x204a66['JGFLY']);};exports[a60_0xe305da(0x15f)]=async function(){const _0x2e5cff=a60_0xe305da,_0x44b03a={};_0x44b03a[_0x2e5cff(0x169)]=function(_0x1fb75c,_0x123286){return _0x1fb75c>=_0x123286;},_0x44b03a[_0x2e5cff(0x162)]=_0x2e5cff(0x178);const _0x589b3b=_0x44b03a,_0x4b0399=_0x589b3b[_0x2e5cff(0x169)](arguments[_0x2e5cff(0x15d)],0x2)?arguments[0x1]:'',_0x51a253={};return _0x51a253['name']=_0x4b0399,_0x51a253['platformIndex']=global[_0x2e5cff(0x179)],await PerformanceTester[_0x2e5cff(0x17c)](_0x589b3b[_0x2e5cff(0x162)],()=>percyAppScreenshot[_0x2e5cff(0x181)](null,arguments),_0x51a253);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a61_0x538b5a=a61_0x3791;(function(_0x2b3974,_0x5ca19f){var _0x2b60b8=a61_0x3791,_0x5aece0=_0x2b3974();while(!![]){try{var _0x5b4b8a=parseInt(_0x2b60b8(0x78))/0x1*(-parseInt(_0x2b60b8(0x7d))/0x2)+-parseInt(_0x2b60b8(0x75))/0x3*(-parseInt(_0x2b60b8(0x82))/0x4)+-parseInt(_0x2b60b8(0x80))/0x5*(parseInt(_0x2b60b8(0x79))/0x6)+parseInt(_0x2b60b8(0x7e))/0x7*(parseInt(_0x2b60b8(0x81))/0x8)+parseInt(_0x2b60b8(0x83))/0x9*(-parseInt(_0x2b60b8(0x7f))/0xa)+-parseInt(_0x2b60b8(0x7c))/0xb*(parseInt(_0x2b60b8(0x76))/0xc)+-parseInt(_0x2b60b8(0x77))/0xd*(-parseInt(_0x2b60b8(0x7a))/0xe);if(_0x5b4b8a===_0x5ca19f)break;else _0x5aece0['push'](_0x5aece0['shift']());}catch(_0x1a6755){_0x5aece0['push'](_0x5aece0['shift']());}}}(a61_0x5226,0xccf88),module[a61_0x538b5a(0x7b)]=require('./Percy'));function a61_0x3791(_0x290090,_0x3c8238){var _0x522682=a61_0x5226();return a61_0x3791=function(_0x3791e2,_0x5df372){_0x3791e2=_0x3791e2-0x75;var _0x1ada22=_0x522682[_0x3791e2];return _0x1ada22;},a61_0x3791(_0x290090,_0x3c8238);}function a61_0x5226(){var _0x4e5706=['5qtiZnc','206200aWrRJd','5204ELhkVQ','9TjtQSr','3045eDSCMx','21108duvOzh','12713948roaqCR','102NPusyp','9431742IacoDq','42YaImNg','exports','671iUyioQ','24778TlhSyL','294KfGInQ','15545590YMMYAL'];a61_0x5226=function(){return _0x4e5706;};return a61_0x5226();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a62_0x12ef9a=a62_0x1cbc;function a62_0x1cbc(_0x39e703,_0x576d8a){const _0x1d8153=a62_0x1d81();return a62_0x1cbc=function(_0x1cbcc8,_0x381805){_0x1cbcc8=_0x1cbcc8-0xa9;let _0x466a30=_0x1d8153[_0x1cbcc8];return _0x466a30;},a62_0x1cbc(_0x39e703,_0x576d8a);}(function(_0x201984,_0x326b3b){const _0x50b4ab=a62_0x1cbc,_0x537a54=_0x201984();while(!![]){try{const _0xd2363c=-parseInt(_0x50b4ab(0xcb))/0x1*(parseInt(_0x50b4ab(0x106))/0x2)+-parseInt(_0x50b4ab(0xb3))/0x3+parseInt(_0x50b4ab(0xcd))/0x4+-parseInt(_0x50b4ab(0x129))/0x5*(parseInt(_0x50b4ab(0x11b))/0x6)+parseInt(_0x50b4ab(0xe3))/0x7+-parseInt(_0x50b4ab(0xb5))/0x8*(parseInt(_0x50b4ab(0xcc))/0x9)+-parseInt(_0x50b4ab(0xc9))/0xa*(-parseInt(_0x50b4ab(0xad))/0xb);if(_0xd2363c===_0x326b3b)break;else _0x537a54['push'](_0x537a54['shift']());}catch(_0x4d4aae){_0x537a54['push'](_0x537a54['shift']());}}}(a62_0x1d81,0x2a2c5));const Percy=require(a62_0x12ef9a(0x10a)),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a62_0x12ef9a(0xe1)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a62_0x12ef9a(0xee))[a62_0x12ef9a(0x104)],helper=require(a62_0x12ef9a(0x101)),PerformanceTester=require(a62_0x12ef9a(0x12a));function a62_0x1d81(){const _0x1d1bca=['JWyzt','rqiSo','xofXf','nMCdY','beTMG','RCfEH','vLGTi','pZAOm','Aroff','joeUK','CFGVH','XLdMp','debug','75CwEzoE','../performance-tester','forEach','pdrbT','iDUyT','VOwJW','6634078sWsKFy','gEeen','fwNQR','KEQbY','measureWrapper','browserStackPercyOptions','640890eWWgfG','WNerO','88DWvJBN','ZgzYX','ijdlv','WvvmH','HwJep','overrideXforPercy','OxIhQ','percyAutoCapture','deviceName','ECxEE','browserstackPercyBestPlatform','dkoRq','ZXjsf','vdIHu','browserstackSessionName','TffYp','apply','then','driver','manual','10GPitzw','kuiZo','75418SWxDRo','106182DCWHvP','399276fLlCyv','exLTa','stop','getBestPlatformForPercySnapshot','amkeF','patch','vdasq','browserName','Nqsvu','GOdGl','patchDriverPercy','MKCwC','NyWrv','Hbzqx','QdJQN','Cjqyk','JMQUk','SpOAd','vhJrE','KxlqV','./PercyCaptureModes','GDXvG','2240007oFHNcG','ZGXnW','uKhFM','EZolx','element','toLowerCase','browser','percy','eWxLx','platforms','pxhsv','../logger','UURja','getName','fSGAa','ckLiR','KzLfW','BVVus','Error\x20patching\x20','kiRVM','SyqCj','BAciM','percy:start','edge','rMENF','nestedKeyValue','getPercyOptions','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','XPJIZ','browserstackPercyMap','../helper','getDriver','XVAxS','winstonLogger','chrome','6aelAYz','bPqMN','screenshotApp','prototype','./Percy','ghuMc','DnmsQ','QUGxt','isUndefined','screenshot','CalZy','AuBYf','error','firefox','percyCaptureMode','jZyOa','stopPercy','IsjeB','\x20for\x20percy\x20','KclCb','Starting\x20percy','112206kvAGXg'];a62_0x1d81=function(){return _0x1d1bca;};return a62_0x1d81();}exports['startPercy']=PerformanceTester[a62_0x12ef9a(0xb1)](a62_0x12ef9a(0xf9),async _0x4b5712=>{const _0x4beadf=a62_0x12ef9a,_0x4bd86f={};_0x4bd86f[_0x4beadf(0x121)]=_0x4beadf(0xfe),_0x4bd86f[_0x4beadf(0x126)]=_0x4beadf(0x11a),_0x4bd86f[_0x4beadf(0xda)]=function(_0xfba5b9,_0x66eed5){return _0xfba5b9===_0x66eed5;},_0x4bd86f['rMENF']='WlpCO';const _0x56690c=_0x4bd86f;logger['debug'](_0x56690c[_0x4beadf(0x126)]);const _0x488885=new Percy(_0x4b5712),_0x4ba50c=await _0x488885['start']();if(_0x4ba50c){if(_0x56690c[_0x4beadf(0xda)](_0x56690c[_0x4beadf(0xfb)],_0x56690c[_0x4beadf(0xfb)]))return _0x488885;else{_0x17a26a[_0x4beadf(0x128)](_0x56690c[_0x4beadf(0x121)]);return;}}return null;}),exports[a62_0x12ef9a(0x116)]=PerformanceTester[a62_0x12ef9a(0xb1)]('percy:stop',async _0x494707=>{const _0x23fbeb=a62_0x12ef9a,_0x2a11bf={};_0x2a11bf[_0x23fbeb(0x127)]='Stopping\x20percy';const _0xd28deb=_0x2a11bf;return logger[_0x23fbeb(0x128)](_0xd28deb[_0x23fbeb(0x127)]),_0x494707[_0x23fbeb(0xcf)]();}),exports[a62_0x12ef9a(0xd0)]=_0x504156=>{const _0x4fb6eb=a62_0x12ef9a,_0x17c68e={};_0x17c68e[_0x4fb6eb(0x107)]=function(_0x304062,_0x197bc8){return _0x304062===_0x197bc8;},_0x17c68e[_0x4fb6eb(0xd9)]='HvLnX',_0x17c68e[_0x4fb6eb(0xe4)]=_0x4fb6eb(0x11c),_0x17c68e[_0x4fb6eb(0xf4)]=function(_0x5de05b,_0x43ed35){return _0x5de05b===_0x43ed35;},_0x17c68e[_0x4fb6eb(0xe6)]='VzNYm',_0x17c68e[_0x4fb6eb(0xe2)]=_0x4fb6eb(0xf8),_0x17c68e[_0x4fb6eb(0xb6)]='qsmdv',_0x17c68e[_0x4fb6eb(0xff)]='OAUoL',_0x17c68e[_0x4fb6eb(0xdc)]=function(_0x1f8742,_0x372afa){return _0x1f8742<_0x372afa;},_0x17c68e[_0x4fb6eb(0xf2)]=function(_0x1887ff,_0x589193){return _0x1887ff!==_0x589193;},_0x17c68e[_0x4fb6eb(0xca)]=_0x4fb6eb(0xc2);const _0x2eb444=_0x17c68e,_0x483567={};_0x483567[_0x4fb6eb(0x105)]=0x0,_0x483567[_0x4fb6eb(0x113)]=0x1,_0x483567[_0x4fb6eb(0xfa)]=0x2,_0x483567['safari']=0x3;const _0x4582e4=_0x483567;return _0x504156['reduce']((_0x28148e,_0x3aa9dc,_0x4d0c2e)=>{const _0x309509=_0x4fb6eb;if(_0x2eb444[_0x309509(0x107)](_0x2eb444[_0x309509(0xd9)],_0x2eb444[_0x309509(0xe4)])){const _0x15e351={};_0x15e351[_0x309509(0xea)]=_0x5a9e5a[_0x309509(0xea)],_0x15e351[_0x309509(0x114)]=_0x41445e[_0x309509(0x114)];const _0x808a62=_0x15e351;_0x2dfda9['percy']&&(_0x808a62['browserstackPercyBestPlatform']=_0x529feb[_0x309509(0xd0)](_0x57382d[_0x309509(0xec)]));;return _0x808a62;}else{const _0x4350dd=_0x504156[_0x28148e];if(_0x3aa9dc[_0x309509(0xbd)]){if(_0x2eb444[_0x309509(0xf4)](_0x2eb444[_0x309509(0xe6)],_0x2eb444[_0x309509(0xe2)]))return;else return _0x28148e;}if(_0x4350dd[_0x309509(0xbd)]){if(_0x2eb444[_0x309509(0x107)](_0x2eb444[_0x309509(0xb6)],_0x2eb444[_0x309509(0xff)]))_0x11e72e[_0x309509(0x112)](_0x309509(0xf5)+_0x3aa8f1+_0x309509(0x118)+_0x45185e);else return _0x4d0c2e;}const _0x81af23=_0x3aa9dc['browser']?_0x3aa9dc[_0x309509(0xe9)]:_0x3aa9dc['browserName'];if(_0x81af23&&_0x2eb444[_0x309509(0xdc)](_0x4582e4[_0x81af23[_0x309509(0xe8)]()],_0x4582e4[_0x81af23[_0x309509(0xe8)]()]))return _0x2eb444[_0x309509(0xf2)](_0x2eb444[_0x309509(0xca)],_0x2eb444['kuiZo'])?_0x568a89:_0x4d0c2e;return _0x28148e;}},0x0);},exports['percyAutoCapture']=async(_0x4996fa,_0x520e2e,_0x3576e1)=>{const _0xe86be5=a62_0x12ef9a,_0x1c4fb1={};_0x1c4fb1[_0xe86be5(0xdd)]='Stopping\x20percy',_0x1c4fb1[_0xe86be5(0xd3)]=function(_0x16a780,_0x13bf35){return _0x16a780===_0x13bf35;},_0x1c4fb1[_0xe86be5(0x10c)]='XWdBY',_0x1c4fb1['KxlqV']='jWNGW',_0x1c4fb1[_0xe86be5(0x10d)]='Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present',_0x1c4fb1['iiUuj']=function(_0x39da8b,_0x39afd5){return _0x39da8b!==_0x39afd5;},_0x1c4fb1[_0xe86be5(0xd8)]='nCRrA',_0x1c4fb1[_0xe86be5(0xe5)]=_0xe86be5(0x10b),_0x1c4fb1['XVAxS']=_0xe86be5(0xaf),_0x1c4fb1[_0xe86be5(0x11e)]=_0xe86be5(0x119);const _0x3179f4=_0x1c4fb1,_0x42b1ae=_0x4996fa[_0xe86be5(0x100)];if(helper[_0xe86be5(0x10e)](_0x4996fa[_0xe86be5(0xc3)])){if(_0x3179f4[_0xe86be5(0xd3)](_0x3179f4[_0xe86be5(0x10c)],_0x3179f4[_0xe86be5(0xe0)]))return;else{logger['debug'](_0x3179f4[_0xe86be5(0x10d)]);return;}}const _0x5cb9a1=_0x42b1ae[_0xe86be5(0xf0)](_0x4996fa[_0xe86be5(0xc3)],_0x520e2e);if(_0x3576e1['app'])_0x3179f4['iiUuj'](_0x3179f4[_0xe86be5(0xd8)],_0x3179f4[_0xe86be5(0xe5)])?await PercySDK[_0xe86be5(0x108)](_0x4996fa,_0x5cb9a1):_0x471a68[_0xe86be5(0xc7)][_0xe86be5(0xa9)](_0x4147c6=>this[_0xe86be5(0xba)](_0x11eb78,_0x4147c6,_0x2826fa));else{if(_0x3179f4[_0xe86be5(0xd3)](_0x3179f4[_0xe86be5(0x103)],_0x3179f4[_0xe86be5(0x11e)]))return _0x2a4883[_0xe86be5(0x128)](_0x3179f4[_0xe86be5(0xdd)]),_0x366cbe[_0xe86be5(0xcf)]();else await PercySDK[_0xe86be5(0x10f)](_0x4996fa,_0x5cb9a1);}_0x42b1ae['increment'](_0x4996fa[_0xe86be5(0xc3)],_0x520e2e);},exports[a62_0x12ef9a(0xd7)]=(_0x564d83,_0x29eef7,_0x65013e)=>{const _0x33671f=a62_0x12ef9a,_0x4309d4={};_0x4309d4[_0x33671f(0xdf)]=function(_0x10d88e,_0x536248){return _0x10d88e<_0x536248;},_0x4309d4[_0x33671f(0xac)]=function(_0x122c44,_0x2def6c){return _0x122c44!==_0x2def6c;},_0x4309d4[_0x33671f(0xf6)]=_0x33671f(0xf1),_0x4309d4[_0x33671f(0xce)]=_0x33671f(0x11d),_0x4309d4[_0x33671f(0xd1)]=function(_0xc9518f,_0x2b6e90){return _0xc9518f!==_0x2b6e90;},_0x4309d4['ECxEE']='XLmPB',_0x4309d4[_0x33671f(0x122)]=_0x33671f(0xc4),_0x4309d4[_0x33671f(0xc1)]=function(_0x40ca07,_0x4a248c){return _0x40ca07===_0x4a248c;},_0x4309d4[_0x33671f(0xab)]=_0x33671f(0x125),_0x4309d4[_0x33671f(0xc0)]=_0x33671f(0xde),_0x4309d4['Zsiua']=_0x33671f(0x120),_0x4309d4[_0x33671f(0xb8)]=function(_0x3498a2,_0x124e3a){return _0x3498a2===_0x124e3a;},_0x4309d4['pxhsv']=_0x33671f(0xb9),_0x4309d4['Aroff']=_0x33671f(0xb2),_0x4309d4[_0x33671f(0x11f)]=_0x33671f(0xea),_0x4309d4['AuBYf']='AxQJA',_0x4309d4[_0x33671f(0xb0)]=_0x33671f(0xef),_0x4309d4[_0x33671f(0x123)]=function(_0xce2239,_0x3e04d8){return _0xce2239!==_0x3e04d8;},_0x4309d4['IsjeB']=_0x33671f(0xc8),_0x4309d4['CalZy']=_0x33671f(0xf3),_0x4309d4[_0x33671f(0xae)]=_0x33671f(0xaa);const _0x1704dd=_0x4309d4;if(!helper[_0x33671f(0xfc)](_0x65013e,[_0x1704dd[_0x33671f(0x124)],_0x1704dd['nMCdY']])){if(_0x1704dd[_0x33671f(0xac)](_0x1704dd[_0x33671f(0x111)],_0x1704dd[_0x33671f(0xb0)]))return;else return;}if(_0x65013e['browserStackPercyOptions']['percy']&&_0x65013e[_0x33671f(0xb2)]['percyCaptureMode']&&_0x1704dd[_0x33671f(0x123)](_0x65013e[_0x33671f(0xb2)]['percyCaptureMode'],_0x1704dd[_0x33671f(0x117)])&&!_0x564d83[_0x33671f(0x100)]){global[_0x33671f(0xc3)]&&(_0x564d83[_0x33671f(0xc3)]=global[_0x33671f(0xc3)]),_0x564d83[_0x33671f(0x100)]=new PercyCaptureMap();const _0x44e9ae=PercyCaptureModes[_0x65013e['browserStackPercyOptions']['percyCaptureMode']];if(_0x44e9ae[_0x33671f(0xc7)]){if(_0x1704dd[_0x33671f(0xb8)](_0x1704dd[_0x33671f(0x110)],_0x1704dd[_0x33671f(0xae)])){const _0x3f263d=_0x384351[_0x57fb8];if(_0x4da87a['deviceName'])return _0x491d0e;if(_0x3f263d['deviceName'])return _0x47c6dd;const _0x11bca6=_0x54790f[_0x33671f(0xe9)]?_0x7471b7[_0x33671f(0xe9)]:_0x3c5c72[_0x33671f(0xd4)];if(_0x11bca6&&_0x1704dd[_0x33671f(0xdf)](_0x21abdd[_0x11bca6['toLowerCase']()],_0x250bf7[_0x11bca6[_0x33671f(0xe8)]()]))return _0x1a60eb;return _0x46e521;}else _0x44e9ae[_0x33671f(0xc7)][_0x33671f(0xa9)](_0x5a0b58=>this[_0x33671f(0xba)](_0x564d83,_0x5a0b58,_0x65013e));}_0x44e9ae[_0x33671f(0xe7)]&&_0x44e9ae['element'][_0x33671f(0xa9)](_0x337b9d=>{const _0x397e24=_0x33671f,_0x247cfd={'rRvff':function(_0x4c13e4,_0x489e97){const _0x2d6ae8=a62_0x1cbc;return _0x1704dd[_0x2d6ae8(0xac)](_0x4c13e4,_0x489e97);},'lNBxJ':_0x1704dd[_0x397e24(0xf6)],'WNerO':_0x1704dd['exLTa'],'SyqCj':function(_0x1f9b59,_0x2f7f21){const _0x49388f=_0x397e24;return _0x1704dd[_0x49388f(0xd1)](_0x1f9b59,_0x2f7f21);},'GOdGl':_0x1704dd[_0x397e24(0xbe)],'Nqsvu':_0x1704dd[_0x397e24(0x122)],'QdJQN':function(_0x252551,_0x3e8477){const _0xc6a319=_0x397e24;return _0x1704dd[_0xc6a319(0xc1)](_0x252551,_0x3e8477);},'noceA':_0x1704dd['iDUyT'],'EmNMp':_0x1704dd[_0x397e24(0xc0)],'ijdlv':_0x1704dd['Zsiua']};if(_0x29eef7[_0x397e24(0x109)][_0x397e24(0xd2)+_0x337b9d]){if(_0x1704dd[_0x397e24(0xb8)](_0x1704dd[_0x397e24(0xed)],_0x1704dd[_0x397e24(0xed)]))return;else return _0x322d66;}_0x29eef7[_0x397e24(0x109)][_0x397e24(0xd2)+_0x337b9d]=!![];const _0x4b7a76=_0x29eef7[_0x397e24(0x109)][_0x337b9d];_0x29eef7[_0x397e24(0x109)][_0x337b9d]=async function(){const _0x1b342f=_0x397e24;if(_0x247cfd['rRvff'](_0x247cfd['lNBxJ'],_0x247cfd[_0x1b342f(0xb4)])){let _0x5e35fc=_0x4b7a76[_0x1b342f(0xc5)](this,arguments);_0x5e35fc&&_0x5e35fc[_0x1b342f(0xc6)]&&(_0x247cfd[_0x1b342f(0xf7)](_0x247cfd[_0x1b342f(0xd6)],_0x247cfd[_0x1b342f(0xd5)])?_0x5e35fc=await _0x5e35fc:_0x55b28a[_0x1b342f(0x112)](_0x1b342f(0xf5)+_0x5df7fb+_0x1b342f(0x118)+_0x4a68e8));try{if(_0x247cfd[_0x1b342f(0xdb)](_0x247cfd['noceA'],_0x247cfd['noceA'])){const _0x4966a6=this[_0x1b342f(0x102)]();await exports[_0x1b342f(0xbc)](_0x4966a6,_0x337b9d,_0x65013e);}else return _0x2b0dc9;}catch(_0x421ef1){if(_0x247cfd[_0x1b342f(0xdb)](_0x247cfd['EmNMp'],_0x247cfd[_0x1b342f(0xb7)]))return _0x353422;else logger[_0x1b342f(0x112)]('Error\x20patching\x20'+_0x337b9d+_0x1b342f(0x118)+_0x421ef1);}return _0x5e35fc;}else _0x338c60[_0x1b342f(0xbf)]=_0xc1ebd3[_0x1b342f(0xd0)](_0x4a700e[_0x1b342f(0xec)]);};});}},exports['overrideXforPercy']=function(_0x5132b0,_0x58c5a3,_0x64ea35){const _0x163029=a62_0x12ef9a,_0x107658={};_0x107658[_0x163029(0x115)]=function(_0x522ade,_0xf985d){return _0x522ade+_0xf985d;},_0x107658[_0x163029(0xbb)]='patch',_0x107658[_0x163029(0xeb)]='init';const _0x18df3d=_0x107658,_0x100a3d=_0x18df3d[_0x163029(0x115)](_0x18df3d['OxIhQ'],_0x58c5a3),_0x4709ca=_0x18df3d['jZyOa'](_0x18df3d[_0x163029(0xeb)],_0x58c5a3),_0x1940ff=this;if(_0x5132b0[_0x100a3d]||!_0x5132b0[_0x58c5a3])return;_0x5132b0[_0x100a3d]=!![],_0x5132b0[_0x4709ca]=_0x5132b0[_0x58c5a3],_0x5132b0[_0x58c5a3]=async()=>{const _0x92a814=_0x163029;try{await _0x1940ff['percyAutoCapture'](_0x5132b0,_0x58c5a3,_0x64ea35);}catch(_0x1b3731){logger[_0x92a814(0x112)](_0x92a814(0xf5)+_0x58c5a3+_0x92a814(0x118)+_0x1b3731);}return await _0x5132b0[_0x4709ca][_0x92a814(0xc5)](_0x5132b0,arguments);};},exports[a62_0x12ef9a(0xfd)]=_0x3b3d31=>{const _0x1e06aa=a62_0x12ef9a,_0x44acc9={};_0x44acc9['percy']=_0x3b3d31[_0x1e06aa(0xea)],_0x44acc9[_0x1e06aa(0x114)]=_0x3b3d31[_0x1e06aa(0x114)];const _0x5c4e62=_0x44acc9;_0x3b3d31[_0x1e06aa(0xea)]&&(_0x5c4e62[_0x1e06aa(0xbf)]=exports[_0x1e06aa(0xd0)](_0x3b3d31[_0x1e06aa(0xec)]));;return _0x5c4e62;};
|
|
1
|
+
const a62_0x436e6e=a62_0x1e13;(function(_0x1ed74b,_0x5608d1){const _0xacfe96=a62_0x1e13,_0x5dea7a=_0x1ed74b();while(!![]){try{const _0x7cf8cc=parseInt(_0xacfe96(0x1a8))/0x1*(parseInt(_0xacfe96(0x1ae))/0x2)+-parseInt(_0xacfe96(0x18f))/0x3+-parseInt(_0xacfe96(0x1d4))/0x4*(parseInt(_0xacfe96(0x1ac))/0x5)+-parseInt(_0xacfe96(0x1b2))/0x6*(-parseInt(_0xacfe96(0x1e8))/0x7)+parseInt(_0xacfe96(0x1c7))/0x8+parseInt(_0xacfe96(0x18d))/0x9+-parseInt(_0xacfe96(0x1b1))/0xa;if(_0x7cf8cc===_0x5608d1)break;else _0x5dea7a['push'](_0x5dea7a['shift']());}catch(_0x3313bf){_0x5dea7a['push'](_0x5dea7a['shift']());}}}(a62_0x4878,0x9f25d));function a62_0x4878(){const _0x267029=['../helper','fTarb','getPercyOptions','OgLOR','toLowerCase','7AckIfR','kXTRe','kkuPV','stopPercy','6066715OqxeoI','VfNHG','262504dJrTtd','JIMvv','browserStackPercyOptions','642590TSahYV','12TvEpAt','app','BBDrI','./Percy','./PercyCaptureMap','stop','BdUQj','ppayj','SDnor','BURPj','lLypx','LkGBq','FBcop','WgplK','debug','hpAYK','ldCiJ','uvOCP','prototype','manual','GqToU','5525208XPpTaC','ktaJO','Starting\x20percy','\x20for\x20percy\x20','browserName','RLIEi','TXfSi','reduce','winstonLogger','AaDMK','apply','isUndefined','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','4ienWnx','forEach','browserstackSessionName','nestedKeyValue','medAW','percyCaptureMode','percy','overrideXforPercy','xpxKv','browserstackPercyMap','oCpJX','oPxFO','increment','platforms','screenshot','firefox','FXiaF','jpdVr','SrKIG','XuZfu','986629mFmDBh','measureWrapper','oiGyp','getBestPlatformForPercySnapshot','PPBYH','FZfRF','MWAUS','pLkOo','IJFGZ','hKmLx','rdhez','TPvre','percyAutoCapture','../performance-tester','BSuEg','gadVx','SmztM','aSfrn','EUmvG','Error\x20patching\x20','aJsaA','error','kEMIs','OBEEG','safari','hGabc','yCWmS','kjvyB','SkJOd','njXWj','hSxHV','Stopping\x20percy','NQINE','IKFTd','getDriver','edge','browserstackPercyBestPlatform','7626834SBBIwb','DhULX','2427792yGzxsO','element','tNnMq','screenshotApp','juFkT','init','patch','start','sdSQS','browser','driver','GbdeZ','deviceName','qyLSx','kClFA','./PercySDK','HukyL','./PercyCaptureModes','xzKZU','NRbic'];a62_0x4878=function(){return _0x267029;};return a62_0x4878();}const Percy=require(a62_0x436e6e(0x1b5)),PercySDK=require(a62_0x436e6e(0x19e)),PercyCaptureModes=require(a62_0x436e6e(0x1a0)),PercyCaptureMap=require(a62_0x436e6e(0x1b6)),logger=require('../logger')[a62_0x436e6e(0x1cf)],helper=require(a62_0x436e6e(0x1a3)),PerformanceTester=require(a62_0x436e6e(0x1f5));function a62_0x1e13(_0x152cb4,_0x271e14){const _0x487886=a62_0x4878();return a62_0x1e13=function(_0x1e136c,_0x335a8f){_0x1e136c=_0x1e136c-0x17d;let _0x10973d=_0x487886[_0x1e136c];return _0x10973d;},a62_0x1e13(_0x152cb4,_0x271e14);}exports['startPercy']=PerformanceTester[a62_0x436e6e(0x1e9)]('percy:start',async _0x4fc4d6=>{const _0xec1cd2=a62_0x436e6e,_0x11c369={};_0x11c369['uJSAX']=_0xec1cd2(0x1c9),_0x11c369[_0xec1cd2(0x1c1)]=function(_0x37f012,_0x10fb55){return _0x37f012!==_0x10fb55;},_0x11c369[_0xec1cd2(0x1ee)]=_0xec1cd2(0x1bc);const _0x756520=_0x11c369;logger[_0xec1cd2(0x1c0)](_0x756520['uJSAX']);const _0x3e6171=new Percy(_0x4fc4d6),_0x5c17ca=await _0x3e6171[_0xec1cd2(0x196)]();if(_0x5c17ca){if(_0x756520[_0xec1cd2(0x1c1)](_0x756520[_0xec1cd2(0x1ee)],_0x756520[_0xec1cd2(0x1ee)]))_0x2d402e['driver'][_0xec1cd2(0x1d5)](_0x1cf5ad=>this[_0xec1cd2(0x1db)](_0x1ec1e5,_0x1cf5ad,_0x28bc00));else return _0x3e6171;}return null;}),exports[a62_0x436e6e(0x1ab)]=PerformanceTester[a62_0x436e6e(0x1e9)]('percy:stop',async _0x5869c5=>{const _0x1237b3=a62_0x436e6e,_0x289fcf={};_0x289fcf[_0x1237b3(0x1a1)]=_0x1237b3(0x187);const _0x5bfae9=_0x289fcf;return logger['debug'](_0x5bfae9['xzKZU']),_0x5869c5[_0x1237b3(0x1b7)]();}),exports['getBestPlatformForPercySnapshot']=_0x259a62=>{const _0x16d27c=a62_0x436e6e,_0x49d9aa={};_0x49d9aa[_0x16d27c(0x1e6)]=_0x16d27c(0x1d3),_0x49d9aa[_0x16d27c(0x1aa)]=function(_0x5154f5,_0x2abca2){return _0x5154f5===_0x2abca2;},_0x49d9aa[_0x16d27c(0x183)]='jOmXP',_0x49d9aa['IJFGZ']=_0x16d27c(0x193),_0x49d9aa[_0x16d27c(0x1b4)]=function(_0x349074,_0xdef235){return _0x349074!==_0xdef235;},_0x49d9aa[_0x16d27c(0x1d0)]=_0x16d27c(0x191),_0x49d9aa[_0x16d27c(0x1ed)]=function(_0x36723d,_0x42025d){return _0x36723d<_0x42025d;},_0x49d9aa[_0x16d27c(0x1c8)]='lnUgn';const _0x5d97bf=_0x49d9aa,_0x2004a4={};_0x2004a4['chrome']=0x0,_0x2004a4[_0x16d27c(0x1e3)]=0x1,_0x2004a4[_0x16d27c(0x18b)]=0x2,_0x2004a4[_0x16d27c(0x180)]=0x3;const _0x57c177=_0x2004a4;return _0x259a62[_0x16d27c(0x1ce)]((_0x26458c,_0x498402,_0x3d0ff0)=>{const _0x2e0c61=_0x16d27c;if(_0x5d97bf[_0x2e0c61(0x1aa)](_0x5d97bf['kjvyB'],_0x5d97bf[_0x2e0c61(0x183)])){const _0x3a2d29=_0x259a62[_0x26458c];if(_0x498402[_0x2e0c61(0x19b)]){if(_0x5d97bf[_0x2e0c61(0x1aa)](_0x5d97bf[_0x2e0c61(0x1f0)],_0x5d97bf[_0x2e0c61(0x1f0)]))return _0x26458c;else{_0xccef5c[_0x2e0c61(0x1c0)](_0x5d97bf[_0x2e0c61(0x1e6)]);return;}}if(_0x3a2d29['deviceName']){if(_0x5d97bf[_0x2e0c61(0x1b4)](_0x5d97bf[_0x2e0c61(0x1d0)],_0x5d97bf['AaDMK']))return;else return _0x3d0ff0;}const _0x5f1b19=_0x498402[_0x2e0c61(0x198)]?_0x498402[_0x2e0c61(0x198)]:_0x498402[_0x2e0c61(0x1cb)];if(_0x5f1b19&&_0x5d97bf[_0x2e0c61(0x1ed)](_0x57c177[_0x5f1b19[_0x2e0c61(0x1a7)]()],_0x57c177[_0x5f1b19[_0x2e0c61(0x1a7)]()]))return _0x5d97bf[_0x2e0c61(0x1b4)](_0x5d97bf['ktaJO'],_0x5d97bf[_0x2e0c61(0x1c8)])?_0x4e2f2a:_0x3d0ff0;return _0x26458c;}else _0x142e1a[_0x2e0c61(0x17d)](_0x2e0c61(0x1fb)+_0x4c9830+_0x2e0c61(0x1ca)+_0x881a03);},0x0);},exports['percyAutoCapture']=async(_0xafc88d,_0x462fdd,_0x1262de)=>{const _0x270c98=a62_0x436e6e,_0x3e4a35={};_0x3e4a35['FXiaF']=function(_0x27650d,_0x1a4985){return _0x27650d!==_0x1a4985;},_0x3e4a35[_0x270c98(0x1ad)]=_0x270c98(0x1f6),_0x3e4a35['rZfQe']=_0x270c98(0x1d3),_0x3e4a35[_0x270c98(0x1f8)]=function(_0x598e7a,_0x56541f){return _0x598e7a===_0x56541f;},_0x3e4a35[_0x270c98(0x1f1)]='QEaeb',_0x3e4a35[_0x270c98(0x1f7)]=function(_0x167e40,_0x647456){return _0x167e40===_0x647456;},_0x3e4a35[_0x270c98(0x1de)]='vGfiw',_0x3e4a35[_0x270c98(0x19d)]='gEuvz';const _0x3e13ad=_0x3e4a35,_0x502552=_0xafc88d[_0x270c98(0x1dd)];if(helper[_0x270c98(0x1d2)](_0xafc88d[_0x270c98(0x1d6)])){if(_0x3e13ad[_0x270c98(0x1e4)](_0x3e13ad[_0x270c98(0x1ad)],_0x3e13ad[_0x270c98(0x1ad)]))return _0x108064;else{logger[_0x270c98(0x1c0)](_0x3e13ad['rZfQe']);return;}}const _0x61e633=_0x502552['getName'](_0xafc88d[_0x270c98(0x1d6)],_0x462fdd);if(_0x1262de[_0x270c98(0x1b3)]){if(_0x3e13ad['SmztM'](_0x3e13ad['hKmLx'],_0x3e13ad['hKmLx']))await PercySDK[_0x270c98(0x192)](_0xafc88d,_0x61e633);else{const _0x29c331={};_0x29c331[_0x270c98(0x1da)]=_0x48d2e2[_0x270c98(0x1da)],_0x29c331[_0x270c98(0x1d9)]=_0x20f2e5[_0x270c98(0x1d9)];const _0x15521d=_0x29c331;_0x1fb243[_0x270c98(0x1da)]&&(_0x15521d[_0x270c98(0x18c)]=_0x159dd5[_0x270c98(0x1eb)](_0x1baa66['platforms']));;return _0x15521d;}}else{if(_0x3e13ad[_0x270c98(0x1f7)](_0x3e13ad[_0x270c98(0x1de)],_0x3e13ad['kClFA']))return;else await PercySDK[_0x270c98(0x1e2)](_0xafc88d,_0x61e633);}_0x502552[_0x270c98(0x1e0)](_0xafc88d[_0x270c98(0x1d6)],_0x462fdd);},exports['patchDriverPercy']=(_0x50af68,_0x51df0e,_0x143235)=>{const _0x4b4602=a62_0x436e6e,_0x18dae4={};_0x18dae4[_0x4b4602(0x185)]=_0x4b4602(0x187),_0x18dae4[_0x4b4602(0x1bd)]=function(_0x450b19,_0x11a5a7){return _0x450b19<_0x11a5a7;},_0x18dae4[_0x4b4602(0x182)]=function(_0x2c2cc5,_0x51e407){return _0x2c2cc5===_0x51e407;},_0x18dae4[_0x4b4602(0x1f3)]=_0x4b4602(0x1cd),_0x18dae4['ppayj']=function(_0xde6ccf,_0x3180bf){return _0xde6ccf!==_0x3180bf;},_0x18dae4[_0x4b4602(0x1b8)]=_0x4b4602(0x184),_0x18dae4[_0x4b4602(0x18e)]='vRsBV',_0x18dae4['oPxFO']=function(_0x2773ba,_0x28f4e){return _0x2773ba!==_0x28f4e;},_0x18dae4[_0x4b4602(0x188)]=_0x4b4602(0x1bf),_0x18dae4[_0x4b4602(0x1fc)]='noPEa',_0x18dae4['IKFTd']=_0x4b4602(0x1f2),_0x18dae4[_0x4b4602(0x1c3)]=function(_0x2b3994,_0x240001){return _0x2b3994!==_0x240001;},_0x18dae4['qyLSx']=_0x4b4602(0x1c6),_0x18dae4['NRbic']=_0x4b4602(0x19a),_0x18dae4['pLkOo']=_0x4b4602(0x1b0),_0x18dae4[_0x4b4602(0x186)]='percy',_0x18dae4['jpdVr']=_0x4b4602(0x1a4),_0x18dae4['ldCiJ']=_0x4b4602(0x1af),_0x18dae4[_0x4b4602(0x1be)]=function(_0x2a1c2e,_0x2564e3){return _0x2a1c2e!==_0x2564e3;},_0x18dae4[_0x4b4602(0x1bb)]=_0x4b4602(0x1c5),_0x18dae4[_0x4b4602(0x17f)]=function(_0xe8ffa6,_0x2a6b81){return _0xe8ffa6!==_0x2a6b81;},_0x18dae4[_0x4b4602(0x181)]=_0x4b4602(0x1ba),_0x18dae4['sdSQS']='FRFcV';const _0x3fae95=_0x18dae4;if(!helper[_0x4b4602(0x1d7)](_0x143235,[_0x3fae95[_0x4b4602(0x1ef)],_0x3fae95[_0x4b4602(0x186)]])){if(_0x3fae95[_0x4b4602(0x182)](_0x3fae95[_0x4b4602(0x1e5)],_0x3fae95[_0x4b4602(0x1c2)]))_0x396922[_0x4b4602(0x17d)](_0x4b4602(0x1fb)+_0x56cfb2+'\x20for\x20percy\x20'+_0x45346e);else return;}if(_0x143235['browserStackPercyOptions']['percy']&&_0x143235[_0x4b4602(0x1b0)]['percyCaptureMode']&&_0x3fae95[_0x4b4602(0x1be)](_0x143235[_0x4b4602(0x1b0)][_0x4b4602(0x1d9)],_0x3fae95[_0x4b4602(0x1bb)])&&!_0x50af68[_0x4b4602(0x1dd)]){global['browserstackSessionName']&&(_0x50af68[_0x4b4602(0x1d6)]=global['browserstackSessionName']),_0x50af68[_0x4b4602(0x1dd)]=new PercyCaptureMap();const _0x1113d8=PercyCaptureModes[_0x143235[_0x4b4602(0x1b0)][_0x4b4602(0x1d9)]];if(_0x1113d8[_0x4b4602(0x199)]){if(_0x3fae95[_0x4b4602(0x17f)](_0x3fae95[_0x4b4602(0x181)],_0x3fae95[_0x4b4602(0x197)]))_0x1113d8[_0x4b4602(0x199)][_0x4b4602(0x1d5)](_0x41af49=>this[_0x4b4602(0x1db)](_0x50af68,_0x41af49,_0x143235));else return _0x572c4e[_0x4b4602(0x1c0)](_0x3fae95['njXWj']),_0x37f3dd[_0x4b4602(0x1b7)]();}_0x1113d8[_0x4b4602(0x190)]&&_0x1113d8[_0x4b4602(0x190)][_0x4b4602(0x1d5)](_0x28dc1a=>{const _0x10131a=_0x4b4602,_0x2d28cf={'aSfrn':function(_0x135855,_0x1c0a8f){const _0x3a762a=a62_0x1e13;return _0x3fae95[_0x3a762a(0x1bd)](_0x135855,_0x1c0a8f);},'HukyL':function(_0x576c73,_0x1bcb99){return _0x3fae95['yCWmS'](_0x576c73,_0x1bcb99);},'medAW':_0x3fae95[_0x10131a(0x1f3)],'XuZfu':function(_0x101eb6,_0x37a738){const _0x491c0a=_0x10131a;return _0x3fae95[_0x491c0a(0x1b9)](_0x101eb6,_0x37a738);},'XHSzV':_0x3fae95[_0x10131a(0x1b8)],'oiGyp':_0x3fae95[_0x10131a(0x18e)],'EUmvG':function(_0x444f3c,_0x21ad07){const _0x1d986e=_0x10131a;return _0x3fae95[_0x1d986e(0x1df)](_0x444f3c,_0x21ad07);},'KciRz':_0x3fae95[_0x10131a(0x188)],'kXTRe':_0x3fae95[_0x10131a(0x1fc)],'RLIEi':_0x3fae95[_0x10131a(0x189)]};if(_0x51df0e[_0x10131a(0x1c4)][_0x10131a(0x195)+_0x28dc1a]){if(_0x3fae95[_0x10131a(0x1c3)](_0x3fae95[_0x10131a(0x19c)],_0x3fae95[_0x10131a(0x1a2)]))return;else return _0x2c321f;}_0x51df0e['prototype']['patch'+_0x28dc1a]=!![];const _0x4467a4=_0x51df0e[_0x10131a(0x1c4)][_0x28dc1a];_0x51df0e[_0x10131a(0x1c4)][_0x28dc1a]=async function(){const _0x17bb0c=_0x10131a,_0x1e531d={'eXmkR':function(_0x36bdb0,_0x5ecd53){const _0x5eaf04=a62_0x1e13;return _0x2d28cf[_0x5eaf04(0x1f9)](_0x36bdb0,_0x5ecd53);}};if(_0x2d28cf[_0x17bb0c(0x19f)](_0x2d28cf['medAW'],_0x2d28cf[_0x17bb0c(0x1d8)])){let _0x37d9f2=_0x4467a4[_0x17bb0c(0x1d1)](this,arguments);if(_0x37d9f2&&_0x37d9f2['then']){if(_0x2d28cf[_0x17bb0c(0x1e7)](_0x2d28cf['XHSzV'],_0x2d28cf[_0x17bb0c(0x1ea)]))_0x37d9f2=await _0x37d9f2;else return _0x58267f;}try{if(_0x2d28cf[_0x17bb0c(0x1fa)](_0x2d28cf['KciRz'],_0x2d28cf[_0x17bb0c(0x1a9)])){const _0x2808ce=this[_0x17bb0c(0x18a)]();await exports[_0x17bb0c(0x1f4)](_0x2808ce,_0x28dc1a,_0x143235);}else return;}catch(_0x4c36ab){if(_0x2d28cf[_0x17bb0c(0x19f)](_0x2d28cf[_0x17bb0c(0x1cc)],_0x2d28cf[_0x17bb0c(0x1cc)]))logger['error']('Error\x20patching\x20'+_0x28dc1a+_0x17bb0c(0x1ca)+_0x4c36ab);else{const _0x1bc6ab=_0x38abd3[_0x2945b9];if(_0xd48f0c[_0x17bb0c(0x19b)])return _0x495886;if(_0x1bc6ab[_0x17bb0c(0x19b)])return _0x478740;const _0x5e7718=_0x12f092['browser']?_0x310aa0[_0x17bb0c(0x198)]:_0x3f921c[_0x17bb0c(0x1cb)];if(_0x5e7718&&_0x1e531d['eXmkR'](_0x321343[_0x5e7718[_0x17bb0c(0x1a7)]()],_0x1a88bb[_0x5e7718['toLowerCase']()]))return _0x34601a;return _0x5783dd;}}return _0x37d9f2;}else _0xea12ce[_0x17bb0c(0x18c)]=_0x53362b[_0x17bb0c(0x1eb)](_0x17c39d[_0x17bb0c(0x1e1)]);};});}},exports[a62_0x436e6e(0x1db)]=function(_0xa982d2,_0x17f4d9,_0x104bed){const _0x4aab25=a62_0x436e6e,_0x5d0b6b={};_0x5d0b6b[_0x4aab25(0x17e)]=function(_0x2d4e8a,_0x340a3d){return _0x2d4e8a+_0x340a3d;},_0x5d0b6b[_0x4aab25(0x1a6)]=_0x4aab25(0x195),_0x5d0b6b[_0x4aab25(0x1dc)]=function(_0x261e21,_0x2a18ff){return _0x261e21+_0x2a18ff;},_0x5d0b6b[_0x4aab25(0x1ec)]=_0x4aab25(0x194);const _0x201d3a=_0x5d0b6b,_0x76cb22=_0x201d3a[_0x4aab25(0x17e)](_0x201d3a[_0x4aab25(0x1a6)],_0x17f4d9),_0x578ff3=_0x201d3a[_0x4aab25(0x1dc)](_0x201d3a[_0x4aab25(0x1ec)],_0x17f4d9),_0xdf63e0=this;if(_0xa982d2[_0x76cb22]||!_0xa982d2[_0x17f4d9])return;_0xa982d2[_0x76cb22]=!![],_0xa982d2[_0x578ff3]=_0xa982d2[_0x17f4d9],_0xa982d2[_0x17f4d9]=async()=>{const _0x2d2dff=_0x4aab25;try{await _0xdf63e0['percyAutoCapture'](_0xa982d2,_0x17f4d9,_0x104bed);}catch(_0x52073d){logger[_0x2d2dff(0x17d)](_0x2d2dff(0x1fb)+_0x17f4d9+_0x2d2dff(0x1ca)+_0x52073d);}return await _0xa982d2[_0x578ff3][_0x2d2dff(0x1d1)](_0xa982d2,arguments);};},exports[a62_0x436e6e(0x1a5)]=_0x43bb4f=>{const _0x53de66=a62_0x436e6e,_0x34b31e={};_0x34b31e[_0x53de66(0x1da)]=_0x43bb4f[_0x53de66(0x1da)],_0x34b31e[_0x53de66(0x1d9)]=_0x43bb4f['percyCaptureMode'];const _0x3be0a0=_0x34b31e;_0x43bb4f['percy']&&(_0x3be0a0['browserstackPercyBestPlatform']=exports['getBestPlatformForPercySnapshot'](_0x43bb4f[_0x53de66(0x1e1)]));;return _0x3be0a0;};
|