browserstack-node-sdk 1.49.11 → 1.50.0

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 (186) 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/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +2 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a109_0x2ed0cf=a109_0x4a9c;(function(_0x4d19ae,_0x273bf4){const _0x1f73a6=a109_0x4a9c,_0x4e2537=_0x4d19ae();while(!![]){try{const _0x11bf00=-parseInt(_0x1f73a6(0xd5))/0x1*(-parseInt(_0x1f73a6(0xe2))/0x2)+-parseInt(_0x1f73a6(0xf5))/0x3*(parseInt(_0x1f73a6(0xfe))/0x4)+-parseInt(_0x1f73a6(0xcb))/0x5*(parseInt(_0x1f73a6(0xc0))/0x6)+-parseInt(_0x1f73a6(0xf9))/0x7*(-parseInt(_0x1f73a6(0xf4))/0x8)+parseInt(_0x1f73a6(0xbd))/0x9*(parseInt(_0x1f73a6(0xd4))/0xa)+-parseInt(_0x1f73a6(0xc5))/0xb*(parseInt(_0x1f73a6(0xeb))/0xc)+parseInt(_0x1f73a6(0xb9))/0xd*(parseInt(_0x1f73a6(0xcf))/0xe);if(_0x11bf00===_0x273bf4)break;else _0x4e2537['push'](_0x4e2537['shift']());}catch(_0x2fca6d){_0x4e2537['push'](_0x4e2537['shift']());}}}(a109_0x20e4,0xad45c));const winston=require('winston'),path=require(a109_0x2ed0cf(0xde)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a109_0x2ed0cf(0xbb)),tempLogDir=a109_0x2ed0cf(0xe3),logFormat=winston[a109_0x2ed0cf(0xca)](_0x2bff1c=>{const _0x1683af=a109_0x2ed0cf,_0x18c0a2={};_0x18c0a2['Wzloy']=function(_0x27e95c,_0x4dcf62){return _0x27e95c!==_0x4dcf62;},_0x18c0a2[_0x1683af(0xc2)]=_0x1683af(0xef),_0x18c0a2[_0x1683af(0xe7)]=function(_0xbef759,_0x511e1b){return _0xbef759===_0x511e1b;},_0x18c0a2[_0x1683af(0xd7)]=_0x1683af(0xd9);const _0x4ce778=_0x18c0a2;return _0x4ce778[_0x1683af(0xc8)](typeof _0x2bff1c[_0x1683af(0xd2)],_0x4ce778['pIuEb'])&&(_0x2bff1c[_0x1683af(0xd2)]=JSON[_0x1683af(0xfa)](_0x2bff1c[_0x1683af(0xd2)])),global['session']?.['config']?.[_0x1683af(0xea)]&&_0x4ce778[_0x1683af(0xe7)](typeof _0x2bff1c['message'],_0x4ce778[_0x1683af(0xc2)])&&(_0x2bff1c[_0x1683af(0xd2)]=_0x2bff1c['message']['replace'](new RegExp(global[_0x1683af(0x104)][_0x1683af(0xff)][_0x1683af(0xea)],'g'),_0x4ce778[_0x1683af(0xd7)])),global[_0x1683af(0x104)]?.[_0x1683af(0xff)]?.['accessKey']&&_0x4ce778[_0x1683af(0xe7)](typeof _0x2bff1c[_0x1683af(0xd2)],_0x4ce778[_0x1683af(0xc2)])&&(_0x2bff1c[_0x1683af(0xd2)]=_0x2bff1c[_0x1683af(0xd2)][_0x1683af(0xec)](new RegExp(global['session'][_0x1683af(0xff)][_0x1683af(0x103)],'g'),_0x4ce778[_0x1683af(0xd7)])),_0x2bff1c;}),fetchLogDir=()=>{const _0x56879e=a109_0x2ed0cf;if(process[_0x56879e(0xfd)][_0x56879e(0xe1)])return process[_0x56879e(0xfd)][_0x56879e(0xe1)];else!fs[_0x56879e(0xc9)](tempLogDir)&&fs[_0x56879e(0xc6)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x51d2e6=a109_0x2ed0cf,_0x458cdb={};_0x458cdb[_0x51d2e6(0xd3)]='info';const _0xee2b02=_0x458cdb,_0x369f1f=process[_0x51d2e6(0xfd)][_0x51d2e6(0xce)],_0x44b1e4=Object['keys'](winston[_0x51d2e6(0xff)][_0x51d2e6(0xba)][_0x51d2e6(0xcc)]);if(_0x369f1f&&_0x44b1e4[_0x51d2e6(0x101)](_0x369f1f[_0x51d2e6(0xd8)]()))return _0x369f1f[_0x51d2e6(0xd8)]();return _0xee2b02['UYZrj'];},initialLogLevel=getInitialLogLevel(),a109_0x522cb8={};a109_0x522cb8[a109_0x2ed0cf(0xf1)]=a109_0x2ed0cf(0xdf),a109_0x522cb8[a109_0x2ed0cf(0xf7)]=initialLogLevel;const transports={'loggerConsole':new winston[(a109_0x2ed0cf(0xee))][(a109_0x2ed0cf(0xbc))](a109_0x522cb8),'loggerFile':new winston[(a109_0x2ed0cf(0xee))]['File']({'filename':path['join'](logDir,a109_0x2ed0cf(0xe6)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a109_0x2ed0cf(0xee))][(a109_0x2ed0cf(0xb8))]({'filename':path[a109_0x2ed0cf(0xdb)](logDir,a109_0x2ed0cf(0xc4)),'level':a109_0x2ed0cf(0xf8)}),'debugCliLoggerFile':new winston[(a109_0x2ed0cf(0xee))][(a109_0x2ed0cf(0xb8))]({'filename':path['join'](logDir,'/sdk-cli-debug.log'),'level':a109_0x2ed0cf(0xf8)}),'buildLinkTransport':new winston['transports'][(a109_0x2ed0cf(0xb8))]({'filename':path[a109_0x2ed0cf(0xdb)](logDir,a109_0x2ed0cf(0xe6)),'level':a109_0x2ed0cf(0xf8)})},automationTransports={};process['env'][a109_0x2ed0cf(0xc7)]===a109_0x2ed0cf(0xe9)&&(automationTransports[a109_0x2ed0cf(0xd6)]=new winston[(a109_0x2ed0cf(0xee))]['File']({'filename':path[a109_0x2ed0cf(0xdb)](logDir,'automation.log'),'level':a109_0x2ed0cf(0xf8)}));transports[a109_0x2ed0cf(0xdd)]['on']('error',_0x3ed8ad=>{const _0x25fb5e=a109_0x2ed0cf,_0x546936={};_0x546936[_0x25fb5e(0x100)]=function(_0x55ed00,_0x4ad104){return _0x55ed00===_0x4ad104;},_0x546936['nghqw']='EPIPE',_0x546936[_0x25fb5e(0xc1)]=_0x25fb5e(0xbf);const _0x5066f1=_0x546936;if(_0x5066f1['nRMHK'](_0x3ed8ad[_0x25fb5e(0xdc)],_0x5066f1['nghqw'])){console[_0x25fb5e(0xe3)](_0x5066f1[_0x25fb5e(0xc1)],_0x3ed8ad[_0x25fb5e(0xd2)]);return;}throw _0x3ed8ad;});const a109_0x4a50dc={};a109_0x4a50dc[a109_0x2ed0cf(0xca)]=a109_0x2ed0cf(0xbe);const a109_0x578b81={};a109_0x578b81[a109_0x2ed0cf(0xf7)]=!![];const winstonLoggerParams={'format':winston[a109_0x2ed0cf(0xca)][a109_0x2ed0cf(0xe8)](winston['format'][a109_0x2ed0cf(0xc3)](a109_0x4a50dc),winston[a109_0x2ed0cf(0xca)]['colorize'](a109_0x578b81),winston[a109_0x2ed0cf(0xca)]['printf'](_0x5d9a12=>_0x5d9a12[a109_0x2ed0cf(0xc3)]+a109_0x2ed0cf(0xd0)+_0x5d9a12[a109_0x2ed0cf(0xf7)]+':\x20'+_0x5d9a12[a109_0x2ed0cf(0xd2)])),'transports':[transports[a109_0x2ed0cf(0xdd)]]},a109_0x2f0729={};a109_0x2f0729[a109_0x2ed0cf(0xca)]=a109_0x2ed0cf(0xbe);function a109_0x4a9c(_0x3ac730,_0x44410a){const _0x20e442=a109_0x20e4();return a109_0x4a9c=function(_0x4a9ca4,_0x4b8cf3){_0x4a9ca4=_0x4a9ca4-0xb7;let _0x9759f2=_0x20e442[_0x4a9ca4];return _0x9759f2;},a109_0x4a9c(_0x3ac730,_0x44410a);}const a109_0x5e3ca2={};a109_0x5e3ca2[a109_0x2ed0cf(0xf7)]=!![];const winstonFileLoggerParams={'format':winston['format'][a109_0x2ed0cf(0xe8)](winston[a109_0x2ed0cf(0xca)][a109_0x2ed0cf(0xc3)](a109_0x2f0729),winston[a109_0x2ed0cf(0xca)]['colorize'](a109_0x5e3ca2),winston['format'][a109_0x2ed0cf(0xe5)](_0x320fce=>_0x320fce[a109_0x2ed0cf(0xf7)]+':\x20'+_0x320fce[a109_0x2ed0cf(0xd2)])),'transports':[]},a109_0x22ecda={};a109_0x22ecda[a109_0x2ed0cf(0xca)]=a109_0x2ed0cf(0xbe);const a109_0x18f1bf={};a109_0x18f1bf[a109_0x2ed0cf(0xf7)]=!![];const a109_0x55604f={};a109_0x55604f[a109_0x2ed0cf(0xf7)]='silly';const BuildLoggerParams={'format':winston[a109_0x2ed0cf(0xca)][a109_0x2ed0cf(0xe8)](winston[a109_0x2ed0cf(0xca)][a109_0x2ed0cf(0xc3)](a109_0x22ecda),winston[a109_0x2ed0cf(0xca)]['colorize'](a109_0x18f1bf),winston[a109_0x2ed0cf(0xca)]['printf'](_0x3ed4d5=>_0x3ed4d5['timestamp']+a109_0x2ed0cf(0xd0)+_0x3ed4d5['level']+':\x20'+_0x3ed4d5[a109_0x2ed0cf(0xd2)])),'transports':[transports[a109_0x2ed0cf(0xe0)],new winston['transports']['Console'](a109_0x55604f)]},a109_0x8209cb={};a109_0x8209cb[a109_0x2ed0cf(0xcd)]=()=>{},a109_0x8209cb['info']=()=>{},a109_0x8209cb['warn']=()=>{},a109_0x8209cb['error']=()=>{},a109_0x8209cb[a109_0x2ed0cf(0xda)]=()=>{},a109_0x8209cb[a109_0x2ed0cf(0xf8)]=()=>{},exports['automationLogger']=process[a109_0x2ed0cf(0xfd)]['BROWSERSTACK_AUTOMATION_LOGS']===a109_0x2ed0cf(0xe9)?winston[a109_0x2ed0cf(0xe4)]({'format':winston[a109_0x2ed0cf(0xca)][a109_0x2ed0cf(0xe8)](winston[a109_0x2ed0cf(0xca)][a109_0x2ed0cf(0xb7)](),winston[a109_0x2ed0cf(0xca)]['timestamp'](),logFormat(),winston[a109_0x2ed0cf(0xca)][a109_0x2ed0cf(0xe5)](_0x356de5=>_0x356de5['level']+':\x20'+_0x356de5[a109_0x2ed0cf(0xd2)])),'transports':[automationTransports[a109_0x2ed0cf(0xd6)]]}):a109_0x8209cb;const initialize=()=>{const _0x54f2e7=a109_0x2ed0cf,_0xbc29c7={};_0xbc29c7[_0x54f2e7(0xf6)]='silly';const _0x5af7df=_0xbc29c7,_0x4d7fb8=transports[_0x54f2e7(0xdd)][_0x54f2e7(0xf7)]||initialLogLevel;transports[_0x54f2e7(0x102)]=new winston[(_0x54f2e7(0xee))][(_0x54f2e7(0xb8))]({'filename':path[_0x54f2e7(0xdb)](exports[_0x54f2e7(0xfb)],LOG_FILE_NAME),'level':_0x4d7fb8}),transports[_0x54f2e7(0xf3)]=new winston[(_0x54f2e7(0xee))]['File']({'filename':path[_0x54f2e7(0xdb)](exports[_0x54f2e7(0xfb)],DEBUG_LOG_FILE_NAME),'level':_0x5af7df['yQWsi']}),exports[_0x54f2e7(0xf0)][_0x54f2e7(0xfc)](transports[_0x54f2e7(0x102)]),exports[_0x54f2e7(0xf0)][_0x54f2e7(0xfc)](transports[_0x54f2e7(0xf3)]),exports['fileLogger'][_0x54f2e7(0xfc)](transports[_0x54f2e7(0x102)]),exports[_0x54f2e7(0x105)][_0x54f2e7(0xfc)](transports[_0x54f2e7(0xf3)]);};exports[a109_0x2ed0cf(0xf0)]=new winston[(a109_0x2ed0cf(0xe4))](winstonLoggerParams),exports[a109_0x2ed0cf(0x105)]=new winston['createLogger'](winstonFileLoggerParams),exports[a109_0x2ed0cf(0xf2)]=new winston[(a109_0x2ed0cf(0xe4))](BuildLoggerParams),exports[a109_0x2ed0cf(0xfb)]=logDir,exports[a109_0x2ed0cf(0xd1)]=()=>{const _0x4656e6=a109_0x2ed0cf;return exports[_0x4656e6(0xfb)];},exports[a109_0x2ed0cf(0xee)]=transports,exports[a109_0x2ed0cf(0xed)]=initialize;function a109_0x20e4(){const _0x4d4d2a=['add','env','8MCqAdv','config','nRMHK','includes','loggerFile','accessKey','session','fileLogger','uncolorize','File','4399759CrtRkE','npm','../bin/utils/constants','Console','3069351taPTlq','YYYY-MM-DD\x20HH:mm:ss','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','6tciUxL','lNhlV','pIuEb','timestamp','/usage-debug.log','11MKVUZt','mkdirSync','BROWSERSTACK_AUTOMATION_LOGS','Wzloy','existsSync','format','289295hbxbdd','levels','http','BROWSERSTACK_LOG_LEVEL','56IueTgv','\x20-\x20','getLogDir','message','UYZrj','10HLpubr','1uayhKE','automationLoggerFile','sYouE','toLowerCase','[REDACTED]','debug','join','code','loggerConsole','path','console.info','buildLinkTransport','BROWSERSTACK_INTERNAL_LOG_DIR','352786iudDiT','log','createLogger','printf','/usage.log','UWvfB','combine','true','userName','11007396tcZHrv','replace','initialize','transports','string','winstonLogger','name','buildLogger','debugLoggerFile','992EyNgkn','1954437rdgbtR','yQWsi','level','silly','63035wqcpql','stringify','logDir'];a109_0x20e4=function(){return _0x4d4d2a;};return a109_0x20e4();}logDir&&initialize();
1
+ const a109_0x127aef=a109_0x3cf6;(function(_0x1334f7,_0x401c58){const _0x414c87=a109_0x3cf6,_0x100343=_0x1334f7();while(!![]){try{const _0x538f5b=-parseInt(_0x414c87(0x19b))/0x1*(parseInt(_0x414c87(0x197))/0x2)+parseInt(_0x414c87(0x180))/0x3*(-parseInt(_0x414c87(0x1a4))/0x4)+parseInt(_0x414c87(0x193))/0x5+parseInt(_0x414c87(0x1aa))/0x6+-parseInt(_0x414c87(0x17a))/0x7*(parseInt(_0x414c87(0x198))/0x8)+parseInt(_0x414c87(0x1ae))/0x9+parseInt(_0x414c87(0x1b6))/0xa*(parseInt(_0x414c87(0x1ba))/0xb);if(_0x538f5b===_0x401c58)break;else _0x100343['push'](_0x100343['shift']());}catch(_0x3520e6){_0x100343['push'](_0x100343['shift']());}}}(a109_0x3d6e,0x197cd));const winston=require(a109_0x127aef(0x17e)),path=require(a109_0x127aef(0x1c4)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a109_0x127aef(0x18d)),tempLogDir=a109_0x127aef(0x188),logFormat=winston['format'](_0x4f4eb6=>{const _0x92e5ff=a109_0x127aef,_0x1df5e9={};_0x1df5e9['VBgOV']=function(_0x439b3a,_0x314c61){return _0x439b3a!==_0x314c61;},_0x1df5e9[_0x92e5ff(0x191)]='string',_0x1df5e9[_0x92e5ff(0x195)]=function(_0x589b60,_0x8f693c){return _0x589b60===_0x8f693c;},_0x1df5e9[_0x92e5ff(0x1b0)]='[REDACTED]';const _0x11638d=_0x1df5e9;return _0x11638d[_0x92e5ff(0x18a)](typeof _0x4f4eb6[_0x92e5ff(0x184)],_0x11638d['Edbrx'])&&(_0x4f4eb6[_0x92e5ff(0x184)]=JSON[_0x92e5ff(0x182)](_0x4f4eb6[_0x92e5ff(0x184)])),global['session']?.[_0x92e5ff(0x18b)]?.[_0x92e5ff(0x19a)]&&_0x11638d[_0x92e5ff(0x195)](typeof _0x4f4eb6[_0x92e5ff(0x184)],_0x11638d['Edbrx'])&&(_0x4f4eb6[_0x92e5ff(0x184)]=_0x4f4eb6[_0x92e5ff(0x184)][_0x92e5ff(0x1a0)](new RegExp(global[_0x92e5ff(0x1be)][_0x92e5ff(0x18b)][_0x92e5ff(0x19a)],'g'),_0x11638d[_0x92e5ff(0x1b0)])),global['session']?.[_0x92e5ff(0x18b)]?.[_0x92e5ff(0x19c)]&&_0x11638d['bQRCj'](typeof _0x4f4eb6[_0x92e5ff(0x184)],_0x11638d[_0x92e5ff(0x191)])&&(_0x4f4eb6['message']=_0x4f4eb6['message'][_0x92e5ff(0x1a0)](new RegExp(global[_0x92e5ff(0x1be)]['config']['accessKey'],'g'),_0x11638d[_0x92e5ff(0x1b0)])),_0x4f4eb6;}),fetchLogDir=()=>{const _0x2dee30=a109_0x127aef;if(process['env'][_0x2dee30(0x1bd)])return process[_0x2dee30(0x17c)][_0x2dee30(0x1bd)];else!fs[_0x2dee30(0x19e)](tempLogDir)&&fs[_0x2dee30(0x183)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x50d5ea=a109_0x127aef,_0xb3deb1={};_0xb3deb1[_0x50d5ea(0x1a3)]=_0x50d5ea(0x1c2);const _0x5396d5=_0xb3deb1,_0x550b28=process[_0x50d5ea(0x17c)][_0x50d5ea(0x1b4)],_0x655c82=Object[_0x50d5ea(0x186)](winston[_0x50d5ea(0x18b)][_0x50d5ea(0x1a7)]['levels']);if(_0x550b28&&_0x655c82[_0x50d5ea(0x17b)](_0x550b28[_0x50d5ea(0x1b5)]()))return _0x550b28['toLowerCase']();return _0x5396d5[_0x50d5ea(0x1a3)];},initialLogLevel=getInitialLogLevel(),a109_0x130a87={};a109_0x130a87[a109_0x127aef(0x1af)]=a109_0x127aef(0x1a6),a109_0x130a87['level']=initialLogLevel;const transports={'loggerConsole':new winston[(a109_0x127aef(0x178))][(a109_0x127aef(0x17f))](a109_0x130a87),'loggerFile':new winston[(a109_0x127aef(0x178))]['File']({'filename':path['join'](logDir,a109_0x127aef(0x189)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a109_0x127aef(0x178))]['File']({'filename':path['join'](logDir,a109_0x127aef(0x1c5)),'level':a109_0x127aef(0x196)}),'debugCliLoggerFile':new winston[(a109_0x127aef(0x178))]['File']({'filename':path[a109_0x127aef(0x190)](logDir,'/sdk-cli-debug.log'),'level':'silly'}),'buildLinkTransport':new winston[(a109_0x127aef(0x178))][(a109_0x127aef(0x1b2))]({'filename':path[a109_0x127aef(0x190)](logDir,a109_0x127aef(0x189)),'level':a109_0x127aef(0x196)})},automationTransports={};process[a109_0x127aef(0x17c)]['BROWSERSTACK_AUTOMATION_LOGS']===a109_0x127aef(0x1b9)&&(automationTransports[a109_0x127aef(0x199)]=new winston[(a109_0x127aef(0x178))][(a109_0x127aef(0x1b2))]({'filename':path[a109_0x127aef(0x190)](logDir,'automation.log'),'level':a109_0x127aef(0x196)}));function a109_0x3d6e(){const _0x491e69=['existsSync','combine','replace','printf','add','UECMB','29888CEppdA','sNUfC','console.info','npm','createLogger','\x20-\x20','316878YsgPdC','format','initialize','debug','658269OTNPFQ','name','LoDwI','http','File','timestamp','BROWSERSTACK_LOG_LEVEL','toLowerCase','4990lpWsQT','level','YYYY-MM-DD\x20HH:mm:ss','true','3333DwXFKs','xCajr','BROWSERSTACK_AUTOMATION_LOGS','BROWSERSTACK_INTERNAL_LOG_DIR','session','WQFcu','getLogDir','buildLinkTransport','info','uncolorize','path','/usage-debug.log','colorize','loggerConsole','transports','loggerFile','7aUitnl','includes','env','warn','winston','Console','60oOdbbW','EPIPE','stringify','mkdirSync','message','logDir','keys','fileLogger','log','/usage.log','VBgOV','config','winstonLogger','../bin/utils/constants','OdgCa','error','join','Edbrx','debugLoggerFile','409655JMlAjB','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','bQRCj','silly','6276JRvqaU','741544wWbgTm','automationLoggerFile','userName','4lTpalE','accessKey','code'];a109_0x3d6e=function(){return _0x491e69;};return a109_0x3d6e();}transports[a109_0x127aef(0x1c7)]['on'](a109_0x127aef(0x18f),_0x431992=>{const _0x118922=a109_0x127aef,_0x364978={};_0x364978[_0x118922(0x1bb)]=function(_0x35bbcf,_0x5e5947){return _0x35bbcf===_0x5e5947;},_0x364978['WQFcu']=_0x118922(0x181),_0x364978[_0x118922(0x18e)]=_0x118922(0x194);const _0x5754a2=_0x364978;if(_0x5754a2[_0x118922(0x1bb)](_0x431992[_0x118922(0x19d)],_0x5754a2[_0x118922(0x1bf)])){console[_0x118922(0x188)](_0x5754a2[_0x118922(0x18e)],_0x431992[_0x118922(0x184)]);return;}throw _0x431992;});const a109_0x105cd5={};a109_0x105cd5[a109_0x127aef(0x1ab)]=a109_0x127aef(0x1b8);const a109_0x52e6c5={};function a109_0x3cf6(_0x45a2cd,_0x2ecb62){const _0x3d6e39=a109_0x3d6e();return a109_0x3cf6=function(_0x3cf687,_0x21ccdc){_0x3cf687=_0x3cf687-0x178;let _0x39e52c=_0x3d6e39[_0x3cf687];return _0x39e52c;},a109_0x3cf6(_0x45a2cd,_0x2ecb62);}a109_0x52e6c5[a109_0x127aef(0x1b7)]=!![];const winstonLoggerParams={'format':winston[a109_0x127aef(0x1ab)][a109_0x127aef(0x19f)](winston['format']['timestamp'](a109_0x105cd5),winston[a109_0x127aef(0x1ab)]['colorize'](a109_0x52e6c5),winston['format'][a109_0x127aef(0x1a1)](_0x198e58=>_0x198e58[a109_0x127aef(0x1b3)]+'\x20-\x20'+_0x198e58['level']+':\x20'+_0x198e58[a109_0x127aef(0x184)])),'transports':[transports[a109_0x127aef(0x1c7)]]},a109_0x3d69e8={};a109_0x3d69e8[a109_0x127aef(0x1ab)]=a109_0x127aef(0x1b8);const a109_0x2167cf={};a109_0x2167cf[a109_0x127aef(0x1b7)]=!![];const winstonFileLoggerParams={'format':winston[a109_0x127aef(0x1ab)][a109_0x127aef(0x19f)](winston[a109_0x127aef(0x1ab)][a109_0x127aef(0x1b3)](a109_0x3d69e8),winston[a109_0x127aef(0x1ab)][a109_0x127aef(0x1c6)](a109_0x2167cf),winston[a109_0x127aef(0x1ab)][a109_0x127aef(0x1a1)](_0x3fc2c7=>_0x3fc2c7[a109_0x127aef(0x1b7)]+':\x20'+_0x3fc2c7[a109_0x127aef(0x184)])),'transports':[]},a109_0x22506e={};a109_0x22506e['format']='YYYY-MM-DD\x20HH:mm:ss';const a109_0x31b6e2={};a109_0x31b6e2[a109_0x127aef(0x1b7)]=!![];const a109_0x3ee6f3={};a109_0x3ee6f3['level']=a109_0x127aef(0x196);const BuildLoggerParams={'format':winston['format'][a109_0x127aef(0x19f)](winston['format'][a109_0x127aef(0x1b3)](a109_0x22506e),winston[a109_0x127aef(0x1ab)][a109_0x127aef(0x1c6)](a109_0x31b6e2),winston[a109_0x127aef(0x1ab)][a109_0x127aef(0x1a1)](_0x5501b8=>_0x5501b8[a109_0x127aef(0x1b3)]+a109_0x127aef(0x1a9)+_0x5501b8[a109_0x127aef(0x1b7)]+':\x20'+_0x5501b8['message'])),'transports':[transports[a109_0x127aef(0x1c1)],new winston[(a109_0x127aef(0x178))][(a109_0x127aef(0x17f))](a109_0x3ee6f3)]},a109_0x57cafc={};a109_0x57cafc[a109_0x127aef(0x1b1)]=()=>{},a109_0x57cafc[a109_0x127aef(0x1c2)]=()=>{},a109_0x57cafc[a109_0x127aef(0x17d)]=()=>{},a109_0x57cafc['error']=()=>{},a109_0x57cafc[a109_0x127aef(0x1ad)]=()=>{},a109_0x57cafc['silly']=()=>{},exports['automationLogger']=process[a109_0x127aef(0x17c)][a109_0x127aef(0x1bc)]===a109_0x127aef(0x1b9)?winston[a109_0x127aef(0x1a8)]({'format':winston[a109_0x127aef(0x1ab)]['combine'](winston['format'][a109_0x127aef(0x1c3)](),winston[a109_0x127aef(0x1ab)]['timestamp'](),logFormat(),winston[a109_0x127aef(0x1ab)]['printf'](_0x171ffe=>_0x171ffe['level']+':\x20'+_0x171ffe[a109_0x127aef(0x184)])),'transports':[automationTransports[a109_0x127aef(0x199)]]}):a109_0x57cafc;const initialize=()=>{const _0xfff04a=a109_0x127aef,_0x2ff4cd={};_0x2ff4cd[_0xfff04a(0x1a5)]=_0xfff04a(0x196);const _0x5304ae=_0x2ff4cd,_0x372b42=transports['loggerConsole']['level']||initialLogLevel;transports[_0xfff04a(0x179)]=new winston[(_0xfff04a(0x178))][(_0xfff04a(0x1b2))]({'filename':path['join'](exports[_0xfff04a(0x185)],LOG_FILE_NAME),'level':_0x372b42}),transports[_0xfff04a(0x192)]=new winston[(_0xfff04a(0x178))]['File']({'filename':path[_0xfff04a(0x190)](exports['logDir'],DEBUG_LOG_FILE_NAME),'level':_0x5304ae[_0xfff04a(0x1a5)]}),exports[_0xfff04a(0x18c)]['add'](transports[_0xfff04a(0x179)]),exports[_0xfff04a(0x18c)][_0xfff04a(0x1a2)](transports[_0xfff04a(0x192)]),exports[_0xfff04a(0x187)][_0xfff04a(0x1a2)](transports['loggerFile']),exports[_0xfff04a(0x187)][_0xfff04a(0x1a2)](transports[_0xfff04a(0x192)]);};exports[a109_0x127aef(0x18c)]=new winston['createLogger'](winstonLoggerParams),exports['fileLogger']=new winston['createLogger'](winstonFileLoggerParams),exports['buildLogger']=new winston['createLogger'](BuildLoggerParams),exports[a109_0x127aef(0x185)]=logDir,exports[a109_0x127aef(0x1c0)]=()=>{const _0x560c2b=a109_0x127aef;return exports[_0x560c2b(0x185)];},exports[a109_0x127aef(0x178)]=transports,exports[a109_0x127aef(0x1ac)]=initialize;logDir&&initialize();
@@ -1 +1 @@
1
- const a110_0x4bc9bd=a110_0xb56c;(function(_0x5c04ce,_0x5349a0){const _0x418ece=a110_0xb56c,_0x494d44=_0x5c04ce();while(!![]){try{const _0xb582a1=parseInt(_0x418ece(0x1d5))/0x1+parseInt(_0x418ece(0x1e3))/0x2*(parseInt(_0x418ece(0x1d7))/0x3)+parseInt(_0x418ece(0x1f6))/0x4+parseInt(_0x418ece(0x1ef))/0x5+parseInt(_0x418ece(0x1d9))/0x6*(parseInt(_0x418ece(0x1dd))/0x7)+-parseInt(_0x418ece(0x1ed))/0x8*(parseInt(_0x418ece(0x1e6))/0x9)+-parseInt(_0x418ece(0x1f4))/0xa*(parseInt(_0x418ece(0x1ee))/0xb);if(_0xb582a1===_0x5349a0)break;else _0x494d44['push'](_0x494d44['shift']());}catch(_0x225ad4){_0x494d44['push'](_0x494d44['shift']());}}}(a110_0x297f,0x80bda));const globals=require(a110_0x4bc9bd(0x1e8)),helper=require(a110_0x4bc9bd(0x1e4)),logger=require(a110_0x4bc9bd(0x1f2))['winstonLogger'];function a110_0x297f(){const _0x2ae2e2=['exports','uQLAA','length','2596538NSRmLZ','lcnc','BQUoI','identifier','getGlobal','get','2iEOHBU','./helper','getCentralUser','99qUYBFQ','UXyrg','./globals','ScGtK','UUWuR','testMeta','setGlobal','632824jMOAtJ','13981pAznyu','3887520yRxuCs','warn','testMeta-','./logger','The\x20metadata\x20object\x20is\x20not\x20valid.','10690NyDGPk','set','2976824oaQFVb','testRunUUID','708627RRPAYX','flCOB','464649kgSNEO','lfQOg','6OgKnlU'];a110_0x297f=function(){return _0x2ae2e2;};return a110_0x297f();}function a110_0xb56c(_0x108f41,_0x502c4f){const _0x297fa5=a110_0x297f();return a110_0xb56c=function(_0xb56c29,_0x4fd927){_0xb56c29=_0xb56c29-0x1d5;let _0x4824ce=_0x297fa5[_0xb56c29];return _0x4824ce;},a110_0xb56c(_0x108f41,_0x502c4f);}module[a110_0x4bc9bd(0x1da)]=class TestMetadata{static[a110_0x4bc9bd(0x1f5)](_0x5c9ac0={}){const _0x2d920d=a110_0x4bc9bd,_0x9ee1af={};_0x9ee1af[_0x2d920d(0x1e7)]=_0x2d920d(0x1f7),_0x9ee1af[_0x2d920d(0x1d6)]=function(_0x1918f1,_0x3835f0){return _0x1918f1===_0x3835f0;},_0x9ee1af[_0x2d920d(0x1db)]='string',_0x9ee1af[_0x2d920d(0x1d8)]=function(_0x12c7bc,_0x2a03e6){return _0x12c7bc<=_0x2a03e6;},_0x9ee1af[_0x2d920d(0x1ea)]=_0x2d920d(0x1eb),_0x9ee1af[_0x2d920d(0x1df)]=_0x2d920d(0x1f3);const _0x38c483=_0x9ee1af,_0x20a321=globals[_0x2d920d(0x1e1)](_0x38c483[_0x2d920d(0x1e7)]),_0x49217e=_0x5c9ac0[_0x2d920d(0x1e0)];helper[_0x2d920d(0x1e5)]()['lcnc']&&(_0x38c483[_0x2d920d(0x1d6)](typeof _0x49217e,_0x38c483['uQLAA'])&&_0x38c483[_0x2d920d(0x1d8)](_0x49217e[_0x2d920d(0x1dc)],0x28)?_0x20a321?globals[_0x2d920d(0x1ec)](_0x2d920d(0x1f1)+_0x20a321,_0x5c9ac0):globals[_0x2d920d(0x1ec)](_0x38c483[_0x2d920d(0x1ea)],_0x5c9ac0):logger[_0x2d920d(0x1f0)](_0x38c483[_0x2d920d(0x1df)]));}static[a110_0x4bc9bd(0x1e2)](_0x4a7077){const _0x357551=a110_0x4bc9bd,_0x5cb2bf={};_0x5cb2bf['ScGtK']=_0x357551(0x1eb);const _0x3a0428=_0x5cb2bf;if(helper['getCentralUser']()[_0x357551(0x1de)])return globals[_0x357551(0x1e1)]('testMeta-'+_0x4a7077)||globals[_0x357551(0x1e1)](_0x3a0428[_0x357551(0x1e9)])||{};return{};}};
1
+ const a110_0x8f6ba4=a110_0x31a3;(function(_0x17e728,_0xb41b6){const _0x4ebbe2=a110_0x31a3,_0x513e6c=_0x17e728();while(!![]){try{const _0x10bb58=parseInt(_0x4ebbe2(0xee))/0x1*(-parseInt(_0x4ebbe2(0x101))/0x2)+parseInt(_0x4ebbe2(0xfb))/0x3*(-parseInt(_0x4ebbe2(0xf9))/0x4)+parseInt(_0x4ebbe2(0xe6))/0x5+parseInt(_0x4ebbe2(0xf7))/0x6*(-parseInt(_0x4ebbe2(0xe9))/0x7)+parseInt(_0x4ebbe2(0xe5))/0x8+parseInt(_0x4ebbe2(0xf0))/0x9*(-parseInt(_0x4ebbe2(0xf5))/0xa)+parseInt(_0x4ebbe2(0x100))/0xb*(parseInt(_0x4ebbe2(0xe0))/0xc);if(_0x10bb58===_0xb41b6)break;else _0x513e6c['push'](_0x513e6c['shift']());}catch(_0x51f9d3){_0x513e6c['push'](_0x513e6c['shift']());}}}(a110_0x4d2a,0xdcaf1));function a110_0x31a3(_0x188da3,_0xca6f4e){const _0x4d2a3c=a110_0x4d2a();return a110_0x31a3=function(_0x31a3e4,_0x16ff4d){_0x31a3e4=_0x31a3e4-0xe0;let _0x3a06e8=_0x4d2a3c[_0x31a3e4];return _0x3a06e8;},a110_0x31a3(_0x188da3,_0xca6f4e);}const globals=require(a110_0x8f6ba4(0xfc)),helper=require(a110_0x8f6ba4(0xec)),logger=require(a110_0x8f6ba4(0xef))[a110_0x8f6ba4(0xfe)];module['exports']=class TestMetadata{static[a110_0x8f6ba4(0xe4)](_0xa1e66e={}){const _0x56f26b=a110_0x8f6ba4,_0x46a15f={};_0x46a15f['GNcLI']='testRunUUID',_0x46a15f['EuYbX']=function(_0x1094a6,_0x11cc47){return _0x1094a6===_0x11cc47;},_0x46a15f[_0x56f26b(0xe7)]=_0x56f26b(0x102),_0x46a15f['tYZLL']=function(_0x594834,_0x1af284){return _0x594834<=_0x1af284;},_0x46a15f[_0x56f26b(0xfd)]=_0x56f26b(0xff),_0x46a15f[_0x56f26b(0xfa)]=_0x56f26b(0xea);const _0x4e9552=_0x46a15f,_0x470076=globals['getGlobal'](_0x4e9552[_0x56f26b(0xf6)]),_0x2117f3=_0xa1e66e[_0x56f26b(0xeb)];helper[_0x56f26b(0xed)]()[_0x56f26b(0xf8)]&&(_0x4e9552[_0x56f26b(0xf3)](typeof _0x2117f3,_0x4e9552[_0x56f26b(0xe7)])&&_0x4e9552[_0x56f26b(0xe2)](_0x2117f3[_0x56f26b(0xf4)],0x28)?_0x470076?globals[_0x56f26b(0xe8)](_0x56f26b(0xe1)+_0x470076,_0xa1e66e):globals[_0x56f26b(0xe8)](_0x4e9552[_0x56f26b(0xfd)],_0xa1e66e):logger[_0x56f26b(0xf1)](_0x4e9552['zMtXJ']));}static['get'](_0x3df96e){const _0xe11c50=a110_0x8f6ba4,_0x59faba={};_0x59faba[_0xe11c50(0xf2)]=_0xe11c50(0xff);const _0x4535ee=_0x59faba;if(helper[_0xe11c50(0xed)]()['lcnc'])return globals[_0xe11c50(0xe3)](_0xe11c50(0xe1)+_0x3df96e)||globals['getGlobal'](_0x4535ee['WPMiu'])||{};return{};}};function a110_0x4d2a(){const _0x43f898=['winstonLogger','testMeta','10769JJlonq','62RwSaCQ','string','21660WutQID','testMeta-','tYZLL','getGlobal','set','13403800UEWThU','4432985SlhttX','zKBGK','setGlobal','99442PKPGLS','The\x20metadata\x20object\x20is\x20not\x20valid.','identifier','./helper','getCentralUser','55197cxcCQh','./logger','6040791fKbltT','warn','WPMiu','EuYbX','length','20TmzFBw','GNcLI','12sxQFNA','lcnc','84UyDuxN','zMtXJ','49047eEjrOQ','./globals','dgQZG'];a110_0x4d2a=function(){return _0x43f898;};return a110_0x4d2a();}
@@ -1 +1 @@
1
- function a111_0x185e(_0x2df055,_0x1aad05){const _0x1a4a74=a111_0x1a4a();return a111_0x185e=function(_0x185edd,_0x246eb9){_0x185edd=_0x185edd-0x1f4;let _0x5c6c06=_0x1a4a74[_0x185edd];return _0x5c6c06;},a111_0x185e(_0x2df055,_0x1aad05);}const a111_0x3554ff=a111_0x185e;(function(_0x279ef9,_0x9066fb){const _0x31b1de=a111_0x185e,_0x43cf77=_0x279ef9();while(!![]){try{const _0x5248e7=-parseInt(_0x31b1de(0x23a))/0x1+-parseInt(_0x31b1de(0x219))/0x2+-parseInt(_0x31b1de(0x22d))/0x3*(-parseInt(_0x31b1de(0x223))/0x4)+-parseInt(_0x31b1de(0x21f))/0x5*(parseInt(_0x31b1de(0x26b))/0x6)+parseInt(_0x31b1de(0x222))/0x7+parseInt(_0x31b1de(0x205))/0x8+-parseInt(_0x31b1de(0x228))/0x9*(-parseInt(_0x31b1de(0x262))/0xa);if(_0x5248e7===_0x9066fb)break;else _0x43cf77['push'](_0x43cf77['shift']());}catch(_0x4f4cdf){_0x43cf77['push'](_0x43cf77['shift']());}}}(a111_0x1a4a,0x59587));function a111_0x1a4a(){const _0x5a07f1=['name','format','./helper','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','lfIjZ','][\x20SDK-AUTOMATION\x20]\x20','aiSdk_defaultLogDataEnabled','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','xNoRF','ywguo','BNNrh','./performance/performance-tester','woOpl','NirSj','getId','fDuQM','findElement\x20command\x20failed\x20with\x20cssPath:\x20','error','local','zlWXC','DZIbF','./ai-sdk/aiSdkWrapper','915440luDiTh','script','JpSXy','aiHeal:findElementFailure','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','Caqey','OBIYU','find','silly','isBrowserstackInfra','getSession','KEvih','jdgrg','getTcgTokenStatus','ZuCBU','bstack:options','using','ENeRb','aiHeal:setToken','browserstack.local','683998iCzJPq','name_','findElement','XViYX','tKFDl','vkips','6010NMhsgx','LOsMn','PRE_EXECUTE','4221147hPBNnO','8ZCCSxP','isSelfHealEnabled','parameters','nmLxH','YUaCb','555597camhYt','wKNmt','message','ZAkiN','executeAsyncScript','454587EMQWSS','value','afsPf','debug','gSGFY','AUTOMATION_LOG_COMMANDS','BuodD','response','KtGgD','zMdwY','EdRal','getGlobal','toString','376621APjUaB','UryVs','KNBUA','qiAsD','JZqTy','Successfully\x20healed\x20command\x20using\x20new\x20','ajXBZ','./logger','tPzIt','yMvXI','fGLwm','lUFfc','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','NoSuchElementError','aiHeal:findElementSuccess','toISOString','xziqA','setTcgToken','patchExecute','YGWsO','BLTmK','jObPM','aiHeal_isAuthenticated','url','yWInZ','execute','qrPmf','parameters_','css\x20selector','aiHeal_isHealingEnabled','cEiLh','POST_EXECUTE','LLkSQ','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','jcZmV','siBHG','JauiX','../bin/utils/constants','tmxNj','JavascriptError','120krVITM','skipHealingSuccess','YMaMI','jNwHb',';\x20Trying\x20to\x20heal','NUDGE_LOCAL_ERRORS','setTcgTokenStatus','setAiSessionTimeStamp','overrideExecute','3378DRDhzF','hlDnc','info','executeScript','KxxNm','PQhsD','nestedKeyValue','initExecute','jnWlP','handleFailure','srbXt','./ai-sdk/autoHealHelper','measureWrapper','xKLgG','vIJwN','RVcjg','AfPOK','handleSuccess'];a111_0x1a4a=function(){return _0x5a07f1;};return a111_0x1a4a();}const {aiSdkWrapper}=require(a111_0x3554ff(0x204)),{commandRepository}=require(a111_0x3554ff(0x276)),PerformanceTester=require(a111_0x3554ff(0x1fa)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a111_0x3554ff(0x241)),helper=require(a111_0x3554ff(0x27f)),constants=require(a111_0x3554ff(0x25f)),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require('util');exports[a111_0x3554ff(0x26a)]=(_0x257ff7,_0x208fff)=>{const _0x4510af=a111_0x3554ff,_0x59dfbd={'YMaMI':_0x4510af(0x1f5),'nmLxH':function(_0x755c8c,_0x4f85f9){return _0x755c8c===_0x4f85f9;},'tmxNj':_0x4510af(0x21b),'YUaCb':_0x4510af(0x250),'KEvih':_0x4510af(0x257),'LOsMn':_0x4510af(0x248),'tPzIt':function(_0x3edd6a){return _0x3edd6a();},'xNoRF':_0x4510af(0x217),'YiVEx':_0x4510af(0x1f6),'LLkSQ':function(_0x12e298,_0x5b7e2a){return _0x12e298===_0x5b7e2a;},'KtGgD':_0x4510af(0x247),'JpSXy':_0x4510af(0x261),'RVcjg':_0x4510af(0x256),'tKFDl':function(_0x2e315e,_0x527f78){return _0x2e315e+_0x527f78;},'BuodD':_0x4510af(0x1ff),'BLTmK':_0x4510af(0x266),'DZIbF':function(_0x2e34b4,_0x52881b){return _0x2e34b4+_0x52881b;},'XViYX':'findElement\x20command\x20failed\x20with\x20','hlDnc':_0x4510af(0x208),'Caqey':function(_0x110ce4){return _0x110ce4();},'ClRhU':function(_0x5a180f,_0x23639f){return _0x5a180f&&_0x23639f;},'xKLgG':_0x4510af(0x246),'JFHpu':_0x4510af(0x23f),'ZuCBU':_0x4510af(0x25b),'KNBUA':function(_0x1d4f8c,_0x4323e0){return _0x1d4f8c+_0x4323e0;},'UryVs':'Healing\x20failed\x20for\x20command\x20using\x20','KxxNm':function(_0x19104a,_0x177c5f){return _0x19104a===_0x177c5f;},'zMdwY':'get','ywguo':_0x4510af(0x255),'woOpl':_0x4510af(0x251),'ZAkiN':_0x4510af(0x209),'NirSj':_0x4510af(0x22c),'whmxU':function(_0xaa2d44,_0x1adb29){return _0xaa2d44===_0x1adb29;},'EdRal':_0x4510af(0x26e),'qiAsD':function(_0x5904b7,_0x5c5d0a){return _0x5904b7===_0x5c5d0a;},'fGLwm':'string','dTrZb':'capability','JVrXR':_0x4510af(0x218),'Azesn':_0x4510af(0x214),'JZqTy':_0x4510af(0x201)},_0x1bab1e=_0x257ff7[_0x4510af(0x24c)]||(helper[_0x4510af(0x271)](_0x208fff,[_0x59dfbd['dTrZb'],_0x59dfbd['JVrXR']])||helper[_0x4510af(0x271)](_0x208fff,[_0x59dfbd['dTrZb'],_0x59dfbd['Azesn'],_0x59dfbd[_0x4510af(0x23e)]]));if(!globals['getGlobal'](_0x59dfbd[_0x4510af(0x227)])&&!globals[_0x4510af(0x238)](_0x59dfbd[_0x4510af(0x210)])&&_0x1bab1e)return;_0x257ff7[_0x4510af(0x24c)]=!![],_0x257ff7[_0x4510af(0x272)]=_0x257ff7[_0x4510af(0x253)],_0x257ff7[_0x4510af(0x253)]=async _0x492dae=>{const _0x260048=_0x4510af,_0x3f2901={'jObPM':_0x59dfbd[_0x260048(0x227)],'ENeRb':_0x59dfbd[_0x260048(0x1f7)],'YGWsO':function(_0xb38165){const _0x25f102=_0x260048;return _0x59dfbd[_0x25f102(0x242)](_0xb38165);},'PQhsD':_0x59dfbd['YiVEx'],'iJPaI':function(_0x364da6,_0x5471a4){const _0x4b3c19=_0x260048;return _0x59dfbd[_0x4b3c19(0x25a)](_0x364da6,_0x5471a4);},'lUFfc':_0x59dfbd[_0x260048(0x235)],'ajXBZ':_0x59dfbd[_0x260048(0x207)],'srbXt':function(_0x26e489,_0x17189d){const _0x339d31=_0x260048;return _0x59dfbd[_0x339d31(0x226)](_0x26e489,_0x17189d);},'fDuQM':_0x59dfbd[_0x260048(0x260)],'gSGFY':_0x59dfbd[_0x260048(0x210)],'BNNrh':_0x59dfbd[_0x260048(0x27a)],'jNwHb':function(_0x476d7d,_0x3b6e3d){const _0x3aa57b=_0x260048;return _0x59dfbd[_0x3aa57b(0x21d)](_0x476d7d,_0x3b6e3d);},'xziqA':_0x59dfbd[_0x260048(0x233)],'vkips':_0x59dfbd[_0x260048(0x24e)],'wKNmt':function(_0x4a56fa,_0x36e5c5){const _0x10132c=_0x260048;return _0x59dfbd[_0x10132c(0x203)](_0x4a56fa,_0x36e5c5);},'vIJwN':_0x59dfbd[_0x260048(0x21c)],'cEiLh':_0x59dfbd[_0x260048(0x26c)],'yWInZ':function(_0x124537){const _0x276e07=_0x260048;return _0x59dfbd[_0x276e07(0x20a)](_0x124537);},'lfIjZ':function(_0x41dc2d,_0x24f175){return _0x59dfbd['ClRhU'](_0x41dc2d,_0x24f175);},'jdgrg':_0x59dfbd[_0x260048(0x278)],'afsPf':function(_0x4d581f,_0x247356){const _0x4b0ef3=_0x260048;return _0x59dfbd[_0x4b0ef3(0x21d)](_0x4d581f,_0x247356);},'JauiX':function(_0x3f7598,_0x1bec11){return _0x59dfbd['tKFDl'](_0x3f7598,_0x1bec11);},'jnWlP':_0x59dfbd['JFHpu'],'sXcKk':_0x59dfbd[_0x260048(0x213)],'jcZmV':function(_0x640e79,_0x5d94fd){const _0x5c6d72=_0x260048;return _0x59dfbd[_0x5c6d72(0x23c)](_0x640e79,_0x5d94fd);},'AfPOK':_0x59dfbd[_0x260048(0x23b)],'Pzwwy':function(_0x1e2769,_0x3487b6){const _0x33e0a4=_0x260048;return _0x59dfbd[_0x33e0a4(0x26f)](_0x1e2769,_0x3487b6);},'qrPmf':_0x59dfbd[_0x260048(0x236)],'OBIYU':_0x59dfbd[_0x260048(0x1f8)],'siBHG':_0x59dfbd[_0x260048(0x1fb)],'zlWXC':_0x59dfbd[_0x260048(0x22b)]};try{const _0x2e73d8={};_0x2e73d8['command']=_0x492dae[_0x260048(0x21a)],await PerformanceTester[_0x260048(0x277)](PerformanceDriverEvents[_0x260048(0x221)],async()=>{const _0x3d0101=_0x260048,_0x1e7981={};_0x1e7981[_0x3d0101(0x243)]=_0x3f2901[_0x3d0101(0x24f)];const _0x134d97=_0x1e7981;if(!commandRepository[_0x3d0101(0x212)]()&&globals['getGlobal'](_0x3f2901[_0x3d0101(0x24f)])){const _0x1c7bd4=PerformanceTester[_0x3d0101(0x277)](_0x3f2901[_0x3d0101(0x216)],async()=>{const _0x1c5686=_0x3d0101;try{commandRepository[_0x1c5686(0x268)](!![]),await aiSdkWrapper[_0x1c5686(0x24b)]((await _0x257ff7[_0x1c5686(0x20f)]())[_0x1c5686(0x1fd)]());const _0x545a5a=globals['getGlobal'](_0x134d97['yMvXI']);_0x545a5a&&commandRepository[_0x1c5686(0x269)]((await _0x257ff7[_0x1c5686(0x20f)]())[_0x1c5686(0x1fd)]());}catch(_0x434f14){logger[_0x1c5686(0x200)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x434f14);}});await _0x3f2901[_0x3d0101(0x24d)](_0x1c7bd4);}},_0x2e73d8)();const _0x3cac6d=await _0x257ff7['initExecute'](_0x492dae);try{if(_0x59dfbd[_0x260048(0x25a)](_0x492dae[_0x260048(0x21a)],_0x59dfbd[_0x260048(0x1fc)])||_0x59dfbd['whmxU'](_0x492dae['name_'],_0x59dfbd[_0x260048(0x237)])){const _0x786ab7=_0x492dae['parameters_']&&_0x492dae['parameters_'][_0x260048(0x206)],_0x50eb4b=_0x492dae[_0x260048(0x255)]&&_0x492dae[_0x260048(0x255)]['args'],_0xc5f1e8=_0x50eb4b&&util[_0x260048(0x27e)]('%j',_0x50eb4b);if(_0x786ab7&&_0x59dfbd[_0x260048(0x23d)](typeof _0x786ab7,_0x59dfbd[_0x260048(0x244)])){const _0x3ad878=constants[_0x260048(0x232)][_0x260048(0x20c)](_0x318ff4=>_0x786ab7['includes'](_0x318ff4)||_0xc5f1e8&&_0xc5f1e8['includes'](_0x318ff4));if(_0x3ad878){const _0x14b6a8={};_0x14b6a8['command']=_0x3ad878,_0x14b6a8[_0x260048(0x225)]=_0x50eb4b;const _0x3711d6={};_0x3711d6['body']=_0x3cac6d;const _0x422443={};_0x422443['request']=_0x14b6a8,_0x422443[_0x260048(0x234)]=_0x3711d6,automationLogger['silly']('['+new Date()[_0x260048(0x249)]()+_0x260048(0x1f4)+util['format']('%j',_0x422443));}}}}catch(_0x6f5819){logger[_0x260048(0x20d)](_0x260048(0x280)+_0x6f5819[_0x260048(0x22a)]);}return await PerformanceTester[_0x260048(0x277)](PerformanceDriverEvents[_0x260048(0x259)],async()=>{const _0x410352=_0x260048;if(!helper[_0x410352(0x20e)]()&&(commandRepository[_0x410352(0x224)]()||globals[_0x410352(0x238)](_0x59dfbd[_0x410352(0x264)]))&&_0x59dfbd['nmLxH'](_0x492dae[_0x410352(0x21a)],_0x59dfbd[_0x410352(0x260)])&&!_0x492dae[_0x410352(0x263)]&&globals[_0x410352(0x238)](_0x59dfbd[_0x410352(0x227)])&&globals[_0x410352(0x238)](_0x59dfbd[_0x410352(0x210)])){const _0x9e7e05=new Date(),_0x4e014a=PerformanceTester[_0x410352(0x277)](_0x59dfbd[_0x410352(0x220)],async()=>{const _0x5d0562=_0x410352;return await aiSdkWrapper[_0x5d0562(0x27c)](_0x208fff,_0x257ff7,_0x492dae);});await _0x59dfbd[_0x410352(0x242)](_0x4e014a);}},{'command':_0x492dae['name_']})(),_0x3cac6d;}catch(_0x5cb275){await PerformanceTester[_0x260048(0x277)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x267d36=_0x260048;logger[_0x267d36(0x230)](_0x3f2901[_0x267d36(0x270)]);try{if(!helper[_0x267d36(0x20e)]()&&(_0x3f2901['iJPaI'](_0x5cb275[_0x267d36(0x27d)],_0x3f2901[_0x267d36(0x245)])||_0x3f2901['iJPaI'](_0x5cb275['name'],_0x3f2901[_0x267d36(0x240)]))&&_0x3f2901['srbXt'](_0x492dae[_0x267d36(0x21a)],_0x3f2901[_0x267d36(0x1fe)])&&commandRepository[_0x267d36(0x224)]()&&globals['getGlobal'](_0x3f2901[_0x267d36(0x24f)])&&globals['getGlobal'](_0x3f2901[_0x267d36(0x231)])){_0x3f2901[_0x267d36(0x275)](_0x492dae[_0x267d36(0x255)][_0x267d36(0x215)],_0x3f2901[_0x267d36(0x1f9)])?logger[_0x267d36(0x26d)](_0x3f2901['jNwHb'](_0x3f2901[_0x267d36(0x265)](_0x3f2901[_0x267d36(0x24a)],_0x492dae[_0x267d36(0x255)][_0x267d36(0x22e)]),_0x3f2901['vkips'])):logger['info'](_0x3f2901['jNwHb'](_0x3f2901['jNwHb'](_0x3f2901[_0x267d36(0x229)](_0x3f2901[_0x267d36(0x229)](_0x3f2901[_0x267d36(0x279)],_0x492dae['parameters_'][_0x267d36(0x215)]),':\x20'),_0x492dae['parameters_'][_0x267d36(0x22e)]),_0x3f2901[_0x267d36(0x21e)]));const _0x246cd3=PerformanceTester[_0x267d36(0x277)](_0x3f2901[_0x267d36(0x258)],async()=>{const _0x2c1d16=_0x267d36;return await aiSdkWrapper[_0x2c1d16(0x274)](_0x208fff,_0x257ff7,_0x492dae);}),_0x55e377=new Date(),{locatorType:_0x53a766,locatorValue:_0x539626,commandHealed:_0x2b9e98}=await _0x3f2901[_0x267d36(0x252)](_0x246cd3);if(_0x3f2901[_0x267d36(0x281)](_0x53a766,_0x539626)){_0x492dae[_0x267d36(0x255)][_0x267d36(0x215)]=_0x53a766,_0x492dae[_0x267d36(0x255)][_0x267d36(0x22e)]=_0x539626,_0x492dae[_0x267d36(0x263)]=!![];const _0x452ab7=_0x257ff7[_0x267d36(0x253)](_0x492dae);return _0x3f2901[_0x267d36(0x275)](_0x53a766,_0x3f2901[_0x267d36(0x1f9)])?logger[_0x267d36(0x26d)](_0x3f2901[_0x267d36(0x229)](_0x3f2901[_0x267d36(0x211)],_0x539626)):logger['info'](_0x3f2901[_0x267d36(0x22f)](_0x3f2901[_0x267d36(0x229)](_0x3f2901[_0x267d36(0x25e)](_0x3f2901[_0x267d36(0x273)],_0x53a766),':\x20'),_0x539626)),_0x452ab7;}else!_0x2b9e98&&(_0x3f2901[_0x267d36(0x275)](_0x53a766,_0x3f2901[_0x267d36(0x1f9)])?logger[_0x267d36(0x26d)](_0x3f2901[_0x267d36(0x25e)](_0x3f2901['sXcKk'],_0x492dae[_0x267d36(0x255)][_0x267d36(0x22e)])):logger['info'](_0x3f2901[_0x267d36(0x25c)](_0x3f2901[_0x267d36(0x229)](_0x3f2901[_0x267d36(0x229)](_0x3f2901[_0x267d36(0x27b)],_0x492dae['parameters_'][_0x267d36(0x215)]),':\x20'),_0x492dae[_0x267d36(0x255)][_0x267d36(0x22e)])));}!_0x1bab1e&&_0x3f2901['Pzwwy'](_0x492dae[_0x267d36(0x21a)],_0x3f2901[_0x267d36(0x254)])&&helper[_0x267d36(0x271)](_0x492dae,[_0x3f2901[_0x267d36(0x20b)],_0x3f2901[_0x267d36(0x25d)]])&&!!constants[_0x267d36(0x267)][_0x267d36(0x20c)](_0x352590=>{const _0x419235=_0x267d36;return _0x5cb275[_0x419235(0x239)]()['includes'](_0x352590);})&&helper['getNudgeLocalNotSetError'](_0x492dae[_0x267d36(0x255)]['url'],!![]);}catch(_0x1ccb2f){logger[_0x267d36(0x230)](_0x3f2901[_0x267d36(0x202)],_0x1ccb2f);}},{'success':![],'failure':_0x5cb275})();throw _0x5cb275;}};};
1
+ const a111_0x302077=a111_0x51aa;(function(_0x44dac3,_0x45435f){const _0x2b5285=a111_0x51aa,_0x3271dd=_0x44dac3();while(!![]){try{const _0x33541a=-parseInt(_0x2b5285(0x1ee))/0x1*(parseInt(_0x2b5285(0x20f))/0x2)+-parseInt(_0x2b5285(0x22b))/0x3+-parseInt(_0x2b5285(0x224))/0x4*(parseInt(_0x2b5285(0x1cc))/0x5)+-parseInt(_0x2b5285(0x223))/0x6+parseInt(_0x2b5285(0x1ce))/0x7+parseInt(_0x2b5285(0x211))/0x8+parseInt(_0x2b5285(0x1d3))/0x9;if(_0x33541a===_0x45435f)break;else _0x3271dd['push'](_0x3271dd['shift']());}catch(_0x40ba87){_0x3271dd['push'](_0x3271dd['shift']());}}}(a111_0x5681,0xc1a12));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a111_0x302077(0x1f3)),PerformanceTester=require(a111_0x302077(0x1cb)),globals=require(a111_0x302077(0x1d7)),{winstonLogger:logger,automationLogger}=require(a111_0x302077(0x1d0)),helper=require(a111_0x302077(0x1ea)),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a111_0x302077(0x1d4)),util=require('util');function a111_0x51aa(_0x1eb6cc,_0x341851){const _0x568181=a111_0x5681();return a111_0x51aa=function(_0x51aa3e,_0x3b68c7){_0x51aa3e=_0x51aa3e-0x1a1;let _0x5936c7=_0x568181[_0x51aa3e];return _0x5936c7;},a111_0x51aa(_0x1eb6cc,_0x341851);}exports[a111_0x302077(0x20a)]=(_0x151212,_0x399ffc)=>{const _0x8e16e5=a111_0x302077,_0xd6b169={'oqOtC':_0x8e16e5(0x1c2),'BVNno':function(_0x486145,_0x2cd776){return _0x486145===_0x2cd776;},'ktOyx':'findElement','UYAHQ':_0x8e16e5(0x1d9),'OSYJx':_0x8e16e5(0x1a6),'pczER':_0x8e16e5(0x21c),'XNHMX':function(_0x3d6b35){return _0x3d6b35();},'VWjTS':'aiHeal:setToken','rDlgV':function(_0x4ab1d7){return _0x4ab1d7();},'mywbV':_0x8e16e5(0x209),'DJBii':_0x8e16e5(0x22c),'oxzDC':function(_0x18a30b,_0x428042){return _0x18a30b===_0x428042;},'ayPqk':_0x8e16e5(0x1bf),'oLcHO':_0x8e16e5(0x206),'MzQBi':function(_0x19a415,_0x4c70f0){return _0x19a415+_0x4c70f0;},'SEvzS':_0x8e16e5(0x229),'WPlpS':_0x8e16e5(0x1e4),'jJHBj':function(_0x457f21,_0x5f5901){return _0x457f21+_0x5f5901;},'pgxtP':_0x8e16e5(0x1f7),'EdZUK':'aiHeal:findElementFailure','kdGPK':function(_0x22f6a6,_0x4011b7){return _0x22f6a6&&_0x4011b7;},'fyFjD':function(_0x45aacc,_0x20754e){return _0x45aacc===_0x20754e;},'hqWMT':function(_0x25504c,_0x4f139f){return _0x25504c+_0x4f139f;},'DmVbU':_0x8e16e5(0x1c1),'VomnE':function(_0x5ce8a9,_0x1610fc){return _0x5ce8a9+_0x1610fc;},'jZGvf':_0x8e16e5(0x227),'ScULx':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','xHKmD':_0x8e16e5(0x1d2),'sLnAt':_0x8e16e5(0x1e3),'fbcKB':'parameters_','BsufY':_0x8e16e5(0x20c),'KXOJF':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','FaxbC':function(_0x24e002,_0x42ee78){return _0x24e002===_0x42ee78;},'dSZeV':_0x8e16e5(0x202),'LRlvq':function(_0x602115,_0x555755){return _0x602115===_0x555755;},'xMXbG':_0x8e16e5(0x1fd),'UATiI':function(_0x596f89,_0x2cb379){return _0x596f89===_0x2cb379;},'zBPcW':_0x8e16e5(0x216),'qokJm':_0x8e16e5(0x218),'OPSLS':_0x8e16e5(0x1c7),'iAMME':_0x8e16e5(0x1c0),'DwDah':_0x8e16e5(0x1aa)},_0x227965=_0x151212['patchExecute']||(helper[_0x8e16e5(0x1ed)](_0x399ffc,[_0xd6b169[_0x8e16e5(0x217)],_0xd6b169[_0x8e16e5(0x1c5)]])||helper[_0x8e16e5(0x1ed)](_0x399ffc,[_0xd6b169[_0x8e16e5(0x217)],_0xd6b169[_0x8e16e5(0x1ba)],_0xd6b169[_0x8e16e5(0x22a)]]));if(!globals['getGlobal'](_0xd6b169[_0x8e16e5(0x219)])&&!globals[_0x8e16e5(0x1d8)](_0xd6b169[_0x8e16e5(0x1e7)])&&_0x227965)return;_0x151212['patchExecute']=!![],_0x151212[_0x8e16e5(0x207)]=_0x151212[_0x8e16e5(0x1dc)],_0x151212[_0x8e16e5(0x1dc)]=async _0x4ab206=>{const _0xb7ae52=_0x8e16e5,_0x7ba948={'upfWL':_0xd6b169[_0xb7ae52(0x219)],'ccFjY':_0xd6b169[_0xb7ae52(0x1db)],'IRDDS':function(_0x454f5e){return _0xd6b169['rDlgV'](_0x454f5e);},'uuIWf':_0xd6b169['mywbV'],'EVnMt':function(_0x198ebe,_0x59f39b){const _0x4339a0=_0xb7ae52;return _0xd6b169[_0x4339a0(0x200)](_0x198ebe,_0x59f39b);},'sgPgi':_0xd6b169[_0xb7ae52(0x1fe)],'MMKbG':function(_0x239c05,_0x3103d2){const _0x38662e=_0xb7ae52;return _0xd6b169[_0x38662e(0x1ac)](_0x239c05,_0x3103d2);},'JynBJ':_0xd6b169[_0xb7ae52(0x210)],'QSEyJ':_0xd6b169[_0xb7ae52(0x1e0)],'PlUxw':_0xd6b169[_0xb7ae52(0x1e7)],'JjyeM':_0xd6b169[_0xb7ae52(0x1e5)],'pLISd':function(_0x203cf3,_0x567427){const _0x1b47d8=_0xb7ae52;return _0xd6b169[_0x1b47d8(0x205)](_0x203cf3,_0x567427);},'PMJNo':_0xd6b169[_0xb7ae52(0x1b2)],'OCGPp':_0xd6b169[_0xb7ae52(0x201)],'LRtRx':function(_0x31ded7,_0x18356d){return _0xd6b169['jJHBj'](_0x31ded7,_0x18356d);},'CPLmJ':function(_0x3811b3,_0x246ec4){return _0xd6b169['MzQBi'](_0x3811b3,_0x246ec4);},'UFzbj':_0xd6b169[_0xb7ae52(0x1e2)],'aoNwW':_0xd6b169[_0xb7ae52(0x1cd)],'iNOUQ':function(_0x186f3e,_0xdac8bb){const _0x142232=_0xb7ae52;return _0xd6b169[_0x142232(0x1f2)](_0x186f3e,_0xdac8bb);},'EcQVQ':function(_0x47dddf,_0x140ad5){const _0xf1f47f=_0xb7ae52;return _0xd6b169[_0xf1f47f(0x214)](_0x47dddf,_0x140ad5);},'Eacku':function(_0x30758d,_0x2f4002){const _0x1a94b8=_0xb7ae52;return _0xd6b169[_0x1a94b8(0x1ab)](_0x30758d,_0x2f4002);},'pehOY':_0xd6b169[_0xb7ae52(0x228)],'ELQWy':function(_0x2df646,_0x403728){const _0x38c15c=_0xb7ae52;return _0xd6b169[_0x38c15c(0x1ab)](_0x2df646,_0x403728);},'ZveQJ':function(_0x3553fb,_0x43bede){const _0x51116c=_0xb7ae52;return _0xd6b169[_0x51116c(0x1f5)](_0x3553fb,_0x43bede);},'lbVmA':function(_0x5be6e1,_0x4f0d6c){return _0xd6b169['jJHBj'](_0x5be6e1,_0x4f0d6c);},'pepoR':_0xd6b169[_0xb7ae52(0x1f0)],'caDFv':_0xd6b169[_0xb7ae52(0x212)],'tzEmZ':_0xd6b169[_0xb7ae52(0x1ff)],'QGRos':function(_0x3cb8a2,_0x12dfc3){const _0x500c38=_0xb7ae52;return _0xd6b169[_0x500c38(0x1ac)](_0x3cb8a2,_0x12dfc3);},'McOFg':_0xd6b169['sLnAt'],'cvFmK':_0xd6b169[_0xb7ae52(0x1df)],'jZUhw':_0xd6b169[_0xb7ae52(0x1fb)],'AgbUP':_0xd6b169['KXOJF']};try{const _0x1a0940={};_0x1a0940[_0xb7ae52(0x1a7)]=_0x4ab206[_0xb7ae52(0x215)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0xb7ae52(0x21e)],async()=>{const _0x28b598=_0xb7ae52,_0x48f878={};_0x48f878[_0x28b598(0x21a)]=_0x7ba948[_0x28b598(0x1f4)];const _0x11939f=_0x48f878;if(!commandRepository[_0x28b598(0x220)]()&&globals['getGlobal'](_0x7ba948[_0x28b598(0x1f4)])){const _0xca56ec=PerformanceTester[_0x28b598(0x1ca)](_0x7ba948['ccFjY'],async()=>{const _0x4c9f21=_0x28b598;try{commandRepository[_0x4c9f21(0x1c3)](!![]),await aiSdkWrapper['setTcgToken']((await _0x151212[_0x4c9f21(0x20e)]())[_0x4c9f21(0x1be)]());const _0x388568=globals[_0x4c9f21(0x1d8)](_0x11939f[_0x4c9f21(0x21a)]);_0x388568&&commandRepository['setAiSessionTimeStamp']((await _0x151212['getSession']())['getId']());}catch(_0x8d1df1){logger[_0x4c9f21(0x1f1)](_0x4c9f21(0x1f8)+_0x8d1df1);}});await _0x7ba948[_0x28b598(0x1a4)](_0xca56ec);}},_0x1a0940)();const _0x348803=await _0x151212[_0xb7ae52(0x207)](_0x4ab206);try{if(_0xd6b169[_0xb7ae52(0x1b4)](_0x4ab206[_0xb7ae52(0x215)],_0xd6b169['dSZeV'])||_0xd6b169['LRlvq'](_0x4ab206[_0xb7ae52(0x215)],_0xd6b169['xMXbG'])){const _0x38e9b6=_0x4ab206[_0xb7ae52(0x1cf)]&&_0x4ab206[_0xb7ae52(0x1cf)]['script'],_0x3943a4=_0x4ab206[_0xb7ae52(0x1cf)]&&_0x4ab206[_0xb7ae52(0x1cf)][_0xb7ae52(0x21d)],_0x72a99c=_0x3943a4&&util[_0xb7ae52(0x213)]('%j',_0x3943a4);if(_0x38e9b6&&_0xd6b169[_0xb7ae52(0x1b7)](typeof _0x38e9b6,_0xd6b169[_0xb7ae52(0x225)])){const _0x45ae2e=constants[_0xb7ae52(0x1d1)][_0xb7ae52(0x1ad)](_0x5b3611=>_0x38e9b6['includes'](_0x5b3611)||_0x72a99c&&_0x72a99c[_0xb7ae52(0x1bb)](_0x5b3611));if(_0x45ae2e){const _0x26cb0d={};_0x26cb0d['command']=_0x45ae2e,_0x26cb0d[_0xb7ae52(0x1bc)]=_0x3943a4;const _0x4658f4={};_0x4658f4[_0xb7ae52(0x1ef)]=_0x348803;const _0x39e6e4={};_0x39e6e4['request']=_0x26cb0d,_0x39e6e4[_0xb7ae52(0x1de)]=_0x4658f4,automationLogger[_0xb7ae52(0x1c8)]('['+new Date()[_0xb7ae52(0x1a2)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util['format']('%j',_0x39e6e4));}}}}catch(_0x247596){logger[_0xb7ae52(0x1c8)](_0xb7ae52(0x20d)+_0x247596[_0xb7ae52(0x1f6)]);}return await PerformanceTester[_0xb7ae52(0x1ca)](PerformanceDriverEvents[_0xb7ae52(0x1fa)],async()=>{const _0x18016c=_0xb7ae52;if(!helper[_0x18016c(0x1ec)]()&&(commandRepository[_0x18016c(0x221)]()||globals[_0x18016c(0x1d8)](_0xd6b169[_0x18016c(0x1b5)]))&&_0xd6b169[_0x18016c(0x200)](_0x4ab206[_0x18016c(0x215)],_0xd6b169[_0x18016c(0x1e0)])&&!_0x4ab206[_0x18016c(0x1c6)]&&globals[_0x18016c(0x1d8)](_0xd6b169[_0x18016c(0x219)])&&globals[_0x18016c(0x1d8)](_0xd6b169[_0x18016c(0x1e7)])){const _0x583baf=new Date(),_0x4d3313=PerformanceTester[_0x18016c(0x1ca)](_0xd6b169['pczER'],async()=>{const _0x174338=_0x18016c;return await aiSdkWrapper[_0x174338(0x1ae)](_0x399ffc,_0x151212,_0x4ab206);});await _0xd6b169[_0x18016c(0x1a3)](_0x4d3313);}},{'command':_0x4ab206[_0xb7ae52(0x215)]})(),_0x348803;}catch(_0x316707){await PerformanceTester[_0xb7ae52(0x1ca)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x247177=_0xb7ae52;logger['debug'](_0x7ba948['uuIWf']);try{if(!helper['isBrowserstackInfra']()&&(_0x7ba948[_0x247177(0x1d6)](_0x316707[_0x247177(0x1c9)],_0x7ba948[_0x247177(0x226)])||_0x7ba948[_0x247177(0x1e9)](_0x316707['name'],_0x7ba948[_0x247177(0x1e1)]))&&_0x7ba948[_0x247177(0x1e9)](_0x4ab206[_0x247177(0x215)],_0x7ba948['QSEyJ'])&&commandRepository[_0x247177(0x221)]()&&globals[_0x247177(0x1d8)](_0x7ba948['upfWL'])&&globals[_0x247177(0x1d8)](_0x7ba948[_0x247177(0x1b3)])){_0x7ba948[_0x247177(0x1d6)](_0x4ab206[_0x247177(0x1cf)][_0x247177(0x1b1)],_0x7ba948['JjyeM'])?logger[_0x247177(0x21f)](_0x7ba948[_0x247177(0x208)](_0x7ba948[_0x247177(0x208)](_0x7ba948[_0x247177(0x204)],_0x4ab206['parameters_'][_0x247177(0x1e6)]),_0x7ba948[_0x247177(0x1a9)])):logger[_0x247177(0x21f)](_0x7ba948[_0x247177(0x1eb)](_0x7ba948[_0x247177(0x1b6)](_0x7ba948[_0x247177(0x208)](_0x7ba948[_0x247177(0x1eb)](_0x7ba948[_0x247177(0x1b8)],_0x4ab206[_0x247177(0x1cf)]['using']),':\x20'),_0x4ab206[_0x247177(0x1cf)][_0x247177(0x1e6)]),_0x7ba948[_0x247177(0x1a9)]));const _0x494ed7=PerformanceTester[_0x247177(0x1ca)](_0x7ba948[_0x247177(0x20b)],async()=>{return await aiSdkWrapper['handleFailure'](_0x399ffc,_0x151212,_0x4ab206);}),_0x9c7f0f=new Date(),{locatorType:_0x3a719a,locatorValue:_0x25229e,commandHealed:_0x3a4c96}=await _0x7ba948[_0x247177(0x1a4)](_0x494ed7);if(_0x7ba948[_0x247177(0x1b0)](_0x3a719a,_0x25229e)){_0x4ab206[_0x247177(0x1cf)][_0x247177(0x1b1)]=_0x3a719a,_0x4ab206[_0x247177(0x1cf)][_0x247177(0x1e6)]=_0x25229e,_0x4ab206['skipHealingSuccess']=!![];const _0x361385=_0x151212[_0x247177(0x1dc)](_0x4ab206);return _0x7ba948['EcQVQ'](_0x3a719a,_0x7ba948[_0x247177(0x1a1)])?logger[_0x247177(0x21f)](_0x7ba948['Eacku'](_0x7ba948[_0x247177(0x21b)],_0x25229e)):logger[_0x247177(0x21f)](_0x7ba948['ELQWy'](_0x7ba948[_0x247177(0x203)](_0x7ba948[_0x247177(0x1bd)](_0x7ba948[_0x247177(0x1a8)],_0x3a719a),':\x20'),_0x25229e)),_0x361385;}else!_0x3a4c96&&(_0x7ba948[_0x247177(0x1d6)](_0x3a719a,_0x7ba948[_0x247177(0x1a1)])?logger['info'](_0x7ba948[_0x247177(0x1bd)](_0x7ba948[_0x247177(0x1a5)],_0x4ab206[_0x247177(0x1cf)][_0x247177(0x1e6)])):logger['info'](_0x7ba948[_0x247177(0x1fc)](_0x7ba948[_0x247177(0x1b6)](_0x7ba948['Eacku'](_0x7ba948[_0x247177(0x1b9)],_0x4ab206[_0x247177(0x1cf)][_0x247177(0x1b1)]),':\x20'),_0x4ab206[_0x247177(0x1cf)]['value'])));}!_0x227965&&_0x7ba948[_0x247177(0x1da)](_0x4ab206[_0x247177(0x215)],_0x7ba948[_0x247177(0x1dd)])&&helper['nestedKeyValue'](_0x4ab206,[_0x7ba948[_0x247177(0x222)],_0x7ba948['jZUhw']])&&!!constants[_0x247177(0x1d5)][_0x247177(0x1ad)](_0x42233a=>{const _0x5b551d=_0x247177;return _0x316707[_0x5b551d(0x1c4)]()[_0x5b551d(0x1bb)](_0x42233a);})&&helper[_0x247177(0x1f9)](_0x4ab206[_0x247177(0x1cf)][_0x247177(0x20c)],!![]);}catch(_0x3ea1e8){logger[_0x247177(0x1e8)](_0x7ba948[_0x247177(0x1af)],_0x3ea1e8);}},{'success':![],'failure':_0x316707})();throw _0x316707;}};};function a111_0x5681(){const _0x3b2fbb=['pepoR','OCGPp','local','hqWMT','oxzDC','find','handleSuccess','AgbUP','iNOUQ','using','SEvzS','PlUxw','FaxbC','oqOtC','CPLmJ','UATiI','UFzbj','tzEmZ','iAMME','includes','parameters','lbVmA','getId','JavascriptError','bstack:options','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','aiSdk_defaultLogDataEnabled','setTcgTokenStatus','toString','OPSLS','skipHealingSuccess','browserstack.local','silly','name','measureWrapper','./performance/performance-tester','5QRTZBS','EdZUK','4220573ZtLnuh','parameters_','./logger','AUTOMATION_LOG_COMMANDS','Healing\x20failed\x20for\x20command\x20using\x20','30167154fTrQTY','./performance/constants','NUDGE_LOCAL_ERRORS','EVnMt','./globals','getGlobal','aiHeal_isAuthenticated','QGRos','VWjTS','execute','McOFg','response','fbcKB','ktOyx','JynBJ','pgxtP','get',';\x20Trying\x20to\x20heal','oLcHO','value','OSYJx','debug','MMKbG','./helper','LRtRx','isBrowserstackInfra','nestedKeyValue','226959kdeRcW','body','jZGvf','error','kdGPK','./ai-sdk/autoHealHelper','upfWL','VomnE','message','findElement\x20command\x20failed\x20with\x20','Error\x20in\x20handling\x20TCG\x20Auth:\x20','getNudgeLocalNotSetError','POST_EXECUTE','BsufY','Eacku','executeScript','DJBii','xHKmD','BVNno','WPlpS','executeAsyncScript','ZveQJ','PMJNo','MzQBi','css\x20selector','initExecute','pLISd','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','overrideExecute','aoNwW','url','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','getSession','12skcKCP','ayPqk','7702424wQnzkh','ScULx','format','fyFjD','name_','string','qokJm','capability','UYAHQ','lDxvA','pehOY','aiHeal:findElementSuccess','args','PRE_EXECUTE','info','getTcgTokenStatus','isSelfHealEnabled','cvFmK','5208162oCUIEv','5702092ZKQEyQ','zBPcW','sgPgi','Successfully\x20healed\x20command\x20using\x20new\x20','DmVbU','findElement\x20command\x20failed\x20with\x20cssPath:\x20','DwDah','1407714PIikMX','NoSuchElementError','JjyeM','toISOString','XNHMX','IRDDS','caDFv','aiHeal_isHealingEnabled','command'];a111_0x5681=function(){return _0x3b2fbb;};return a111_0x5681();}
@@ -1 +1 @@
1
- const a112_0x3a75cd=a112_0x5d72;function a112_0x5d72(_0x221b5b,_0x5b63ee){const _0x4c8259=a112_0x4c82();return a112_0x5d72=function(_0x5d7213,_0x3a61a5){_0x5d7213=_0x5d7213-0x69;let _0x35147a=_0x4c8259[_0x5d7213];return _0x35147a;},a112_0x5d72(_0x221b5b,_0x5b63ee);}(function(_0x5fed26,_0x2823d3){const _0x3228f2=a112_0x5d72,_0x7eb115=_0x5fed26();while(!![]){try{const _0x1f8dae=parseInt(_0x3228f2(0x7b))/0x1*(parseInt(_0x3228f2(0x89))/0x2)+-parseInt(_0x3228f2(0x78))/0x3*(-parseInt(_0x3228f2(0x71))/0x4)+parseInt(_0x3228f2(0x7c))/0x5*(-parseInt(_0x3228f2(0x74))/0x6)+-parseInt(_0x3228f2(0x6f))/0x7+-parseInt(_0x3228f2(0x82))/0x8+parseInt(_0x3228f2(0x6e))/0x9*(parseInt(_0x3228f2(0x7e))/0xa)+-parseInt(_0x3228f2(0x8b))/0xb*(parseInt(_0x3228f2(0x83))/0xc);if(_0x1f8dae===_0x2823d3)break;else _0x7eb115['push'](_0x7eb115['shift']());}catch(_0x37ae62){_0x7eb115['push'](_0x7eb115['shift']());}}}(a112_0x4c82,0x666e7));const PerformanceTester=require(a112_0x3a75cd(0x73)),O11yEvents=require(a112_0x3a75cd(0x7d))[a112_0x3a75cd(0x6b)];exports['overrideTakeScreenshot']=_0x227ef=>{const _0x14f0f2=a112_0x3a75cd,_0x1061da={'jQFts':function(_0x58f298,_0x16b8e0){return _0x58f298(_0x16b8e0);},'BSmHo':_0x14f0f2(0x8c),'XCCIG':function(_0x11de56,_0x2243f3){return _0x11de56!==_0x2243f3;},'Dmhwn':_0x14f0f2(0x8d)};if(_0x1061da[_0x14f0f2(0x72)](process[_0x14f0f2(0x77)][_0x14f0f2(0x75)],_0x1061da[_0x14f0f2(0x70)]))return;if(_0x227ef[_0x14f0f2(0x6a)])return;_0x227ef[_0x14f0f2(0x6a)]=!![],_0x227ef[_0x14f0f2(0x81)]=_0x227ef[_0x14f0f2(0x7f)],_0x227ef[_0x14f0f2(0x7f)]=()=>{const _0x34b840=_0x14f0f2,_0x3ed7c1={'qOMIP':_0x1061da[_0x34b840(0x6d)],'jUQgp':function(_0x213ae0,_0x16a20b){const _0x1d7b18=_0x34b840;return _0x1061da[_0x1d7b18(0x6c)](_0x213ae0,_0x16a20b);}};return new Promise(function(_0x4481ee,_0x104edf){const _0x173cbf=_0x34b840,_0x5023fd={'PIJzf':function(_0x1dde29,_0x4b524c){return _0x1061da['jQFts'](_0x1dde29,_0x4b524c);}};_0x227ef['initScreenshot']()[_0x173cbf(0x87)](_0x46025e=>{const _0x30d5eb=_0x173cbf;PerformanceTester['start'](O11yEvents[_0x30d5eb(0x86)]),process[_0x30d5eb(0x8a)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x30d5eb(0x7a)](),'message':_0x46025e,'kind':_0x3ed7c1['qOMIP']}),_0x3ed7c1[_0x30d5eb(0x76)](_0x4481ee,_0x46025e),PerformanceTester[_0x30d5eb(0x8e)](O11yEvents[_0x30d5eb(0x86)]);})[_0x173cbf(0x84)](_0x41abdd=>{const _0x2b1c3b=_0x173cbf;PerformanceTester['end'](O11yEvents[_0x2b1c3b(0x86)]),_0x5023fd[_0x2b1c3b(0x79)](_0x104edf,_0x41abdd);});});};},exports[a112_0x3a75cd(0x8f)]=(_0x5d2d66,_0x51ae4e=null)=>{const _0xe8b282=a112_0x3a75cd,_0x563977={'jDrdG':function(_0x25463c){return _0x25463c();},'EJILa':function(_0x178c6b,_0x57901a){return _0x178c6b>_0x57901a;}};if(_0x5d2d66[_0xe8b282(0x80)])return;_0x5d2d66[_0xe8b282(0x80)]=!![],_0x5d2d66[_0xe8b282(0x69)]=_0x5d2d66['quit'],_0x5d2d66['quit']=()=>{const _0x399b10=_0xe8b282;if(_0x51ae4e){_0x51ae4e['quitCount_']+=0x1;if(_0x563977[_0x399b10(0x88)](_0x51ae4e[_0x399b10(0x85)],0x1))return _0x5d2d66['initQuit']();}else{_0x5d2d66[_0x399b10(0x85)]+=0x1;if(_0x563977[_0x399b10(0x88)](_0x5d2d66[_0x399b10(0x85)],0x1))return _0x5d2d66[_0x399b10(0x69)]();}return new Promise(function(_0x44fafb){_0x563977['jDrdG'](_0x44fafb);});};};function a112_0x4c82(){const _0x174362=['600kQFZDG','catch','quitCount_','TAKE_SCREENSHOT','then','EJILa','206AiDlWQ','emit','64933yRzTHI','TEST_SCREENSHOT','true','end','overrideQuit','initQuit','patchScreenshot','O11y_EVENTS','jQFts','BSmHo','2444166rGYTxH','267848SOtLQv','Dmhwn','4jOrzYK','XCCIG','./performance/performance-tester','6QFbPKR','BS_TESTOPS_ALLOW_SCREENSHOTS','jUQgp','env','2204208fLBdUN','PIJzf','toISOString','4479AGUBuT','1967165UCmbEF','./performance/constants','10bWkMVE','takeScreenshot','patchQuit','initScreenshot','2569928dowpUz'];a112_0x4c82=function(){return _0x174362;};return a112_0x4c82();}
1
+ const a112_0x64491e=a112_0x27fb;(function(_0x39394c,_0xadaaaa){const _0x3c2912=a112_0x27fb,_0x3de8ac=_0x39394c();while(!![]){try{const _0x2877e1=-parseInt(_0x3c2912(0x16f))/0x1+parseInt(_0x3c2912(0x172))/0x2+-parseInt(_0x3c2912(0x174))/0x3*(parseInt(_0x3c2912(0x171))/0x4)+-parseInt(_0x3c2912(0x173))/0x5*(parseInt(_0x3c2912(0x185))/0x6)+parseInt(_0x3c2912(0x189))/0x7+-parseInt(_0x3c2912(0x182))/0x8*(parseInt(_0x3c2912(0x17c))/0x9)+parseInt(_0x3c2912(0x193))/0xa*(parseInt(_0x3c2912(0x191))/0xb);if(_0x2877e1===_0xadaaaa)break;else _0x3de8ac['push'](_0x3de8ac['shift']());}catch(_0xee7e13){_0x3de8ac['push'](_0x3de8ac['shift']());}}}(a112_0x441f,0xaa6e0));function a112_0x27fb(_0x47b6da,_0xe908bc){const _0x441fe1=a112_0x441f();return a112_0x27fb=function(_0x27fb99,_0x57c4e0){_0x27fb99=_0x27fb99-0x16c;let _0x198207=_0x441fe1[_0x27fb99];return _0x198207;},a112_0x27fb(_0x47b6da,_0xe908bc);}const PerformanceTester=require(a112_0x64491e(0x16e)),O11yEvents=require('./performance/constants')[a112_0x64491e(0x190)];exports[a112_0x64491e(0x18d)]=_0x37b3c0=>{const _0x52d9d1=a112_0x64491e,_0x4d742b={'jBWwp':function(_0x35f4bf,_0x1d3a04){return _0x35f4bf(_0x1d3a04);},'InOki':_0x52d9d1(0x17d),'sIyAS':function(_0x5d4490,_0x208dcd){return _0x5d4490(_0x208dcd);},'rTeRs':function(_0x46fd0b,_0x419137){return _0x46fd0b!==_0x419137;},'BvyzW':_0x52d9d1(0x188)};if(_0x4d742b[_0x52d9d1(0x176)](process[_0x52d9d1(0x18f)]['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x4d742b[_0x52d9d1(0x170)]))return;if(_0x37b3c0[_0x52d9d1(0x18b)])return;_0x37b3c0[_0x52d9d1(0x18b)]=!![],_0x37b3c0[_0x52d9d1(0x16d)]=_0x37b3c0[_0x52d9d1(0x18c)],_0x37b3c0['takeScreenshot']=()=>{const _0x23b428=_0x52d9d1,_0x159d63={'voONx':function(_0x557e70,_0x4da3c0){const _0x1f2997=a112_0x27fb;return _0x4d742b[_0x1f2997(0x17b)](_0x557e70,_0x4da3c0);},'KIPbQ':_0x4d742b[_0x23b428(0x177)],'wgBUT':function(_0x48a47f,_0x3d4636){const _0x33f943=_0x23b428;return _0x4d742b[_0x33f943(0x16c)](_0x48a47f,_0x3d4636);}};return new Promise(function(_0x5ceb98,_0x2b2507){const _0x528def=_0x23b428,_0x543fdd={'vAotp':_0x159d63[_0x528def(0x184)],'RAgxQ':function(_0x59903f,_0x116fca){const _0x6e9026=_0x528def;return _0x159d63[_0x6e9026(0x183)](_0x59903f,_0x116fca);}};_0x37b3c0[_0x528def(0x16d)]()[_0x528def(0x17a)](_0x513335=>{const _0x353497=_0x528def;PerformanceTester['start'](O11yEvents[_0x353497(0x187)]),process['emit'](_0x353497(0x192)+process[_0x353497(0x18e)],{'timestamp':new Date()[_0x353497(0x181)](),'message':_0x513335,'kind':_0x543fdd['vAotp']}),_0x543fdd[_0x353497(0x17f)](_0x5ceb98,_0x513335),PerformanceTester[_0x353497(0x186)](O11yEvents[_0x353497(0x187)]);})['catch'](_0x30f93b=>{const _0x530c0e=_0x528def;PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']),_0x159d63[_0x530c0e(0x178)](_0x2b2507,_0x30f93b);});});};},exports[a112_0x64491e(0x175)]=(_0x3898a0,_0x4ce712=null)=>{const _0x541fc7=a112_0x64491e,_0x4e7b9c={'kgNTP':function(_0x5eaf70){return _0x5eaf70();},'eiUfP':function(_0x5eacd7,_0x32c5e5){return _0x5eacd7>_0x32c5e5;},'QAOYB':function(_0x24e25e,_0x5f4bf9){return _0x24e25e>_0x5f4bf9;}};if(_0x3898a0['patchQuit'])return;_0x3898a0[_0x541fc7(0x179)]=!![],_0x3898a0[_0x541fc7(0x180)]=_0x3898a0['quit'],_0x3898a0[_0x541fc7(0x18a)]=()=>{const _0x479a90=_0x541fc7;if(_0x4ce712){_0x4ce712[_0x479a90(0x17e)]+=0x1;if(_0x4e7b9c['eiUfP'](_0x4ce712[_0x479a90(0x17e)],0x1))return _0x3898a0['initQuit']();}else{_0x3898a0['quitCount_']+=0x1;if(_0x4e7b9c['QAOYB'](_0x3898a0[_0x479a90(0x17e)],0x1))return _0x3898a0['initQuit']();}return new Promise(function(_0x2ffbf2){_0x4e7b9c['kgNTP'](_0x2ffbf2);});};};function a112_0x441f(){const _0x1e1a15=['initQuit','toISOString','741176ZBkoCc','wgBUT','KIPbQ','618AJHjHj','end','TAKE_SCREENSHOT','true','6301673uFCsGF','quit','patchScreenshot','takeScreenshot','overrideTakeScreenshot','pid','env','O11y_EVENTS','176BPfMrL','bs:addLog:','1856620qcrqAD','sIyAS','initScreenshot','./performance/performance-tester','501922aMpXMb','BvyzW','20ZDWLpf','126748EYkeKi','66095LpBucz','656823GuRFaL','overrideQuit','rTeRs','InOki','voONx','patchQuit','then','jBWwp','27CqzIdt','TEST_SCREENSHOT','quitCount_','RAgxQ'];a112_0x441f=function(){return _0x1e1a15;};return a112_0x441f();}
@@ -1 +1 @@
1
- const a113_0x2a2cc1=a113_0x4eb5;(function(_0x65d2e1,_0x4e3c37){const _0x11d052=a113_0x4eb5,_0x245b39=_0x65d2e1();while(!![]){try{const _0x3369f5=-parseInt(_0x11d052(0x1a3))/0x1+parseInt(_0x11d052(0x1c1))/0x2+parseInt(_0x11d052(0x1ac))/0x3+parseInt(_0x11d052(0x1d0))/0x4*(-parseInt(_0x11d052(0x1a0))/0x5)+parseInt(_0x11d052(0x1b9))/0x6*(parseInt(_0x11d052(0x1ae))/0x7)+-parseInt(_0x11d052(0x1b4))/0x8*(parseInt(_0x11d052(0x1bb))/0x9)+parseInt(_0x11d052(0x1ad))/0xa*(parseInt(_0x11d052(0x18d))/0xb);if(_0x3369f5===_0x4e3c37)break;else _0x245b39['push'](_0x245b39['shift']());}catch(_0x53d017){_0x245b39['push'](_0x245b39['shift']());}}}(a113_0x3a40,0x7bfb9));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),helper=require('../helper'),logger=require(a113_0x2a2cc1(0x190))[a113_0x2a2cc1(0x192)],{getLogDir}=require(a113_0x2a2cc1(0x190)),testHubConstants=require(a113_0x2a2cc1(0x19d)),PerformanceTester=require(a113_0x2a2cc1(0x1c8)),{PERCY_EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),PercyBinary=require(a113_0x2a2cc1(0x1d3));function a113_0x3a40(){const _0x3140a8=['join','SyUNU','stderr','exec:stop','http://localhost:5338','healthcheck','PERCY_SERVER_ADDRESS','obWzA','2452362MinDUj','10ngXJDX','7MyRbfr','DOWNLOAD','QgVxP','isRunning','ZLfqJ','stdout','7941264dIdvOQ','percy.log','exports','biNLD','&type=','2308344WjMjwp','error','9fidDdl','SXMfo','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','BdGIO',':start','bEMOh','1995260ymkZto','fetchPercyToken','pipe','getBinaryPath','projectName','env','close','../../helpers/performance/performance-tester','CXofj','createPercyConfig','assign','flags','ieTot','ENV_VAR','IjqNp','2308zaEPYw','end','GET','./PercyBinary','wjCCR','nodeRequest','Percy\x20config\x20created\x20at\x20','oxZxv','app:exec','data','hDBre','percyOptions','244717HvhBul','YFAIE','api/app_percy/get_project_token?name=','../logger','tmpdir','winstonLogger','createWriteStream','isProcessRunning','LVqxB','automate','BLfWg','app','debug','start','kMlkf','token','../../helpers/testhub/constants','push','percy.json','995vYFyEz','AuvOL','QUhmk','606741WAYYkg'];a113_0x3a40=function(){return _0x3140a8;};return a113_0x3a40();}function a113_0x4eb5(_0x4b54bd,_0x1c620d){const _0x3a4059=a113_0x3a40();return a113_0x4eb5=function(_0x4eb587,_0x3b77bb){_0x4eb587=_0x4eb587-0x185;let _0x24a37a=_0x3a4059[_0x4eb587];return _0x24a37a;},a113_0x4eb5(_0x4b54bd,_0x1c620d);}class Percy{#logfile=path[a113_0x2a2cc1(0x1a4)](getLogDir(),a113_0x2a2cc1(0x1b5));#address=process['env'][a113_0x2a2cc1(0x1aa)]||a113_0x2a2cc1(0x1a8);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a113_0x2a2cc1(0x194)]=![];constructor(_0x4b2f55){const _0xc1e6c2=a113_0x2a2cc1;this.#config=_0x4b2f55,!!_0x4b2f55[_0xc1e6c2(0x198)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x26226d=a113_0x2a2cc1;if(!this.#binaryPath){const _0x214ffe=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0x26226d(0x1af)]),this.#binaryPath=await _0x214ffe[_0x26226d(0x1c4)](this.#config),PerformanceTester[_0x26226d(0x1d1)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x11db1d){return new Promise(_0x14e62d=>setTimeout(_0x14e62d,_0x11db1d));}async[a113_0x2a2cc1(0x1a9)](){const _0x4aa32f=a113_0x2a2cc1,_0x3712c3={};_0x3712c3['SXMfo']=_0x4aa32f(0x1d2),_0x3712c3[_0x4aa32f(0x19b)]='percy/healthcheck';const _0x501347=_0x3712c3;try{const _0x56fae2=await helper['nodeRequest'](_0x501347[_0x4aa32f(0x1bc)],_0x501347['kMlkf'],null,null,this.#address);if(_0x56fae2)return!![];}catch(_0x2abd76){return![];}}async[a113_0x2a2cc1(0x19a)](){const _0x3185c1=a113_0x2a2cc1,_0x30a77b={'QUhmk':_0x3185c1(0x189),'CXofj':'exec','biNLD':function(_0x33ac54,_0x17ae28,_0x1dd91e,_0x4e7a20){return _0x33ac54(_0x17ae28,_0x1dd91e,_0x4e7a20);},'YFAIE':_0x3185c1(0x1c7),'IjqNp':'Percy\x20healthcheck\x20successful'},_0x2acf07=await this.#getBinaryPath(),_0x38d2b5={};_0x38d2b5[_0x3185c1(0x1cc)]='a',this.#logStream=fs[_0x3185c1(0x193)](this.#logfile,_0x38d2b5);const _0x1963c7=await this[_0x3185c1(0x1c2)](),_0xf9ee6f=await this[_0x3185c1(0x1ca)]();if(!_0x1963c7)return![];const _0x4ca629=[(this.#isApp?_0x30a77b[_0x3185c1(0x1a2)]:_0x30a77b[_0x3185c1(0x1c9)])+_0x3185c1(0x1bf)];_0xf9ee6f&&_0x4ca629[_0x3185c1(0x19e)]('-c',_0xf9ee6f);this.#proc=_0x30a77b[_0x3185c1(0x1b7)](spawn,_0x2acf07,_0x4ca629,{'env':Object[_0x3185c1(0x1cb)](process[_0x3185c1(0x1c6)],{'PERCY_TOKEN':_0x1963c7,'TH_BUILD_UUID':process[_0x3185c1(0x1c6)][testHubConstants[_0x3185c1(0x1ce)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x3185c1(0x1b3)][_0x3185c1(0x1c3)](this.#logStream),this.#proc[_0x3185c1(0x1a6)][_0x3185c1(0x1c3)](this.#logStream),this[_0x3185c1(0x194)]=!![];var _0x260fab=this;this.#proc['on'](_0x30a77b[_0x3185c1(0x18e)],function(_0x35942f){const _0x4ef5ce=_0x3185c1;_0x260fab[_0x4ef5ce(0x194)]=![];});do{const _0x334ce1=await this[_0x3185c1(0x1a9)]();if(_0x334ce1)return logger[_0x3185c1(0x199)](_0x30a77b[_0x3185c1(0x1cf)]),!![];await this.#sleep(0x3e8);}while(this[_0x3185c1(0x194)]);return![];}async['stop'](){const _0xc0e178=a113_0x2a2cc1,_0x469614={'ZLfqJ':function(_0x3185b4,_0xe794ff){return _0x3185b4(_0xe794ff);},'ycVVN':function(_0x33ded0,_0xbf847f,_0x27cf78){return _0x33ded0(_0xbf847f,_0x27cf78);},'oxZxv':_0xc0e178(0x1a7),'QgVxP':_0xc0e178(0x1c7)},_0x1d3978=await this.#getBinaryPath();return new Promise((_0x5d18f8,_0x81f2cb)=>{const _0x27c65e=_0xc0e178,_0x2a12c7=_0x469614['ycVVN'](spawn,_0x1d3978,[_0x469614[_0x27c65e(0x188)]]);_0x2a12c7['on'](_0x469614[_0x27c65e(0x1b0)],_0x5534b6=>{const _0x1c05f0=_0x27c65e;this[_0x1c05f0(0x194)]=![],this.#logStream&&(this.#logStream[_0x1c05f0(0x1d1)](),this.#logStream=null),_0x469614[_0x1c05f0(0x1b2)](_0x5d18f8,_0x5534b6);});});}[a113_0x2a2cc1(0x1b1)](){const _0x28d2b5=a113_0x2a2cc1;return this[_0x28d2b5(0x194)];}async[a113_0x2a2cc1(0x1c2)](){const _0x4f69ed=a113_0x2a2cc1,_0x44a641={};_0x44a641[_0x4f69ed(0x1cd)]=_0x4f69ed(0x198),_0x44a641[_0x4f69ed(0x1c0)]=_0x4f69ed(0x196),_0x44a641['BdGIO']=_0x4f69ed(0x1d2),_0x44a641[_0x4f69ed(0x1a5)]='Percy\x20fetch\x20token\x20success';const _0x183174=_0x44a641,_0xb37902=this.#config[_0x4f69ed(0x1c5)];try{const _0x2b4e05=this.#isApp?_0x183174['ieTot']:_0x183174['bEMOh'],_0x312fe3=await helper[_0x4f69ed(0x186)](_0x183174[_0x4f69ed(0x1be)],_0x4f69ed(0x18f)+_0xb37902+_0x4f69ed(0x1b8)+_0x2b4e05,{},this.#config),_0x1c1dbe=_0x312fe3[_0x4f69ed(0x18a)];return logger[_0x4f69ed(0x199)](_0x183174[_0x4f69ed(0x1a5)]),_0x1c1dbe[_0x4f69ed(0x19c)];}catch(_0x2704fc){return logger[_0x4f69ed(0x1ba)](_0x4f69ed(0x1bd)+_0x2704fc),null;}}async[a113_0x2a2cc1(0x1ca)](){const _0x585ca1=a113_0x2a2cc1,_0x21e323={'obWzA':function(_0x49f3ac,_0x148d9d){return _0x49f3ac(_0x148d9d);},'wjCCR':function(_0x30dcf4,_0x675d87){return _0x30dcf4+_0x675d87;},'LVqxB':_0x585ca1(0x187),'AuvOL':_0x585ca1(0x19f)};if(!this.#config[_0x585ca1(0x18c)])return null;const _0x320ade=path[_0x585ca1(0x1a4)](os[_0x585ca1(0x191)](),_0x21e323[_0x585ca1(0x1a1)]),_0x5c3852=this.#config['percyOptions'];return!_0x5c3852['version']&&(_0x5c3852['version']='2'),new Promise((_0x4a6656,_0x2dbf39)=>{const _0x563890=_0x585ca1,_0x2ba0c8={'fssHb':function(_0x805b5,_0x56a9da){const _0x269d64=a113_0x4eb5;return _0x21e323[_0x269d64(0x1ab)](_0x805b5,_0x56a9da);},'BLfWg':function(_0x6d90ad,_0x27f110){const _0x45f06b=a113_0x4eb5;return _0x21e323[_0x45f06b(0x185)](_0x6d90ad,_0x27f110);},'hDBre':_0x21e323[_0x563890(0x195)]};fs['writeFile'](_0x320ade,JSON['stringify'](_0x5c3852),_0x1f5903=>{const _0x4d5dd0=_0x563890;_0x1f5903&&(logger['error']('Error\x20creating\x20percy\x20config:\x20'+_0x1f5903),_0x2ba0c8['fssHb'](_0x4a6656,null)),logger['debug'](_0x2ba0c8[_0x4d5dd0(0x197)](_0x2ba0c8[_0x4d5dd0(0x18b)],_0x320ade)),_0x2ba0c8['fssHb'](_0x4a6656,_0x320ade);});});}}module[a113_0x2a2cc1(0x1b6)]=Percy;
1
+ const a113_0x283512=a113_0x2e5a;function a113_0x2e5a(_0x2c0186,_0x1cb8c5){const _0x5c39d8=a113_0x5c39();return a113_0x2e5a=function(_0x2e5afa,_0x2f231e){_0x2e5afa=_0x2e5afa-0x199;let _0x3976e8=_0x5c39d8[_0x2e5afa];return _0x3976e8;},a113_0x2e5a(_0x2c0186,_0x1cb8c5);}(function(_0x539673,_0x35eb00){const _0x423649=a113_0x2e5a,_0x412f37=_0x539673();while(!![]){try{const _0x47d025=parseInt(_0x423649(0x1da))/0x1+-parseInt(_0x423649(0x1d5))/0x2*(parseInt(_0x423649(0x1b3))/0x3)+parseInt(_0x423649(0x1db))/0x4*(parseInt(_0x423649(0x1ba))/0x5)+-parseInt(_0x423649(0x1ab))/0x6*(-parseInt(_0x423649(0x1cf))/0x7)+-parseInt(_0x423649(0x1e6))/0x8+parseInt(_0x423649(0x1d7))/0x9+parseInt(_0x423649(0x1b7))/0xa*(-parseInt(_0x423649(0x1c8))/0xb);if(_0x47d025===_0x35eb00)break;else _0x412f37['push'](_0x412f37['shift']());}catch(_0x1b0cec){_0x412f37['push'](_0x412f37['shift']());}}}(a113_0x5c39,0xaa927));function a113_0x5c39(){const _0xca3673=['PERCY_SERVER_ADDRESS','mijOt','push','VdnjJ','14ZFszEq','BROWSERSTACK_TESTHUB_UUID','../../helpers/testhub/constants','./PercyBinary','exec','DynuR','1472qpleQB','PrLZX','6149196WUZIkg','createPercyConfig','app:exec','1117310UtPshE','169244mvcpYl','app','percy.json','wBRME','stderr','IfkSP','api/app_percy/get_project_token?name=','elHtX','child_process','sPuyD','start','5675704aqwoNR','Percy\x20fetch\x20token\x20success','assign','error','flags','fetchPercyToken','close','tmpdir','bzdIW','join','env','bYJXK','isProcessRunning','isRunning','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','projectName','gWKaK','debug','../../helpers/performance/performance-tester','TfNtF','nodeRequest','Percy\x20config\x20created\x20at\x20','2393892ZyNfUe','token','writeFile','version','percyOptions','getBinaryPath','automate','Percy\x20healthcheck\x20successful','1896NcZwFA','fzPPa','http://localhost:5338','ENV_VAR','60BhThbk','percy/healthcheck','zcdXZ','10WSyRyW','Error\x20creating\x20percy\x20config:\x20','stop','healthcheck','DOWNLOAD','IeFnr','LNsEh','HoCbz','path','../helper','data','GET','exec:stop','stdout','1484747WasNYL','../logger','stringify'];a113_0x5c39=function(){return _0xca3673;};return a113_0x5c39();}const fs=require('fs'),path=require(a113_0x283512(0x1c2)),os=require('os'),{spawn}=require(a113_0x283512(0x1e3)),helper=require(a113_0x283512(0x1c3)),logger=require(a113_0x283512(0x1c9))['winstonLogger'],{getLogDir}=require(a113_0x283512(0x1c9)),testHubConstants=require(a113_0x283512(0x1d1)),PerformanceTester=require(a113_0x283512(0x1a7)),{PERCY_EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),PercyBinary=require(a113_0x283512(0x1d2));class Percy{#logfile=path['join'](getLogDir(),'percy.log');#address=process[a113_0x283512(0x19f)][a113_0x283512(0x1cb)]||a113_0x283512(0x1b5);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a113_0x283512(0x1a1)]=![];constructor(_0x130661){const _0x2ad3dc=a113_0x283512;this.#config=_0x130661,!!_0x130661[_0x2ad3dc(0x1dc)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x2f3550=a113_0x283512;if(!this.#binaryPath){const _0x195910=new PercyBinary();PerformanceTester[_0x2f3550(0x1e5)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0x195910[_0x2f3550(0x1b0)](this.#config),PerformanceTester['end'](PerformanceEvents[_0x2f3550(0x1be)]);}return this.#binaryPath;}async #sleep(_0x138593){return new Promise(_0x1e1567=>setTimeout(_0x1e1567,_0x138593));}async['healthcheck'](){const _0x2ca8f1=a113_0x283512,_0x29a4f8={};_0x29a4f8[_0x2ca8f1(0x1b4)]='GET',_0x29a4f8[_0x2ca8f1(0x1a8)]=_0x2ca8f1(0x1b8);const _0x4d183b=_0x29a4f8;try{const _0x48d614=await helper[_0x2ca8f1(0x1a9)](_0x4d183b[_0x2ca8f1(0x1b4)],_0x4d183b['TfNtF'],null,null,this.#address);if(_0x48d614)return!![];}catch(_0x341431){return![];}}async[a113_0x283512(0x1e5)](){const _0x16eac6=a113_0x283512,_0x5e5ac5={'gWKaK':_0x16eac6(0x1d9),'VdnjJ':_0x16eac6(0x1d3),'LNsEh':function(_0x2c68d3,_0x31594d,_0x248726,_0x320c86){return _0x2c68d3(_0x31594d,_0x248726,_0x320c86);},'bYJXK':_0x16eac6(0x19b),'IeFnr':_0x16eac6(0x1b2)},_0x10d91d=await this.#getBinaryPath(),_0x16fb1c={};_0x16fb1c[_0x16eac6(0x199)]='a',this.#logStream=fs['createWriteStream'](this.#logfile,_0x16fb1c);const _0x65c2f8=await this[_0x16eac6(0x19a)](),_0x5bc8b1=await this['createPercyConfig']();if(!_0x65c2f8)return![];const _0x2d9f72=[(this.#isApp?_0x5e5ac5[_0x16eac6(0x1a5)]:_0x5e5ac5[_0x16eac6(0x1ce)])+':start'];_0x5bc8b1&&_0x2d9f72[_0x16eac6(0x1cd)]('-c',_0x5bc8b1);this.#proc=_0x5e5ac5[_0x16eac6(0x1c0)](spawn,_0x10d91d,_0x2d9f72,{'env':Object[_0x16eac6(0x1e8)](process['env'],{'PERCY_TOKEN':_0x65c2f8,'TH_BUILD_UUID':process[_0x16eac6(0x19f)][testHubConstants[_0x16eac6(0x1b6)][_0x16eac6(0x1d0)]]})}),this.#proc[_0x16eac6(0x1c7)]['pipe'](this.#logStream),this.#proc[_0x16eac6(0x1df)]['pipe'](this.#logStream),this[_0x16eac6(0x1a1)]=!![];var _0x2291d7=this;this.#proc['on'](_0x5e5ac5[_0x16eac6(0x1a0)],function(_0x2ee589){const _0x3e2541=_0x16eac6;_0x2291d7[_0x3e2541(0x1a1)]=![];});do{const _0x5ca791=await this[_0x16eac6(0x1bd)]();if(_0x5ca791)return logger[_0x16eac6(0x1a6)](_0x5e5ac5[_0x16eac6(0x1bf)]),!![];await this.#sleep(0x3e8);}while(this[_0x16eac6(0x1a1)]);return![];}async[a113_0x283512(0x1bc)](){const _0x3c5a92=a113_0x283512,_0x2c517c={'DynuR':function(_0x501f56,_0x304477){return _0x501f56(_0x304477);},'vbpac':function(_0x4cd910,_0x16a5b9,_0x17336b){return _0x4cd910(_0x16a5b9,_0x17336b);},'sPuyD':_0x3c5a92(0x1c6),'faRzE':_0x3c5a92(0x19b)},_0xdb93b9=await this.#getBinaryPath();return new Promise((_0xef8cee,_0x259677)=>{const _0xf72e82=_0x3c5a92,_0x2b948e=_0x2c517c['vbpac'](spawn,_0xdb93b9,[_0x2c517c[_0xf72e82(0x1e4)]]);_0x2b948e['on'](_0x2c517c['faRzE'],_0x2c8322=>{const _0xf47e4b=_0xf72e82;this[_0xf47e4b(0x1a1)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x2c517c[_0xf47e4b(0x1d4)](_0xef8cee,_0x2c8322);});});}[a113_0x283512(0x1a2)](){const _0x3fc268=a113_0x283512;return this[_0x3fc268(0x1a1)];}async['fetchPercyToken'](){const _0x39bb4e=a113_0x283512,_0x3f0f00={};_0x3f0f00['rjzqF']=_0x39bb4e(0x1dc),_0x3f0f00[_0x39bb4e(0x1e2)]=_0x39bb4e(0x1b1),_0x3f0f00[_0x39bb4e(0x1cc)]=_0x39bb4e(0x1c5),_0x3f0f00['wBRME']=_0x39bb4e(0x1e7);const _0x3608a0=_0x3f0f00,_0x14fedb=this.#config[_0x39bb4e(0x1a4)];try{const _0x5020ac=this.#isApp?_0x3608a0['rjzqF']:_0x3608a0['elHtX'],_0x24a054=await helper['nodeRequest'](_0x3608a0[_0x39bb4e(0x1cc)],_0x39bb4e(0x1e1)+_0x14fedb+'&type='+_0x5020ac,{},this.#config),_0xef986c=_0x24a054[_0x39bb4e(0x1c4)];return logger['debug'](_0x3608a0[_0x39bb4e(0x1de)]),_0xef986c[_0x39bb4e(0x1ac)];}catch(_0x51f7a6){return logger['error'](_0x39bb4e(0x1a3)+_0x51f7a6),null;}}async[a113_0x283512(0x1d8)](){const _0x5504a0=a113_0x283512,_0x161fab={'HoCbz':function(_0x21965,_0x311bc4){return _0x21965(_0x311bc4);},'IfkSP':function(_0x53b0e6,_0x59a64e){return _0x53b0e6+_0x59a64e;},'kvuBv':_0x5504a0(0x1aa),'zcdXZ':function(_0x3e246b,_0x2d56fd){return _0x3e246b(_0x2d56fd);},'lfQdU':_0x5504a0(0x1dd)};if(!this.#config[_0x5504a0(0x1af)])return null;const _0x1a6350=path[_0x5504a0(0x19e)](os[_0x5504a0(0x19c)](),_0x161fab['lfQdU']),_0xc4692b=this.#config[_0x5504a0(0x1af)];return!_0xc4692b[_0x5504a0(0x1ae)]&&(_0xc4692b[_0x5504a0(0x1ae)]='2'),new Promise((_0x362ce0,_0x409c51)=>{const _0x50118a=_0x5504a0,_0x5b754a={'PrLZX':function(_0x57c661,_0x52b710){const _0x4dc92b=a113_0x2e5a;return _0x161fab[_0x4dc92b(0x1c1)](_0x57c661,_0x52b710);},'eBLqi':function(_0x5b15e7,_0x4ed51f){const _0x438663=a113_0x2e5a;return _0x161fab[_0x438663(0x1e0)](_0x5b15e7,_0x4ed51f);},'LbTRV':_0x161fab['kvuBv'],'bzdIW':function(_0x3dd574,_0x1ae9f6){const _0x1d109f=a113_0x2e5a;return _0x161fab[_0x1d109f(0x1b9)](_0x3dd574,_0x1ae9f6);}};fs[_0x50118a(0x1ad)](_0x1a6350,JSON[_0x50118a(0x1ca)](_0xc4692b),_0x19774f=>{const _0x288e4c=_0x50118a;_0x19774f&&(logger[_0x288e4c(0x1e9)](_0x288e4c(0x1bb)+_0x19774f),_0x5b754a[_0x288e4c(0x1d6)](_0x362ce0,null)),logger[_0x288e4c(0x1a6)](_0x5b754a['eBLqi'](_0x5b754a['LbTRV'],_0x1a6350)),_0x5b754a[_0x288e4c(0x19d)](_0x362ce0,_0x1a6350);});});}}module['exports']=Percy;
@@ -1 +1 @@
1
- const a114_0x4c3f44=a114_0x3eb3;(function(_0x1bd7aa,_0x34c6b5){const _0x2ac7b0=a114_0x3eb3,_0x585695=_0x1bd7aa();while(!![]){try{const _0x50aff9=parseInt(_0x2ac7b0(0x17a))/0x1*(parseInt(_0x2ac7b0(0x201))/0x2)+-parseInt(_0x2ac7b0(0x1ba))/0x3*(parseInt(_0x2ac7b0(0x19f))/0x4)+-parseInt(_0x2ac7b0(0x1bb))/0x5+-parseInt(_0x2ac7b0(0x198))/0x6+-parseInt(_0x2ac7b0(0x1ed))/0x7*(parseInt(_0x2ac7b0(0x1dd))/0x8)+parseInt(_0x2ac7b0(0x1a5))/0x9+parseInt(_0x2ac7b0(0x1f4))/0xa;if(_0x50aff9===_0x34c6b5)break;else _0x585695['push'](_0x585695['shift']());}catch(_0x4ae221){_0x585695['push'](_0x585695['shift']());}}}(a114_0x2872,0x84c61));function a114_0x3eb3(_0x2e25cb,_0x2460d1){const _0x2872e0=a114_0x2872();return a114_0x3eb3=function(_0x3eb39d,_0x5be788){_0x3eb39d=_0x3eb39d-0x16e;let _0x2debe8=_0x2872e0[_0x3eb39d];return _0x2debe8;},a114_0x3eb3(_0x2e25cb,_0x2460d1);}const {https}=require(a114_0x4c3f44(0x192)),url=require(a114_0x4c3f44(0x1ab)),yauzl=require(a114_0x4c3f44(0x208)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a114_0x4c3f44(0x1c8)),HttpsProxyAgent=require(a114_0x4c3f44(0x1b6)),logger=require(a114_0x4c3f44(0x1a8))[a114_0x4c3f44(0x1fb)];class PercyBinary{#hostOS=process[a114_0x4c3f44(0x195)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a114_0x4c3f44(0x1d3)](this.#homedir(),a114_0x4c3f44(0x197)),process['cwd'](),os['tmpdir']()];constructor(){const _0x25bd73=a114_0x4c3f44,_0xaf2e22={};_0xaf2e22[_0x25bd73(0x1d4)]=_0x25bd73(0x1c6),_0xaf2e22[_0x25bd73(0x1e1)]=function(_0x3d8354,_0x5ba8a9){return _0x3d8354+_0x5ba8a9;},_0xaf2e22[_0x25bd73(0x175)]=_0x25bd73(0x1c2),_0xaf2e22['yidgL']=function(_0x20ada0,_0x37cb3d){return _0x20ada0+_0x37cb3d;},_0xaf2e22[_0x25bd73(0x1a6)]='/percy-win.zip',_0xaf2e22[_0x25bd73(0x1b8)]=_0x25bd73(0x1ee),_0xaf2e22['qHrYq']=function(_0x5e364a,_0x46e779){return _0x5e364a+_0x46e779;},_0xaf2e22[_0x25bd73(0x1b9)]='/percy-linux.zip';const _0x35f943=_0xaf2e22,_0x3ca453=_0x35f943[_0x25bd73(0x1d4)];if(this.#hostOS[_0x25bd73(0x1cf)](/darwin|mac os/i))this.#httpPath=_0x35f943[_0x25bd73(0x1e1)](_0x3ca453,_0x35f943[_0x25bd73(0x175)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x35f943['yidgL'](_0x3ca453,_0x35f943[_0x25bd73(0x1a6)]),this.#binaryName=_0x35f943['hirMq']):this.#httpPath=_0x35f943[_0x25bd73(0x1e5)](_0x3ca453,_0x35f943['juOWz']);}#getAvailableDirs(){const _0x660df4=a114_0x4c3f44,_0x33007f={};_0x33007f[_0x660df4(0x17c)]=function(_0x2d893f,_0x37ff9c){return _0x2d893f<_0x37ff9c;},_0x33007f[_0x660df4(0x1cb)]=_0x660df4(0x207);const _0x5da79f=_0x33007f;for(var _0xdb35ed=0x0;_0x5da79f[_0x660df4(0x17c)](_0xdb35ed,this.#orderedPaths[_0x660df4(0x172)]);_0xdb35ed++){var _0x3a18fe=this.#orderedPaths[_0xdb35ed];if(this.#makePath(_0x3a18fe))return _0x3a18fe;}throw new Error(_0x5da79f['ZBdil']);}#makePath(_0x171bd8){try{return _0x171bd8&&!this.#checkPath(_0x171bd8)&&fs['mkdirSync'](_0x171bd8),!![];}catch{return![];}}#checkPath(_0x32c88a,_0x461371){const _0x2effd6=a114_0x4c3f44,_0x155c43={};_0x155c43[_0x2effd6(0x1c4)]=function(_0x1b04aa,_0x2692b9){return _0x1b04aa|_0x2692b9;},_0x155c43['wZcwL']=function(_0x369bac,_0x5b2764){return _0x369bac!==_0x5b2764;},_0x155c43[_0x2effd6(0x182)]=_0x2effd6(0x1e3);const _0x2cc243=_0x155c43;_0x461371=_0x461371||_0x2cc243['XcuNy'](fs[_0x2effd6(0x1be)],fs[_0x2effd6(0x18f)]);try{return fs['accessSync'](_0x32c88a,_0x461371),!![];}catch(_0x2a1c98){if(_0x2cc243[_0x2effd6(0x205)](typeof fs[_0x2effd6(0x1d8)],_0x2cc243[_0x2effd6(0x182)]))return![];try{return fs[_0x2effd6(0x1c3)](_0x32c88a),!![];}catch(_0x4a8bc4){return![];}}}#getETagPath(_0xcfad1a){const _0x3e1dff=a114_0x4c3f44;return path[_0x3e1dff(0x1d3)](_0xcfad1a,this.#binaryName+_0x3e1dff(0x1bf));}#loadETag(_0x33459d){const _0x25a907=a114_0x4c3f44,_0x302087={};_0x302087[_0x25a907(0x1ad)]=_0x25a907(0x1e2);const _0x4ca423=_0x302087,_0x412ce9=this.#getETagPath(_0x33459d);if(this.#checkPath(_0x412ce9))try{return fs[_0x25a907(0x18d)](_0x412ce9,_0x4ca423['xCHcs'])['trim']();}catch(_0x35a066){logger[_0x25a907(0x1d2)](_0x25a907(0x206)+_0x35a066);}return null;}#saveETag(_0x1e09ba,_0x11e48c){const _0x52498e=a114_0x4c3f44,_0x21b61b={};_0x21b61b[_0x52498e(0x189)]=_0x52498e(0x183);const _0x3995bc=_0x21b61b;if(!_0x11e48c)return;try{const _0x2aa1d9=this.#getETagPath(_0x1e09ba);fs['writeFileSync'](_0x2aa1d9,_0x11e48c),logger['debug'](_0x3995bc['BPtSv']);}catch(_0x5cb7e1){logger['warn'](_0x52498e(0x1a9)+_0x5cb7e1);}}async #handleBinaryDownload(_0x21f961,_0xcdbdcb,_0x51a2e1){const _0x3d19ab=a114_0x4c3f44,_0x43256b={};_0x43256b[_0x3d19ab(0x202)]='Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying';const _0xae2d91=_0x43256b,_0xd24f21=await this[_0x3d19ab(0x1c1)](_0x21f961[_0x3d19ab(0x1eb)]);if(!_0xd24f21){logger[_0x3d19ab(0x1b0)](_0xae2d91[_0x3d19ab(0x202)]);const _0x32d323=await this[_0x3d19ab(0x1fc)](_0xcdbdcb,_0x51a2e1);return _0x32d323[_0x3d19ab(0x1eb)];}return _0x21f961[_0x3d19ab(0x1eb)];}async[a114_0x4c3f44(0x1af)](_0x240e26){const _0x176fb3=a114_0x4c3f44,_0x2d2a0a={};_0x2d2a0a['cVlzU']=_0x176fb3(0x1c0),_0x2d2a0a['jhSZV']=_0x176fb3(0x1b1);const _0x409b5e=_0x2d2a0a,_0x4dc648=this.#getAvailableDirs(),_0x5f65de=path[_0x176fb3(0x1d3)](_0x4dc648,this.#binaryName);if(this.#checkPath(_0x5f65de,fs['X_OK'])){const _0x180f72=this.#loadETag(_0x4dc648);if(_0x180f72)try{const _0x6edb5f=await this[_0x176fb3(0x1fc)](_0x240e26,_0x4dc648,_0x180f72);if(!_0x6edb5f[_0x176fb3(0x1df)])return logger[_0x176fb3(0x1f3)](_0x409b5e[_0x176fb3(0x1d0)]),_0x5f65de;return logger[_0x176fb3(0x1f3)](_0x409b5e[_0x176fb3(0x1d6)]),await this.#handleBinaryDownload(_0x6edb5f,_0x240e26,_0x4dc648);}catch(_0x2c6fc1){return logger[_0x176fb3(0x1d2)](_0x176fb3(0x1a1)+_0x2c6fc1),_0x5f65de;}}const _0x44ef86=await this[_0x176fb3(0x1fc)](_0x240e26,_0x4dc648);return await this.#handleBinaryDownload(_0x44ef86,_0x240e26,_0x4dc648);}[a114_0x4c3f44(0x1fc)](_0x5048ec,_0x3d5533,_0x5bf069=null){const _0x4955ce=a114_0x4c3f44,_0x47bd49={'LtOim':function(_0x540456,_0x3be86b){return _0x540456(_0x3be86b);},'nmKTj':function(_0x378a36,_0x4002c6){return _0x378a36(_0x4002c6);},'GLzXi':function(_0x169c48,_0x15a44c){return _0x169c48===_0x15a44c;},'faRGQ':function(_0x23303a,_0x1e128c){return _0x23303a(_0x1e128c);},'xPNPs':'error','fwUHP':_0x4955ce(0x1c7),'cjzJH':function(_0x5dad7d,_0x10699e){return _0x5dad7d(_0x10699e);},'WwsbT':function(_0x210ffa,_0x86e9bd){return _0x210ffa+_0x86e9bd;},'bmMrr':_0x4955ce(0x200)};_0x3d5533&&!this.#checkPath(_0x3d5533)&&fs[_0x4955ce(0x1bd)](_0x3d5533);const _0x383141=this.#binaryName,_0x1674b5=path['join'](_0x3d5533,_0x47bd49['WwsbT'](_0x383141,_0x47bd49[_0x4955ce(0x177)])),_0x287f14=fs['createWriteStream'](_0x1674b5),_0x585287=url[_0x4955ce(0x1f2)](this.#httpPath);if(_0x5048ec[_0x4955ce(0x171)]&&_0x5048ec['proxyPort']){const _0xba04e1={};_0xba04e1[_0x4955ce(0x193)]=_0x5048ec[_0x4955ce(0x171)],_0xba04e1[_0x4955ce(0x181)]=_0x5048ec[_0x4955ce(0x1ac)],_0x585287['agent']=new HttpsProxyAgent(_0xba04e1);}if(_0x5048ec[_0x4955ce(0x1cc)])try{_0x585287['ca']=fs[_0x4955ce(0x18d)](_0x5048ec['useCaCertificate']);}catch(_0x4e1e66){logger[_0x4955ce(0x1b0)](_0x4955ce(0x203)+_0x4e1e66);}if(_0x5bf069){const _0x4ee6fe={};_0x4ee6fe['If-None-Match']=_0x5bf069,_0x4ee6fe[_0x4955ce(0x19c)]=_0x47bd49['fwUHP'],_0x585287['headers']=_0x4ee6fe;}else{const _0x3f20eb={};_0x3f20eb[_0x4955ce(0x19c)]=_0x47bd49['fwUHP'],_0x585287[_0x4955ce(0x1f6)]=_0x3f20eb;}return new Promise((_0x3ddbf9,_0x45cf0b)=>{const _0x267ecf=_0x4955ce,_0x5f1361={'Stpmb':function(_0x5881ae,_0x2c4aba){const _0x3218af=a114_0x3eb3;return _0x47bd49[_0x3218af(0x188)](_0x5881ae,_0x2c4aba);}};https['get'](_0x585287,_0x444b77=>{const _0x545c03=a114_0x3eb3,_0x32eee7={'KuEpF':function(_0x2608ab,_0x135302){const _0x10def6=a114_0x3eb3;return _0x47bd49[_0x10def6(0x1b5)](_0x2608ab,_0x135302);},'ctFpa':function(_0x57b8c1,_0x2c307b){return _0x47bd49['nmKTj'](_0x57b8c1,_0x2c307b);}};if(_0x5bf069&&_0x47bd49['GLzXi'](_0x444b77[_0x545c03(0x1d9)],0x130)){_0x287f14[_0x545c03(0x180)]();const _0x14f05a={};_0x14f05a['needsUpdate']=![],_0x47bd49[_0x545c03(0x1dc)](_0x3ddbf9,_0x14f05a);return;}const _0x48e20e=_0x444b77['headers'][_0x545c03(0x1cd)];_0x48e20e&&this.#saveETag(_0x3d5533,_0x48e20e),_0x444b77[_0x545c03(0x1f1)](_0x287f14),_0x444b77['on'](_0x47bd49[_0x545c03(0x18a)],function(_0x4372b4){const _0x21ea58=_0x545c03;logger[_0x21ea58(0x1b0)](_0x21ea58(0x184)+_0x4372b4),_0x32eee7[_0x21ea58(0x1da)](_0x45cf0b,_0x4372b4);}),_0x287f14['on'](_0x47bd49['xPNPs'],function(_0x15768a){const _0x465830=_0x545c03;logger[_0x465830(0x1b0)](_0x465830(0x176)+_0x15768a),_0x32eee7[_0x465830(0x1bc)](_0x45cf0b,_0x15768a);}),_0x287f14['on'](_0x47bd49[_0x545c03(0x1ef)],()=>{const _0xb90788=_0x545c03;this[_0xb90788(0x1d5)](_0x1674b5,_0x3d5533)[_0xb90788(0x1ae)](_0x202101=>_0x3ddbf9({'needsUpdate':!![],'binaryPath':_0x202101}))[_0xb90788(0x1f5)](_0x45cf0b);});})['on'](_0x47bd49[_0x267ecf(0x18a)],function(_0x5ab27f){const _0x52c487=_0x267ecf;logger[_0x52c487(0x1b0)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x5ab27f),_0x5f1361[_0x52c487(0x1e4)](_0x45cf0b,_0x5ab27f);});});}[a114_0x4c3f44(0x1d5)](_0x110fd8,_0x2e221c){const _0x5835b8=a114_0x4c3f44,_0x565ed3={'UBwuG':function(_0x5d5e54,_0x309bbc){return _0x5d5e54(_0x309bbc);},'fpuyT':function(_0x5259e6,_0x145b2b){return _0x5259e6(_0x145b2b);},'KavMg':function(_0x29bfaf,_0x283ff3){return _0x29bfaf(_0x283ff3);},'LsDqR':function(_0x8d50a7,_0xa65bdf){return _0x8d50a7(_0xa65bdf);},'kINzt':_0x5835b8(0x187),'icxDl':'error','yfdTB':_0x5835b8(0x174),'lhtsT':function(_0x5bdaeb,_0x244c9a){return _0x5bdaeb(_0x244c9a);},'tYwJS':function(_0x1e9f65,_0x3e6429){return _0x1e9f65===_0x3e6429;},'oYRBq':_0x5835b8(0x1f9)},_0x511469=this.#binaryName,_0x1e3f02=path[_0x5835b8(0x1d3)](_0x2e221c,_0x511469);return new Promise((_0x469a58,_0x5bd4fd)=>{const _0x1516df=_0x5835b8,_0x4ef532={'gwLkU':function(_0x13ec76,_0x267333){const _0x1ed405=a114_0x3eb3;return _0x565ed3[_0x1ed405(0x185)](_0x13ec76,_0x267333);},'rDGYy':_0x565ed3[_0x1516df(0x19a)],'gGhLE':function(_0x59c9d1,_0x57a349){const _0x2375e3=_0x1516df;return _0x565ed3[_0x2375e3(0x1ec)](_0x59c9d1,_0x57a349);},'YsAxg':_0x565ed3[_0x1516df(0x1d7)]},_0x43aa87={};_0x43aa87[_0x1516df(0x1b7)]=!![],yauzl[_0x1516df(0x1f0)](_0x110fd8,_0x43aa87,function(_0x16008a,_0x1b8611){const _0xc46bb0=_0x1516df,_0x2b7394={'ELdTN':function(_0x5836fd,_0x4fba12){const _0x3d797a=a114_0x3eb3;return _0x565ed3[_0x3d797a(0x19e)](_0x5836fd,_0x4fba12);},'CTWmt':function(_0x4ac523,_0x20e219){return _0x565ed3['fpuyT'](_0x4ac523,_0x20e219);},'ntANE':function(_0x317b82,_0x47d999){const _0x54151e=a114_0x3eb3;return _0x565ed3[_0x54151e(0x1ea)](_0x317b82,_0x47d999);}};_0x16008a&&_0x565ed3[_0xc46bb0(0x1c9)](_0x5bd4fd,_0x16008a),_0x1b8611[_0xc46bb0(0x1de)](),_0x1b8611['on'](_0x565ed3[_0xc46bb0(0x1fe)],_0x50be62=>{const _0x3b389a=_0xc46bb0,_0x149a46={'uUbGK':function(_0x4febd7,_0x259564){return _0x4ef532['gwLkU'](_0x4febd7,_0x259564);},'LyiAW':_0x4ef532[_0x3b389a(0x1a3)]};if(/\/$/[_0x3b389a(0x1b3)](_0x50be62[_0x3b389a(0x1aa)]))_0x1b8611[_0x3b389a(0x1de)]();else{const _0x271582=fs[_0x3b389a(0x170)](path['join'](_0x2e221c,_0x50be62['fileName']));_0x1b8611[_0x3b389a(0x1e9)](_0x50be62,function(_0xcb78e1,_0x1d6aca){const _0xf0d30b=_0x3b389a;_0xcb78e1&&_0x149a46[_0xf0d30b(0x18b)](_0x5bd4fd,_0x16008a),_0x1d6aca['on'](_0x149a46[_0xf0d30b(0x1ce)],function(){const _0xe3cc9b=_0xf0d30b;_0x271582[_0xe3cc9b(0x1c7)](),_0x1b8611['readEntry']();}),_0x1d6aca[_0xf0d30b(0x1f1)](_0x271582);}),_0x4ef532['gGhLE'](_0x50be62[_0x3b389a(0x1aa)],_0x511469)&&_0x1b8611[_0x3b389a(0x1c7)]();}}),_0x1b8611['on'](_0x565ed3['icxDl'],_0x45f6f8=>{_0x2b7394['ELdTN'](_0x5bd4fd,_0x45f6f8);}),_0x1b8611[_0xc46bb0(0x1e6)](_0x565ed3[_0xc46bb0(0x19a)],()=>{const _0x10428=_0xc46bb0;fs[_0x10428(0x1fa)](_0x1e3f02,_0x4ef532['YsAxg'],function(_0x556a5a){const _0x5b5c11=_0x10428;_0x556a5a&&_0x2b7394[_0x5b5c11(0x1e0)](_0x5bd4fd,_0x556a5a),_0x2b7394[_0x5b5c11(0x1a2)](_0x469a58,_0x1e3f02);}),_0x1b8611[_0x10428(0x1c7)]();});});});}async[a114_0x4c3f44(0x1c1)](_0x302f8c){const _0x5166aa=a114_0x4c3f44,_0x2978d0={'Ymtti':function(_0x30c4ab,_0x6da2a7){return _0x30c4ab(_0x6da2a7);},'mmFUN':function(_0x434a2c,_0x2cf2c4){return _0x434a2c(_0x2cf2c4);},'DISDl':function(_0x373a53,_0x2bb35d,_0x19ecd3,_0x349572){return _0x373a53(_0x2bb35d,_0x19ecd3,_0x349572);},'JlqlA':_0x5166aa(0x1c5),'uilqZ':_0x5166aa(0x1ff),'fCNsl':_0x5166aa(0x1c7)},_0x351520=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2b822b,_0x58cece)=>{const _0x52949a=_0x5166aa,_0x200ce9={};_0x200ce9[_0x52949a(0x1f7)]=process['env'];const _0x1a5908=_0x2978d0['DISDl'](spawn,_0x302f8c,[_0x2978d0[_0x52949a(0x191)]],_0x200ce9);_0x1a5908['stdout']['on'](_0x2978d0[_0x52949a(0x1b4)],_0x5d0368=>{const _0x37b373=_0x52949a;_0x351520[_0x37b373(0x1b3)](_0x5d0368)&&_0x2978d0[_0x37b373(0x1a4)](_0x2b822b,!![]);}),_0x1a5908['on'](_0x2978d0['fCNsl'],()=>{const _0x1ba4bd=_0x52949a;_0x2978d0[_0x1ba4bd(0x190)](_0x2b822b,![]);});});}#homedir(){const _0x1daece=a114_0x4c3f44,_0x2ecc04={};_0x2ecc04[_0x1daece(0x1b2)]=function(_0x195346,_0xa7ade3){return _0x195346===_0xa7ade3;},_0x2ecc04['cYrEz']=_0x1daece(0x16e),_0x2ecc04['LpMlU']=function(_0x4b2dc1,_0x5ea86e){return _0x4b2dc1===_0x5ea86e;},_0x2ecc04[_0x1daece(0x19b)]=_0x1daece(0x19d),_0x2ecc04['RADdY']=function(_0x59ab51,_0x1089cd){return _0x59ab51+_0x1089cd;},_0x2ecc04[_0x1daece(0x1e7)]=function(_0x16959f,_0x755aae){return _0x16959f===_0x755aae;},_0x2ecc04['aOwRX']=_0x1daece(0x1fd),_0x2ecc04[_0x1daece(0x186)]=_0x1daece(0x1f8),_0x2ecc04[_0x1daece(0x1d1)]=_0x1daece(0x1ca),_0x2ecc04['ixCRB']=function(_0x3cf457,_0x343836){return _0x3cf457===_0x343836;},_0x2ecc04[_0x1daece(0x1e8)]=_0x1daece(0x18e),_0x2ecc04['iBJtm']=_0x1daece(0x18c),_0x2ecc04[_0x1daece(0x178)]=function(_0x190302,_0x45f127){return _0x190302||_0x45f127;};const _0x4e7cef=_0x2ecc04;if(_0x4e7cef[_0x1daece(0x1b2)](typeof os['homedir'],_0x4e7cef[_0x1daece(0x17f)]))return os[_0x1daece(0x1a0)]();const _0x3b23e2=process[_0x1daece(0x1f7)],_0x28ede9=_0x3b23e2[_0x1daece(0x194)],_0x3c2a9b=_0x3b23e2['LOGNAME']||_0x3b23e2[_0x1daece(0x179)]||_0x3b23e2[_0x1daece(0x17e)]||_0x3b23e2[_0x1daece(0x17d)];if(_0x4e7cef[_0x1daece(0x1db)](process[_0x1daece(0x195)],_0x4e7cef[_0x1daece(0x19b)]))return _0x3b23e2[_0x1daece(0x204)]||_0x4e7cef['RADdY'](_0x3b23e2[_0x1daece(0x173)],_0x3b23e2[_0x1daece(0x17b)])||_0x28ede9||null;if(_0x4e7cef[_0x1daece(0x1e7)](process[_0x1daece(0x195)],_0x4e7cef[_0x1daece(0x16f)]))return _0x28ede9||(_0x3c2a9b?_0x4e7cef['RADdY'](_0x4e7cef['qOlME'],_0x3c2a9b):null);if(_0x4e7cef[_0x1daece(0x1b2)](process[_0x1daece(0x195)],_0x4e7cef[_0x1daece(0x1d1)]))return _0x28ede9||(_0x4e7cef['ixCRB'](process[_0x1daece(0x199)](),0x0)?_0x4e7cef[_0x1daece(0x1e8)]:_0x3c2a9b?_0x4e7cef['RADdY'](_0x4e7cef[_0x1daece(0x1a7)],_0x3c2a9b):null);return _0x4e7cef[_0x1daece(0x178)](_0x28ede9,null);}}module[a114_0x4c3f44(0x196)]=PercyBinary;function a114_0x2872(){const _0x4d88a7=['winstonLogger','download','darwin','kINzt','data','.zip','26HziuNo','gluPN','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','USERPROFILE','wZcwL','Failed\x20to\x20read\x20ETag\x20file:\x20','Error\x20trying\x20to\x20download\x20percy\x20binary','yauzl','function','aOwRX','createWriteStream','proxyHost','length','HOMEDRIVE','end','JETjT','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','bmMrr','fvVJU','USER','74357cSwpCc','HOMEPATH','BHwyk','USERNAME','LNAME','cYrEz','destroy','port','cekYC','Saved\x20new\x20ETag\x20for\x20percy\x20binary','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','lhtsT','qOlME','entry','cjzJH','BPtSv','xPNPs','uUbGK','/home/','readFileSync','/root','W_OK','mmFUN','JlqlA','follow-redirects','host','HOME','platform','exports','.browserstack','5347404NMHwGR','getuid','yfdTB','pfXut','Connection','win32','UBwuG','10852vNQXlB','homedir','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','ntANE','rDGYy','Ymtti','894303Yxwwsu','PtLor','iBJtm','../logger','Failed\x20to\x20save\x20ETag\x20file:\x20','fileName','url','proxyPort','xCHcs','then','getBinaryPath','error','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','DNDtu','test','uilqZ','LtOim','https-proxy-agent','lazyEntries','hirMq','juOWz','237KpnFRH','325165cjeWhV','ctFpa','mkdirSync','R_OK','.etag','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','validateBinary','/percy-osx.zip','statSync','XcuNy','--version','https://github.com/percy/cli/releases/latest/download','close','child_process','LsDqR','linux','ZBdil','useCaCertificate','etag','LyiAW','match','cVlzU','idOgF','warn','join','UFflX','extractAndSaveBinary','jhSZV','oYRBq','accessSync','statusCode','KuEpF','LpMlU','faRGQ','8zdweMX','readEntry','needsUpdate','CTWmt','kYUdr','utf8','undefined','Stpmb','qHrYq','once','NqMmr','nykrD','openReadStream','KavMg','binaryPath','tYwJS','7209454JxGjnA','percy.exe','fwUHP','open','pipe','parse','debug','16783490grINgl','catch','headers','env','/Users/','0755','chmod'];a114_0x2872=function(){return _0x4d88a7;};return a114_0x2872();}
1
+ const a114_0x20fda2=a114_0x53d4;function a114_0x53d4(_0x5ba5f9,_0x471115){const _0x55fd06=a114_0x55fd();return a114_0x53d4=function(_0x53d440,_0x1b86ed){_0x53d440=_0x53d440-0x1cb;let _0x3c3167=_0x55fd06[_0x53d440];return _0x3c3167;},a114_0x53d4(_0x5ba5f9,_0x471115);}(function(_0x2ef26a,_0x29a4e5){const _0x872727=a114_0x53d4,_0x4e5dda=_0x2ef26a();while(!![]){try{const _0x4daaf4=parseInt(_0x872727(0x225))/0x1*(parseInt(_0x872727(0x21d))/0x2)+parseInt(_0x872727(0x1fa))/0x3*(-parseInt(_0x872727(0x1f8))/0x4)+parseInt(_0x872727(0x23a))/0x5*(parseInt(_0x872727(0x232))/0x6)+-parseInt(_0x872727(0x209))/0x7+parseInt(_0x872727(0x1e4))/0x8+-parseInt(_0x872727(0x204))/0x9+parseInt(_0x872727(0x233))/0xa;if(_0x4daaf4===_0x29a4e5)break;else _0x4e5dda['push'](_0x4e5dda['shift']());}catch(_0x40e572){_0x4e5dda['push'](_0x4e5dda['shift']());}}}(a114_0x55fd,0xa5c93));const {https}=require(a114_0x20fda2(0x245)),url=require(a114_0x20fda2(0x205)),yauzl=require(a114_0x20fda2(0x203)),fs=require('fs'),path=require(a114_0x20fda2(0x1d5)),os=require('os'),{spawn}=require(a114_0x20fda2(0x210)),HttpsProxyAgent=require(a114_0x20fda2(0x1cb)),logger=require(a114_0x20fda2(0x219))[a114_0x20fda2(0x1e6)];function a114_0x55fd(){const _0x1d466f=['createWriteStream','X_OK','lazyEntries','end','needsUpdate','data','vzlag','gXdKs','Saved\x20new\x20ETag\x20for\x20percy\x20binary','parse','33036uUWGuN','readEntry','465PTAzLO','close','percy.exe','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','HOMEPATH','hApKy','download','HOMEDRIVE','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','yauzl','7866072DGWkly','url','Connection','darwin','esSyp','1599206SFZIGq','heMmS','PZktp','function','Failed\x20to\x20save\x20ETag\x20file:\x20','PuiQS','FXHMv','child_process','.zip','destroy','binaryPath','test','trim','Ebynn','ivXrw','host','../logger','cwd','CMCGK','proxyHost','6lgauAn','vZgjy','once','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','then','fileName','debug','qTTJq','324131ZlVHEQ','ZrdRB','VfHwR','accessSync','env','Hrsgd','tmpdir','TCmnK','ZcpUF','LNAME','OQeGz','USERPROFILE','.etag','6ecSMDS','692320QJVPjq','headers','bNAdw','--version','mkdirSync','R_OK','aNKvS','5966375TznHyr','readFileSync','gDHse','0755','getuid','USER','Jaibz','eDrUn','HOME','length','DHzLE','follow-redirects','stdout','platform','entry','xRMmU','/Users/','RLdYM','fGtam','warn','getBinaryPath','chmod','mQQTk','dpMMv','dIoHs','vbKmB','loowW','KWHBo','catch','pipe','/root','homedir','GsJZc','tbfFc','fYCxR','https-proxy-agent','qUpTY','validateBinary','dyNVk','/home/','percy','buSJv','get','tWAje','/percy-win.zip','path','writeFileSync','ksWBB','Dkggc','match','win32','tYcpY','Failed\x20to\x20read\x20ETag\x20file:\x20','port','DiOtc','/percy-linux.zip','twvAe','statSync','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','etag','6614160RXIBCZ','open','winstonLogger','oUtKw','useCaCertificate','error','nwedC','KKXpC','join','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'];a114_0x55fd=function(){return _0x1d466f;};return a114_0x55fd();}class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a114_0x20fda2(0x1d0);#orderedPaths=[path[a114_0x20fda2(0x1ec)](this.#homedir(),'.browserstack'),process[a114_0x20fda2(0x21a)](),os[a114_0x20fda2(0x22b)]()];constructor(){const _0x4e94fb=a114_0x20fda2,_0x96d1c={};_0x96d1c[_0x4e94fb(0x252)]='https://github.com/percy/cli/releases/latest/download',_0x96d1c[_0x4e94fb(0x22c)]=function(_0x54facf,_0x21aaf6){return _0x54facf+_0x21aaf6;},_0x96d1c[_0x4e94fb(0x244)]='/percy-osx.zip',_0x96d1c[_0x4e94fb(0x24b)]=_0x4e94fb(0x1d4),_0x96d1c['tYcpY']=_0x4e94fb(0x1fc),_0x96d1c[_0x4e94fb(0x1f4)]=function(_0x1a47a4,_0x4e6e2a){return _0x1a47a4+_0x4e6e2a;},_0x96d1c[_0x4e94fb(0x1ea)]=_0x4e94fb(0x1df);const _0x2deeab=_0x96d1c,_0x28ac88=_0x2deeab['dIoHs'];if(this.#hostOS[_0x4e94fb(0x1d9)](/darwin|mac os/i))this.#httpPath=_0x2deeab[_0x4e94fb(0x22c)](_0x28ac88,_0x2deeab['DHzLE']);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x2deeab[_0x4e94fb(0x22c)](_0x28ac88,_0x2deeab['RLdYM']),this.#binaryName=_0x2deeab[_0x4e94fb(0x1db)]):this.#httpPath=_0x2deeab['vzlag'](_0x28ac88,_0x2deeab[_0x4e94fb(0x1ea)]);}#getAvailableDirs(){const _0x481efb=a114_0x20fda2,_0xbdeefc={};_0xbdeefc[_0x481efb(0x25b)]=function(_0xeaae62,_0x2df992){return _0xeaae62<_0x2df992;},_0xbdeefc['ASKws']='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x52bc8d=_0xbdeefc;for(var _0xd96623=0x0;_0x52bc8d['tbfFc'](_0xd96623,this.#orderedPaths[_0x481efb(0x243)]);_0xd96623++){var _0xb5275=this.#orderedPaths[_0xd96623];if(this.#makePath(_0xb5275))return _0xb5275;}throw new Error(_0x52bc8d['ASKws']);}#makePath(_0x38808c){const _0x2bfb27=a114_0x20fda2;try{return _0x38808c&&!this.#checkPath(_0x38808c)&&fs[_0x2bfb27(0x237)](_0x38808c),!![];}catch{return![];}}#checkPath(_0x3d25f8,_0x4389e7){const _0x5a2e69=a114_0x20fda2,_0x414e8f={};_0x414e8f[_0x5a2e69(0x22a)]=function(_0x3285d8,_0x2665f8){return _0x3285d8|_0x2665f8;},_0x414e8f['ArujE']=function(_0x4e6327,_0x17729e){return _0x4e6327!==_0x17729e;},_0x414e8f[_0x5a2e69(0x239)]='undefined';const _0x176ecc=_0x414e8f;_0x4389e7=_0x4389e7||_0x176ecc[_0x5a2e69(0x22a)](fs[_0x5a2e69(0x238)],fs['W_OK']);try{return fs[_0x5a2e69(0x228)](_0x3d25f8,_0x4389e7),!![];}catch(_0x35d047){if(_0x176ecc['ArujE'](typeof fs['accessSync'],_0x176ecc['aNKvS']))return![];try{return fs[_0x5a2e69(0x1e1)](_0x3d25f8),!![];}catch(_0x40431a){return![];}}}#getETagPath(_0xded62c){const _0x3a6c1f=a114_0x20fda2;return path['join'](_0xded62c,this.#binaryName+_0x3a6c1f(0x231));}#loadETag(_0x346b20){const _0x313f58=a114_0x20fda2,_0x4fdfbe={};_0x4fdfbe[_0x313f58(0x1e7)]='utf8';const _0x1ef71d=_0x4fdfbe,_0x1b8a23=this.#getETagPath(_0x346b20);if(this.#checkPath(_0x1b8a23))try{return fs[_0x313f58(0x23b)](_0x1b8a23,_0x1ef71d[_0x313f58(0x1e7)])[_0x313f58(0x215)]();}catch(_0x280059){logger[_0x313f58(0x24d)](_0x313f58(0x1dc)+_0x280059);}return null;}#saveETag(_0x479296,_0x39b844){const _0x4543d5=a114_0x20fda2,_0xc9150b={};_0xc9150b[_0x4543d5(0x1ce)]=_0x4543d5(0x1f6);const _0x20ead7=_0xc9150b;if(!_0x39b844)return;try{const _0x5b5beb=this.#getETagPath(_0x479296);fs[_0x4543d5(0x1d6)](_0x5b5beb,_0x39b844),logger[_0x4543d5(0x223)](_0x20ead7['dyNVk']);}catch(_0x90bbd6){logger[_0x4543d5(0x24d)](_0x4543d5(0x20d)+_0x90bbd6);}}async #handleBinaryDownload(_0x181fc1,_0x4e88ba,_0x4be7c6){const _0x55128e=a114_0x20fda2,_0x343dd2={};_0x343dd2['Ebynn']=_0x55128e(0x220);const _0x42187e=_0x343dd2,_0x446d66=await this[_0x55128e(0x1cd)](_0x181fc1[_0x55128e(0x213)]);if(!_0x446d66){logger[_0x55128e(0x1e9)](_0x42187e[_0x55128e(0x216)]);const _0x468c21=await this[_0x55128e(0x200)](_0x4e88ba,_0x4be7c6);return _0x468c21[_0x55128e(0x213)];}return _0x181fc1[_0x55128e(0x213)];}async[a114_0x20fda2(0x24e)](_0x449e8a){const _0x5306ac=a114_0x20fda2,_0x4b6004={};_0x4b6004[_0x5306ac(0x1eb)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x4b6004[_0x5306ac(0x21e)]=_0x5306ac(0x1e2);const _0x3c9d8c=_0x4b6004,_0xff0bc9=this.#getAvailableDirs(),_0x479815=path[_0x5306ac(0x1ec)](_0xff0bc9,this.#binaryName);if(this.#checkPath(_0x479815,fs[_0x5306ac(0x1ef)])){const _0x1ef293=this.#loadETag(_0xff0bc9);if(_0x1ef293)try{const _0x25a39c=await this['download'](_0x449e8a,_0xff0bc9,_0x1ef293);if(!_0x25a39c[_0x5306ac(0x1f2)])return logger[_0x5306ac(0x223)](_0x3c9d8c[_0x5306ac(0x1eb)]),_0x479815;return logger[_0x5306ac(0x223)](_0x3c9d8c[_0x5306ac(0x21e)]),await this.#handleBinaryDownload(_0x25a39c,_0x449e8a,_0xff0bc9);}catch(_0x4ce96e){return logger['warn'](_0x5306ac(0x1ed)+_0x4ce96e),_0x479815;}}const _0x2365a1=await this['download'](_0x449e8a,_0xff0bc9);return await this.#handleBinaryDownload(_0x2365a1,_0x449e8a,_0xff0bc9);}[a114_0x20fda2(0x200)](_0xad3e6a,_0x246d5e,_0x2ae5e1=null){const _0x2b649d=a114_0x20fda2,_0x2d2eb9={'mQQTk':function(_0x1ed7a0,_0x582573){return _0x1ed7a0(_0x582573);},'XGPfX':function(_0x43b2f3,_0x3f12ac){return _0x43b2f3===_0x3f12ac;},'fYCxR':'error','xRMmU':_0x2b649d(0x1fb),'JjMrs':function(_0x1c20d3,_0x535be1){return _0x1c20d3+_0x535be1;},'gDHse':_0x2b649d(0x211)};_0x246d5e&&!this.#checkPath(_0x246d5e)&&fs[_0x2b649d(0x237)](_0x246d5e);const _0x8f894c=this.#binaryName,_0x5c60b1=path[_0x2b649d(0x1ec)](_0x246d5e,_0x2d2eb9['JjMrs'](_0x8f894c,_0x2d2eb9[_0x2b649d(0x23c)])),_0x43001d=fs[_0x2b649d(0x1ee)](_0x5c60b1),_0xefa2e=url[_0x2b649d(0x1f7)](this.#httpPath);if(_0xad3e6a[_0x2b649d(0x21c)]&&_0xad3e6a['proxyPort']){const _0x16b7fa={};_0x16b7fa[_0x2b649d(0x218)]=_0xad3e6a['proxyHost'],_0x16b7fa[_0x2b649d(0x1dd)]=_0xad3e6a['proxyPort'],_0xefa2e['agent']=new HttpsProxyAgent(_0x16b7fa);}if(_0xad3e6a[_0x2b649d(0x1e8)])try{_0xefa2e['ca']=fs[_0x2b649d(0x23b)](_0xad3e6a[_0x2b649d(0x1e8)]);}catch(_0x19ac29){logger[_0x2b649d(0x1e9)](_0x2b649d(0x202)+_0x19ac29);}if(_0x2ae5e1){const _0x423f9e={};_0x423f9e['If-None-Match']=_0x2ae5e1,_0x423f9e[_0x2b649d(0x206)]=_0x2d2eb9[_0x2b649d(0x249)],_0xefa2e['headers']=_0x423f9e;}else{const _0x59cad9={};_0x59cad9[_0x2b649d(0x206)]=_0x2d2eb9[_0x2b649d(0x249)],_0xefa2e['headers']=_0x59cad9;}return new Promise((_0x3c5ff9,_0x2aed72)=>{const _0x530c6e=_0x2b649d;https[_0x530c6e(0x1d2)](_0xefa2e,_0x21aa36=>{const _0x1f6885=_0x530c6e,_0x40e9ea={'tWAje':function(_0x39839b,_0x145bef){const _0x187caf=a114_0x53d4;return _0x2d2eb9[_0x187caf(0x250)](_0x39839b,_0x145bef);}};if(_0x2ae5e1&&_0x2d2eb9['XGPfX'](_0x21aa36['statusCode'],0x130)){_0x43001d[_0x1f6885(0x212)]();const _0x1aeb2b={};_0x1aeb2b[_0x1f6885(0x1f2)]=![],_0x2d2eb9[_0x1f6885(0x250)](_0x3c5ff9,_0x1aeb2b);return;}const _0x9c5ad7=_0x21aa36[_0x1f6885(0x234)][_0x1f6885(0x1e3)];_0x9c5ad7&&this.#saveETag(_0x246d5e,_0x9c5ad7),_0x21aa36[_0x1f6885(0x257)](_0x43001d),_0x21aa36['on'](_0x2d2eb9[_0x1f6885(0x25c)],function(_0x21b1b0){const _0x26849d=_0x1f6885;logger['error'](_0x26849d(0x1fd)+_0x21b1b0),_0x40e9ea[_0x26849d(0x1d3)](_0x2aed72,_0x21b1b0);}),_0x43001d['on'](_0x2d2eb9[_0x1f6885(0x25c)],function(_0x395f16){const _0x32e8ec=_0x1f6885;logger[_0x32e8ec(0x1e9)]('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x395f16),_0x40e9ea['tWAje'](_0x2aed72,_0x395f16);}),_0x43001d['on'](_0x2d2eb9[_0x1f6885(0x249)],()=>{const _0x551376=_0x1f6885;this['extractAndSaveBinary'](_0x5c60b1,_0x246d5e)[_0x551376(0x221)](_0x72737d=>_0x3c5ff9({'needsUpdate':!![],'binaryPath':_0x72737d}))[_0x551376(0x256)](_0x2aed72);});})['on'](_0x2d2eb9[_0x530c6e(0x25c)],function(_0x1ca7dd){const _0x2fd25b=_0x530c6e;logger[_0x2fd25b(0x1e9)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x1ca7dd),_0x2d2eb9[_0x2fd25b(0x250)](_0x2aed72,_0x1ca7dd);});});}['extractAndSaveBinary'](_0x1e6241,_0x358db4){const _0x3e9b0a=a114_0x20fda2,_0x5e7d05={'dpMMv':function(_0x47d023,_0x27c637){return _0x47d023(_0x27c637);},'hApKy':_0x3e9b0a(0x1f1),'ZcpUF':_0x3e9b0a(0x248),'uylvM':_0x3e9b0a(0x1e9),'gXdKs':function(_0x4a2521,_0x6fceb3){return _0x4a2521===_0x6fceb3;},'loowW':_0x3e9b0a(0x23d)},_0x422d6b=this.#binaryName,_0x34ae76=path[_0x3e9b0a(0x1ec)](_0x358db4,_0x422d6b);return new Promise((_0x4a7ad6,_0x40d922)=>{const _0x44c552=_0x3e9b0a,_0x994af7={'esSyp':function(_0x3199af,_0x32ddb1){const _0x48f71c=a114_0x53d4;return _0x5e7d05[_0x48f71c(0x1f5)](_0x3199af,_0x32ddb1);},'buSJv':function(_0x51dc7c,_0x4ecc33){const _0x9357f3=a114_0x53d4;return _0x5e7d05[_0x9357f3(0x251)](_0x51dc7c,_0x4ecc33);},'PZktp':_0x5e7d05[_0x44c552(0x254)]},_0x6c396a={};_0x6c396a[_0x44c552(0x1f0)]=!![],yauzl[_0x44c552(0x1e5)](_0x1e6241,_0x6c396a,function(_0x2bef70,_0x269930){const _0x453517=_0x44c552,_0xb294d2={'CMCGK':function(_0xa8cd4e,_0x20691a){return _0x5e7d05['dpMMv'](_0xa8cd4e,_0x20691a);},'KWHBo':_0x5e7d05[_0x453517(0x1ff)]};_0x2bef70&&_0x5e7d05['dpMMv'](_0x40d922,_0x2bef70),_0x269930['readEntry'](),_0x269930['on'](_0x5e7d05[_0x453517(0x22d)],_0x40be7a=>{const _0x56559a=_0x453517;if(/\/$/[_0x56559a(0x214)](_0x40be7a[_0x56559a(0x222)]))_0x269930[_0x56559a(0x1f9)]();else{const _0x8a5e10=fs[_0x56559a(0x1ee)](path[_0x56559a(0x1ec)](_0x358db4,_0x40be7a[_0x56559a(0x222)]));_0x269930['openReadStream'](_0x40be7a,function(_0x3ea5b0,_0x513a84){const _0xc7cea9=_0x56559a;_0x3ea5b0&&_0xb294d2[_0xc7cea9(0x21b)](_0x40d922,_0x2bef70),_0x513a84['on'](_0xb294d2[_0xc7cea9(0x255)],function(){const _0x1678b6=_0xc7cea9;_0x8a5e10[_0x1678b6(0x1fb)](),_0x269930[_0x1678b6(0x1f9)]();}),_0x513a84[_0xc7cea9(0x257)](_0x8a5e10);}),_0x994af7[_0x56559a(0x208)](_0x40be7a['fileName'],_0x422d6b)&&_0x269930['close']();}}),_0x269930['on'](_0x5e7d05['uylvM'],_0x539e1b=>{_0x994af7['buSJv'](_0x40d922,_0x539e1b);}),_0x269930[_0x453517(0x21f)](_0x5e7d05[_0x453517(0x1ff)],()=>{const _0x19f722=_0x453517,_0x369a0f={'ZbOOk':function(_0x139a6c,_0x1afd2c){const _0x355836=a114_0x53d4;return _0x994af7[_0x355836(0x1d1)](_0x139a6c,_0x1afd2c);},'ivXrw':function(_0xb29bc8,_0x2600c8){return _0x994af7['buSJv'](_0xb29bc8,_0x2600c8);}};fs[_0x19f722(0x24f)](_0x34ae76,_0x994af7[_0x19f722(0x20b)],function(_0x307037){const _0x51e77e=_0x19f722;_0x307037&&_0x369a0f['ZbOOk'](_0x40d922,_0x307037),_0x369a0f[_0x51e77e(0x217)](_0x4a7ad6,_0x34ae76);}),_0x269930[_0x19f722(0x1fb)]();});});});}async[a114_0x20fda2(0x1cd)](_0x4c638a){const _0x2c770e=a114_0x20fda2,_0x386b34={'fGtam':function(_0x428806,_0x292475){return _0x428806(_0x292475);},'GsJZc':function(_0x5448d9,_0x4e9e5d){return _0x5448d9(_0x4e9e5d);},'Dkggc':function(_0x59614c,_0xd54e38,_0x11785c,_0x34a2ed){return _0x59614c(_0xd54e38,_0x11785c,_0x34a2ed);},'vbKmB':_0x2c770e(0x236),'qTTJq':_0x2c770e(0x1f3),'fZxTZ':_0x2c770e(0x1fb)},_0x59a146=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x23fcbc,_0x1392cc)=>{const _0x4e166f=_0x2c770e,_0x973d8={'PuiQS':function(_0x49a20e,_0x2926fb){const _0xc82d41=a114_0x53d4;return _0x386b34[_0xc82d41(0x25a)](_0x49a20e,_0x2926fb);}},_0x57467c={};_0x57467c['env']=process[_0x4e166f(0x229)];const _0x3e7af5=_0x386b34[_0x4e166f(0x1d8)](spawn,_0x4c638a,[_0x386b34[_0x4e166f(0x253)]],_0x57467c);_0x3e7af5[_0x4e166f(0x246)]['on'](_0x386b34[_0x4e166f(0x224)],_0x5f01f7=>{const _0x45b274=_0x4e166f;_0x59a146['test'](_0x5f01f7)&&_0x973d8[_0x45b274(0x20e)](_0x23fcbc,!![]);}),_0x3e7af5['on'](_0x386b34['fZxTZ'],()=>{const _0x50d437=_0x4e166f;_0x386b34[_0x50d437(0x24c)](_0x23fcbc,![]);});});}#homedir(){const _0xa25ba5=a114_0x20fda2,_0x3f6651={};_0x3f6651[_0xa25ba5(0x1de)]=function(_0x5e84c6,_0x2b0d8e){return _0x5e84c6===_0x2b0d8e;},_0x3f6651['eDrUn']=_0xa25ba5(0x20c),_0x3f6651[_0xa25ba5(0x240)]=_0xa25ba5(0x1da),_0x3f6651[_0xa25ba5(0x22f)]=function(_0xda904b,_0x118543){return _0xda904b+_0x118543;},_0x3f6651[_0xa25ba5(0x1d7)]=_0xa25ba5(0x207),_0x3f6651[_0xa25ba5(0x20f)]=_0xa25ba5(0x24a),_0x3f6651[_0xa25ba5(0x226)]='linux',_0x3f6651[_0xa25ba5(0x1e0)]=function(_0x1c7fca,_0x5a08c3){return _0x1c7fca===_0x5a08c3;},_0x3f6651[_0xa25ba5(0x20a)]=_0xa25ba5(0x258),_0x3f6651[_0xa25ba5(0x227)]=function(_0x1c0df6,_0x2a7e1f){return _0x1c0df6+_0x2a7e1f;},_0x3f6651[_0xa25ba5(0x1cc)]=_0xa25ba5(0x1cf),_0x3f6651['bNAdw']=function(_0x4ce91c,_0xe646d6){return _0x4ce91c||_0xe646d6;};const _0x591b47=_0x3f6651;if(_0x591b47[_0xa25ba5(0x1de)](typeof os[_0xa25ba5(0x259)],_0x591b47[_0xa25ba5(0x241)]))return os[_0xa25ba5(0x259)]();const _0x14407a=process['env'],_0x873080=_0x14407a[_0xa25ba5(0x242)],_0x13761e=_0x14407a['LOGNAME']||_0x14407a[_0xa25ba5(0x23f)]||_0x14407a[_0xa25ba5(0x22e)]||_0x14407a['USERNAME'];if(_0x591b47[_0xa25ba5(0x1de)](process['platform'],_0x591b47[_0xa25ba5(0x240)]))return _0x14407a[_0xa25ba5(0x230)]||_0x591b47[_0xa25ba5(0x22f)](_0x14407a[_0xa25ba5(0x201)],_0x14407a[_0xa25ba5(0x1fe)])||_0x873080||null;if(_0x591b47[_0xa25ba5(0x1de)](process[_0xa25ba5(0x247)],_0x591b47[_0xa25ba5(0x1d7)]))return _0x873080||(_0x13761e?_0x591b47[_0xa25ba5(0x22f)](_0x591b47[_0xa25ba5(0x20f)],_0x13761e):null);if(_0x591b47[_0xa25ba5(0x1de)](process[_0xa25ba5(0x247)],_0x591b47[_0xa25ba5(0x226)]))return _0x873080||(_0x591b47[_0xa25ba5(0x1e0)](process[_0xa25ba5(0x23e)](),0x0)?_0x591b47[_0xa25ba5(0x20a)]:_0x13761e?_0x591b47['VfHwR'](_0x591b47[_0xa25ba5(0x1cc)],_0x13761e):null);return _0x591b47[_0xa25ba5(0x235)](_0x873080,null);}}module['exports']=PercyBinary;
@@ -1 +1 @@
1
- var a115_0x3870a7=a115_0x2353;(function(_0x459862,_0x4c39de){var _0x13df83=a115_0x2353,_0x18655f=_0x459862();while(!![]){try{var _0x5af1c5=-parseInt(_0x13df83(0x1b5))/0x1+-parseInt(_0x13df83(0x1b8))/0x2*(-parseInt(_0x13df83(0x1b3))/0x3)+-parseInt(_0x13df83(0x1b9))/0x4*(parseInt(_0x13df83(0x1bd))/0x5)+parseInt(_0x13df83(0x1bf))/0x6*(parseInt(_0x13df83(0x1ba))/0x7)+parseInt(_0x13df83(0x1b7))/0x8+parseInt(_0x13df83(0x1b4))/0x9+-parseInt(_0x13df83(0x1b6))/0xa*(parseInt(_0x13df83(0x1bc))/0xb);if(_0x5af1c5===_0x4c39de)break;else _0x18655f['push'](_0x18655f['shift']());}catch(_0x35364b){_0x18655f['push'](_0x18655f['shift']());}}}(a115_0xcf8d,0x27011));function a115_0x2353(_0x1e657d,_0x844dd2){var _0xcf8de8=a115_0xcf8d();return a115_0x2353=function(_0x235384,_0x4cba8b){_0x235384=_0x235384-0x1b3;var _0x4186ea=_0xcf8de8[_0x235384];return _0x4186ea;},a115_0x2353(_0x1e657d,_0x844dd2);}class PercyCaptureMap{#map={};[a115_0x3870a7(0x1be)](_0x138649,_0x3c1c19){!this.#map[_0x138649]&&(this.#map[_0x138649]={}),!this.#map[_0x138649][_0x3c1c19]&&(this.#map[_0x138649][_0x3c1c19]=0x0),this.#map[_0x138649][_0x3c1c19]++;}[a115_0x3870a7(0x1c0)](_0x5c347d,_0xf59b7a){var _0x1d45dd=a115_0x3870a7;return _0x5c347d+'-'+_0xf59b7a+'-'+this[_0x1d45dd(0x1bb)](_0x5c347d,_0xf59b7a);}[a115_0x3870a7(0x1bb)](_0x1f95b6,_0x206a95){if(!this.#map[_0x1f95b6])return 0x0;if(!this.#map[_0x1f95b6][_0x206a95])return 0x0;return this.#map[_0x1f95b6][_0x206a95];}}module['exports']=PercyCaptureMap;function a115_0xcf8d(){var _0x52f344=['1239220BXaOqF','103124IKlvwY','get','20350DPsOhp','5Uhbepb','increment','114pxaWzV','getName','277599wimFmQ','652320VHbmpV','245064HLEpKS','180SQESXW','1683808nTVHEJ','4QhuTtb'];a115_0xcf8d=function(){return _0x52f344;};return a115_0xcf8d();}
1
+ var a115_0x5c471d=a115_0x4166;(function(_0x2290c4,_0xb9098a){var _0x16e84e=a115_0x4166,_0x4370df=_0x2290c4();while(!![]){try{var _0x2aee62=parseInt(_0x16e84e(0x143))/0x1*(-parseInt(_0x16e84e(0x144))/0x2)+parseInt(_0x16e84e(0x14d))/0x3+-parseInt(_0x16e84e(0x150))/0x4*(-parseInt(_0x16e84e(0x145))/0x5)+-parseInt(_0x16e84e(0x14f))/0x6*(-parseInt(_0x16e84e(0x147))/0x7)+parseInt(_0x16e84e(0x146))/0x8+parseInt(_0x16e84e(0x14b))/0x9+-parseInt(_0x16e84e(0x14c))/0xa*(parseInt(_0x16e84e(0x149))/0xb);if(_0x2aee62===_0xb9098a)break;else _0x4370df['push'](_0x4370df['shift']());}catch(_0x39392f){_0x4370df['push'](_0x4370df['shift']());}}}(a115_0x2928,0x38f9d));function a115_0x2928(){var _0x3515b3=['473DMcodi','922osOeVs','5zeAovr','2297656iHmHyg','338779menQLK','exports','33oLUmHB','get','1455993HIFNea','1686970PmrcfB','211755MiBwhG','getName','42LbglaS','396676fnZBzI'];a115_0x2928=function(){return _0x3515b3;};return a115_0x2928();}function a115_0x4166(_0x5cd179,_0x3cca8e){var _0x292839=a115_0x2928();return a115_0x4166=function(_0x416686,_0x4f7fbb){_0x416686=_0x416686-0x143;var _0x1aa155=_0x292839[_0x416686];return _0x1aa155;},a115_0x4166(_0x5cd179,_0x3cca8e);}class PercyCaptureMap{#map={};['increment'](_0x9bb28,_0x520511){!this.#map[_0x9bb28]&&(this.#map[_0x9bb28]={}),!this.#map[_0x9bb28][_0x520511]&&(this.#map[_0x9bb28][_0x520511]=0x0),this.#map[_0x9bb28][_0x520511]++;}[a115_0x5c471d(0x14e)](_0x3ccfaf,_0x11c60d){return _0x3ccfaf+'-'+_0x11c60d+'-'+this['get'](_0x3ccfaf,_0x11c60d);}[a115_0x5c471d(0x14a)](_0x28f17c,_0xedd159){if(!this.#map[_0x28f17c])return 0x0;if(!this.#map[_0x28f17c][_0xedd159])return 0x0;return this.#map[_0x28f17c][_0xedd159];}}module[a115_0x5c471d(0x148)]=PercyCaptureMap;
@@ -1 +1 @@
1
- var a116_0x31c1e7=a116_0x47d4;(function(_0x193811,_0x22d211){var _0x3ec642=a116_0x47d4,_0x2e5de6=_0x193811();while(!![]){try{var _0x4fe480=-parseInt(_0x3ec642(0x1e7))/0x1*(parseInt(_0x3ec642(0x1ec))/0x2)+parseInt(_0x3ec642(0x1da))/0x3+-parseInt(_0x3ec642(0x1e3))/0x4*(parseInt(_0x3ec642(0x1e6))/0x5)+parseInt(_0x3ec642(0x1e0))/0x6*(parseInt(_0x3ec642(0x1e1))/0x7)+-parseInt(_0x3ec642(0x1df))/0x8*(parseInt(_0x3ec642(0x1e4))/0x9)+-parseInt(_0x3ec642(0x1dc))/0xa+-parseInt(_0x3ec642(0x1e9))/0xb*(-parseInt(_0x3ec642(0x1ea))/0xc);if(_0x4fe480===_0x22d211)break;else _0x2e5de6['push'](_0x2e5de6['shift']());}catch(_0x42604b){_0x2e5de6['push'](_0x2e5de6['shift']());}}}(a116_0x4193,0x625cb));var a116_0x1beb39={};function a116_0x47d4(_0x1775a9,_0x533d81){var _0x419315=a116_0x4193();return a116_0x47d4=function(_0x47d467,_0x2cff5f){_0x47d467=_0x47d467-0x1da;var _0x1ecb0c=_0x419315[_0x47d467];return _0x1ecb0c;},a116_0x47d4(_0x1775a9,_0x533d81);}a116_0x1beb39['driver']=[a116_0x31c1e7(0x1e5)],a116_0x1beb39['element']=[a116_0x31c1e7(0x1db),'sendKeys'];var a116_0x380800={};a116_0x380800[a116_0x31c1e7(0x1ed)]=[a116_0x31c1e7(0x1e5)];function a116_0x4193(){var _0xa7551e=['265750takQMg','element','manual','8xULyZm','12BxkCFI','384167VHKgHX','auto','489668imJrHW','4247199WCkdgF','takeScreenshot','5uaQDvd','1yuovCy','testcase','110LZdxTH','773400hxUskV','screenshot','885446LCoBtI','driver','2136765HxzWRN','click'];a116_0x4193=function(){return _0xa7551e;};return a116_0x4193();}var a116_0xf78624={};a116_0xf78624[a116_0x31c1e7(0x1dd)]=['click'];var a116_0x278d12={};a116_0x278d12[a116_0x31c1e7(0x1e2)]=a116_0x1beb39,a116_0x278d12[a116_0x31c1e7(0x1eb)]=a116_0x380800,a116_0x278d12['click']=a116_0xf78624,a116_0x278d12[a116_0x31c1e7(0x1e8)]={},a116_0x278d12[a116_0x31c1e7(0x1de)]={},module['exports']=a116_0x278d12;
1
+ var a116_0x6f8e7d=a116_0x1839;(function(_0xb1091,_0x2b919a){var _0x358401=a116_0x1839,_0x57769a=_0xb1091();while(!![]){try{var _0x31fe22=-parseInt(_0x358401(0xa6))/0x1+parseInt(_0x358401(0x9b))/0x2*(-parseInt(_0x358401(0xa8))/0x3)+parseInt(_0x358401(0xa5))/0x4+parseInt(_0x358401(0xa3))/0x5+parseInt(_0x358401(0xa2))/0x6+parseInt(_0x358401(0x9f))/0x7+-parseInt(_0x358401(0x9e))/0x8;if(_0x31fe22===_0x2b919a)break;else _0x57769a['push'](_0x57769a['shift']());}catch(_0x1a503e){_0x57769a['push'](_0x57769a['shift']());}}}(a116_0x4b0b,0x4b607));function a116_0x1839(_0x1a2871,_0xd32bef){var _0x4b0bf4=a116_0x4b0b();return a116_0x1839=function(_0x1839e2,_0x248316){_0x1839e2=_0x1839e2-0x9a;var _0x5f3bbf=_0x4b0bf4[_0x1839e2];return _0x5f3bbf;},a116_0x1839(_0x1a2871,_0xd32bef);}var a116_0x9aea06={};a116_0x9aea06[a116_0x6f8e7d(0xa1)]=[a116_0x6f8e7d(0xa7)],a116_0x9aea06[a116_0x6f8e7d(0xaa)]=['click','sendKeys'];var a116_0x42a6be={};a116_0x42a6be[a116_0x6f8e7d(0xa1)]=[a116_0x6f8e7d(0xa7)];function a116_0x4b0b(){var _0x1eee53=['3678930sILrUM','559780pEZNPX','manual','107268cUJLPm','32280vPhHnX','takeScreenshot','9LMoaPi','screenshot','element','testcase','214690zgPwwZ','auto','click','2427128GrCqDt','1501647VPLQIt','exports','driver'];a116_0x4b0b=function(){return _0x1eee53;};return a116_0x4b0b();}var a116_0x3811bc={};a116_0x3811bc[a116_0x6f8e7d(0xaa)]=[a116_0x6f8e7d(0x9d)];var a116_0x1f3cc6={};a116_0x1f3cc6[a116_0x6f8e7d(0x9c)]=a116_0x9aea06,a116_0x1f3cc6[a116_0x6f8e7d(0xa9)]=a116_0x42a6be,a116_0x1f3cc6[a116_0x6f8e7d(0x9d)]=a116_0x3811bc,a116_0x1f3cc6[a116_0x6f8e7d(0x9a)]={},a116_0x1f3cc6[a116_0x6f8e7d(0xa4)]={},module[a116_0x6f8e7d(0xa0)]=a116_0x1f3cc6;
@@ -1 +1 @@
1
- const a117_0x5d64cc=a117_0x267f;(function(_0x1acd70,_0x5ed0e2){const _0x502cdf=a117_0x267f,_0x54c59b=_0x1acd70();while(!![]){try{const _0x36b6af=parseInt(_0x502cdf(0x1bd))/0x1*(parseInt(_0x502cdf(0x1c3))/0x2)+-parseInt(_0x502cdf(0x1cc))/0x3+parseInt(_0x502cdf(0x1c2))/0x4+parseInt(_0x502cdf(0x1c9))/0x5+parseInt(_0x502cdf(0x1b0))/0x6+parseInt(_0x502cdf(0x1ba))/0x7+parseInt(_0x502cdf(0x1c8))/0x8*(-parseInt(_0x502cdf(0x1c1))/0x9);if(_0x36b6af===_0x5ed0e2)break;else _0x54c59b['push'](_0x54c59b['shift']());}catch(_0xb9bfe4){_0x54c59b['push'](_0x54c59b['shift']());}}}(a117_0x561d,0x47c72));function a117_0x267f(_0x26ecb1,_0x505221){const _0x561de4=a117_0x561d();return a117_0x267f=function(_0x267f1d,_0x2fc94f){_0x267f1d=_0x267f1d-0x1ae;let _0x582a3c=_0x561de4[_0x267f1d];return _0x582a3c;},a117_0x267f(_0x26ecb1,_0x505221);}const tryRequire=function(_0xa31f34,_0x4f9732){const _0x55da2e=a117_0x267f,_0x3d8299={'iMEiQ':function(_0x3fa181,_0x54622c){return _0x3fa181(_0x54622c);}};try{return _0x3d8299[_0x55da2e(0x1c0)](require,_0xa31f34);}catch{return _0x4f9732;}},percySnapshot=tryRequire('@percy/selenium-webdriver',null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a117_0x5d64cc(0x1bc)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a117_0x5d64cc(0x1cb)),{PERCY_EVENTS:PerformanceEvents}=require(a117_0x5d64cc(0x1b1)),logger=require('../logger')[a117_0x5d64cc(0x1b3)];function a117_0x561d(){const _0x244257=['uuid','uGYGt','platformIndex','747372ZALkih','../performance/constants','error','winstonLogger','browserstackPlatformIndex','SCREENSHOT','xKlnZ','zsaLo','thTestCaseExecutionId','screenshot','3671255UEkcTp','testCase','@percy/appium-app','15aNEJLN','measure','sThme','iMEiQ','576JsAfNX','1883284CzfDAb','50606MBhZBn','OmUgB','screenshotApp','lNFEV','snapshot','195120jRrwZt','2566945ShHaen','name','../performance/performance-tester','473460gXFjJH','apply','SCREENSHOT_APP','length','WsbNC','Unsupported\x20driver\x20for\x20percy'];a117_0x561d=function(){return _0x244257;};return a117_0x561d();}percySnapshot&&(exports[a117_0x5d64cc(0x1c7)]=async function(){const _0x5166fc=a117_0x5d64cc,_0x1cb7e1={'uGYGt':function(_0x8364e,_0xff7442){return _0x8364e!==_0xff7442;},'lNFEV':function(_0x195554,_0x1a3f7e){return _0x195554>=_0x1a3f7e;},'cMGke':function(_0x1f0a7c){return _0x1f0a7c();}};if(global[_0x5166fc(0x1b4)]&&_0x1cb7e1[_0x5166fc(0x1ae)](global[_0x5166fc(0x1b4)],global['browserstackPercyBestPlatform']))return;const _0x7640fb=_0x1cb7e1[_0x5166fc(0x1c6)](arguments[_0x5166fc(0x1cf)],0x2)?arguments[0x1]:'',_0x4e8159=_0x1cb7e1['cMGke'](getCurrentTestData),_0x4414d6={};return _0x4414d6[_0x5166fc(0x1ca)]=_0x7640fb,_0x4414d6[_0x5166fc(0x1bb)]=_0x4e8159[_0x5166fc(0x1ca)]||'',_0x4414d6[_0x5166fc(0x1b8)]=_0x4e8159[_0x5166fc(0x1d2)]||'',_0x4414d6['platformIndex']=global[_0x5166fc(0x1b4)],await PerformanceTester['measure'](PerformanceEvents['SNAPSHOT'],()=>percySnapshot['apply'](null,arguments),_0x4414d6);});percyScreenshot?exports['screenshot']=async function(){const _0xc1008f=a117_0x5d64cc,_0x3ff804={'zsaLo':function(_0x1a51d2,_0x2456ae){return _0x1a51d2>=_0x2456ae;},'sThme':function(_0x144eaf){return _0x144eaf();}},_0x4a946c=_0x3ff804[_0xc1008f(0x1b7)](arguments['length'],0x2)?arguments[0x1]:'',_0x274112=_0x3ff804[_0xc1008f(0x1bf)](getCurrentTestData),_0x1caad6={};return _0x1caad6[_0xc1008f(0x1ca)]=_0x4a946c,_0x1caad6[_0xc1008f(0x1bb)]=_0x274112[_0xc1008f(0x1ca)]||'',_0x1caad6['thTestCaseExecutionId']=_0x274112['uuid']||'',_0x1caad6[_0xc1008f(0x1af)]=global[_0xc1008f(0x1b4)],await PerformanceTester[_0xc1008f(0x1be)](PerformanceEvents[_0xc1008f(0x1b5)],()=>percyScreenshot[_0xc1008f(0x1cd)](null,arguments),_0x1caad6);}:exports[a117_0x5d64cc(0x1b9)]=()=>{const _0x5b784e=a117_0x5d64cc,_0x2051ad={};_0x2051ad[_0x5b784e(0x1c4)]=_0x5b784e(0x1d1);const _0x3d5a60=_0x2051ad;logger[_0x5b784e(0x1b2)](_0x3d5a60[_0x5b784e(0x1c4)]);};exports[a117_0x5d64cc(0x1c5)]=async function(){const _0x4290f6=a117_0x5d64cc,_0x4edbfd={'xKlnZ':function(_0x9bbb10,_0x1c93d3){return _0x9bbb10>=_0x1c93d3;},'WsbNC':function(_0x2bd650){return _0x2bd650();}},_0x32a206=_0x4edbfd[_0x4290f6(0x1b6)](arguments[_0x4290f6(0x1cf)],0x2)?arguments[0x1]:'',_0x416e4c=_0x4edbfd[_0x4290f6(0x1d0)](getCurrentTestData),_0x55e67c={};return _0x55e67c[_0x4290f6(0x1ca)]=_0x32a206,_0x55e67c[_0x4290f6(0x1bb)]=_0x416e4c[_0x4290f6(0x1ca)]||'',_0x55e67c[_0x4290f6(0x1b8)]=_0x416e4c['uuid']||'',_0x55e67c[_0x4290f6(0x1af)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x4290f6(0x1be)](PerformanceEvents[_0x4290f6(0x1ce)],()=>percyAppScreenshot['apply'](null,arguments),_0x55e67c);};
1
+ function a117_0x34ab(_0x1eb8ca,_0x156659){const _0x3d9d67=a117_0x3d9d();return a117_0x34ab=function(_0x34ab39,_0xafa350){_0x34ab39=_0x34ab39-0xcb;let _0x3bca8f=_0x3d9d67[_0x34ab39];return _0x3bca8f;},a117_0x34ab(_0x1eb8ca,_0x156659);}function a117_0x3d9d(){const _0x5c269e=['334239uZskjY','name','browserstackPercyBestPlatform','3501582oRmOiB','vFiLR','HEohJ','../logger','cCXCZ','../performance/constants','160CGjgoW','SCREENSHOT_APP','15773208qUTdwY','platformIndex','AXvEu','snapshot','winstonLogger','uuid','screenshot','SNAPSHOT','length','thTestCaseExecutionId','695890bYXLXL','1522182RWTWiT','browserstackPlatformIndex','2784194fLrvtI','PuquP','abJuz','screenshotApp','daOMt','measure','23020Jtjtdg','testCase','../../helpers/testhub/utils','apply','VqDGV','@percy/appium-app','@percy/selenium-webdriver'];a117_0x3d9d=function(){return _0x5c269e;};return a117_0x3d9d();}const a117_0x1b7058=a117_0x34ab;(function(_0x17e99a,_0x3423ad){const _0xb0e98c=a117_0x34ab,_0x513865=_0x17e99a();while(!![]){try{const _0x1861b5=parseInt(_0xb0e98c(0xd0))/0x1+parseInt(_0xb0e98c(0xd1))/0x2+parseInt(_0xb0e98c(0xe0))/0x3+parseInt(_0xb0e98c(0xd9))/0x4*(-parseInt(_0xb0e98c(0xe9))/0x5)+parseInt(_0xb0e98c(0xe3))/0x6+parseInt(_0xb0e98c(0xd3))/0x7+-parseInt(_0xb0e98c(0xeb))/0x8;if(_0x1861b5===_0x3423ad)break;else _0x513865['push'](_0x513865['shift']());}catch(_0x3ee587){_0x513865['push'](_0x513865['shift']());}}}(a117_0x3d9d,0x602c2));const tryRequire=function(_0x467983,_0x5467cd){const _0x29d5f1=a117_0x34ab,_0x58dd78={'VqDGV':function(_0x3ffbcd,_0x1497ef){return _0x3ffbcd(_0x1497ef);}};try{return _0x58dd78[_0x29d5f1(0xdd)](require,_0x467983);}catch{return _0x5467cd;}},percySnapshot=tryRequire(a117_0x1b7058(0xdf),null),{percyScreenshot}=tryRequire(a117_0x1b7058(0xdf),{}),percyAppScreenshot=require(a117_0x1b7058(0xde)),{getCurrentTestData}=require(a117_0x1b7058(0xdb)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a117_0x1b7058(0xe8)),logger=require(a117_0x1b7058(0xe6))[a117_0x1b7058(0xef)];percySnapshot&&(exports[a117_0x1b7058(0xee)]=async function(){const _0x8a77a6=a117_0x1b7058,_0x5a92c4={'HEohJ':function(_0x3de002,_0x5daddb){return _0x3de002!==_0x5daddb;},'cCXCZ':function(_0x4684d2,_0x69eaa4){return _0x4684d2>=_0x69eaa4;},'ouphP':function(_0x582404){return _0x582404();}};if(global['browserstackPlatformIndex']&&_0x5a92c4[_0x8a77a6(0xe5)](global['browserstackPlatformIndex'],global[_0x8a77a6(0xe2)]))return;const _0x469e5f=_0x5a92c4[_0x8a77a6(0xe7)](arguments[_0x8a77a6(0xce)],0x2)?arguments[0x1]:'',_0xca3d5a=_0x5a92c4['ouphP'](getCurrentTestData),_0x500283={};return _0x500283['name']=_0x469e5f,_0x500283['testCase']=_0xca3d5a[_0x8a77a6(0xe1)]||'',_0x500283[_0x8a77a6(0xcf)]=_0xca3d5a[_0x8a77a6(0xcb)]||'',_0x500283['platformIndex']=global[_0x8a77a6(0xd2)],await PerformanceTester[_0x8a77a6(0xd8)](PerformanceEvents[_0x8a77a6(0xcd)],()=>percySnapshot[_0x8a77a6(0xdc)](null,arguments),_0x500283);});percyScreenshot?exports[a117_0x1b7058(0xcc)]=async function(){const _0x464dda=a117_0x1b7058,_0x1efb1c={'daOMt':function(_0x40ee43,_0x414b09){return _0x40ee43>=_0x414b09;},'vFiLR':function(_0x4e431b){return _0x4e431b();}},_0x3b4cbc=_0x1efb1c[_0x464dda(0xd7)](arguments[_0x464dda(0xce)],0x2)?arguments[0x1]:'',_0xd3c413=_0x1efb1c[_0x464dda(0xe4)](getCurrentTestData),_0x361f01={};return _0x361f01['name']=_0x3b4cbc,_0x361f01['testCase']=_0xd3c413[_0x464dda(0xe1)]||'',_0x361f01[_0x464dda(0xcf)]=_0xd3c413[_0x464dda(0xcb)]||'',_0x361f01[_0x464dda(0xec)]=global[_0x464dda(0xd2)],await PerformanceTester[_0x464dda(0xd8)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot['apply'](null,arguments),_0x361f01);}:exports[a117_0x1b7058(0xcc)]=()=>{const _0x525c1b=a117_0x1b7058,_0x177f92={};_0x177f92['abJuz']='Unsupported\x20driver\x20for\x20percy';const _0x2fcebb=_0x177f92;logger['error'](_0x2fcebb[_0x525c1b(0xd5)]);};exports[a117_0x1b7058(0xd6)]=async function(){const _0x1a7e81=a117_0x1b7058,_0x735e40={'PuquP':function(_0x2752ae,_0x17a933){return _0x2752ae>=_0x17a933;},'AXvEu':function(_0xe250a4){return _0xe250a4();}},_0x4ea164=_0x735e40[_0x1a7e81(0xd4)](arguments[_0x1a7e81(0xce)],0x2)?arguments[0x1]:'',_0x3ff591=_0x735e40[_0x1a7e81(0xed)](getCurrentTestData),_0x1269f4={};return _0x1269f4[_0x1a7e81(0xe1)]=_0x4ea164,_0x1269f4[_0x1a7e81(0xda)]=_0x3ff591[_0x1a7e81(0xe1)]||'',_0x1269f4[_0x1a7e81(0xcf)]=_0x3ff591[_0x1a7e81(0xcb)]||'',_0x1269f4[_0x1a7e81(0xec)]=global[_0x1a7e81(0xd2)],await PerformanceTester[_0x1a7e81(0xd8)](PerformanceEvents[_0x1a7e81(0xea)],()=>percyAppScreenshot[_0x1a7e81(0xdc)](null,arguments),_0x1269f4);};
@@ -1 +1 @@
1
- function a118_0x5928(_0x5a186b,_0x5d317f){var _0x3d48b6=a118_0x3d48();return a118_0x5928=function(_0x592877,_0x2a59c9){_0x592877=_0x592877-0xce;var _0x2c6a9e=_0x3d48b6[_0x592877];return _0x2c6a9e;},a118_0x5928(_0x5a186b,_0x5d317f);}function a118_0x3d48(){var _0x3ddfeb=['2981187VUVXOG','14Jtqzxe','exports','34155xYddyV','4tbZjxZ','192tHZzIA','55246AtEvGB','39225VZyynN','1892670jxRqPD','16347504wnXTMK','131635eMxjvQ','540odILAO','16PNVpmU'];a118_0x3d48=function(){return _0x3ddfeb;};return a118_0x3d48();}var a118_0x343872=a118_0x5928;(function(_0x4056b8,_0x4ec84c){var _0x1caddc=a118_0x5928,_0x92b00c=_0x4056b8();while(!![]){try{var _0xc73b32=parseInt(_0x1caddc(0xd6))/0x1*(-parseInt(_0x1caddc(0xd1))/0x2)+parseInt(_0x1caddc(0xd7))/0x3*(-parseInt(_0x1caddc(0xd4))/0x4)+-parseInt(_0x1caddc(0xd8))/0x5+-parseInt(_0x1caddc(0xd5))/0x6*(-parseInt(_0x1caddc(0xda))/0x7)+parseInt(_0x1caddc(0xcf))/0x8*(-parseInt(_0x1caddc(0xd0))/0x9)+parseInt(_0x1caddc(0xce))/0xa*(-parseInt(_0x1caddc(0xd3))/0xb)+parseInt(_0x1caddc(0xd9))/0xc;if(_0xc73b32===_0x4ec84c)break;else _0x92b00c['push'](_0x92b00c['shift']());}catch(_0x6a792b){_0x92b00c['push'](_0x92b00c['shift']());}}}(a118_0x3d48,0x56ced),module[a118_0x343872(0xd2)]=require('./Percy'));
1
+ var a118_0x4d42a3=a118_0x17ca;function a118_0xd8a7(){var _0x2d973c=['exports','5827610zNUPjs','1103237cgJKXO','3NBMyVH','9387AHrkoZ','1437540fOHJYL','2088EiLgpX','./Percy','7766280nzKINr','3100180RzchXM','35HOGewW','6344560nPozuy'];a118_0xd8a7=function(){return _0x2d973c;};return a118_0xd8a7();}function a118_0x17ca(_0x5e93cf,_0x20531b){var _0xd8a7dd=a118_0xd8a7();return a118_0x17ca=function(_0x17ca1e,_0x537d6d){_0x17ca1e=_0x17ca1e-0xdd;var _0xddb5b8=_0xd8a7dd[_0x17ca1e];return _0xddb5b8;},a118_0x17ca(_0x5e93cf,_0x20531b);}(function(_0x1e828d,_0x3942d4){var _0x44954e=a118_0x17ca,_0x4cb552=_0x1e828d();while(!![]){try{var _0x212b07=-parseInt(_0x44954e(0xdd))/0x1+parseInt(_0x44954e(0xe4))/0x2*(-parseInt(_0x44954e(0xde))/0x3)+parseInt(_0x44954e(0xe6))/0x4+parseInt(_0x44954e(0xe3))/0x5+parseInt(_0x44954e(0xe0))/0x6*(parseInt(_0x44954e(0xe5))/0x7)+-parseInt(_0x44954e(0xe1))/0x8*(parseInt(_0x44954e(0xdf))/0x9)+-parseInt(_0x44954e(0xe8))/0xa;if(_0x212b07===_0x3942d4)break;else _0x4cb552['push'](_0x4cb552['shift']());}catch(_0x16dac9){_0x4cb552['push'](_0x4cb552['shift']());}}}(a118_0xd8a7,0xca66b),module[a118_0x4d42a3(0xe7)]=require(a118_0x4d42a3(0xe2)));
@@ -1 +1 @@
1
- const a119_0x2267d=a119_0x3f4d;(function(_0x4da1ae,_0x1ba58a){const _0x5b9f95=a119_0x3f4d,_0x4c3a03=_0x4da1ae();while(!![]){try{const _0x592b7c=parseInt(_0x5b9f95(0x155))/0x1+-parseInt(_0x5b9f95(0x190))/0x2*(-parseInt(_0x5b9f95(0x18b))/0x3)+-parseInt(_0x5b9f95(0x152))/0x4+parseInt(_0x5b9f95(0x172))/0x5*(-parseInt(_0x5b9f95(0x147))/0x6)+-parseInt(_0x5b9f95(0x178))/0x7*(-parseInt(_0x5b9f95(0x153))/0x8)+parseInt(_0x5b9f95(0x14c))/0x9*(-parseInt(_0x5b9f95(0x151))/0xa)+-parseInt(_0x5b9f95(0x15c))/0xb;if(_0x592b7c===_0x1ba58a)break;else _0x4c3a03['push'](_0x4c3a03['shift']());}catch(_0x20a93f){_0x4c3a03['push'](_0x4c3a03['shift']());}}}(a119_0x55b7,0x2e349));const Percy=require(a119_0x2267d(0x188)),PercySDK=require(a119_0x2267d(0x17e)),PercyCaptureModes=require(a119_0x2267d(0x164)),PercyCaptureMap=require(a119_0x2267d(0x14a)),logger=require(a119_0x2267d(0x161))['winstonLogger'],helper=require(a119_0x2267d(0x16e)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x2267d(0x162));function a119_0x3f4d(_0x35027b,_0x8adaf0){const _0x55b73c=a119_0x55b7();return a119_0x3f4d=function(_0x3f4d94,_0xd99c7e){_0x3f4d94=_0x3f4d94-0x146;let _0x19e16f=_0x55b73c[_0x3f4d94];return _0x19e16f;},a119_0x3f4d(_0x35027b,_0x8adaf0);}exports[a119_0x2267d(0x15e)]=PerformanceTester[a119_0x2267d(0x181)](PerformanceEvents[a119_0x2267d(0x185)],async _0x332010=>{const _0x22d9a1=a119_0x2267d,_0x8d3537={};_0x8d3537[_0x22d9a1(0x18f)]=_0x22d9a1(0x17c);const _0x1f2577=_0x8d3537;logger[_0x22d9a1(0x173)](_0x1f2577[_0x22d9a1(0x18f)]);const _0xfc69ad=new Percy(_0x332010),_0x21256c=await _0xfc69ad[_0x22d9a1(0x167)]();if(_0x21256c)return _0xfc69ad;return null;}),exports[a119_0x2267d(0x16c)]=PerformanceTester[a119_0x2267d(0x181)](PerformanceEvents[a119_0x2267d(0x16d)],async _0x53286b=>{const _0x49f31a=a119_0x2267d,_0x589e39={};_0x589e39[_0x49f31a(0x16b)]=_0x49f31a(0x165);const _0x30f474=_0x589e39;return logger[_0x49f31a(0x173)](_0x30f474[_0x49f31a(0x16b)]),_0x53286b[_0x49f31a(0x16f)]();}),exports['getBestPlatformForPercySnapshot']=_0x47601d=>{const _0xadb6be=a119_0x2267d,_0x91a554={};_0x91a554[_0xadb6be(0x158)]=function(_0x6f76b7,_0x5ab3f6){return _0x6f76b7<_0x5ab3f6;};const _0x1217b5=_0x91a554,_0x16efb8={};_0x16efb8[_0xadb6be(0x187)]=0x0,_0x16efb8[_0xadb6be(0x183)]=0x1,_0x16efb8['edge']=0x2,_0x16efb8['safari']=0x3;const _0x3e2fff=_0x16efb8;return _0x47601d[_0xadb6be(0x171)]((_0x3449a4,_0x398867,_0x198d76)=>{const _0x34cdc5=_0xadb6be,_0x133ab2=_0x47601d[_0x3449a4];if(_0x398867[_0x34cdc5(0x170)])return _0x3449a4;if(_0x133ab2['deviceName'])return _0x198d76;const _0x26a5a4=_0x398867[_0x34cdc5(0x17a)]?_0x398867['browser']:_0x398867['browserName'];if(_0x26a5a4&&_0x1217b5['SIcgq'](_0x3e2fff[_0x26a5a4[_0x34cdc5(0x174)]()],_0x3e2fff[_0x26a5a4[_0x34cdc5(0x174)]()]))return _0x198d76;return _0x3449a4;},0x0);},exports[a119_0x2267d(0x18c)]=PerformanceTester['measureWrapper'](PerformanceEvents[a119_0x2267d(0x186)],async(_0x361816,_0x3a2b63,_0x3803f4)=>{const _0x7b624=a119_0x2267d,_0x3a3897={};_0x3a3897[_0x7b624(0x15a)]=_0x7b624(0x146);const _0x2456d1=_0x3a3897,_0x5f217d=_0x361816[_0x7b624(0x148)];if(helper['isUndefined'](_0x361816[_0x7b624(0x177)])){logger[_0x7b624(0x173)](_0x2456d1[_0x7b624(0x15a)]);return;}const _0x26245f=_0x5f217d[_0x7b624(0x15b)](_0x361816[_0x7b624(0x177)],_0x3a2b63);_0x3803f4[_0x7b624(0x17d)]?await PercySDK['screenshotApp'](_0x361816,_0x26245f):await PercySDK[_0x7b624(0x150)](_0x361816,_0x26245f),_0x5f217d[_0x7b624(0x169)](_0x361816[_0x7b624(0x177)],_0x3a2b63);}),exports[a119_0x2267d(0x157)]=(_0x1680ef,_0x1f13df,_0x266336)=>{const _0x5f2fa=a119_0x2267d,_0xdfbb69={};_0xdfbb69['RGuij']=_0x5f2fa(0x168),_0xdfbb69[_0x5f2fa(0x16a)]=_0x5f2fa(0x176),_0xdfbb69[_0x5f2fa(0x14d)]=function(_0x3e5641,_0x479f5b){return _0x3e5641!==_0x479f5b;},_0xdfbb69[_0x5f2fa(0x179)]=_0x5f2fa(0x18e);const _0x4b6551=_0xdfbb69;if(!helper[_0x5f2fa(0x175)](_0x266336,[_0x4b6551[_0x5f2fa(0x166)],_0x4b6551['MCjJX']]))return;if(_0x266336[_0x5f2fa(0x168)][_0x5f2fa(0x176)]&&_0x266336[_0x5f2fa(0x168)][_0x5f2fa(0x15f)]&&_0x4b6551[_0x5f2fa(0x14d)](_0x266336[_0x5f2fa(0x168)][_0x5f2fa(0x15f)],_0x4b6551[_0x5f2fa(0x179)])&&!_0x1680ef[_0x5f2fa(0x148)]){global[_0x5f2fa(0x177)]&&(_0x1680ef[_0x5f2fa(0x177)]=global['browserstackSessionName']),_0x1680ef['browserstackPercyMap']=new PercyCaptureMap();const _0x3fa353=PercyCaptureModes[_0x266336[_0x5f2fa(0x168)]['percyCaptureMode']];_0x3fa353[_0x5f2fa(0x18d)]&&_0x3fa353['driver']['forEach'](_0x8d179=>this[_0x5f2fa(0x156)](_0x1680ef,_0x8d179,_0x266336)),_0x3fa353['element']&&_0x3fa353['element']['forEach'](_0x5eda34=>{const _0x2abe11=_0x5f2fa;if(_0x1f13df[_0x2abe11(0x15d)][_0x2abe11(0x14e)+_0x5eda34])return;_0x1f13df[_0x2abe11(0x15d)][_0x2abe11(0x14e)+_0x5eda34]=!![];const _0xbdbe03=_0x1f13df[_0x2abe11(0x15d)][_0x5eda34];_0x1f13df[_0x2abe11(0x15d)][_0x5eda34]=async function(){const _0x16c643=_0x2abe11;let _0x1efd69=_0xbdbe03[_0x16c643(0x17f)](this,arguments);_0x1efd69&&_0x1efd69[_0x16c643(0x182)]&&(_0x1efd69=await _0x1efd69);try{const _0x38d837=this[_0x16c643(0x159)]();await exports[_0x16c643(0x18c)](_0x38d837,_0x5eda34,_0x266336);}catch(_0x4e4412){logger['error'](_0x16c643(0x149)+_0x5eda34+_0x16c643(0x17b)+_0x4e4412);}return _0x1efd69;};});}},exports[a119_0x2267d(0x156)]=function(_0x3967d9,_0x56b122,_0x7e49c9){const _0x575b05=a119_0x2267d,_0x319b0b={};_0x319b0b['ldyTL']=function(_0x56fd81,_0x13be40){return _0x56fd81+_0x13be40;},_0x319b0b[_0x575b05(0x184)]=_0x575b05(0x14e),_0x319b0b[_0x575b05(0x189)]='init';const _0x298a85=_0x319b0b,_0x3336c9=_0x298a85['ldyTL'](_0x298a85['LkPdc'],_0x56b122),_0x3fbec6=_0x298a85[_0x575b05(0x14b)](_0x298a85['jaxEF'],_0x56b122),_0x55545f=this;if(_0x3967d9[_0x3336c9]||!_0x3967d9[_0x56b122])return;_0x3967d9[_0x3336c9]=!![],_0x3967d9[_0x3fbec6]=_0x3967d9[_0x56b122],_0x3967d9[_0x56b122]=async()=>{const _0x4eed45=_0x575b05;try{await _0x55545f[_0x4eed45(0x18c)](_0x3967d9,_0x56b122,_0x7e49c9);}catch(_0x32d8d5){logger[_0x4eed45(0x160)](_0x4eed45(0x149)+_0x56b122+_0x4eed45(0x17b)+_0x32d8d5);}return await _0x3967d9[_0x3fbec6]['apply'](_0x3967d9,arguments);};},exports[a119_0x2267d(0x154)]=_0x5d52aa=>{const _0x42f90b=a119_0x2267d,_0x5354d5={};_0x5354d5[_0x42f90b(0x163)]=_0x42f90b(0x14f);const _0x32831b=_0x5354d5,_0x2fdfa8={};_0x2fdfa8[_0x42f90b(0x176)]=_0x5d52aa[_0x42f90b(0x176)],_0x2fdfa8[_0x42f90b(0x15f)]=_0x5d52aa[_0x42f90b(0x15f)]||_0x32831b['MLBUj'];const _0x90a62f=_0x2fdfa8;_0x5d52aa[_0x42f90b(0x176)]&&(_0x90a62f[_0x42f90b(0x18a)]=exports[_0x42f90b(0x180)](_0x5d52aa['platforms']));;return _0x90a62f;};function a119_0x55b7(){const _0x3b0e2e=['UibHV','browser','\x20for\x20percy\x20','Starting\x20percy','app','./PercySDK','apply','getBestPlatformForPercySnapshot','measureWrapper','then','firefox','LkPdc','START','AUTO_CAPTURE','chrome','./Percy','jaxEF','browserstackPercyBestPlatform','18348nvgNMm','percyAutoCapture','driver','manual','zWzvX','122jHXVuk','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','1596iNSwBg','browserstackPercyMap','Error\x20patching\x20','./PercyCaptureMap','ldyTL','18GsemES','VkPCC','patch','auto','screenshot','1336700ghJOoI','740908JAkrHT','8UrUXcM','getPercyOptions','338093zmMuay','overrideXforPercy','patchDriverPercy','SIcgq','getDriver','WcurV','getName','900317GMAJZz','prototype','startPercy','percyCaptureMode','error','../logger','../performance/constants','MLBUj','./PercyCaptureModes','Stopping\x20percy','RGuij','start','browserStackPercyOptions','increment','MCjJX','pHsUR','stopPercy','STOP','../helper','stop','deviceName','reduce','4405tBEfSq','debug','toLowerCase','nestedKeyValue','percy','browserstackSessionName','1727936kcSMae'];a119_0x55b7=function(){return _0x3b0e2e;};return a119_0x55b7();}
1
+ const a119_0x381fe2=a119_0xe909;(function(_0x39e8c8,_0x5b27a0){const _0x5491a1=a119_0xe909,_0x4c3bce=_0x39e8c8();while(!![]){try{const _0x423227=parseInt(_0x5491a1(0x1d4))/0x1*(-parseInt(_0x5491a1(0x1e0))/0x2)+parseInt(_0x5491a1(0x217))/0x3*(-parseInt(_0x5491a1(0x208))/0x4)+-parseInt(_0x5491a1(0x1da))/0x5+parseInt(_0x5491a1(0x203))/0x6+-parseInt(_0x5491a1(0x1d2))/0x7+parseInt(_0x5491a1(0x207))/0x8*(parseInt(_0x5491a1(0x1cd))/0x9)+-parseInt(_0x5491a1(0x1cf))/0xa*(-parseInt(_0x5491a1(0x1f1))/0xb);if(_0x423227===_0x5b27a0)break;else _0x4c3bce['push'](_0x4c3bce['shift']());}catch(_0x1db6e3){_0x4c3bce['push'](_0x4c3bce['shift']());}}}(a119_0x4987,0x5681a));function a119_0xe909(_0x5423c5,_0x474b26){const _0x498773=a119_0x4987();return a119_0xe909=function(_0xe90964,_0x3436df){_0xe90964=_0xe90964-0x1cb;let _0x381db3=_0x498773[_0xe90964];return _0x381db3;},a119_0xe909(_0x5423c5,_0x474b26);}const Percy=require(a119_0x381fe2(0x1cc)),PercySDK=require(a119_0x381fe2(0x1f6)),PercyCaptureModes=require(a119_0x381fe2(0x214)),PercyCaptureMap=require(a119_0x381fe2(0x1e4)),logger=require(a119_0x381fe2(0x1f7))[a119_0x381fe2(0x20f)],helper=require(a119_0x381fe2(0x1df)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x381fe2(0x210));exports[a119_0x381fe2(0x1f9)]=PerformanceTester['measureWrapper'](PerformanceEvents[a119_0x381fe2(0x204)],async _0x2fb00e=>{const _0x1316da=a119_0x381fe2,_0x4262d8={};_0x4262d8[_0x1316da(0x1ed)]='Starting\x20percy';const _0x522ab5=_0x4262d8;logger[_0x1316da(0x1e2)](_0x522ab5[_0x1316da(0x1ed)]);const _0x17d05e=new Percy(_0x2fb00e),_0x442a29=await _0x17d05e[_0x1316da(0x1fe)]();if(_0x442a29)return _0x17d05e;return null;}),exports[a119_0x381fe2(0x202)]=PerformanceTester[a119_0x381fe2(0x1f2)](PerformanceEvents[a119_0x381fe2(0x20d)],async _0x928507=>{const _0x3f6348=a119_0x381fe2,_0x5339a9={};_0x5339a9['GoaDf']=_0x3f6348(0x1f3);const _0x39385b=_0x5339a9;return logger['debug'](_0x39385b['GoaDf']),_0x928507[_0x3f6348(0x1d1)]();}),exports[a119_0x381fe2(0x20a)]=_0x2a61ba=>{const _0x3d035e=a119_0x381fe2,_0x3a7661={};_0x3a7661[_0x3d035e(0x1dd)]=function(_0x51cc29,_0x824e5){return _0x51cc29<_0x824e5;};const _0x4e0cda=_0x3a7661,_0xe4f71={};_0xe4f71[_0x3d035e(0x1fd)]=0x0,_0xe4f71['firefox']=0x1,_0xe4f71[_0x3d035e(0x1f4)]=0x2,_0xe4f71['safari']=0x3;const _0x2aecd5=_0xe4f71;return _0x2a61ba[_0x3d035e(0x1ee)]((_0x38afa9,_0x1a5381,_0x38d732)=>{const _0x26cee9=_0x3d035e,_0xe12595=_0x2a61ba[_0x38afa9];if(_0x1a5381[_0x26cee9(0x20c)])return _0x38afa9;if(_0xe12595['deviceName'])return _0x38d732;const _0x2e4bac=_0x1a5381[_0x26cee9(0x1db)]?_0x1a5381[_0x26cee9(0x1db)]:_0x1a5381['browserName'];if(_0x2e4bac&&_0x4e0cda[_0x26cee9(0x1dd)](_0x2aecd5[_0x2e4bac[_0x26cee9(0x1dc)]()],_0x2aecd5[_0x2e4bac[_0x26cee9(0x1dc)]()]))return _0x38d732;return _0x38afa9;},0x0);},exports[a119_0x381fe2(0x1e3)]=PerformanceTester[a119_0x381fe2(0x1f2)](PerformanceEvents[a119_0x381fe2(0x215)],async(_0xb2ddfa,_0x4e3650,_0x1137bb)=>{const _0x5052e8=a119_0x381fe2,_0x459d3f={};_0x459d3f['fvngV']=_0x5052e8(0x1ff);const _0x593fcf=_0x459d3f,_0x10b63e=_0xb2ddfa[_0x5052e8(0x1d5)];if(helper['isUndefined'](_0xb2ddfa[_0x5052e8(0x1ec)])){logger[_0x5052e8(0x1e2)](_0x593fcf[_0x5052e8(0x1ef)]);return;}const _0x2ecd6e=_0x10b63e[_0x5052e8(0x1de)](_0xb2ddfa[_0x5052e8(0x1ec)],_0x4e3650);_0x1137bb[_0x5052e8(0x1eb)]?await PercySDK['screenshotApp'](_0xb2ddfa,_0x2ecd6e):await PercySDK[_0x5052e8(0x1f5)](_0xb2ddfa,_0x2ecd6e),_0x10b63e[_0x5052e8(0x1ce)](_0xb2ddfa[_0x5052e8(0x1ec)],_0x4e3650);}),exports[a119_0x381fe2(0x1d3)]=(_0x3cea2a,_0x100817,_0xc37423)=>{const _0x7b9414=a119_0x381fe2,_0x39ec69={};_0x39ec69[_0x7b9414(0x1e5)]=_0x7b9414(0x1d7),_0x39ec69[_0x7b9414(0x209)]=_0x7b9414(0x1d0),_0x39ec69[_0x7b9414(0x200)]=function(_0x510155,_0x1acce4){return _0x510155!==_0x1acce4;},_0x39ec69['lEgTS']=_0x7b9414(0x1e9);const _0x291329=_0x39ec69;if(!helper[_0x7b9414(0x1fa)](_0xc37423,[_0x291329['wdDOJ'],_0x291329['rfYaQ']]))return;if(_0xc37423[_0x7b9414(0x1d7)][_0x7b9414(0x1d0)]&&_0xc37423[_0x7b9414(0x1d7)][_0x7b9414(0x205)]&&_0x291329[_0x7b9414(0x200)](_0xc37423[_0x7b9414(0x1d7)]['percyCaptureMode'],_0x291329[_0x7b9414(0x1fc)])&&!_0x3cea2a[_0x7b9414(0x1d5)]){global[_0x7b9414(0x1ec)]&&(_0x3cea2a[_0x7b9414(0x1ec)]=global[_0x7b9414(0x1ec)]),_0x3cea2a['browserstackPercyMap']=new PercyCaptureMap();const _0xc0e59d=PercyCaptureModes[_0xc37423[_0x7b9414(0x1d7)][_0x7b9414(0x205)]];_0xc0e59d[_0x7b9414(0x1d8)]&&_0xc0e59d[_0x7b9414(0x1d8)][_0x7b9414(0x1e8)](_0x217d47=>this[_0x7b9414(0x1f0)](_0x3cea2a,_0x217d47,_0xc37423)),_0xc0e59d[_0x7b9414(0x216)]&&_0xc0e59d[_0x7b9414(0x216)][_0x7b9414(0x1e8)](_0x1d9438=>{const _0xa8d14c=_0x7b9414;if(_0x100817[_0xa8d14c(0x1fb)]['patch'+_0x1d9438])return;_0x100817[_0xa8d14c(0x1fb)][_0xa8d14c(0x201)+_0x1d9438]=!![];const _0x20c3e9=_0x100817[_0xa8d14c(0x1fb)][_0x1d9438];_0x100817[_0xa8d14c(0x1fb)][_0x1d9438]=async function(){const _0x5a5192=_0xa8d14c;let _0x152888=_0x20c3e9[_0x5a5192(0x1d6)](this,arguments);_0x152888&&_0x152888[_0x5a5192(0x1e1)]&&(_0x152888=await _0x152888);try{const _0x26a2fa=this[_0x5a5192(0x212)]();await exports[_0x5a5192(0x1e3)](_0x26a2fa,_0x1d9438,_0xc37423);}catch(_0x185d05){logger[_0x5a5192(0x20e)](_0x5a5192(0x1d9)+_0x1d9438+'\x20for\x20percy\x20'+_0x185d05);}return _0x152888;};});}},exports[a119_0x381fe2(0x1f0)]=function(_0x140e4c,_0x2ed72b,_0x529ee4){const _0x261aa8=a119_0x381fe2,_0x6a8e18={};_0x6a8e18['pwFqK']=function(_0x8b07ad,_0x3d4288){return _0x8b07ad+_0x3d4288;},_0x6a8e18[_0x261aa8(0x1e6)]=_0x261aa8(0x201),_0x6a8e18['KZFrf']=function(_0x24fbbd,_0x46f6bb){return _0x24fbbd+_0x46f6bb;},_0x6a8e18[_0x261aa8(0x213)]=_0x261aa8(0x211);const _0x2664d9=_0x6a8e18,_0x4f5eff=_0x2664d9[_0x261aa8(0x1cb)](_0x2664d9[_0x261aa8(0x1e6)],_0x2ed72b),_0x45b434=_0x2664d9[_0x261aa8(0x1ea)](_0x2664d9[_0x261aa8(0x213)],_0x2ed72b),_0x1b8745=this;if(_0x140e4c[_0x4f5eff]||!_0x140e4c[_0x2ed72b])return;_0x140e4c[_0x4f5eff]=!![],_0x140e4c[_0x45b434]=_0x140e4c[_0x2ed72b],_0x140e4c[_0x2ed72b]=async()=>{const _0x36a3ea=_0x261aa8;try{await _0x1b8745[_0x36a3ea(0x1e3)](_0x140e4c,_0x2ed72b,_0x529ee4);}catch(_0x3ed717){logger[_0x36a3ea(0x20e)](_0x36a3ea(0x1d9)+_0x2ed72b+_0x36a3ea(0x20b)+_0x3ed717);}return await _0x140e4c[_0x45b434][_0x36a3ea(0x1d6)](_0x140e4c,arguments);};},exports[a119_0x381fe2(0x1e7)]=_0x186622=>{const _0x29404a=a119_0x381fe2,_0x1496cc={};_0x1496cc[_0x29404a(0x206)]=_0x29404a(0x218);const _0x481bae=_0x1496cc,_0x47e6f0={};_0x47e6f0[_0x29404a(0x1d0)]=_0x186622['percy'],_0x47e6f0['percyCaptureMode']=_0x186622['percyCaptureMode']||_0x481bae[_0x29404a(0x206)];const _0xb2c9f9=_0x47e6f0;_0x186622['percy']&&(_0xb2c9f9['browserstackPercyBestPlatform']=exports[_0x29404a(0x20a)](_0x186622[_0x29404a(0x1f8)]));;return _0xb2c9f9;};function a119_0x4987(){const _0x277d68=['lEgTS','chrome','start','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','GLaFD','patch','stopPercy','196350mXZVrT','START','percyCaptureMode','woXXG','88akFsza','120NAiSHN','rfYaQ','getBestPlatformForPercySnapshot','\x20for\x20percy\x20','deviceName','STOP','error','winstonLogger','../performance/constants','init','getDriver','ZpYAc','./PercyCaptureModes','AUTO_CAPTURE','element','24762bwmCLJ','auto','pwFqK','./Percy','318582oJEpXs','increment','346600QPeMjc','percy','stop','702618IkhWwN','patchDriverPercy','1UXLTsL','browserstackPercyMap','apply','browserStackPercyOptions','driver','Error\x20patching\x20','243440fkYbDt','browser','toLowerCase','lUVBI','getName','../helper','728582LZgfNn','then','debug','percyAutoCapture','./PercyCaptureMap','wdDOJ','lTxCU','getPercyOptions','forEach','manual','KZFrf','app','browserstackSessionName','xIzLp','reduce','fvngV','overrideXforPercy','220pvregk','measureWrapper','Stopping\x20percy','edge','screenshot','./PercySDK','../logger','platforms','startPercy','nestedKeyValue','prototype'];a119_0x4987=function(){return _0x277d68;};return a119_0x4987();}