browserstack-node-sdk 1.34.1 → 1.34.3

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 (126) 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 +2 -2
  36. package/src/ai-sdk-node/bundle.js +1 -0
  37. package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
  38. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  39. package/src/bin/codeceptjs/command.js +1 -1
  40. package/src/bin/codeceptjs/helper.js +1 -1
  41. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  42. package/src/bin/cucumber-js/command.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  44. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  45. package/src/bin/cucumber-js/test-observability.js +1 -1
  46. package/src/bin/cucumber-js/test.setup.js +1 -1
  47. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  48. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  49. package/src/bin/integrations/command.js +1 -1
  50. package/src/bin/integrations/constants.js +1 -1
  51. package/src/bin/jest/command.js +1 -1
  52. package/src/bin/jest/customImplements/customCircus.js +1 -1
  53. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  54. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  55. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  56. package/src/bin/jest/jest.setup.js +1 -1
  57. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  58. package/src/bin/jest/test-observability/helper.js +1 -1
  59. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  60. package/src/bin/jest/test-observability/test-details.js +1 -1
  61. package/src/bin/jest/test_before.setup.js +1 -1
  62. package/src/bin/launcher/launcher.js +1 -1
  63. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  64. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  65. package/src/bin/mocha/command.js +1 -1
  66. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  67. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  68. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  69. package/src/bin/mocha/test.setup.js +1 -1
  70. package/src/bin/nightwatch/command.js +1 -1
  71. package/src/bin/playwright/accessibility-helper.js +1 -1
  72. package/src/bin/playwright/command.js +1 -1
  73. package/src/bin/playwright/globalSetup.js +1 -1
  74. package/src/bin/playwright/mock-process.js +1 -1
  75. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  76. package/src/bin/playwright/patches.js +1 -1
  77. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  78. package/src/bin/playwright/reporter/reporter.js +1 -1
  79. package/src/bin/playwright/reporter/test-details.js +1 -1
  80. package/src/bin/playwright/sessionDetails.js +1 -1
  81. package/src/bin/runner.js +1 -1
  82. package/src/bin/setup.js +1 -1
  83. package/src/bin/test-runner/index.js +1 -1
  84. package/src/bin/test-runner/runTest.js +1 -1
  85. package/src/bin/test-runner/testWorker.js +1 -1
  86. package/src/bin/utils/constants.js +1 -1
  87. package/src/bin/utils/log4jsAppender.js +1 -1
  88. package/src/bin/utils/logPatcher.js +1 -1
  89. package/src/bin/utils/logReportingAPI.js +1 -1
  90. package/src/bin/vanilla-js/command.js +1 -1
  91. package/src/browserStackSdk.js +1 -1
  92. package/src/helpers/BrowserStackSetup.js +1 -1
  93. package/src/helpers/accessibility-automation/constants.js +1 -1
  94. package/src/helpers/accessibility-automation/helper.js +1 -1
  95. package/src/helpers/accessibility-automation/scripts.js +1 -1
  96. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -0
  97. package/src/helpers/ai-sdk/autoHealHelper.js +1 -0
  98. package/src/helpers/ats/constants.js +1 -1
  99. package/src/helpers/ats/helper.js +1 -1
  100. package/src/helpers/capsMapping.js +1 -1
  101. package/src/helpers/globals.js +1 -1
  102. package/src/helpers/helper.js +1 -1
  103. package/src/helpers/logger.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -0
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a63_0x4ad151=a63_0x2ba3;(function(_0x274c09,_0x566993){const _0x563423=a63_0x2ba3,_0x242d7d=_0x274c09();while(!![]){try{const _0x173e3b=parseInt(_0x563423(0x93))/0x1+-parseInt(_0x563423(0xb4))/0x2*(parseInt(_0x563423(0x98))/0x3)+-parseInt(_0x563423(0xab))/0x4+parseInt(_0x563423(0x9d))/0x5*(parseInt(_0x563423(0x9e))/0x6)+-parseInt(_0x563423(0xb0))/0x7+parseInt(_0x563423(0xa7))/0x8+parseInt(_0x563423(0xaf))/0x9;if(_0x173e3b===_0x566993)break;else _0x242d7d['push'](_0x242d7d['shift']());}catch(_0x42df25){_0x242d7d['push'](_0x242d7d['shift']());}}}(a63_0x1dde,0x78a05));const winston=require(a63_0x4ad151(0xac)),os=require('os'),fs=require('fs'),path=require(a63_0x4ad151(0x90)),logDir=a63_0x4ad151(0xa3);!fs[a63_0x4ad151(0xa6)](logDir)&&fs[a63_0x4ad151(0x9a)](logDir);const a63_0x20d5e6={};a63_0x20d5e6[a63_0x4ad151(0xaa)]=a63_0x4ad151(0x95);function a63_0x2ba3(_0x4812e4,_0x5af55e){const _0x1ddeea=a63_0x1dde();return a63_0x2ba3=function(_0x2ba34e,_0x3474db){_0x2ba34e=_0x2ba34e-0x8f;let _0x508489=_0x1ddeea[_0x2ba34e];return _0x508489;},a63_0x2ba3(_0x4812e4,_0x5af55e);}const transports={'loggerConsole':new winston[(a63_0x4ad151(0x99))][(a63_0x4ad151(0xa0))](a63_0x20d5e6),'loggerFile':new winston[(a63_0x4ad151(0x99))]['File']({'filename':path[a63_0x4ad151(0x9b)](logDir,a63_0x4ad151(0x8f))}),'debugLoggerFile':new winston[(a63_0x4ad151(0x99))][(a63_0x4ad151(0xa5))]({'filename':path['join'](logDir,a63_0x4ad151(0x9f)),'level':a63_0x4ad151(0xa8)})},a63_0xdcf73c={};a63_0xdcf73c[a63_0x4ad151(0x91)]=a63_0x4ad151(0xa4);const a63_0xb6f43d={};function a63_0x1dde(){const _0x7be8ce=['existsSync','5567256LzTcxq','silly','createLogger','name','636044ihpFSX','winston','loggerFile','fileLogger','3997278Vsbsyd','4465832WNgsQC','debugLoggerFile','combine','timestamp','38fbZYBB','colorize','/usage.log','path','format','loggerConsole','625401jQZNSl','message','console.info','winstonLogger','\x20-\x20','112482InBnnC','transports','mkdirSync','join','logDir','470nUkYmu','15192bCbThD','/usage-debug.log','Console','printf','level','log','YYYY-MM-DD\x20HH:mm:ss','File'];a63_0x1dde=function(){return _0x7be8ce;};return a63_0x1dde();}a63_0xb6f43d['level']=!![];const winstonLoggerParams={'format':winston[a63_0x4ad151(0x91)]['combine'](winston[a63_0x4ad151(0x91)][a63_0x4ad151(0xb3)](a63_0xdcf73c),winston[a63_0x4ad151(0x91)][a63_0x4ad151(0xb5)](a63_0xb6f43d),winston[a63_0x4ad151(0x91)][a63_0x4ad151(0xa1)](_0x4bfbc1=>_0x4bfbc1[a63_0x4ad151(0xb3)]+a63_0x4ad151(0x97)+_0x4bfbc1[a63_0x4ad151(0xa2)]+':\x20'+_0x4bfbc1[a63_0x4ad151(0x94)])),'transports':[transports[a63_0x4ad151(0x92)],transports[a63_0x4ad151(0xad)],transports[a63_0x4ad151(0xb1)]]},a63_0x11db8b={};a63_0x11db8b[a63_0x4ad151(0x91)]=a63_0x4ad151(0xa4);const a63_0x23a769={};a63_0x23a769[a63_0x4ad151(0xa2)]=!![];const winstonFileLoggerParams={'format':winston['format'][a63_0x4ad151(0xb2)](winston['format'][a63_0x4ad151(0xb3)](a63_0x11db8b),winston['format']['colorize'](a63_0x23a769),winston[a63_0x4ad151(0x91)][a63_0x4ad151(0xa1)](_0x5d0dc4=>_0x5d0dc4[a63_0x4ad151(0xa2)]+':\x20'+_0x5d0dc4['message'])),'transports':[transports[a63_0x4ad151(0xad)],transports[a63_0x4ad151(0xb1)]]};exports[a63_0x4ad151(0x96)]=new winston[(a63_0x4ad151(0xa9))](winstonLoggerParams),exports[a63_0x4ad151(0xae)]=new winston[(a63_0x4ad151(0xa9))](winstonFileLoggerParams),exports[a63_0x4ad151(0x9c)]=logDir,exports[a63_0x4ad151(0x99)]=transports;
1
+ const a66_0x175d14=a66_0x3f1d;(function(_0x3cc4e4,_0x523fb4){const _0xea325a=a66_0x3f1d,_0x2808e8=_0x3cc4e4();while(!![]){try{const _0x4e6f11=parseInt(_0xea325a(0x14b))/0x1+-parseInt(_0xea325a(0x163))/0x2+-parseInt(_0xea325a(0x15f))/0x3+-parseInt(_0xea325a(0x148))/0x4*(-parseInt(_0xea325a(0x142))/0x5)+-parseInt(_0xea325a(0x154))/0x6*(-parseInt(_0xea325a(0x157))/0x7)+parseInt(_0xea325a(0x15d))/0x8*(-parseInt(_0xea325a(0x15e))/0x9)+parseInt(_0xea325a(0x159))/0xa;if(_0x4e6f11===_0x523fb4)break;else _0x2808e8['push'](_0x2808e8['shift']());}catch(_0x336fda){_0x2808e8['push'](_0x2808e8['shift']());}}}(a66_0x33f8,0xb97f2));function a66_0x3f1d(_0x17991d,_0x22eee9){const _0x33f8a6=a66_0x33f8();return a66_0x3f1d=function(_0x3f1d04,_0x74e2cc){_0x3f1d04=_0x3f1d04-0x142;let _0x418e6e=_0x33f8a6[_0x3f1d04];return _0x418e6e;},a66_0x3f1d(_0x17991d,_0x22eee9);}const winston=require(a66_0x175d14(0x153)),os=require('os'),fs=require('fs'),path=require(a66_0x175d14(0x14c)),logDir=a66_0x175d14(0x15c);!fs[a66_0x175d14(0x164)](logDir)&&fs['mkdirSync'](logDir);const a66_0x292a5d={};a66_0x292a5d['name']=a66_0x175d14(0x158);const transports={'loggerConsole':new winston[(a66_0x175d14(0x162))][(a66_0x175d14(0x145))](a66_0x292a5d),'loggerFile':new winston[(a66_0x175d14(0x162))]['File']({'filename':path[a66_0x175d14(0x151)](logDir,a66_0x175d14(0x150))}),'debugLoggerFile':new winston[(a66_0x175d14(0x162))]['File']({'filename':path['join'](logDir,a66_0x175d14(0x155)),'level':'silly'})},a66_0x36f376={};a66_0x36f376['format']=a66_0x175d14(0x15a);const a66_0x2b3222={};function a66_0x33f8(){const _0x494873=['loggerFile','createLogger','/usage.log','join','\x20-\x20','winston','1672890gUtjVt','/usage-debug.log','winstonLogger','21NgxmrD','console.info','5910650JjtgQi','YYYY-MM-DD\x20HH:mm:ss','loggerConsole','log','4123688cPVMof','18wnWstD','810576nYmyLf','timestamp','level','transports','2396236PLUxPM','existsSync','2766730RElmNF','message','colorize','Console','printf','combine','4vDYAWJ','fileLogger','debugLoggerFile','1278170OqklhB','path','format'];a66_0x33f8=function(){return _0x494873;};return a66_0x33f8();}a66_0x2b3222[a66_0x175d14(0x161)]=!![];const winstonLoggerParams={'format':winston[a66_0x175d14(0x14d)][a66_0x175d14(0x147)](winston[a66_0x175d14(0x14d)][a66_0x175d14(0x160)](a66_0x36f376),winston[a66_0x175d14(0x14d)][a66_0x175d14(0x144)](a66_0x2b3222),winston[a66_0x175d14(0x14d)][a66_0x175d14(0x146)](_0x427771=>_0x427771[a66_0x175d14(0x160)]+a66_0x175d14(0x152)+_0x427771['level']+':\x20'+_0x427771[a66_0x175d14(0x143)])),'transports':[transports[a66_0x175d14(0x15b)],transports[a66_0x175d14(0x14e)],transports[a66_0x175d14(0x14a)]]},a66_0x42e6d6={};a66_0x42e6d6['format']='YYYY-MM-DD\x20HH:mm:ss';const a66_0x1ca05e={};a66_0x1ca05e['level']=!![];const winstonFileLoggerParams={'format':winston[a66_0x175d14(0x14d)][a66_0x175d14(0x147)](winston[a66_0x175d14(0x14d)][a66_0x175d14(0x160)](a66_0x42e6d6),winston['format']['colorize'](a66_0x1ca05e),winston[a66_0x175d14(0x14d)][a66_0x175d14(0x146)](_0x4663d1=>_0x4663d1[a66_0x175d14(0x161)]+':\x20'+_0x4663d1['message'])),'transports':[transports['loggerFile'],transports[a66_0x175d14(0x14a)]]};exports[a66_0x175d14(0x156)]=new winston[(a66_0x175d14(0x14f))](winstonLoggerParams),exports[a66_0x175d14(0x149)]=new winston['createLogger'](winstonFileLoggerParams),exports['logDir']=logDir,exports[a66_0x175d14(0x162)]=transports;
@@ -1 +1 @@
1
- function a64_0x39b8(_0x98ad4e,_0x5228d7){var _0x1ea30e=a64_0x1ea3();return a64_0x39b8=function(_0x39b8bf,_0x11b68b){_0x39b8bf=_0x39b8bf-0x193;var _0x251ece=_0x1ea30e[_0x39b8bf];return _0x251ece;},a64_0x39b8(_0x98ad4e,_0x5228d7);}var a64_0x31d428=a64_0x39b8;(function(_0x4d8f59,_0x33cd85){var _0x25bc3d=a64_0x39b8,_0xe73d2c=_0x4d8f59();while(!![]){try{var _0x2bd8e4=-parseInt(_0x25bc3d(0x193))/0x1+-parseInt(_0x25bc3d(0x1b7))/0x2*(-parseInt(_0x25bc3d(0x197))/0x3)+-parseInt(_0x25bc3d(0x1b5))/0x4*(-parseInt(_0x25bc3d(0x1b2))/0x5)+-parseInt(_0x25bc3d(0x1ad))/0x6*(-parseInt(_0x25bc3d(0x1a1))/0x7)+-parseInt(_0x25bc3d(0x19c))/0x8*(parseInt(_0x25bc3d(0x1ba))/0x9)+-parseInt(_0x25bc3d(0x19f))/0xa+parseInt(_0x25bc3d(0x19b))/0xb;if(_0x2bd8e4===_0x33cd85)break;else _0xe73d2c['push'](_0xe73d2c['shift']());}catch(_0x262e7a){_0xe73d2c['push'](_0xe73d2c['shift']());}}}(a64_0x1ea3,0x94b79),exports[a64_0x31d428(0x1ae)]=_0x49032b=>{var _0x41c792=a64_0x31d428,_0x1353b8={'icqeO':_0x41c792(0x1af),'JJRWU':function(_0x27843c,_0x54f1a8){return _0x27843c!==_0x54f1a8;},'GJWfL':_0x41c792(0x1b9),'UKETb':_0x41c792(0x1a0),'uxFJY':function(_0x2b408c,_0x54d31c){return _0x2b408c(_0x54d31c);}},_0x46801e=_0x1353b8[_0x41c792(0x1a2)][_0x41c792(0x1b1)]('|'),_0x29fb0b=0x0;while(!![]){switch(_0x46801e[_0x29fb0b++]){case'0':_0x49032b[_0x41c792(0x1a3)]=()=>{var _0x38f3f8=_0x41c792,_0xed6053={'cYJyb':_0x593bc3[_0x38f3f8(0x1a5)],'xzGKp':function(_0x13af77,_0xdd07c1){return _0x593bc3['HCpHE'](_0x13af77,_0xdd07c1);}};return new Promise(function(_0x3be6ca,_0x5cacbe){var _0x166d4e=_0x38f3f8;_0x49032b[_0x166d4e(0x1a4)]()[_0x166d4e(0x194)](_0x33ec25=>{var _0xa4bcb=_0x166d4e;process[_0xa4bcb(0x199)](_0xa4bcb(0x198)+process[_0xa4bcb(0x19e)],{'timestamp':new Date()['toISOString'](),'message':_0x33ec25,'kind':_0xed6053[_0xa4bcb(0x1a9)]}),_0xed6053['xzGKp'](_0x3be6ca,_0x33ec25);});});};continue;case'1':_0x49032b[_0x41c792(0x1a4)]=_0x49032b[_0x41c792(0x1a3)];continue;case'2':if(_0x1353b8['JJRWU'](process[_0x41c792(0x1aa)][_0x41c792(0x1ac)],_0x1353b8[_0x41c792(0x19d)]))return;continue;case'3':var _0x593bc3={'jjIeu':_0x1353b8[_0x41c792(0x1b6)],'HCpHE':function(_0xa49c28,_0x918fdc){var _0x14afd1=_0x41c792;return _0x1353b8[_0x14afd1(0x1a7)](_0xa49c28,_0x918fdc);}};continue;case'4':if(_0x49032b['patchScreenshot'])return;continue;case'5':_0x49032b['patchScreenshot']=!![];continue;}break;}},exports[a64_0x31d428(0x1a8)]=(_0x171761,_0x58f66f=null)=>{var _0x58b26b=a64_0x31d428,_0x5bb556={'sTCEK':_0x58b26b(0x195),'IfOsq':function(_0x462b34){return _0x462b34();},'dvfzc':function(_0x187cfa,_0x56fdbd){return _0x187cfa>_0x56fdbd;},'ZAAdw':function(_0x4e346a,_0x3d50fb){return _0x4e346a>_0x3d50fb;}},_0x2c8197=_0x5bb556['sTCEK'][_0x58b26b(0x1b1)]('|'),_0x16c02c=0x0;while(!![]){switch(_0x2c8197[_0x16c02c++]){case'0':_0x171761[_0x58b26b(0x1b3)]=!![];continue;case'1':_0x171761[_0x58b26b(0x1ab)]=_0x171761[_0x58b26b(0x196)];continue;case'2':if(_0x171761[_0x58b26b(0x1b3)])return;continue;case'3':var _0x2f60f4={'RytKJ':function(_0xdb77af){return _0x5bb556['IfOsq'](_0xdb77af);},'ZvyNj':function(_0x49e0a9,_0xfc8748){return _0x5bb556['dvfzc'](_0x49e0a9,_0xfc8748);},'XGPhO':function(_0x2e5f79,_0x57c4cf){var _0x27be47=_0x58b26b;return _0x5bb556[_0x27be47(0x1b4)](_0x2e5f79,_0x57c4cf);}};continue;case'4':_0x171761['quit']=()=>{var _0x32b1b8=_0x58b26b;if(_0x58f66f){_0x58f66f[_0x32b1b8(0x1b8)]+=0x1;if(_0x2f60f4[_0x32b1b8(0x1b0)](_0x58f66f[_0x32b1b8(0x1b8)],0x1))return _0x171761[_0x32b1b8(0x1ab)]();}else{_0x171761[_0x32b1b8(0x1b8)]+=0x1;if(_0x2f60f4[_0x32b1b8(0x1a6)](_0x171761[_0x32b1b8(0x1b8)],0x1))return _0x171761[_0x32b1b8(0x1ab)]();}return new Promise(function(_0x3eb8c9){var _0xd3a870=_0x32b1b8;_0x2f60f4[_0xd3a870(0x19a)](_0x3eb8c9);});};continue;}break;}});function a64_0x1ea3(){var _0x400053=['split','5ckMWPH','patchQuit','ZAAdw','1829876OSKbdX','UKETb','34876VDASXf','quitCount_','true','9VAZOhD','367289xCocWO','then','3|2|0|1|4','quit','147SJAjwz','bs:addLog:','emit','RytKJ','13956624PVXcrR','9486584VHtVbw','GJWfL','pid','4298870kpPYqC','TEST_SCREENSHOT','77wvekBJ','icqeO','takeScreenshot','initScreenshot','jjIeu','XGPhO','uxFJY','overrideQuit','cYJyb','env','initQuit','BS_TESTOPS_ALLOW_SCREENSHOTS','6234FYrvQR','overrideTakeScreenshot','3|2|4|5|1|0','ZvyNj'];a64_0x1ea3=function(){return _0x400053;};return a64_0x1ea3();}
1
+ var a67_0x8738ab=a67_0x247c;function a67_0x247c(_0x1f6393,_0x492da3){var _0xfbb89b=a67_0xfbb8();return a67_0x247c=function(_0x247cf9,_0x437525){_0x247cf9=_0x247cf9-0x124;var _0x1110e8=_0xfbb89b[_0x247cf9];return _0x1110e8;},a67_0x247c(_0x1f6393,_0x492da3);}function a67_0xfbb8(){var _0x4a30f8=['tjkSx','1603730zYmnMO','initScreenshot','WduOY','82qNbfiy','quitCount_','473jZAFqZ','176drCuow','yVqBY','21QkLqYM','patchScreenshot','6694XgBbnF','301008XZrrkj','929187ebHHSJ','initQuit','then','takeScreenshot','9JWzwhp','SIPJj','TEST_SCREENSHOT','overrideTakeScreenshot','emit','split','ziPke','patchQuit','UQZsM','quit','bs:addLog:','true','ZDMUM','ilZmS','1357800ixMlvD','env','ZNxNA','6910TZAivm','mSwlN','toISOString','BS_TESTOPS_ALLOW_SCREENSHOTS','505884tfKgqd'];a67_0xfbb8=function(){return _0x4a30f8;};return a67_0xfbb8();}(function(_0x3df9f3,_0x1eba39){var _0x552261=a67_0x247c,_0x3d16db=_0x3df9f3();while(!![]){try{var _0x2860cc=-parseInt(_0x552261(0x135))/0x1*(parseInt(_0x552261(0x12e))/0x2)+-parseInt(_0x552261(0x137))/0x3+-parseInt(_0x552261(0x131))/0x4*(parseInt(_0x552261(0x125))/0x5)+parseInt(_0x552261(0x129))/0x6*(-parseInt(_0x552261(0x133))/0x7)+-parseInt(_0x552261(0x149))/0x8+parseInt(_0x552261(0x13b))/0x9*(parseInt(_0x552261(0x12b))/0xa)+parseInt(_0x552261(0x130))/0xb*(parseInt(_0x552261(0x136))/0xc);if(_0x2860cc===_0x1eba39)break;else _0x3d16db['push'](_0x3d16db['shift']());}catch(_0x3b0f31){_0x3d16db['push'](_0x3d16db['shift']());}}}(a67_0xfbb8,0x29d3f),exports[a67_0x8738ab(0x13e)]=_0x3961c0=>{var _0x322af2=a67_0x8738ab,_0x2b7697={'PCnWv':'5|4|3|1|2|0','ilZmS':function(_0x2749cb,_0x426068){return _0x2749cb!==_0x426068;},'fuNyj':_0x322af2(0x146),'fjVUu':_0x322af2(0x13d),'mSwlN':function(_0x1a80ab,_0xaf43a3){return _0x1a80ab(_0xaf43a3);}},_0x33ce30=_0x2b7697['PCnWv'][_0x322af2(0x140)]('|'),_0x5e8a58=0x0;while(!![]){switch(_0x33ce30[_0x5e8a58++]){case'0':_0x3961c0[_0x322af2(0x13a)]=()=>{var _0x3c6a1d=_0x322af2,_0x3c02f5={'WduOY':_0x3fbdee[_0x3c6a1d(0x12a)],'UQZsM':function(_0x2325d,_0x1afbb0){return _0x3fbdee['UxEZw'](_0x2325d,_0x1afbb0);}};return new Promise(function(_0x5b71a1,_0x43e01b){var _0x59424d=_0x3c6a1d;_0x3961c0['initScreenshot']()[_0x59424d(0x139)](_0x5e9e9a=>{var _0x7cf49e=_0x59424d;process[_0x7cf49e(0x13f)](_0x7cf49e(0x145)+process['pid'],{'timestamp':new Date()[_0x7cf49e(0x127)](),'message':_0x5e9e9a,'kind':_0x3c02f5[_0x7cf49e(0x12d)]}),_0x3c02f5[_0x7cf49e(0x143)](_0x5b71a1,_0x5e9e9a);});});};continue;case'1':_0x3961c0[_0x322af2(0x134)]=!![];continue;case'2':_0x3961c0[_0x322af2(0x12c)]=_0x3961c0['takeScreenshot'];continue;case'3':if(_0x3961c0['patchScreenshot'])return;continue;case'4':if(_0x2b7697[_0x322af2(0x148)](process[_0x322af2(0x14a)][_0x322af2(0x128)],_0x2b7697['fuNyj']))return;continue;case'5':var _0x3fbdee={'tjkSx':_0x2b7697['fjVUu'],'UxEZw':function(_0x46081c,_0x3ea948){var _0x47cf73=_0x322af2;return _0x2b7697[_0x47cf73(0x126)](_0x46081c,_0x3ea948);}};continue;}break;}},exports['overrideQuit']=(_0x341e49,_0x4f8a9b=null)=>{var _0x91a609=a67_0x8738ab,_0x4393a1={'SIPJj':'0|1|3|4|2','ziPke':function(_0x97609c){return _0x97609c();},'ZDMUM':function(_0x3f9ead,_0x4fddfa){return _0x3f9ead>_0x4fddfa;},'zOmli':function(_0x4ac3bc,_0x137c1b){return _0x4ac3bc>_0x137c1b;}},_0x1a0cac=_0x4393a1[_0x91a609(0x13c)][_0x91a609(0x140)]('|'),_0xb317d8=0x0;while(!![]){switch(_0x1a0cac[_0xb317d8++]){case'0':var _0x43617b={'cmbkH':function(_0x51983a){var _0x5e9777=_0x91a609;return _0x4393a1[_0x5e9777(0x141)](_0x51983a);},'llGUc':function(_0x55318c,_0x3bb1e9){var _0x4d6d44=_0x91a609;return _0x4393a1[_0x4d6d44(0x147)](_0x55318c,_0x3bb1e9);},'ZNxNA':function(_0x3b3110,_0x100d7a){return _0x4393a1['zOmli'](_0x3b3110,_0x100d7a);}};continue;case'1':if(_0x341e49[_0x91a609(0x142)])return;continue;case'2':_0x341e49[_0x91a609(0x144)]=()=>{var _0x178511=_0x91a609,_0x43b2f0={'yVqBY':function(_0x50d057){return _0x43617b['cmbkH'](_0x50d057);}};if(_0x4f8a9b){_0x4f8a9b[_0x178511(0x12f)]+=0x1;if(_0x43617b['llGUc'](_0x4f8a9b[_0x178511(0x12f)],0x1))return _0x341e49[_0x178511(0x138)]();}else{_0x341e49['quitCount_']+=0x1;if(_0x43617b[_0x178511(0x124)](_0x341e49[_0x178511(0x12f)],0x1))return _0x341e49[_0x178511(0x138)]();}return new Promise(function(_0x4001c3){var _0x2e351d=_0x178511;_0x43b2f0[_0x2e351d(0x132)](_0x4001c3);});};continue;case'3':_0x341e49['patchQuit']=!![];continue;case'4':_0x341e49['initQuit']=_0x341e49[_0x91a609(0x144)];continue;}break;}});
@@ -1 +1 @@
1
- const a65_0x5ec023=a65_0x404a;(function(_0x4376ca,_0x647556){const _0x32f678=a65_0x404a,_0x543c19=_0x4376ca();while(!![]){try{const _0x34cf8d=parseInt(_0x32f678(0x87))/0x1+-parseInt(_0x32f678(0xb7))/0x2*(parseInt(_0x32f678(0x90))/0x3)+parseInt(_0x32f678(0xa7))/0x4*(parseInt(_0x32f678(0x76))/0x5)+parseInt(_0x32f678(0xa3))/0x6*(parseInt(_0x32f678(0x82))/0x7)+-parseInt(_0x32f678(0xb3))/0x8+parseInt(_0x32f678(0x92))/0x9+parseInt(_0x32f678(0x9c))/0xa*(parseInt(_0x32f678(0x73))/0xb);if(_0x34cf8d===_0x647556)break;else _0x543c19['push'](_0x543c19['shift']());}catch(_0x2d60f4){_0x543c19['push'](_0x543c19['shift']());}}}(a65_0x36a2,0x8c786));const fs=require('fs'),path=require(a65_0x5ec023(0x78)),os=require('os'),{spawn}=require(a65_0x5ec023(0x84)),helper=require(a65_0x5ec023(0x9d)),logger=require(a65_0x5ec023(0x97))[a65_0x5ec023(0x89)],{logDir}=require('../logger'),testHubConstants=require(a65_0x5ec023(0x7f)),PercyBinary=require('./PercyBinary');function a65_0x36a2(){const _0x3bf783=['AkCDL','11LdKyJr','Rgvlz','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','890GoKilz','exec','path','Error\x20creating\x20percy\x20config:\x20','Percy\x20fetch\x20token\x20success','api/app_percy/get_project_token?name=','GET','flags','JUZkM','../../helpers/testhub/constants','OnVjS','env','973JkPviT','percy/healthcheck','child_process','data','stringify','677875anvvaC','iWWyh','winstonLogger','vQYYT','tmpdir','debug','gUkmP','error','yZcrW','6dBnzvf','percyOptions','2426319JnUcaR','http://localhost:5338','Percy\x20healthcheck\x20successful','healthcheck','percy.log','../logger','AdhUK','KRpuJ','DBraW','GzorA','5817860ruvrbG','../helper','stdout','BROWSERSTACK_TESTHUB_UUID','isRunning','PGtXS','version','11832yitFjq','isProcessRunning','projectName','createPercyConfig','1972MYiUSl','createWriteStream','ENV_VAR','automate','XbfNo','DQOuq','PERCY_SERVER_ADDRESS','CbsRn','token','app','Percy\x20config\x20created\x20at\x20','exports','9167168Klmfpw','iwRNZ','close','nodeRequest','169852UJslyD','join','getBinaryPath','fetchPercyToken','&type=','exec:stop','ieDxP','GjXiW','pipe','VGauN','BBvgD','percy.json','assign','stop'];a65_0x36a2=function(){return _0x3bf783;};return a65_0x36a2();}function a65_0x404a(_0x15804a,_0x256163){const _0x36a216=a65_0x36a2();return a65_0x404a=function(_0x404ac5,_0x16a9e5){_0x404ac5=_0x404ac5-0x71;let _0x11fc67=_0x36a216[_0x404ac5];return _0x11fc67;},a65_0x404a(_0x15804a,_0x256163);}class Percy{#logfile=path[a65_0x5ec023(0xb8)](logDir,a65_0x5ec023(0x96));#address=process[a65_0x5ec023(0x81)][a65_0x5ec023(0xad)]||a65_0x5ec023(0x93);#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x142454){const _0x59fc83=a65_0x5ec023;this.#config=_0x142454,!!_0x142454[_0x59fc83(0xb0)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x553fe2=a65_0x5ec023;if(!this.#binaryPath){const _0x1bcd6a=new PercyBinary();this.#binaryPath=await _0x1bcd6a[_0x553fe2(0xb9)](this.#config);}return this.#binaryPath;}async #sleep(_0x4c87bb){return new Promise(_0x88b754=>setTimeout(_0x88b754,_0x4c87bb));}async[a65_0x5ec023(0x95)](){const _0x196d77=a65_0x5ec023,_0x3db6c9={};_0x3db6c9[_0x196d77(0x7e)]=_0x196d77(0x7c),_0x3db6c9[_0x196d77(0x98)]=_0x196d77(0x83);const _0x4a8ea0=_0x3db6c9;try{const _0x49fe5b=await helper[_0x196d77(0xb6)](_0x4a8ea0[_0x196d77(0x7e)],_0x4a8ea0['AdhUK'],null,null,this.#address);if(_0x49fe5b)return!![];}catch(_0x262359){return![];}}async['start'](){const _0x13d336=a65_0x5ec023,_0x939962={'KRpuJ':'app:exec','PGtXS':_0x13d336(0x77),'VGauN':function(_0x3f2ea4,_0x5e02dd,_0x4b4054,_0x374de4){return _0x3f2ea4(_0x5e02dd,_0x4b4054,_0x374de4);},'Rgvlz':_0x13d336(0xb5),'GzorA':_0x13d336(0x94)},_0x45aa7d=await this.#getBinaryPath(),_0x375f8b={};_0x375f8b[_0x13d336(0x7d)]='a';const _0x488c64=fs[_0x13d336(0xa8)](this.#logfile,_0x375f8b),_0xcb0f52=await this[_0x13d336(0xba)](),_0x36b8c0=await this[_0x13d336(0xa6)]();if(!_0xcb0f52)return![];const _0x3c2e77=[(this.#isApp?_0x939962[_0x13d336(0x99)]:_0x939962[_0x13d336(0xa1)])+':start'];_0x36b8c0&&_0x3c2e77['push']('-c',_0x36b8c0);this.#proc=_0x939962[_0x13d336(0xc0)](spawn,_0x45aa7d,_0x3c2e77,{'env':Object[_0x13d336(0xc3)](process[_0x13d336(0x81)],{'PERCY_TOKEN':_0xcb0f52,'TH_BUILD_UUID':process[_0x13d336(0x81)][testHubConstants[_0x13d336(0xa9)][_0x13d336(0x9f)]]})}),this.#proc[_0x13d336(0x9e)][_0x13d336(0xbf)](_0x488c64),this.#proc['stderr']['pipe'](_0x488c64),this[_0x13d336(0xa4)]=!![];var _0x42740c=this;this.#proc['on'](_0x939962[_0x13d336(0x74)],function(_0xaa5566){const _0x1b6a1a=_0x13d336;_0x42740c[_0x1b6a1a(0xa4)]=![];});do{const _0x3089fe=await this['healthcheck']();if(_0x3089fe)return logger[_0x13d336(0x8c)](_0x939962[_0x13d336(0x9b)]),!![];await this.#sleep(0x3e8);}while(this[_0x13d336(0xa4)]);return![];}async[a65_0x5ec023(0x71)](){const _0x44c96d=a65_0x5ec023,_0x2f038c={'yZcrW':function(_0x57c4d9,_0x5898f1){return _0x57c4d9(_0x5898f1);},'DBraW':function(_0x5899eb,_0x5813ad,_0x34772a){return _0x5899eb(_0x5813ad,_0x34772a);},'YdZgz':_0x44c96d(0xbc),'vQYYT':'close'},_0x419bc1=await this.#getBinaryPath();return new Promise((_0x1326eb,_0x22135f)=>{const _0x58fb2c=_0x44c96d,_0x541885={'XbfNo':function(_0x438c4b,_0x226b85){const _0x8a1db8=a65_0x404a;return _0x2f038c[_0x8a1db8(0x8f)](_0x438c4b,_0x226b85);}},_0x881cae=_0x2f038c[_0x58fb2c(0x9a)](spawn,_0x419bc1,[_0x2f038c['YdZgz']]);_0x881cae['on'](_0x2f038c[_0x58fb2c(0x8a)],_0x4fc589=>{const _0x4cc519=_0x58fb2c;this[_0x4cc519(0xa4)]=![],_0x541885[_0x4cc519(0xab)](_0x1326eb,_0x4fc589);});});}[a65_0x5ec023(0xa0)](){const _0x1a6596=a65_0x5ec023;return this[_0x1a6596(0xa4)];}async[a65_0x5ec023(0xba)](){const _0x210eaf=a65_0x5ec023,_0x180494={};_0x180494[_0x210eaf(0xc1)]=_0x210eaf(0xb0),_0x180494['OnVjS']=_0x210eaf(0xaa),_0x180494[_0x210eaf(0xbe)]=_0x210eaf(0x7c),_0x180494['hKBoW']=_0x210eaf(0x7a);const _0x10a512=_0x180494,_0x4b92fd=this.#config[_0x210eaf(0xa5)];try{const _0x378b47=this.#isApp?_0x10a512[_0x210eaf(0xc1)]:_0x10a512[_0x210eaf(0x80)],_0x4233f4=await helper[_0x210eaf(0xb6)](_0x10a512[_0x210eaf(0xbe)],_0x210eaf(0x7b)+_0x4b92fd+_0x210eaf(0xbb)+_0x378b47,{},this.#config),_0x4899db=_0x4233f4[_0x210eaf(0x85)];return logger[_0x210eaf(0x8c)](_0x10a512['hKBoW']),_0x4899db[_0x210eaf(0xaf)];}catch(_0x55e72b){return logger['error'](_0x210eaf(0x75)+_0x55e72b),null;}}async[a65_0x5ec023(0xa6)](){const _0x3da032=a65_0x5ec023,_0x1836c8={'CbsRn':function(_0x1b839e,_0x1888e0){return _0x1b839e(_0x1888e0);},'DQOuq':function(_0x59fedd,_0xac313b){return _0x59fedd+_0xac313b;},'iWWyh':_0x3da032(0xb1),'ieDxP':_0x3da032(0xc2)};if(!this.#config[_0x3da032(0x91)])return null;const _0x54b0ba=path[_0x3da032(0xb8)](os[_0x3da032(0x8b)](),_0x1836c8[_0x3da032(0xbd)]),_0x16735d=this.#config[_0x3da032(0x91)];return!_0x16735d[_0x3da032(0xa2)]&&(_0x16735d[_0x3da032(0xa2)]='2'),new Promise((_0x2775a7,_0x12053a)=>{const _0x5ac448=_0x3da032,_0x21efd4={'iwRNZ':function(_0x5d3010,_0xae5e1f){const _0x847665=a65_0x404a;return _0x1836c8[_0x847665(0xae)](_0x5d3010,_0xae5e1f);},'gUkmP':function(_0x304842,_0x3e2e81){const _0x345906=a65_0x404a;return _0x1836c8[_0x345906(0xac)](_0x304842,_0x3e2e81);},'AkCDL':_0x1836c8[_0x5ac448(0x88)],'sPVxk':function(_0x19b366,_0x561ac2){const _0x194b21=_0x5ac448;return _0x1836c8[_0x194b21(0xae)](_0x19b366,_0x561ac2);}};fs['writeFile'](_0x54b0ba,JSON[_0x5ac448(0x86)](_0x16735d),_0x5dbc3c=>{const _0x1d7064=_0x5ac448;_0x5dbc3c&&(logger[_0x1d7064(0x8e)](_0x1d7064(0x79)+_0x5dbc3c),_0x21efd4[_0x1d7064(0xb4)](_0x2775a7,null)),logger[_0x1d7064(0x8c)](_0x21efd4[_0x1d7064(0x8d)](_0x21efd4[_0x1d7064(0x72)],_0x54b0ba)),_0x21efd4['sPVxk'](_0x2775a7,_0x54b0ba);});});}}module[a65_0x5ec023(0xb2)]=Percy;
1
+ const a68_0x49b8ea=a68_0x4767;(function(_0x32e75a,_0x54bd31){const _0x12256c=a68_0x4767,_0x23299e=_0x32e75a();while(!![]){try{const _0x4c18a2=-parseInt(_0x12256c(0x9d))/0x1*(-parseInt(_0x12256c(0xbe))/0x2)+parseInt(_0x12256c(0xdd))/0x3*(parseInt(_0x12256c(0x99))/0x4)+parseInt(_0x12256c(0xa7))/0x5*(-parseInt(_0x12256c(0xd8))/0x6)+parseInt(_0x12256c(0xb3))/0x7*(parseInt(_0x12256c(0xc0))/0x8)+-parseInt(_0x12256c(0xde))/0x9+parseInt(_0x12256c(0xab))/0xa+parseInt(_0x12256c(0xb7))/0xb;if(_0x4c18a2===_0x54bd31)break;else _0x23299e['push'](_0x23299e['shift']());}catch(_0x24cd8f){_0x23299e['push'](_0x23299e['shift']());}}}(a68_0x4342,0x519d4));function a68_0x4342(){const _0x4ce7f0=['6FfKufR','app:exec','5576kXVNqU','KWviU','automate','WktRE','XpbDV','../helper','Error\x20creating\x20percy\x20config:\x20','percy/healthcheck','lWaYy','stderr','close',':start','isRunning','uKNgZ','iLOEB','pipe','stringify','writeFile','Percy\x20fetch\x20token\x20success','assign','percy.log','stop','NSuir','nodeRequest','6498SEFVyh','winstonLogger','hOIhA','exec:stop','api/app_percy/get_project_token?name=','1104VtyahW','4906035lUdthN','xsySx','stdout','GET','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','PERCY_SERVER_ADDRESS','data','env','fetchPercyToken','vQnKv','4472aFuyye','getBinaryPath','tmpdir','healthcheck','17535kNiMub','eknQX','ENV_VAR','../../helpers/testhub/constants','path','error','start','../logger','rCnbj','BROWSERSTACK_TESTHUB_UUID','2040xRCETm','NQbAb','JauXK','isProcessRunning','6214970opFoVT','version','app','createWriteStream','./PercyBinary','flags','ewhtF','HZuzb','1386CDpbWt','debug','join','Bdrou','1075129OuXECk','VvDnF','ALHHq','token','Percy\x20healthcheck\x20successful','exec','percyOptions'];a68_0x4342=function(){return _0x4ce7f0;};return a68_0x4342();}const fs=require('fs'),path=require(a68_0x49b8ea(0xa1)),os=require('os'),{spawn}=require('child_process'),helper=require(a68_0x49b8ea(0xc5)),logger=require(a68_0x49b8ea(0xa4))[a68_0x49b8ea(0xd9)],{logDir}=require(a68_0x49b8ea(0xa4)),testHubConstants=require(a68_0x49b8ea(0xa0)),PercyBinary=require(a68_0x49b8ea(0xaf));function a68_0x4767(_0x478775,_0x49d823){const _0x4342d6=a68_0x4342();return a68_0x4767=function(_0x4767a5,_0x2f76f3){_0x4767a5=_0x4767a5-0x99;let _0x514712=_0x4342d6[_0x4767a5];return _0x514712;},a68_0x4767(_0x478775,_0x49d823);}class Percy{#logfile=path['join'](logDir,a68_0x49b8ea(0xd4));#address=process[a68_0x49b8ea(0xe5)][a68_0x49b8ea(0xe3)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x497b23){this.#config=_0x497b23,!!_0x497b23['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x3288f0=a68_0x49b8ea;if(!this.#binaryPath){const _0x59bbaa=new PercyBinary();this.#binaryPath=await _0x59bbaa[_0x3288f0(0x9a)](this.#config);}return this.#binaryPath;}async #sleep(_0xb0a8fd){return new Promise(_0x1472f2=>setTimeout(_0x1472f2,_0xb0a8fd));}async[a68_0x49b8ea(0x9c)](){const _0x35616c=a68_0x49b8ea,_0x254041={};_0x254041[_0x35616c(0xb6)]=_0x35616c(0xe1),_0x254041['lDOey']=_0x35616c(0xc7);const _0x5e2ee9=_0x254041;try{const _0x1241f2=await helper[_0x35616c(0xd7)](_0x5e2ee9['Bdrou'],_0x5e2ee9['lDOey'],null,null,this.#address);if(_0x1241f2)return!![];}catch(_0x227529){return![];}}async[a68_0x49b8ea(0xa3)](){const _0x5e2621=a68_0x49b8ea,_0x50c732={'ALHHq':_0x5e2621(0xbf),'GxzZg':_0x5e2621(0xbc),'JauXK':function(_0x20e62b,_0xc29d74,_0x15b4c7,_0x382476){return _0x20e62b(_0xc29d74,_0x15b4c7,_0x382476);},'uKNgZ':_0x5e2621(0xca),'dRraD':_0x5e2621(0xbb)},_0x2c19c1=await this.#getBinaryPath(),_0xb5e7d4={};_0xb5e7d4[_0x5e2621(0xb0)]='a';const _0x560155=fs[_0x5e2621(0xae)](this.#logfile,_0xb5e7d4),_0x42cf68=await this[_0x5e2621(0xe6)](),_0x5b6eec=await this['createPercyConfig']();if(!_0x42cf68)return![];const _0x448aab=[(this.#isApp?_0x50c732[_0x5e2621(0xb9)]:_0x50c732['GxzZg'])+_0x5e2621(0xcb)];_0x5b6eec&&_0x448aab['push']('-c',_0x5b6eec);this.#proc=_0x50c732[_0x5e2621(0xa9)](spawn,_0x2c19c1,_0x448aab,{'env':Object[_0x5e2621(0xd3)](process['env'],{'PERCY_TOKEN':_0x42cf68,'TH_BUILD_UUID':process[_0x5e2621(0xe5)][testHubConstants[_0x5e2621(0x9f)][_0x5e2621(0xa6)]]})}),this.#proc[_0x5e2621(0xe0)][_0x5e2621(0xcf)](_0x560155),this.#proc[_0x5e2621(0xc9)]['pipe'](_0x560155),this[_0x5e2621(0xaa)]=!![];var _0x485885=this;this.#proc['on'](_0x50c732[_0x5e2621(0xcd)],function(_0x4222c4){const _0x4db2a7=_0x5e2621;_0x485885[_0x4db2a7(0xaa)]=![];});do{const _0x35a5f8=await this[_0x5e2621(0x9c)]();if(_0x35a5f8)return logger[_0x5e2621(0xb4)](_0x50c732['dRraD']),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a68_0x49b8ea(0xd5)](){const _0x1425d4=a68_0x49b8ea,_0x29dba8={'eknQX':function(_0x1861c5,_0x998e93){return _0x1861c5(_0x998e93);},'KWviU':function(_0x2e1bbf,_0x46afe7,_0x16d2a6){return _0x2e1bbf(_0x46afe7,_0x16d2a6);},'yhwnv':_0x1425d4(0xdb),'NQbAb':_0x1425d4(0xca)},_0x526f10=await this.#getBinaryPath();return new Promise((_0x15c1aa,_0x1c4ac5)=>{const _0x4f8bd7=_0x1425d4,_0x663868={'NSuir':function(_0x4e87db,_0xc8037a){const _0x3d9b23=a68_0x4767;return _0x29dba8[_0x3d9b23(0x9e)](_0x4e87db,_0xc8037a);}},_0x28afa5=_0x29dba8[_0x4f8bd7(0xc1)](spawn,_0x526f10,[_0x29dba8['yhwnv']]);_0x28afa5['on'](_0x29dba8[_0x4f8bd7(0xa8)],_0x331274=>{const _0x76ca99=_0x4f8bd7;this[_0x76ca99(0xaa)]=![],_0x663868[_0x76ca99(0xd6)](_0x15c1aa,_0x331274);});});}[a68_0x49b8ea(0xcc)](){const _0x5715da=a68_0x49b8ea;return this[_0x5715da(0xaa)];}async[a68_0x49b8ea(0xe6)](){const _0x20760f=a68_0x49b8ea,_0x4f5c60={};_0x4f5c60[_0x20760f(0xda)]=_0x20760f(0xad),_0x4f5c60[_0x20760f(0xe7)]=_0x20760f(0xc2),_0x4f5c60[_0x20760f(0xc8)]=_0x20760f(0xe1),_0x4f5c60[_0x20760f(0xb2)]=_0x20760f(0xd2);const _0x2e3e93=_0x4f5c60,_0x550bdf=this.#config['projectName'];try{const _0x32a715=this.#isApp?_0x2e3e93[_0x20760f(0xda)]:_0x2e3e93['vQnKv'],_0x55fb7d=await helper['nodeRequest'](_0x2e3e93[_0x20760f(0xc8)],_0x20760f(0xdc)+_0x550bdf+'&type='+_0x32a715,{},this.#config),_0x12808a=_0x55fb7d[_0x20760f(0xe4)];return logger[_0x20760f(0xb4)](_0x2e3e93[_0x20760f(0xb2)]),_0x12808a[_0x20760f(0xba)];}catch(_0x3841f9){return logger[_0x20760f(0xa2)](_0x20760f(0xe2)+_0x3841f9),null;}}async['createPercyConfig'](){const _0x47c918=a68_0x49b8ea,_0x5ca3bb={'VvDnF':function(_0x123eee,_0x90e2ad){return _0x123eee(_0x90e2ad);},'WktRE':function(_0x5c5b7a,_0x4f1f7c){return _0x5c5b7a+_0x4f1f7c;},'iLOEB':'Percy\x20config\x20created\x20at\x20','ewhtF':'percy.json'};if(!this.#config['percyOptions'])return null;const _0x46762d=path[_0x47c918(0xb5)](os[_0x47c918(0x9b)](),_0x5ca3bb[_0x47c918(0xb1)]),_0x4d8fe1=this.#config[_0x47c918(0xbd)];return!_0x4d8fe1[_0x47c918(0xac)]&&(_0x4d8fe1['version']='2'),new Promise((_0xcefc7c,_0x5a8e1a)=>{const _0x42ee1a=_0x47c918,_0x109e0f={'rCnbj':function(_0x275687,_0x3a200d){const _0x20aa70=a68_0x4767;return _0x5ca3bb[_0x20aa70(0xb8)](_0x275687,_0x3a200d);},'XpbDV':function(_0x590fce,_0x4198ef){const _0xae15b9=a68_0x4767;return _0x5ca3bb[_0xae15b9(0xc3)](_0x590fce,_0x4198ef);},'xsySx':_0x5ca3bb[_0x42ee1a(0xce)]};fs[_0x42ee1a(0xd1)](_0x46762d,JSON[_0x42ee1a(0xd0)](_0x4d8fe1),_0x414d9f=>{const _0x964464=_0x42ee1a;_0x414d9f&&(logger[_0x964464(0xa2)](_0x964464(0xc6)+_0x414d9f),_0x109e0f[_0x964464(0xa5)](_0xcefc7c,null)),logger['debug'](_0x109e0f[_0x964464(0xc4)](_0x109e0f[_0x964464(0xdf)],_0x46762d)),_0x109e0f[_0x964464(0xa5)](_0xcefc7c,_0x46762d);});});}}module['exports']=Percy;
@@ -1 +1 @@
1
- function a66_0x11c5(_0x2c8a62,_0x1d0da9){const _0x404b2d=a66_0x404b();return a66_0x11c5=function(_0x11c5e7,_0x445463){_0x11c5e7=_0x11c5e7-0xbe;let _0x1807e3=_0x404b2d[_0x11c5e7];return _0x1807e3;},a66_0x11c5(_0x2c8a62,_0x1d0da9);}const a66_0x57292d=a66_0x11c5;(function(_0x2e6b84,_0x5996f3){const _0x5958ae=a66_0x11c5,_0xc007d8=_0x2e6b84();while(!![]){try{const _0x9bede4=-parseInt(_0x5958ae(0x137))/0x1+parseInt(_0x5958ae(0xbe))/0x2*(parseInt(_0x5958ae(0x135))/0x3)+parseInt(_0x5958ae(0xff))/0x4*(parseInt(_0x5958ae(0x113))/0x5)+-parseInt(_0x5958ae(0xfd))/0x6+-parseInt(_0x5958ae(0xd5))/0x7*(-parseInt(_0x5958ae(0x11b))/0x8)+parseInt(_0x5958ae(0xbf))/0x9+parseInt(_0x5958ae(0x11a))/0xa*(parseInt(_0x5958ae(0x132))/0xb);if(_0x9bede4===_0x5996f3)break;else _0xc007d8['push'](_0xc007d8['shift']());}catch(_0x2e1756){_0xc007d8['push'](_0xc007d8['shift']());}}}(a66_0x404b,0x78673));const {https}=require(a66_0x57292d(0xd8)),url=require(a66_0x57292d(0x102)),yauzl=require(a66_0x57292d(0x121)),fs=require('fs'),path=require(a66_0x57292d(0x130)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a66_0x57292d(0xd2))[a66_0x57292d(0xed)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a66_0x57292d(0x114)](this.#homedir(),a66_0x57292d(0x11e)),process[a66_0x57292d(0x12a)](),os[a66_0x57292d(0xdf)]()];constructor(){const _0x565ef8=a66_0x57292d,_0x527760={};_0x527760[_0x565ef8(0x115)]=_0x565ef8(0xc1),_0x527760[_0x565ef8(0x116)]=function(_0x3b2a13,_0x2327d5){return _0x3b2a13+_0x2327d5;},_0x527760[_0x565ef8(0xca)]='/percy-osx.zip',_0x527760[_0x565ef8(0x100)]=_0x565ef8(0x138),_0x527760[_0x565ef8(0xce)]=_0x565ef8(0xfb),_0x527760['AgjGT']=function(_0x46442a,_0x4ca1b){return _0x46442a+_0x4ca1b;},_0x527760[_0x565ef8(0x10b)]=_0x565ef8(0x12d);const _0x2ae938=_0x527760,_0x4f0579=_0x2ae938[_0x565ef8(0x115)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x2ae938[_0x565ef8(0x116)](_0x4f0579,_0x2ae938[_0x565ef8(0xca)]);else this.#hostOS[_0x565ef8(0xe3)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x2ae938[_0x565ef8(0x116)](_0x4f0579,_0x2ae938['nGyQU']),this.#binaryName=_0x2ae938[_0x565ef8(0xce)]):this.#httpPath=_0x2ae938[_0x565ef8(0x13e)](_0x4f0579,_0x2ae938[_0x565ef8(0x10b)]);}#getAvailableDirs(){const _0x429782=a66_0x57292d,_0x2ea26d={};_0x2ea26d[_0x429782(0xc2)]=function(_0x47c1ee,_0x107477){return _0x47c1ee<_0x107477;},_0x2ea26d[_0x429782(0xe1)]=_0x429782(0xf5);const _0x58c952=_0x2ea26d;for(var _0x2cffa3=0x0;_0x58c952[_0x429782(0xc2)](_0x2cffa3,this.#orderedPaths[_0x429782(0x144)]);_0x2cffa3++){var _0x1d3cef=this.#orderedPaths[_0x2cffa3];if(this.#makePath(_0x1d3cef))return _0x1d3cef;}throw new Error(_0x58c952[_0x429782(0xe1)]);}#makePath(_0x2d1b8e){try{return!this.#checkPath(_0x2d1b8e)&&fs['mkdirSync'](_0x2d1b8e),!![];}catch{return![];}}#checkPath(_0x4aadf0,_0xcbf679){const _0x373f94=a66_0x57292d,_0x44515b={};_0x44515b['DAZBg']=function(_0x4bc679,_0x1740cb){return _0x4bc679|_0x1740cb;},_0x44515b[_0x373f94(0xf4)]=function(_0x28d5f8,_0x15fd94){return _0x28d5f8!==_0x15fd94;},_0x44515b[_0x373f94(0x143)]='undefined';const _0x429de1=_0x44515b;_0xcbf679=_0xcbf679||_0x429de1['DAZBg'](fs['R_OK'],fs[_0x373f94(0x13b)]);try{return fs[_0x373f94(0x125)](_0x4aadf0,_0xcbf679),!![];}catch(_0x2ac277){if(_0x429de1['IFDAc'](typeof fs['accessSync'],_0x429de1[_0x373f94(0x143)]))return![];try{return fs[_0x373f94(0x128)](_0x4aadf0),!![];}catch(_0x2bb338){return![];}}}async['getBinaryPath'](_0x4fbdba){const _0x1576fc=a66_0x57292d,_0x257107={};_0x257107[_0x1576fc(0x146)]=_0x1576fc(0x104);const _0x582fd0=_0x257107;var _0x5d7ec1=this.#getAvailableDirs(),_0x4a2e37=path[_0x1576fc(0x114)](_0x5d7ec1,this.#binaryName);if(this.#checkPath(_0x4a2e37,fs[_0x1576fc(0x10d)]))return _0x4a2e37;const _0x1c76ac=await this[_0x1576fc(0xfc)](_0x4fbdba,_0x5d7ec1),_0xf62d6d=await this[_0x1576fc(0x10a)](_0x1c76ac);if(!_0xf62d6d)return logger[_0x1576fc(0xc6)](_0x582fd0[_0x1576fc(0x146)]),await this['download'](_0x4fbdba,_0x5d7ec1);return _0x1c76ac;}async[a66_0x57292d(0x10a)](_0x33f55f){const _0x47f9b3=a66_0x57292d,_0x25a1f2={'QZLYD':function(_0x1d8e00,_0x2e81eb){return _0x1d8e00(_0x2e81eb);},'rzBfy':function(_0x1a645f,_0x40cdb5,_0x437821){return _0x1a645f(_0x40cdb5,_0x437821);},'hYcaB':_0x47f9b3(0x107),'ahwdQ':_0x47f9b3(0x145),'fiYqB':_0x47f9b3(0xf8)},_0x2d6adf=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x4c4fa0,_0xd120de)=>{const _0x212e62=_0x47f9b3,_0x212de1={'kPBZo':function(_0x38bc89,_0x38904d){const _0x5077ba=a66_0x11c5;return _0x25a1f2[_0x5077ba(0x108)](_0x38bc89,_0x38904d);}},_0x2a5e98=_0x25a1f2['rzBfy'](spawn,_0x33f55f,[_0x25a1f2[_0x212e62(0x10c)]]);_0x2a5e98[_0x212e62(0xe8)]['on'](_0x25a1f2[_0x212e62(0x13f)],_0x4d2c72=>{const _0x5aef66=_0x212e62;_0x2d6adf[_0x5aef66(0xc0)](_0x4d2c72)&&_0x25a1f2[_0x5aef66(0x108)](_0x4c4fa0,!![]);}),_0x2a5e98['on'](_0x25a1f2[_0x212e62(0xf9)],()=>{const _0x57788c=_0x212e62;_0x212de1[_0x57788c(0x119)](_0x4c4fa0,![]);});});}['download'](_0x3c4737,_0x4f1901){const _0x2822a3=a66_0x57292d,_0x2d3e82={'eXxOH':_0x2822a3(0xf2),'tKKEZ':function(_0x45a517,_0xf991f2){return _0x45a517(_0xf991f2);},'wQXjE':function(_0x488760,_0x1decb1){return _0x488760(_0x1decb1);},'QSQCd':_0x2822a3(0xd0),'uEWjA':function(_0x377bb8,_0x215aa5){return _0x377bb8===_0x215aa5;},'HZltp':_0x2822a3(0x123),'ScJiO':_0x2822a3(0xc3),'TASPA':_0x2822a3(0xc6),'KVEqs':'close','vvjXe':_0x2822a3(0x10e),'vFgQu':function(_0x3a9f5e,_0x9fcc4f){return _0x3a9f5e(_0x9fcc4f);},'XmBfi':_0x2822a3(0x13a),'NhYdO':function(_0x2b5bb1,_0xcff285){return _0x2b5bb1+_0xcff285;},'aoTXx':_0x2822a3(0x133),'oLMaU':_0x2822a3(0xfe)};!this.#checkPath(_0x4f1901)&&fs[_0x2822a3(0xd7)](_0x4f1901);const _0x2eeb6a=this.#binaryName,_0x2966df=path[_0x2822a3(0x114)](_0x4f1901,_0x2d3e82[_0x2822a3(0xdc)](_0x2eeb6a,_0x2d3e82[_0x2822a3(0x11c)])),_0x4874c1=path[_0x2822a3(0x114)](_0x4f1901,_0x2eeb6a),_0x37028a=fs['createWriteStream'](_0x2966df),_0x34a174=url[_0x2822a3(0x110)](this.#httpPath);if(_0x3c4737[_0x2822a3(0xd1)]&&_0x3c4737['proxyPort']){const _0x48e9b5={};_0x48e9b5[_0x2822a3(0x12b)]=_0x3c4737[_0x2822a3(0xd1)],_0x48e9b5[_0x2822a3(0x129)]=_0x3c4737[_0x2822a3(0xc5)],_0x34a174[_0x2822a3(0xe4)]=new HttpsProxyAgent(_0x48e9b5);}if(_0x3c4737[_0x2822a3(0xcd)])try{_0x34a174['ca']=fs[_0x2822a3(0xf7)](_0x3c4737[_0x2822a3(0xcd)]);}catch(_0x66e639){logger['error'](_0x2d3e82[_0x2822a3(0xd9)],_0x66e639);}return new Promise((_0x165742,_0xb2b2df)=>{const _0x1968c9=_0x2822a3,_0x52ce57={'bxMsY':_0x2d3e82[_0x1968c9(0xd4)],'OAWnV':function(_0x35c86a,_0x45a8c8){return _0x2d3e82['wQXjE'](_0x35c86a,_0x45a8c8);}};https[_0x1968c9(0xc8)](_0x34a174,function(_0x7ee6aa){const _0x1e60f3=_0x1968c9,_0xe51136={'zOJSy':_0x2d3e82[_0x1e60f3(0x124)],'hOMqq':function(_0x3bedd5,_0x3959b8){const _0xc66a11=_0x1e60f3;return _0x2d3e82[_0xc66a11(0x120)](_0x3bedd5,_0x3959b8);},'Bcrxl':function(_0x42b038,_0x49c35d){const _0x55be86=_0x1e60f3;return _0x2d3e82[_0x55be86(0x141)](_0x42b038,_0x49c35d);},'oqmQR':_0x2d3e82[_0x1e60f3(0xde)],'aNmgI':function(_0x282354,_0x2eceaa){return _0x2d3e82['uEWjA'](_0x282354,_0x2eceaa);},'GIQYf':_0x2d3e82[_0x1e60f3(0x111)],'auDFt':_0x2d3e82['ScJiO'],'aCkbJ':_0x2d3e82['TASPA']};_0x7ee6aa[_0x1e60f3(0xc9)](_0x37028a),_0x7ee6aa['on'](_0x2d3e82[_0x1e60f3(0x106)],function(_0x7e4c91){const _0x594e58=_0x1e60f3;logger[_0x594e58(0xc6)](_0xe51136[_0x594e58(0x117)],_0x7e4c91),_0xe51136['hOMqq'](_0xb2b2df,_0x7e4c91);}),_0x37028a['on'](_0x2d3e82[_0x1e60f3(0x106)],function(_0x4c47ce){const _0x310427=_0x1e60f3;logger[_0x310427(0xc6)](_0x52ce57['bxMsY'],_0x4c47ce),_0x52ce57[_0x310427(0xe0)](_0xb2b2df,_0x4c47ce);}),_0x37028a['on'](_0x2d3e82[_0x1e60f3(0xeb)],function(){const _0x24ee3e=_0x1e60f3,_0xc1bf8d={};_0xc1bf8d[_0x24ee3e(0xe5)]=!![],yauzl[_0x24ee3e(0x142)](_0x2966df,_0xc1bf8d,function(_0x27d0a8,_0x3cd954){const _0x460a81=_0x24ee3e,_0x1c817e={'RkAzZ':function(_0x587fe1,_0x24f97d){const _0x4f9c9f=a66_0x11c5;return _0xe51136[_0x4f9c9f(0xf0)](_0x587fe1,_0x24f97d);},'TohtB':_0xe51136[_0x460a81(0xcb)],'bzQds':function(_0x1d63cc,_0x575fcc){return _0xe51136['aNmgI'](_0x1d63cc,_0x575fcc);},'AqfXI':function(_0x2c3931,_0x22e413){const _0x162303=_0x460a81;return _0xe51136[_0x162303(0xf1)](_0x2c3931,_0x22e413);},'UigGq':_0xe51136[_0x460a81(0x101)]};_0x27d0a8&&_0xe51136[_0x460a81(0xf0)](_0xb2b2df,_0x27d0a8),_0x3cd954[_0x460a81(0x140)](),_0x3cd954['on'](_0xe51136['auDFt'],_0x57f1de=>{const _0x231393=_0x460a81,_0x330720={'hQbYY':function(_0x2fed2e,_0x3feb00){return _0x1c817e['RkAzZ'](_0x2fed2e,_0x3feb00);},'vNXay':_0x1c817e[_0x231393(0xc4)]};if(/\/$/[_0x231393(0xc0)](_0x57f1de[_0x231393(0xe6)]))_0x3cd954[_0x231393(0x140)]();else{const _0x34043c=fs[_0x231393(0x105)](path[_0x231393(0x114)](_0x4f1901,_0x57f1de['fileName']));_0x3cd954[_0x231393(0xcf)](_0x57f1de,function(_0x22e814,_0x58a751){const _0x4d732c=_0x231393;_0x22e814&&_0x330720[_0x4d732c(0x11f)](_0xb2b2df,_0x27d0a8),_0x58a751['on'](_0x330720[_0x4d732c(0x122)],function(){const _0xeabc95=_0x4d732c;_0x34043c[_0xeabc95(0xf8)](),_0x3cd954[_0xeabc95(0x140)]();}),_0x58a751['pipe'](_0x34043c);}),_0x1c817e['bzQds'](_0x57f1de[_0x231393(0xe6)],_0x2eeb6a)&&_0x3cd954[_0x231393(0xf8)]();}}),_0x3cd954['on'](_0xe51136['aCkbJ'],_0x402a6d=>{const _0x60bc59=_0x460a81;_0x1c817e[_0x60bc59(0xe2)](_0xb2b2df,_0x402a6d);}),_0x3cd954['once'](_0xe51136[_0x460a81(0xcb)],()=>{const _0x404d60=_0x460a81;fs[_0x404d60(0x12e)](_0x4874c1,_0x1c817e[_0x404d60(0x11d)],function(_0x32e86f){const _0x15173c=_0x404d60;_0x32e86f&&_0x1c817e[_0x15173c(0xda)](_0xb2b2df,_0x32e86f),_0x1c817e[_0x15173c(0xda)](_0x165742,_0x4874c1);}),_0x3cd954[_0x404d60(0xf8)]();});});});})['on'](_0x2d3e82['TASPA'],function(_0x1422a4){const _0x1a860b=_0x1968c9;logger[_0x1a860b(0xc6)](_0x2d3e82[_0x1a860b(0x109)],_0x1422a4),_0x2d3e82[_0x1a860b(0xdb)](_0xb2b2df,_0x1422a4);});});}#homedir(){const _0x1b976b=a66_0x57292d,_0x8c7313={};_0x8c7313[_0x1b976b(0xf6)]=function(_0x594c97,_0x38b4d4){return _0x594c97===_0x38b4d4;},_0x8c7313['WInKd']='function',_0x8c7313[_0x1b976b(0x112)]=function(_0x2ec5f5,_0x2335ab){return _0x2ec5f5===_0x2335ab;},_0x8c7313['RubvK']=_0x1b976b(0x134),_0x8c7313[_0x1b976b(0xd6)]=function(_0x47d082,_0x53b6dc){return _0x47d082+_0x53b6dc;},_0x8c7313[_0x1b976b(0x139)]=_0x1b976b(0x12f),_0x8c7313['Wpmnm']=_0x1b976b(0x13d),_0x8c7313[_0x1b976b(0xee)]=function(_0x15eb10,_0x322b46){return _0x15eb10===_0x322b46;},_0x8c7313[_0x1b976b(0xd3)]='linux',_0x8c7313[_0x1b976b(0xf3)]=function(_0x45eecc,_0x48947b){return _0x45eecc===_0x48947b;},_0x8c7313[_0x1b976b(0x131)]=_0x1b976b(0x127),_0x8c7313['gFvni']=function(_0xc3fdf1,_0x4346ef){return _0xc3fdf1+_0x4346ef;},_0x8c7313['VKrFh']=_0x1b976b(0x126),_0x8c7313[_0x1b976b(0x10f)]=function(_0x2d0f8b,_0x51ce02){return _0x2d0f8b||_0x51ce02;};const _0x5a12d8=_0x8c7313;if(_0x5a12d8[_0x1b976b(0xf6)](typeof os['homedir'],_0x5a12d8[_0x1b976b(0x118)]))return os[_0x1b976b(0x12c)]();const _0x262ad3=process['env'],_0xe3da03=_0x262ad3[_0x1b976b(0xfa)],_0x2a06e8=_0x262ad3[_0x1b976b(0x103)]||_0x262ad3[_0x1b976b(0xec)]||_0x262ad3[_0x1b976b(0xc7)]||_0x262ad3[_0x1b976b(0x13c)];if(_0x5a12d8[_0x1b976b(0x112)](process['platform'],_0x5a12d8[_0x1b976b(0xdd)]))return _0x262ad3[_0x1b976b(0x136)]||_0x5a12d8[_0x1b976b(0xd6)](_0x262ad3['HOMEDRIVE'],_0x262ad3[_0x1b976b(0xea)])||_0xe3da03||null;if(_0x5a12d8[_0x1b976b(0xf6)](process[_0x1b976b(0xe9)],_0x5a12d8[_0x1b976b(0x139)]))return _0xe3da03||(_0x2a06e8?_0x5a12d8[_0x1b976b(0xd6)](_0x5a12d8['Wpmnm'],_0x2a06e8):null);if(_0x5a12d8[_0x1b976b(0xee)](process[_0x1b976b(0xe9)],_0x5a12d8[_0x1b976b(0xd3)]))return _0xe3da03||(_0x5a12d8[_0x1b976b(0xf3)](process[_0x1b976b(0xef)](),0x0)?_0x5a12d8['FOidn']:_0x2a06e8?_0x5a12d8[_0x1b976b(0xcc)](_0x5a12d8[_0x1b976b(0xe7)],_0x2a06e8):null);return _0x5a12d8['SJeOb'](_0xe3da03,null);}}function a66_0x404b(){const _0x8f0edc=['RubvK','QSQCd','tmpdir','OAWnV','BwFjF','RkAzZ','match','agent','lazyEntries','fileName','VKrFh','stdout','platform','HOMEPATH','KVEqs','USER','winstonLogger','TmdUd','getuid','Bcrxl','hOMqq','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','XYkIl','IFDAc','Error\x20trying\x20to\x20download\x20percy\x20binary','ZFmsw','readFileSync','close','fiYqB','HOME','percy.exe','download','5444166LzamWy','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','52NuHLrg','nGyQU','GIQYf','url','LOGNAME','Corrupt\x20percy\x20binary,\x20retrying','createWriteStream','TASPA','--version','QZLYD','vvjXe','validateBinary','ZUwBx','hYcaB','X_OK','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','SJeOb','parse','HZltp','YAdCp','66835OTfnhb','join','nUPsU','trXUb','zOJSy','WInKd','kPBZo','10420eArHsX','5288iZrukD','aoTXx','UigGq','.browserstack','hQbYY','tKKEZ','yauzl','vNXay','0755','eXxOH','accessSync','/home/','/root','statSync','port','cwd','host','homedir','/percy-linux.zip','chmod','darwin','path','FOidn','12265OlmUSB','.zip','win32','76335tIzkij','USERPROFILE','759908vtrJfW','/percy-win.zip','nsypp','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','W_OK','USERNAME','/Users/','AgjGT','ahwdQ','readEntry','wQXjE','open','SHDTc','length','data','OAMYi','36IZzvHu','2302029WovnRe','test','https://github.com/percy/cli/releases/latest/download','uKVWz','entry','TohtB','proxyPort','error','LNAME','get','pipe','PGHDA','oqmQR','gFvni','useCaCertificate','OeENb','openReadStream','end','proxyHost','../logger','aPmbo','XmBfi','1176xDktNg','oFaYg','mkdirSync','follow-redirects','oLMaU','AqfXI','vFgQu','NhYdO'];a66_0x404b=function(){return _0x8f0edc;};return a66_0x404b();}module['exports']=PercyBinary;
1
+ function a69_0x5adc(){const _0x182762=['percy.exe','klSik','gGHvt','OhGfV','qBzgD','platform','function','/percy-linux.zip','get','TiRuT','HOMEPATH','ZNfDL','once','6590mfBmQv','kFeoq','yJnlK','url','/percy-win.zip','mkjjK','zxLDH','/percy-osx.zip','48UVnpBq','../logger','Amnyb','entry','fileName','44788xgTijZ','60ebutXk','exports','proxyHost','fMThu','Hjuoz','RrMXQ','X_OK','proxyPort','ChCJo','ybtVS','ZmwtW','getuid','accessSync','cwd','https://github.com/percy/cli/releases/latest/download','vZFQy','linux','XXVUZ','test','homedir','3824345kPzWtF','mwkBs','error','dPUhg','data','validateBinary','comTJ','Ycdsb','usrxY','open','end','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','HOME','VjcPy','R_OK','0755','path','/home/','port','EIgsG','USER','3025572AObPQr','YvzzE','WUAdz','1281238zNmNtb','kHmJF','KoPMs','Error\x20trying\x20to\x20download\x20percy\x20binary','OeShw','download','child_process','20hGePso','nGtwb','gNzBV','/root','--version','percy','vQCOv','parse','QMdKO','306OdeQOT','pipe','DqrDD','yTpNZ','stdout','readEntry','MybHL','jJabh','close','USERPROFILE','readFileSync','OLSuW','ERzXQ','SpWYO','ZmFdS','join','win32','length','LOGNAME','KmUdl','OswiD','undefined','WhxoQ','xSPaS','191GsGZKd','lOipt','winstonLogger','SByHz','tmpdir','wxfUn','1134315oVuiNM','wtenL','match','xUhxB','yauzl','useCaCertificate','paAUc','createWriteStream','BeFYL','mkdirSync','CNOoU','lSSQK','ADOac','/Users/','darwin','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','statSync','QIJgK','4909200JmsHvQ','lazyEntries','LCtBw','MzvwZ','openReadStream','rQdNx'];a69_0x5adc=function(){return _0x182762;};return a69_0x5adc();}const a69_0x43ef7f=a69_0x4666;(function(_0x157bae,_0x1b85a9){const _0x505ea8=a69_0x4666,_0x41d942=_0x157bae();while(!![]){try{const _0x1cf11b=-parseInt(_0x505ea8(0x16e))/0x1*(-parseInt(_0x505ea8(0x199))/0x2)+parseInt(_0x505ea8(0x156))/0x3*(parseInt(_0x505ea8(0x1a6))/0x4)+-parseInt(_0x505ea8(0x1bb))/0x5+-parseInt(_0x505ea8(0x186))/0x6+parseInt(_0x505ea8(0x146))/0x7*(-parseInt(_0x505ea8(0x1a1))/0x8)+parseInt(_0x505ea8(0x174))/0x9*(parseInt(_0x505ea8(0x14d))/0xa)+-parseInt(_0x505ea8(0x143))/0xb*(-parseInt(_0x505ea8(0x1a7))/0xc);if(_0x1cf11b===_0x1b85a9)break;else _0x41d942['push'](_0x41d942['shift']());}catch(_0x604f34){_0x41d942['push'](_0x41d942['shift']());}}}(a69_0x5adc,0xaf2b8));const {https}=require('follow-redirects'),url=require(a69_0x43ef7f(0x19c)),yauzl=require(a69_0x43ef7f(0x178)),fs=require('fs'),path=require(a69_0x43ef7f(0x13e)),os=require('os'),{spawn}=require(a69_0x43ef7f(0x14c)),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a69_0x43ef7f(0x1a2))[a69_0x43ef7f(0x170)];function a69_0x4666(_0x39ed1c,_0x7974a9){const _0x5adce8=a69_0x5adc();return a69_0x4666=function(_0x46667a,_0x233422){_0x46667a=_0x46667a-0x130;let _0x3a015a=_0x5adce8[_0x46667a];return _0x3a015a;},a69_0x4666(_0x39ed1c,_0x7974a9);}class PercyBinary{#hostOS=process[a69_0x43ef7f(0x191)];#httpPath=null;#binaryName=a69_0x43ef7f(0x152);#orderedPaths=[path[a69_0x43ef7f(0x165)](this.#homedir(),'.browserstack'),process[a69_0x43ef7f(0x1b4)](),os[a69_0x43ef7f(0x172)]()];constructor(){const _0x9f6787=a69_0x43ef7f,_0x326038={};_0x326038['kFeoq']=_0x9f6787(0x1b5),_0x326038['eBTuR']=function(_0x4e67c0,_0x486c36){return _0x4e67c0+_0x486c36;},_0x326038[_0x9f6787(0x158)]=_0x9f6787(0x1a0),_0x326038[_0x9f6787(0x131)]=function(_0x38f645,_0x3cd742){return _0x38f645+_0x3cd742;},_0x326038[_0x9f6787(0x159)]=_0x9f6787(0x19d),_0x326038['usrxY']=_0x9f6787(0x18c),_0x326038[_0x9f6787(0x1b0)]=_0x9f6787(0x193);const _0x4616ef=_0x326038,_0x3631f4=_0x4616ef[_0x9f6787(0x19a)];if(this.#hostOS[_0x9f6787(0x176)](/darwin|mac os/i))this.#httpPath=_0x4616ef['eBTuR'](_0x3631f4,_0x4616ef[_0x9f6787(0x158)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x4616ef['dPUhg'](_0x3631f4,_0x4616ef['yTpNZ']),this.#binaryName=_0x4616ef[_0x9f6787(0x136)]):this.#httpPath=_0x4616ef['eBTuR'](_0x3631f4,_0x4616ef[_0x9f6787(0x1b0)]);}#getAvailableDirs(){const _0x5163bf=a69_0x43ef7f,_0x3f9fed={};_0x3f9fed[_0x5163bf(0x144)]=function(_0x2c7ba2,_0x47888c){return _0x2c7ba2<_0x47888c;},_0x3f9fed[_0x5163bf(0x190)]=_0x5163bf(0x149);const _0x27a3dd=_0x3f9fed;for(var _0x2ee76e=0x0;_0x27a3dd[_0x5163bf(0x144)](_0x2ee76e,this.#orderedPaths[_0x5163bf(0x167)]);_0x2ee76e++){var _0x4274b7=this.#orderedPaths[_0x2ee76e];if(this.#makePath(_0x4274b7))return _0x4274b7;}throw new Error(_0x27a3dd[_0x5163bf(0x190)]);}#makePath(_0xaf1c99){try{return!this.#checkPath(_0xaf1c99)&&fs['mkdirSync'](_0xaf1c99),!![];}catch{return![];}}#checkPath(_0x25a9f1,_0x1b5b61){const _0x3ecf32=a69_0x43ef7f,_0x14ad93={};_0x14ad93[_0x3ecf32(0x18d)]=function(_0x390533,_0x224c78){return _0x390533|_0x224c78;},_0x14ad93[_0x3ecf32(0x17c)]=function(_0x2d253a,_0x3d23ab){return _0x2d253a!==_0x3d23ab;},_0x14ad93['lOipt']=_0x3ecf32(0x16b);const _0x39ea26=_0x14ad93;_0x1b5b61=_0x1b5b61||_0x39ea26[_0x3ecf32(0x18d)](fs[_0x3ecf32(0x13c)],fs['W_OK']);try{return fs[_0x3ecf32(0x1b3)](_0x25a9f1,_0x1b5b61),!![];}catch(_0x1d0b59){if(_0x39ea26[_0x3ecf32(0x17c)](typeof fs['accessSync'],_0x39ea26[_0x3ecf32(0x16f)]))return![];try{return fs[_0x3ecf32(0x184)](_0x25a9f1),!![];}catch(_0x51cbe5){return![];}}}async['getBinaryPath'](_0x2de26b){const _0x2eec5e=a69_0x43ef7f,_0x44c8bd={};_0x44c8bd[_0x2eec5e(0x14e)]='Corrupt\x20percy\x20binary,\x20retrying';const _0xdda40a=_0x44c8bd;var _0x14da7e=this.#getAvailableDirs(),_0x1838a7=path[_0x2eec5e(0x165)](_0x14da7e,this.#binaryName);if(this.#checkPath(_0x1838a7,fs[_0x2eec5e(0x1ad)]))return _0x1838a7;const _0xd0c52d=await this[_0x2eec5e(0x14b)](_0x2de26b,_0x14da7e),_0x3554f3=await this[_0x2eec5e(0x133)](_0xd0c52d);if(!_0x3554f3)return logger[_0x2eec5e(0x130)](_0xdda40a[_0x2eec5e(0x14e)]),await this['download'](_0x2de26b,_0x14da7e);return _0xd0c52d;}async[a69_0x43ef7f(0x133)](_0x194208){const _0x1d0acd=a69_0x43ef7f,_0x4c3618={'SfcAX':function(_0x58c65d,_0xd70620){return _0x58c65d(_0xd70620);},'ZmFdS':function(_0x1ef504,_0x38c7b1,_0x423234){return _0x1ef504(_0x38c7b1,_0x423234);},'vZFQy':_0x1d0acd(0x151),'gNzBV':_0x1d0acd(0x132),'vQCOv':'close'},_0x116d9a=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x11e107,_0x5e7c9d)=>{const _0x4dae05=_0x1d0acd,_0x557b49={'SpWYO':function(_0x2dae49,_0x1158e8){return _0x4c3618['SfcAX'](_0x2dae49,_0x1158e8);}},_0x132c85=_0x4c3618[_0x4dae05(0x164)](spawn,_0x194208,[_0x4c3618[_0x4dae05(0x1b6)]]);_0x132c85[_0x4dae05(0x15a)]['on'](_0x4c3618[_0x4dae05(0x14f)],_0xc18332=>{const _0x3a4b60=_0x4dae05;_0x116d9a[_0x3a4b60(0x1b9)](_0xc18332)&&_0x4c3618['SfcAX'](_0x11e107,!![]);}),_0x132c85['on'](_0x4c3618[_0x4dae05(0x153)],()=>{const _0x5a4aa6=_0x4dae05;_0x557b49[_0x5a4aa6(0x163)](_0x11e107,![]);});});}['download'](_0x5ae07e,_0x4a619d){const _0x37fde6=a69_0x43ef7f,_0x4a411a={'MzvwZ':function(_0x4c0560,_0x2a70c2){return _0x4c0560===_0x2a70c2;},'WhxoQ':function(_0x277202,_0x3098d0){return _0x277202(_0x3098d0);},'apYPI':_0x37fde6(0x138),'OhGfV':_0x37fde6(0x13d),'QMdKO':_0x37fde6(0x1a4),'rQdNx':'error','Ycdsb':'Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','EIgsG':_0x37fde6(0x183),'GJEoT':_0x37fde6(0x15e),'ADOac':_0x37fde6(0x139),'LCtBw':function(_0x3ceb5f,_0x38d130){return _0x3ceb5f+_0x38d130;},'ZmwtW':'.zip','hVAwm':'Percy\x20download\x20failed\x20to\x20read\x20cert\x20file'};!this.#checkPath(_0x4a619d)&&fs[_0x37fde6(0x17d)](_0x4a619d);const _0x591818=this.#binaryName,_0x3a29d9=path[_0x37fde6(0x165)](_0x4a619d,_0x4a411a[_0x37fde6(0x188)](_0x591818,_0x4a411a[_0x37fde6(0x1b1)])),_0x26f0a2=path['join'](_0x4a619d,_0x591818),_0x1b7c1d=fs[_0x37fde6(0x17b)](_0x3a29d9),_0x4aab3f=url[_0x37fde6(0x154)](this.#httpPath);if(_0x5ae07e[_0x37fde6(0x1a9)]&&_0x5ae07e['proxyPort']){const _0xab6178={};_0xab6178['host']=_0x5ae07e['proxyHost'],_0xab6178[_0x37fde6(0x140)]=_0x5ae07e[_0x37fde6(0x1ae)],_0x4aab3f['agent']=new HttpsProxyAgent(_0xab6178);}if(_0x5ae07e[_0x37fde6(0x179)])try{_0x4aab3f['ca']=fs[_0x37fde6(0x160)](_0x5ae07e[_0x37fde6(0x179)]);}catch(_0x253711){logger[_0x37fde6(0x130)](_0x4a411a['hVAwm'],_0x253711);}return new Promise((_0x731a57,_0x1c2697)=>{const _0x4e70b1=_0x37fde6,_0x3d7b1c={'xSPaS':function(_0x3b3510,_0x149885){const _0xc0c728=a69_0x4666;return _0x4a411a[_0xc0c728(0x189)](_0x3b3510,_0x149885);},'yJnlK':function(_0x3e2129,_0x18e650){const _0x4cea31=a69_0x4666;return _0x4a411a[_0x4cea31(0x16c)](_0x3e2129,_0x18e650);},'zxLDH':_0x4a411a['apYPI'],'CNOoU':_0x4a411a[_0x4e70b1(0x18f)],'gGHvt':_0x4a411a[_0x4e70b1(0x155)],'fMThu':_0x4a411a[_0x4e70b1(0x18b)],'QIJgK':_0x4a411a[_0x4e70b1(0x135)],'VjcPy':_0x4a411a[_0x4e70b1(0x141)],'paAUc':function(_0x4614d0,_0x5215cf){const _0x4d18ed=_0x4e70b1;return _0x4a411a[_0x4d18ed(0x16c)](_0x4614d0,_0x5215cf);},'Hjuoz':_0x4a411a['GJEoT'],'MybHL':_0x4a411a[_0x4e70b1(0x180)]};https[_0x4e70b1(0x194)](_0x4aab3f,function(_0x4da0ce){const _0x473fe7=_0x4e70b1,_0x350072={'fOsYl':_0x3d7b1c[_0x473fe7(0x185)],'RrMXQ':function(_0x5b3ceb,_0x257e04){const _0x196104=_0x473fe7;return _0x3d7b1c[_0x196104(0x19b)](_0x5b3ceb,_0x257e04);},'KmUdl':_0x3d7b1c[_0x473fe7(0x13b)],'wtenL':function(_0x1ab09c,_0x106ddb){const _0x14e765=_0x473fe7;return _0x3d7b1c[_0x14e765(0x17a)](_0x1ab09c,_0x106ddb);}};_0x4da0ce[_0x473fe7(0x157)](_0x1b7c1d),_0x4da0ce['on'](_0x3d7b1c[_0x473fe7(0x1aa)],function(_0x4d9600){const _0x738ff7=_0x473fe7;logger[_0x738ff7(0x130)](_0x350072['fOsYl'],_0x4d9600),_0x350072[_0x738ff7(0x1ac)](_0x1c2697,_0x4d9600);}),_0x1b7c1d['on'](_0x3d7b1c[_0x473fe7(0x1aa)],function(_0x1b6565){const _0x2e8a0c=_0x473fe7;logger[_0x2e8a0c(0x130)](_0x350072[_0x2e8a0c(0x169)],_0x1b6565),_0x350072[_0x2e8a0c(0x175)](_0x1c2697,_0x1b6565);}),_0x1b7c1d['on'](_0x3d7b1c[_0x473fe7(0x1ab)],function(){const _0x217c09=_0x473fe7,_0x4af2f8={'aDTJq':function(_0x37ff6b,_0xc26fba){const _0x3d4bfc=a69_0x4666;return _0x3d7b1c[_0x3d4bfc(0x16d)](_0x37ff6b,_0xc26fba);},'WUAdz':function(_0x3cd565,_0x57cb21){const _0x402312=a69_0x4666;return _0x3d7b1c[_0x402312(0x19b)](_0x3cd565,_0x57cb21);},'kRnyc':_0x3d7b1c[_0x217c09(0x19f)],'SByHz':_0x3d7b1c[_0x217c09(0x17e)],'kHmJF':_0x3d7b1c[_0x217c09(0x18e)],'XXVUZ':_0x3d7b1c[_0x217c09(0x1aa)]},_0x40105c={};_0x40105c[_0x217c09(0x187)]=!![],yauzl[_0x217c09(0x137)](_0x3a29d9,_0x40105c,function(_0x1ad1b0,_0x19276f){const _0x18ee0c=_0x217c09,_0x1837c2={'KoPMs':function(_0x16640c,_0x4db0a1){const _0x107e52=a69_0x4666;return _0x4af2f8[_0x107e52(0x145)](_0x16640c,_0x4db0a1);},'TiRuT':_0x4af2f8['kRnyc'],'jnBvK':_0x4af2f8[_0x18ee0c(0x171)]};_0x1ad1b0&&_0x4af2f8['WUAdz'](_0x1c2697,_0x1ad1b0),_0x19276f[_0x18ee0c(0x15b)](),_0x19276f['on'](_0x4af2f8[_0x18ee0c(0x147)],_0x30370a=>{const _0x36823f=_0x18ee0c;if(/\/$/[_0x36823f(0x1b9)](_0x30370a[_0x36823f(0x1a5)]))_0x19276f[_0x36823f(0x15b)]();else{const _0x5485dd=fs['createWriteStream'](path[_0x36823f(0x165)](_0x4a619d,_0x30370a[_0x36823f(0x1a5)]));_0x19276f[_0x36823f(0x18a)](_0x30370a,function(_0x39b2eb,_0x3c75a3){const _0x21be86=_0x36823f;_0x39b2eb&&_0x1837c2[_0x21be86(0x148)](_0x1c2697,_0x1ad1b0),_0x3c75a3['on'](_0x1837c2[_0x21be86(0x195)],function(){const _0x3f3096=_0x21be86;_0x5485dd[_0x3f3096(0x15e)](),_0x19276f[_0x3f3096(0x15b)]();}),_0x3c75a3[_0x21be86(0x157)](_0x5485dd);}),_0x4af2f8['aDTJq'](_0x30370a[_0x36823f(0x1a5)],_0x591818)&&_0x19276f['close']();}}),_0x19276f['on'](_0x4af2f8[_0x18ee0c(0x1b8)],_0x19664c=>{_0x1837c2['KoPMs'](_0x1c2697,_0x19664c);}),_0x19276f[_0x18ee0c(0x198)](_0x4af2f8['kRnyc'],()=>{fs['chmod'](_0x26f0a2,_0x1837c2['jnBvK'],function(_0x8ea16b){const _0x353ee6=a69_0x4666;_0x8ea16b&&_0x1837c2[_0x353ee6(0x148)](_0x1c2697,_0x8ea16b),_0x1837c2[_0x353ee6(0x148)](_0x731a57,_0x26f0a2);}),_0x19276f['close']();});});});})['on'](_0x4a411a['rQdNx'],function(_0x5bb335){const _0x4679d1=_0x4e70b1;logger['error'](_0x3d7b1c[_0x4679d1(0x15c)],_0x5bb335),_0x3d7b1c[_0x4679d1(0x19b)](_0x1c2697,_0x5bb335);});});}#homedir(){const _0x3cfa71=a69_0x43ef7f,_0x1eb472={};_0x1eb472[_0x3cfa71(0x1bc)]=function(_0xb1525,_0x2a614a){return _0xb1525===_0x2a614a;},_0x1eb472['OeShw']=_0x3cfa71(0x192),_0x1eb472[_0x3cfa71(0x19e)]=function(_0x33b34e,_0x432c60){return _0x33b34e===_0x432c60;},_0x1eb472[_0x3cfa71(0x161)]=_0x3cfa71(0x166),_0x1eb472[_0x3cfa71(0x162)]=function(_0x37c1f5,_0x2807f0){return _0x37c1f5+_0x2807f0;},_0x1eb472[_0x3cfa71(0x134)]=_0x3cfa71(0x182),_0x1eb472[_0x3cfa71(0x173)]=function(_0x10a3d3,_0x18a7e9){return _0x10a3d3+_0x18a7e9;},_0x1eb472[_0x3cfa71(0x1af)]=_0x3cfa71(0x181),_0x1eb472[_0x3cfa71(0x15d)]=function(_0x4697d0,_0x312fdc){return _0x4697d0===_0x312fdc;},_0x1eb472[_0x3cfa71(0x197)]=_0x3cfa71(0x1b7),_0x1eb472[_0x3cfa71(0x16a)]=_0x3cfa71(0x150),_0x1eb472[_0x3cfa71(0x17f)]=function(_0x32c443,_0x9d4eef){return _0x32c443+_0x9d4eef;},_0x1eb472[_0x3cfa71(0x1a3)]=_0x3cfa71(0x13f),_0x1eb472['xUhxB']=function(_0x4a5b31,_0x36e29d){return _0x4a5b31||_0x36e29d;};const _0x4bbcc8=_0x1eb472;if(_0x4bbcc8[_0x3cfa71(0x1bc)](typeof os[_0x3cfa71(0x1ba)],_0x4bbcc8[_0x3cfa71(0x14a)]))return os['homedir']();const _0x14803a=process['env'],_0x1cd9f4=_0x14803a[_0x3cfa71(0x13a)],_0x306da2=_0x14803a[_0x3cfa71(0x168)]||_0x14803a[_0x3cfa71(0x142)]||_0x14803a['LNAME']||_0x14803a['USERNAME'];if(_0x4bbcc8['mkjjK'](process[_0x3cfa71(0x191)],_0x4bbcc8[_0x3cfa71(0x161)]))return _0x14803a[_0x3cfa71(0x15f)]||_0x4bbcc8[_0x3cfa71(0x162)](_0x14803a['HOMEDRIVE'],_0x14803a[_0x3cfa71(0x196)])||_0x1cd9f4||null;if(_0x4bbcc8[_0x3cfa71(0x1bc)](process[_0x3cfa71(0x191)],_0x4bbcc8[_0x3cfa71(0x134)]))return _0x1cd9f4||(_0x306da2?_0x4bbcc8[_0x3cfa71(0x173)](_0x4bbcc8['ChCJo'],_0x306da2):null);if(_0x4bbcc8[_0x3cfa71(0x15d)](process[_0x3cfa71(0x191)],_0x4bbcc8[_0x3cfa71(0x197)]))return _0x1cd9f4||(_0x4bbcc8[_0x3cfa71(0x15d)](process[_0x3cfa71(0x1b2)](),0x0)?_0x4bbcc8[_0x3cfa71(0x16a)]:_0x306da2?_0x4bbcc8[_0x3cfa71(0x17f)](_0x4bbcc8['Amnyb'],_0x306da2):null);return _0x4bbcc8[_0x3cfa71(0x177)](_0x1cd9f4,null);}}module[a69_0x43ef7f(0x1a8)]=PercyBinary;
@@ -1 +1 @@
1
- var a67_0x135752=a67_0x31e8;function a67_0x1022(){var _0x476be5=['801212nrtXcJ','exports','363087pDigSl','6xdZqgI','437395lXFbeb','6464297cnYXqn','392ZtSxXx','989945eEtkGg','increment','1108290DvBOYV','getName','get','2051370EnhAWO'];a67_0x1022=function(){return _0x476be5;};return a67_0x1022();}function a67_0x31e8(_0x4c7266,_0x2e305d){var _0x10228b=a67_0x1022();return a67_0x31e8=function(_0x31e8d6,_0x2df01f){_0x31e8d6=_0x31e8d6-0x8d;var _0x316663=_0x10228b[_0x31e8d6];return _0x316663;},a67_0x31e8(_0x4c7266,_0x2e305d);}(function(_0x2debf8,_0xea7af4){var _0x55828a=a67_0x31e8,_0x495fdb=_0x2debf8();while(!![]){try{var _0x3f237f=parseInt(_0x55828a(0x97))/0x1+parseInt(_0x55828a(0x92))/0x2+parseInt(_0x55828a(0x8f))/0x3+-parseInt(_0x55828a(0x93))/0x4+parseInt(_0x55828a(0x8d))/0x5+parseInt(_0x55828a(0x96))/0x6*(parseInt(_0x55828a(0x98))/0x7)+-parseInt(_0x55828a(0x99))/0x8*(parseInt(_0x55828a(0x95))/0x9);if(_0x3f237f===_0xea7af4)break;else _0x495fdb['push'](_0x495fdb['shift']());}catch(_0x2ad953){_0x495fdb['push'](_0x495fdb['shift']());}}}(a67_0x1022,0xbda9c));class PercyCaptureMap{#map={};[a67_0x135752(0x8e)](_0x4cb37f,_0x1f5e3b){!this.#map[_0x4cb37f]&&(this.#map[_0x4cb37f]={}),!this.#map[_0x4cb37f][_0x1f5e3b]&&(this.#map[_0x4cb37f][_0x1f5e3b]=0x0),this.#map[_0x4cb37f][_0x1f5e3b]++;}[a67_0x135752(0x90)](_0x19be72,_0x4423a1){var _0x17533f=a67_0x135752;return _0x19be72+'-'+_0x4423a1+'-'+this[_0x17533f(0x91)](_0x19be72,_0x4423a1);}[a67_0x135752(0x91)](_0x3866f1,_0x399595){if(!this.#map[_0x3866f1])return 0x0;if(!this.#map[_0x3866f1][_0x399595])return 0x0;return this.#map[_0x3866f1][_0x399595];}}module[a67_0x135752(0x94)]=PercyCaptureMap;
1
+ var a70_0x5848c4=a70_0x5457;(function(_0x2e2451,_0x2add17){var _0x103df1=a70_0x5457,_0x5a964a=_0x2e2451();while(!![]){try{var _0x5d8eb6=-parseInt(_0x103df1(0x131))/0x1+-parseInt(_0x103df1(0x132))/0x2+-parseInt(_0x103df1(0x137))/0x3*(-parseInt(_0x103df1(0x136))/0x4)+-parseInt(_0x103df1(0x13d))/0x5*(parseInt(_0x103df1(0x135))/0x6)+parseInt(_0x103df1(0x134))/0x7*(-parseInt(_0x103df1(0x13a))/0x8)+parseInt(_0x103df1(0x13e))/0x9*(-parseInt(_0x103df1(0x130))/0xa)+-parseInt(_0x103df1(0x13c))/0xb*(-parseInt(_0x103df1(0x133))/0xc);if(_0x5d8eb6===_0x2add17)break;else _0x5a964a['push'](_0x5a964a['shift']());}catch(_0x4d0a5e){_0x5a964a['push'](_0x5a964a['shift']());}}}(a70_0x2511,0x1bd96));class PercyCaptureMap{#map={};[a70_0x5848c4(0x139)](_0x267ae9,_0x1ffe74){!this.#map[_0x267ae9]&&(this.#map[_0x267ae9]={}),!this.#map[_0x267ae9][_0x1ffe74]&&(this.#map[_0x267ae9][_0x1ffe74]=0x0),this.#map[_0x267ae9][_0x1ffe74]++;}[a70_0x5848c4(0x13b)](_0x5d1045,_0x51af5e){var _0x34bc66=a70_0x5848c4;return _0x5d1045+'-'+_0x51af5e+'-'+this[_0x34bc66(0x138)](_0x5d1045,_0x51af5e);}[a70_0x5848c4(0x138)](_0x1db23a,_0x3d54b7){if(!this.#map[_0x1db23a])return 0x0;if(!this.#map[_0x1db23a][_0x3d54b7])return 0x0;return this.#map[_0x1db23a][_0x3d54b7];}}function a70_0x5457(_0x3f49d0,_0x20acb8){var _0x2511c9=a70_0x2511();return a70_0x5457=function(_0x545766,_0x32eb37){_0x545766=_0x545766-0x130;var _0x1b5f38=_0x2511c9[_0x545766];return _0x1b5f38;},a70_0x5457(_0x3f49d0,_0x20acb8);}function a70_0x2511(){var _0x46039e=['increment','8jEIzkO','getName','473LTHkJj','702365LgzKie','72lGZlcd','276160XRLCPZ','191478rbSYfy','6208ohPnAX','193476fbuTCR','514339PczPXx','6sgKKmH','4UktlUF','150723EhMiZE','get'];a70_0x2511=function(){return _0x46039e;};return a70_0x2511();}module['exports']=PercyCaptureMap;
@@ -1 +1 @@
1
- var a68_0x4e068a=a68_0x5722;(function(_0x353f06,_0x46e7e){var _0x34fc11=a68_0x5722,_0x2eaac3=_0x353f06();while(!![]){try{var _0x5378af=-parseInt(_0x34fc11(0x12f))/0x1+-parseInt(_0x34fc11(0x137))/0x2+parseInt(_0x34fc11(0x12e))/0x3*(parseInt(_0x34fc11(0x136))/0x4)+-parseInt(_0x34fc11(0x132))/0x5+-parseInt(_0x34fc11(0x13b))/0x6+-parseInt(_0x34fc11(0x12d))/0x7*(parseInt(_0x34fc11(0x135))/0x8)+parseInt(_0x34fc11(0x134))/0x9;if(_0x5378af===_0x46e7e)break;else _0x2eaac3['push'](_0x2eaac3['shift']());}catch(_0x5416cb){_0x2eaac3['push'](_0x2eaac3['shift']());}}}(a68_0x5118,0xa87a6));var a68_0x22204e={};a68_0x22204e[a68_0x4e068a(0x139)]=[a68_0x4e068a(0x138)],a68_0x22204e[a68_0x4e068a(0x12a)]=['click',a68_0x4e068a(0x130)];function a68_0x5118(){var _0x32073d=['testcase','207725lBkFdm','3sUnaFg','465099TnzXiO','sendKeys','auto','2442870bnytfD','exports','19315242hEIECi','72aMXqlX','1903412kqyyrs','352490Pswdfi','takeScreenshot','driver','click','3209472yzjwld','element','screenshot'];a68_0x5118=function(){return _0x32073d;};return a68_0x5118();}var a68_0x5dccff={};a68_0x5dccff[a68_0x4e068a(0x139)]=[a68_0x4e068a(0x138)];var a68_0x4562d9={};a68_0x4562d9[a68_0x4e068a(0x12a)]=[a68_0x4e068a(0x13a)];function a68_0x5722(_0x47a0dd,_0x5308f1){var _0x511884=a68_0x5118();return a68_0x5722=function(_0x5722d3,_0x4d81b9){_0x5722d3=_0x5722d3-0x12a;var _0x5a653b=_0x511884[_0x5722d3];return _0x5a653b;},a68_0x5722(_0x47a0dd,_0x5308f1);}var a68_0x37ae9f={};a68_0x37ae9f[a68_0x4e068a(0x131)]=a68_0x22204e,a68_0x37ae9f[a68_0x4e068a(0x12b)]=a68_0x5dccff,a68_0x37ae9f['click']=a68_0x4562d9,a68_0x37ae9f[a68_0x4e068a(0x12c)]={},a68_0x37ae9f['manual']={},module[a68_0x4e068a(0x133)]=a68_0x37ae9f;
1
+ var a71_0x13deff=a71_0x1afc;(function(_0x371b8e,_0x11007d){var _0x462a49=a71_0x1afc,_0x13c999=_0x371b8e();while(!![]){try{var _0x164820=-parseInt(_0x462a49(0x174))/0x1+parseInt(_0x462a49(0x16c))/0x2*(parseInt(_0x462a49(0x170))/0x3)+parseInt(_0x462a49(0x168))/0x4*(parseInt(_0x462a49(0x16f))/0x5)+-parseInt(_0x462a49(0x166))/0x6*(parseInt(_0x462a49(0x167))/0x7)+-parseInt(_0x462a49(0x16a))/0x8+-parseInt(_0x462a49(0x169))/0x9*(-parseInt(_0x462a49(0x175))/0xa)+-parseInt(_0x462a49(0x165))/0xb*(-parseInt(_0x462a49(0x171))/0xc);if(_0x164820===_0x11007d)break;else _0x13c999['push'](_0x13c999['shift']());}catch(_0x48f90f){_0x13c999['push'](_0x13c999['shift']());}}}(a71_0x4918,0xbd569));var a71_0x964376={};a71_0x964376[a71_0x13deff(0x173)]=[a71_0x13deff(0x16e)],a71_0x964376['element']=['click',a71_0x13deff(0x176)];var a71_0x3553a5={};a71_0x3553a5[a71_0x13deff(0x173)]=[a71_0x13deff(0x16e)];function a71_0x4918(){var _0xa282b8=['7BCFjLJ','16CGMQMj','126QKnJlx','3427944mmRzSG','manual','4VzfXsj','testcase','takeScreenshot','1902630JxXwte','229932SsSzUh','12oMlgBz','screenshot','driver','1064787ixrQRW','225790SnbAtN','sendKeys','auto','click','18301547ybqijI','8318796yPyppB'];a71_0x4918=function(){return _0xa282b8;};return a71_0x4918();}var a71_0x5276a2={};a71_0x5276a2['element']=[a71_0x13deff(0x164)];var a71_0xcad741={};function a71_0x1afc(_0x1ccf39,_0x5b2396){var _0x491878=a71_0x4918();return a71_0x1afc=function(_0x1afc20,_0x34bb9a){_0x1afc20=_0x1afc20-0x164;var _0x3e1cd2=_0x491878[_0x1afc20];return _0x3e1cd2;},a71_0x1afc(_0x1ccf39,_0x5b2396);}a71_0xcad741[a71_0x13deff(0x177)]=a71_0x964376,a71_0xcad741[a71_0x13deff(0x172)]=a71_0x3553a5,a71_0xcad741[a71_0x13deff(0x164)]=a71_0x5276a2,a71_0xcad741[a71_0x13deff(0x16d)]={},a71_0xcad741[a71_0x13deff(0x16b)]={},module['exports']=a71_0xcad741;
@@ -1 +1 @@
1
- const a69_0x576d0a=a69_0x49c0;(function(_0x5719f6,_0x58762b){const _0x41af7a=a69_0x49c0,_0x2f5e38=_0x5719f6();while(!![]){try{const _0x4bcb0e=-parseInt(_0x41af7a(0x152))/0x1*(parseInt(_0x41af7a(0x148))/0x2)+parseInt(_0x41af7a(0x158))/0x3*(-parseInt(_0x41af7a(0x154))/0x4)+parseInt(_0x41af7a(0x153))/0x5*(parseInt(_0x41af7a(0x13b))/0x6)+parseInt(_0x41af7a(0x14f))/0x7*(-parseInt(_0x41af7a(0x14a))/0x8)+parseInt(_0x41af7a(0x14e))/0x9*(parseInt(_0x41af7a(0x134))/0xa)+-parseInt(_0x41af7a(0x142))/0xb*(parseInt(_0x41af7a(0x147))/0xc)+-parseInt(_0x41af7a(0x156))/0xd*(-parseInt(_0x41af7a(0x150))/0xe);if(_0x4bcb0e===_0x58762b)break;else _0x2f5e38['push'](_0x2f5e38['shift']());}catch(_0x229bcf){_0x2f5e38['push'](_0x2f5e38['shift']());}}}(a69_0x173e,0x8a3e0));function a69_0x173e(){const _0x238067=['82trSCcm','error','8GxvVdM','percy:screenshot','browserstackPlatformIndex','@percy/selenium-webdriver','526572xInvDm','6649153VqRsIy','14HHOJlo','platformIndex','25757DaeSfx','978240Mbpdnb','4AedoCz','ADFWW','40399723oSWZwj','screenshotApp','2192901KpqRAv','percy:screenshot-app','../../helpers/testhub/utils','testCase','winstonLogger','name','RnFig','../logger','fQdvF','thTestCaseExecutionId','80OWLzAA','@percy/appium-app','uuid','LrpmO','browserstackPercyBestPlatform','iaPRf','apply','12czpZzB','wtiaA','qtdAh','../performance-tester','cVlgA','Unsupported\x20driver\x20for\x20percy','HBFaF','260821VobsHe','measure','screenshot','ABxDI','length','336DzHoTn'];a69_0x173e=function(){return _0x238067;};return a69_0x173e();}const tryRequire=function(_0x486dc8,_0x3d956d){const _0x37ed7e=a69_0x49c0,_0xc37ebd={'iaPRf':function(_0x3ffcdf,_0x490de7){return _0x3ffcdf(_0x490de7);}};try{return _0xc37ebd[_0x37ed7e(0x139)](require,_0x486dc8);}catch{return _0x3d956d;}},percySnapshot=tryRequire(a69_0x576d0a(0x14d),null),{percyScreenshot}=tryRequire(a69_0x576d0a(0x14d),{}),percyAppScreenshot=require(a69_0x576d0a(0x135)),{getCurrentTestData}=require(a69_0x576d0a(0x12c)),PerformanceTester=require(a69_0x576d0a(0x13e)),logger=require(a69_0x576d0a(0x131))[a69_0x576d0a(0x12e)];percySnapshot&&(exports['snapshot']=async function(){const _0x5e5263=a69_0x576d0a,_0x198e9f={'NyKFy':function(_0x44000c,_0x2d80fa){return _0x44000c!==_0x2d80fa;},'dkYgg':function(_0x32d86b,_0x46cde9){return _0x32d86b>=_0x46cde9;},'HBFaF':function(_0x1bd460){return _0x1bd460();},'LrpmO':'percy:snapshot'};if(global[_0x5e5263(0x14c)]&&_0x198e9f['NyKFy'](global['browserstackPlatformIndex'],global[_0x5e5263(0x138)]))return;const _0x5b0f39=_0x198e9f['dkYgg'](arguments['length'],0x2)?arguments[0x1]:'',_0x258311=_0x198e9f[_0x5e5263(0x141)](getCurrentTestData),_0x3c45ea={};return _0x3c45ea[_0x5e5263(0x12f)]=_0x5b0f39,_0x3c45ea[_0x5e5263(0x12d)]=_0x258311[_0x5e5263(0x12f)]||'',_0x3c45ea[_0x5e5263(0x133)]=_0x258311[_0x5e5263(0x136)]||'',_0x3c45ea['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester[_0x5e5263(0x143)](_0x198e9f[_0x5e5263(0x137)],()=>percySnapshot[_0x5e5263(0x13a)](null,arguments),_0x3c45ea);});percyScreenshot?exports[a69_0x576d0a(0x144)]=async function(){const _0x4f80e5=a69_0x576d0a,_0x2a0614={'ADFWW':function(_0x5a7fd6,_0x5f3d99){return _0x5a7fd6>=_0x5f3d99;},'wtiaA':function(_0x21006c){return _0x21006c();},'RnFig':_0x4f80e5(0x14b)},_0x59ff0c=_0x2a0614[_0x4f80e5(0x155)](arguments['length'],0x2)?arguments[0x1]:'',_0x59d139=_0x2a0614[_0x4f80e5(0x13c)](getCurrentTestData),_0x4fc35e={};return _0x4fc35e[_0x4f80e5(0x12f)]=_0x59ff0c,_0x4fc35e[_0x4f80e5(0x12d)]=_0x59d139[_0x4f80e5(0x12f)]||'',_0x4fc35e['thTestCaseExecutionId']=_0x59d139['uuid']||'',_0x4fc35e[_0x4f80e5(0x151)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x4f80e5(0x143)](_0x2a0614[_0x4f80e5(0x130)],()=>percyScreenshot['apply'](null,arguments),_0x4fc35e);}:exports[a69_0x576d0a(0x144)]=()=>{const _0x428624=a69_0x576d0a,_0x9e3ffb={};_0x9e3ffb[_0x428624(0x132)]=_0x428624(0x140);const _0x5af26f=_0x9e3ffb;logger[_0x428624(0x149)](_0x5af26f['fQdvF']);};function a69_0x49c0(_0x435355,_0x25cea0){const _0x173e9c=a69_0x173e();return a69_0x49c0=function(_0x49c034,_0x5d39e4){_0x49c034=_0x49c034-0x12c;let _0x436cc6=_0x173e9c[_0x49c034];return _0x436cc6;},a69_0x49c0(_0x435355,_0x25cea0);}exports[a69_0x576d0a(0x157)]=async function(){const _0x5f3c13=a69_0x576d0a,_0x502f24={'cVlgA':function(_0xb6ce56,_0x244736){return _0xb6ce56>=_0x244736;},'ABxDI':function(_0x59aaf0){return _0x59aaf0();},'qtdAh':_0x5f3c13(0x159)},_0x505f9e=_0x502f24[_0x5f3c13(0x13f)](arguments[_0x5f3c13(0x146)],0x2)?arguments[0x1]:'',_0x24b5a0=_0x502f24[_0x5f3c13(0x145)](getCurrentTestData),_0x4ac0bc={};return _0x4ac0bc[_0x5f3c13(0x12f)]=_0x505f9e,_0x4ac0bc[_0x5f3c13(0x12d)]=_0x24b5a0[_0x5f3c13(0x12f)]||'',_0x4ac0bc['thTestCaseExecutionId']=_0x24b5a0[_0x5f3c13(0x136)]||'',_0x4ac0bc[_0x5f3c13(0x151)]=global[_0x5f3c13(0x14c)],await PerformanceTester[_0x5f3c13(0x143)](_0x502f24[_0x5f3c13(0x13d)],()=>percyAppScreenshot[_0x5f3c13(0x13a)](null,arguments),_0x4ac0bc);};
1
+ function a72_0x1b17(){const _0x2348b5=['percy:screenshot','ZSXtQ','3601329mTbDrA','screenshotApp','platformIndex','../../helpers/testhub/utils','../logger','measure','674030yjZoMY','ptYNr','2lGMaXD','6004632oFSmqT','percy:screenshot-app','../performance-tester','DpTpT','uHxMI','13697790JEZHfD','percy:snapshot','ZwCNL','839977sCsnfe','vFSBx','winstonLogger','7306353NfXZmM','740ofAyck','thTestCaseExecutionId','diwBG','32815PzowGf','testCase','LCPMt','@percy/selenium-webdriver','vouNy','Unsupported\x20driver\x20for\x20percy','apply','error','OsJQZ','peiQy','uuid','length','6ocWADF','screenshot','name','11FEQwFa','browserstackPlatformIndex'];a72_0x1b17=function(){return _0x2348b5;};return a72_0x1b17();}function a72_0x10b0(_0x5e45f9,_0x52df2c){const _0x1b1747=a72_0x1b17();return a72_0x10b0=function(_0x10b0d3,_0x10e7c0){_0x10b0d3=_0x10b0d3-0xfe;let _0x3398d7=_0x1b1747[_0x10b0d3];return _0x3398d7;},a72_0x10b0(_0x5e45f9,_0x52df2c);}const a72_0x356482=a72_0x10b0;(function(_0x2c8194,_0x164bdc){const _0x32ffef=a72_0x10b0,_0x59563f=_0x2c8194();while(!![]){try{const _0x278cd7=-parseInt(_0x32ffef(0x119))/0x1+-parseInt(_0x32ffef(0x110))/0x2*(-parseInt(_0x32ffef(0x108))/0x3)+-parseInt(_0x32ffef(0x11d))/0x4*(parseInt(_0x32ffef(0x120))/0x5)+parseInt(_0x32ffef(0x101))/0x6*(parseInt(_0x32ffef(0x10e))/0x7)+-parseInt(_0x32ffef(0x111))/0x8+parseInt(_0x32ffef(0x11c))/0x9+parseInt(_0x32ffef(0x116))/0xa*(parseInt(_0x32ffef(0x104))/0xb);if(_0x278cd7===_0x164bdc)break;else _0x59563f['push'](_0x59563f['shift']());}catch(_0x25a00b){_0x59563f['push'](_0x59563f['shift']());}}}(a72_0x1b17,0xa4752));const tryRequire=function(_0x2332a1,_0x14086f){const _0x3359d5=a72_0x10b0,_0x2f71d2={'uHxMI':function(_0x562122,_0x4f0c73){return _0x562122(_0x4f0c73);}};try{return _0x2f71d2[_0x3359d5(0x115)](require,_0x2332a1);}catch{return _0x14086f;}},percySnapshot=tryRequire(a72_0x356482(0x123),null),{percyScreenshot}=tryRequire(a72_0x356482(0x123),{}),percyAppScreenshot=require('@percy/appium-app'),{getCurrentTestData}=require(a72_0x356482(0x10b)),PerformanceTester=require(a72_0x356482(0x113)),logger=require(a72_0x356482(0x10c))[a72_0x356482(0x11b)];percySnapshot&&(exports['snapshot']=async function(){const _0x58fa58=a72_0x356482,_0xc2438d={'DpTpT':function(_0x2787c0,_0xd72891){return _0x2787c0!==_0xd72891;},'peiQy':function(_0x39b3aa,_0x1eade3){return _0x39b3aa>=_0x1eade3;},'ZSXtQ':function(_0x539e7c){return _0x539e7c();},'ptYNr':_0x58fa58(0x117)};if(global[_0x58fa58(0x105)]&&_0xc2438d[_0x58fa58(0x114)](global[_0x58fa58(0x105)],global['browserstackPercyBestPlatform']))return;const _0x3df7e9=_0xc2438d[_0x58fa58(0xfe)](arguments[_0x58fa58(0x100)],0x2)?arguments[0x1]:'',_0x22a0f9=_0xc2438d[_0x58fa58(0x107)](getCurrentTestData),_0x4ffc3a={};return _0x4ffc3a[_0x58fa58(0x103)]=_0x3df7e9,_0x4ffc3a[_0x58fa58(0x121)]=_0x22a0f9['name']||'',_0x4ffc3a['thTestCaseExecutionId']=_0x22a0f9[_0x58fa58(0xff)]||'',_0x4ffc3a[_0x58fa58(0x10a)]=global[_0x58fa58(0x105)],await PerformanceTester[_0x58fa58(0x10d)](_0xc2438d[_0x58fa58(0x10f)],()=>percySnapshot[_0x58fa58(0x126)](null,arguments),_0x4ffc3a);});percyScreenshot?exports[a72_0x356482(0x102)]=async function(){const _0x46b17d=a72_0x356482,_0x5ee57c={'OsJQZ':function(_0x943686,_0x50d200){return _0x943686>=_0x50d200;},'ZwCNL':function(_0x2dce0b){return _0x2dce0b();},'LCPMt':_0x46b17d(0x106)},_0x33e7e8=_0x5ee57c[_0x46b17d(0x128)](arguments[_0x46b17d(0x100)],0x2)?arguments[0x1]:'',_0x3643eb=_0x5ee57c[_0x46b17d(0x118)](getCurrentTestData),_0x31f5bb={};return _0x31f5bb[_0x46b17d(0x103)]=_0x33e7e8,_0x31f5bb['testCase']=_0x3643eb[_0x46b17d(0x103)]||'',_0x31f5bb[_0x46b17d(0x11e)]=_0x3643eb[_0x46b17d(0xff)]||'',_0x31f5bb['platformIndex']=global[_0x46b17d(0x105)],await PerformanceTester[_0x46b17d(0x10d)](_0x5ee57c[_0x46b17d(0x122)],()=>percyScreenshot[_0x46b17d(0x126)](null,arguments),_0x31f5bb);}:exports['screenshot']=()=>{const _0x133d4c=a72_0x356482,_0x5587b4={};_0x5587b4[_0x133d4c(0x11f)]=_0x133d4c(0x125);const _0x5e3e13=_0x5587b4;logger[_0x133d4c(0x127)](_0x5e3e13['diwBG']);};exports[a72_0x356482(0x109)]=async function(){const _0x33e1ab=a72_0x356482,_0x5b4ddc={'vFSBx':function(_0x381bdf,_0x45c182){return _0x381bdf>=_0x45c182;},'ZGfrX':function(_0x3a2b2e){return _0x3a2b2e();},'vouNy':_0x33e1ab(0x112)},_0x5e923=_0x5b4ddc[_0x33e1ab(0x11a)](arguments[_0x33e1ab(0x100)],0x2)?arguments[0x1]:'',_0x5ae133=_0x5b4ddc['ZGfrX'](getCurrentTestData),_0x3c1ba4={};return _0x3c1ba4['name']=_0x5e923,_0x3c1ba4[_0x33e1ab(0x121)]=_0x5ae133[_0x33e1ab(0x103)]||'',_0x3c1ba4['thTestCaseExecutionId']=_0x5ae133[_0x33e1ab(0xff)]||'',_0x3c1ba4[_0x33e1ab(0x10a)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](_0x5b4ddc[_0x33e1ab(0x124)],()=>percyAppScreenshot[_0x33e1ab(0x126)](null,arguments),_0x3c1ba4);};
@@ -1 +1 @@
1
- function a70_0x1ca5(_0x56758e,_0x1fed16){var _0x39a71f=a70_0x39a7();return a70_0x1ca5=function(_0x1ca55e,_0x23fe3d){_0x1ca55e=_0x1ca55e-0x71;var _0x42ef52=_0x39a71f[_0x1ca55e];return _0x42ef52;},a70_0x1ca5(_0x56758e,_0x1fed16);}var a70_0x2c0118=a70_0x1ca5;function a70_0x39a7(){var _0x21ca02=['7XMCYde','862975TyUzUW','./Percy','3787560AxFkLp','exports','6101359WzMDEC','28wtohsy','2760606cKqrHT','466682nSpQZw','12maAFjg','30RbfKoF','3647936pkFpuK','964263bYvVwq'];a70_0x39a7=function(){return _0x21ca02;};return a70_0x39a7();}(function(_0x20dc1d,_0x848e9c){var _0x5d99ed=a70_0x1ca5,_0x2b21a5=_0x20dc1d();while(!![]){try{var _0x3deae8=parseInt(_0x5d99ed(0x72))/0x1+-parseInt(_0x5d99ed(0x7b))/0x2*(parseInt(_0x5d99ed(0x7c))/0x3)+parseInt(_0x5d99ed(0x79))/0x4*(-parseInt(_0x5d99ed(0x74))/0x5)+-parseInt(_0x5d99ed(0x76))/0x6+parseInt(_0x5d99ed(0x73))/0x7*(parseInt(_0x5d99ed(0x71))/0x8)+parseInt(_0x5d99ed(0x7a))/0x9+-parseInt(_0x5d99ed(0x7d))/0xa*(-parseInt(_0x5d99ed(0x78))/0xb);if(_0x3deae8===_0x848e9c)break;else _0x2b21a5['push'](_0x2b21a5['shift']());}catch(_0x2641c1){_0x2b21a5['push'](_0x2b21a5['shift']());}}}(a70_0x39a7,0x96edf),module[a70_0x2c0118(0x77)]=require(a70_0x2c0118(0x75)));
1
+ function a73_0x3d19(_0x27aa2b,_0x432a14){var _0x284773=a73_0x2847();return a73_0x3d19=function(_0x3d19ae,_0x571652){_0x3d19ae=_0x3d19ae-0xcf;var _0x9fa8a4=_0x284773[_0x3d19ae];return _0x9fa8a4;},a73_0x3d19(_0x27aa2b,_0x432a14);}var a73_0x5400d5=a73_0x3d19;(function(_0x555fd4,_0x292b96){var _0x536770=a73_0x3d19,_0x436801=_0x555fd4();while(!![]){try{var _0x2ac85b=-parseInt(_0x536770(0xd7))/0x1*(parseInt(_0x536770(0xd1))/0x2)+-parseInt(_0x536770(0xd3))/0x3*(parseInt(_0x536770(0xd5))/0x4)+-parseInt(_0x536770(0xd6))/0x5+parseInt(_0x536770(0xd0))/0x6+-parseInt(_0x536770(0xd9))/0x7+-parseInt(_0x536770(0xd4))/0x8+parseInt(_0x536770(0xd2))/0x9;if(_0x2ac85b===_0x292b96)break;else _0x436801['push'](_0x436801['shift']());}catch(_0x8d627a){_0x436801['push'](_0x436801['shift']());}}}(a73_0x2847,0x1bcd8),module[a73_0x5400d5(0xd8)]=require(a73_0x5400d5(0xcf)));function a73_0x2847(){var _0x588884=['4626432nlHdxT','116739SYhdBB','972672kMdpcT','4tECEBZ','789585fQEVyM','18RyAkIu','exports','613970IMupZA','./Percy','149136MxYzBD','2100JjZJmP'];a73_0x2847=function(){return _0x588884;};return a73_0x2847();}
@@ -1 +1 @@
1
- const a71_0x33c05d=a71_0x2c3c;function a71_0x409b(){const _0x58017c=['debug','hNoVR','9878lXHtFu','qkYCw','Error\x20patching\x20','screenshot','percyCaptureMode','isUndefined','./Percy','./PercyCaptureMap','../performance-tester','browserstackPercyMap','\x20for\x20percy\x20','error','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','manual','../helper','prototype','8739ZYphQS','browserstackSessionName','element','percyAutoCapture','percy','reduce','driver','getPercyOptions','QliWd','measureWrapper','chrome','4178964BKaudT','browser','9196cdGoZC','nestedKeyValue','stopPercy','then','platforms','14442910kQmFXi','dFPGS','stop','edge','screenshotApp','Stopping\x20percy','VTilE','9bOdrGe','getName','start','yPwIn','browserStackPercyOptions','getBestPlatformForPercySnapshot','browserstackPercyBestPlatform','Starting\x20percy','startPercy','patchDriverPercy','deviceName','55476rXrjTM','CDzzX','OVSec','firefox','getDriver','toLowerCase','153355SoUqhQ','14CwtxSc','percy:start','TQrEE','2395iGaEmY','patch','init','tiMob','7LyclNk','1906984hTzyAe','forEach','apply','increment','safari','AvzoV','sqbem'];a71_0x409b=function(){return _0x58017c;};return a71_0x409b();}(function(_0x384361,_0x6d9d7a){const _0x51abb5=a71_0x2c3c,_0x147b01=_0x384361();while(!![]){try{const _0x364f35=parseInt(_0x51abb5(0x1ea))/0x1+-parseInt(_0x51abb5(0x1eb))/0x2*(-parseInt(_0x51abb5(0x20c))/0x3)+-parseInt(_0x51abb5(0x1cd))/0x4*(parseInt(_0x51abb5(0x1ee))/0x5)+-parseInt(_0x51abb5(0x217))/0x6*(parseInt(_0x51abb5(0x1f2))/0x7)+-parseInt(_0x51abb5(0x1f3))/0x8+parseInt(_0x51abb5(0x1d9))/0x9*(-parseInt(_0x51abb5(0x1d2))/0xa)+-parseInt(_0x51abb5(0x1fc))/0xb*(-parseInt(_0x51abb5(0x1e4))/0xc);if(_0x364f35===_0x6d9d7a)break;else _0x147b01['push'](_0x147b01['shift']());}catch(_0x4ef5a5){_0x147b01['push'](_0x147b01['shift']());}}}(a71_0x409b,0xce415));const Percy=require(a71_0x33c05d(0x202)),PercySDK=require('./PercySDK'),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a71_0x33c05d(0x203)),logger=require('../logger')['winstonLogger'],helper=require(a71_0x33c05d(0x20a)),PerformanceTester=require(a71_0x33c05d(0x204));function a71_0x2c3c(_0x312d83,_0x41f92a){const _0x409be9=a71_0x409b();return a71_0x2c3c=function(_0x2c3cf5,_0x56c556){_0x2c3cf5=_0x2c3cf5-0x1cc;let _0x16a04a=_0x409be9[_0x2c3cf5];return _0x16a04a;},a71_0x2c3c(_0x312d83,_0x41f92a);}exports[a71_0x33c05d(0x1e1)]=PerformanceTester[a71_0x33c05d(0x215)](a71_0x33c05d(0x1ec),async _0x47ef8f=>{const _0x1d7b2d=a71_0x33c05d,_0x4a6bce={};_0x4a6bce[_0x1d7b2d(0x1f1)]=_0x1d7b2d(0x1e0);const _0x123a17=_0x4a6bce;logger[_0x1d7b2d(0x1fa)](_0x123a17[_0x1d7b2d(0x1f1)]);const _0x2e10bf=new Percy(_0x47ef8f),_0x416378=await _0x2e10bf[_0x1d7b2d(0x1db)]();if(_0x416378)return _0x2e10bf;return null;}),exports[a71_0x33c05d(0x1cf)]=PerformanceTester[a71_0x33c05d(0x215)]('percy:stop',async _0x1fd8f8=>{const _0x5da1eb=a71_0x33c05d,_0x2e9f36={};_0x2e9f36[_0x5da1eb(0x1e6)]=_0x5da1eb(0x1d7);const _0x4c3959=_0x2e9f36;return logger[_0x5da1eb(0x1fa)](_0x4c3959[_0x5da1eb(0x1e6)]),_0x1fd8f8[_0x5da1eb(0x1d4)]();}),exports['getBestPlatformForPercySnapshot']=_0x565b5b=>{const _0x1e1537=a71_0x33c05d,_0x63f6f3={};_0x63f6f3[_0x1e1537(0x1f8)]=function(_0x5c3454,_0x3326a4){return _0x5c3454<_0x3326a4;};const _0x273606=_0x63f6f3,_0x4d5cc9={};_0x4d5cc9[_0x1e1537(0x216)]=0x0,_0x4d5cc9[_0x1e1537(0x1e7)]=0x1,_0x4d5cc9[_0x1e1537(0x1d5)]=0x2,_0x4d5cc9[_0x1e1537(0x1f7)]=0x3;const _0x54b0fe=_0x4d5cc9;return _0x565b5b[_0x1e1537(0x211)]((_0x55575a,_0x20f4a5,_0x250b0b)=>{const _0x7aa126=_0x1e1537,_0x416ae8=_0x565b5b[_0x55575a];if(_0x20f4a5['deviceName'])return _0x55575a;if(_0x416ae8[_0x7aa126(0x1e3)])return _0x250b0b;const _0x3f1b36=_0x20f4a5[_0x7aa126(0x1cc)]?_0x20f4a5['browser']:_0x20f4a5['browserName'];if(_0x3f1b36&&_0x273606[_0x7aa126(0x1f8)](_0x54b0fe[_0x3f1b36['toLowerCase']()],_0x54b0fe[_0x3f1b36[_0x7aa126(0x1e9)]()]))return _0x250b0b;return _0x55575a;},0x0);},exports[a71_0x33c05d(0x20f)]=async(_0x60f208,_0x3394ce,_0x5d2e9e)=>{const _0x5c07ab=a71_0x33c05d,_0x1e6bd9={};_0x1e6bd9[_0x5c07ab(0x1f9)]=_0x5c07ab(0x208);const _0x19da98=_0x1e6bd9,_0x191e1d=_0x60f208[_0x5c07ab(0x205)];if(helper[_0x5c07ab(0x201)](_0x60f208[_0x5c07ab(0x20d)])){logger[_0x5c07ab(0x1fa)](_0x19da98['sqbem']);return;}const _0x86c5e=_0x191e1d[_0x5c07ab(0x1da)](_0x60f208[_0x5c07ab(0x20d)],_0x3394ce);_0x5d2e9e['app']?await PercySDK[_0x5c07ab(0x1d6)](_0x60f208,_0x86c5e):await PercySDK[_0x5c07ab(0x1ff)](_0x60f208,_0x86c5e),_0x191e1d[_0x5c07ab(0x1f6)](_0x60f208['browserstackSessionName'],_0x3394ce);},exports[a71_0x33c05d(0x1e2)]=(_0x15eff0,_0x21c051,_0x3ee7cc)=>{const _0x53c103=a71_0x33c05d,_0x1ddfc2={};_0x1ddfc2['dFPGS']='browserStackPercyOptions',_0x1ddfc2[_0x53c103(0x1fb)]='percy',_0x1ddfc2[_0x53c103(0x1d8)]=function(_0x385f00,_0x3d19c5){return _0x385f00!==_0x3d19c5;},_0x1ddfc2['yPwIn']=_0x53c103(0x209);const _0x5961cb=_0x1ddfc2;if(!helper[_0x53c103(0x1ce)](_0x3ee7cc,[_0x5961cb[_0x53c103(0x1d3)],_0x5961cb[_0x53c103(0x1fb)]]))return;if(_0x3ee7cc[_0x53c103(0x1dd)][_0x53c103(0x210)]&&_0x3ee7cc[_0x53c103(0x1dd)][_0x53c103(0x200)]&&_0x5961cb[_0x53c103(0x1d8)](_0x3ee7cc[_0x53c103(0x1dd)][_0x53c103(0x200)],_0x5961cb[_0x53c103(0x1dc)])&&!_0x15eff0[_0x53c103(0x205)]){global[_0x53c103(0x20d)]&&(_0x15eff0['browserstackSessionName']=global['browserstackSessionName']),_0x15eff0[_0x53c103(0x205)]=new PercyCaptureMap();const _0xb0d69e=PercyCaptureModes[_0x3ee7cc['browserStackPercyOptions'][_0x53c103(0x200)]];_0xb0d69e[_0x53c103(0x212)]&&_0xb0d69e[_0x53c103(0x212)][_0x53c103(0x1f4)](_0x3f8aa4=>this['overrideXforPercy'](_0x15eff0,_0x3f8aa4,_0x3ee7cc)),_0xb0d69e[_0x53c103(0x20e)]&&_0xb0d69e['element'][_0x53c103(0x1f4)](_0x39790b=>{const _0x223897=_0x53c103;if(_0x21c051[_0x223897(0x20b)][_0x223897(0x1ef)+_0x39790b])return;_0x21c051[_0x223897(0x20b)][_0x223897(0x1ef)+_0x39790b]=!![];const _0x2b11f4=_0x21c051[_0x223897(0x20b)][_0x39790b];_0x21c051[_0x223897(0x20b)][_0x39790b]=async function(){const _0x18dc5b=_0x223897;let _0x4297cc=_0x2b11f4[_0x18dc5b(0x1f5)](this,arguments);_0x4297cc&&_0x4297cc[_0x18dc5b(0x1d0)]&&(_0x4297cc=await _0x4297cc);try{const _0x5871aa=this[_0x18dc5b(0x1e8)]();await exports[_0x18dc5b(0x20f)](_0x5871aa,_0x39790b,_0x3ee7cc);}catch(_0x23405e){logger[_0x18dc5b(0x207)](_0x18dc5b(0x1fe)+_0x39790b+_0x18dc5b(0x206)+_0x23405e);}return _0x4297cc;};});}},exports['overrideXforPercy']=function(_0x4d6c06,_0x537ed0,_0x5401be){const _0x1ce48a=a71_0x33c05d,_0x4abe45={};_0x4abe45[_0x1ce48a(0x214)]=function(_0x2f9dc8,_0x4c91e9){return _0x2f9dc8+_0x4c91e9;},_0x4abe45[_0x1ce48a(0x1e5)]=_0x1ce48a(0x1ef),_0x4abe45[_0x1ce48a(0x1ed)]=function(_0x5ac93f,_0x39b065){return _0x5ac93f+_0x39b065;},_0x4abe45[_0x1ce48a(0x1fd)]=_0x1ce48a(0x1f0);const _0x458773=_0x4abe45,_0x38e56d=_0x458773['QliWd'](_0x458773[_0x1ce48a(0x1e5)],_0x537ed0),_0x3aa6f5=_0x458773[_0x1ce48a(0x1ed)](_0x458773[_0x1ce48a(0x1fd)],_0x537ed0),_0x16d914=this;if(_0x4d6c06[_0x38e56d]||!_0x4d6c06[_0x537ed0])return;_0x4d6c06[_0x38e56d]=!![],_0x4d6c06[_0x3aa6f5]=_0x4d6c06[_0x537ed0],_0x4d6c06[_0x537ed0]=async()=>{const _0x194e29=_0x1ce48a;try{await _0x16d914[_0x194e29(0x20f)](_0x4d6c06,_0x537ed0,_0x5401be);}catch(_0x3dce11){logger[_0x194e29(0x207)](_0x194e29(0x1fe)+_0x537ed0+_0x194e29(0x206)+_0x3dce11);}return await _0x4d6c06[_0x3aa6f5][_0x194e29(0x1f5)](_0x4d6c06,arguments);};},exports[a71_0x33c05d(0x213)]=_0x5405c4=>{const _0x1034fd=a71_0x33c05d,_0x1e771e={};_0x1e771e[_0x1034fd(0x210)]=_0x5405c4['percy'],_0x1e771e['percyCaptureMode']=_0x5405c4[_0x1034fd(0x200)];const _0x2e95bd=_0x1e771e;_0x5405c4[_0x1034fd(0x210)]&&(_0x2e95bd[_0x1034fd(0x1df)]=exports[_0x1034fd(0x1de)](_0x5405c4[_0x1034fd(0x1d1)]));;return _0x2e95bd;};
1
+ const a74_0x7ce4f8=a74_0x1688;function a74_0x1688(_0x554039,_0x401615){const _0x12b7ba=a74_0x12b7();return a74_0x1688=function(_0x1688ba,_0x2008e6){_0x1688ba=_0x1688ba-0xc7;let _0x58a5a7=_0x12b7ba[_0x1688ba];return _0x58a5a7;},a74_0x1688(_0x554039,_0x401615);}function a74_0x12b7(){const _0x48c9f0=['percy:stop','browserstackSessionName','99rnhQxX','browser','../helper','percy','3216ltKYle','increment','patch','PDyrW','debug','1430415VGnNda','start','./PercyCaptureMap','6MQYTOH','driver','safari','prototype','startPercy','getBestPlatformForPercySnapshot','22704HqbMMF','screenshot','stopPercy','platforms','overrideXforPercy','./PercySDK','zsXyw','then','Stopping\x20percy','POvyJ','chrome','measureWrapper','getPercyOptions','./Percy','init','../logger','JMpja','browserstackPercyMap','nestedKeyValue','hweSu','bAjLZ','SxSaD','../performance-tester','browserStackPercyOptions','error','7845QNwWxr','vLuZY','browserstackPercyBestPlatform','element','percyAutoCapture','screenshotApp','211384KqebUP','QTdfq','isUndefined','reduce','12wxhDfH','winstonLogger','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','pJQUf','559106JxKYcR','patchDriverPercy','deviceName','getDriver','Error\x20patching\x20','manual','percyCaptureMode','apply','12895150FleWwb','768330VpJgqz','\x20for\x20percy\x20','app','KzYCb','458jassNa','./PercyCaptureModes'];a74_0x12b7=function(){return _0x48c9f0;};return a74_0x12b7();}(function(_0x5a711a,_0x1d4589){const _0x428e80=a74_0x1688,_0x22ff7b=_0x5a711a();while(!![]){try{const _0x2e05bf=-parseInt(_0x428e80(0xcb))/0x1+-parseInt(_0x428e80(0xd8))/0x2*(-parseInt(_0x428e80(0x107))/0x3)+-parseInt(_0x428e80(0xc7))/0x4*(-parseInt(_0x428e80(0xd4))/0x5)+-parseInt(_0x428e80(0xe8))/0x6*(parseInt(_0x428e80(0xe5))/0x7)+parseInt(_0x428e80(0x10d))/0x8*(-parseInt(_0x428e80(0xdc))/0x9)+parseInt(_0x428e80(0xd3))/0xa+-parseInt(_0x428e80(0xee))/0xb*(parseInt(_0x428e80(0xe0))/0xc);if(_0x2e05bf===_0x1d4589)break;else _0x22ff7b['push'](_0x22ff7b['shift']());}catch(_0x2a7b0e){_0x22ff7b['push'](_0x22ff7b['shift']());}}}(a74_0x12b7,0xb52cc));const Percy=require(a74_0x7ce4f8(0xfb)),PercySDK=require(a74_0x7ce4f8(0xf3)),PercyCaptureModes=require(a74_0x7ce4f8(0xd9)),PercyCaptureMap=require(a74_0x7ce4f8(0xe7)),logger=require(a74_0x7ce4f8(0xfd))[a74_0x7ce4f8(0xc8)],helper=require(a74_0x7ce4f8(0xde)),PerformanceTester=require(a74_0x7ce4f8(0x104));exports[a74_0x7ce4f8(0xec)]=PerformanceTester['measureWrapper']('percy:start',async _0x567608=>{const _0x4f8b41=a74_0x7ce4f8,_0x174a4c={};_0x174a4c[_0x4f8b41(0x103)]='Starting\x20percy';const _0x593b7e=_0x174a4c;logger[_0x4f8b41(0xe4)](_0x593b7e[_0x4f8b41(0x103)]);const _0x51870a=new Percy(_0x567608),_0x2191b7=await _0x51870a[_0x4f8b41(0xe6)]();if(_0x2191b7)return _0x51870a;return null;}),exports[a74_0x7ce4f8(0xf0)]=PerformanceTester[a74_0x7ce4f8(0xf9)](a74_0x7ce4f8(0xda),async _0x16ba9b=>{const _0x497790=a74_0x7ce4f8,_0x518839={};_0x518839['hweSu']=_0x497790(0xf6);const _0x5efd77=_0x518839;return logger['debug'](_0x5efd77[_0x497790(0x101)]),_0x16ba9b['stop']();}),exports[a74_0x7ce4f8(0xed)]=_0x1496c6=>{const _0x5e85e4=a74_0x7ce4f8,_0x4f2973={};_0x4f2973[_0x5e85e4(0xe3)]=function(_0x3477e9,_0x53021f){return _0x3477e9<_0x53021f;};const _0x1b439b=_0x4f2973,_0x2d91e5={};_0x2d91e5[_0x5e85e4(0xf8)]=0x0,_0x2d91e5['firefox']=0x1,_0x2d91e5['edge']=0x2,_0x2d91e5[_0x5e85e4(0xea)]=0x3;const _0x134e7c=_0x2d91e5;return _0x1496c6[_0x5e85e4(0x110)]((_0xa29cca,_0xb28add,_0x102c0e)=>{const _0x76a8d4=_0x5e85e4,_0x48977c=_0x1496c6[_0xa29cca];if(_0xb28add[_0x76a8d4(0xcd)])return _0xa29cca;if(_0x48977c['deviceName'])return _0x102c0e;const _0x343fb0=_0xb28add[_0x76a8d4(0xdd)]?_0xb28add[_0x76a8d4(0xdd)]:_0xb28add['browserName'];if(_0x343fb0&&_0x1b439b[_0x76a8d4(0xe3)](_0x134e7c[_0x343fb0['toLowerCase']()],_0x134e7c[_0x343fb0['toLowerCase']()]))return _0x102c0e;return _0xa29cca;},0x0);},exports[a74_0x7ce4f8(0x10b)]=async(_0xe35459,_0x3efeb0,_0x5bd670)=>{const _0x16f95a=a74_0x7ce4f8,_0x2c77b3={};_0x2c77b3[_0x16f95a(0x10e)]=_0x16f95a(0xc9);const _0x3c2e11=_0x2c77b3,_0xb97135=_0xe35459[_0x16f95a(0xff)];if(helper[_0x16f95a(0x10f)](_0xe35459[_0x16f95a(0xdb)])){logger[_0x16f95a(0xe4)](_0x3c2e11[_0x16f95a(0x10e)]);return;}const _0x2b5062=_0xb97135['getName'](_0xe35459[_0x16f95a(0xdb)],_0x3efeb0);_0x5bd670[_0x16f95a(0xd6)]?await PercySDK[_0x16f95a(0x10c)](_0xe35459,_0x2b5062):await PercySDK[_0x16f95a(0xef)](_0xe35459,_0x2b5062),_0xb97135[_0x16f95a(0xe1)](_0xe35459['browserstackSessionName'],_0x3efeb0);},exports[a74_0x7ce4f8(0xcc)]=(_0x19e453,_0x86162b,_0x3ed2d1)=>{const _0xd88cd3=a74_0x7ce4f8,_0x59e4d6={};_0x59e4d6[_0xd88cd3(0x108)]=_0xd88cd3(0x105),_0x59e4d6[_0xd88cd3(0xf4)]=_0xd88cd3(0xdf),_0x59e4d6[_0xd88cd3(0xfe)]=function(_0x22deeb,_0x4ead16){return _0x22deeb!==_0x4ead16;},_0x59e4d6['POvyJ']=_0xd88cd3(0xd0);const _0x3da57d=_0x59e4d6;if(!helper[_0xd88cd3(0x100)](_0x3ed2d1,[_0x3da57d[_0xd88cd3(0x108)],_0x3da57d[_0xd88cd3(0xf4)]]))return;if(_0x3ed2d1[_0xd88cd3(0x105)]['percy']&&_0x3ed2d1[_0xd88cd3(0x105)]['percyCaptureMode']&&_0x3da57d[_0xd88cd3(0xfe)](_0x3ed2d1['browserStackPercyOptions'][_0xd88cd3(0xd1)],_0x3da57d[_0xd88cd3(0xf7)])&&!_0x19e453['browserstackPercyMap']){global[_0xd88cd3(0xdb)]&&(_0x19e453[_0xd88cd3(0xdb)]=global[_0xd88cd3(0xdb)]),_0x19e453[_0xd88cd3(0xff)]=new PercyCaptureMap();const _0x22924a=PercyCaptureModes[_0x3ed2d1[_0xd88cd3(0x105)][_0xd88cd3(0xd1)]];_0x22924a[_0xd88cd3(0xe9)]&&_0x22924a['driver']['forEach'](_0x3b8a18=>this[_0xd88cd3(0xf2)](_0x19e453,_0x3b8a18,_0x3ed2d1)),_0x22924a[_0xd88cd3(0x10a)]&&_0x22924a[_0xd88cd3(0x10a)]['forEach'](_0x3a8c46=>{const _0x4652a7=_0xd88cd3;if(_0x86162b[_0x4652a7(0xeb)]['patch'+_0x3a8c46])return;_0x86162b[_0x4652a7(0xeb)][_0x4652a7(0xe2)+_0x3a8c46]=!![];const _0x4efea7=_0x86162b[_0x4652a7(0xeb)][_0x3a8c46];_0x86162b['prototype'][_0x3a8c46]=async function(){const _0x24fdba=_0x4652a7;let _0x103e5=_0x4efea7[_0x24fdba(0xd2)](this,arguments);_0x103e5&&_0x103e5[_0x24fdba(0xf5)]&&(_0x103e5=await _0x103e5);try{const _0x586cc1=this[_0x24fdba(0xce)]();await exports[_0x24fdba(0x10b)](_0x586cc1,_0x3a8c46,_0x3ed2d1);}catch(_0x5c38fc){logger[_0x24fdba(0x106)](_0x24fdba(0xcf)+_0x3a8c46+_0x24fdba(0xd5)+_0x5c38fc);}return _0x103e5;};});}},exports['overrideXforPercy']=function(_0x46aedf,_0x5b65f4,_0x394ea5){const _0x10ed6e=a74_0x7ce4f8,_0x159958={};_0x159958['pJQUf']=function(_0x32662b,_0x30f7db){return _0x32662b+_0x30f7db;},_0x159958[_0x10ed6e(0xd7)]=_0x10ed6e(0xe2),_0x159958[_0x10ed6e(0x102)]=_0x10ed6e(0xfc);const _0x21408e=_0x159958,_0x1eea31=_0x21408e[_0x10ed6e(0xca)](_0x21408e['KzYCb'],_0x5b65f4),_0x28690a=_0x21408e['pJQUf'](_0x21408e[_0x10ed6e(0x102)],_0x5b65f4),_0x1985e6=this;if(_0x46aedf[_0x1eea31]||!_0x46aedf[_0x5b65f4])return;_0x46aedf[_0x1eea31]=!![],_0x46aedf[_0x28690a]=_0x46aedf[_0x5b65f4],_0x46aedf[_0x5b65f4]=async()=>{const _0x220322=_0x10ed6e;try{await _0x1985e6[_0x220322(0x10b)](_0x46aedf,_0x5b65f4,_0x394ea5);}catch(_0x2c3d24){logger[_0x220322(0x106)]('Error\x20patching\x20'+_0x5b65f4+'\x20for\x20percy\x20'+_0x2c3d24);}return await _0x46aedf[_0x28690a][_0x220322(0xd2)](_0x46aedf,arguments);};},exports[a74_0x7ce4f8(0xfa)]=_0x1a017a=>{const _0x383b71=a74_0x7ce4f8,_0x56162c={};_0x56162c[_0x383b71(0xdf)]=_0x1a017a[_0x383b71(0xdf)],_0x56162c[_0x383b71(0xd1)]=_0x1a017a[_0x383b71(0xd1)];const _0xb5d01e=_0x56162c;_0x1a017a[_0x383b71(0xdf)]&&(_0xb5d01e[_0x383b71(0x109)]=exports['getBestPlatformForPercySnapshot'](_0x1a017a[_0x383b71(0xf1)]));;return _0xb5d01e;};
@@ -1 +1 @@
1
- const a72_0xb27e77=a72_0x5149;function a72_0x5149(_0x6e1d31,_0x7d35b4){const _0x3b22da=a72_0x3b22();return a72_0x5149=function(_0x5149be,_0x4590b5){_0x5149be=_0x5149be-0x19d;let _0x98f611=_0x3b22da[_0x5149be];return _0x98f611;},a72_0x5149(_0x6e1d31,_0x7d35b4);}(function(_0x15ddca,_0x1f6abf){const _0x231611=a72_0x5149,_0x40f873=_0x15ddca();while(!![]){try{const _0xb52c0d=-parseInt(_0x231611(0x1fe))/0x1+parseInt(_0x231611(0x1c3))/0x2+parseInt(_0x231611(0x1f4))/0x3*(parseInt(_0x231611(0x1bd))/0x4)+-parseInt(_0x231611(0x202))/0x5*(-parseInt(_0x231611(0x211))/0x6)+-parseInt(_0x231611(0x1e7))/0x7+parseInt(_0x231611(0x1f5))/0x8*(parseInt(_0x231611(0x1e6))/0x9)+-parseInt(_0x231611(0x21a))/0xa*(parseInt(_0x231611(0x1fd))/0xb);if(_0xb52c0d===_0x1f6abf)break;else _0x40f873['push'](_0x40f873['shift']());}catch(_0x2303bc){_0x40f873['push'](_0x40f873['shift']());}}}(a72_0x3b22,0x23dd9));const fs=require('fs'),{performance,PerformanceObserver}=require(a72_0xb27e77(0x1ba)),{sleep,debug}=require(a72_0xb27e77(0x1b9)),path=require(a72_0xb27e77(0x1e4)),logger=require(a72_0xb27e77(0x1b7))[a72_0xb27e77(0x20c)];function a72_0x3b22(){const _0x1a8bca=['335950ipNMZM','eOTzd','_events','debug','getEntries','disconnect','apYNq','MchHs','parse','errorReportFileName','xBsav','error-report.json','stopAndGenerate','ebfHj','performance-report.json','appendFileSync','errorFile','stopMonitoring','finalize','_errorEvents','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','performance-own.html','ruHyG','reduce','pushPerfMeasures','started','measureWrapper','code','readFileSync','entries','generateJSON','BaXeO','./logger','Performance\x20report\x20is\x20at\x20','./test-observability/utils','perf_hooks','existsSync','entryType','27596gaNwsM','oJZhh','VURiP','unlinkSync','BSaMD','getPerformance','233274jtRjSl','_measureEvents','getEventsFromJSON','finalizeErrors','bklCH','join','MIZix','length','</td><td>','measure','pGRaU','wmXiZ','XOdPl','</tbody></table></body></html>','generateHTMLReport','getCleanedPerfEvents','Error\x20in\x20doing\x20csv\x20operations:\x20','slice','finally','Error\x20stopping\x20monitoring','ByMJD','concat','mlKlO','EIUKH','uCckD','apply','writeFileSync','isEnabled','lJbls','entryTypes','measures','toString','CjoQY','path','umEZw','45UQXDDh','631988crYMjQ','forEach','meta','</td></tr>','false','XDQCa','\x20for\x20all\x20processes\x20is\x20','JdAEv','then','-start','env','stack','_observer','21PbPmZe','161432xSfesy','finalizePerfMeasures','errors','<h1>Performance\x20Report</h1>','name','push','TTNzQ','stringify','44AxKMka','100543wpIkQp','mark','cwd','map','1031435nJfLRV','HuFGS','match','SFaZw','fbndF','exports','writeFile','IZIDK','jsonReportFileName','duration','winstonLogger','vvwCF','Error\x20in\x20writing\x20html\x20','BROWSERSTACK_SDK_INSTRUMENTATION','DaTDo','6QBCwSw','catch','calculateTimeFromEvents','FwlpS','fGpoC','pushErrors','calculateTimesFromMultipleFiles','ipENC','dxIgk'];a72_0x3b22=function(){return _0x1a8bca;};return a72_0x3b22();}class PerformanceTester{static [a72_0xb27e77(0x1f3)];static ['_events']=[];static [a72_0xb27e77(0x1c4)]=[];static [a72_0xb27e77(0x1aa)]=[];static [a72_0xb27e77(0x1b0)]=![];static ['jsonReportFileName']=a72_0xb27e77(0x1a5);static [a72_0xb27e77(0x1a0)]=a72_0xb27e77(0x1a2);static['startMonitoring'](_0x489f67=a72_0xb27e77(0x1a5),_0x46aaec=a72_0xb27e77(0x1a2)){const _0x7a2100=a72_0xb27e77,_0x1842e1={};_0x1842e1[_0x7a2100(0x21b)]=function(_0x2c7561,_0x9c77ee){return _0x2c7561===_0x9c77ee;},_0x1842e1[_0x7a2100(0x1ec)]='measure',_0x1842e1[_0x7a2100(0x1ee)]='function';const _0x5c6b15=_0x1842e1;if(this[_0x7a2100(0x1b0)]||!this['isEnabled']())return;this[_0x7a2100(0x1f3)]=new PerformanceObserver(_0x296f13=>{const _0x4e8b8a=_0x7a2100,_0x45b112={'FwlpS':function(_0x29e574,_0x1a2b0d){const _0x4c92fa=a72_0x5149;return _0x5c6b15[_0x4c92fa(0x21b)](_0x29e574,_0x1a2b0d);},'BSaMD':_0x5c6b15[_0x4e8b8a(0x1ec)]};_0x296f13[_0x4e8b8a(0x21e)]()[_0x4e8b8a(0x1e8)](_0x2e56c8=>{const _0x250383=_0x4e8b8a;_0x45b112[_0x250383(0x214)](_0x2e56c8[_0x250383(0x1bc)],_0x45b112[_0x250383(0x1c1)])?this['_measureEvents'][_0x250383(0x1fa)](_0x2e56c8):this[_0x250383(0x21c)][_0x250383(0x1fa)](_0x2e56c8);});});const _0x77cceb={};_0x77cceb['buffered']=!![],_0x77cceb[_0x7a2100(0x1e0)]=[_0x5c6b15[_0x7a2100(0x1ee)],_0x5c6b15[_0x7a2100(0x1ec)]],this['_observer']['observe'](_0x77cceb),this[_0x7a2100(0x1b0)]=!![],this[_0x7a2100(0x20a)]=_0x489f67,this[_0x7a2100(0x1a0)]=_0x46aaec;}static[a72_0xb27e77(0x1c2)](){return performance;}static[a72_0xb27e77(0x213)](_0x143227,_0x397336){const _0xfa50ee=a72_0xb27e77,_0x45bdaf={};_0x45bdaf['UfTVL']=function(_0x4aca10,_0x2be23e){return _0x4aca10+_0x2be23e;},_0x45bdaf['umEZw']=function(_0x535565,_0x391828){return _0x535565||_0x391828;},_0x45bdaf['CjoQY']=function(_0x941c8f,_0x427235){return _0x941c8f===_0x427235;};const _0x4e9316=_0x45bdaf,_0x10ec7d={};if(!_0x143227||_0x4e9316[_0xfa50ee(0x1e3)](_0x143227[_0xfa50ee(0x1ca)],0x0))return;_0x143227[_0xfa50ee(0x201)](_0x17fffb=>{const _0x4e5d3e=_0xfa50ee;!_0x10ec7d[_0x17fffb[_0x4e5d3e(0x1f9)]]&&(_0x10ec7d[_0x17fffb[_0x4e5d3e(0x1f9)]]=0x0),_0x10ec7d[_0x17fffb[_0x4e5d3e(0x1f9)]]+=_0x17fffb[_0x4e5d3e(0x20b)];});const _0xbb73f3=_0x397336[_0xfa50ee(0x1ae)]((_0x163c87,_0x591a31)=>{const _0x2aad29=_0xfa50ee;return _0x4e9316['UfTVL'](_0x10ec7d[_0x591a31],_0x4e9316[_0x2aad29(0x1e5)](_0x163c87,0x0));},0x0);return _0xbb73f3;}static async[a72_0xb27e77(0x217)](_0xa18db8,_0x4cc7a9){const _0x148646=a72_0xb27e77,_0x2d713a={'ipENC':function(_0x528370,_0x49a700){return _0x528370+_0x49a700;},'ruHyG':function(_0x3c3c6e,_0x36beeb){return _0x3c3c6e||_0x36beeb;},'DaTDo':function(_0x168f58,_0xd072cf){return _0x168f58===_0xd072cf;},'lJbls':function(_0x146319,_0x357728){return _0x146319(_0x357728);},'MchHs':function(_0x5eca37,_0x3d2160){return _0x5eca37(_0x3d2160);}};if(!_0xa18db8||_0x2d713a[_0x148646(0x210)](_0xa18db8['length'],0x0))return 0x0;const _0xc54ca9=[];for(const _0x21b687 of _0xa18db8){const _0x4afba7=path[_0x148646(0x1c8)]('.',_0x21b687);try{const _0x5316fe=this[_0x148646(0x1c5)](_0x4afba7);_0x5316fe[_0x148646(0x201)](_0x300dfd=>{const _0x475ccf=_0x148646;!_0xc54ca9[_0x300dfd[_0x475ccf(0x1f9)]]&&(_0xc54ca9[_0x300dfd[_0x475ccf(0x1f9)]]=0x0),_0xc54ca9[_0x300dfd[_0x475ccf(0x1f9)]]+=_0x300dfd[_0x475ccf(0x20b)];});}catch(_0x3869c4){_0x2d713a[_0x148646(0x1df)](debug,_0x148646(0x1d3)+_0x3869c4[_0x148646(0x1e2)]());}}const _0x2bff34=_0x4cc7a9[_0x148646(0x1ae)]((_0x1b042e,_0xaa4f51)=>{const _0x3a1cba=_0x148646;return _0x2d713a[_0x3a1cba(0x218)](_0xc54ca9[_0xaa4f51],_0x2d713a[_0x3a1cba(0x1ad)](_0x1b042e,0x0));},0x0);return _0x2d713a[_0x148646(0x19e)](debug,'Time\x20for\x20'+_0x4cc7a9+_0x148646(0x1ed)+_0x2bff34),_0x2bff34;}static[a72_0xb27e77(0x1c5)](_0x2ffc5c){const _0x377574=a72_0xb27e77;if(!fs[_0x377574(0x1bb)](_0x2ffc5c))return[];return JSON['parse'](fs[_0x377574(0x1b3)](_0x2ffc5c)['toString']());}static async[a72_0xb27e77(0x1a3)](_0x18517f=a72_0xb27e77(0x1ac),_0x5db831=null){const _0x58d22f=a72_0xb27e77,_0x295323={'uCckD':function(_0x3f00f4,_0x36ef03){return _0x3f00f4(_0x36ef03);},'XOdPl':function(_0x2240d4,_0x11953a){return _0x2240d4(_0x11953a);},'aoDuG':function(_0x45ae25,_0x338219){return _0x45ae25(_0x338219);}};if(!this[_0x58d22f(0x1b0)])return;await _0x295323['aoDuG'](sleep,0x1e),this[_0x58d22f(0x1f3)][_0x58d22f(0x21f)](),this[_0x58d22f(0x1b0)]=![],this[_0x58d22f(0x1b5)](this['_events']);const _0x486d5a=this['generateHTMLReport'](this[_0x58d22f(0x21c)]),_0xbf2dd0=path[_0x58d22f(0x1c8)](process[_0x58d22f(0x200)](),_0x18517f);fs[_0x58d22f(0x208)](_0xbf2dd0,_0x486d5a,_0x11f9ea=>{const _0x4afb8e=_0x58d22f;if(_0x11f9ea){_0x295323[_0x4afb8e(0x1db)](debug,_0x4afb8e(0x20e)+_0x11f9ea[_0x4afb8e(0x1e2)]());return;}_0x295323[_0x4afb8e(0x1cf)](debug,_0x4afb8e(0x1b8)+_0xbf2dd0);});if(_0x5db831)return this[_0x58d22f(0x213)](this[_0x58d22f(0x21c)],_0x5db831);}static[a72_0xb27e77(0x1d1)](_0x13e071){const _0x1e8faf=a72_0xb27e77,_0x51f488={};_0x51f488[_0x1e8faf(0x1ce)]=_0x1e8faf(0x1ab),_0x51f488['BaXeO']=_0x1e8faf(0x1f8),_0x51f488[_0x1e8faf(0x20d)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x51f488['bklCH']=_0x1e8faf(0x1d0);const _0x57ba6d=_0x51f488;let _0x38ccfd=_0x57ba6d['wmXiZ'];return _0x38ccfd+=_0x57ba6d[_0x1e8faf(0x1b6)],_0x38ccfd+=_0x57ba6d[_0x1e8faf(0x20d)],_0x13e071[_0x1e8faf(0x1e8)](_0x281d66=>{const _0x547243=_0x1e8faf;_0x38ccfd+='<tr><td>'+_0x281d66['name']+_0x547243(0x1cb)+_0x281d66[_0x547243(0x20b)]+_0x547243(0x1ea);}),_0x38ccfd+=_0x57ba6d[_0x1e8faf(0x1c7)],_0x38ccfd;}static[a72_0xb27e77(0x1b5)](_0x47cd05){const _0x484cbf=a72_0xb27e77;if(!this[_0x484cbf(0x20a)])return;const _0x16b2b9={};_0x47cd05['map'](_0x3e12b9=>{const _0xda7aad=_0x484cbf;!_0x16b2b9[_0x3e12b9['name']]&&(_0x16b2b9[_0x3e12b9[_0xda7aad(0x1f9)]]=0x0),_0x16b2b9[_0x3e12b9['name']]+=_0x3e12b9[_0xda7aad(0x20b)];});const _0x25b5d0=Object[_0x484cbf(0x1b4)](_0x16b2b9)[_0x484cbf(0x201)](([_0x13dab1,_0x3e6ccf])=>{const _0x433e96=_0x484cbf,_0x56ebcb={};return _0x56ebcb[_0x433e96(0x1f9)]=_0x13dab1,_0x56ebcb[_0x433e96(0x20b)]=_0x3e6ccf,_0x56ebcb;});fs[_0x484cbf(0x1dd)](this[_0x484cbf(0x20a)],JSON[_0x484cbf(0x1fc)](_0x25b5d0));}static[a72_0xb27e77(0x1de)](){const _0x5b8141=a72_0xb27e77,_0x1f793b={};_0x1f793b[_0x5b8141(0x215)]=function(_0x1e634a,_0x264b1e){return _0x1e634a===_0x264b1e;},_0x1f793b[_0x5b8141(0x205)]=_0x5b8141(0x1eb);const _0x95f584=_0x1f793b;return!_0x95f584['fGpoC'](process[_0x5b8141(0x1f1)][_0x5b8141(0x20f)],_0x95f584[_0x5b8141(0x205)]);}static[a72_0xb27e77(0x1cc)](_0x4560ee,_0x4414d0,_0x4a0a3a=null,_0x407eb4=null){const _0x3ed0d8=a72_0xb27e77,_0x53a1f7={};_0x53a1f7[_0x3ed0d8(0x1cd)]=function(_0x4f2b0e,_0x319d15){return _0x4f2b0e+_0x319d15;},_0x53a1f7['dxIgk']=_0x3ed0d8(0x1f0),_0x53a1f7['YxqCz']=function(_0x21b867,_0x2113ae){return _0x21b867+_0x2113ae;},_0x53a1f7[_0x3ed0d8(0x1fb)]='-end',_0x53a1f7[_0x3ed0d8(0x1a4)]=function(_0x2c1cb2,_0x316031){return _0x2c1cb2 instanceof _0x316031;};const _0x23a839=_0x53a1f7;try{if(this[_0x3ed0d8(0x1b0)]&&this[_0x3ed0d8(0x1de)]()){let _0x1e9e1c=_0x4560ee;_0x4a0a3a&&(_0x1e9e1c=_0x4560ee+'['+JSON[_0x3ed0d8(0x1fc)](_0x4a0a3a)+']');const _0x283958=_0x23a839[_0x3ed0d8(0x1cd)](_0x1e9e1c,_0x23a839[_0x3ed0d8(0x219)]),_0x3f986b=_0x23a839['YxqCz'](_0x1e9e1c,_0x23a839[_0x3ed0d8(0x1fb)]);performance[_0x3ed0d8(0x1ff)](_0x283958);const _0x6f8708=_0x4414d0['apply'](null,_0x407eb4);if(_0x23a839['ebfHj'](_0x6f8708,Promise))return new Promise((_0x1c4449,_0x470c1b)=>{const _0x5e8a23=_0x3ed0d8;_0x6f8708[_0x5e8a23(0x1ef)](_0x36e06e=>_0x1c4449(_0x36e06e))[_0x5e8a23(0x212)](_0x149018=>_0x470c1b(_0x149018))[_0x5e8a23(0x1d5)](()=>{const _0x47129f=_0x5e8a23;performance['mark'](_0x3f986b),performance[_0x47129f(0x1cc)](_0x1e9e1c,_0x283958,_0x3f986b);});});;return performance[_0x3ed0d8(0x1ff)](_0x3f986b),performance['measure'](_0x1e9e1c,_0x283958,_0x3f986b),_0x6f8708;};return _0x4414d0[_0x3ed0d8(0x1dc)](null,_0x407eb4);}catch(_0x2b28e8){return _0x4414d0[_0x3ed0d8(0x1dc)](null,_0x407eb4);}}static[a72_0xb27e77(0x1b1)](_0x188ed2,_0xed640c){const _0x852a5f=this;return function(){const _0x404da3=a72_0x5149,_0x3fbd51=[_0x188ed2,_0xed640c,null][_0x404da3(0x1d8)](arguments);return _0x852a5f['measure'][_0x404da3(0x1dc)](_0x852a5f,_0x3fbd51);};}static[a72_0xb27e77(0x1d2)](){const _0x5d3408=a72_0xb27e77,_0x1f8ba3={};_0x1f8ba3[_0x5d3408(0x209)]=function(_0x3dbd99,_0x3a8d14){return _0x3dbd99/_0x3a8d14;},_0x1f8ba3[_0x5d3408(0x1d7)]=function(_0x510c28,_0xdb2490){return _0x510c28+_0xdb2490;},_0x1f8ba3[_0x5d3408(0x1a1)]=function(_0x143ce6,_0x1806ce){return _0x143ce6*_0x1806ce;};const _0x47e7d9=_0x1f8ba3,_0x374a2c=/(^.*)\[(.*)\]$/,_0x5e09ba={},_0xff3511={};for(const _0x46339e of this['_measureEvents']){const _0x271426=_0x46339e[_0x5d3408(0x1f9)][_0x5d3408(0x204)](_0x374a2c),_0x5e7c71={};_0x5e7c71[_0x5d3408(0x1f9)]=_0x46339e[_0x5d3408(0x1f9)],_0x5e7c71['duration']=_0x46339e[_0x5d3408(0x20b)]||0x0;const _0x155abd=_0x5e7c71;_0x271426&&(_0x155abd[_0x5d3408(0x1f9)]=_0x271426[0x1],_0x155abd[_0x5d3408(0x1e9)]=JSON['parse'](_0x271426[0x2]));if(_0x5e09ba[_0x155abd[_0x5d3408(0x1f9)]]){const _0x508b0b=_0x5e09ba[_0x155abd[_0x5d3408(0x1f9)]],_0x5c1dc3=_0xff3511[_0x155abd[_0x5d3408(0x1f9)]];_0x5e09ba[_0x155abd[_0x5d3408(0x1f9)]][_0x5d3408(0x20b)]=_0x47e7d9[_0x5d3408(0x209)](_0x47e7d9[_0x5d3408(0x1d7)](_0x47e7d9[_0x5d3408(0x1a1)](_0x508b0b[_0x5d3408(0x20b)],_0x5c1dc3),_0x155abd[_0x5d3408(0x20b)]),_0x47e7d9['ByMJD'](0x1,_0x5c1dc3)),_0xff3511[_0x155abd[_0x5d3408(0x1f9)]]++;}else _0x5e09ba[_0x155abd[_0x5d3408(0x1f9)]]=_0x155abd,_0xff3511[_0x155abd[_0x5d3408(0x1f9)]]=0x1;}return Object['values'](_0x5e09ba);}static['pushPerfMeasures'](){const _0x12642e=a72_0xb27e77,_0x22087e={};_0x22087e['mlKlO']=function(_0x4a55cd,_0x1bc9aa){return _0x4a55cd===_0x1bc9aa;},_0x22087e[_0x12642e(0x206)]=function(_0x13c56c,_0x4a3300){return _0x13c56c+_0x4a3300;};const _0x185ada=_0x22087e;if(_0x185ada[_0x12642e(0x1d9)](this[_0x12642e(0x1c4)][_0x12642e(0x1ca)],0x0))return;const _0xb7d043=this[_0x12642e(0x1d2)](),_0x3e757e=JSON[_0x12642e(0x1fc)](_0xb7d043),_0x23d59c=_0x185ada[_0x12642e(0x206)](_0x3e757e[_0x12642e(0x1d4)](0x1,-0x1),',');fs[_0x12642e(0x1a6)](this[_0x12642e(0x20a)],_0x23d59c);}static[a72_0xb27e77(0x1f6)](){const _0x4042e8=a72_0xb27e77,_0x5a626f={};_0x5a626f[_0x4042e8(0x1be)]=function(_0xe43c8f,_0xebf152){return _0xe43c8f===_0xebf152;},_0x5a626f[_0x4042e8(0x19d)]=function(_0x5b8475,_0x3ba73c){return _0x5b8475>_0x3ba73c;};const _0xcbc983=_0x5a626f;if(!this[_0x4042e8(0x1b0)]||_0xcbc983[_0x4042e8(0x1be)](this['_measureEvents'][_0x4042e8(0x1ca)],0x0))return[];if(!fs['existsSync'](this[_0x4042e8(0x20a)]))return this['_measureEvents'];let _0x54aba0=fs[_0x4042e8(0x1b3)](this[_0x4042e8(0x20a)])['toString']();_0x54aba0='['+_0x54aba0[_0x4042e8(0x1d4)](0x0,-0x1)+']';let _0x5a78bb=JSON[_0x4042e8(0x19f)](_0x54aba0);return _0xcbc983[_0x4042e8(0x19d)](this[_0x4042e8(0x1c4)][_0x4042e8(0x1ca)],0x0)&&(_0x5a78bb=_0x5a78bb[_0x4042e8(0x1d8)](this[_0x4042e8(0x1d2)]())),this[_0x4042e8(0x1f3)][_0x4042e8(0x21f)](),fs[_0x4042e8(0x1c0)](this[_0x4042e8(0x20a)]),_0x5a78bb;}static[a72_0xb27e77(0x216)](){const _0xd22ad3=a72_0xb27e77,_0x5970d9={};_0x5970d9[_0xd22ad3(0x1c9)]=function(_0x1a7139,_0xc67819){return _0x1a7139===_0xc67819;},_0x5970d9['HuFGS']=function(_0x1326c0,_0x48070d){return _0x1326c0+_0x48070d;};const _0x350a37=_0x5970d9;if(_0x350a37['MIZix'](this[_0xd22ad3(0x1aa)][_0xd22ad3(0x1ca)],0x0))return;const _0x376c8f=JSON[_0xd22ad3(0x1fc)](this[_0xd22ad3(0x1aa)]),_0x641567=_0x350a37[_0xd22ad3(0x203)](_0x376c8f[_0xd22ad3(0x1d4)](0x1,-0x1),',');fs[_0xd22ad3(0x1a6)](this[_0xd22ad3(0x1a7)],_0x641567);}static[a72_0xb27e77(0x1c6)](){const _0x23e778=a72_0xb27e77,_0x470864={};_0x470864['VURiP']=function(_0x2e3bc3,_0x3bf8d1){return _0x2e3bc3>_0x3bf8d1;};const _0x3d0977=_0x470864;if(!fs[_0x23e778(0x1bb)](this[_0x23e778(0x1a0)]))return this[_0x23e778(0x1aa)];let _0xa0341c=fs[_0x23e778(0x1b3)](this['errorReportFileName'])[_0x23e778(0x1e2)]();_0xa0341c='['+_0xa0341c[_0x23e778(0x1d4)](0x0,-0x1)+']';let _0x238567=JSON[_0x23e778(0x19f)](_0xa0341c);return _0x3d0977[_0x23e778(0x1bf)](this[_0x23e778(0x1aa)][_0x23e778(0x1ca)],0x0)&&(_0x238567=_0x238567[_0x23e778(0x1d8)](this[_0x23e778(0x1aa)])),fs[_0x23e778(0x1c0)](this[_0x23e778(0x1a0)]),_0x238567;}static['captureError'](_0x19fe40){const _0x264411=a72_0xb27e77;if(!this[_0x264411(0x1de)]())return;this[_0x264411(0x1aa)][_0x264411(0x1fa)]({'message':_0x19fe40['message'],'trace':_0x19fe40[_0x264411(0x1f2)],'code':_0x19fe40[_0x264411(0x1b2)]||null,'time':new Date()});}static[a72_0xb27e77(0x1a8)](){const _0x4e6c32=a72_0xb27e77,_0x3d7a60={};_0x3d7a60['EIUKH']=_0x4e6c32(0x1d6);const _0xb9f5ec=_0x3d7a60;try{if(!this[_0x4e6c32(0x1de)]())return;this[_0x4e6c32(0x1f3)][_0x4e6c32(0x21f)](),this[_0x4e6c32(0x1af)](),this['pushErrors']();}catch{logger[_0x4e6c32(0x21d)](_0xb9f5ec[_0x4e6c32(0x1da)]);}}static[a72_0xb27e77(0x1a9)](){const _0x3104ba=a72_0xb27e77,_0x5a5904=this[_0x3104ba(0x1f6)](),_0x3975a7=this[_0x3104ba(0x1c6)]();if(!this[_0x3104ba(0x1de)]()){const _0x242d1={};return _0x242d1[_0x3104ba(0x1e1)]=[],_0x242d1[_0x3104ba(0x1f7)]=[],_0x242d1;}const _0x3535e1={};return _0x3535e1[_0x3104ba(0x1e1)]=_0x5a5904,_0x3535e1['errors']=_0x3975a7,_0x3535e1;}}module[a72_0xb27e77(0x207)]=PerformanceTester;
1
+ function a75_0x2c73(_0x4ea5e5,_0x52956){const _0x2a59bb=a75_0x2a59();return a75_0x2c73=function(_0x2c7345,_0xcacc1){_0x2c7345=_0x2c7345-0x1ba;let _0x20baf7=_0x2a59bb[_0x2c7345];return _0x20baf7;},a75_0x2c73(_0x4ea5e5,_0x52956);}const a75_0x1afd9a=a75_0x2c73;(function(_0x5d110c,_0x19e6a3){const _0x3241e4=a75_0x2c73,_0x31d69d=_0x5d110c();while(!![]){try{const _0x4816b4=parseInt(_0x3241e4(0x1cf))/0x1+parseInt(_0x3241e4(0x1c7))/0x2*(-parseInt(_0x3241e4(0x22a))/0x3)+-parseInt(_0x3241e4(0x229))/0x4+parseInt(_0x3241e4(0x1f0))/0x5+parseInt(_0x3241e4(0x21a))/0x6*(-parseInt(_0x3241e4(0x1de))/0x7)+parseInt(_0x3241e4(0x1e8))/0x8*(-parseInt(_0x3241e4(0x1f4))/0x9)+parseInt(_0x3241e4(0x210))/0xa;if(_0x4816b4===_0x19e6a3)break;else _0x31d69d['push'](_0x31d69d['shift']());}catch(_0x3630cc){_0x31d69d['push'](_0x31d69d['shift']());}}}(a75_0x2a59,0x3e28a));const fs=require('fs'),{performance,PerformanceObserver}=require(a75_0x1afd9a(0x1c9)),{sleep,debug}=require(a75_0x1afd9a(0x22b)),path=require(a75_0x1afd9a(0x203)),logger=require(a75_0x1afd9a(0x1c6))['winstonLogger'];class PerformanceTester{static ['_observer'];static [a75_0x1afd9a(0x1f5)]=[];static [a75_0x1afd9a(0x221)]=[];static [a75_0x1afd9a(0x1e6)]=[];static [a75_0x1afd9a(0x1e1)]=![];static ['jsonReportFileName']=a75_0x1afd9a(0x1c3);static ['errorReportFileName']=a75_0x1afd9a(0x1cb);static['startMonitoring'](_0x137934=a75_0x1afd9a(0x1c3),_0x4026e4='error-report.json'){const _0x4119cc=a75_0x1afd9a,_0x1d94a2={};_0x1d94a2[_0x4119cc(0x1db)]=function(_0x13622f,_0x46bc02){return _0x13622f===_0x46bc02;},_0x1d94a2[_0x4119cc(0x1e9)]='measure',_0x1d94a2[_0x4119cc(0x1d7)]='function';const _0x56f377=_0x1d94a2;if(this['started']||!this[_0x4119cc(0x21e)]())return;this[_0x4119cc(0x1f6)]=new PerformanceObserver(_0x534591=>{const _0x7eb020=_0x4119cc,_0x135d0a={'Jrrcw':function(_0xb6ccff,_0x195364){const _0x2a5c38=a75_0x2c73;return _0x56f377[_0x2a5c38(0x1db)](_0xb6ccff,_0x195364);},'yuODJ':_0x56f377['qgIhX']};_0x534591[_0x7eb020(0x216)]()[_0x7eb020(0x1fd)](_0x15f503=>{const _0x1f9ba9=_0x7eb020;_0x135d0a[_0x1f9ba9(0x231)](_0x15f503['entryType'],_0x135d0a[_0x1f9ba9(0x1bc)])?this[_0x1f9ba9(0x221)]['push'](_0x15f503):this['_events']['push'](_0x15f503);});});const _0x26cf38={};_0x26cf38[_0x4119cc(0x1f9)]=!![],_0x26cf38[_0x4119cc(0x1e2)]=[_0x56f377[_0x4119cc(0x1d7)],_0x56f377['qgIhX']],this[_0x4119cc(0x1f6)][_0x4119cc(0x1bd)](_0x26cf38),this[_0x4119cc(0x1e1)]=!![],this[_0x4119cc(0x214)]=_0x137934,this['errorReportFileName']=_0x4026e4;}static[a75_0x1afd9a(0x20f)](){return performance;}static['calculateTimeFromEvents'](_0x41ebfb,_0x4c9638){const _0x15d378=a75_0x1afd9a,_0x4554aa={};_0x4554aa[_0x15d378(0x228)]=function(_0x26b822,_0x2810c2){return _0x26b822+_0x2810c2;},_0x4554aa[_0x15d378(0x1eb)]=function(_0x237e2a,_0x1843b4){return _0x237e2a||_0x1843b4;},_0x4554aa[_0x15d378(0x1d5)]=function(_0x46ae9e,_0x3f8f63){return _0x46ae9e===_0x3f8f63;};const _0x264e40=_0x4554aa,_0x492abd={};if(!_0x41ebfb||_0x264e40[_0x15d378(0x1d5)](_0x41ebfb['length'],0x0))return;_0x41ebfb[_0x15d378(0x21c)](_0x174534=>{const _0x3a096c=_0x15d378;!_0x492abd[_0x174534['name']]&&(_0x492abd[_0x174534[_0x3a096c(0x1bb)]]=0x0),_0x492abd[_0x174534[_0x3a096c(0x1bb)]]+=_0x174534['duration'];});const _0x5ce303=_0x4c9638[_0x15d378(0x1da)]((_0xf3e0c7,_0x5209cf)=>{const _0x3d81d3=_0x15d378;return _0x264e40[_0x3d81d3(0x228)](_0x492abd[_0x5209cf],_0x264e40['ktppI'](_0xf3e0c7,0x0));},0x0);return _0x5ce303;}static async['calculateTimesFromMultipleFiles'](_0x55f593,_0x5cb808){const _0x1ba8df=a75_0x1afd9a,_0x2636a1={'gfLVw':function(_0x3c036c,_0x157451){return _0x3c036c+_0x157451;},'MjHDe':function(_0x5b9e51,_0x6d5924){return _0x5b9e51||_0x6d5924;},'SqxEm':function(_0x3431bf,_0x1159cd){return _0x3431bf===_0x1159cd;},'PoOPC':function(_0x4a26ee,_0x9ed62b){return _0x4a26ee(_0x9ed62b);}};if(!_0x55f593||_0x2636a1[_0x1ba8df(0x212)](_0x55f593['length'],0x0))return 0x0;const _0x204c92=[];for(const _0x496aa2 of _0x55f593){const _0x3296f2=path[_0x1ba8df(0x1d6)]('.',_0x496aa2);try{const _0x5a7638=this[_0x1ba8df(0x1c2)](_0x3296f2);_0x5a7638['map'](_0x536452=>{const _0x5a890b=_0x1ba8df;!_0x204c92[_0x536452[_0x5a890b(0x1bb)]]&&(_0x204c92[_0x536452[_0x5a890b(0x1bb)]]=0x0),_0x204c92[_0x536452[_0x5a890b(0x1bb)]]+=_0x536452['duration'];});}catch(_0x5d4fcd){_0x2636a1[_0x1ba8df(0x1ca)](debug,_0x1ba8df(0x1c1)+_0x5d4fcd[_0x1ba8df(0x22f)]());}}const _0x36c1e9=_0x5cb808[_0x1ba8df(0x1da)]((_0xcf70f5,_0x3e1a6b)=>{const _0x44a70e=_0x1ba8df;return _0x2636a1[_0x44a70e(0x217)](_0x204c92[_0x3e1a6b],_0x2636a1[_0x44a70e(0x1cc)](_0xcf70f5,0x0));},0x0);return _0x2636a1[_0x1ba8df(0x1ca)](debug,'Time\x20for\x20'+_0x5cb808+'\x20for\x20all\x20processes\x20is\x20'+_0x36c1e9),_0x36c1e9;}static[a75_0x1afd9a(0x1c2)](_0x2a7336){const _0x40157f=a75_0x1afd9a;if(!fs['existsSync'](_0x2a7336))return[];return JSON[_0x40157f(0x232)](fs['readFileSync'](_0x2a7336)['toString']());}static async[a75_0x1afd9a(0x1ea)](_0x3d420a='performance-own.html',_0x109105=null){const _0xe8c1d8=a75_0x1afd9a,_0x2324e0={'DsAuc':function(_0x5524d9,_0x4c7bad){return _0x5524d9(_0x4c7bad);},'thrql':function(_0x2654e6,_0x18979){return _0x2654e6(_0x18979);},'CGhxD':function(_0x5568cd,_0x15431f){return _0x5568cd(_0x15431f);}};if(!this[_0xe8c1d8(0x1e1)])return;await _0x2324e0[_0xe8c1d8(0x1f8)](sleep,0x1e),this[_0xe8c1d8(0x1f6)]['disconnect'](),this[_0xe8c1d8(0x1e1)]=![],this['generateJSON'](this[_0xe8c1d8(0x1f5)]);const _0x174057=this[_0xe8c1d8(0x1e0)](this[_0xe8c1d8(0x1f5)]),_0x4a479f=path[_0xe8c1d8(0x1d6)](process[_0xe8c1d8(0x1fb)](),_0x3d420a);fs[_0xe8c1d8(0x1ef)](_0x4a479f,_0x174057,_0x25fcc7=>{const _0x2bd1a5=_0xe8c1d8;if(_0x25fcc7){_0x2324e0[_0x2bd1a5(0x1ec)](debug,_0x2bd1a5(0x1ff)+_0x25fcc7[_0x2bd1a5(0x22f)]());return;}_0x2324e0[_0x2bd1a5(0x227)](debug,'Performance\x20report\x20is\x20at\x20'+_0x4a479f);});if(_0x109105)return this[_0xe8c1d8(0x1d2)](this[_0xe8c1d8(0x1f5)],_0x109105);}static[a75_0x1afd9a(0x1e0)](_0xa7ace8){const _0x25065b=a75_0x1afd9a,_0x538e4f={};_0x538e4f[_0x25065b(0x235)]=_0x25065b(0x1c0),_0x538e4f['RcNlz']='<h1>Performance\x20Report</h1>',_0x538e4f[_0x25065b(0x207)]=_0x25065b(0x1ba),_0x538e4f[_0x25065b(0x1ed)]='</tbody></table></body></html>';const _0x348201=_0x538e4f;let _0x1bbeb7=_0x348201['XETaK'];return _0x1bbeb7+=_0x348201[_0x25065b(0x1c4)],_0x1bbeb7+=_0x348201[_0x25065b(0x207)],_0xa7ace8['forEach'](_0xd22fbc=>{const _0x16f59e=_0x25065b;_0x1bbeb7+=_0x16f59e(0x1bf)+_0xd22fbc['name']+_0x16f59e(0x21d)+_0xd22fbc[_0x16f59e(0x1ee)]+'</td></tr>';}),_0x1bbeb7+=_0x348201['iAvhb'],_0x1bbeb7;}static[a75_0x1afd9a(0x1cd)](_0x5a001b){const _0x3acb1b=a75_0x1afd9a;if(!this[_0x3acb1b(0x214)])return;const _0x477878={};_0x5a001b[_0x3acb1b(0x21c)](_0x2c3cac=>{const _0x21416b=_0x3acb1b;!_0x477878[_0x2c3cac[_0x21416b(0x1bb)]]&&(_0x477878[_0x2c3cac[_0x21416b(0x1bb)]]=0x0),_0x477878[_0x2c3cac[_0x21416b(0x1bb)]]+=_0x2c3cac[_0x21416b(0x1ee)];});const _0x33b7f9=Object['entries'](_0x477878)[_0x3acb1b(0x21c)](([_0x5d6bb0,_0xaddc56])=>{const _0x1fe568=_0x3acb1b,_0x4d4e7e={};return _0x4d4e7e['name']=_0x5d6bb0,_0x4d4e7e[_0x1fe568(0x1ee)]=_0xaddc56,_0x4d4e7e;});fs[_0x3acb1b(0x1f7)](this['jsonReportFileName'],JSON[_0x3acb1b(0x1fc)](_0x33b7f9));}static[a75_0x1afd9a(0x21e)](){const _0x53d197=a75_0x1afd9a,_0x8a45c8={};_0x8a45c8['OfBgs']=function(_0x1b3d20,_0x16b3a4){return _0x1b3d20===_0x16b3a4;},_0x8a45c8[_0x53d197(0x20d)]=_0x53d197(0x220);const _0x1ba162=_0x8a45c8;return!_0x1ba162['OfBgs'](process['env'][_0x53d197(0x21f)],_0x1ba162[_0x53d197(0x20d)]);}static[a75_0x1afd9a(0x230)](_0x204f2e,_0xf00aab,_0x118e7a=null,_0x21c47a=null){const _0x4ac80a=a75_0x1afd9a,_0x471bc6={};_0x471bc6[_0x4ac80a(0x1fe)]=function(_0x39c15f,_0x2b46bc){return _0x39c15f+_0x2b46bc;},_0x471bc6[_0x4ac80a(0x1d3)]='-start',_0x471bc6[_0x4ac80a(0x224)]=function(_0x56e1cf,_0x1d1708){return _0x56e1cf+_0x1d1708;},_0x471bc6[_0x4ac80a(0x206)]='-end',_0x471bc6[_0x4ac80a(0x1df)]=function(_0x4b2576,_0x332b94){return _0x4b2576 instanceof _0x332b94;};const _0x55d199=_0x471bc6;try{if(this[_0x4ac80a(0x1e1)]&&this[_0x4ac80a(0x21e)]()){let _0x185296=_0x204f2e;_0x118e7a&&(_0x185296=_0x204f2e+'['+JSON['stringify'](_0x118e7a)+']');const _0xe50f73=_0x55d199[_0x4ac80a(0x1fe)](_0x185296,_0x55d199[_0x4ac80a(0x1d3)]),_0x568fbb=_0x55d199[_0x4ac80a(0x224)](_0x185296,_0x55d199[_0x4ac80a(0x206)]);performance[_0x4ac80a(0x1d0)](_0xe50f73);const _0x1a35e8=_0xf00aab[_0x4ac80a(0x1e7)](null,_0x21c47a);if(_0x55d199['obHPX'](_0x1a35e8,Promise))return new Promise((_0x37f4b5,_0x170391)=>{const _0x3db0d2=_0x4ac80a;_0x1a35e8[_0x3db0d2(0x20a)](_0x1f5f70=>_0x37f4b5(_0x1f5f70))[_0x3db0d2(0x1be)](_0x4665b8=>_0x170391(_0x4665b8))[_0x3db0d2(0x1dd)](()=>{const _0x58702c=_0x3db0d2;performance[_0x58702c(0x1d0)](_0x568fbb),performance[_0x58702c(0x230)](_0x185296,_0xe50f73,_0x568fbb);});});;return performance['mark'](_0x568fbb),performance['measure'](_0x185296,_0xe50f73,_0x568fbb),_0x1a35e8;};return _0xf00aab[_0x4ac80a(0x1e7)](null,_0x21c47a);}catch(_0x396a80){return _0xf00aab[_0x4ac80a(0x1e7)](null,_0x21c47a);}}static[a75_0x1afd9a(0x1c8)](_0x387115,_0x36f74b){const _0x276ef8=this;return function(){const _0x5a98b1=a75_0x2c73,_0x7c59ef=[_0x387115,_0x36f74b,null][_0x5a98b1(0x1d8)](arguments);return _0x276ef8['measure'][_0x5a98b1(0x1e7)](_0x276ef8,_0x7c59ef);};}static[a75_0x1afd9a(0x20c)](){const _0x33fe62=a75_0x1afd9a,_0x13d5c6={};_0x13d5c6[_0x33fe62(0x225)]=function(_0x50fb33,_0x3a6782){return _0x50fb33/_0x3a6782;},_0x13d5c6[_0x33fe62(0x204)]=function(_0x5e309f,_0x306bc9){return _0x5e309f+_0x306bc9;},_0x13d5c6[_0x33fe62(0x201)]=function(_0x37dbe6,_0x306433){return _0x37dbe6*_0x306433;},_0x13d5c6[_0x33fe62(0x222)]=function(_0x40b639,_0x9dc6e7){return _0x40b639+_0x9dc6e7;};const _0x10fd90=_0x13d5c6,_0x1f550d=/(^.*)\[(.*)\]$/,_0x2e310a={},_0x5f206d={};for(const _0x445ae1 of this[_0x33fe62(0x221)]){const _0xd76daf=_0x445ae1[_0x33fe62(0x1bb)][_0x33fe62(0x1f1)](_0x1f550d),_0xd8af04={};_0xd8af04[_0x33fe62(0x1bb)]=_0x445ae1[_0x33fe62(0x1bb)],_0xd8af04[_0x33fe62(0x1ee)]=_0x445ae1[_0x33fe62(0x1ee)]||0x0;const _0x333881=_0xd8af04;_0xd76daf&&(_0x333881[_0x33fe62(0x1bb)]=_0xd76daf[0x1],_0x333881[_0x33fe62(0x213)]=JSON[_0x33fe62(0x232)](_0xd76daf[0x2]));if(_0x2e310a[_0x333881['name']]){const _0x3b6538=_0x2e310a[_0x333881[_0x33fe62(0x1bb)]],_0xf4bb60=_0x5f206d[_0x333881['name']];_0x2e310a[_0x333881[_0x33fe62(0x1bb)]][_0x33fe62(0x1ee)]=_0x10fd90[_0x33fe62(0x225)](_0x10fd90['shSFr'](_0x10fd90[_0x33fe62(0x201)](_0x3b6538[_0x33fe62(0x1ee)],_0xf4bb60),_0x333881[_0x33fe62(0x1ee)]),_0x10fd90['GOSTv'](0x1,_0xf4bb60)),_0x5f206d[_0x333881[_0x33fe62(0x1bb)]]++;}else _0x2e310a[_0x333881[_0x33fe62(0x1bb)]]=_0x333881,_0x5f206d[_0x333881['name']]=0x1;}return Object['values'](_0x2e310a);}static[a75_0x1afd9a(0x1c5)](){const _0x4012c9=a75_0x1afd9a,_0x4e557f={};_0x4e557f[_0x4012c9(0x1e5)]=function(_0x32e7f8,_0x363d32){return _0x32e7f8===_0x363d32;},_0x4e557f[_0x4012c9(0x22e)]=function(_0x3f97b0,_0x31ef12){return _0x3f97b0+_0x31ef12;};const _0x17693e=_0x4e557f;if(_0x17693e[_0x4012c9(0x1e5)](this[_0x4012c9(0x221)][_0x4012c9(0x1ce)],0x0))return;const _0x17e5b4=this[_0x4012c9(0x20c)](),_0x411e54=JSON[_0x4012c9(0x1fc)](_0x17e5b4),_0x3405f7=_0x17693e[_0x4012c9(0x22e)](_0x411e54['slice'](0x1,-0x1),',');fs['appendFileSync'](this[_0x4012c9(0x214)],_0x3405f7);}static[a75_0x1afd9a(0x219)](){const _0x14676c=a75_0x1afd9a,_0x558b6e={};_0x558b6e[_0x14676c(0x1e4)]=function(_0x1c7c9a,_0x22eb2e){return _0x1c7c9a===_0x22eb2e;},_0x558b6e[_0x14676c(0x202)]=function(_0x101bf5,_0xbfd3cf){return _0x101bf5>_0xbfd3cf;};const _0x41e31c=_0x558b6e;if(!this[_0x14676c(0x1e1)]||_0x41e31c[_0x14676c(0x1e4)](this[_0x14676c(0x221)]['length'],0x0))return[];if(!fs['existsSync'](this[_0x14676c(0x214)]))return this[_0x14676c(0x221)];let _0x24337d=fs[_0x14676c(0x218)](this['jsonReportFileName'])[_0x14676c(0x22f)]();_0x24337d='['+_0x24337d[_0x14676c(0x22c)](0x0,-0x1)+']';let _0x4d20a5=JSON['parse'](_0x24337d);return _0x41e31c[_0x14676c(0x202)](this[_0x14676c(0x221)][_0x14676c(0x1ce)],0x0)&&(_0x4d20a5=_0x4d20a5['concat'](this[_0x14676c(0x20c)]())),this['_observer'][_0x14676c(0x1d4)](),fs[_0x14676c(0x223)](this[_0x14676c(0x214)]),_0x4d20a5;}static[a75_0x1afd9a(0x200)](){const _0x5663fa=a75_0x1afd9a,_0x80efdf={};_0x80efdf[_0x5663fa(0x20b)]=function(_0x3e9f84,_0x153310){return _0x3e9f84===_0x153310;},_0x80efdf[_0x5663fa(0x1f3)]=function(_0x51a628,_0x807115){return _0x51a628+_0x807115;};const _0x1c81d6=_0x80efdf;if(_0x1c81d6[_0x5663fa(0x20b)](this[_0x5663fa(0x1e6)][_0x5663fa(0x1ce)],0x0))return;const _0x25107d=JSON['stringify'](this[_0x5663fa(0x1e6)]),_0x201b59=_0x1c81d6[_0x5663fa(0x1f3)](_0x25107d['slice'](0x1,-0x1),',');fs[_0x5663fa(0x1dc)](this[_0x5663fa(0x1d9)],_0x201b59);}static[a75_0x1afd9a(0x205)](){const _0x46d9a7=a75_0x1afd9a,_0x5aafe6={};_0x5aafe6[_0x46d9a7(0x215)]=function(_0x4e29b5,_0x1655ec){return _0x4e29b5>_0x1655ec;};const _0x51e44e=_0x5aafe6;if(!fs['existsSync'](this[_0x46d9a7(0x1f2)]))return this['_errorEvents'];let _0x1f679c=fs[_0x46d9a7(0x218)](this[_0x46d9a7(0x1f2)])[_0x46d9a7(0x22f)]();_0x1f679c='['+_0x1f679c[_0x46d9a7(0x22c)](0x0,-0x1)+']';let _0x1aacb6=JSON[_0x46d9a7(0x232)](_0x1f679c);return _0x51e44e[_0x46d9a7(0x215)](this[_0x46d9a7(0x1e6)][_0x46d9a7(0x1ce)],0x0)&&(_0x1aacb6=_0x1aacb6[_0x46d9a7(0x1d8)](this['_errorEvents'])),fs['unlinkSync'](this['errorReportFileName']),_0x1aacb6;}static[a75_0x1afd9a(0x20e)](_0x2ccfaa){const _0x3e6cba=a75_0x1afd9a;if(!this[_0x3e6cba(0x21e)]())return;this[_0x3e6cba(0x1e6)][_0x3e6cba(0x1d1)]({'message':_0x2ccfaa['message'],'trace':_0x2ccfaa[_0x3e6cba(0x21b)],'code':_0x2ccfaa[_0x3e6cba(0x208)]||null,'time':new Date()});}static[a75_0x1afd9a(0x226)](){const _0x45278a=a75_0x1afd9a,_0x1fee83={};_0x1fee83[_0x45278a(0x1fa)]=_0x45278a(0x233);const _0x4bdc7c=_0x1fee83;try{if(!this[_0x45278a(0x21e)]())return;this[_0x45278a(0x1f6)]['disconnect'](),this['pushPerfMeasures'](),this[_0x45278a(0x200)]();}catch{logger[_0x45278a(0x22d)](_0x4bdc7c[_0x45278a(0x1fa)]);}}static[a75_0x1afd9a(0x209)](){const _0xecb24f=a75_0x1afd9a,_0x2eb3a3=this['finalizePerfMeasures'](),_0x1e039c=this[_0xecb24f(0x205)]();if(!this[_0xecb24f(0x21e)]()){const _0x5161e0={};return _0x5161e0[_0xecb24f(0x234)]=[],_0x5161e0[_0xecb24f(0x211)]=[],_0x5161e0;}const _0x37b8a1={};return _0x37b8a1[_0xecb24f(0x234)]=_0x2eb3a3,_0x37b8a1[_0xecb24f(0x211)]=_0x1e039c,_0x37b8a1;}}function a75_0x2a59(){const _0x33d6=['calculateTimeFromEvents','CiBHy','disconnect','JTVbQ','join','hZuHU','concat','errorFile','reduce','kHtea','appendFileSync','finally','77RIgbxN','obHPX','generateHTMLReport','started','entryTypes','exports','NnmMH','CHlca','_errorEvents','apply','1048jwMuZe','qgIhX','stopAndGenerate','ktppI','DsAuc','iAvhb','duration','writeFile','473655QTdnXO','match','errorReportFileName','diYNg','30501fsDGcS','_events','_observer','writeFileSync','CGhxD','buffered','jXxEH','cwd','stringify','forEach','IjnjO','Error\x20in\x20writing\x20html\x20','pushErrors','YcgTg','tgkll','path','shSFr','finalizeErrors','TBHJT','cSqKt','code','finalize','then','Psuyh','getCleanedPerfEvents','onhLP','captureError','getPerformance','12601490mUHSjV','errors','SqxEm','meta','jsonReportFileName','TNzlz','getEntries','gfLVw','readFileSync','finalizePerfMeasures','96690UolgID','stack','map','</td><td>','isEnabled','BROWSERSTACK_SDK_INSTRUMENTATION','false','_measureEvents','GOSTv','unlinkSync','EgAQP','xNfJB','stopMonitoring','thrql','DzSjs','1934632dPZlgE','60sAwgmg','./test-observability/utils','slice','debug','wlPoB','toString','measure','Jrrcw','parse','Error\x20stopping\x20monitoring','measures','XETaK','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','name','yuODJ','observe','catch','<tr><td>','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','Error\x20in\x20doing\x20csv\x20operations:\x20','getEventsFromJSON','performance-report.json','RcNlz','pushPerfMeasures','./logger','15784AquIRN','measureWrapper','perf_hooks','PoOPC','error-report.json','MjHDe','generateJSON','length','162444ZIDIPg','mark','push'];a75_0x2a59=function(){return _0x33d6;};return a75_0x2a59();}module[a75_0x1afd9a(0x1e3)]=PerformanceTester;
@@ -1 +1 @@
1
- const a73_0x5495ba=a73_0x421e;(function(_0x44d693,_0x242137){const _0x1bc8c7=a73_0x421e,_0x28e20d=_0x44d693();while(!![]){try{const _0x2b4f2d=-parseInt(_0x1bc8c7(0xc6))/0x1+parseInt(_0x1bc8c7(0xb8))/0x2*(parseInt(_0x1bc8c7(0xdb))/0x3)+-parseInt(_0x1bc8c7(0xcb))/0x4+parseInt(_0x1bc8c7(0xd5))/0x5+-parseInt(_0x1bc8c7(0xc5))/0x6+parseInt(_0x1bc8c7(0xc2))/0x7+-parseInt(_0x1bc8c7(0xc7))/0x8;if(_0x2b4f2d===_0x242137)break;else _0x28e20d['push'](_0x28e20d['shift']());}catch(_0x533b94){_0x28e20d['push'](_0x28e20d['shift']());}}}(a73_0x36cc,0x5c1d4));const http=require(a73_0x5495ba(0xb7)),https=require(a73_0x5495ba(0xc0)),monkeypatch=require(a73_0x5495ba(0xd8));function a73_0x421e(_0x3acc1a,_0x2a989){const _0x36ccf6=a73_0x36cc();return a73_0x421e=function(_0x421ee7,_0x7c4a4a){_0x421ee7=_0x421ee7-0xb4;let _0x554105=_0x36ccf6[_0x421ee7];return _0x554105;},a73_0x421e(_0x3acc1a,_0x2a989);}function spy(_0x121979){const _0x517254=a73_0x5495ba,_0x5a4340={'tZcnP':function(_0xad7ef1,_0x4a53ca){return _0xad7ef1-_0x4a53ca;},'CfrsI':function(_0x3bcabd,_0x146a21,_0x2e5504){return _0x3bcabd(_0x146a21,_0x2e5504);},'GqWkN':_0x517254(0xc4),'BCLsV':function(_0x35a40c,..._0x3aaa64){return _0x35a40c(..._0x3aaa64);},'bZvOC':_0x517254(0xb9),'ftVGP':_0x517254(0xb4),'hzkvH':function(_0x583cf8,_0x1353f2,_0xa4de8d,_0x5236ee){return _0x583cf8(_0x1353f2,_0xa4de8d,_0x5236ee);},'jFXNh':_0x517254(0xd3),'cSBGR':function(_0x16e4c5,_0x3e6bad,_0x560c91,_0x49c4ab){return _0x16e4c5(_0x3e6bad,_0x560c91,_0x49c4ab);},'LTUXo':_0x517254(0xbf),'FTJxt':function(_0x391256,_0x38175e,_0x4c7271,_0x12503c){return _0x391256(_0x38175e,_0x4c7271,_0x12503c);}},_0x35d57b=(_0x219d67,_0x20881b,_0xe3843b)=>{const _0xdec47b=_0x517254,_0x419cf2={'JZirW':function(_0xaf533b,_0xf64b5a,_0x2827b3){const _0x473011=a73_0x421e;return _0x5a4340[_0x473011(0xc9)](_0xaf533b,_0xf64b5a,_0x2827b3);},'LxUDM':_0x5a4340[_0xdec47b(0xd0)],'FTlpV':function(_0xc74ad3,..._0x4e3cda){const _0xb6c3e9=_0xdec47b;return _0x5a4340[_0xb6c3e9(0xb5)](_0xc74ad3,..._0x4e3cda);}},_0x3afae3=_0x5a4340[_0xdec47b(0xc9)](_0x219d67,_0x20881b,_0xe3843b);let _0x1db209=Date[_0xdec47b(0xbd)](),_0xa0dcb9;const _0xd93ddc=_0x2c8a7f=>{const _0x11f2ab=_0xdec47b,_0x5744f7={};_0x5744f7[_0x11f2ab(0xc8)]=_0x20881b['host']||_0x20881b['hostname'],_0x5744f7[_0x11f2ab(0xc3)]=_0x20881b[_0x11f2ab(0xc3)],_0x5744f7[_0x11f2ab(0xbb)]=_0x20881b[_0x11f2ab(0xbb)],_0x5744f7[_0x11f2ab(0xce)]=_0x20881b[_0x11f2ab(0xce)],_0x419cf2['JZirW'](_0x121979,_0x2c8a7f,_0x5744f7);};return _0x3afae3[_0xdec47b(0xcc)](_0x5a4340[_0xdec47b(0xcf)],_0x4e3999=>{const _0x253422=_0xdec47b,_0x2d3054=_0x5a4340[_0x253422(0xda)](Date[_0x253422(0xbd)](),_0x1db209),_0x4bb771={};_0x4bb771[_0x253422(0xcd)]=_0x20881b['host']||_0x20881b[_0x253422(0xcd)],_0x4bb771[_0x253422(0xc3)]=_0x20881b[_0x253422(0xc3)],_0x4bb771[_0x253422(0xbb)]=_0x20881b['method'],_0x4bb771[_0x253422(0xce)]=_0x20881b[_0x253422(0xce)],_0x4bb771[_0x253422(0xd1)]=_0x4e3999[_0x253422(0xbc)],_0x4bb771[_0x253422(0xc1)]=_0x2d3054,_0x5a4340[_0x253422(0xc9)](_0x121979,null,_0x4bb771),_0xa0dcb9[_0x253422(0xd6)](_0x5a4340[_0x253422(0xd0)],_0xd93ddc);}),_0x3afae3['on'](_0x5a4340[_0xdec47b(0xd7)],_0x3d1f14=>{const _0x17b3b9=_0xdec47b;_0xa0dcb9=_0x3d1f14,_0x3d1f14[_0x17b3b9(0xcc)](_0x419cf2[_0x17b3b9(0xca)],_0xd93ddc);}),_0x5a4340['hzkvH'](monkeypatch,_0x3afae3,_0x5a4340[_0xdec47b(0xdd)],(_0x3b238f,..._0x4df85d)=>{const _0x5d4fd3=_0xdec47b;_0x1db209=Date[_0x5d4fd3(0xbd)](),_0x419cf2[_0x5d4fd3(0xb6)](_0x3b238f,..._0x4df85d);}),_0x3afae3;};_0x5a4340[_0x517254(0xdc)](monkeypatch,http,_0x5a4340[_0x517254(0xd9)],_0x35d57b),_0x5a4340[_0x517254(0xd4)](monkeypatch,https,_0x5a4340[_0x517254(0xd9)],_0x35d57b);}function restore(){const _0x40ffa5=a73_0x5495ba;http['request'][_0x40ffa5(0xd2)](),https[_0x40ffa5(0xbf)][_0x40ffa5(0xd2)]();}const a73_0x3d5f6b={};function a73_0x36cc(){const _0x1da008=['FTlpV','http','8yXnRhR','response','exports','method','statusCode','now','restore','request','https','duration_ms','4399927Eaejrp','path','error','459960EkTBmE','77541PKWhrz','3990864BsNqtx','host','CfrsI','LxUDM','1774500cIKZTM','once','hostname','headers','bZvOC','GqWkN','status_code','unpatch','end','FTJxt','1804095kJmelr','removeListener','ftVGP','monkeypatch','LTUXo','tZcnP','363453nbqWJo','cSBGR','jFXNh','socket','BCLsV'];a73_0x36cc=function(){return _0x1da008;};return a73_0x36cc();}a73_0x3d5f6b['spy']=spy,a73_0x3d5f6b[a73_0x5495ba(0xbe)]=restore,module[a73_0x5495ba(0xba)]=a73_0x3d5f6b;
1
+ const a76_0x3c448d=a76_0xfa66;function a76_0xfa66(_0x1fb3d6,_0xc270b7){const _0x38a8fa=a76_0x38a8();return a76_0xfa66=function(_0xfa6614,_0x272024){_0xfa6614=_0xfa6614-0xa6;let _0x117d00=_0x38a8fa[_0xfa6614];return _0x117d00;},a76_0xfa66(_0x1fb3d6,_0xc270b7);}(function(_0x2fca3b,_0x1e64df){const _0x382a6a=a76_0xfa66,_0x3f1029=_0x2fca3b();while(!![]){try{const _0x532bb9=parseInt(_0x382a6a(0xb9))/0x1+parseInt(_0x382a6a(0xae))/0x2+parseInt(_0x382a6a(0xbe))/0x3*(-parseInt(_0x382a6a(0xb3))/0x4)+-parseInt(_0x382a6a(0xbd))/0x5+-parseInt(_0x382a6a(0xc2))/0x6+parseInt(_0x382a6a(0xc7))/0x7+-parseInt(_0x382a6a(0xa6))/0x8*(-parseInt(_0x382a6a(0xc6))/0x9);if(_0x532bb9===_0x1e64df)break;else _0x3f1029['push'](_0x3f1029['shift']());}catch(_0x27c032){_0x3f1029['push'](_0x3f1029['shift']());}}}(a76_0x38a8,0x70a5a));const http=require('http'),https=require('https'),monkeypatch=require(a76_0x3c448d(0xc5));function spy(_0x69ad9c){const _0x546bb1=a76_0x3c448d,_0x606af3={'WbEGa':function(_0x47d08a,_0x5087f3,_0x2dce2a){return _0x47d08a(_0x5087f3,_0x2dce2a);},'PVjeB':function(_0x308f70,_0x48a10b){return _0x308f70-_0x48a10b;},'TaTEm':_0x546bb1(0xba),'OQPVb':function(_0x401eea,..._0x492eb0){return _0x401eea(..._0x492eb0);},'nWQKY':_0x546bb1(0xa8),'npHbj':'socket','OhMkd':function(_0x687140,_0x1ef688,_0x1078b4,_0x59e9c3){return _0x687140(_0x1ef688,_0x1078b4,_0x59e9c3);},'frcmg':_0x546bb1(0xb2),'YUluL':function(_0x5aea1f,_0x2527db,_0x18a8e5,_0x1cc2d1){return _0x5aea1f(_0x2527db,_0x18a8e5,_0x1cc2d1);},'NSykX':_0x546bb1(0xb4)},_0x4b66bc=(_0x4ac17e,_0xfd1772,_0x4f651f)=>{const _0x4a5150=_0x546bb1,_0x3ad712=_0x606af3[_0x4a5150(0xbf)](_0x4ac17e,_0xfd1772,_0x4f651f);let _0x21aea0=Date[_0x4a5150(0xa7)](),_0xfc9df0;const _0x1a51f3=_0x5559bc=>{const _0x27bfa5=_0x4a5150,_0x53d8a2={};_0x53d8a2['host']=_0xfd1772[_0x27bfa5(0xac)]||_0xfd1772[_0x27bfa5(0xb0)],_0x53d8a2[_0x27bfa5(0xc0)]=_0xfd1772['path'],_0x53d8a2['method']=_0xfd1772[_0x27bfa5(0xaa)],_0x53d8a2[_0x27bfa5(0xc4)]=_0xfd1772['headers'],_0x606af3[_0x27bfa5(0xbf)](_0x69ad9c,_0x5559bc,_0x53d8a2);};return _0x3ad712['once'](_0x606af3[_0x4a5150(0xad)],_0x309aaa=>{const _0xfbae8c=_0x4a5150,_0x4ce5b3=_0x606af3['PVjeB'](Date[_0xfbae8c(0xa7)](),_0x21aea0),_0x5259e0={};_0x5259e0['hostname']=_0xfd1772[_0xfbae8c(0xac)]||_0xfd1772[_0xfbae8c(0xb0)],_0x5259e0[_0xfbae8c(0xc0)]=_0xfd1772[_0xfbae8c(0xc0)],_0x5259e0[_0xfbae8c(0xaa)]=_0xfd1772[_0xfbae8c(0xaa)],_0x5259e0[_0xfbae8c(0xc4)]=_0xfd1772[_0xfbae8c(0xc4)],_0x5259e0[_0xfbae8c(0xa9)]=_0x309aaa[_0xfbae8c(0xc8)],_0x5259e0[_0xfbae8c(0xb5)]=_0x4ce5b3,_0x606af3[_0xfbae8c(0xbf)](_0x69ad9c,null,_0x5259e0),_0xfc9df0[_0xfbae8c(0xbb)](_0x606af3[_0xfbae8c(0xb1)],_0x1a51f3);}),_0x3ad712['on'](_0x606af3['npHbj'],_0x49d1f9=>{const _0x5224bd=_0x4a5150;_0xfc9df0=_0x49d1f9,_0x49d1f9['once'](_0x606af3[_0x5224bd(0xb1)],_0x1a51f3);}),_0x606af3[_0x4a5150(0xbc)](monkeypatch,_0x3ad712,_0x606af3['frcmg'],(_0x5a3c88,..._0x264806)=>{const _0xfaded6=_0x4a5150;_0x21aea0=Date['now'](),_0x606af3[_0xfaded6(0xb7)](_0x5a3c88,..._0x264806);}),_0x3ad712;};_0x606af3[_0x546bb1(0xab)](monkeypatch,http,_0x606af3['NSykX'],_0x4b66bc),_0x606af3['YUluL'](monkeypatch,https,_0x606af3[_0x546bb1(0xc3)],_0x4b66bc);}function restore(){const _0x3cbc09=a76_0x3c448d;http['request'][_0x3cbc09(0xc1)](),https['request']['unpatch']();}const a76_0x5c447f={};a76_0x5c447f[a76_0x3c448d(0xb8)]=spy,a76_0x5c447f[a76_0x3c448d(0xb6)]=restore,module[a76_0x3c448d(0xaf)]=a76_0x5c447f;function a76_0x38a8(){const _0xa42e6c=['1696878FbjWCM','exports','hostname','TaTEm','end','3542384QWEANI','request','duration_ms','restore','OQPVb','spy','277137GLmWcZ','error','removeListener','OhMkd','846790eIhMfJ','3eDbNJE','WbEGa','path','unpatch','3749310vrQmTD','NSykX','headers','monkeypatch','2057877MXISpB','5509084xJtoIy','statusCode','8UqLKYR','now','response','status_code','method','YUluL','host','nWQKY'];a76_0x38a8=function(){return _0xa42e6c;};return a76_0x38a8();}
@@ -1 +1 @@
1
- (function(_0x1e74b9,_0x291010){const _0x4f66cf=a74_0x4ef7,_0x537961=_0x1e74b9();while(!![]){try{const _0x73531a=parseInt(_0x4f66cf(0x142))/0x1*(parseInt(_0x4f66cf(0x14e))/0x2)+parseInt(_0x4f66cf(0x13a))/0x3+-parseInt(_0x4f66cf(0x151))/0x4+-parseInt(_0x4f66cf(0x13f))/0x5+-parseInt(_0x4f66cf(0x153))/0x6+-parseInt(_0x4f66cf(0x146))/0x7*(-parseInt(_0x4f66cf(0x14c))/0x8)+parseInt(_0x4f66cf(0x14d))/0x9*(parseInt(_0x4f66cf(0x152))/0xa);if(_0x73531a===_0x291010)break;else _0x537961['push'](_0x537961['shift']());}catch(_0x460db4){_0x537961['push'](_0x537961['shift']());}}}(a74_0x49bc,0x7f355),module['exports']=function(){const _0x34e797=a74_0x4ef7,_0x2a7ee9={'LgHaw':function(_0x149371,_0x45724c){return _0x149371===_0x45724c;},'CRxJK':'https:','YAqZM':'agent','cnLBJ':function(_0x319416,_0x479219,_0x4ae5e1){return _0x319416(_0x479219,_0x4ae5e1);},'EgZUw':function(_0x26fc44,_0x1b4122,_0x3a72c1){return _0x26fc44(_0x1b4122,_0x3a72c1);},'ChyNZ':function(_0x5ab684,_0x397b24){return _0x5ab684(_0x397b24);},'sbqFj':'http','cyTmI':_0x34e797(0x14b),'LTPKX':function(_0xca44b9,_0x9040bb){return _0xca44b9*_0x9040bb;},'eymbA':_0x34e797(0x13b)},_0x47ed29=_0x2a7ee9[_0x34e797(0x137)](require,_0x2a7ee9[_0x34e797(0x148)]),_0x596e0e=_0x2a7ee9[_0x34e797(0x137)](require,_0x2a7ee9[_0x34e797(0x149)]),_0xc3d519=_0x2a7ee9[_0x34e797(0x13e)](0x1e,0x3e8);if(_0x47ed29[_0x34e797(0x13c)]&&Object[_0x34e797(0x143)][_0x34e797(0x145)][_0x34e797(0x150)](_0x47ed29[_0x34e797(0x13c)],_0x2a7ee9[_0x34e797(0x144)]))_0x47ed29[_0x34e797(0x13c)][_0x34e797(0x13b)]=!![],_0x596e0e['globalAgent'][_0x34e797(0x13b)]=!![],_0x47ed29['globalAgent']['keepAliveMsecs']=_0xc3d519,_0x596e0e[_0x34e797(0x13c)][_0x34e797(0x140)]=_0xc3d519;else{const _0x46f69c={};_0x46f69c[_0x34e797(0x13b)]=!![],_0x46f69c['keepAliveMsecs']=_0xc3d519;const _0x49a5c8=new _0x47ed29[(_0x34e797(0x147))](_0x46f69c),_0x372fd8={};_0x372fd8[_0x34e797(0x13b)]=!![],_0x372fd8[_0x34e797(0x140)]=_0xc3d519;const _0x2d510e=new _0x596e0e[(_0x34e797(0x147))](_0x372fd8),_0xfa7126=_0x47ed29[_0x34e797(0x141)],_0x4b5365=_0x596e0e[_0x34e797(0x141)];_0x47ed29['request']=function(_0x3a93ec,_0x2f4c0f){const _0x19735d=_0x34e797;if(_0x2a7ee9[_0x19735d(0x14f)](_0x3a93ec['protocol'],_0x2a7ee9[_0x19735d(0x139)]))return _0x3a93ec[_0x2a7ee9[_0x19735d(0x14a)]]=_0x2d510e,_0x2a7ee9[_0x19735d(0x138)](_0x4b5365,_0x3a93ec,_0x2f4c0f);return _0x3a93ec[_0x2a7ee9[_0x19735d(0x14a)]]=_0x49a5c8,_0x2a7ee9[_0x19735d(0x13d)](_0xfa7126,_0x3a93ec,_0x2f4c0f);};}});function a74_0x4ef7(_0x28602e,_0x39e69d){const _0x49bca2=a74_0x49bc();return a74_0x4ef7=function(_0x4ef7e4,_0x2c6f1b){_0x4ef7e4=_0x4ef7e4-0x137;let _0x350c2d=_0x49bca2[_0x4ef7e4];return _0x350c2d;},a74_0x4ef7(_0x28602e,_0x39e69d);}function a74_0x49bc(){const _0x2895ac=['EgZUw','LTPKX','3177430bWYxfB','keepAliveMsecs','request','14237Keethc','prototype','eymbA','hasOwnProperty','12551SScFSN','Agent','sbqFj','cyTmI','YAqZM','https','3688UZKoYX','12231927PdqQNl','6jfzORi','LgHaw','call','1182804RIKNpI','10dvCHvb','5065932uEvkUg','ChyNZ','cnLBJ','CRxJK','204501wmbcFU','keepAlive','globalAgent'];a74_0x49bc=function(){return _0x2895ac;};return a74_0x49bc();}
1
+ function a77_0x2715(){const _0x5ba471=['175CMStVF','eCpwu','6178000kHkPyZ','4731243PrWfrq','Jhyvx','https:','6855438aAcRtx','vMWlI','KJnon','protocol','request','30UrpcjS','Rrjll','5412951audKJL','GTtsL','exports','215536tyEWeZ','hasOwnProperty','2KxJWKn','call','agent','keepAlive','1520158gbDgXb','globalAgent','NIAWl','TpURZ','2449053BnmkVN','eGABr','pyRbe','keepAliveMsecs','Agent','5SNoBYP','prototype'];a77_0x2715=function(){return _0x5ba471;};return a77_0x2715();}const a77_0x35cd19=a77_0x51d2;function a77_0x51d2(_0x22b55c,_0xdc9a84){const _0x27151b=a77_0x2715();return a77_0x51d2=function(_0x51d213,_0x63c3e2){_0x51d213=_0x51d213-0xdd;let _0x92e348=_0x27151b[_0x51d213];return _0x92e348;},a77_0x51d2(_0x22b55c,_0xdc9a84);}(function(_0x23f529,_0x340fcf){const _0x35b71e=a77_0x51d2,_0x163799=_0x23f529();while(!![]){try{const _0x13b099=-parseInt(_0x35b71e(0xf5))/0x1*(-parseInt(_0x35b71e(0xf9))/0x2)+parseInt(_0x35b71e(0xf0))/0x3+-parseInt(_0x35b71e(0xe5))/0x4+-parseInt(_0x35b71e(0xe1))/0x5*(parseInt(_0x35b71e(0xe9))/0x6)+-parseInt(_0x35b71e(0xe3))/0x7*(-parseInt(_0x35b71e(0xf3))/0x8)+-parseInt(_0x35b71e(0xfd))/0x9*(parseInt(_0x35b71e(0xee))/0xa)+parseInt(_0x35b71e(0xe6))/0xb;if(_0x13b099===_0x340fcf)break;else _0x163799['push'](_0x163799['shift']());}catch(_0x5f4d1a){_0x163799['push'](_0x163799['shift']());}}}(a77_0x2715,0xe1c2a),module[a77_0x35cd19(0xf2)]=function(){const _0x2cd431=a77_0x35cd19,_0x10ea0f={'GTtsL':function(_0x396942,_0x30cf9d){return _0x396942===_0x30cf9d;},'Jhyvx':_0x2cd431(0xe8),'TpURZ':_0x2cd431(0xf7),'eGABr':function(_0x24de8e,_0x1dc5d1,_0x231785){return _0x24de8e(_0x1dc5d1,_0x231785);},'pyRbe':function(_0x2811bf,_0x9811af,_0x2ac318){return _0x2811bf(_0x9811af,_0x2ac318);},'Rrjll':function(_0x1cf38d,_0x5aba4c){return _0x1cf38d(_0x5aba4c);},'NIAWl':'http','KJnon':'https','vMWlI':function(_0x1eb639,_0x564e6a){return _0x1eb639*_0x564e6a;},'eCpwu':_0x2cd431(0xf8)},_0x120a69=_0x10ea0f[_0x2cd431(0xef)](require,_0x10ea0f[_0x2cd431(0xfb)]),_0x5610c8=_0x10ea0f['Rrjll'](require,_0x10ea0f[_0x2cd431(0xeb)]),_0x42a315=_0x10ea0f[_0x2cd431(0xea)](0x1e,0x3e8);if(_0x120a69[_0x2cd431(0xfa)]&&Object[_0x2cd431(0xe2)][_0x2cd431(0xf4)][_0x2cd431(0xf6)](_0x120a69[_0x2cd431(0xfa)],_0x10ea0f[_0x2cd431(0xe4)]))_0x120a69[_0x2cd431(0xfa)][_0x2cd431(0xf8)]=!![],_0x5610c8[_0x2cd431(0xfa)][_0x2cd431(0xf8)]=!![],_0x120a69['globalAgent']['keepAliveMsecs']=_0x42a315,_0x5610c8[_0x2cd431(0xfa)]['keepAliveMsecs']=_0x42a315;else{const _0x10909e={};_0x10909e[_0x2cd431(0xf8)]=!![],_0x10909e[_0x2cd431(0xdf)]=_0x42a315;const _0x11051c=new _0x120a69[(_0x2cd431(0xe0))](_0x10909e),_0x1e9dfa={};_0x1e9dfa[_0x2cd431(0xf8)]=!![],_0x1e9dfa[_0x2cd431(0xdf)]=_0x42a315;const _0x34c626=new _0x5610c8['Agent'](_0x1e9dfa),_0x543dde=_0x120a69['request'],_0x255a3b=_0x5610c8[_0x2cd431(0xed)];_0x120a69[_0x2cd431(0xed)]=function(_0x39215f,_0x228317){const _0x357380=_0x2cd431;if(_0x10ea0f[_0x357380(0xf1)](_0x39215f[_0x357380(0xec)],_0x10ea0f[_0x357380(0xe7)]))return _0x39215f[_0x10ea0f[_0x357380(0xfc)]]=_0x34c626,_0x10ea0f[_0x357380(0xdd)](_0x255a3b,_0x39215f,_0x228317);return _0x39215f[_0x10ea0f[_0x357380(0xfc)]]=_0x11051c,_0x10ea0f[_0x357380(0xde)](_0x543dde,_0x39215f,_0x228317);};}});
@@ -1 +1 @@
1
- var a75_0x433baa=a75_0x1f44;(function(_0x4679c9,_0x48a2f2){var _0x36a338=a75_0x1f44,_0x43864f=_0x4679c9();while(!![]){try{var _0x1cb5ca=parseInt(_0x36a338(0x14e))/0x1*(parseInt(_0x36a338(0x15f))/0x2)+parseInt(_0x36a338(0x150))/0x3*(parseInt(_0x36a338(0x15c))/0x4)+parseInt(_0x36a338(0x14b))/0x5*(-parseInt(_0x36a338(0x158))/0x6)+-parseInt(_0x36a338(0x159))/0x7*(parseInt(_0x36a338(0x15b))/0x8)+-parseInt(_0x36a338(0x152))/0x9*(parseInt(_0x36a338(0x15a))/0xa)+-parseInt(_0x36a338(0x153))/0xb+parseInt(_0x36a338(0x156))/0xc*(parseInt(_0x36a338(0x149))/0xd);if(_0x1cb5ca===_0x48a2f2)break;else _0x43864f['push'](_0x43864f['shift']());}catch(_0xf75896){_0x43864f['push'](_0x43864f['shift']());}}}(a75_0x12b6,0x8bcc7));var a75_0x23be6d={};function a75_0x1f44(_0x370d0f,_0x5c4b66){var _0x12b6a1=a75_0x12b6();return a75_0x1f44=function(_0x1f440c,_0x5bf870){_0x1f440c=_0x1f440c-0x148;var _0x1c8a75=_0x12b6a1[_0x1f440c];return _0x1c8a75;},a75_0x1f44(_0x370d0f,_0x5c4b66);}a75_0x23be6d[a75_0x433baa(0x161)]=a75_0x433baa(0x155),a75_0x23be6d[a75_0x433baa(0x15d)]=a75_0x433baa(0x164),a75_0x23be6d[a75_0x433baa(0x162)]=a75_0x433baa(0x154),a75_0x23be6d['JEST']=a75_0x433baa(0x14a),a75_0x23be6d[a75_0x433baa(0x148)]=a75_0x433baa(0x14d),module[a75_0x433baa(0x151)]={'consoleHolder':Object[a75_0x433baa(0x163)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a75_0x433baa(0x14f),'EVENT_ENDPOINT':a75_0x433baa(0x160),'BATCH_ENDPOINT':a75_0x433baa(0x15e),'SCREENSHOT_ENDPOINT':a75_0x433baa(0x157),'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':a75_0x433baa(0x14c),'FRAMEWORKS':a75_0x23be6d};function a75_0x12b6(){var _0x20f9cb=['15fYIQub','.obs_test_details','cucumber','4wDXVRq','https://collector-observability.browserstack.com','552DAmJVD','exports','7107687rfQwJP','17655GtBVwT','codeceptjs','Playwright','12rjBMlB','api/v1/screenshots','1092198NvzLRh','308gUJeTK','10vPTGdV','7528BxQZeM','11236TjunxM','MOCHA','api/v1/batch','160466zIpAxu','api/v1/event','PLAYWRIGHT','CODECEPT','assign','mocha','CUCUMBER','14477814KLBfPH','jest'];a75_0x12b6=function(){return _0x20f9cb;};return a75_0x12b6();}
1
+ var a78_0x46db2b=a78_0x2d41;function a78_0x5aa1(){var _0x5920d8=['617698MSFHSQ','api/v1/screenshots','10629SJkVBP','cucumber','891260QmZNEB','7ChUPIm','Playwright','MOCHA','1623234iIBKyD','mocha','132hOShsr','codeceptjs','api/v1/event','9SyIRLS','jest','1tLtlav','assign','14946250JEVyxI','141940KYlbVH','3589512GhzDqd','CUCUMBER','CODECEPT'];a78_0x5aa1=function(){return _0x5920d8;};return a78_0x5aa1();}(function(_0x31d9f5,_0xcc775e){var _0x5ff30e=a78_0x2d41,_0x33dd54=_0x31d9f5();while(!![]){try{var _0x429c0a=parseInt(_0x5ff30e(0xc0))/0x1*(-parseInt(_0x5ff30e(0xc7))/0x2)+parseInt(_0x5ff30e(0xc9))/0x3*(-parseInt(_0x5ff30e(0xbb))/0x4)+parseInt(_0x5ff30e(0xc3))/0x5+-parseInt(_0x5ff30e(0xb9))/0x6*(parseInt(_0x5ff30e(0xcc))/0x7)+-parseInt(_0x5ff30e(0xc4))/0x8*(parseInt(_0x5ff30e(0xbe))/0x9)+parseInt(_0x5ff30e(0xcb))/0xa+parseInt(_0x5ff30e(0xc2))/0xb;if(_0x429c0a===_0xcc775e)break;else _0x33dd54['push'](_0x33dd54['shift']());}catch(_0x204663){_0x33dd54['push'](_0x33dd54['shift']());}}}(a78_0x5aa1,0x50e04));var a78_0x25fdda={};function a78_0x2d41(_0x5d4ce9,_0x2b1091){var _0x5aa110=a78_0x5aa1();return a78_0x2d41=function(_0x2d41c7,_0x752729){_0x2d41c7=_0x2d41c7-0xb7;var _0x19b882=_0x5aa110[_0x2d41c7];return _0x19b882;},a78_0x2d41(_0x5d4ce9,_0x2b1091);}a78_0x25fdda['PLAYWRIGHT']=a78_0x46db2b(0xb7),a78_0x25fdda[a78_0x46db2b(0xb8)]=a78_0x46db2b(0xba),a78_0x25fdda[a78_0x46db2b(0xc6)]=a78_0x46db2b(0xbc),a78_0x25fdda['JEST']=a78_0x46db2b(0xbf),a78_0x25fdda[a78_0x46db2b(0xc5)]=a78_0x46db2b(0xca),module['exports']={'consoleHolder':Object[a78_0x46db2b(0xc1)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':'https://collector-observability.browserstack.com','EVENT_ENDPOINT':a78_0x46db2b(0xbd),'BATCH_ENDPOINT':'api/v1/batch','SCREENSHOT_ENDPOINT':a78_0x46db2b(0xc8),'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':'.obs_test_details','FRAMEWORKS':a78_0x25fdda};