browserstack-node-sdk 1.56.0 → 1.56.2

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 (201) 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 +1 -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/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/caCertHelper.js +1 -1
  156. package/src/helpers/capsMapping.js +1 -1
  157. package/src/helpers/central-scanner/constants.js +1 -1
  158. package/src/helpers/central-scanner/helpers.js +1 -1
  159. package/src/helpers/classLogger.js +1 -1
  160. package/src/helpers/driverInitErrorReporter.js +1 -0
  161. package/src/helpers/globals.js +1 -1
  162. package/src/helpers/helper.js +1 -1
  163. package/src/helpers/logger.js +1 -1
  164. package/src/helpers/metadata.js +1 -1
  165. package/src/helpers/patchHelper.js +1 -1
  166. package/src/helpers/patchHelpers.js +1 -1
  167. package/src/helpers/percy/Percy.js +1 -1
  168. package/src/helpers/percy/PercyBinary.js +1 -1
  169. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  170. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  171. package/src/helpers/percy/PercySDK.js +1 -1
  172. package/src/helpers/percy/index.js +1 -1
  173. package/src/helpers/percy/utils.js +1 -1
  174. package/src/helpers/performance/constants.js +1 -1
  175. package/src/helpers/performance/performance-tester.js +1 -1
  176. package/src/helpers/playwright-helper.js +1 -1
  177. package/src/helpers/processHelper.js +1 -1
  178. package/src/helpers/puppeteer-helper.js +1 -1
  179. package/src/helpers/request-spy.js +1 -1
  180. package/src/helpers/setKeepAlive.js +1 -1
  181. package/src/helpers/stackFrameUtils.js +1 -1
  182. package/src/helpers/test-observability/constants.js +1 -1
  183. package/src/helpers/test-observability/error-handler.js +1 -1
  184. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  185. package/src/helpers/test-observability/sessionHandler.js +1 -1
  186. package/src/helpers/test-observability/utils.js +1 -1
  187. package/src/helpers/test-orchestration/constants.js +1 -1
  188. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  189. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  190. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  191. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  192. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  193. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  194. package/src/helpers/testhub/constants.js +1 -1
  195. package/src/helpers/testhub/testhubHandler.js +1 -1
  196. package/src/helpers/testhub/utils.js +1 -1
  197. package/src/helpers/timeoutPromise.js +1 -1
  198. package/src/helpers/utilities.js +1 -1
  199. package/src/helpers/w3cMapping.js +1 -1
  200. package/src/hubAllocationMethods.js +1 -1
  201. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a121_0x386ecb=a121_0x2b67;(function(_0x80430e,_0x3bff0c){const _0x3f0c7d=a121_0x2b67,_0x244f9f=_0x80430e();while(!![]){try{const _0x48abce=-parseInt(_0x3f0c7d(0xa6))/0x1+-parseInt(_0x3f0c7d(0xb2))/0x2+parseInt(_0x3f0c7d(0x9b))/0x3*(-parseInt(_0x3f0c7d(0xaa))/0x4)+parseInt(_0x3f0c7d(0x85))/0x5*(parseInt(_0x3f0c7d(0xab))/0x6)+parseInt(_0x3f0c7d(0xbb))/0x7+parseInt(_0x3f0c7d(0x77))/0x8+-parseInt(_0x3f0c7d(0x8a))/0x9*(-parseInt(_0x3f0c7d(0x96))/0xa);if(_0x48abce===_0x3bff0c)break;else _0x244f9f['push'](_0x244f9f['shift']());}catch(_0x487018){_0x244f9f['push'](_0x244f9f['shift']());}}}(a121_0x270b,0xabdec));const winston=require(a121_0x386ecb(0x82)),path=require(a121_0x386ecb(0x6e)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a121_0x386ecb(0x89)),tempLogDir=a121_0x386ecb(0xb1);let redactRegex=null,lastConfigHash='';const logFormat=winston[a121_0x386ecb(0x72)](_0x19bd0b=>{const _0x119d46=a121_0x386ecb,_0x1625af={};_0x1625af[_0x119d46(0x8b)]=function(_0x575fe0,_0x4ae138){return _0x575fe0!==_0x4ae138;},_0x1625af[_0x119d46(0x98)]=_0x119d46(0x91),_0x1625af['WDkgj']=function(_0x1c3214,_0x5f3d38){return _0x1c3214+_0x5f3d38;},_0x1625af[_0x119d46(0xac)]=function(_0x524e5a,_0x2a273d){return _0x524e5a>_0x2a273d;},_0x1625af[_0x119d46(0x9d)]=_0x119d46(0x86);const _0x53c55a=_0x1625af;_0x53c55a['Hsydw'](typeof _0x19bd0b[_0x119d46(0x6c)],_0x53c55a[_0x119d46(0x98)])&&(_0x19bd0b['message']=JSON['stringify'](_0x19bd0b[_0x119d46(0x6c)]));const _0x130506=global[_0x119d46(0xb7)]&&global[_0x119d46(0xb7)][_0x119d46(0x7b)]||'',_0x55ec51=global[_0x119d46(0xb7)]&&global[_0x119d46(0xb7)][_0x119d46(0x81)]||'',_0x572653=_0x53c55a[_0x119d46(0xa4)](_0x53c55a[_0x119d46(0xa4)](_0x130506,'|'),_0x55ec51);if(_0x53c55a['Hsydw'](_0x572653,lastConfigHash)){lastConfigHash=_0x572653;const _0x3a8669=[_0x130506,_0x55ec51][_0x119d46(0x80)](Boolean);if(_0x53c55a[_0x119d46(0xac)](_0x3a8669[_0x119d46(0xa5)],0x0)){const _0x3df5a2=_0x3a8669[_0x119d46(0x75)](_0x30939e=>_0x30939e[_0x119d46(0xb4)](/[.*+?^${}()|[\]\\]/g,_0x119d46(0x71)))['join']('|');redactRegex=new RegExp(_0x3df5a2,'g');}else redactRegex=null;}return redactRegex&&(_0x19bd0b['message']=_0x19bd0b[_0x119d46(0x6c)][_0x119d46(0xb4)](redactRegex,_0x53c55a['OkcVP'])),_0x19bd0b;}),fetchLogDir=()=>{const _0x1f805d=a121_0x386ecb;if(process[_0x1f805d(0xa0)][_0x1f805d(0x9a)])return process[_0x1f805d(0xa0)][_0x1f805d(0x9a)];else!fs[_0x1f805d(0x92)](tempLogDir)&&fs[_0x1f805d(0x76)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x5c5b0f=a121_0x386ecb,_0x3a9c27={};_0x3a9c27['OZYLi']=_0x5c5b0f(0xb9);const _0x1894fc=_0x3a9c27,_0x4a6cb6=process[_0x5c5b0f(0xa0)][_0x5c5b0f(0xbe)],_0x3553f9=Object[_0x5c5b0f(0xb3)](winston['config']['npm']['levels']);if(_0x4a6cb6&&_0x3553f9[_0x5c5b0f(0x78)](_0x4a6cb6[_0x5c5b0f(0x84)]()))return _0x4a6cb6[_0x5c5b0f(0x84)]();return _0x1894fc[_0x5c5b0f(0x6d)];},initialLogLevel=getInitialLogLevel(),a121_0x4ad8ee={};a121_0x4ad8ee[a121_0x386ecb(0xae)]=a121_0x386ecb(0x9c),a121_0x4ad8ee[a121_0x386ecb(0xad)]=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a121_0x386ecb(0x94))](a121_0x4ad8ee),'loggerFile':new winston['transports'][(a121_0x386ecb(0x87))]({'filename':path[a121_0x386ecb(0xb6)](logDir,'/usage.log'),'level':initialLogLevel}),'debugLoggerFile':new winston[(a121_0x386ecb(0x8e))][(a121_0x386ecb(0x87))]({'filename':path[a121_0x386ecb(0xb6)](logDir,'/usage-debug.log'),'level':a121_0x386ecb(0x74)}),'debugCliLoggerFile':new winston[(a121_0x386ecb(0x8e))][(a121_0x386ecb(0x87))]({'filename':path['join'](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a121_0x386ecb(0x74)}),'buildLinkTransport':new winston[(a121_0x386ecb(0x8e))]['File']({'filename':path['join'](logDir,a121_0x386ecb(0x7d)),'level':a121_0x386ecb(0x74)})},automationTransports={};process[a121_0x386ecb(0xa0)][a121_0x386ecb(0xa2)]===a121_0x386ecb(0x73)&&(automationTransports[a121_0x386ecb(0x79)]=new winston[(a121_0x386ecb(0x8e))][(a121_0x386ecb(0x87))]({'filename':path[a121_0x386ecb(0xb6)](logDir,'automation.log'),'level':'silly'}));transports[a121_0x386ecb(0xbc)]['on'](a121_0x386ecb(0x93),_0x1e38a2=>{const _0xeb586e=a121_0x386ecb,_0xe2fa1a={};_0xe2fa1a[_0xeb586e(0x8f)]=function(_0x527d0a,_0x312195){return _0x527d0a===_0x312195;},_0xe2fa1a[_0xeb586e(0x88)]=_0xeb586e(0xb0),_0xe2fa1a['RyStr']=_0xeb586e(0xbf);const _0x202830=_0xe2fa1a;if(_0x202830[_0xeb586e(0x8f)](_0x1e38a2[_0xeb586e(0x90)],_0x202830['VKRFS'])){console[_0xeb586e(0xb1)](_0x202830[_0xeb586e(0x8d)],_0x1e38a2[_0xeb586e(0x6c)]);return;}throw _0x1e38a2;});const a121_0x20fe4c={};a121_0x20fe4c[a121_0x386ecb(0x72)]='YYYY-MM-DD\x20HH:mm:ss';const a121_0x5d2f4d={};function a121_0x2b67(_0x46c207,_0x40f524){const _0x270bb8=a121_0x270b();return a121_0x2b67=function(_0x2b67c1,_0x9fa57){_0x2b67c1=_0x2b67c1-0x6c;let _0x4f5dc1=_0x270bb8[_0x2b67c1];return _0x4f5dc1;},a121_0x2b67(_0x46c207,_0x40f524);}a121_0x5d2f4d[a121_0x386ecb(0xad)]=!![];const winstonLoggerParams={'format':winston[a121_0x386ecb(0x72)]['combine'](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7e)](a121_0x20fe4c),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0xa3)](a121_0x5d2f4d),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x6f)](_0x5744cb=>_0x5744cb[a121_0x386ecb(0x7e)]+a121_0x386ecb(0x9f)+_0x5744cb['level']+':\x20'+_0x5744cb[a121_0x386ecb(0x6c)])),'transports':[transports[a121_0x386ecb(0xbc)]]},a121_0x1ab2c8={};a121_0x1ab2c8[a121_0x386ecb(0x72)]='YYYY-MM-DD\x20HH:mm:ss';const a121_0x27eb41={};a121_0x27eb41[a121_0x386ecb(0xad)]=!![];const winstonFileLoggerParams={'format':winston['format'][a121_0x386ecb(0x7f)](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7e)](a121_0x1ab2c8),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0xa3)](a121_0x27eb41),winston[a121_0x386ecb(0x72)]['printf'](_0x2141a7=>_0x2141a7[a121_0x386ecb(0xad)]+':\x20'+_0x2141a7[a121_0x386ecb(0x6c)])),'transports':[]},a121_0x3e4e64={};a121_0x3e4e64[a121_0x386ecb(0x72)]=a121_0x386ecb(0xa7);const a121_0x2a8b9e={};a121_0x2a8b9e[a121_0x386ecb(0xad)]=!![];const a121_0x299180={};a121_0x299180[a121_0x386ecb(0xad)]=a121_0x386ecb(0x74);const BuildLoggerParams={'format':winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7f)](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7e)](a121_0x3e4e64),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0xa3)](a121_0x2a8b9e),winston[a121_0x386ecb(0x72)]['printf'](_0x37f301=>_0x37f301[a121_0x386ecb(0x7e)]+'\x20-\x20'+_0x37f301[a121_0x386ecb(0xad)]+':\x20'+_0x37f301[a121_0x386ecb(0x6c)])),'transports':[transports[a121_0x386ecb(0xb8)],new winston['transports']['Console'](a121_0x299180)]},a121_0x56b909={};a121_0x56b909[a121_0x386ecb(0xba)]=()=>{},a121_0x56b909[a121_0x386ecb(0xb9)]=()=>{},a121_0x56b909[a121_0x386ecb(0xa1)]=()=>{},a121_0x56b909[a121_0x386ecb(0x93)]=()=>{},a121_0x56b909[a121_0x386ecb(0xaf)]=()=>{},a121_0x56b909[a121_0x386ecb(0x74)]=()=>{},exports[a121_0x386ecb(0xa8)]=process[a121_0x386ecb(0xa0)]['BROWSERSTACK_AUTOMATION_LOGS']===a121_0x386ecb(0x73)?winston['createLogger']({'format':winston['format']['combine'](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x95)](),winston[a121_0x386ecb(0x72)]['timestamp'](),logFormat(),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x6f)](_0x198a9f=>_0x198a9f['level']+':\x20'+_0x198a9f['message'])),'transports':[automationTransports[a121_0x386ecb(0x79)]]}):a121_0x56b909;const initialize=()=>{const _0x53f215=a121_0x386ecb,_0x3d1b4f={};_0x3d1b4f['QLuTp']=_0x53f215(0x74);const _0x4f0c6b=_0x3d1b4f,_0x4dc399=transports[_0x53f215(0xbc)][_0x53f215(0xad)]||initialLogLevel;transports[_0x53f215(0x7a)]&&(exports['winstonLogger']['remove'](transports['loggerFile']),exports[_0x53f215(0x97)][_0x53f215(0x99)](transports[_0x53f215(0x7a)])),transports[_0x53f215(0xa9)]&&(exports[_0x53f215(0x8c)]['remove'](transports[_0x53f215(0xa9)]),exports[_0x53f215(0x97)]['remove'](transports[_0x53f215(0xa9)])),transports[_0x53f215(0x7a)]=new winston[(_0x53f215(0x8e))][(_0x53f215(0x87))]({'filename':path['join'](exports[_0x53f215(0xbd)],LOG_FILE_NAME),'level':_0x4dc399}),transports['debugLoggerFile']=new winston[(_0x53f215(0x8e))][(_0x53f215(0x87))]({'filename':path[_0x53f215(0xb6)](exports[_0x53f215(0xbd)],DEBUG_LOG_FILE_NAME),'level':_0x4f0c6b[_0x53f215(0x83)]}),transports['debugCliLoggerFile']=new winston[(_0x53f215(0x8e))][(_0x53f215(0x87))]({'filename':path[_0x53f215(0xb6)](exports[_0x53f215(0xbd)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x4f0c6b[_0x53f215(0x83)]}),exports[_0x53f215(0x8c)][_0x53f215(0xc0)](transports['loggerFile']),exports['winstonLogger'][_0x53f215(0xc0)](transports['debugLoggerFile']),exports[_0x53f215(0x97)][_0x53f215(0xc0)](transports[_0x53f215(0x7a)]),exports[_0x53f215(0x97)][_0x53f215(0xc0)](transports[_0x53f215(0xa9)]);};exports[a121_0x386ecb(0x8c)]=new winston[(a121_0x386ecb(0x70))](winstonLoggerParams),exports[a121_0x386ecb(0x97)]=new winston[(a121_0x386ecb(0x70))](winstonFileLoggerParams),exports[a121_0x386ecb(0x9e)]=new winston['createLogger'](BuildLoggerParams),exports[a121_0x386ecb(0xbd)]=logDir,exports[a121_0x386ecb(0x7c)]=()=>{const _0x5ee5bf=a121_0x386ecb;return exports[_0x5ee5bf(0xbd)];},exports['transports']=transports,exports[a121_0x386ecb(0xb5)]=initialize;function a121_0x270b(){const _0xebc2d4=['EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','add','message','OZYLi','path','printf','createLogger','\x5c$&','format','true','silly','map','mkdirSync','5432360FRzTll','includes','automationLoggerFile','loggerFile','userName','getLogDir','/usage.log','timestamp','combine','filter','accessKey','winston','QLuTp','toLowerCase','10CixFTU','[REDACTED]','File','VKRFS','../bin/utils/constants','243dMFocg','Hsydw','winstonLogger','RyStr','transports','Bowcc','code','string','existsSync','error','Console','uncolorize','676340JCqWIi','fileLogger','UHFSk','remove','BROWSERSTACK_INTERNAL_LOG_DIR','12KfHZdC','console.info','OkcVP','buildLogger','\x20-\x20','env','warn','BROWSERSTACK_AUTOMATION_LOGS','colorize','WDkgj','length','247283HVzAbN','YYYY-MM-DD\x20HH:mm:ss','automationLogger','debugLoggerFile','1366372lKlgZI','2210298OIQNOA','hZFCv','level','name','debug','EPIPE','log','2070720qzFndk','keys','replace','initialize','join','config','buildLinkTransport','info','http','777462lPzRpk','loggerConsole','logDir','BROWSERSTACK_LOG_LEVEL'];a121_0x270b=function(){return _0xebc2d4;};return a121_0x270b();}logDir&&initialize();
1
+ const a122_0x101b1a=a122_0x4ab5;(function(_0x56ea49,_0xa8d40a){const _0xa91e5c=a122_0x4ab5,_0x119c98=_0x56ea49();while(!![]){try{const _0xa30ba=parseInt(_0xa91e5c(0x1c5))/0x1+-parseInt(_0xa91e5c(0x1d2))/0x2+parseInt(_0xa91e5c(0x1a4))/0x3+-parseInt(_0xa91e5c(0x1a2))/0x4*(-parseInt(_0xa91e5c(0x1a1))/0x5)+-parseInt(_0xa91e5c(0x1cf))/0x6+-parseInt(_0xa91e5c(0x1cd))/0x7*(-parseInt(_0xa91e5c(0x1a8))/0x8)+parseInt(_0xa91e5c(0x18e))/0x9;if(_0xa30ba===_0xa8d40a)break;else _0x119c98['push'](_0x119c98['shift']());}catch(_0x17dab4){_0x119c98['push'](_0x119c98['shift']());}}}(a122_0x3bf3,0xd3b15));const winston=require(a122_0x101b1a(0x1a5)),path=require(a122_0x101b1a(0x190)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a122_0x101b1a(0x18a)),tempLogDir=a122_0x101b1a(0x1cb);let redactRegex=null,lastConfigHash='';const logFormat=winston[a122_0x101b1a(0x188)](_0x5c3f41=>{const _0x48c8b7=a122_0x101b1a,_0x4ef56c={};_0x4ef56c[_0x48c8b7(0x198)]=function(_0x1ae905,_0x4c516b){return _0x1ae905!==_0x4c516b;},_0x4ef56c[_0x48c8b7(0x1b8)]='string',_0x4ef56c[_0x48c8b7(0x18c)]=function(_0x507759,_0x101365){return _0x507759+_0x101365;},_0x4ef56c[_0x48c8b7(0x192)]=function(_0x266055,_0x19e0a6){return _0x266055!==_0x19e0a6;},_0x4ef56c[_0x48c8b7(0x1a3)]=function(_0x4fa235,_0x4f5ffc){return _0x4fa235>_0x4f5ffc;},_0x4ef56c['jdobt']=_0x48c8b7(0x1bd);const _0x391855=_0x4ef56c;_0x391855[_0x48c8b7(0x198)](typeof _0x5c3f41[_0x48c8b7(0x1b1)],_0x391855[_0x48c8b7(0x1b8)])&&(_0x5c3f41[_0x48c8b7(0x1b1)]=JSON[_0x48c8b7(0x19a)](_0x5c3f41[_0x48c8b7(0x1b1)]));const _0x31dd3c=global[_0x48c8b7(0x1c9)]&&global[_0x48c8b7(0x1c9)][_0x48c8b7(0x193)]||'',_0x182795=global[_0x48c8b7(0x1c9)]&&global[_0x48c8b7(0x1c9)][_0x48c8b7(0x195)]||'',_0x358725=_0x391855[_0x48c8b7(0x18c)](_0x391855['hYHVM'](_0x31dd3c,'|'),_0x182795);if(_0x391855[_0x48c8b7(0x192)](_0x358725,lastConfigHash)){lastConfigHash=_0x358725;const _0x3d55ca=[_0x31dd3c,_0x182795][_0x48c8b7(0x184)](Boolean);if(_0x391855[_0x48c8b7(0x1a3)](_0x3d55ca[_0x48c8b7(0x1c7)],0x0)){const _0x5df274=_0x3d55ca['map'](_0x3e9c94=>_0x3e9c94['replace'](/[.*+?^${}()|[\]\\]/g,_0x48c8b7(0x18b)))[_0x48c8b7(0x1b9)]('|');redactRegex=new RegExp(_0x5df274,'g');}else redactRegex=null;}return redactRegex&&(_0x5c3f41[_0x48c8b7(0x1b1)]=_0x5c3f41[_0x48c8b7(0x1b1)]['replace'](redactRegex,_0x391855['jdobt'])),_0x5c3f41;}),fetchLogDir=()=>{const _0x186264=a122_0x101b1a;if(process['env'][_0x186264(0x1a6)])return process['env'][_0x186264(0x1a6)];else!fs['existsSync'](tempLogDir)&&fs[_0x186264(0x187)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x4c9fa3=a122_0x101b1a,_0x41ff95={};_0x41ff95[_0x4c9fa3(0x1c8)]=_0x4c9fa3(0x1b2);const _0x15e2a2=_0x41ff95,_0x25d36c=process[_0x4c9fa3(0x1b7)]['BROWSERSTACK_LOG_LEVEL'],_0x994c85=Object[_0x4c9fa3(0x18f)](winston['config'][_0x4c9fa3(0x199)]['levels']);if(_0x25d36c&&_0x994c85['includes'](_0x25d36c[_0x4c9fa3(0x1bf)]()))return _0x25d36c['toLowerCase']();return _0x15e2a2[_0x4c9fa3(0x1c8)];},initialLogLevel=getInitialLogLevel(),a122_0x3e8e27={};a122_0x3e8e27[a122_0x101b1a(0x1c1)]=a122_0x101b1a(0x1bc),a122_0x3e8e27[a122_0x101b1a(0x1d0)]=initialLogLevel;function a122_0x3bf3(){const _0x187487=['debugLoggerFile','code','console.info','[REDACTED]','File','toLowerCase','uncolorize','name','debugCliLoggerFile','printf','silly','263117OoCfoE','fileLogger','length','rUeZM','config','automationLoggerFile','log','error','650573ygAIOw','EPIPE','7616268zAiXeb','level','/usage-debug.log','258522KdvBjd','YYYY-MM-DD\x20HH:mm:ss','filter','/usage.log','Console','mkdirSync','format','createLogger','../bin/utils/constants','\x5c$&','hYHVM','gqfLd','4440447Gycfjw','keys','path','logDir','UBmrT','userName','loggerFile','accessKey','add','true','TmbjW','npm','stringify','warn','mQLsP','\x20-\x20','iTNdZ','debug','loggerConsole','5426030xMELnD','4uLAvDV','urEMI','156810OqNKhT','winston','BROWSERSTACK_INTERNAL_LOG_DIR','initialize','32sVZpWm','combine','transports','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','winstonLogger','BROWSERSTACK_AUTOMATION_LOGS','http','buildLinkTransport','colorize','message','info','remove','timestamp','automation.log','Scxwb','env','mYFZG','join'];a122_0x3bf3=function(){return _0x187487;};return a122_0x3bf3();}const transports={'loggerConsole':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x186))](a122_0x3e8e27),'loggerFile':new winston['transports'][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x185)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x1d1)),'level':a122_0x101b1a(0x1c4)}),'debugCliLoggerFile':new winston[(a122_0x101b1a(0x1aa))]['File']({'filename':path[a122_0x101b1a(0x1b9)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a122_0x101b1a(0x1c4)}),'buildLinkTransport':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x185)),'level':'silly'})},automationTransports={};process['env'][a122_0x101b1a(0x1ad)]===a122_0x101b1a(0x197)&&(automationTransports[a122_0x101b1a(0x1ca)]=new winston[(a122_0x101b1a(0x1aa))]['File']({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x1b5)),'level':'silly'}));transports[a122_0x101b1a(0x1a0)]['on'](a122_0x101b1a(0x1cc),_0x397ab1=>{const _0x69ecbe=a122_0x101b1a,_0x4a6e48={};_0x4a6e48[_0x69ecbe(0x18d)]=function(_0x8d2401,_0x360fd6){return _0x8d2401===_0x360fd6;},_0x4a6e48[_0x69ecbe(0x19c)]=_0x69ecbe(0x1ce),_0x4a6e48[_0x69ecbe(0x19e)]=_0x69ecbe(0x1ab);const _0x46db09=_0x4a6e48;if(_0x46db09['gqfLd'](_0x397ab1[_0x69ecbe(0x1bb)],_0x46db09[_0x69ecbe(0x19c)])){console[_0x69ecbe(0x1cb)](_0x46db09['iTNdZ'],_0x397ab1[_0x69ecbe(0x1b1)]);return;}throw _0x397ab1;});const a122_0x22125b={};a122_0x22125b[a122_0x101b1a(0x188)]=a122_0x101b1a(0x183);const a122_0x3f1e86={};function a122_0x4ab5(_0x56145d,_0x3ff915){const _0x3bf3c6=a122_0x3bf3();return a122_0x4ab5=function(_0x4ab550,_0x3929aa){_0x4ab550=_0x4ab550-0x183;let _0x3fc857=_0x3bf3c6[_0x4ab550];return _0x3fc857;},a122_0x4ab5(_0x56145d,_0x3ff915);}a122_0x3f1e86[a122_0x101b1a(0x1d0)]=!![];const winstonLoggerParams={'format':winston['format']['combine'](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x22125b),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b0)](a122_0x3f1e86),winston['format'][a122_0x101b1a(0x1c3)](_0x57f6d6=>_0x57f6d6['timestamp']+a122_0x101b1a(0x19d)+_0x57f6d6[a122_0x101b1a(0x1d0)]+':\x20'+_0x57f6d6[a122_0x101b1a(0x1b1)])),'transports':[transports[a122_0x101b1a(0x1a0)]]},a122_0x3eaff8={};a122_0x3eaff8[a122_0x101b1a(0x188)]=a122_0x101b1a(0x183);const a122_0x37f42c={};a122_0x37f42c['level']=!![];const winstonFileLoggerParams={'format':winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1a9)](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x3eaff8),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b0)](a122_0x37f42c),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1c3)](_0x45ec7b=>_0x45ec7b[a122_0x101b1a(0x1d0)]+':\x20'+_0x45ec7b['message'])),'transports':[]},a122_0x48b77b={};a122_0x48b77b[a122_0x101b1a(0x188)]='YYYY-MM-DD\x20HH:mm:ss';const a122_0x4512f0={};a122_0x4512f0[a122_0x101b1a(0x1d0)]=!![];const a122_0x1e2bbc={};a122_0x1e2bbc[a122_0x101b1a(0x1d0)]='silly';const BuildLoggerParams={'format':winston['format'][a122_0x101b1a(0x1a9)](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x48b77b),winston[a122_0x101b1a(0x188)]['colorize'](a122_0x4512f0),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1c3)](_0x142477=>_0x142477[a122_0x101b1a(0x1b4)]+a122_0x101b1a(0x19d)+_0x142477[a122_0x101b1a(0x1d0)]+':\x20'+_0x142477[a122_0x101b1a(0x1b1)])),'transports':[transports[a122_0x101b1a(0x1af)],new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x186))](a122_0x1e2bbc)]},a122_0x32eb0c={};a122_0x32eb0c[a122_0x101b1a(0x1ae)]=()=>{},a122_0x32eb0c['info']=()=>{},a122_0x32eb0c[a122_0x101b1a(0x19b)]=()=>{},a122_0x32eb0c['error']=()=>{},a122_0x32eb0c[a122_0x101b1a(0x19f)]=()=>{},a122_0x32eb0c[a122_0x101b1a(0x1c4)]=()=>{},exports['automationLogger']=process[a122_0x101b1a(0x1b7)][a122_0x101b1a(0x1ad)]==='true'?winston[a122_0x101b1a(0x189)]({'format':winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1a9)](winston['format'][a122_0x101b1a(0x1c0)](),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](),logFormat(),winston['format'][a122_0x101b1a(0x1c3)](_0x10cf77=>_0x10cf77['level']+':\x20'+_0x10cf77[a122_0x101b1a(0x1b1)])),'transports':[automationTransports[a122_0x101b1a(0x1ca)]]}):a122_0x32eb0c;const initialize=()=>{const _0xe373f9=a122_0x101b1a,_0x193b8c={};_0x193b8c[_0xe373f9(0x1b6)]='silly';const _0x152efe=_0x193b8c,_0x472548=transports[_0xe373f9(0x1a0)][_0xe373f9(0x1d0)]||initialLogLevel;transports[_0xe373f9(0x194)]&&(exports[_0xe373f9(0x1ac)][_0xe373f9(0x1b3)](transports[_0xe373f9(0x194)]),exports[_0xe373f9(0x1c6)][_0xe373f9(0x1b3)](transports['loggerFile'])),transports[_0xe373f9(0x1ba)]&&(exports[_0xe373f9(0x1ac)][_0xe373f9(0x1b3)](transports[_0xe373f9(0x1ba)]),exports['fileLogger'][_0xe373f9(0x1b3)](transports[_0xe373f9(0x1ba)])),transports[_0xe373f9(0x194)]=new winston[(_0xe373f9(0x1aa))][(_0xe373f9(0x1be))]({'filename':path[_0xe373f9(0x1b9)](exports[_0xe373f9(0x191)],LOG_FILE_NAME),'level':_0x472548}),transports[_0xe373f9(0x1ba)]=new winston[(_0xe373f9(0x1aa))][(_0xe373f9(0x1be))]({'filename':path[_0xe373f9(0x1b9)](exports[_0xe373f9(0x191)],DEBUG_LOG_FILE_NAME),'level':_0x152efe['Scxwb']}),transports[_0xe373f9(0x1c2)]=new winston['transports'][(_0xe373f9(0x1be))]({'filename':path['join'](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x152efe[_0xe373f9(0x1b6)]}),exports[_0xe373f9(0x1ac)]['add'](transports[_0xe373f9(0x194)]),exports['winstonLogger'][_0xe373f9(0x196)](transports[_0xe373f9(0x1ba)]),exports[_0xe373f9(0x1c6)][_0xe373f9(0x196)](transports['loggerFile']),exports[_0xe373f9(0x1c6)][_0xe373f9(0x196)](transports[_0xe373f9(0x1ba)]);};exports['winstonLogger']=new winston['createLogger'](winstonLoggerParams),exports['fileLogger']=new winston['createLogger'](winstonFileLoggerParams),exports['buildLogger']=new winston[(a122_0x101b1a(0x189))](BuildLoggerParams),exports[a122_0x101b1a(0x191)]=logDir,exports['getLogDir']=()=>{const _0x40d4cb=a122_0x101b1a;return exports[_0x40d4cb(0x191)];},exports[a122_0x101b1a(0x1aa)]=transports,exports[a122_0x101b1a(0x1a7)]=initialize;logDir&&initialize();
@@ -1 +1 @@
1
- function a122_0x2d7e(_0x510055,_0x3d4549){const _0x1a2fa4=a122_0x1a2f();return a122_0x2d7e=function(_0x2d7e1a,_0x3f4101){_0x2d7e1a=_0x2d7e1a-0x133;let _0x45ebbc=_0x1a2fa4[_0x2d7e1a];return _0x45ebbc;},a122_0x2d7e(_0x510055,_0x3d4549);}const a122_0x486506=a122_0x2d7e;(function(_0x322261,_0x2f9cb7){const _0x4969e6=a122_0x2d7e,_0x594250=_0x322261();while(!![]){try{const _0x1e904f=parseInt(_0x4969e6(0x140))/0x1+parseInt(_0x4969e6(0x143))/0x2*(parseInt(_0x4969e6(0x14a))/0x3)+parseInt(_0x4969e6(0x152))/0x4*(parseInt(_0x4969e6(0x134))/0x5)+parseInt(_0x4969e6(0x146))/0x6*(parseInt(_0x4969e6(0x13e))/0x7)+-parseInt(_0x4969e6(0x14f))/0x8+-parseInt(_0x4969e6(0x138))/0x9*(-parseInt(_0x4969e6(0x151))/0xa)+-parseInt(_0x4969e6(0x149))/0xb;if(_0x1e904f===_0x2f9cb7)break;else _0x594250['push'](_0x594250['shift']());}catch(_0x3f14a6){_0x594250['push'](_0x594250['shift']());}}}(a122_0x1a2f,0x34cc4));const globals=require('./globals'),helper=require(a122_0x486506(0x135)),logger=require('./logger')[a122_0x486506(0x14b)];module[a122_0x486506(0x144)]=class TestMetadata{static[a122_0x486506(0x136)](_0x5c4f1a={}){const _0x3919e7=a122_0x486506,_0x5dc7ab={};_0x5dc7ab[_0x3919e7(0x13f)]=_0x3919e7(0x137),_0x5dc7ab[_0x3919e7(0x147)]=function(_0x52d88a,_0x48bec0){return _0x52d88a===_0x48bec0;},_0x5dc7ab['OZIuK']='string',_0x5dc7ab[_0x3919e7(0x13b)]=function(_0x2667bb,_0x3513f0){return _0x2667bb<=_0x3513f0;},_0x5dc7ab[_0x3919e7(0x14e)]=_0x3919e7(0x13d),_0x5dc7ab[_0x3919e7(0x150)]=_0x3919e7(0x133);const _0x33a62b=_0x5dc7ab,_0xaef3e0=globals['getGlobal'](_0x33a62b[_0x3919e7(0x13f)]),_0x3f5e91=_0x5c4f1a[_0x3919e7(0x141)];helper[_0x3919e7(0x142)]()[_0x3919e7(0x13c)]&&(_0x33a62b['YdVbs'](typeof _0x3f5e91,_0x33a62b['OZIuK'])&&_0x33a62b[_0x3919e7(0x13b)](_0x3f5e91[_0x3919e7(0x148)],0x28)?_0xaef3e0?globals[_0x3919e7(0x139)](_0x3919e7(0x14c)+_0xaef3e0,_0x5c4f1a):globals[_0x3919e7(0x139)](_0x33a62b[_0x3919e7(0x14e)],_0x5c4f1a):logger[_0x3919e7(0x145)](_0x33a62b[_0x3919e7(0x150)]));}static['get'](_0x4fb8dd){const _0x140566=a122_0x486506,_0x4051b0={};_0x4051b0['wTjKA']=_0x140566(0x13d);const _0x5c7402=_0x4051b0;if(helper[_0x140566(0x142)]()['lcnc'])return globals['getGlobal']('testMeta-'+_0x4fb8dd)||globals[_0x140566(0x13a)](_0x5c7402[_0x140566(0x14d)])||{};return{};}};function a122_0x1a2f(){const _0x703f1f=['YdVbs','length','6766705aAXgEv','184755GPOrMO','winstonLogger','testMeta-','wTjKA','FbytE','1802960oXSwNd','icAnW','435660zstSMx','760388tJhgBC','The\x20metadata\x20object\x20is\x20not\x20valid.','5iHKgbN','./helper','set','testRunUUID','9tUcfWH','setGlobal','getGlobal','CcCWq','lcnc','testMeta','14UnpJSB','zmnLU','219290nGOeqF','identifier','getCentralUser','12QLgUjr','exports','warn','702966eZOWtU'];a122_0x1a2f=function(){return _0x703f1f;};return a122_0x1a2f();}
1
+ function a123_0x187c(_0x3ff2f5,_0x24d7a2){const _0x463887=a123_0x4638();return a123_0x187c=function(_0x187ceb,_0x37129){_0x187ceb=_0x187ceb-0xfd;let _0x1bf073=_0x463887[_0x187ceb];return _0x1bf073;},a123_0x187c(_0x3ff2f5,_0x24d7a2);}function a123_0x4638(){const _0xcefbeb=['getGlobal','getCentralUser','40Kyhtbq','testMeta-','setGlobal','fqDyY','486186KmEstc','27MgjgeI','1503770ngCqpV','LzSGa','AMmEp','winstonLogger','546332BwNSzt','2614zJGXfW','string','1311faDcPv','identifier','WWqxw','734632ewKzqt','testMeta','The\x20metadata\x20object\x20is\x20not\x20valid.','GLtJF','lGejF','exports','tauMY','7143885YamNmj','./logger','lcnc','testRunUUID','length','263560AHLJjX','warn','set'];a123_0x4638=function(){return _0xcefbeb;};return a123_0x4638();}const a123_0x4a712c=a123_0x187c;(function(_0x5eaf47,_0x23b164){const _0x304ba5=a123_0x187c,_0x105483=_0x5eaf47();while(!![]){try{const _0x24ff18=parseInt(_0x304ba5(0x10b))/0x1+parseInt(_0x304ba5(0x11b))/0x2*(-parseInt(_0x304ba5(0x11d))/0x3)+parseInt(_0x304ba5(0x11a))/0x4+-parseInt(_0x304ba5(0x110))/0x5*(parseInt(_0x304ba5(0x114))/0x6)+parseInt(_0x304ba5(0x106))/0x7+-parseInt(_0x304ba5(0xff))/0x8+parseInt(_0x304ba5(0x115))/0x9*(parseInt(_0x304ba5(0x116))/0xa);if(_0x24ff18===_0x23b164)break;else _0x105483['push'](_0x105483['shift']());}catch(_0x23f3f4){_0x105483['push'](_0x105483['shift']());}}}(a123_0x4638,0x88dd1));const globals=require('./globals'),helper=require('./helper'),logger=require(a123_0x4a712c(0x107))[a123_0x4a712c(0x119)];module[a123_0x4a712c(0x104)]=class TestMetadata{static[a123_0x4a712c(0x10d)](_0x3f94ae={}){const _0x5349e1=a123_0x4a712c,_0x4747ec={};_0x4747ec['fqDyY']=_0x5349e1(0x109),_0x4747ec[_0x5349e1(0x103)]=function(_0x214d93,_0x5bcd63){return _0x214d93===_0x5bcd63;},_0x4747ec[_0x5349e1(0x105)]=_0x5349e1(0x11c),_0x4747ec['AMmEp']=function(_0x11c741,_0x1087ff){return _0x11c741<=_0x1087ff;},_0x4747ec[_0x5349e1(0x102)]=_0x5349e1(0x100),_0x4747ec[_0x5349e1(0x117)]=_0x5349e1(0x101);const _0x489a3c=_0x4747ec,_0x39af3e=globals[_0x5349e1(0x10e)](_0x489a3c[_0x5349e1(0x113)]),_0x2209bb=_0x3f94ae[_0x5349e1(0xfd)];helper['getCentralUser']()['lcnc']&&(_0x489a3c[_0x5349e1(0x103)](typeof _0x2209bb,_0x489a3c[_0x5349e1(0x105)])&&_0x489a3c[_0x5349e1(0x118)](_0x2209bb[_0x5349e1(0x10a)],0x28)?_0x39af3e?globals[_0x5349e1(0x112)]('testMeta-'+_0x39af3e,_0x3f94ae):globals[_0x5349e1(0x112)](_0x489a3c[_0x5349e1(0x102)],_0x3f94ae):logger[_0x5349e1(0x10c)](_0x489a3c[_0x5349e1(0x117)]));}static['get'](_0x1d5f6d){const _0x199f62=a123_0x4a712c,_0x28347b={};_0x28347b[_0x199f62(0xfe)]='testMeta';const _0x5a4615=_0x28347b;if(helper[_0x199f62(0x10f)]()[_0x199f62(0x108)])return globals[_0x199f62(0x10e)](_0x199f62(0x111)+_0x1d5f6d)||globals['getGlobal'](_0x5a4615[_0x199f62(0xfe)])||{};return{};}};
@@ -1 +1 @@
1
- const a123_0xcb6242=a123_0x5cc3;(function(_0x5896e0,_0x1aa196){const _0x2bd3eb=a123_0x5cc3,_0x39eeca=_0x5896e0();while(!![]){try{const _0x87a4fa=parseInt(_0x2bd3eb(0x84))/0x1+-parseInt(_0x2bd3eb(0x80))/0x2+parseInt(_0x2bd3eb(0x97))/0x3*(-parseInt(_0x2bd3eb(0xc0))/0x4)+parseInt(_0x2bd3eb(0xe5))/0x5+parseInt(_0x2bd3eb(0x99))/0x6*(parseInt(_0x2bd3eb(0xcd))/0x7)+parseInt(_0x2bd3eb(0x83))/0x8+parseInt(_0x2bd3eb(0xaf))/0x9;if(_0x87a4fa===_0x1aa196)break;else _0x39eeca['push'](_0x39eeca['shift']());}catch(_0x5acca9){_0x39eeca['push'](_0x39eeca['shift']());}}}(a123_0x3b62,0x6f6f6));const {aiSdkWrapper}=require(a123_0xcb6242(0xcb)),{commandRepository}=require(a123_0xcb6242(0x92)),PerformanceTester=require(a123_0xcb6242(0xb3)),globals=require(a123_0xcb6242(0xcc)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require(a123_0xcb6242(0x85)),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a123_0xcb6242(0xd4)),util=require('util');function a123_0x5cc3(_0x47d97a,_0x45b575){const _0x3b62e3=a123_0x3b62();return a123_0x5cc3=function(_0x5cc328,_0x5150b7){_0x5cc328=_0x5cc328-0x7e;let _0x14d3fe=_0x3b62e3[_0x5cc328];return _0x14d3fe;},a123_0x5cc3(_0x47d97a,_0x45b575);}function a123_0x3b62(){const _0x54a3c2=['anJbA','LykBd','Successfully\x20healed\x20command\x20using\x20new\x20','PRE_EXECUTE','name_','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','MCCEF','AUTOMATION_LOG_COMMANDS','3451905jDxFnQ','FXpAV','format','handleSuccess','./performance/performance-tester','debug','dLKPo','OMMxa','getNudgeLocalNotSetError','pcwnZ','nBHaq','executeScript','url','JFruO','wOccI','NUDGE_LOCAL_ERRORS','find','52LxBOSQ','name','ePAOh','xKdKO','fUYEX','getId','wcRAT','JavascriptError','message','AAVTd','handleFailure','./ai-sdk/aiSdkWrapper','./globals','7HoHmIs','RDFhT','JvzDF','capability','error','measureWrapper','nildX','./performance/constants','KrMlU','findElement\x20command\x20failed\x20with\x20cssPath:\x20','Healing\x20failed\x20for\x20command\x20using\x20','aiSdk_defaultLogDataEnabled','jTvCw','info','using','parameters_','setTcgToken','WMYsg','local','aiHeal:findElementFailure','yxEfC','nestedKeyValue','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','3050730KwGErc','initExecute','command','QcflB','overrideExecute','aiHeal_isAuthenticated','toString','request','qeycO','1552074tvgnEC','value','getSession','288328xeMlrp','65136fcIzjN','./helper','execute','skipHealingSuccess','iCURO','findElement\x20command\x20failed\x20with\x20','getTcgTokenStatus','kEZbG','NyfZT','PAQQW','][\x20SDK-AUTOMATION\x20]\x20','qxTPJ','isBrowserstackInfra','wpxvB','./ai-sdk/autoHealHelper','getGlobal','PUujC','aiHeal:findElementSuccess','patchExecute','54894TDudBL','includes','2252886qXtWyY','OgVgN','setAiSessionTimeStamp','setTcgTokenStatus','UTGGj','Yziib','gOQPC','agynW','string','YnRwU','get','bstack:options','aiHeal:setToken','POST_EXECUTE'];a123_0x3b62=function(){return _0x54a3c2;};return a123_0x3b62();}exports[a123_0xcb6242(0xe9)]=(_0x28d023,_0x556395)=>{const _0x49be25=a123_0xcb6242,_0x1f99bf={'PAQQW':_0x49be25(0xd8),'dLKPo':function(_0x6ba776,_0x286af4){return _0x6ba776===_0x286af4;},'WMYsg':'findElement','RDFhT':_0x49be25(0xea),'nBHaq':'aiHeal_isHealingEnabled','PUujC':_0x49be25(0x95),'dbhEt':function(_0x270220){return _0x270220();},'yxEfC':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','yijhx':'NoSuchElementError','wpxvB':_0x49be25(0xc7),'MCCEF':'css\x20selector','OMMxa':function(_0x596e1f,_0x54dcd0){return _0x596e1f+_0x54dcd0;},'anJbA':_0x49be25(0xd6),'FXpAV':';\x20Trying\x20to\x20heal','xKdKO':_0x49be25(0x89),'JFruO':_0x49be25(0xe0),'pwcyd':function(_0x1e286a){return _0x1e286a();},'shqun':function(_0x9d547f,_0x52cb8){return _0x9d547f&&_0x52cb8;},'Yziib':function(_0x203d50,_0x436887){return _0x203d50===_0x436887;},'ePAOh':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','QcflB':function(_0x3faea7,_0x5b4d3a){return _0x3faea7+_0x5b4d3a;},'nildX':function(_0x3b67c8,_0x29a365){return _0x3b67c8+_0x29a365;},'qxTPJ':_0x49be25(0xa9),'gOQPC':function(_0x29d853,_0x43134e){return _0x29d853+_0x43134e;},'KrMlU':_0x49be25(0xac),'gopWi':function(_0x21d855,_0x2ae397){return _0x21d855+_0x2ae397;},'OgVgN':function(_0x3f8309,_0x59adbf){return _0x3f8309+_0x59adbf;},'JvzDF':_0x49be25(0xd7),'AAVTd':function(_0x1ab78b,_0x22c45c){return _0x1ab78b===_0x22c45c;},'kEZbG':_0x49be25(0xa3),'NyfZT':_0x49be25(0xdc),'wOccI':_0x49be25(0xbb),'iigxd':_0x49be25(0xe4),'jTvCw':_0x49be25(0xa5),'iCURO':function(_0x1451df){return _0x1451df();},'pcwnZ':function(_0x216274,_0x38dd81){return _0x216274===_0x38dd81;},'UTGGj':'executeAsyncScript','iiUGK':_0x49be25(0xba),'YnRwU':function(_0x5ae9e1,_0x461a72){return _0x5ae9e1===_0x461a72;},'TPHlP':_0x49be25(0xa1),'fUYEX':_0x49be25(0xd0),'EXpdl':'browserstack.local','qeycO':_0x49be25(0xa4),'wcRAT':_0x49be25(0xdf)},_0x462e69=_0x28d023[_0x49be25(0x96)]||(helper[_0x49be25(0xe2)](_0x556395,[_0x1f99bf['fUYEX'],_0x1f99bf['EXpdl']])||helper[_0x49be25(0xe2)](_0x556395,[_0x1f99bf[_0x49be25(0xc4)],_0x1f99bf[_0x49be25(0x7f)],_0x1f99bf[_0x49be25(0xc6)]]));if(!globals[_0x49be25(0x93)](_0x1f99bf['RDFhT'])&&!globals[_0x49be25(0x93)](_0x1f99bf[_0x49be25(0xb9)])&&_0x462e69)return;_0x28d023[_0x49be25(0x96)]=!![],_0x28d023[_0x49be25(0xe6)]=_0x28d023[_0x49be25(0x86)],_0x28d023[_0x49be25(0x86)]=async _0x102d30=>{const _0x1af9c7=_0x49be25,_0x599ad9={'agynW':_0x1f99bf[_0x1af9c7(0xce)],'LykBd':_0x1f99bf[_0x1af9c7(0xd9)],'CSygY':function(_0x4f64aa){const _0x3f9fdd=_0x1af9c7;return _0x1f99bf[_0x3f9fdd(0x88)](_0x4f64aa);}};try{const _0x343b09={};_0x343b09[_0x1af9c7(0xe7)]=_0x102d30[_0x1af9c7(0xab)],await PerformanceTester[_0x1af9c7(0xd2)](PerformanceDriverEvents[_0x1af9c7(0xaa)],async()=>{const _0x5a043c=_0x1af9c7;if(!commandRepository[_0x5a043c(0x8a)]()&&globals[_0x5a043c(0x93)](_0x599ad9[_0x5a043c(0xa0)])){const _0x142415=PerformanceTester[_0x5a043c(0xd2)](_0x599ad9[_0x5a043c(0xa8)],async()=>{const _0x208bc2=_0x5a043c;try{commandRepository[_0x208bc2(0x9c)](!![]),await aiSdkWrapper[_0x208bc2(0xdd)]((await _0x28d023[_0x208bc2(0x82)]())[_0x208bc2(0xc5)]());const _0x57a9ae=globals[_0x208bc2(0x93)](_0x599ad9[_0x208bc2(0xa0)]);_0x57a9ae&&commandRepository[_0x208bc2(0x9b)]((await _0x28d023[_0x208bc2(0x82)]())[_0x208bc2(0xc5)]());}catch(_0x1edc81){logger[_0x208bc2(0xd1)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x1edc81);}});await _0x599ad9['CSygY'](_0x142415);}},_0x343b09)();const _0x35085c=await _0x28d023[_0x1af9c7(0xe6)](_0x102d30);try{if(_0x1f99bf[_0x1af9c7(0xb8)](_0x102d30['name_'],_0x1f99bf[_0x1af9c7(0x9d)])||_0x1f99bf[_0x1af9c7(0x9e)](_0x102d30[_0x1af9c7(0xab)],_0x1f99bf['iiUGK'])){const _0x53ced4=_0x102d30[_0x1af9c7(0xdc)]&&_0x102d30[_0x1af9c7(0xdc)]['script'],_0x1ab736=_0x102d30[_0x1af9c7(0xdc)]&&_0x102d30[_0x1af9c7(0xdc)]['args'],_0x394093=_0x1ab736&&util[_0x1af9c7(0xb1)]('%j',_0x1ab736);if(_0x53ced4&&_0x1f99bf[_0x1af9c7(0xa2)](typeof _0x53ced4,_0x1f99bf['TPHlP'])){const _0x3b77da=constants[_0x1af9c7(0xae)]['find'](_0x16e4e6=>_0x53ced4[_0x1af9c7(0x98)](_0x16e4e6)||_0x394093&&_0x394093[_0x1af9c7(0x98)](_0x16e4e6));if(_0x3b77da){const _0x35afe3={};_0x35afe3['command']=_0x3b77da,_0x35afe3['parameters']=_0x1ab736;const _0x5785d0={};_0x5785d0['body']=_0x35085c;const _0x1aa62d={};_0x1aa62d[_0x1af9c7(0x7e)]=_0x35afe3,_0x1aa62d['response']=_0x5785d0,automationLogger['silly']('['+new Date()['toISOString']()+_0x1af9c7(0x8e)+util['format']('%j',_0x1aa62d));}}}}catch(_0x34206a){logger['silly'](_0x1af9c7(0xe3)+_0x34206a[_0x1af9c7(0xc8)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x1af9c7(0xa6)],async()=>{const _0x3bfaac=_0x1af9c7;if(!helper[_0x3bfaac(0x90)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x3bfaac(0x93)](_0x1f99bf[_0x3bfaac(0x8d)]))&&_0x1f99bf[_0x3bfaac(0xb5)](_0x102d30['name_'],_0x1f99bf[_0x3bfaac(0xde)])&&!_0x102d30[_0x3bfaac(0x87)]&&globals[_0x3bfaac(0x93)](_0x1f99bf[_0x3bfaac(0xce)])&&globals['getGlobal'](_0x1f99bf[_0x3bfaac(0xb9)])){const _0x91d77d=new Date(),_0x52c23d=PerformanceTester[_0x3bfaac(0xd2)](_0x1f99bf[_0x3bfaac(0x94)],async()=>{const _0xa2cc6d=_0x3bfaac;return await aiSdkWrapper[_0xa2cc6d(0xb2)](_0x556395,_0x28d023,_0x102d30);});await _0x1f99bf['dbhEt'](_0x52c23d);}},{'command':_0x102d30[_0x1af9c7(0xab)]})(),_0x35085c;}catch(_0x1a59e9){await PerformanceTester[_0x1af9c7(0xd2)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x2b0029=_0x1af9c7;logger['debug'](_0x1f99bf[_0x2b0029(0xe1)]);try{if(!helper[_0x2b0029(0x90)]()&&(_0x1f99bf['dLKPo'](_0x1a59e9[_0x2b0029(0xc1)],_0x1f99bf['yijhx'])||_0x1f99bf['dLKPo'](_0x1a59e9['name'],_0x1f99bf[_0x2b0029(0x91)]))&&_0x1f99bf['dLKPo'](_0x102d30[_0x2b0029(0xab)],_0x1f99bf[_0x2b0029(0xde)])&&commandRepository['isSelfHealEnabled']()&&globals['getGlobal'](_0x1f99bf[_0x2b0029(0xce)])&&globals['getGlobal'](_0x1f99bf['nBHaq'])){_0x1f99bf[_0x2b0029(0xb5)](_0x102d30[_0x2b0029(0xdc)][_0x2b0029(0xdb)],_0x1f99bf[_0x2b0029(0xad)])?logger[_0x2b0029(0xda)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xa7)],_0x102d30['parameters_'][_0x2b0029(0x81)]),_0x1f99bf[_0x2b0029(0xb0)])):logger[_0x2b0029(0xda)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf['OMMxa'](_0x1f99bf[_0x2b0029(0xc3)],_0x102d30[_0x2b0029(0xdc)][_0x2b0029(0xdb)]),':\x20'),_0x102d30['parameters_'][_0x2b0029(0x81)]),_0x1f99bf[_0x2b0029(0xb0)]));const _0x46b8cc=PerformanceTester[_0x2b0029(0xd2)](_0x1f99bf[_0x2b0029(0xbc)],async()=>{const _0x59647a=_0x2b0029;return await aiSdkWrapper[_0x59647a(0xca)](_0x556395,_0x28d023,_0x102d30);}),_0x5f5bd5=new Date(),{locatorType:_0x453a9b,locatorValue:_0x457340,commandHealed:_0x2bb138}=await _0x1f99bf['pwcyd'](_0x46b8cc);if(_0x1f99bf['shqun'](_0x453a9b,_0x457340)){_0x102d30[_0x2b0029(0xdc)]['using']=_0x453a9b,_0x102d30[_0x2b0029(0xdc)]['value']=_0x457340,_0x102d30['skipHealingSuccess']=!![];const _0x32c82a=_0x28d023[_0x2b0029(0x86)](_0x102d30);return _0x1f99bf[_0x2b0029(0x9e)](_0x453a9b,_0x1f99bf[_0x2b0029(0xad)])?logger[_0x2b0029(0xda)](_0x1f99bf['OMMxa'](_0x1f99bf[_0x2b0029(0xc2)],_0x457340)):logger[_0x2b0029(0xda)](_0x1f99bf['QcflB'](_0x1f99bf[_0x2b0029(0xd3)](_0x1f99bf[_0x2b0029(0xe8)](_0x1f99bf[_0x2b0029(0x8f)],_0x453a9b),':\x20'),_0x457340)),_0x32c82a;}else!_0x2bb138&&(_0x1f99bf[_0x2b0029(0x9e)](_0x453a9b,_0x1f99bf[_0x2b0029(0xad)])?logger[_0x2b0029(0xda)](_0x1f99bf['gOQPC'](_0x1f99bf[_0x2b0029(0xd5)],_0x102d30['parameters_'][_0x2b0029(0x81)])):logger[_0x2b0029(0xda)](_0x1f99bf[_0x2b0029(0x9f)](_0x1f99bf['gopWi'](_0x1f99bf[_0x2b0029(0x9a)](_0x1f99bf[_0x2b0029(0xcf)],_0x102d30[_0x2b0029(0xdc)][_0x2b0029(0xdb)]),':\x20'),_0x102d30['parameters_'][_0x2b0029(0x81)])));}!_0x462e69&&_0x1f99bf[_0x2b0029(0xc9)](_0x102d30[_0x2b0029(0xab)],_0x1f99bf[_0x2b0029(0x8b)])&&helper['nestedKeyValue'](_0x102d30,[_0x1f99bf[_0x2b0029(0x8c)],_0x1f99bf[_0x2b0029(0xbd)]])&&!!constants[_0x2b0029(0xbe)][_0x2b0029(0xbf)](_0x296c41=>{const _0x4b5d6b=_0x2b0029;return _0x1a59e9[_0x4b5d6b(0xeb)]()['includes'](_0x296c41);})&&helper[_0x2b0029(0xb7)](_0x102d30[_0x2b0029(0xdc)]['url'],!![]);}catch(_0x331c82){logger[_0x2b0029(0xb4)](_0x1f99bf['iigxd'],_0x331c82);}},{'success':![],'failure':_0x1a59e9})();throw _0x1a59e9;}};};
1
+ function a124_0x1f5a(){const _0x52476d=['findElement\x20command\x20failed\x20with\x20cssPath:\x20','capability','aiHeal_isAuthenticated','value','DyXpw','honzW','aiHeal:findElementSuccess','toString','request','PumWi','aiHeal_isHealingEnabled','10EYvFze','overrideExecute','isBrowserstackInfra','Vcjva','./performance/performance-tester','./ai-sdk/autoHealHelper','ewEAT','execute','idQax','5368495ZfIzxX','fagqI','Successfully\x20healed\x20command\x20using\x20new\x20','browserstack.local','getNudgeLocalNotSetError','aiSdk_defaultLogDataEnabled','script','TOBDj','27704UyacIf','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','executeScript','ztVHb','JavascriptError','debug','QoEqB','LRbab','response','getSession','254168VKpHid','error','toISOString','./ai-sdk/aiSdkWrapper','qDoWj','./performance/constants','qTYCj','measureWrapper','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','14jnyHnw','isSelfHealEnabled','nctWf','IMyWb','initExecute','getId','get','FhmzU','patchExecute','GorGi','wovAl','mPEUD','skipHealingSuccess','UkfHC','setTcgTokenStatus','NoSuchElementError','./globals',';\x20Trying\x20to\x20heal','wqMCP','command','body','util','UVLJw','name_','url','aiHeal:findElementFailure','MfFWa','parameters_','rEztu','1835154kOSCCx','HOYwg','bDZWC','DccHV','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','4kbdNHF','info','prMOW','441582dvztTs','NuPca','executeAsyncScript','bstack:options','Healing\x20failed\x20for\x20command\x20using\x20','OsmNN','kWLzF','DlYbm','AxNLE','Mugax','local','string','using','CYino','oxEJF','silly','setAiSessionTimeStamp','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','XdXAc','name','getTcgTokenStatus','nestedKeyValue','PRE_EXECUTE','includes','findElement\x20command\x20failed\x20with\x20','parameters','getGlobal','18bOqAMI','find','EycxI','oQVQU','RtUNt','rYcjn','rUpoX','NUDGE_LOCAL_ERRORS','KlIRh','ACyIS','POST_EXECUTE','556110IHYeof','XiYBy','481170zgPFEQ','AUTOMATION_LOG_COMMANDS'];a124_0x1f5a=function(){return _0x52476d;};return a124_0x1f5a();}const a124_0x2f6b32=a124_0x2d34;function a124_0x2d34(_0x57483a,_0x553b73){const _0x1f5a9e=a124_0x1f5a();return a124_0x2d34=function(_0x2d345e,_0x103b88){_0x2d345e=_0x2d345e-0xbd;let _0x512737=_0x1f5a9e[_0x2d345e];return _0x512737;},a124_0x2d34(_0x57483a,_0x553b73);}(function(_0x1fea09,_0x45b384){const _0x303128=a124_0x2d34,_0x3e3389=_0x1fea09();while(!![]){try{const _0x10dc01=-parseInt(_0x303128(0x12c))/0x1*(-parseInt(_0x303128(0x101))/0x2)+-parseInt(_0x303128(0xe6))/0x3*(parseInt(_0x303128(0xe3))/0x4)+-parseInt(_0x303128(0x10e))/0x5+-parseInt(_0x303128(0x10c))/0x6+parseInt(_0x303128(0xc1))/0x7*(-parseInt(_0x303128(0x136))/0x8)+-parseInt(_0x303128(0xde))/0x9+parseInt(_0x303128(0x11b))/0xa*(parseInt(_0x303128(0x124))/0xb);if(_0x10dc01===_0x45b384)break;else _0x3e3389['push'](_0x3e3389['shift']());}catch(_0x4d4459){_0x3e3389['push'](_0x3e3389['shift']());}}}(a124_0x1f5a,0x20abc));const {aiSdkWrapper}=require(a124_0x2f6b32(0x139)),{commandRepository}=require(a124_0x2f6b32(0x120)),PerformanceTester=require(a124_0x2f6b32(0x11f)),globals=require(a124_0x2f6b32(0xd1)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a124_0x2f6b32(0xbd)),util=require(a124_0x2f6b32(0xd6));exports[a124_0x2f6b32(0x11c)]=(_0x6cfdb,_0x1a7998)=>{const _0x55fadd=a124_0x2f6b32,_0x2b5cc7={'qDoWj':_0x55fadd(0x12d),'prMOW':function(_0x40dedc,_0xcca305){return _0x40dedc===_0xcca305;},'DyXpw':_0x55fadd(0xd0),'Mugax':function(_0x174459,_0x2ed26d){return _0x174459===_0x2ed26d;},'NuPca':_0x55fadd(0x130),'oxEJF':function(_0x1f7468,_0x561a82){return _0x1f7468===_0x561a82;},'MfFWa':'findElement','oQVQU':_0x55fadd(0x112),'nctWf':_0x55fadd(0x11a),'CYino':'css\x20selector','OsmNN':function(_0xf0faff,_0x469c55){return _0xf0faff+_0x469c55;},'ewEAT':_0x55fadd(0x110),'idQax':_0x55fadd(0xd2),'XdXAc':function(_0x398f29,_0x406410){return _0x398f29+_0x406410;},'FhmzU':_0x55fadd(0xfe),'LuxOI':_0x55fadd(0xda),'GorGi':function(_0x58613e){return _0x58613e();},'dmPNt':function(_0x2e9f1c,_0x2dcff8){return _0x2e9f1c&&_0x2dcff8;},'bJuts':function(_0x28f60e,_0x50e390){return _0x28f60e===_0x50e390;},'wovAl':function(_0x48fa1f,_0x4c95ad){return _0x48fa1f+_0x4c95ad;},'rUpoX':_0x55fadd(0xe2),'UPqcU':function(_0xe35a8f,_0x33fd1c){return _0xe35a8f+_0x33fd1c;},'TOBDj':function(_0x1dac9a,_0x5ed911){return _0x1dac9a+_0x5ed911;},'rYcjn':_0x55fadd(0x126),'DccHV':function(_0x403768,_0x247599){return _0x403768+_0x247599;},'DlYbm':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','kWLzF':function(_0x1f914e,_0x21cadd){return _0x1f914e+_0x21cadd;},'XiYBy':_0x55fadd(0xea),'EycxI':function(_0x143190,_0x3406cd){return _0x143190===_0x3406cd;},'bDZWC':_0x55fadd(0xc7),'Vcjva':_0x55fadd(0xdc),'AxNLE':'url','HOYwg':_0x55fadd(0xc0),'UkfHC':'aiHeal:setToken','EUDQq':_0x55fadd(0x129),'rEztu':function(_0x4cbee8,_0x4d938f){return _0x4cbee8===_0x4d938f;},'PumWi':_0x55fadd(0x116),'RtUNt':_0x55fadd(0xe8),'wqMCP':_0x55fadd(0x12e),'KlIRh':_0x55fadd(0xf1),'ztVHb':_0x55fadd(0x111),'UVLJw':_0x55fadd(0x127),'EkGVF':_0x55fadd(0xe9),'YOeEl':_0x55fadd(0xf0)},_0x4dbf81=_0x6cfdb[_0x55fadd(0xc9)]||(helper[_0x55fadd(0xfb)](_0x1a7998,[_0x2b5cc7[_0x55fadd(0x12f)],_0x2b5cc7[_0x55fadd(0xd7)]])||helper[_0x55fadd(0xfb)](_0x1a7998,[_0x2b5cc7['ztVHb'],_0x2b5cc7['EkGVF'],_0x2b5cc7['YOeEl']]));if(!globals[_0x55fadd(0x100)](_0x2b5cc7[_0x55fadd(0x104)])&&!globals[_0x55fadd(0x100)](_0x2b5cc7[_0x55fadd(0xc3)])&&_0x4dbf81)return;_0x6cfdb[_0x55fadd(0xc9)]=!![],_0x6cfdb[_0x55fadd(0xc5)]=_0x6cfdb[_0x55fadd(0x122)],_0x6cfdb['execute']=async _0x44a394=>{const _0x2afc8e=_0x55fadd,_0x3890bd={'qTYCj':_0x2b5cc7[_0x2afc8e(0x104)],'fagqI':_0x2b5cc7[_0x2afc8e(0xce)],'mPEUD':function(_0x31ee28){const _0x30c595=_0x2afc8e;return _0x2b5cc7[_0x30c595(0xca)](_0x31ee28);},'honzW':_0x2b5cc7['EUDQq'],'QoEqB':function(_0x18da2e,_0x5cef66){return _0x2b5cc7['rEztu'](_0x18da2e,_0x5cef66);},'IMyWb':_0x2b5cc7['MfFWa'],'ACyIS':_0x2b5cc7[_0x2afc8e(0xc3)],'LRbab':_0x2b5cc7[_0x2afc8e(0x119)],'aivDe':function(_0x47b10e){const _0xfd6ed2=_0x2afc8e;return _0x2b5cc7[_0xfd6ed2(0xca)](_0x47b10e);}};try{const _0x29ae38={};_0x29ae38['command']=_0x44a394[_0x2afc8e(0xd8)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x2afc8e(0xfc)],async()=>{const _0x4865c2=_0x2afc8e;if(!commandRepository[_0x4865c2(0xfa)]()&&globals[_0x4865c2(0x100)](_0x3890bd[_0x4865c2(0xbe)])){const _0x5db307=PerformanceTester[_0x4865c2(0xbf)](_0x3890bd[_0x4865c2(0x125)],async()=>{const _0x8c81c5=_0x4865c2;try{commandRepository[_0x8c81c5(0xcf)](!![]),await aiSdkWrapper['setTcgToken']((await _0x6cfdb[_0x8c81c5(0x135)]())[_0x8c81c5(0xc6)]());const _0x10ef18=globals[_0x8c81c5(0x100)](_0x3890bd['qTYCj']);_0x10ef18&&commandRepository[_0x8c81c5(0xf6)]((await _0x6cfdb[_0x8c81c5(0x135)]())[_0x8c81c5(0xc6)]());}catch(_0x62da66){logger[_0x8c81c5(0x137)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x62da66);}});await _0x3890bd[_0x4865c2(0xcc)](_0x5db307);}},_0x29ae38)();const _0xde1e02=await _0x6cfdb[_0x2afc8e(0xc5)](_0x44a394);try{if(_0x2b5cc7[_0x2afc8e(0xdd)](_0x44a394[_0x2afc8e(0xd8)],_0x2b5cc7[_0x2afc8e(0x105)])||_0x2b5cc7['EycxI'](_0x44a394[_0x2afc8e(0xd8)],_0x2b5cc7[_0x2afc8e(0xd3)])){const _0x171591=_0x44a394[_0x2afc8e(0xdc)]&&_0x44a394[_0x2afc8e(0xdc)][_0x2afc8e(0x12a)],_0x47c33d=_0x44a394[_0x2afc8e(0xdc)]&&_0x44a394[_0x2afc8e(0xdc)]['args'],_0x2c0e76=_0x47c33d&&util['format']('%j',_0x47c33d);if(_0x171591&&_0x2b5cc7[_0x2afc8e(0xe5)](typeof _0x171591,_0x2b5cc7[_0x2afc8e(0x109)])){const _0x5cc017=constants[_0x2afc8e(0x10f)][_0x2afc8e(0x102)](_0x547812=>_0x171591[_0x2afc8e(0xfd)](_0x547812)||_0x2c0e76&&_0x2c0e76['includes'](_0x547812));if(_0x5cc017){const _0xfa42d1={};_0xfa42d1[_0x2afc8e(0xd4)]=_0x5cc017,_0xfa42d1[_0x2afc8e(0xff)]=_0x47c33d;const _0x3e011={};_0x3e011[_0x2afc8e(0xd5)]=_0xde1e02;const _0x23b90f={};_0x23b90f[_0x2afc8e(0x118)]=_0xfa42d1,_0x23b90f[_0x2afc8e(0x134)]=_0x3e011,automationLogger[_0x2afc8e(0xf5)]('['+new Date()[_0x2afc8e(0x138)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util['format']('%j',_0x23b90f));}}}}catch(_0x1ab487){logger['silly'](_0x2afc8e(0xf7)+_0x1ab487['message']);}return await PerformanceTester[_0x2afc8e(0xbf)](PerformanceDriverEvents[_0x2afc8e(0x10b)],async()=>{const _0x4c5dc5=_0x2afc8e;if(!helper[_0x4c5dc5(0x11d)]()&&(commandRepository[_0x4c5dc5(0xc2)]()||globals['getGlobal'](_0x3890bd[_0x4c5dc5(0x115)]))&&_0x3890bd[_0x4c5dc5(0x132)](_0x44a394[_0x4c5dc5(0xd8)],_0x3890bd[_0x4c5dc5(0xc4)])&&!_0x44a394[_0x4c5dc5(0xcd)]&&globals[_0x4c5dc5(0x100)](_0x3890bd[_0x4c5dc5(0xbe)])&&globals[_0x4c5dc5(0x100)](_0x3890bd[_0x4c5dc5(0x10a)])){const _0x3a3208=new Date(),_0x1ec640=PerformanceTester[_0x4c5dc5(0xbf)](_0x3890bd[_0x4c5dc5(0x133)],async()=>{return await aiSdkWrapper['handleSuccess'](_0x1a7998,_0x6cfdb,_0x44a394);});await _0x3890bd['aivDe'](_0x1ec640);}},{'command':_0x44a394[_0x2afc8e(0xd8)]})(),_0xde1e02;}catch(_0x457059){await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x2afc8e(0x10b)],async()=>{const _0x162a57=_0x2afc8e;logger[_0x162a57(0x131)](_0x2b5cc7[_0x162a57(0x13a)]);try{if(!helper[_0x162a57(0x11d)]()&&(_0x2b5cc7[_0x162a57(0xe5)](_0x457059['name'],_0x2b5cc7[_0x162a57(0x114)])||_0x2b5cc7[_0x162a57(0xef)](_0x457059[_0x162a57(0xf9)],_0x2b5cc7[_0x162a57(0xe7)]))&&_0x2b5cc7[_0x162a57(0xf4)](_0x44a394[_0x162a57(0xd8)],_0x2b5cc7[_0x162a57(0xdb)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x162a57(0x100)](_0x2b5cc7[_0x162a57(0x104)])&&globals[_0x162a57(0x100)](_0x2b5cc7[_0x162a57(0xc3)])){_0x2b5cc7[_0x162a57(0xf4)](_0x44a394[_0x162a57(0xdc)][_0x162a57(0xf2)],_0x2b5cc7[_0x162a57(0xf3)])?logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7[_0x162a57(0x121)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]),_0x2b5cc7[_0x162a57(0x123)])):logger['info'](_0x2b5cc7['OsmNN'](_0x2b5cc7['OsmNN'](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7['XdXAc'](_0x2b5cc7[_0x162a57(0xc8)],_0x44a394[_0x162a57(0xdc)]['using']),':\x20'),_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]),_0x2b5cc7[_0x162a57(0x123)]));const _0x1029d2=PerformanceTester['measureWrapper'](_0x2b5cc7['LuxOI'],async()=>{return await aiSdkWrapper['handleFailure'](_0x1a7998,_0x6cfdb,_0x44a394);}),_0x177598=new Date(),{locatorType:_0xbe2e5b,locatorValue:_0x1c9165,commandHealed:_0x2d19c6}=await _0x2b5cc7[_0x162a57(0xca)](_0x1029d2);if(_0x2b5cc7['dmPNt'](_0xbe2e5b,_0x1c9165)){_0x44a394['parameters_'][_0x162a57(0xf2)]=_0xbe2e5b,_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]=_0x1c9165,_0x44a394[_0x162a57(0xcd)]=!![];const _0x29751b=_0x6cfdb[_0x162a57(0x122)](_0x44a394);return _0x2b5cc7['bJuts'](_0xbe2e5b,_0x2b5cc7[_0x162a57(0xf3)])?logger['info'](_0x2b5cc7[_0x162a57(0xcb)](_0x2b5cc7[_0x162a57(0x107)],_0x1c9165)):logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xcb)](_0x2b5cc7['UPqcU'](_0x2b5cc7[_0x162a57(0x12b)](_0x2b5cc7[_0x162a57(0x106)],_0xbe2e5b),':\x20'),_0x1c9165)),_0x29751b;}else!_0x2d19c6&&(_0x2b5cc7[_0x162a57(0xef)](_0xbe2e5b,_0x2b5cc7[_0x162a57(0xf3)])?logger['info'](_0x2b5cc7[_0x162a57(0xe1)](_0x2b5cc7[_0x162a57(0xed)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)])):logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xec)](_0x2b5cc7[_0x162a57(0xf8)](_0x2b5cc7[_0x162a57(0x12b)](_0x2b5cc7[_0x162a57(0x10d)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0xf2)]),':\x20'),_0x44a394[_0x162a57(0xdc)]['value'])));}!_0x4dbf81&&_0x2b5cc7[_0x162a57(0x103)](_0x44a394[_0x162a57(0xd8)],_0x2b5cc7[_0x162a57(0xe0)])&&helper[_0x162a57(0xfb)](_0x44a394,[_0x2b5cc7[_0x162a57(0x11e)],_0x2b5cc7[_0x162a57(0xee)]])&&!!constants[_0x162a57(0x108)][_0x162a57(0x102)](_0x421d54=>{const _0x595cd2=_0x162a57;return _0x457059[_0x595cd2(0x117)]()[_0x595cd2(0xfd)](_0x421d54);})&&helper[_0x162a57(0x128)](_0x44a394['parameters_'][_0x162a57(0xd9)],!![]);}catch(_0x1f3d0a){logger[_0x162a57(0x131)](_0x2b5cc7[_0x162a57(0xdf)],_0x1f3d0a);}},{'success':![],'failure':_0x457059})();throw _0x457059;}};};
@@ -1 +1 @@
1
- function a124_0x4d17(_0x2a98ca,_0x1ed01b){const _0x55529d=a124_0x5552();return a124_0x4d17=function(_0x4d17d6,_0x1fa8b7){_0x4d17d6=_0x4d17d6-0xb7;let _0x2ef6da=_0x55529d[_0x4d17d6];return _0x2ef6da;},a124_0x4d17(_0x2a98ca,_0x1ed01b);}const a124_0x1accb5=a124_0x4d17;function a124_0x5552(){const _0x5ca405=['2096608cFjbud','quitCount_','catch','wzase','BS_TESTOPS_ALLOW_SCREENSHOTS','PSlnU','hmdtF','patchScreenshot','initQuit','72934RJnzJB','env','O11y_EVENTS','end','./performance/constants','WjdlG','6sXkLvI','479932BfjRED','7679520yxHwot','toISOString','start','TAKE_SCREENSHOT','qQoTh','./performance/performance-tester','pid','quit','takeScreenshot','overrideTakeScreenshot','emit','patchQuit','fvwmc','1094395ocLKqf','xnrvt','6blHTba','1248625opidHx','263875ONJodj','cJiDV'];a124_0x5552=function(){return _0x5ca405;};return a124_0x5552();}(function(_0x4a3f40,_0x23fb94){const _0x2ff178=a124_0x4d17,_0x3dd86f=_0x4a3f40();while(!![]){try{const _0x25179b=-parseInt(_0x2ff178(0xc9))/0x1+-parseInt(_0x2ff178(0xd4))/0x2+-parseInt(_0x2ff178(0xc7))/0x3*(-parseInt(_0x2ff178(0xb7))/0x4)+-parseInt(_0x2ff178(0xc5))/0x5*(parseInt(_0x2ff178(0xda))/0x6)+-parseInt(_0x2ff178(0xc8))/0x7+-parseInt(_0x2ff178(0xcb))/0x8+parseInt(_0x2ff178(0xb8))/0x9;if(_0x25179b===_0x23fb94)break;else _0x3dd86f['push'](_0x3dd86f['shift']());}catch(_0x13fa0a){_0x3dd86f['push'](_0x3dd86f['shift']());}}}(a124_0x5552,0x209c6));const PerformanceTester=require(a124_0x1accb5(0xbd)),O11yEvents=require(a124_0x1accb5(0xd8))[a124_0x1accb5(0xd6)];exports[a124_0x1accb5(0xc1)]=_0xcdf6f7=>{const _0x4b991f=a124_0x1accb5,_0x144e9d={'UPECN':'TEST_SCREENSHOT','lMIDV':function(_0x38b2f9,_0x2aafa8){return _0x38b2f9(_0x2aafa8);},'fvwmc':function(_0x29b985,_0x2c5d60){return _0x29b985!==_0x2c5d60;},'xnrvt':'true'};if(_0x144e9d[_0x4b991f(0xc4)](process[_0x4b991f(0xd5)][_0x4b991f(0xcf)],_0x144e9d[_0x4b991f(0xc6)]))return;if(_0xcdf6f7[_0x4b991f(0xd2)])return;_0xcdf6f7[_0x4b991f(0xd2)]=!![],_0xcdf6f7['initScreenshot']=_0xcdf6f7[_0x4b991f(0xc0)],_0xcdf6f7['takeScreenshot']=()=>{return new Promise(function(_0xbffe5d,_0x32c3bd){const _0x2ffc97=a124_0x4d17,_0x4579e4={'wzase':_0x144e9d['UPECN'],'PSlnU':function(_0x416c16,_0xf3c3b3){return _0x144e9d['lMIDV'](_0x416c16,_0xf3c3b3);},'WjdlG':function(_0x399153,_0x6b97b2){return _0x144e9d['lMIDV'](_0x399153,_0x6b97b2);}};_0xcdf6f7['initScreenshot']()['then'](_0x394560=>{const _0x84d775=a124_0x4d17;PerformanceTester[_0x84d775(0xba)](O11yEvents[_0x84d775(0xbb)]),process[_0x84d775(0xc2)]('bs:addLog:'+process[_0x84d775(0xbe)],{'timestamp':new Date()[_0x84d775(0xb9)](),'message':_0x394560,'kind':_0x4579e4[_0x84d775(0xce)]}),_0x4579e4[_0x84d775(0xd0)](_0xbffe5d,_0x394560),PerformanceTester[_0x84d775(0xd7)](O11yEvents[_0x84d775(0xbb)]);})[_0x2ffc97(0xcd)](_0x4f4e6e=>{const _0x551622=_0x2ffc97;PerformanceTester[_0x551622(0xd7)](O11yEvents['TAKE_SCREENSHOT']),_0x4579e4[_0x551622(0xd9)](_0x32c3bd,_0x4f4e6e);});});};},exports['overrideQuit']=(_0x441935,_0x463829=null)=>{const _0x5044e2=a124_0x1accb5,_0x9803d3={'cJiDV':function(_0x41984e){return _0x41984e();},'hmdtF':function(_0x3e27fc,_0x4d9b66){return _0x3e27fc>_0x4d9b66;},'qQoTh':function(_0x132c9a,_0x3b22c0){return _0x132c9a>_0x3b22c0;}};if(_0x441935['patchQuit'])return;_0x441935[_0x5044e2(0xc3)]=!![],_0x441935[_0x5044e2(0xd3)]=_0x441935[_0x5044e2(0xbf)],_0x441935[_0x5044e2(0xbf)]=()=>{const _0x4e2fa3=_0x5044e2;if(_0x463829){_0x463829[_0x4e2fa3(0xcc)]+=0x1;if(_0x9803d3[_0x4e2fa3(0xd1)](_0x463829[_0x4e2fa3(0xcc)],0x1))return _0x441935['initQuit']();}else{_0x441935[_0x4e2fa3(0xcc)]+=0x1;if(_0x9803d3[_0x4e2fa3(0xbc)](_0x441935[_0x4e2fa3(0xcc)],0x1))return _0x441935[_0x4e2fa3(0xd3)]();}return new Promise(function(_0x13d2da){const _0x1bd58c=_0x4e2fa3;_0x9803d3[_0x1bd58c(0xca)](_0x13d2da);});};};
1
+ const a125_0x2ee6ef=a125_0x1dd2;function a125_0x1dd2(_0x506bf9,_0x528433){const _0x566cf9=a125_0x566c();return a125_0x1dd2=function(_0x1dd27b,_0x1dcce5){_0x1dd27b=_0x1dd27b-0x77;let _0x7f192=_0x566cf9[_0x1dd27b];return _0x7f192;},a125_0x1dd2(_0x506bf9,_0x528433);}(function(_0x4d69db,_0x58a092){const _0x451132=a125_0x1dd2,_0x26ac94=_0x4d69db();while(!![]){try{const _0x1204e2=-parseInt(_0x451132(0x9a))/0x1+-parseInt(_0x451132(0x79))/0x2+-parseInt(_0x451132(0x78))/0x3+-parseInt(_0x451132(0x8e))/0x4*(-parseInt(_0x451132(0x80))/0x5)+parseInt(_0x451132(0x83))/0x6+parseInt(_0x451132(0x99))/0x7+-parseInt(_0x451132(0x94))/0x8*(-parseInt(_0x451132(0x86))/0x9);if(_0x1204e2===_0x58a092)break;else _0x26ac94['push'](_0x26ac94['shift']());}catch(_0x3f2ad0){_0x26ac94['push'](_0x26ac94['shift']());}}}(a125_0x566c,0x6c19b));const PerformanceTester=require(a125_0x2ee6ef(0x96)),O11yEvents=require(a125_0x2ee6ef(0x84))['O11y_EVENTS'];function a125_0x566c(){const _0x149db1=['toISOString','./performance/performance-tester','then','quit','4511073UiVmWW','490463jiFtEx','BS_TESTOPS_ALLOW_SCREENSHOTS','2322798DgDSEt','1236744KiVBOq','patchQuit','durUE','zxHBl','takeScreenshot','initQuit','IuAAh','5sjEMkZ','uIpIt','catch','1740834RPNowa','./performance/constants','start','11862XNFoDl','HajIn','initScreenshot','quitCount_','pid','jxOmT','xryHG','bs:addLog:','2786864ZvZUtl','TAKE_SCREENSHOT','TEST_SCREENSHOT','patchScreenshot','true','TjPfj','4216uyVMvb'];a125_0x566c=function(){return _0x149db1;};return a125_0x566c();}exports['overrideTakeScreenshot']=_0x2ea1dc=>{const _0x3d0972=a125_0x2ee6ef,_0x119967={'HajIn':_0x3d0972(0x90),'uIpIt':function(_0x3a8a06,_0x1bf6e4){return _0x3a8a06(_0x1bf6e4);},'SnYni':function(_0x1bf08b,_0x526a2b){return _0x1bf08b(_0x526a2b);},'xryHG':function(_0x561a13,_0x56fa89){return _0x561a13!==_0x56fa89;},'IuAAh':_0x3d0972(0x92)};if(_0x119967[_0x3d0972(0x8c)](process['env'][_0x3d0972(0x77)],_0x119967[_0x3d0972(0x7f)]))return;if(_0x2ea1dc[_0x3d0972(0x91)])return;_0x2ea1dc[_0x3d0972(0x91)]=!![],_0x2ea1dc[_0x3d0972(0x88)]=_0x2ea1dc['takeScreenshot'],_0x2ea1dc[_0x3d0972(0x7d)]=()=>{const _0x57d2a9={'VvVff':function(_0x40c14f,_0x3720d6){return _0x119967['SnYni'](_0x40c14f,_0x3720d6);}};return new Promise(function(_0xb71cec,_0x18262c){const _0x4a2623=a125_0x1dd2,_0x39f514={'jxOmT':_0x119967[_0x4a2623(0x87)],'zxHBl':function(_0x5d69ad,_0x515139){const _0x3d30d3=_0x4a2623;return _0x119967[_0x3d30d3(0x81)](_0x5d69ad,_0x515139);}};_0x2ea1dc[_0x4a2623(0x88)]()[_0x4a2623(0x97)](_0x31665a=>{const _0x574d98=_0x4a2623;PerformanceTester[_0x574d98(0x85)](O11yEvents[_0x574d98(0x8f)]),process['emit'](_0x574d98(0x8d)+process[_0x574d98(0x8a)],{'timestamp':new Date()[_0x574d98(0x95)](),'message':_0x31665a,'kind':_0x39f514[_0x574d98(0x8b)]}),_0x39f514[_0x574d98(0x7c)](_0xb71cec,_0x31665a),PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']);})[_0x4a2623(0x82)](_0x1238a2=>{PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']),_0x57d2a9['VvVff'](_0x18262c,_0x1238a2);});});};},exports['overrideQuit']=(_0x3932e0,_0x719231=null)=>{const _0x52f30b=a125_0x2ee6ef,_0x40262c={'TjPfj':function(_0x34c8bb){return _0x34c8bb();},'durUE':function(_0x2e140f,_0x52ac6d){return _0x2e140f>_0x52ac6d;}};if(_0x3932e0[_0x52f30b(0x7a)])return;_0x3932e0['patchQuit']=!![],_0x3932e0[_0x52f30b(0x7e)]=_0x3932e0['quit'],_0x3932e0[_0x52f30b(0x98)]=()=>{const _0x554f0f=_0x52f30b;if(_0x719231){_0x719231[_0x554f0f(0x89)]+=0x1;if(_0x40262c[_0x554f0f(0x7b)](_0x719231[_0x554f0f(0x89)],0x1))return _0x3932e0['initQuit']();}else{_0x3932e0[_0x554f0f(0x89)]+=0x1;if(_0x40262c[_0x554f0f(0x7b)](_0x3932e0[_0x554f0f(0x89)],0x1))return _0x3932e0[_0x554f0f(0x7e)]();}return new Promise(function(_0x2d15ba){const _0x2bb989=_0x554f0f;_0x40262c[_0x2bb989(0x93)](_0x2d15ba);});};};
@@ -1 +1 @@
1
- const a125_0x4e63c4=a125_0x1c86;(function(_0x116ae3,_0x245e77){const _0xbaa8d0=a125_0x1c86,_0x43d0b2=_0x116ae3();while(!![]){try{const _0x42707d=parseInt(_0xbaa8d0(0x1dd))/0x1+-parseInt(_0xbaa8d0(0x1bf))/0x2*(parseInt(_0xbaa8d0(0x1b9))/0x3)+parseInt(_0xbaa8d0(0x1c9))/0x4*(-parseInt(_0xbaa8d0(0x1da))/0x5)+parseInt(_0xbaa8d0(0x1d6))/0x6+-parseInt(_0xbaa8d0(0x19a))/0x7+parseInt(_0xbaa8d0(0x1ad))/0x8+parseInt(_0xbaa8d0(0x1b5))/0x9*(-parseInt(_0xbaa8d0(0x1c7))/0xa);if(_0x42707d===_0x245e77)break;else _0x43d0b2['push'](_0x43d0b2['shift']());}catch(_0x4bfb21){_0x43d0b2['push'](_0x43d0b2['shift']());}}}(a125_0x5dbb,0x7f753));const fs=require('fs'),path=require(a125_0x4e63c4(0x1a6)),os=require('os'),{spawn}=require(a125_0x4e63c4(0x1d7)),helper=require(a125_0x4e63c4(0x1b0)),logger=require(a125_0x4e63c4(0x1aa))[a125_0x4e63c4(0x1db)],{getLogDir}=require(a125_0x4e63c4(0x1aa)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a125_0x4e63c4(0x1a1)),{PERCY_EVENTS:PerformanceEvents}=require(a125_0x4e63c4(0x1ab)),PercyBinary=require('./PercyBinary');class Percy{#logfile=path['join'](getLogDir(),a125_0x4e63c4(0x1d0));#address=process[a125_0x4e63c4(0x1e7)]['PERCY_SERVER_ADDRESS']||a125_0x4e63c4(0x1ac);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a125_0x4e63c4(0x1e8)]=![];constructor(_0x3887e2){const _0x5c9236=a125_0x4e63c4;this.#config=_0x3887e2,!!_0x3887e2[_0x5c9236(0x1df)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x2fd1b9=a125_0x4e63c4;if(!this.#binaryPath){const _0xc91809=new PercyBinary();PerformanceTester[_0x2fd1b9(0x1c4)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0xc91809[_0x2fd1b9(0x1b8)](this.#config),PerformanceTester[_0x2fd1b9(0x1d2)](PerformanceEvents[_0x2fd1b9(0x19c)]);}return this.#binaryPath;}async #sleep(_0x1bb21a){return new Promise(_0x3efe85=>setTimeout(_0x3efe85,_0x1bb21a));}async[a125_0x4e63c4(0x1b3)](){const _0x2bd6d0=a125_0x4e63c4,_0x13a9a6={};_0x13a9a6['nnUEj']='GET',_0x13a9a6[_0x2bd6d0(0x19d)]=_0x2bd6d0(0x1cc);const _0x26853a=_0x13a9a6;try{const _0x52e7af=await helper[_0x2bd6d0(0x1e4)](_0x26853a[_0x2bd6d0(0x19e)],_0x26853a['ZyTEY'],null,null,this.#address);if(_0x52e7af)return!![];}catch(_0x5e3459){return![];}}async[a125_0x4e63c4(0x1c4)](){const _0x4a7082=a125_0x4e63c4,_0x50cbaa={'ICzdX':'app:exec','IxyyV':'exec','gwcsj':function(_0x5c6238,_0x154013,_0x3c820e,_0x55e34c){return _0x5c6238(_0x154013,_0x3c820e,_0x55e34c);},'HUndK':_0x4a7082(0x1b2),'hdbLf':_0x4a7082(0x1a0)},_0x2c226=await this.#getBinaryPath(),_0x2263d4={};_0x2263d4['flags']='a',this.#logStream=fs[_0x4a7082(0x1dc)](this.#logfile,_0x2263d4);const _0x24ac7c=await this[_0x4a7082(0x1e5)](),_0x4e5091=await this[_0x4a7082(0x1a7)]();if(!_0x24ac7c)return![];const _0x21ba81=[(this.#isApp?_0x50cbaa[_0x4a7082(0x1a8)]:_0x50cbaa[_0x4a7082(0x1c3)])+':start'];_0x4e5091&&_0x21ba81[_0x4a7082(0x1d8)]('-c',_0x4e5091);this.#proc=_0x50cbaa[_0x4a7082(0x1b1)](spawn,_0x2c226,_0x21ba81,{'env':Object[_0x4a7082(0x1be)](process[_0x4a7082(0x1e7)],{'PERCY_TOKEN':_0x24ac7c,'TH_BUILD_UUID':process[_0x4a7082(0x1e7)][testHubConstants['ENV_VAR'][_0x4a7082(0x1a9)]]})}),this.#proc[_0x4a7082(0x1b7)][_0x4a7082(0x1a3)](this.#logStream),this.#proc[_0x4a7082(0x1a4)][_0x4a7082(0x1a3)](this.#logStream),this[_0x4a7082(0x1e8)]=!![];var _0x4cd4d9=this;this.#proc['on'](_0x50cbaa[_0x4a7082(0x1d4)],function(_0x370927){const _0x528227=_0x4a7082;_0x4cd4d9[_0x528227(0x1e8)]=![];});do{const _0x9f7655=await this[_0x4a7082(0x1b3)]();if(_0x9f7655)return logger[_0x4a7082(0x1bd)](_0x50cbaa[_0x4a7082(0x1cf)]),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a125_0x4e63c4(0x19b)](){const _0x5b68d4=a125_0x4e63c4,_0x512c3b={'VaqCL':function(_0x39c2fa,_0x2c5c30){return _0x39c2fa(_0x2c5c30);},'agLnB':function(_0x290df1,_0xe1959a,_0x31f20e){return _0x290df1(_0xe1959a,_0x31f20e);},'smPUb':_0x5b68d4(0x1ca),'BZLJv':_0x5b68d4(0x1b2)},_0x44265b=await this.#getBinaryPath();return new Promise((_0x5adc87,_0xa06b2c)=>{const _0x45490b={'eLvpk':function(_0x51355a,_0x41ff20){const _0x177bd2=a125_0x1c86;return _0x512c3b[_0x177bd2(0x1c5)](_0x51355a,_0x41ff20);}},_0xf20679=_0x512c3b['agLnB'](spawn,_0x44265b,[_0x512c3b['smPUb']]);_0xf20679['on'](_0x512c3b['BZLJv'],_0x36f46a=>{const _0x245fc1=a125_0x1c86;this[_0x245fc1(0x1e8)]=![],this.#logStream&&(this.#logStream[_0x245fc1(0x1d2)](),this.#logStream=null),_0x45490b[_0x245fc1(0x1d9)](_0x5adc87,_0x36f46a);});});}[a125_0x4e63c4(0x1e2)](){const _0x7e9e22=a125_0x4e63c4;return this[_0x7e9e22(0x1e8)];}async['fetchPercyToken'](){const _0x4897b4=a125_0x4e63c4,_0x1b4897={};_0x1b4897[_0x4897b4(0x1d3)]='app',_0x1b4897['ltmvx']=_0x4897b4(0x1cd),_0x1b4897['KxnSq']=_0x4897b4(0x1af),_0x1b4897['OLNNW']=_0x4897b4(0x1c8);const _0x55c89e=_0x1b4897,_0x3ef312=this.#config[_0x4897b4(0x1a2)];try{const _0x141607=this.#isApp?_0x55c89e[_0x4897b4(0x1d3)]:_0x55c89e[_0x4897b4(0x1bb)],_0x433822=await helper[_0x4897b4(0x1e4)](_0x55c89e['KxnSq'],_0x4897b4(0x1ae)+_0x3ef312+'&type='+_0x141607,{},this.#config),_0x4f2047=_0x433822[_0x4897b4(0x1b4)];return logger[_0x4897b4(0x1bd)](_0x55c89e[_0x4897b4(0x1c0)]),_0x4f2047[_0x4897b4(0x1e6)];}catch(_0x28fb99){return logger[_0x4897b4(0x1ea)](_0x4897b4(0x1d1)+_0x28fb99),null;}}async[a125_0x4e63c4(0x1a7)](){const _0x59fa33=a125_0x4e63c4,_0x1d212f={'mkPwF':function(_0x27ff0a,_0x390295){return _0x27ff0a(_0x390295);},'AJbgD':function(_0x38ba6b,_0x187bbf){return _0x38ba6b+_0x187bbf;},'bWOWc':_0x59fa33(0x1de),'amznQ':_0x59fa33(0x1c2)};if(!this.#config[_0x59fa33(0x1bc)])return null;const _0x904958=path[_0x59fa33(0x1e9)](os[_0x59fa33(0x1b6)](),_0x1d212f[_0x59fa33(0x1e3)]),_0x5a3b9f=this.#config['percyOptions'];return!_0x5a3b9f[_0x59fa33(0x1d5)]&&(_0x5a3b9f[_0x59fa33(0x1d5)]='2'),new Promise((_0xc53817,_0x3979f0)=>{const _0x34ec50=_0x59fa33,_0x1e1f6f={'yOEBS':function(_0x390738,_0x370290){const _0x544663=a125_0x1c86;return _0x1d212f[_0x544663(0x1a5)](_0x390738,_0x370290);},'ICqYp':function(_0x7cdb57,_0x28469a){const _0x4e3946=a125_0x1c86;return _0x1d212f[_0x4e3946(0x19f)](_0x7cdb57,_0x28469a);},'Tiagm':_0x1d212f[_0x34ec50(0x1cb)],'riXZW':function(_0x4366ba,_0x307160){const _0x4c5492=_0x34ec50;return _0x1d212f[_0x4c5492(0x1a5)](_0x4366ba,_0x307160);}};fs['writeFile'](_0x904958,JSON['stringify'](_0x5a3b9f),_0x3198ce=>{const _0x57c080=_0x34ec50;_0x3198ce&&(logger[_0x57c080(0x1ea)](_0x57c080(0x1e0)+_0x3198ce),_0x1e1f6f[_0x57c080(0x1c1)](_0xc53817,null)),logger['debug'](_0x1e1f6f[_0x57c080(0x1e1)](_0x1e1f6f[_0x57c080(0x1c6)],_0x904958)),_0x1e1f6f[_0x57c080(0x1ba)](_0xc53817,_0x904958);});});}}module[a125_0x4e63c4(0x1ce)]=Percy;function a125_0x1c86(_0x2399b0,_0x84e33d){const _0x5dbbf5=a125_0x5dbb();return a125_0x1c86=function(_0x1c8615,_0x1e4478){_0x1c8615=_0x1c8615-0x19a;let _0x3acfb9=_0x5dbbf5[_0x1c8615];return _0x3acfb9;},a125_0x1c86(_0x2399b0,_0x84e33d);}function a125_0x5dbb(){const _0x2b92d3=['ltmvx','percyOptions','debug','assign','58506bQoAcd','OLNNW','yOEBS','percy.json','IxyyV','start','VaqCL','Tiagm','30HKNKSs','Percy\x20fetch\x20token\x20success','240016fYSNJb','exec:stop','bWOWc','percy/healthcheck','automate','exports','hdbLf','percy.log','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','end','MUjaU','HUndK','version','5406264cqaeqP','child_process','push','eLvpk','20Cjkukn','winstonLogger','createWriteStream','824841ejhPsd','Percy\x20config\x20created\x20at\x20','app','Error\x20creating\x20percy\x20config:\x20','ICqYp','isRunning','amznQ','nodeRequest','fetchPercyToken','token','env','isProcessRunning','join','error','2988419tCLkFT','stop','DOWNLOAD','ZyTEY','nnUEj','AJbgD','Percy\x20healthcheck\x20successful','../../helpers/performance/performance-tester','projectName','pipe','stderr','mkPwF','path','createPercyConfig','ICzdX','BROWSERSTACK_TESTHUB_UUID','../logger','../../helpers/performance/constants','http://localhost:5338','2393960LRSUoj','api/app_percy/get_project_token?name=','GET','../helper','gwcsj','close','healthcheck','data','665451XIjPIj','tmpdir','stdout','getBinaryPath','63brjyfQ','riXZW'];a125_0x5dbb=function(){return _0x2b92d3;};return a125_0x5dbb();}
1
+ const a126_0xeecbb5=a126_0x3694;(function(_0x3563b0,_0x42acc3){const _0x5bc966=a126_0x3694,_0x12d1eb=_0x3563b0();while(!![]){try{const _0x2ab696=parseInt(_0x5bc966(0x116))/0x1*(-parseInt(_0x5bc966(0xfd))/0x2)+parseInt(_0x5bc966(0xfa))/0x3+parseInt(_0x5bc966(0x12b))/0x4+parseInt(_0x5bc966(0x127))/0x5+-parseInt(_0x5bc966(0x12a))/0x6+-parseInt(_0x5bc966(0x119))/0x7*(parseInt(_0x5bc966(0xfc))/0x8)+parseInt(_0x5bc966(0xfb))/0x9;if(_0x2ab696===_0x42acc3)break;else _0x12d1eb['push'](_0x12d1eb['shift']());}catch(_0x269afc){_0x12d1eb['push'](_0x12d1eb['shift']());}}}(a126_0x2337,0xd09df));const fs=require('fs'),path=require(a126_0xeecbb5(0xed)),os=require('os'),{spawn}=require('child_process'),helper=require('../helper'),logger=require(a126_0xeecbb5(0x112))[a126_0xeecbb5(0x110)],{getLogDir}=require(a126_0xeecbb5(0x112)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a126_0xeecbb5(0x10a)),{PERCY_EVENTS:PerformanceEvents}=require(a126_0xeecbb5(0x126)),PercyBinary=require(a126_0xeecbb5(0x135));function a126_0x3694(_0x1bb768,_0x2843d4){const _0x23374c=a126_0x2337();return a126_0x3694=function(_0x36941c,_0x10bb62){_0x36941c=_0x36941c-0xec;let _0x46f185=_0x23374c[_0x36941c];return _0x46f185;},a126_0x3694(_0x1bb768,_0x2843d4);}function a126_0x2337(){const _0x452c3c=['885148RDjotd','GZRjE','getBinaryPath','debug','ENV_VAR','close','DOWNLOAD','app:exec','WykMn','GET','./PercyBinary','assign','BROWSERSTACK_TESTHUB_UUID','IsYKK','app','path','version','fetchPercyToken','stop','UwYvs','Error\x20creating\x20percy\x20config:\x20','Percy\x20healthcheck\x20successful','error','token','writeFile','sLJAE','PBAlT','start','4763712Dzfkpg','793827qneNKz','3766424OGaUjT','30542gUIFzO','tSNsX','projectName','PDOwb',':start','percy/healthcheck','tFEUt','healthcheck','CRcsN','exports','percyOptions','exec:stop','uwlhg','../../helpers/performance/performance-tester','data','pipe','VptfB','jCTBr','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','winstonLogger','Percy\x20config\x20created\x20at\x20','../logger','tmpdir','createWriteStream','XaPAl','107eRjCAu','MeqPZ','stdout','7itcAyu','createPercyConfig','env','isProcessRunning','nodeRequest','percy.log','qKajZ','PERCY_SERVER_ADDRESS','&type=','Xjldb','HxSRY','SNrsA','end','../../helpers/performance/constants','8027025OenONz','otiqC','api/app_percy/get_project_token?name=','3261024IlTOVj'];a126_0x2337=function(){return _0x452c3c;};return a126_0x2337();}class Percy{#logfile=path['join'](getLogDir(),a126_0xeecbb5(0x11e));#address=process[a126_0xeecbb5(0x11b)][a126_0xeecbb5(0x120)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a126_0xeecbb5(0x11c)]=![];constructor(_0x2ab0e2){const _0x28cb53=a126_0xeecbb5;this.#config=_0x2ab0e2,!!_0x2ab0e2[_0x28cb53(0xec)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x176a7b=a126_0xeecbb5;if(!this.#binaryPath){const _0x47c1f9=new PercyBinary();PerformanceTester[_0x176a7b(0xf9)](PerformanceEvents[_0x176a7b(0x131)]),this.#binaryPath=await _0x47c1f9[_0x176a7b(0x12d)](this.#config),PerformanceTester[_0x176a7b(0x125)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x29cf80){return new Promise(_0x31ad9c=>setTimeout(_0x31ad9c,_0x29cf80));}async[a126_0xeecbb5(0x104)](){const _0x3f1a2a=a126_0xeecbb5,_0x144e2c={};_0x144e2c['Xjldb']=_0x3f1a2a(0x134),_0x144e2c[_0x3f1a2a(0x109)]=_0x3f1a2a(0x102);const _0xa40432=_0x144e2c;try{const _0x1ff7e2=await helper[_0x3f1a2a(0x11d)](_0xa40432[_0x3f1a2a(0x122)],_0xa40432[_0x3f1a2a(0x109)],null,null,this.#address);if(_0x1ff7e2)return!![];}catch(_0x3452b9){return![];}}async[a126_0xeecbb5(0xf9)](){const _0x29a110=a126_0xeecbb5,_0x16c747={'IsYKK':_0x29a110(0x132),'mLdKV':'exec','XaPAl':function(_0x968a36,_0x3d3627,_0x566cd6,_0x445d9b){return _0x968a36(_0x3d3627,_0x566cd6,_0x445d9b);},'MeqPZ':_0x29a110(0x130),'JQpgw':_0x29a110(0xf3)},_0xc160db=await this.#getBinaryPath(),_0x281d1c={};_0x281d1c['flags']='a',this.#logStream=fs[_0x29a110(0x114)](this.#logfile,_0x281d1c);const _0x25aed9=await this['fetchPercyToken'](),_0x5eebaa=await this[_0x29a110(0x11a)]();if(!_0x25aed9)return![];const _0x2e97c1=[(this.#isApp?_0x16c747[_0x29a110(0x138)]:_0x16c747['mLdKV'])+_0x29a110(0x101)];_0x5eebaa&&_0x2e97c1['push']('-c',_0x5eebaa);this.#proc=_0x16c747[_0x29a110(0x115)](spawn,_0xc160db,_0x2e97c1,{'env':Object[_0x29a110(0x136)](process[_0x29a110(0x11b)],{'PERCY_TOKEN':_0x25aed9,'TH_BUILD_UUID':process['env'][testHubConstants[_0x29a110(0x12f)][_0x29a110(0x137)]]})}),this.#proc[_0x29a110(0x118)][_0x29a110(0x10c)](this.#logStream),this.#proc['stderr'][_0x29a110(0x10c)](this.#logStream),this[_0x29a110(0x11c)]=!![];var _0x24bfc4=this;this.#proc['on'](_0x16c747[_0x29a110(0x117)],function(_0x22bae8){_0x24bfc4['isProcessRunning']=![];});do{const _0x4033b6=await this[_0x29a110(0x104)]();if(_0x4033b6)return logger[_0x29a110(0x12e)](_0x16c747['JQpgw']),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a126_0xeecbb5(0xf0)](){const _0x1c3fef=a126_0xeecbb5,_0x311d7e={'EJChl':function(_0x75ffff,_0x323e4e){return _0x75ffff(_0x323e4e);},'GZRjE':function(_0x5a6773,_0x5086cd,_0x250008){return _0x5a6773(_0x5086cd,_0x250008);},'HxSRY':_0x1c3fef(0x108),'PBAlT':_0x1c3fef(0x130)},_0x12c67f=await this.#getBinaryPath();return new Promise((_0x1977ff,_0x189afd)=>{const _0xf062fc=_0x1c3fef,_0x54f1a8={'WykMn':function(_0x3fd416,_0x399202){return _0x311d7e['EJChl'](_0x3fd416,_0x399202);}},_0x28a9e5=_0x311d7e[_0xf062fc(0x12c)](spawn,_0x12c67f,[_0x311d7e[_0xf062fc(0x123)]]);_0x28a9e5['on'](_0x311d7e[_0xf062fc(0xf8)],_0x264246=>{const _0x5c1a17=_0xf062fc;this[_0x5c1a17(0x11c)]=![],this.#logStream&&(this.#logStream[_0x5c1a17(0x125)](),this.#logStream=null),_0x54f1a8[_0x5c1a17(0x133)](_0x1977ff,_0x264246);});});}['isRunning'](){return this['isProcessRunning'];}async[a126_0xeecbb5(0xef)](){const _0x2b3c60=a126_0xeecbb5,_0x42ef99={};_0x42ef99[_0x2b3c60(0x103)]=_0x2b3c60(0xec),_0x42ef99['SNrsA']='automate',_0x42ef99[_0x2b3c60(0xf7)]=_0x2b3c60(0x134),_0x42ef99['UwYvs']='Percy\x20fetch\x20token\x20success';const _0x163f6b=_0x42ef99,_0x3d4fcd=this.#config[_0x2b3c60(0xff)];try{const _0x543fec=this.#isApp?_0x163f6b[_0x2b3c60(0x103)]:_0x163f6b[_0x2b3c60(0x124)],_0x5c0e9a=await helper['nodeRequest'](_0x163f6b[_0x2b3c60(0xf7)],_0x2b3c60(0x129)+_0x3d4fcd+_0x2b3c60(0x121)+_0x543fec,{},this.#config),_0x2bfa63=_0x5c0e9a[_0x2b3c60(0x10b)];return logger['debug'](_0x163f6b[_0x2b3c60(0xf1)]),_0x2bfa63[_0x2b3c60(0xf5)];}catch(_0x503f27){return logger[_0x2b3c60(0xf4)](_0x2b3c60(0x10f)+_0x503f27),null;}}async[a126_0xeecbb5(0x11a)](){const _0x5bf889=a126_0xeecbb5,_0x28c924={'qKajZ':function(_0x32c874,_0xfc421){return _0x32c874(_0xfc421);},'AeXyz':function(_0x2fcda5,_0x33eaf7){return _0x2fcda5+_0x33eaf7;},'jCTBr':_0x5bf889(0x111),'KuotR':function(_0x23a5f5,_0x2d59ff){return _0x23a5f5(_0x2d59ff);},'tSNsX':'percy.json'};if(!this.#config[_0x5bf889(0x107)])return null;const _0x17390f=path['join'](os[_0x5bf889(0x113)](),_0x28c924[_0x5bf889(0xfe)]),_0x170195=this.#config[_0x5bf889(0x107)];return!_0x170195[_0x5bf889(0xee)]&&(_0x170195[_0x5bf889(0xee)]='2'),new Promise((_0x5697dc,_0x1f0cdf)=>{const _0x30c70b=_0x5bf889,_0xe65f87={'VptfB':function(_0x25ec75,_0xc54ee){const _0x22286e=a126_0x3694;return _0x28c924[_0x22286e(0x11f)](_0x25ec75,_0xc54ee);},'CRcsN':function(_0x3d4ae7,_0x1743d6){return _0x28c924['AeXyz'](_0x3d4ae7,_0x1743d6);},'PDOwb':_0x28c924[_0x30c70b(0x10e)],'otiqC':function(_0x314d20,_0x922a9a){return _0x28c924['KuotR'](_0x314d20,_0x922a9a);}};fs[_0x30c70b(0xf6)](_0x17390f,JSON['stringify'](_0x170195),_0x4a2d9f=>{const _0x451224=_0x30c70b;_0x4a2d9f&&(logger[_0x451224(0xf4)](_0x451224(0xf2)+_0x4a2d9f),_0xe65f87[_0x451224(0x10d)](_0x5697dc,null)),logger[_0x451224(0x12e)](_0xe65f87[_0x451224(0x105)](_0xe65f87[_0x451224(0x100)],_0x17390f)),_0xe65f87[_0x451224(0x128)](_0x5697dc,_0x17390f);});});}}module[a126_0xeecbb5(0x106)]=Percy;
@@ -1 +1 @@
1
- function a126_0x1888(){const _0xdc9cc9=['.etag','env','ehdFo','readFileSync','YgeiS','lazyEntries','R_OK','binaryPath','then','accessSync','host','aXklY','HOMEDRIVE','needsUpdate','../logger','78SBHbDi','WZtuv','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','.browserstack','extractAndSaveBinary','aSHRJ','Mvpig','close','HOME','fileName','join','LOGNAME','Connection','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','UCRoJ','hYQID','lhbqP','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','nruyz','bAtEu','xXleX','/percy-linux.zip','download','cNQVH','etag','SjoFw','avetw','function','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','GJvNO','HDtxU','USER','436889HzzMBi','.zip','statSync','TiWHM','url','LNAME','undefined','fCzwz','22040iokKJD','WQQbf','platform','KxfaI','createWriteStream','/home/','MxpTz','percy.exe','chmod','test','homedir','jOGPB','VPnyk','FOuWE','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','warn','HYTqO','XdwXQ','getBinaryPath','yauzl','QkHRS','error','FYiYu','trim','/root','wjLmu','exports','VeuUA','entry','proxyPort','RPmQL','2935925vDwwAA','--version','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','Error\x20trying\x20to\x20download\x20percy\x20binary','agent','USERPROFILE','273679qtIjzB','proxyHost','catch','linux','svRKt','W_OK','TovxY','bdfEI','ibwjK','validateBinary','luwZP','end','open','mkdirSync','xGTPa','lpzVT','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','2869479GhwilL','utf8','995284fYKwYf','/percy-win.zip','mrTDA','win32','QGlVz','cwd','Ihcio','3951rwuCoC','tmpdir','/percy-osx.zip','ZzIVE','/Users/','IwqJH','https://github.com/percy/cli/releases/latest/download','debug','uavNY','percy','once','pipe','useCaCertificate','Failed\x20to\x20save\x20ETag\x20file:\x20','QbEmZ','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','WHXku','UDhum','Saved\x20new\x20ETag\x20for\x20percy\x20binary','lCNpc','ceQhq','path','headers','USERNAME','getuid','mvHyd','match','nHsMa','lfRkg','749984QBdIFV','yPmRx','sJIap','HOMEPATH'];a126_0x1888=function(){return _0xdc9cc9;};return a126_0x1888();}const a126_0x2aa8db=a126_0x580f;function a126_0x580f(_0x33296e,_0x26aa3e){const _0x188894=a126_0x1888();return a126_0x580f=function(_0x580f0d,_0x2a270a){_0x580f0d=_0x580f0d-0x1e1;let _0x46df0c=_0x188894[_0x580f0d];return _0x46df0c;},a126_0x580f(_0x33296e,_0x26aa3e);}(function(_0x4b11a8,_0x2908f3){const _0x3f2762=a126_0x580f,_0xc4bf9c=_0x4b11a8();while(!![]){try{const _0x342518=-parseInt(_0x3f2762(0x219))/0x1+parseInt(_0x3f2762(0x1e6))/0x2+-parseInt(_0x3f2762(0x257))/0x3+parseInt(_0x3f2762(0x259))/0x4+parseInt(_0x3f2762(0x240))/0x5+-parseInt(_0x3f2762(0x1f9))/0x6*(parseInt(_0x3f2762(0x246))/0x7)+parseInt(_0x3f2762(0x221))/0x8*(parseInt(_0x3f2762(0x260))/0x9);if(_0x342518===_0x2908f3)break;else _0xc4bf9c['push'](_0xc4bf9c['shift']());}catch(_0x1fe3b0){_0xc4bf9c['push'](_0xc4bf9c['shift']());}}}(a126_0x1888,0x7ea90));const {https}=require('follow-redirects'),url=require(a126_0x2aa8db(0x21d)),yauzl=require(a126_0x2aa8db(0x234)),fs=require('fs'),path=require(a126_0x2aa8db(0x275)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a126_0x2aa8db(0x1f8))['winstonLogger'];class PercyBinary{#hostOS=process[a126_0x2aa8db(0x223)];#httpPath=null;#binaryName=a126_0x2aa8db(0x269);#orderedPaths=[path['join'](this.#homedir(),a126_0x2aa8db(0x1fc)),process[a126_0x2aa8db(0x25e)](),os[a126_0x2aa8db(0x261)]()];constructor(){const _0x3bd43e=a126_0x2aa8db,_0x394477={};_0x394477[_0x3bd43e(0x231)]=_0x3bd43e(0x266),_0x394477[_0x3bd43e(0x1e5)]=function(_0x3ad421,_0x22cb49){return _0x3ad421+_0x22cb49;},_0x394477['KxfaI']=_0x3bd43e(0x262),_0x394477['luwZP']=function(_0x6bbcb7,_0x4ae476){return _0x6bbcb7+_0x4ae476;},_0x394477[_0x3bd43e(0x24c)]=_0x3bd43e(0x25a),_0x394477[_0x3bd43e(0x25f)]=_0x3bd43e(0x228),_0x394477[_0x3bd43e(0x255)]=function(_0x51aa5e,_0x3ec516){return _0x51aa5e+_0x3ec516;},_0x394477[_0x3bd43e(0x1f5)]=_0x3bd43e(0x20e);const _0x23732d=_0x394477,_0x9dafac=_0x23732d['HYTqO'];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x23732d[_0x3bd43e(0x1e5)](_0x9dafac,_0x23732d[_0x3bd43e(0x224)]);else this.#hostOS[_0x3bd43e(0x1e3)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x23732d[_0x3bd43e(0x250)](_0x9dafac,_0x23732d[_0x3bd43e(0x24c)]),this.#binaryName=_0x23732d[_0x3bd43e(0x25f)]):this.#httpPath=_0x23732d[_0x3bd43e(0x255)](_0x9dafac,_0x23732d[_0x3bd43e(0x1f5)]);}#getAvailableDirs(){const _0x5f2fa0=a126_0x2aa8db,_0x1a76cd={};_0x1a76cd[_0x5f2fa0(0x222)]=function(_0x455b53,_0x3938db){return _0x455b53<_0x3938db;},_0x1a76cd[_0x5f2fa0(0x22c)]=_0x5f2fa0(0x243);const _0x31c063=_0x1a76cd;for(var _0xca8fe3=0x0;_0x31c063['WQQbf'](_0xca8fe3,this.#orderedPaths['length']);_0xca8fe3++){var _0x3bd1dc=this.#orderedPaths[_0xca8fe3];if(this.#makePath(_0x3bd1dc))return _0x3bd1dc;}throw new Error(_0x31c063[_0x5f2fa0(0x22c)]);}#makePath(_0x55bcd2){const _0x138dee=a126_0x2aa8db;try{return _0x55bcd2&&!this.#checkPath(_0x55bcd2)&&fs[_0x138dee(0x253)](_0x55bcd2),!![];}catch{return![];}}#checkPath(_0x44f9d3,_0x472593){const _0x28519b=a126_0x2aa8db,_0x15b6bd={};_0x15b6bd[_0x28519b(0x208)]=function(_0x5d16f9,_0x5a833e){return _0x5d16f9|_0x5a833e;},_0x15b6bd[_0x28519b(0x22d)]=function(_0x19f8c8,_0x35f4bf){return _0x19f8c8!==_0x35f4bf;},_0x15b6bd[_0x28519b(0x20b)]=_0x28519b(0x21f);const _0x41cbce=_0x15b6bd;_0x472593=_0x472593||_0x41cbce[_0x28519b(0x208)](fs[_0x28519b(0x1f0)],fs[_0x28519b(0x24b)]);try{return fs[_0x28519b(0x1f3)](_0x44f9d3,_0x472593),!![];}catch(_0x4c9586){if(_0x41cbce[_0x28519b(0x22d)](typeof fs[_0x28519b(0x1f3)],_0x41cbce[_0x28519b(0x20b)]))return![];try{return fs[_0x28519b(0x21b)](_0x44f9d3),!![];}catch(_0x122845){return![];}}}#getETagPath(_0x5ed0a6){const _0x5d364c=a126_0x2aa8db;return path[_0x5d364c(0x203)](_0x5ed0a6,this.#binaryName+_0x5d364c(0x1ea));}#loadETag(_0x52c264){const _0x59335f=a126_0x2aa8db,_0x303800={};_0x303800[_0x59335f(0x20d)]=_0x59335f(0x258);const _0x478dd2=_0x303800,_0x9b054f=this.#getETagPath(_0x52c264);if(this.#checkPath(_0x9b054f))try{return fs[_0x59335f(0x1ed)](_0x9b054f,_0x478dd2[_0x59335f(0x20d)])[_0x59335f(0x238)]();}catch(_0x12bc04){logger[_0x59335f(0x230)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x12bc04);}return null;}#saveETag(_0x58a278,_0x18627c){const _0x5e64de=a126_0x2aa8db,_0x3e88b2={};_0x3e88b2[_0x5e64de(0x271)]=_0x5e64de(0x272);const _0x1965de=_0x3e88b2;if(!_0x18627c)return;try{const _0x4579f9=this.#getETagPath(_0x58a278);fs['writeFileSync'](_0x4579f9,_0x18627c),logger[_0x5e64de(0x267)](_0x1965de[_0x5e64de(0x271)]);}catch(_0x51c5db){logger[_0x5e64de(0x230)](_0x5e64de(0x26d)+_0x51c5db);}}async #handleBinaryDownload(_0x43df0a,_0x5b69bb,_0x20c32c){const _0x4d0c88=a126_0x2aa8db,_0x40dbb7={};_0x40dbb7['INFUB']=_0x4d0c88(0x206);const _0x3f52a2=_0x40dbb7,_0x45140b=await this[_0x4d0c88(0x24f)](_0x43df0a[_0x4d0c88(0x1f1)]);if(!_0x45140b){logger[_0x4d0c88(0x236)](_0x3f52a2['INFUB']);const _0x58306e=await this[_0x4d0c88(0x20f)](_0x5b69bb,_0x20c32c);return _0x58306e[_0x4d0c88(0x1f1)];}return _0x43df0a[_0x4d0c88(0x1f1)];}async[a126_0x2aa8db(0x233)](_0x36ac03){const _0xf121db=a126_0x2aa8db,_0xca3a8a={};_0xca3a8a[_0xf121db(0x23a)]=_0xf121db(0x22f),_0xca3a8a[_0xf121db(0x21c)]=_0xf121db(0x26f);const _0x371bcc=_0xca3a8a,_0x362c47=this.#getAvailableDirs(),_0x391d6d=path[_0xf121db(0x203)](_0x362c47,this.#binaryName);if(this.#checkPath(_0x391d6d,fs['X_OK'])){const _0x17f76e=this.#loadETag(_0x362c47);if(_0x17f76e)try{const _0x42f8db=await this['download'](_0x36ac03,_0x362c47,_0x17f76e);if(!_0x42f8db[_0xf121db(0x1f7)])return logger[_0xf121db(0x267)](_0x371bcc[_0xf121db(0x23a)]),_0x391d6d;return logger['debug'](_0x371bcc[_0xf121db(0x21c)]),await this.#handleBinaryDownload(_0x42f8db,_0x36ac03,_0x362c47);}catch(_0x48f4e1){return logger[_0xf121db(0x230)](_0xf121db(0x215)+_0x48f4e1),_0x391d6d;}}const _0x521de8=await this[_0xf121db(0x20f)](_0x36ac03,_0x362c47);return await this.#handleBinaryDownload(_0x521de8,_0x36ac03,_0x362c47);}[a126_0x2aa8db(0x20f)](_0x1bbab6,_0x481f3a,_0x4e61a0=null){const _0x50b2d9=a126_0x2aa8db,_0x14a5ce={'pmFOx':function(_0x18e149,_0x314f00){return _0x18e149(_0x314f00);},'sJIap':function(_0x246240,_0x5599e3){return _0x246240===_0x5599e3;},'HDtxU':'error','SjoFw':_0x50b2d9(0x200),'fqvKI':function(_0x326ea0,_0x38ff3b){return _0x326ea0+_0x38ff3b;},'QbEmZ':_0x50b2d9(0x21a)};_0x481f3a&&!this.#checkPath(_0x481f3a)&&fs[_0x50b2d9(0x253)](_0x481f3a);const _0x2f4a9c=this.#binaryName,_0x15c739=path['join'](_0x481f3a,_0x14a5ce['fqvKI'](_0x2f4a9c,_0x14a5ce[_0x50b2d9(0x26e)])),_0x2b2992=fs[_0x50b2d9(0x225)](_0x15c739),_0x10c7ef=url['parse'](this.#httpPath);if(_0x1bbab6['proxyHost']&&_0x1bbab6[_0x50b2d9(0x23e)]){const _0x39be5c={};_0x39be5c[_0x50b2d9(0x1f4)]=_0x1bbab6[_0x50b2d9(0x247)],_0x39be5c['port']=_0x1bbab6['proxyPort'],_0x10c7ef[_0x50b2d9(0x244)]=new HttpsProxyAgent(_0x39be5c);}if(_0x1bbab6[_0x50b2d9(0x26c)])try{_0x10c7ef['ca']=fs[_0x50b2d9(0x1ed)](_0x1bbab6[_0x50b2d9(0x26c)]);}catch(_0x37744d){logger[_0x50b2d9(0x236)](_0x50b2d9(0x20a)+_0x37744d);}if(_0x4e61a0){const _0x492cf7={};_0x492cf7['If-None-Match']=_0x4e61a0,_0x492cf7['Connection']=_0x14a5ce[_0x50b2d9(0x212)],_0x10c7ef['headers']=_0x492cf7;}else{const _0x5f17a6={};_0x5f17a6[_0x50b2d9(0x205)]=_0x14a5ce[_0x50b2d9(0x212)],_0x10c7ef[_0x50b2d9(0x276)]=_0x5f17a6;}return new Promise((_0x32ba32,_0x3d1ef6)=>{const _0x2e1e11=_0x50b2d9,_0x57489e={'xGTPa':function(_0x11be64,_0x11c692){return _0x14a5ce['pmFOx'](_0x11be64,_0x11c692);},'QGlVz':function(_0x4f201e,_0x535435){const _0x1fca1e=a126_0x580f;return _0x14a5ce[_0x1fca1e(0x1e8)](_0x4f201e,_0x535435);},'ceQhq':_0x14a5ce[_0x2e1e11(0x217)],'FOuWE':_0x14a5ce[_0x2e1e11(0x212)]};https['get'](_0x10c7ef,_0xa51bc1=>{const _0x5d9f5d=_0x2e1e11,_0x374e35={'jecTt':function(_0x471ce8,_0x56fe2f){const _0x3ffd80=a126_0x580f;return _0x57489e[_0x3ffd80(0x254)](_0x471ce8,_0x56fe2f);}};if(_0x4e61a0&&_0x57489e[_0x5d9f5d(0x25d)](_0xa51bc1['statusCode'],0x130)){_0x2b2992['destroy']();const _0x2bd0cf={};_0x2bd0cf[_0x5d9f5d(0x1f7)]=![],_0x57489e[_0x5d9f5d(0x254)](_0x32ba32,_0x2bd0cf);return;}const _0x577ba3=_0xa51bc1[_0x5d9f5d(0x276)][_0x5d9f5d(0x211)];_0x577ba3&&this.#saveETag(_0x481f3a,_0x577ba3),_0xa51bc1[_0x5d9f5d(0x26b)](_0x2b2992),_0xa51bc1['on'](_0x57489e[_0x5d9f5d(0x274)],function(_0x124bba){const _0x31bfba=_0x5d9f5d;logger[_0x31bfba(0x236)](_0x31bfba(0x256)+_0x124bba),_0x374e35['jecTt'](_0x3d1ef6,_0x124bba);}),_0x2b2992['on'](_0x57489e['ceQhq'],function(_0x138d8d){const _0x375ff8=_0x5d9f5d;logger[_0x375ff8(0x236)](_0x375ff8(0x1fb)+_0x138d8d),_0x57489e[_0x375ff8(0x254)](_0x3d1ef6,_0x138d8d);}),_0x2b2992['on'](_0x57489e[_0x5d9f5d(0x22e)],()=>{const _0x91ee6e=_0x5d9f5d;this[_0x91ee6e(0x1fd)](_0x15c739,_0x481f3a)[_0x91ee6e(0x1f2)](_0x5aa16c=>_0x32ba32({'needsUpdate':!![],'binaryPath':_0x5aa16c}))[_0x91ee6e(0x248)](_0x3d1ef6);});})['on'](_0x14a5ce[_0x2e1e11(0x217)],function(_0x5ad092){const _0x4eed0e=_0x2e1e11;logger[_0x4eed0e(0x236)](_0x4eed0e(0x242)+_0x5ad092),_0x14a5ce['pmFOx'](_0x3d1ef6,_0x5ad092);});});}[a126_0x2aa8db(0x1fd)](_0x462c16,_0x1190ea){const _0x3482fd=a126_0x2aa8db,_0x26d6ae={'ZQDvm':function(_0x1160fc,_0x585c9d){return _0x1160fc(_0x585c9d);},'fCzwz':_0x3482fd(0x251),'lhbqP':function(_0xc59051,_0x77f8e0){return _0xc59051===_0x77f8e0;},'uavNY':function(_0x53b60a,_0x28e9bf){return _0x53b60a(_0x28e9bf);},'avetw':_0x3482fd(0x23d),'QkHRS':'error','WHXku':function(_0x5193b1,_0x5a6ce3){return _0x5193b1(_0x5a6ce3);},'VeuUA':'0755'},_0x3ea660=this.#binaryName,_0x46f383=path[_0x3482fd(0x203)](_0x1190ea,_0x3ea660);return new Promise((_0x1f3a13,_0x5c45d2)=>{const _0x587e6e=_0x3482fd,_0x459e12={'ZzIVE':function(_0x98a482,_0x1c08a9){const _0x1a422a=a126_0x580f;return _0x26d6ae[_0x1a422a(0x270)](_0x98a482,_0x1c08a9);},'nHsMa':_0x26d6ae[_0x587e6e(0x23c)]},_0x3b7258={};_0x3b7258[_0x587e6e(0x1ef)]=!![],yauzl[_0x587e6e(0x252)](_0x462c16,_0x3b7258,function(_0x37c250,_0x2236ab){const _0x10da75=_0x587e6e,_0x9b4d16={'mvHyd':function(_0xad8bf7,_0x3539fd){return _0x26d6ae['ZQDvm'](_0xad8bf7,_0x3539fd);},'ehdFo':_0x26d6ae[_0x10da75(0x220)],'Yobtr':function(_0x5487eb,_0x39ae49){const _0x11f2a4=_0x10da75;return _0x26d6ae[_0x11f2a4(0x209)](_0x5487eb,_0x39ae49);}};_0x37c250&&_0x26d6ae[_0x10da75(0x268)](_0x5c45d2,_0x37c250),_0x2236ab['readEntry'](),_0x2236ab['on'](_0x26d6ae[_0x10da75(0x213)],_0xd0a3d4=>{const _0x599326=_0x10da75;if(/\/$/[_0x599326(0x22a)](_0xd0a3d4['fileName']))_0x2236ab['readEntry']();else{const _0x413614=fs[_0x599326(0x225)](path['join'](_0x1190ea,_0xd0a3d4['fileName']));_0x2236ab['openReadStream'](_0xd0a3d4,function(_0x5dc35d,_0x26a92e){const _0x21d044=_0x599326;_0x5dc35d&&_0x9b4d16[_0x21d044(0x1e2)](_0x5c45d2,_0x37c250),_0x26a92e['on'](_0x9b4d16[_0x21d044(0x1ec)],function(){const _0x2f6fc3=_0x21d044;_0x413614[_0x2f6fc3(0x200)](),_0x2236ab['readEntry']();}),_0x26a92e[_0x21d044(0x26b)](_0x413614);}),_0x9b4d16['Yobtr'](_0xd0a3d4[_0x599326(0x202)],_0x3ea660)&&_0x2236ab[_0x599326(0x200)]();}}),_0x2236ab['on'](_0x26d6ae[_0x10da75(0x235)],_0x3a418c=>{const _0x17976d=_0x10da75;_0x9b4d16[_0x17976d(0x1e2)](_0x5c45d2,_0x3a418c);}),_0x2236ab[_0x10da75(0x26a)](_0x26d6ae[_0x10da75(0x220)],()=>{const _0x14ebfe=_0x10da75,_0x2b4661={'MxpTz':function(_0x24a7d5,_0x4d23e0){const _0x130238=a126_0x580f;return _0x459e12[_0x130238(0x263)](_0x24a7d5,_0x4d23e0);}};fs[_0x14ebfe(0x229)](_0x46f383,_0x459e12[_0x14ebfe(0x1e4)],function(_0x1c8823){const _0x502195=_0x14ebfe;_0x1c8823&&_0x2b4661[_0x502195(0x227)](_0x5c45d2,_0x1c8823),_0x2b4661['MxpTz'](_0x1f3a13,_0x46f383);}),_0x2236ab['close']();});});});}async['validateBinary'](_0x397e28){const _0x1f32f1=a126_0x2aa8db,_0x3e2124={'cNQVH':function(_0x1b80de,_0x452b7e){return _0x1b80de(_0x452b7e);},'Slgoy':function(_0x2159ca,_0x239cee,_0x59ba47,_0x43746a){return _0x2159ca(_0x239cee,_0x59ba47,_0x43746a);},'IXXRu':_0x1f32f1(0x241),'Mvpig':'data','GJvNO':_0x1f32f1(0x200)},_0x254bd1=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x196948,_0x2929b0)=>{const _0x4775ad=_0x1f32f1,_0x415b71={'lCNpc':function(_0xb72cbe,_0x32c7af){const _0x4db544=a126_0x580f;return _0x3e2124[_0x4db544(0x210)](_0xb72cbe,_0x32c7af);}},_0x566cc9={};_0x566cc9[_0x4775ad(0x1eb)]=process[_0x4775ad(0x1eb)];const _0x38b898=_0x3e2124['Slgoy'](spawn,_0x397e28,[_0x3e2124['IXXRu']],_0x566cc9);_0x38b898['stdout']['on'](_0x3e2124[_0x4775ad(0x1ff)],_0x3ba7a6=>{const _0x2c82f0=_0x4775ad;_0x254bd1[_0x2c82f0(0x22a)](_0x3ba7a6)&&_0x415b71[_0x2c82f0(0x273)](_0x196948,!![]);}),_0x38b898['on'](_0x3e2124[_0x4775ad(0x216)],()=>{_0x3e2124['cNQVH'](_0x196948,![]);});});}#homedir(){const _0x1e990a=a126_0x2aa8db,_0x1bf3fb={};_0x1bf3fb[_0x1e990a(0x265)]=function(_0x26c82f,_0x5a8ebd){return _0x26c82f===_0x5a8ebd;},_0x1bf3fb[_0x1e990a(0x24e)]=_0x1e990a(0x214),_0x1bf3fb['WVdIG']=function(_0x11a97b,_0x37e780){return _0x11a97b===_0x37e780;},_0x1bf3fb['aSHRJ']=_0x1e990a(0x25c),_0x1bf3fb[_0x1e990a(0x25b)]=function(_0x4ef25,_0x341abc){return _0x4ef25+_0x341abc;},_0x1bf3fb['XdwXQ']=function(_0x12661d,_0x11d0ee){return _0x12661d===_0x11d0ee;},_0x1bf3fb[_0x1e990a(0x23f)]='darwin',_0x1bf3fb['YgeiS']=function(_0x19a1d3,_0x57d577){return _0x19a1d3+_0x57d577;},_0x1bf3fb[_0x1e990a(0x1fa)]=_0x1e990a(0x264),_0x1bf3fb['UCRoJ']=_0x1e990a(0x249),_0x1bf3fb[_0x1e990a(0x20c)]=function(_0x11f59c,_0x4e9fba){return _0x11f59c===_0x4e9fba;},_0x1bf3fb[_0x1e990a(0x1e7)]=_0x1e990a(0x239),_0x1bf3fb[_0x1e990a(0x24a)]=function(_0xaa342a,_0x49998a){return _0xaa342a+_0x49998a;},_0x1bf3fb[_0x1e990a(0x237)]=_0x1e990a(0x226),_0x1bf3fb[_0x1e990a(0x24d)]=function(_0x56f1de,_0x208d53){return _0x56f1de||_0x208d53;};const _0x58a230=_0x1bf3fb;if(_0x58a230[_0x1e990a(0x265)](typeof os['homedir'],_0x58a230[_0x1e990a(0x24e)]))return os[_0x1e990a(0x22b)]();const _0x1a4222=process[_0x1e990a(0x1eb)],_0x42ec11=_0x1a4222[_0x1e990a(0x201)],_0x1366b3=_0x1a4222[_0x1e990a(0x204)]||_0x1a4222[_0x1e990a(0x218)]||_0x1a4222[_0x1e990a(0x21e)]||_0x1a4222[_0x1e990a(0x277)];if(_0x58a230['WVdIG'](process[_0x1e990a(0x223)],_0x58a230[_0x1e990a(0x1fe)]))return _0x1a4222[_0x1e990a(0x245)]||_0x58a230['mrTDA'](_0x1a4222[_0x1e990a(0x1f6)],_0x1a4222[_0x1e990a(0x1e9)])||_0x42ec11||null;if(_0x58a230[_0x1e990a(0x232)](process[_0x1e990a(0x223)],_0x58a230[_0x1e990a(0x23f)]))return _0x42ec11||(_0x1366b3?_0x58a230[_0x1e990a(0x1ee)](_0x58a230[_0x1e990a(0x1fa)],_0x1366b3):null);if(_0x58a230['WVdIG'](process[_0x1e990a(0x223)],_0x58a230[_0x1e990a(0x207)]))return _0x42ec11||(_0x58a230[_0x1e990a(0x20c)](process[_0x1e990a(0x1e1)](),0x0)?_0x58a230[_0x1e990a(0x1e7)]:_0x1366b3?_0x58a230['svRKt'](_0x58a230[_0x1e990a(0x237)],_0x1366b3):null);return _0x58a230['bdfEI'](_0x42ec11,null);}}module[a126_0x2aa8db(0x23b)]=PercyBinary;
1
+ const a127_0x374360=a127_0x189d;(function(_0x11e1ba,_0x225b9c){const _0x3b33cc=a127_0x189d,_0x4a67d4=_0x11e1ba();while(!![]){try{const _0xa972fc=parseInt(_0x3b33cc(0x13d))/0x1+parseInt(_0x3b33cc(0x143))/0x2+parseInt(_0x3b33cc(0x116))/0x3+-parseInt(_0x3b33cc(0xb9))/0x4+parseInt(_0x3b33cc(0x125))/0x5*(-parseInt(_0x3b33cc(0x142))/0x6)+-parseInt(_0x3b33cc(0xcb))/0x7+parseInt(_0x3b33cc(0xfc))/0x8;if(_0xa972fc===_0x225b9c)break;else _0x4a67d4['push'](_0x4a67d4['shift']());}catch(_0x307c26){_0x4a67d4['push'](_0x4a67d4['shift']());}}}(a127_0x6546,0xa062a));const {https}=require(a127_0x374360(0xef)),url=require(a127_0x374360(0x11d)),yauzl=require(a127_0x374360(0x11f)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a127_0x374360(0x117)),HttpsProxyAgent=require('https-proxy-agent'),logger=require('../logger')[a127_0x374360(0xd8)];class PercyBinary{#hostOS=process[a127_0x374360(0xf1)];#httpPath=null;#binaryName=a127_0x374360(0x11c);#orderedPaths=[path[a127_0x374360(0xec)](this.#homedir(),'.browserstack'),process['cwd'](),os[a127_0x374360(0x147)]()];constructor(){const _0x5d0d2c=a127_0x374360,_0x3121f5={};_0x3121f5[_0x5d0d2c(0x10a)]=_0x5d0d2c(0xcc),_0x3121f5['dJVed']=function(_0x23f60c,_0x1d62c2){return _0x23f60c+_0x1d62c2;},_0x3121f5[_0x5d0d2c(0xde)]=_0x5d0d2c(0xf7),_0x3121f5[_0x5d0d2c(0x149)]=function(_0x17607e,_0x882aa2){return _0x17607e+_0x882aa2;},_0x3121f5['fgHYO']=_0x5d0d2c(0xd0),_0x3121f5[_0x5d0d2c(0xc8)]=_0x5d0d2c(0x126),_0x3121f5[_0x5d0d2c(0x115)]=function(_0x10b0e0,_0x3ecb2e){return _0x10b0e0+_0x3ecb2e;},_0x3121f5['Ozhuv']='/percy-linux.zip';const _0x183eda=_0x3121f5,_0x3ef859=_0x183eda['Jzvjv'];if(this.#hostOS[_0x5d0d2c(0xc9)](/darwin|mac os/i))this.#httpPath=_0x183eda[_0x5d0d2c(0x103)](_0x3ef859,_0x183eda[_0x5d0d2c(0xde)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x183eda[_0x5d0d2c(0x149)](_0x3ef859,_0x183eda[_0x5d0d2c(0x123)]),this.#binaryName=_0x183eda[_0x5d0d2c(0xc8)]):this.#httpPath=_0x183eda['saYwP'](_0x3ef859,_0x183eda[_0x5d0d2c(0xbf)]);}#getAvailableDirs(){const _0x57696f=a127_0x374360,_0x470c38={};_0x470c38[_0x57696f(0xf5)]=function(_0x3060ae,_0x3e0c5f){return _0x3060ae<_0x3e0c5f;},_0x470c38[_0x57696f(0xd6)]=_0x57696f(0xd7);const _0x16caa1=_0x470c38;for(var _0x5ed003=0x0;_0x16caa1[_0x57696f(0xf5)](_0x5ed003,this.#orderedPaths[_0x57696f(0xf0)]);_0x5ed003++){var _0x51e7be=this.#orderedPaths[_0x5ed003];if(this.#makePath(_0x51e7be))return _0x51e7be;}throw new Error(_0x16caa1[_0x57696f(0xd6)]);}#makePath(_0xc69243){const _0x191088=a127_0x374360;try{return _0xc69243&&!this.#checkPath(_0xc69243)&&fs[_0x191088(0x10b)](_0xc69243),!![];}catch{return![];}}#checkPath(_0x1b4c03,_0x1cc915){const _0x444e68=a127_0x374360,_0x52dc80={};_0x52dc80[_0x444e68(0x107)]=function(_0x1a92a9,_0x37fba6){return _0x1a92a9|_0x37fba6;},_0x52dc80[_0x444e68(0xd4)]=function(_0xa8b931,_0x5ac55f){return _0xa8b931!==_0x5ac55f;},_0x52dc80[_0x444e68(0xc3)]=_0x444e68(0xe2);const _0x3d04cd=_0x52dc80;_0x1cc915=_0x1cc915||_0x3d04cd[_0x444e68(0x107)](fs['R_OK'],fs[_0x444e68(0xfe)]);try{return fs[_0x444e68(0xeb)](_0x1b4c03,_0x1cc915),!![];}catch(_0x523b6e){if(_0x3d04cd[_0x444e68(0xd4)](typeof fs[_0x444e68(0xeb)],_0x3d04cd[_0x444e68(0xc3)]))return![];try{return fs[_0x444e68(0xe5)](_0x1b4c03),!![];}catch(_0x362ca5){return![];}}}#getETagPath(_0x3cd894){const _0x1ca848=a127_0x374360;return path[_0x1ca848(0xec)](_0x3cd894,this.#binaryName+_0x1ca848(0xe6));}#loadETag(_0x56b3bc){const _0x7a1a62=a127_0x374360,_0x37567d={};_0x37567d[_0x7a1a62(0x12a)]=_0x7a1a62(0x146);const _0x31221f=_0x37567d,_0x8d3e11=this.#getETagPath(_0x56b3bc);if(this.#checkPath(_0x8d3e11))try{return fs[_0x7a1a62(0xf6)](_0x8d3e11,_0x31221f[_0x7a1a62(0x12a)])['trim']();}catch(_0x4d1c58){logger[_0x7a1a62(0xf8)](_0x7a1a62(0xca)+_0x4d1c58);}return null;}#saveETag(_0x1cfbd9,_0x40f030){const _0x186f5a=a127_0x374360,_0x40a680={};_0x40a680[_0x186f5a(0x10c)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x561351=_0x40a680;if(!_0x40f030)return;try{const _0x5be421=this.#getETagPath(_0x1cfbd9);fs[_0x186f5a(0xed)](_0x5be421,_0x40f030),logger[_0x186f5a(0xbb)](_0x561351[_0x186f5a(0x10c)]);}catch(_0x3f138a){logger[_0x186f5a(0xf8)](_0x186f5a(0x122)+_0x3f138a);}}async #handleBinaryDownload(_0x51e0e6,_0x123698,_0x4127fd){const _0x398814=a127_0x374360,_0x58a067={};_0x58a067[_0x398814(0x112)]=_0x398814(0xc7);const _0x25c2a7=_0x58a067,_0x1618cd=await this[_0x398814(0x128)](_0x51e0e6[_0x398814(0x12b)]);if(!_0x1618cd){logger[_0x398814(0x101)](_0x25c2a7[_0x398814(0x112)]);const _0x29b7eb=await this[_0x398814(0x13a)](_0x123698,_0x4127fd);return _0x29b7eb[_0x398814(0x12b)];}return _0x51e0e6[_0x398814(0x12b)];}async['getBinaryPath'](_0x202905){const _0x2bbbfc=a127_0x374360,_0x1d2632={};_0x1d2632[_0x2bbbfc(0x14f)]=_0x2bbbfc(0x14e),_0x1d2632['XFFBi']=_0x2bbbfc(0x132);const _0x29126a=_0x1d2632,_0x46484b=this.#getAvailableDirs(),_0x3a23cc=path[_0x2bbbfc(0xec)](_0x46484b,this.#binaryName);if(this.#checkPath(_0x3a23cc,fs[_0x2bbbfc(0x111)])){const _0x35d472=this.#loadETag(_0x46484b);if(_0x35d472)try{const _0x329f05=await this[_0x2bbbfc(0x13a)](_0x202905,_0x46484b,_0x35d472);if(!_0x329f05[_0x2bbbfc(0xcd)])return logger['debug'](_0x29126a[_0x2bbbfc(0x14f)]),_0x3a23cc;return logger['debug'](_0x29126a[_0x2bbbfc(0x139)]),await this.#handleBinaryDownload(_0x329f05,_0x202905,_0x46484b);}catch(_0x1486b6){return logger[_0x2bbbfc(0xf8)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x1486b6),_0x3a23cc;}}const _0xae3d12=await this[_0x2bbbfc(0x13a)](_0x202905,_0x46484b);return await this.#handleBinaryDownload(_0xae3d12,_0x202905,_0x46484b);}[a127_0x374360(0x13a)](_0x372791,_0x4f3094,_0x441759=null){const _0x29d060=a127_0x374360,_0x4cbfe5={'IdGhd':function(_0x24e42f,_0x5a1723){return _0x24e42f(_0x5a1723);},'SfiqL':function(_0x1b29d0,_0x197b4e){return _0x1b29d0===_0x197b4e;},'jeICU':_0x29d060(0x101),'MnFEC':_0x29d060(0x135),'fFyyB':function(_0x37ee1a,_0x212700){return _0x37ee1a+_0x212700;},'XGMOn':_0x29d060(0xd3)};_0x4f3094&&!this.#checkPath(_0x4f3094)&&fs[_0x29d060(0x10b)](_0x4f3094);const _0x1ea842=this.#binaryName,_0x28d8dd=path[_0x29d060(0xec)](_0x4f3094,_0x4cbfe5[_0x29d060(0xbd)](_0x1ea842,_0x4cbfe5[_0x29d060(0x14c)])),_0x180531=fs[_0x29d060(0x14b)](_0x28d8dd),_0x440519=url[_0x29d060(0xee)](this.#httpPath);if(_0x372791[_0x29d060(0xe7)]&&_0x372791[_0x29d060(0xbe)]){const _0x40dc22={};_0x40dc22[_0x29d060(0x14d)]=_0x372791[_0x29d060(0xe7)],_0x40dc22[_0x29d060(0x141)]=_0x372791['proxyPort'],_0x440519['agent']=new HttpsProxyAgent(_0x40dc22);}if(_0x372791[_0x29d060(0x114)])try{_0x440519['ca']=fs['readFileSync'](_0x372791[_0x29d060(0x114)]);}catch(_0x400066){logger[_0x29d060(0x101)](_0x29d060(0xd5)+_0x400066);}if(_0x441759){const _0x37ac39={};_0x37ac39[_0x29d060(0x106)]=_0x441759,_0x37ac39[_0x29d060(0x13b)]=_0x4cbfe5[_0x29d060(0x113)],_0x440519[_0x29d060(0xd1)]=_0x37ac39;}else{const _0x51c8c1={};_0x51c8c1[_0x29d060(0x13b)]=_0x4cbfe5['MnFEC'],_0x440519['headers']=_0x51c8c1;}return new Promise((_0x442461,_0x2b9d1c)=>{const _0x457b74=_0x29d060,_0x2e2f23={'biBca':function(_0x4784b4,_0x17ec40){const _0x4a2917=a127_0x189d;return _0x4cbfe5[_0x4a2917(0x120)](_0x4784b4,_0x17ec40);},'nSByX':function(_0x10f67e,_0x209eb2){const _0x5b2634=a127_0x189d;return _0x4cbfe5[_0x5b2634(0x12d)](_0x10f67e,_0x209eb2);},'onZMK':_0x4cbfe5[_0x457b74(0x118)],'neZlx':_0x4cbfe5[_0x457b74(0x113)]};https[_0x457b74(0xd2)](_0x440519,_0x2c10e2=>{const _0x3bc8fe=_0x457b74,_0x4ccced={'hMBNQ':function(_0x5a1724,_0x33a7c4){const _0x5d1c55=a127_0x189d;return _0x2e2f23[_0x5d1c55(0xfa)](_0x5a1724,_0x33a7c4);}};if(_0x441759&&_0x2e2f23[_0x3bc8fe(0x104)](_0x2c10e2[_0x3bc8fe(0x138)],0x130)){_0x180531[_0x3bc8fe(0xc4)]();const _0x15c643={};_0x15c643[_0x3bc8fe(0xcd)]=![],_0x2e2f23[_0x3bc8fe(0xfa)](_0x442461,_0x15c643);return;}const _0x12966d=_0x2c10e2[_0x3bc8fe(0xd1)][_0x3bc8fe(0xdc)];_0x12966d&&this.#saveETag(_0x4f3094,_0x12966d),_0x2c10e2[_0x3bc8fe(0xff)](_0x180531),_0x2c10e2['on'](_0x2e2f23['onZMK'],function(_0x1df971){const _0xae73c0=_0x3bc8fe;logger[_0xae73c0(0x101)]('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x1df971),_0x4ccced[_0xae73c0(0x145)](_0x2b9d1c,_0x1df971);}),_0x180531['on'](_0x2e2f23[_0x3bc8fe(0x11a)],function(_0x148f81){const _0x2e61ce=_0x3bc8fe;logger[_0x2e61ce(0x101)](_0x2e61ce(0xdb)+_0x148f81),_0x2e2f23[_0x2e61ce(0xfa)](_0x2b9d1c,_0x148f81);}),_0x180531['on'](_0x2e2f23[_0x3bc8fe(0x148)],()=>{const _0x4afeaf=_0x3bc8fe;this['extractAndSaveBinary'](_0x28d8dd,_0x4f3094)[_0x4afeaf(0x11b)](_0xf631f1=>_0x442461({'needsUpdate':!![],'binaryPath':_0xf631f1}))[_0x4afeaf(0xb8)](_0x2b9d1c);});})['on'](_0x4cbfe5['jeICU'],function(_0xbf3946){const _0x448e26=_0x457b74;logger['error'](_0x448e26(0x13e)+_0xbf3946),_0x2e2f23['biBca'](_0x2b9d1c,_0xbf3946);});});}['extractAndSaveBinary'](_0x303415,_0x4b487b){const _0x35143a=a127_0x374360,_0x4eedfc={'slgiJ':function(_0x3be1c9,_0x2088a8){return _0x3be1c9===_0x2088a8;},'dTaDG':function(_0x3f9e5a,_0x815ecd){return _0x3f9e5a(_0x815ecd);},'fJnHV':function(_0x5b988a,_0x1c83c2){return _0x5b988a(_0x1c83c2);},'eQXgO':'end','AObHp':function(_0x2ffda0,_0x3ba6d0){return _0x2ffda0(_0x3ba6d0);},'FUcpd':'0755','ExshL':function(_0x341db6,_0x4d381c){return _0x341db6(_0x4d381c);},'QJZko':_0x35143a(0xb7),'fJzVL':_0x35143a(0x101)},_0x255332=this.#binaryName,_0x33bf65=path[_0x35143a(0xec)](_0x4b487b,_0x255332);return new Promise((_0x30719a,_0x1ea56f)=>{const _0x535036=_0x35143a,_0x1f6562={'JnbdT':function(_0x1f6a2d,_0x43774c){const _0x2a46f6=a127_0x189d;return _0x4eedfc[_0x2a46f6(0x10d)](_0x1f6a2d,_0x43774c);},'NVNcx':function(_0x3c7742,_0x1fd480){return _0x4eedfc['dTaDG'](_0x3c7742,_0x1fd480);},'hRUsC':function(_0x4951af,_0x397be6){const _0x46c6ec=a127_0x189d;return _0x4eedfc[_0x46c6ec(0xc5)](_0x4951af,_0x397be6);},'lcZpj':_0x4eedfc[_0x535036(0x151)],'QEwUt':function(_0x22d287,_0x38692b){const _0x27b2b5=_0x535036;return _0x4eedfc[_0x27b2b5(0xbc)](_0x22d287,_0x38692b);},'ocVgn':_0x4eedfc[_0x535036(0x134)],'pjizr':function(_0x10d5d1,_0x556a34){const _0x5b10a0=_0x535036;return _0x4eedfc[_0x5b10a0(0xda)](_0x10d5d1,_0x556a34);},'Zopps':_0x4eedfc[_0x535036(0xfb)],'nEpkE':_0x4eedfc[_0x535036(0xfd)]},_0x3f708f={};_0x3f708f['lazyEntries']=!![],yauzl[_0x535036(0x136)](_0x303415,_0x3f708f,function(_0x16af96,_0x31ed5b){const _0x2a4990=_0x535036,_0x39c51a={'iTlEa':function(_0x204392,_0x3fa707){return _0x1f6562['hRUsC'](_0x204392,_0x3fa707);},'ovEBZ':_0x1f6562[_0x2a4990(0x10f)],'yNNHZ':function(_0x265200,_0xb9eb1f){const _0xfd9d14=_0x2a4990;return _0x1f6562[_0xfd9d14(0xe3)](_0x265200,_0xb9eb1f);},'uOLDs':function(_0x3118a7,_0x43a568){const _0x2d0e0b=_0x2a4990;return _0x1f6562[_0x2d0e0b(0xe3)](_0x3118a7,_0x43a568);},'omAVb':_0x1f6562[_0x2a4990(0x14a)]};_0x16af96&&_0x1f6562['pjizr'](_0x1ea56f,_0x16af96),_0x31ed5b['readEntry'](),_0x31ed5b['on'](_0x1f6562[_0x2a4990(0xc0)],_0xb88a12=>{const _0x549bce=_0x2a4990;if(/\/$/[_0x549bce(0x127)](_0xb88a12['fileName']))_0x31ed5b['readEntry']();else{const _0x2f61c9=fs[_0x549bce(0x14b)](path[_0x549bce(0xec)](_0x4b487b,_0xb88a12[_0x549bce(0x109)]));_0x31ed5b[_0x549bce(0xdf)](_0xb88a12,function(_0x1b17ad,_0x21f097){const _0x12679d=_0x549bce;_0x1b17ad&&_0x39c51a[_0x12679d(0x110)](_0x1ea56f,_0x16af96),_0x21f097['on'](_0x39c51a[_0x12679d(0x137)],function(){const _0x140641=_0x12679d;_0x2f61c9['close'](),_0x31ed5b[_0x140641(0x129)]();}),_0x21f097[_0x12679d(0xff)](_0x2f61c9);}),_0x1f6562[_0x549bce(0x12f)](_0xb88a12[_0x549bce(0x109)],_0x255332)&&_0x31ed5b[_0x549bce(0x135)]();}}),_0x31ed5b['on'](_0x1f6562['nEpkE'],_0x5eee67=>{const _0x387ce2=_0x2a4990;_0x1f6562[_0x387ce2(0xea)](_0x1ea56f,_0x5eee67);}),_0x31ed5b['once'](_0x1f6562[_0x2a4990(0x10f)],()=>{const _0x294601=_0x2a4990;fs['chmod'](_0x33bf65,_0x39c51a[_0x294601(0xf3)],function(_0x3e0c0e){const _0x300934=_0x294601;_0x3e0c0e&&_0x39c51a[_0x300934(0xe8)](_0x1ea56f,_0x3e0c0e),_0x39c51a[_0x300934(0x121)](_0x30719a,_0x33bf65);}),_0x31ed5b[_0x294601(0x135)]();});});});}async[a127_0x374360(0x128)](_0x5f1f39){const _0x48ce04=a127_0x374360,_0x1357ad={'amBVu':function(_0x696caa,_0x3634c5){return _0x696caa(_0x3634c5);},'OmSFl':function(_0x3e91a9,_0x200850){return _0x3e91a9(_0x200850);},'QMfov':function(_0x141a63,_0x1165fa,_0x102c96,_0x101711){return _0x141a63(_0x1165fa,_0x102c96,_0x101711);},'TMIBD':_0x48ce04(0xd9),'plZCU':'data','Wslje':_0x48ce04(0x135)},_0x5e41e7=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x58621c,_0x54e814)=>{const _0x12733e=_0x48ce04,_0x4e533f={};_0x4e533f[_0x12733e(0x130)]=process[_0x12733e(0x130)];const _0x480e26=_0x1357ad[_0x12733e(0xe4)](spawn,_0x5f1f39,[_0x1357ad[_0x12733e(0xc2)]],_0x4e533f);_0x480e26[_0x12733e(0xe0)]['on'](_0x1357ad[_0x12733e(0xe9)],_0x48a5c2=>{const _0xef30e8=_0x12733e;_0x5e41e7[_0xef30e8(0x127)](_0x48a5c2)&&_0x1357ad[_0xef30e8(0x13f)](_0x58621c,!![]);}),_0x480e26['on'](_0x1357ad[_0x12733e(0x150)],()=>{const _0x5cb3b2=_0x12733e;_0x1357ad[_0x5cb3b2(0x12e)](_0x58621c,![]);});});}#homedir(){const _0x7e604b=a127_0x374360,_0x49908e={};_0x49908e['amHNv']=function(_0x11ba3c,_0x1b158a){return _0x11ba3c===_0x1b158a;},_0x49908e['VwuON']=_0x7e604b(0x108),_0x49908e[_0x7e604b(0x119)]=_0x7e604b(0xce),_0x49908e[_0x7e604b(0xc1)]=function(_0x2d27fd,_0x143349){return _0x2d27fd+_0x143349;},_0x49908e[_0x7e604b(0x140)]=function(_0xd0bf9d,_0x553607){return _0xd0bf9d===_0x553607;},_0x49908e[_0x7e604b(0x12c)]=_0x7e604b(0xcf),_0x49908e[_0x7e604b(0xdd)]=_0x7e604b(0x10e),_0x49908e[_0x7e604b(0x152)]=_0x7e604b(0x11e),_0x49908e['lLAiF']=function(_0x3b5340,_0x49b810){return _0x3b5340===_0x49b810;},_0x49908e[_0x7e604b(0xc6)]='/root',_0x49908e[_0x7e604b(0x131)]=_0x7e604b(0x13c),_0x49908e[_0x7e604b(0xf2)]=function(_0xd3864,_0x1b1bd5){return _0xd3864||_0x1b1bd5;};const _0x3e3ba4=_0x49908e;if(_0x3e3ba4[_0x7e604b(0x105)](typeof os['homedir'],_0x3e3ba4['VwuON']))return os['homedir']();const _0x28879c=process[_0x7e604b(0x130)],_0x610006=_0x28879c[_0x7e604b(0xba)],_0x4ef960=_0x28879c[_0x7e604b(0x100)]||_0x28879c[_0x7e604b(0xf4)]||_0x28879c['LNAME']||_0x28879c[_0x7e604b(0x102)];if(_0x3e3ba4['amHNv'](process['platform'],_0x3e3ba4['LeNHU']))return _0x28879c[_0x7e604b(0xf9)]||_0x3e3ba4['eJEOt'](_0x28879c[_0x7e604b(0x133)],_0x28879c[_0x7e604b(0xe1)])||_0x610006||null;if(_0x3e3ba4[_0x7e604b(0x140)](process[_0x7e604b(0xf1)],_0x3e3ba4[_0x7e604b(0x12c)]))return _0x610006||(_0x4ef960?_0x3e3ba4[_0x7e604b(0xc1)](_0x3e3ba4[_0x7e604b(0xdd)],_0x4ef960):null);if(_0x3e3ba4[_0x7e604b(0x105)](process[_0x7e604b(0xf1)],_0x3e3ba4['fxHOe']))return _0x610006||(_0x3e3ba4[_0x7e604b(0x124)](process[_0x7e604b(0x144)](),0x0)?_0x3e3ba4['yrXOt']:_0x4ef960?_0x3e3ba4[_0x7e604b(0xc1)](_0x3e3ba4[_0x7e604b(0x131)],_0x4ef960):null);return _0x3e3ba4['AelWr'](_0x610006,null);}}function a127_0x189d(_0x2a8992,_0x9cfe16){const _0x654658=a127_0x6546();return a127_0x189d=function(_0x189da3,_0x316da2){_0x189da3=_0x189da3-0xb7;let _0x1a1342=_0x654658[_0x189da3];return _0x1a1342;},a127_0x189d(_0x2a8992,_0x9cfe16);}function a127_0x6546(){const _0x561173=['eQXgO','fxHOe','entry','catch','1882412zowYRC','HOME','debug','AObHp','fFyyB','proxyPort','Ozhuv','Zopps','eJEOt','TMIBD','WbRMj','destroy','fJnHV','yrXOt','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','hBMzK','match','Failed\x20to\x20read\x20ETag\x20file:\x20','4855333lBLUgG','https://github.com/percy/cli/releases/latest/download','needsUpdate','win32','darwin','/percy-win.zip','headers','get','.zip','pWPIm','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','SjaDk','Error\x20trying\x20to\x20download\x20percy\x20binary','winstonLogger','--version','ExshL','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','etag','gAyWo','MaGKO','openReadStream','stdout','HOMEPATH','undefined','QEwUt','QMfov','statSync','.etag','proxyHost','yNNHZ','plZCU','NVNcx','accessSync','join','writeFileSync','parse','follow-redirects','length','platform','AelWr','omAVb','USER','Uaaxu','readFileSync','/percy-osx.zip','warn','USERPROFILE','biBca','QJZko','1427000TjBgCi','fJzVL','W_OK','pipe','LOGNAME','error','USERNAME','dJVed','nSByX','amHNv','If-None-Match','szZzl','function','fileName','Jzvjv','mkdirSync','nVfQS','slgiJ','/Users/','lcZpj','iTlEa','X_OK','aSnfs','MnFEC','useCaCertificate','saYwP','3226200mvpnoq','child_process','jeICU','LeNHU','onZMK','then','percy','url','linux','yauzl','IdGhd','uOLDs','Failed\x20to\x20save\x20ETag\x20file:\x20','fgHYO','lLAiF','2210035nwzvtJ','percy.exe','test','validateBinary','readEntry','DMqmM','binaryPath','AwMEa','SfiqL','OmSFl','JnbdT','env','ssZap','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','HOMEDRIVE','FUcpd','close','open','ovEBZ','statusCode','XFFBi','download','Connection','/home/','927280znbgAs','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','amBVu','iIzuB','port','6ZKcHuR','164224qlIeIc','getuid','hMBNQ','utf8','tmpdir','neZlx','dVKzI','ocVgn','createWriteStream','XGMOn','host','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','SGIwc','Wslje'];a127_0x6546=function(){return _0x561173;};return a127_0x6546();}module['exports']=PercyBinary;
@@ -1 +1 @@
1
- function a127_0x22b4(){var _0x3467d7=['exports','increment','10448273CxucCf','get','9NKOUcs','907692knNUpd','1617310OchnKS','27nnWwgt','5QjiKAf','6diVAEF','4664eSBAnG','2694056ZBqzWt','25269kEregR','getName','3127635CBIerp'];a127_0x22b4=function(){return _0x3467d7;};return a127_0x22b4();}function a127_0x2b6b(_0x2765de,_0x581b36){var _0x22b491=a127_0x22b4();return a127_0x2b6b=function(_0x2b6b8d,_0x5dd0a4){_0x2b6b8d=_0x2b6b8d-0x166;var _0xb245c3=_0x22b491[_0x2b6b8d];return _0xb245c3;},a127_0x2b6b(_0x2765de,_0x581b36);}var a127_0x5c4cbd=a127_0x2b6b;(function(_0x2b0519,_0x128670){var _0x273924=a127_0x2b6b,_0x1b6fe0=_0x2b0519();while(!![]){try{var _0x2d54fa=-parseInt(_0x273924(0x171))/0x1*(-parseInt(_0x273924(0x16e))/0x2)+parseInt(_0x273924(0x16c))/0x3*(parseInt(_0x273924(0x16f))/0x4)+-parseInt(_0x273924(0x16d))/0x5*(-parseInt(_0x273924(0x16a))/0x6)+-parseInt(_0x273924(0x173))/0x7+parseInt(_0x273924(0x170))/0x8*(-parseInt(_0x273924(0x169))/0x9)+-parseInt(_0x273924(0x16b))/0xa+parseInt(_0x273924(0x167))/0xb;if(_0x2d54fa===_0x128670)break;else _0x1b6fe0['push'](_0x1b6fe0['shift']());}catch(_0x11f6ba){_0x1b6fe0['push'](_0x1b6fe0['shift']());}}}(a127_0x22b4,0x3b1d5));class PercyCaptureMap{#map={};[a127_0x5c4cbd(0x166)](_0x4fded6,_0x16ca66){!this.#map[_0x4fded6]&&(this.#map[_0x4fded6]={}),!this.#map[_0x4fded6][_0x16ca66]&&(this.#map[_0x4fded6][_0x16ca66]=0x0),this.#map[_0x4fded6][_0x16ca66]++;}[a127_0x5c4cbd(0x172)](_0x3c28c0,_0x494d78){var _0x16d2f8=a127_0x5c4cbd;return _0x3c28c0+'-'+_0x494d78+'-'+this[_0x16d2f8(0x168)](_0x3c28c0,_0x494d78);}['get'](_0xcc5193,_0x1ad2fe){if(!this.#map[_0xcc5193])return 0x0;if(!this.#map[_0xcc5193][_0x1ad2fe])return 0x0;return this.#map[_0xcc5193][_0x1ad2fe];}}module[a127_0x5c4cbd(0x174)]=PercyCaptureMap;
1
+ var a128_0x1c5945=a128_0x15a5;(function(_0x43409f,_0x3e3cc1){var _0x28fd06=a128_0x15a5,_0x24552d=_0x43409f();while(!![]){try{var _0x5cd025=-parseInt(_0x28fd06(0x16c))/0x1+-parseInt(_0x28fd06(0x164))/0x2*(-parseInt(_0x28fd06(0x162))/0x3)+parseInt(_0x28fd06(0x166))/0x4+parseInt(_0x28fd06(0x163))/0x5*(parseInt(_0x28fd06(0x169))/0x6)+-parseInt(_0x28fd06(0x161))/0x7*(-parseInt(_0x28fd06(0x16d))/0x8)+parseInt(_0x28fd06(0x16b))/0x9*(-parseInt(_0x28fd06(0x165))/0xa)+-parseInt(_0x28fd06(0x167))/0xb*(parseInt(_0x28fd06(0x168))/0xc);if(_0x5cd025===_0x3e3cc1)break;else _0x24552d['push'](_0x24552d['shift']());}catch(_0x3d7eaa){_0x24552d['push'](_0x24552d['shift']());}}}(a128_0xcb8e,0x32e40));class PercyCaptureMap{#map={};['increment'](_0x371657,_0x1676c3){!this.#map[_0x371657]&&(this.#map[_0x371657]={}),!this.#map[_0x371657][_0x1676c3]&&(this.#map[_0x371657][_0x1676c3]=0x0),this.#map[_0x371657][_0x1676c3]++;}[a128_0x1c5945(0x16e)](_0x5cc7e6,_0x55754d){var _0x2d1880=a128_0x1c5945;return _0x5cc7e6+'-'+_0x55754d+'-'+this[_0x2d1880(0x16a)](_0x5cc7e6,_0x55754d);}[a128_0x1c5945(0x16a)](_0x5f125f,_0x5b133c){if(!this.#map[_0x5f125f])return 0x0;if(!this.#map[_0x5f125f][_0x5b133c])return 0x0;return this.#map[_0x5f125f][_0x5b133c];}}function a128_0x15a5(_0x102807,_0x2d9b5e){var _0xcb8eff=a128_0xcb8e();return a128_0x15a5=function(_0x15a5da,_0x26c832){_0x15a5da=_0x15a5da-0x160;var _0x19b3df=_0xcb8eff[_0x15a5da];return _0x19b3df;},a128_0x15a5(_0x102807,_0x2d9b5e);}module[a128_0x1c5945(0x160)]=PercyCaptureMap;function a128_0xcb8e(){var _0x36f815=['19602WxTPYD','2172rCggGt','78AIlUkh','get','287550YMXyHu','96446hKcIiy','160MMvnGd','getName','exports','26915wNMmRq','30297jfJKHJ','54840iraDci','24noUmZX','10qRKCge','1274856FMyFkn'];a128_0xcb8e=function(){return _0x36f815;};return a128_0xcb8e();}
@@ -1 +1 @@
1
- var a128_0x1d9886=a128_0x124c;(function(_0x43109f,_0x173585){var _0x5ebfe0=a128_0x124c,_0x475d31=_0x43109f();while(!![]){try{var _0x227462=-parseInt(_0x5ebfe0(0x176))/0x1+-parseInt(_0x5ebfe0(0x175))/0x2+-parseInt(_0x5ebfe0(0x177))/0x3+parseInt(_0x5ebfe0(0x172))/0x4+parseInt(_0x5ebfe0(0x16f))/0x5*(parseInt(_0x5ebfe0(0x17e))/0x6)+-parseInt(_0x5ebfe0(0x17c))/0x7*(parseInt(_0x5ebfe0(0x171))/0x8)+parseInt(_0x5ebfe0(0x17a))/0x9;if(_0x227462===_0x173585)break;else _0x475d31['push'](_0x475d31['shift']());}catch(_0x281588){_0x475d31['push'](_0x475d31['shift']());}}}(a128_0x5318,0x5b190));var a128_0x309643={};a128_0x309643[a128_0x1d9886(0x16d)]=[a128_0x1d9886(0x173)],a128_0x309643[a128_0x1d9886(0x17b)]=['click',a128_0x1d9886(0x170)];var a128_0x55bf3f={};a128_0x55bf3f[a128_0x1d9886(0x16d)]=[a128_0x1d9886(0x173)];var a128_0x4eaade={};a128_0x4eaade[a128_0x1d9886(0x17b)]=[a128_0x1d9886(0x179)];var a128_0x3ce4bb={};function a128_0x124c(_0x270802,_0x53cd61){var _0x53184b=a128_0x5318();return a128_0x124c=function(_0x124c12,_0x4e16e5){_0x124c12=_0x124c12-0x16d;var _0xc0c72f=_0x53184b[_0x124c12];return _0xc0c72f;},a128_0x124c(_0x270802,_0x53cd61);}function a128_0x5318(){var _0x34b589=['1327555KTOVHS','sendKeys','16WlVsiw','161056mJOQdo','takeScreenshot','manual','1074020Tzxxnc','66728TUVFux','1588875DeeIys','auto','click','13203603sRxGNo','element','1861489JNdihW','exports','12tWXjUX','driver','testcase'];a128_0x5318=function(){return _0x34b589;};return a128_0x5318();}a128_0x3ce4bb[a128_0x1d9886(0x178)]=a128_0x309643,a128_0x3ce4bb['screenshot']=a128_0x55bf3f,a128_0x3ce4bb[a128_0x1d9886(0x179)]=a128_0x4eaade,a128_0x3ce4bb[a128_0x1d9886(0x16e)]={},a128_0x3ce4bb[a128_0x1d9886(0x174)]={},module[a128_0x1d9886(0x17d)]=a128_0x3ce4bb;
1
+ var a129_0x524095=a129_0x4c89;(function(_0x328ae9,_0xe57f7d){var _0x409d4b=a129_0x4c89,_0x5c1705=_0x328ae9();while(!![]){try{var _0x47e0d2=-parseInt(_0x409d4b(0x15a))/0x1+-parseInt(_0x409d4b(0x164))/0x2+parseInt(_0x409d4b(0x167))/0x3*(parseInt(_0x409d4b(0x161))/0x4)+parseInt(_0x409d4b(0x15d))/0x5+parseInt(_0x409d4b(0x162))/0x6+-parseInt(_0x409d4b(0x15f))/0x7+parseInt(_0x409d4b(0x160))/0x8;if(_0x47e0d2===_0xe57f7d)break;else _0x5c1705['push'](_0x5c1705['shift']());}catch(_0x5b4129){_0x5c1705['push'](_0x5c1705['shift']());}}}(a129_0x3b0e,0x936f2));var a129_0x2be898={};a129_0x2be898[a129_0x524095(0x15c)]=[a129_0x524095(0x15e)],a129_0x2be898[a129_0x524095(0x166)]=[a129_0x524095(0x165),'sendKeys'];function a129_0x4c89(_0x4c77cc,_0x379582){var _0x3b0ec2=a129_0x3b0e();return a129_0x4c89=function(_0x4c89e9,_0xfd9cfd){_0x4c89e9=_0x4c89e9-0x15a;var _0x28be10=_0x3b0ec2[_0x4c89e9];return _0x28be10;},a129_0x4c89(_0x4c77cc,_0x379582);}var a129_0x56816c={};function a129_0x3b0e(){var _0x49eb80=['exports','driver','1468885pkBBPu','takeScreenshot','7938973yZqBiX','13558480fySAOP','3836SUBtgw','4829568JELyMX','auto','281076WqkIIX','click','element','501hJzHLO','screenshot','manual','1075101PoPccf'];a129_0x3b0e=function(){return _0x49eb80;};return a129_0x3b0e();}a129_0x56816c[a129_0x524095(0x15c)]=[a129_0x524095(0x15e)];var a129_0x19a0b4={};a129_0x19a0b4[a129_0x524095(0x166)]=[a129_0x524095(0x165)];var a129_0x1e8c60={};a129_0x1e8c60[a129_0x524095(0x163)]=a129_0x2be898,a129_0x1e8c60[a129_0x524095(0x168)]=a129_0x56816c,a129_0x1e8c60['click']=a129_0x19a0b4,a129_0x1e8c60['testcase']={},a129_0x1e8c60[a129_0x524095(0x169)]={},module[a129_0x524095(0x15b)]=a129_0x1e8c60;
@@ -1 +1 @@
1
- const a129_0x7190e8=a129_0x5012;(function(_0x3ab78d,_0x1822fc){const _0x165e69=a129_0x5012,_0x322ce9=_0x3ab78d();while(!![]){try{const _0xde4693=parseInt(_0x165e69(0xea))/0x1*(parseInt(_0x165e69(0xe2))/0x2)+-parseInt(_0x165e69(0xef))/0x3*(-parseInt(_0x165e69(0xe4))/0x4)+-parseInt(_0x165e69(0xe7))/0x5+parseInt(_0x165e69(0x102))/0x6*(parseInt(_0x165e69(0xfe))/0x7)+-parseInt(_0x165e69(0xf1))/0x8+parseInt(_0x165e69(0xed))/0x9*(parseInt(_0x165e69(0xe1))/0xa)+-parseInt(_0x165e69(0xf3))/0xb;if(_0xde4693===_0x1822fc)break;else _0x322ce9['push'](_0x322ce9['shift']());}catch(_0x23224a){_0x322ce9['push'](_0x322ce9['shift']());}}}(a129_0x4e57,0x3ef1a));const tryRequire=function(_0x4a61ae,_0x5d3e1c){const _0x33d34a={'dnfaE':function(_0x39f9ac,_0x10d543){return _0x39f9ac(_0x10d543);}};try{return _0x33d34a['dnfaE'](require,_0x4a61ae);}catch{return _0x5d3e1c;}},percySnapshot=tryRequire('@percy/selenium-webdriver',null),{percyScreenshot}=tryRequire(a129_0x7190e8(0xeb),{}),percyAppScreenshot=require(a129_0x7190e8(0x104)),{getCurrentTestData}=require(a129_0x7190e8(0xf5)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a129_0x7190e8(0xe3)),logger=require(a129_0x7190e8(0xfb))['winstonLogger'];function a129_0x5012(_0x5b4e8b,_0x4c40c7){const _0x4e57f8=a129_0x4e57();return a129_0x5012=function(_0x5012b6,_0x583648){_0x5012b6=_0x5012b6-0xde;let _0x4c2acf=_0x4e57f8[_0x5012b6];return _0x4c2acf;},a129_0x5012(_0x5b4e8b,_0x4c40c7);}percySnapshot&&(exports[a129_0x7190e8(0xe8)]=async function(){const _0x57d42e=a129_0x7190e8,_0x3ffc07={'ePDuR':function(_0x179380,_0x12d3ac){return _0x179380!==_0x12d3ac;},'NAGNC':function(_0x5949df,_0x5da1f9){return _0x5949df>=_0x5da1f9;},'EUizi':function(_0x3aab8f){return _0x3aab8f();}};if(global[_0x57d42e(0xde)]&&_0x3ffc07[_0x57d42e(0xfd)](global['browserstackPlatformIndex'],global[_0x57d42e(0x103)]))return;const _0x15806d=_0x3ffc07['NAGNC'](arguments[_0x57d42e(0xf9)],0x2)?arguments[0x1]:'',_0xdf459a=_0x3ffc07[_0x57d42e(0xf0)](getCurrentTestData),_0x132756={};return _0x132756[_0x57d42e(0xec)]=_0x15806d,_0x132756['testCase']=_0xdf459a[_0x57d42e(0xec)]||'',_0x132756[_0x57d42e(0xfa)]=_0xdf459a[_0x57d42e(0xe9)]||'',_0x132756['platformIndex']=global[_0x57d42e(0xde)],await PerformanceTester['measure'](PerformanceEvents[_0x57d42e(0x105)],()=>percySnapshot[_0x57d42e(0xf7)](null,arguments),_0x132756);});function a129_0x4e57(){const _0x50d7b7=['66556jpuZQi','measure','testCase','Unsupported\x20driver\x20for\x20percy','198iVQgYy','browserstackPercyBestPlatform','@percy/appium-app','SNAPSHOT','browserstackPlatformIndex','SCREENSHOT','DvirR','10VbriSL','1478hwkyUR','../performance/constants','4tDjCJG','WhxkF','platformIndex','139530XUzKxP','snapshot','uuid','111XjjGGd','@percy/selenium-webdriver','name','1176795ZMvXxC','SCREENSHOT_APP','1033161rFYyWO','EUizi','177768PrGoyS','screenshot','6192890lxNshC','rfdkI','../../helpers/testhub/utils','HLNnh','apply','error','length','thTestCaseExecutionId','../logger','hLLMS','ePDuR'];a129_0x4e57=function(){return _0x50d7b7;};return a129_0x4e57();}percyScreenshot?exports['screenshot']=async function(){const _0x174505=a129_0x7190e8,_0x511a28={'WhxkF':function(_0x191681,_0x4b7861){return _0x191681>=_0x4b7861;},'rfdkI':function(_0x3cf3ed){return _0x3cf3ed();}},_0x1dc338=_0x511a28[_0x174505(0xe5)](arguments[_0x174505(0xf9)],0x2)?arguments[0x1]:'',_0x3e1638=_0x511a28[_0x174505(0xf4)](getCurrentTestData),_0x45d3bc={};return _0x45d3bc[_0x174505(0xec)]=_0x1dc338,_0x45d3bc[_0x174505(0x100)]=_0x3e1638[_0x174505(0xec)]||'',_0x45d3bc[_0x174505(0xfa)]=_0x3e1638['uuid']||'',_0x45d3bc[_0x174505(0xe6)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x174505(0xdf)],()=>percyScreenshot[_0x174505(0xf7)](null,arguments),_0x45d3bc);}:exports[a129_0x7190e8(0xf2)]=()=>{const _0x48bd49=a129_0x7190e8,_0x31c0d8={};_0x31c0d8[_0x48bd49(0xfc)]=_0x48bd49(0x101);const _0x2e4561=_0x31c0d8;logger[_0x48bd49(0xf8)](_0x2e4561['hLLMS']);};exports['screenshotApp']=async function(){const _0x2e4821=a129_0x7190e8,_0x259c20={'DvirR':function(_0x2d89e1,_0x5ad34c){return _0x2d89e1>=_0x5ad34c;},'HLNnh':function(_0x38ae41){return _0x38ae41();}},_0x33e292=_0x259c20[_0x2e4821(0xe0)](arguments[_0x2e4821(0xf9)],0x2)?arguments[0x1]:'',_0x3eb646=_0x259c20[_0x2e4821(0xf6)](getCurrentTestData),_0x14062b={};return _0x14062b['name']=_0x33e292,_0x14062b[_0x2e4821(0x100)]=_0x3eb646[_0x2e4821(0xec)]||'',_0x14062b['thTestCaseExecutionId']=_0x3eb646[_0x2e4821(0xe9)]||'',_0x14062b['platformIndex']=global[_0x2e4821(0xde)],await PerformanceTester[_0x2e4821(0xff)](PerformanceEvents[_0x2e4821(0xee)],()=>percyAppScreenshot['apply'](null,arguments),_0x14062b);};
1
+ const a130_0x1ba5a8=a130_0xaf4f;(function(_0x5c0557,_0xb414fb){const _0x552ac7=a130_0xaf4f,_0x8ae54c=_0x5c0557();while(!![]){try{const _0x4cd3e6=-parseInt(_0x552ac7(0x14d))/0x1+parseInt(_0x552ac7(0x13c))/0x2*(parseInt(_0x552ac7(0x149))/0x3)+parseInt(_0x552ac7(0x12d))/0x4+parseInt(_0x552ac7(0x137))/0x5*(parseInt(_0x552ac7(0x132))/0x6)+parseInt(_0x552ac7(0x14a))/0x7*(-parseInt(_0x552ac7(0x139))/0x8)+parseInt(_0x552ac7(0x146))/0x9+-parseInt(_0x552ac7(0x13b))/0xa;if(_0x4cd3e6===_0xb414fb)break;else _0x8ae54c['push'](_0x8ae54c['shift']());}catch(_0x10d64c){_0x8ae54c['push'](_0x8ae54c['shift']());}}}(a130_0x26af,0x86dd7));const tryRequire=function(_0x2b63e7,_0xa7af52){const _0x55d221={'oomfX':function(_0xdd992a,_0x537bf0){return _0xdd992a(_0x537bf0);}};try{return _0x55d221['oomfX'](require,_0x2b63e7);}catch{return _0xa7af52;}},percySnapshot=tryRequire(a130_0x1ba5a8(0x13e),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a130_0x1ba5a8(0x130)),{getCurrentTestData}=require(a130_0x1ba5a8(0x131)),PerformanceTester=require(a130_0x1ba5a8(0x142)),{PERCY_EVENTS:PerformanceEvents}=require(a130_0x1ba5a8(0x13a)),logger=require(a130_0x1ba5a8(0x14b))[a130_0x1ba5a8(0x144)];percySnapshot&&(exports['snapshot']=async function(){const _0x5ea1a3=a130_0x1ba5a8,_0x3cd15c={'rrcUZ':function(_0x382486,_0x3c9c0c){return _0x382486!==_0x3c9c0c;},'pqdhb':function(_0x413d7f,_0x356dd5){return _0x413d7f>=_0x356dd5;},'Upjax':function(_0x1efc2c){return _0x1efc2c();}};if(global[_0x5ea1a3(0x12a)]&&_0x3cd15c[_0x5ea1a3(0x141)](global[_0x5ea1a3(0x12a)],global['browserstackPercyBestPlatform']))return;const _0x1583e5=_0x3cd15c[_0x5ea1a3(0x135)](arguments['length'],0x2)?arguments[0x1]:'',_0x2ce59a=_0x3cd15c[_0x5ea1a3(0x128)](getCurrentTestData),_0x55d416={};return _0x55d416['name']=_0x1583e5,_0x55d416[_0x5ea1a3(0x14c)]=_0x2ce59a[_0x5ea1a3(0x13f)]||'',_0x55d416[_0x5ea1a3(0x133)]=_0x2ce59a[_0x5ea1a3(0x12f)]||'',_0x55d416[_0x5ea1a3(0x12b)]=global[_0x5ea1a3(0x12a)],await PerformanceTester[_0x5ea1a3(0x14f)](PerformanceEvents[_0x5ea1a3(0x143)],()=>percySnapshot[_0x5ea1a3(0x12e)](null,arguments),_0x55d416);});function a130_0xaf4f(_0xf55fa6,_0x248fca){const _0x26afc2=a130_0x26af();return a130_0xaf4f=function(_0xaf4fd5,_0x5ccc65){_0xaf4fd5=_0xaf4fd5-0x128;let _0x29657c=_0x26afc2[_0xaf4fd5];return _0x29657c;},a130_0xaf4f(_0xf55fa6,_0x248fca);}percyScreenshot?exports[a130_0x1ba5a8(0x134)]=async function(){const _0x16e7a3=a130_0x1ba5a8,_0x35d149={'kaOil':function(_0x12464b,_0x54fe06){return _0x12464b>=_0x54fe06;},'MwmSl':function(_0x2aecd0){return _0x2aecd0();}},_0xed7fcd=_0x35d149[_0x16e7a3(0x145)](arguments[_0x16e7a3(0x136)],0x2)?arguments[0x1]:'',_0x4f470f=_0x35d149[_0x16e7a3(0x14e)](getCurrentTestData),_0x511d04={};return _0x511d04[_0x16e7a3(0x13f)]=_0xed7fcd,_0x511d04['testCase']=_0x4f470f[_0x16e7a3(0x13f)]||'',_0x511d04[_0x16e7a3(0x133)]=_0x4f470f[_0x16e7a3(0x12f)]||'',_0x511d04[_0x16e7a3(0x12b)]=global[_0x16e7a3(0x12a)],await PerformanceTester['measure'](PerformanceEvents[_0x16e7a3(0x140)],()=>percyScreenshot['apply'](null,arguments),_0x511d04);}:exports['screenshot']=()=>{const _0x277c89=a130_0x1ba5a8,_0x2b8849={};_0x2b8849[_0x277c89(0x138)]=_0x277c89(0x148);const _0x4fad58=_0x2b8849;logger[_0x277c89(0x13d)](_0x4fad58['DQbTs']);};exports[a130_0x1ba5a8(0x150)]=async function(){const _0x1a9e5a=a130_0x1ba5a8,_0x3d545f={'ZofKX':function(_0x21e2e6,_0x3c4658){return _0x21e2e6>=_0x3c4658;},'oAxaw':function(_0x5de104){return _0x5de104();}},_0x47036c=_0x3d545f[_0x1a9e5a(0x129)](arguments['length'],0x2)?arguments[0x1]:'',_0x56a5e8=_0x3d545f[_0x1a9e5a(0x147)](getCurrentTestData),_0x3eb635={};return _0x3eb635[_0x1a9e5a(0x13f)]=_0x47036c,_0x3eb635[_0x1a9e5a(0x14c)]=_0x56a5e8['name']||'',_0x3eb635[_0x1a9e5a(0x133)]=_0x56a5e8[_0x1a9e5a(0x12f)]||'',_0x3eb635['platformIndex']=global[_0x1a9e5a(0x12a)],await PerformanceTester[_0x1a9e5a(0x14f)](PerformanceEvents[_0x1a9e5a(0x12c)],()=>percyAppScreenshot['apply'](null,arguments),_0x3eb635);};function a130_0x26af(){const _0x67ed70=['measure','screenshotApp','Upjax','ZofKX','browserstackPlatformIndex','platformIndex','SCREENSHOT_APP','193916uiSorv','apply','uuid','@percy/appium-app','../../helpers/testhub/utils','6BamoXz','thTestCaseExecutionId','screenshot','pqdhb','length','5240770oGKAYl','DQbTs','8OCHoYl','../performance/constants','11063950FzbKZJ','1529026eMNacp','error','@percy/selenium-webdriver','name','SCREENSHOT','rrcUZ','../performance/performance-tester','SNAPSHOT','winstonLogger','kaOil','2488644vDvYaj','oAxaw','Unsupported\x20driver\x20for\x20percy','3YiynPD','626647HUaoNw','../logger','testCase','389339IkPzul','MwmSl'];a130_0x26af=function(){return _0x67ed70;};return a130_0x26af();}
@@ -1 +1 @@
1
- var a130_0x301911=a130_0x1837;function a130_0x1837(_0x152edb,_0xb2e4bd){var _0x479eec=a130_0x479e();return a130_0x1837=function(_0x18378a,_0x606407){_0x18378a=_0x18378a-0x1c7;var _0x318b64=_0x479eec[_0x18378a];return _0x318b64;},a130_0x1837(_0x152edb,_0xb2e4bd);}function a130_0x479e(){var _0x5c5b3f=['2mchBSw','3723860XwjQPS','88yylOrE','6299750sIrvaq','./Percy','5cqyLnY','6ifNoZB','33828432cmePEJ','3203022aRldTt','1340919jgrRFI','6003804RSJUNR','350131pHhMxo'];a130_0x479e=function(){return _0x5c5b3f;};return a130_0x479e();}(function(_0x7f08ef,_0x1d9dfb){var _0x52c5ce=a130_0x1837,_0x291d85=_0x7f08ef();while(!![]){try{var _0x14c954=-parseInt(_0x52c5ce(0x1c7))/0x1+parseInt(_0x52c5ce(0x1c8))/0x2*(parseInt(_0x52c5ce(0x1d0))/0x3)+parseInt(_0x52c5ce(0x1d2))/0x4*(parseInt(_0x52c5ce(0x1cd))/0x5)+parseInt(_0x52c5ce(0x1ce))/0x6*(-parseInt(_0x52c5ce(0x1c9))/0x7)+parseInt(_0x52c5ce(0x1ca))/0x8*(parseInt(_0x52c5ce(0x1d1))/0x9)+parseInt(_0x52c5ce(0x1cb))/0xa+-parseInt(_0x52c5ce(0x1cf))/0xb;if(_0x14c954===_0x1d9dfb)break;else _0x291d85['push'](_0x291d85['shift']());}catch(_0x2bf47e){_0x291d85['push'](_0x291d85['shift']());}}}(a130_0x479e,0xd6dce),module['exports']=require(a130_0x301911(0x1cc)));
1
+ function a131_0x211f(_0x4c1e75,_0x3620d8){var _0x19540a=a131_0x1954();return a131_0x211f=function(_0x211f66,_0x3231c5){_0x211f66=_0x211f66-0x1c4;var _0x5521af=_0x19540a[_0x211f66];return _0x5521af;},a131_0x211f(_0x4c1e75,_0x3620d8);}var a131_0x34626f=a131_0x211f;(function(_0x15e9f5,_0x16f47f){var _0x4b6ba5=a131_0x211f,_0x4a4576=_0x15e9f5();while(!![]){try{var _0x469925=-parseInt(_0x4b6ba5(0x1c4))/0x1+parseInt(_0x4b6ba5(0x1cc))/0x2+parseInt(_0x4b6ba5(0x1cb))/0x3+parseInt(_0x4b6ba5(0x1c6))/0x4+-parseInt(_0x4b6ba5(0x1c7))/0x5+parseInt(_0x4b6ba5(0x1c5))/0x6+parseInt(_0x4b6ba5(0x1c8))/0x7;if(_0x469925===_0x16f47f)break;else _0x4a4576['push'](_0x4a4576['shift']());}catch(_0x20a674){_0x4a4576['push'](_0x4a4576['shift']());}}}(a131_0x1954,0x35440),module[a131_0x34626f(0x1c9)]=require(a131_0x34626f(0x1ca)));function a131_0x1954(){var _0x2f4ca4=['./Percy','862503sWVJEB','589200wszvrV','365484sEUEVv','1261368bMpPUO','54932GrFoWH','1397480bniQxQ','399658etRjkT','exports'];a131_0x1954=function(){return _0x2f4ca4;};return a131_0x1954();}
@@ -1 +1 @@
1
- const a131_0x2e394f=a131_0xb572;function a131_0xb572(_0x3f3ecc,_0x31c8dd){const _0x4c2e19=a131_0x4c2e();return a131_0xb572=function(_0xb57276,_0x1b1b81){_0xb57276=_0xb57276-0xd8;let _0x1a302f=_0x4c2e19[_0xb57276];return _0x1a302f;},a131_0xb572(_0x3f3ecc,_0x31c8dd);}function a131_0x4c2e(){const _0x39820f=['getBestPlatformForPercySnapshot','deviceName','edge','YgxZw','../performance/constants','browserstackSessionName','manual','winstonLogger','20kUJnoC','./PercyCaptureModes','STOP','increment','ISief','23032lYmGTt','measureWrapper','prototype','chrome','screenshotApp','browserName','TnPev','browser','Starting\x20percy','reduce','toLowerCase','AUTO_CAPTURE','forEach','LQZtN','dqpOV','vDrFp','stop','./Percy','Stopping\x20percy','driver','apply','then','error','./PercySDK','dRQAP','screenshot','auto','2007tUvPDb','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','DSUca','firefox','debug','gkclJ','isUndefined','browserstackPercyMap','Error\x20patching\x20','dzfXd','280923VruLZQ','stopPercy','96895qyBzhL','4520978ykUqaR','getName','29844JhndxX','1888130qAJdjv','overrideXforPercy','36MZSGig','763GmHhMl','patchDriverPercy','safari','startPercy','../helper','browserStackPercyOptions','percyAutoCapture','init','\x20for\x20percy\x20','152667PQmlYH','percyCaptureMode','element','percy','qrcQY','platforms','../performance/performance-tester'];a131_0x4c2e=function(){return _0x39820f;};return a131_0x4c2e();}(function(_0x41a7f3,_0x49e0ad){const _0x237aeb=a131_0xb572,_0x37f629=_0x41a7f3();while(!![]){try{const _0x21b63e=parseInt(_0x237aeb(0x115))/0x1+parseInt(_0x237aeb(0xeb))/0x2*(parseInt(_0x237aeb(0xdc))/0x3)+parseInt(_0x237aeb(0x11d))/0x4*(parseInt(_0x237aeb(0x117))/0x5)+parseInt(_0x237aeb(0x11a))/0x6*(-parseInt(_0x237aeb(0x11e))/0x7)+-parseInt(_0x237aeb(0xf0))/0x8*(parseInt(_0x237aeb(0x10b))/0x9)+parseInt(_0x237aeb(0x11b))/0xa+parseInt(_0x237aeb(0x118))/0xb;if(_0x21b63e===_0x49e0ad)break;else _0x37f629['push'](_0x37f629['shift']());}catch(_0x1d4cfa){_0x37f629['push'](_0x37f629['shift']());}}}(a131_0x4c2e,0x5cbcc));const Percy=require(a131_0x2e394f(0x101)),PercySDK=require(a131_0x2e394f(0x107)),PercyCaptureModes=require(a131_0x2e394f(0xec)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require('../logger')[a131_0x2e394f(0xea)],helper=require(a131_0x2e394f(0x122)),PerformanceTester=require(a131_0x2e394f(0xe2)),{PERCY_EVENTS:PerformanceEvents}=require(a131_0x2e394f(0xe7));exports[a131_0x2e394f(0x121)]=PerformanceTester[a131_0x2e394f(0xf1)](PerformanceEvents['START'],async _0xa56135=>{const _0x4ea752=a131_0x2e394f,_0x1c130b={};_0x1c130b['Rzjbs']=_0x4ea752(0xf8);const _0x5f54bd=_0x1c130b;logger[_0x4ea752(0x10f)](_0x5f54bd['Rzjbs']);const _0x294a40=new Percy(_0xa56135),_0x5e66a5=await _0x294a40['start']();if(_0x5e66a5)return _0x294a40;return null;}),exports[a131_0x2e394f(0x116)]=PerformanceTester['measureWrapper'](PerformanceEvents[a131_0x2e394f(0xed)],async _0x26638c=>{const _0xd0f959=a131_0x2e394f,_0x1ddc6f={};_0x1ddc6f[_0xd0f959(0x110)]=_0xd0f959(0x102);const _0x2eec2a=_0x1ddc6f;return logger[_0xd0f959(0x10f)](_0x2eec2a[_0xd0f959(0x110)]),_0x26638c[_0xd0f959(0x100)]();}),exports[a131_0x2e394f(0xe3)]=_0x4ac076=>{const _0x594244=a131_0x2e394f,_0x65517={};_0x65517[_0x594244(0xef)]=function(_0x2d3219,_0x712da0){return _0x2d3219<_0x712da0;};const _0xe583a6=_0x65517,_0x4dae65={};_0x4dae65[_0x594244(0xf3)]=0x0,_0x4dae65[_0x594244(0x10e)]=0x1,_0x4dae65[_0x594244(0xe5)]=0x2,_0x4dae65[_0x594244(0x120)]=0x3;const _0x5af9e3=_0x4dae65;return _0x4ac076[_0x594244(0xf9)]((_0x5d3649,_0x20bdf1,_0x2ff571)=>{const _0x22f91=_0x594244,_0x2133ee=_0x4ac076[_0x5d3649];if(_0x20bdf1[_0x22f91(0xe4)])return _0x5d3649;if(_0x2133ee[_0x22f91(0xe4)])return _0x2ff571;const _0x296239=_0x20bdf1[_0x22f91(0xf7)]?_0x20bdf1[_0x22f91(0xf7)]:_0x20bdf1[_0x22f91(0xf5)];if(_0x296239&&_0xe583a6['ISief'](_0x5af9e3[_0x296239['toLowerCase']()],_0x5af9e3[_0x296239[_0x22f91(0xfa)]()]))return _0x2ff571;return _0x5d3649;},0x0);},exports[a131_0x2e394f(0xd9)]=PerformanceTester[a131_0x2e394f(0xf1)](PerformanceEvents[a131_0x2e394f(0xfb)],async(_0x401957,_0x3bb0ab,_0x3a4865)=>{const _0x1f1fc3=a131_0x2e394f,_0x1b272c={};_0x1b272c['LQZtN']=_0x1f1fc3(0x10c);const _0xcc3442=_0x1b272c,_0x51adae=_0x401957[_0x1f1fc3(0x112)];if(helper[_0x1f1fc3(0x111)](_0x401957[_0x1f1fc3(0xe8)])){logger[_0x1f1fc3(0x10f)](_0xcc3442[_0x1f1fc3(0xfd)]);return;}const _0xde9abc=_0x51adae[_0x1f1fc3(0x119)](_0x401957[_0x1f1fc3(0xe8)],_0x3bb0ab);_0x3a4865['app']?await PercySDK[_0x1f1fc3(0xf4)](_0x401957,_0xde9abc):await PercySDK[_0x1f1fc3(0x109)](_0x401957,_0xde9abc),_0x51adae[_0x1f1fc3(0xee)](_0x401957[_0x1f1fc3(0xe8)],_0x3bb0ab);}),exports[a131_0x2e394f(0x11f)]=(_0x22d20d,_0x641a55,_0x3b8af3)=>{const _0x414977=a131_0x2e394f,_0x128f70={};_0x128f70[_0x414977(0x10d)]=_0x414977(0xd8),_0x128f70[_0x414977(0x114)]=_0x414977(0xdf),_0x128f70['fkQNZ']=function(_0x181e74,_0x309b33){return _0x181e74!==_0x309b33;},_0x128f70[_0x414977(0x108)]=_0x414977(0xe9);const _0x236081=_0x128f70;if(!helper['nestedKeyValue'](_0x3b8af3,[_0x236081[_0x414977(0x10d)],_0x236081[_0x414977(0x114)]]))return;if(_0x3b8af3[_0x414977(0xd8)][_0x414977(0xdf)]&&_0x3b8af3[_0x414977(0xd8)][_0x414977(0xdd)]&&_0x236081['fkQNZ'](_0x3b8af3[_0x414977(0xd8)][_0x414977(0xdd)],_0x236081[_0x414977(0x108)])&&!_0x22d20d[_0x414977(0x112)]){global['browserstackSessionName']&&(_0x22d20d[_0x414977(0xe8)]=global[_0x414977(0xe8)]),_0x22d20d[_0x414977(0x112)]=new PercyCaptureMap();const _0x5e8db7=PercyCaptureModes[_0x3b8af3['browserStackPercyOptions'][_0x414977(0xdd)]];_0x5e8db7[_0x414977(0x103)]&&_0x5e8db7[_0x414977(0x103)][_0x414977(0xfc)](_0x5ae9eb=>this[_0x414977(0x11c)](_0x22d20d,_0x5ae9eb,_0x3b8af3)),_0x5e8db7[_0x414977(0xde)]&&_0x5e8db7[_0x414977(0xde)]['forEach'](_0x11fe51=>{const _0x485feb=_0x414977;if(_0x641a55[_0x485feb(0xf2)]['patch'+_0x11fe51])return;_0x641a55[_0x485feb(0xf2)]['patch'+_0x11fe51]=!![];const _0x23feca=_0x641a55[_0x485feb(0xf2)][_0x11fe51];_0x641a55[_0x485feb(0xf2)][_0x11fe51]=async function(){const _0xb79c4e=_0x485feb;let _0x1c7c83=_0x23feca[_0xb79c4e(0x104)](this,arguments);_0x1c7c83&&_0x1c7c83[_0xb79c4e(0x105)]&&(_0x1c7c83=await _0x1c7c83);try{const _0x22ca10=this['getDriver']();await exports[_0xb79c4e(0xd9)](_0x22ca10,_0x11fe51,_0x3b8af3);}catch(_0x434576){logger[_0xb79c4e(0x106)](_0xb79c4e(0x113)+_0x11fe51+_0xb79c4e(0xdb)+_0x434576);}return _0x1c7c83;};});}},exports[a131_0x2e394f(0x11c)]=function(_0x160fba,_0x273e37,_0x277793){const _0xbff143=a131_0x2e394f,_0x56c3a4={};_0x56c3a4[_0xbff143(0xe6)]=function(_0x5c1379,_0xcee799){return _0x5c1379+_0xcee799;},_0x56c3a4[_0xbff143(0xff)]='patch',_0x56c3a4[_0xbff143(0xf6)]=function(_0x1eed5a,_0x5b791c){return _0x1eed5a+_0x5b791c;},_0x56c3a4[_0xbff143(0xe0)]=_0xbff143(0xda);const _0x5bfc82=_0x56c3a4,_0x4f6a76=_0x5bfc82['YgxZw'](_0x5bfc82[_0xbff143(0xff)],_0x273e37),_0x34670f=_0x5bfc82[_0xbff143(0xf6)](_0x5bfc82[_0xbff143(0xe0)],_0x273e37),_0x4a0d72=this;if(_0x160fba[_0x4f6a76]||!_0x160fba[_0x273e37])return;_0x160fba[_0x4f6a76]=!![],_0x160fba[_0x34670f]=_0x160fba[_0x273e37],_0x160fba[_0x273e37]=async()=>{const _0x1c29bd=_0xbff143;try{await _0x4a0d72['percyAutoCapture'](_0x160fba,_0x273e37,_0x277793);}catch(_0x25b580){logger[_0x1c29bd(0x106)](_0x1c29bd(0x113)+_0x273e37+_0x1c29bd(0xdb)+_0x25b580);}return await _0x160fba[_0x34670f][_0x1c29bd(0x104)](_0x160fba,arguments);};},exports['getPercyOptions']=_0xfa9677=>{const _0x1886ff=a131_0x2e394f,_0xbc21e9={};_0xbc21e9[_0x1886ff(0xfe)]=_0x1886ff(0x10a);const _0x1f8ded=_0xbc21e9,_0x857528={};_0x857528[_0x1886ff(0xdf)]=_0xfa9677[_0x1886ff(0xdf)],_0x857528[_0x1886ff(0xdd)]=_0xfa9677[_0x1886ff(0xdd)]||_0x1f8ded[_0x1886ff(0xfe)];const _0x61e1e5=_0x857528;_0xfa9677['percy']&&(_0x61e1e5['browserstackPercyBestPlatform']=exports[_0x1886ff(0xe3)](_0xfa9677[_0x1886ff(0xe1)]));;return _0x61e1e5;};
1
+ const a132_0x16ca1=a132_0x5cff;(function(_0x188e05,_0x72e5cc){const _0x2a89cb=a132_0x5cff,_0x253308=_0x188e05();while(!![]){try{const _0x481253=parseInt(_0x2a89cb(0x204))/0x1+parseInt(_0x2a89cb(0x1dd))/0x2+-parseInt(_0x2a89cb(0x200))/0x3*(-parseInt(_0x2a89cb(0x21d))/0x4)+parseInt(_0x2a89cb(0x208))/0x5+parseInt(_0x2a89cb(0x1df))/0x6*(-parseInt(_0x2a89cb(0x1d7))/0x7)+parseInt(_0x2a89cb(0x1ee))/0x8+parseInt(_0x2a89cb(0x1e1))/0x9*(-parseInt(_0x2a89cb(0x207))/0xa);if(_0x481253===_0x72e5cc)break;else _0x253308['push'](_0x253308['shift']());}catch(_0x1330dc){_0x253308['push'](_0x253308['shift']());}}}(a132_0x431e,0x82d88));function a132_0x431e(){const _0x474a1c=['wCNxk','then','manual','apply','\x20for\x20percy\x20','AVPhw','prototype','error','patch','5353200prnwOk','browserstackPercyBestPlatform','CyctG','browserStackPercyOptions','percyAutoCapture','safari','measureWrapper','eJPDO','getBestPlatformForPercySnapshot','aYrzm','./PercyCaptureMap','sMxYY','screenshotApp','platforms','toLowerCase','AUTO_CAPTURE','xptMN','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','179637fRnpwe','winstonLogger','MjIUX','START','801054RpfbeR','startPercy','uMwqn','11824610vzwxRe','3101315oAzUyW','cLfCr','percy','firefox','getName','../performance/performance-tester','auto','increment','nestedKeyValue','stopPercy','edge','Error\x20patching\x20','browser','forEach','DzOgX','getDriver','patchDriverPercy','Starting\x20percy','isUndefined','stop','overrideXforPercy','52xhKUUh','driver','app','element','7QfjBBI','debug','browserName','browserstackSessionName','../logger','percyCaptureMode','2106938fNNMKj','FEdnE','6128982tNlPvp','./PercySDK','18WmxXSq','browserstackPercyMap','deviceName','init'];a132_0x431e=function(){return _0x474a1c;};return a132_0x431e();}const Percy=require('./Percy'),PercySDK=require(a132_0x16ca1(0x1e0)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a132_0x16ca1(0x1f8)),logger=require(a132_0x16ca1(0x1db))[a132_0x16ca1(0x201)],helper=require('../helper'),PerformanceTester=require(a132_0x16ca1(0x20d)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');function a132_0x5cff(_0x2234ed,_0x349994){const _0x431e3e=a132_0x431e();return a132_0x5cff=function(_0x5cff6c,_0x1578bf){_0x5cff6c=_0x5cff6c-0x1d5;let _0x69aa37=_0x431e3e[_0x5cff6c];return _0x69aa37;},a132_0x5cff(_0x2234ed,_0x349994);}exports[a132_0x16ca1(0x205)]=PerformanceTester[a132_0x16ca1(0x1f4)](PerformanceEvents[a132_0x16ca1(0x203)],async _0x5b70c6=>{const _0x1e786f=a132_0x16ca1,_0x517124={};_0x517124[_0x1e786f(0x1de)]=_0x1e786f(0x219);const _0x25a904=_0x517124;logger[_0x1e786f(0x1d8)](_0x25a904['FEdnE']);const _0x280b92=new Percy(_0x5b70c6),_0x3941d2=await _0x280b92['start']();if(_0x3941d2)return _0x280b92;return null;}),exports[a132_0x16ca1(0x211)]=PerformanceTester[a132_0x16ca1(0x1f4)](PerformanceEvents['STOP'],async _0x2fd4b5=>{const _0x118caf=a132_0x16ca1,_0x275bcf={};_0x275bcf['MjIUX']='Stopping\x20percy';const _0x1f31e9=_0x275bcf;return logger['debug'](_0x1f31e9[_0x118caf(0x202)]),_0x2fd4b5[_0x118caf(0x21b)]();}),exports[a132_0x16ca1(0x1f6)]=_0x1e2ab0=>{const _0x23c1c5=a132_0x16ca1,_0xfaadc1={};_0xfaadc1[_0x23c1c5(0x1fe)]=function(_0x596614,_0x11ee46){return _0x596614<_0x11ee46;};const _0xc37d10=_0xfaadc1,_0x57708a={};_0x57708a['chrome']=0x0,_0x57708a[_0x23c1c5(0x20b)]=0x1,_0x57708a[_0x23c1c5(0x212)]=0x2,_0x57708a[_0x23c1c5(0x1f3)]=0x3;const _0x4a3a4e=_0x57708a;return _0x1e2ab0['reduce']((_0x20d660,_0x54d6ce,_0x161631)=>{const _0x53363b=_0x23c1c5,_0x49e60c=_0x1e2ab0[_0x20d660];if(_0x54d6ce['deviceName'])return _0x20d660;if(_0x49e60c[_0x53363b(0x1e3)])return _0x161631;const _0x1d1631=_0x54d6ce[_0x53363b(0x214)]?_0x54d6ce['browser']:_0x54d6ce[_0x53363b(0x1d9)];if(_0x1d1631&&_0xc37d10['xptMN'](_0x4a3a4e[_0x1d1631[_0x53363b(0x1fc)]()],_0x4a3a4e[_0x1d1631[_0x53363b(0x1fc)]()]))return _0x161631;return _0x20d660;},0x0);},exports[a132_0x16ca1(0x1f2)]=PerformanceTester[a132_0x16ca1(0x1f4)](PerformanceEvents[a132_0x16ca1(0x1fd)],async(_0x30da9c,_0x1749eb,_0x254f44)=>{const _0x3f976f=a132_0x16ca1,_0x848067={};_0x848067[_0x3f976f(0x1ea)]=_0x3f976f(0x1ff);const _0x4de6fb=_0x848067,_0x419ebf=_0x30da9c[_0x3f976f(0x1e2)];if(helper[_0x3f976f(0x21a)](_0x30da9c['browserstackSessionName'])){logger[_0x3f976f(0x1d8)](_0x4de6fb[_0x3f976f(0x1ea)]);return;}const _0x3c0a96=_0x419ebf[_0x3f976f(0x20c)](_0x30da9c[_0x3f976f(0x1da)],_0x1749eb);_0x254f44[_0x3f976f(0x1d5)]?await PercySDK[_0x3f976f(0x1fa)](_0x30da9c,_0x3c0a96):await PercySDK['screenshot'](_0x30da9c,_0x3c0a96),_0x419ebf[_0x3f976f(0x20f)](_0x30da9c['browserstackSessionName'],_0x1749eb);}),exports[a132_0x16ca1(0x218)]=(_0x5a6418,_0x2558c1,_0x2102e9)=>{const _0x398923=a132_0x16ca1,_0x46f8bb={};_0x46f8bb[_0x398923(0x1f5)]=_0x398923(0x1f1),_0x46f8bb[_0x398923(0x1f9)]=_0x398923(0x20a),_0x46f8bb[_0x398923(0x209)]=function(_0x1b286c,_0x300ece){return _0x1b286c!==_0x300ece;},_0x46f8bb[_0x398923(0x1e5)]=_0x398923(0x1e7);const _0x18ecc4=_0x46f8bb;if(!helper[_0x398923(0x210)](_0x2102e9,[_0x18ecc4[_0x398923(0x1f5)],_0x18ecc4['sMxYY']]))return;if(_0x2102e9[_0x398923(0x1f1)][_0x398923(0x20a)]&&_0x2102e9[_0x398923(0x1f1)][_0x398923(0x1dc)]&&_0x18ecc4[_0x398923(0x209)](_0x2102e9[_0x398923(0x1f1)]['percyCaptureMode'],_0x18ecc4[_0x398923(0x1e5)])&&!_0x5a6418[_0x398923(0x1e2)]){global[_0x398923(0x1da)]&&(_0x5a6418[_0x398923(0x1da)]=global['browserstackSessionName']),_0x5a6418[_0x398923(0x1e2)]=new PercyCaptureMap();const _0x53a1bf=PercyCaptureModes[_0x2102e9[_0x398923(0x1f1)][_0x398923(0x1dc)]];_0x53a1bf[_0x398923(0x21e)]&&_0x53a1bf['driver'][_0x398923(0x215)](_0x1aafe9=>this[_0x398923(0x21c)](_0x5a6418,_0x1aafe9,_0x2102e9)),_0x53a1bf[_0x398923(0x1d6)]&&_0x53a1bf[_0x398923(0x1d6)][_0x398923(0x215)](_0xcf248d=>{const _0x7e3f26=_0x398923;if(_0x2558c1[_0x7e3f26(0x1eb)][_0x7e3f26(0x1ed)+_0xcf248d])return;_0x2558c1[_0x7e3f26(0x1eb)]['patch'+_0xcf248d]=!![];const _0x4b2f01=_0x2558c1[_0x7e3f26(0x1eb)][_0xcf248d];_0x2558c1[_0x7e3f26(0x1eb)][_0xcf248d]=async function(){const _0x102cf1=_0x7e3f26;let _0x2c9f7f=_0x4b2f01['apply'](this,arguments);_0x2c9f7f&&_0x2c9f7f[_0x102cf1(0x1e6)]&&(_0x2c9f7f=await _0x2c9f7f);try{const _0x1431e7=this[_0x102cf1(0x217)]();await exports[_0x102cf1(0x1f2)](_0x1431e7,_0xcf248d,_0x2102e9);}catch(_0xfd7b79){logger['error'](_0x102cf1(0x213)+_0xcf248d+_0x102cf1(0x1e9)+_0xfd7b79);}return _0x2c9f7f;};});}},exports[a132_0x16ca1(0x21c)]=function(_0x5ada24,_0x112c69,_0x38412e){const _0x2ef397=a132_0x16ca1,_0x55e205={};_0x55e205['uMwqn']=function(_0x258198,_0xe35518){return _0x258198+_0xe35518;},_0x55e205[_0x2ef397(0x1f7)]=_0x2ef397(0x1ed),_0x55e205[_0x2ef397(0x216)]=_0x2ef397(0x1e4);const _0x31a321=_0x55e205,_0x427d9d=_0x31a321['uMwqn'](_0x31a321[_0x2ef397(0x1f7)],_0x112c69),_0x3d8671=_0x31a321[_0x2ef397(0x206)](_0x31a321[_0x2ef397(0x216)],_0x112c69),_0x12ad7f=this;if(_0x5ada24[_0x427d9d]||!_0x5ada24[_0x112c69])return;_0x5ada24[_0x427d9d]=!![],_0x5ada24[_0x3d8671]=_0x5ada24[_0x112c69],_0x5ada24[_0x112c69]=async()=>{const _0x5892f5=_0x2ef397;try{await _0x12ad7f[_0x5892f5(0x1f2)](_0x5ada24,_0x112c69,_0x38412e);}catch(_0x455342){logger[_0x5892f5(0x1ec)](_0x5892f5(0x213)+_0x112c69+_0x5892f5(0x1e9)+_0x455342);}return await _0x5ada24[_0x3d8671][_0x5892f5(0x1e8)](_0x5ada24,arguments);};},exports['getPercyOptions']=_0x23fca7=>{const _0x4114e3=a132_0x16ca1,_0x42a49b={};_0x42a49b[_0x4114e3(0x1f0)]=_0x4114e3(0x20e);const _0x1b7ecf=_0x42a49b,_0x3d1dec={};_0x3d1dec['percy']=_0x23fca7['percy'],_0x3d1dec['percyCaptureMode']=_0x23fca7[_0x4114e3(0x1dc)]||_0x1b7ecf['CyctG'];const _0x5ad3b9=_0x3d1dec;_0x23fca7[_0x4114e3(0x20a)]&&(_0x5ad3b9[_0x4114e3(0x1ef)]=exports[_0x4114e3(0x1f6)](_0x23fca7[_0x4114e3(0x1fb)]));;return _0x5ad3b9;};
@@ -1 +1 @@
1
- const a132_0x26ef43=a132_0x28f6;function a132_0x5020(){const _0x15d82a=[':idle-timeout','sdk:pre-test','STOP','START','SDK_O11Y','POST_EXECUTE','TESTHUB_EVENTS',':stop','SDK_HOOK','O11y_EVENTS','APP_AUOTMATE_EVENTS','sdk:observabilityConfig','2277399UcAxSw',':ci-artifacts','A11Y_EVENTS','SCREENSHOT','APP_UPLOAD','PRE_EXECUTE','SDK_FIND_NEAREST_HUB','765667kXXyYQ','SDK_CLI_ENQUEUE_TEST_EVENT','sdk:driverInit','SDK_TURBOSCALE',':download','sdk:app-automate','AUTO_CAPTURE','sdk:aiSelfHealStep','sdk:testFrameworkEvent',':session-name','AFTER_ALL',':before','sdk:hook','SDK_OBSERVABILITY_CONFIG','LOCAL_STOP','sdk:test','SESSION_STATUS',':app-upload','DRIVER_EVENT','KEEP_ALIVE',':session-annotation','BEFORE',':save-results','SDK_CLI_START','sdk:proxy-setup','PERCY_EVENTS','4410315UBycrY',':print-buildlink',':sync','sdk:testSessionEvent','sdk:automate',':driver-manage','sdk:aiSelfHealGetResult',':after-each','SDK_CLI_ON_STOP',':driver-takeScreenShot','BEFORE_ALL','sdk:setup','SDK_CLI_CHECK_UPDATE',':screenshot-app','SESSION_ANNOTATION',':get-accessibility-results-summary','GET','SDK_SETUP','sdk:automationFrameworkStop','HUB_MANAGEMENT','2010820DaxEsa',':auto-capture','SDK_TEST_SESSION_EVENT','SDK_CLI_LOG_CREATED_EVENT',':before-all',':snapshot','PRINT_BUILDLINK','sdk:onStop','sdk:accessibilityConfig','QUIT',':after-all','sdk:cli:start',':driver-performscan',':start','4012125AFWclJ','SDK_CLI_ON_CONNECT',':keep-alive','sdk:post-test',':hub-management','SDK_AUTOMATION_FRAMEWORK_INIT','DRIVER_MANAGE','SDK_AUTOMATE','sdk:cli:check-update',':pre-execute','SDK_POST_TEST','TURBOSCALE_EVENTS',':get','SDK_DRIVER','7554505JhkPhW','SESSION_NAME',':session-status','IDLE_TIMEOUT','SDK_CLI_DOWNLOAD','2tGWKYY','SDK_CONNECT_BIN_SESSION','SDK_AUTO_CAPTURE','SAVE_RESULTS','SDK_PRE_INITIALIZE','sdk:findNearestHub','sdk:cli:enqueueTestEvent','SDK_TEST','GET_RESULTS_SUMMARY','SCREENSHOT_APP','3297472RJWjSJ','6wzorLZ','sdk:cli:logCreatedEvent',':post-execute','SDK_PRE_TEST','AUTOMATE_EVENTS','SDK_TESTHUB','SDK_A11Y','sdk:cli:on-bootstrap','LOCAL_START','sdk:turboscale','SDK_PERCY','sdk:driver:post-initialization','HOOK_EVENTS','SYNC',':local-stop','sdk:cleanup','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_ON_STOP','sdk:driver:pre-initialization','SDK_APP_AUTOMATE','SDK_POST_INITIALIZE'];a132_0x5020=function(){return _0x15d82a;};return a132_0x5020();}(function(_0x25e355,_0x2d47f4){const _0x371f08=a132_0x28f6,_0x452978=_0x25e355();while(!![]){try{const _0x3e975e=-parseInt(_0x371f08(0x1ad))/0x1*(-parseInt(_0x371f08(0x1fc))/0x2)+parseInt(_0x371f08(0x1a6))/0x3+-parseInt(_0x371f08(0x1db))/0x4+parseInt(_0x371f08(0x1e9))/0x5+-parseInt(_0x371f08(0x207))/0x6*(parseInt(_0x371f08(0x1f7))/0x7)+-parseInt(_0x371f08(0x206))/0x8+parseInt(_0x371f08(0x1c7))/0x9;if(_0x3e975e===_0x2d47f4)break;else _0x452978['push'](_0x452978['shift']());}catch(_0x30dc01){_0x452978['push'](_0x452978['shift']());}}}(a132_0x5020,0xc8f74));const a132_0x13676d={};a132_0x13676d[a132_0x26ef43(0x1d8)]=a132_0x26ef43(0x1d2),a132_0x13676d['SDK_CLEANUP']=a132_0x26ef43(0x194),a132_0x13676d[a132_0x26ef43(0x20a)]=a132_0x26ef43(0x19b),a132_0x13676d[a132_0x26ef43(0x203)]=a132_0x26ef43(0x1bc),a132_0x13676d[a132_0x26ef43(0x1f3)]=a132_0x26ef43(0x1ec),a132_0x13676d[a132_0x26ef43(0x1a2)]=a132_0x26ef43(0x1b9),a132_0x13676d[a132_0x26ef43(0x1f6)]='sdk:driver',a132_0x13676d['SDK_A11Y']='sdk:a11y',a132_0x13676d[a132_0x26ef43(0x19e)]='sdk:o11y',a132_0x13676d[a132_0x26ef43(0x1fe)]='sdk:auto-capture',a132_0x13676d['SDK_PROXY_SETUP']=a132_0x26ef43(0x1c5),a132_0x13676d[a132_0x26ef43(0x20c)]='sdk:testhub',a132_0x13676d[a132_0x26ef43(0x1f0)]=a132_0x26ef43(0x1cb),a132_0x13676d[a132_0x26ef43(0x198)]=a132_0x26ef43(0x1b2),a132_0x13676d['SDK_TURBOSCALE']=a132_0x26ef43(0x210),a132_0x13676d[a132_0x26ef43(0x211)]='sdk:percy',a132_0x13676d[a132_0x26ef43(0x200)]=a132_0x26ef43(0x197),a132_0x13676d[a132_0x26ef43(0x199)]=a132_0x26ef43(0x212),a132_0x13676d[a132_0x26ef43(0x1c4)]=a132_0x26ef43(0x1e6),a132_0x13676d[a132_0x26ef43(0x1fb)]='sdk:cli:download',a132_0x13676d[a132_0x26ef43(0x1d3)]=a132_0x26ef43(0x1f1),a132_0x13676d['SDK_CLI_ON_BOOTSTRAP']=a132_0x26ef43(0x20e),a132_0x13676d[a132_0x26ef43(0x1ea)]='sdk:cli:on-connect',a132_0x13676d[a132_0x26ef43(0x1cf)]='sdk:cli:on-stop',a132_0x13676d['SDK_START_BIN_SESSION']='sdk:startBinSession',a132_0x13676d[a132_0x26ef43(0x1fd)]='sdk:connectBinSession',a132_0x13676d['SDK_DRIVER_INIT']=a132_0x26ef43(0x1af),a132_0x13676d[a132_0x26ef43(0x1ac)]=a132_0x26ef43(0x201),a132_0x13676d[a132_0x26ef43(0x1ee)]='sdk:automationFrameworkInit',a132_0x13676d['SDK_AUTOMATION_FRAMEWORK_START']='sdk:automationFrameworkStart',a132_0x13676d['SDK_ACCESSIBILITY_CONFIG']=a132_0x26ef43(0x1e3),a132_0x13676d[a132_0x26ef43(0x1ba)]=a132_0x26ef43(0x1a5),a132_0x13676d['SDK_AI_SELF_HEAL_STEP']=a132_0x26ef43(0x1b4),a132_0x13676d['SDK_AI_SELF_HEAL_GET_RESULT']=a132_0x26ef43(0x1cd),a132_0x13676d['SDK_TEST_FRAMEWORK_EVENT']=a132_0x26ef43(0x1b5),a132_0x13676d[a132_0x26ef43(0x1dd)]=a132_0x26ef43(0x1ca),a132_0x13676d[a132_0x26ef43(0x1de)]=a132_0x26ef43(0x208),a132_0x13676d[a132_0x26ef43(0x1ae)]=a132_0x26ef43(0x202),a132_0x13676d[a132_0x26ef43(0x195)]=a132_0x26ef43(0x1d9),a132_0x13676d[a132_0x26ef43(0x196)]=a132_0x26ef43(0x1e2);function a132_0x28f6(_0x5eb7af,_0x181c28){const _0x502019=a132_0x5020();return a132_0x28f6=function(_0x28f6a,_0x14c3ce){_0x28f6a=_0x28f6a-0x192;let _0x5a9e1f=_0x502019[_0x28f6a];return _0x5a9e1f;},a132_0x28f6(_0x5eb7af,_0x181c28);}const SDK_EVENTS=a132_0x13676d,a132_0x54ed44={};a132_0x54ed44['EVENTS']=SDK_EVENTS,a132_0x54ed44[a132_0x26ef43(0x1a0)]={},a132_0x54ed44[a132_0x26ef43(0x20b)]={},a132_0x54ed44[a132_0x26ef43(0x1a8)]={},a132_0x54ed44[a132_0x26ef43(0x1c6)]={},a132_0x54ed44[a132_0x26ef43(0x1a3)]={},a132_0x54ed44[a132_0x26ef43(0x213)]={},a132_0x54ed44[a132_0x26ef43(0x1f4)]={},a132_0x54ed44[a132_0x26ef43(0x1a4)]={},a132_0x54ed44[a132_0x26ef43(0x1bf)]={},a132_0x54ed44[a132_0x26ef43(0x1a0)][a132_0x26ef43(0x19d)]=SDK_EVENTS[a132_0x26ef43(0x20c)]+a132_0x26ef43(0x1e8),a132_0x54ed44[a132_0x26ef43(0x1a0)]['STOP']=SDK_EVENTS['SDK_TESTHUB']+a132_0x26ef43(0x1a1),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1c0)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1eb),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1da)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1ed),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x20f)]=SDK_EVENTS['SDK_AUTOMATE']+':local-start',a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1bb)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x193),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1ef)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x1cc),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1f8)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x1b6),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1bd)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x1f9),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1d5)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1c1),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1fa)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x19a),a132_0x54ed44[a132_0x26ef43(0x20b)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1a7),a132_0x54ed44[a132_0x26ef43(0x20b)]['PRINT_BUILDLINK']=SDK_EVENTS[a132_0x26ef43(0x1f0)]+':print-buildlink',a132_0x54ed44[a132_0x26ef43(0x1a8)]['PERFORM_SCAN']=SDK_EVENTS['SDK_A11Y']+a132_0x26ef43(0x1e7),a132_0x54ed44[a132_0x26ef43(0x1a8)][a132_0x26ef43(0x1ff)]=SDK_EVENTS[a132_0x26ef43(0x20d)]+a132_0x26ef43(0x1c3),a132_0x54ed44[a132_0x26ef43(0x1a8)]['GET_RESULTS']=SDK_EVENTS[a132_0x26ef43(0x20d)]+':get-accessibility-results',a132_0x54ed44[a132_0x26ef43(0x1a8)][a132_0x26ef43(0x204)]=SDK_EVENTS[a132_0x26ef43(0x20d)]+a132_0x26ef43(0x1d6),a132_0x54ed44[a132_0x26ef43(0x1c6)]['DOWNLOAD']=SDK_EVENTS[a132_0x26ef43(0x211)]+a132_0x26ef43(0x1b1),a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x1a9)]=SDK_EVENTS[a132_0x26ef43(0x211)]+':screenshot',a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x19d)]=SDK_EVENTS[a132_0x26ef43(0x211)]+a132_0x26ef43(0x1e8),a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x19c)]=SDK_EVENTS[a132_0x26ef43(0x211)]+':stop',a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x1b3)]=SDK_EVENTS['SDK_PERCY']+a132_0x26ef43(0x1dc),a132_0x54ed44[a132_0x26ef43(0x1c6)]['SNAPSHOT']=SDK_EVENTS['SDK_PERCY']+a132_0x26ef43(0x1e0),a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x205)]=SDK_EVENTS['SDK_PERCY']+a132_0x26ef43(0x1d4),a132_0x54ed44[a132_0x26ef43(0x1a3)][a132_0x26ef43(0x192)]=SDK_EVENTS[a132_0x26ef43(0x19e)]+a132_0x26ef43(0x1c9),a132_0x54ed44[a132_0x26ef43(0x1a3)]['TAKE_SCREENSHOT']=SDK_EVENTS[a132_0x26ef43(0x19e)]+a132_0x26ef43(0x1d0),a132_0x54ed44[a132_0x26ef43(0x1a3)]['PRINT_BUILDLINK']=SDK_EVENTS[a132_0x26ef43(0x19e)]+a132_0x26ef43(0x1c8),a132_0x54ed44[a132_0x26ef43(0x213)]['BEFORE_EACH']=SDK_EVENTS[a132_0x26ef43(0x1a2)]+':before-each',a132_0x54ed44[a132_0x26ef43(0x213)]['AFTER_EACH']=SDK_EVENTS[a132_0x26ef43(0x1a2)]+a132_0x26ef43(0x1ce),a132_0x54ed44[a132_0x26ef43(0x213)][a132_0x26ef43(0x1b7)]=SDK_EVENTS['SDK_HOOK']+a132_0x26ef43(0x1e5),a132_0x54ed44[a132_0x26ef43(0x213)][a132_0x26ef43(0x1d1)]=SDK_EVENTS[a132_0x26ef43(0x1a2)]+a132_0x26ef43(0x1df),a132_0x54ed44[a132_0x26ef43(0x213)][a132_0x26ef43(0x1c2)]=SDK_EVENTS[a132_0x26ef43(0x1a2)]+a132_0x26ef43(0x1b8),a132_0x54ed44[a132_0x26ef43(0x213)]['AFTER']=SDK_EVENTS[a132_0x26ef43(0x1a2)]+':after',a132_0x54ed44[a132_0x26ef43(0x1f4)]['HUB_MANAGEMENT']=SDK_EVENTS[a132_0x26ef43(0x1b0)]+':hub-management',a132_0x54ed44[a132_0x26ef43(0x1f4)][a132_0x26ef43(0x1e1)]=SDK_EVENTS[a132_0x26ef43(0x1b0)]+':print-buildlink',a132_0x54ed44[a132_0x26ef43(0x1a4)][a132_0x26ef43(0x1aa)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a132_0x26ef43(0x1be),a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x1e4)]=SDK_EVENTS['SDK_DRIVER']+':quit',a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x1d7)]=SDK_EVENTS[a132_0x26ef43(0x1f6)]+a132_0x26ef43(0x1f5),a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x1ab)]=SDK_EVENTS[a132_0x26ef43(0x1f6)]+a132_0x26ef43(0x1f2),a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x19f)]=SDK_EVENTS[a132_0x26ef43(0x1f6)]+a132_0x26ef43(0x209),module['exports']=a132_0x54ed44;
1
+ function a133_0xbc82(){const _0x3f1544=['GET_RESULTS',':after','sdk:testFrameworkEvent','SDK_CLI_ENQUEUE_TEST_EVENT',':auto-capture','SDK_SETUP','SDK_ACCESSIBILITY_CONFIG','TURBOSCALE_EVENTS',':print-buildlink','SDK_PROXY_SETUP','APP_AUOTMATE_EVENTS',':keep-alive','sdk:accessibilityConfig',':post-execute','LOCAL_STOP',':before-all',':idle-timeout','SDK_CLEANUP','8auzOTc','SDK_PRE_TEST','4646169WUkkDQ','sdk:startBinSession','SYNC','sdk:driver','DRIVER_EVENT','sdk:observabilityConfig','65642PqGovG',':session-name','KEEP_ALIVE','SESSION_NAME','sdk:driverInit','24120IGOmIT',':app-upload','SDK_POST_INITIALIZE','161077QvxDib','1WcZTFx','AUTO_CAPTURE','LOCAL_START','SDK_APP_AUTOMATE','SDK_A11Y','sdk:automationFrameworkStart','SDK_DRIVER','IDLE_TIMEOUT','sdk:proxy-setup','sdk:findNearestHub','AFTER_ALL','BEFORE_EACH','SNAPSHOT','exports','sdk:cli:enqueueTestEvent','sdk:turboscale','SDK_POST_TEST','SDK_PERCY',':pre-execute',':screenshot','EVENTS','sdk:aiSelfHealGetResult','AFTER','SCREENSHOT','sdk:a11y','SDK_HOOK','AFTER_EACH','SDK_CLI_START','sdk:cli:start','76065GoWMdN',':driver-manage','SESSION_ANNOTATION',':driver-performscan',':session-annotation',':local-start','SDK_TURBOSCALE','sdk:driver:pre-initialization','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_DRIVER_INIT',':stop','4MQkXuN','SDK_CONNECT_BIN_SESSION','SDK_CLI_ON_CONNECT','GET_RESULTS_SUMMARY','SDK_ON_STOP','sdk:onStop','1530cDzxzy','SDK_AUTOMATION_FRAMEWORK_STOP','PRE_EXECUTE','sdk:percy','1013451sdxfwv','SDK_AUTOMATE','sdk:automationFrameworkStop','sdk:aiSelfHealStep','PRINT_BUILDLINK','GENERATE_CI_ARTIFACT',':ci-artifacts','POST_EXECUTE','HOOK_EVENTS',':get','TESTHUB_EVENTS','SDK_CLI_ON_BOOTSTRAP','sdk:hook','DOWNLOAD',':before','sdk:setup',':start','A11Y_EVENTS',':snapshot','SCREENSHOT_APP',':session-status','SDK_PRE_INITIALIZE',':sync','TAKE_SCREENSHOT','108KHFiti','PERCY_EVENTS','SDK_AI_SELF_HEAL_STEP','QUIT','sdk:cleanup','GET','sdk:cli:on-bootstrap','AUTOMATE_EVENTS','1933740bZnwYo','START','O11y_EVENTS','sdk:app-automate','sdk:cli:on-connect','SDK_TESTHUB','SDK_O11Y','SAVE_RESULTS','SDK_START_BIN_SESSION','SDK_FIND_NEAREST_HUB','sdk:o11y',':get-accessibility-results-summary',':before-each','sdk:testhub','sdk:driver:post-initialization',':quit','sdk:cli:check-update','sdk:cli:download','STOP','SDK_AUTO_CAPTURE'];a133_0xbc82=function(){return _0x3f1544;};return a133_0xbc82();}const a133_0xeb48d2=a133_0x5855;(function(_0x390112,_0x14c439){const _0x4a8fc9=a133_0x5855,_0x4a84e7=_0x390112();while(!![]){try{const _0x5da014=-parseInt(_0x4a8fc9(0x12e))/0x1*(-parseInt(_0x4a8fc9(0x125))/0x2)+-parseInt(_0x4a8fc9(0xd7))/0x3*(-parseInt(_0x4a8fc9(0x156))/0x4)+parseInt(_0x4a8fc9(0x14b))/0x5*(-parseInt(_0x4a8fc9(0xef))/0x6)+parseInt(_0x4a8fc9(0x12d))/0x7*(-parseInt(_0x4a8fc9(0x11d))/0x8)+-parseInt(_0x4a8fc9(0x15c))/0x9*(-parseInt(_0x4a8fc9(0x12a))/0xa)+-parseInt(_0x4a8fc9(0x11f))/0xb+parseInt(_0x4a8fc9(0xf7))/0xc;if(_0x5da014===_0x14c439)break;else _0x4a84e7['push'](_0x4a84e7['shift']());}catch(_0x3eec85){_0x4a84e7['push'](_0x4a84e7['shift']());}}}(a133_0xbc82,0x36587));const a133_0x292246={};a133_0x292246[a133_0xeb48d2(0x110)]=a133_0xeb48d2(0xe6),a133_0x292246[a133_0xeb48d2(0x11c)]=a133_0xeb48d2(0xf3),a133_0x292246[a133_0xeb48d2(0x11e)]='sdk:pre-test',a133_0x292246['SDK_TEST']='sdk:test',a133_0x292246[a133_0xeb48d2(0x13e)]='sdk:post-test',a133_0x292246['SDK_HOOK']=a133_0xeb48d2(0xe3),a133_0x292246[a133_0xeb48d2(0x134)]=a133_0xeb48d2(0x122),a133_0x292246[a133_0xeb48d2(0x132)]=a133_0xeb48d2(0x146),a133_0x292246[a133_0xeb48d2(0xfd)]=a133_0xeb48d2(0x101),a133_0x292246[a133_0xeb48d2(0x10a)]='sdk:auto-capture',a133_0x292246[a133_0xeb48d2(0x114)]=a133_0xeb48d2(0x136),a133_0x292246[a133_0xeb48d2(0xfc)]=a133_0xeb48d2(0x104),a133_0x292246['SDK_AUTOMATE']='sdk:automate',a133_0x292246[a133_0xeb48d2(0x131)]=a133_0xeb48d2(0xfa),a133_0x292246[a133_0xeb48d2(0x151)]=a133_0xeb48d2(0x13d),a133_0x292246[a133_0xeb48d2(0x13f)]=a133_0xeb48d2(0xd6),a133_0x292246[a133_0xeb48d2(0xec)]=a133_0xeb48d2(0x152),a133_0x292246[a133_0xeb48d2(0x12c)]=a133_0xeb48d2(0x105),a133_0x292246[a133_0xeb48d2(0x149)]=a133_0xeb48d2(0x14a),a133_0x292246['SDK_CLI_DOWNLOAD']=a133_0xeb48d2(0x108),a133_0x292246['SDK_CLI_CHECK_UPDATE']=a133_0xeb48d2(0x107),a133_0x292246[a133_0xeb48d2(0xe2)]=a133_0xeb48d2(0xf5),a133_0x292246[a133_0xeb48d2(0x158)]=a133_0xeb48d2(0xfb),a133_0x292246['SDK_CLI_ON_STOP']='sdk:cli:on-stop',a133_0x292246[a133_0xeb48d2(0xff)]=a133_0xeb48d2(0x120),a133_0x292246[a133_0xeb48d2(0x157)]='sdk:connectBinSession',a133_0x292246[a133_0xeb48d2(0x154)]=a133_0xeb48d2(0x129),a133_0x292246[a133_0xeb48d2(0x100)]=a133_0xeb48d2(0x137),a133_0x292246[a133_0xeb48d2(0x153)]='sdk:automationFrameworkInit',a133_0x292246['SDK_AUTOMATION_FRAMEWORK_START']=a133_0xeb48d2(0x133),a133_0x292246[a133_0xeb48d2(0x111)]=a133_0xeb48d2(0x117),a133_0x292246['SDK_OBSERVABILITY_CONFIG']=a133_0xeb48d2(0x124),a133_0x292246[a133_0xeb48d2(0xf1)]=a133_0xeb48d2(0xda),a133_0x292246['SDK_AI_SELF_HEAL_GET_RESULT']=a133_0xeb48d2(0x143),a133_0x292246['SDK_TEST_FRAMEWORK_EVENT']=a133_0xeb48d2(0x10d),a133_0x292246['SDK_TEST_SESSION_EVENT']='sdk:testSessionEvent',a133_0x292246['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a133_0x292246[a133_0xeb48d2(0x10e)]=a133_0xeb48d2(0x13c),a133_0x292246[a133_0xeb48d2(0x15d)]=a133_0xeb48d2(0xd9),a133_0x292246[a133_0xeb48d2(0x15a)]=a133_0xeb48d2(0x15b);function a133_0x5855(_0x2f03c7,_0x7cbcd){const _0xbc826a=a133_0xbc82();return a133_0x5855=function(_0x585556,_0x4d67e0){_0x585556=_0x585556-0xd5;let _0x57a9a6=_0xbc826a[_0x585556];return _0x57a9a6;},a133_0x5855(_0x2f03c7,_0x7cbcd);}const SDK_EVENTS=a133_0x292246,a133_0x58c391={};a133_0x58c391[a133_0xeb48d2(0x142)]=SDK_EVENTS,a133_0x58c391[a133_0xeb48d2(0xe1)]={},a133_0x58c391[a133_0xeb48d2(0xf6)]={},a133_0x58c391[a133_0xeb48d2(0xe8)]={},a133_0x58c391[a133_0xeb48d2(0xf0)]={},a133_0x58c391[a133_0xeb48d2(0xf9)]={},a133_0x58c391[a133_0xeb48d2(0xdf)]={},a133_0x58c391[a133_0xeb48d2(0x112)]={},a133_0x58c391[a133_0xeb48d2(0x115)]={},a133_0x58c391[a133_0xeb48d2(0x123)]={},a133_0x58c391[a133_0xeb48d2(0xe1)][a133_0xeb48d2(0xf8)]=SDK_EVENTS[a133_0xeb48d2(0xfc)]+a133_0xeb48d2(0xe7),a133_0x58c391[a133_0xeb48d2(0xe1)][a133_0xeb48d2(0x109)]=SDK_EVENTS['SDK_TESTHUB']+a133_0xeb48d2(0x155),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x127)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x116),a133_0x58c391[a133_0xeb48d2(0xf6)]['HUB_MANAGEMENT']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+':hub-management',a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x130)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x150),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x119)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+':local-stop',a133_0x58c391[a133_0xeb48d2(0xf6)]['DRIVER_MANAGE']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x14c),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x128)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x126),a133_0x58c391[a133_0xeb48d2(0xf6)]['SESSION_STATUS']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0xeb),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x14d)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x14f),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x135)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x11b),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0xdc)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0xdd),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x113),a133_0x58c391[a133_0xeb48d2(0xe8)]['PERFORM_SCAN']=SDK_EVENTS[a133_0xeb48d2(0x132)]+a133_0xeb48d2(0x14e),a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0xfe)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+':save-results',a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0x10b)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+':get-accessibility-results',a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0x159)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+a133_0xeb48d2(0x102),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xe4)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':download',a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x145)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x141),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xf8)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':start',a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x109)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x155),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x12f)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x10f),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x13a)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+a133_0xeb48d2(0xe9),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xea)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':screenshot-app',a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0x121)]=SDK_EVENTS['SDK_O11Y']+a133_0xeb48d2(0xed),a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0xee)]=SDK_EVENTS[a133_0xeb48d2(0xfd)]+':driver-takeScreenShot',a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0xfd)]+a133_0xeb48d2(0x113),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x139)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0x103),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x148)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+':after-each',a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x138)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+':after-all',a133_0x58c391[a133_0xeb48d2(0xdf)]['BEFORE_ALL']=SDK_EVENTS['SDK_HOOK']+a133_0xeb48d2(0x11a),a133_0x58c391[a133_0xeb48d2(0xdf)]['BEFORE']=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0xe5),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x144)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0x10c),a133_0x58c391[a133_0xeb48d2(0x112)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+':hub-management',a133_0x58c391[a133_0xeb48d2(0x112)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0x151)]+':print-buildlink',a133_0x58c391[a133_0xeb48d2(0x115)]['APP_UPLOAD']=SDK_EVENTS[a133_0xeb48d2(0x131)]+a133_0xeb48d2(0x12b),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xf2)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x106),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xf4)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0xe0),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xd5)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x140),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xde)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x118),module[a133_0xeb48d2(0x13b)]=a133_0x58c391;