browserstack-node-sdk 1.33.5 → 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_0x41a48e=a62_0x3e39;(function(_0x3a2180,_0x17978a){const _0x2becd3=a62_0x3e39,_0x4e3ef5=_0x3a2180();while(!![]){try{const _0x2de1bf=parseInt(_0x2becd3(0x1bf))/0x1+parseInt(_0x2becd3(0x1c4))/0x2*(-parseInt(_0x2becd3(0x1cb))/0x3)+parseInt(_0x2becd3(0x1dc))/0x4*(parseInt(_0x2becd3(0x1c7))/0x5)+-parseInt(_0x2becd3(0x1cd))/0x6+parseInt(_0x2becd3(0x1d5))/0x7*(parseInt(_0x2becd3(0x1c5))/0x8)+parseInt(_0x2becd3(0x1cf))/0x9+-parseInt(_0x2becd3(0x1c6))/0xa*(-parseInt(_0x2becd3(0x1dd))/0xb);if(_0x2de1bf===_0x17978a)break;else _0x4e3ef5['push'](_0x4e3ef5['shift']());}catch(_0xd8265c){_0x4e3ef5['push'](_0x4e3ef5['shift']());}}}(a62_0x43e0,0x95aad));const winston=require(a62_0x41a48e(0x1be)),os=require('os'),fs=require('fs'),path=require('path'),logDir='log';!fs['existsSync'](logDir)&&fs[a62_0x41a48e(0x1d2)](logDir);const a62_0x5a5131={};a62_0x5a5131[a62_0x41a48e(0x1de)]=a62_0x41a48e(0x1c1);const transports={'loggerConsole':new winston[(a62_0x41a48e(0x1c9))][(a62_0x41a48e(0x1bd))](a62_0x5a5131),'loggerFile':new winston[(a62_0x41a48e(0x1c9))][(a62_0x41a48e(0x1db))]({'filename':path[a62_0x41a48e(0x1d6)](logDir,'/usage.log')}),'debugLoggerFile':new winston[(a62_0x41a48e(0x1c9))]['File']({'filename':path[a62_0x41a48e(0x1d6)](logDir,'/usage-debug.log'),'level':a62_0x41a48e(0x1d8)})},a62_0x3ebd57={};a62_0x3ebd57[a62_0x41a48e(0x1c2)]=a62_0x41a48e(0x1c0);const a62_0x280fce={};a62_0x280fce[a62_0x41a48e(0x1df)]=!![];const winstonLoggerParams={'format':winston['format'][a62_0x41a48e(0x1ce)](winston[a62_0x41a48e(0x1c2)][a62_0x41a48e(0x1c3)](a62_0x3ebd57),winston[a62_0x41a48e(0x1c2)][a62_0x41a48e(0x1d1)](a62_0x280fce),winston[a62_0x41a48e(0x1c2)]['printf'](_0x364fb7=>_0x364fb7[a62_0x41a48e(0x1c3)]+'\x20-\x20'+_0x364fb7[a62_0x41a48e(0x1df)]+':\x20'+_0x364fb7[a62_0x41a48e(0x1ca)])),'transports':[transports[a62_0x41a48e(0x1d3)],transports['loggerFile'],transports['debugLoggerFile']]},a62_0x1a6fba={};a62_0x1a6fba[a62_0x41a48e(0x1c2)]=a62_0x41a48e(0x1c0);const a62_0x7fa65d={};function a62_0x43e0(){const _0x365059=['console.info','format','timestamp','2siiAHY','2032xefFbt','10tidwmB','5EstJcg','debugLoggerFile','transports','message','334902nbnrdD','printf','6903930EjjEhk','combine','2697786wjlzLt','createLogger','colorize','mkdirSync','loggerConsole','fileLogger','22358WhmayH','join','loggerFile','silly','logDir','winstonLogger','File','1647872OZGmlb','3145417RYWspf','name','level','Console','winston','66381QKEbzH','YYYY-MM-DD\x20HH:mm:ss'];a62_0x43e0=function(){return _0x365059;};return a62_0x43e0();}function a62_0x3e39(_0x19ed51,_0x4d181c){const _0x43e055=a62_0x43e0();return a62_0x3e39=function(_0x3e395f,_0x5876dd){_0x3e395f=_0x3e395f-0x1bd;let _0xd4affc=_0x43e055[_0x3e395f];return _0xd4affc;},a62_0x3e39(_0x19ed51,_0x4d181c);}a62_0x7fa65d[a62_0x41a48e(0x1df)]=!![];const winstonFileLoggerParams={'format':winston[a62_0x41a48e(0x1c2)][a62_0x41a48e(0x1ce)](winston[a62_0x41a48e(0x1c2)]['timestamp'](a62_0x1a6fba),winston[a62_0x41a48e(0x1c2)]['colorize'](a62_0x7fa65d),winston['format'][a62_0x41a48e(0x1cc)](_0x42bf86=>_0x42bf86[a62_0x41a48e(0x1df)]+':\x20'+_0x42bf86[a62_0x41a48e(0x1ca)])),'transports':[transports[a62_0x41a48e(0x1d7)],transports[a62_0x41a48e(0x1c8)]]};exports[a62_0x41a48e(0x1da)]=new winston['createLogger'](winstonLoggerParams),exports[a62_0x41a48e(0x1d4)]=new winston[(a62_0x41a48e(0x1d0))](winstonFileLoggerParams),exports[a62_0x41a48e(0x1d9)]=logDir,exports[a62_0x41a48e(0x1c9)]=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
- var a63_0x2e0a3f=a63_0x506b;function a63_0x506b(_0x43798c,_0x32e978){var _0x141bf7=a63_0x141b();return a63_0x506b=function(_0x506bd7,_0x3ea0b2){_0x506bd7=_0x506bd7-0x124;var _0x25bdd3=_0x141bf7[_0x506bd7];return _0x25bdd3;},a63_0x506b(_0x43798c,_0x32e978);}function a63_0x141b(){var _0xe4157=['JFFRJ','BaLbd','TEST_SCREENSHOT','52ZdZlas','IdtiM','emit','bs:addLog:','toISOString','OewzJ','2376822BuUYis','LnkYx','32EpvmbM','initQuit','then','initScreenshot','hTtht','env','1|3|0|2|5|4','true','6235530lKnhNs','overrideTakeScreenshot','zKVXD','BS_TESTOPS_ALLOW_SCREENSHOTS','71684KzAkCc','18qPVeaf','133953GxjHZP','overrideQuit','quit','udBSf','tKZvc','patchScreenshot','FTfGS','248454QBJufk','quitCount_','takeScreenshot','split','2386527rqnbfW','XxLii','359282HiouNQ','nYVup','patchQuit','150CFvWZS','xJVuI'];a63_0x141b=function(){return _0xe4157;};return a63_0x141b();}(function(_0x177bef,_0x2851cd){var _0xccdb7d=a63_0x506b,_0x597917=_0x177bef();while(!![]){try{var _0x5af22e=-parseInt(_0xccdb7d(0x127))/0x1+parseInt(_0xccdb7d(0x136))/0x2+-parseInt(_0xccdb7d(0x129))/0x3*(parseInt(_0xccdb7d(0x13e))/0x4)+-parseInt(_0xccdb7d(0x14e))/0x5+parseInt(_0xccdb7d(0x128))/0x6*(-parseInt(_0xccdb7d(0x144))/0x7)+-parseInt(_0xccdb7d(0x146))/0x8*(-parseInt(_0xccdb7d(0x130))/0x9)+-parseInt(_0xccdb7d(0x139))/0xa*(-parseInt(_0xccdb7d(0x134))/0xb);if(_0x5af22e===_0x2851cd)break;else _0x597917['push'](_0x597917['shift']());}catch(_0x5d8f6c){_0x597917['push'](_0x597917['shift']());}}}(a63_0x141b,0x98f61),exports[a63_0x2e0a3f(0x124)]=_0x42103d=>{var _0x5b44bb=a63_0x2e0a3f,_0x51239d={'tKZvc':_0x5b44bb(0x14c),'OewzJ':_0x5b44bb(0x13d),'zovJc':function(_0x1dae60,_0x3abb51){return _0x1dae60(_0x3abb51);},'hTtht':function(_0x4e6639,_0x1aa08f){return _0x4e6639!==_0x1aa08f;},'LnkYx':_0x5b44bb(0x14d)},_0x56c9d2=_0x51239d[_0x5b44bb(0x12d)][_0x5b44bb(0x133)]('|'),_0x3815da=0x0;while(!![]){switch(_0x56c9d2[_0x3815da++]){case'0':if(_0x42103d[_0x5b44bb(0x12e)])return;continue;case'1':var _0x154d69={'Iqmcf':_0x51239d[_0x5b44bb(0x143)],'IdtiM':function(_0x51113f,_0x158c54){return _0x51239d['zovJc'](_0x51113f,_0x158c54);}};continue;case'2':_0x42103d[_0x5b44bb(0x12e)]=!![];continue;case'3':if(_0x51239d[_0x5b44bb(0x14a)](process[_0x5b44bb(0x14b)][_0x5b44bb(0x126)],_0x51239d[_0x5b44bb(0x145)]))return;continue;case'4':_0x42103d[_0x5b44bb(0x132)]=()=>{return new Promise(function(_0x2e6eb5,_0x34d2c2){var _0x2b0329=a63_0x506b,_0x250243={'edPYT':_0x154d69['Iqmcf'],'udBSf':function(_0x1f8df1,_0x5e3889){var _0x5c154a=a63_0x506b;return _0x154d69[_0x5c154a(0x13f)](_0x1f8df1,_0x5e3889);}};_0x42103d[_0x2b0329(0x149)]()[_0x2b0329(0x148)](_0x5baa80=>{var _0x365b5b=_0x2b0329;process[_0x365b5b(0x140)](_0x365b5b(0x141)+process['pid'],{'timestamp':new Date()[_0x365b5b(0x142)](),'message':_0x5baa80,'kind':_0x250243['edPYT']}),_0x250243[_0x365b5b(0x12c)](_0x2e6eb5,_0x5baa80);});});};continue;case'5':_0x42103d['initScreenshot']=_0x42103d[_0x5b44bb(0x132)];continue;}break;}},exports[a63_0x2e0a3f(0x12a)]=(_0x46421d,_0x4dd37e=null)=>{var _0x787884=a63_0x2e0a3f,_0x4737cb={'FTfGS':'4|0|3|2|1','zKVXD':function(_0x7f1c42){return _0x7f1c42();},'xJVuI':function(_0x542ccf,_0x17bc41){return _0x542ccf>_0x17bc41;},'nYVup':function(_0x53f93d,_0x44894d){return _0x53f93d>_0x44894d;}},_0x215758=_0x4737cb[_0x787884(0x12f)][_0x787884(0x133)]('|'),_0x394e01=0x0;while(!![]){switch(_0x215758[_0x394e01++]){case'0':if(_0x46421d[_0x787884(0x138)])return;continue;case'1':_0x46421d[_0x787884(0x12b)]=()=>{var _0x39600e=_0x787884;if(_0x4dd37e){_0x4dd37e['quitCount_']+=0x1;if(_0x51c366[_0x39600e(0x135)](_0x4dd37e['quitCount_'],0x1))return _0x46421d[_0x39600e(0x147)]();}else{_0x46421d[_0x39600e(0x131)]+=0x1;if(_0x51c366[_0x39600e(0x13b)](_0x46421d[_0x39600e(0x131)],0x1))return _0x46421d['initQuit']();}return new Promise(function(_0x181c33){var _0x433388=_0x39600e;_0x51c366[_0x433388(0x13c)](_0x181c33);});};continue;case'2':_0x46421d[_0x787884(0x147)]=_0x46421d[_0x787884(0x12b)];continue;case'3':_0x46421d[_0x787884(0x138)]=!![];continue;case'4':var _0x51c366={'BaLbd':function(_0x49896a){var _0x7abfae=_0x787884;return _0x4737cb[_0x7abfae(0x125)](_0x49896a);},'XxLii':function(_0x2a6793,_0x4166e5){var _0x140d07=_0x787884;return _0x4737cb[_0x140d07(0x13a)](_0x2a6793,_0x4166e5);},'JFFRJ':function(_0x2e997f,_0x9b48b4){var _0x405761=_0x787884;return _0x4737cb[_0x405761(0x137)](_0x2e997f,_0x9b48b4);}};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_0x2c71ec=a64_0xed13;function a64_0x5b7b(){const _0x161b30=['nodeRequest','app:exec','isProcessRunning','uqPht','stderr','data','Percy\x20config\x20created\x20at\x20','healthcheck','fetchPercyToken','GET','exec:stop','env','getBinaryPath','close','upyQM','debug','veTgb','../../helpers/testhub/constants','10EKlfgx','pipe','percyOptions','percy.json','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','version','PERCY_SERVER_ADDRESS','1977225yppnZw','tmpdir','exec','http://localhost:5338','createPercyConfig','awTsL','createWriteStream','Percy\x20fetch\x20token\x20success','uHsoM','FTgtU','10031193tdoCNq','&type=','hZLIE','tWvKZ','stdout','504088BrloVJ',':start','XbLQN','wykDF','Percy\x20healthcheck\x20successful','50169mpdHkj','percy/healthcheck','path','QUAfA','RuTIU','JiLSU','percy.log','error','../logger','8pWALac','child_process','ENV_VAR','4668252naNgzA','flags','projectName','BROWSERSTACK_TESTHUB_UUID','push','winstonLogger','xxUUq','VuAej','start','../helper','4525073JhoLtl','app','2839000aUsVIP','exports','assign','VulAi','xlAEx','writeFile'];a64_0x5b7b=function(){return _0x161b30;};return a64_0x5b7b();}(function(_0x134bfc,_0x5b5bb4){const _0x567247=a64_0xed13,_0x5b7cf0=_0x134bfc();while(!![]){try{const _0x194e41=parseInt(_0x567247(0x10c))/0x1+-parseInt(_0x567247(0xf6))/0x2*(-parseInt(_0x567247(0x111))/0x3)+parseInt(_0x567247(0xde))/0x4+parseInt(_0x567247(0xfd))/0x5+-parseInt(_0x567247(0x11d))/0x6+parseInt(_0x567247(0xdc))/0x7*(parseInt(_0x567247(0x11a))/0x8)+-parseInt(_0x567247(0x107))/0x9;if(_0x194e41===_0x5b5bb4)break;else _0x5b7cf0['push'](_0x5b7cf0['shift']());}catch(_0x599b28){_0x5b7cf0['push'](_0x5b7cf0['shift']());}}}(a64_0x5b7b,0x6d0fe));const fs=require('fs'),path=require(a64_0x2c71ec(0x113)),os=require('os'),{spawn}=require(a64_0x2c71ec(0x11b)),helper=require(a64_0x2c71ec(0xdb)),logger=require(a64_0x2c71ec(0x119))[a64_0x2c71ec(0x122)],{logDir}=require(a64_0x2c71ec(0x119)),testHubConstants=require(a64_0x2c71ec(0xf5)),PercyBinary=require('./PercyBinary');class Percy{#logfile=path['join'](logDir,a64_0x2c71ec(0x117));#address=process[a64_0x2c71ec(0xef)][a64_0x2c71ec(0xfc)]||a64_0x2c71ec(0x100);#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x15f0db){const _0x3dd6c4=a64_0x2c71ec;this.#config=_0x15f0db,!!_0x15f0db[_0x3dd6c4(0xdd)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x2dbfee=a64_0x2c71ec;if(!this.#binaryPath){const _0x40e01d=new PercyBinary();this.#binaryPath=await _0x40e01d[_0x2dbfee(0xf0)](this.#config);}return this.#binaryPath;}async #sleep(_0x441756){return new Promise(_0x5cdbf1=>setTimeout(_0x5cdbf1,_0x441756));}async['healthcheck'](){const _0x5ea6b9=a64_0x2c71ec,_0x284fee={};_0x284fee[_0x5ea6b9(0xe2)]=_0x5ea6b9(0xed),_0x284fee[_0x5ea6b9(0x106)]=_0x5ea6b9(0x112);const _0x36dfce=_0x284fee;try{const _0x988ad6=await helper[_0x5ea6b9(0xe4)](_0x36dfce[_0x5ea6b9(0xe2)],_0x36dfce[_0x5ea6b9(0x106)],null,null,this.#address);if(_0x988ad6)return!![];}catch(_0x59c082){return![];}}async[a64_0x2c71ec(0xda)](){const _0x4f861e=a64_0x2c71ec,_0x11e603={'XLLtc':_0x4f861e(0xe5),'RuTIU':_0x4f861e(0xff),'SlUYI':function(_0x12efa6,_0x26e265,_0x15c110,_0x2b1169){return _0x12efa6(_0x26e265,_0x15c110,_0x2b1169);},'QUAfA':_0x4f861e(0xf1),'COjxC':_0x4f861e(0x110)},_0x397067=await this.#getBinaryPath(),_0x40e4fd={};_0x40e4fd[_0x4f861e(0x11e)]='a';const _0x4bb784=fs[_0x4f861e(0x103)](this.#logfile,_0x40e4fd),_0xe366a8=await this[_0x4f861e(0xec)](),_0x3ca69e=await this['createPercyConfig']();if(!_0xe366a8)return![];const _0x1df7f8=[(this.#isApp?_0x11e603['XLLtc']:_0x11e603[_0x4f861e(0x115)])+_0x4f861e(0x10d)];_0x3ca69e&&_0x1df7f8[_0x4f861e(0x121)]('-c',_0x3ca69e);this.#proc=_0x11e603['SlUYI'](spawn,_0x397067,_0x1df7f8,{'env':Object[_0x4f861e(0xe0)](process[_0x4f861e(0xef)],{'PERCY_TOKEN':_0xe366a8,'TH_BUILD_UUID':process[_0x4f861e(0xef)][testHubConstants[_0x4f861e(0x11c)][_0x4f861e(0x120)]]})}),this.#proc[_0x4f861e(0x10b)][_0x4f861e(0xf7)](_0x4bb784),this.#proc[_0x4f861e(0xe8)][_0x4f861e(0xf7)](_0x4bb784),this['isProcessRunning']=!![];var _0x33093f=this;this.#proc['on'](_0x11e603[_0x4f861e(0x114)],function(_0x347fe0){const _0x6fe156=_0x4f861e;_0x33093f[_0x6fe156(0xe6)]=![];});do{const _0x58d969=await this[_0x4f861e(0xeb)]();if(_0x58d969)return logger[_0x4f861e(0xf3)](_0x11e603['COjxC']),!![];await this.#sleep(0x3e8);}while(this[_0x4f861e(0xe6)]);return![];}async['stop'](){const _0x4b4efc=a64_0x2c71ec,_0x5b098f={'upyQM':function(_0x45106b,_0x58ffd7){return _0x45106b(_0x58ffd7);},'veTgb':function(_0x19ac9e,_0x358899,_0x52cce3){return _0x19ac9e(_0x358899,_0x52cce3);},'tWvKZ':_0x4b4efc(0xee),'fPySe':_0x4b4efc(0xf1)},_0x447260=await this.#getBinaryPath();return new Promise((_0x51200b,_0x225727)=>{const _0x1c62ff=_0x4b4efc,_0x329fde={'JiLSU':function(_0x20bf03,_0xc3ba2d){const _0x52aff3=a64_0xed13;return _0x5b098f[_0x52aff3(0xf2)](_0x20bf03,_0xc3ba2d);}},_0x5d0474=_0x5b098f[_0x1c62ff(0xf4)](spawn,_0x447260,[_0x5b098f[_0x1c62ff(0x10a)]]);_0x5d0474['on'](_0x5b098f['fPySe'],_0x3f5c98=>{const _0x21b29f=_0x1c62ff;this[_0x21b29f(0xe6)]=![],_0x329fde[_0x21b29f(0x116)](_0x51200b,_0x3f5c98);});});}['isRunning'](){const _0x421ddf=a64_0x2c71ec;return this[_0x421ddf(0xe6)];}async[a64_0x2c71ec(0xec)](){const _0x740cdc=a64_0x2c71ec,_0x13e85f={};_0x13e85f[_0x740cdc(0x109)]='app',_0x13e85f[_0x740cdc(0x102)]='automate',_0x13e85f[_0x740cdc(0xe1)]=_0x740cdc(0xed),_0x13e85f[_0x740cdc(0xd8)]=_0x740cdc(0x104);const _0x386a69=_0x13e85f,_0x16d277=this.#config[_0x740cdc(0x11f)];try{const _0x29cd4d=this.#isApp?_0x386a69['hZLIE']:_0x386a69['awTsL'],_0xf2d700=await helper[_0x740cdc(0xe4)](_0x386a69[_0x740cdc(0xe1)],'api/app_percy/get_project_token?name='+_0x16d277+_0x740cdc(0x108)+_0x29cd4d,{},this.#config),_0x12425d=_0xf2d700[_0x740cdc(0xe9)];return logger[_0x740cdc(0xf3)](_0x386a69[_0x740cdc(0xd8)]),_0x12425d['token'];}catch(_0x47104a){return logger[_0x740cdc(0x118)](_0x740cdc(0xfa)+_0x47104a),null;}}async[a64_0x2c71ec(0x101)](){const _0x11d69d=a64_0x2c71ec,_0x13d614={'uHsoM':function(_0x25142e,_0xd3a5d6){return _0x25142e(_0xd3a5d6);},'wykDF':function(_0x514f29,_0x110b20){return _0x514f29+_0x110b20;},'VuAej':_0x11d69d(0xea),'XbLQN':function(_0x5c0c50,_0x1442af){return _0x5c0c50(_0x1442af);},'uqPht':_0x11d69d(0xf9)};if(!this.#config[_0x11d69d(0xf8)])return null;const _0x5dd00c=path['join'](os[_0x11d69d(0xfe)](),_0x13d614[_0x11d69d(0xe7)]),_0x546329=this.#config[_0x11d69d(0xf8)];return!_0x546329[_0x11d69d(0xfb)]&&(_0x546329[_0x11d69d(0xfb)]='2'),new Promise((_0x274f2c,_0x617270)=>{const _0x5c9906=_0x11d69d;fs[_0x5c9906(0xe3)](_0x5dd00c,JSON['stringify'](_0x546329),_0x4a01b3=>{const _0x4ecce8=_0x5c9906;_0x4a01b3&&(logger[_0x4ecce8(0x118)]('Error\x20creating\x20percy\x20config:\x20'+_0x4a01b3),_0x13d614[_0x4ecce8(0x105)](_0x274f2c,null)),logger['debug'](_0x13d614[_0x4ecce8(0x10f)](_0x13d614[_0x4ecce8(0xd9)],_0x5dd00c)),_0x13d614[_0x4ecce8(0x10e)](_0x274f2c,_0x5dd00c);});});}}function a64_0xed13(_0x5358e8,_0xbd5d08){const _0x5b7bac=a64_0x5b7b();return a64_0xed13=function(_0xed1332,_0x510474){_0xed1332=_0xed1332-0xd8;let _0x1a18c1=_0x5b7bac[_0xed1332];return _0x1a18c1;},a64_0xed13(_0x5358e8,_0xbd5d08);}module[a64_0x2c71ec(0xdf)]=Percy;
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_0x489e3d=a65_0x8b59;(function(_0x25d04b,_0x343119){const _0x3e9a5e=a65_0x8b59,_0x11e6ae=_0x25d04b();while(!![]){try{const _0x433437=parseInt(_0x3e9a5e(0x254))/0x1+parseInt(_0x3e9a5e(0x25d))/0x2*(-parseInt(_0x3e9a5e(0x250))/0x3)+-parseInt(_0x3e9a5e(0x23d))/0x4*(-parseInt(_0x3e9a5e(0x1db))/0x5)+-parseInt(_0x3e9a5e(0x261))/0x6+-parseInt(_0x3e9a5e(0x1fb))/0x7*(-parseInt(_0x3e9a5e(0x20e))/0x8)+parseInt(_0x3e9a5e(0x229))/0x9*(-parseInt(_0x3e9a5e(0x23e))/0xa)+-parseInt(_0x3e9a5e(0x247))/0xb;if(_0x433437===_0x343119)break;else _0x11e6ae['push'](_0x11e6ae['shift']());}catch(_0x5cae40){_0x11e6ae['push'](_0x11e6ae['shift']());}}}(a65_0x5f5a,0x6dc78));function a65_0x5f5a(){const _0x392d67=['3swSAtP','EZUmk','AYGBt','XLkUo','505923hqHAEA','/home/','homedir','length','proxyPort','esvtp','pipe','xosgO','GwIcV','58472AuEZKM','mkdirSync','../logger','data','1588128bnpdFf','uQfAo','ywJMs','LNAME','win32','createWriteStream','ReXXz','HeQEu','lazyEntries','readEntry','kPdcQ','fileName','145hMkhks','stdout','IsHDx','W_OK','test','USERNAME','0755','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','jERLL','--version','wGwal','jcgEd','rdhKB','YEmSu','HOMEDRIVE','statSync','HOMEPATH','/Users/','QWkby','EKboF','Ffbvj','percy.exe','DqFAL','X_OK','/percy-win.zip','AODXl','Axbhd','cBlBx','YDcXr','undefined','KZKwW','url','22953nuuYkt','xpYXF','bleZP','NXHWH','XJjkR','xOlJu','validateBinary','open','child_process','match','YYmvJ','host','eATFi','kWlbb','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','YfzHm','hAGQH','join','svdpx','824zNnJkF','iyNVy','once','proxyHost','entry','sGwxN','get','nglRV','QHDnf','nOWVT','platform','parse','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','useCaCertificate','.browserstack','YxYLO','ldupT','ZFYsf','rvHJQ','winstonLogger','percy','yauzl','download','follow-redirects','WeKhE','umYhq','RzdvM','592533TkJYIc','EGahA','hcaLh','close','HYJCe','LaiTp','https://github.com/percy/cli/releases/latest/download','TuvWx','darwin','PLNRp','wGwDU','awpXG','ALPWt','rNCQf','chmod','.zip','NKiJc','error','cRsXt','/percy-osx.zip','29852yBepYG','30IvOhMj','USERPROFILE','end','yzxEg','accessSync','agent','IiMtG','UJbwm','xKxmD','1308956TjyikB','rAIhb','pPArI','NFnIv','Error\x20trying\x20to\x20download\x20percy\x20binary','djwPO','/percy-linux.zip','getuid','HOME'];a65_0x5f5a=function(){return _0x392d67;};return a65_0x5f5a();}function a65_0x8b59(_0x49960d,_0x1331d7){const _0x5f5a34=a65_0x5f5a();return a65_0x8b59=function(_0x8b597f,_0x80b7c4){_0x8b597f=_0x8b597f-0x1d9;let _0x5b80c4=_0x5f5a34[_0x8b597f];return _0x5b80c4;},a65_0x8b59(_0x49960d,_0x1331d7);}const {https}=require(a65_0x489e3d(0x225)),url=require(a65_0x489e3d(0x1fa)),yauzl=require(a65_0x489e3d(0x223)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a65_0x489e3d(0x203)),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a65_0x489e3d(0x25f))[a65_0x489e3d(0x221)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a65_0x489e3d(0x222);#orderedPaths=[path[a65_0x489e3d(0x20c)](this.#homedir(),a65_0x489e3d(0x21c)),process['cwd'](),os['tmpdir']()];constructor(){const _0x185eda=a65_0x489e3d,_0x4cd62a={};_0x4cd62a[_0x185eda(0x234)]=_0x185eda(0x22f),_0x4cd62a[_0x185eda(0x249)]=function(_0x203566,_0x4bec77){return _0x203566+_0x4bec77;},_0x4cd62a[_0x185eda(0x267)]=_0x185eda(0x23c),_0x4cd62a[_0x185eda(0x245)]=function(_0x19d428,_0x2ec51d){return _0x19d428+_0x2ec51d;},_0x4cd62a[_0x185eda(0x21f)]=_0x185eda(0x1f3),_0x4cd62a[_0x185eda(0x1e8)]=_0x185eda(0x1f0),_0x4cd62a['LaiTp']=function(_0x346fc8,_0x59c1ed){return _0x346fc8+_0x59c1ed;},_0x4cd62a['EGahA']=_0x185eda(0x24d);const _0x2fa3a9=_0x4cd62a,_0x37df77=_0x2fa3a9[_0x185eda(0x234)];if(this.#hostOS[_0x185eda(0x204)](/darwin|mac os/i))this.#httpPath=_0x2fa3a9[_0x185eda(0x249)](_0x37df77,_0x2fa3a9[_0x185eda(0x267)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x2fa3a9[_0x185eda(0x245)](_0x37df77,_0x2fa3a9[_0x185eda(0x21f)]),this.#binaryName=_0x2fa3a9[_0x185eda(0x1e8)]):this.#httpPath=_0x2fa3a9[_0x185eda(0x22e)](_0x37df77,_0x2fa3a9[_0x185eda(0x22a)]);}#getAvailableDirs(){const _0x4430a3=a65_0x489e3d,_0x35737f={};_0x35737f[_0x4430a3(0x217)]=function(_0x444299,_0x21eeb0){return _0x444299<_0x21eeb0;},_0x35737f[_0x4430a3(0x22d)]=_0x4430a3(0x24b);const _0x2a430c=_0x35737f;for(var _0x3db3de=0x0;_0x2a430c[_0x4430a3(0x217)](_0x3db3de,this.#orderedPaths[_0x4430a3(0x257)]);_0x3db3de++){var _0x2bea2d=this.#orderedPaths[_0x3db3de];if(this.#makePath(_0x2bea2d))return _0x2bea2d;}throw new Error(_0x2a430c['HYJCe']);}#makePath(_0x10ca74){const _0x41c30d=a65_0x489e3d;try{return!this.#checkPath(_0x10ca74)&&fs[_0x41c30d(0x25e)](_0x10ca74),!![];}catch{return![];}}#checkPath(_0x21a7fc,_0x37f508){const _0x441be8=a65_0x489e3d,_0x13cb4e={};_0x13cb4e['rdhKB']=function(_0x327d88,_0x408f98){return _0x327d88|_0x408f98;},_0x13cb4e['QHDnf']=function(_0x1f9b07,_0x46ce99){return _0x1f9b07!==_0x46ce99;},_0x13cb4e['bURxG']=_0x441be8(0x1f8);const _0x4b0928=_0x13cb4e;_0x37f508=_0x37f508||_0x4b0928[_0x441be8(0x1e7)](fs['R_OK'],fs[_0x441be8(0x1de)]);try{return fs[_0x441be8(0x242)](_0x21a7fc,_0x37f508),!![];}catch(_0x53f9d2){if(_0x4b0928[_0x441be8(0x216)](typeof fs['accessSync'],_0x4b0928['bURxG']))return![];try{return fs[_0x441be8(0x1ea)](_0x21a7fc),!![];}catch(_0x44410c){return![];}}}async['getBinaryPath'](_0x3cfbe6){const _0x48cd87=a65_0x489e3d,_0x11d5f6={};_0x11d5f6[_0x48cd87(0x200)]='Corrupt\x20percy\x20binary,\x20retrying';const _0x19541b=_0x11d5f6;var _0x3c6b85=this.#getAvailableDirs(),_0x1afb87=path[_0x48cd87(0x20c)](_0x3c6b85,this.#binaryName);if(this.#checkPath(_0x1afb87,fs[_0x48cd87(0x1f2)]))return _0x1afb87;const _0x1c8ca7=await this['download'](_0x3cfbe6,_0x3c6b85),_0x1035fc=await this['validateBinary'](_0x1c8ca7);if(!_0x1035fc)return logger['error'](_0x19541b[_0x48cd87(0x200)]),await this[_0x48cd87(0x224)](_0x3cfbe6,_0x3c6b85);return _0x1c8ca7;}async[a65_0x489e3d(0x201)](_0x22842c){const _0x4f4536=a65_0x489e3d,_0x416b48={'xosgO':function(_0x3aa23a,_0xf76fcb){return _0x3aa23a(_0xf76fcb);},'AYGBt':function(_0x53a9a4,_0x24967d,_0x19d2a2){return _0x53a9a4(_0x24967d,_0x19d2a2);},'NKiJc':_0x4f4536(0x1e4),'WeKhE':_0x4f4536(0x260),'bleZP':_0x4f4536(0x22c)},_0x330ab4=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x3e1ac1,_0x3eb33b)=>{const _0x36c3b7=_0x4f4536,_0x59d9e4={'YxYLO':function(_0x32aa54,_0x2fe99a){const _0x54f4c6=a65_0x8b59;return _0x416b48[_0x54f4c6(0x25b)](_0x32aa54,_0x2fe99a);},'xKxmD':function(_0x4aaa60,_0x44838d){const _0x4eb264=a65_0x8b59;return _0x416b48[_0x4eb264(0x25b)](_0x4aaa60,_0x44838d);}},_0x1f5fa9=_0x416b48[_0x36c3b7(0x252)](spawn,_0x22842c,[_0x416b48[_0x36c3b7(0x239)]]);_0x1f5fa9[_0x36c3b7(0x1dc)]['on'](_0x416b48[_0x36c3b7(0x226)],_0x3c060d=>{const _0x4fcbbf=_0x36c3b7;_0x330ab4[_0x4fcbbf(0x1df)](_0x3c060d)&&_0x59d9e4[_0x4fcbbf(0x21d)](_0x3e1ac1,!![]);}),_0x1f5fa9['on'](_0x416b48[_0x36c3b7(0x1fd)],()=>{const _0x85c27b=_0x36c3b7;_0x59d9e4[_0x85c27b(0x246)](_0x3e1ac1,![]);});});}[a65_0x489e3d(0x224)](_0xf9a154,_0x4b695b){const _0x394baa=a65_0x489e3d,_0x368ba7={'BftIO':_0x394baa(0x209),'hAGQH':function(_0x5c471b,_0xb60980){return _0x5c471b(_0xb60980);},'sHXTB':'Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','iyNVy':_0x394baa(0x1e2),'Wyier':_0x394baa(0x240),'Ffbvj':function(_0x413f1f,_0x5bba11){return _0x413f1f===_0x5bba11;},'RzdvM':_0x394baa(0x1e1),'QkWTb':function(_0x4f8053,_0x16e4d9){return _0x4f8053(_0x16e4d9);},'hcaLh':_0x394baa(0x212),'jcgEd':'error','EKboF':_0x394baa(0x22c),'OSwaL':function(_0x51f899,_0x1c487a){return _0x51f899+_0x1c487a;},'YYmvJ':_0x394baa(0x238),'YfzHm':_0x394baa(0x21a)};!this.#checkPath(_0x4b695b)&&fs[_0x394baa(0x25e)](_0x4b695b);const _0x982e5f=this.#binaryName,_0x499056=path[_0x394baa(0x20c)](_0x4b695b,_0x368ba7['OSwaL'](_0x982e5f,_0x368ba7[_0x394baa(0x205)])),_0x33391d=path['join'](_0x4b695b,_0x982e5f),_0xc6cc94=fs['createWriteStream'](_0x499056),_0x4ab7c1=url[_0x394baa(0x219)](this.#httpPath);if(_0xf9a154[_0x394baa(0x211)]&&_0xf9a154[_0x394baa(0x258)]){const _0x48b91c={};_0x48b91c[_0x394baa(0x206)]=_0xf9a154[_0x394baa(0x211)],_0x48b91c['port']=_0xf9a154['proxyPort'],_0x4ab7c1[_0x394baa(0x243)]=new HttpsProxyAgent(_0x48b91c);}if(_0xf9a154['useCaCertificate'])try{_0x4ab7c1['ca']=fs['readFileSync'](_0xf9a154[_0x394baa(0x21b)]);}catch(_0x4d5a58){logger['error'](_0x368ba7[_0x394baa(0x20a)],_0x4d5a58);}return new Promise((_0x3926c3,_0x2ff890)=>{const _0x3a23ed=_0x394baa,_0x1651d2={'tjAGl':_0x368ba7['sHXTB'],'AODXl':function(_0xed8e7a,_0x376ba1){const _0xfb20b3=a65_0x8b59;return _0x368ba7[_0xfb20b3(0x20b)](_0xed8e7a,_0x376ba1);},'DVRep':_0x368ba7[_0x3a23ed(0x20f)],'XJjkR':_0x368ba7['Wyier'],'rAIhb':function(_0x73a42e,_0x4ad63c){const _0x389a63=_0x3a23ed;return _0x368ba7[_0x389a63(0x1ef)](_0x73a42e,_0x4ad63c);},'NXHWH':_0x368ba7[_0x3a23ed(0x228)],'EZUmk':function(_0x560889,_0x2975b9){return _0x368ba7['QkWTb'](_0x560889,_0x2975b9);},'Btndk':_0x368ba7[_0x3a23ed(0x22b)],'yzxEg':_0x368ba7['jcgEd'],'qEKEX':_0x368ba7[_0x3a23ed(0x1ee)]};https[_0x3a23ed(0x214)](_0x4ab7c1,function(_0x28bb1d){const _0x5b4a5b=_0x3a23ed,_0x4cdb35={'ldupT':function(_0x2d49e1,_0xf1a6cf){const _0x5d8ac7=a65_0x8b59;return _0x1651d2[_0x5d8ac7(0x1f4)](_0x2d49e1,_0xf1a6cf);},'HeQEu':_0x1651d2[_0x5b4a5b(0x1ff)],'fjSsM':function(_0x29b032,_0xf372b5){const _0x4ddd43=_0x5b4a5b;return _0x1651d2[_0x4ddd43(0x248)](_0x29b032,_0xf372b5);},'wGwal':function(_0x3742f6,_0x4556aa){const _0x2ddf17=_0x5b4a5b;return _0x1651d2[_0x2ddf17(0x1f4)](_0x3742f6,_0x4556aa);},'TuvWx':_0x1651d2[_0x5b4a5b(0x1fe)],'rvHJQ':function(_0xaae6c2,_0x48826c){const _0x215e98=_0x5b4a5b;return _0x1651d2[_0x215e98(0x251)](_0xaae6c2,_0x48826c);},'esvtp':_0x1651d2['Btndk'],'djwPO':_0x1651d2[_0x5b4a5b(0x241)]};_0x28bb1d[_0x5b4a5b(0x25a)](_0xc6cc94),_0x28bb1d['on'](_0x1651d2[_0x5b4a5b(0x241)],function(_0x5192f9){const _0x2bb88b=_0x5b4a5b;logger[_0x2bb88b(0x23a)](_0x1651d2['tjAGl'],_0x5192f9),_0x1651d2[_0x2bb88b(0x1f4)](_0x2ff890,_0x5192f9);}),_0xc6cc94['on'](_0x1651d2[_0x5b4a5b(0x241)],function(_0x80e553){const _0x40a5c2=_0x5b4a5b;logger[_0x40a5c2(0x23a)](_0x1651d2['DVRep'],_0x80e553),_0x1651d2['AODXl'](_0x2ff890,_0x80e553);}),_0xc6cc94['on'](_0x1651d2['qEKEX'],function(){const _0x586dd0=_0x5b4a5b,_0xae059c={'svdpx':function(_0x47f456,_0x18e722){const _0x1eda7d=a65_0x8b59;return _0x4cdb35[_0x1eda7d(0x21e)](_0x47f456,_0x18e722);},'nglRV':_0x4cdb35[_0x586dd0(0x268)],'IiMtG':function(_0x1f13a0,_0x58a703){return _0x4cdb35['fjSsM'](_0x1f13a0,_0x58a703);},'QWkby':function(_0x14c836,_0x13307d){const _0x323433=_0x586dd0;return _0x4cdb35[_0x323433(0x21e)](_0x14c836,_0x13307d);},'EQxtM':function(_0x33ffc8,_0xd142e4){const _0x3d74a1=_0x586dd0;return _0x4cdb35[_0x3d74a1(0x1e5)](_0x33ffc8,_0xd142e4);},'kPdcQ':_0x4cdb35[_0x586dd0(0x230)],'ALPWt':function(_0x4ab90f,_0x59198e){const _0x47461b=_0x586dd0;return _0x4cdb35[_0x47461b(0x220)](_0x4ab90f,_0x59198e);},'wKlom':_0x4cdb35[_0x586dd0(0x259)],'DqFAL':_0x4cdb35[_0x586dd0(0x24c)]},_0x3a6889={};_0x3a6889[_0x586dd0(0x269)]=!![],yauzl[_0x586dd0(0x202)](_0x499056,_0x3a6889,function(_0x47208d,_0x21e72a){const _0x44de03=_0x586dd0,_0x2ff804={'ywJMs':function(_0x32237f,_0x1d3da7){return _0xae059c['svdpx'](_0x32237f,_0x1d3da7);},'GwIcV':function(_0x33adb0,_0x14ec04){return _0xae059c['EQxtM'](_0x33adb0,_0x14ec04);},'Axbhd':_0xae059c[_0x44de03(0x1d9)]};_0x47208d&&_0xae059c[_0x44de03(0x235)](_0x2ff890,_0x47208d),_0x21e72a[_0x44de03(0x26a)](),_0x21e72a['on'](_0xae059c['wKlom'],_0x444772=>{const _0x10f210=_0x44de03,_0x4dbc02={'YDcXr':function(_0x306ae2,_0x2f044a){const _0x1c520a=a65_0x8b59;return _0xae059c[_0x1c520a(0x20d)](_0x306ae2,_0x2f044a);},'eATFi':_0xae059c[_0x10f210(0x215)]};if(/\/$/[_0x10f210(0x1df)](_0x444772['fileName']))_0x21e72a[_0x10f210(0x26a)]();else{const _0x61c0ca=fs[_0x10f210(0x266)](path[_0x10f210(0x20c)](_0x4b695b,_0x444772['fileName']));_0x21e72a['openReadStream'](_0x444772,function(_0x5956d0,_0x181376){const _0x923993=_0x10f210;_0x5956d0&&_0x4dbc02[_0x923993(0x1f7)](_0x2ff890,_0x47208d),_0x181376['on'](_0x4dbc02[_0x923993(0x207)],function(){const _0x31fbb3=_0x923993;_0x61c0ca[_0x31fbb3(0x22c)](),_0x21e72a['readEntry']();}),_0x181376['pipe'](_0x61c0ca);}),_0xae059c[_0x10f210(0x244)](_0x444772[_0x10f210(0x1da)],_0x982e5f)&&_0x21e72a[_0x10f210(0x22c)]();}}),_0x21e72a['on'](_0xae059c[_0x44de03(0x1f1)],_0x3f8243=>{const _0x382368=_0x44de03;_0xae059c[_0x382368(0x1ed)](_0x2ff890,_0x3f8243);}),_0x21e72a[_0x44de03(0x210)](_0xae059c[_0x44de03(0x215)],()=>{const _0x3b742e=_0x44de03,_0x36e9ab={'kWlbb':function(_0x2dc689,_0x1bc287){const _0x1051b4=a65_0x8b59;return _0x2ff804[_0x1051b4(0x263)](_0x2dc689,_0x1bc287);},'KZKwW':function(_0x28ef37,_0x387063){const _0x2fd7ea=a65_0x8b59;return _0x2ff804[_0x2fd7ea(0x25c)](_0x28ef37,_0x387063);}};fs[_0x3b742e(0x237)](_0x33391d,_0x2ff804[_0x3b742e(0x1f5)],function(_0x37e124){const _0x1c7bee=_0x3b742e;_0x37e124&&_0x36e9ab[_0x1c7bee(0x208)](_0x2ff890,_0x37e124),_0x36e9ab[_0x1c7bee(0x1f9)](_0x3926c3,_0x33391d);}),_0x21e72a['close']();});});});})['on'](_0x368ba7[_0x3a23ed(0x1e6)],function(_0x372d7c){const _0x312cfe=_0x3a23ed;logger[_0x312cfe(0x23a)](_0x368ba7['BftIO'],_0x372d7c),_0x368ba7[_0x312cfe(0x20b)](_0x2ff890,_0x372d7c);});});}#homedir(){const _0x4f78fe=a65_0x489e3d,_0x92d8bc={};_0x92d8bc[_0x4f78fe(0x236)]=function(_0x3eba94,_0x2e9c93){return _0x3eba94===_0x2e9c93;},_0x92d8bc['wGwDU']='function',_0x92d8bc[_0x4f78fe(0x23b)]=_0x4f78fe(0x265),_0x92d8bc[_0x4f78fe(0x1fc)]=function(_0x5f01c3,_0x8ae394){return _0x5f01c3+_0x8ae394;},_0x92d8bc['uQfAo']=function(_0x4199fb,_0x46035e){return _0x4199fb===_0x46035e;},_0x92d8bc[_0x4f78fe(0x253)]=_0x4f78fe(0x231),_0x92d8bc['umYhq']=function(_0x114545,_0x20c5f4){return _0x114545+_0x20c5f4;},_0x92d8bc[_0x4f78fe(0x1e3)]=_0x4f78fe(0x1ec),_0x92d8bc[_0x4f78fe(0x1dd)]=function(_0x15c17f,_0x196a58){return _0x15c17f===_0x196a58;},_0x92d8bc[_0x4f78fe(0x1f6)]='linux',_0x92d8bc[_0x4f78fe(0x24a)]='/root',_0x92d8bc[_0x4f78fe(0x213)]=_0x4f78fe(0x255),_0x92d8bc[_0x4f78fe(0x232)]=function(_0x2cbf10,_0xe53477){return _0x2cbf10||_0xe53477;};const _0x14f097=_0x92d8bc;if(_0x14f097[_0x4f78fe(0x236)](typeof os[_0x4f78fe(0x256)],_0x14f097[_0x4f78fe(0x233)]))return os[_0x4f78fe(0x256)]();const _0x40369e=process['env'],_0x2f71d3=_0x40369e[_0x4f78fe(0x24f)],_0x2f4c8c=_0x40369e['LOGNAME']||_0x40369e['USER']||_0x40369e[_0x4f78fe(0x264)]||_0x40369e[_0x4f78fe(0x1e0)];if(_0x14f097[_0x4f78fe(0x236)](process[_0x4f78fe(0x218)],_0x14f097[_0x4f78fe(0x23b)]))return _0x40369e[_0x4f78fe(0x23f)]||_0x14f097[_0x4f78fe(0x1fc)](_0x40369e[_0x4f78fe(0x1e9)],_0x40369e[_0x4f78fe(0x1eb)])||_0x2f71d3||null;if(_0x14f097[_0x4f78fe(0x262)](process['platform'],_0x14f097[_0x4f78fe(0x253)]))return _0x2f71d3||(_0x2f4c8c?_0x14f097[_0x4f78fe(0x227)](_0x14f097[_0x4f78fe(0x1e3)],_0x2f4c8c):null);if(_0x14f097[_0x4f78fe(0x1dd)](process['platform'],_0x14f097[_0x4f78fe(0x1f6)]))return _0x2f71d3||(_0x14f097[_0x4f78fe(0x1dd)](process[_0x4f78fe(0x24e)](),0x0)?_0x14f097[_0x4f78fe(0x24a)]:_0x2f4c8c?_0x14f097['umYhq'](_0x14f097[_0x4f78fe(0x213)],_0x2f4c8c):null);return _0x14f097['PLNRp'](_0x2f71d3,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_0x56564c=a66_0x1360;function a66_0x1360(_0x27ea8a,_0x19f50d){var _0x5cf295=a66_0x5cf2();return a66_0x1360=function(_0x1360d6,_0x186fff){_0x1360d6=_0x1360d6-0x14d;var _0x583eb7=_0x5cf295[_0x1360d6];return _0x583eb7;},a66_0x1360(_0x27ea8a,_0x19f50d);}(function(_0x5b8108,_0x2c13e6){var _0x53d496=a66_0x1360,_0x4426b3=_0x5b8108();while(!![]){try{var _0xc07ea=-parseInt(_0x53d496(0x155))/0x1+-parseInt(_0x53d496(0x150))/0x2*(parseInt(_0x53d496(0x15a))/0x3)+-parseInt(_0x53d496(0x159))/0x4*(-parseInt(_0x53d496(0x15b))/0x5)+parseInt(_0x53d496(0x14f))/0x6+parseInt(_0x53d496(0x157))/0x7*(parseInt(_0x53d496(0x154))/0x8)+-parseInt(_0x53d496(0x14d))/0x9*(parseInt(_0x53d496(0x158))/0xa)+parseInt(_0x53d496(0x153))/0xb*(parseInt(_0x53d496(0x14e))/0xc);if(_0xc07ea===_0x2c13e6)break;else _0x4426b3['push'](_0x4426b3['shift']());}catch(_0x314eea){_0x4426b3['push'](_0x4426b3['shift']());}}}(a66_0x5cf2,0xe97cc));class PercyCaptureMap{#map={};[a66_0x56564c(0x152)](_0x506d84,_0x15f883){!this.#map[_0x506d84]&&(this.#map[_0x506d84]={}),!this.#map[_0x506d84][_0x15f883]&&(this.#map[_0x506d84][_0x15f883]=0x0),this.#map[_0x506d84][_0x15f883]++;}[a66_0x56564c(0x151)](_0x601e3b,_0x43c03a){var _0x3c46cd=a66_0x56564c;return _0x601e3b+'-'+_0x43c03a+'-'+this[_0x3c46cd(0x156)](_0x601e3b,_0x43c03a);}[a66_0x56564c(0x156)](_0x4f47f1,_0x5a67c9){if(!this.#map[_0x4f47f1])return 0x0;if(!this.#map[_0x4f47f1][_0x5a67c9])return 0x0;return this.#map[_0x4f47f1][_0x5a67c9];}}module['exports']=PercyCaptureMap;function a66_0x5cf2(){var _0x3bc3df=['4184wDWizp','40329heQfgZ','3965melgzf','47016DpnjFE','8652mlbaqW','2062698EaPFmI','6hbTPEg','getName','increment','21131jfTdBy','184DGfwWv','1599438sPHHYi','get','124397aDGesN','710RlkRxL'];a66_0x5cf2=function(){return _0x3bc3df;};return a66_0x5cf2();}
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_0x24b2de=a67_0x38fb;(function(_0x537657,_0xea8f5b){var _0x232625=a67_0x38fb,_0x4a3b87=_0x537657();while(!![]){try{var _0x51b196=parseInt(_0x232625(0x1d2))/0x1+parseInt(_0x232625(0x1d9))/0x2*(-parseInt(_0x232625(0x1d3))/0x3)+parseInt(_0x232625(0x1d4))/0x4+parseInt(_0x232625(0x1e1))/0x5*(parseInt(_0x232625(0x1e3))/0x6)+parseInt(_0x232625(0x1d7))/0x7*(parseInt(_0x232625(0x1e4))/0x8)+parseInt(_0x232625(0x1d5))/0x9*(-parseInt(_0x232625(0x1e0))/0xa)+-parseInt(_0x232625(0x1dd))/0xb;if(_0x51b196===_0xea8f5b)break;else _0x4a3b87['push'](_0x4a3b87['shift']());}catch(_0x27dc1d){_0x4a3b87['push'](_0x4a3b87['shift']());}}}(a67_0x438f,0x77a7a));function a67_0x438f(){var _0x4fb407=['15OwDEAd','2292984HqrXkj','2358bBKQnR','driver','126AyfEcw','click','40102yRYGXF','element','auto','screenshot','22766458qUdPRo','takeScreenshot','exports','15110VrrOgC','10yUtRvT','sendKeys','2570574hLcJRx','351752UCXEcI','testcase','834375FHMeon'];a67_0x438f=function(){return _0x4fb407;};return a67_0x438f();}var a67_0x4a804b={};a67_0x4a804b[a67_0x24b2de(0x1d6)]=[a67_0x24b2de(0x1de)],a67_0x4a804b[a67_0x24b2de(0x1da)]=['click',a67_0x24b2de(0x1e2)];var a67_0x52acbe={};a67_0x52acbe[a67_0x24b2de(0x1d6)]=[a67_0x24b2de(0x1de)];function a67_0x38fb(_0x29afa7,_0x57fd78){var _0x438fa6=a67_0x438f();return a67_0x38fb=function(_0x38fb73,_0x1557c2){_0x38fb73=_0x38fb73-0x1d1;var _0x39a7d5=_0x438fa6[_0x38fb73];return _0x39a7d5;},a67_0x38fb(_0x29afa7,_0x57fd78);}var a67_0x506c7a={};a67_0x506c7a[a67_0x24b2de(0x1da)]=['click'];var a67_0x21eaca={};a67_0x21eaca[a67_0x24b2de(0x1db)]=a67_0x4a804b,a67_0x21eaca[a67_0x24b2de(0x1dc)]=a67_0x52acbe,a67_0x21eaca[a67_0x24b2de(0x1d8)]=a67_0x506c7a,a67_0x21eaca[a67_0x24b2de(0x1d1)]={},a67_0x21eaca['manual']={},module[a67_0x24b2de(0x1df)]=a67_0x21eaca;
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_0x5d32d3=a68_0x15bc;(function(_0x2ea988,_0x17a4e3){const _0xf44732=a68_0x15bc,_0x1d653c=_0x2ea988();while(!![]){try{const _0x542ea2=parseInt(_0xf44732(0x84))/0x1*(parseInt(_0xf44732(0x70))/0x2)+parseInt(_0xf44732(0x8b))/0x3+-parseInt(_0xf44732(0x8c))/0x4*(-parseInt(_0xf44732(0x82))/0x5)+-parseInt(_0xf44732(0x89))/0x6*(parseInt(_0xf44732(0x80))/0x7)+parseInt(_0xf44732(0x77))/0x8*(-parseInt(_0xf44732(0x7d))/0x9)+-parseInt(_0xf44732(0x7e))/0xa*(parseInt(_0xf44732(0x7b))/0xb)+parseInt(_0xf44732(0x6c))/0xc*(parseInt(_0xf44732(0x69))/0xd);if(_0x542ea2===_0x17a4e3)break;else _0x1d653c['push'](_0x1d653c['shift']());}catch(_0x402a94){_0x1d653c['push'](_0x1d653c['shift']());}}}(a68_0x111c,0x509be));const tryRequire=function(_0x4ec9fa,_0x49b689){const _0x490909=a68_0x15bc,_0x19fbae={'dnzCi':function(_0x3d2d84,_0x2d9fcf){return _0x3d2d84(_0x2d9fcf);}};try{return _0x19fbae[_0x490909(0x68)](require,_0x4ec9fa);}catch{return _0x49b689;}},percySnapshot=tryRequire('@percy/selenium-webdriver',null),{percyScreenshot}=tryRequire(a68_0x5d32d3(0x6e),{}),percyAppScreenshot=require('@percy/appium-app'),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a68_0x5d32d3(0x86)),logger=require(a68_0x5d32d3(0x83))['winstonLogger'];percySnapshot&&(exports[a68_0x5d32d3(0x64)]=async function(){const _0x4945ab=a68_0x5d32d3,_0x4b64cf={'uufTd':function(_0x4c4b20,_0x369fa8){return _0x4c4b20!==_0x369fa8;},'yuAir':function(_0x3a9f71,_0x35fb25){return _0x3a9f71>=_0x35fb25;},'ymZMo':function(_0x2db848){return _0x2db848();},'ZonGB':_0x4945ab(0x6d)};if(global['browserstackPlatformIndex']&&_0x4b64cf[_0x4945ab(0x7f)](global[_0x4945ab(0x85)],global['browserstackPercyBestPlatform']))return;const _0x38c07a=_0x4b64cf[_0x4945ab(0x79)](arguments['length'],0x2)?arguments[0x1]:'',_0x5d69ab=_0x4b64cf[_0x4945ab(0x65)](getCurrentTestData),_0x10704e={};return _0x10704e[_0x4945ab(0x7c)]=_0x38c07a,_0x10704e[_0x4945ab(0x6a)]=_0x5d69ab['name']||'',_0x10704e[_0x4945ab(0x88)]=_0x5d69ab[_0x4945ab(0x81)]||'',_0x10704e[_0x4945ab(0x87)]=global[_0x4945ab(0x85)],await PerformanceTester[_0x4945ab(0x75)](_0x4b64cf[_0x4945ab(0x7a)],()=>percySnapshot[_0x4945ab(0x66)](null,arguments),_0x10704e);});percyScreenshot?exports['screenshot']=async function(){const _0x333dc7=a68_0x5d32d3,_0x30760d={'QPtRz':function(_0x3427d4,_0x95f0d1){return _0x3427d4>=_0x95f0d1;},'FfbLJ':function(_0x5bc11c){return _0x5bc11c();},'GoCzc':'percy:screenshot'},_0x1b23d5=_0x30760d[_0x333dc7(0x72)](arguments[_0x333dc7(0x8a)],0x2)?arguments[0x1]:'',_0x2035ad=_0x30760d['FfbLJ'](getCurrentTestData),_0x5e0688={};return _0x5e0688[_0x333dc7(0x7c)]=_0x1b23d5,_0x5e0688[_0x333dc7(0x6a)]=_0x2035ad[_0x333dc7(0x7c)]||'',_0x5e0688[_0x333dc7(0x88)]=_0x2035ad['uuid']||'',_0x5e0688[_0x333dc7(0x87)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x333dc7(0x75)](_0x30760d[_0x333dc7(0x67)],()=>percyScreenshot[_0x333dc7(0x66)](null,arguments),_0x5e0688);}:exports['screenshot']=()=>{const _0x350d26=a68_0x5d32d3,_0x349394={};_0x349394[_0x350d26(0x74)]=_0x350d26(0x76);const _0x554ad3=_0x349394;logger[_0x350d26(0x6b)](_0x554ad3[_0x350d26(0x74)]);};function a68_0x15bc(_0x58bce6,_0x236eb9){const _0x111cb8=a68_0x111c();return a68_0x15bc=function(_0x15bc15,_0x1e4774){_0x15bc15=_0x15bc15-0x64;let _0x1de0c9=_0x111cb8[_0x15bc15];return _0x1de0c9;},a68_0x15bc(_0x58bce6,_0x236eb9);}function a68_0x111c(){const _0x125cb5=['apply','GoCzc','dnzCi','8650811CKXYZu','testCase','error','12zIxltf','percy:snapshot','@percy/selenium-webdriver','MoYkQ','132dekhNq','percy:screenshot-app','QPtRz','XNjea','gpKoO','measure','Unsupported\x20driver\x20for\x20percy','32FykpiH','screenshotApp','yuAir','ZonGB','143avfGdC','name','595278kremIx','363380xqJuPH','uufTd','91GlfZEl','uuid','2632795BUYQfq','../logger','4355NevdLd','browserstackPlatformIndex','../performance-tester','platformIndex','thTestCaseExecutionId','226662YafvDa','length','236403pFegCa','4prKOPN','snapshot','ymZMo'];a68_0x111c=function(){return _0x125cb5;};return a68_0x111c();}exports[a68_0x5d32d3(0x78)]=async function(){const _0x3bc0cb=a68_0x5d32d3,_0x3c9644={'BfQUI':function(_0x2abdf5,_0x5ba3d5){return _0x2abdf5>=_0x5ba3d5;},'MoYkQ':function(_0x19337d){return _0x19337d();},'XNjea':_0x3bc0cb(0x71)},_0x5d2dcf=_0x3c9644['BfQUI'](arguments[_0x3bc0cb(0x8a)],0x2)?arguments[0x1]:'',_0x559409=_0x3c9644[_0x3bc0cb(0x6f)](getCurrentTestData),_0x1faba4={};return _0x1faba4[_0x3bc0cb(0x7c)]=_0x5d2dcf,_0x1faba4[_0x3bc0cb(0x6a)]=_0x559409['name']||'',_0x1faba4[_0x3bc0cb(0x88)]=_0x559409['uuid']||'',_0x1faba4[_0x3bc0cb(0x87)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x3bc0cb(0x75)](_0x3c9644[_0x3bc0cb(0x73)],()=>percyAppScreenshot['apply'](null,arguments),_0x1faba4);};
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_0xcac7(_0x442ac5,_0x31626e){var _0x2cb4bc=a69_0x2cb4();return a69_0xcac7=function(_0xcac792,_0x2bf5c7){_0xcac792=_0xcac792-0x127;var _0x29f68a=_0x2cb4bc[_0xcac792];return _0x29f68a;},a69_0xcac7(_0x442ac5,_0x31626e);}function a69_0x2cb4(){var _0x309efe=['2858406ntMqdW','1442270UcHVMJ','14FAbtqt','10oYrFKK','8yYErfJ','exports','./Percy','3762492UkdCyH','2966hJpLGP','12524913QAbksG','799VaNUCb','5101264ZKaTeR','27732144lqTCSE'];a69_0x2cb4=function(){return _0x309efe;};return a69_0x2cb4();}var a69_0x237a6b=a69_0xcac7;(function(_0x2cb54d,_0x403192){var _0x4594b4=a69_0xcac7,_0x13fd47=_0x2cb54d();while(!![]){try{var _0x3b6fe7=parseInt(_0x4594b4(0x128))/0x1*(parseInt(_0x4594b4(0x133))/0x2)+-parseInt(_0x4594b4(0x132))/0x3+parseInt(_0x4594b4(0x129))/0x4+-parseInt(_0x4594b4(0x12c))/0x5+parseInt(_0x4594b4(0x12b))/0x6*(parseInt(_0x4594b4(0x12d))/0x7)+parseInt(_0x4594b4(0x12f))/0x8*(parseInt(_0x4594b4(0x127))/0x9)+parseInt(_0x4594b4(0x12e))/0xa*(-parseInt(_0x4594b4(0x12a))/0xb);if(_0x3b6fe7===_0x403192)break;else _0x13fd47['push'](_0x13fd47['shift']());}catch(_0xa6722d){_0x13fd47['push'](_0x13fd47['shift']());}}}(a69_0x2cb4,0xb4e6a),module[a69_0x237a6b(0x130)]=require(a69_0x237a6b(0x131)));
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
- const a70_0x2d0998=a70_0x5974;(function(_0x39a267,_0x4d83b6){const _0x1b1237=a70_0x5974,_0x581356=_0x39a267();while(!![]){try{const _0x11a326=parseInt(_0x1b1237(0x153))/0x1+-parseInt(_0x1b1237(0x133))/0x2*(-parseInt(_0x1b1237(0x151))/0x3)+parseInt(_0x1b1237(0x146))/0x4*(parseInt(_0x1b1237(0x11a))/0x5)+-parseInt(_0x1b1237(0x143))/0x6+-parseInt(_0x1b1237(0x122))/0x7*(-parseInt(_0x1b1237(0x124))/0x8)+-parseInt(_0x1b1237(0x11f))/0x9+parseInt(_0x1b1237(0x152))/0xa*(-parseInt(_0x1b1237(0x12d))/0xb);if(_0x11a326===_0x4d83b6)break;else _0x581356['push'](_0x581356['shift']());}catch(_0x3e278e){_0x581356['push'](_0x581356['shift']());}}}(a70_0x470d,0x8f34e));function a70_0x470d(){const _0x556164=['browserstackPercyBestPlatform','Hahzd','nestedKeyValue','then','tpPKH','app','screenshotApp','overrideXforPercy','12JehOuZ','310wEGmbe','69087PxCzPs','percyCaptureMode','percyAutoCapture','browserstackPercyMap','browserStackPercyOptions','browserstackSessionName','percy:stop','./PercyCaptureModes','driver','apply','chrome','20wvmTwK','stopPercy','SZTgA','debug','firefox','3509559fYNHPo','browser','nybkf','3965087hyfngz','./Percy','16YSjuKi','reduce','winstonLogger','toLowerCase','./PercySDK','dGmje','prototype','./PercyCaptureMap','Error\x20patching\x20','339790VGEJBg','error','yoykA','forEach','getDriver','EjOpz','1282evUAVh','percy','screenshot','stop','../logger','deviceName','isUndefined','edge','element','getName','DmmeI','HYqEw','patchDriverPercy','../performance-tester','getBestPlatformForPercySnapshot','patch','23964DAlbeq','platforms','increment','733576LFyxhF','\x20for\x20percy\x20','startPercy'];a70_0x470d=function(){return _0x556164;};return a70_0x470d();}const Percy=require(a70_0x2d0998(0x123)),PercySDK=require(a70_0x2d0998(0x128)),PercyCaptureModes=require(a70_0x2d0998(0x116)),PercyCaptureMap=require(a70_0x2d0998(0x12b)),logger=require(a70_0x2d0998(0x137))[a70_0x2d0998(0x126)],helper=require('../helper'),PerformanceTester=require(a70_0x2d0998(0x140));function a70_0x5974(_0x3f843c,_0x1476b3){const _0x470d74=a70_0x470d();return a70_0x5974=function(_0x5974b2,_0x56015c){_0x5974b2=_0x5974b2-0x112;let _0x354d04=_0x470d74[_0x5974b2];return _0x354d04;},a70_0x5974(_0x3f843c,_0x1476b3);}exports[a70_0x2d0998(0x148)]=PerformanceTester['measureWrapper']('percy:start',async _0x352475=>{const _0x33fce6=a70_0x2d0998,_0xc32688={};_0xc32688[_0x33fce6(0x11c)]='Starting\x20percy';const _0x3338e1=_0xc32688;logger[_0x33fce6(0x11d)](_0x3338e1[_0x33fce6(0x11c)]);const _0x1f878b=new Percy(_0x352475),_0x346e13=await _0x1f878b['start']();if(_0x346e13)return _0x1f878b;return null;}),exports[a70_0x2d0998(0x11b)]=PerformanceTester['measureWrapper'](a70_0x2d0998(0x115),async _0xf9b17d=>{const _0x4be650=a70_0x2d0998,_0x1c537e={};_0x1c537e['IIFme']='Stopping\x20percy';const _0x5a52ac=_0x1c537e;return logger[_0x4be650(0x11d)](_0x5a52ac['IIFme']),_0xf9b17d[_0x4be650(0x136)]();}),exports[a70_0x2d0998(0x141)]=_0x56698e=>{const _0x2892bf=a70_0x2d0998,_0xb39797={};_0xb39797['yGFeb']=function(_0x4cbe60,_0x21e240){return _0x4cbe60<_0x21e240;};const _0x493f42=_0xb39797,_0x2cb498={};_0x2cb498[_0x2892bf(0x119)]=0x0,_0x2cb498[_0x2892bf(0x11e)]=0x1,_0x2cb498[_0x2892bf(0x13a)]=0x2,_0x2cb498['safari']=0x3;const _0x20004b=_0x2cb498;return _0x56698e[_0x2892bf(0x125)]((_0x4ea7c2,_0x16e07f,_0x1b1d3f)=>{const _0x527e3b=_0x2892bf,_0x3e22eb=_0x56698e[_0x4ea7c2];if(_0x16e07f[_0x527e3b(0x138)])return _0x4ea7c2;if(_0x3e22eb['deviceName'])return _0x1b1d3f;const _0x2c8898=_0x16e07f[_0x527e3b(0x120)]?_0x16e07f['browser']:_0x16e07f['browserName'];if(_0x2c8898&&_0x493f42['yGFeb'](_0x20004b[_0x2c8898[_0x527e3b(0x127)]()],_0x20004b[_0x2c8898[_0x527e3b(0x127)]()]))return _0x1b1d3f;return _0x4ea7c2;},0x0);},exports[a70_0x2d0998(0x155)]=async(_0x3ab236,_0x131465,_0x2ccddf)=>{const _0x3b7102=a70_0x2d0998,_0x506e46={};_0x506e46[_0x3b7102(0x121)]='Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present';const _0x504262=_0x506e46,_0x4b40a0=_0x3ab236[_0x3b7102(0x112)];if(helper[_0x3b7102(0x139)](_0x3ab236[_0x3b7102(0x114)])){logger[_0x3b7102(0x11d)](_0x504262[_0x3b7102(0x121)]);return;}const _0x30d668=_0x4b40a0[_0x3b7102(0x13c)](_0x3ab236[_0x3b7102(0x114)],_0x131465);_0x2ccddf[_0x3b7102(0x14e)]?await PercySDK[_0x3b7102(0x14f)](_0x3ab236,_0x30d668):await PercySDK[_0x3b7102(0x135)](_0x3ab236,_0x30d668),_0x4b40a0[_0x3b7102(0x145)](_0x3ab236[_0x3b7102(0x114)],_0x131465);},exports[a70_0x2d0998(0x13f)]=(_0x50d058,_0x17cac2,_0x85924b)=>{const _0x329c6b=a70_0x2d0998,_0xfefc27={};_0xfefc27[_0x329c6b(0x14d)]=_0x329c6b(0x113),_0xfefc27[_0x329c6b(0x14a)]=_0x329c6b(0x134),_0xfefc27[_0x329c6b(0x13e)]=function(_0x39d984,_0xaca9a9){return _0x39d984!==_0xaca9a9;},_0xfefc27[_0x329c6b(0x129)]='manual';const _0x548c8c=_0xfefc27;if(!helper[_0x329c6b(0x14b)](_0x85924b,[_0x548c8c['tpPKH'],_0x548c8c['Hahzd']]))return;if(_0x85924b[_0x329c6b(0x113)][_0x329c6b(0x134)]&&_0x85924b[_0x329c6b(0x113)]['percyCaptureMode']&&_0x548c8c['HYqEw'](_0x85924b[_0x329c6b(0x113)][_0x329c6b(0x154)],_0x548c8c[_0x329c6b(0x129)])&&!_0x50d058[_0x329c6b(0x112)]){global['browserstackSessionName']&&(_0x50d058[_0x329c6b(0x114)]=global[_0x329c6b(0x114)]),_0x50d058[_0x329c6b(0x112)]=new PercyCaptureMap();const _0x5c5771=PercyCaptureModes[_0x85924b[_0x329c6b(0x113)][_0x329c6b(0x154)]];_0x5c5771[_0x329c6b(0x117)]&&_0x5c5771[_0x329c6b(0x117)][_0x329c6b(0x130)](_0xbb2f2e=>this[_0x329c6b(0x150)](_0x50d058,_0xbb2f2e,_0x85924b)),_0x5c5771[_0x329c6b(0x13b)]&&_0x5c5771[_0x329c6b(0x13b)]['forEach'](_0x2ccc41=>{const _0x3f5266=_0x329c6b;if(_0x17cac2[_0x3f5266(0x12a)][_0x3f5266(0x142)+_0x2ccc41])return;_0x17cac2[_0x3f5266(0x12a)]['patch'+_0x2ccc41]=!![];const _0x30b5f2=_0x17cac2[_0x3f5266(0x12a)][_0x2ccc41];_0x17cac2['prototype'][_0x2ccc41]=async function(){const _0x2e436a=_0x3f5266;let _0x4ecfd8=_0x30b5f2[_0x2e436a(0x118)](this,arguments);_0x4ecfd8&&_0x4ecfd8[_0x2e436a(0x14c)]&&(_0x4ecfd8=await _0x4ecfd8);try{const _0x4ec1d8=this[_0x2e436a(0x131)]();await exports[_0x2e436a(0x155)](_0x4ec1d8,_0x2ccc41,_0x85924b);}catch(_0x1ae0c2){logger[_0x2e436a(0x12e)]('Error\x20patching\x20'+_0x2ccc41+_0x2e436a(0x147)+_0x1ae0c2);}return _0x4ecfd8;};});}},exports[a70_0x2d0998(0x150)]=function(_0x576683,_0x5b4ffd,_0x1732ce){const _0x184df1=a70_0x2d0998,_0x46b7cb={};_0x46b7cb[_0x184df1(0x12f)]=function(_0x20a3d7,_0x1bc44b){return _0x20a3d7+_0x1bc44b;},_0x46b7cb[_0x184df1(0x13d)]=_0x184df1(0x142),_0x46b7cb[_0x184df1(0x132)]='init';const _0x4da4ed=_0x46b7cb,_0x1856ad=_0x4da4ed[_0x184df1(0x12f)](_0x4da4ed[_0x184df1(0x13d)],_0x5b4ffd),_0x506a37=_0x4da4ed['yoykA'](_0x4da4ed[_0x184df1(0x132)],_0x5b4ffd),_0x437489=this;if(_0x576683[_0x1856ad]||!_0x576683[_0x5b4ffd])return;_0x576683[_0x1856ad]=!![],_0x576683[_0x506a37]=_0x576683[_0x5b4ffd],_0x576683[_0x5b4ffd]=async()=>{const _0x876cd=_0x184df1;try{await _0x437489[_0x876cd(0x155)](_0x576683,_0x5b4ffd,_0x1732ce);}catch(_0x313293){logger['error'](_0x876cd(0x12c)+_0x5b4ffd+_0x876cd(0x147)+_0x313293);}return await _0x576683[_0x506a37][_0x876cd(0x118)](_0x576683,arguments);};},exports['getPercyOptions']=_0x1175e2=>{const _0x2f3a40=a70_0x2d0998,_0x44ce88={};_0x44ce88[_0x2f3a40(0x134)]=_0x1175e2[_0x2f3a40(0x134)],_0x44ce88['percyCaptureMode']=_0x1175e2[_0x2f3a40(0x154)];const _0x5e368b=_0x44ce88;_0x1175e2[_0x2f3a40(0x134)]&&(_0x5e368b[_0x2f3a40(0x149)]=exports[_0x2f3a40(0x141)](_0x1175e2[_0x2f3a40(0x144)]));;return _0x5e368b;};
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_0xf0a594=a71_0x33f3;(function(_0x16499e,_0x404a82){const _0x10bc15=a71_0x33f3,_0x4a9fd7=_0x16499e();while(!![]){try{const _0x10b3de=parseInt(_0x10bc15(0x23d))/0x1*(parseInt(_0x10bc15(0x21b))/0x2)+-parseInt(_0x10bc15(0x1fe))/0x3+parseInt(_0x10bc15(0x1df))/0x4*(-parseInt(_0x10bc15(0x1e2))/0x5)+-parseInt(_0x10bc15(0x1d0))/0x6+-parseInt(_0x10bc15(0x1dc))/0x7+parseInt(_0x10bc15(0x1c8))/0x8*(-parseInt(_0x10bc15(0x1ec))/0x9)+parseInt(_0x10bc15(0x21c))/0xa*(parseInt(_0x10bc15(0x213))/0xb);if(_0x10b3de===_0x404a82)break;else _0x4a9fd7['push'](_0x4a9fd7['shift']());}catch(_0x5949b6){_0x4a9fd7['push'](_0x4a9fd7['shift']());}}}(a71_0x16db,0x3260d));const fs=require('fs'),{performance,PerformanceObserver}=require('perf_hooks'),{sleep,debug}=require(a71_0xf0a594(0x1c2)),path=require(a71_0xf0a594(0x1c4)),logger=require(a71_0xf0a594(0x1c5))[a71_0xf0a594(0x1ca)];function a71_0x33f3(_0x20313a,_0x3297d3){const _0x16dbcf=a71_0x16db();return a71_0x33f3=function(_0x33f308,_0x40f2ac){_0x33f308=_0x33f308-0x1c1;let _0x11a095=_0x16dbcf[_0x33f308];return _0x11a095;},a71_0x33f3(_0x20313a,_0x3297d3);}function a71_0x16db(){const _0x40c7c4=['seLSh','observe','</td><td>','iTwsR','measureWrapper','stringify','BROWSERSTACK_SDK_INSTRUMENTATION','_measureEvents','startMonitoring','_errorEvents','finalizeErrors','fHIDr','generateJSON','JfIKx','getEventsFromJSON','</tbody></table></body></html>','Error\x20in\x20doing\x20csv\x20operations:\x20','scyMp','concat','36131KHXyTl','HFKad','<tr><td>','then','aKKum','entryTypes','getPerformance','forEach','./test-observability/utils','slice','path','./logger','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','-start','424ewrwrZ','appendFileSync','winstonLogger','measure','entries','rtXKe','existsSync','</td></tr>','496650gmkDSB','olYVN','pushErrors','mark','<h1>Performance\x20Report</h1>','measures','LezvH','gzOmW','debug','_observer','performance-own.html','message','434707HJdONv','false','getEntries','513832qveyUz','VUJOn','_events','15qEmRlr','unlinkSync','join','map','errorReportFileName','okPmw','errors','toString','values','-end','39843dCshgu','errorFile','IEZfP','writeFile','apply','Taeck','function','disconnect','name','ZiXgg','captureError','push','\x20for\x20all\x20processes\x20is\x20','finalizePerfMeasures','stopMonitoring','generateHTMLReport','KoinA','getCleanedPerfEvents','768348MmUgAf','ahmPs','WxPEd','entryType','buffered','aVtaa','calculateTimesFromMultipleFiles','env','calculateTimeFromEvents','started','readFileSync','KImRy','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','Error\x20in\x20writing\x20html\x20','FbFrO','Time\x20for\x20','performance-report.json','GaynL','isEnabled','jsonReportFileName','hMcCk','369611asGIBZ','length','qDAfp','stopAndGenerate','ZHBXG','yyrpj','parse','OTmbN','14lHGTgH','290AgdbrL','duration','pushPerfMeasures','reduce','AcWMQ','SwIbO','kKwtT','NmtiU','meta','cwd','code','PgXGH','drZcV','finalize'];a71_0x16db=function(){return _0x40c7c4;};return a71_0x16db();}class PerformanceTester{static ['_observer'];static [a71_0xf0a594(0x1e1)]=[];static ['_measureEvents']=[];static [a71_0xf0a594(0x233)]=[];static [a71_0xf0a594(0x207)]=![];static ['jsonReportFileName']=a71_0xf0a594(0x20e);static ['errorReportFileName']='error-report.json';static[a71_0xf0a594(0x232)](_0xf64f3a=a71_0xf0a594(0x20e),_0x307567='error-report.json'){const _0x80551c=a71_0xf0a594,_0x1e25ce={};_0x1e25ce[_0x80551c(0x1ff)]=function(_0x464311,_0x1cd47c){return _0x464311===_0x1cd47c;},_0x1e25ce['OTmbN']='measure',_0x1e25ce[_0x80551c(0x237)]=_0x80551c(0x1f2);const _0x1b7531=_0x1e25ce;if(this[_0x80551c(0x207)]||!this[_0x80551c(0x210)]())return;this['_observer']=new PerformanceObserver(_0xb52c1d=>{const _0x3445c7=_0x80551c;_0xb52c1d[_0x3445c7(0x1de)]()[_0x3445c7(0x1c1)](_0x2951f5=>{const _0x30d1ff=_0x3445c7;_0x1b7531[_0x30d1ff(0x1ff)](_0x2951f5[_0x30d1ff(0x201)],_0x1b7531[_0x30d1ff(0x21a)])?this[_0x30d1ff(0x231)][_0x30d1ff(0x1f7)](_0x2951f5):this['_events'][_0x30d1ff(0x1f7)](_0x2951f5);});});const _0x255543={};_0x255543[_0x80551c(0x202)]=!![],_0x255543[_0x80551c(0x242)]=[_0x1b7531[_0x80551c(0x237)],_0x1b7531[_0x80551c(0x21a)]],this[_0x80551c(0x1d9)][_0x80551c(0x22b)](_0x255543),this['started']=!![],this['jsonReportFileName']=_0xf64f3a,this[_0x80551c(0x1e6)]=_0x307567;}static[a71_0xf0a594(0x243)](){return performance;}static['calculateTimeFromEvents'](_0x5d0b18,_0x516da5){const _0x1435a1=a71_0xf0a594,_0x4b65c5={};_0x4b65c5[_0x1435a1(0x218)]=function(_0x112419,_0xf624c8){return _0x112419+_0xf624c8;},_0x4b65c5[_0x1435a1(0x22a)]=function(_0x5597d1,_0x5b4619){return _0x5597d1||_0x5b4619;},_0x4b65c5[_0x1435a1(0x228)]=function(_0x420249,_0x19e069){return _0x420249===_0x19e069;};const _0x236061=_0x4b65c5,_0x3cb448={};if(!_0x5d0b18||_0x236061[_0x1435a1(0x228)](_0x5d0b18[_0x1435a1(0x214)],0x0))return;_0x5d0b18[_0x1435a1(0x1e5)](_0x12d17e=>{const _0x33aea0=_0x1435a1;!_0x3cb448[_0x12d17e[_0x33aea0(0x1f4)]]&&(_0x3cb448[_0x12d17e[_0x33aea0(0x1f4)]]=0x0),_0x3cb448[_0x12d17e[_0x33aea0(0x1f4)]]+=_0x12d17e[_0x33aea0(0x21d)];});const _0x4992d9=_0x516da5['reduce']((_0x5935bb,_0x32b5d8)=>{const _0x534cb2=_0x1435a1;return _0x236061[_0x534cb2(0x218)](_0x3cb448[_0x32b5d8],_0x236061[_0x534cb2(0x22a)](_0x5935bb,0x0));},0x0);return _0x4992d9;}static async[a71_0xf0a594(0x204)](_0x1a1cc8,_0xd4acfa){const _0x279d93=a71_0xf0a594,_0x387a4f={'gzOmW':function(_0x39cf7b,_0x5e31b3){return _0x39cf7b+_0x5e31b3;},'kKwtT':function(_0x37bde3,_0xb692ab){return _0x37bde3||_0xb692ab;},'iwzAQ':function(_0x407b51,_0x3a8a67){return _0x407b51===_0x3a8a67;},'Taeck':function(_0x489674,_0x4382f1){return _0x489674(_0x4382f1);},'sfktx':function(_0x21c2f9,_0x49c60b){return _0x21c2f9(_0x49c60b);}};if(!_0x1a1cc8||_0x387a4f['iwzAQ'](_0x1a1cc8[_0x279d93(0x214)],0x0))return 0x0;const _0xfe8cf9=[];for(const _0x5b5d54 of _0x1a1cc8){const _0x127247=path[_0x279d93(0x1e4)]('.',_0x5b5d54);try{const _0xa9ff56=this[_0x279d93(0x238)](_0x127247);_0xa9ff56[_0x279d93(0x1e5)](_0xd3c62d=>{const _0x363d5f=_0x279d93;!_0xfe8cf9[_0xd3c62d[_0x363d5f(0x1f4)]]&&(_0xfe8cf9[_0xd3c62d[_0x363d5f(0x1f4)]]=0x0),_0xfe8cf9[_0xd3c62d[_0x363d5f(0x1f4)]]+=_0xd3c62d[_0x363d5f(0x21d)];});}catch(_0x591464){_0x387a4f[_0x279d93(0x1f1)](debug,_0x279d93(0x23a)+_0x591464[_0x279d93(0x1e9)]());}}const _0x418715=_0xd4acfa[_0x279d93(0x21f)]((_0x45cbec,_0x305350)=>{const _0x12ccb7=_0x279d93;return _0x387a4f[_0x12ccb7(0x1d7)](_0xfe8cf9[_0x305350],_0x387a4f[_0x12ccb7(0x222)](_0x45cbec,0x0));},0x0);return _0x387a4f['sfktx'](debug,_0x279d93(0x20d)+_0xd4acfa+_0x279d93(0x1f8)+_0x418715),_0x418715;}static[a71_0xf0a594(0x238)](_0x153ec4){const _0x348514=a71_0xf0a594;if(!fs[_0x348514(0x1ce)](_0x153ec4))return[];return JSON[_0x348514(0x219)](fs[_0x348514(0x208)](_0x153ec4)['toString']());}static async[a71_0xf0a594(0x216)](_0x347350=a71_0xf0a594(0x1da),_0x179734=null){const _0x4d3415=a71_0xf0a594,_0x6b32fb={'KImRy':function(_0x1e0a46,_0x1bf558){return _0x1e0a46(_0x1bf558);},'GaynL':function(_0x6af323,_0x4d392f){return _0x6af323(_0x4d392f);},'hMcCk':function(_0x11f8c4,_0x224b52){return _0x11f8c4(_0x224b52);}};if(!this[_0x4d3415(0x207)])return;await _0x6b32fb[_0x4d3415(0x212)](sleep,0x1e),this[_0x4d3415(0x1d9)][_0x4d3415(0x1f3)](),this[_0x4d3415(0x207)]=![],this[_0x4d3415(0x236)](this[_0x4d3415(0x1e1)]);const _0x2aaa5e=this[_0x4d3415(0x1fb)](this[_0x4d3415(0x1e1)]),_0x562b99=path[_0x4d3415(0x1e4)](process[_0x4d3415(0x225)](),_0x347350);fs[_0x4d3415(0x1ef)](_0x562b99,_0x2aaa5e,_0x32cf70=>{const _0x14fabb=_0x4d3415;if(_0x32cf70){_0x6b32fb[_0x14fabb(0x209)](debug,_0x14fabb(0x20b)+_0x32cf70[_0x14fabb(0x1e9)]());return;}_0x6b32fb[_0x14fabb(0x20f)](debug,'Performance\x20report\x20is\x20at\x20'+_0x562b99);});if(_0x179734)return this[_0x4d3415(0x206)](this[_0x4d3415(0x1e1)],_0x179734);}static[a71_0xf0a594(0x1fb)](_0x1d3696){const _0x11e036=a71_0xf0a594,_0x553e82={};_0x553e82[_0x11e036(0x223)]=_0x11e036(0x20a),_0x553e82[_0x11e036(0x1fc)]=_0x11e036(0x1d4),_0x553e82['fHIDr']=_0x11e036(0x1c6),_0x553e82[_0x11e036(0x217)]=_0x11e036(0x239);const _0x4aafa1=_0x553e82;let _0x329ae2=_0x4aafa1[_0x11e036(0x223)];return _0x329ae2+=_0x4aafa1[_0x11e036(0x1fc)],_0x329ae2+=_0x4aafa1[_0x11e036(0x235)],_0x1d3696[_0x11e036(0x1c1)](_0x564c19=>{const _0x3eb1d0=_0x11e036;_0x329ae2+=_0x3eb1d0(0x23f)+_0x564c19[_0x3eb1d0(0x1f4)]+_0x3eb1d0(0x22c)+_0x564c19['duration']+_0x3eb1d0(0x1cf);}),_0x329ae2+=_0x4aafa1[_0x11e036(0x217)],_0x329ae2;}static[a71_0xf0a594(0x236)](_0x5054a9){const _0x21cf16=a71_0xf0a594;if(!this[_0x21cf16(0x211)])return;const _0x54f697={};_0x5054a9['map'](_0x44a76d=>{const _0x196915=_0x21cf16;!_0x54f697[_0x44a76d[_0x196915(0x1f4)]]&&(_0x54f697[_0x44a76d[_0x196915(0x1f4)]]=0x0),_0x54f697[_0x44a76d[_0x196915(0x1f4)]]+=_0x44a76d[_0x196915(0x21d)];});const _0x582210=Object[_0x21cf16(0x1cc)](_0x54f697)[_0x21cf16(0x1e5)](([_0x553f38,_0x3be706])=>{const _0x451585=_0x21cf16,_0x2fc184={};return _0x2fc184['name']=_0x553f38,_0x2fc184[_0x451585(0x21d)]=_0x3be706,_0x2fc184;});fs['writeFileSync'](this[_0x21cf16(0x211)],JSON[_0x21cf16(0x22f)](_0x582210));}static['isEnabled'](){const _0x2b7634=a71_0xf0a594,_0x28644b={};_0x28644b[_0x2b7634(0x1e7)]=function(_0x3ebf58,_0x3e107a){return _0x3ebf58===_0x3e107a;},_0x28644b['AcWMQ']=_0x2b7634(0x1dd);const _0x4fe07f=_0x28644b;return!_0x4fe07f['okPmw'](process[_0x2b7634(0x205)][_0x2b7634(0x230)],_0x4fe07f[_0x2b7634(0x220)]);}static[a71_0xf0a594(0x1cb)](_0x44ab76,_0x4037a3,_0x48f3b3=null,_0x396407=null){const _0xb442bd=a71_0xf0a594,_0x22c2e2={};_0x22c2e2[_0xb442bd(0x200)]=function(_0x235d9d,_0xc889e6){return _0x235d9d+_0xc889e6;},_0x22c2e2[_0xb442bd(0x1d1)]=_0xb442bd(0x1c7),_0x22c2e2[_0xb442bd(0x22d)]=function(_0x3f91c7,_0x504ea6){return _0x3f91c7+_0x504ea6;},_0x22c2e2['qDAfp']=_0xb442bd(0x1eb),_0x22c2e2['aVtaa']=function(_0x3b9c45,_0x27798c){return _0x3b9c45 instanceof _0x27798c;};const _0x58e42e=_0x22c2e2;try{if(this[_0xb442bd(0x207)]&&this['isEnabled']()){let _0x17d3c3=_0x44ab76;_0x48f3b3&&(_0x17d3c3=_0x44ab76+'['+JSON[_0xb442bd(0x22f)](_0x48f3b3)+']');const _0x2ee06d=_0x58e42e[_0xb442bd(0x200)](_0x17d3c3,_0x58e42e['olYVN']),_0x11324e=_0x58e42e['iTwsR'](_0x17d3c3,_0x58e42e[_0xb442bd(0x215)]);performance[_0xb442bd(0x1d3)](_0x2ee06d);const _0x49ae31=_0x4037a3[_0xb442bd(0x1f0)](null,_0x396407);if(_0x58e42e[_0xb442bd(0x203)](_0x49ae31,Promise))return new Promise((_0x1bd13c,_0x20a97b)=>{const _0x2755d9=_0xb442bd;_0x49ae31[_0x2755d9(0x240)](_0x30c5ac=>_0x1bd13c(_0x30c5ac))['catch'](_0x4a7a52=>_0x20a97b(_0x4a7a52))['finally'](()=>{const _0x1873c9=_0x2755d9;performance[_0x1873c9(0x1d3)](_0x11324e),performance['measure'](_0x17d3c3,_0x2ee06d,_0x11324e);});});;return performance['mark'](_0x11324e),performance[_0xb442bd(0x1cb)](_0x17d3c3,_0x2ee06d,_0x11324e),_0x49ae31;};return _0x4037a3[_0xb442bd(0x1f0)](null,_0x396407);}catch(_0x573ff6){return _0x4037a3[_0xb442bd(0x1f0)](null,_0x396407);}}static[a71_0xf0a594(0x22e)](_0x4d1419,_0x2f7665){const _0x169abb=this;return function(){const _0x16e6b1=a71_0x33f3,_0x38c4e2=[_0x4d1419,_0x2f7665,null][_0x16e6b1(0x23c)](arguments);return _0x169abb[_0x16e6b1(0x1cb)]['apply'](_0x169abb,_0x38c4e2);};}static[a71_0xf0a594(0x1fd)](){const _0x382311=a71_0xf0a594,_0x434985={};_0x434985['IEZfP']=function(_0xc4d602,_0x174c75){return _0xc4d602/_0x174c75;},_0x434985[_0x382311(0x23b)]=function(_0x20115f,_0x3c0d17){return _0x20115f+_0x3c0d17;},_0x434985[_0x382311(0x227)]=function(_0x35366a,_0x9ac153){return _0x35366a*_0x9ac153;};const _0x5e8ded=_0x434985,_0x46ed70=/(^.*)\[(.*)\]$/,_0x374818={},_0x211769={};for(const _0x4b1700 of this[_0x382311(0x231)]){const _0xe608f1=_0x4b1700['name']['match'](_0x46ed70),_0x1bee04={};_0x1bee04[_0x382311(0x1f4)]=_0x4b1700[_0x382311(0x1f4)],_0x1bee04['duration']=_0x4b1700[_0x382311(0x21d)]||0x0;const _0x5f404c=_0x1bee04;_0xe608f1&&(_0x5f404c[_0x382311(0x1f4)]=_0xe608f1[0x1],_0x5f404c[_0x382311(0x224)]=JSON[_0x382311(0x219)](_0xe608f1[0x2]));if(_0x374818[_0x5f404c[_0x382311(0x1f4)]]){const _0x1cdf89=_0x374818[_0x5f404c['name']],_0x4660e0=_0x211769[_0x5f404c[_0x382311(0x1f4)]];_0x374818[_0x5f404c[_0x382311(0x1f4)]]['duration']=_0x5e8ded[_0x382311(0x1ee)](_0x5e8ded[_0x382311(0x23b)](_0x5e8ded[_0x382311(0x227)](_0x1cdf89[_0x382311(0x21d)],_0x4660e0),_0x5f404c[_0x382311(0x21d)]),_0x5e8ded[_0x382311(0x23b)](0x1,_0x4660e0)),_0x211769[_0x5f404c[_0x382311(0x1f4)]]++;}else _0x374818[_0x5f404c[_0x382311(0x1f4)]]=_0x5f404c,_0x211769[_0x5f404c['name']]=0x1;}return Object[_0x382311(0x1ea)](_0x374818);}static[a71_0xf0a594(0x21e)](){const _0x3ac2d7=a71_0xf0a594,_0x3858ff={};_0x3858ff[_0x3ac2d7(0x23e)]=function(_0x1b9d72,_0x14f25f){return _0x1b9d72===_0x14f25f;},_0x3858ff[_0x3ac2d7(0x1d6)]=function(_0x264d75,_0x4aaa8e){return _0x264d75+_0x4aaa8e;};const _0x570675=_0x3858ff;if(_0x570675['HFKad'](this[_0x3ac2d7(0x231)][_0x3ac2d7(0x214)],0x0))return;const _0x183e8f=this[_0x3ac2d7(0x1fd)](),_0x51099f=JSON[_0x3ac2d7(0x22f)](_0x183e8f),_0x317a60=_0x570675[_0x3ac2d7(0x1d6)](_0x51099f[_0x3ac2d7(0x1c3)](0x1,-0x1),',');fs['appendFileSync'](this[_0x3ac2d7(0x211)],_0x317a60);}static[a71_0xf0a594(0x1f9)](){const _0x3fc506=a71_0xf0a594,_0x70f2a3={};_0x70f2a3[_0x3fc506(0x1e0)]=function(_0x13bdb1,_0xa425e5){return _0x13bdb1===_0xa425e5;},_0x70f2a3[_0x3fc506(0x1f5)]=function(_0x2283ee,_0x3e300c){return _0x2283ee>_0x3e300c;};const _0x4dd3f4=_0x70f2a3;if(!this[_0x3fc506(0x207)]||_0x4dd3f4[_0x3fc506(0x1e0)](this[_0x3fc506(0x231)]['length'],0x0))return[];if(!fs['existsSync'](this[_0x3fc506(0x211)]))return this[_0x3fc506(0x231)];let _0x3e13e0=fs[_0x3fc506(0x208)](this[_0x3fc506(0x211)])[_0x3fc506(0x1e9)]();_0x3e13e0='['+_0x3e13e0[_0x3fc506(0x1c3)](0x0,-0x1)+']';let _0x139337=JSON[_0x3fc506(0x219)](_0x3e13e0);return _0x4dd3f4[_0x3fc506(0x1f5)](this[_0x3fc506(0x231)][_0x3fc506(0x214)],0x0)&&(_0x139337=_0x139337[_0x3fc506(0x23c)](this[_0x3fc506(0x1fd)]())),this[_0x3fc506(0x1d9)][_0x3fc506(0x1f3)](),fs[_0x3fc506(0x1e3)](this[_0x3fc506(0x211)]),_0x139337;}static[a71_0xf0a594(0x1d2)](){const _0x167848=a71_0xf0a594,_0x29c261={};_0x29c261[_0x167848(0x221)]=function(_0xccb738,_0x88926a){return _0xccb738===_0x88926a;},_0x29c261[_0x167848(0x20c)]=function(_0xf5598b,_0x189f06){return _0xf5598b+_0x189f06;};const _0xc7ce55=_0x29c261;if(_0xc7ce55[_0x167848(0x221)](this[_0x167848(0x233)][_0x167848(0x214)],0x0))return;const _0x47c58c=JSON[_0x167848(0x22f)](this[_0x167848(0x233)]),_0x5066ba=_0xc7ce55[_0x167848(0x20c)](_0x47c58c[_0x167848(0x1c3)](0x1,-0x1),',');fs[_0x167848(0x1c9)](this[_0x167848(0x1ed)],_0x5066ba);}static['finalizeErrors'](){const _0x344828=a71_0xf0a594,_0xb66b30={};_0xb66b30[_0x344828(0x1cd)]=function(_0x44540e,_0x7ee0e0){return _0x44540e>_0x7ee0e0;};const _0x404bc5=_0xb66b30;if(!fs[_0x344828(0x1ce)](this[_0x344828(0x1e6)]))return this[_0x344828(0x233)];let _0x25970e=fs['readFileSync'](this[_0x344828(0x1e6)])[_0x344828(0x1e9)]();_0x25970e='['+_0x25970e['slice'](0x0,-0x1)+']';let _0x4acba2=JSON[_0x344828(0x219)](_0x25970e);return _0x404bc5[_0x344828(0x1cd)](this[_0x344828(0x233)][_0x344828(0x214)],0x0)&&(_0x4acba2=_0x4acba2['concat'](this[_0x344828(0x233)])),fs[_0x344828(0x1e3)](this[_0x344828(0x1e6)]),_0x4acba2;}static[a71_0xf0a594(0x1f6)](_0x2a2809){const _0x1254c9=a71_0xf0a594;if(!this[_0x1254c9(0x210)]())return;this[_0x1254c9(0x233)][_0x1254c9(0x1f7)]({'message':_0x2a2809[_0x1254c9(0x1db)],'trace':_0x2a2809['stack'],'code':_0x2a2809[_0x1254c9(0x226)]||null,'time':new Date()});}static[a71_0xf0a594(0x1fa)](){const _0x36b319=a71_0xf0a594,_0x456a9b={};_0x456a9b['aKKum']='Error\x20stopping\x20monitoring';const _0x26723d=_0x456a9b;try{if(!this[_0x36b319(0x210)]())return;this[_0x36b319(0x1d9)][_0x36b319(0x1f3)](),this['pushPerfMeasures'](),this[_0x36b319(0x1d2)]();}catch{logger[_0x36b319(0x1d8)](_0x26723d[_0x36b319(0x241)]);}}static[a71_0xf0a594(0x229)](){const _0x171681=a71_0xf0a594,_0x5eec7b=this[_0x171681(0x1f9)](),_0x5c5f11=this[_0x171681(0x234)]();if(!this[_0x171681(0x210)]()){const _0x2eb02f={};return _0x2eb02f[_0x171681(0x1d5)]=[],_0x2eb02f[_0x171681(0x1e8)]=[],_0x2eb02f;}const _0x3fe35a={};return _0x3fe35a[_0x171681(0x1d5)]=_0x5eec7b,_0x3fe35a['errors']=_0x5c5f11,_0x3fe35a;}}module['exports']=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
- function a72_0x3d3e(){const _0x59b745=['http','mDjWH','UySVy','129678pdLlNO','BOWag','13lQGooN','host','removeListener','path','now','once','64JrdiBG','129932mXFooF','error','pzpvC','379623ydEjyo','status_code','ynWCr','13254hlZfPH','aMJZZ','request','sTjEH','GJyhp','GCczV','22633660JQElwI','793828FeBJti','unpatch','socket','24KqbrJE','headers','exports','method','cVfmW','1357640nHqIGX','end','54MjeHvZ','restore','3UqdzCZ','AwcjH','16YtIkyU','560iDeRgS'];a72_0x3d3e=function(){return _0x59b745;};return a72_0x3d3e();}const a72_0x36b8a6=a72_0x12e1;(function(_0x469b2d,_0x3e1c2f){const _0x22039f=a72_0x12e1,_0x2d4c08=_0x469b2d();while(!![]){try{const _0x92fcde=-parseInt(_0x22039f(0xc5))/0x1*(parseInt(_0x22039f(0xcc))/0x2)+parseInt(_0x22039f(0xd8))/0x3*(-parseInt(_0x22039f(0xc7))/0x4)+parseInt(_0x22039f(0xc8))/0x5*(-parseInt(_0x22039f(0xdb))/0x6)+-parseInt(_0x22039f(0xb9))/0x7*(parseInt(_0x22039f(0xd4))/0x8)+-parseInt(_0x22039f(0xc3))/0x9*(-parseInt(_0x22039f(0xc1))/0xa)+-parseInt(_0x22039f(0xd5))/0xb*(-parseInt(_0x22039f(0xbc))/0xc)+-parseInt(_0x22039f(0xce))/0xd*(-parseInt(_0x22039f(0xb8))/0xe);if(_0x92fcde===_0x3e1c2f)break;else _0x2d4c08['push'](_0x2d4c08['shift']());}catch(_0x29db57){_0x2d4c08['push'](_0x2d4c08['shift']());}}}(a72_0x3d3e,0x92619));const http=require(a72_0x36b8a6(0xc9)),https=require('https'),monkeypatch=require('monkeypatch');function spy(_0x577942){const _0x14ac4f=a72_0x36b8a6,_0x20704b={'sTjEH':function(_0x494cf5,_0x21f7ce,_0xd0a724){return _0x494cf5(_0x21f7ce,_0xd0a724);},'BOWag':function(_0x486f96,_0x537420){return _0x486f96-_0x537420;},'pzpvC':_0x14ac4f(0xd6),'GJyhp':function(_0x5d478d,..._0x1dfcbd){return _0x5d478d(..._0x1dfcbd);},'GCczV':function(_0x843246,_0x89fd6a,_0x5ebfb7){return _0x843246(_0x89fd6a,_0x5ebfb7);},'aMJZZ':'response','ooefH':_0x14ac4f(0xbb),'ynWCr':function(_0x2d8d66,_0x13d92c,_0xd365e7,_0xe9494b){return _0x2d8d66(_0x13d92c,_0xd365e7,_0xe9494b);},'HVtgY':_0x14ac4f(0xc2),'GwsoY':function(_0xb77c75,_0x2cece6,_0x46233a,_0x35d7f0){return _0xb77c75(_0x2cece6,_0x46233a,_0x35d7f0);},'cVfmW':_0x14ac4f(0xdd),'AwcjH':function(_0x27fb63,_0x55fab7,_0x44c6d7,_0x43776c){return _0x27fb63(_0x55fab7,_0x44c6d7,_0x43776c);}},_0x1736a8=(_0x19a4f0,_0x3f55cf,_0x61310f)=>{const _0x2fdbf9=_0x14ac4f,_0x21d199={'UySVy':_0x20704b[_0x2fdbf9(0xd7)],'mDjWH':function(_0x15999b,..._0x2e004e){const _0x29d0ce=_0x2fdbf9;return _0x20704b[_0x29d0ce(0xdf)](_0x15999b,..._0x2e004e);}},_0x259104=_0x20704b[_0x2fdbf9(0xe0)](_0x19a4f0,_0x3f55cf,_0x61310f);let _0x498714=Date[_0x2fdbf9(0xd2)](),_0xd368fb;const _0x593d5d=_0x25f0fe=>{const _0x28563b=_0x2fdbf9,_0x397853={};_0x397853['host']=_0x3f55cf[_0x28563b(0xcf)]||_0x3f55cf['hostname'],_0x397853[_0x28563b(0xd1)]=_0x3f55cf['path'],_0x397853['method']=_0x3f55cf['method'],_0x397853[_0x28563b(0xbd)]=_0x3f55cf[_0x28563b(0xbd)],_0x20704b['sTjEH'](_0x577942,_0x25f0fe,_0x397853);};return _0x259104[_0x2fdbf9(0xd3)](_0x20704b[_0x2fdbf9(0xdc)],_0x5355f3=>{const _0x5cff4d=_0x2fdbf9,_0x1ce423=_0x20704b[_0x5cff4d(0xcd)](Date['now'](),_0x498714),_0x14cde0={};_0x14cde0['hostname']=_0x3f55cf[_0x5cff4d(0xcf)]||_0x3f55cf['hostname'],_0x14cde0['path']=_0x3f55cf[_0x5cff4d(0xd1)],_0x14cde0['method']=_0x3f55cf[_0x5cff4d(0xbf)],_0x14cde0[_0x5cff4d(0xbd)]=_0x3f55cf[_0x5cff4d(0xbd)],_0x14cde0[_0x5cff4d(0xd9)]=_0x5355f3['statusCode'],_0x14cde0['duration_ms']=_0x1ce423,_0x20704b[_0x5cff4d(0xde)](_0x577942,null,_0x14cde0),_0xd368fb[_0x5cff4d(0xd0)](_0x20704b[_0x5cff4d(0xd7)],_0x593d5d);}),_0x259104['on'](_0x20704b['ooefH'],_0x6cfee4=>{const _0x31c2ca=_0x2fdbf9;_0xd368fb=_0x6cfee4,_0x6cfee4['once'](_0x21d199[_0x31c2ca(0xcb)],_0x593d5d);}),_0x20704b[_0x2fdbf9(0xda)](monkeypatch,_0x259104,_0x20704b['HVtgY'],(_0x1dcc0c,..._0x38a688)=>{const _0x26c0d1=_0x2fdbf9;_0x498714=Date[_0x26c0d1(0xd2)](),_0x21d199[_0x26c0d1(0xca)](_0x1dcc0c,..._0x38a688);}),_0x259104;};_0x20704b['GwsoY'](monkeypatch,http,_0x20704b[_0x14ac4f(0xc0)],_0x1736a8),_0x20704b[_0x14ac4f(0xc6)](monkeypatch,https,_0x20704b[_0x14ac4f(0xc0)],_0x1736a8);}function restore(){const _0x387bea=a72_0x36b8a6;http[_0x387bea(0xdd)][_0x387bea(0xba)](),https[_0x387bea(0xdd)]['unpatch']();}const a72_0x54f1e8={};function a72_0x12e1(_0x4a540b,_0x21925f){const _0x3d3e03=a72_0x3d3e();return a72_0x12e1=function(_0x12e160,_0x16b9fa){_0x12e160=_0x12e160-0xb8;let _0x21c4d7=_0x3d3e03[_0x12e160];return _0x21c4d7;},a72_0x12e1(_0x4a540b,_0x21925f);}a72_0x54f1e8['spy']=spy,a72_0x54f1e8[a72_0x36b8a6(0xc4)]=restore,module[a72_0x36b8a6(0xbe)]=a72_0x54f1e8;
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
- function a73_0x1d2f(_0x5d45a5,_0x1b490e){const _0x169bef=a73_0x169b();return a73_0x1d2f=function(_0x1d2fb4,_0x7066ef){_0x1d2fb4=_0x1d2fb4-0x11e;let _0x5ab66c=_0x169bef[_0x1d2fb4];return _0x5ab66c;},a73_0x1d2f(_0x5d45a5,_0x1b490e);}const a73_0x391ece=a73_0x1d2f;(function(_0x4d6d94,_0x3611c4){const _0x42a4dc=a73_0x1d2f,_0x387ec3=_0x4d6d94();while(!![]){try{const _0x255c99=parseInt(_0x42a4dc(0x135))/0x1+-parseInt(_0x42a4dc(0x13b))/0x2+-parseInt(_0x42a4dc(0x126))/0x3*(-parseInt(_0x42a4dc(0x137))/0x4)+-parseInt(_0x42a4dc(0x136))/0x5*(-parseInt(_0x42a4dc(0x12e))/0x6)+-parseInt(_0x42a4dc(0x139))/0x7*(parseInt(_0x42a4dc(0x128))/0x8)+parseInt(_0x42a4dc(0x121))/0x9*(parseInt(_0x42a4dc(0x120))/0xa)+-parseInt(_0x42a4dc(0x12b))/0xb*(-parseInt(_0x42a4dc(0x134))/0xc);if(_0x255c99===_0x3611c4)break;else _0x387ec3['push'](_0x387ec3['shift']());}catch(_0x87d7c3){_0x387ec3['push'](_0x387ec3['shift']());}}}(a73_0x169b,0x2c28d),module[a73_0x391ece(0x11f)]=function(){const _0x5b0cf0=a73_0x391ece,_0x2d94c={'JZRcH':function(_0x3eaf61,_0x1ab8fe){return _0x3eaf61===_0x1ab8fe;},'NQEyc':'https:','bivqH':'agent','eYtKL':function(_0x5b1a34,_0x52f409,_0x1af1fe){return _0x5b1a34(_0x52f409,_0x1af1fe);},'CLboE':function(_0x370353,_0x32212f){return _0x370353(_0x32212f);},'SzwPS':_0x5b0cf0(0x11e),'mbWVY':function(_0x2ae241,_0x22ce09){return _0x2ae241(_0x22ce09);},'bIyqJ':'https','pOhYm':function(_0x263cce,_0x226d94){return _0x263cce*_0x226d94;},'KFOfY':_0x5b0cf0(0x133)},_0x1f159a=_0x2d94c['CLboE'](require,_0x2d94c[_0x5b0cf0(0x124)]),_0x4d90ef=_0x2d94c[_0x5b0cf0(0x138)](require,_0x2d94c[_0x5b0cf0(0x123)]),_0x4dece4=_0x2d94c['pOhYm'](0x1e,0x3e8);if(_0x1f159a[_0x5b0cf0(0x12c)]&&Object['prototype'][_0x5b0cf0(0x130)][_0x5b0cf0(0x122)](_0x1f159a['globalAgent'],_0x2d94c[_0x5b0cf0(0x129)]))_0x1f159a[_0x5b0cf0(0x12c)][_0x5b0cf0(0x133)]=!![],_0x4d90ef[_0x5b0cf0(0x12c)][_0x5b0cf0(0x133)]=!![],_0x1f159a[_0x5b0cf0(0x12c)][_0x5b0cf0(0x131)]=_0x4dece4,_0x4d90ef[_0x5b0cf0(0x12c)]['keepAliveMsecs']=_0x4dece4;else{const _0x2be70a={};_0x2be70a[_0x5b0cf0(0x133)]=!![],_0x2be70a['keepAliveMsecs']=_0x4dece4;const _0x509ed9=new _0x1f159a[(_0x5b0cf0(0x132))](_0x2be70a),_0x4378e6={};_0x4378e6[_0x5b0cf0(0x133)]=!![],_0x4378e6['keepAliveMsecs']=_0x4dece4;const _0x2b574c=new _0x4d90ef[(_0x5b0cf0(0x132))](_0x4378e6),_0x3480f4=_0x1f159a['request'],_0x24b182=_0x4d90ef[_0x5b0cf0(0x12a)];_0x1f159a['request']=function(_0x323696,_0x525fc7){const _0xc0b909=_0x5b0cf0;if(_0x2d94c[_0xc0b909(0x13a)](_0x323696[_0xc0b909(0x125)],_0x2d94c[_0xc0b909(0x127)]))return _0x323696[_0x2d94c['bivqH']]=_0x2b574c,_0x2d94c[_0xc0b909(0x12f)](_0x24b182,_0x323696,_0x525fc7);return _0x323696[_0x2d94c[_0xc0b909(0x12d)]]=_0x509ed9,_0x2d94c[_0xc0b909(0x12f)](_0x3480f4,_0x323696,_0x525fc7);};}});function a73_0x169b(){const _0x17cd66=['18AFphzq','eYtKL','hasOwnProperty','keepAliveMsecs','Agent','keepAlive','656460AkSEbb','130304fewelj','172675USfxwh','108452vUOnkY','mbWVY','7MWIAfP','JZRcH','218952TRjVWO','http','exports','10hCFjcr','328932dKrURm','call','bIyqJ','SzwPS','protocol','33PImvQe','NQEyc','2664416rrazdr','KFOfY','request','11AyCMEO','globalAgent','bivqH'];a73_0x169b=function(){return _0x17cd66;};return a73_0x169b();}
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_0x934d71=a74_0x5823;function a74_0x2dca(){var _0x3868ed=['CODECEPT','1717856aDAuND','api/v1/screenshots','JEST','.obs_test_details','3ALzGEW','Playwright','2522380mESfSF','1329865OjtuoZ','1313150nVJxAw','9152gmIqpK','assign','3384zZBJpl','jest','exports','438273kZwLVv','https://collector-observability.browserstack.com','4320036HFbsqO','6ACsrtc'];a74_0x2dca=function(){return _0x3868ed;};return a74_0x2dca();}(function(_0x1074a7,_0x3df740){var _0x465c8f=a74_0x5823,_0xf1c90c=_0x1074a7();while(!![]){try{var _0x3ad1b5=-parseInt(_0x465c8f(0x1a0))/0x1+-parseInt(_0x465c8f(0x19a))/0x2*(parseInt(_0x465c8f(0x196))/0x3)+parseInt(_0x465c8f(0x192))/0x4+-parseInt(_0x465c8f(0x199))/0x5*(parseInt(_0x465c8f(0x1a3))/0x6)+parseInt(_0x465c8f(0x1a2))/0x7+parseInt(_0x465c8f(0x19b))/0x8*(parseInt(_0x465c8f(0x19d))/0x9)+parseInt(_0x465c8f(0x198))/0xa;if(_0x3ad1b5===_0x3df740)break;else _0xf1c90c['push'](_0xf1c90c['shift']());}catch(_0x5e2323){_0xf1c90c['push'](_0xf1c90c['shift']());}}}(a74_0x2dca,0x59e2d));function a74_0x5823(_0x52d460,_0x3848e5){var _0x2dcafe=a74_0x2dca();return a74_0x5823=function(_0x5823b0,_0x54cbdb){_0x5823b0=_0x5823b0-0x191;var _0x4f791c=_0x2dcafe[_0x5823b0];return _0x4f791c;},a74_0x5823(_0x52d460,_0x3848e5);}var a74_0x136596={};a74_0x136596['PLAYWRIGHT']=a74_0x934d71(0x197),a74_0x136596['MOCHA']='mocha',a74_0x136596[a74_0x934d71(0x191)]='codeceptjs',a74_0x136596[a74_0x934d71(0x194)]=a74_0x934d71(0x19e),module[a74_0x934d71(0x19f)]={'consoleHolder':Object[a74_0x934d71(0x19c)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a74_0x934d71(0x1a1),'EVENT_ENDPOINT':'api/v1/event','BATCH_ENDPOINT':'api/v1/batch','SCREENSHOT_ENDPOINT':a74_0x934d71(0x193),'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_0x934d71(0x195),'FRAMEWORKS':a74_0x136596};
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};