browserstack-node-sdk 1.33.4 → 1.33.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a62_0x2dd621=a62_0x5c9e;(function(_0x46f64c,_0x14040c){const _0x43f08f=a62_0x5c9e,_0x1609a1=_0x46f64c();while(!![]){try{const _0x2e4d7a=parseInt(_0x43f08f(0x1a2))/0x1*(parseInt(_0x43f08f(0x1ba))/0x2)+-parseInt(_0x43f08f(0x1a7))/0x3+parseInt(_0x43f08f(0x1b3))/0x4*(parseInt(_0x43f08f(0x1b1))/0x5)+-parseInt(_0x43f08f(0x1b2))/0x6*(-parseInt(_0x43f08f(0x1ad))/0x7)+parseInt(_0x43f08f(0x1a3))/0x8*(-parseInt(_0x43f08f(0x1b7))/0x9)+-parseInt(_0x43f08f(0x1ac))/0xa+-parseInt(_0x43f08f(0x19f))/0xb;if(_0x2e4d7a===_0x14040c)break;else _0x1609a1['push'](_0x1609a1['shift']());}catch(_0x4a0ed1){_0x1609a1['push'](_0x1609a1['shift']());}}}(a62_0x1654,0x482a3));const winston=require(a62_0x2dd621(0x1b5)),os=require('os'),fs=require('fs'),path=require(a62_0x2dd621(0x1b6)),logDir=a62_0x2dd621(0x1a6);!fs[a62_0x2dd621(0x1bf)](logDir)&&fs[a62_0x2dd621(0x1a4)](logDir);const a62_0x509f3b={};a62_0x509f3b[a62_0x2dd621(0x1ab)]=a62_0x2dd621(0x1bc);const transports={'loggerConsole':new winston[(a62_0x2dd621(0x1af))]['Console'](a62_0x509f3b),'loggerFile':new winston[(a62_0x2dd621(0x1af))][(a62_0x2dd621(0x1a0))]({'filename':path[a62_0x2dd621(0x1b4)](logDir,'/usage.log')}),'debugLoggerFile':new winston[(a62_0x2dd621(0x1af))][(a62_0x2dd621(0x1a0))]({'filename':path[a62_0x2dd621(0x1b4)](logDir,a62_0x2dd621(0x1b8)),'level':a62_0x2dd621(0x1a5)})},a62_0x5f3e70={};a62_0x5f3e70[a62_0x2dd621(0x1aa)]='YYYY-MM-DD\x20HH:mm:ss';const a62_0x56be05={};function a62_0x1654(){const _0x154467=['level','existsSync','loggerConsole','createLogger','debugLoggerFile','304546HxHcsr','File','YYYY-MM-DD\x20HH:mm:ss','16540zVxVHK','80744MBCKPq','mkdirSync','silly','log','543066WsrYRY','timestamp','colorize','format','name','2186090xozoWH','49Yjhlsz','message','transports','printf','5JVnoRF','401694CioqCI','841160YYKKWM','join','winston','path','477zAXnVJ','/usage-debug.log','\x20-\x20','70RnZMAb','combine','console.info','loggerFile'];a62_0x1654=function(){return _0x154467;};return a62_0x1654();}a62_0x56be05[a62_0x2dd621(0x1be)]=!![];function a62_0x5c9e(_0x57fded,_0x5ad5af){const _0x16543d=a62_0x1654();return a62_0x5c9e=function(_0x5c9e89,_0x46b81e){_0x5c9e89=_0x5c9e89-0x19f;let _0x4371ba=_0x16543d[_0x5c9e89];return _0x4371ba;},a62_0x5c9e(_0x57fded,_0x5ad5af);}const winstonLoggerParams={'format':winston[a62_0x2dd621(0x1aa)][a62_0x2dd621(0x1bb)](winston['format'][a62_0x2dd621(0x1a8)](a62_0x5f3e70),winston[a62_0x2dd621(0x1aa)][a62_0x2dd621(0x1a9)](a62_0x56be05),winston[a62_0x2dd621(0x1aa)]['printf'](_0x1b7680=>_0x1b7680[a62_0x2dd621(0x1a8)]+a62_0x2dd621(0x1b9)+_0x1b7680[a62_0x2dd621(0x1be)]+':\x20'+_0x1b7680[a62_0x2dd621(0x1ae)])),'transports':[transports[a62_0x2dd621(0x1c0)],transports[a62_0x2dd621(0x1bd)],transports[a62_0x2dd621(0x1c2)]]},a62_0x8b4bd0={};a62_0x8b4bd0[a62_0x2dd621(0x1aa)]=a62_0x2dd621(0x1a1);const a62_0x1d6c47={};a62_0x1d6c47['level']=!![];const winstonFileLoggerParams={'format':winston['format'][a62_0x2dd621(0x1bb)](winston[a62_0x2dd621(0x1aa)]['timestamp'](a62_0x8b4bd0),winston['format']['colorize'](a62_0x1d6c47),winston[a62_0x2dd621(0x1aa)][a62_0x2dd621(0x1b0)](_0xaf2456=>_0xaf2456[a62_0x2dd621(0x1be)]+':\x20'+_0xaf2456[a62_0x2dd621(0x1ae)])),'transports':[transports['loggerFile'],transports[a62_0x2dd621(0x1c2)]]};exports['winstonLogger']=new winston['createLogger'](winstonLoggerParams),exports['fileLogger']=new winston[(a62_0x2dd621(0x1c1))](winstonFileLoggerParams),exports['logDir']=logDir,exports[a62_0x2dd621(0x1af)]=transports;
1
+ const a62_0x401b38=a62_0x4679;(function(_0x1beea8,_0x15ef65){const _0x31e0d2=a62_0x4679,_0x41931f=_0x1beea8();while(!![]){try{const _0xc16fa4=parseInt(_0x31e0d2(0x173))/0x1*(-parseInt(_0x31e0d2(0x15d))/0x2)+parseInt(_0x31e0d2(0x169))/0x3+-parseInt(_0x31e0d2(0x16e))/0x4*(-parseInt(_0x31e0d2(0x175))/0x5)+parseInt(_0x31e0d2(0x158))/0x6+-parseInt(_0x31e0d2(0x174))/0x7*(parseInt(_0x31e0d2(0x16a))/0x8)+parseInt(_0x31e0d2(0x15f))/0x9+parseInt(_0x31e0d2(0x176))/0xa*(-parseInt(_0x31e0d2(0x172))/0xb);if(_0xc16fa4===_0x15ef65)break;else _0x41931f['push'](_0x41931f['shift']());}catch(_0xc82121){_0x41931f['push'](_0x41931f['shift']());}}}(a62_0x3420,0x6551d));const winston=require('winston'),os=require('os'),fs=require('fs'),path=require(a62_0x401b38(0x168)),logDir=a62_0x401b38(0x154);!fs['existsSync'](logDir)&&fs[a62_0x401b38(0x15c)](logDir);const a62_0x1c2ee9={};a62_0x1c2ee9[a62_0x401b38(0x170)]=a62_0x401b38(0x157);const transports={'loggerConsole':new winston[(a62_0x401b38(0x15b))][(a62_0x401b38(0x16d))](a62_0x1c2ee9),'loggerFile':new winston[(a62_0x401b38(0x15b))]['File']({'filename':path['join'](logDir,a62_0x401b38(0x160))}),'debugLoggerFile':new winston[(a62_0x401b38(0x15b))][(a62_0x401b38(0x152))]({'filename':path[a62_0x401b38(0x159)](logDir,a62_0x401b38(0x151)),'level':'silly'})},a62_0x391a10={};function a62_0x3420(){const _0x5575ed=['createLogger','6417036feVZQg','/usage.log','logDir','debugLoggerFile','colorize','message','YYYY-MM-DD\x20HH:mm:ss','loggerFile','level','path','1062681VNdiJf','7496WEZUrq','combine','fileLogger','Console','23908lSURNO','format','name','timestamp','1991ySOQMK','1hCVBHi','3360QYtWLd','685RlYJJo','67190wWRkbo','/usage-debug.log','File','winstonLogger','log','loggerConsole','\x20-\x20','console.info','1216074MykXtU','join','printf','transports','mkdirSync','15710YllUhH'];a62_0x3420=function(){return _0x5575ed;};return a62_0x3420();}a62_0x391a10[a62_0x401b38(0x16f)]=a62_0x401b38(0x165);const a62_0x3e2bed={};a62_0x3e2bed[a62_0x401b38(0x167)]=!![];function a62_0x4679(_0x3f74c6,_0x1b92be){const _0x342011=a62_0x3420();return a62_0x4679=function(_0x4679a3,_0x346de0){_0x4679a3=_0x4679a3-0x151;let _0x205ce3=_0x342011[_0x4679a3];return _0x205ce3;},a62_0x4679(_0x3f74c6,_0x1b92be);}const winstonLoggerParams={'format':winston[a62_0x401b38(0x16f)][a62_0x401b38(0x16b)](winston['format'][a62_0x401b38(0x171)](a62_0x391a10),winston[a62_0x401b38(0x16f)][a62_0x401b38(0x163)](a62_0x3e2bed),winston['format'][a62_0x401b38(0x15a)](_0x295e54=>_0x295e54[a62_0x401b38(0x171)]+a62_0x401b38(0x156)+_0x295e54[a62_0x401b38(0x167)]+':\x20'+_0x295e54[a62_0x401b38(0x164)])),'transports':[transports[a62_0x401b38(0x155)],transports[a62_0x401b38(0x166)],transports[a62_0x401b38(0x162)]]},a62_0x5dd4af={};a62_0x5dd4af[a62_0x401b38(0x16f)]='YYYY-MM-DD\x20HH:mm:ss';const a62_0x46b1c6={};a62_0x46b1c6[a62_0x401b38(0x167)]=!![];const winstonFileLoggerParams={'format':winston[a62_0x401b38(0x16f)][a62_0x401b38(0x16b)](winston[a62_0x401b38(0x16f)][a62_0x401b38(0x171)](a62_0x5dd4af),winston[a62_0x401b38(0x16f)][a62_0x401b38(0x163)](a62_0x46b1c6),winston[a62_0x401b38(0x16f)]['printf'](_0x5567cc=>_0x5567cc[a62_0x401b38(0x167)]+':\x20'+_0x5567cc[a62_0x401b38(0x164)])),'transports':[transports[a62_0x401b38(0x166)],transports[a62_0x401b38(0x162)]]};exports[a62_0x401b38(0x153)]=new winston[(a62_0x401b38(0x15e))](winstonLoggerParams),exports[a62_0x401b38(0x16c)]=new winston[(a62_0x401b38(0x15e))](winstonFileLoggerParams),exports[a62_0x401b38(0x161)]=logDir,exports['transports']=transports;
@@ -1 +1 @@
1
- function a63_0x34a8(){var _0x4eac66=['pVPzZ','overrideQuit','initScreenshot','zXHni','true','fpQCT','takeScreenshot','NLSLx','69876SHFKeM','375MnPfHq','rvfXO','yxtGO','4|0|1|3|2','52rZwSbf','3768cqLxwM','1|5|2|4|0|3','overrideTakeScreenshot','TEST_SCREENSHOT','quitCount_','initQuit','908289WYXCKq','fZoCW','18899gsJKkl','BS_TESTOPS_ALLOW_SCREENSHOTS','then','176895hzCYQf','quit','AiqOb','patchQuit','100xbaKbb','aJPJd','toISOString','UyYCx','4BURPCK','1719200CvlbET','209069wEvEVb','kDcpT','split','znWjV','patchScreenshot','pid','17259XrIBgk'];a63_0x34a8=function(){return _0x4eac66;};return a63_0x34a8();}function a63_0x1012(_0x4569d6,_0x25cdd6){var _0x34a8ab=a63_0x34a8();return a63_0x1012=function(_0x101206,_0x35b3c5){_0x101206=_0x101206-0xaa;var _0x2fb6bd=_0x34a8ab[_0x101206];return _0x2fb6bd;},a63_0x1012(_0x4569d6,_0x25cdd6);}var a63_0x32e432=a63_0x1012;(function(_0x4426d2,_0x29d399){var _0x386d2c=a63_0x1012,_0x4ea647=_0x4426d2();while(!![]){try{var _0x507bfb=parseInt(_0x386d2c(0xaf))/0x1*(-parseInt(_0x386d2c(0xd0))/0x2)+-parseInt(_0x386d2c(0xad))/0x3*(parseInt(_0x386d2c(0xba))/0x4)+parseInt(_0x386d2c(0xcc))/0x5*(parseInt(_0x386d2c(0xcb))/0x6)+parseInt(_0x386d2c(0xbc))/0x7+parseInt(_0x386d2c(0xbb))/0x8+parseInt(_0x386d2c(0xb2))/0x9*(-parseInt(_0x386d2c(0xb6))/0xa)+-parseInt(_0x386d2c(0xc2))/0xb*(-parseInt(_0x386d2c(0xd1))/0xc);if(_0x507bfb===_0x29d399)break;else _0x4ea647['push'](_0x4ea647['shift']());}catch(_0x310897){_0x4ea647['push'](_0x4ea647['shift']());}}}(a63_0x34a8,0x976a4),exports[a63_0x32e432(0xd3)]=_0x48047a=>{var _0x46af85=a63_0x32e432,_0x4a60f7={'kDcpT':_0x46af85(0xd2),'FeSrz':_0x46af85(0xaa),'AiqOb':function(_0x1d3502,_0x6fce23){return _0x1d3502(_0x6fce23);},'rvfXO':function(_0x1443c2,_0x575d20){return _0x1443c2!==_0x575d20;},'yxtGO':_0x46af85(0xc7)},_0x2b2eb8=_0x4a60f7[_0x46af85(0xbd)][_0x46af85(0xbe)]('|'),_0x4a4c97=0x0;while(!![]){switch(_0x2b2eb8[_0x4a4c97++]){case'0':_0x48047a[_0x46af85(0xc5)]=_0x48047a[_0x46af85(0xc9)];continue;case'1':var _0x484891={'noZvn':_0x4a60f7['FeSrz'],'VxKkv':function(_0x1d10ea,_0x1cbc69){var _0x2d0d76=_0x46af85;return _0x4a60f7[_0x2d0d76(0xb4)](_0x1d10ea,_0x1cbc69);}};continue;case'2':if(_0x48047a[_0x46af85(0xc0)])return;continue;case'3':_0x48047a[_0x46af85(0xc9)]=()=>{var _0x4c05d1={'fpQCT':_0x484891['noZvn'],'NLSLx':function(_0x621e0a,_0x1ca6f3){return _0x484891['VxKkv'](_0x621e0a,_0x1ca6f3);}};return new Promise(function(_0x1f698a,_0x412d9e){var _0x9f278a=a63_0x1012;_0x48047a[_0x9f278a(0xc5)]()[_0x9f278a(0xb1)](_0x1a3dcd=>{var _0x137e0b=_0x9f278a;process['emit']('bs:addLog:'+process[_0x137e0b(0xc1)],{'timestamp':new Date()[_0x137e0b(0xb8)](),'message':_0x1a3dcd,'kind':_0x4c05d1[_0x137e0b(0xc8)]}),_0x4c05d1[_0x137e0b(0xca)](_0x1f698a,_0x1a3dcd);});});};continue;case'4':_0x48047a[_0x46af85(0xc0)]=!![];continue;case'5':if(_0x4a60f7[_0x46af85(0xcd)](process['env'][_0x46af85(0xb0)],_0x4a60f7[_0x46af85(0xce)]))return;continue;}break;}},exports[a63_0x32e432(0xc4)]=(_0x289c5e,_0x2f5cb1=null)=>{var _0x3b3a6a=a63_0x32e432,_0x2d566f={'aJPJd':_0x3b3a6a(0xcf),'pVPzZ':function(_0x2fa12c){return _0x2fa12c();},'UyYCx':function(_0x4c7659,_0x27c7ea){return _0x4c7659>_0x27c7ea;}},_0x194282=_0x2d566f[_0x3b3a6a(0xb7)][_0x3b3a6a(0xbe)]('|'),_0x1f625d=0x0;while(!![]){switch(_0x194282[_0x1f625d++]){case'0':if(_0x289c5e[_0x3b3a6a(0xb5)])return;continue;case'1':_0x289c5e[_0x3b3a6a(0xb5)]=!![];continue;case'2':_0x289c5e[_0x3b3a6a(0xb3)]=()=>{var _0x5dfdd1=_0x3b3a6a;if(_0x2f5cb1){_0x2f5cb1['quitCount_']+=0x1;if(_0x14e0f8[_0x5dfdd1(0xc6)](_0x2f5cb1[_0x5dfdd1(0xab)],0x1))return _0x289c5e[_0x5dfdd1(0xac)]();}else{_0x289c5e[_0x5dfdd1(0xab)]+=0x1;if(_0x14e0f8[_0x5dfdd1(0xbf)](_0x289c5e[_0x5dfdd1(0xab)],0x1))return _0x289c5e[_0x5dfdd1(0xac)]();}return new Promise(function(_0x39c1f0){var _0x190dc5=_0x5dfdd1;_0x14e0f8[_0x190dc5(0xae)](_0x39c1f0);});};continue;case'3':_0x289c5e[_0x3b3a6a(0xac)]=_0x289c5e['quit'];continue;case'4':var _0x14e0f8={'fZoCW':function(_0x2c84fe){var _0x49dd83=_0x3b3a6a;return _0x2d566f[_0x49dd83(0xc3)](_0x2c84fe);},'zXHni':function(_0x29a913,_0xb219e5){var _0x550f2d=_0x3b3a6a;return _0x2d566f[_0x550f2d(0xb9)](_0x29a913,_0xb219e5);},'znWjV':function(_0x47f116,_0x4cf505){var _0x5389e0=_0x3b3a6a;return _0x2d566f[_0x5389e0(0xb9)](_0x47f116,_0x4cf505);}};continue;}break;}});
1
+ var a63_0x25b256=a63_0x5c1a;function a63_0x35ee(){var _0x3425e0=['bs:addLog:','toISOString','quitCount_','true','1947533jVdwVr','xAJFn','3439tNwzCI','emit','pGzSi','patchQuit','OErtl','initQuit','iixUg','split','590wHgjMe','takeScreenshot','OfSHe','paYWX','pOFBY','env','820jwrENW','1|5|2|0|3|4','TEST_SCREENSHOT','BS_TESTOPS_ALLOW_SCREENSHOTS','pid','overrideQuit','2025918KHvqzi','8LHDZhl','imerx','patchScreenshot','10920258qcKQfD','CMJop','31776kScWEV','SfVWY','NWPEx','initScreenshot','805224GkNckq'];a63_0x35ee=function(){return _0x3425e0;};return a63_0x35ee();}function a63_0x5c1a(_0x5c242e,_0x5ca6b0){var _0x35ee7e=a63_0x35ee();return a63_0x5c1a=function(_0x5c1aec,_0x337e2c){_0x5c1aec=_0x5c1aec-0x1b3;var _0x2b1e26=_0x35ee7e[_0x5c1aec];return _0x2b1e26;},a63_0x5c1a(_0x5c242e,_0x5ca6b0);}(function(_0x25e358,_0x11ec60){var _0x1e12fb=a63_0x5c1a,_0x4ce443=_0x25e358();while(!![]){try{var _0xf04124=-parseInt(_0x1e12fb(0x1b4))/0x1+-parseInt(_0x1e12fb(0x1ce))/0x2+-parseInt(_0x1e12fb(0x1c8))/0x3+parseInt(_0x1e12fb(0x1c2))/0x4*(-parseInt(_0x1e12fb(0x1bc))/0x5)+parseInt(_0x1e12fb(0x1d2))/0x6+-parseInt(_0x1e12fb(0x1d7))/0x7*(parseInt(_0x1e12fb(0x1c9))/0x8)+parseInt(_0x1e12fb(0x1cc))/0x9;if(_0xf04124===_0x11ec60)break;else _0x4ce443['push'](_0x4ce443['shift']());}catch(_0x52e5aa){_0x4ce443['push'](_0x4ce443['shift']());}}}(a63_0x35ee,0x5593c),exports['overrideTakeScreenshot']=_0x4a4208=>{var _0x1e0ded=a63_0x5c1a,_0x5c86e4={'OfSHe':_0x1e0ded(0x1c3),'SfVWY':_0x1e0ded(0x1c4),'xAJFn':function(_0x349881,_0x4e3fb5){return _0x349881(_0x4e3fb5);},'GMfuP':function(_0x1736ee,_0x32bae){return _0x1736ee!==_0x32bae;},'paYWX':_0x1e0ded(0x1d6)},_0x2a704a=_0x5c86e4[_0x1e0ded(0x1be)][_0x1e0ded(0x1bb)]('|'),_0x9eeb53=0x0;while(!![]){switch(_0x2a704a[_0x9eeb53++]){case'0':_0x4a4208[_0x1e0ded(0x1cb)]=!![];continue;case'1':var _0x201b61={'iixUg':_0x5c86e4[_0x1e0ded(0x1cf)],'imerx':function(_0x1aeb9c,_0x56a5c8){var _0x1a18d1=_0x1e0ded;return _0x5c86e4[_0x1a18d1(0x1b3)](_0x1aeb9c,_0x56a5c8);}};continue;case'2':if(_0x4a4208[_0x1e0ded(0x1cb)])return;continue;case'3':_0x4a4208['initScreenshot']=_0x4a4208[_0x1e0ded(0x1bd)];continue;case'4':_0x4a4208[_0x1e0ded(0x1bd)]=()=>{var _0x4e3def=_0x1e0ded,_0x70e4f={'obBCx':_0x201b61[_0x4e3def(0x1ba)],'alEPP':function(_0x543f63,_0x5db9be){var _0x2ac138=_0x4e3def;return _0x201b61[_0x2ac138(0x1ca)](_0x543f63,_0x5db9be);}};return new Promise(function(_0x1d75e2,_0x40258f){var _0x21604c=_0x4e3def;_0x4a4208[_0x21604c(0x1d1)]()['then'](_0x5cd267=>{var _0x5cec5c=_0x21604c;process[_0x5cec5c(0x1b5)](_0x5cec5c(0x1d3)+process[_0x5cec5c(0x1c6)],{'timestamp':new Date()[_0x5cec5c(0x1d4)](),'message':_0x5cd267,'kind':_0x70e4f['obBCx']}),_0x70e4f['alEPP'](_0x1d75e2,_0x5cd267);});});};continue;case'5':if(_0x5c86e4['GMfuP'](process[_0x1e0ded(0x1c1)][_0x1e0ded(0x1c5)],_0x5c86e4[_0x1e0ded(0x1bf)]))return;continue;}break;}},exports[a63_0x25b256(0x1c7)]=(_0x8cb03f,_0x235496=null)=>{var _0x3b7594=a63_0x25b256,_0x3f6fd2={'CMJop':'0|2|3|4|1','pOFBY':function(_0x3ba1c8){return _0x3ba1c8();},'onOEu':function(_0x11e511,_0x39fecb){return _0x11e511>_0x39fecb;}},_0x49faba=_0x3f6fd2[_0x3b7594(0x1cd)][_0x3b7594(0x1bb)]('|'),_0xc836ed=0x0;while(!![]){switch(_0x49faba[_0xc836ed++]){case'0':var _0x2dc61e={'pGzSi':function(_0x474b34){var _0x1262c2=_0x3b7594;return _0x3f6fd2[_0x1262c2(0x1c0)](_0x474b34);},'NWPEx':function(_0x5954ef,_0x849ea6){return _0x3f6fd2['onOEu'](_0x5954ef,_0x849ea6);}};continue;case'1':_0x8cb03f['quit']=()=>{var _0x1285b8=_0x3b7594,_0x26b100={'OErtl':function(_0x7cffbc){var _0x120306=a63_0x5c1a;return _0x2dc61e[_0x120306(0x1b6)](_0x7cffbc);}};if(_0x235496){_0x235496[_0x1285b8(0x1d5)]+=0x1;if(_0x2dc61e[_0x1285b8(0x1d0)](_0x235496['quitCount_'],0x1))return _0x8cb03f['initQuit']();}else{_0x8cb03f[_0x1285b8(0x1d5)]+=0x1;if(_0x2dc61e[_0x1285b8(0x1d0)](_0x8cb03f[_0x1285b8(0x1d5)],0x1))return _0x8cb03f[_0x1285b8(0x1b9)]();}return new Promise(function(_0x4ca769){var _0x42fdf3=_0x1285b8;_0x26b100[_0x42fdf3(0x1b8)](_0x4ca769);});};continue;case'2':if(_0x8cb03f[_0x3b7594(0x1b7)])return;continue;case'3':_0x8cb03f[_0x3b7594(0x1b7)]=!![];continue;case'4':_0x8cb03f['initQuit']=_0x8cb03f['quit'];continue;}break;}});
@@ -1 +1 @@
1
- const a64_0xae222d=a64_0x418e;(function(_0xb7e325,_0x208fdd){const _0x28c70c=a64_0x418e,_0x3d1254=_0xb7e325();while(!![]){try{const _0x59109d=-parseInt(_0x28c70c(0xbc))/0x1*(parseInt(_0x28c70c(0xdd))/0x2)+parseInt(_0x28c70c(0xdb))/0x3*(-parseInt(_0x28c70c(0xca))/0x4)+parseInt(_0x28c70c(0x9f))/0x5+parseInt(_0x28c70c(0xde))/0x6*(-parseInt(_0x28c70c(0xb0))/0x7)+-parseInt(_0x28c70c(0xc2))/0x8+-parseInt(_0x28c70c(0xe1))/0x9*(-parseInt(_0x28c70c(0xd7))/0xa)+-parseInt(_0x28c70c(0xd3))/0xb*(-parseInt(_0x28c70c(0xd2))/0xc);if(_0x59109d===_0x208fdd)break;else _0x3d1254['push'](_0x3d1254['shift']());}catch(_0x3ab10e){_0x3d1254['push'](_0x3d1254['shift']());}}}(a64_0x565d,0x6b553));function a64_0x418e(_0x13c0b6,_0x47e349){const _0x565d83=a64_0x565d();return a64_0x418e=function(_0x418efb,_0x2a3a82){_0x418efb=_0x418efb-0x92;let _0x5d8b8e=_0x565d83[_0x418efb];return _0x5d8b8e;},a64_0x418e(_0x13c0b6,_0x47e349);}const fs=require('fs'),path=require(a64_0xae222d(0xdf)),os=require('os'),{spawn}=require(a64_0xae222d(0xc4)),helper=require('../helper'),logger=require(a64_0xae222d(0xae))[a64_0xae222d(0xa8)],{logDir}=require(a64_0xae222d(0xae)),testHubConstants=require(a64_0xae222d(0xaf)),PercyBinary=require(a64_0xae222d(0xab));class Percy{#logfile=path[a64_0xae222d(0xe0)](logDir,a64_0xae222d(0xad));#address=process[a64_0xae222d(0xd4)][a64_0xae222d(0xb7)]||a64_0xae222d(0xa5);#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x12349d){const _0x14ccaa=a64_0xae222d;this.#config=_0x12349d,!!_0x12349d[_0x14ccaa(0xc3)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x30412b=a64_0xae222d;if(!this.#binaryPath){const _0x3d10ce=new PercyBinary();this.#binaryPath=await _0x3d10ce[_0x30412b(0xbd)](this.#config);}return this.#binaryPath;}async #sleep(_0x43b8de){return new Promise(_0x526947=>setTimeout(_0x526947,_0x43b8de));}async[a64_0xae222d(0xc9)](){const _0x5281f6=a64_0xae222d,_0x389ded={};_0x389ded[_0x5281f6(0xce)]=_0x5281f6(0xda),_0x389ded[_0x5281f6(0xb9)]='percy/healthcheck';const _0x520499=_0x389ded;try{const _0x595546=await helper[_0x5281f6(0xa0)](_0x520499[_0x5281f6(0xce)],_0x520499[_0x5281f6(0xb9)],null,null,this.#address);if(_0x595546)return!![];}catch(_0x17422b){return![];}}async['start'](){const _0x50a5e0=a64_0xae222d,_0x1e5aa8={'HJQte':_0x50a5e0(0xdc),'XKVmQ':'exec','UIUGo':function(_0x59d873,_0x1699cf,_0x1acd96,_0x223131){return _0x59d873(_0x1699cf,_0x1acd96,_0x223131);},'xeTuB':_0x50a5e0(0xb1),'dywvt':_0x50a5e0(0x93)},_0xc6d1da=await this.#getBinaryPath(),_0x1f0d8e={};_0x1f0d8e['flags']='a';const _0x2383c2=fs[_0x50a5e0(0xc0)](this.#logfile,_0x1f0d8e),_0x5e0b9f=await this[_0x50a5e0(0xb3)](),_0x247531=await this[_0x50a5e0(0xb6)]();if(!_0x5e0b9f)return![];const _0x2abae3=[(this.#isApp?_0x1e5aa8[_0x50a5e0(0xbf)]:_0x1e5aa8[_0x50a5e0(0xcb)])+_0x50a5e0(0xa2)];_0x247531&&_0x2abae3['push']('-c',_0x247531);this.#proc=_0x1e5aa8[_0x50a5e0(0xb2)](spawn,_0xc6d1da,_0x2abae3,{'env':Object[_0x50a5e0(0xd9)](process[_0x50a5e0(0xd4)],{'PERCY_TOKEN':_0x5e0b9f,'TH_BUILD_UUID':process[_0x50a5e0(0xd4)][testHubConstants[_0x50a5e0(0x95)][_0x50a5e0(0xbb)]]})}),this.#proc[_0x50a5e0(0xbe)][_0x50a5e0(0x92)](_0x2383c2),this.#proc[_0x50a5e0(0xc7)][_0x50a5e0(0x92)](_0x2383c2),this[_0x50a5e0(0xc6)]=!![];var _0x4e0010=this;this.#proc['on'](_0x1e5aa8['xeTuB'],function(_0x404dc9){const _0x388e0a=_0x50a5e0;_0x4e0010[_0x388e0a(0xc6)]=![];});do{const _0x1d919b=await this[_0x50a5e0(0xc9)]();if(_0x1d919b)return logger[_0x50a5e0(0xd8)](_0x1e5aa8['dywvt']),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a64_0xae222d(0xa7)](){const _0xb9188c=a64_0xae222d,_0xde2d81={'LPWpA':function(_0x36b26e,_0x218e24){return _0x36b26e(_0x218e24);},'LcaQc':function(_0x2f9cbd,_0x492b24,_0x4dd5b0){return _0x2f9cbd(_0x492b24,_0x4dd5b0);},'yJOCc':_0xb9188c(0xa4),'KHIPD':_0xb9188c(0xb1)},_0x3b7124=await this.#getBinaryPath();return new Promise((_0x22a0a4,_0x55269b)=>{const _0x3ea592=_0xb9188c,_0x5a6535=_0xde2d81[_0x3ea592(0x9a)](spawn,_0x3b7124,[_0xde2d81[_0x3ea592(0xcf)]]);_0x5a6535['on'](_0xde2d81[_0x3ea592(0x9b)],_0x7887ce=>{const _0x316c2e=_0x3ea592;this[_0x316c2e(0xc6)]=![],_0xde2d81[_0x316c2e(0xa1)](_0x22a0a4,_0x7887ce);});});}['isRunning'](){const _0x3fde31=a64_0xae222d;return this[_0x3fde31(0xc6)];}async[a64_0xae222d(0xb3)](){const _0x114cfe=a64_0xae222d,_0x36a33b={};_0x36a33b[_0x114cfe(0x94)]=_0x114cfe(0xc3),_0x36a33b[_0x114cfe(0xc5)]=_0x114cfe(0xaa),_0x36a33b[_0x114cfe(0xac)]=_0x114cfe(0xda),_0x36a33b['GPRQG']=_0x114cfe(0x96);const _0x53c727=_0x36a33b,_0x60a67d=this.#config[_0x114cfe(0xc1)];try{const _0x24b141=this.#isApp?_0x53c727[_0x114cfe(0x94)]:_0x53c727[_0x114cfe(0xc5)],_0x57d9fb=await helper[_0x114cfe(0xa0)](_0x53c727['UzLsN'],_0x114cfe(0xb8)+_0x60a67d+_0x114cfe(0xd5)+_0x24b141,{},this.#config),_0x507832=_0x57d9fb[_0x114cfe(0xd1)];return logger[_0x114cfe(0xd8)](_0x53c727[_0x114cfe(0xa3)]),_0x507832[_0x114cfe(0x97)];}catch(_0x4c2626){return logger[_0x114cfe(0xcc)](_0x114cfe(0xa9)+_0x4c2626),null;}}async['createPercyConfig'](){const _0x341d35=a64_0xae222d,_0x4c553e={'lFAsc':function(_0x2979a6,_0x13a9cc){return _0x2979a6(_0x13a9cc);},'uKlXw':function(_0x19f0ae,_0x375fd3){return _0x19f0ae+_0x375fd3;},'vlpll':_0x341d35(0xb5),'YSQHs':function(_0x585ce1,_0xcc56b7){return _0x585ce1(_0xcc56b7);},'RxJIQ':_0x341d35(0x99)};if(!this.#config[_0x341d35(0x9d)])return null;const _0x439870=path[_0x341d35(0xe0)](os[_0x341d35(0xcd)](),_0x4c553e[_0x341d35(0x98)]),_0x175861=this.#config['percyOptions'];return!_0x175861[_0x341d35(0xa6)]&&(_0x175861[_0x341d35(0xa6)]='2'),new Promise((_0xec7959,_0x45e5af)=>{const _0x17dddc=_0x341d35;fs[_0x17dddc(0xd6)](_0x439870,JSON[_0x17dddc(0xd0)](_0x175861),_0x57bc99=>{const _0x3184ae=_0x17dddc;_0x57bc99&&(logger[_0x3184ae(0xcc)](_0x3184ae(0xc8)+_0x57bc99),_0x4c553e[_0x3184ae(0xba)](_0xec7959,null)),logger[_0x3184ae(0xd8)](_0x4c553e[_0x3184ae(0x9c)](_0x4c553e[_0x3184ae(0xb4)],_0x439870)),_0x4c553e['YSQHs'](_0xec7959,_0x439870);});});}}module[a64_0xae222d(0x9e)]=Percy;function a64_0x565d(){const _0x172359=['join','900htDwrr','pipe','Percy\x20healthcheck\x20successful','wHUIG','ENV_VAR','Percy\x20fetch\x20token\x20success','token','RxJIQ','percy.json','LcaQc','KHIPD','uKlXw','percyOptions','exports','2384915hlveaS','nodeRequest','LPWpA',':start','GPRQG','exec:stop','http://localhost:5338','version','stop','winstonLogger','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','automate','./PercyBinary','UzLsN','percy.log','../logger','../../helpers/testhub/constants','2707418ruZbWT','close','UIUGo','fetchPercyToken','vlpll','Percy\x20config\x20created\x20at\x20','createPercyConfig','PERCY_SERVER_ADDRESS','api/app_percy/get_project_token?name=','JsABp','lFAsc','BROWSERSTACK_TESTHUB_UUID','11183sMjvXI','getBinaryPath','stdout','HJQte','createWriteStream','projectName','3720360CKwoCn','app','child_process','RqFQE','isProcessRunning','stderr','Error\x20creating\x20percy\x20config:\x20','healthcheck','68SjbVVs','XKVmQ','error','tmpdir','Zidvc','yJOCc','stringify','data','14658708dtztcV','11wqtklg','env','&type=','writeFile','51010JMkSMb','debug','assign','GET','108573khJohA','app:exec','54ibhYDv','6QPDxCu','path'];a64_0x565d=function(){return _0x172359;};return a64_0x565d();}
1
+ function a64_0x5a50(_0x5b3379,_0x44e6b0){const _0xeaad98=a64_0xeaad();return a64_0x5a50=function(_0x5a5031,_0x106aec){_0x5a5031=_0x5a5031-0x19c;let _0x3a3c3f=_0xeaad98[_0x5a5031];return _0x3a3c3f;},a64_0x5a50(_0x5b3379,_0x44e6b0);}const a64_0x62e1b2=a64_0x5a50;(function(_0x15d99e,_0x4f48ec){const _0x3a3a65=a64_0x5a50,_0x10ba34=_0x15d99e();while(!![]){try{const _0x4f05f0=-parseInt(_0x3a3a65(0x1de))/0x1*(-parseInt(_0x3a3a65(0x1dd))/0x2)+-parseInt(_0x3a3a65(0x1a0))/0x3*(parseInt(_0x3a3a65(0x1e0))/0x4)+-parseInt(_0x3a3a65(0x1b5))/0x5+-parseInt(_0x3a3a65(0x1b1))/0x6*(parseInt(_0x3a3a65(0x1c9))/0x7)+-parseInt(_0x3a3a65(0x1a3))/0x8*(parseInt(_0x3a3a65(0x1e4))/0x9)+parseInt(_0x3a3a65(0x19e))/0xa+parseInt(_0x3a3a65(0x1df))/0xb*(parseInt(_0x3a3a65(0x1af))/0xc);if(_0x4f05f0===_0x4f48ec)break;else _0x10ba34['push'](_0x10ba34['shift']());}catch(_0x3d61fd){_0x10ba34['push'](_0x10ba34['shift']());}}}(a64_0xeaad,0x65c79));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),helper=require('../helper'),logger=require(a64_0x62e1b2(0x1b9))[a64_0x62e1b2(0x1b3)],{logDir}=require(a64_0x62e1b2(0x1b9)),testHubConstants=require(a64_0x62e1b2(0x1d4)),PercyBinary=require(a64_0x62e1b2(0x1d6));function a64_0xeaad(){const _0x4e8637=['push','stop','vMeik','exec:stop','projectName','isRunning','PERCY_SERVER_ADDRESS','Error\x20creating\x20percy\x20config:\x20','Percy\x20fetch\x20token\x20success','JXRSK','voosv','12eeYRzq','env','3938202yMDeKV','EmJNy','winstonLogger','ENV_VAR','403740ihqJUy','join','percy.json','percy/healthcheck','../logger','debug','token','BROWSERSTACK_TESTHUB_UUID','app','&type=','pipe','XtWfA','isProcessRunning','http://localhost:5338','stringify','fetchPercyToken','automate','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','nodeRequest','flags','7feAqkD','createPercyConfig','stdout','percyOptions','dXpFw','AgsKc','sTKZf','close','stderr','start','GET','../../helpers/testhub/constants','writeFile','./PercyBinary','qvqxV',':start','qtLiw','version','percy.log','Percy\x20healthcheck\x20successful','236126jekaPp','1qFZKkT','15297117ChXmnP','592CzLYat','LtClI','owiWA','error','507987yRTaca','jfmeO','createWriteStream','735130dvpIHZ','kLYmZ','7536oCjxiU','ynBXk','Percy\x20config\x20created\x20at\x20','8YsLULR'];a64_0xeaad=function(){return _0x4e8637;};return a64_0xeaad();}class Percy{#logfile=path[a64_0x62e1b2(0x1b6)](logDir,a64_0x62e1b2(0x1db));#address=process[a64_0x62e1b2(0x1b0)][a64_0x62e1b2(0x1aa)]||a64_0x62e1b2(0x1c2);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a64_0x62e1b2(0x1c1)]=![];constructor(_0xc31634){const _0x530946=a64_0x62e1b2;this.#config=_0xc31634,!!_0xc31634[_0x530946(0x1bd)]&&(this.#isApp=!![]);}async #getBinaryPath(){if(!this.#binaryPath){const _0x43bd3b=new PercyBinary();this.#binaryPath=await _0x43bd3b['getBinaryPath'](this.#config);}return this.#binaryPath;}async #sleep(_0x205dee){return new Promise(_0x3c8b3b=>setTimeout(_0x3c8b3b,_0x205dee));}async['healthcheck'](){const _0x55e53c=a64_0x62e1b2,_0x16ebd2={};_0x16ebd2['dXpFw']=_0x55e53c(0x1d3),_0x16ebd2[_0x55e53c(0x1ce)]=_0x55e53c(0x1b8);const _0x506fe2=_0x16ebd2;try{const _0x59acf0=await helper['nodeRequest'](_0x506fe2[_0x55e53c(0x1cd)],_0x506fe2[_0x55e53c(0x1ce)],null,null,this.#address);if(_0x59acf0)return!![];}catch(_0xaf584d){return![];}}async[a64_0x62e1b2(0x1d2)](){const _0x4c4014=a64_0x62e1b2,_0xf7f700={'jfmeO':'app:exec','BvSLe':'exec','nqszJ':function(_0x22c008,_0x3f5df5,_0x35f7a9,_0x247432){return _0x22c008(_0x3f5df5,_0x35f7a9,_0x247432);},'owiWA':_0x4c4014(0x1d0),'LtClI':_0x4c4014(0x1dc)},_0x17684b=await this.#getBinaryPath(),_0x5a9de5={};_0x5a9de5[_0x4c4014(0x1c8)]='a';const _0x89fd5c=fs[_0x4c4014(0x19d)](this.#logfile,_0x5a9de5),_0x17e30c=await this[_0x4c4014(0x1c4)](),_0x2f08f0=await this[_0x4c4014(0x1ca)]();if(!_0x17e30c)return![];const _0x21f79c=[(this.#isApp?_0xf7f700[_0x4c4014(0x19c)]:_0xf7f700['BvSLe'])+_0x4c4014(0x1d8)];_0x2f08f0&&_0x21f79c[_0x4c4014(0x1a4)]('-c',_0x2f08f0);this.#proc=_0xf7f700['nqszJ'](spawn,_0x17684b,_0x21f79c,{'env':Object['assign'](process['env'],{'PERCY_TOKEN':_0x17e30c,'TH_BUILD_UUID':process[_0x4c4014(0x1b0)][testHubConstants[_0x4c4014(0x1b4)][_0x4c4014(0x1bc)]]})}),this.#proc[_0x4c4014(0x1cb)][_0x4c4014(0x1bf)](_0x89fd5c),this.#proc[_0x4c4014(0x1d1)][_0x4c4014(0x1bf)](_0x89fd5c),this[_0x4c4014(0x1c1)]=!![];var _0x304b3a=this;this.#proc['on'](_0xf7f700[_0x4c4014(0x1e2)],function(_0x2a1af8){const _0xfb7698=_0x4c4014;_0x304b3a[_0xfb7698(0x1c1)]=![];});do{const _0x322580=await this['healthcheck']();if(_0x322580)return logger[_0x4c4014(0x1ba)](_0xf7f700[_0x4c4014(0x1e1)]),!![];await this.#sleep(0x3e8);}while(this[_0x4c4014(0x1c1)]);return![];}async[a64_0x62e1b2(0x1a5)](){const _0x36300e=a64_0x62e1b2,_0x20d0ed={'JXRSK':function(_0x443474,_0x28c45a){return _0x443474(_0x28c45a);},'voosv':function(_0x199cf7,_0x46f4ff,_0x12141c){return _0x199cf7(_0x46f4ff,_0x12141c);},'CbONC':_0x36300e(0x1a7),'ynBXk':_0x36300e(0x1d0)},_0x2d8a83=await this.#getBinaryPath();return new Promise((_0x563df3,_0x17df3e)=>{const _0x35a7e7=_0x36300e,_0x4f1e11=_0x20d0ed[_0x35a7e7(0x1ae)](spawn,_0x2d8a83,[_0x20d0ed['CbONC']]);_0x4f1e11['on'](_0x20d0ed[_0x35a7e7(0x1a1)],_0x26c1d9=>{const _0x295731=_0x35a7e7;this[_0x295731(0x1c1)]=![],_0x20d0ed[_0x295731(0x1ad)](_0x563df3,_0x26c1d9);});});}[a64_0x62e1b2(0x1a9)](){const _0x10b9c3=a64_0x62e1b2;return this[_0x10b9c3(0x1c1)];}async[a64_0x62e1b2(0x1c4)](){const _0x3371f0=a64_0x62e1b2,_0x5f2db4={};_0x5f2db4['sTKZf']=_0x3371f0(0x1bd),_0x5f2db4['kLYmZ']=_0x3371f0(0x1c5),_0x5f2db4[_0x3371f0(0x1d7)]='GET',_0x5f2db4['sKgSj']=_0x3371f0(0x1ac);const _0x4af78b=_0x5f2db4,_0x2bd24c=this.#config[_0x3371f0(0x1a8)];try{const _0x1541ee=this.#isApp?_0x4af78b[_0x3371f0(0x1cf)]:_0x4af78b[_0x3371f0(0x19f)],_0x22189a=await helper[_0x3371f0(0x1c7)](_0x4af78b['qvqxV'],'api/app_percy/get_project_token?name='+_0x2bd24c+_0x3371f0(0x1be)+_0x1541ee,{},this.#config),_0x748ff1=_0x22189a['data'];return logger[_0x3371f0(0x1ba)](_0x4af78b['sKgSj']),_0x748ff1[_0x3371f0(0x1bb)];}catch(_0x5c8c38){return logger[_0x3371f0(0x1e3)](_0x3371f0(0x1c6)+_0x5c8c38),null;}}async[a64_0x62e1b2(0x1ca)](){const _0x2e5cee=a64_0x62e1b2,_0x2dd902={'EmJNy':function(_0x504419,_0x4c842c){return _0x504419(_0x4c842c);},'XtWfA':function(_0x543058,_0x3903c9){return _0x543058+_0x3903c9;},'vMeik':_0x2e5cee(0x1a2),'qtLiw':_0x2e5cee(0x1b7)};if(!this.#config[_0x2e5cee(0x1cc)])return null;const _0x5a741a=path[_0x2e5cee(0x1b6)](os['tmpdir'](),_0x2dd902[_0x2e5cee(0x1d9)]),_0x1c2554=this.#config[_0x2e5cee(0x1cc)];return!_0x1c2554[_0x2e5cee(0x1da)]&&(_0x1c2554[_0x2e5cee(0x1da)]='2'),new Promise((_0x44a48a,_0x21b3c7)=>{const _0x551f15=_0x2e5cee;fs[_0x551f15(0x1d5)](_0x5a741a,JSON[_0x551f15(0x1c3)](_0x1c2554),_0x404b07=>{const _0x363f4c=_0x551f15;_0x404b07&&(logger[_0x363f4c(0x1e3)](_0x363f4c(0x1ab)+_0x404b07),_0x2dd902[_0x363f4c(0x1b2)](_0x44a48a,null)),logger[_0x363f4c(0x1ba)](_0x2dd902[_0x363f4c(0x1c0)](_0x2dd902[_0x363f4c(0x1a6)],_0x5a741a)),_0x2dd902['EmJNy'](_0x44a48a,_0x5a741a);});});}}module['exports']=Percy;
@@ -1 +1 @@
1
- const a65_0xd5ed86=a65_0x44da;function a65_0x44da(_0x4611d1,_0x3dcce1){const _0x7d819a=a65_0x7d81();return a65_0x44da=function(_0x44dad6,_0x4e056a){_0x44dad6=_0x44dad6-0xaa;let _0x26257d=_0x7d819a[_0x44dad6];return _0x26257d;},a65_0x44da(_0x4611d1,_0x3dcce1);}function a65_0x7d81(){const _0x42014e=['GNEVi','APvtL','win32','end','Corrupt\x20percy\x20binary,\x20retrying','tmpdir','osipr','6dDdAbD','entry','child_process','4732410GWBYUK','XBKPm','USER','BcMUZ','14BjLoLH','vqDLh','lazyEntries','https://github.com/percy/cli/releases/latest/download','Uebar','EgypF','yauzl','chmod','PtHNg','2445008ooaiOX','eXOzO','/percy-osx.zip','RVAjS','/Users/','port','avoxT','wdjqP','follow-redirects','DcDgN','Yrqxr','tmHfc','wFVzQ','QklMI','AqSVn','R_OK','open','ZNFpd','/percy-win.zip','get','rVKmJ','stdout','XnFAp','NIUGs','kDaRO','tRpiL','2KnruYz','error','VsDHF','jjkTU','accessSync','tssJf','WNCAd','cwd','LYpda','pipe','proxyHost','oKUWY','.zip','34424hmneHV','0755','close','HOME','UzViB','VLCbY','LOGNAME','Error\x20trying\x20to\x20download\x20percy\x20binary','proxyPort','cwIFx','XbnTs','match','teYRt','EoIbI','readFileSync','OeIxE','lOjXr','SxOfy','createWriteStream','function','DKlRA','linux','HOMEDRIVE','agent','USERPROFILE','ovNVf','homedir','validateBinary','readEntry','statSync','GFXad','data','getuid','iqcOf','pqjVk','path','OzfWT','uadbD','phVCs','percy.exe','225593kbQfna','DuPVg','rRVeh','https-proxy-agent','test','join','IYOYn','host','Hjlhp','platform','length','fileName','useCaCertificate','kFjTX','1667514VETAOP','UvdPQ','bstmP','zbotu','percy','6276699XNOzBG','PXpdi','852651EodKYi','jWkkS','ZTVFN','/percy-linux.zip','XaJOG','nyoLy','DcAGB','download','30GwyqRO','mkdirSync','bliiy'];a65_0x7d81=function(){return _0x42014e;};return a65_0x7d81();}(function(_0x588ae2,_0x55d12d){const _0x488c8c=a65_0x44da,_0x247908=_0x588ae2();while(!![]){try{const _0x18d192=parseInt(_0x488c8c(0xdc))/0x1*(parseInt(_0x488c8c(0x12d))/0x2)+-parseInt(_0x488c8c(0xea))/0x3+parseInt(_0x488c8c(0x113))/0x4+parseInt(_0x488c8c(0x106))/0x5*(parseInt(_0x488c8c(0x103))/0x6)+-parseInt(_0x488c8c(0x10a))/0x7*(-parseInt(_0x488c8c(0xb4))/0x8)+parseInt(_0x488c8c(0xf1))/0x9*(parseInt(_0x488c8c(0xf9))/0xa)+-parseInt(_0x488c8c(0xef))/0xb;if(_0x18d192===_0x55d12d)break;else _0x247908['push'](_0x247908['shift']());}catch(_0x21878b){_0x247908['push'](_0x247908['shift']());}}}(a65_0x7d81,0xe7dc7));const {https}=require(a65_0xd5ed86(0x11b)),url=require('url'),yauzl=require(a65_0xd5ed86(0x110)),fs=require('fs'),path=require(a65_0xd5ed86(0xd7)),os=require('os'),{spawn}=require(a65_0xd5ed86(0x105)),HttpsProxyAgent=require(a65_0xd5ed86(0xdf)),logger=require('../logger')['winstonLogger'];class PercyBinary{#hostOS=process[a65_0xd5ed86(0xe5)];#httpPath=null;#binaryName=a65_0xd5ed86(0xee);#orderedPaths=[path[a65_0xd5ed86(0xe1)](this.#homedir(),'.browserstack'),process[a65_0xd5ed86(0xae)](),os[a65_0xd5ed86(0x101)]()];constructor(){const _0x1b50ca=a65_0xd5ed86,_0x4aa6b1={};_0x4aa6b1['GNEVi']=_0x1b50ca(0x10d),_0x4aa6b1['rVKmJ']=function(_0x2bba23,_0x1eab79){return _0x2bba23+_0x1eab79;},_0x4aa6b1[_0x1b50ca(0x11e)]=_0x1b50ca(0x115),_0x4aa6b1['KCGTn']=function(_0x409a66,_0x1e889d){return _0x409a66+_0x1e889d;},_0x4aa6b1[_0x1b50ca(0x11d)]=_0x1b50ca(0x125),_0x4aa6b1[_0x1b50ca(0xc0)]=_0x1b50ca(0xdb),_0x4aa6b1[_0x1b50ca(0x11a)]=_0x1b50ca(0xf4);const _0x410a74=_0x4aa6b1,_0x1d8925=_0x410a74[_0x1b50ca(0xfc)];if(this.#hostOS[_0x1b50ca(0xbf)](/darwin|mac os/i))this.#httpPath=_0x410a74[_0x1b50ca(0x127)](_0x1d8925,_0x410a74[_0x1b50ca(0x11e)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x410a74['KCGTn'](_0x1d8925,_0x410a74[_0x1b50ca(0x11d)]),this.#binaryName=_0x410a74[_0x1b50ca(0xc0)]):this.#httpPath=_0x410a74[_0x1b50ca(0x127)](_0x1d8925,_0x410a74[_0x1b50ca(0x11a)]);}#getAvailableDirs(){const _0x1fd156=a65_0xd5ed86,_0x596eca={};_0x596eca[_0x1fd156(0xe4)]=function(_0x4b8071,_0x2d430d){return _0x4b8071<_0x2d430d;},_0x596eca['Uebar']=_0x1fd156(0xbb);const _0x3120c1=_0x596eca;for(var _0x38f4e9=0x0;_0x3120c1['Hjlhp'](_0x38f4e9,this.#orderedPaths[_0x1fd156(0xe6)]);_0x38f4e9++){var _0x11eec0=this.#orderedPaths[_0x38f4e9];if(this.#makePath(_0x11eec0))return _0x11eec0;}throw new Error(_0x3120c1[_0x1fd156(0x10e)]);}#makePath(_0xc7f47f){const _0x433a4f=a65_0xd5ed86;try{return!this.#checkPath(_0xc7f47f)&&fs[_0x433a4f(0xfa)](_0xc7f47f),!![];}catch{return![];}}#checkPath(_0x1052e8,_0x456905){const _0x35e986=a65_0xd5ed86,_0x3f8519={};_0x3f8519['vqDLh']=function(_0x12aebf,_0x4556c8){return _0x12aebf|_0x4556c8;},_0x3f8519['XbnTs']=function(_0x5cfac9,_0xcd2605){return _0x5cfac9!==_0xcd2605;},_0x3f8519[_0x35e986(0x109)]='undefined';const _0xa26f02=_0x3f8519;_0x456905=_0x456905||_0xa26f02[_0x35e986(0x10b)](fs[_0x35e986(0x122)],fs['W_OK']);try{return fs[_0x35e986(0xab)](_0x1052e8,_0x456905),!![];}catch(_0x81091d){if(_0xa26f02[_0x35e986(0xbe)](typeof fs[_0x35e986(0xab)],_0xa26f02[_0x35e986(0x109)]))return![];try{return fs[_0x35e986(0xd1)](_0x1052e8),!![];}catch(_0x11fe0a){return![];}}}async['getBinaryPath'](_0x4838c1){const _0x318db6=a65_0xd5ed86,_0x1860f2={};_0x1860f2[_0x318db6(0xaa)]=_0x318db6(0x100);const _0x1b8cbf=_0x1860f2;var _0xc75c94=this.#getAvailableDirs(),_0x359ec5=path[_0x318db6(0xe1)](_0xc75c94,this.#binaryName);if(this.#checkPath(_0x359ec5,fs['X_OK']))return _0x359ec5;const _0x287739=await this[_0x318db6(0xf8)](_0x4838c1,_0xc75c94),_0x566d8d=await this[_0x318db6(0xcf)](_0x287739);if(!_0x566d8d)return logger[_0x318db6(0x12e)](_0x1b8cbf[_0x318db6(0xaa)]),await this[_0x318db6(0xf8)](_0x4838c1,_0xc75c94);return _0x287739;}async[a65_0xd5ed86(0xcf)](_0x6b5eb4){const _0x32499d=a65_0xd5ed86,_0x256372={'lOjXr':function(_0x1187a5,_0x2d975f){return _0x1187a5(_0x2d975f);},'tssJf':function(_0xc9bfd4,_0x47e940,_0x3f89ce){return _0xc9bfd4(_0x47e940,_0x3f89ce);},'vVNuU':'--version','UzViB':_0x32499d(0xd3),'XnFAp':_0x32499d(0xb6)},_0x1658f2=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x43298c,_0x1fbc57)=>{const _0x4ee4fa=_0x32499d,_0x17fe62={'eWdBE':function(_0x2bd194,_0x10e8c4){const _0x563b65=a65_0x44da;return _0x256372[_0x563b65(0xc4)](_0x2bd194,_0x10e8c4);}},_0x5bf612=_0x256372[_0x4ee4fa(0xac)](spawn,_0x6b5eb4,[_0x256372['vVNuU']]);_0x5bf612[_0x4ee4fa(0x128)]['on'](_0x256372[_0x4ee4fa(0xb8)],_0x5c8755=>{const _0x52f1b4=_0x4ee4fa;_0x1658f2[_0x52f1b4(0xe0)](_0x5c8755)&&_0x17fe62['eWdBE'](_0x43298c,!![]);}),_0x5bf612['on'](_0x256372[_0x4ee4fa(0x129)],()=>{_0x17fe62['eWdBE'](_0x43298c,![]);});});}[a65_0xd5ed86(0xf8)](_0x2fb084,_0x4d8c4f){const _0x40de76=a65_0xd5ed86,_0x589ae1={'cwIFx':'Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','ODGKY':function(_0x34bdc1,_0xf92c00){return _0x34bdc1(_0xf92c00);},'nyoLy':'Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','PtHNg':function(_0x45383a,_0x16823b){return _0x45383a(_0x16823b);},'CQtjK':function(_0x4679be,_0x4fc225){return _0x4679be===_0x4fc225;},'tRpiL':_0x40de76(0xff),'osipr':_0x40de76(0xb5),'SxOfy':_0x40de76(0x104),'pqjVk':_0x40de76(0x12e),'ZNFpd':'Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','PXpdi':_0x40de76(0xb6),'GFXad':function(_0x15927b,_0x38f5c8){return _0x15927b+_0x38f5c8;},'UvdPQ':_0x40de76(0xb3),'Vasex':'Percy\x20download\x20failed\x20to\x20read\x20cert\x20file'};!this.#checkPath(_0x4d8c4f)&&fs['mkdirSync'](_0x4d8c4f);const _0x482d44=this.#binaryName,_0x59db5c=path[_0x40de76(0xe1)](_0x4d8c4f,_0x589ae1[_0x40de76(0xd2)](_0x482d44,_0x589ae1[_0x40de76(0xeb)])),_0x5ba456=path[_0x40de76(0xe1)](_0x4d8c4f,_0x482d44),_0x512a7a=fs[_0x40de76(0xc6)](_0x59db5c),_0x4ad059=url['parse'](this.#httpPath);if(_0x2fb084[_0x40de76(0xb1)]&&_0x2fb084[_0x40de76(0xbc)]){const _0x4db27b={};_0x4db27b[_0x40de76(0xe3)]=_0x2fb084['proxyHost'],_0x4db27b[_0x40de76(0x118)]=_0x2fb084[_0x40de76(0xbc)],_0x4ad059[_0x40de76(0xcb)]=new HttpsProxyAgent(_0x4db27b);}if(_0x2fb084[_0x40de76(0xe8)])try{_0x4ad059['ca']=fs[_0x40de76(0xc2)](_0x2fb084[_0x40de76(0xe8)]);}catch(_0x3beddf){logger[_0x40de76(0x12e)](_0x589ae1['Vasex'],_0x3beddf);}return new Promise((_0x41291f,_0x1c4a47)=>{const _0x33ed6a=_0x40de76,_0x5eac51={'DcDgN':_0x589ae1[_0x33ed6a(0xf6)],'jWkkS':function(_0x182eb9,_0x47453d){return _0x589ae1['PtHNg'](_0x182eb9,_0x47453d);},'wFVzQ':function(_0x1e3b94,_0x265550){return _0x589ae1['CQtjK'](_0x1e3b94,_0x265550);},'ZTVFN':_0x589ae1[_0x33ed6a(0x12c)],'RVAjS':function(_0x30e61f,_0x2fc061){const _0x19c218=_0x33ed6a;return _0x589ae1[_0x19c218(0x112)](_0x30e61f,_0x2fc061);},'OeIxE':_0x589ae1[_0x33ed6a(0x102)],'LYpda':_0x589ae1[_0x33ed6a(0xc5)],'avoxT':_0x589ae1[_0x33ed6a(0xd6)],'WNCAd':_0x589ae1[_0x33ed6a(0x124)],'phVCs':_0x589ae1[_0x33ed6a(0xf0)]};https[_0x33ed6a(0x126)](_0x4ad059,function(_0x168d2f){const _0x222ab6=_0x33ed6a,_0xcf9253={'DKlRA':_0x5eac51[_0x222ab6(0xad)],'EgypF':function(_0x9707f9,_0xda479f){const _0x21ce32=_0x222ab6;return _0x5eac51[_0x21ce32(0x116)](_0x9707f9,_0xda479f);}};_0x168d2f[_0x222ab6(0xb0)](_0x512a7a),_0x168d2f['on'](_0x5eac51[_0x222ab6(0x119)],function(_0xd46858){const _0x3c513c=_0x222ab6;logger['error'](_0xcf9253[_0x3c513c(0xc8)],_0xd46858),_0xcf9253[_0x3c513c(0x10f)](_0x1c4a47,_0xd46858);}),_0x512a7a['on'](_0x5eac51['avoxT'],function(_0x2e8a94){const _0x158216=_0x222ab6;logger[_0x158216(0x12e)](_0x5eac51[_0x158216(0x11c)],_0x2e8a94),_0x5eac51[_0x158216(0xf2)](_0x1c4a47,_0x2e8a94);}),_0x512a7a['on'](_0x5eac51[_0x222ab6(0xda)],function(){const _0x13a474=_0x222ab6,_0xa6fac5={'NIUGs':function(_0x3e4ced,_0x11f4a5){const _0x32471a=a65_0x44da;return _0x5eac51[_0x32471a(0x11f)](_0x3e4ced,_0x11f4a5);},'jIuDP':function(_0x2d1936,_0x3775e6){const _0x5ec603=a65_0x44da;return _0x5eac51[_0x5ec603(0xf2)](_0x2d1936,_0x3775e6);},'bstmP':_0x5eac51[_0x13a474(0xf3)],'XaJOG':function(_0x240fe2,_0x5efdf6){const _0x33b8fc=_0x13a474;return _0x5eac51[_0x33b8fc(0xf2)](_0x240fe2,_0x5efdf6);},'VsDHF':function(_0x171808,_0x4a2bbb){const _0x50f744=_0x13a474;return _0x5eac51[_0x50f744(0x116)](_0x171808,_0x4a2bbb);},'DuPVg':_0x5eac51[_0x13a474(0xc3)],'LXzAK':_0x5eac51[_0x13a474(0xaf)],'kFjTX':_0x5eac51[_0x13a474(0x119)]},_0x4ec131={};_0x4ec131[_0x13a474(0x10c)]=!![],yauzl[_0x13a474(0x123)](_0x59db5c,_0x4ec131,function(_0x5c1240,_0x56e2a8){const _0x3b93a8=_0x13a474,_0xb79ec0={'AqSVn':function(_0xc75649,_0x264233){return _0xa6fac5['jIuDP'](_0xc75649,_0x264233);},'uadbD':_0xa6fac5[_0x3b93a8(0xec)],'kGcjw':function(_0x295389,_0x5a40ec){const _0x30b368=_0x3b93a8;return _0xa6fac5[_0x30b368(0xf5)](_0x295389,_0x5a40ec);},'zbotu':function(_0x3b1ca5,_0x39750a){const _0x52b2de=_0x3b93a8;return _0xa6fac5[_0x52b2de(0x12f)](_0x3b1ca5,_0x39750a);},'VLCbY':_0xa6fac5[_0x3b93a8(0xdd)]};_0x5c1240&&_0xa6fac5[_0x3b93a8(0xf5)](_0x1c4a47,_0x5c1240),_0x56e2a8['readEntry'](),_0x56e2a8['on'](_0xa6fac5['LXzAK'],_0x15ede4=>{const _0x4c72b7=_0x3b93a8;if(/\/$/[_0x4c72b7(0xe0)](_0x15ede4[_0x4c72b7(0xe7)]))_0x56e2a8[_0x4c72b7(0xd0)]();else{const _0x2ec75d=fs[_0x4c72b7(0xc6)](path['join'](_0x4d8c4f,_0x15ede4[_0x4c72b7(0xe7)]));_0x56e2a8['openReadStream'](_0x15ede4,function(_0x1d7ddd,_0x25c309){const _0x1e939a=_0x4c72b7;_0x1d7ddd&&_0xb79ec0[_0x1e939a(0x121)](_0x1c4a47,_0x5c1240),_0x25c309['on'](_0xb79ec0[_0x1e939a(0xd9)],function(){const _0x2d4ece=_0x1e939a;_0x2ec75d['close'](),_0x56e2a8[_0x2d4ece(0xd0)]();}),_0x25c309[_0x1e939a(0xb0)](_0x2ec75d);}),_0xa6fac5[_0x4c72b7(0x12a)](_0x15ede4['fileName'],_0x482d44)&&_0x56e2a8[_0x4c72b7(0xb6)]();}}),_0x56e2a8['on'](_0xa6fac5[_0x3b93a8(0xe9)],_0x23a77e=>{_0xb79ec0['kGcjw'](_0x1c4a47,_0x23a77e);}),_0x56e2a8['once'](_0xa6fac5[_0x3b93a8(0xec)],()=>{const _0x373905=_0x3b93a8;fs[_0x373905(0x111)](_0x5ba456,_0xb79ec0[_0x373905(0xb9)],function(_0x531791){const _0x44a3e4=_0x373905;_0x531791&&_0xb79ec0[_0x44a3e4(0xed)](_0x1c4a47,_0x531791),_0xb79ec0['zbotu'](_0x41291f,_0x5ba456);}),_0x56e2a8['close']();});});});})['on'](_0x589ae1[_0x33ed6a(0xd6)],function(_0xed999){const _0x4a3ffe=_0x33ed6a;logger[_0x4a3ffe(0x12e)](_0x589ae1[_0x4a3ffe(0xbd)],_0xed999),_0x589ae1['ODGKY'](_0x1c4a47,_0xed999);});});}#homedir(){const _0x280133=a65_0xd5ed86,_0x2ca977={};_0x2ca977[_0x280133(0x114)]=function(_0x31f58d,_0x2ea9c2){return _0x31f58d===_0x2ea9c2;},_0x2ca977[_0x280133(0x107)]=_0x280133(0xc7),_0x2ca977[_0x280133(0xcd)]=function(_0x5607a1,_0x5975ea){return _0x5607a1===_0x5975ea;},_0x2ca977[_0x280133(0xd8)]=_0x280133(0xfe),_0x2ca977[_0x280133(0xd5)]=function(_0x1a1414,_0x510a17){return _0x1a1414+_0x510a17;},_0x2ca977[_0x280133(0xfb)]=function(_0xed294d,_0x127222){return _0xed294d===_0x127222;},_0x2ca977[_0x280133(0x120)]='darwin',_0x2ca977['oKUWY']=_0x280133(0x117),_0x2ca977[_0x280133(0x12b)]=function(_0x1153ca,_0x56cab4){return _0x1153ca===_0x56cab4;},_0x2ca977[_0x280133(0xf7)]=_0x280133(0xc9),_0x2ca977[_0x280133(0xc1)]='/root',_0x2ca977[_0x280133(0xfd)]=function(_0x305ad7,_0xb45ed6){return _0x305ad7+_0xb45ed6;},_0x2ca977['rRVeh']='/home/',_0x2ca977[_0x280133(0xe2)]=function(_0x9f201c,_0x413fee){return _0x9f201c||_0x413fee;};const _0x4aaf02=_0x2ca977;if(_0x4aaf02[_0x280133(0x114)](typeof os[_0x280133(0xce)],_0x4aaf02[_0x280133(0x107)]))return os['homedir']();const _0x13dcfe=process['env'],_0x5e3d15=_0x13dcfe[_0x280133(0xb7)],_0x233179=_0x13dcfe[_0x280133(0xba)]||_0x13dcfe[_0x280133(0x108)]||_0x13dcfe['LNAME']||_0x13dcfe['USERNAME'];if(_0x4aaf02[_0x280133(0xcd)](process[_0x280133(0xe5)],_0x4aaf02[_0x280133(0xd8)]))return _0x13dcfe[_0x280133(0xcc)]||_0x4aaf02[_0x280133(0xd5)](_0x13dcfe[_0x280133(0xca)],_0x13dcfe['HOMEPATH'])||_0x5e3d15||null;if(_0x4aaf02[_0x280133(0xfb)](process[_0x280133(0xe5)],_0x4aaf02[_0x280133(0x120)]))return _0x5e3d15||(_0x233179?_0x4aaf02[_0x280133(0xd5)](_0x4aaf02[_0x280133(0xb2)],_0x233179):null);if(_0x4aaf02[_0x280133(0x12b)](process[_0x280133(0xe5)],_0x4aaf02[_0x280133(0xf7)]))return _0x5e3d15||(_0x4aaf02[_0x280133(0x12b)](process[_0x280133(0xd4)](),0x0)?_0x4aaf02['EoIbI']:_0x233179?_0x4aaf02['APvtL'](_0x4aaf02[_0x280133(0xde)],_0x233179):null);return _0x4aaf02[_0x280133(0xe2)](_0x5e3d15,null);}}module['exports']=PercyBinary;
1
+ const a65_0x1138d6=a65_0x3a5e;function a65_0x3a5e(_0x39ae8b,_0xe18eb4){const _0x2ac4b1=a65_0x2ac4();return a65_0x3a5e=function(_0x3a5e25,_0x32adb7){_0x3a5e25=_0x3a5e25-0x1c7;let _0x134414=_0x2ac4b1[_0x3a5e25];return _0x134414;},a65_0x3a5e(_0x39ae8b,_0xe18eb4);}function a65_0x2ac4(){const _0x62927b=['data','yOcaI','tMcPU','platform','AmXCL','dfhEV','/home/','lqdSx','FhkYn','win32','akPXM','XgKQL','parse','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','readEntry','180JMfPgp','hgbkV','open','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','XarLK','useCaCertificate','/Users/','mkdirSync','error','pipe','agent','openReadStream','/percy-osx.zip','R_OK','6WbXXkR','WzzYT','path','2936LSiNxj','rznLo','czIYv','uznqQ','0755','1460195vKUslk','myRXT','readFileSync','eQSXl','proxyPort','RhDZj','Kqyyt','getuid','10SlzzUp','function','lQpoF','15381pHkUxR','NYvng','tqdRo','vgoNC','YOwJx','/percy-linux.zip','jvpxk','FEMwv','jXgfo','validateBinary','yauzl','zhrBq','GPQaF','fileName','createWriteStream','follow-redirects','statSync','rKpMr','lKRmG','port','https-proxy-agent','ansJO','ROAxJ','ioTDa','end','MIjDJ','entry','ImQAN','accessSync','hsAdW','nbARu','close','lbbVB','xFRwR','length','gtdDg','1166052WbseKY','download','XcBZW','wYuKq','/root','dqWgt','Error\x20trying\x20to\x20download\x20percy\x20binary','cwd','3216143ryptxz','wnJCE','join','.zip','LjagZ','OdbOK','LNAME','JCVlq','uKgol','Huzmc','exports','oywlb','chmod','LOGNAME','percy','QtcVJ','proxyHost','Corrupt\x20percy\x20binary,\x20retrying','https://github.com/percy/cli/releases/latest/download','190mGpcpe','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','hidtP','YstXb','fmVZs','/percy-win.zip','obCMj','7664180HVwWnV','rnLCj','kqqpt','undefined','lOiLJ','lpdFn','HOME','test','5506ZQdoDC','tmpdir','287892KRdCZe','child_process','HrLJO','YoJSU','homedir','lazyEntries','match','../logger','yzcOI','USERNAME','uVyKB','rZeGA','get'];a65_0x2ac4=function(){return _0x62927b;};return a65_0x2ac4();}(function(_0x2e6606,_0x4855fa){const _0x48cc20=a65_0x3a5e,_0x44258c=_0x2e6606();while(!![]){try{const _0x5d48b1=parseInt(_0x48cc20(0x204))/0x1*(parseInt(_0x48cc20(0x1f5))/0x2)+-parseInt(_0x48cc20(0x230))/0x3*(-parseInt(_0x48cc20(0x206))/0x4)+parseInt(_0x48cc20(0x240))/0x5*(-parseInt(_0x48cc20(0x1da))/0x6)+-parseInt(_0x48cc20(0x1e2))/0x7+-parseInt(_0x48cc20(0x233))/0x8*(parseInt(_0x48cc20(0x243))/0x9)+-parseInt(_0x48cc20(0x1fc))/0xa+parseInt(_0x48cc20(0x238))/0xb*(parseInt(_0x48cc20(0x222))/0xc);if(_0x5d48b1===_0x4855fa)break;else _0x44258c['push'](_0x44258c['shift']());}catch(_0x4697a3){_0x44258c['push'](_0x44258c['shift']());}}}(a65_0x2ac4,0x65ab5));const {https}=require(a65_0x1138d6(0x252)),url=require('url'),yauzl=require(a65_0x1138d6(0x24d)),fs=require('fs'),path=require(a65_0x1138d6(0x232)),os=require('os'),{spawn}=require(a65_0x1138d6(0x207)),HttpsProxyAgent=require(a65_0x1138d6(0x1ca)),logger=require(a65_0x1138d6(0x20d))['winstonLogger'];class PercyBinary{#hostOS=process[a65_0x1138d6(0x216)];#httpPath=null;#binaryName=a65_0x1138d6(0x1f0);#orderedPaths=[path['join'](this.#homedir(),'.browserstack'),process[a65_0x1138d6(0x1e1)](),os[a65_0x1138d6(0x205)]()];constructor(){const _0x454766=a65_0x1138d6,_0x2cb70b={};_0x2cb70b['ansJO']=_0x454766(0x1f4),_0x2cb70b['jXgfo']=function(_0x483d95,_0x2de9e4){return _0x483d95+_0x2de9e4;},_0x2cb70b[_0x454766(0x215)]=_0x454766(0x22e),_0x2cb70b[_0x454766(0x1e9)]=_0x454766(0x1fa),_0x2cb70b[_0x454766(0x236)]='percy.exe',_0x2cb70b['nbARu']=function(_0x3b6c9a,_0x2b278b){return _0x3b6c9a+_0x2b278b;},_0x2cb70b[_0x454766(0x200)]=_0x454766(0x248);const _0x42b79c=_0x2cb70b,_0x395f15=_0x42b79c[_0x454766(0x1cb)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x42b79c['jXgfo'](_0x395f15,_0x42b79c['tMcPU']);else this.#hostOS[_0x454766(0x20c)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x42b79c[_0x454766(0x24b)](_0x395f15,_0x42b79c[_0x454766(0x1e9)]),this.#binaryName=_0x42b79c[_0x454766(0x236)]):this.#httpPath=_0x42b79c[_0x454766(0x1d4)](_0x395f15,_0x42b79c[_0x454766(0x200)]);}#getAvailableDirs(){const _0x5c6c9d=a65_0x1138d6,_0x5519c7={};_0x5519c7['QtcVJ']=function(_0x881a3f,_0x109aef){return _0x881a3f<_0x109aef;},_0x5519c7[_0x5c6c9d(0x218)]=_0x5c6c9d(0x1e0);const _0x399c00=_0x5519c7;for(var _0x11d079=0x0;_0x399c00[_0x5c6c9d(0x1f1)](_0x11d079,this.#orderedPaths[_0x5c6c9d(0x1d8)]);_0x11d079++){var _0x48bbfc=this.#orderedPaths[_0x11d079];if(this.#makePath(_0x48bbfc))return _0x48bbfc;}throw new Error(_0x399c00[_0x5c6c9d(0x218)]);}#makePath(_0x3fe105){const _0x722d00=a65_0x1138d6;try{return!this.#checkPath(_0x3fe105)&&fs[_0x722d00(0x229)](_0x3fe105),!![];}catch{return![];}}#checkPath(_0x41ce6e,_0xc350a5){const _0x3570eb=a65_0x1138d6,_0x1283ad={};_0x1283ad[_0x3570eb(0x1dc)]=function(_0x5899ea,_0x9fd856){return _0x5899ea|_0x9fd856;},_0x1283ad[_0x3570eb(0x201)]=function(_0x2eefc5,_0x1c3bd3){return _0x2eefc5!==_0x1c3bd3;},_0x1283ad[_0x3570eb(0x247)]=_0x3570eb(0x1ff);const _0x36ebac=_0x1283ad;_0xc350a5=_0xc350a5||_0x36ebac[_0x3570eb(0x1dc)](fs[_0x3570eb(0x22f)],fs['W_OK']);try{return fs['accessSync'](_0x41ce6e,_0xc350a5),!![];}catch(_0x21201f){if(_0x36ebac[_0x3570eb(0x201)](typeof fs[_0x3570eb(0x1d2)],_0x36ebac[_0x3570eb(0x247)]))return![];try{return fs[_0x3570eb(0x253)](_0x41ce6e),!![];}catch(_0xe777eb){return![];}}}async['getBinaryPath'](_0x1b8974){const _0x1faa69=a65_0x1138d6,_0x5c754c={};_0x5c754c[_0x1faa69(0x209)]=_0x1faa69(0x1f3);const _0x4ea543=_0x5c754c;var _0x42a655=this.#getAvailableDirs(),_0x232d86=path[_0x1faa69(0x1e4)](_0x42a655,this.#binaryName);if(this.#checkPath(_0x232d86,fs['X_OK']))return _0x232d86;const _0x4043e4=await this[_0x1faa69(0x1db)](_0x1b8974,_0x42a655),_0x4d13ef=await this[_0x1faa69(0x24c)](_0x4043e4);if(!_0x4d13ef)return logger[_0x1faa69(0x22a)](_0x4ea543[_0x1faa69(0x209)]),await this[_0x1faa69(0x1db)](_0x1b8974,_0x42a655);return _0x4043e4;}async['validateBinary'](_0x911b34){const _0x240a29=a65_0x1138d6,_0xeb8c36={'NuoDb':function(_0xe055e1,_0x4c95c0){return _0xe055e1(_0x4c95c0);},'AkluY':function(_0xa35736,_0x47098b,_0x21d4f3){return _0xa35736(_0x47098b,_0x21d4f3);},'lKRmG':'--version','Huzmc':_0x240a29(0x213),'FhkYn':_0x240a29(0x1d5)},_0x14bacd=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x5233a3,_0x16feaf)=>{const _0xf84ea7=_0x240a29,_0x607b3f={'akPXM':function(_0x5c58b5,_0x20c306){return _0xeb8c36['NuoDb'](_0x5c58b5,_0x20c306);}},_0x14e450=_0xeb8c36['AkluY'](spawn,_0x911b34,[_0xeb8c36[_0xf84ea7(0x1c8)]]);_0x14e450['stdout']['on'](_0xeb8c36[_0xf84ea7(0x1eb)],_0x47b8b9=>{const _0x22bf1e=_0xf84ea7;_0x14bacd[_0x22bf1e(0x203)](_0x47b8b9)&&_0x607b3f[_0x22bf1e(0x21d)](_0x5233a3,!![]);}),_0x14e450['on'](_0xeb8c36[_0xf84ea7(0x21b)],()=>{const _0x35bad4=_0xf84ea7;_0x607b3f[_0x35bad4(0x21d)](_0x5233a3,![]);});});}[a65_0x1138d6(0x1db)](_0xd9512b,_0x1f4a26){const _0x4bb7fc=a65_0x1138d6,_0x150e1f={'hsAdW':function(_0x21577f,_0x204cd4){return _0x21577f(_0x204cd4);},'rKpMr':_0x4bb7fc(0x225),'FEMwv':function(_0x24fdca,_0x46042c){return _0x24fdca(_0x46042c);},'KjpuD':_0x4bb7fc(0x220),'yzcOI':_0x4bb7fc(0x1ce),'sCSLD':function(_0x15b00e,_0x5e4fbb){return _0x15b00e===_0x5e4fbb;},'dqWgt':_0x4bb7fc(0x237),'AJiqf':_0x4bb7fc(0x1d0),'zhrBq':_0x4bb7fc(0x22a),'kqqpt':_0x4bb7fc(0x1d5),'ROAxJ':'Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','HmrIe':function(_0x310170,_0x220d5a){return _0x310170+_0x220d5a;},'hgbkV':_0x4bb7fc(0x1e5),'OdbOK':_0x4bb7fc(0x1f6)};!this.#checkPath(_0x1f4a26)&&fs[_0x4bb7fc(0x229)](_0x1f4a26);const _0x2e7f90=this.#binaryName,_0x58672=path[_0x4bb7fc(0x1e4)](_0x1f4a26,_0x150e1f['HmrIe'](_0x2e7f90,_0x150e1f[_0x4bb7fc(0x223)])),_0x1eb5aa=path['join'](_0x1f4a26,_0x2e7f90),_0x34b7df=fs[_0x4bb7fc(0x251)](_0x58672),_0x26f9c2=url[_0x4bb7fc(0x21f)](this.#httpPath);if(_0xd9512b[_0x4bb7fc(0x1f2)]&&_0xd9512b[_0x4bb7fc(0x23c)]){const _0x35f362={};_0x35f362['host']=_0xd9512b[_0x4bb7fc(0x1f2)],_0x35f362[_0x4bb7fc(0x1c9)]=_0xd9512b[_0x4bb7fc(0x23c)],_0x26f9c2[_0x4bb7fc(0x22c)]=new HttpsProxyAgent(_0x35f362);}if(_0xd9512b['useCaCertificate'])try{_0x26f9c2['ca']=fs[_0x4bb7fc(0x23a)](_0xd9512b[_0x4bb7fc(0x227)]);}catch(_0xe60e1c){logger[_0x4bb7fc(0x22a)](_0x150e1f[_0x4bb7fc(0x1e7)],_0xe60e1c);}return new Promise((_0x179f8c,_0x441530)=>{const _0x27483e=_0x4bb7fc,_0x5b1901={'hidtP':function(_0x3e0004,_0x5cff52){const _0x37e7c7=a65_0x3a5e;return _0x150e1f[_0x37e7c7(0x1d3)](_0x3e0004,_0x5cff52);},'yfpiz':_0x150e1f[_0x27483e(0x1c7)],'GPQaF':function(_0x3739fd,_0x1ca960){const _0x171ee0=_0x27483e;return _0x150e1f[_0x171ee0(0x24a)](_0x3739fd,_0x1ca960);},'lbbVB':_0x150e1f['KjpuD'],'rznLo':function(_0x2ff058,_0x4c9e8f){const _0x25c44e=_0x27483e;return _0x150e1f[_0x25c44e(0x1d3)](_0x2ff058,_0x4c9e8f);},'wYuKq':_0x150e1f[_0x27483e(0x20e)],'wpEwt':function(_0x5a6b51,_0x5345d1){return _0x150e1f['sCSLD'](_0x5a6b51,_0x5345d1);},'lqdSx':_0x150e1f[_0x27483e(0x1df)],'myRXT':_0x150e1f['AJiqf'],'wnJCE':_0x150e1f[_0x27483e(0x24e)],'aaBqf':_0x150e1f[_0x27483e(0x1fe)],'rZeGA':_0x150e1f[_0x27483e(0x1cc)]};https[_0x27483e(0x212)](_0x26f9c2,function(_0x42946b){const _0x27e0bd=_0x27483e,_0x5cfd9b={'rnLCj':_0x5b1901['yfpiz'],'YstXb':function(_0x5a6196,_0x553a6b){const _0xd13c47=a65_0x3a5e;return _0x5b1901[_0xd13c47(0x24f)](_0x5a6196,_0x553a6b);},'czIYv':_0x5b1901[_0x27e0bd(0x1d6)],'vgoNC':function(_0x554a7f,_0x4f0ee5){const _0x586245=_0x27e0bd;return _0x5b1901[_0x586245(0x234)](_0x554a7f,_0x4f0ee5);},'fmVZs':function(_0x40138c,_0x265af7){const _0x4557a6=_0x27e0bd;return _0x5b1901[_0x4557a6(0x234)](_0x40138c,_0x265af7);},'uKgol':_0x5b1901[_0x27e0bd(0x1dd)],'lQpoF':function(_0x53191e,_0x2c550e){return _0x5b1901['wpEwt'](_0x53191e,_0x2c550e);},'obCMj':_0x5b1901[_0x27e0bd(0x21a)],'jvpxk':_0x5b1901[_0x27e0bd(0x239)],'sSFwo':_0x5b1901[_0x27e0bd(0x1e3)]};_0x42946b[_0x27e0bd(0x22b)](_0x34b7df),_0x42946b['on'](_0x5b1901['wnJCE'],function(_0xc085e9){const _0x3afb8d=_0x27e0bd;logger['error'](_0x5cfd9b[_0x3afb8d(0x1fd)],_0xc085e9),_0x5cfd9b[_0x3afb8d(0x1f8)](_0x441530,_0xc085e9);}),_0x34b7df['on'](_0x5b1901['wnJCE'],function(_0x483c08){const _0x4aaf23=_0x27e0bd;logger[_0x4aaf23(0x22a)](_0x5cfd9b[_0x4aaf23(0x235)],_0x483c08),_0x5cfd9b[_0x4aaf23(0x246)](_0x441530,_0x483c08);}),_0x34b7df['on'](_0x5b1901['aaBqf'],function(){const _0x370d6f=_0x27e0bd,_0x31fc5e={'HrLJO':function(_0x454baa,_0x2cf932){const _0x428aa4=a65_0x3a5e;return _0x5b1901[_0x428aa4(0x1f7)](_0x454baa,_0x2cf932);}},_0x5dda9a={};_0x5dda9a[_0x370d6f(0x20b)]=!![],yauzl[_0x370d6f(0x224)](_0x58672,_0x5dda9a,function(_0xc76eb3,_0x26df27){const _0x371a5e=_0x370d6f,_0x38c5ea={'xFRwR':function(_0x2abcf8,_0x30b1ef){const _0x3f2ab0=a65_0x3a5e;return _0x5cfd9b[_0x3f2ab0(0x1f9)](_0x2abcf8,_0x30b1ef);},'eJhJW':_0x5cfd9b[_0x371a5e(0x1ea)],'MIjDJ':function(_0x29aea0,_0x80d539){const _0x46cb6c=_0x371a5e;return _0x5cfd9b[_0x46cb6c(0x242)](_0x29aea0,_0x80d539);},'RhDZj':function(_0x5d49d7,_0x28f880){const _0x21eb66=_0x371a5e;return _0x5cfd9b[_0x21eb66(0x246)](_0x5d49d7,_0x28f880);},'XgKQL':_0x5cfd9b[_0x371a5e(0x1fb)]};_0xc76eb3&&_0x5cfd9b[_0x371a5e(0x246)](_0x441530,_0xc76eb3),_0x26df27[_0x371a5e(0x221)](),_0x26df27['on'](_0x5cfd9b[_0x371a5e(0x249)],_0xecda84=>{const _0x565eb7=_0x371a5e,_0x33c47d={'JnWYL':function(_0x12e6f4,_0x7d9513){const _0x21adb8=a65_0x3a5e;return _0x38c5ea[_0x21adb8(0x1d7)](_0x12e6f4,_0x7d9513);},'LjagZ':_0x38c5ea['eJhJW']};if(/\/$/[_0x565eb7(0x203)](_0xecda84[_0x565eb7(0x250)]))_0x26df27['readEntry']();else{const _0x26c43f=fs[_0x565eb7(0x251)](path[_0x565eb7(0x1e4)](_0x1f4a26,_0xecda84['fileName']));_0x26df27[_0x565eb7(0x22d)](_0xecda84,function(_0x3e9a9c,_0x1cf13f){const _0x27b14f=_0x565eb7;_0x3e9a9c&&_0x33c47d['JnWYL'](_0x441530,_0xc76eb3),_0x1cf13f['on'](_0x33c47d[_0x27b14f(0x1e6)],function(){const _0x1cade7=_0x27b14f;_0x26c43f[_0x1cade7(0x1d5)](),_0x26df27['readEntry']();}),_0x1cf13f['pipe'](_0x26c43f);}),_0x38c5ea[_0x565eb7(0x1cf)](_0xecda84['fileName'],_0x2e7f90)&&_0x26df27[_0x565eb7(0x1d5)]();}}),_0x26df27['on'](_0x5cfd9b['sSFwo'],_0x24bd49=>{const _0x1a7751=_0x371a5e;_0x31fc5e[_0x1a7751(0x208)](_0x441530,_0x24bd49);}),_0x26df27['once'](_0x5cfd9b[_0x371a5e(0x1ea)],()=>{const _0x4b4af6=_0x371a5e;fs[_0x4b4af6(0x1ee)](_0x1eb5aa,_0x38c5ea[_0x4b4af6(0x21e)],function(_0x391e4b){const _0x3ade9a=_0x4b4af6;_0x391e4b&&_0x38c5ea['xFRwR'](_0x441530,_0x391e4b),_0x38c5ea[_0x3ade9a(0x23d)](_0x179f8c,_0x1eb5aa);}),_0x26df27['close']();});});});})['on'](_0x150e1f[_0x27483e(0x24e)],function(_0x329b38){const _0x310b93=_0x27483e;logger[_0x310b93(0x22a)](_0x5b1901[_0x310b93(0x211)],_0x329b38),_0x5b1901[_0x310b93(0x24f)](_0x441530,_0x329b38);});});}#homedir(){const _0x7ce473=a65_0x1138d6,_0x101611={};_0x101611[_0x7ce473(0x1ed)]=function(_0x47dc6a,_0x7f72e){return _0x47dc6a===_0x7f72e;},_0x101611['XarLK']=_0x7ce473(0x241),_0x101611[_0x7ce473(0x210)]=function(_0x1fe2d1,_0x4648e8){return _0x1fe2d1===_0x4648e8;},_0x101611[_0x7ce473(0x1d9)]=_0x7ce473(0x21c),_0x101611[_0x7ce473(0x23e)]=function(_0x6f0bd1,_0x57e752){return _0x6f0bd1+_0x57e752;},_0x101611[_0x7ce473(0x217)]=function(_0x1863ad,_0x6482c8){return _0x1863ad===_0x6482c8;},_0x101611[_0x7ce473(0x1cd)]='darwin',_0x101611['ImQAN']=function(_0x3de473,_0x3e19fb){return _0x3de473+_0x3e19fb;},_0x101611['WzzYT']=_0x7ce473(0x228),_0x101611[_0x7ce473(0x23b)]='linux',_0x101611[_0x7ce473(0x245)]=_0x7ce473(0x1de),_0x101611[_0x7ce473(0x244)]=_0x7ce473(0x219),_0x101611[_0x7ce473(0x214)]=function(_0x31bc2c,_0x50360c){return _0x31bc2c||_0x50360c;};const _0x3d54c2=_0x101611;if(_0x3d54c2[_0x7ce473(0x1ed)](typeof os[_0x7ce473(0x20a)],_0x3d54c2[_0x7ce473(0x226)]))return os[_0x7ce473(0x20a)]();const _0x4ac8a9=process['env'],_0xd2b50c=_0x4ac8a9[_0x7ce473(0x202)],_0x4eb29a=_0x4ac8a9[_0x7ce473(0x1ef)]||_0x4ac8a9['USER']||_0x4ac8a9[_0x7ce473(0x1e8)]||_0x4ac8a9[_0x7ce473(0x20f)];if(_0x3d54c2[_0x7ce473(0x210)](process['platform'],_0x3d54c2[_0x7ce473(0x1d9)]))return _0x4ac8a9['USERPROFILE']||_0x3d54c2[_0x7ce473(0x23e)](_0x4ac8a9['HOMEDRIVE'],_0x4ac8a9['HOMEPATH'])||_0xd2b50c||null;if(_0x3d54c2[_0x7ce473(0x217)](process[_0x7ce473(0x216)],_0x3d54c2[_0x7ce473(0x1cd)]))return _0xd2b50c||(_0x4eb29a?_0x3d54c2[_0x7ce473(0x1d1)](_0x3d54c2[_0x7ce473(0x231)],_0x4eb29a):null);if(_0x3d54c2[_0x7ce473(0x210)](process[_0x7ce473(0x216)],_0x3d54c2[_0x7ce473(0x23b)]))return _0xd2b50c||(_0x3d54c2[_0x7ce473(0x1ed)](process[_0x7ce473(0x23f)](),0x0)?_0x3d54c2['tqdRo']:_0x4eb29a?_0x3d54c2['ImQAN'](_0x3d54c2['NYvng'],_0x4eb29a):null);return _0x3d54c2[_0x7ce473(0x214)](_0xd2b50c,null);}}module[a65_0x1138d6(0x1ec)]=PercyBinary;
@@ -1 +1 @@
1
- var a66_0xb58c54=a66_0x40c5;function a66_0x40c5(_0x493614,_0xbb6f2f){var _0x26666c=a66_0x2666();return a66_0x40c5=function(_0x40c512,_0x24b100){_0x40c512=_0x40c512-0xda;var _0x24d64b=_0x26666c[_0x40c512];return _0x24d64b;},a66_0x40c5(_0x493614,_0xbb6f2f);}function a66_0x2666(){var _0x5dbed4=['370BtyZpI','exports','359338GGUvNK','102LkGSIQ','18735YApELU','6226011mUTWeL','140TAZiJP','130365ymbpFK','2617560maCRBb','679649UbkLHq','get','increment','32066530RYiZNF'];a66_0x2666=function(){return _0x5dbed4;};return a66_0x2666();}(function(_0x3fceee,_0xc82fd0){var _0x454787=a66_0x40c5,_0x280ccc=_0x3fceee();while(!![]){try{var _0x17703e=parseInt(_0x454787(0xe4))/0x1+-parseInt(_0x454787(0xdb))/0x2*(-parseInt(_0x454787(0xdf))/0x3)+parseInt(_0x454787(0xe1))/0x4*(parseInt(_0x454787(0xe2))/0x5)+-parseInt(_0x454787(0xde))/0x6*(-parseInt(_0x454787(0xdd))/0x7)+-parseInt(_0x454787(0xe3))/0x8+parseInt(_0x454787(0xe0))/0x9+-parseInt(_0x454787(0xda))/0xa;if(_0x17703e===_0xc82fd0)break;else _0x280ccc['push'](_0x280ccc['shift']());}catch(_0x3fd399){_0x280ccc['push'](_0x280ccc['shift']());}}}(a66_0x2666,0xbdf9a));class PercyCaptureMap{#map={};[a66_0xb58c54(0xe6)](_0x19f0b6,_0xaa79d4){!this.#map[_0x19f0b6]&&(this.#map[_0x19f0b6]={}),!this.#map[_0x19f0b6][_0xaa79d4]&&(this.#map[_0x19f0b6][_0xaa79d4]=0x0),this.#map[_0x19f0b6][_0xaa79d4]++;}['getName'](_0x1b42d8,_0x4d9bab){var _0x8193ae=a66_0xb58c54;return _0x1b42d8+'-'+_0x4d9bab+'-'+this[_0x8193ae(0xe5)](_0x1b42d8,_0x4d9bab);}[a66_0xb58c54(0xe5)](_0x3b2686,_0x2f7a2d){if(!this.#map[_0x3b2686])return 0x0;if(!this.#map[_0x3b2686][_0x2f7a2d])return 0x0;return this.#map[_0x3b2686][_0x2f7a2d];}}module[a66_0xb58c54(0xdc)]=PercyCaptureMap;
1
+ function a66_0x16b1(_0xeb6690,_0x558bd3){var _0x4978fe=a66_0x4978();return a66_0x16b1=function(_0x16b1b7,_0x515875){_0x16b1b7=_0x16b1b7-0x120;var _0x1b1429=_0x4978fe[_0x16b1b7];return _0x1b1429;},a66_0x16b1(_0xeb6690,_0x558bd3);}var a66_0x19d3ec=a66_0x16b1;(function(_0x56e50c,_0x151439){var _0x1bab28=a66_0x16b1,_0x479982=_0x56e50c();while(!![]){try{var _0x158cd2=parseInt(_0x1bab28(0x122))/0x1*(-parseInt(_0x1bab28(0x128))/0x2)+-parseInt(_0x1bab28(0x12c))/0x3*(-parseInt(_0x1bab28(0x12a))/0x4)+-parseInt(_0x1bab28(0x124))/0x5+parseInt(_0x1bab28(0x129))/0x6+parseInt(_0x1bab28(0x127))/0x7+-parseInt(_0x1bab28(0x125))/0x8*(-parseInt(_0x1bab28(0x12d))/0x9)+-parseInt(_0x1bab28(0x12b))/0xa;if(_0x158cd2===_0x151439)break;else _0x479982['push'](_0x479982['shift']());}catch(_0x2a5c03){_0x479982['push'](_0x479982['shift']());}}}(a66_0x4978,0xab849));class PercyCaptureMap{#map={};[a66_0x19d3ec(0x126)](_0x1facca,_0x308388){!this.#map[_0x1facca]&&(this.#map[_0x1facca]={}),!this.#map[_0x1facca][_0x308388]&&(this.#map[_0x1facca][_0x308388]=0x0),this.#map[_0x1facca][_0x308388]++;}[a66_0x19d3ec(0x121)](_0x1ce214,_0x4f577d){var _0x13ce56=a66_0x19d3ec;return _0x1ce214+'-'+_0x4f577d+'-'+this[_0x13ce56(0x123)](_0x1ce214,_0x4f577d);}[a66_0x19d3ec(0x123)](_0x3cb4f8,_0x3bcc82){if(!this.#map[_0x3cb4f8])return 0x0;if(!this.#map[_0x3cb4f8][_0x3bcc82])return 0x0;return this.#map[_0x3cb4f8][_0x3bcc82];}}function a66_0x4978(){var _0xf2951c=['getName','37snyarE','get','6862175MxCPJB','10283584pojQEf','increment','2040997SuRPnG','33954damtmJ','7682166tbbnmX','12ctFEkV','4198340sHAxDy','265575nVvewY','9OXmoul','exports'];a66_0x4978=function(){return _0xf2951c;};return a66_0x4978();}module[a66_0x19d3ec(0x120)]=PercyCaptureMap;
@@ -1 +1 @@
1
- var a67_0x35e027=a67_0x3748;function a67_0x3748(_0x464989,_0x28b6fb){var _0x4fea59=a67_0x4fea();return a67_0x3748=function(_0x374889,_0x547c95){_0x374889=_0x374889-0x111;var _0x3fa64b=_0x4fea59[_0x374889];return _0x3fa64b;},a67_0x3748(_0x464989,_0x28b6fb);}(function(_0x14c0e7,_0x50e3ce){var _0x34bbe9=a67_0x3748,_0xe09a04=_0x14c0e7();while(!![]){try{var _0x193be1=parseInt(_0x34bbe9(0x11f))/0x1*(parseInt(_0x34bbe9(0x11a))/0x2)+-parseInt(_0x34bbe9(0x11b))/0x3+parseInt(_0x34bbe9(0x115))/0x4+parseInt(_0x34bbe9(0x11c))/0x5+parseInt(_0x34bbe9(0x117))/0x6*(-parseInt(_0x34bbe9(0x111))/0x7)+-parseInt(_0x34bbe9(0x116))/0x8*(parseInt(_0x34bbe9(0x119))/0x9)+-parseInt(_0x34bbe9(0x11d))/0xa;if(_0x193be1===_0x50e3ce)break;else _0xe09a04['push'](_0xe09a04['shift']());}catch(_0x26b1cf){_0xe09a04['push'](_0xe09a04['shift']());}}}(a67_0x4fea,0x9148f));var a67_0x498f45={};a67_0x498f45[a67_0x35e027(0x114)]=[a67_0x35e027(0x113)],a67_0x498f45['element']=[a67_0x35e027(0x112),'sendKeys'];var a67_0xeeaa91={};function a67_0x4fea(){var _0x5b6432=['click','takeScreenshot','driver','4172772KFDGQW','236952rHwBPz','66mSAySo','auto','126RNQmCk','1426914rBSMAJ','714012RflXms','3247435rWEMta','7929270shZPOm','element','1ImAZNZ','screenshot','232561WePpSr'];a67_0x4fea=function(){return _0x5b6432;};return a67_0x4fea();}a67_0xeeaa91[a67_0x35e027(0x114)]=['takeScreenshot'];var a67_0x102399={};a67_0x102399[a67_0x35e027(0x11e)]=['click'];var a67_0x466edb={};a67_0x466edb[a67_0x35e027(0x118)]=a67_0x498f45,a67_0x466edb[a67_0x35e027(0x120)]=a67_0xeeaa91,a67_0x466edb[a67_0x35e027(0x112)]=a67_0x102399,a67_0x466edb['testcase']={},a67_0x466edb['manual']={},module['exports']=a67_0x466edb;
1
+ var a67_0x3c2333=a67_0x2d1d;function a67_0x2d1d(_0x831308,_0x1082ba){var _0x353a04=a67_0x353a();return a67_0x2d1d=function(_0x2d1dbf,_0x3ed016){_0x2d1dbf=_0x2d1dbf-0x1dc;var _0x5c3b59=_0x353a04[_0x2d1dbf];return _0x5c3b59;},a67_0x2d1d(_0x831308,_0x1082ba);}(function(_0x41cf23,_0x3f2b7b){var _0x247f24=a67_0x2d1d,_0x584161=_0x41cf23();while(!![]){try{var _0x565453=-parseInt(_0x247f24(0x1e6))/0x1+parseInt(_0x247f24(0x1de))/0x2*(-parseInt(_0x247f24(0x1e5))/0x3)+-parseInt(_0x247f24(0x1e8))/0x4*(parseInt(_0x247f24(0x1ee))/0x5)+-parseInt(_0x247f24(0x1ec))/0x6+parseInt(_0x247f24(0x1e1))/0x7+-parseInt(_0x247f24(0x1e0))/0x8*(parseInt(_0x247f24(0x1ea))/0x9)+parseInt(_0x247f24(0x1e7))/0xa*(parseInt(_0x247f24(0x1e4))/0xb);if(_0x565453===_0x3f2b7b)break;else _0x584161['push'](_0x584161['shift']());}catch(_0x6b237c){_0x584161['push'](_0x584161['shift']());}}}(a67_0x353a,0x3ec16));var a67_0x3174eb={};function a67_0x353a(){var _0x5c19cf=['365080TNCMtv','9850yAotsF','9952duEIKV','screenshot','704223aQXeuw','takeScreenshot','908406BKIUnF','auto','640tEgIRC','sendKeys','element','driver','194118mVydRk','testcase','16RTmHnv','2114322FnnUQJ','click','manual','14905kQfVQc','12wEXuwx'];a67_0x353a=function(){return _0x5c19cf;};return a67_0x353a();}a67_0x3174eb[a67_0x3c2333(0x1dd)]=[a67_0x3c2333(0x1eb)],a67_0x3174eb[a67_0x3c2333(0x1dc)]=[a67_0x3c2333(0x1e2),a67_0x3c2333(0x1ef)];var a67_0x4a7958={};a67_0x4a7958[a67_0x3c2333(0x1dd)]=['takeScreenshot'];var a67_0x129b85={};a67_0x129b85[a67_0x3c2333(0x1dc)]=[a67_0x3c2333(0x1e2)];var a67_0xae46dd={};a67_0xae46dd[a67_0x3c2333(0x1ed)]=a67_0x3174eb,a67_0xae46dd[a67_0x3c2333(0x1e9)]=a67_0x4a7958,a67_0xae46dd[a67_0x3c2333(0x1e2)]=a67_0x129b85,a67_0xae46dd[a67_0x3c2333(0x1df)]={},a67_0xae46dd[a67_0x3c2333(0x1e3)]={},module['exports']=a67_0xae46dd;
@@ -1 +1 @@
1
- const a68_0x25500b=a68_0x53f0;function a68_0x53f0(_0x1471bc,_0x1f009f){const _0x97b1a8=a68_0x97b1();return a68_0x53f0=function(_0x53f045,_0x2ead19){_0x53f045=_0x53f045-0x132;let _0x220071=_0x97b1a8[_0x53f045];return _0x220071;},a68_0x53f0(_0x1471bc,_0x1f009f);}(function(_0x32fe1f,_0x6e0854){const _0x3dc5c3=a68_0x53f0,_0x5d3a4e=_0x32fe1f();while(!![]){try{const _0x53934e=parseInt(_0x3dc5c3(0x155))/0x1*(-parseInt(_0x3dc5c3(0x153))/0x2)+-parseInt(_0x3dc5c3(0x146))/0x3+parseInt(_0x3dc5c3(0x140))/0x4*(parseInt(_0x3dc5c3(0x133))/0x5)+parseInt(_0x3dc5c3(0x137))/0x6*(-parseInt(_0x3dc5c3(0x13c))/0x7)+-parseInt(_0x3dc5c3(0x14a))/0x8+-parseInt(_0x3dc5c3(0x13f))/0x9*(parseInt(_0x3dc5c3(0x132))/0xa)+parseInt(_0x3dc5c3(0x135))/0xb;if(_0x53934e===_0x6e0854)break;else _0x5d3a4e['push'](_0x5d3a4e['shift']());}catch(_0x44b92c){_0x5d3a4e['push'](_0x5d3a4e['shift']());}}}(a68_0x97b1,0x46021));const tryRequire=function(_0x5a5cd8,_0x14ff27){const _0x4c8f1d=a68_0x53f0,_0x153612={'fqEuO':function(_0x388f1a,_0x1d5fc0){return _0x388f1a(_0x1d5fc0);}};try{return _0x153612[_0x4c8f1d(0x156)](require,_0x5a5cd8);}catch{return _0x14ff27;}},percySnapshot=tryRequire(a68_0x25500b(0x145),null),{percyScreenshot}=tryRequire(a68_0x25500b(0x145),{}),percyAppScreenshot=require(a68_0x25500b(0x149)),{getCurrentTestData}=require(a68_0x25500b(0x144)),PerformanceTester=require(a68_0x25500b(0x134)),logger=require('../logger')[a68_0x25500b(0x158)];percySnapshot&&(exports[a68_0x25500b(0x13d)]=async function(){const _0x550eb1=a68_0x25500b,_0x28e7bc={'DGTQZ':function(_0x5c2ae7,_0x392720){return _0x5c2ae7!==_0x392720;},'nzFxh':function(_0x1b0cb1,_0x45e980){return _0x1b0cb1>=_0x45e980;},'KsJTT':function(_0x4a996e){return _0x4a996e();},'iRvts':_0x550eb1(0x151)};if(global[_0x550eb1(0x143)]&&_0x28e7bc['DGTQZ'](global[_0x550eb1(0x143)],global[_0x550eb1(0x14e)]))return;const _0x1efc32=_0x28e7bc[_0x550eb1(0x141)](arguments['length'],0x2)?arguments[0x1]:'',_0x450d8f=_0x28e7bc[_0x550eb1(0x142)](getCurrentTestData),_0x57ccaf={};return _0x57ccaf[_0x550eb1(0x147)]=_0x1efc32,_0x57ccaf[_0x550eb1(0x14c)]=_0x450d8f[_0x550eb1(0x147)]||'',_0x57ccaf[_0x550eb1(0x154)]=_0x450d8f[_0x550eb1(0x152)]||'',_0x57ccaf[_0x550eb1(0x148)]=global[_0x550eb1(0x143)],await PerformanceTester[_0x550eb1(0x136)](_0x28e7bc[_0x550eb1(0x159)],()=>percySnapshot[_0x550eb1(0x13a)](null,arguments),_0x57ccaf);});function a68_0x97b1(){const _0x5e7ba4=['78966bDYqIv','11188EOKttV','nzFxh','KsJTT','browserstackPlatformIndex','../../helpers/testhub/utils','@percy/selenium-webdriver','1337706KgGAHp','name','platformIndex','@percy/appium-app','4169016kUqJHC','OqFcR','testCase','percy:screenshot','browserstackPercyBestPlatform','ydbvr','error','percy:snapshot','uuid','2fXYcyz','thTestCaseExecutionId','192191mZnmDk','fqEuO','MiwbJ','winstonLogger','iRvts','590suecUx','435XByLyi','../performance-tester','22157069WOxBcR','measure','587958KkPwwa','aBRmM','length','apply','kFxSI','21yQstMd','snapshot','screenshot'];a68_0x97b1=function(){return _0x5e7ba4;};return a68_0x97b1();}percyScreenshot?exports['screenshot']=async function(){const _0x29b242=a68_0x25500b,_0x522faf={'TsYbU':function(_0x39895d,_0x306bbf){return _0x39895d>=_0x306bbf;},'ViVJr':function(_0x162486){return _0x162486();},'kFxSI':_0x29b242(0x14d)},_0x91963f=_0x522faf['TsYbU'](arguments[_0x29b242(0x139)],0x2)?arguments[0x1]:'',_0x223939=_0x522faf['ViVJr'](getCurrentTestData),_0x8665d6={};return _0x8665d6[_0x29b242(0x147)]=_0x91963f,_0x8665d6[_0x29b242(0x14c)]=_0x223939[_0x29b242(0x147)]||'',_0x8665d6[_0x29b242(0x154)]=_0x223939[_0x29b242(0x152)]||'',_0x8665d6['platformIndex']=global[_0x29b242(0x143)],await PerformanceTester[_0x29b242(0x136)](_0x522faf[_0x29b242(0x13b)],()=>percyScreenshot[_0x29b242(0x13a)](null,arguments),_0x8665d6);}:exports[a68_0x25500b(0x13e)]=()=>{const _0x551d5a=a68_0x25500b,_0x502361={};_0x502361['aBRmM']='Unsupported\x20driver\x20for\x20percy';const _0x1bc43c=_0x502361;logger[_0x551d5a(0x150)](_0x1bc43c[_0x551d5a(0x138)]);};exports['screenshotApp']=async function(){const _0x42b31b=a68_0x25500b,_0x5d13cf={'ydbvr':function(_0x4edf9b,_0x270d25){return _0x4edf9b>=_0x270d25;},'MiwbJ':function(_0x19902d){return _0x19902d();},'OqFcR':'percy:screenshot-app'},_0x18ed9a=_0x5d13cf[_0x42b31b(0x14f)](arguments['length'],0x2)?arguments[0x1]:'',_0x36b566=_0x5d13cf[_0x42b31b(0x157)](getCurrentTestData),_0x31ebde={};return _0x31ebde[_0x42b31b(0x147)]=_0x18ed9a,_0x31ebde[_0x42b31b(0x14c)]=_0x36b566[_0x42b31b(0x147)]||'',_0x31ebde[_0x42b31b(0x154)]=_0x36b566[_0x42b31b(0x152)]||'',_0x31ebde[_0x42b31b(0x148)]=global[_0x42b31b(0x143)],await PerformanceTester[_0x42b31b(0x136)](_0x5d13cf[_0x42b31b(0x14b)],()=>percyAppScreenshot[_0x42b31b(0x13a)](null,arguments),_0x31ebde);};
1
+ const a68_0x4c2301=a68_0x4a8e;(function(_0x18b180,_0x2dc61d){const _0x58cebe=a68_0x4a8e,_0x44f48f=_0x18b180();while(!![]){try{const _0x1f8f6b=-parseInt(_0x58cebe(0xbd))/0x1+parseInt(_0x58cebe(0xad))/0x2*(parseInt(_0x58cebe(0xd3))/0x3)+-parseInt(_0x58cebe(0xb3))/0x4+-parseInt(_0x58cebe(0xb4))/0x5*(parseInt(_0x58cebe(0xaf))/0x6)+-parseInt(_0x58cebe(0xc7))/0x7*(-parseInt(_0x58cebe(0xd1))/0x8)+parseInt(_0x58cebe(0xd5))/0x9+parseInt(_0x58cebe(0xbf))/0xa;if(_0x1f8f6b===_0x2dc61d)break;else _0x44f48f['push'](_0x44f48f['shift']());}catch(_0x4fdf0c){_0x44f48f['push'](_0x44f48f['shift']());}}}(a68_0x2bd5,0x54f7c));const tryRequire=function(_0x222e96,_0x13b071){const _0x37c110=a68_0x4a8e,_0x26b882={'CJSzj':function(_0x450fde,_0x2acc33){return _0x450fde(_0x2acc33);}};try{return _0x26b882[_0x37c110(0xc2)](require,_0x222e96);}catch{return _0x13b071;}},percySnapshot=tryRequire(a68_0x4c2301(0xb8),null),{percyScreenshot}=tryRequire(a68_0x4c2301(0xb8),{}),percyAppScreenshot=require(a68_0x4c2301(0xc3)),{getCurrentTestData}=require(a68_0x4c2301(0xd6)),PerformanceTester=require('../performance-tester'),logger=require(a68_0x4c2301(0xae))[a68_0x4c2301(0xd2)];function a68_0x2bd5(){const _0x65417a=['pEUAT','dhSgx','name','PQXiv','length','7584INNiti','winstonLogger','1368369UNEjCZ','error','1236186NTtvbX','../../helpers/testhub/utils','2Eujpdu','../logger','6gLFETg','screenshotApp','BpYzp','testCase','1599140AyQrIq','2812045sShBew','snapshot','tfNgB','platformIndex','@percy/selenium-webdriver','qyvCd','uuid','HjnxD','thTestCaseExecutionId','644400TKMCpD','percy:screenshot-app','12056730AnfUGB','screenshot','percy:screenshot','CJSzj','@percy/appium-app','measure','uhNzb','browserstackPlatformIndex','1148FCvJtZ','uSpNP','apply','Unsupported\x20driver\x20for\x20percy','percy:snapshot'];a68_0x2bd5=function(){return _0x65417a;};return a68_0x2bd5();}percySnapshot&&(exports[a68_0x4c2301(0xb5)]=async function(){const _0xeba2b9=a68_0x4c2301,_0x314b99={'uSpNP':function(_0x2eaea3,_0x4e55e5){return _0x2eaea3!==_0x4e55e5;},'uhNzb':function(_0x4ef5b4,_0x568716){return _0x4ef5b4>=_0x568716;},'KGHjh':function(_0x44dd35){return _0x44dd35();},'pEUAT':_0xeba2b9(0xcb)};if(global['browserstackPlatformIndex']&&_0x314b99[_0xeba2b9(0xc8)](global['browserstackPlatformIndex'],global['browserstackPercyBestPlatform']))return;const _0x15720a=_0x314b99[_0xeba2b9(0xc5)](arguments[_0xeba2b9(0xd0)],0x2)?arguments[0x1]:'',_0x43468e=_0x314b99['KGHjh'](getCurrentTestData),_0x5e6b9e={};return _0x5e6b9e[_0xeba2b9(0xce)]=_0x15720a,_0x5e6b9e[_0xeba2b9(0xb2)]=_0x43468e[_0xeba2b9(0xce)]||'',_0x5e6b9e['thTestCaseExecutionId']=_0x43468e[_0xeba2b9(0xba)]||'',_0x5e6b9e[_0xeba2b9(0xb7)]=global[_0xeba2b9(0xc6)],await PerformanceTester[_0xeba2b9(0xc4)](_0x314b99[_0xeba2b9(0xcc)],()=>percySnapshot[_0xeba2b9(0xc9)](null,arguments),_0x5e6b9e);});function a68_0x4a8e(_0x342c5f,_0x1b9c4d){const _0x2bd5ee=a68_0x2bd5();return a68_0x4a8e=function(_0x4a8e37,_0x390f1a){_0x4a8e37=_0x4a8e37-0xad;let _0x5d449f=_0x2bd5ee[_0x4a8e37];return _0x5d449f;},a68_0x4a8e(_0x342c5f,_0x1b9c4d);}percyScreenshot?exports[a68_0x4c2301(0xc0)]=async function(){const _0x9a2c67=a68_0x4c2301,_0x383225={'tfNgB':function(_0x2af470,_0xc7ec3a){return _0x2af470>=_0xc7ec3a;},'YwifF':function(_0x40b026){return _0x40b026();},'qyvCd':_0x9a2c67(0xc1)},_0x4044e7=_0x383225[_0x9a2c67(0xb6)](arguments[_0x9a2c67(0xd0)],0x2)?arguments[0x1]:'',_0x42e2e4=_0x383225['YwifF'](getCurrentTestData),_0x515783={};return _0x515783[_0x9a2c67(0xce)]=_0x4044e7,_0x515783['testCase']=_0x42e2e4[_0x9a2c67(0xce)]||'',_0x515783[_0x9a2c67(0xbc)]=_0x42e2e4['uuid']||'',_0x515783[_0x9a2c67(0xb7)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](_0x383225[_0x9a2c67(0xb9)],()=>percyScreenshot[_0x9a2c67(0xc9)](null,arguments),_0x515783);}:exports[a68_0x4c2301(0xc0)]=()=>{const _0x30ce68=a68_0x4c2301,_0x3b2328={};_0x3b2328['PQXiv']=_0x30ce68(0xca);const _0x1c4e86=_0x3b2328;logger[_0x30ce68(0xd4)](_0x1c4e86[_0x30ce68(0xcf)]);};exports[a68_0x4c2301(0xb0)]=async function(){const _0x2e8a77=a68_0x4c2301,_0x474f58={'HjnxD':function(_0x515205,_0x181b7b){return _0x515205>=_0x181b7b;},'dhSgx':function(_0x2c47f7){return _0x2c47f7();},'BpYzp':_0x2e8a77(0xbe)},_0x34dbe8=_0x474f58[_0x2e8a77(0xbb)](arguments[_0x2e8a77(0xd0)],0x2)?arguments[0x1]:'',_0x40f988=_0x474f58[_0x2e8a77(0xcd)](getCurrentTestData),_0x5e247a={};return _0x5e247a[_0x2e8a77(0xce)]=_0x34dbe8,_0x5e247a[_0x2e8a77(0xb2)]=_0x40f988[_0x2e8a77(0xce)]||'',_0x5e247a[_0x2e8a77(0xbc)]=_0x40f988[_0x2e8a77(0xba)]||'',_0x5e247a[_0x2e8a77(0xb7)]=global[_0x2e8a77(0xc6)],await PerformanceTester[_0x2e8a77(0xc4)](_0x474f58[_0x2e8a77(0xb1)],()=>percyAppScreenshot[_0x2e8a77(0xc9)](null,arguments),_0x5e247a);};
@@ -1 +1 @@
1
- function a69_0x2d6f(){var _0x3aed39=['./Percy','81lUgbvr','433820gbimzb','363900BygpHT','3000756nTfeMg','820350SChRKe','396363BnVqca','exports','128gGqZkG','9214PIliyd','101381YCjbyI','50yynciH'];a69_0x2d6f=function(){return _0x3aed39;};return a69_0x2d6f();}function a69_0x1790(_0x351a1c,_0x3a94d0){var _0x2d6f37=a69_0x2d6f();return a69_0x1790=function(_0x17906d,_0x5bf67c){_0x17906d=_0x17906d-0x17d;var _0x189a64=_0x2d6f37[_0x17906d];return _0x189a64;},a69_0x1790(_0x351a1c,_0x3a94d0);}var a69_0x34fc01=a69_0x1790;(function(_0x262b29,_0x51eaae){var _0x3ced3c=a69_0x1790,_0x5d374a=_0x262b29();while(!![]){try{var _0x2df7a7=parseInt(_0x3ced3c(0x187))/0x1*(-parseInt(_0x3ced3c(0x185))/0x2)+parseInt(_0x3ced3c(0x182))/0x3+parseInt(_0x3ced3c(0x17f))/0x4+-parseInt(_0x3ced3c(0x17e))/0x5+-parseInt(_0x3ced3c(0x180))/0x6+-parseInt(_0x3ced3c(0x186))/0x7*(-parseInt(_0x3ced3c(0x184))/0x8)+-parseInt(_0x3ced3c(0x17d))/0x9*(-parseInt(_0x3ced3c(0x181))/0xa);if(_0x2df7a7===_0x51eaae)break;else _0x5d374a['push'](_0x5d374a['shift']());}catch(_0x34c3ad){_0x5d374a['push'](_0x5d374a['shift']());}}}(a69_0x2d6f,0x5bc5b),module[a69_0x34fc01(0x183)]=require(a69_0x34fc01(0x188)));
1
+ function a69_0x5001(_0x546497,_0x3d4b86){var _0x5d84ec=a69_0x5d84();return a69_0x5001=function(_0x500118,_0x1ffef6){_0x500118=_0x500118-0xa1;var _0x15f1bc=_0x5d84ec[_0x500118];return _0x15f1bc;},a69_0x5001(_0x546497,_0x3d4b86);}var a69_0x466a53=a69_0x5001;function a69_0x5d84(){var _0x5575f1=['442785jeQbNS','114716DttVBz','187211lqGlnb','13345DijKKs','2529621uQijlP','36ezCZXN','24IzkSUY','./Percy','312hfVIjr','2qCOKFX','972EiIwgM','2212111WImaJD','exports','3950510pUHPPo'];a69_0x5d84=function(){return _0x5575f1;};return a69_0x5d84();}(function(_0x29787c,_0x136aa4){var _0x3c84b9=a69_0x5001,_0x3b8e10=_0x29787c();while(!![]){try{var _0x349ed4=-parseInt(_0x3c84b9(0xa2))/0x1+parseInt(_0x3c84b9(0xa9))/0x2*(-parseInt(_0x3c84b9(0xae))/0x3)+parseInt(_0x3c84b9(0xaa))/0x4*(-parseInt(_0x3c84b9(0xa3))/0x5)+-parseInt(_0x3c84b9(0xa8))/0x6*(-parseInt(_0x3c84b9(0xa1))/0x7)+parseInt(_0x3c84b9(0xa6))/0x8*(parseInt(_0x3c84b9(0xa4))/0x9)+parseInt(_0x3c84b9(0xad))/0xa+-parseInt(_0x3c84b9(0xab))/0xb*(parseInt(_0x3c84b9(0xa5))/0xc);if(_0x349ed4===_0x136aa4)break;else _0x3b8e10['push'](_0x3b8e10['shift']());}catch(_0x3f6719){_0x3b8e10['push'](_0x3b8e10['shift']());}}}(a69_0x5d84,0x7afce),module[a69_0x466a53(0xac)]=require(a69_0x466a53(0xa7)));
@@ -1 +1 @@
1
- function a70_0x6d5f(){const _0x4da331=['browser','patchDriverPercy','startPercy','Error\x20patching\x20','stopPercy','getName','winstonLogger','manual','pDNLg','Stopping\x20percy','screenshot','809243kuaFpB','../helper','browserStackPercyOptions','1551848KkAYUV','KmAzo','isUndefined','6fLOugZ','reduce','nestedKeyValue','percyCaptureMode','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','./Percy','patch','edge','driver','apply','increment','RZTDe','180802REVFyJ','browserName','VinrZ','../logger','error','percyAutoCapture','./PercySDK','18PnRMda','browserstackPercyMap','browserstackSessionName','platforms','uhHls','element','4112735AnkVAM','debug','percy','prototype','3262532WFbvbb','toLowerCase','oFsgL','2145824jhJdem','start','QAfax','screenshotApp','measureWrapper','getDriver','../performance-tester','./PercyCaptureMap','app','getBestPlatformForPercySnapshot','percy:start','deviceName','browserstackPercyBestPlatform','SAFKD','11522892FLAdst','safari','Starting\x20percy','getPercyOptions','then','overrideXforPercy','PcRhB','init','MGsJI'];a70_0x6d5f=function(){return _0x4da331;};return a70_0x6d5f();}const a70_0x145369=a70_0x1188;(function(_0x386793,_0x14825d){const _0x4298b7=a70_0x1188,_0xaa150a=_0x386793();while(!![]){try{const _0x42c38d=parseInt(_0x4298b7(0x99))/0x1+-parseInt(_0x4298b7(0xab))/0x2+-parseInt(_0x4298b7(0x9f))/0x3*(parseInt(_0x4298b7(0x9c))/0x4)+-parseInt(_0x4298b7(0xb8))/0x5+parseInt(_0x4298b7(0xcd))/0x6+parseInt(_0x4298b7(0xbc))/0x7+-parseInt(_0x4298b7(0xbf))/0x8*(parseInt(_0x4298b7(0xb2))/0x9);if(_0x42c38d===_0x14825d)break;else _0xaa150a['push'](_0xaa150a['shift']());}catch(_0x7c4a72){_0xaa150a['push'](_0xaa150a['shift']());}}}(a70_0x6d5f,0xecee9));function a70_0x1188(_0x32e14e,_0xb5e8d8){const _0x6d5fb5=a70_0x6d5f();return a70_0x1188=function(_0x1188e4,_0x31e553){_0x1188e4=_0x1188e4-0x8e;let _0x48876d=_0x6d5fb5[_0x1188e4];return _0x48876d;},a70_0x1188(_0x32e14e,_0xb5e8d8);}const Percy=require(a70_0x145369(0xa4)),PercySDK=require(a70_0x145369(0xb1)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a70_0x145369(0xc6)),logger=require(a70_0x145369(0xae))[a70_0x145369(0x94)],helper=require(a70_0x145369(0x9a)),PerformanceTester=require(a70_0x145369(0xc5));exports[a70_0x145369(0x90)]=PerformanceTester['measureWrapper'](a70_0x145369(0xc9),async _0x4b68fc=>{const _0x3638f3=a70_0x145369,_0x1239ae={};_0x1239ae[_0x3638f3(0xd5)]=_0x3638f3(0xcf);const _0xe1c3a3=_0x1239ae;logger['debug'](_0xe1c3a3[_0x3638f3(0xd5)]);const _0x429fa1=new Percy(_0x4b68fc),_0x5376a1=await _0x429fa1[_0x3638f3(0xc0)]();if(_0x5376a1)return _0x429fa1;return null;}),exports[a70_0x145369(0x92)]=PerformanceTester[a70_0x145369(0xc3)]('percy:stop',async _0x43b65e=>{const _0x3ecfa6=a70_0x145369,_0x783740={};_0x783740[_0x3ecfa6(0xb6)]=_0x3ecfa6(0x97);const _0x1f9261=_0x783740;return logger[_0x3ecfa6(0xb9)](_0x1f9261['uhHls']),_0x43b65e['stop']();}),exports[a70_0x145369(0xc8)]=_0x900a54=>{const _0x2ed0a1=a70_0x145369,_0x59234c={};_0x59234c[_0x2ed0a1(0xbe)]=function(_0xb609fa,_0x4edc36){return _0xb609fa<_0x4edc36;};const _0x9f947b=_0x59234c,_0x41ce08={};_0x41ce08['chrome']=0x0,_0x41ce08['firefox']=0x1,_0x41ce08[_0x2ed0a1(0xa6)]=0x2,_0x41ce08[_0x2ed0a1(0xce)]=0x3;const _0x24b796=_0x41ce08;return _0x900a54[_0x2ed0a1(0xa0)]((_0x62a1ea,_0x1438e7,_0xb4b1e8)=>{const _0x1294fa=_0x2ed0a1,_0x354f0c=_0x900a54[_0x62a1ea];if(_0x1438e7[_0x1294fa(0xca)])return _0x62a1ea;if(_0x354f0c[_0x1294fa(0xca)])return _0xb4b1e8;const _0x21a207=_0x1438e7[_0x1294fa(0x8e)]?_0x1438e7['browser']:_0x1438e7[_0x1294fa(0xac)];if(_0x21a207&&_0x9f947b[_0x1294fa(0xbe)](_0x24b796[_0x21a207[_0x1294fa(0xbd)]()],_0x24b796[_0x21a207[_0x1294fa(0xbd)]()]))return _0xb4b1e8;return _0x62a1ea;},0x0);},exports['percyAutoCapture']=async(_0x1fba47,_0x202928,_0xb18b18)=>{const _0xc58a21=a70_0x145369,_0x49beea={};_0x49beea[_0xc58a21(0xaa)]=_0xc58a21(0xa3);const _0x464541=_0x49beea,_0xc0af55=_0x1fba47['browserstackPercyMap'];if(helper[_0xc58a21(0x9e)](_0x1fba47[_0xc58a21(0xb4)])){logger[_0xc58a21(0xb9)](_0x464541[_0xc58a21(0xaa)]);return;}const _0x227345=_0xc0af55[_0xc58a21(0x93)](_0x1fba47[_0xc58a21(0xb4)],_0x202928);_0xb18b18[_0xc58a21(0xc7)]?await PercySDK[_0xc58a21(0xc2)](_0x1fba47,_0x227345):await PercySDK[_0xc58a21(0x98)](_0x1fba47,_0x227345),_0xc0af55[_0xc58a21(0xa9)](_0x1fba47[_0xc58a21(0xb4)],_0x202928);},exports[a70_0x145369(0x8f)]=(_0xd520fa,_0x16b5f3,_0x26cfa2)=>{const _0x6f9aad=a70_0x145369,_0x1fc538={};_0x1fc538['QAfax']=_0x6f9aad(0x9b),_0x1fc538[_0x6f9aad(0xcc)]=_0x6f9aad(0xba),_0x1fc538[_0x6f9aad(0xad)]=function(_0x3f1142,_0x35f4a5){return _0x3f1142!==_0x35f4a5;},_0x1fc538['KmAzo']=_0x6f9aad(0x95);const _0x2490dd=_0x1fc538;if(!helper[_0x6f9aad(0xa1)](_0x26cfa2,[_0x2490dd[_0x6f9aad(0xc1)],_0x2490dd[_0x6f9aad(0xcc)]]))return;if(_0x26cfa2[_0x6f9aad(0x9b)][_0x6f9aad(0xba)]&&_0x26cfa2[_0x6f9aad(0x9b)][_0x6f9aad(0xa2)]&&_0x2490dd[_0x6f9aad(0xad)](_0x26cfa2[_0x6f9aad(0x9b)]['percyCaptureMode'],_0x2490dd[_0x6f9aad(0x9d)])&&!_0xd520fa[_0x6f9aad(0xb3)]){global[_0x6f9aad(0xb4)]&&(_0xd520fa[_0x6f9aad(0xb4)]=global[_0x6f9aad(0xb4)]),_0xd520fa['browserstackPercyMap']=new PercyCaptureMap();const _0x5080ca=PercyCaptureModes[_0x26cfa2[_0x6f9aad(0x9b)][_0x6f9aad(0xa2)]];_0x5080ca[_0x6f9aad(0xa7)]&&_0x5080ca[_0x6f9aad(0xa7)]['forEach'](_0x5377d7=>this[_0x6f9aad(0xd2)](_0xd520fa,_0x5377d7,_0x26cfa2)),_0x5080ca['element']&&_0x5080ca[_0x6f9aad(0xb7)]['forEach'](_0x1d7a55=>{const _0xd51a32=_0x6f9aad;if(_0x16b5f3[_0xd51a32(0xbb)][_0xd51a32(0xa5)+_0x1d7a55])return;_0x16b5f3[_0xd51a32(0xbb)][_0xd51a32(0xa5)+_0x1d7a55]=!![];const _0xea0d6f=_0x16b5f3[_0xd51a32(0xbb)][_0x1d7a55];_0x16b5f3['prototype'][_0x1d7a55]=async function(){const _0xe23e6f=_0xd51a32;let _0x19d629=_0xea0d6f[_0xe23e6f(0xa8)](this,arguments);_0x19d629&&_0x19d629[_0xe23e6f(0xd1)]&&(_0x19d629=await _0x19d629);try{const _0xd91369=this[_0xe23e6f(0xc4)]();await exports[_0xe23e6f(0xb0)](_0xd91369,_0x1d7a55,_0x26cfa2);}catch(_0x3fc087){logger[_0xe23e6f(0xaf)](_0xe23e6f(0x91)+_0x1d7a55+'\x20for\x20percy\x20'+_0x3fc087);}return _0x19d629;};});}},exports[a70_0x145369(0xd2)]=function(_0x4225c8,_0x5aebad,_0x447002){const _0x466895=a70_0x145369,_0x533ec5={};_0x533ec5['KizbO']=function(_0x4fceae,_0x56e596){return _0x4fceae+_0x56e596;},_0x533ec5[_0x466895(0x96)]=_0x466895(0xa5),_0x533ec5[_0x466895(0xd3)]=function(_0x3a926f,_0x2f57db){return _0x3a926f+_0x2f57db;},_0x533ec5['XqVOy']=_0x466895(0xd4);const _0x4b7c1e=_0x533ec5,_0x39ceb5=_0x4b7c1e['KizbO'](_0x4b7c1e[_0x466895(0x96)],_0x5aebad),_0x29a927=_0x4b7c1e[_0x466895(0xd3)](_0x4b7c1e['XqVOy'],_0x5aebad),_0x2fa057=this;if(_0x4225c8[_0x39ceb5]||!_0x4225c8[_0x5aebad])return;_0x4225c8[_0x39ceb5]=!![],_0x4225c8[_0x29a927]=_0x4225c8[_0x5aebad],_0x4225c8[_0x5aebad]=async()=>{const _0xcbd47=_0x466895;try{await _0x2fa057[_0xcbd47(0xb0)](_0x4225c8,_0x5aebad,_0x447002);}catch(_0x4e69ca){logger[_0xcbd47(0xaf)](_0xcbd47(0x91)+_0x5aebad+'\x20for\x20percy\x20'+_0x4e69ca);}return await _0x4225c8[_0x29a927][_0xcbd47(0xa8)](_0x4225c8,arguments);};},exports[a70_0x145369(0xd0)]=_0x36d079=>{const _0x17cd98=a70_0x145369,_0x3877b9={};_0x3877b9[_0x17cd98(0xba)]=_0x36d079[_0x17cd98(0xba)],_0x3877b9[_0x17cd98(0xa2)]=_0x36d079['percyCaptureMode'];const _0x177f47=_0x3877b9;_0x36d079[_0x17cd98(0xba)]&&(_0x177f47[_0x17cd98(0xcb)]=exports[_0x17cd98(0xc8)](_0x36d079[_0x17cd98(0xb5)]));;return _0x177f47;};
1
+ function a70_0x4813(){const _0x31b2c3=['cDTKc','vKYII','chrome','38292zRYjUm','Error\x20patching\x20','browser','getDriver','browserStackPercyOptions','./PercySDK','./PercyCaptureModes','debug','Starting\x20percy','screenshotApp','3pIMLQR','YXLgg','browserstackSessionName','ZRyeK','10476370reWERd','nestedKeyValue','deviceName','element','forEach','screenshot','percy:start','sUUay','patch','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','nAEhu','driver','overrideXforPercy','app','percyCaptureMode','getBestPlatformForPercySnapshot','percy:stop','prototype','increment','1244746fwsmVC','browserName','2723ZpMIub','2217534cqLqyw','stopPercy','percyAutoCapture','315QONfGG','2115952XEmBGL','reduce','error','../performance-tester','sPVbY','then','13343679BsFfes','platforms','getName','manual','edge','FSUqI','apply','percy','start','./Percy','QmPyP','Ztdmo','bAeHZ','../helper','isUndefined','\x20for\x20percy\x20','toLowerCase','init','browserstackPercyMap','3096wzGBYV','firefox','measureWrapper','safari'];a70_0x4813=function(){return _0x31b2c3;};return a70_0x4813();}const a70_0x154028=a70_0x53cf;(function(_0x470634,_0x193d9){const _0x29b275=a70_0x53cf,_0x149f53=_0x470634();while(!![]){try{const _0x400341=parseInt(_0x29b275(0x12d))/0x1+parseInt(_0x29b275(0x134))/0x2*(parseInt(_0x29b275(0x116))/0x3)+parseInt(_0x29b275(0x10c))/0x4*(-parseInt(_0x29b275(0x133))/0x5)+-parseInt(_0x29b275(0x130))/0x6+-parseInt(_0x29b275(0x12f))/0x7*(parseInt(_0x29b275(0x105))/0x8)+-parseInt(_0x29b275(0xf2))/0x9+parseInt(_0x29b275(0x11a))/0xa;if(_0x400341===_0x193d9)break;else _0x149f53['push'](_0x149f53['shift']());}catch(_0x1ce252){_0x149f53['push'](_0x149f53['shift']());}}}(a70_0x4813,0xb5c31));function a70_0x53cf(_0x30e449,_0x2c2a0c){const _0x4813c9=a70_0x4813();return a70_0x53cf=function(_0x53cfef,_0x5196d9){_0x53cfef=_0x53cfef-0xee;let _0x42510c=_0x4813c9[_0x53cfef];return _0x42510c;},a70_0x53cf(_0x30e449,_0x2c2a0c);}const Percy=require(a70_0x154028(0xfb)),PercySDK=require(a70_0x154028(0x111)),PercyCaptureModes=require(a70_0x154028(0x112)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require('../logger')['winstonLogger'],helper=require(a70_0x154028(0xff)),PerformanceTester=require(a70_0x154028(0xef));exports['startPercy']=PerformanceTester['measureWrapper'](a70_0x154028(0x120),async _0x289ef1=>{const _0x28d185=a70_0x154028,_0x4cfabe={};_0x4cfabe[_0x28d185(0x109)]=_0x28d185(0x114);const _0xc41238=_0x4cfabe;logger[_0x28d185(0x113)](_0xc41238[_0x28d185(0x109)]);const _0x481671=new Percy(_0x289ef1),_0x38b361=await _0x481671[_0x28d185(0xfa)]();if(_0x38b361)return _0x481671;return null;}),exports[a70_0x154028(0x131)]=PerformanceTester[a70_0x154028(0x107)](a70_0x154028(0x12a),async _0x97667c=>{const _0x20aea8=a70_0x154028,_0xf185c4={};_0xf185c4[_0x20aea8(0x10a)]='Stopping\x20percy';const _0x85b07a=_0xf185c4;return logger[_0x20aea8(0x113)](_0x85b07a[_0x20aea8(0x10a)]),_0x97667c['stop']();}),exports[a70_0x154028(0x129)]=_0x30dccc=>{const _0x4367cb=a70_0x154028,_0x2aa53b={};_0x2aa53b[_0x4367cb(0xfe)]=function(_0x20ffcf,_0x56cdab){return _0x20ffcf<_0x56cdab;};const _0x5a4983=_0x2aa53b,_0x2f50b8={};_0x2f50b8[_0x4367cb(0x10b)]=0x0,_0x2f50b8[_0x4367cb(0x106)]=0x1,_0x2f50b8[_0x4367cb(0xf6)]=0x2,_0x2f50b8[_0x4367cb(0x108)]=0x3;const _0x2dac13=_0x2f50b8;return _0x30dccc[_0x4367cb(0x135)]((_0x1039b0,_0x931afa,_0x5eda4e)=>{const _0xf9709c=_0x4367cb,_0x356651=_0x30dccc[_0x1039b0];if(_0x931afa[_0xf9709c(0x11c)])return _0x1039b0;if(_0x356651[_0xf9709c(0x11c)])return _0x5eda4e;const _0x481a2f=_0x931afa[_0xf9709c(0x10e)]?_0x931afa['browser']:_0x931afa[_0xf9709c(0x12e)];if(_0x481a2f&&_0x5a4983['bAeHZ'](_0x2dac13[_0x481a2f[_0xf9709c(0x102)]()],_0x2dac13[_0x481a2f[_0xf9709c(0x102)]()]))return _0x5eda4e;return _0x1039b0;},0x0);},exports[a70_0x154028(0x132)]=async(_0x791a6c,_0x119df7,_0x3a6d54)=>{const _0x320fa2=a70_0x154028,_0x31ff52={};_0x31ff52[_0x320fa2(0x121)]=_0x320fa2(0x123);const _0x2a3c1=_0x31ff52,_0xa3527a=_0x791a6c[_0x320fa2(0x104)];if(helper[_0x320fa2(0x100)](_0x791a6c[_0x320fa2(0x118)])){logger[_0x320fa2(0x113)](_0x2a3c1[_0x320fa2(0x121)]);return;}const _0x2de0cd=_0xa3527a[_0x320fa2(0xf4)](_0x791a6c[_0x320fa2(0x118)],_0x119df7);_0x3a6d54[_0x320fa2(0x127)]?await PercySDK[_0x320fa2(0x115)](_0x791a6c,_0x2de0cd):await PercySDK[_0x320fa2(0x11f)](_0x791a6c,_0x2de0cd),_0xa3527a[_0x320fa2(0x12c)](_0x791a6c[_0x320fa2(0x118)],_0x119df7);},exports['patchDriverPercy']=(_0x4f4cf0,_0x4b4bb3,_0x55e6d2)=>{const _0x5bd994=a70_0x154028,_0xa65213={};_0xa65213['YXLgg']='browserStackPercyOptions',_0xa65213[_0x5bd994(0x124)]=_0x5bd994(0xf9),_0xa65213[_0x5bd994(0x119)]=function(_0xf4352b,_0x137d87){return _0xf4352b!==_0x137d87;},_0xa65213[_0x5bd994(0xfc)]=_0x5bd994(0xf5);const _0x24947e=_0xa65213;if(!helper[_0x5bd994(0x11b)](_0x55e6d2,[_0x24947e[_0x5bd994(0x117)],_0x24947e[_0x5bd994(0x124)]]))return;if(_0x55e6d2[_0x5bd994(0x110)]['percy']&&_0x55e6d2[_0x5bd994(0x110)][_0x5bd994(0x128)]&&_0x24947e['ZRyeK'](_0x55e6d2[_0x5bd994(0x110)][_0x5bd994(0x128)],_0x24947e[_0x5bd994(0xfc)])&&!_0x4f4cf0[_0x5bd994(0x104)]){global[_0x5bd994(0x118)]&&(_0x4f4cf0[_0x5bd994(0x118)]=global[_0x5bd994(0x118)]),_0x4f4cf0['browserstackPercyMap']=new PercyCaptureMap();const _0x161550=PercyCaptureModes[_0x55e6d2[_0x5bd994(0x110)]['percyCaptureMode']];_0x161550[_0x5bd994(0x125)]&&_0x161550['driver'][_0x5bd994(0x11e)](_0x2c7aaa=>this[_0x5bd994(0x126)](_0x4f4cf0,_0x2c7aaa,_0x55e6d2)),_0x161550[_0x5bd994(0x11d)]&&_0x161550['element'][_0x5bd994(0x11e)](_0x53e8fb=>{const _0x16d129=_0x5bd994;if(_0x4b4bb3[_0x16d129(0x12b)][_0x16d129(0x122)+_0x53e8fb])return;_0x4b4bb3[_0x16d129(0x12b)][_0x16d129(0x122)+_0x53e8fb]=!![];const _0x279b0c=_0x4b4bb3['prototype'][_0x53e8fb];_0x4b4bb3['prototype'][_0x53e8fb]=async function(){const _0x4acc0d=_0x16d129;let _0x3d43e7=_0x279b0c[_0x4acc0d(0xf8)](this,arguments);_0x3d43e7&&_0x3d43e7[_0x4acc0d(0xf1)]&&(_0x3d43e7=await _0x3d43e7);try{const _0x5ef3ce=this[_0x4acc0d(0x10f)]();await exports['percyAutoCapture'](_0x5ef3ce,_0x53e8fb,_0x55e6d2);}catch(_0x30dc04){logger['error'](_0x4acc0d(0x10d)+_0x53e8fb+_0x4acc0d(0x101)+_0x30dc04);}return _0x3d43e7;};});}},exports[a70_0x154028(0x126)]=function(_0x39b03a,_0x27d0bb,_0x1fbd8e){const _0x5ed88d=a70_0x154028,_0x27bc04={};_0x27bc04[_0x5ed88d(0xf7)]=function(_0x4a47f7,_0x18d214){return _0x4a47f7+_0x18d214;},_0x27bc04[_0x5ed88d(0xfd)]=_0x5ed88d(0x122),_0x27bc04[_0x5ed88d(0xf0)]=_0x5ed88d(0x103);const _0x31779b=_0x27bc04,_0x4de71b=_0x31779b[_0x5ed88d(0xf7)](_0x31779b[_0x5ed88d(0xfd)],_0x27d0bb),_0x41ad67=_0x31779b['FSUqI'](_0x31779b[_0x5ed88d(0xf0)],_0x27d0bb),_0x41be02=this;if(_0x39b03a[_0x4de71b]||!_0x39b03a[_0x27d0bb])return;_0x39b03a[_0x4de71b]=!![],_0x39b03a[_0x41ad67]=_0x39b03a[_0x27d0bb],_0x39b03a[_0x27d0bb]=async()=>{const _0x5333e2=_0x5ed88d;try{await _0x41be02['percyAutoCapture'](_0x39b03a,_0x27d0bb,_0x1fbd8e);}catch(_0x568c34){logger[_0x5333e2(0xee)](_0x5333e2(0x10d)+_0x27d0bb+_0x5333e2(0x101)+_0x568c34);}return await _0x39b03a[_0x41ad67][_0x5333e2(0xf8)](_0x39b03a,arguments);};},exports['getPercyOptions']=_0x4e064b=>{const _0x31d170=a70_0x154028,_0xb1470b={};_0xb1470b[_0x31d170(0xf9)]=_0x4e064b[_0x31d170(0xf9)],_0xb1470b[_0x31d170(0x128)]=_0x4e064b[_0x31d170(0x128)];const _0x346d7f=_0xb1470b;_0x4e064b[_0x31d170(0xf9)]&&(_0x346d7f['browserstackPercyBestPlatform']=exports[_0x31d170(0x129)](_0x4e064b[_0x31d170(0xf3)]));;return _0x346d7f;};
@@ -1 +1 @@
1
- const a71_0x5d03c8=a71_0x502a;function a71_0x49d6(){const _0x292a56=['slice','measureWrapper','getPerformance','zatvT','AnCxl','qzKPO','KDija','rWuXw','entryType','_events','</td></tr>','mark','errorFile','match','observe','_measureEvents','performance-report.json','nbNdJ','Error\x20stopping\x20monitoring','captureError','6HwDvaT','finalizeErrors','sJFHW','concat','pushErrors','1993565dkzVxx','measure','push','</td><td>','keysA','BROWSERSTACK_SDK_INSTRUMENTATION','179936rNzhda','getEntries','505772MlolRG','_errorEvents','started','name','\x20for\x20all\x20processes\x20is\x20','./logger','pQdra','toString','4801239domUJR','code','MzzKM','104865RqeHcO','readFileSync','jsonReportFileName','calculateTimesFromMultipleFiles','DKwKF','appendFileSync','KRGyN','263103OflNPm','message','4ORgHjv','apply','Performance\x20report\x20is\x20at\x20','RjmWw','ihnZd','existsSync','FhEdl','hsHkb','SRKCS','generateJSON','forEach','UHXnP','reduce','stack','bCyPs','FebbR','unlinkSync','bOHiF','path','parse','exports','pEJKf','getEventsFromJSON','Error\x20in\x20writing\x20html\x20','startMonitoring','measures','RYRlX','YmoCc','buffered','getCleanedPerfEvents','winstonLogger','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','join','pushPerfMeasures','xXEel','-start','_observer','bEmZf','kPYaM','disconnect','VWixo','1111510LzjycT','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','stringify','duration','entryTypes','Error\x20in\x20doing\x20csv\x20operations:\x20','errorReportFileName','BdUNV','generateHTMLReport','performance-own.html','map','./test-observability/utils','IzaxI','catch','<tr><td>','false','VZMzo','<h1>Performance\x20Report</h1>','function','length','writeFile','stopAndGenerate','errors','perf_hooks','isEnabled','calculateTimeFromEvents','Time\x20for\x20','QfVqp','stopMonitoring','finalizePerfMeasures'];a71_0x49d6=function(){return _0x292a56;};return a71_0x49d6();}(function(_0xee83ee,_0x465fcd){const _0x5b1fdc=a71_0x502a,_0x25be68=_0xee83ee();while(!![]){try{const _0x491783=parseInt(_0x5b1fdc(0x119))/0x1+-parseInt(_0x5b1fdc(0x11b))/0x2*(-parseInt(_0x5b1fdc(0x112))/0x3)+-parseInt(_0x5b1fdc(0x107))/0x4+-parseInt(_0x5b1fdc(0xc8))/0x5*(-parseInt(_0x5b1fdc(0xfa))/0x6)+parseInt(_0x5b1fdc(0xff))/0x7+-parseInt(_0x5b1fdc(0x105))/0x8+-parseInt(_0x5b1fdc(0x10f))/0x9;if(_0x491783===_0x465fcd)break;else _0x25be68['push'](_0x25be68['shift']());}catch(_0x33a596){_0x25be68['push'](_0x25be68['shift']());}}}(a71_0x49d6,0x26808));const fs=require('fs'),{performance,PerformanceObserver}=require(a71_0x5d03c8(0xdf)),{sleep,debug}=require(a71_0x5d03c8(0xd3)),path=require(a71_0x5d03c8(0x12d)),logger=require(a71_0x5d03c8(0x10c))[a71_0x5d03c8(0x139)];class PerformanceTester{static [a71_0x5d03c8(0xc3)];static [a71_0x5d03c8(0xef)]=[];static [a71_0x5d03c8(0xf5)]=[];static [a71_0x5d03c8(0x108)]=[];static [a71_0x5d03c8(0x109)]=![];static ['jsonReportFileName']=a71_0x5d03c8(0xf6);static ['errorReportFileName']='error-report.json';static[a71_0x5d03c8(0x133)](_0x568d81='performance-report.json',_0x1717d1='error-report.json'){const _0x2d0221=a71_0x5d03c8,_0x47f5a8={};_0x47f5a8[_0x2d0221(0xc5)]=function(_0x3c7f25,_0x4f45d8){return _0x3c7f25===_0x4f45d8;},_0x47f5a8[_0x2d0221(0x12c)]=_0x2d0221(0x100),_0x47f5a8[_0x2d0221(0xe3)]=_0x2d0221(0xda);const _0x3b81a9=_0x47f5a8;if(this[_0x2d0221(0x109)]||!this[_0x2d0221(0xe0)]())return;this[_0x2d0221(0xc3)]=new PerformanceObserver(_0x40917d=>{const _0x698cbd=_0x2d0221;_0x40917d[_0x698cbd(0x106)]()[_0x698cbd(0x125)](_0x53490a=>{const _0x407c45=_0x698cbd;_0x3b81a9[_0x407c45(0xc5)](_0x53490a[_0x407c45(0xee)],_0x3b81a9[_0x407c45(0x12c)])?this[_0x407c45(0xf5)][_0x407c45(0x101)](_0x53490a):this[_0x407c45(0xef)][_0x407c45(0x101)](_0x53490a);});});const _0x29d144={};_0x29d144[_0x2d0221(0x137)]=!![],_0x29d144[_0x2d0221(0xcc)]=[_0x3b81a9[_0x2d0221(0xe3)],_0x3b81a9[_0x2d0221(0x12c)]],this['_observer'][_0x2d0221(0xf4)](_0x29d144),this[_0x2d0221(0x109)]=!![],this[_0x2d0221(0x114)]=_0x568d81,this[_0x2d0221(0xce)]=_0x1717d1;}static[a71_0x5d03c8(0xe8)](){return performance;}static[a71_0x5d03c8(0xe1)](_0xfe0c67,_0x5583b2){const _0x49da3b=a71_0x5d03c8,_0x51b7ff={};_0x51b7ff['VZMzo']=function(_0x2b422e,_0xc567ec){return _0x2b422e+_0xc567ec;},_0x51b7ff[_0x49da3b(0x126)]=function(_0x389cd4,_0x44237b){return _0x389cd4||_0x44237b;},_0x51b7ff[_0x49da3b(0x136)]=function(_0x33dba3,_0x2b27f9){return _0x33dba3===_0x2b27f9;};const _0x4b4188=_0x51b7ff,_0x1770d9={};if(!_0xfe0c67||_0x4b4188[_0x49da3b(0x136)](_0xfe0c67['length'],0x0))return;_0xfe0c67['map'](_0x2747aa=>{const _0x22faa6=_0x49da3b;!_0x1770d9[_0x2747aa[_0x22faa6(0x10a)]]&&(_0x1770d9[_0x2747aa[_0x22faa6(0x10a)]]=0x0),_0x1770d9[_0x2747aa[_0x22faa6(0x10a)]]+=_0x2747aa['duration'];});const _0x21481c=_0x5583b2['reduce']((_0x535425,_0x563801)=>{const _0x808dea=_0x49da3b;return _0x4b4188[_0x808dea(0xd8)](_0x1770d9[_0x563801],_0x4b4188['UHXnP'](_0x535425,0x0));},0x0);return _0x21481c;}static async[a71_0x5d03c8(0x115)](_0x4d3e0a,_0x1811f2){const _0x3bbb6e=a71_0x5d03c8,_0x183173={'IzaxI':function(_0x53eab2,_0x345f0d){return _0x53eab2+_0x345f0d;},'VWixo':function(_0x2747ee,_0x5559c0){return _0x2747ee||_0x5559c0;},'VIlTJ':function(_0x4e6c28,_0xacf3d){return _0x4e6c28===_0xacf3d;},'lBxun':function(_0x14a5ea,_0x5c726f){return _0x14a5ea(_0x5c726f);},'bEmZf':function(_0x56f283,_0x540f99){return _0x56f283(_0x540f99);}};if(!_0x4d3e0a||_0x183173['VIlTJ'](_0x4d3e0a[_0x3bbb6e(0xdb)],0x0))return 0x0;const _0x2c8ea2=[];for(const _0x453463 of _0x4d3e0a){const _0x3ee0b7=path[_0x3bbb6e(0x13b)]('.',_0x453463);try{const _0x984ab5=this[_0x3bbb6e(0x131)](_0x3ee0b7);_0x984ab5[_0x3bbb6e(0xd2)](_0x3ac96d=>{const _0x37e104=_0x3bbb6e;!_0x2c8ea2[_0x3ac96d[_0x37e104(0x10a)]]&&(_0x2c8ea2[_0x3ac96d[_0x37e104(0x10a)]]=0x0),_0x2c8ea2[_0x3ac96d[_0x37e104(0x10a)]]+=_0x3ac96d[_0x37e104(0xcb)];});}catch(_0x5bb004){_0x183173['lBxun'](debug,_0x3bbb6e(0xcd)+_0x5bb004[_0x3bbb6e(0x10e)]());}}const _0x43f5f3=_0x1811f2[_0x3bbb6e(0x127)]((_0x4c18c1,_0x47da8c)=>{const _0x2db040=_0x3bbb6e;return _0x183173[_0x2db040(0xd4)](_0x2c8ea2[_0x47da8c],_0x183173[_0x2db040(0xc7)](_0x4c18c1,0x0));},0x0);return _0x183173[_0x3bbb6e(0xc4)](debug,_0x3bbb6e(0xe2)+_0x1811f2+_0x3bbb6e(0x10b)+_0x43f5f3),_0x43f5f3;}static[a71_0x5d03c8(0x131)](_0x500a59){const _0x2e1e2d=a71_0x5d03c8;if(!fs['existsSync'](_0x500a59))return[];return JSON[_0x2e1e2d(0x12e)](fs['readFileSync'](_0x500a59)[_0x2e1e2d(0x10e)]());}static async[a71_0x5d03c8(0xdd)](_0x5b3379=a71_0x5d03c8(0xd1),_0x48270a=null){const _0x339241=a71_0x5d03c8,_0xeb2e07={'RNpWi':function(_0x1b2bc5,_0x49f541){return _0x1b2bc5(_0x49f541);},'qzKPO':function(_0x12aaaf,_0x93f95b){return _0x12aaaf(_0x93f95b);},'SRKCS':function(_0x5213d7,_0x5ddb9d){return _0x5213d7(_0x5ddb9d);}};if(!this[_0x339241(0x109)])return;await _0xeb2e07[_0x339241(0x123)](sleep,0x1e),this['_observer'][_0x339241(0xc6)](),this['started']=![],this[_0x339241(0x124)](this[_0x339241(0xef)]);const _0x4fd11a=this[_0x339241(0xd0)](this[_0x339241(0xef)]),_0x48d07c=path['join'](process['cwd'](),_0x5b3379);fs[_0x339241(0xdc)](_0x48d07c,_0x4fd11a,_0x312c22=>{const _0x330ade=_0x339241;if(_0x312c22){_0xeb2e07['RNpWi'](debug,_0x330ade(0x132)+_0x312c22['toString']());return;}_0xeb2e07[_0x330ade(0xeb)](debug,_0x330ade(0x11d)+_0x48d07c);});if(_0x48270a)return this['calculateTimeFromEvents'](this['_events'],_0x48270a);}static[a71_0x5d03c8(0xd0)](_0x405e7d){const _0x31f580=a71_0x5d03c8,_0x236443={};_0x236443[_0x31f580(0xcf)]=_0x31f580(0x13a),_0x236443[_0x31f580(0xec)]=_0x31f580(0xd9),_0x236443[_0x31f580(0x135)]=_0x31f580(0xc9),_0x236443[_0x31f580(0xfc)]='</tbody></table></body></html>';const _0x2b5bf8=_0x236443;let _0x41d4b2=_0x2b5bf8['BdUNV'];return _0x41d4b2+=_0x2b5bf8[_0x31f580(0xec)],_0x41d4b2+=_0x2b5bf8[_0x31f580(0x135)],_0x405e7d[_0x31f580(0x125)](_0x5f14ed=>{const _0x4bd022=_0x31f580;_0x41d4b2+=_0x4bd022(0xd6)+_0x5f14ed['name']+_0x4bd022(0x102)+_0x5f14ed[_0x4bd022(0xcb)]+_0x4bd022(0xf0);}),_0x41d4b2+=_0x2b5bf8[_0x31f580(0xfc)],_0x41d4b2;}static['generateJSON'](_0x4e49ed){const _0x220f16=a71_0x5d03c8;if(!this[_0x220f16(0x114)])return;const _0x3d5080={};_0x4e49ed[_0x220f16(0xd2)](_0x1dd533=>{const _0x3ba21a=_0x220f16;!_0x3d5080[_0x1dd533[_0x3ba21a(0x10a)]]&&(_0x3d5080[_0x1dd533['name']]=0x0),_0x3d5080[_0x1dd533['name']]+=_0x1dd533[_0x3ba21a(0xcb)];});const _0x3b549b=Object['entries'](_0x3d5080)[_0x220f16(0xd2)](([_0x499b30,_0x87ab60])=>{const _0x5efaf7=_0x220f16,_0x53864e={};return _0x53864e[_0x5efaf7(0x10a)]=_0x499b30,_0x53864e['duration']=_0x87ab60,_0x53864e;});fs['writeFileSync'](this[_0x220f16(0x114)],JSON[_0x220f16(0xca)](_0x3b549b));}static[a71_0x5d03c8(0xe0)](){const _0x2f888b=a71_0x5d03c8,_0x2e7331={};_0x2e7331[_0x2f888b(0x116)]=function(_0x4abcf2,_0x876bf7){return _0x4abcf2===_0x876bf7;},_0x2e7331['qlOwS']=_0x2f888b(0xd7);const _0x3e738b=_0x2e7331;return!_0x3e738b[_0x2f888b(0x116)](process['env'][_0x2f888b(0x104)],_0x3e738b['qlOwS']);}static[a71_0x5d03c8(0x100)](_0x232191,_0x10fc01,_0x30fd34=null,_0x3e5cf5=null){const _0x36e3bd=a71_0x5d03c8,_0x13c2ae={};_0x13c2ae['nbNdJ']=function(_0x523a5b,_0xe4be28){return _0x523a5b+_0xe4be28;},_0x13c2ae[_0x36e3bd(0x11f)]=_0x36e3bd(0xc2),_0x13c2ae['bCyPs']=function(_0x3d870b,_0x48a3e6){return _0x3d870b+_0x48a3e6;},_0x13c2ae[_0x36e3bd(0x103)]='-end',_0x13c2ae[_0x36e3bd(0xe9)]=function(_0x28ff82,_0x4af19e){return _0x28ff82 instanceof _0x4af19e;};const _0x5bfe1d=_0x13c2ae;try{if(this[_0x36e3bd(0x109)]&&this[_0x36e3bd(0xe0)]()){let _0x140f45=_0x232191;_0x30fd34&&(_0x140f45=_0x232191+'['+JSON[_0x36e3bd(0xca)](_0x30fd34)+']');const _0x578718=_0x5bfe1d[_0x36e3bd(0xf7)](_0x140f45,_0x5bfe1d[_0x36e3bd(0x11f)]),_0x233dda=_0x5bfe1d[_0x36e3bd(0x129)](_0x140f45,_0x5bfe1d['keysA']);performance[_0x36e3bd(0xf1)](_0x578718);const _0xde3baa=_0x10fc01['apply'](null,_0x3e5cf5);if(_0x5bfe1d['zatvT'](_0xde3baa,Promise))return new Promise((_0x13e8a2,_0x3a23a9)=>{const _0x550d1e=_0x36e3bd;_0xde3baa['then'](_0x3bd622=>_0x13e8a2(_0x3bd622))[_0x550d1e(0xd5)](_0x5d008f=>_0x3a23a9(_0x5d008f))['finally'](()=>{const _0x42db46=_0x550d1e;performance[_0x42db46(0xf1)](_0x233dda),performance['measure'](_0x140f45,_0x578718,_0x233dda);});});;return performance['mark'](_0x233dda),performance[_0x36e3bd(0x100)](_0x140f45,_0x578718,_0x233dda),_0xde3baa;};return _0x10fc01[_0x36e3bd(0x11c)](null,_0x3e5cf5);}catch(_0x522d0f){return _0x10fc01[_0x36e3bd(0x11c)](null,_0x3e5cf5);}}static[a71_0x5d03c8(0xe7)](_0x27d2fa,_0x256f33){const _0x290cdc=this;return function(){const _0x1598a9=a71_0x502a,_0x44b429=[_0x27d2fa,_0x256f33,null][_0x1598a9(0xfd)](arguments);return _0x290cdc[_0x1598a9(0x100)][_0x1598a9(0x11c)](_0x290cdc,_0x44b429);};}static[a71_0x5d03c8(0x138)](){const _0x508959=a71_0x5d03c8,_0x2fe285={};_0x2fe285['hsHkb']=function(_0x335283,_0x3167a3){return _0x335283/_0x3167a3;},_0x2fe285[_0x508959(0xed)]=function(_0x245098,_0xe3b459){return _0x245098+_0xe3b459;},_0x2fe285[_0x508959(0xea)]=function(_0x38b232,_0x3a1eed){return _0x38b232*_0x3a1eed;},_0x2fe285[_0x508959(0x11e)]=function(_0x32cfa5,_0x50c1d0){return _0x32cfa5+_0x50c1d0;};const _0x3c9822=_0x2fe285,_0x401fd8=/(^.*)\[(.*)\]$/,_0x5b5e43={},_0x357cbc={};for(const _0x3361cc of this[_0x508959(0xf5)]){const _0x23d589=_0x3361cc[_0x508959(0x10a)][_0x508959(0xf3)](_0x401fd8),_0x4d0d04={};_0x4d0d04[_0x508959(0x10a)]=_0x3361cc['name'],_0x4d0d04['duration']=_0x3361cc['duration']||0x0;const _0x3b8c09=_0x4d0d04;_0x23d589&&(_0x3b8c09[_0x508959(0x10a)]=_0x23d589[0x1],_0x3b8c09['meta']=JSON[_0x508959(0x12e)](_0x23d589[0x2]));if(_0x5b5e43[_0x3b8c09[_0x508959(0x10a)]]){const _0x5bcdef=_0x5b5e43[_0x3b8c09['name']],_0x53ed3c=_0x357cbc[_0x3b8c09[_0x508959(0x10a)]];_0x5b5e43[_0x3b8c09[_0x508959(0x10a)]]['duration']=_0x3c9822[_0x508959(0x122)](_0x3c9822[_0x508959(0xed)](_0x3c9822[_0x508959(0xea)](_0x5bcdef[_0x508959(0xcb)],_0x53ed3c),_0x3b8c09[_0x508959(0xcb)]),_0x3c9822[_0x508959(0x11e)](0x1,_0x53ed3c)),_0x357cbc[_0x3b8c09['name']]++;}else _0x5b5e43[_0x3b8c09[_0x508959(0x10a)]]=_0x3b8c09,_0x357cbc[_0x3b8c09[_0x508959(0x10a)]]=0x1;}return Object['values'](_0x5b5e43);}static[a71_0x5d03c8(0xc0)](){const _0x206afd=a71_0x5d03c8,_0x103a67={};_0x103a67[_0x206afd(0x111)]=function(_0x321927,_0x141220){return _0x321927===_0x141220;},_0x103a67[_0x206afd(0x10d)]=function(_0x5cbb1b,_0x1fdaec){return _0x5cbb1b+_0x1fdaec;};const _0x20e07c=_0x103a67;if(_0x20e07c[_0x206afd(0x111)](this['_measureEvents'][_0x206afd(0xdb)],0x0))return;const _0x1416d3=this[_0x206afd(0x138)](),_0x96fb78=JSON[_0x206afd(0xca)](_0x1416d3),_0x443a29=_0x20e07c[_0x206afd(0x10d)](_0x96fb78[_0x206afd(0xe6)](0x1,-0x1),',');fs['appendFileSync'](this[_0x206afd(0x114)],_0x443a29);}static['finalizePerfMeasures'](){const _0x519923=a71_0x5d03c8,_0x48f0ee={};_0x48f0ee[_0x519923(0x12a)]=function(_0x517a2b,_0x259b4b){return _0x517a2b===_0x259b4b;},_0x48f0ee['FhEdl']=function(_0xcc2e1c,_0x818810){return _0xcc2e1c>_0x818810;};const _0x57f45f=_0x48f0ee;if(!this[_0x519923(0x109)]||_0x57f45f[_0x519923(0x12a)](this[_0x519923(0xf5)][_0x519923(0xdb)],0x0))return[];if(!fs[_0x519923(0x120)](this[_0x519923(0x114)]))return this['_measureEvents'];let _0x220735=fs[_0x519923(0x113)](this['jsonReportFileName'])[_0x519923(0x10e)]();_0x220735='['+_0x220735[_0x519923(0xe6)](0x0,-0x1)+']';let _0x223a42=JSON[_0x519923(0x12e)](_0x220735);return _0x57f45f[_0x519923(0x121)](this[_0x519923(0xf5)][_0x519923(0xdb)],0x0)&&(_0x223a42=_0x223a42[_0x519923(0xfd)](this[_0x519923(0x138)]())),this[_0x519923(0xc3)]['disconnect'](),fs[_0x519923(0x12b)](this[_0x519923(0x114)]),_0x223a42;}static[a71_0x5d03c8(0xfe)](){const _0x2e505c=a71_0x5d03c8,_0x1bdf71={};_0x1bdf71['JTZFq']=function(_0x5b782b,_0xe74c4f){return _0x5b782b===_0xe74c4f;},_0x1bdf71['pEJKf']=function(_0x4a730f,_0x194f7b){return _0x4a730f+_0x194f7b;};const _0x4393bd=_0x1bdf71;if(_0x4393bd['JTZFq'](this[_0x2e505c(0x108)][_0x2e505c(0xdb)],0x0))return;const _0x3b4598=JSON[_0x2e505c(0xca)](this[_0x2e505c(0x108)]),_0x2af164=_0x4393bd[_0x2e505c(0x130)](_0x3b4598[_0x2e505c(0xe6)](0x1,-0x1),',');fs[_0x2e505c(0x117)](this[_0x2e505c(0xf2)],_0x2af164);}static['finalizeErrors'](){const _0x4a6d13=a71_0x5d03c8,_0x3ef93d={};_0x3ef93d[_0x4a6d13(0xc1)]=function(_0x44cd30,_0x135417){return _0x44cd30>_0x135417;};const _0x28b517=_0x3ef93d;if(!fs[_0x4a6d13(0x120)](this[_0x4a6d13(0xce)]))return this['_errorEvents'];let _0x470a0f=fs[_0x4a6d13(0x113)](this[_0x4a6d13(0xce)])['toString']();_0x470a0f='['+_0x470a0f['slice'](0x0,-0x1)+']';let _0x4fabe6=JSON[_0x4a6d13(0x12e)](_0x470a0f);return _0x28b517[_0x4a6d13(0xc1)](this['_errorEvents'][_0x4a6d13(0xdb)],0x0)&&(_0x4fabe6=_0x4fabe6['concat'](this[_0x4a6d13(0x108)])),fs[_0x4a6d13(0x12b)](this[_0x4a6d13(0xce)]),_0x4fabe6;}static[a71_0x5d03c8(0xf9)](_0x3b4d84){const _0x128b16=a71_0x5d03c8;if(!this[_0x128b16(0xe0)]())return;this[_0x128b16(0x108)][_0x128b16(0x101)]({'message':_0x3b4d84[_0x128b16(0x11a)],'trace':_0x3b4d84[_0x128b16(0x128)],'code':_0x3b4d84[_0x128b16(0x110)]||null,'time':new Date()});}static[a71_0x5d03c8(0xe4)](){const _0x581e15=a71_0x5d03c8,_0x892e40={};_0x892e40[_0x581e15(0x118)]=_0x581e15(0xf8);const _0x57a72c=_0x892e40;try{if(!this[_0x581e15(0xe0)]())return;this[_0x581e15(0xc3)][_0x581e15(0xc6)](),this[_0x581e15(0xc0)](),this[_0x581e15(0xfe)]();}catch{logger['debug'](_0x57a72c[_0x581e15(0x118)]);}}static['finalize'](){const _0x26ef22=a71_0x5d03c8,_0x328832=this[_0x26ef22(0xe5)](),_0x5e0ddd=this[_0x26ef22(0xfb)]();if(!this[_0x26ef22(0xe0)]()){const _0x275063={};return _0x275063[_0x26ef22(0x134)]=[],_0x275063[_0x26ef22(0xde)]=[],_0x275063;}const _0x4ee402={};return _0x4ee402[_0x26ef22(0x134)]=_0x328832,_0x4ee402['errors']=_0x5e0ddd,_0x4ee402;}}function a71_0x502a(_0x54076e,_0x375ef9){const _0x49d68e=a71_0x49d6();return a71_0x502a=function(_0x502acd,_0x2b1f94){_0x502acd=_0x502acd-0xc0;let _0x1d220c=_0x49d68e[_0x502acd];return _0x1d220c;},a71_0x502a(_0x54076e,_0x375ef9);}module[a71_0x5d03c8(0x12f)]=PerformanceTester;
1
+ function a71_0x19f0(_0x2acc76,_0x468ac5){const _0x3628fb=a71_0x3628();return a71_0x19f0=function(_0x19f098,_0x8d1198){_0x19f098=_0x19f098-0x1ae;let _0x433200=_0x3628fb[_0x19f098];return _0x433200;},a71_0x19f0(_0x2acc76,_0x468ac5);}const a71_0x55b170=a71_0x19f0;function a71_0x3628(){const _0x406ee7=['</td><td>','Error\x20in\x20doing\x20csv\x20operations:\x20','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','generateHTMLReport','finalize','error-report.json','finalizePerfMeasures','7197550VODgJC','JTvjZ','vhVli','started','measures','parse','./test-observability/utils','WhUGw','412708ThfebH','kStSe','name','Giiub','SDDIr','2284122omsHnP','xPYti','./logger','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','push','generateJSON','\x20for\x20all\x20processes\x20is\x20','getEventsFromJSON','exports','function','iDNiT','stringify','calculateTimesFromMultipleFiles','ZSarU','</tbody></table></body></html>','_events','201548TIgMIO','Iqzkw','mark','vZfxN','Performance\x20report\x20is\x20at\x20','Time\x20for\x20','MyONT','map','getCleanedPerfEvents','env','_measureEvents','code','gNXqA','errors','errorReportFileName','nXhoK','existsSync','measureWrapper','length','concat','winstonLogger','pushPerfMeasures','measure','false','nyFxt','iKfnZ','8jKUQWX','appendFileSync','jsonReportFileName','writeFile','-start','finally','100508absqDj','ejoeE','12eoostm','wZbcg','slice','6332346JDCcdM','WYrbZ','performance-report.json','Ekawt','Nfkft','atFWA','stopMonitoring','<h1>Performance\x20Report</h1>','catch','zogWi','-end','</td></tr>','startMonitoring','disconnect','15FDwqll','ltHhh','duration','match','IMdzG','pushErrors','readFileSync','calculateTimeFromEvents','BMRJr','564494alLWjS','message','reduce','entries','isEnabled','path','stopAndGenerate','_errorEvents','apply','vtLWs','<tr><td>','yVvhf','perf_hooks','buffered','unlinkSync','Error\x20stopping\x20monitoring','_observer','finalizeErrors','toString','forEach','join'];a71_0x3628=function(){return _0x406ee7;};return a71_0x3628();}(function(_0x42aaca,_0x26705a){const _0x23be9c=a71_0x19f0,_0x45c4e6=_0x42aaca();while(!![]){try{const _0x4d0c38=parseInt(_0x23be9c(0x211))/0x1+-parseInt(_0x23be9c(0x1bc))/0x2*(-parseInt(_0x23be9c(0x1be))/0x3)+parseInt(_0x23be9c(0x1fc))/0x4*(-parseInt(_0x23be9c(0x1cf))/0x5)+parseInt(_0x23be9c(0x201))/0x6+-parseInt(_0x23be9c(0x1d8))/0x7+parseInt(_0x23be9c(0x1b6))/0x8*(-parseInt(_0x23be9c(0x1c1))/0x9)+parseInt(_0x23be9c(0x1f4))/0xa;if(_0x4d0c38===_0x26705a)break;else _0x45c4e6['push'](_0x45c4e6['shift']());}catch(_0x26bf3d){_0x45c4e6['push'](_0x45c4e6['shift']());}}}(a71_0x3628,0x63e97));const fs=require('fs'),{performance,PerformanceObserver}=require(a71_0x55b170(0x1e4)),{sleep,debug}=require(a71_0x55b170(0x1fa)),path=require(a71_0x55b170(0x1dd)),logger=require(a71_0x55b170(0x203))[a71_0x55b170(0x1b0)];class PerformanceTester{static [a71_0x55b170(0x1e8)];static ['_events']=[];static ['_measureEvents']=[];static [a71_0x55b170(0x1df)]=[];static ['started']=![];static [a71_0x55b170(0x1b8)]=a71_0x55b170(0x1c3);static ['errorReportFileName']=a71_0x55b170(0x1f2);static[a71_0x55b170(0x1cd)](_0x4ee37f=a71_0x55b170(0x1c3),_0x397151=a71_0x55b170(0x1f2)){const _0x211f83=a71_0x55b170,_0x59468a={};_0x59468a[_0x211f83(0x200)]=function(_0x57f258,_0xe14b4d){return _0x57f258===_0xe14b4d;},_0x59468a[_0x211f83(0x20b)]=_0x211f83(0x1b2),_0x59468a[_0x211f83(0x1c4)]=_0x211f83(0x20a);const _0x4bf280=_0x59468a;if(this['started']||!this[_0x211f83(0x1dc)]())return;this['_observer']=new PerformanceObserver(_0x518cb5=>{_0x518cb5['getEntries']()['forEach'](_0x310e2b=>{const _0x2f91ee=a71_0x19f0;_0x4bf280[_0x2f91ee(0x200)](_0x310e2b['entryType'],_0x4bf280[_0x2f91ee(0x20b)])?this[_0x2f91ee(0x21b)][_0x2f91ee(0x205)](_0x310e2b):this[_0x2f91ee(0x210)][_0x2f91ee(0x205)](_0x310e2b);});});const _0x237dbb={};_0x237dbb[_0x211f83(0x1e5)]=!![],_0x237dbb['entryTypes']=[_0x4bf280[_0x211f83(0x1c4)],_0x4bf280[_0x211f83(0x20b)]],this[_0x211f83(0x1e8)]['observe'](_0x237dbb),this[_0x211f83(0x1f7)]=!![],this[_0x211f83(0x1b8)]=_0x4ee37f,this[_0x211f83(0x21f)]=_0x397151;}static['getPerformance'](){return performance;}static[a71_0x55b170(0x1d6)](_0x2c3c0e,_0xdb8c54){const _0x1a81f8=a71_0x55b170,_0x290c5f={};_0x290c5f['rVDzM']=function(_0x1dae8e,_0x3f69c6){return _0x1dae8e+_0x3f69c6;},_0x290c5f[_0x1a81f8(0x217)]=function(_0x65980c,_0x3ff3ea){return _0x65980c||_0x3ff3ea;},_0x290c5f[_0x1a81f8(0x1d0)]=function(_0x212126,_0x330e1c){return _0x212126===_0x330e1c;};const _0x3ae5fd=_0x290c5f,_0x16d2cd={};if(!_0x2c3c0e||_0x3ae5fd[_0x1a81f8(0x1d0)](_0x2c3c0e[_0x1a81f8(0x1ae)],0x0))return;_0x2c3c0e[_0x1a81f8(0x218)](_0x40ab27=>{const _0x4cb5a0=_0x1a81f8;!_0x16d2cd[_0x40ab27[_0x4cb5a0(0x1fe)]]&&(_0x16d2cd[_0x40ab27[_0x4cb5a0(0x1fe)]]=0x0),_0x16d2cd[_0x40ab27[_0x4cb5a0(0x1fe)]]+=_0x40ab27[_0x4cb5a0(0x1d1)];});const _0x256d3a=_0xdb8c54[_0x1a81f8(0x1da)]((_0x59f640,_0x3529af)=>{const _0xd9b1f5=_0x1a81f8;return _0x3ae5fd['rVDzM'](_0x16d2cd[_0x3529af],_0x3ae5fd[_0xd9b1f5(0x217)](_0x59f640,0x0));},0x0);return _0x256d3a;}static async[a71_0x55b170(0x20d)](_0x2cf373,_0x3a47d5){const _0x5cccbf=a71_0x55b170,_0x2bf433={'JTvjZ':function(_0x4ccdf8,_0x514054){return _0x4ccdf8+_0x514054;},'ZuLlD':function(_0x4d704a,_0x4dc283){return _0x4d704a||_0x4dc283;},'vtLWs':function(_0x53e443,_0x52e340){return _0x53e443===_0x52e340;},'CeSLx':function(_0x2dce37,_0x16d782){return _0x2dce37(_0x16d782);},'uMRoN':function(_0x2371cd,_0x35da24){return _0x2371cd(_0x35da24);}};if(!_0x2cf373||_0x2bf433[_0x5cccbf(0x1e1)](_0x2cf373['length'],0x0))return 0x0;const _0x3e7572=[];for(const _0x120718 of _0x2cf373){const _0x4b1b6d=path[_0x5cccbf(0x1ec)]('.',_0x120718);try{const _0x17351d=this['getEventsFromJSON'](_0x4b1b6d);_0x17351d[_0x5cccbf(0x218)](_0x450b34=>{const _0x38ae69=_0x5cccbf;!_0x3e7572[_0x450b34[_0x38ae69(0x1fe)]]&&(_0x3e7572[_0x450b34[_0x38ae69(0x1fe)]]=0x0),_0x3e7572[_0x450b34[_0x38ae69(0x1fe)]]+=_0x450b34['duration'];});}catch(_0x2d81b5){_0x2bf433['CeSLx'](debug,_0x5cccbf(0x1ee)+_0x2d81b5[_0x5cccbf(0x1ea)]());}}const _0x44c086=_0x3a47d5[_0x5cccbf(0x1da)]((_0x2f2afb,_0x16748f)=>{const _0xded3c=_0x5cccbf;return _0x2bf433[_0xded3c(0x1f5)](_0x3e7572[_0x16748f],_0x2bf433['ZuLlD'](_0x2f2afb,0x0));},0x0);return _0x2bf433['uMRoN'](debug,_0x5cccbf(0x216)+_0x3a47d5+_0x5cccbf(0x207)+_0x44c086),_0x44c086;}static[a71_0x55b170(0x208)](_0x1a5178){const _0x353288=a71_0x55b170;if(!fs[_0x353288(0x221)](_0x1a5178))return[];return JSON[_0x353288(0x1f9)](fs[_0x353288(0x1d5)](_0x1a5178)[_0x353288(0x1ea)]());}static async[a71_0x55b170(0x1de)](_0x1f0775='performance-own.html',_0x3ccdd4=null){const _0x46779d=a71_0x55b170,_0x3e6666={'Nfkft':function(_0x50777c,_0x454a4f){return _0x50777c(_0x454a4f);},'BtVQS':function(_0x4eb401,_0x27d5a1){return _0x4eb401(_0x27d5a1);}};if(!this['started'])return;await _0x3e6666['BtVQS'](sleep,0x1e),this['_observer'][_0x46779d(0x1ce)](),this[_0x46779d(0x1f7)]=![],this[_0x46779d(0x206)](this[_0x46779d(0x210)]);const _0x56a13f=this[_0x46779d(0x1f0)](this[_0x46779d(0x210)]),_0x50269d=path[_0x46779d(0x1ec)](process['cwd'](),_0x1f0775);fs[_0x46779d(0x1b9)](_0x50269d,_0x56a13f,_0x1afd0f=>{const _0x2d0fa9=_0x46779d;if(_0x1afd0f){_0x3e6666[_0x2d0fa9(0x1c5)](debug,'Error\x20in\x20writing\x20html\x20'+_0x1afd0f[_0x2d0fa9(0x1ea)]());return;}_0x3e6666['Nfkft'](debug,_0x2d0fa9(0x215)+_0x50269d);});if(_0x3ccdd4)return this['calculateTimeFromEvents'](this[_0x46779d(0x210)],_0x3ccdd4);}static['generateHTMLReport'](_0x52fcf9){const _0x928541=a71_0x55b170,_0x1e3416={};_0x1e3416[_0x928541(0x1e3)]=_0x928541(0x1ef),_0x1e3416[_0x928541(0x212)]=_0x928541(0x1c8),_0x1e3416[_0x928541(0x1ff)]=_0x928541(0x204),_0x1e3416['vhVli']=_0x928541(0x20f);const _0x30e7e9=_0x1e3416;let _0x56bb9f=_0x30e7e9[_0x928541(0x1e3)];return _0x56bb9f+=_0x30e7e9[_0x928541(0x212)],_0x56bb9f+=_0x30e7e9[_0x928541(0x1ff)],_0x52fcf9[_0x928541(0x1eb)](_0x292eaa=>{const _0x218f57=_0x928541;_0x56bb9f+=_0x218f57(0x1e2)+_0x292eaa['name']+_0x218f57(0x1ed)+_0x292eaa[_0x218f57(0x1d1)]+_0x218f57(0x1cc);}),_0x56bb9f+=_0x30e7e9[_0x928541(0x1f6)],_0x56bb9f;}static[a71_0x55b170(0x206)](_0x26c103){const _0x404a90=a71_0x55b170;if(!this[_0x404a90(0x1b8)])return;const _0x380a41={};_0x26c103['map'](_0x559f39=>{const _0x1601e9=_0x404a90;!_0x380a41[_0x559f39[_0x1601e9(0x1fe)]]&&(_0x380a41[_0x559f39[_0x1601e9(0x1fe)]]=0x0),_0x380a41[_0x559f39['name']]+=_0x559f39['duration'];});const _0x22545d=Object[_0x404a90(0x1db)](_0x380a41)['map'](([_0xa3668a,_0x36845d])=>{const _0x5ae11f={};return _0x5ae11f['name']=_0xa3668a,_0x5ae11f['duration']=_0x36845d,_0x5ae11f;});fs['writeFileSync'](this[_0x404a90(0x1b8)],JSON[_0x404a90(0x20c)](_0x22545d));}static['isEnabled'](){const _0x1b628e=a71_0x55b170,_0x4c7945={};_0x4c7945[_0x1b628e(0x214)]=function(_0x43ca81,_0x235b44){return _0x43ca81===_0x235b44;},_0x4c7945[_0x1b628e(0x1c6)]=_0x1b628e(0x1b3);const _0x52d8d7=_0x4c7945;return!_0x52d8d7[_0x1b628e(0x214)](process[_0x1b628e(0x21a)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x52d8d7['atFWA']);}static[a71_0x55b170(0x1b2)](_0xfd433b,_0x16593c,_0x33ebcf=null,_0x1bcd7e=null){const _0x452774=a71_0x55b170,_0x38b171={};_0x38b171[_0x452774(0x1d3)]=function(_0x40759d,_0x380b0a){return _0x40759d+_0x380b0a;},_0x38b171['CoHkc']=_0x452774(0x1ba),_0x38b171[_0x452774(0x20e)]=_0x452774(0x1cb),_0x38b171['nyFxt']=function(_0xc4925d,_0x3b0bde){return _0xc4925d instanceof _0x3b0bde;};const _0x5002f2=_0x38b171;try{if(this['started']&&this[_0x452774(0x1dc)]()){let _0x5965d9=_0xfd433b;_0x33ebcf&&(_0x5965d9=_0xfd433b+'['+JSON[_0x452774(0x20c)](_0x33ebcf)+']');const _0xf08830=_0x5002f2['IMdzG'](_0x5965d9,_0x5002f2['CoHkc']),_0x18680c=_0x5002f2[_0x452774(0x1d3)](_0x5965d9,_0x5002f2['ZSarU']);performance['mark'](_0xf08830);const _0x3ce38b=_0x16593c[_0x452774(0x1e0)](null,_0x1bcd7e);if(_0x5002f2[_0x452774(0x1b4)](_0x3ce38b,Promise))return new Promise((_0x513eaa,_0x448394)=>{const _0x6852c9=_0x452774;_0x3ce38b['then'](_0x32cd85=>_0x513eaa(_0x32cd85))[_0x6852c9(0x1c9)](_0x44381f=>_0x448394(_0x44381f))[_0x6852c9(0x1bb)](()=>{const _0x258659=_0x6852c9;performance[_0x258659(0x213)](_0x18680c),performance[_0x258659(0x1b2)](_0x5965d9,_0xf08830,_0x18680c);});});;return performance[_0x452774(0x213)](_0x18680c),performance[_0x452774(0x1b2)](_0x5965d9,_0xf08830,_0x18680c),_0x3ce38b;};return _0x16593c['apply'](null,_0x1bcd7e);}catch(_0x1987d2){return _0x16593c[_0x452774(0x1e0)](null,_0x1bcd7e);}}static[a71_0x55b170(0x222)](_0x479693,_0x1d739a){const _0x4513d7=this;return function(){const _0x407bc2=a71_0x19f0,_0x41303d=[_0x479693,_0x1d739a,null][_0x407bc2(0x1af)](arguments);return _0x4513d7[_0x407bc2(0x1b2)]['apply'](_0x4513d7,_0x41303d);};}static[a71_0x55b170(0x219)](){const _0x47cc7d=a71_0x55b170,_0x3da70c={};_0x3da70c[_0x47cc7d(0x220)]=function(_0x451942,_0xcd1775){return _0x451942/_0xcd1775;},_0x3da70c['kStSe']=function(_0x4aa9ea,_0x6974d9){return _0x4aa9ea+_0x6974d9;},_0x3da70c[_0x47cc7d(0x1ca)]=function(_0x7b7a81,_0x40abd0){return _0x7b7a81*_0x40abd0;},_0x3da70c['iKfnZ']=function(_0x193cfe,_0x4bbeb0){return _0x193cfe+_0x4bbeb0;};const _0x50a508=_0x3da70c,_0x404d4f=/(^.*)\[(.*)\]$/,_0x3417b5={},_0xd7b43b={};for(const _0x48f4da of this[_0x47cc7d(0x21b)]){const _0x280ba9=_0x48f4da['name'][_0x47cc7d(0x1d2)](_0x404d4f),_0x49c597={};_0x49c597[_0x47cc7d(0x1fe)]=_0x48f4da[_0x47cc7d(0x1fe)],_0x49c597[_0x47cc7d(0x1d1)]=_0x48f4da[_0x47cc7d(0x1d1)]||0x0;const _0x1abcdf=_0x49c597;_0x280ba9&&(_0x1abcdf[_0x47cc7d(0x1fe)]=_0x280ba9[0x1],_0x1abcdf['meta']=JSON[_0x47cc7d(0x1f9)](_0x280ba9[0x2]));if(_0x3417b5[_0x1abcdf[_0x47cc7d(0x1fe)]]){const _0x6e282b=_0x3417b5[_0x1abcdf['name']],_0x5c283a=_0xd7b43b[_0x1abcdf[_0x47cc7d(0x1fe)]];_0x3417b5[_0x1abcdf['name']][_0x47cc7d(0x1d1)]=_0x50a508[_0x47cc7d(0x220)](_0x50a508[_0x47cc7d(0x1fd)](_0x50a508[_0x47cc7d(0x1ca)](_0x6e282b['duration'],_0x5c283a),_0x1abcdf[_0x47cc7d(0x1d1)]),_0x50a508[_0x47cc7d(0x1b5)](0x1,_0x5c283a)),_0xd7b43b[_0x1abcdf['name']]++;}else _0x3417b5[_0x1abcdf[_0x47cc7d(0x1fe)]]=_0x1abcdf,_0xd7b43b[_0x1abcdf[_0x47cc7d(0x1fe)]]=0x1;}return Object['values'](_0x3417b5);}static[a71_0x55b170(0x1b1)](){const _0x4a931b=a71_0x55b170,_0x588df7={};_0x588df7[_0x4a931b(0x1fb)]=function(_0x2c5747,_0x28ef29){return _0x2c5747===_0x28ef29;},_0x588df7[_0x4a931b(0x1bf)]=function(_0x4df278,_0x5a1f29){return _0x4df278+_0x5a1f29;};const _0x20bd30=_0x588df7;if(_0x20bd30[_0x4a931b(0x1fb)](this[_0x4a931b(0x21b)][_0x4a931b(0x1ae)],0x0))return;const _0x24e84b=this['getCleanedPerfEvents'](),_0x19bd15=JSON['stringify'](_0x24e84b),_0x65ec62=_0x20bd30['wZbcg'](_0x19bd15[_0x4a931b(0x1c0)](0x1,-0x1),',');fs[_0x4a931b(0x1b7)](this[_0x4a931b(0x1b8)],_0x65ec62);}static[a71_0x55b170(0x1f3)](){const _0xb563f1=a71_0x55b170,_0x5b516c={};_0x5b516c['gNXqA']=function(_0xae38ac,_0x1e314f){return _0xae38ac===_0x1e314f;},_0x5b516c[_0xb563f1(0x1bd)]=function(_0x5e6262,_0x5feb68){return _0x5e6262>_0x5feb68;};const _0x305ac6=_0x5b516c;if(!this[_0xb563f1(0x1f7)]||_0x305ac6[_0xb563f1(0x21d)](this[_0xb563f1(0x21b)][_0xb563f1(0x1ae)],0x0))return[];if(!fs[_0xb563f1(0x221)](this[_0xb563f1(0x1b8)]))return this['_measureEvents'];let _0x247c4d=fs[_0xb563f1(0x1d5)](this[_0xb563f1(0x1b8)])[_0xb563f1(0x1ea)]();_0x247c4d='['+_0x247c4d[_0xb563f1(0x1c0)](0x0,-0x1)+']';let _0x53a073=JSON['parse'](_0x247c4d);return _0x305ac6[_0xb563f1(0x1bd)](this[_0xb563f1(0x21b)][_0xb563f1(0x1ae)],0x0)&&(_0x53a073=_0x53a073[_0xb563f1(0x1af)](this[_0xb563f1(0x219)]())),this[_0xb563f1(0x1e8)]['disconnect'](),fs[_0xb563f1(0x1e6)](this['jsonReportFileName']),_0x53a073;}static[a71_0x55b170(0x1d4)](){const _0x57f1ea=a71_0x55b170,_0x30ba4f={};_0x30ba4f[_0x57f1ea(0x1d7)]=function(_0x4dbd95,_0x735664){return _0x4dbd95===_0x735664;},_0x30ba4f['xPYti']=function(_0x1e3e33,_0x5ad332){return _0x1e3e33+_0x5ad332;};const _0xe576f3=_0x30ba4f;if(_0xe576f3[_0x57f1ea(0x1d7)](this[_0x57f1ea(0x1df)][_0x57f1ea(0x1ae)],0x0))return;const _0x5e24c3=JSON[_0x57f1ea(0x20c)](this['_errorEvents']),_0x2780fa=_0xe576f3[_0x57f1ea(0x202)](_0x5e24c3[_0x57f1ea(0x1c0)](0x1,-0x1),',');fs[_0x57f1ea(0x1b7)](this['errorFile'],_0x2780fa);}static[a71_0x55b170(0x1e9)](){const _0x381c71=a71_0x55b170,_0x34a7e0={};_0x34a7e0['uDVCy']=function(_0x48a485,_0x56ba9c){return _0x48a485>_0x56ba9c;};const _0x17897d=_0x34a7e0;if(!fs[_0x381c71(0x221)](this['errorReportFileName']))return this[_0x381c71(0x1df)];let _0x3349cd=fs[_0x381c71(0x1d5)](this[_0x381c71(0x21f)])[_0x381c71(0x1ea)]();_0x3349cd='['+_0x3349cd[_0x381c71(0x1c0)](0x0,-0x1)+']';let _0x209264=JSON[_0x381c71(0x1f9)](_0x3349cd);return _0x17897d['uDVCy'](this[_0x381c71(0x1df)][_0x381c71(0x1ae)],0x0)&&(_0x209264=_0x209264['concat'](this[_0x381c71(0x1df)])),fs['unlinkSync'](this[_0x381c71(0x21f)]),_0x209264;}static['captureError'](_0x1b38cd){const _0x2fe12f=a71_0x55b170;if(!this['isEnabled']())return;this[_0x2fe12f(0x1df)][_0x2fe12f(0x205)]({'message':_0x1b38cd[_0x2fe12f(0x1d9)],'trace':_0x1b38cd['stack'],'code':_0x1b38cd[_0x2fe12f(0x21c)]||null,'time':new Date()});}static[a71_0x55b170(0x1c7)](){const _0x526344=a71_0x55b170,_0x2e0a2b={};_0x2e0a2b[_0x526344(0x1c2)]=_0x526344(0x1e7);const _0x1bee61=_0x2e0a2b;try{if(!this[_0x526344(0x1dc)]())return;this['_observer'][_0x526344(0x1ce)](),this[_0x526344(0x1b1)](),this[_0x526344(0x1d4)]();}catch{logger['debug'](_0x1bee61[_0x526344(0x1c2)]);}}static[a71_0x55b170(0x1f1)](){const _0x58a55c=a71_0x55b170,_0x1d015e=this[_0x58a55c(0x1f3)](),_0x4b45ff=this[_0x58a55c(0x1e9)]();if(!this[_0x58a55c(0x1dc)]()){const _0x19c7b1={};return _0x19c7b1[_0x58a55c(0x1f8)]=[],_0x19c7b1[_0x58a55c(0x21e)]=[],_0x19c7b1;}const _0x1bdd22={};return _0x1bdd22[_0x58a55c(0x1f8)]=_0x1d015e,_0x1bdd22[_0x58a55c(0x21e)]=_0x4b45ff,_0x1bdd22;}}module[a71_0x55b170(0x209)]=PerformanceTester;
@@ -1 +1 @@
1
- const a72_0x24f9a5=a72_0x940a;function a72_0x48d3(){const _0x26095a=['92310aLaTdC','1998856NTdrsV','request','duration_ms','hDsAP','https','status_code','path','statusCode','201489YowFPV','error','jAgAo','xIPre','exports','354xzcYke','1751825ehopqn','nIHVz','response','monkeypatch','rHxXX','pWUkV','hvDpB','once','headers','sBVco','37996dOZlVw','PSLjP','jqrtl','now','end','hostname','480213VTiBSL','method','http','261060oDvsJV','unpatch','host','mJdXf'];a72_0x48d3=function(){return _0x26095a;};return a72_0x48d3();}(function(_0x57893d,_0x3ab66d){const _0x2edb5c=a72_0x940a,_0x1c8501=_0x57893d();while(!![]){try{const _0x5ef7de=parseInt(_0x2edb5c(0x12e))/0x1+parseInt(_0x2edb5c(0x135))/0x2+-parseInt(_0x2edb5c(0x13e))/0x3+parseInt(_0x2edb5c(0x131))/0x4+-parseInt(_0x2edb5c(0x144))/0x5+parseInt(_0x2edb5c(0x143))/0x6*(parseInt(_0x2edb5c(0x128))/0x7)+-parseInt(_0x2edb5c(0x136))/0x8;if(_0x5ef7de===_0x3ab66d)break;else _0x1c8501['push'](_0x1c8501['shift']());}catch(_0x2ba415){_0x1c8501['push'](_0x1c8501['shift']());}}}(a72_0x48d3,0x3bb14));const http=require(a72_0x24f9a5(0x130)),https=require(a72_0x24f9a5(0x13a)),monkeypatch=require(a72_0x24f9a5(0x121));function spy(_0x3024a6){const _0x2f2456=a72_0x24f9a5,_0x4f691b={'xIPre':_0x2f2456(0x13f),'sBVco':function(_0xbb07f6,..._0x253c68){return _0xbb07f6(..._0x253c68);},'rHxXX':function(_0x726a43,_0x46703d,_0x3056be){return _0x726a43(_0x46703d,_0x3056be);},'wIQoZ':function(_0x30676d,_0x5a91e6){return _0x30676d-_0x5a91e6;},'oLkWf':function(_0x4cb39c,_0x5d5d5,_0x2bbd2d){return _0x4cb39c(_0x5d5d5,_0x2bbd2d);},'hDsAP':_0x2f2456(0x120),'pWUkV':'socket','jAgAo':function(_0x4177ed,_0x127d44,_0x464f63,_0x6caaf2){return _0x4177ed(_0x127d44,_0x464f63,_0x6caaf2);},'mJdXf':_0x2f2456(0x12c),'jqrtl':function(_0x4468d3,_0x4d0a32,_0x4fe71a,_0x2b4c98){return _0x4468d3(_0x4d0a32,_0x4fe71a,_0x2b4c98);},'PSLjP':'request'},_0x3845f8=(_0x5466e7,_0x2c4a7c,_0x266b75)=>{const _0x48ee25=_0x2f2456,_0x1c97f6={'hvDpB':function(_0x443e74,_0x2bba62,_0x19f968){const _0x9d7819=a72_0x940a;return _0x4f691b[_0x9d7819(0x122)](_0x443e74,_0x2bba62,_0x19f968);},'RrOmF':function(_0xbad015,_0x3987a8){return _0x4f691b['wIQoZ'](_0xbad015,_0x3987a8);},'wWaMx':function(_0x107d1e,_0x3e9f1d,_0x563c63){return _0x4f691b['oLkWf'](_0x107d1e,_0x3e9f1d,_0x563c63);},'nIHVz':_0x4f691b[_0x48ee25(0x141)]},_0x2f8ee6=_0x4f691b['oLkWf'](_0x5466e7,_0x2c4a7c,_0x266b75);let _0x5beaf0=Date[_0x48ee25(0x12b)](),_0x1abb5f;const _0xdd38f=_0x4a89ec=>{const _0x1aff73=_0x48ee25,_0x124f31={};_0x124f31[_0x1aff73(0x133)]=_0x2c4a7c[_0x1aff73(0x133)]||_0x2c4a7c[_0x1aff73(0x12d)],_0x124f31[_0x1aff73(0x13c)]=_0x2c4a7c['path'],_0x124f31[_0x1aff73(0x12f)]=_0x2c4a7c[_0x1aff73(0x12f)],_0x124f31[_0x1aff73(0x126)]=_0x2c4a7c[_0x1aff73(0x126)],_0x1c97f6[_0x1aff73(0x124)](_0x3024a6,_0x4a89ec,_0x124f31);};return _0x2f8ee6['once'](_0x4f691b[_0x48ee25(0x139)],_0x348e86=>{const _0x50fb72=_0x48ee25,_0x4f43b8=_0x1c97f6['RrOmF'](Date[_0x50fb72(0x12b)](),_0x5beaf0),_0x23633f={};_0x23633f[_0x50fb72(0x12d)]=_0x2c4a7c[_0x50fb72(0x133)]||_0x2c4a7c[_0x50fb72(0x12d)],_0x23633f['path']=_0x2c4a7c[_0x50fb72(0x13c)],_0x23633f[_0x50fb72(0x12f)]=_0x2c4a7c[_0x50fb72(0x12f)],_0x23633f[_0x50fb72(0x126)]=_0x2c4a7c[_0x50fb72(0x126)],_0x23633f[_0x50fb72(0x13b)]=_0x348e86[_0x50fb72(0x13d)],_0x23633f[_0x50fb72(0x138)]=_0x4f43b8,_0x1c97f6['wWaMx'](_0x3024a6,null,_0x23633f),_0x1abb5f['removeListener'](_0x1c97f6[_0x50fb72(0x11f)],_0xdd38f);}),_0x2f8ee6['on'](_0x4f691b[_0x48ee25(0x123)],_0x58372e=>{const _0x226ba1=_0x48ee25;_0x1abb5f=_0x58372e,_0x58372e[_0x226ba1(0x125)](_0x4f691b[_0x226ba1(0x141)],_0xdd38f);}),_0x4f691b[_0x48ee25(0x140)](monkeypatch,_0x2f8ee6,_0x4f691b[_0x48ee25(0x134)],(_0x479472,..._0x25b1d2)=>{const _0x55c2df=_0x48ee25;_0x5beaf0=Date[_0x55c2df(0x12b)](),_0x4f691b[_0x55c2df(0x127)](_0x479472,..._0x25b1d2);}),_0x2f8ee6;};_0x4f691b['jqrtl'](monkeypatch,http,_0x4f691b[_0x2f2456(0x129)],_0x3845f8),_0x4f691b[_0x2f2456(0x12a)](monkeypatch,https,_0x4f691b['PSLjP'],_0x3845f8);}function a72_0x940a(_0x471d40,_0x24b0b8){const _0x48d3c7=a72_0x48d3();return a72_0x940a=function(_0x940a2d,_0x2e840f){_0x940a2d=_0x940a2d-0x11f;let _0xaa5e1c=_0x48d3c7[_0x940a2d];return _0xaa5e1c;},a72_0x940a(_0x471d40,_0x24b0b8);}function restore(){const _0x2400a5=a72_0x24f9a5;http['request'][_0x2400a5(0x132)](),https[_0x2400a5(0x137)][_0x2400a5(0x132)]();}const a72_0xdb873b={};a72_0xdb873b['spy']=spy,a72_0xdb873b['restore']=restore,module[a72_0x24f9a5(0x142)]=a72_0xdb873b;
1
+ const a72_0x139644=a72_0xd9f8;function a72_0xd9f8(_0x81bcd8,_0x4bd521){const _0x43fe84=a72_0x43fe();return a72_0xd9f8=function(_0xd9f86d,_0x371dd6){_0xd9f86d=_0xd9f86d-0x151;let _0x8ff42e=_0x43fe84[_0xd9f86d];return _0x8ff42e;},a72_0xd9f8(_0x81bcd8,_0x4bd521);}(function(_0x3758ee,_0x43dd1b){const _0x50ea2a=a72_0xd9f8,_0x5def6e=_0x3758ee();while(!![]){try{const _0x298b15=parseInt(_0x50ea2a(0x164))/0x1*(-parseInt(_0x50ea2a(0x151))/0x2)+-parseInt(_0x50ea2a(0x168))/0x3*(parseInt(_0x50ea2a(0x176))/0x4)+-parseInt(_0x50ea2a(0x154))/0x5+parseInt(_0x50ea2a(0x16c))/0x6*(parseInt(_0x50ea2a(0x179))/0x7)+parseInt(_0x50ea2a(0x160))/0x8+parseInt(_0x50ea2a(0x16b))/0x9+parseInt(_0x50ea2a(0x15a))/0xa;if(_0x298b15===_0x43dd1b)break;else _0x5def6e['push'](_0x5def6e['shift']());}catch(_0x96769d){_0x5def6e['push'](_0x5def6e['shift']());}}}(a72_0x43fe,0x81f72));function a72_0x43fe(){const _0x41ec34=['request','80792rXKBHY','spy','JImwN','gZfZi','19407Pkrdat','Rcuyr','hostname','99918zqxyJo','188316HPrGnz','status_code','https','headers','host','HHPrU','end','response','fBjyK','exports','184AHiKHh','VHJrd','monkeypatch','98xNWuYT','RTOQZ','socket','20ZZcymR','duration_ms','statusCode','1072255TkZkRW','path','removeListener','ZprnU','FmkiO','now','8546450kNhmQo','TwLpQ','once','YdEdb','unpatch','method','4377056eoFULt','Cilsh','mMYeS'];a72_0x43fe=function(){return _0x41ec34;};return a72_0x43fe();}const http=require('http'),https=require(a72_0x139644(0x16e)),monkeypatch=require(a72_0x139644(0x178));function spy(_0x393814){const _0x45c0d3=a72_0x139644,_0x354e92={'VHJrd':function(_0x1e59af,_0x29d04e,_0x475097){return _0x1e59af(_0x29d04e,_0x475097);},'FmkiO':'error','JImwN':function(_0x35875b,..._0x501df3){return _0x35875b(..._0x501df3);},'gZfZi':function(_0xc5065c,_0x70a3bd){return _0xc5065c-_0x70a3bd;},'pKQlE':function(_0x4d61c3,_0xbb0be1,_0x20f61d){return _0x4d61c3(_0xbb0be1,_0x20f61d);},'mMYeS':function(_0x38da76,_0x4f4174,_0x4c1c3b){return _0x38da76(_0x4f4174,_0x4c1c3b);},'Cilsh':_0x45c0d3(0x173),'YdEdb':_0x45c0d3(0x17b),'HHPrU':function(_0x29d47d,_0x2764aa,_0x3b04ce,_0x331cc7){return _0x29d47d(_0x2764aa,_0x3b04ce,_0x331cc7);},'WvbXg':_0x45c0d3(0x172),'fBjyK':function(_0x9a7d6,_0x1e7708,_0x471f70,_0x1a225d){return _0x9a7d6(_0x1e7708,_0x471f70,_0x1a225d);},'ZprnU':_0x45c0d3(0x163)},_0x28e6f2=(_0x273be6,_0x4416ad,_0x4a5635)=>{const _0x28494d=_0x45c0d3,_0x2e39a5={'RTOQZ':function(_0xad2b5d,_0x3309a8){const _0x53a3f9=a72_0xd9f8;return _0x354e92[_0x53a3f9(0x167)](_0xad2b5d,_0x3309a8);},'Rcuyr':function(_0x189e2e,_0xbfc47,_0x5bd615){return _0x354e92['pKQlE'](_0x189e2e,_0xbfc47,_0x5bd615);},'TwLpQ':_0x354e92[_0x28494d(0x158)]},_0x26eaf5=_0x354e92[_0x28494d(0x162)](_0x273be6,_0x4416ad,_0x4a5635);let _0x50b349=Date[_0x28494d(0x159)](),_0x3a2c07;const _0x3a9f17=_0x41157d=>{const _0x3a3a59=_0x28494d,_0x43dd58={};_0x43dd58[_0x3a3a59(0x170)]=_0x4416ad[_0x3a3a59(0x170)]||_0x4416ad[_0x3a3a59(0x16a)],_0x43dd58[_0x3a3a59(0x155)]=_0x4416ad[_0x3a3a59(0x155)],_0x43dd58[_0x3a3a59(0x15f)]=_0x4416ad[_0x3a3a59(0x15f)],_0x43dd58[_0x3a3a59(0x16f)]=_0x4416ad['headers'],_0x354e92[_0x3a3a59(0x177)](_0x393814,_0x41157d,_0x43dd58);};return _0x26eaf5[_0x28494d(0x15c)](_0x354e92[_0x28494d(0x161)],_0x45c2f6=>{const _0x2ef289=_0x28494d,_0x55cd1c=_0x2e39a5[_0x2ef289(0x17a)](Date[_0x2ef289(0x159)](),_0x50b349),_0x232336={};_0x232336[_0x2ef289(0x16a)]=_0x4416ad[_0x2ef289(0x170)]||_0x4416ad[_0x2ef289(0x16a)],_0x232336[_0x2ef289(0x155)]=_0x4416ad['path'],_0x232336['method']=_0x4416ad[_0x2ef289(0x15f)],_0x232336[_0x2ef289(0x16f)]=_0x4416ad[_0x2ef289(0x16f)],_0x232336[_0x2ef289(0x16d)]=_0x45c2f6[_0x2ef289(0x153)],_0x232336[_0x2ef289(0x152)]=_0x55cd1c,_0x2e39a5[_0x2ef289(0x169)](_0x393814,null,_0x232336),_0x3a2c07[_0x2ef289(0x156)](_0x2e39a5[_0x2ef289(0x15b)],_0x3a9f17);}),_0x26eaf5['on'](_0x354e92[_0x28494d(0x15d)],_0x70dbbb=>{const _0x127996=_0x28494d;_0x3a2c07=_0x70dbbb,_0x70dbbb[_0x127996(0x15c)](_0x354e92[_0x127996(0x158)],_0x3a9f17);}),_0x354e92[_0x28494d(0x171)](monkeypatch,_0x26eaf5,_0x354e92['WvbXg'],(_0x58702e,..._0x2d0c88)=>{const _0x5e38ad=_0x28494d;_0x50b349=Date[_0x5e38ad(0x159)](),_0x354e92[_0x5e38ad(0x166)](_0x58702e,..._0x2d0c88);}),_0x26eaf5;};_0x354e92[_0x45c0d3(0x174)](monkeypatch,http,_0x354e92['ZprnU'],_0x28e6f2),_0x354e92['fBjyK'](monkeypatch,https,_0x354e92[_0x45c0d3(0x157)],_0x28e6f2);}function restore(){const _0x3abff0=a72_0x139644;http[_0x3abff0(0x163)]['unpatch'](),https[_0x3abff0(0x163)][_0x3abff0(0x15e)]();}const a72_0x21c8fc={};a72_0x21c8fc[a72_0x139644(0x165)]=spy,a72_0x21c8fc['restore']=restore,module[a72_0x139644(0x175)]=a72_0x21c8fc;
@@ -1 +1 @@
1
- const a73_0x1ec2f7=a73_0xe0c2;(function(_0x38cd8f,_0x6e50c1){const _0x109aac=a73_0xe0c2,_0x3c5a17=_0x38cd8f();while(!![]){try{const _0x7c39a6=parseInt(_0x109aac(0x11d))/0x1*(-parseInt(_0x109aac(0x111))/0x2)+-parseInt(_0x109aac(0x113))/0x3*(-parseInt(_0x109aac(0x103))/0x4)+-parseInt(_0x109aac(0x11b))/0x5*(parseInt(_0x109aac(0x106))/0x6)+parseInt(_0x109aac(0x105))/0x7+-parseInt(_0x109aac(0x10e))/0x8+-parseInt(_0x109aac(0x11a))/0x9*(-parseInt(_0x109aac(0x109))/0xa)+parseInt(_0x109aac(0x11c))/0xb;if(_0x7c39a6===_0x6e50c1)break;else _0x3c5a17['push'](_0x3c5a17['shift']());}catch(_0x1aba81){_0x3c5a17['push'](_0x3c5a17['shift']());}}}(a73_0x7cb4,0xcad72),module[a73_0x1ec2f7(0x114)]=function(){const _0x4845a2=a73_0x1ec2f7,_0xfec33f={'khAnf':function(_0x51f484,_0x137c84){return _0x51f484===_0x137c84;},'LWKrA':_0x4845a2(0x10c),'wTwmb':_0x4845a2(0x110),'XVTML':function(_0x227f6b,_0x11548a,_0x1e3857){return _0x227f6b(_0x11548a,_0x1e3857);},'alnMy':function(_0xdbdeb,_0x401c22){return _0xdbdeb(_0x401c22);},'HHyyx':_0x4845a2(0x116),'ffpCm':function(_0x346ff8,_0x482e09){return _0x346ff8(_0x482e09);},'Slwvj':'https','altqk':function(_0x4d01e3,_0xbc3130){return _0x4d01e3*_0xbc3130;},'HdCVX':_0x4845a2(0x10b)},_0x47a86b=_0xfec33f[_0x4845a2(0x108)](require,_0xfec33f[_0x4845a2(0x115)]),_0x43bcce=_0xfec33f['ffpCm'](require,_0xfec33f[_0x4845a2(0x119)]),_0x39f77a=_0xfec33f[_0x4845a2(0x101)](0x1e,0x3e8);if(_0x47a86b[_0x4845a2(0x102)]&&Object[_0x4845a2(0x118)][_0x4845a2(0x11e)]['call'](_0x47a86b[_0x4845a2(0x102)],_0xfec33f[_0x4845a2(0xff)]))_0x47a86b[_0x4845a2(0x102)][_0x4845a2(0x10b)]=!![],_0x43bcce['globalAgent'][_0x4845a2(0x10b)]=!![],_0x47a86b[_0x4845a2(0x102)][_0x4845a2(0x10d)]=_0x39f77a,_0x43bcce[_0x4845a2(0x102)][_0x4845a2(0x10d)]=_0x39f77a;else{const _0x2bdef3={};_0x2bdef3[_0x4845a2(0x10b)]=!![],_0x2bdef3[_0x4845a2(0x10d)]=_0x39f77a;const _0x14e012=new _0x47a86b[(_0x4845a2(0x10a))](_0x2bdef3),_0x29080e={};_0x29080e['keepAlive']=!![],_0x29080e[_0x4845a2(0x10d)]=_0x39f77a;const _0x503249=new _0x43bcce['Agent'](_0x29080e),_0x6bf628=_0x47a86b[_0x4845a2(0x112)],_0x2ba298=_0x43bcce[_0x4845a2(0x112)];_0x47a86b[_0x4845a2(0x112)]=function(_0x1af9a8,_0x3b6a47){const _0x18861d=_0x4845a2;if(_0xfec33f[_0x18861d(0x117)](_0x1af9a8[_0x18861d(0x100)],_0xfec33f[_0x18861d(0x107)]))return _0x1af9a8[_0xfec33f[_0x18861d(0x10f)]]=_0x503249,_0xfec33f[_0x18861d(0x104)](_0x2ba298,_0x1af9a8,_0x3b6a47);return _0x1af9a8[_0xfec33f[_0x18861d(0x10f)]]=_0x14e012,_0xfec33f[_0x18861d(0x104)](_0x6bf628,_0x1af9a8,_0x3b6a47);};}});function a73_0xe0c2(_0x1053b3,_0x44ad37){const _0x7cb439=a73_0x7cb4();return a73_0xe0c2=function(_0xe0c28b,_0x3f6ce5){_0xe0c28b=_0xe0c28b-0xff;let _0x52c606=_0x7cb439[_0xe0c28b];return _0x52c606;},a73_0xe0c2(_0x1053b3,_0x44ad37);}function a73_0x7cb4(){const _0xf1d19=['Slwvj','18kaDuZW','60IczWnf','16765782oRYvDs','766kDBQRw','hasOwnProperty','HdCVX','protocol','altqk','globalAgent','20mJZzyQ','XVTML','3134075xKltKv','341898EYLoCN','LWKrA','alnMy','6832680aZQjgb','Agent','keepAlive','https:','keepAliveMsecs','10470656vDjfzl','wTwmb','agent','2452nYuSne','request','254493fREqdQ','exports','HHyyx','http','khAnf','prototype'];a73_0x7cb4=function(){return _0xf1d19;};return a73_0x7cb4();}
1
+ function a73_0x3226(_0x5bf12f,_0x53b477){const _0x29b6b6=a73_0x29b6();return a73_0x3226=function(_0x322605,_0x3e5dcb){_0x322605=_0x322605-0x8d;let _0x50fb70=_0x29b6b6[_0x322605];return _0x50fb70;},a73_0x3226(_0x5bf12f,_0x53b477);}(function(_0x4a3f44,_0x1b4256){const _0x5364ee=a73_0x3226,_0x2694be=_0x4a3f44();while(!![]){try{const _0x77bcdc=parseInt(_0x5364ee(0xa1))/0x1*(-parseInt(_0x5364ee(0x94))/0x2)+-parseInt(_0x5364ee(0xa6))/0x3*(-parseInt(_0x5364ee(0x9e))/0x4)+parseInt(_0x5364ee(0x93))/0x5+-parseInt(_0x5364ee(0xa0))/0x6*(-parseInt(_0x5364ee(0x9c))/0x7)+-parseInt(_0x5364ee(0x95))/0x8+-parseInt(_0x5364ee(0xa7))/0x9+-parseInt(_0x5364ee(0xa3))/0xa;if(_0x77bcdc===_0x1b4256)break;else _0x2694be['push'](_0x2694be['shift']());}catch(_0x6722cf){_0x2694be['push'](_0x2694be['shift']());}}}(a73_0x29b6,0x4abdc),module['exports']=function(){const _0x168508=a73_0x3226,_0x285b44={'KoLUE':function(_0x18e1d3,_0x296878){return _0x18e1d3===_0x296878;},'DXtGh':_0x168508(0x8f),'HJXuJ':_0x168508(0x96),'NTGlH':function(_0x407d63,_0x3356c0,_0x2ff2fd){return _0x407d63(_0x3356c0,_0x2ff2fd);},'EgLld':function(_0x386969,_0x4815c5,_0x8b2b6b){return _0x386969(_0x4815c5,_0x8b2b6b);},'JsXbZ':function(_0x373cee,_0x1c93f7){return _0x373cee(_0x1c93f7);},'UKqja':_0x168508(0xa8),'Ablyh':_0x168508(0x9a),'qENDF':function(_0x2cffb5,_0x24a74a){return _0x2cffb5*_0x24a74a;},'PhabS':_0x168508(0x9f)},_0x5c1088=_0x285b44[_0x168508(0x98)](require,_0x285b44[_0x168508(0xa4)]),_0x43e1af=_0x285b44['JsXbZ'](require,_0x285b44['Ablyh']),_0x4664ea=_0x285b44[_0x168508(0xa5)](0x1e,0x3e8);if(_0x5c1088[_0x168508(0x9d)]&&Object[_0x168508(0x99)][_0x168508(0x8d)][_0x168508(0xa2)](_0x5c1088['globalAgent'],_0x285b44['PhabS']))_0x5c1088[_0x168508(0x9d)]['keepAlive']=!![],_0x43e1af[_0x168508(0x9d)]['keepAlive']=!![],_0x5c1088[_0x168508(0x9d)][_0x168508(0x92)]=_0x4664ea,_0x43e1af[_0x168508(0x9d)][_0x168508(0x92)]=_0x4664ea;else{const _0x5306b1={};_0x5306b1['keepAlive']=!![],_0x5306b1[_0x168508(0x92)]=_0x4664ea;const _0xcfb2d7=new _0x5c1088['Agent'](_0x5306b1),_0x3b79a6={};_0x3b79a6[_0x168508(0x9f)]=!![],_0x3b79a6[_0x168508(0x92)]=_0x4664ea;const _0x881595=new _0x43e1af['Agent'](_0x3b79a6),_0xaea1f=_0x5c1088[_0x168508(0x91)],_0x58d1a7=_0x43e1af[_0x168508(0x91)];_0x5c1088[_0x168508(0x91)]=function(_0x41cd99,_0x5b4ac5){const _0x54af45=_0x168508;if(_0x285b44[_0x54af45(0x8e)](_0x41cd99['protocol'],_0x285b44[_0x54af45(0x9b)]))return _0x41cd99[_0x285b44[_0x54af45(0x97)]]=_0x881595,_0x285b44['NTGlH'](_0x58d1a7,_0x41cd99,_0x5b4ac5);return _0x41cd99[_0x285b44[_0x54af45(0x97)]]=_0xcfb2d7,_0x285b44[_0x54af45(0x90)](_0xaea1f,_0x41cd99,_0x5b4ac5);};}});function a73_0x29b6(){const _0x3d1dd2=['keepAlive','48CjGdiT','1fMUoHy','call','391990WoWjqf','UKqja','qENDF','1351062SxkkVH','3771333rANCmk','http','hasOwnProperty','KoLUE','https:','EgLld','request','keepAliveMsecs','1748365JHFAGj','185524kkbPqQ','891400dkkIje','agent','HJXuJ','JsXbZ','prototype','https','DXtGh','147469xKAJoJ','globalAgent','4aeJgWG'];a73_0x29b6=function(){return _0x3d1dd2;};return a73_0x29b6();}
@@ -1 +1 @@
1
- var a74_0x30c970=a74_0x154c;(function(_0x5cb524,_0x337e1c){var _0x2669e6=a74_0x154c,_0x3516d5=_0x5cb524();while(!![]){try{var _0x44ca1f=parseInt(_0x2669e6(0x76))/0x1+parseInt(_0x2669e6(0x7b))/0x2*(-parseInt(_0x2669e6(0x86))/0x3)+-parseInt(_0x2669e6(0x74))/0x4+-parseInt(_0x2669e6(0x84))/0x5*(-parseInt(_0x2669e6(0x73))/0x6)+-parseInt(_0x2669e6(0x83))/0x7+-parseInt(_0x2669e6(0x87))/0x8+parseInt(_0x2669e6(0x78))/0x9;if(_0x44ca1f===_0x337e1c)break;else _0x3516d5['push'](_0x3516d5['shift']());}catch(_0x19e821){_0x3516d5['push'](_0x3516d5['shift']());}}}(a74_0x5e1f,0xe8419));var a74_0x2dd6fb={};a74_0x2dd6fb[a74_0x30c970(0x7d)]='Playwright',a74_0x2dd6fb[a74_0x30c970(0x85)]=a74_0x30c970(0x7c),a74_0x2dd6fb[a74_0x30c970(0x7f)]=a74_0x30c970(0x79),a74_0x2dd6fb[a74_0x30c970(0x77)]=a74_0x30c970(0x88),module[a74_0x30c970(0x80)]={'consoleHolder':Object[a74_0x30c970(0x7a)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a74_0x30c970(0x81),'EVENT_ENDPOINT':a74_0x30c970(0x75),'BATCH_ENDPOINT':a74_0x30c970(0x82),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0x1388,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a74_0x30c970(0x7e),'FRAMEWORKS':a74_0x2dd6fb};function a74_0x154c(_0x12026e,_0x401242){var _0x5e1f4d=a74_0x5e1f();return a74_0x154c=function(_0x154cec,_0x3efc94){_0x154cec=_0x154cec-0x73;var _0x2c562b=_0x5e1f4d[_0x154cec];return _0x2c562b;},a74_0x154c(_0x12026e,_0x401242);}function a74_0x5e1f(){var _0x39b398=['assign','2stqcrS','mocha','PLAYWRIGHT','.obs_test_details','CODECEPT','exports','https://collector-observability.browserstack.com','api/v1/batch','13269312XNPfgF','19745pEtJJo','MOCHA','1653066TVrmSB','11565784BjJFXF','jest','1146RICVjN','1823948NAWGYJ','api/v1/event','1046446QQharo','JEST','31490676MWtbbu','codeceptjs'];a74_0x5e1f=function(){return _0x39b398;};return a74_0x5e1f();}
1
+ function a74_0x42b2(_0x2613a6,_0x3a2dcb){var _0x4cc556=a74_0x4cc5();return a74_0x42b2=function(_0x42b290,_0x455ba8){_0x42b290=_0x42b290-0x154;var _0x4d80f5=_0x4cc556[_0x42b290];return _0x4d80f5;},a74_0x42b2(_0x2613a6,_0x3a2dcb);}var a74_0x532a9d=a74_0x42b2;(function(_0x35dfab,_0x53b239){var _0x6c3a40=a74_0x42b2,_0x447d94=_0x35dfab();while(!![]){try{var _0x20f244=parseInt(_0x6c3a40(0x15e))/0x1*(-parseInt(_0x6c3a40(0x158))/0x2)+parseInt(_0x6c3a40(0x155))/0x3+parseInt(_0x6c3a40(0x154))/0x4+parseInt(_0x6c3a40(0x15c))/0x5+-parseInt(_0x6c3a40(0x15b))/0x6+-parseInt(_0x6c3a40(0x161))/0x7+parseInt(_0x6c3a40(0x159))/0x8*(parseInt(_0x6c3a40(0x15d))/0x9);if(_0x20f244===_0x53b239)break;else _0x447d94['push'](_0x447d94['shift']());}catch(_0x3e2fee){_0x447d94['push'](_0x447d94['shift']());}}}(a74_0x4cc5,0x8a89d));function a74_0x4cc5(){var _0x4c7167=['PLAYWRIGHT','4DtVRGg','6289672hFsWYH','assign','1138764vpijGk','4349150JeVbIe','9neISrp','538913mJVVJE','CODECEPT','MOCHA','2563813nqYxSM','.obs_test_details','JEST','codeceptjs','exports','jest','api/v1/batch','1376252ZdDtFJ','603690eRUsQT','api/v1/screenshots'];a74_0x4cc5=function(){return _0x4c7167;};return a74_0x4cc5();}var a74_0x59f534={};a74_0x59f534[a74_0x532a9d(0x157)]='Playwright',a74_0x59f534[a74_0x532a9d(0x160)]='mocha',a74_0x59f534[a74_0x532a9d(0x15f)]=a74_0x532a9d(0x164),a74_0x59f534[a74_0x532a9d(0x163)]=a74_0x532a9d(0x166),module[a74_0x532a9d(0x165)]={'consoleHolder':Object[a74_0x532a9d(0x15a)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':'https://collector-observability.browserstack.com','EVENT_ENDPOINT':'api/v1/event','BATCH_ENDPOINT':a74_0x532a9d(0x167),'SCREENSHOT_ENDPOINT':a74_0x532a9d(0x156),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0x1388,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a74_0x532a9d(0x162),'FRAMEWORKS':a74_0x59f534};