browserstack-node-sdk 1.55.4 → 1.55.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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/generated/sdk-messages_pb.d.ts +40 -0
  41. package/generated/sdk-messages_pb.js +322 -2
  42. package/package.json +3 -2
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/newman/command.js +1 -1
  81. package/src/bin/newman/helper.js +1 -1
  82. package/src/bin/newman/reporter/index.js +1 -1
  83. package/src/bin/newman/scriptRunner.js +1 -1
  84. package/src/bin/nightwatch/command.js +1 -1
  85. package/src/bin/playwright/accessibility-helper.js +1 -1
  86. package/src/bin/playwright/command.js +1 -1
  87. package/src/bin/playwright/globalSetup.js +1 -1
  88. package/src/bin/playwright/mock-process.js +1 -1
  89. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  90. package/src/bin/playwright/patches.js +1 -1
  91. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  92. package/src/bin/playwright/reporter/reporter.js +1 -1
  93. package/src/bin/playwright/reporter/test-details.js +1 -1
  94. package/src/bin/playwright/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/patches.js +1 -1
  96. package/src/bin/puppeteer/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/test.setup.js +1 -1
  98. package/src/bin/runner.js +1 -1
  99. package/src/bin/setup.js +1 -1
  100. package/src/bin/test-runner/index.js +1 -1
  101. package/src/bin/test-runner/runTest.js +1 -1
  102. package/src/bin/test-runner/testWorker.js +1 -1
  103. package/src/bin/utils/apiUtilityMethods.js +1 -1
  104. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  105. package/src/bin/utils/constants.js +1 -1
  106. package/src/bin/utils/log4jsAppender.js +1 -1
  107. package/src/bin/utils/logPatcher.js +1 -1
  108. package/src/bin/utils/logReportingAPI.js +1 -1
  109. package/src/bin/utils/playwright-patcher.js +1 -1
  110. package/src/bin/utils/puppeteer-patcher.js +1 -1
  111. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  112. package/src/bin/utils/sharedUtils.js +1 -1
  113. package/src/bin/v2/TestInfo.js +1 -1
  114. package/src/bin/v2/browserstackCLI.js +1 -1
  115. package/src/bin/v2/cliUtils.js +1 -1
  116. package/src/bin/v2/customTagManager.js +1 -1
  117. package/src/bin/v2/eventDispatcher.js +1 -1
  118. package/src/bin/v2/framework/automationFramework.js +1 -1
  119. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  120. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  121. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  122. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  123. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  124. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  126. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  127. package/src/bin/v2/framework/testFramework.js +1 -1
  128. package/src/bin/v2/grpcClient.js +1 -1
  129. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  130. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  131. package/src/bin/v2/instances/trackedContext.js +1 -1
  132. package/src/bin/v2/instances/trackedInstance.js +1 -1
  133. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  134. package/src/bin/v2/modules/baseModule.js +1 -1
  135. package/src/bin/v2/modules/loadTestModule.js +1 -1
  136. package/src/bin/v2/modules/observabilityModule.js +1 -1
  137. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  138. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  139. package/src/bin/v2/modules/testhubModule.js +1 -1
  140. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  141. package/src/bin/v2/state/hookState.js +1 -1
  142. package/src/bin/v2/state/testFrameworkState.js +1 -1
  143. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  144. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  145. package/src/bin/v2/utils/jest-utils.js +1 -1
  146. package/src/bin/vanilla-js/command.js +1 -1
  147. package/src/browserStackSdk.js +1 -1
  148. package/src/helpers/BrowserStackSetup.js +1 -1
  149. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  150. package/src/helpers/accessibility-automation/constants.js +1 -1
  151. package/src/helpers/accessibility-automation/helper.js +1 -1
  152. package/src/helpers/accessibility-automation/scripts.js +1 -1
  153. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  154. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  155. package/src/helpers/ats/constants.js +1 -1
  156. package/src/helpers/ats/helper.js +1 -1
  157. package/src/helpers/capsMapping.js +1 -1
  158. package/src/helpers/central-scanner/constants.js +1 -1
  159. package/src/helpers/central-scanner/helpers.js +1 -1
  160. package/src/helpers/classLogger.js +1 -1
  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 -0
  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 a120_0xfb3a1f=a120_0x2ce6;(function(_0x51b5ae,_0x5dfce0){const _0x5941cf=a120_0x2ce6,_0x2877cb=_0x51b5ae();while(!![]){try{const _0x271f58=-parseInt(_0x5941cf(0x15f))/0x1*(parseInt(_0x5941cf(0x15b))/0x2)+parseInt(_0x5941cf(0x173))/0x3*(-parseInt(_0x5941cf(0x13c))/0x4)+-parseInt(_0x5941cf(0x136))/0x5+parseInt(_0x5941cf(0x146))/0x6*(parseInt(_0x5941cf(0x13a))/0x7)+-parseInt(_0x5941cf(0x161))/0x8+parseInt(_0x5941cf(0x137))/0x9*(parseInt(_0x5941cf(0x14d))/0xa)+-parseInt(_0x5941cf(0x143))/0xb*(-parseInt(_0x5941cf(0x150))/0xc);if(_0x271f58===_0x5dfce0)break;else _0x2877cb['push'](_0x2877cb['shift']());}catch(_0x578d64){_0x2877cb['push'](_0x2877cb['shift']());}}}(a120_0x1035,0x444e8));const winston=require(a120_0xfb3a1f(0x175)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a120_0xfb3a1f(0x13e)),tempLogDir=a120_0xfb3a1f(0x176);let redactRegex=null,lastConfigHash='';const logFormat=winston[a120_0xfb3a1f(0x138)](_0x17f2f0=>{const _0xe48fe6=a120_0xfb3a1f,_0x2299a5={};_0x2299a5[_0xe48fe6(0x165)]=function(_0x1a8eb9,_0x188056){return _0x1a8eb9!==_0x188056;},_0x2299a5[_0xe48fe6(0x14c)]=_0xe48fe6(0x134),_0x2299a5[_0xe48fe6(0x158)]=function(_0x30c7ab,_0xc5dbad){return _0x30c7ab+_0xc5dbad;},_0x2299a5[_0xe48fe6(0x170)]=function(_0x557410,_0x4a3b7a){return _0x557410!==_0x4a3b7a;},_0x2299a5[_0xe48fe6(0x127)]=function(_0x42d01a,_0x5a97e7){return _0x42d01a>_0x5a97e7;},_0x2299a5[_0xe48fe6(0x151)]='[REDACTED]';const _0x46a67f=_0x2299a5;_0x46a67f[_0xe48fe6(0x165)](typeof _0x17f2f0['message'],_0x46a67f[_0xe48fe6(0x14c)])&&(_0x17f2f0['message']=JSON[_0xe48fe6(0x133)](_0x17f2f0['message']));const _0x1b63f2=global[_0xe48fe6(0x129)]&&global['config']['userName']||'',_0x3e5193=global[_0xe48fe6(0x129)]&&global[_0xe48fe6(0x129)][_0xe48fe6(0x13f)]||'',_0x5b161f=_0x46a67f[_0xe48fe6(0x158)](_0x46a67f[_0xe48fe6(0x158)](_0x1b63f2,'|'),_0x3e5193);if(_0x46a67f[_0xe48fe6(0x170)](_0x5b161f,lastConfigHash)){lastConfigHash=_0x5b161f;const _0x1add94=[_0x1b63f2,_0x3e5193]['filter'](Boolean);if(_0x46a67f[_0xe48fe6(0x127)](_0x1add94[_0xe48fe6(0x132)],0x0)){const _0x3e6983=_0x1add94[_0xe48fe6(0x148)](_0x53a125=>_0x53a125[_0xe48fe6(0x152)](/[.*+?^${}()|[\]\\]/g,_0xe48fe6(0x149)))[_0xe48fe6(0x167)]('|');redactRegex=new RegExp(_0x3e6983,'g');}else redactRegex=null;}return redactRegex&&(_0x17f2f0[_0xe48fe6(0x157)]=_0x17f2f0[_0xe48fe6(0x157)][_0xe48fe6(0x152)](redactRegex,_0x46a67f[_0xe48fe6(0x151)])),_0x17f2f0;}),fetchLogDir=()=>{const _0x225e12=a120_0xfb3a1f;if(process[_0x225e12(0x16b)][_0x225e12(0x14b)])return process[_0x225e12(0x16b)][_0x225e12(0x14b)];else!fs[_0x225e12(0x15d)](tempLogDir)&&fs['mkdirSync'](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x3351d0=a120_0xfb3a1f,_0x561344={};_0x561344[_0x3351d0(0x12b)]=_0x3351d0(0x14f);const _0x14e5e0=_0x561344,_0x48c313=process[_0x3351d0(0x16b)]['BROWSERSTACK_LOG_LEVEL'],_0x3ed9da=Object[_0x3351d0(0x128)](winston[_0x3351d0(0x129)]['npm'][_0x3351d0(0x145)]);if(_0x48c313&&_0x3ed9da[_0x3351d0(0x16c)](_0x48c313[_0x3351d0(0x164)]()))return _0x48c313[_0x3351d0(0x164)]();return _0x14e5e0[_0x3351d0(0x12b)];},initialLogLevel=getInitialLogLevel(),a120_0x4ccd67={};a120_0x4ccd67['name']='console.info',a120_0x4ccd67[a120_0xfb3a1f(0x168)]=initialLogLevel;const transports={'loggerConsole':new winston[(a120_0xfb3a1f(0x13d))]['Console'](a120_0x4ccd67),'loggerFile':new winston[(a120_0xfb3a1f(0x13d))][(a120_0xfb3a1f(0x14a))]({'filename':path[a120_0xfb3a1f(0x167)](logDir,a120_0xfb3a1f(0x140)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a120_0xfb3a1f(0x13d))][(a120_0xfb3a1f(0x14a))]({'filename':path[a120_0xfb3a1f(0x167)](logDir,a120_0xfb3a1f(0x160)),'level':'silly'}),'debugCliLoggerFile':new winston[(a120_0xfb3a1f(0x13d))][(a120_0xfb3a1f(0x14a))]({'filename':path[a120_0xfb3a1f(0x167)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a120_0xfb3a1f(0x144)}),'buildLinkTransport':new winston[(a120_0xfb3a1f(0x13d))]['File']({'filename':path[a120_0xfb3a1f(0x167)](logDir,a120_0xfb3a1f(0x140)),'level':a120_0xfb3a1f(0x144)})},automationTransports={};process[a120_0xfb3a1f(0x16b)]['BROWSERSTACK_AUTOMATION_LOGS']===a120_0xfb3a1f(0x169)&&(automationTransports[a120_0xfb3a1f(0x16d)]=new winston[(a120_0xfb3a1f(0x13d))]['File']({'filename':path[a120_0xfb3a1f(0x167)](logDir,a120_0xfb3a1f(0x147)),'level':a120_0xfb3a1f(0x144)}));transports[a120_0xfb3a1f(0x12c)]['on'](a120_0xfb3a1f(0x13b),_0x310497=>{const _0x9fa5f5=a120_0xfb3a1f,_0x255738={};_0x255738['Dawbj']=function(_0x1c6648,_0x26406b){return _0x1c6648===_0x26406b;},_0x255738[_0x9fa5f5(0x162)]=_0x9fa5f5(0x12f),_0x255738[_0x9fa5f5(0x159)]=_0x9fa5f5(0x12d);const _0x1140bd=_0x255738;if(_0x1140bd['Dawbj'](_0x310497[_0x9fa5f5(0x15e)],_0x1140bd['tkMiL'])){console[_0x9fa5f5(0x176)](_0x1140bd[_0x9fa5f5(0x159)],_0x310497[_0x9fa5f5(0x157)]);return;}throw _0x310497;});const a120_0x5e7a35={};a120_0x5e7a35['format']=a120_0xfb3a1f(0x12e);const a120_0x284338={};a120_0x284338[a120_0xfb3a1f(0x168)]=!![];const winstonLoggerParams={'format':winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x155)](winston['format']['timestamp'](a120_0x5e7a35),winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x166)](a120_0x284338),winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x126)](_0x5d0cd7=>_0x5d0cd7[a120_0xfb3a1f(0x156)]+a120_0xfb3a1f(0x135)+_0x5d0cd7['level']+':\x20'+_0x5d0cd7[a120_0xfb3a1f(0x157)])),'transports':[transports[a120_0xfb3a1f(0x12c)]]},a120_0xa02e91={};a120_0xa02e91[a120_0xfb3a1f(0x138)]=a120_0xfb3a1f(0x12e);const a120_0x11dbf4={};a120_0x11dbf4[a120_0xfb3a1f(0x168)]=!![];function a120_0x1035(){const _0x387b47=['EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','YYYY-MM-DD\x20HH:mm:ss','EPIPE','BROWSERSTACK_AUTOMATION_LOGS','winstonLogger','length','stringify','string','\x20-\x20','1567250nlCgug','67887MgcTye','format','createLogger','710927idveYY','error','1660452mjrRZv','transports','../bin/utils/constants','accessKey','/usage.log','http','debug','110lDlMsG','silly','levels','30boWOAW','automation.log','map','\x5c$&','File','BROWSERSTACK_INTERNAL_LOG_DIR','aYplk','290OihXDo','debugLoggerFile','info','964740JPxmTr','HAjNk','replace','warn','RDDWL','combine','timestamp','message','qETPf','hHtFf','fileLogger','123986qiZPMa','loggerFile','existsSync','code','1FqXUeR','/usage-debug.log','3681296iODIev','tkMiL','remove','toLowerCase','Idwdd','colorize','join','level','true','automationLogger','env','includes','automationLoggerFile','initialize','buildLinkTransport','kPZHw','uncolorize','logDir','3kuFvPJ','add','winston','log','getLogDir','printf','jaFFy','keys','config','buildLogger','ivhqP','loggerConsole'];a120_0x1035=function(){return _0x387b47;};return a120_0x1035();}const winstonFileLoggerParams={'format':winston['format'][a120_0xfb3a1f(0x155)](winston['format'][a120_0xfb3a1f(0x156)](a120_0xa02e91),winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x166)](a120_0x11dbf4),winston['format'][a120_0xfb3a1f(0x126)](_0xe6ac08=>_0xe6ac08[a120_0xfb3a1f(0x168)]+':\x20'+_0xe6ac08[a120_0xfb3a1f(0x157)])),'transports':[]},a120_0x243e7f={};function a120_0x2ce6(_0x122afe,_0x462016){const _0x1035c5=a120_0x1035();return a120_0x2ce6=function(_0x2ce606,_0x1c89e8){_0x2ce606=_0x2ce606-0x125;let _0x57f9de=_0x1035c5[_0x2ce606];return _0x57f9de;},a120_0x2ce6(_0x122afe,_0x462016);}a120_0x243e7f['format']=a120_0xfb3a1f(0x12e);const a120_0x28a119={};a120_0x28a119[a120_0xfb3a1f(0x168)]=!![];const a120_0x1d7cb1={};a120_0x1d7cb1[a120_0xfb3a1f(0x168)]=a120_0xfb3a1f(0x144);const BuildLoggerParams={'format':winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x155)](winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x156)](a120_0x243e7f),winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x166)](a120_0x28a119),winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x126)](_0x2ddf97=>_0x2ddf97[a120_0xfb3a1f(0x156)]+'\x20-\x20'+_0x2ddf97['level']+':\x20'+_0x2ddf97['message'])),'transports':[transports[a120_0xfb3a1f(0x16f)],new winston[(a120_0xfb3a1f(0x13d))]['Console'](a120_0x1d7cb1)]},a120_0x147017={};a120_0x147017[a120_0xfb3a1f(0x141)]=()=>{},a120_0x147017['info']=()=>{},a120_0x147017[a120_0xfb3a1f(0x153)]=()=>{},a120_0x147017[a120_0xfb3a1f(0x13b)]=()=>{},a120_0x147017[a120_0xfb3a1f(0x142)]=()=>{},a120_0x147017[a120_0xfb3a1f(0x144)]=()=>{},exports[a120_0xfb3a1f(0x16a)]=process[a120_0xfb3a1f(0x16b)][a120_0xfb3a1f(0x130)]===a120_0xfb3a1f(0x169)?winston['createLogger']({'format':winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x155)](winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x171)](),winston[a120_0xfb3a1f(0x138)][a120_0xfb3a1f(0x156)](),logFormat(),winston['format'][a120_0xfb3a1f(0x126)](_0x4a90f6=>_0x4a90f6[a120_0xfb3a1f(0x168)]+':\x20'+_0x4a90f6[a120_0xfb3a1f(0x157)])),'transports':[automationTransports[a120_0xfb3a1f(0x16d)]]}):a120_0x147017;const initialize=()=>{const _0x101df7=a120_0xfb3a1f,_0x1c033d={};_0x1c033d['RDDWL']=_0x101df7(0x144);const _0x1e67a6=_0x1c033d,_0x4dbf96=transports[_0x101df7(0x12c)]['level']||initialLogLevel;transports[_0x101df7(0x15c)]&&(exports['winstonLogger'][_0x101df7(0x163)](transports[_0x101df7(0x15c)]),exports['fileLogger'][_0x101df7(0x163)](transports['loggerFile'])),transports[_0x101df7(0x14e)]&&(exports[_0x101df7(0x131)]['remove'](transports['debugLoggerFile']),exports[_0x101df7(0x15a)]['remove'](transports[_0x101df7(0x14e)])),transports['loggerFile']=new winston[(_0x101df7(0x13d))][(_0x101df7(0x14a))]({'filename':path[_0x101df7(0x167)](exports[_0x101df7(0x172)],LOG_FILE_NAME),'level':_0x4dbf96}),transports[_0x101df7(0x14e)]=new winston[(_0x101df7(0x13d))][(_0x101df7(0x14a))]({'filename':path[_0x101df7(0x167)](exports[_0x101df7(0x172)],DEBUG_LOG_FILE_NAME),'level':_0x1e67a6[_0x101df7(0x154)]}),transports['debugCliLoggerFile']=new winston['transports'][(_0x101df7(0x14a))]({'filename':path['join'](exports[_0x101df7(0x172)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x1e67a6[_0x101df7(0x154)]}),exports['winstonLogger'][_0x101df7(0x174)](transports['loggerFile']),exports[_0x101df7(0x131)][_0x101df7(0x174)](transports[_0x101df7(0x14e)]),exports[_0x101df7(0x15a)][_0x101df7(0x174)](transports['loggerFile']),exports['fileLogger'][_0x101df7(0x174)](transports[_0x101df7(0x14e)]);};exports[a120_0xfb3a1f(0x131)]=new winston[(a120_0xfb3a1f(0x139))](winstonLoggerParams),exports[a120_0xfb3a1f(0x15a)]=new winston[(a120_0xfb3a1f(0x139))](winstonFileLoggerParams),exports[a120_0xfb3a1f(0x12a)]=new winston[(a120_0xfb3a1f(0x139))](BuildLoggerParams),exports['logDir']=logDir,exports[a120_0xfb3a1f(0x125)]=()=>{const _0x3e1a3f=a120_0xfb3a1f;return exports[_0x3e1a3f(0x172)];},exports[a120_0xfb3a1f(0x13d)]=transports,exports[a120_0xfb3a1f(0x16e)]=initialize;logDir&&initialize();
1
+ const a120_0x56107f=a120_0x5655;(function(_0x811b98,_0x493aee){const _0x5be17b=a120_0x5655,_0x5791ed=_0x811b98();while(!![]){try{const _0x2700ab=-parseInt(_0x5be17b(0xe6))/0x1+-parseInt(_0x5be17b(0x10e))/0x2+-parseInt(_0x5be17b(0x102))/0x3*(-parseInt(_0x5be17b(0x107))/0x4)+-parseInt(_0x5be17b(0xdf))/0x5+parseInt(_0x5be17b(0xd6))/0x6+-parseInt(_0x5be17b(0x113))/0x7*(-parseInt(_0x5be17b(0x11c))/0x8)+-parseInt(_0x5be17b(0xff))/0x9*(-parseInt(_0x5be17b(0xdc))/0xa);if(_0x2700ab===_0x493aee)break;else _0x5791ed['push'](_0x5791ed['shift']());}catch(_0x22a463){_0x5791ed['push'](_0x5791ed['shift']());}}}(a120_0x2ba8,0xe2ad4));const winston=require(a120_0x56107f(0x11a)),path=require(a120_0x56107f(0x105)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a120_0x56107f(0x11b)),tempLogDir=a120_0x56107f(0xf7);let redactRegex=null,lastConfigHash='';const logFormat=winston[a120_0x56107f(0xfd)](_0x6ae49f=>{const _0x26e73c=a120_0x56107f,_0x3bc2f0={};_0x3bc2f0[_0x26e73c(0x11d)]=function(_0x1887b7,_0x4c646b){return _0x1887b7!==_0x4c646b;},_0x3bc2f0[_0x26e73c(0xe1)]=_0x26e73c(0xd8),_0x3bc2f0[_0x26e73c(0xf6)]=function(_0x5dce8d,_0x4e1280){return _0x5dce8d+_0x4e1280;},_0x3bc2f0['yLnuZ']=function(_0x34b8ff,_0x3fb80f){return _0x34b8ff!==_0x3fb80f;},_0x3bc2f0['LEeIm']=function(_0x1e257f,_0x1ff870){return _0x1e257f>_0x1ff870;},_0x3bc2f0[_0x26e73c(0x123)]=_0x26e73c(0xfb);const _0x302fe2=_0x3bc2f0;_0x302fe2[_0x26e73c(0x11d)](typeof _0x6ae49f[_0x26e73c(0xda)],_0x302fe2[_0x26e73c(0xe1)])&&(_0x6ae49f[_0x26e73c(0xda)]=JSON[_0x26e73c(0x118)](_0x6ae49f[_0x26e73c(0xda)]));const _0x1daa35=global[_0x26e73c(0x110)]&&global['config'][_0x26e73c(0xf0)]||'',_0x29e7a6=global['config']&&global[_0x26e73c(0x110)]['accessKey']||'',_0x5643bc=_0x302fe2[_0x26e73c(0xf6)](_0x302fe2[_0x26e73c(0xf6)](_0x1daa35,'|'),_0x29e7a6);if(_0x302fe2['yLnuZ'](_0x5643bc,lastConfigHash)){lastConfigHash=_0x5643bc;const _0x367bc8=[_0x1daa35,_0x29e7a6][_0x26e73c(0x111)](Boolean);if(_0x302fe2[_0x26e73c(0x121)](_0x367bc8[_0x26e73c(0x10a)],0x0)){const _0x41117a=_0x367bc8[_0x26e73c(0xf1)](_0x517885=>_0x517885[_0x26e73c(0xf3)](/[.*+?^${}()|[\]\\]/g,_0x26e73c(0xe3)))[_0x26e73c(0x101)]('|');redactRegex=new RegExp(_0x41117a,'g');}else redactRegex=null;}return redactRegex&&(_0x6ae49f[_0x26e73c(0xda)]=_0x6ae49f['message'][_0x26e73c(0xf3)](redactRegex,_0x302fe2['IarNt'])),_0x6ae49f;}),fetchLogDir=()=>{const _0x51be10=a120_0x56107f;if(process[_0x51be10(0x120)][_0x51be10(0x119)])return process[_0x51be10(0x120)][_0x51be10(0x119)];else!fs[_0x51be10(0x10b)](tempLogDir)&&fs['mkdirSync'](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x352ae6=a120_0x56107f,_0x47efbe={};_0x47efbe[_0x352ae6(0xe2)]=_0x352ae6(0xd5);const _0x2e56dd=_0x47efbe,_0x3404d7=process[_0x352ae6(0x120)][_0x352ae6(0xe4)],_0x487871=Object['keys'](winston['config'][_0x352ae6(0x11f)][_0x352ae6(0x115)]);if(_0x3404d7&&_0x487871[_0x352ae6(0xe8)](_0x3404d7['toLowerCase']()))return _0x3404d7['toLowerCase']();return _0x2e56dd['Gkxgr'];},initialLogLevel=getInitialLogLevel(),a120_0x484dba={};a120_0x484dba['name']=a120_0x56107f(0x108),a120_0x484dba[a120_0x56107f(0xf9)]=initialLogLevel;const transports={'loggerConsole':new winston[(a120_0x56107f(0x125))][(a120_0x56107f(0x126))](a120_0x484dba),'loggerFile':new winston[(a120_0x56107f(0x125))][(a120_0x56107f(0x11e))]({'filename':path[a120_0x56107f(0x101)](logDir,a120_0x56107f(0x106)),'level':initialLogLevel}),'debugLoggerFile':new winston['transports'][(a120_0x56107f(0x11e))]({'filename':path[a120_0x56107f(0x101)](logDir,a120_0x56107f(0x10c)),'level':a120_0x56107f(0xf5)}),'debugCliLoggerFile':new winston[(a120_0x56107f(0x125))][(a120_0x56107f(0x11e))]({'filename':path[a120_0x56107f(0x101)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a120_0x56107f(0xf5)}),'buildLinkTransport':new winston[(a120_0x56107f(0x125))][(a120_0x56107f(0x11e))]({'filename':path[a120_0x56107f(0x101)](logDir,a120_0x56107f(0x106)),'level':a120_0x56107f(0xf5)})},automationTransports={};process[a120_0x56107f(0x120)][a120_0x56107f(0xf4)]===a120_0x56107f(0xea)&&(automationTransports[a120_0x56107f(0xe9)]=new winston[(a120_0x56107f(0x125))][(a120_0x56107f(0x11e))]({'filename':path[a120_0x56107f(0x101)](logDir,a120_0x56107f(0xd9)),'level':'silly'}));transports[a120_0x56107f(0xed)]['on'](a120_0x56107f(0xd7),_0x1740ed=>{const _0x187d37=a120_0x56107f,_0x1431cf={};_0x1431cf[_0x187d37(0x10f)]=function(_0x276586,_0x5c6ca4){return _0x276586===_0x5c6ca4;},_0x1431cf[_0x187d37(0xe7)]=_0x187d37(0x124),_0x1431cf['Qaurr']='EPIPE\x20error\x20occurred\x20in\x20loggerConsole:';const _0x3259c5=_0x1431cf;if(_0x3259c5['GNHOb'](_0x1740ed[_0x187d37(0xfa)],_0x3259c5[_0x187d37(0xe7)])){console[_0x187d37(0xf7)](_0x3259c5[_0x187d37(0x117)],_0x1740ed[_0x187d37(0xda)]);return;}throw _0x1740ed;});const a120_0xfe3828={};a120_0xfe3828[a120_0x56107f(0xfd)]=a120_0x56107f(0x10d);const a120_0x2d7fe9={};a120_0x2d7fe9['level']=!![];const winstonLoggerParams={'format':winston[a120_0x56107f(0xfd)][a120_0x56107f(0x103)](winston[a120_0x56107f(0xfd)]['timestamp'](a120_0xfe3828),winston['format'][a120_0x56107f(0x114)](a120_0x2d7fe9),winston[a120_0x56107f(0xfd)][a120_0x56107f(0xee)](_0x34f08f=>_0x34f08f['timestamp']+a120_0x56107f(0x116)+_0x34f08f[a120_0x56107f(0xf9)]+':\x20'+_0x34f08f[a120_0x56107f(0xda)])),'transports':[transports['loggerConsole']]},a120_0x117af4={};a120_0x117af4[a120_0x56107f(0xfd)]=a120_0x56107f(0x10d);const a120_0x3cd402={};a120_0x3cd402[a120_0x56107f(0xf9)]=!![];const winstonFileLoggerParams={'format':winston[a120_0x56107f(0xfd)][a120_0x56107f(0x103)](winston[a120_0x56107f(0xfd)]['timestamp'](a120_0x117af4),winston['format'][a120_0x56107f(0x114)](a120_0x3cd402),winston['format'][a120_0x56107f(0xee)](_0x25bffc=>_0x25bffc[a120_0x56107f(0xf9)]+':\x20'+_0x25bffc[a120_0x56107f(0xda)])),'transports':[]},a120_0x4f2dce={};a120_0x4f2dce[a120_0x56107f(0xfd)]='YYYY-MM-DD\x20HH:mm:ss';const a120_0x49e81b={};a120_0x49e81b[a120_0x56107f(0xf9)]=!![];function a120_0x2ba8(){const _0x248ea0=['http','loggerConsole','printf','logDir','userName','map','timestamp','replace','BROWSERSTACK_AUTOMATION_LOGS','silly','ApSKI','log','loggerFile','level','code','[REDACTED]','winstonLogger','format','kJcLJ','11392110knlsrF','debugLoggerFile','join','21uwoclh','combine','buildLogger','path','/usage.log','50756eiPXQi','console.info','initialize','length','existsSync','/usage-debug.log','YYYY-MM-DD\x20HH:mm:ss','2486314LmanoZ','GNHOb','config','filter','debugCliLoggerFile','974078wUpPlM','colorize','levels','\x20-\x20','Qaurr','stringify','BROWSERSTACK_INTERNAL_LOG_DIR','winston','../bin/utils/constants','24Lirksv','PwgRo','File','npm','env','LEeIm','add','IarNt','EPIPE','transports','Console','info','3237234qTzLiy','error','string','automation.log','message','createLogger','30feiIba','uncolorize','debug','5102620IliwkD','fileLogger','JPdOi','Gkxgr','\x5c$&','BROWSERSTACK_LOG_LEVEL','remove','1651045rpdxXD','uGFFT','includes','automationLoggerFile','true','automationLogger'];a120_0x2ba8=function(){return _0x248ea0;};return a120_0x2ba8();}const a120_0x1b29fa={};a120_0x1b29fa['level']=a120_0x56107f(0xf5);function a120_0x5655(_0x163188,_0x38324d){const _0x2ba8e3=a120_0x2ba8();return a120_0x5655=function(_0x565538,_0x4b20ce){_0x565538=_0x565538-0xd5;let _0x24ae2a=_0x2ba8e3[_0x565538];return _0x24ae2a;},a120_0x5655(_0x163188,_0x38324d);}const BuildLoggerParams={'format':winston[a120_0x56107f(0xfd)][a120_0x56107f(0x103)](winston[a120_0x56107f(0xfd)][a120_0x56107f(0xf2)](a120_0x4f2dce),winston[a120_0x56107f(0xfd)][a120_0x56107f(0x114)](a120_0x49e81b),winston[a120_0x56107f(0xfd)][a120_0x56107f(0xee)](_0x5b0a6a=>_0x5b0a6a[a120_0x56107f(0xf2)]+a120_0x56107f(0x116)+_0x5b0a6a['level']+':\x20'+_0x5b0a6a[a120_0x56107f(0xda)])),'transports':[transports['buildLinkTransport'],new winston[(a120_0x56107f(0x125))]['Console'](a120_0x1b29fa)]},a120_0x5de24e={};a120_0x5de24e[a120_0x56107f(0xec)]=()=>{},a120_0x5de24e['info']=()=>{},a120_0x5de24e['warn']=()=>{},a120_0x5de24e['error']=()=>{},a120_0x5de24e[a120_0x56107f(0xde)]=()=>{},a120_0x5de24e[a120_0x56107f(0xf5)]=()=>{},exports[a120_0x56107f(0xeb)]=process[a120_0x56107f(0x120)][a120_0x56107f(0xf4)]==='true'?winston['createLogger']({'format':winston['format']['combine'](winston[a120_0x56107f(0xfd)][a120_0x56107f(0xdd)](),winston[a120_0x56107f(0xfd)][a120_0x56107f(0xf2)](),logFormat(),winston[a120_0x56107f(0xfd)]['printf'](_0x39bb51=>_0x39bb51['level']+':\x20'+_0x39bb51[a120_0x56107f(0xda)])),'transports':[automationTransports[a120_0x56107f(0xe9)]]}):a120_0x5de24e;const initialize=()=>{const _0x532a18=a120_0x56107f,_0x2f45c1={};_0x2f45c1[_0x532a18(0xfe)]=_0x532a18(0xf5);const _0x285ed2=_0x2f45c1,_0x18b4c8=transports[_0x532a18(0xed)][_0x532a18(0xf9)]||initialLogLevel;transports['loggerFile']&&(exports[_0x532a18(0xfc)]['remove'](transports[_0x532a18(0xf8)]),exports[_0x532a18(0xe0)][_0x532a18(0xe5)](transports[_0x532a18(0xf8)])),transports['debugLoggerFile']&&(exports['winstonLogger'][_0x532a18(0xe5)](transports[_0x532a18(0x100)]),exports['fileLogger'][_0x532a18(0xe5)](transports['debugLoggerFile'])),transports[_0x532a18(0xf8)]=new winston[(_0x532a18(0x125))][(_0x532a18(0x11e))]({'filename':path[_0x532a18(0x101)](exports['logDir'],LOG_FILE_NAME),'level':_0x18b4c8}),transports[_0x532a18(0x100)]=new winston['transports'][(_0x532a18(0x11e))]({'filename':path[_0x532a18(0x101)](exports[_0x532a18(0xef)],DEBUG_LOG_FILE_NAME),'level':_0x285ed2[_0x532a18(0xfe)]}),transports[_0x532a18(0x112)]=new winston[(_0x532a18(0x125))][(_0x532a18(0x11e))]({'filename':path[_0x532a18(0x101)](exports[_0x532a18(0xef)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x285ed2['kJcLJ']}),exports[_0x532a18(0xfc)]['add'](transports[_0x532a18(0xf8)]),exports['winstonLogger'][_0x532a18(0x122)](transports['debugLoggerFile']),exports[_0x532a18(0xe0)][_0x532a18(0x122)](transports[_0x532a18(0xf8)]),exports['fileLogger'][_0x532a18(0x122)](transports[_0x532a18(0x100)]);};exports['winstonLogger']=new winston[(a120_0x56107f(0xdb))](winstonLoggerParams),exports[a120_0x56107f(0xe0)]=new winston[(a120_0x56107f(0xdb))](winstonFileLoggerParams),exports[a120_0x56107f(0x104)]=new winston[(a120_0x56107f(0xdb))](BuildLoggerParams),exports['logDir']=logDir,exports['getLogDir']=()=>{const _0x305736=a120_0x56107f;return exports[_0x305736(0xef)];},exports[a120_0x56107f(0x125)]=transports,exports[a120_0x56107f(0x109)]=initialize;logDir&&initialize();
@@ -1 +1 @@
1
- function a121_0x5c03(_0x30956d,_0x5edd82){const _0x15250f=a121_0x1525();return a121_0x5c03=function(_0x5c03f1,_0x37e8e2){_0x5c03f1=_0x5c03f1-0x9a;let _0x20f2fd=_0x15250f[_0x5c03f1];return _0x20f2fd;},a121_0x5c03(_0x30956d,_0x5edd82);}function a121_0x1525(){const _0x1cbe65=['exports','winstonLogger','5814261pHaPeK','626508aQFttp','The\x20metadata\x20object\x20is\x20not\x20valid.','length','set','5324165WNurlW','setGlobal','warn','4UrzuLy','getCentralUser','get','381993JcnIOu','identifier','QojUW','4847016IJwgAj','14855YIDGTL','testRunUUID','LnyMr','./globals','./helper','./logger','lcnc','1902CNnoob','8FfqXlO','EkFVW','testMeta','oWwHz','testMeta-','ZaLUM','5187710UyQkYh','mAaQp','string','getGlobal'];a121_0x1525=function(){return _0x1cbe65;};return a121_0x1525();}const a121_0x3caf71=a121_0x5c03;(function(_0xe2ddf0,_0x28007b){const _0x280c36=a121_0x5c03,_0x482bc6=_0xe2ddf0();while(!![]){try{const _0x4731e0=parseInt(_0x280c36(0xa8))/0x1+-parseInt(_0x280c36(0xaf))/0x2*(-parseInt(_0x280c36(0xb2))/0x3)+-parseInt(_0x280c36(0xb5))/0x4+parseInt(_0x280c36(0xb6))/0x5*(-parseInt(_0x280c36(0x9a))/0x6)+parseInt(_0x280c36(0xac))/0x7+-parseInt(_0x280c36(0x9b))/0x8*(-parseInt(_0x280c36(0xa7))/0x9)+parseInt(_0x280c36(0xa1))/0xa;if(_0x4731e0===_0x28007b)break;else _0x482bc6['push'](_0x482bc6['shift']());}catch(_0x4fcbed){_0x482bc6['push'](_0x482bc6['shift']());}}}(a121_0x1525,0x9f6cc));const globals=require(a121_0x3caf71(0xb9)),helper=require(a121_0x3caf71(0xba)),logger=require(a121_0x3caf71(0xbb))[a121_0x3caf71(0xa6)];module[a121_0x3caf71(0xa5)]=class TestMetadata{static[a121_0x3caf71(0xab)](_0x5e744c={}){const _0x42f910=a121_0x3caf71,_0x3b79e1={};_0x3b79e1['ZaLUM']=_0x42f910(0xb7),_0x3b79e1[_0x42f910(0x9c)]=function(_0xacde41,_0xb0ef8b){return _0xacde41===_0xb0ef8b;},_0x3b79e1[_0x42f910(0xb8)]=_0x42f910(0xa3),_0x3b79e1['vnEoA']=function(_0x5d56c4,_0x27ed64){return _0x5d56c4<=_0x27ed64;},_0x3b79e1[_0x42f910(0xa2)]=_0x42f910(0x9d),_0x3b79e1['QojUW']=_0x42f910(0xa9);const _0x4db4a7=_0x3b79e1,_0x4addd8=globals['getGlobal'](_0x4db4a7[_0x42f910(0xa0)]),_0x34ee21=_0x5e744c[_0x42f910(0xb3)];helper['getCentralUser']()[_0x42f910(0xbc)]&&(_0x4db4a7[_0x42f910(0x9c)](typeof _0x34ee21,_0x4db4a7['LnyMr'])&&_0x4db4a7['vnEoA'](_0x34ee21[_0x42f910(0xaa)],0x28)?_0x4addd8?globals['setGlobal']('testMeta-'+_0x4addd8,_0x5e744c):globals[_0x42f910(0xad)](_0x4db4a7['mAaQp'],_0x5e744c):logger[_0x42f910(0xae)](_0x4db4a7[_0x42f910(0xb4)]));}static[a121_0x3caf71(0xb1)](_0x3344df){const _0x217023=a121_0x3caf71,_0x5d5e49={};_0x5d5e49['oWwHz']=_0x217023(0x9d);const _0x153bc5=_0x5d5e49;if(helper[_0x217023(0xb0)]()[_0x217023(0xbc)])return globals[_0x217023(0xa4)](_0x217023(0x9f)+_0x3344df)||globals[_0x217023(0xa4)](_0x153bc5[_0x217023(0x9e)])||{};return{};}};
1
+ function a121_0xef4d(_0x59afce,_0x9a0217){const _0x51a350=a121_0x51a3();return a121_0xef4d=function(_0xef4db1,_0x16c859){_0xef4db1=_0xef4db1-0x1c5;let _0x16842e=_0x51a350[_0xef4db1];return _0x16842e;},a121_0xef4d(_0x59afce,_0x9a0217);}function a121_0x51a3(){const _0x18e1e1=['fZpro','identifier','IXQoU','./helper','505iCITHc','The\x20metadata\x20object\x20is\x20not\x20valid.','length','testMeta-','OndZy','testMeta','warn','./logger','./globals','qCXaN','2787280dCDUqv','18XqVEuf','34971iwMdHA','getGlobal','80rthAKN','MVUgN','lcnc','78665sZPzsA','7338YKJMrz','setGlobal','4089526xoLTOx','TBTlT','getCentralUser','string','set','509624hWzJav','14648gTgGnb','DTJNp'];a121_0x51a3=function(){return _0x18e1e1;};return a121_0x51a3();}const a121_0x12d882=a121_0xef4d;(function(_0x40cb03,_0x12593a){const _0x3dd7c0=a121_0xef4d,_0x11a6b2=_0x40cb03();while(!![]){try{const _0x367423=-parseInt(_0x3dd7c0(0x1e3))/0x1+parseInt(_0x3dd7c0(0x1cb))/0x2+-parseInt(_0x3dd7c0(0x1de))/0x3*(-parseInt(_0x3dd7c0(0x1e0))/0x4)+-parseInt(_0x3dd7c0(0x1d2))/0x5*(parseInt(_0x3dd7c0(0x1e4))/0x6)+parseInt(_0x3dd7c0(0x1c6))/0x7+-parseInt(_0x3dd7c0(0x1cc))/0x8+-parseInt(_0x3dd7c0(0x1dd))/0x9*(parseInt(_0x3dd7c0(0x1dc))/0xa);if(_0x367423===_0x12593a)break;else _0x11a6b2['push'](_0x11a6b2['shift']());}catch(_0x30e2e7){_0x11a6b2['push'](_0x11a6b2['shift']());}}}(a121_0x51a3,0x4bda7));const globals=require(a121_0x12d882(0x1da)),helper=require(a121_0x12d882(0x1d1)),logger=require(a121_0x12d882(0x1d9))['winstonLogger'];module['exports']=class TestMetadata{static[a121_0x12d882(0x1ca)](_0x167d7e={}){const _0x3efa43=a121_0x12d882,_0x5b4c04={};_0x5b4c04['qCXaN']='testRunUUID',_0x5b4c04[_0x3efa43(0x1d6)]=function(_0x5bc4ce,_0x33ae74){return _0x5bc4ce===_0x33ae74;},_0x5b4c04[_0x3efa43(0x1e1)]=_0x3efa43(0x1c9),_0x5b4c04[_0x3efa43(0x1d0)]=function(_0x22ea28,_0x3dab75){return _0x22ea28<=_0x3dab75;},_0x5b4c04['fZpro']=_0x3efa43(0x1d7),_0x5b4c04[_0x3efa43(0x1cd)]=_0x3efa43(0x1d3);const _0x8c2c3d=_0x5b4c04,_0x269820=globals[_0x3efa43(0x1df)](_0x8c2c3d[_0x3efa43(0x1db)]),_0x3b6c43=_0x167d7e[_0x3efa43(0x1cf)];helper[_0x3efa43(0x1c8)]()['lcnc']&&(_0x8c2c3d[_0x3efa43(0x1d6)](typeof _0x3b6c43,_0x8c2c3d[_0x3efa43(0x1e1)])&&_0x8c2c3d[_0x3efa43(0x1d0)](_0x3b6c43[_0x3efa43(0x1d4)],0x28)?_0x269820?globals[_0x3efa43(0x1c5)](_0x3efa43(0x1d5)+_0x269820,_0x167d7e):globals[_0x3efa43(0x1c5)](_0x8c2c3d[_0x3efa43(0x1ce)],_0x167d7e):logger[_0x3efa43(0x1d8)](_0x8c2c3d[_0x3efa43(0x1cd)]));}static['get'](_0x52396f){const _0x596d17=a121_0x12d882,_0x447b90={};_0x447b90[_0x596d17(0x1c7)]=_0x596d17(0x1d7);const _0x493c88=_0x447b90;if(helper[_0x596d17(0x1c8)]()[_0x596d17(0x1e2)])return globals[_0x596d17(0x1df)](_0x596d17(0x1d5)+_0x52396f)||globals[_0x596d17(0x1df)](_0x493c88[_0x596d17(0x1c7)])||{};return{};}};
@@ -1 +1 @@
1
- function a122_0x5bb1(_0xff3b69,_0x5d1f0a){const _0x33f894=a122_0x33f8();return a122_0x5bb1=function(_0x5bb156,_0x4d7891){_0x5bb156=_0x5bb156-0x14f;let _0x2633c1=_0x33f894[_0x5bb156];return _0x2633c1;},a122_0x5bb1(_0xff3b69,_0x5d1f0a);}const a122_0x32ce10=a122_0x5bb1;function a122_0x33f8(){const _0x2d44ec=['script','TbsnC','xjXGp','lpMZT','jkZxy','AUTOMATION_LOG_COMMANDS','name_','findElement','ZOVlH','toString','local','./performance/constants','aTCfO','isBrowserstackInfra','findElement\x20command\x20failed\x20with\x20cssPath:\x20','getNudgeLocalNotSetError','emlXR','KBfuI','ENMDU','Gvred','lyCap','util','JavascriptError','GuvGf','POST_EXECUTE','fKVhk','isSelfHealEnabled','overrideExecute','findElement\x20command\x20failed\x20with\x20','efxfk','uwfHh','silly','getGlobal','aiSdk_defaultLogDataEnabled','4163912hpFUov','356516kGfrUJ','ZxSxD','NUDGE_LOCAL_ERRORS','find','skipHealingSuccess','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','Xrauo','1270UihUob','aiHeal_isHealingEnabled','6138RHwaZY','nestedKeyValue','./ai-sdk/autoHealHelper','setTcgToken','15JCNlOm','QyLGI','moYKm','args','9oGyJln','setTcgTokenStatus','debug','sUCQo','aiHeal:findElementSuccess','error','jqjBR','includes','format','][\x20SDK-AUTOMATION\x20]\x20','iwpnT','pkNYE','594642aBgUsn','getId','mHMqW','../bin/utils/constants','command','thnhO','./helper','name','aiHeal:setToken','HdWHs','vwvFE','xKGlw','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','toISOString','IFRMv','./ai-sdk/aiSdkWrapper','162638SjybQa','url','./logger','get',';\x20Trying\x20to\x20heal','tvLmI','bstack:options','message','7510335cZXxiT','430544nGmLQP','cNRSd','jhvrV','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','getSession','TxfSV','Successfully\x20healed\x20command\x20using\x20new\x20','request','./performance/performance-tester','mVOgI','372KDPrlP','initExecute','NxGRj','parameters_','iPQnQ','ziMzd','kflBH','JCrkv','jBpuF','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','value','mzbex','execute','getTcgTokenStatus','RjIcI','YOVcS','response','setAiSessionTimeStamp','body','measureWrapper','patchExecute','vTabv','info','JDVNl','aiHeal_isAuthenticated','mVHoB','OAZMP'];a122_0x33f8=function(){return _0x2d44ec;};return a122_0x33f8();}(function(_0x43e2a5,_0x48732e){const _0xd5a8a9=a122_0x5bb1,_0x50d5ee=_0x43e2a5();while(!![]){try{const _0x57ae1f=-parseInt(_0xd5a8a9(0x1cc))/0x1+-parseInt(_0xd5a8a9(0x167))/0x2*(-parseInt(_0xd5a8a9(0x1bc))/0x3)+parseInt(_0xd5a8a9(0x1af))/0x4+-parseInt(_0xd5a8a9(0x166))/0x5+-parseInt(_0xd5a8a9(0x171))/0x6*(-parseInt(_0xd5a8a9(0x15e))/0x7)+-parseInt(_0xd5a8a9(0x1ae))/0x8*(-parseInt(_0xd5a8a9(0x1c0))/0x9)+parseInt(_0xd5a8a9(0x1b6))/0xa*(-parseInt(_0xd5a8a9(0x1b8))/0xb);if(_0x57ae1f===_0x48732e)break;else _0x50d5ee['push'](_0x50d5ee['shift']());}catch(_0x539d52){_0x50d5ee['push'](_0x50d5ee['shift']());}}}(a122_0x33f8,0xea1bf));const {aiSdkWrapper}=require(a122_0x32ce10(0x15d)),{commandRepository}=require(a122_0x32ce10(0x1ba)),PerformanceTester=require(a122_0x32ce10(0x16f)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a122_0x32ce10(0x160)),helper=require(a122_0x32ce10(0x154)),constants=require(a122_0x32ce10(0x151)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a122_0x32ce10(0x197)),util=require(a122_0x32ce10(0x1a1));exports[a122_0x32ce10(0x1a7)]=(_0x4f5e1c,_0x2272c7)=>{const _0x317f86=a122_0x32ce10,_0x2933d5={'GuvGf':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','mVHoB':function(_0x4f28ef,_0x33321a){return _0x4f28ef===_0x33321a;},'TbsnC':'NoSuchElementError','sUCQo':_0x317f86(0x1a2),'kflBH':_0x317f86(0x193),'HdWHs':_0x317f86(0x189),'emlXR':_0x317f86(0x1b7),'efxfk':'css\x20selector','ZxSxD':function(_0x47cde6,_0x33ba72){return _0x47cde6+_0x33ba72;},'OAZMP':function(_0x2d6b41,_0x2cb304){return _0x2d6b41+_0x2cb304;},'NxGRj':_0x317f86(0x19a),'IFRMv':_0x317f86(0x162),'QyLGI':_0x317f86(0x1a8),'lpMZT':'aiHeal:findElementFailure','fKVhk':function(_0x49203b){return _0x49203b();},'YOVcS':function(_0x53d128,_0x5ee618){return _0x53d128&&_0x5ee618;},'moYKm':function(_0x11118c,_0xd02b36){return _0x11118c+_0xd02b36;},'mHMqW':_0x317f86(0x1b4),'Xrauo':function(_0xecf2b1,_0x38ca7a){return _0xecf2b1+_0x38ca7a;},'thnhO':function(_0x46da43,_0x30d690){return _0x46da43+_0x30d690;},'lyCap':_0x317f86(0x16d),'vTabv':function(_0x3820fe,_0x136fbc){return _0x3820fe+_0x136fbc;},'lNnGw':_0x317f86(0x16a),'wwrOD':function(_0x4725e0,_0x7ceb1a){return _0x4725e0+_0x7ceb1a;},'vwvFE':function(_0x3e7fb0,_0x3f9357){return _0x3e7fb0+_0x3f9357;},'pkNYE':function(_0x19085b,_0xd626ca){return _0x19085b+_0xd626ca;},'TxfSV':'Healing\x20failed\x20for\x20command\x20using\x20','ZQHZa':_0x317f86(0x161),'cNRSd':_0x317f86(0x174),'uwfHh':_0x317f86(0x15f),'xjXGp':_0x317f86(0x15a),'jkZxy':_0x317f86(0x156),'ouwtC':_0x317f86(0x1ad),'aTCfO':_0x317f86(0x1c4),'JDVNl':function(_0xdca565){return _0xdca565();},'iwpnT':function(_0x4f7320,_0x571e6b){return _0x4f7320===_0x571e6b;},'ZOVlH':'executeAsyncScript','JCrkv':'executeScript','jBpuF':'string','mVOgI':'capability','xKGlw':'browserstack.local','iPQnQ':_0x317f86(0x164),'Gvred':_0x317f86(0x196)},_0x2db034=_0x4f5e1c[_0x317f86(0x185)]||(helper['nestedKeyValue'](_0x2272c7,[_0x2933d5[_0x317f86(0x170)],_0x2933d5[_0x317f86(0x159)]])||helper[_0x317f86(0x1b9)](_0x2272c7,[_0x2933d5[_0x317f86(0x170)],_0x2933d5[_0x317f86(0x175)],_0x2933d5[_0x317f86(0x19f)]]));if(!globals[_0x317f86(0x1ac)](_0x2933d5['HdWHs'])&&!globals[_0x317f86(0x1ac)](_0x2933d5[_0x317f86(0x19c)])&&_0x2db034)return;_0x4f5e1c[_0x317f86(0x185)]=!![],_0x4f5e1c[_0x317f86(0x172)]=_0x4f5e1c[_0x317f86(0x17d)],_0x4f5e1c[_0x317f86(0x17d)]=async _0x4c95d5=>{const _0xff893e=_0x317f86,_0x594c2a={'ziMzd':_0x2933d5[_0xff893e(0x157)],'jqjBR':_0x2933d5[_0xff893e(0x190)],'jhvrV':function(_0x2db836){const _0x3198e4=_0xff893e;return _0x2933d5[_0x3198e4(0x1a5)](_0x2db836);},'tvLmI':_0x2933d5['ouwtC'],'RjIcI':function(_0x3b2852,_0xf1ba25){const _0x5389ed=_0xff893e;return _0x2933d5[_0x5389ed(0x18a)](_0x3b2852,_0xf1ba25);},'PNoQH':_0x2933d5[_0xff893e(0x177)],'ENMDU':_0x2933d5[_0xff893e(0x19c)],'KBfuI':_0x2933d5[_0xff893e(0x198)],'mzbex':function(_0x5160db){const _0x464414=_0xff893e;return _0x2933d5[_0x464414(0x188)](_0x5160db);}};try{const _0x13e92c={};_0x13e92c[_0xff893e(0x152)]=_0x4c95d5[_0xff893e(0x192)],await PerformanceTester[_0xff893e(0x184)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x5bc3ae=_0xff893e;if(!commandRepository[_0x5bc3ae(0x17e)]()&&globals[_0x5bc3ae(0x1ac)](_0x594c2a[_0x5bc3ae(0x176)])){const _0x492e24=PerformanceTester[_0x5bc3ae(0x184)](_0x594c2a[_0x5bc3ae(0x1c6)],async()=>{const _0x5dfb71=_0x5bc3ae;try{commandRepository[_0x5dfb71(0x1c1)](!![]),await aiSdkWrapper[_0x5dfb71(0x1bb)]((await _0x4f5e1c[_0x5dfb71(0x16b)]())[_0x5dfb71(0x14f)]());const _0x333e2c=globals[_0x5dfb71(0x1ac)](_0x594c2a['ziMzd']);_0x333e2c&&commandRepository[_0x5dfb71(0x182)]((await _0x4f5e1c[_0x5dfb71(0x16b)]())[_0x5dfb71(0x14f)]());}catch(_0x257245){logger[_0x5dfb71(0x1c5)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x257245);}});await _0x594c2a[_0x5bc3ae(0x169)](_0x492e24);}},_0x13e92c)();const _0x55f56d=await _0x4f5e1c[_0xff893e(0x172)](_0x4c95d5);try{if(_0x2933d5[_0xff893e(0x1ca)](_0x4c95d5[_0xff893e(0x192)],_0x2933d5[_0xff893e(0x194)])||_0x2933d5['mVHoB'](_0x4c95d5[_0xff893e(0x192)],_0x2933d5[_0xff893e(0x178)])){const _0x129052=_0x4c95d5[_0xff893e(0x174)]&&_0x4c95d5[_0xff893e(0x174)][_0xff893e(0x18c)],_0x5ce9b6=_0x4c95d5['parameters_']&&_0x4c95d5['parameters_'][_0xff893e(0x1bf)],_0x1e97f2=_0x5ce9b6&&util[_0xff893e(0x1c8)]('%j',_0x5ce9b6);if(_0x129052&&_0x2933d5['iwpnT'](typeof _0x129052,_0x2933d5[_0xff893e(0x179)])){const _0x445fbb=constants[_0xff893e(0x191)][_0xff893e(0x1b2)](_0x90b1c2=>_0x129052['includes'](_0x90b1c2)||_0x1e97f2&&_0x1e97f2['includes'](_0x90b1c2));if(_0x445fbb){const _0x416635={};_0x416635[_0xff893e(0x152)]=_0x445fbb,_0x416635['parameters']=_0x5ce9b6;const _0x450565={};_0x450565[_0xff893e(0x183)]=_0x55f56d;const _0x5620c8={};_0x5620c8[_0xff893e(0x16e)]=_0x416635,_0x5620c8[_0xff893e(0x181)]=_0x450565,automationLogger[_0xff893e(0x1ab)]('['+new Date()[_0xff893e(0x15b)]()+_0xff893e(0x1c9)+util['format']('%j',_0x5620c8));}}}}catch(_0x35d850){logger['silly'](_0xff893e(0x17a)+_0x35d850[_0xff893e(0x165)]);}return await PerformanceTester[_0xff893e(0x184)](PerformanceDriverEvents[_0xff893e(0x1a4)],async()=>{const _0x221369=_0xff893e;if(!helper[_0x221369(0x199)]()&&(commandRepository[_0x221369(0x1a6)]()||globals[_0x221369(0x1ac)](_0x594c2a[_0x221369(0x163)]))&&_0x594c2a[_0x221369(0x17f)](_0x4c95d5[_0x221369(0x192)],_0x594c2a['PNoQH'])&&!_0x4c95d5[_0x221369(0x1b3)]&&globals['getGlobal'](_0x594c2a[_0x221369(0x176)])&&globals[_0x221369(0x1ac)](_0x594c2a[_0x221369(0x19e)])){const _0x34138b=new Date(),_0x4e96ee=PerformanceTester[_0x221369(0x184)](_0x594c2a[_0x221369(0x19d)],async()=>{return await aiSdkWrapper['handleSuccess'](_0x2272c7,_0x4f5e1c,_0x4c95d5);});await _0x594c2a[_0x221369(0x17c)](_0x4e96ee);}},{'command':_0x4c95d5[_0xff893e(0x192)]})(),_0x55f56d;}catch(_0x2d2b3f){await PerformanceTester[_0xff893e(0x184)](PerformanceDriverEvents[_0xff893e(0x1a4)],async()=>{const _0x83a7fc=_0xff893e;logger[_0x83a7fc(0x1c2)](_0x2933d5[_0x83a7fc(0x1a3)]);try{if(!helper[_0x83a7fc(0x199)]()&&(_0x2933d5[_0x83a7fc(0x18a)](_0x2d2b3f[_0x83a7fc(0x155)],_0x2933d5[_0x83a7fc(0x18d)])||_0x2933d5['mVHoB'](_0x2d2b3f[_0x83a7fc(0x155)],_0x2933d5[_0x83a7fc(0x1c3)]))&&_0x2933d5[_0x83a7fc(0x18a)](_0x4c95d5[_0x83a7fc(0x192)],_0x2933d5[_0x83a7fc(0x177)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x83a7fc(0x1ac)](_0x2933d5[_0x83a7fc(0x157)])&&globals[_0x83a7fc(0x1ac)](_0x2933d5['emlXR'])){_0x2933d5[_0x83a7fc(0x18a)](_0x4c95d5[_0x83a7fc(0x174)]['using'],_0x2933d5[_0x83a7fc(0x1a9)])?logger['info'](_0x2933d5[_0x83a7fc(0x1b0)](_0x2933d5[_0x83a7fc(0x18b)](_0x2933d5[_0x83a7fc(0x173)],_0x4c95d5['parameters_']['value']),_0x2933d5['IFRMv'])):logger[_0x83a7fc(0x187)](_0x2933d5['ZxSxD'](_0x2933d5[_0x83a7fc(0x1b0)](_0x2933d5[_0x83a7fc(0x1b0)](_0x2933d5[_0x83a7fc(0x18b)](_0x2933d5[_0x83a7fc(0x1bd)],_0x4c95d5[_0x83a7fc(0x174)]['using']),':\x20'),_0x4c95d5[_0x83a7fc(0x174)][_0x83a7fc(0x17b)]),_0x2933d5[_0x83a7fc(0x15c)]));const _0x3fffdc=PerformanceTester[_0x83a7fc(0x184)](_0x2933d5[_0x83a7fc(0x18f)],async()=>{return await aiSdkWrapper['handleFailure'](_0x2272c7,_0x4f5e1c,_0x4c95d5);}),_0x9d46fc=new Date(),{locatorType:_0x297ea2,locatorValue:_0x3a285a,commandHealed:_0x1f6f43}=await _0x2933d5[_0x83a7fc(0x1a5)](_0x3fffdc);if(_0x2933d5[_0x83a7fc(0x180)](_0x297ea2,_0x3a285a)){_0x4c95d5[_0x83a7fc(0x174)]['using']=_0x297ea2,_0x4c95d5[_0x83a7fc(0x174)]['value']=_0x3a285a,_0x4c95d5[_0x83a7fc(0x1b3)]=!![];const _0x360b25=_0x4f5e1c[_0x83a7fc(0x17d)](_0x4c95d5);return _0x2933d5[_0x83a7fc(0x18a)](_0x297ea2,_0x2933d5[_0x83a7fc(0x1a9)])?logger[_0x83a7fc(0x187)](_0x2933d5[_0x83a7fc(0x1be)](_0x2933d5[_0x83a7fc(0x150)],_0x3a285a)):logger[_0x83a7fc(0x187)](_0x2933d5['Xrauo'](_0x2933d5[_0x83a7fc(0x1b5)](_0x2933d5[_0x83a7fc(0x153)](_0x2933d5[_0x83a7fc(0x1a0)],_0x297ea2),':\x20'),_0x3a285a)),_0x360b25;}else!_0x1f6f43&&(_0x2933d5[_0x83a7fc(0x18a)](_0x297ea2,_0x2933d5[_0x83a7fc(0x1a9)])?logger[_0x83a7fc(0x187)](_0x2933d5[_0x83a7fc(0x186)](_0x2933d5['lNnGw'],_0x4c95d5[_0x83a7fc(0x174)][_0x83a7fc(0x17b)])):logger[_0x83a7fc(0x187)](_0x2933d5['wwrOD'](_0x2933d5[_0x83a7fc(0x158)](_0x2933d5[_0x83a7fc(0x1cb)](_0x2933d5[_0x83a7fc(0x16c)],_0x4c95d5[_0x83a7fc(0x174)]['using']),':\x20'),_0x4c95d5[_0x83a7fc(0x174)]['value'])));}!_0x2db034&&_0x2933d5[_0x83a7fc(0x18a)](_0x4c95d5[_0x83a7fc(0x192)],_0x2933d5['ZQHZa'])&&helper[_0x83a7fc(0x1b9)](_0x4c95d5,[_0x2933d5[_0x83a7fc(0x168)],_0x2933d5[_0x83a7fc(0x1aa)]])&&!!constants[_0x83a7fc(0x1b1)][_0x83a7fc(0x1b2)](_0x21e8b7=>{const _0x516b04=_0x83a7fc;return _0x2d2b3f[_0x516b04(0x195)]()[_0x516b04(0x1c7)](_0x21e8b7);})&&helper[_0x83a7fc(0x19b)](_0x4c95d5[_0x83a7fc(0x174)]['url'],!![]);}catch(_0x5e0e3a){logger[_0x83a7fc(0x1c2)](_0x2933d5[_0x83a7fc(0x18e)],_0x5e0e3a);}},{'success':![],'failure':_0x2d2b3f})();throw _0x2d2b3f;}};};
1
+ function a122_0x2059(_0x303c78,_0x8ebda){const _0x4c4357=a122_0x4c43();return a122_0x2059=function(_0x2059c3,_0x15f063){_0x2059c3=_0x2059c3-0x144;let _0x54b049=_0x4c4357[_0x2059c3];return _0x54b049;},a122_0x2059(_0x303c78,_0x8ebda);}const a122_0x5bfd9b=a122_0x2059;(function(_0x28dddb,_0x1cc997){const _0x283778=a122_0x2059,_0x261ada=_0x28dddb();while(!![]){try{const _0x5321c9=-parseInt(_0x283778(0x161))/0x1*(-parseInt(_0x283778(0x196))/0x2)+-parseInt(_0x283778(0x194))/0x3*(-parseInt(_0x283778(0x1a6))/0x4)+-parseInt(_0x283778(0x1a5))/0x5*(-parseInt(_0x283778(0x1a9))/0x6)+-parseInt(_0x283778(0x155))/0x7+-parseInt(_0x283778(0x195))/0x8*(-parseInt(_0x283778(0x1b5))/0x9)+parseInt(_0x283778(0x144))/0xa+parseInt(_0x283778(0x146))/0xb*(-parseInt(_0x283778(0x163))/0xc);if(_0x5321c9===_0x1cc997)break;else _0x261ada['push'](_0x261ada['shift']());}catch(_0x4f44c4){_0x261ada['push'](_0x261ada['shift']());}}}(a122_0x4c43,0xd90d4));const {aiSdkWrapper}=require(a122_0x5bfd9b(0x168)),{commandRepository}=require('./ai-sdk/autoHealHelper'),PerformanceTester=require(a122_0x5bfd9b(0x157)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a122_0x5bfd9b(0x170)),helper=require(a122_0x5bfd9b(0x192)),constants=require(a122_0x5bfd9b(0x189)),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require(a122_0x5bfd9b(0x18c));function a122_0x4c43(){const _0x1dfcf1=['toString','util','aiHeal_isHealingEnabled','][\x20SDK-AUTOMATION\x20]\x20','FtSNN','VpGVC','TTbIr','./helper','args','1940379gxeSzH','72tNwMdv','261654aDLmOG','body','css\x20selector','eNsme','Vndsx','getTcgTokenStatus','gWuko','SrUVR','toaXc','PRE_EXECUTE','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','Healing\x20failed\x20for\x20command\x20using\x20','xenXV','response','overrideExecute','895315kUSynq','8BnhkTj','zhHaj','gnVLT','6OvnqTF','isSelfHealEnabled','NSMzD','yrXmF','setAiSessionTimeStamp','WqhxO','NUDGE_LOCAL_ERRORS','QKkcI','kwUJg','cjehS','jgRdx','executeScript','660285JMFAvU','CMFHR','10295020WKfjIK','execute','294855VnpyFw','keMDy','ASnNO','fKIPV','aiHeal:setToken','patchExecute','brytU','name_','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','NOvXJ','OcEqf','gxgVB','zDGFM','info','get','2006368bSMJdD','includes','./performance/performance-tester','JMhLL','OddCC','Sennt','value','name','IIiHu','Successfully\x20healed\x20command\x20using\x20new\x20','capability','bstack:options','1PMVuDu','getSession','948ptuZmH','string','setTcgTokenStatus','format','VczpE','./ai-sdk/aiSdkWrapper','JavascriptError','iKqxa','findElement','nestedKeyValue','aiSdk_defaultLogDataEnabled','aiHeal:findElementFailure','measureWrapper','./logger','executeAsyncScript','parameters_','silly','message','skipHealingSuccess','utCbA','find','local','command','PNkKv','SMnlR','POST_EXECUTE','isBrowserstackInfra','handleFailure','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','HUwna','Cnpxo','initExecute','toISOString','using','AUTOMATION_LOG_COMMANDS','JCuDE','handleSuccess','getGlobal','../bin/utils/constants','getId'];a122_0x4c43=function(){return _0x1dfcf1;};return a122_0x4c43();}exports[a122_0x5bfd9b(0x1a4)]=(_0x1bdbca,_0x12e356)=>{const _0x510b52=a122_0x5bfd9b,_0x1f0429={'OddCC':'aiHeal_isAuthenticated','keMDy':_0x510b52(0x14a),'Cnpxo':function(_0x328b35){return _0x328b35();},'brytU':_0x510b52(0x17f),'gnVLT':function(_0x5f0564,_0xd96969){return _0x5f0564===_0xd96969;},'eNsme':'NoSuchElementError','Vndsx':_0x510b52(0x169),'jgRdx':_0x510b52(0x16b),'VpGVC':_0x510b52(0x18d),'iKqxa':_0x510b52(0x198),'CMFHR':function(_0x319f3a,_0xa8ecae){return _0x319f3a+_0xa8ecae;},'EvPcE':function(_0x1c4680,_0x3a7414){return _0x1c4680+_0x3a7414;},'toaXc':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','Sennt':';\x20Trying\x20to\x20heal','yrXmF':function(_0x3587db,_0x51d038){return _0x3587db+_0x51d038;},'AbwbS':'findElement\x20command\x20failed\x20with\x20','gWuko':_0x510b52(0x16e),'HUwna':function(_0xe9ad67,_0x2b3c9e){return _0xe9ad67&&_0x2b3c9e;},'xenXV':function(_0x26a76a,_0x1d4a8c){return _0x26a76a+_0x1d4a8c;},'obOUr':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','dveHD':function(_0x8d30a,_0x3e755e){return _0x8d30a+_0x3e755e;},'NSMzD':function(_0x65ca17,_0x510940){return _0x65ca17+_0x510940;},'nvrLJ':_0x510b52(0x15e),'cjehS':_0x510b52(0x1a0),'JCuDE':function(_0x609c40,_0x743edf){return _0x609c40+_0x743edf;},'NOvXJ':_0x510b52(0x1a1),'FtSNN':function(_0x38b716,_0x14c519){return _0x38b716===_0x14c519;},'VczpE':_0x510b52(0x154),'QKkcI':'parameters_','utCbA':'url','ZVmaN':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','vmRqU':_0x510b52(0x16d),'oxvxn':'aiHeal:findElementSuccess','SrUVR':function(_0x690309){return _0x690309();},'rpAGc':_0x510b52(0x171),'gxgVB':_0x510b52(0x1b4),'OcEqf':function(_0x51bb6d,_0x627651){return _0x51bb6d===_0x627651;},'JMhLL':_0x510b52(0x164),'zDGFM':_0x510b52(0x15f),'kwUJg':'browserstack.local','IIiHu':_0x510b52(0x160),'zhHaj':_0x510b52(0x178)},_0x3f6aae=_0x1bdbca[_0x510b52(0x14b)]||(helper[_0x510b52(0x16c)](_0x12e356,[_0x1f0429[_0x510b52(0x152)],_0x1f0429[_0x510b52(0x1b1)]])||helper[_0x510b52(0x16c)](_0x12e356,[_0x1f0429['zDGFM'],_0x1f0429[_0x510b52(0x15d)],_0x1f0429[_0x510b52(0x1a7)]]));if(!globals[_0x510b52(0x188)](_0x1f0429[_0x510b52(0x159)])&&!globals[_0x510b52(0x188)](_0x1f0429[_0x510b52(0x190)])&&_0x3f6aae)return;_0x1bdbca['patchExecute']=!![],_0x1bdbca[_0x510b52(0x182)]=_0x1bdbca[_0x510b52(0x145)],_0x1bdbca[_0x510b52(0x145)]=async _0x20c6d4=>{const _0x59c267=_0x510b52,_0x545e57={'viCAf':_0x1f0429['vmRqU'],'SMnlR':function(_0x5b0b87,_0x4db6ad){return _0x1f0429['FtSNN'](_0x5b0b87,_0x4db6ad);},'TTbIr':_0x1f0429[_0x59c267(0x1b3)],'WCdmg':_0x1f0429[_0x59c267(0x159)],'WqhxO':_0x1f0429[_0x59c267(0x190)],'fKIPV':_0x1f0429['oxvxn'],'PNkKv':function(_0x3a8436){const _0x5e3bbd=_0x59c267;return _0x1f0429[_0x5e3bbd(0x19d)](_0x3a8436);}};try{const _0x4772a1={};_0x4772a1[_0x59c267(0x179)]=_0x20c6d4['name_'],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x59c267(0x19f)],async()=>{const _0x4d4204=_0x59c267,_0x3ed6ab={};_0x3ed6ab['ASnNO']=_0x1f0429[_0x4d4204(0x159)];const _0x2d77ce=_0x3ed6ab;if(!commandRepository[_0x4d4204(0x19b)]()&&globals[_0x4d4204(0x188)](_0x1f0429[_0x4d4204(0x159)])){const _0x297364=PerformanceTester[_0x4d4204(0x16f)](_0x1f0429[_0x4d4204(0x147)],async()=>{const _0x326671=_0x4d4204;try{commandRepository[_0x326671(0x165)](!![]),await aiSdkWrapper['setTcgToken']((await _0x1bdbca['getSession']())[_0x326671(0x18a)]());const _0x494cd7=globals[_0x326671(0x188)](_0x2d77ce[_0x326671(0x148)]);_0x494cd7&&commandRepository[_0x326671(0x1ad)]((await _0x1bdbca[_0x326671(0x162)]())[_0x326671(0x18a)]());}catch(_0x6fc66b){logger['error']('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x6fc66b);}});await _0x1f0429[_0x4d4204(0x181)](_0x297364);}},_0x4772a1)();const _0x44aac4=await _0x1bdbca[_0x59c267(0x182)](_0x20c6d4);try{if(_0x1f0429[_0x59c267(0x1a8)](_0x20c6d4[_0x59c267(0x14d)],_0x1f0429['rpAGc'])||_0x1f0429[_0x59c267(0x18f)](_0x20c6d4['name_'],_0x1f0429[_0x59c267(0x151)])){const _0x5c60ea=_0x20c6d4[_0x59c267(0x172)]&&_0x20c6d4[_0x59c267(0x172)]['script'],_0x5a0525=_0x20c6d4[_0x59c267(0x172)]&&_0x20c6d4[_0x59c267(0x172)][_0x59c267(0x193)],_0x43cdab=_0x5a0525&&util['format']('%j',_0x5a0525);if(_0x5c60ea&&_0x1f0429[_0x59c267(0x150)](typeof _0x5c60ea,_0x1f0429[_0x59c267(0x158)])){const _0x5d7aae=constants[_0x59c267(0x185)][_0x59c267(0x177)](_0x5596da=>_0x5c60ea['includes'](_0x5596da)||_0x43cdab&&_0x43cdab[_0x59c267(0x156)](_0x5596da));if(_0x5d7aae){const _0xf90a2b={};_0xf90a2b['command']=_0x5d7aae,_0xf90a2b['parameters']=_0x5a0525;const _0x57e4da={};_0x57e4da[_0x59c267(0x197)]=_0x44aac4;const _0x239dc8={};_0x239dc8['request']=_0xf90a2b,_0x239dc8[_0x59c267(0x1a3)]=_0x57e4da,automationLogger[_0x59c267(0x173)]('['+new Date()[_0x59c267(0x183)]()+_0x59c267(0x18e)+util[_0x59c267(0x166)]('%j',_0x239dc8));}}}}catch(_0x4f0fd1){logger['silly'](_0x59c267(0x14e)+_0x4f0fd1[_0x59c267(0x174)]);}return await PerformanceTester[_0x59c267(0x16f)](PerformanceDriverEvents[_0x59c267(0x17c)],async()=>{const _0x3461f2=_0x59c267;if(!helper[_0x3461f2(0x17d)]()&&(commandRepository[_0x3461f2(0x1aa)]()||globals['getGlobal'](_0x545e57['viCAf']))&&_0x545e57[_0x3461f2(0x17b)](_0x20c6d4[_0x3461f2(0x14d)],_0x545e57[_0x3461f2(0x191)])&&!_0x20c6d4['skipHealingSuccess']&&globals[_0x3461f2(0x188)](_0x545e57['WCdmg'])&&globals[_0x3461f2(0x188)](_0x545e57[_0x3461f2(0x1ae)])){const _0x2df08e=new Date(),_0x24882f=PerformanceTester[_0x3461f2(0x16f)](_0x545e57[_0x3461f2(0x149)],async()=>{const _0x46f802=_0x3461f2;return await aiSdkWrapper[_0x46f802(0x187)](_0x12e356,_0x1bdbca,_0x20c6d4);});await _0x545e57[_0x3461f2(0x17a)](_0x24882f);}},{'command':_0x20c6d4[_0x59c267(0x14d)]})(),_0x44aac4;}catch(_0x223e2e){await PerformanceTester[_0x59c267(0x16f)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x360db7=_0x59c267;logger['debug'](_0x1f0429[_0x360db7(0x14c)]);try{if(!helper[_0x360db7(0x17d)]()&&(_0x1f0429['gnVLT'](_0x223e2e['name'],_0x1f0429[_0x360db7(0x199)])||_0x1f0429['gnVLT'](_0x223e2e[_0x360db7(0x15c)],_0x1f0429[_0x360db7(0x19a)]))&&_0x1f0429[_0x360db7(0x1a8)](_0x20c6d4[_0x360db7(0x14d)],_0x1f0429[_0x360db7(0x1b3)])&&commandRepository[_0x360db7(0x1aa)]()&&globals[_0x360db7(0x188)](_0x1f0429[_0x360db7(0x159)])&&globals['getGlobal'](_0x1f0429[_0x360db7(0x190)])){_0x1f0429['gnVLT'](_0x20c6d4[_0x360db7(0x172)][_0x360db7(0x184)],_0x1f0429[_0x360db7(0x16a)])?logger[_0x360db7(0x153)](_0x1f0429[_0x360db7(0x1b6)](_0x1f0429['EvPcE'](_0x1f0429[_0x360db7(0x19e)],_0x20c6d4[_0x360db7(0x172)][_0x360db7(0x15b)]),_0x1f0429[_0x360db7(0x15a)])):logger[_0x360db7(0x153)](_0x1f0429[_0x360db7(0x1b6)](_0x1f0429[_0x360db7(0x1b6)](_0x1f0429[_0x360db7(0x1b6)](_0x1f0429[_0x360db7(0x1ac)](_0x1f0429['AbwbS'],_0x20c6d4[_0x360db7(0x172)][_0x360db7(0x184)]),':\x20'),_0x20c6d4['parameters_'][_0x360db7(0x15b)]),_0x1f0429[_0x360db7(0x15a)]));const _0x203912=PerformanceTester[_0x360db7(0x16f)](_0x1f0429[_0x360db7(0x19c)],async()=>{const _0x404da2=_0x360db7;return await aiSdkWrapper[_0x404da2(0x17e)](_0x12e356,_0x1bdbca,_0x20c6d4);}),_0xaa5bd7=new Date(),{locatorType:_0x1a38c3,locatorValue:_0x531220,commandHealed:_0xabda47}=await _0x1f0429['Cnpxo'](_0x203912);if(_0x1f0429[_0x360db7(0x180)](_0x1a38c3,_0x531220)){_0x20c6d4[_0x360db7(0x172)][_0x360db7(0x184)]=_0x1a38c3,_0x20c6d4[_0x360db7(0x172)][_0x360db7(0x15b)]=_0x531220,_0x20c6d4[_0x360db7(0x175)]=!![];const _0x211611=_0x1bdbca[_0x360db7(0x145)](_0x20c6d4);return _0x1f0429['gnVLT'](_0x1a38c3,_0x1f0429['iKqxa'])?logger['info'](_0x1f0429[_0x360db7(0x1a2)](_0x1f0429['obOUr'],_0x531220)):logger[_0x360db7(0x153)](_0x1f0429['dveHD'](_0x1f0429['NSMzD'](_0x1f0429['yrXmF'](_0x1f0429['nvrLJ'],_0x1a38c3),':\x20'),_0x531220)),_0x211611;}else!_0xabda47&&(_0x1f0429[_0x360db7(0x1a8)](_0x1a38c3,_0x1f0429[_0x360db7(0x16a)])?logger[_0x360db7(0x153)](_0x1f0429[_0x360db7(0x1a2)](_0x1f0429[_0x360db7(0x1b2)],_0x20c6d4[_0x360db7(0x172)][_0x360db7(0x15b)])):logger[_0x360db7(0x153)](_0x1f0429['JCuDE'](_0x1f0429[_0x360db7(0x186)](_0x1f0429[_0x360db7(0x1ab)](_0x1f0429[_0x360db7(0x14f)],_0x20c6d4[_0x360db7(0x172)]['using']),':\x20'),_0x20c6d4[_0x360db7(0x172)][_0x360db7(0x15b)])));}!_0x3f6aae&&_0x1f0429['FtSNN'](_0x20c6d4[_0x360db7(0x14d)],_0x1f0429[_0x360db7(0x167)])&&helper[_0x360db7(0x16c)](_0x20c6d4,[_0x1f0429[_0x360db7(0x1b0)],_0x1f0429[_0x360db7(0x176)]])&&!!constants[_0x360db7(0x1af)][_0x360db7(0x177)](_0x2c166d=>{const _0x45e64b=_0x360db7;return _0x223e2e[_0x45e64b(0x18b)]()[_0x45e64b(0x156)](_0x2c166d);})&&helper['getNudgeLocalNotSetError'](_0x20c6d4[_0x360db7(0x172)]['url'],!![]);}catch(_0x44dcb9){logger['debug'](_0x1f0429['ZVmaN'],_0x44dcb9);}},{'success':![],'failure':_0x223e2e})();throw _0x223e2e;}};};
@@ -1 +1 @@
1
- function a123_0x4b5a(_0x364fa3,_0x6029a1){const _0x228636=a123_0x2286();return a123_0x4b5a=function(_0x4b5aa7,_0x41f7f8){_0x4b5aa7=_0x4b5aa7-0x99;let _0x248b67=_0x228636[_0x4b5aa7];return _0x248b67;},a123_0x4b5a(_0x364fa3,_0x6029a1);}const a123_0x5c9cd1=a123_0x4b5a;(function(_0x241435,_0x1a0c8e){const _0x45d101=a123_0x4b5a,_0x151692=_0x241435();while(!![]){try{const _0x4a7fdc=parseInt(_0x45d101(0xbf))/0x1*(-parseInt(_0x45d101(0xa5))/0x2)+parseInt(_0x45d101(0x99))/0x3+parseInt(_0x45d101(0xac))/0x4*(parseInt(_0x45d101(0x9d))/0x5)+-parseInt(_0x45d101(0xa9))/0x6*(parseInt(_0x45d101(0xab))/0x7)+-parseInt(_0x45d101(0xb2))/0x8+parseInt(_0x45d101(0xa3))/0x9*(-parseInt(_0x45d101(0xba))/0xa)+parseInt(_0x45d101(0x9b))/0xb;if(_0x4a7fdc===_0x1a0c8e)break;else _0x151692['push'](_0x151692['shift']());}catch(_0x3e440e){_0x151692['push'](_0x151692['shift']());}}}(a123_0x2286,0xed030));function a123_0x2286(){const _0x3dc36a=['ELfQm','emit','patchQuit','catch','true','patchScreenshot','ESwCP','1810RlQvoc','hNEMb','hBvyc','then','quitCount_','5edXXSj','start','851736nuqNDV','bs:addLog:','43204403aWHzGo','overrideTakeScreenshot','389445WzUQkF','initScreenshot','AMySl','OKIVW','TEST_SCREENSHOT','iQzgw','47799mSzyJK','initQuit','434526uFBBaD','quit','end','QORgz','255660yfsGnA','overrideQuit','70hgeeTX','8EXCJvo','WijCM','pid','WJMLF','KuLfk','BS_TESTOPS_ALLOW_SCREENSHOTS','7382856UgvEfC'];a123_0x2286=function(){return _0x3dc36a;};return a123_0x2286();}const PerformanceTester=require('./performance/performance-tester'),O11yEvents=require('./performance/constants')['O11y_EVENTS'];exports[a123_0x5c9cd1(0x9c)]=_0xf0960d=>{const _0x48f073=a123_0x5c9cd1,_0x4c3f21={'OKIVW':_0x48f073(0xa1),'WijCM':function(_0x566b40,_0x4c98dd){return _0x566b40(_0x4c98dd);},'AMySl':function(_0x26ac13,_0x1e13e9){return _0x26ac13!==_0x1e13e9;},'hBvyc':_0x48f073(0xb7)};if(_0x4c3f21[_0x48f073(0x9f)](process['env'][_0x48f073(0xb1)],_0x4c3f21[_0x48f073(0xbc)]))return;if(_0xf0960d[_0x48f073(0xb8)])return;_0xf0960d[_0x48f073(0xb8)]=!![],_0xf0960d[_0x48f073(0x9e)]=_0xf0960d['takeScreenshot'],_0xf0960d['takeScreenshot']=()=>{const _0x5d707c=_0x48f073,_0x25b75e={'hNEMb':_0x4c3f21[_0x5d707c(0xa0)],'QORgz':function(_0xafd01,_0x1f775a){const _0x1d400e=_0x5d707c;return _0x4c3f21[_0x1d400e(0xad)](_0xafd01,_0x1f775a);},'KuLfk':function(_0x3786ac,_0x4f1368){const _0x4cf089=_0x5d707c;return _0x4c3f21[_0x4cf089(0xad)](_0x3786ac,_0x4f1368);}};return new Promise(function(_0x4a2542,_0x599f9b){const _0x50a0d5=_0x5d707c,_0x50bc60={'XgEUn':_0x25b75e[_0x50a0d5(0xbb)],'WJMLF':function(_0x36fca5,_0x262f1a){const _0x414ddd=_0x50a0d5;return _0x25b75e[_0x414ddd(0xa8)](_0x36fca5,_0x262f1a);},'ESwCP':function(_0x25c4e1,_0x29939a){const _0x1c6a4b=_0x50a0d5;return _0x25b75e[_0x1c6a4b(0xb0)](_0x25c4e1,_0x29939a);}};_0xf0960d['initScreenshot']()[_0x50a0d5(0xbd)](_0x1fe184=>{const _0x484347=_0x50a0d5;PerformanceTester[_0x484347(0xc0)](O11yEvents['TAKE_SCREENSHOT']),process[_0x484347(0xb4)](_0x484347(0x9a)+process[_0x484347(0xae)],{'timestamp':new Date()['toISOString'](),'message':_0x1fe184,'kind':_0x50bc60['XgEUn']}),_0x50bc60[_0x484347(0xaf)](_0x4a2542,_0x1fe184),PerformanceTester[_0x484347(0xa7)](O11yEvents['TAKE_SCREENSHOT']);})[_0x50a0d5(0xb6)](_0x11f25c=>{const _0x5767cd=_0x50a0d5;PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']),_0x50bc60[_0x5767cd(0xb9)](_0x599f9b,_0x11f25c);});});};},exports[a123_0x5c9cd1(0xaa)]=(_0x27bea7,_0xe8e00=null)=>{const _0x1f3a84=a123_0x5c9cd1,_0x292a2c={'iQzgw':function(_0x453394){return _0x453394();},'ELfQm':function(_0x146579,_0x4625f8){return _0x146579>_0x4625f8;},'ewIxF':function(_0x240c19,_0x4c3667){return _0x240c19>_0x4c3667;}};if(_0x27bea7[_0x1f3a84(0xb5)])return;_0x27bea7[_0x1f3a84(0xb5)]=!![],_0x27bea7[_0x1f3a84(0xa4)]=_0x27bea7[_0x1f3a84(0xa6)],_0x27bea7['quit']=()=>{const _0x1483d8=_0x1f3a84;if(_0xe8e00){_0xe8e00[_0x1483d8(0xbe)]+=0x1;if(_0x292a2c[_0x1483d8(0xb3)](_0xe8e00[_0x1483d8(0xbe)],0x1))return _0x27bea7[_0x1483d8(0xa4)]();}else{_0x27bea7[_0x1483d8(0xbe)]+=0x1;if(_0x292a2c['ewIxF'](_0x27bea7[_0x1483d8(0xbe)],0x1))return _0x27bea7[_0x1483d8(0xa4)]();}return new Promise(function(_0x49555c){const _0x3dd125=_0x1483d8;_0x292a2c[_0x3dd125(0xa2)](_0x49555c);});};};
1
+ const a123_0x4d91a8=a123_0x2246;(function(_0x120a14,_0x32d01b){const _0x3e4283=a123_0x2246,_0x359aef=_0x120a14();while(!![]){try{const _0x6e69c4=parseInt(_0x3e4283(0xa6))/0x1+parseInt(_0x3e4283(0xb2))/0x2+-parseInt(_0x3e4283(0xa2))/0x3+parseInt(_0x3e4283(0xb7))/0x4+-parseInt(_0x3e4283(0xb9))/0x5*(parseInt(_0x3e4283(0xbf))/0x6)+-parseInt(_0x3e4283(0xb1))/0x7*(-parseInt(_0x3e4283(0xab))/0x8)+parseInt(_0x3e4283(0xad))/0x9*(parseInt(_0x3e4283(0xb3))/0xa);if(_0x6e69c4===_0x32d01b)break;else _0x359aef['push'](_0x359aef['shift']());}catch(_0x497957){_0x359aef['push'](_0x359aef['shift']());}}}(a123_0x16fd,0x5f31b));function a123_0x16fd(){const _0x5e0d96=['6146072qYVUZL','takeScreenshot','3191733AqWYza','patchQuit','mHCjw','env','7SkMGrB','129980tKNJBI','10Rcdhte','overrideTakeScreenshot','TEST_SCREENSHOT','end','629648JCjJLU','hXZSF','59425WusMMr','initQuit','emit','true','then','./performance/performance-tester','372YyTBLa','qPOKy','initScreenshot','pid','quitCount_','overrideQuit','aemSS','cexJJ','O11y_EVENTS','quit','mYmhR','2158158cHwOaD','teaXT','./performance/constants','TAKE_SCREENSHOT','500873sUgXxT','patchScreenshot','gkgHm','BS_TESTOPS_ALLOW_SCREENSHOTS','toISOString'];a123_0x16fd=function(){return _0x5e0d96;};return a123_0x16fd();}function a123_0x2246(_0x2bfc1f,_0x32fa2b){const _0x16fd77=a123_0x16fd();return a123_0x2246=function(_0x2246bb,_0x4048c7){_0x2246bb=_0x2246bb-0xa1;let _0x3016f=_0x16fd77[_0x2246bb];return _0x3016f;},a123_0x2246(_0x2bfc1f,_0x32fa2b);}const PerformanceTester=require(a123_0x4d91a8(0xbe)),O11yEvents=require(a123_0x4d91a8(0xa4))[a123_0x4d91a8(0xc7)];exports[a123_0x4d91a8(0xb4)]=_0xb7e3a7=>{const _0x168c76=a123_0x4d91a8,_0x4f00c7={'gkgHm':function(_0x54ead5,_0x2ed6be){return _0x54ead5(_0x2ed6be);},'qPOKy':_0x168c76(0xb5),'teaXT':function(_0x20e2c7,_0x1cfa1a){return _0x20e2c7!==_0x1cfa1a;},'mHCjw':_0x168c76(0xbc)};if(_0x4f00c7[_0x168c76(0xa3)](process[_0x168c76(0xb0)][_0x168c76(0xa9)],_0x4f00c7[_0x168c76(0xaf)]))return;if(_0xb7e3a7[_0x168c76(0xa7)])return;_0xb7e3a7[_0x168c76(0xa7)]=!![],_0xb7e3a7[_0x168c76(0xc1)]=_0xb7e3a7[_0x168c76(0xac)],_0xb7e3a7[_0x168c76(0xac)]=()=>{const _0x4249da=_0x168c76,_0x23583b={'cexJJ':function(_0x1d044e,_0x14bf57){const _0x4cdfdd=a123_0x2246;return _0x4f00c7[_0x4cdfdd(0xa8)](_0x1d044e,_0x14bf57);},'aemSS':_0x4f00c7[_0x4249da(0xc0)],'iQzKH':function(_0x5d78c4,_0x1c1ca2){return _0x4f00c7['gkgHm'](_0x5d78c4,_0x1c1ca2);}};return new Promise(function(_0x20f2bb,_0x66b2cb){const _0x174870=_0x4249da,_0x3ecba9={'aGdUo':_0x23583b[_0x174870(0xc5)],'yzYnB':function(_0xbfd8a,_0x265bd6){return _0x23583b['iQzKH'](_0xbfd8a,_0x265bd6);}};_0xb7e3a7['initScreenshot']()[_0x174870(0xbd)](_0xc31422=>{const _0x4a7e63=_0x174870;PerformanceTester['start'](O11yEvents[_0x4a7e63(0xa5)]),process[_0x4a7e63(0xbb)]('bs:addLog:'+process[_0x4a7e63(0xc2)],{'timestamp':new Date()[_0x4a7e63(0xaa)](),'message':_0xc31422,'kind':_0x3ecba9['aGdUo']}),_0x3ecba9['yzYnB'](_0x20f2bb,_0xc31422),PerformanceTester[_0x4a7e63(0xb6)](O11yEvents[_0x4a7e63(0xa5)]);})['catch'](_0x106764=>{const _0x20919c=_0x174870;PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']),_0x23583b[_0x20919c(0xc6)](_0x66b2cb,_0x106764);});});};},exports[a123_0x4d91a8(0xc4)]=(_0x1f0fac,_0x38254e=null)=>{const _0x281462=a123_0x4d91a8,_0x58434b={'egYDc':function(_0x172464){return _0x172464();},'ynicr':function(_0x49c329,_0x452862){return _0x49c329>_0x452862;},'mYmhR':function(_0x306ee3,_0x281adc){return _0x306ee3>_0x281adc;}};if(_0x1f0fac[_0x281462(0xae)])return;_0x1f0fac[_0x281462(0xae)]=!![],_0x1f0fac[_0x281462(0xba)]=_0x1f0fac[_0x281462(0xc8)],_0x1f0fac[_0x281462(0xc8)]=()=>{const _0x5b12b8=_0x281462,_0x707d95={'hXZSF':function(_0x4e9256){return _0x58434b['egYDc'](_0x4e9256);}};if(_0x38254e){_0x38254e[_0x5b12b8(0xc3)]+=0x1;if(_0x58434b['ynicr'](_0x38254e[_0x5b12b8(0xc3)],0x1))return _0x1f0fac[_0x5b12b8(0xba)]();}else{_0x1f0fac['quitCount_']+=0x1;if(_0x58434b[_0x5b12b8(0xa1)](_0x1f0fac[_0x5b12b8(0xc3)],0x1))return _0x1f0fac[_0x5b12b8(0xba)]();}return new Promise(function(_0x90a820){const _0x529836=_0x5b12b8;_0x707d95[_0x529836(0xb8)](_0x90a820);});};};
@@ -1 +1 @@
1
- const a124_0x3c8b8a=a124_0x33f9;(function(_0x213568,_0x4562d6){const _0x4fde24=a124_0x33f9,_0x3eb400=_0x213568();while(!![]){try{const _0x8ce6e7=parseInt(_0x4fde24(0x14b))/0x1+parseInt(_0x4fde24(0x11c))/0x2*(parseInt(_0x4fde24(0x110))/0x3)+parseInt(_0x4fde24(0x148))/0x4+-parseInt(_0x4fde24(0x146))/0x5+parseInt(_0x4fde24(0x112))/0x6+parseInt(_0x4fde24(0x134))/0x7*(-parseInt(_0x4fde24(0x149))/0x8)+parseInt(_0x4fde24(0x109))/0x9*(-parseInt(_0x4fde24(0x11d))/0xa);if(_0x8ce6e7===_0x4562d6)break;else _0x3eb400['push'](_0x3eb400['shift']());}catch(_0x22657d){_0x3eb400['push'](_0x3eb400['shift']());}}}(a124_0xe760,0xe8f18));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a124_0x3c8b8a(0x13b)),helper=require('../helper'),logger=require(a124_0x3c8b8a(0x14f))[a124_0x3c8b8a(0x123)],{getLogDir}=require(a124_0x3c8b8a(0x14f)),testHubConstants=require(a124_0x3c8b8a(0x12b)),PerformanceTester=require(a124_0x3c8b8a(0x130)),{PERCY_EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),PercyBinary=require(a124_0x3c8b8a(0x132));function a124_0xe760(){const _0x41c929=['SBmCL','isProcessRunning','WYrOP','Percy\x20config\x20created\x20at\x20','exports','child_process','exec:stop','gXAqy','healthcheck','LhBDY','fLBjW','flags','assign','XwVbk','HieFp','Error\x20creating\x20percy\x20config:\x20','2615475zEGvOC','DOWNLOAD','6712336KnzOcZ','8vYUQOu','ENV_VAR','965727bDbJEF','mAVCp','LbowM','createPercyConfig','../logger','token','isRunning','debug','getBinaryPath','end','ovrwl','GET','data','dLUzH','hhqDC','568233SucTRA','nodeRequest','app','aIobO','BROWSERSTACK_TESTHUB_UUID','push','&type=','3rhRbKt','join','9670098XrIXpa','Percy\x20healthcheck\x20successful','close','exec','stdout','stringify','YlkOB','fetchPercyToken','FNYcp','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','849256oXjpPq','330AiBCaI','start','tmpdir','tupeH','projectName','ottPE','winstonLogger','Yahxe','pipe','PERCY_SERVER_ADDRESS','env','createWriteStream','error','BQgLL','../../helpers/testhub/constants','stderr','version','percy.log','JYuZN','../../helpers/performance/performance-tester','TjRuA','./PercyBinary','percyOptions','7835590hIJlQd','writeFile'];a124_0xe760=function(){return _0x41c929;};return a124_0xe760();}function a124_0x33f9(_0x3b3ac6,_0x36dc81){const _0xe760d9=a124_0xe760();return a124_0x33f9=function(_0x33f908,_0x1f83bc){_0x33f908=_0x33f908-0x101;let _0x1652fc=_0xe760d9[_0x33f908];return _0x1652fc;},a124_0x33f9(_0x3b3ac6,_0x36dc81);}class Percy{#logfile=path[a124_0x3c8b8a(0x111)](getLogDir(),a124_0x3c8b8a(0x12e));#address=process[a124_0x3c8b8a(0x127)][a124_0x3c8b8a(0x126)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];['isProcessRunning']=![];constructor(_0x1710ec){const _0xd75caf=a124_0x3c8b8a;this.#config=_0x1710ec,!!_0x1710ec[_0xd75caf(0x10b)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x72871=a124_0x3c8b8a;if(!this.#binaryPath){const _0x2f8abd=new PercyBinary();PerformanceTester[_0x72871(0x11e)](PerformanceEvents[_0x72871(0x147)]),this.#binaryPath=await _0x2f8abd[_0x72871(0x102)](this.#config),PerformanceTester[_0x72871(0x103)](PerformanceEvents[_0x72871(0x147)]);}return this.#binaryPath;}async #sleep(_0x60af8e){return new Promise(_0x36dd1d=>setTimeout(_0x36dd1d,_0x60af8e));}async[a124_0x3c8b8a(0x13e)](){const _0x17f787=a124_0x3c8b8a,_0x28ccf2={};_0x28ccf2[_0x17f787(0x13d)]=_0x17f787(0x105),_0x28ccf2[_0x17f787(0x108)]='percy/healthcheck';const _0x501b18=_0x28ccf2;try{const _0x543504=await helper[_0x17f787(0x10a)](_0x501b18[_0x17f787(0x13d)],_0x501b18[_0x17f787(0x108)],null,null,this.#address);if(_0x543504)return!![];}catch(_0x36730e){return![];}}async[a124_0x3c8b8a(0x11e)](){const _0x6fe8cb=a124_0x3c8b8a,_0x4e27ca={'Yahxe':'app:exec','TsmQX':_0x6fe8cb(0x115),'SwBqh':function(_0x3f4d7a,_0x52911a,_0x31b9c1,_0x47ef54){return _0x3f4d7a(_0x52911a,_0x31b9c1,_0x47ef54);},'JYuZN':'close','FNYcp':_0x6fe8cb(0x113)},_0x289704=await this.#getBinaryPath(),_0x411490={};_0x411490[_0x6fe8cb(0x141)]='a',this.#logStream=fs[_0x6fe8cb(0x128)](this.#logfile,_0x411490);const _0x626235=await this[_0x6fe8cb(0x119)](),_0x4cb152=await this[_0x6fe8cb(0x14e)]();if(!_0x626235)return![];const _0x47b679=[(this.#isApp?_0x4e27ca[_0x6fe8cb(0x124)]:_0x4e27ca['TsmQX'])+':start'];_0x4cb152&&_0x47b679[_0x6fe8cb(0x10e)]('-c',_0x4cb152);this.#proc=_0x4e27ca['SwBqh'](spawn,_0x289704,_0x47b679,{'env':Object[_0x6fe8cb(0x142)](process[_0x6fe8cb(0x127)],{'PERCY_TOKEN':_0x626235,'TH_BUILD_UUID':process['env'][testHubConstants[_0x6fe8cb(0x14a)][_0x6fe8cb(0x10d)]]})}),this.#proc[_0x6fe8cb(0x116)][_0x6fe8cb(0x125)](this.#logStream),this.#proc[_0x6fe8cb(0x12c)][_0x6fe8cb(0x125)](this.#logStream),this[_0x6fe8cb(0x137)]=!![];var _0xd2a063=this;this.#proc['on'](_0x4e27ca[_0x6fe8cb(0x12f)],function(_0x17ed79){_0xd2a063['isProcessRunning']=![];});do{const _0x16ed0f=await this[_0x6fe8cb(0x13e)]();if(_0x16ed0f)return logger['debug'](_0x4e27ca[_0x6fe8cb(0x11a)]),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async['stop'](){const _0x21c517=a124_0x3c8b8a,_0x486cca={'tupeH':function(_0x3f8c3a,_0x257d6d){return _0x3f8c3a(_0x257d6d);},'apiek':function(_0x1bed05,_0x4c3a54,_0x5b19fa){return _0x1bed05(_0x4c3a54,_0x5b19fa);},'BQgLL':_0x21c517(0x13c),'WYrOP':_0x21c517(0x114)},_0x3ee404=await this.#getBinaryPath();return new Promise((_0x40f9cc,_0x19c9d3)=>{const _0x97dd81=_0x21c517,_0x15ec75={'aIobO':function(_0x8a431e,_0x14aa80){const _0x3461da=a124_0x33f9;return _0x486cca[_0x3461da(0x120)](_0x8a431e,_0x14aa80);}},_0x1daea4=_0x486cca['apiek'](spawn,_0x3ee404,[_0x486cca[_0x97dd81(0x12a)]]);_0x1daea4['on'](_0x486cca[_0x97dd81(0x138)],_0x1cd98f=>{const _0x211474=_0x97dd81;this[_0x211474(0x137)]=![],this.#logStream&&(this.#logStream[_0x211474(0x103)](),this.#logStream=null),_0x15ec75[_0x211474(0x10c)](_0x40f9cc,_0x1cd98f);});});}[a124_0x3c8b8a(0x151)](){const _0x2f0a34=a124_0x3c8b8a;return this[_0x2f0a34(0x137)];}async[a124_0x3c8b8a(0x119)](){const _0x323ea9=a124_0x3c8b8a,_0xb5b79={};_0xb5b79['ottPE']=_0x323ea9(0x10b),_0xb5b79['fLBjW']='automate',_0xb5b79[_0x323ea9(0x136)]='GET',_0xb5b79[_0x323ea9(0x14d)]='Percy\x20fetch\x20token\x20success';const _0x2f5e9b=_0xb5b79,_0x4cc85b=this.#config[_0x323ea9(0x121)];try{const _0x1cac91=this.#isApp?_0x2f5e9b[_0x323ea9(0x122)]:_0x2f5e9b[_0x323ea9(0x140)],_0x55a2f0=await helper['nodeRequest'](_0x2f5e9b[_0x323ea9(0x136)],'api/app_percy/get_project_token?name='+_0x4cc85b+_0x323ea9(0x10f)+_0x1cac91,{},this.#config),_0x3a080e=_0x55a2f0[_0x323ea9(0x106)];return logger[_0x323ea9(0x101)](_0x2f5e9b[_0x323ea9(0x14d)]),_0x3a080e[_0x323ea9(0x150)];}catch(_0x22103){return logger[_0x323ea9(0x129)](_0x323ea9(0x11b)+_0x22103),null;}}async[a124_0x3c8b8a(0x14e)](){const _0x3e3609=a124_0x3c8b8a,_0x831832={'RFZBv':function(_0x338925,_0x18495b){return _0x338925(_0x18495b);},'XwVbk':function(_0x254db7,_0x48f7df){return _0x254db7+_0x48f7df;},'HieFp':_0x3e3609(0x139),'ovrwl':function(_0x4c55e9,_0xb23af0){return _0x4c55e9(_0xb23af0);},'TjRuA':'percy.json'};if(!this.#config[_0x3e3609(0x133)])return null;const _0x325e3c=path['join'](os[_0x3e3609(0x11f)](),_0x831832[_0x3e3609(0x131)]),_0x217912=this.#config[_0x3e3609(0x133)];return!_0x217912[_0x3e3609(0x12d)]&&(_0x217912[_0x3e3609(0x12d)]='2'),new Promise((_0x2a6957,_0x4c1f92)=>{const _0x49783e=_0x3e3609,_0x300799={'mAVCp':function(_0xd213be,_0x3957d4){return _0x831832['RFZBv'](_0xd213be,_0x3957d4);},'LhBDY':function(_0x64c8ca,_0x2dbd23){const _0x2da8f6=a124_0x33f9;return _0x831832[_0x2da8f6(0x143)](_0x64c8ca,_0x2dbd23);},'YlkOB':_0x831832[_0x49783e(0x144)],'dLUzH':function(_0x303830,_0x159f87){const _0x49566d=_0x49783e;return _0x831832[_0x49566d(0x104)](_0x303830,_0x159f87);}};fs[_0x49783e(0x135)](_0x325e3c,JSON[_0x49783e(0x117)](_0x217912),_0x589df4=>{const _0x24465a=_0x49783e;_0x589df4&&(logger[_0x24465a(0x129)](_0x24465a(0x145)+_0x589df4),_0x300799[_0x24465a(0x14c)](_0x2a6957,null)),logger[_0x24465a(0x101)](_0x300799[_0x24465a(0x13f)](_0x300799[_0x24465a(0x118)],_0x325e3c)),_0x300799[_0x24465a(0x107)](_0x2a6957,_0x325e3c);});});}}module[a124_0x3c8b8a(0x13a)]=Percy;
1
+ const a124_0xf09350=a124_0x5cb8;function a124_0x5cb8(_0x397cd9,_0x18fe2d){const _0x55dbec=a124_0x55db();return a124_0x5cb8=function(_0x5cb80a,_0x3ef223){_0x5cb80a=_0x5cb80a-0xe9;let _0x5f5cbc=_0x55dbec[_0x5cb80a];return _0x5f5cbc;},a124_0x5cb8(_0x397cd9,_0x18fe2d);}(function(_0x1fccf4,_0xbfa06e){const _0x311dca=a124_0x5cb8,_0x9bce98=_0x1fccf4();while(!![]){try{const _0x9b8b33=parseInt(_0x311dca(0x12e))/0x1*(-parseInt(_0x311dca(0x110))/0x2)+parseInt(_0x311dca(0x129))/0x3+parseInt(_0x311dca(0x135))/0x4+parseInt(_0x311dca(0xfb))/0x5*(-parseInt(_0x311dca(0xe9))/0x6)+parseInt(_0x311dca(0x118))/0x7*(-parseInt(_0x311dca(0xf1))/0x8)+parseInt(_0x311dca(0x124))/0x9*(parseInt(_0x311dca(0x136))/0xa)+parseInt(_0x311dca(0x106))/0xb*(parseInt(_0x311dca(0x11b))/0xc);if(_0x9b8b33===_0xbfa06e)break;else _0x9bce98['push'](_0x9bce98['shift']());}catch(_0x562aa5){_0x9bce98['push'](_0x9bce98['shift']());}}}(a124_0x55db,0x9e4fc));function a124_0x55db(){const _0x1b7591=['cpVFe','pipe','bdkcY','mHJld','NmuIk','GET','stdout','join','25NjRBwQ','ENV_VAR','api/app_percy/get_project_token?name=','sTGZV','path','OwfdZ','gYonQ','app:exec','PERCY_SERVER_ADDRESS','../logger','XItMB','22Ffgoir','stderr','YxPyX','debug','LqSLp','createPercyConfig','AscUQ','data','env','QaNtV','118jVxuAv','percy/healthcheck','end','app','error','close','isRunning','&type=','159278XKHUXa','ORBGF','isProcessRunning','1392528AmreTI','dtYqY','exec','../../helpers/performance/performance-tester',':start','start','percyOptions','nodeRequest','healthcheck','23292aSptrZ','fetchPercyToken','getBinaryPath','projectName','DOWNLOAD','2196909wZvMoA','wGlIw','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','mTPaA','version','20820mNFLkY','../helper','http://localhost:5338','percy.log','YAPCD','Percy\x20config\x20created\x20at\x20','stringify','4056748NkJlol','750LHiwIE','191196pRWJaG','automate','./PercyBinary','Percy\x20fetch\x20token\x20success','tmpdir','stop','JxsUt','createWriteStream','48EJNaJx','exec:stop'];a124_0x55db=function(){return _0x1b7591;};return a124_0x55db();}const fs=require('fs'),path=require(a124_0xf09350(0xff)),os=require('os'),{spawn}=require('child_process'),helper=require(a124_0xf09350(0x12f)),logger=require(a124_0xf09350(0x104))['winstonLogger'],{getLogDir}=require('../logger'),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a124_0xf09350(0x11e)),{PERCY_EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),PercyBinary=require(a124_0xf09350(0xeb));class Percy{#logfile=path[a124_0xf09350(0xfa)](getLogDir(),a124_0xf09350(0x131));#address=process['env'][a124_0xf09350(0x103)]||a124_0xf09350(0x130);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a124_0xf09350(0x11a)]=![];constructor(_0x31809f){const _0x1e770b=a124_0xf09350;this.#config=_0x31809f,!!_0x31809f[_0x1e770b(0x113)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x33c5c8=a124_0xf09350;if(!this.#binaryPath){const _0x36afa9=new PercyBinary();PerformanceTester[_0x33c5c8(0x120)](PerformanceEvents[_0x33c5c8(0x128)]),this.#binaryPath=await _0x36afa9[_0x33c5c8(0x126)](this.#config),PerformanceTester['end'](PerformanceEvents[_0x33c5c8(0x128)]);}return this.#binaryPath;}async #sleep(_0x5b06ea){return new Promise(_0x57a5a9=>setTimeout(_0x57a5a9,_0x5b06ea));}async[a124_0xf09350(0x123)](){const _0x197505=a124_0xf09350,_0x216096={};_0x216096[_0x197505(0x119)]=_0x197505(0xf8),_0x216096[_0x197505(0xfe)]=_0x197505(0x111);const _0x121b33=_0x216096;try{const _0x25899e=await helper[_0x197505(0x122)](_0x121b33['ORBGF'],_0x121b33['sTGZV'],null,null,this.#address);if(_0x25899e)return!![];}catch(_0x59fac0){return![];}}async[a124_0xf09350(0x120)](){const _0x5980fb=a124_0xf09350,_0x4380aa={'AqrgF':_0x5980fb(0x102),'NmuIk':_0x5980fb(0x11d),'TSizF':function(_0x508550,_0x1c0ea3,_0x4b5d41,_0x18caf9){return _0x508550(_0x1c0ea3,_0x4b5d41,_0x18caf9);},'YxPyX':_0x5980fb(0x115),'XItMB':'Percy\x20healthcheck\x20successful'},_0x44085f=await this.#getBinaryPath(),_0x5131cc={};_0x5131cc['flags']='a',this.#logStream=fs[_0x5980fb(0xf0)](this.#logfile,_0x5131cc);const _0xe84920=await this['fetchPercyToken'](),_0x144327=await this[_0x5980fb(0x10b)]();if(!_0xe84920)return![];const _0x44afd6=[(this.#isApp?_0x4380aa['AqrgF']:_0x4380aa[_0x5980fb(0xf7)])+_0x5980fb(0x11f)];_0x144327&&_0x44afd6['push']('-c',_0x144327);this.#proc=_0x4380aa['TSizF'](spawn,_0x44085f,_0x44afd6,{'env':Object['assign'](process[_0x5980fb(0x10e)],{'PERCY_TOKEN':_0xe84920,'TH_BUILD_UUID':process[_0x5980fb(0x10e)][testHubConstants[_0x5980fb(0xfc)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x5980fb(0xf9)]['pipe'](this.#logStream),this.#proc[_0x5980fb(0x107)][_0x5980fb(0xf4)](this.#logStream),this['isProcessRunning']=!![];var _0x3d2d7a=this;this.#proc['on'](_0x4380aa[_0x5980fb(0x108)],function(_0x2aae14){_0x3d2d7a['isProcessRunning']=![];});do{const _0x4401b5=await this[_0x5980fb(0x123)]();if(_0x4401b5)return logger[_0x5980fb(0x109)](_0x4380aa[_0x5980fb(0x105)]),!![];await this.#sleep(0x3e8);}while(this[_0x5980fb(0x11a)]);return![];}async[a124_0xf09350(0xee)](){const _0x355bc1=a124_0xf09350,_0x56d623={'JxsUt':function(_0x4c0773,_0xb46907){return _0x4c0773(_0xb46907);},'cpVFe':function(_0x3be1aa,_0x14a48b,_0xc0394b){return _0x3be1aa(_0x14a48b,_0xc0394b);},'bdkcY':_0x355bc1(0xf2),'dtYqY':'close'},_0x4a69a8=await this.#getBinaryPath();return new Promise((_0x332809,_0x43809c)=>{const _0x25a6d7=_0x355bc1,_0x3af01c=_0x56d623[_0x25a6d7(0xf3)](spawn,_0x4a69a8,[_0x56d623[_0x25a6d7(0xf5)]]);_0x3af01c['on'](_0x56d623[_0x25a6d7(0x11c)],_0x2b36fc=>{const _0x528822=_0x25a6d7;this['isProcessRunning']=![],this.#logStream&&(this.#logStream[_0x528822(0x112)](),this.#logStream=null),_0x56d623[_0x528822(0xef)](_0x332809,_0x2b36fc);});});}[a124_0xf09350(0x116)](){const _0x4c7db0=a124_0xf09350;return this[_0x4c7db0(0x11a)];}async[a124_0xf09350(0x125)](){const _0x21afee=a124_0xf09350,_0x1076d2={};_0x1076d2[_0x21afee(0x132)]=_0x21afee(0x113),_0x1076d2[_0x21afee(0x10c)]=_0x21afee(0xea),_0x1076d2[_0x21afee(0x12a)]='GET',_0x1076d2[_0x21afee(0xf6)]=_0x21afee(0xec);const _0xe1c2b7=_0x1076d2,_0x46297d=this.#config[_0x21afee(0x127)];try{const _0x539c88=this.#isApp?_0xe1c2b7[_0x21afee(0x132)]:_0xe1c2b7['AscUQ'],_0x2eb1f6=await helper[_0x21afee(0x122)](_0xe1c2b7[_0x21afee(0x12a)],_0x21afee(0xfd)+_0x46297d+_0x21afee(0x117)+_0x539c88,{},this.#config),_0x5dbdf6=_0x2eb1f6[_0x21afee(0x10d)];return logger[_0x21afee(0x109)](_0xe1c2b7[_0x21afee(0xf6)]),_0x5dbdf6['token'];}catch(_0x44577b){return logger['error'](_0x21afee(0x12b)+_0x44577b),null;}}async[a124_0xf09350(0x10b)](){const _0x384f79=a124_0xf09350,_0x54c2d8={'NOgAq':function(_0x3df154,_0x1f5260){return _0x3df154(_0x1f5260);},'LqSLp':function(_0x909451,_0x23baba){return _0x909451+_0x23baba;},'bxEPc':_0x384f79(0x133),'OwfdZ':'percy.json'};if(!this.#config['percyOptions'])return null;const _0x193744=path['join'](os[_0x384f79(0xed)](),_0x54c2d8[_0x384f79(0x100)]),_0x3adde8=this.#config[_0x384f79(0x121)];return!_0x3adde8[_0x384f79(0x12d)]&&(_0x3adde8[_0x384f79(0x12d)]='2'),new Promise((_0x2dd57f,_0x31ff03)=>{const _0x1b4914=_0x384f79,_0x1ee3bb={'QaNtV':function(_0x4ae05a,_0x535772){return _0x54c2d8['NOgAq'](_0x4ae05a,_0x535772);},'mTPaA':function(_0x8ed192,_0x59cd38){const _0x280d88=a124_0x5cb8;return _0x54c2d8[_0x280d88(0x10a)](_0x8ed192,_0x59cd38);},'gYonQ':_0x54c2d8['bxEPc']};fs['writeFile'](_0x193744,JSON[_0x1b4914(0x134)](_0x3adde8),_0x2c19f5=>{const _0x2c4ec7=_0x1b4914;_0x2c19f5&&(logger[_0x2c4ec7(0x114)]('Error\x20creating\x20percy\x20config:\x20'+_0x2c19f5),_0x1ee3bb[_0x2c4ec7(0x10f)](_0x2dd57f,null)),logger[_0x2c4ec7(0x109)](_0x1ee3bb[_0x2c4ec7(0x12c)](_0x1ee3bb[_0x2c4ec7(0x101)],_0x193744)),_0x1ee3bb[_0x2c4ec7(0x10f)](_0x2dd57f,_0x193744);});});}}module['exports']=Percy;
@@ -1 +1 @@
1
- const a125_0x44302e=a125_0x508b;(function(_0x1f7c88,_0x2c6c75){const _0x3d9d12=a125_0x508b,_0x24e6f3=_0x1f7c88();while(!![]){try{const _0x46c42f=-parseInt(_0x3d9d12(0x11c))/0x1+parseInt(_0x3d9d12(0x151))/0x2*(-parseInt(_0x3d9d12(0x173))/0x3)+-parseInt(_0x3d9d12(0x176))/0x4+-parseInt(_0x3d9d12(0x157))/0x5+-parseInt(_0x3d9d12(0xfa))/0x6+-parseInt(_0x3d9d12(0xed))/0x7*(parseInt(_0x3d9d12(0x112))/0x8)+-parseInt(_0x3d9d12(0x12f))/0x9*(-parseInt(_0x3d9d12(0x106))/0xa);if(_0x46c42f===_0x2c6c75)break;else _0x24e6f3['push'](_0x24e6f3['shift']());}catch(_0x506fef){_0x24e6f3['push'](_0x24e6f3['shift']());}}}(a125_0x59c3,0xcb1da));const {https}=require(a125_0x44302e(0x13d)),url=require(a125_0x44302e(0x170)),yauzl=require(a125_0x44302e(0x147)),fs=require('fs'),path=require(a125_0x44302e(0x16f)),os=require('os'),{spawn}=require(a125_0x44302e(0xec)),HttpsProxyAgent=require(a125_0x44302e(0x107)),logger=require(a125_0x44302e(0x152))[a125_0x44302e(0x16b)];function a125_0x508b(_0x2d4c13,_0x879b1){const _0x59c39f=a125_0x59c3();return a125_0x508b=function(_0x508b63,_0x506727){_0x508b63=_0x508b63-0xe0;let _0x593f30=_0x59c39f[_0x508b63];return _0x593f30;},a125_0x508b(_0x2d4c13,_0x879b1);}class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a125_0x44302e(0x108);#orderedPaths=[path[a125_0x44302e(0x17b)](this.#homedir(),a125_0x44302e(0x156)),process[a125_0x44302e(0x13c)](),os[a125_0x44302e(0x11d)]()];constructor(){const _0x4d2eb0=a125_0x44302e,_0x28426f={};_0x28426f[_0x4d2eb0(0x172)]=_0x4d2eb0(0xf7),_0x28426f['ZsmWo']=function(_0x53b7f3,_0x15fcdb){return _0x53b7f3+_0x15fcdb;},_0x28426f[_0x4d2eb0(0x109)]=_0x4d2eb0(0x129),_0x28426f[_0x4d2eb0(0x160)]=function(_0x147a8f,_0x13575b){return _0x147a8f+_0x13575b;},_0x28426f[_0x4d2eb0(0xe7)]='/percy-win.zip',_0x28426f[_0x4d2eb0(0x171)]=_0x4d2eb0(0x15e),_0x28426f[_0x4d2eb0(0x126)]=function(_0x4b86de,_0x1b9717){return _0x4b86de+_0x1b9717;},_0x28426f['RzaBf']=_0x4d2eb0(0x10b);const _0x524e11=_0x28426f,_0x2d87f6=_0x524e11[_0x4d2eb0(0x172)];if(this.#hostOS[_0x4d2eb0(0x127)](/darwin|mac os/i))this.#httpPath=_0x524e11['ZsmWo'](_0x2d87f6,_0x524e11[_0x4d2eb0(0x109)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x524e11['oHknS'](_0x2d87f6,_0x524e11[_0x4d2eb0(0xe7)]),this.#binaryName=_0x524e11[_0x4d2eb0(0x171)]):this.#httpPath=_0x524e11[_0x4d2eb0(0x126)](_0x2d87f6,_0x524e11[_0x4d2eb0(0x16a)]);}#getAvailableDirs(){const _0x6a7cfa=a125_0x44302e,_0x13e951={};_0x13e951[_0x6a7cfa(0x163)]=function(_0x1f9723,_0x16cbe2){return _0x1f9723<_0x16cbe2;},_0x13e951[_0x6a7cfa(0xf1)]=_0x6a7cfa(0x16c);const _0x3656c6=_0x13e951;for(var _0x228d49=0x0;_0x3656c6['VEIUX'](_0x228d49,this.#orderedPaths[_0x6a7cfa(0x158)]);_0x228d49++){var _0x39c9aa=this.#orderedPaths[_0x228d49];if(this.#makePath(_0x39c9aa))return _0x39c9aa;}throw new Error(_0x3656c6[_0x6a7cfa(0xf1)]);}#makePath(_0x3deea4){const _0x562485=a125_0x44302e;try{return _0x3deea4&&!this.#checkPath(_0x3deea4)&&fs[_0x562485(0x174)](_0x3deea4),!![];}catch{return![];}}#checkPath(_0x113147,_0x1be49f){const _0x4fda6b=a125_0x44302e,_0x3e6c5e={};_0x3e6c5e[_0x4fda6b(0x145)]=function(_0x4647df,_0x5b2338){return _0x4647df|_0x5b2338;},_0x3e6c5e[_0x4fda6b(0xe6)]=function(_0xd0a56b,_0x1e9afd){return _0xd0a56b!==_0x1e9afd;},_0x3e6c5e[_0x4fda6b(0xeb)]=_0x4fda6b(0x11a);const _0x4cafb2=_0x3e6c5e;_0x1be49f=_0x1be49f||_0x4cafb2[_0x4fda6b(0x145)](fs['R_OK'],fs[_0x4fda6b(0x17c)]);try{return fs[_0x4fda6b(0x139)](_0x113147,_0x1be49f),!![];}catch(_0x46539c){if(_0x4cafb2[_0x4fda6b(0xe6)](typeof fs[_0x4fda6b(0x139)],_0x4cafb2['DDHRn']))return![];try{return fs[_0x4fda6b(0x15d)](_0x113147),!![];}catch(_0x1791e6){return![];}}}#getETagPath(_0x1d6bbf){const _0x179959=a125_0x44302e;return path[_0x179959(0x17b)](_0x1d6bbf,this.#binaryName+'.etag');}#loadETag(_0x42c2bd){const _0x6d838c=a125_0x44302e,_0xa43ef3={};_0xa43ef3['JjUkh']=_0x6d838c(0x118);const _0x576391=_0xa43ef3,_0x2eab78=this.#getETagPath(_0x42c2bd);if(this.#checkPath(_0x2eab78))try{return fs[_0x6d838c(0x128)](_0x2eab78,_0x576391[_0x6d838c(0x136)])[_0x6d838c(0x137)]();}catch(_0x43c51c){logger[_0x6d838c(0x166)](_0x6d838c(0xf0)+_0x43c51c);}return null;}#saveETag(_0x451c2e,_0x52e76f){const _0x49c271=a125_0x44302e,_0x5d6e80={};_0x5d6e80[_0x49c271(0x131)]=_0x49c271(0x140);const _0x1fe7d4=_0x5d6e80;if(!_0x52e76f)return;try{const _0x4a0ee6=this.#getETagPath(_0x451c2e);fs[_0x49c271(0x161)](_0x4a0ee6,_0x52e76f),logger[_0x49c271(0x123)](_0x1fe7d4[_0x49c271(0x131)]);}catch(_0x552c05){logger[_0x49c271(0x166)](_0x49c271(0xe9)+_0x552c05);}}async #handleBinaryDownload(_0x7e46ce,_0x4d4d32,_0x17fae0){const _0x946cce=a125_0x44302e,_0x407b42={};_0x407b42['FaBYo']=_0x946cce(0x167);const _0x59c0bc=_0x407b42,_0x5b0adc=await this[_0x946cce(0x150)](_0x7e46ce[_0x946cce(0x120)]);if(!_0x5b0adc){logger['error'](_0x59c0bc['FaBYo']);const _0x2b7d7f=await this[_0x946cce(0xee)](_0x4d4d32,_0x17fae0);return _0x2b7d7f[_0x946cce(0x120)];}return _0x7e46ce[_0x946cce(0x120)];}async[a125_0x44302e(0x178)](_0x9af315){const _0x118ea1=a125_0x44302e,_0x274540={};_0x274540[_0x118ea1(0x12c)]=_0x118ea1(0x14c),_0x274540[_0x118ea1(0xf9)]='New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update';const _0x53c523=_0x274540,_0x1375bb=this.#getAvailableDirs(),_0x5aee5e=path['join'](_0x1375bb,this.#binaryName);if(this.#checkPath(_0x5aee5e,fs['X_OK'])){const _0x45cd5e=this.#loadETag(_0x1375bb);if(_0x45cd5e)try{const _0x54d84e=await this['download'](_0x9af315,_0x1375bb,_0x45cd5e);if(!_0x54d84e[_0x118ea1(0x116)])return logger[_0x118ea1(0x123)](_0x53c523[_0x118ea1(0x12c)]),_0x5aee5e;return logger[_0x118ea1(0x123)](_0x53c523['FKbqi']),await this.#handleBinaryDownload(_0x54d84e,_0x9af315,_0x1375bb);}catch(_0x5f1a6){return logger[_0x118ea1(0x166)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x5f1a6),_0x5aee5e;}}const _0x3c989a=await this[_0x118ea1(0xee)](_0x9af315,_0x1375bb);return await this.#handleBinaryDownload(_0x3c989a,_0x9af315,_0x1375bb);}[a125_0x44302e(0xee)](_0x17c055,_0x441830,_0x40a24a=null){const _0x1713fd=a125_0x44302e,_0x2f81ed={'YgXiI':function(_0x830886,_0x48af0d){return _0x830886(_0x48af0d);},'SWDql':function(_0x18327d,_0x10aacf){return _0x18327d===_0x10aacf;},'UjZqd':_0x1713fd(0x10d),'CnRxl':_0x1713fd(0x16d),'QbCAD':function(_0x140001,_0x383fed){return _0x140001+_0x383fed;},'VjFrH':'.zip'};_0x441830&&!this.#checkPath(_0x441830)&&fs[_0x1713fd(0x174)](_0x441830);const _0x46a2e8=this.#binaryName,_0xe26108=path['join'](_0x441830,_0x2f81ed[_0x1713fd(0x125)](_0x46a2e8,_0x2f81ed[_0x1713fd(0xfb)])),_0x451a00=fs['createWriteStream'](_0xe26108),_0x467ebb=url['parse'](this.#httpPath);if(_0x17c055[_0x1713fd(0x132)]&&_0x17c055[_0x1713fd(0x103)]){const _0x3c22ad={};_0x3c22ad[_0x1713fd(0x105)]=_0x17c055[_0x1713fd(0x132)],_0x3c22ad['port']=_0x17c055['proxyPort'],_0x467ebb[_0x1713fd(0x177)]=new HttpsProxyAgent(_0x3c22ad);}if(_0x17c055['useCaCertificate'])try{_0x467ebb['ca']=fs['readFileSync'](_0x17c055[_0x1713fd(0xe0)]);}catch(_0x23a854){logger[_0x1713fd(0x10d)](_0x1713fd(0x10a)+_0x23a854);}if(_0x40a24a){const _0x1bb197={};_0x1bb197[_0x1713fd(0xf5)]=_0x40a24a,_0x1bb197[_0x1713fd(0x113)]=_0x2f81ed['CnRxl'],_0x467ebb[_0x1713fd(0xfd)]=_0x1bb197;}else{const _0x411a20={};_0x411a20[_0x1713fd(0x113)]=_0x2f81ed['CnRxl'],_0x467ebb[_0x1713fd(0xfd)]=_0x411a20;}return new Promise((_0x1de54e,_0x3db8c5)=>{const _0x3dcdcc=_0x1713fd,_0x39e026={'GjwRR':function(_0x850187,_0x7e43c5){const _0x185357=a125_0x508b;return _0x2f81ed[_0x185357(0xef)](_0x850187,_0x7e43c5);},'fXSfS':function(_0x1eac8d,_0x125cea){const _0x57e858=a125_0x508b;return _0x2f81ed[_0x57e858(0x143)](_0x1eac8d,_0x125cea);},'pQuIQ':function(_0xd1c0,_0x355796){const _0xc98ccb=a125_0x508b;return _0x2f81ed[_0xc98ccb(0xef)](_0xd1c0,_0x355796);},'pboCA':_0x2f81ed[_0x3dcdcc(0xe1)],'IthMm':_0x2f81ed[_0x3dcdcc(0x10c)],'QZMNr':function(_0x357176,_0x47243f){return _0x2f81ed['YgXiI'](_0x357176,_0x47243f);}};https[_0x3dcdcc(0x15f)](_0x467ebb,_0x2a4b8f=>{const _0x5dbf2d=_0x3dcdcc,_0x3928a7={'uiLYO':function(_0x1178ab,_0x5c8ca9){const _0x549620=a125_0x508b;return _0x39e026[_0x549620(0x102)](_0x1178ab,_0x5c8ca9);}};if(_0x40a24a&&_0x39e026['fXSfS'](_0x2a4b8f[_0x5dbf2d(0xe4)],0x130)){_0x451a00['destroy']();const _0x368334={};_0x368334[_0x5dbf2d(0x116)]=![],_0x39e026[_0x5dbf2d(0x10f)](_0x1de54e,_0x368334);return;}const _0xa5a933=_0x2a4b8f[_0x5dbf2d(0xfd)][_0x5dbf2d(0x13e)];_0xa5a933&&this.#saveETag(_0x441830,_0xa5a933),_0x2a4b8f[_0x5dbf2d(0x15a)](_0x451a00),_0x2a4b8f['on'](_0x39e026[_0x5dbf2d(0x12a)],function(_0x5ff4d9){const _0xe6bd9e=_0x5dbf2d;logger[_0xe6bd9e(0x10d)](_0xe6bd9e(0x179)+_0x5ff4d9),_0x3928a7[_0xe6bd9e(0x104)](_0x3db8c5,_0x5ff4d9);}),_0x451a00['on'](_0x39e026[_0x5dbf2d(0x12a)],function(_0x28dccc){const _0x4ac421=_0x5dbf2d;logger['error'](_0x4ac421(0x11e)+_0x28dccc),_0x3928a7[_0x4ac421(0x104)](_0x3db8c5,_0x28dccc);}),_0x451a00['on'](_0x39e026[_0x5dbf2d(0xf6)],()=>{const _0x17291a=_0x5dbf2d;this[_0x17291a(0x169)](_0xe26108,_0x441830)[_0x17291a(0x13b)](_0x6ef6a=>_0x1de54e({'needsUpdate':!![],'binaryPath':_0x6ef6a}))['catch'](_0x3db8c5);});})['on'](_0x2f81ed['UjZqd'],function(_0xda7ba8){const _0x475f73=_0x3dcdcc;logger[_0x475f73(0x10d)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0xda7ba8),_0x39e026[_0x475f73(0x14e)](_0x3db8c5,_0xda7ba8);});});}['extractAndSaveBinary'](_0x736c18,_0xbb2fd1){const _0x211247=a125_0x44302e,_0x55455a={'punsf':function(_0x551ed4,_0x17349){return _0x551ed4===_0x17349;},'IlGCK':_0x211247(0xf2),'XGXwX':function(_0x3c4891,_0x47bf29){return _0x3c4891(_0x47bf29);},'Oikyu':_0x211247(0x14f),'IUShZ':function(_0x27d9c2,_0x1424ba){return _0x27d9c2(_0x1424ba);},'sxZMt':_0x211247(0x162),'bKWOQ':_0x211247(0x10d)},_0x110572=this.#binaryName,_0x180121=path[_0x211247(0x17b)](_0xbb2fd1,_0x110572);return new Promise((_0x307495,_0x522671)=>{const _0x5be014=_0x211247,_0x3dbc4e={'EEomt':function(_0x19d29a,_0x3d5e5c){const _0x595875=a125_0x508b;return _0x55455a[_0x595875(0x114)](_0x19d29a,_0x3d5e5c);},'hhblW':_0x55455a[_0x5be014(0x168)],'zMxAB':function(_0x5575db,_0x2e38a9){const _0x2e9d2d=_0x5be014;return _0x55455a[_0x2e9d2d(0x12d)](_0x5575db,_0x2e38a9);},'CiKua':_0x55455a[_0x5be014(0x119)],'xpEOz':function(_0x585166,_0x2af1be){const _0x3d8d4d=_0x5be014;return _0x55455a[_0x3d8d4d(0x17a)](_0x585166,_0x2af1be);},'gEppH':_0x55455a[_0x5be014(0xea)],'DqOKf':_0x55455a[_0x5be014(0x14b)]},_0x557b77={};_0x557b77[_0x5be014(0xe2)]=!![],yauzl['open'](_0x736c18,_0x557b77,function(_0xa39370,_0x2d597d){const _0x316405=_0x5be014,_0x323b70={'ybUKf':function(_0x321e2b,_0x42928f){return _0x3dbc4e['zMxAB'](_0x321e2b,_0x42928f);},'NJGlq':_0x3dbc4e['CiKua'],'JNMud':function(_0x1f128b,_0x3f2d52){const _0x4033fe=a125_0x508b;return _0x3dbc4e[_0x4033fe(0x121)](_0x1f128b,_0x3f2d52);}};_0xa39370&&_0x3dbc4e[_0x316405(0x13f)](_0x522671,_0xa39370),_0x2d597d[_0x316405(0x146)](),_0x2d597d['on'](_0x3dbc4e[_0x316405(0x138)],_0x530b89=>{const _0x59507d=_0x316405;if(/\/$/['test'](_0x530b89['fileName']))_0x2d597d[_0x59507d(0x146)]();else{const _0x39f072=fs[_0x59507d(0xf3)](path[_0x59507d(0x17b)](_0xbb2fd1,_0x530b89[_0x59507d(0xff)]));_0x2d597d[_0x59507d(0x133)](_0x530b89,function(_0x2db1c0,_0x3d0c90){const _0x48738f=_0x59507d;_0x2db1c0&&_0x323b70[_0x48738f(0x15c)](_0x522671,_0xa39370),_0x3d0c90['on'](_0x323b70[_0x48738f(0x14d)],function(){const _0x7555e0=_0x48738f;_0x39f072[_0x7555e0(0x16d)](),_0x2d597d[_0x7555e0(0x146)]();}),_0x3d0c90[_0x48738f(0x15a)](_0x39f072);}),_0x3dbc4e['EEomt'](_0x530b89[_0x59507d(0xff)],_0x110572)&&_0x2d597d[_0x59507d(0x16d)]();}}),_0x2d597d['on'](_0x3dbc4e[_0x316405(0x164)],_0x1f9c59=>{_0x323b70['JNMud'](_0x522671,_0x1f9c59);}),_0x2d597d['once'](_0x3dbc4e[_0x316405(0x165)],()=>{const _0x20ade5=_0x316405;fs[_0x20ade5(0x153)](_0x180121,_0x3dbc4e[_0x20ade5(0x11f)],function(_0x1595ec){const _0x234509=_0x20ade5;_0x1595ec&&_0x323b70[_0x234509(0xf8)](_0x522671,_0x1595ec),_0x323b70['JNMud'](_0x307495,_0x180121);}),_0x2d597d[_0x20ade5(0x16d)]();});});});}async[a125_0x44302e(0x150)](_0x432f8f){const _0x182b17=a125_0x44302e,_0x5c58cb={'YhxgL':function(_0x1c2451,_0x32b5d8){return _0x1c2451(_0x32b5d8);},'FqWUK':function(_0x1aeda1,_0x35bba4){return _0x1aeda1(_0x35bba4);},'tqvtD':function(_0x5a01ad,_0x48f76b,_0x516bd6,_0xa86972){return _0x5a01ad(_0x48f76b,_0x516bd6,_0xa86972);},'hpuei':_0x182b17(0x110),'YIlSC':_0x182b17(0xe8),'wWffT':_0x182b17(0x16d)},_0x3c07e2=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0xb1f62d,_0x4d2aa1)=>{const _0x69348=_0x182b17,_0x19ea19={};_0x19ea19['env']=process[_0x69348(0xfe)];const _0x3c1fdb=_0x5c58cb[_0x69348(0x130)](spawn,_0x432f8f,[_0x5c58cb['hpuei']],_0x19ea19);_0x3c1fdb['stdout']['on'](_0x5c58cb[_0x69348(0x154)],_0x31ec4c=>{const _0xe803c5=_0x69348;_0x3c07e2[_0xe803c5(0x13a)](_0x31ec4c)&&_0x5c58cb[_0xe803c5(0xe5)](_0xb1f62d,!![]);}),_0x3c1fdb['on'](_0x5c58cb[_0x69348(0xe3)],()=>{const _0x35d88d=_0x69348;_0x5c58cb[_0x35d88d(0x159)](_0xb1f62d,![]);});});}#homedir(){const _0x5175a5=a125_0x44302e,_0x2e31f2={};_0x2e31f2[_0x5175a5(0x122)]=function(_0x56adef,_0x3a955a){return _0x56adef===_0x3a955a;},_0x2e31f2['YurcY']='function',_0x2e31f2[_0x5175a5(0x117)]=_0x5175a5(0x115),_0x2e31f2[_0x5175a5(0x124)]=function(_0x1b4ee4,_0xb8885b){return _0x1b4ee4+_0xb8885b;},_0x2e31f2[_0x5175a5(0x175)]=_0x5175a5(0x12e),_0x2e31f2[_0x5175a5(0x11b)]='/Users/',_0x2e31f2['AkNmB']=function(_0x40c5e5,_0x297cd3){return _0x40c5e5===_0x297cd3;},_0x2e31f2[_0x5175a5(0x16e)]=_0x5175a5(0xfc),_0x2e31f2[_0x5175a5(0x149)]=_0x5175a5(0x144),_0x2e31f2['yCKbW']=_0x5175a5(0xf4),_0x2e31f2[_0x5175a5(0x12b)]=function(_0x37a554,_0x5cd98c){return _0x37a554||_0x5cd98c;};const _0x23ca08=_0x2e31f2;if(_0x23ca08[_0x5175a5(0x122)](typeof os[_0x5175a5(0x101)],_0x23ca08[_0x5175a5(0x142)]))return os['homedir']();const _0x5c9339=process[_0x5175a5(0xfe)],_0x45f825=_0x5c9339[_0x5175a5(0x141)],_0x5c4fb9=_0x5c9339[_0x5175a5(0x100)]||_0x5c9339[_0x5175a5(0x15b)]||_0x5c9339['LNAME']||_0x5c9339[_0x5175a5(0x111)];if(_0x23ca08[_0x5175a5(0x122)](process[_0x5175a5(0x10e)],_0x23ca08[_0x5175a5(0x117)]))return _0x5c9339[_0x5175a5(0x14a)]||_0x23ca08['ELRWf'](_0x5c9339['HOMEDRIVE'],_0x5c9339[_0x5175a5(0x134)])||_0x45f825||null;if(_0x23ca08['RxPeq'](process[_0x5175a5(0x10e)],_0x23ca08[_0x5175a5(0x175)]))return _0x45f825||(_0x5c4fb9?_0x23ca08[_0x5175a5(0x124)](_0x23ca08[_0x5175a5(0x11b)],_0x5c4fb9):null);if(_0x23ca08[_0x5175a5(0x135)](process['platform'],_0x23ca08['WYsDq']))return _0x45f825||(_0x23ca08['RxPeq'](process['getuid'](),0x0)?_0x23ca08[_0x5175a5(0x149)]:_0x5c4fb9?_0x23ca08[_0x5175a5(0x124)](_0x23ca08[_0x5175a5(0x155)],_0x5c4fb9):null);return _0x23ca08[_0x5175a5(0x12b)](_0x45f825,null);}}function a125_0x59c3(){const _0x3b6cb3=['extractAndSaveBinary','RzaBf','winstonLogger','Error\x20trying\x20to\x20download\x20percy\x20binary','close','WYsDq','path','url','DVDWt','DhSlO','354OvHMDy','mkdirSync','bSfzU','5625724DWHNPD','agent','getBinaryPath','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','IUShZ','join','W_OK','useCaCertificate','UjZqd','lazyEntries','wWffT','statusCode','YhxgL','jJVtZ','sIcPP','data','Failed\x20to\x20save\x20ETag\x20file:\x20','sxZMt','DDHRn','child_process','21dUEcYg','download','YgXiI','Failed\x20to\x20read\x20ETag\x20file:\x20','BUgUj','0755','createWriteStream','/home/','If-None-Match','IthMm','https://github.com/percy/cli/releases/latest/download','JNMud','FKbqi','6024696yPbxKS','VjFrH','linux','headers','env','fileName','LOGNAME','homedir','GjwRR','proxyPort','uiLYO','host','2353690bYVhgf','https-proxy-agent','percy','upxdJ','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','/percy-linux.zip','CnRxl','error','platform','pQuIQ','--version','USERNAME','3150488gAVyrx','Connection','punsf','win32','needsUpdate','oUAnE','utf8','Oikyu','undefined','Oymio','1656493oDBhuf','tmpdir','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','hhblW','binaryPath','zMxAB','RxPeq','debug','ELRWf','QbCAD','kwQOC','match','readFileSync','/percy-osx.zip','pboCA','KfauS','KYzvb','XGXwX','darwin','297BOpkXZ','tqvtD','TEtXv','proxyHost','openReadStream','HOMEPATH','AkNmB','JjUkh','trim','gEppH','accessSync','test','then','cwd','follow-redirects','etag','xpEOz','Saved\x20new\x20ETag\x20for\x20percy\x20binary','HOME','YurcY','SWDql','/root','tWONn','readEntry','yauzl','exports','HCgII','USERPROFILE','bKWOQ','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','NJGlq','QZMNr','end','validateBinary','25260jXxoRX','../logger','chmod','YIlSC','yCKbW','.browserstack','982010bMwvZk','length','FqWUK','pipe','USER','ybUKf','statSync','percy.exe','get','oHknS','writeFileSync','entry','VEIUX','DqOKf','CiKua','warn','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','IlGCK'];a125_0x59c3=function(){return _0x3b6cb3;};return a125_0x59c3();}module[a125_0x44302e(0x148)]=PercyBinary;
1
+ function a125_0x3f94(_0x3fb576,_0x487621){const _0x28ab16=a125_0x28ab();return a125_0x3f94=function(_0x3f941c,_0x3f851c){_0x3f941c=_0x3f941c-0xb0;let _0x4ab9de=_0x28ab16[_0x3f941c];return _0x4ab9de;},a125_0x3f94(_0x3fb576,_0x487621);}const a125_0x1a9b57=a125_0x3f94;(function(_0x42fbbe,_0x4170ee){const _0x11e7c3=a125_0x3f94,_0x362f93=_0x42fbbe();while(!![]){try{const _0x48e13c=parseInt(_0x11e7c3(0xfa))/0x1*(-parseInt(_0x11e7c3(0x104))/0x2)+parseInt(_0x11e7c3(0x140))/0x3*(parseInt(_0x11e7c3(0x10e))/0x4)+-parseInt(_0x11e7c3(0xbd))/0x5*(-parseInt(_0x11e7c3(0x12f))/0x6)+-parseInt(_0x11e7c3(0xe3))/0x7*(parseInt(_0x11e7c3(0x13b))/0x8)+parseInt(_0x11e7c3(0x125))/0x9+parseInt(_0x11e7c3(0x116))/0xa*(-parseInt(_0x11e7c3(0x117))/0xb)+parseInt(_0x11e7c3(0x122))/0xc;if(_0x48e13c===_0x4170ee)break;else _0x362f93['push'](_0x362f93['shift']());}catch(_0x54842c){_0x362f93['push'](_0x362f93['shift']());}}}(a125_0x28ab,0x87625));function a125_0x28ab(){const _0xd61a31=['match','statSync','destroy','219610FPBvaY','.etag','TELDY','proxyPort','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','eWSLo','join','nDxue','stdout','WQrAE','64WmdWVk','W_OK','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','/root','USERPROFILE','rjzrC','host','end','50ErFDrE','2288605PpVuQZ','LOGNAME','url','path','YrXzq','cdAOz','STPSx','UNCHG','tjrLT','tJPuA','jnNSo','6372372UZAdLy','Blwvg','Error\x20trying\x20to\x20download\x20percy\x20binary','8151129GYAGMA','proxyHost','.browserstack','hGPkP','wdPKF','pipe','.zip','eruwr','qJQnF','yoRJU','3962220mbkrjA','ZvEgT','readFileSync','KyEpp','HOME','qFvXB','dIakr','kqKlI','env','HAlub','PSYEg','cwd','64JIsSjp','TmTsz','kdmHR','test','qNTYH','188805WvWgRV','tVcPx','bAwGS','LbCBQ','debug','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','darwin','getBinaryPath','useCaCertificate','mkdirSync','bfGNm','WIAaH','fadzT','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','oUyZX','aqtjc','platform','undefined','headers','5FwzXDH','statusCode','TUyMb','eHvla','win32','entry','0755','Failed\x20to\x20read\x20ETag\x20file:\x20','error','YKPCd','../logger','ioDBF','tmpdir','TvVds','/percy-osx.zip','open','trim','child_process','dXOgr','eYadb','X_OK','YgqMt','Connection','https-proxy-agent','agent','winstonLogger','yauzl','iDGtB','fileName','download','hLAKe','gDFpb','/percy-win.zip','ETcXx','BniIJ','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','accessSync','exports','359786EMcccn','get','openReadStream','needsUpdate','USERNAME','warn','binaryPath','wdwHF','once','extractAndSaveBinary','MBqdD','getuid','percy','/percy-linux.zip','zSxCx','function','mizbs','HOMEPATH','port','then','parse','IsjWF','close','10zQuKKz','createWriteStream','percy.exe','jnaHk','readEntry','homedir','ajCYT'];a125_0x28ab=function(){return _0xd61a31;};return a125_0x28ab();}const {https}=require('follow-redirects'),url=require(a125_0x1a9b57(0x119)),yauzl=require(a125_0x1a9b57(0xd7)),fs=require('fs'),path=require(a125_0x1a9b57(0x11a)),os=require('os'),{spawn}=require(a125_0x1a9b57(0xce)),HttpsProxyAgent=require(a125_0x1a9b57(0xd4)),logger=require(a125_0x1a9b57(0xc7))[a125_0x1a9b57(0xd6)];class PercyBinary{#hostOS=process[a125_0x1a9b57(0xba)];#httpPath=null;#binaryName=a125_0x1a9b57(0xef);#orderedPaths=[path[a125_0x1a9b57(0x10a)](this.#homedir(),a125_0x1a9b57(0x127)),process[a125_0x1a9b57(0x13a)](),os[a125_0x1a9b57(0xc9)]()];constructor(){const _0xe8f1df=a125_0x1a9b57,_0x3e8876={};_0x3e8876[_0xe8f1df(0xde)]='https://github.com/percy/cli/releases/latest/download',_0x3e8876[_0xe8f1df(0x141)]=function(_0x408467,_0x532c84){return _0x408467+_0x532c84;},_0x3e8876[_0xe8f1df(0x123)]=_0xe8f1df(0xcb),_0x3e8876[_0xe8f1df(0xdc)]=function(_0x347e39,_0x4c9587){return _0x347e39+_0x4c9587;},_0x3e8876[_0xe8f1df(0xed)]=_0xe8f1df(0xdd),_0x3e8876['fadzT']=_0xe8f1df(0xfc),_0x3e8876['PSYEg']=function(_0x44d8a2,_0x5b40de){return _0x44d8a2+_0x5b40de;},_0x3e8876['TvVds']=_0xe8f1df(0xf0);const _0x5d98f7=_0x3e8876,_0x5ac6fd=_0x5d98f7['ETcXx'];if(this.#hostOS[_0xe8f1df(0x101)](/darwin|mac os/i))this.#httpPath=_0x5d98f7['tVcPx'](_0x5ac6fd,_0x5d98f7[_0xe8f1df(0x123)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x5d98f7[_0xe8f1df(0xdc)](_0x5ac6fd,_0x5d98f7[_0xe8f1df(0xed)]),this.#binaryName=_0x5d98f7[_0xe8f1df(0xb6)]):this.#httpPath=_0x5d98f7[_0xe8f1df(0x139)](_0x5ac6fd,_0x5d98f7[_0xe8f1df(0xca)]);}#getAvailableDirs(){const _0x5cd63e=a125_0x1a9b57,_0x385871={};_0x385871[_0x5cd63e(0x12e)]=function(_0x2ba6b1,_0x4ab9d2){return _0x2ba6b1<_0x4ab9d2;},_0x385871[_0x5cd63e(0x106)]=_0x5cd63e(0x124);const _0x16647b=_0x385871;for(var _0x393621=0x0;_0x16647b[_0x5cd63e(0x12e)](_0x393621,this.#orderedPaths['length']);_0x393621++){var _0x222ba1=this.#orderedPaths[_0x393621];if(this.#makePath(_0x222ba1))return _0x222ba1;}throw new Error(_0x16647b[_0x5cd63e(0x106)]);}#makePath(_0x53e8ec){const _0x19c89f=a125_0x1a9b57;try{return _0x53e8ec&&!this.#checkPath(_0x53e8ec)&&fs[_0x19c89f(0xb3)](_0x53e8ec),!![];}catch{return![];}}#checkPath(_0x51fc41,_0x3d135a){const _0xf78e9b=a125_0x1a9b57,_0x3c3090={};_0x3c3090[_0xf78e9b(0xc6)]=function(_0xa471cf,_0x33202f){return _0xa471cf|_0x33202f;},_0x3c3090[_0xf78e9b(0x113)]=function(_0x15c3b8,_0xf497d8){return _0x15c3b8!==_0xf497d8;},_0x3c3090[_0xf78e9b(0x109)]=_0xf78e9b(0xbb);const _0x138b1c=_0x3c3090;_0x3d135a=_0x3d135a||_0x138b1c[_0xf78e9b(0xc6)](fs['R_OK'],fs[_0xf78e9b(0x10f)]);try{return fs[_0xf78e9b(0xe1)](_0x51fc41,_0x3d135a),!![];}catch(_0x1d8b65){if(_0x138b1c['rjzrC'](typeof fs[_0xf78e9b(0xe1)],_0x138b1c[_0xf78e9b(0x109)]))return![];try{return fs[_0xf78e9b(0x102)](_0x51fc41),!![];}catch(_0x2be1a2){return![];}}}#getETagPath(_0x3f901d){const _0xb9fc7b=a125_0x1a9b57;return path[_0xb9fc7b(0x10a)](_0x3f901d,this.#binaryName+_0xb9fc7b(0x105));}#loadETag(_0x2687f7){const _0x16fa35=a125_0x1a9b57,_0x5520bf={};_0x5520bf[_0x16fa35(0xf3)]='utf8';const _0x2158ec=_0x5520bf,_0x3de69f=this.#getETagPath(_0x2687f7);if(this.#checkPath(_0x3de69f))try{return fs[_0x16fa35(0x131)](_0x3de69f,_0x2158ec[_0x16fa35(0xf3)])[_0x16fa35(0xcd)]();}catch(_0x359859){logger[_0x16fa35(0xe8)](_0x16fa35(0xc4)+_0x359859);}return null;}#saveETag(_0x19fec2,_0xde4a61){const _0x5c52d8=a125_0x1a9b57,_0x267c0f={};_0x267c0f[_0x5c52d8(0x13d)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x2ce807=_0x267c0f;if(!_0xde4a61)return;try{const _0x473dc0=this.#getETagPath(_0x19fec2);fs['writeFileSync'](_0x473dc0,_0xde4a61),logger[_0x5c52d8(0x144)](_0x2ce807[_0x5c52d8(0x13d)]);}catch(_0x5020c2){logger['warn']('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x5020c2);}}async #handleBinaryDownload(_0x19c0af,_0x559ddc,_0x5aa4b3){const _0x14ca6f=a125_0x1a9b57,_0x31a38b={};_0x31a38b[_0x14ca6f(0xbf)]='Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying';const _0x583b88=_0x31a38b,_0x4f4e=await this['validateBinary'](_0x19c0af[_0x14ca6f(0xe9)]);if(!_0x4f4e){logger[_0x14ca6f(0xc5)](_0x583b88['TUyMb']);const _0x21d66a=await this[_0x14ca6f(0xda)](_0x559ddc,_0x5aa4b3);return _0x21d66a[_0x14ca6f(0xe9)];}return _0x19c0af['binaryPath'];}async[a125_0x1a9b57(0xb1)](_0xa24325){const _0x192bd5=a125_0x1a9b57,_0x57251c={};_0x57251c['fXmcL']=_0x192bd5(0x145),_0x57251c[_0x192bd5(0x135)]=_0x192bd5(0xe0);const _0x27a429=_0x57251c,_0x510de0=this.#getAvailableDirs(),_0x319191=path[_0x192bd5(0x10a)](_0x510de0,this.#binaryName);if(this.#checkPath(_0x319191,fs[_0x192bd5(0xd1)])){const _0x39f2f9=this.#loadETag(_0x510de0);if(_0x39f2f9)try{const _0x14d289=await this['download'](_0xa24325,_0x510de0,_0x39f2f9);if(!_0x14d289[_0x192bd5(0xe6)])return logger['debug'](_0x27a429['fXmcL']),_0x319191;return logger['debug'](_0x27a429[_0x192bd5(0x135)]),await this.#handleBinaryDownload(_0x14d289,_0xa24325,_0x510de0);}catch(_0x30ca61){return logger[_0x192bd5(0xe8)](_0x192bd5(0x110)+_0x30ca61),_0x319191;}}const _0x43d90d=await this[_0x192bd5(0xda)](_0xa24325,_0x510de0);return await this.#handleBinaryDownload(_0x43d90d,_0xa24325,_0x510de0);}[a125_0x1a9b57(0xda)](_0x2cb7f9,_0x240b35,_0x1ac582=null){const _0x22be0c=a125_0x1a9b57,_0x3acc3e={'dXOgr':function(_0x151d4e,_0x561b46){return _0x151d4e(_0x561b46);},'WIAaH':function(_0x1715b5,_0x14995e){return _0x1715b5===_0x14995e;},'qFvXB':_0x22be0c(0xc5),'IsjWF':_0x22be0c(0xf9),'wuSYb':function(_0xc010c,_0x47b690){return _0xc010c+_0x47b690;},'eHvla':_0x22be0c(0x12b)};_0x240b35&&!this.#checkPath(_0x240b35)&&fs['mkdirSync'](_0x240b35);const _0x16314f=this.#binaryName,_0x22dc2d=path[_0x22be0c(0x10a)](_0x240b35,_0x3acc3e['wuSYb'](_0x16314f,_0x3acc3e[_0x22be0c(0xc0)])),_0x538b36=fs[_0x22be0c(0xfb)](_0x22dc2d),_0x5005ee=url[_0x22be0c(0xf7)](this.#httpPath);if(_0x2cb7f9[_0x22be0c(0x126)]&&_0x2cb7f9[_0x22be0c(0x107)]){const _0x32f6a2={};_0x32f6a2[_0x22be0c(0x114)]=_0x2cb7f9['proxyHost'],_0x32f6a2[_0x22be0c(0xf5)]=_0x2cb7f9[_0x22be0c(0x107)],_0x5005ee[_0x22be0c(0xd5)]=new HttpsProxyAgent(_0x32f6a2);}if(_0x2cb7f9[_0x22be0c(0xb2)])try{_0x5005ee['ca']=fs[_0x22be0c(0x131)](_0x2cb7f9['useCaCertificate']);}catch(_0x21de19){logger[_0x22be0c(0xc5)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x21de19);}if(_0x1ac582){const _0x11e88a={};_0x11e88a['If-None-Match']=_0x1ac582,_0x11e88a[_0x22be0c(0xd3)]=_0x3acc3e['IsjWF'],_0x5005ee[_0x22be0c(0xbc)]=_0x11e88a;}else{const _0x357141={};_0x357141[_0x22be0c(0xd3)]=_0x3acc3e[_0x22be0c(0xf8)],_0x5005ee['headers']=_0x357141;}return new Promise((_0x42c457,_0x530212)=>{const _0x26aa3e=_0x22be0c,_0x3cb31b={'FktYg':function(_0x4cac85,_0x3cbd97){const _0x3e3930=a125_0x3f94;return _0x3acc3e[_0x3e3930(0xcf)](_0x4cac85,_0x3cbd97);},'KyEpp':function(_0x2bfcaa,_0x1fbd77){const _0x38cb17=a125_0x3f94;return _0x3acc3e[_0x38cb17(0xb5)](_0x2bfcaa,_0x1fbd77);},'hGPkP':function(_0x76095e,_0x287a37){return _0x3acc3e['dXOgr'](_0x76095e,_0x287a37);},'eYadb':_0x3acc3e['qFvXB'],'WQrAE':_0x3acc3e[_0x26aa3e(0xf8)]};https[_0x26aa3e(0xe4)](_0x5005ee,_0x282b0e=>{const _0x244cdf=_0x26aa3e,_0xc18091={'wdwHF':function(_0x524025,_0x41d1ae){return _0x3cb31b['FktYg'](_0x524025,_0x41d1ae);}};if(_0x1ac582&&_0x3cb31b[_0x244cdf(0x132)](_0x282b0e[_0x244cdf(0xbe)],0x130)){_0x538b36[_0x244cdf(0x103)]();const _0x2781f0={};_0x2781f0[_0x244cdf(0xe6)]=![],_0x3cb31b['hGPkP'](_0x42c457,_0x2781f0);return;}const _0x102dd2=_0x282b0e[_0x244cdf(0xbc)]['etag'];_0x102dd2&&this.#saveETag(_0x240b35,_0x102dd2),_0x282b0e['pipe'](_0x538b36),_0x282b0e['on'](_0x3cb31b[_0x244cdf(0xd0)],function(_0x3697e4){const _0x487604=_0x244cdf;logger['error'](_0x487604(0xb7)+_0x3697e4),_0xc18091['wdwHF'](_0x530212,_0x3697e4);}),_0x538b36['on'](_0x3cb31b[_0x244cdf(0xd0)],function(_0x16ad56){const _0x491ba5=_0x244cdf;logger[_0x491ba5(0xc5)](_0x491ba5(0x108)+_0x16ad56),_0xc18091[_0x491ba5(0xea)](_0x530212,_0x16ad56);}),_0x538b36['on'](_0x3cb31b[_0x244cdf(0x10d)],()=>{const _0x9a8b1e=_0x244cdf;this[_0x9a8b1e(0xec)](_0x22dc2d,_0x240b35)[_0x9a8b1e(0xf6)](_0x3a3e5b=>_0x42c457({'needsUpdate':!![],'binaryPath':_0x3a3e5b}))['catch'](_0x530212);});})['on'](_0x3acc3e[_0x26aa3e(0x134)],function(_0x2f7e9b){const _0x3747ab=_0x26aa3e;logger['error']('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x2f7e9b),_0x3cb31b[_0x3747ab(0x128)](_0x530212,_0x2f7e9b);});});}[a125_0x1a9b57(0xec)](_0x2bb183,_0x3653c2){const _0x3e1fed=a125_0x1a9b57,_0x64197b={'wdPKF':function(_0x1b1a36,_0x230d0e){return _0x1b1a36(_0x230d0e);},'TmTsz':_0x3e1fed(0x115),'YrXzq':function(_0x213246,_0x16d36c){return _0x213246===_0x16d36c;},'ajCYT':function(_0x2d1dab,_0x231695){return _0x2d1dab(_0x231695);},'HAlub':_0x3e1fed(0xc2),'aqtjc':'error','UNCHG':_0x3e1fed(0xc3)},_0x345210=this.#binaryName,_0x1acd48=path[_0x3e1fed(0x10a)](_0x3653c2,_0x345210);return new Promise((_0x28d615,_0x2ee147)=>{const _0x57cd5c=_0x3e1fed,_0x3c310d={'pCzYx':function(_0x375842,_0x1f871a){const _0x5cf33c=a125_0x3f94;return _0x64197b[_0x5cf33c(0x100)](_0x375842,_0x1f871a);},'hLAKe':_0x64197b[_0x57cd5c(0x11e)]},_0x5ae9f3={};_0x5ae9f3['lazyEntries']=!![],yauzl[_0x57cd5c(0xcc)](_0x2bb183,_0x5ae9f3,function(_0x55be74,_0x2aadd6){const _0x135012=_0x57cd5c,_0x44d295={'KkgnC':function(_0x1ae7bc,_0xc6455d){const _0x4aba5a=a125_0x3f94;return _0x64197b[_0x4aba5a(0x129)](_0x1ae7bc,_0xc6455d);},'qJQnF':_0x64197b[_0x135012(0x13c)],'awiNN':function(_0x3c1a44,_0x5aa3a7){const _0x9098c5=_0x135012;return _0x64197b[_0x9098c5(0x11b)](_0x3c1a44,_0x5aa3a7);},'cdAOz':function(_0x2aedf7,_0x43dbb3){const _0x2a167f=_0x135012;return _0x64197b[_0x2a167f(0x100)](_0x2aedf7,_0x43dbb3);}};_0x55be74&&_0x64197b[_0x135012(0x100)](_0x2ee147,_0x55be74),_0x2aadd6[_0x135012(0xfe)](),_0x2aadd6['on'](_0x64197b[_0x135012(0x138)],_0x199b39=>{const _0xe0b12f=_0x135012,_0x1714d7={'ZvEgT':function(_0x539e97,_0xc3696){return _0x44d295['KkgnC'](_0x539e97,_0xc3696);},'tJPuA':_0x44d295[_0xe0b12f(0x12d)]};if(/\/$/[_0xe0b12f(0x13e)](_0x199b39['fileName']))_0x2aadd6[_0xe0b12f(0xfe)]();else{const _0x2f7518=fs[_0xe0b12f(0xfb)](path[_0xe0b12f(0x10a)](_0x3653c2,_0x199b39['fileName']));_0x2aadd6[_0xe0b12f(0xe5)](_0x199b39,function(_0x347c8,_0x33d49e){const _0x21d243=_0xe0b12f;_0x347c8&&_0x1714d7[_0x21d243(0x130)](_0x2ee147,_0x55be74),_0x33d49e['on'](_0x1714d7[_0x21d243(0x120)],function(){const _0x3d7c02=_0x21d243;_0x2f7518[_0x3d7c02(0xf9)](),_0x2aadd6[_0x3d7c02(0xfe)]();}),_0x33d49e[_0x21d243(0x12a)](_0x2f7518);}),_0x44d295['awiNN'](_0x199b39[_0xe0b12f(0xd9)],_0x345210)&&_0x2aadd6[_0xe0b12f(0xf9)]();}}),_0x2aadd6['on'](_0x64197b[_0x135012(0xb9)],_0x4aa8ff=>{const _0x3d4f20=_0x135012;_0x44d295[_0x3d4f20(0x11c)](_0x2ee147,_0x4aa8ff);}),_0x2aadd6[_0x135012(0xeb)](_0x64197b[_0x135012(0x13c)],()=>{const _0x19cccb=_0x135012,_0x42cded={'YgqMt':function(_0x163833,_0x14c6b6){return _0x3c310d['pCzYx'](_0x163833,_0x14c6b6);}};fs['chmod'](_0x1acd48,_0x3c310d[_0x19cccb(0xdb)],function(_0x1c5cbe){const _0x4f4b78=_0x19cccb;_0x1c5cbe&&_0x42cded[_0x4f4b78(0xd2)](_0x2ee147,_0x1c5cbe),_0x42cded[_0x4f4b78(0xd2)](_0x28d615,_0x1acd48);}),_0x2aadd6[_0x19cccb(0xf9)]();});});});}async['validateBinary'](_0x517512){const _0xf430ef={'ioDBF':function(_0x22d47f,_0x90db5){return _0x22d47f(_0x90db5);},'bfGNm':function(_0x27fdd8,_0x193a64,_0x20f6fd,_0x5c27ba){return _0x27fdd8(_0x193a64,_0x20f6fd,_0x5c27ba);},'tjrLT':'--version','kqKlI':'data','nDxue':'close'},_0x5d72b5=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2c2d3e,_0x509d9c)=>{const _0x270cfa=a125_0x3f94,_0xd37b5c={};_0xd37b5c[_0x270cfa(0x137)]=process['env'];const _0x25b5ae=_0xf430ef[_0x270cfa(0xb4)](spawn,_0x517512,[_0xf430ef[_0x270cfa(0x11f)]],_0xd37b5c);_0x25b5ae[_0x270cfa(0x10c)]['on'](_0xf430ef[_0x270cfa(0x136)],_0x4a51ef=>{const _0x14ad29=_0x270cfa;_0x5d72b5[_0x14ad29(0x13e)](_0x4a51ef)&&_0xf430ef[_0x14ad29(0xc8)](_0x2c2d3e,!![]);}),_0x25b5ae['on'](_0xf430ef[_0x270cfa(0x10b)],()=>{const _0x1854f0=_0x270cfa;_0xf430ef[_0x1854f0(0xc8)](_0x2c2d3e,![]);});});}#homedir(){const _0x5dfb61=a125_0x1a9b57,_0x2f38f9={};_0x2f38f9[_0x5dfb61(0xdf)]=function(_0x2c417f,_0x176ba8){return _0x2c417f===_0x176ba8;},_0x2f38f9[_0x5dfb61(0x12c)]=_0x5dfb61(0xf2),_0x2f38f9[_0x5dfb61(0xb8)]=_0x5dfb61(0xc1),_0x2f38f9['sHJHa']=function(_0x170a6a,_0x437be3){return _0x170a6a+_0x437be3;},_0x2f38f9[_0x5dfb61(0x143)]=_0x5dfb61(0xb0),_0x2f38f9['iDGtB']=function(_0x25267d,_0x304c9a){return _0x25267d+_0x304c9a;},_0x2f38f9[_0x5dfb61(0x142)]='/Users/',_0x2f38f9[_0x5dfb61(0xf1)]=function(_0x54d381,_0x323a87){return _0x54d381===_0x323a87;},_0x2f38f9[_0x5dfb61(0xfd)]='linux',_0x2f38f9[_0x5dfb61(0x13f)]=_0x5dfb61(0x111),_0x2f38f9[_0x5dfb61(0x11d)]='/home/',_0x2f38f9['jnNSo']=function(_0x260f73,_0x31b188){return _0x260f73||_0x31b188;};const _0x32e0da=_0x2f38f9;if(_0x32e0da[_0x5dfb61(0xdf)](typeof os['homedir'],_0x32e0da[_0x5dfb61(0x12c)]))return os[_0x5dfb61(0xff)]();const _0x59770f=process[_0x5dfb61(0x137)],_0x3404a1=_0x59770f[_0x5dfb61(0x133)],_0x14906c=_0x59770f[_0x5dfb61(0x118)]||_0x59770f['USER']||_0x59770f['LNAME']||_0x59770f[_0x5dfb61(0xe7)];if(_0x32e0da[_0x5dfb61(0xdf)](process['platform'],_0x32e0da['oUyZX']))return _0x59770f[_0x5dfb61(0x112)]||_0x32e0da['sHJHa'](_0x59770f['HOMEDRIVE'],_0x59770f[_0x5dfb61(0xf4)])||_0x3404a1||null;if(_0x32e0da[_0x5dfb61(0xdf)](process[_0x5dfb61(0xba)],_0x32e0da[_0x5dfb61(0x143)]))return _0x3404a1||(_0x14906c?_0x32e0da[_0x5dfb61(0xd8)](_0x32e0da[_0x5dfb61(0x142)],_0x14906c):null);if(_0x32e0da[_0x5dfb61(0xf1)](process[_0x5dfb61(0xba)],_0x32e0da[_0x5dfb61(0xfd)]))return _0x3404a1||(_0x32e0da[_0x5dfb61(0xdf)](process[_0x5dfb61(0xee)](),0x0)?_0x32e0da[_0x5dfb61(0x13f)]:_0x14906c?_0x32e0da['iDGtB'](_0x32e0da[_0x5dfb61(0x11d)],_0x14906c):null);return _0x32e0da[_0x5dfb61(0x121)](_0x3404a1,null);}}module[a125_0x1a9b57(0xe2)]=PercyBinary;
@@ -1 +1 @@
1
- var a126_0x554012=a126_0x31c9;function a126_0x58a1(){var _0x59bb2a=['16DkIGkn','increment','4937310FkiNnp','3118422xAlqeC','14PAikxE','374796CegSBn','exports','2965158stZraE','1437621djXqvd','5034776alPcaM','1377873dAMSpK','get'];a126_0x58a1=function(){return _0x59bb2a;};return a126_0x58a1();}function a126_0x31c9(_0x559364,_0x17f73a){var _0x58a16a=a126_0x58a1();return a126_0x31c9=function(_0x31c9df,_0x2ab7b1){_0x31c9df=_0x31c9df-0x1c5;var _0x49f0c5=_0x58a16a[_0x31c9df];return _0x49f0c5;},a126_0x31c9(_0x559364,_0x17f73a);}(function(_0x57c9ba,_0x1d1f62){var _0x39fce4=a126_0x31c9,_0x5e9c5d=_0x57c9ba();while(!![]){try{var _0x15155f=-parseInt(_0x39fce4(0x1c7))/0x1+parseInt(_0x39fce4(0x1d0))/0x2+-parseInt(_0x39fce4(0x1c6))/0x3+parseInt(_0x39fce4(0x1c8))/0x4+parseInt(_0x39fce4(0x1cd))/0x5+-parseInt(_0x39fce4(0x1ce))/0x6*(-parseInt(_0x39fce4(0x1cf))/0x7)+-parseInt(_0x39fce4(0x1cb))/0x8*(parseInt(_0x39fce4(0x1c9))/0x9);if(_0x15155f===_0x1d1f62)break;else _0x5e9c5d['push'](_0x5e9c5d['shift']());}catch(_0x3b808){_0x5e9c5d['push'](_0x5e9c5d['shift']());}}}(a126_0x58a1,0xb4ddb));class PercyCaptureMap{#map={};[a126_0x554012(0x1cc)](_0x3ba74e,_0x53c97e){!this.#map[_0x3ba74e]&&(this.#map[_0x3ba74e]={}),!this.#map[_0x3ba74e][_0x53c97e]&&(this.#map[_0x3ba74e][_0x53c97e]=0x0),this.#map[_0x3ba74e][_0x53c97e]++;}['getName'](_0x5a16a0,_0xe57fc6){var _0x18b7bb=a126_0x554012;return _0x5a16a0+'-'+_0xe57fc6+'-'+this[_0x18b7bb(0x1ca)](_0x5a16a0,_0xe57fc6);}['get'](_0x40a0d9,_0x5a8721){if(!this.#map[_0x40a0d9])return 0x0;if(!this.#map[_0x40a0d9][_0x5a8721])return 0x0;return this.#map[_0x40a0d9][_0x5a8721];}}module[a126_0x554012(0x1c5)]=PercyCaptureMap;
1
+ function a126_0x5c40(){var _0x44c9d5=['879420gSavrK','1068438BqVovq','get','1760IlfiVD','4875363ToKwWw','11077HbRaQb','671941QKuOIT','8mNmtfu','getName','5LhWTsg','245646TszzjQ','exports','4726589oAxvnI','27aCoQWQ'];a126_0x5c40=function(){return _0x44c9d5;};return a126_0x5c40();}function a126_0xb54b(_0x26dd1e,_0x57d184){var _0x5c40bb=a126_0x5c40();return a126_0xb54b=function(_0xb54b54,_0x1ca506){_0xb54b54=_0xb54b54-0x1ac;var _0x359e9c=_0x5c40bb[_0xb54b54];return _0x359e9c;},a126_0xb54b(_0x26dd1e,_0x57d184);}var a126_0x23fc8c=a126_0xb54b;(function(_0x45b68f,_0x48e139){var _0xcee611=a126_0xb54b,_0x55ac1=_0x45b68f();while(!![]){try{var _0x495600=parseInt(_0xcee611(0x1b5))/0x1+-parseInt(_0xcee611(0x1b9))/0x2*(parseInt(_0xcee611(0x1ae))/0x3)+-parseInt(_0xcee611(0x1af))/0x4+-parseInt(_0xcee611(0x1b8))/0x5*(-parseInt(_0xcee611(0x1b0))/0x6)+parseInt(_0xcee611(0x1ad))/0x7+parseInt(_0xcee611(0x1b6))/0x8*(parseInt(_0xcee611(0x1b3))/0x9)+-parseInt(_0xcee611(0x1b2))/0xa*(parseInt(_0xcee611(0x1b4))/0xb);if(_0x495600===_0x48e139)break;else _0x55ac1['push'](_0x55ac1['shift']());}catch(_0x295b96){_0x55ac1['push'](_0x55ac1['shift']());}}}(a126_0x5c40,0x89ce6));class PercyCaptureMap{#map={};['increment'](_0x327ead,_0x2dd333){!this.#map[_0x327ead]&&(this.#map[_0x327ead]={}),!this.#map[_0x327ead][_0x2dd333]&&(this.#map[_0x327ead][_0x2dd333]=0x0),this.#map[_0x327ead][_0x2dd333]++;}[a126_0x23fc8c(0x1b7)](_0x231b6d,_0x4647af){var _0x3bd378=a126_0x23fc8c;return _0x231b6d+'-'+_0x4647af+'-'+this[_0x3bd378(0x1b1)](_0x231b6d,_0x4647af);}['get'](_0x17f1ac,_0x30a9e4){if(!this.#map[_0x17f1ac])return 0x0;if(!this.#map[_0x17f1ac][_0x30a9e4])return 0x0;return this.#map[_0x17f1ac][_0x30a9e4];}}module[a126_0x23fc8c(0x1ac)]=PercyCaptureMap;
@@ -1 +1 @@
1
- var a127_0x924e9=a127_0x1733;(function(_0x5e8513,_0x3bb63c){var _0x3b670d=a127_0x1733,_0x2be70e=_0x5e8513();while(!![]){try{var _0x5abc7b=parseInt(_0x3b670d(0x155))/0x1*(parseInt(_0x3b670d(0x158))/0x2)+-parseInt(_0x3b670d(0x152))/0x3+parseInt(_0x3b670d(0x15b))/0x4*(-parseInt(_0x3b670d(0x166))/0x5)+-parseInt(_0x3b670d(0x154))/0x6*(-parseInt(_0x3b670d(0x162))/0x7)+-parseInt(_0x3b670d(0x159))/0x8*(-parseInt(_0x3b670d(0x153))/0x9)+-parseInt(_0x3b670d(0x15c))/0xa+parseInt(_0x3b670d(0x163))/0xb;if(_0x5abc7b===_0x3bb63c)break;else _0x2be70e['push'](_0x2be70e['shift']());}catch(_0x1b9085){_0x2be70e['push'](_0x2be70e['shift']());}}}(a127_0xc037,0x57793));function a127_0x1733(_0x32fc73,_0x356bc7){var _0xc03704=a127_0xc037();return a127_0x1733=function(_0x1733ac,_0x53e009){_0x1733ac=_0x1733ac-0x152;var _0x2c9911=_0xc03704[_0x1733ac];return _0x2c9911;},a127_0x1733(_0x32fc73,_0x356bc7);}var a127_0x751a1={};a127_0x751a1['driver']=[a127_0x924e9(0x164)],a127_0x751a1[a127_0x924e9(0x165)]=[a127_0x924e9(0x156),a127_0x924e9(0x160)];function a127_0xc037(){var _0x4bde72=['driver','8wtLSiz','3685480JhzIBS','screenshot','auto','manual','sendKeys','exports','7NIfsHj','10565269ksURBi','takeScreenshot','element','1371830oFTNmy','2020512VhPRzo','18FycuRt','2714064cbAKHt','13fHNBXz','click','testcase','41724UvIzXb','1060184KHnPAk'];a127_0xc037=function(){return _0x4bde72;};return a127_0xc037();}var a127_0xa58294={};a127_0xa58294[a127_0x924e9(0x15a)]=['takeScreenshot'];var a127_0x10db16={};a127_0x10db16['element']=['click'];var a127_0xf4ebff={};a127_0xf4ebff[a127_0x924e9(0x15e)]=a127_0x751a1,a127_0xf4ebff[a127_0x924e9(0x15d)]=a127_0xa58294,a127_0xf4ebff[a127_0x924e9(0x156)]=a127_0x10db16,a127_0xf4ebff[a127_0x924e9(0x157)]={},a127_0xf4ebff[a127_0x924e9(0x15f)]={},module[a127_0x924e9(0x161)]=a127_0xf4ebff;
1
+ var a127_0x478a76=a127_0xac12;(function(_0x23656b,_0x181efb){var _0x399492=a127_0xac12,_0x315a3d=_0x23656b();while(!![]){try{var _0x1b4b71=-parseInt(_0x399492(0x1e7))/0x1+-parseInt(_0x399492(0x1f3))/0x2*(-parseInt(_0x399492(0x1ee))/0x3)+parseInt(_0x399492(0x1f5))/0x4*(parseInt(_0x399492(0x1e4))/0x5)+parseInt(_0x399492(0x1ef))/0x6*(-parseInt(_0x399492(0x1f6))/0x7)+parseInt(_0x399492(0x1f4))/0x8+parseInt(_0x399492(0x1ec))/0x9+parseInt(_0x399492(0x1f0))/0xa;if(_0x1b4b71===_0x181efb)break;else _0x315a3d['push'](_0x315a3d['shift']());}catch(_0xf51d6e){_0x315a3d['push'](_0x315a3d['shift']());}}}(a127_0x5e40,0x49d58));var a127_0x56c29f={};a127_0x56c29f[a127_0x478a76(0x1f2)]=[a127_0x478a76(0x1f1)],a127_0x56c29f[a127_0x478a76(0x1e6)]=['click',a127_0x478a76(0x1f7)];var a127_0x38925b={};a127_0x38925b['driver']=[a127_0x478a76(0x1f1)];var a127_0x552438={};function a127_0x5e40(){var _0x39da85=['638607YTFEUA','1332nXpDvc','568910hhJdtI','takeScreenshot','driver','2XeaNRv','2847920DybOSo','4CHyApG','13517MVsPlt','sendKeys','1930110wHwyRW','manual','element','397893pJuhRf','screenshot','auto','click','exports','1055043IFVJQS','testcase'];a127_0x5e40=function(){return _0x39da85;};return a127_0x5e40();}a127_0x552438[a127_0x478a76(0x1e6)]=[a127_0x478a76(0x1ea)];var a127_0x246de8={};function a127_0xac12(_0x2d9364,_0x12e797){var _0x5e408c=a127_0x5e40();return a127_0xac12=function(_0xac127,_0x3aafbf){_0xac127=_0xac127-0x1e4;var _0x1a0d36=_0x5e408c[_0xac127];return _0x1a0d36;},a127_0xac12(_0x2d9364,_0x12e797);}a127_0x246de8[a127_0x478a76(0x1e9)]=a127_0x56c29f,a127_0x246de8[a127_0x478a76(0x1e8)]=a127_0x38925b,a127_0x246de8[a127_0x478a76(0x1ea)]=a127_0x552438,a127_0x246de8[a127_0x478a76(0x1ed)]={},a127_0x246de8[a127_0x478a76(0x1e5)]={},module[a127_0x478a76(0x1eb)]=a127_0x246de8;
@@ -1 +1 @@
1
- const a128_0x344c6d=a128_0x4dd0;(function(_0xc696d1,_0x38ae0e){const _0x3a9bcf=a128_0x4dd0,_0x36dda4=_0xc696d1();while(!![]){try{const _0x4f6f91=-parseInt(_0x3a9bcf(0x164))/0x1*(-parseInt(_0x3a9bcf(0x155))/0x2)+parseInt(_0x3a9bcf(0x165))/0x3+parseInt(_0x3a9bcf(0x15e))/0x4+parseInt(_0x3a9bcf(0x14a))/0x5*(parseInt(_0x3a9bcf(0x163))/0x6)+parseInt(_0x3a9bcf(0x14c))/0x7+parseInt(_0x3a9bcf(0x154))/0x8+-parseInt(_0x3a9bcf(0x162))/0x9*(parseInt(_0x3a9bcf(0x160))/0xa);if(_0x4f6f91===_0x38ae0e)break;else _0x36dda4['push'](_0x36dda4['shift']());}catch(_0x38a9aa){_0x36dda4['push'](_0x36dda4['shift']());}}}(a128_0xeb75,0x8891c));const tryRequire=function(_0x2249c7,_0x455a6b){const _0xf0d489=a128_0x4dd0,_0x5511fa={'nyDEf':function(_0x51a344,_0x389918){return _0x51a344(_0x389918);}};try{return _0x5511fa[_0xf0d489(0x150)](require,_0x2249c7);}catch{return _0x455a6b;}},percySnapshot=tryRequire(a128_0x344c6d(0x144),null),{percyScreenshot}=tryRequire(a128_0x344c6d(0x144),{}),percyAppScreenshot=require(a128_0x344c6d(0x143)),{getCurrentTestData}=require(a128_0x344c6d(0x158)),PerformanceTester=require(a128_0x344c6d(0x14d)),{PERCY_EVENTS:PerformanceEvents}=require(a128_0x344c6d(0x159)),logger=require('../logger')[a128_0x344c6d(0x147)];function a128_0x4dd0(_0x2d6443,_0x10c17a){const _0xeb755d=a128_0xeb75();return a128_0x4dd0=function(_0x4dd08e,_0x5a8aef){_0x4dd08e=_0x4dd08e-0x141;let _0x120bc2=_0xeb755d[_0x4dd08e];return _0x120bc2;},a128_0x4dd0(_0x2d6443,_0x10c17a);}percySnapshot&&(exports[a128_0x344c6d(0x157)]=async function(){const _0x1d56c3=a128_0x344c6d,_0x2300cf={'jESEB':function(_0x465b8c,_0x2996f0){return _0x465b8c!==_0x2996f0;},'teehj':function(_0x2ca056,_0x5baea6){return _0x2ca056>=_0x5baea6;},'jJHXn':function(_0x23d183){return _0x23d183();}};if(global['browserstackPlatformIndex']&&_0x2300cf[_0x1d56c3(0x14f)](global[_0x1d56c3(0x14e)],global[_0x1d56c3(0x153)]))return;const _0x5368ff=_0x2300cf[_0x1d56c3(0x146)](arguments[_0x1d56c3(0x15f)],0x2)?arguments[0x1]:'',_0x4c9b22=_0x2300cf['jJHXn'](getCurrentTestData),_0x185b73={};return _0x185b73[_0x1d56c3(0x161)]=_0x5368ff,_0x185b73[_0x1d56c3(0x145)]=_0x4c9b22[_0x1d56c3(0x161)]||'',_0x185b73['thTestCaseExecutionId']=_0x4c9b22[_0x1d56c3(0x15b)]||'',_0x185b73['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents['SNAPSHOT'],()=>percySnapshot[_0x1d56c3(0x149)](null,arguments),_0x185b73);});percyScreenshot?exports[a128_0x344c6d(0x167)]=async function(){const _0x58347b=a128_0x344c6d,_0xdb70b6={'vlFJY':function(_0x3846e1,_0x1b5662){return _0x3846e1>=_0x1b5662;},'xdMBo':function(_0x4a2df1){return _0x4a2df1();}},_0x1688c3=_0xdb70b6['vlFJY'](arguments[_0x58347b(0x15f)],0x2)?arguments[0x1]:'',_0x432da9=_0xdb70b6['xdMBo'](getCurrentTestData),_0x50c6d4={};return _0x50c6d4[_0x58347b(0x161)]=_0x1688c3,_0x50c6d4[_0x58347b(0x145)]=_0x432da9[_0x58347b(0x161)]||'',_0x50c6d4[_0x58347b(0x152)]=_0x432da9[_0x58347b(0x15b)]||'',_0x50c6d4['platformIndex']=global[_0x58347b(0x14e)],await PerformanceTester[_0x58347b(0x151)](PerformanceEvents[_0x58347b(0x15d)],()=>percyScreenshot[_0x58347b(0x149)](null,arguments),_0x50c6d4);}:exports['screenshot']=()=>{const _0x3a4313=a128_0x344c6d,_0xe6cbf6={};_0xe6cbf6[_0x3a4313(0x148)]=_0x3a4313(0x14b);const _0x16a881=_0xe6cbf6;logger[_0x3a4313(0x166)](_0x16a881[_0x3a4313(0x148)]);};exports[a128_0x344c6d(0x141)]=async function(){const _0x327014=a128_0x344c6d,_0x37a910={'hUQSs':function(_0x358dbd,_0x4b1d50){return _0x358dbd>=_0x4b1d50;},'HwIZk':function(_0x3fac9c){return _0x3fac9c();}},_0x120cd8=_0x37a910[_0x327014(0x15c)](arguments['length'],0x2)?arguments[0x1]:'',_0x529d48=_0x37a910[_0x327014(0x15a)](getCurrentTestData),_0x2e4181={};return _0x2e4181['name']=_0x120cd8,_0x2e4181[_0x327014(0x145)]=_0x529d48[_0x327014(0x161)]||'',_0x2e4181[_0x327014(0x152)]=_0x529d48[_0x327014(0x15b)]||'',_0x2e4181[_0x327014(0x142)]=global[_0x327014(0x14e)],await PerformanceTester[_0x327014(0x151)](PerformanceEvents[_0x327014(0x156)],()=>percyAppScreenshot['apply'](null,arguments),_0x2e4181);};function a128_0xeb75(){const _0x5674f2=['SCREENSHOT_APP','snapshot','../../helpers/testhub/utils','../performance/constants','HwIZk','uuid','hUQSs','SCREENSHOT','2626396acVgCU','length','10CAPCuY','name','29466009mGXibV','4596bPIGKw','178053wSizMx','2649255svxvED','error','screenshot','screenshotApp','platformIndex','@percy/appium-app','@percy/selenium-webdriver','testCase','teehj','winstonLogger','Veyrm','apply','2065ljJQpU','Unsupported\x20driver\x20for\x20percy','5388922ciaWZV','../performance/performance-tester','browserstackPlatformIndex','jESEB','nyDEf','measure','thTestCaseExecutionId','browserstackPercyBestPlatform','5386736ABAJwM','6hqxdGG'];a128_0xeb75=function(){return _0x5674f2;};return a128_0xeb75();}
1
+ const a128_0x2e0e6b=a128_0x3ea2;(function(_0x20ba20,_0x3d07d8){const _0x1ced2a=a128_0x3ea2,_0x51e0fe=_0x20ba20();while(!![]){try{const _0x4597ef=-parseInt(_0x1ced2a(0x1a1))/0x1*(parseInt(_0x1ced2a(0x1a6))/0x2)+-parseInt(_0x1ced2a(0x195))/0x3+-parseInt(_0x1ced2a(0x1a7))/0x4*(parseInt(_0x1ced2a(0x194))/0x5)+parseInt(_0x1ced2a(0x1b1))/0x6*(parseInt(_0x1ced2a(0x1aa))/0x7)+-parseInt(_0x1ced2a(0x1ae))/0x8+parseInt(_0x1ced2a(0x199))/0x9+parseInt(_0x1ced2a(0x1ab))/0xa;if(_0x4597ef===_0x3d07d8)break;else _0x51e0fe['push'](_0x51e0fe['shift']());}catch(_0x30a46d){_0x51e0fe['push'](_0x51e0fe['shift']());}}}(a128_0x3443,0xb9f25));function a128_0x3ea2(_0x11e11a,_0x461a4c){const _0x3443d8=a128_0x3443();return a128_0x3ea2=function(_0x3ea279,_0x5a6545){_0x3ea279=_0x3ea279-0x191;let _0x4dc149=_0x3443d8[_0x3ea279];return _0x4dc149;},a128_0x3ea2(_0x11e11a,_0x461a4c);}const tryRequire=function(_0x27b56d,_0x28a1cc){const _0x471238=a128_0x3ea2,_0x5bd3a9={'ZURsy':function(_0x2be74d,_0x19be60){return _0x2be74d(_0x19be60);}};try{return _0x5bd3a9[_0x471238(0x1a2)](require,_0x27b56d);}catch{return _0x28a1cc;}},percySnapshot=tryRequire('@percy/selenium-webdriver',null),{percyScreenshot}=tryRequire(a128_0x2e0e6b(0x1a5),{}),percyAppScreenshot=require(a128_0x2e0e6b(0x1b6)),{getCurrentTestData}=require(a128_0x2e0e6b(0x19a)),PerformanceTester=require(a128_0x2e0e6b(0x1b7)),{PERCY_EVENTS:PerformanceEvents}=require(a128_0x2e0e6b(0x192)),logger=require(a128_0x2e0e6b(0x19c))[a128_0x2e0e6b(0x1b0)];percySnapshot&&(exports['snapshot']=async function(){const _0x1d563e=a128_0x2e0e6b,_0x5aaa8c={'CPTaZ':function(_0x54db7d,_0x4f562e){return _0x54db7d!==_0x4f562e;},'OfXhN':function(_0x19b632,_0x307b11){return _0x19b632>=_0x307b11;},'IrLgT':function(_0x3fdc04){return _0x3fdc04();}};if(global[_0x1d563e(0x196)]&&_0x5aaa8c[_0x1d563e(0x19b)](global['browserstackPlatformIndex'],global[_0x1d563e(0x1ad)]))return;const _0x149d98=_0x5aaa8c[_0x1d563e(0x198)](arguments[_0x1d563e(0x1a8)],0x2)?arguments[0x1]:'',_0x279194=_0x5aaa8c[_0x1d563e(0x1a3)](getCurrentTestData),_0x15c45a={};return _0x15c45a[_0x1d563e(0x1b5)]=_0x149d98,_0x15c45a[_0x1d563e(0x1b3)]=_0x279194[_0x1d563e(0x1b5)]||'',_0x15c45a[_0x1d563e(0x197)]=_0x279194[_0x1d563e(0x1ac)]||'',_0x15c45a[_0x1d563e(0x19d)]=global[_0x1d563e(0x196)],await PerformanceTester[_0x1d563e(0x1a0)](PerformanceEvents[_0x1d563e(0x1af)],()=>percySnapshot[_0x1d563e(0x191)](null,arguments),_0x15c45a);});function a128_0x3443(){const _0x2f4d8a=['339444GrkrUI','../../helpers/testhub/utils','CPTaZ','../logger','platformIndex','KSXZo','bkEgX','measure','127657QPuAdg','ZURsy','IrLgT','screenshot','@percy/selenium-webdriver','10MRuaHn','866852VxAipe','length','Agwps','427756keWsXJ','27537280VdEtVY','uuid','browserstackPercyBestPlatform','6445400YkOsEV','SNAPSHOT','winstonLogger','78mqGNgy','Unsupported\x20driver\x20for\x20percy','testCase','screenshotApp','name','@percy/appium-app','../performance/performance-tester','SCREENSHOT','error','apply','../performance/constants','tgeTo','25tLVyUn','890058doXMrl','browserstackPlatformIndex','thTestCaseExecutionId','OfXhN'];a128_0x3443=function(){return _0x2f4d8a;};return a128_0x3443();}percyScreenshot?exports['screenshot']=async function(){const _0x40e79d=a128_0x2e0e6b,_0x517b08={'HXYVS':function(_0x38daef,_0x36ec35){return _0x38daef>=_0x36ec35;},'tgeTo':function(_0x2cb8c3){return _0x2cb8c3();}},_0x3aaed5=_0x517b08['HXYVS'](arguments[_0x40e79d(0x1a8)],0x2)?arguments[0x1]:'',_0xb05f59=_0x517b08[_0x40e79d(0x193)](getCurrentTestData),_0x1525c0={};return _0x1525c0[_0x40e79d(0x1b5)]=_0x3aaed5,_0x1525c0[_0x40e79d(0x1b3)]=_0xb05f59[_0x40e79d(0x1b5)]||'',_0x1525c0[_0x40e79d(0x197)]=_0xb05f59[_0x40e79d(0x1ac)]||'',_0x1525c0[_0x40e79d(0x19d)]=global[_0x40e79d(0x196)],await PerformanceTester[_0x40e79d(0x1a0)](PerformanceEvents[_0x40e79d(0x1b8)],()=>percyScreenshot[_0x40e79d(0x191)](null,arguments),_0x1525c0);}:exports[a128_0x2e0e6b(0x1a4)]=()=>{const _0x57417a=a128_0x2e0e6b,_0x547033={};_0x547033[_0x57417a(0x19e)]=_0x57417a(0x1b2);const _0x3f4234=_0x547033;logger[_0x57417a(0x1b9)](_0x3f4234[_0x57417a(0x19e)]);};exports[a128_0x2e0e6b(0x1b4)]=async function(){const _0x42db61=a128_0x2e0e6b,_0x2ca15e={'bkEgX':function(_0x3f1720,_0x596754){return _0x3f1720>=_0x596754;},'Agwps':function(_0x3dbdad){return _0x3dbdad();}},_0x1c79fc=_0x2ca15e[_0x42db61(0x19f)](arguments[_0x42db61(0x1a8)],0x2)?arguments[0x1]:'',_0x4be617=_0x2ca15e[_0x42db61(0x1a9)](getCurrentTestData),_0x541d27={};return _0x541d27[_0x42db61(0x1b5)]=_0x1c79fc,_0x541d27[_0x42db61(0x1b3)]=_0x4be617['name']||'',_0x541d27[_0x42db61(0x197)]=_0x4be617[_0x42db61(0x1ac)]||'',_0x541d27['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester[_0x42db61(0x1a0)](PerformanceEvents['SCREENSHOT_APP'],()=>percyAppScreenshot[_0x42db61(0x191)](null,arguments),_0x541d27);};
@@ -1 +1 @@
1
- function a129_0x170e(_0x26b7a4,_0x52fe42){var _0x50d554=a129_0x50d5();return a129_0x170e=function(_0x170ee5,_0x3ac096){_0x170ee5=_0x170ee5-0x104;var _0x4b2fa9=_0x50d554[_0x170ee5];return _0x4b2fa9;},a129_0x170e(_0x26b7a4,_0x52fe42);}function a129_0x50d5(){var _0x4767b2=['6263CaJsNC','6477968QDQbdQ','85BVEcgw','155813ZuVQfq','exports','234Cbwnbz','2000umHIEy','302248hsxewQ','13578851uILdQY','318TPjkpp','74ZpPqwV','1321854ffnjLQ'];a129_0x50d5=function(){return _0x4767b2;};return a129_0x50d5();}var a129_0xd3bbd7=a129_0x170e;(function(_0x5dada6,_0x2e60dc){var _0x549655=a129_0x170e,_0x2feb6d=_0x5dada6();while(!![]){try{var _0x2aebcc=-parseInt(_0x549655(0x109))/0x1*(parseInt(_0x549655(0x107))/0x2)+parseInt(_0x549655(0x108))/0x3+parseInt(_0x549655(0x104))/0x4*(parseInt(_0x549655(0x10b))/0x5)+-parseInt(_0x549655(0x106))/0x6*(parseInt(_0x549655(0x10c))/0x7)+-parseInt(_0x549655(0x10a))/0x8+-parseInt(_0x549655(0x10e))/0x9*(parseInt(_0x549655(0x10f))/0xa)+parseInt(_0x549655(0x105))/0xb;if(_0x2aebcc===_0x2e60dc)break;else _0x2feb6d['push'](_0x2feb6d['shift']());}catch(_0x12e900){_0x2feb6d['push'](_0x2feb6d['shift']());}}}(a129_0x50d5,0xb3019),module[a129_0xd3bbd7(0x10d)]=require('./Percy'));
1
+ function a129_0x56ea(_0x1fb05e,_0x5ac1f6){var _0x465219=a129_0x4652();return a129_0x56ea=function(_0x56ea95,_0x55ab03){_0x56ea95=_0x56ea95-0x10c;var _0x5eaa57=_0x465219[_0x56ea95];return _0x5eaa57;},a129_0x56ea(_0x1fb05e,_0x5ac1f6);}var a129_0x471d61=a129_0x56ea;(function(_0x52ff26,_0x57fd7c){var _0x3fb25d=a129_0x56ea,_0x3fe8e7=_0x52ff26();while(!![]){try{var _0xa4126e=parseInt(_0x3fb25d(0x112))/0x1*(-parseInt(_0x3fb25d(0x114))/0x2)+-parseInt(_0x3fb25d(0x113))/0x3+-parseInt(_0x3fb25d(0x111))/0x4+-parseInt(_0x3fb25d(0x118))/0x5*(parseInt(_0x3fb25d(0x10d))/0x6)+-parseInt(_0x3fb25d(0x117))/0x7*(parseInt(_0x3fb25d(0x110))/0x8)+parseInt(_0x3fb25d(0x10e))/0x9+-parseInt(_0x3fb25d(0x115))/0xa*(-parseInt(_0x3fb25d(0x10c))/0xb);if(_0xa4126e===_0x57fd7c)break;else _0x3fe8e7['push'](_0x3fe8e7['shift']());}catch(_0x26bff0){_0x3fe8e7['push'](_0x3fe8e7['shift']());}}}(a129_0x4652,0xec35a),module[a129_0x471d61(0x116)]=require(a129_0x471d61(0x10f)));function a129_0x4652(){var _0x253608=['7395712NdxpVC','1237qRkdak','3920919EXMzwM','2194keSgwK','30fdBstZ','exports','574TRfMCn','2045rcrruL','19414747DvPaVL','4020YnQVGz','11779731fVGLsb','./Percy','82864eNmXsD'];a129_0x4652=function(){return _0x253608;};return a129_0x4652();}
@@ -1 +1 @@
1
- const a130_0x28b543=a130_0x488f;(function(_0x4b00cf,_0x2efcee){const _0x4ce316=a130_0x488f,_0x1d0246=_0x4b00cf();while(!![]){try{const _0x21cd64=-parseInt(_0x4ce316(0x1c1))/0x1+-parseInt(_0x4ce316(0x1e8))/0x2*(-parseInt(_0x4ce316(0x1b9))/0x3)+parseInt(_0x4ce316(0x1cf))/0x4+-parseInt(_0x4ce316(0x1e6))/0x5*(-parseInt(_0x4ce316(0x1de))/0x6)+-parseInt(_0x4ce316(0x1b5))/0x7*(-parseInt(_0x4ce316(0x1c9))/0x8)+parseInt(_0x4ce316(0x1a7))/0x9*(parseInt(_0x4ce316(0x1ce))/0xa)+-parseInt(_0x4ce316(0x1b3))/0xb;if(_0x21cd64===_0x2efcee)break;else _0x1d0246['push'](_0x1d0246['shift']());}catch(_0x4e20c7){_0x1d0246['push'](_0x1d0246['shift']());}}}(a130_0x3e45,0x28905));const Percy=require(a130_0x28b543(0x1b7)),PercySDK=require(a130_0x28b543(0x1b8)),PercyCaptureModes=require(a130_0x28b543(0x1c3)),PercyCaptureMap=require(a130_0x28b543(0x1bd)),logger=require(a130_0x28b543(0x1a4))['winstonLogger'],helper=require(a130_0x28b543(0x1d2)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a130_0x28b543(0x1c8));function a130_0x3e45(){const _0x12e4fc=['HbLyG','percy','safari','BVTEB','init','browserStackPercyOptions','firefox','stopPercy','../logger','isUndefined','SpbLt','9rWBxCy','forEach','\x20for\x20percy\x20','jUKMl','manual','error','Zqlkc','debug','measureWrapper','PRYDA','overrideXforPercy','browserstackPercyMap','5678013TacTml','getBestPlatformForPercySnapshot','474614MnmCuD','IeTuG','./Percy','./PercySDK','935358VPIXzj','chrome','getName','browserName','./PercyCaptureMap','driver','startPercy','edge','312738jcMUqR','percyCaptureMode','./PercyCaptureModes','lrneP','Starting\x20percy','browserstackSessionName','deviceName','../performance/constants','32viYpWX','AUTO_CAPTURE','MmVcy','browserstackPercyBestPlatform','platforms','2300590ikDNlW','234236ElBYXS','DUcbK','apply','../helper','Error\x20patching\x20','STOP','prototype','getDriver','getPercyOptions','browser','element','nestedKeyValue','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','toLowerCase','Stopping\x20percy','6bsOpFA','auto','screenshotApp','QzNJk','percyAutoCapture','patch','then','app','617290BPAvUr','reduce','2qeFGHi'];a130_0x3e45=function(){return _0x12e4fc;};return a130_0x3e45();}function a130_0x488f(_0x33c4cd,_0x56c4a5){const _0x3e45c1=a130_0x3e45();return a130_0x488f=function(_0x488f73,_0x4477f2){_0x488f73=_0x488f73-0x1a0;let _0x5aec0c=_0x3e45c1[_0x488f73];return _0x5aec0c;},a130_0x488f(_0x33c4cd,_0x56c4a5);}exports[a130_0x28b543(0x1bf)]=PerformanceTester[a130_0x28b543(0x1af)](PerformanceEvents['START'],async _0x473407=>{const _0x2c5fc0=a130_0x28b543,_0x38ec71={};_0x38ec71[_0x2c5fc0(0x1aa)]=_0x2c5fc0(0x1c5);const _0x242b47=_0x38ec71;logger['debug'](_0x242b47[_0x2c5fc0(0x1aa)]);const _0x2bc9eb=new Percy(_0x473407),_0x376027=await _0x2bc9eb['start']();if(_0x376027)return _0x2bc9eb;return null;}),exports[a130_0x28b543(0x1a3)]=PerformanceTester['measureWrapper'](PerformanceEvents[a130_0x28b543(0x1d4)],async _0x2b0ca2=>{const _0x4bdc88=a130_0x28b543,_0x1ca9a7={};_0x1ca9a7[_0x4bdc88(0x1ad)]=_0x4bdc88(0x1dd);const _0x3f548e=_0x1ca9a7;return logger[_0x4bdc88(0x1ae)](_0x3f548e['Zqlkc']),_0x2b0ca2['stop']();}),exports[a130_0x28b543(0x1b4)]=_0x143f2c=>{const _0x861def=a130_0x28b543,_0x5070c8={};_0x5070c8[_0x861def(0x1ec)]=function(_0x241c58,_0xf6b9b1){return _0x241c58<_0xf6b9b1;};const _0x4e3514=_0x5070c8,_0x32aa9f={};_0x32aa9f[_0x861def(0x1ba)]=0x0,_0x32aa9f[_0x861def(0x1a2)]=0x1,_0x32aa9f[_0x861def(0x1c0)]=0x2,_0x32aa9f[_0x861def(0x1eb)]=0x3;const _0xc9e065=_0x32aa9f;return _0x143f2c[_0x861def(0x1e7)]((_0x360973,_0x101b43,_0x5791ac)=>{const _0x16a0dd=_0x861def,_0x1623bc=_0x143f2c[_0x360973];if(_0x101b43[_0x16a0dd(0x1c7)])return _0x360973;if(_0x1623bc['deviceName'])return _0x5791ac;const _0x1eeb2b=_0x101b43[_0x16a0dd(0x1d8)]?_0x101b43['browser']:_0x101b43[_0x16a0dd(0x1bc)];if(_0x1eeb2b&&_0x4e3514['BVTEB'](_0xc9e065[_0x1eeb2b[_0x16a0dd(0x1dc)]()],_0xc9e065[_0x1eeb2b[_0x16a0dd(0x1dc)]()]))return _0x5791ac;return _0x360973;},0x0);},exports[a130_0x28b543(0x1e2)]=PerformanceTester[a130_0x28b543(0x1af)](PerformanceEvents[a130_0x28b543(0x1ca)],async(_0xfa00b6,_0x33402d,_0x453a4c)=>{const _0x53ed9f=a130_0x28b543,_0x18df68={};_0x18df68[_0x53ed9f(0x1e9)]=_0x53ed9f(0x1db);const _0x3b0720=_0x18df68,_0x476bd0=_0xfa00b6[_0x53ed9f(0x1b2)];if(helper[_0x53ed9f(0x1a5)](_0xfa00b6[_0x53ed9f(0x1c6)])){logger[_0x53ed9f(0x1ae)](_0x3b0720[_0x53ed9f(0x1e9)]);return;}const _0x46c1bc=_0x476bd0[_0x53ed9f(0x1bb)](_0xfa00b6[_0x53ed9f(0x1c6)],_0x33402d);_0x453a4c[_0x53ed9f(0x1e5)]?await PercySDK[_0x53ed9f(0x1e0)](_0xfa00b6,_0x46c1bc):await PercySDK['screenshot'](_0xfa00b6,_0x46c1bc),_0x476bd0['increment'](_0xfa00b6['browserstackSessionName'],_0x33402d);}),exports['patchDriverPercy']=(_0x233700,_0x26f730,_0xd2c170)=>{const _0x3368ce=a130_0x28b543,_0x57375c={};_0x57375c[_0x3368ce(0x1b6)]=_0x3368ce(0x1a1),_0x57375c[_0x3368ce(0x1b0)]='percy',_0x57375c['SpbLt']=function(_0x3c4262,_0xeba483){return _0x3c4262!==_0xeba483;},_0x57375c[_0x3368ce(0x1d0)]=_0x3368ce(0x1ab);const _0x26e4fb=_0x57375c;if(!helper[_0x3368ce(0x1da)](_0xd2c170,[_0x26e4fb['IeTuG'],_0x26e4fb[_0x3368ce(0x1b0)]]))return;if(_0xd2c170[_0x3368ce(0x1a1)]['percy']&&_0xd2c170[_0x3368ce(0x1a1)][_0x3368ce(0x1c2)]&&_0x26e4fb[_0x3368ce(0x1a6)](_0xd2c170[_0x3368ce(0x1a1)]['percyCaptureMode'],_0x26e4fb[_0x3368ce(0x1d0)])&&!_0x233700[_0x3368ce(0x1b2)]){global[_0x3368ce(0x1c6)]&&(_0x233700['browserstackSessionName']=global['browserstackSessionName']),_0x233700['browserstackPercyMap']=new PercyCaptureMap();const _0x1c7a48=PercyCaptureModes[_0xd2c170[_0x3368ce(0x1a1)][_0x3368ce(0x1c2)]];_0x1c7a48[_0x3368ce(0x1be)]&&_0x1c7a48[_0x3368ce(0x1be)][_0x3368ce(0x1a8)](_0x54da6d=>this[_0x3368ce(0x1b1)](_0x233700,_0x54da6d,_0xd2c170)),_0x1c7a48['element']&&_0x1c7a48[_0x3368ce(0x1d9)][_0x3368ce(0x1a8)](_0xa72f98=>{const _0x1071e6=_0x3368ce;if(_0x26f730[_0x1071e6(0x1d5)]['patch'+_0xa72f98])return;_0x26f730[_0x1071e6(0x1d5)]['patch'+_0xa72f98]=!![];const _0xedb44c=_0x26f730['prototype'][_0xa72f98];_0x26f730[_0x1071e6(0x1d5)][_0xa72f98]=async function(){const _0x376b6b=_0x1071e6;let _0x593c75=_0xedb44c[_0x376b6b(0x1d1)](this,arguments);_0x593c75&&_0x593c75[_0x376b6b(0x1e4)]&&(_0x593c75=await _0x593c75);try{const _0x1274d2=this[_0x376b6b(0x1d6)]();await exports[_0x376b6b(0x1e2)](_0x1274d2,_0xa72f98,_0xd2c170);}catch(_0xbb672a){logger[_0x376b6b(0x1ac)](_0x376b6b(0x1d3)+_0xa72f98+_0x376b6b(0x1a9)+_0xbb672a);}return _0x593c75;};});}},exports[a130_0x28b543(0x1b1)]=function(_0x25b366,_0x411997,_0x2124a6){const _0x5e6d05=a130_0x28b543,_0x447c10={};_0x447c10[_0x5e6d05(0x1c4)]=function(_0x86e1ab,_0x13b8ce){return _0x86e1ab+_0x13b8ce;},_0x447c10['QzNJk']=_0x5e6d05(0x1e3),_0x447c10[_0x5e6d05(0x1cb)]=_0x5e6d05(0x1a0);const _0x4ea308=_0x447c10,_0x4fae30=_0x4ea308[_0x5e6d05(0x1c4)](_0x4ea308[_0x5e6d05(0x1e1)],_0x411997),_0x2860b9=_0x4ea308[_0x5e6d05(0x1c4)](_0x4ea308['MmVcy'],_0x411997),_0x576bab=this;if(_0x25b366[_0x4fae30]||!_0x25b366[_0x411997])return;_0x25b366[_0x4fae30]=!![],_0x25b366[_0x2860b9]=_0x25b366[_0x411997],_0x25b366[_0x411997]=async()=>{const _0x542bb5=_0x5e6d05;try{await _0x576bab[_0x542bb5(0x1e2)](_0x25b366,_0x411997,_0x2124a6);}catch(_0x6890a9){logger[_0x542bb5(0x1ac)](_0x542bb5(0x1d3)+_0x411997+_0x542bb5(0x1a9)+_0x6890a9);}return await _0x25b366[_0x2860b9][_0x542bb5(0x1d1)](_0x25b366,arguments);};},exports[a130_0x28b543(0x1d7)]=_0x2e1447=>{const _0x4dc140=a130_0x28b543,_0xe7413={};_0xe7413['JwoTt']=_0x4dc140(0x1df);const _0x48d71b=_0xe7413,_0x158022={};_0x158022['percy']=_0x2e1447['percy'],_0x158022['percyCaptureMode']=_0x2e1447['percyCaptureMode']||_0x48d71b['JwoTt'];const _0x5c7302=_0x158022;_0x2e1447[_0x4dc140(0x1ea)]&&(_0x5c7302[_0x4dc140(0x1cc)]=exports['getBestPlatformForPercySnapshot'](_0x2e1447[_0x4dc140(0x1cd)]));;return _0x5c7302;};
1
+ const a130_0x45190c=a130_0x4aeb;(function(_0x2bc709,_0x4ac6bc){const _0x5bff2b=a130_0x4aeb,_0x16de66=_0x2bc709();while(!![]){try{const _0x4d1746=parseInt(_0x5bff2b(0xe3))/0x1*(-parseInt(_0x5bff2b(0xeb))/0x2)+-parseInt(_0x5bff2b(0xcf))/0x3+-parseInt(_0x5bff2b(0xb5))/0x4*(-parseInt(_0x5bff2b(0xe4))/0x5)+-parseInt(_0x5bff2b(0xc8))/0x6*(-parseInt(_0x5bff2b(0xaf))/0x7)+-parseInt(_0x5bff2b(0xc1))/0x8+-parseInt(_0x5bff2b(0xb9))/0x9*(-parseInt(_0x5bff2b(0xb4))/0xa)+parseInt(_0x5bff2b(0xb7))/0xb;if(_0x4d1746===_0x4ac6bc)break;else _0x16de66['push'](_0x16de66['shift']());}catch(_0x161385){_0x16de66['push'](_0x16de66['shift']());}}}(a130_0x1b77,0xb91c1));function a130_0x1b77(){const _0x148166=['4kIUkHG','startPercy','34455289lyZYra','getBestPlatformForPercySnapshot','4095IRmNVw','pUJaW','STOP','measureWrapper','getName','percy','chrome','browserStackPercyOptions','7812488STfjHO','../performance/performance-tester','screenshot','debug','app','bfKcI','firefox','6144492aVLyjv','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','qjkHW','HZEJH','safari','init','browser','3799221AwYmVX','element','start','patchDriverPercy','forEach','START','edge','getDriver','AUTO_CAPTURE','kLhWj','increment','./PercySDK','patch','auto','manual','winstonLogger','Starting\x20percy','./Percy','./PercyCaptureModes','deviceName','1DfFGfg','578185tOjwEJ','getPercyOptions','overrideXforPercy','percyAutoCapture','isUndefined','percyCaptureMode','wTNIQ','2685462FLQhbl','vddzA','../logger','platforms','stopPercy','error','Error\x20patching\x20','browserName','stop','PdnTZ','browserstackPercyBestPlatform','driver','IJGFl','fzXTt','../performance/constants','apply','prototype','MclYx','7idFYqR','toLowerCase','\x20for\x20percy\x20','browserstackPercyMap','browserstackSessionName','1580oPWCEt'];a130_0x1b77=function(){return _0x148166;};return a130_0x1b77();}const Percy=require(a130_0x45190c(0xe0)),PercySDK=require(a130_0x45190c(0xda)),PercyCaptureModes=require(a130_0x45190c(0xe1)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a130_0x45190c(0xed))[a130_0x45190c(0xde)],helper=require('../helper'),PerformanceTester=require(a130_0x45190c(0xc2)),{PERCY_EVENTS:PerformanceEvents}=require(a130_0x45190c(0xf9));function a130_0x4aeb(_0x5059ce,_0x3192cf){const _0x1b7738=a130_0x1b77();return a130_0x4aeb=function(_0x4aebb2,_0x5cbfbe){_0x4aebb2=_0x4aebb2-0xae;let _0x158fe0=_0x1b7738[_0x4aebb2];return _0x158fe0;},a130_0x4aeb(_0x5059ce,_0x3192cf);}exports[a130_0x45190c(0xb6)]=PerformanceTester[a130_0x45190c(0xbc)](PerformanceEvents[a130_0x45190c(0xd4)],async _0x52ce9b=>{const _0x3922aa=a130_0x45190c,_0x1ccf05={};_0x1ccf05[_0x3922aa(0xae)]=_0x3922aa(0xdf);const _0x37cbfe=_0x1ccf05;logger[_0x3922aa(0xc4)](_0x37cbfe['MclYx']);const _0x410669=new Percy(_0x52ce9b),_0x5e08bc=await _0x410669[_0x3922aa(0xd1)]();if(_0x5e08bc)return _0x410669;return null;}),exports[a130_0x45190c(0xef)]=PerformanceTester[a130_0x45190c(0xbc)](PerformanceEvents[a130_0x45190c(0xbb)],async _0x319498=>{const _0x46f0fa=a130_0x45190c,_0x201c2e={};_0x201c2e['HZEJH']='Stopping\x20percy';const _0x27333e=_0x201c2e;return logger[_0x46f0fa(0xc4)](_0x27333e[_0x46f0fa(0xcb)]),_0x319498[_0x46f0fa(0xf3)]();}),exports[a130_0x45190c(0xb8)]=_0x1731d1=>{const _0x5c5588=a130_0x45190c,_0x5f18d7={};_0x5f18d7[_0x5c5588(0xea)]=function(_0x3daa2c,_0x5186df){return _0x3daa2c<_0x5186df;};const _0x3c9d0c=_0x5f18d7,_0x20cd2b={};_0x20cd2b[_0x5c5588(0xbf)]=0x0,_0x20cd2b[_0x5c5588(0xc7)]=0x1,_0x20cd2b[_0x5c5588(0xd5)]=0x2,_0x20cd2b[_0x5c5588(0xcc)]=0x3;const _0x24e256=_0x20cd2b;return _0x1731d1['reduce']((_0x18f7e,_0x4361bf,_0xabbdfb)=>{const _0x38f834=_0x5c5588,_0x2de6dc=_0x1731d1[_0x18f7e];if(_0x4361bf[_0x38f834(0xe2)])return _0x18f7e;if(_0x2de6dc[_0x38f834(0xe2)])return _0xabbdfb;const _0x29ba4b=_0x4361bf['browser']?_0x4361bf[_0x38f834(0xce)]:_0x4361bf[_0x38f834(0xf2)];if(_0x29ba4b&&_0x3c9d0c['wTNIQ'](_0x24e256[_0x29ba4b[_0x38f834(0xb0)]()],_0x24e256[_0x29ba4b[_0x38f834(0xb0)]()]))return _0xabbdfb;return _0x18f7e;},0x0);},exports['percyAutoCapture']=PerformanceTester['measureWrapper'](PerformanceEvents[a130_0x45190c(0xd7)],async(_0x4478c1,_0x3293d1,_0xaa8c5)=>{const _0x1e6e1d=a130_0x45190c,_0x5a7885={};_0x5a7885['bfKcI']=_0x1e6e1d(0xc9);const _0x4c5c31=_0x5a7885,_0x251359=_0x4478c1[_0x1e6e1d(0xb2)];if(helper[_0x1e6e1d(0xe8)](_0x4478c1['browserstackSessionName'])){logger['debug'](_0x4c5c31[_0x1e6e1d(0xc6)]);return;}const _0x1add96=_0x251359[_0x1e6e1d(0xbd)](_0x4478c1[_0x1e6e1d(0xb3)],_0x3293d1);_0xaa8c5[_0x1e6e1d(0xc5)]?await PercySDK['screenshotApp'](_0x4478c1,_0x1add96):await PercySDK[_0x1e6e1d(0xc3)](_0x4478c1,_0x1add96),_0x251359[_0x1e6e1d(0xd9)](_0x4478c1[_0x1e6e1d(0xb3)],_0x3293d1);}),exports[a130_0x45190c(0xd2)]=(_0x4cf165,_0x4f87e0,_0x2c2cbb)=>{const _0x1d651c=a130_0x45190c,_0x3f652f={};_0x3f652f[_0x1d651c(0xec)]=_0x1d651c(0xc0),_0x3f652f['PdnTZ']=_0x1d651c(0xbe),_0x3f652f['UetQd']=function(_0x1edaa5,_0x52aa71){return _0x1edaa5!==_0x52aa71;},_0x3f652f[_0x1d651c(0xf7)]=_0x1d651c(0xdd);const _0x34172e=_0x3f652f;if(!helper['nestedKeyValue'](_0x2c2cbb,[_0x34172e[_0x1d651c(0xec)],_0x34172e[_0x1d651c(0xf4)]]))return;if(_0x2c2cbb[_0x1d651c(0xc0)][_0x1d651c(0xbe)]&&_0x2c2cbb['browserStackPercyOptions']['percyCaptureMode']&&_0x34172e['UetQd'](_0x2c2cbb[_0x1d651c(0xc0)][_0x1d651c(0xe9)],_0x34172e[_0x1d651c(0xf7)])&&!_0x4cf165[_0x1d651c(0xb2)]){global['browserstackSessionName']&&(_0x4cf165[_0x1d651c(0xb3)]=global[_0x1d651c(0xb3)]),_0x4cf165[_0x1d651c(0xb2)]=new PercyCaptureMap();const _0x40d0f2=PercyCaptureModes[_0x2c2cbb[_0x1d651c(0xc0)][_0x1d651c(0xe9)]];_0x40d0f2[_0x1d651c(0xf6)]&&_0x40d0f2[_0x1d651c(0xf6)][_0x1d651c(0xd3)](_0x1d44c8=>this[_0x1d651c(0xe6)](_0x4cf165,_0x1d44c8,_0x2c2cbb)),_0x40d0f2[_0x1d651c(0xd0)]&&_0x40d0f2[_0x1d651c(0xd0)][_0x1d651c(0xd3)](_0x95f0be=>{const _0x222728=_0x1d651c;if(_0x4f87e0['prototype']['patch'+_0x95f0be])return;_0x4f87e0[_0x222728(0xfb)][_0x222728(0xdb)+_0x95f0be]=!![];const _0xafb653=_0x4f87e0[_0x222728(0xfb)][_0x95f0be];_0x4f87e0[_0x222728(0xfb)][_0x95f0be]=async function(){const _0x4d3b92=_0x222728;let _0x541b76=_0xafb653[_0x4d3b92(0xfa)](this,arguments);_0x541b76&&_0x541b76['then']&&(_0x541b76=await _0x541b76);try{const _0x1598f6=this[_0x4d3b92(0xd6)]();await exports[_0x4d3b92(0xe7)](_0x1598f6,_0x95f0be,_0x2c2cbb);}catch(_0x33a5fd){logger[_0x4d3b92(0xf0)]('Error\x20patching\x20'+_0x95f0be+'\x20for\x20percy\x20'+_0x33a5fd);}return _0x541b76;};});}},exports['overrideXforPercy']=function(_0x41a083,_0x5e4461,_0x5e5be7){const _0x45be23=a130_0x45190c,_0x555e8f={};_0x555e8f[_0x45be23(0xf8)]=function(_0x32ed1e,_0x371752){return _0x32ed1e+_0x371752;},_0x555e8f[_0x45be23(0xba)]=_0x45be23(0xdb),_0x555e8f[_0x45be23(0xd8)]=_0x45be23(0xcd);const _0x540fdc=_0x555e8f,_0x20cceb=_0x540fdc[_0x45be23(0xf8)](_0x540fdc[_0x45be23(0xba)],_0x5e4461),_0x1a7173=_0x540fdc[_0x45be23(0xf8)](_0x540fdc[_0x45be23(0xd8)],_0x5e4461),_0x14e6bd=this;if(_0x41a083[_0x20cceb]||!_0x41a083[_0x5e4461])return;_0x41a083[_0x20cceb]=!![],_0x41a083[_0x1a7173]=_0x41a083[_0x5e4461],_0x41a083[_0x5e4461]=async()=>{const _0x57f40a=_0x45be23;try{await _0x14e6bd[_0x57f40a(0xe7)](_0x41a083,_0x5e4461,_0x5e5be7);}catch(_0x2d87b){logger['error'](_0x57f40a(0xf1)+_0x5e4461+_0x57f40a(0xb1)+_0x2d87b);}return await _0x41a083[_0x1a7173][_0x57f40a(0xfa)](_0x41a083,arguments);};},exports[a130_0x45190c(0xe5)]=_0x54128a=>{const _0x1f0c1c=a130_0x45190c,_0xe908a0={};_0xe908a0[_0x1f0c1c(0xca)]=_0x1f0c1c(0xdc);const _0x5a869e=_0xe908a0,_0x3a946d={};_0x3a946d[_0x1f0c1c(0xbe)]=_0x54128a[_0x1f0c1c(0xbe)],_0x3a946d['percyCaptureMode']=_0x54128a[_0x1f0c1c(0xe9)]||_0x5a869e[_0x1f0c1c(0xca)];const _0x861c25=_0x3a946d;_0x54128a['percy']&&(_0x861c25[_0x1f0c1c(0xf5)]=exports['getBestPlatformForPercySnapshot'](_0x54128a[_0x1f0c1c(0xee)]));;return _0x861c25;};