browserstack-node-sdk 1.58.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/newman/command.js +1 -1
  83. package/src/bin/newman/helper.js +1 -1
  84. package/src/bin/newman/reporter/index.js +1 -1
  85. package/src/bin/newman/scriptRunner.js +1 -1
  86. package/src/bin/nightwatch/command.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/patches.js +1 -1
  98. package/src/bin/puppeteer/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/test.setup.js +1 -1
  100. package/src/bin/runner.js +1 -1
  101. package/src/bin/setup.js +1 -1
  102. package/src/bin/test-runner/index.js +1 -1
  103. package/src/bin/test-runner/runTest.js +1 -1
  104. package/src/bin/test-runner/testWorker.js +1 -1
  105. package/src/bin/testcafe/a11y-runner.js +1 -1
  106. package/src/bin/testcafe/command.js +1 -1
  107. package/src/bin/testcafe/reporter/index.js +1 -1
  108. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  109. package/src/bin/testcafe/session-registry.js +1 -1
  110. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  111. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  112. package/src/bin/testcafe/w3c-driver.js +1 -1
  113. package/src/bin/utils/apiUtilityMethods.js +1 -1
  114. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  115. package/src/bin/utils/constants.js +1 -1
  116. package/src/bin/utils/log4jsAppender.js +1 -1
  117. package/src/bin/utils/logPatcher.js +1 -1
  118. package/src/bin/utils/logReportingAPI.js +1 -1
  119. package/src/bin/utils/playwright-patcher.js +1 -1
  120. package/src/bin/utils/puppeteer-patcher.js +1 -1
  121. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  122. package/src/bin/utils/sharedUtils.js +1 -1
  123. package/src/bin/v2/TestInfo.js +1 -1
  124. package/src/bin/v2/browserstackCLI.js +1 -1
  125. package/src/bin/v2/cliUtils.js +1 -1
  126. package/src/bin/v2/customTagManager.js +1 -1
  127. package/src/bin/v2/eventDispatcher.js +1 -1
  128. package/src/bin/v2/framework/automationFramework.js +1 -1
  129. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  130. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  132. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  133. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  134. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  136. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/testFramework.js +1 -1
  138. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  140. package/src/bin/v2/grpcClient.js +1 -1
  141. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  142. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/trackedContext.js +1 -1
  144. package/src/bin/v2/instances/trackedInstance.js +1 -1
  145. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  146. package/src/bin/v2/modules/baseModule.js +1 -1
  147. package/src/bin/v2/modules/loadTestModule.js +1 -1
  148. package/src/bin/v2/modules/observabilityModule.js +1 -1
  149. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  150. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  151. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testhubModule.js +1 -1
  153. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  154. package/src/bin/v2/state/hookState.js +1 -1
  155. package/src/bin/v2/state/testFrameworkState.js +1 -1
  156. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  157. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  158. package/src/bin/v2/utils/jest-utils.js +1 -1
  159. package/src/bin/vanilla-js/command.js +1 -1
  160. package/src/browserStackSdk.js +1 -1
  161. package/src/helpers/BrowserStackSetup.js +1 -1
  162. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  163. package/src/helpers/accessibility-automation/constants.js +1 -1
  164. package/src/helpers/accessibility-automation/helper.js +1 -1
  165. package/src/helpers/accessibility-automation/scripts.js +1 -1
  166. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  167. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  168. package/src/helpers/ats/constants.js +1 -1
  169. package/src/helpers/ats/helper.js +1 -1
  170. package/src/helpers/caCertHelper.js +1 -1
  171. package/src/helpers/capsMapping.js +1 -1
  172. package/src/helpers/central-scanner/constants.js +1 -1
  173. package/src/helpers/central-scanner/helpers.js +1 -1
  174. package/src/helpers/classLogger.js +1 -1
  175. package/src/helpers/driverInitErrorReporter.js +1 -1
  176. package/src/helpers/globals.js +1 -1
  177. package/src/helpers/helper.js +1 -1
  178. package/src/helpers/logger.js +1 -1
  179. package/src/helpers/metadata.js +1 -1
  180. package/src/helpers/patchHelper.js +1 -1
  181. package/src/helpers/patchHelpers.js +1 -1
  182. package/src/helpers/percy/Percy.js +1 -1
  183. package/src/helpers/percy/PercyBinary.js +1 -1
  184. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  185. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  186. package/src/helpers/percy/PercySDK.js +1 -1
  187. package/src/helpers/percy/index.js +1 -1
  188. package/src/helpers/percy/utils.js +1 -1
  189. package/src/helpers/performance/constants.js +1 -1
  190. package/src/helpers/performance/performance-tester.js +1 -1
  191. package/src/helpers/playwright-helper.js +1 -1
  192. package/src/helpers/processHelper.js +1 -1
  193. package/src/helpers/puppeteer-helper.js +1 -1
  194. package/src/helpers/request-spy.js +1 -1
  195. package/src/helpers/setKeepAlive.js +1 -1
  196. package/src/helpers/stackFrameUtils.js +1 -1
  197. package/src/helpers/test-observability/constants.js +1 -1
  198. package/src/helpers/test-observability/error-handler.js +1 -1
  199. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  200. package/src/helpers/test-observability/sessionHandler.js +1 -1
  201. package/src/helpers/test-observability/utils.js +1 -1
  202. package/src/helpers/test-orchestration/constants.js +1 -1
  203. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  204. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  205. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  206. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  207. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  208. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  209. package/src/helpers/testhub/constants.js +1 -1
  210. package/src/helpers/testhub/testhubHandler.js +1 -1
  211. package/src/helpers/testhub/utils.js +1 -1
  212. package/src/helpers/timeoutPromise.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a137_0x10890a=a137_0x2075;(function(_0xebf990,_0x486921){const _0x305546=a137_0x2075,_0x2b4c7f=_0xebf990();while(!![]){try{const _0x25bdc2=-parseInt(_0x305546(0xfd))/0x1*(parseInt(_0x305546(0x110))/0x2)+-parseInt(_0x305546(0xed))/0x3+-parseInt(_0x305546(0x101))/0x4*(-parseInt(_0x305546(0xec))/0x5)+-parseInt(_0x305546(0xcc))/0x6+-parseInt(_0x305546(0xf8))/0x7*(parseInt(_0x305546(0x116))/0x8)+parseInt(_0x305546(0x108))/0x9*(-parseInt(_0x305546(0x107))/0xa)+parseInt(_0x305546(0x10d))/0xb;if(_0x25bdc2===_0x486921)break;else _0x2b4c7f['push'](_0x2b4c7f['shift']());}catch(_0x2ee951){_0x2b4c7f['push'](_0x2b4c7f['shift']());}}}(a137_0x43ff,0xc4156));const winston=require(a137_0x10890a(0xe0)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a137_0x10890a(0x114)),tempLogDir='log';let redactRegex=null,lastConfigHash='';const logFormat=winston[a137_0x10890a(0xf1)](_0x52edfb=>{const _0x2b5b7b=a137_0x10890a,_0x5228c7={};_0x5228c7[_0x2b5b7b(0xf2)]=function(_0x5ee52c,_0x18d9b2){return _0x5ee52c!==_0x18d9b2;},_0x5228c7[_0x2b5b7b(0xcd)]=_0x2b5b7b(0xe6),_0x5228c7[_0x2b5b7b(0xf9)]=function(_0x161052,_0x32027c){return _0x161052+_0x32027c;},_0x5228c7[_0x2b5b7b(0x104)]=function(_0x5cd235,_0xdb6162){return _0x5cd235!==_0xdb6162;},_0x5228c7[_0x2b5b7b(0xe2)]=function(_0x37c3e0,_0xac051d){return _0x37c3e0>_0xac051d;},_0x5228c7[_0x2b5b7b(0xda)]=_0x2b5b7b(0xcf);const _0x24beb9=_0x5228c7;_0x24beb9[_0x2b5b7b(0xf2)](typeof _0x52edfb[_0x2b5b7b(0xe4)],_0x24beb9[_0x2b5b7b(0xcd)])&&(_0x52edfb[_0x2b5b7b(0xe4)]=JSON[_0x2b5b7b(0xdf)](_0x52edfb[_0x2b5b7b(0xe4)]));const _0x222b51=global[_0x2b5b7b(0xfc)]&&global[_0x2b5b7b(0xfc)]['userName']||'',_0xee2832=global[_0x2b5b7b(0xfc)]&&global[_0x2b5b7b(0xfc)][_0x2b5b7b(0x10f)]||'',_0x48c7a9=_0x24beb9[_0x2b5b7b(0xf9)](_0x24beb9[_0x2b5b7b(0xf9)](_0x222b51,'|'),_0xee2832);if(_0x24beb9[_0x2b5b7b(0x104)](_0x48c7a9,lastConfigHash)){lastConfigHash=_0x48c7a9;const _0x3b6685=[_0x222b51,_0xee2832]['filter'](Boolean);if(_0x24beb9[_0x2b5b7b(0xe2)](_0x3b6685[_0x2b5b7b(0x106)],0x0)){const _0x15d391=_0x3b6685[_0x2b5b7b(0x10c)](_0x3a743f=>_0x3a743f[_0x2b5b7b(0xeb)](/[.*+?^${}()|[\]\\]/g,'\x5c$&'))[_0x2b5b7b(0x109)]('|');redactRegex=new RegExp(_0x15d391,'g');}else redactRegex=null;}return redactRegex&&(_0x52edfb[_0x2b5b7b(0xe4)]=_0x52edfb[_0x2b5b7b(0xe4)]['replace'](redactRegex,_0x24beb9['aUTzM'])),_0x52edfb;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0x28081f=>{const _0x353137=a137_0x10890a,_0x15203e={};_0x15203e['HwHAm']=function(_0x103cb9,_0x553d71){return _0x103cb9!==_0x553d71;},_0x15203e['GIpcC']='object',_0x15203e['VopAi']=_0x353137(0xcf),_0x15203e['wATaT']=_0x353137(0xf0);const _0x2ee5e3=_0x15203e;try{if(!_0x28081f||_0x2ee5e3['HwHAm'](typeof _0x28081f,_0x2ee5e3['GIpcC']))return _0x28081f;const _0x5b3bdd={};for(const _0x22ce65 of Object[_0x353137(0xd6)](_0x28081f)){_0x5b3bdd[_0x22ce65]=SENSITIVE_HEADER_REGEX[_0x353137(0xe3)](_0x22ce65)?_0x2ee5e3[_0x353137(0xd4)]:_0x28081f[_0x22ce65];}return _0x5b3bdd;}catch{return _0x2ee5e3['wATaT'];}},fetchLogDir=()=>{const _0x2a7b31=a137_0x10890a;if(process['env']['BROWSERSTACK_INTERNAL_LOG_DIR'])return process[_0x2a7b31(0xfe)]['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0x2a7b31(0x117)](tempLogDir)&&fs['mkdirSync'](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x3fdfa4=a137_0x10890a,_0x5aebbe={};_0x5aebbe[_0x3fdfa4(0x111)]='info';const _0x1808f5=_0x5aebbe,_0x56939c=process[_0x3fdfa4(0xfe)][_0x3fdfa4(0xea)],_0x1093cb=Object['keys'](winston[_0x3fdfa4(0xfc)][_0x3fdfa4(0xd8)][_0x3fdfa4(0xd0)]);if(_0x56939c&&_0x1093cb['includes'](_0x56939c[_0x3fdfa4(0xce)]()))return _0x56939c[_0x3fdfa4(0xce)]();return _0x1808f5[_0x3fdfa4(0x111)];},initialLogLevel=getInitialLogLevel(),a137_0x5b2065={};a137_0x5b2065['name']='console.info',a137_0x5b2065['level']=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a137_0x10890a(0xe7))](a137_0x5b2065),'loggerFile':new winston[(a137_0x10890a(0xf4))][(a137_0x10890a(0xee))]({'filename':path['join'](logDir,a137_0x10890a(0x105)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a137_0x10890a(0xf4))][(a137_0x10890a(0xee))]({'filename':path[a137_0x10890a(0x109)](logDir,a137_0x10890a(0xef)),'level':a137_0x10890a(0xc6)}),'debugCliLoggerFile':new winston[(a137_0x10890a(0xf4))][(a137_0x10890a(0xee))]({'filename':path['join'](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a137_0x10890a(0xc6)}),'buildLinkTransport':new winston[(a137_0x10890a(0xf4))]['File']({'filename':path[a137_0x10890a(0x109)](logDir,a137_0x10890a(0x105)),'level':a137_0x10890a(0xc6)})},automationTransports={};process[a137_0x10890a(0xfe)][a137_0x10890a(0xdd)]===a137_0x10890a(0xd1)&&(automationTransports[a137_0x10890a(0xde)]=new winston['transports'][(a137_0x10890a(0xee))]({'filename':path[a137_0x10890a(0x109)](logDir,a137_0x10890a(0xd9)),'level':'silly'}));function a137_0x2075(_0x3d9cbc,_0x497bc4){const _0x43ffc5=a137_0x43ff();return a137_0x2075=function(_0x207531,_0x3635dc){_0x207531=_0x207531-0xc6;let _0x429207=_0x43ffc5[_0x207531];return _0x429207;},a137_0x2075(_0x3d9cbc,_0x497bc4);}transports['loggerConsole']['on'](a137_0x10890a(0xf6),_0x2dc2c5=>{const _0x48b781=a137_0x10890a,_0x5a9be1={};_0x5a9be1[_0x48b781(0x10a)]=function(_0x2c1b91,_0x4f9479){return _0x2c1b91===_0x4f9479;},_0x5a9be1[_0x48b781(0x113)]=_0x48b781(0xfa),_0x5a9be1[_0x48b781(0xd3)]=_0x48b781(0xff);const _0x17cd98=_0x5a9be1;if(_0x17cd98[_0x48b781(0x10a)](_0x2dc2c5[_0x48b781(0xcb)],_0x17cd98['hWUbG'])){console['log'](_0x17cd98[_0x48b781(0xd3)],_0x2dc2c5['message']);return;}throw _0x2dc2c5;});const a137_0x3af6f8={};a137_0x3af6f8[a137_0x10890a(0xf1)]=a137_0x10890a(0x115);const a137_0x42602a={};a137_0x42602a[a137_0x10890a(0xe8)]=!![];const winstonLoggerParams={'format':winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe5)](winston['format']['timestamp'](a137_0x3af6f8),winston['format']['colorize'](a137_0x42602a),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe1)](_0x41b121=>_0x41b121[a137_0x10890a(0xfb)]+'\x20-\x20'+_0x41b121[a137_0x10890a(0xe8)]+':\x20'+_0x41b121[a137_0x10890a(0xe4)])),'transports':[transports[a137_0x10890a(0x10e)]]},a137_0x49d5cc={};a137_0x49d5cc[a137_0x10890a(0xf1)]=a137_0x10890a(0x115);function a137_0x43ff(){const _0x5107d3=['env','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','debugLoggerFile','296rLLCWy','fileLogger','buildLinkTransport','QPdUT','/usage.log','length','36790ZBQJPl','2232YwAAuM','join','nckoD','maskHeaders','map','18459166HRBibM','loggerConsole','accessKey','8ZyAREl','lnIjs','warn','hWUbG','../bin/utils/constants','YYYY-MM-DD\x20HH:mm:ss','8MJyimu','existsSync','silly','\x20-\x20','add','getLogDir','http','code','1235724mvDuWN','OdEVi','toLowerCase','[REDACTED]','levels','true','winstonLogger','bsiUY','VopAi','remove','keys','loggerFile','npm','automation.log','aUTzM','colorize','initialize','BROWSERSTACK_AUTOMATION_LOGS','automationLoggerFile','stringify','winston','printf','dNoXh','test','message','combine','string','Console','level','info','BROWSERSTACK_LOG_LEVEL','replace','79230kqrdpc','1576884HkcCuc','File','/usage-debug.log','[REDACTED\x20HEADERS]','format','CEbNa','createLogger','transports','logDir','error','debug','935690WycYso','tuhTi','EPIPE','timestamp','config','67477lLggOF'];a137_0x43ff=function(){return _0x5107d3;};return a137_0x43ff();}const a137_0x49caee={};a137_0x49caee['level']=!![];const winstonFileLoggerParams={'format':winston[a137_0x10890a(0xf1)]['combine'](winston['format'][a137_0x10890a(0xfb)](a137_0x49d5cc),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xdb)](a137_0x49caee),winston['format'][a137_0x10890a(0xe1)](_0x2fbbe9=>_0x2fbbe9[a137_0x10890a(0xe8)]+':\x20'+_0x2fbbe9[a137_0x10890a(0xe4)])),'transports':[]},a137_0x1936df={};a137_0x1936df[a137_0x10890a(0xf1)]=a137_0x10890a(0x115);const a137_0x170c42={};a137_0x170c42[a137_0x10890a(0xe8)]=!![];const a137_0x4a289d={};a137_0x4a289d[a137_0x10890a(0xe8)]=a137_0x10890a(0xc6);const BuildLoggerParams={'format':winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe5)](winston['format'][a137_0x10890a(0xfb)](a137_0x1936df),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xdb)](a137_0x170c42),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe1)](_0x5b5c35=>_0x5b5c35[a137_0x10890a(0xfb)]+a137_0x10890a(0xc7)+_0x5b5c35['level']+':\x20'+_0x5b5c35[a137_0x10890a(0xe4)])),'transports':[transports[a137_0x10890a(0x103)],new winston[(a137_0x10890a(0xf4))]['Console'](a137_0x4a289d)]},a137_0x3231cd={};a137_0x3231cd[a137_0x10890a(0xca)]=()=>{},a137_0x3231cd[a137_0x10890a(0xe9)]=()=>{},a137_0x3231cd[a137_0x10890a(0x112)]=()=>{},a137_0x3231cd[a137_0x10890a(0xf6)]=()=>{},a137_0x3231cd[a137_0x10890a(0xf7)]=()=>{},a137_0x3231cd[a137_0x10890a(0xc6)]=()=>{},exports['automationLogger']=process[a137_0x10890a(0xfe)][a137_0x10890a(0xdd)]===a137_0x10890a(0xd1)?winston[a137_0x10890a(0xf3)]({'format':winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe5)](winston[a137_0x10890a(0xf1)]['uncolorize'](),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xfb)](),logFormat(),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe1)](_0x584dac=>_0x584dac[a137_0x10890a(0xe8)]+':\x20'+_0x584dac[a137_0x10890a(0xe4)])),'transports':[automationTransports[a137_0x10890a(0xde)]]}):a137_0x3231cd;const initialize=()=>{const _0x18992a=a137_0x10890a,_0xb47a54={};_0xb47a54['kIQGt']=_0x18992a(0xc6);const _0x46010a=_0xb47a54,_0x13ddcd=transports['loggerConsole'][_0x18992a(0xe8)]||initialLogLevel;transports['loggerFile']&&(exports[_0x18992a(0xd2)][_0x18992a(0xd5)](transports[_0x18992a(0xd7)]),exports[_0x18992a(0x102)]['remove'](transports['loggerFile'])),transports['debugLoggerFile']&&(exports[_0x18992a(0xd2)][_0x18992a(0xd5)](transports[_0x18992a(0x100)]),exports['fileLogger'][_0x18992a(0xd5)](transports['debugLoggerFile'])),transports[_0x18992a(0xd7)]=new winston[(_0x18992a(0xf4))][(_0x18992a(0xee))]({'filename':path[_0x18992a(0x109)](exports[_0x18992a(0xf5)],LOG_FILE_NAME),'level':_0x13ddcd}),transports['debugLoggerFile']=new winston[(_0x18992a(0xf4))][(_0x18992a(0xee))]({'filename':path[_0x18992a(0x109)](exports[_0x18992a(0xf5)],DEBUG_LOG_FILE_NAME),'level':_0x46010a['kIQGt']}),transports['debugCliLoggerFile']=new winston[(_0x18992a(0xf4))][(_0x18992a(0xee))]({'filename':path['join'](exports[_0x18992a(0xf5)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x46010a['kIQGt']}),exports[_0x18992a(0xd2)][_0x18992a(0xc8)](transports[_0x18992a(0xd7)]),exports[_0x18992a(0xd2)][_0x18992a(0xc8)](transports[_0x18992a(0x100)]),exports[_0x18992a(0x102)]['add'](transports['loggerFile']),exports[_0x18992a(0x102)]['add'](transports[_0x18992a(0x100)]);};exports[a137_0x10890a(0xd2)]=new winston[(a137_0x10890a(0xf3))](winstonLoggerParams),exports['fileLogger']=new winston[(a137_0x10890a(0xf3))](winstonFileLoggerParams),exports['buildLogger']=new winston[(a137_0x10890a(0xf3))](BuildLoggerParams),exports[a137_0x10890a(0xf5)]=logDir,exports[a137_0x10890a(0xc9)]=()=>{const _0x49e2a5=a137_0x10890a;return exports[_0x49e2a5(0xf5)];},exports[a137_0x10890a(0xf4)]=transports,exports[a137_0x10890a(0xdc)]=initialize,exports[a137_0x10890a(0x10b)]=maskHeaders;logDir&&initialize();
1
+ const a137_0x377720=a137_0x32a3;(function(_0x40470c,_0x2ea4f1){const _0x152e3d=a137_0x32a3,_0x42637e=_0x40470c();while(!![]){try{const _0x1d6c68=-parseInt(_0x152e3d(0x1e9))/0x1*(parseInt(_0x152e3d(0x1b0))/0x2)+parseInt(_0x152e3d(0x1c2))/0x3+-parseInt(_0x152e3d(0x1b1))/0x4*(parseInt(_0x152e3d(0x1bb))/0x5)+-parseInt(_0x152e3d(0x1b2))/0x6+parseInt(_0x152e3d(0x1b9))/0x7*(-parseInt(_0x152e3d(0x1cb))/0x8)+-parseInt(_0x152e3d(0x1c9))/0x9*(parseInt(_0x152e3d(0x1a9))/0xa)+parseInt(_0x152e3d(0x1f1))/0xb;if(_0x1d6c68===_0x2ea4f1)break;else _0x42637e['push'](_0x42637e['shift']());}catch(_0x53e750){_0x42637e['push'](_0x42637e['shift']());}}}(a137_0x5a5b,0xc01f5));function a137_0x5a5b(){const _0x443858=['AIVvd','keys','/usage-debug.log','LdcNQ','cTrqs','[REDACTED]','stringify','YQimY','automationLogger','\x20-\x20','npm','24591xjmkzN','\x5c$&','true','loggerConsole','test','QFvWk','../bin/utils/constants','buildLogger','24680392rJfrbT','path','add','fileLogger','File','printf','debugLoggerFile','filter','BROWSERSTACK_AUTOMATION_LOGS','dfeJt','/usage.log','object','uskjT','config','Console','initialize','EPIPE','LyNWe','buildLinkTransport','77770vFIzqB','format','error','includes','silly','createLogger','debug','66YYuPak','619924tcacnz','163170zGuMaQ','existsSync','sAgcx','winston','level','name','transports','2877rjjABT','tlqaZ','5TCgPdV','[REDACTED\x20HEADERS]','remove','timestamp','uncolorize','BROWSERSTACK_INTERNAL_LOG_DIR','info','3401526QUOGpT','BROWSERSTACK_LOG_LEVEL','userName','replace','combine','log','toLowerCase','531xEgESl','mkdirSync','22152xZpTwe','maskHeaders','length','YVvYX','message','thTAx','join','colorize','levels','http','winstonLogger','Cvkxd','loggerFile','eUblw','env','logDir','YYYY-MM-DD\x20HH:mm:ss','automationLoggerFile','debugCliLoggerFile'];a137_0x5a5b=function(){return _0x443858;};return a137_0x5a5b();}const winston=require(a137_0x377720(0x1b5)),path=require(a137_0x377720(0x1f2)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a137_0x377720(0x1ef)),tempLogDir=a137_0x377720(0x1c7);let redactRegex=null,lastConfigHash='';const logFormat=winston[a137_0x377720(0x1aa)](_0x11a1c8=>{const _0x3dd351=a137_0x377720,_0x3361f1={};_0x3361f1['Cvkxd']=function(_0xa58c7f,_0x48a3ad){return _0xa58c7f!==_0x48a3ad;},_0x3361f1['AIVvd']='string',_0x3361f1[_0x3dd351(0x1e1)]=function(_0x28b77e,_0xdd06ba){return _0x28b77e+_0xdd06ba;},_0x3361f1[_0x3dd351(0x1d8)]=function(_0x4a553b,_0x366bad){return _0x4a553b!==_0x366bad;},_0x3361f1[_0x3dd351(0x1e2)]=function(_0x3b5973,_0x4d15e0){return _0x3b5973>_0x4d15e0;},_0x3361f1[_0x3dd351(0x1e5)]=_0x3dd351(0x1e3);const _0x567500=_0x3361f1;_0x567500[_0x3dd351(0x1d6)](typeof _0x11a1c8['message'],_0x567500[_0x3dd351(0x1de)])&&(_0x11a1c8[_0x3dd351(0x1cf)]=JSON[_0x3dd351(0x1e4)](_0x11a1c8[_0x3dd351(0x1cf)]));const _0x30fda6=global['config']&&global['config'][_0x3dd351(0x1c4)]||'',_0x951b6f=global[_0x3dd351(0x1fe)]&&global[_0x3dd351(0x1fe)]['accessKey']||'',_0x521305=_0x567500[_0x3dd351(0x1e1)](_0x567500[_0x3dd351(0x1e1)](_0x30fda6,'|'),_0x951b6f);if(_0x567500[_0x3dd351(0x1d8)](_0x521305,lastConfigHash)){lastConfigHash=_0x521305;const _0x169a0a=[_0x30fda6,_0x951b6f][_0x3dd351(0x1f8)](Boolean);if(_0x567500[_0x3dd351(0x1e2)](_0x169a0a[_0x3dd351(0x1cd)],0x0)){const _0x547c1f=_0x169a0a['map'](_0x30f6d4=>_0x30f6d4[_0x3dd351(0x1c5)](/[.*+?^${}()|[\]\\]/g,_0x3dd351(0x1ea)))['join']('|');redactRegex=new RegExp(_0x547c1f,'g');}else redactRegex=null;}return redactRegex&&(_0x11a1c8[_0x3dd351(0x1cf)]=_0x11a1c8[_0x3dd351(0x1cf)][_0x3dd351(0x1c5)](redactRegex,_0x567500['YQimY'])),_0x11a1c8;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0x17c2ab=>{const _0x5ae337=a137_0x377720,_0x5e7b0e={};_0x5e7b0e['LyNWe']=function(_0x18a4c6,_0x474431){return _0x18a4c6!==_0x474431;},_0x5e7b0e['GHxBV']=_0x5ae337(0x1fc),_0x5e7b0e[_0x5ae337(0x1ee)]='[REDACTED]',_0x5e7b0e[_0x5ae337(0x1d0)]=_0x5ae337(0x1bc);const _0x302713=_0x5e7b0e;try{if(!_0x17c2ab||_0x302713[_0x5ae337(0x1a7)](typeof _0x17c2ab,_0x302713['GHxBV']))return _0x17c2ab;const _0x126c17={};for(const _0x5ee7ff of Object[_0x5ae337(0x1df)](_0x17c2ab)){_0x126c17[_0x5ee7ff]=SENSITIVE_HEADER_REGEX[_0x5ae337(0x1ed)](_0x5ee7ff)?_0x302713['QFvWk']:_0x17c2ab[_0x5ee7ff];}return _0x126c17;}catch{return _0x302713[_0x5ae337(0x1d0)];}},fetchLogDir=()=>{const _0x321082=a137_0x377720;if(process['env'][_0x321082(0x1c0)])return process[_0x321082(0x1d9)][_0x321082(0x1c0)];else!fs[_0x321082(0x1b3)](tempLogDir)&&fs[_0x321082(0x1ca)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x241c07=a137_0x377720,_0x2aa51e={};_0x2aa51e[_0x241c07(0x1fa)]=_0x241c07(0x1c1);const _0x3326a6=_0x2aa51e,_0x4a2364=process[_0x241c07(0x1d9)][_0x241c07(0x1c3)],_0x270d39=Object[_0x241c07(0x1df)](winston[_0x241c07(0x1fe)][_0x241c07(0x1e8)][_0x241c07(0x1d3)]);if(_0x4a2364&&_0x270d39[_0x241c07(0x1ac)](_0x4a2364[_0x241c07(0x1c8)]()))return _0x4a2364[_0x241c07(0x1c8)]();return _0x3326a6[_0x241c07(0x1fa)];},initialLogLevel=getInitialLogLevel(),a137_0x53d327={};a137_0x53d327[a137_0x377720(0x1b7)]='console.info',a137_0x53d327[a137_0x377720(0x1b6)]=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a137_0x377720(0x1ff))](a137_0x53d327),'loggerFile':new winston[(a137_0x377720(0x1b8))][(a137_0x377720(0x1f5))]({'filename':path[a137_0x377720(0x1d1)](logDir,a137_0x377720(0x1fb)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a137_0x377720(0x1b8))][(a137_0x377720(0x1f5))]({'filename':path[a137_0x377720(0x1d1)](logDir,a137_0x377720(0x1e0)),'level':a137_0x377720(0x1ad)}),'debugCliLoggerFile':new winston[(a137_0x377720(0x1b8))][(a137_0x377720(0x1f5))]({'filename':path[a137_0x377720(0x1d1)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a137_0x377720(0x1ad)}),'buildLinkTransport':new winston[(a137_0x377720(0x1b8))][(a137_0x377720(0x1f5))]({'filename':path[a137_0x377720(0x1d1)](logDir,a137_0x377720(0x1fb)),'level':a137_0x377720(0x1ad)})},automationTransports={};process[a137_0x377720(0x1d9)][a137_0x377720(0x1f9)]===a137_0x377720(0x1eb)&&(automationTransports['automationLoggerFile']=new winston[(a137_0x377720(0x1b8))][(a137_0x377720(0x1f5))]({'filename':path['join'](logDir,'automation.log'),'level':a137_0x377720(0x1ad)}));transports[a137_0x377720(0x1ec)]['on'](a137_0x377720(0x1ab),_0x46c2c0=>{const _0xf416d8=a137_0x377720,_0x309dda={};_0x309dda[_0xf416d8(0x1fd)]=function(_0x3b3971,_0x33713c){return _0x3b3971===_0x33713c;},_0x309dda[_0xf416d8(0x1ba)]=_0xf416d8(0x1a6),_0x309dda[_0xf416d8(0x1b4)]='EPIPE\x20error\x20occurred\x20in\x20loggerConsole:';const _0x56d0ce=_0x309dda;if(_0x56d0ce['uskjT'](_0x46c2c0['code'],_0x56d0ce[_0xf416d8(0x1ba)])){console[_0xf416d8(0x1c7)](_0x56d0ce[_0xf416d8(0x1b4)],_0x46c2c0[_0xf416d8(0x1cf)]);return;}throw _0x46c2c0;});const a137_0x3f11f1={};a137_0x3f11f1[a137_0x377720(0x1aa)]=a137_0x377720(0x1db);const a137_0xb35f44={};a137_0xb35f44[a137_0x377720(0x1b6)]=!![];const winstonLoggerParams={'format':winston[a137_0x377720(0x1aa)][a137_0x377720(0x1c6)](winston[a137_0x377720(0x1aa)][a137_0x377720(0x1be)](a137_0x3f11f1),winston[a137_0x377720(0x1aa)]['colorize'](a137_0xb35f44),winston[a137_0x377720(0x1aa)]['printf'](_0x578b35=>_0x578b35[a137_0x377720(0x1be)]+a137_0x377720(0x1e7)+_0x578b35['level']+':\x20'+_0x578b35[a137_0x377720(0x1cf)])),'transports':[transports[a137_0x377720(0x1ec)]]},a137_0xdc90bf={};a137_0xdc90bf['format']=a137_0x377720(0x1db);const a137_0x485e0c={};a137_0x485e0c[a137_0x377720(0x1b6)]=!![];const winstonFileLoggerParams={'format':winston['format'][a137_0x377720(0x1c6)](winston[a137_0x377720(0x1aa)][a137_0x377720(0x1be)](a137_0xdc90bf),winston['format'][a137_0x377720(0x1d2)](a137_0x485e0c),winston['format'][a137_0x377720(0x1f6)](_0x777755=>_0x777755['level']+':\x20'+_0x777755[a137_0x377720(0x1cf)])),'transports':[]},a137_0x3e4d82={};a137_0x3e4d82[a137_0x377720(0x1aa)]=a137_0x377720(0x1db);const a137_0x5ec079={};a137_0x5ec079[a137_0x377720(0x1b6)]=!![];const a137_0x5ec74c={};a137_0x5ec74c['level']='silly';function a137_0x32a3(_0x2ca2a6,_0x45a8b9){const _0x5a5bab=a137_0x5a5b();return a137_0x32a3=function(_0x32a3c7,_0x258e07){_0x32a3c7=_0x32a3c7-0x1a6;let _0x47337f=_0x5a5bab[_0x32a3c7];return _0x47337f;},a137_0x32a3(_0x2ca2a6,_0x45a8b9);}const BuildLoggerParams={'format':winston['format']['combine'](winston['format']['timestamp'](a137_0x3e4d82),winston[a137_0x377720(0x1aa)][a137_0x377720(0x1d2)](a137_0x5ec079),winston[a137_0x377720(0x1aa)]['printf'](_0x2802ac=>_0x2802ac['timestamp']+a137_0x377720(0x1e7)+_0x2802ac['level']+':\x20'+_0x2802ac['message'])),'transports':[transports[a137_0x377720(0x1a8)],new winston[(a137_0x377720(0x1b8))][(a137_0x377720(0x1ff))](a137_0x5ec74c)]},a137_0x4bcb32={};a137_0x4bcb32[a137_0x377720(0x1d4)]=()=>{},a137_0x4bcb32[a137_0x377720(0x1c1)]=()=>{},a137_0x4bcb32['warn']=()=>{},a137_0x4bcb32['error']=()=>{},a137_0x4bcb32[a137_0x377720(0x1af)]=()=>{},a137_0x4bcb32[a137_0x377720(0x1ad)]=()=>{},exports[a137_0x377720(0x1e6)]=process[a137_0x377720(0x1d9)][a137_0x377720(0x1f9)]===a137_0x377720(0x1eb)?winston[a137_0x377720(0x1ae)]({'format':winston[a137_0x377720(0x1aa)][a137_0x377720(0x1c6)](winston['format'][a137_0x377720(0x1bf)](),winston[a137_0x377720(0x1aa)]['timestamp'](),logFormat(),winston[a137_0x377720(0x1aa)][a137_0x377720(0x1f6)](_0x345970=>_0x345970[a137_0x377720(0x1b6)]+':\x20'+_0x345970[a137_0x377720(0x1cf)])),'transports':[automationTransports[a137_0x377720(0x1dc)]]}):a137_0x4bcb32;const initialize=()=>{const _0x104e14=a137_0x377720,_0x262d00={};_0x262d00[_0x104e14(0x1ce)]=_0x104e14(0x1ad);const _0x51699e=_0x262d00,_0x125a80=transports['loggerConsole'][_0x104e14(0x1b6)]||initialLogLevel;transports[_0x104e14(0x1d7)]&&(exports[_0x104e14(0x1d5)][_0x104e14(0x1bd)](transports[_0x104e14(0x1d7)]),exports[_0x104e14(0x1f4)][_0x104e14(0x1bd)](transports[_0x104e14(0x1d7)])),transports['debugLoggerFile']&&(exports[_0x104e14(0x1d5)]['remove'](transports['debugLoggerFile']),exports[_0x104e14(0x1f4)][_0x104e14(0x1bd)](transports['debugLoggerFile'])),transports[_0x104e14(0x1d7)]=new winston['transports'][(_0x104e14(0x1f5))]({'filename':path[_0x104e14(0x1d1)](exports['logDir'],LOG_FILE_NAME),'level':_0x125a80}),transports[_0x104e14(0x1f7)]=new winston['transports'][(_0x104e14(0x1f5))]({'filename':path[_0x104e14(0x1d1)](exports['logDir'],DEBUG_LOG_FILE_NAME),'level':_0x51699e[_0x104e14(0x1ce)]}),transports[_0x104e14(0x1dd)]=new winston[(_0x104e14(0x1b8))]['File']({'filename':path[_0x104e14(0x1d1)](exports[_0x104e14(0x1da)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x51699e[_0x104e14(0x1ce)]}),exports[_0x104e14(0x1d5)]['add'](transports[_0x104e14(0x1d7)]),exports['winstonLogger'][_0x104e14(0x1f3)](transports[_0x104e14(0x1f7)]),exports[_0x104e14(0x1f4)][_0x104e14(0x1f3)](transports['loggerFile']),exports[_0x104e14(0x1f4)][_0x104e14(0x1f3)](transports['debugLoggerFile']);};exports[a137_0x377720(0x1d5)]=new winston[(a137_0x377720(0x1ae))](winstonLoggerParams),exports['fileLogger']=new winston[(a137_0x377720(0x1ae))](winstonFileLoggerParams),exports[a137_0x377720(0x1f0)]=new winston[(a137_0x377720(0x1ae))](BuildLoggerParams),exports[a137_0x377720(0x1da)]=logDir,exports['getLogDir']=()=>{const _0x5b40d8=a137_0x377720;return exports[_0x5b40d8(0x1da)];},exports[a137_0x377720(0x1b8)]=transports,exports[a137_0x377720(0x200)]=initialize,exports[a137_0x377720(0x1cc)]=maskHeaders;logDir&&initialize();
@@ -1 +1 @@
1
- function a138_0x10a3(){const _0x508862=['FzLpM','UDHBG','424158aVssqM','set','get','HpbdV','1051460NkIMnn','jVIjl','578xuvqkT','702872aOXUYi','The\x20metadata\x20object\x20is\x20not\x20valid.','2622yGmrEI','getCentralUser','tOzAt','string','9ByyFjE','357TEnjIn','120856lscgiQ','./helper','8008890GIyQgD','BWvpr','setGlobal','lcnc','testMeta-','testRunUUID','./logger','3623495XSUznY','testMeta','cQWiv','length','exports','getGlobal','winstonLogger'];a138_0x10a3=function(){return _0x508862;};return a138_0x10a3();}const a138_0x507804=a138_0x5d2f;(function(_0xf9900,_0x4534ec){const _0x39bc74=a138_0x5d2f,_0x4ad226=_0xf9900();while(!![]){try{const _0x507c9e=parseInt(_0x39bc74(0x185))/0x1+-parseInt(_0x39bc74(0x184))/0x2*(-parseInt(_0x39bc74(0x187))/0x3)+parseInt(_0x39bc74(0x182))/0x4+parseInt(_0x39bc74(0x196))/0x5+parseInt(_0x39bc74(0x17e))/0x6+-parseInt(_0x39bc74(0x18c))/0x7*(parseInt(_0x39bc74(0x18d))/0x8)+parseInt(_0x39bc74(0x18b))/0x9*(-parseInt(_0x39bc74(0x18f))/0xa);if(_0x507c9e===_0x4534ec)break;else _0x4ad226['push'](_0x4ad226['shift']());}catch(_0x28ce71){_0x4ad226['push'](_0x4ad226['shift']());}}}(a138_0x10a3,0x6c001));function a138_0x5d2f(_0x525fd0,_0x444b90){const _0x10a316=a138_0x10a3();return a138_0x5d2f=function(_0x5d2f1f,_0x7fb1f0){_0x5d2f1f=_0x5d2f1f-0x17a;let _0x51a364=_0x10a316[_0x5d2f1f];return _0x51a364;},a138_0x5d2f(_0x525fd0,_0x444b90);}const globals=require('./globals'),helper=require(a138_0x507804(0x18e)),logger=require(a138_0x507804(0x195))[a138_0x507804(0x17b)];module[a138_0x507804(0x19a)]=class TestMetadata{static[a138_0x507804(0x17f)](_0x30d1fd={}){const _0x3aabfc=a138_0x507804,_0x4cb4ef={};_0x4cb4ef[_0x3aabfc(0x183)]=_0x3aabfc(0x194),_0x4cb4ef['HpbdV']=function(_0xe77614,_0x273e54){return _0xe77614===_0x273e54;},_0x4cb4ef[_0x3aabfc(0x189)]=_0x3aabfc(0x18a),_0x4cb4ef[_0x3aabfc(0x190)]=function(_0x144072,_0x54d8ee){return _0x144072<=_0x54d8ee;},_0x4cb4ef[_0x3aabfc(0x17d)]=_0x3aabfc(0x197),_0x4cb4ef[_0x3aabfc(0x17c)]=_0x3aabfc(0x186);const _0x35a0bf=_0x4cb4ef,_0x13383e=globals['getGlobal'](_0x35a0bf[_0x3aabfc(0x183)]),_0x3aecc8=_0x30d1fd['identifier'];helper[_0x3aabfc(0x188)]()[_0x3aabfc(0x192)]&&(_0x35a0bf[_0x3aabfc(0x181)](typeof _0x3aecc8,_0x35a0bf[_0x3aabfc(0x189)])&&_0x35a0bf[_0x3aabfc(0x190)](_0x3aecc8[_0x3aabfc(0x199)],0x28)?_0x13383e?globals[_0x3aabfc(0x191)](_0x3aabfc(0x193)+_0x13383e,_0x30d1fd):globals[_0x3aabfc(0x191)](_0x35a0bf['UDHBG'],_0x30d1fd):logger['warn'](_0x35a0bf[_0x3aabfc(0x17c)]));}static[a138_0x507804(0x180)](_0x260069){const _0x1a4b55=a138_0x507804,_0x400a86={};_0x400a86['cQWiv']=_0x1a4b55(0x197);const _0x2169d4=_0x400a86;if(helper[_0x1a4b55(0x188)]()[_0x1a4b55(0x192)])return globals[_0x1a4b55(0x17a)]('testMeta-'+_0x260069)||globals['getGlobal'](_0x2169d4[_0x1a4b55(0x198)])||{};return{};}};
1
+ function a138_0x1ade(){const _0x275aea=['uQHol','lcnc','./logger','uvfrW','The\x20metadata\x20object\x20is\x20not\x20valid.','getCentralUser','string','3926712FuNfym','./helper','bgVXJ','kzlwp','testRunUUID','./globals','961235AkhGxi','testMeta','6507186BlaFvM','7483615TrrTix','kccDN','3289672bLqytf','8dRyCqR','testMeta-','setGlobal','12187994pTIuJm','getGlobal','iwdKk','warn','5233695MECAmC'];a138_0x1ade=function(){return _0x275aea;};return a138_0x1ade();}function a138_0x1fc9(_0x3da4b9,_0x541efb){const _0x1ade2c=a138_0x1ade();return a138_0x1fc9=function(_0x1fc96f,_0x26729f){_0x1fc96f=_0x1fc96f-0x127;let _0x521113=_0x1ade2c[_0x1fc96f];return _0x521113;},a138_0x1fc9(_0x3da4b9,_0x541efb);}const a138_0x57c1b3=a138_0x1fc9;(function(_0x214904,_0x4fcb01){const _0x193657=a138_0x1fc9,_0x1ce0d8=_0x214904();while(!![]){try{const _0x52f130=parseInt(_0x193657(0x134))/0x1+-parseInt(_0x193657(0x139))/0x2+parseInt(_0x193657(0x141))/0x3+-parseInt(_0x193657(0x12e))/0x4+parseInt(_0x193657(0x137))/0x5+parseInt(_0x193657(0x136))/0x6+-parseInt(_0x193657(0x13d))/0x7*(parseInt(_0x193657(0x13a))/0x8);if(_0x52f130===_0x4fcb01)break;else _0x1ce0d8['push'](_0x1ce0d8['shift']());}catch(_0x3c3d31){_0x1ce0d8['push'](_0x1ce0d8['shift']());}}}(a138_0x1ade,0xe0766));const globals=require(a138_0x57c1b3(0x133)),helper=require(a138_0x57c1b3(0x12f)),logger=require(a138_0x57c1b3(0x129))['winstonLogger'];module['exports']=class TestMetadata{static['set'](_0x5746d4={}){const _0x21b537=a138_0x57c1b3,_0x2387fa={};_0x2387fa[_0x21b537(0x131)]=_0x21b537(0x132),_0x2387fa[_0x21b537(0x12a)]=function(_0x4d49eb,_0x14a342){return _0x4d49eb===_0x14a342;},_0x2387fa['PLdzd']=_0x21b537(0x12d),_0x2387fa[_0x21b537(0x13f)]=function(_0xd95009,_0x594ce2){return _0xd95009<=_0x594ce2;},_0x2387fa[_0x21b537(0x130)]=_0x21b537(0x135),_0x2387fa[_0x21b537(0x138)]=_0x21b537(0x12b);const _0x1c9eee=_0x2387fa,_0x123476=globals['getGlobal'](_0x1c9eee[_0x21b537(0x131)]),_0x546358=_0x5746d4['identifier'];helper[_0x21b537(0x12c)]()[_0x21b537(0x128)]&&(_0x1c9eee[_0x21b537(0x12a)](typeof _0x546358,_0x1c9eee['PLdzd'])&&_0x1c9eee[_0x21b537(0x13f)](_0x546358['length'],0x28)?_0x123476?globals['setGlobal'](_0x21b537(0x13b)+_0x123476,_0x5746d4):globals[_0x21b537(0x13c)](_0x1c9eee[_0x21b537(0x130)],_0x5746d4):logger[_0x21b537(0x140)](_0x1c9eee[_0x21b537(0x138)]));}static['get'](_0x47ddaa){const _0x4fe169=a138_0x57c1b3,_0x2741b0={};_0x2741b0[_0x4fe169(0x127)]=_0x4fe169(0x135);const _0x99b96=_0x2741b0;if(helper[_0x4fe169(0x12c)]()['lcnc'])return globals[_0x4fe169(0x13e)](_0x4fe169(0x13b)+_0x47ddaa)||globals[_0x4fe169(0x13e)](_0x99b96['uQHol'])||{};return{};}};
@@ -1 +1 @@
1
- function a139_0x579d(_0x435765,_0x853683){const _0x57a588=a139_0x57a5();return a139_0x579d=function(_0x579d06,_0x3f9012){_0x579d06=_0x579d06-0xea;let _0x5852c7=_0x57a588[_0x579d06];return _0x5852c7;},a139_0x579d(_0x435765,_0x853683);}const a139_0x3f1027=a139_0x579d;(function(_0x1dd9a9,_0x38dbdd){const _0x48a683=a139_0x579d,_0x133a50=_0x1dd9a9();while(!![]){try{const _0x16cfc7=-parseInt(_0x48a683(0xea))/0x1*(-parseInt(_0x48a683(0x126))/0x2)+parseInt(_0x48a683(0xec))/0x3*(-parseInt(_0x48a683(0x11f))/0x4)+parseInt(_0x48a683(0x117))/0x5*(-parseInt(_0x48a683(0x13a))/0x6)+-parseInt(_0x48a683(0x134))/0x7*(-parseInt(_0x48a683(0x143))/0x8)+-parseInt(_0x48a683(0xf3))/0x9*(parseInt(_0x48a683(0xfc))/0xa)+-parseInt(_0x48a683(0x125))/0xb*(-parseInt(_0x48a683(0x135))/0xc)+parseInt(_0x48a683(0x159))/0xd*(-parseInt(_0x48a683(0xf4))/0xe);if(_0x16cfc7===_0x38dbdd)break;else _0x133a50['push'](_0x133a50['shift']());}catch(_0x418727){_0x133a50['push'](_0x133a50['shift']());}}}(a139_0x57a5,0x24532));const {aiSdkWrapper}=require(a139_0x3f1027(0xee)),{commandRepository}=require(a139_0x3f1027(0xed)),PerformanceTester=require(a139_0x3f1027(0x110)),globals=require(a139_0x3f1027(0x10d)),{winstonLogger:logger,automationLogger}=require(a139_0x3f1027(0x13c)),helper=require(a139_0x3f1027(0x137)),constants=require(a139_0x3f1027(0x100)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a139_0x3f1027(0x106)),util=require(a139_0x3f1027(0x158));exports[a139_0x3f1027(0x141)]=(_0x4ce113,_0xcd1637)=>{const _0x19db24=a139_0x3f1027,_0x5907bd={'uoPXx':'aiSdk_defaultLogDataEnabled','rgjiP':function(_0x4580ed,_0x5a0907){return _0x4580ed===_0x5a0907;},'GRxbC':_0x19db24(0x156),'pNtDX':_0x19db24(0x15c),'ScGvf':_0x19db24(0x15a),'dshyv':_0x19db24(0xf7),'vTZII':function(_0x54d5d3){return _0x54d5d3();},'byRKp':_0x19db24(0x144),'LhJea':_0x19db24(0xff),'hYApk':function(_0x1e0e37,_0x36fb00){return _0x1e0e37===_0x36fb00;},'dMnpJ':_0x19db24(0x109),'dBJoM':_0x19db24(0x155),'BzPWB':function(_0x16732d,_0x50da86){return _0x16732d+_0x50da86;},'ntMnm':_0x19db24(0xf5),'fEjau':_0x19db24(0x105),'NbLwO':function(_0x5c7758,_0x1a471b){return _0x5c7758+_0x1a471b;},'LYhiD':function(_0x45609e,_0x418165){return _0x45609e+_0x418165;},'IBCHA':function(_0xb3fccc,_0x4b6809){return _0xb3fccc+_0x4b6809;},'mVbFv':function(_0xa17c9f,_0x25e9f4){return _0xa17c9f+_0x25e9f4;},'kaMxd':_0x19db24(0x138),'NswJg':'aiHeal:findElementFailure','wZkds':function(_0x2e0836){return _0x2e0836();},'fTumK':function(_0x365095,_0x5d47d4){return _0x365095&&_0x5d47d4;},'aBpOK':_0x19db24(0x151),'fpMYH':_0x19db24(0x132),'iOHTV':function(_0x183257,_0x373d3a){return _0x183257===_0x373d3a;},'LPsVe':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','tERzd':function(_0x24c8c7,_0x2af22b){return _0x24c8c7+_0x2af22b;},'xULYB':function(_0x40617d,_0x4382e){return _0x40617d+_0x4382e;},'SdLxV':function(_0x5e407d,_0x5c5938){return _0x5e407d+_0x5c5938;},'DJBxT':_0x19db24(0x13e),'JyvDo':function(_0x40fa52,_0x5efc31){return _0x40fa52===_0x5efc31;},'TRSIZ':_0x19db24(0x14b),'rRFwj':_0x19db24(0x152),'muYye':_0x19db24(0xf8),'KXWwU':_0x19db24(0x162),'GyEgT':_0x19db24(0xf1),'tmtJQ':function(_0x5e9f5d,_0x1c6075){return _0x5e9f5d===_0x1c6075;},'GtwSh':_0x19db24(0x124),'yaJNh':function(_0x48cb42,_0x4966e6){return _0x48cb42===_0x4966e6;},'AnquJ':_0x19db24(0x130),'gzSqT':_0x19db24(0x128),'nBICV':'capability','IhQrd':'browserstack.local','XLsSM':'bstack:options','BZoSX':_0x19db24(0x123)},_0x3eafde=_0x4ce113[_0x19db24(0x101)]||(helper['nestedKeyValue'](_0xcd1637,[_0x5907bd['nBICV'],_0x5907bd['IhQrd']])||helper[_0x19db24(0x113)](_0xcd1637,[_0x5907bd[_0x19db24(0xfb)],_0x5907bd[_0x19db24(0x114)],_0x5907bd[_0x19db24(0x146)]]));if(!globals['getGlobal'](_0x5907bd[_0x19db24(0x14e)])&&!globals[_0x19db24(0x13f)](_0x5907bd[_0x19db24(0x14a)])&&_0x3eafde)return;_0x4ce113[_0x19db24(0x101)]=!![],_0x4ce113[_0x19db24(0x160)]=_0x4ce113[_0x19db24(0x116)],_0x4ce113['execute']=async _0x444ac8=>{const _0xe4fc1=_0x19db24,_0x3f39d5={'IPHzs':_0x5907bd[_0xe4fc1(0x14e)],'DUVlM':_0x5907bd[_0xe4fc1(0xfa)],'lPuRz':function(_0x30dee2){const _0x570e23=_0xe4fc1;return _0x5907bd[_0x570e23(0x163)](_0x30dee2);}};try{const _0xeec4a8={};_0xeec4a8[_0xe4fc1(0x148)]=_0x444ac8['name_'],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0xe4fc1(0x15e)],async()=>{const _0x5b8870=_0xe4fc1,_0x39f18e={};_0x39f18e[_0x5b8870(0x13b)]=_0x3f39d5['IPHzs'];const _0x18db00=_0x39f18e;if(!commandRepository[_0x5b8870(0x11e)]()&&globals['getGlobal'](_0x3f39d5[_0x5b8870(0x10a)])){const _0x4904cf=PerformanceTester[_0x5b8870(0x111)](_0x3f39d5[_0x5b8870(0x104)],async()=>{const _0x4ff6b1=_0x5b8870;try{commandRepository[_0x4ff6b1(0x10b)](!![]),await aiSdkWrapper['setTcgToken']((await _0x4ce113[_0x4ff6b1(0x142)]())[_0x4ff6b1(0x12d)]());const _0x1dbf40=globals['getGlobal'](_0x18db00[_0x4ff6b1(0x13b)]);_0x1dbf40&&commandRepository[_0x4ff6b1(0x154)]((await _0x4ce113[_0x4ff6b1(0x142)]())[_0x4ff6b1(0x12d)]());}catch(_0x5aca5f){logger[_0x4ff6b1(0x129)](_0x4ff6b1(0xf2)+_0x5aca5f);}});await _0x3f39d5['lPuRz'](_0x4904cf);}},_0xeec4a8)();const _0x272c07=await _0x4ce113[_0xe4fc1(0x160)](_0x444ac8);try{if(_0x5907bd[_0xe4fc1(0x115)](_0x444ac8[_0xe4fc1(0x12b)],_0x5907bd[_0xe4fc1(0x131)])||_0x5907bd[_0xe4fc1(0x145)](_0x444ac8[_0xe4fc1(0x12b)],_0x5907bd[_0xe4fc1(0x147)])){const _0x3924ae=_0x444ac8['parameters_']&&_0x444ac8[_0xe4fc1(0x152)][_0xe4fc1(0x10c)],_0x350b23=_0x444ac8[_0xe4fc1(0x152)]&&_0x444ac8[_0xe4fc1(0x152)][_0xe4fc1(0xf6)],_0x3c9759=_0x350b23&&util['format']('%j',_0x350b23);if(_0x3924ae&&_0x5907bd[_0xe4fc1(0x139)](typeof _0x3924ae,_0x5907bd[_0xe4fc1(0x108)])){const _0x50ebe6=constants[_0xe4fc1(0xef)][_0xe4fc1(0xf0)](_0xedf0d3=>_0x3924ae[_0xe4fc1(0x127)](_0xedf0d3)||_0x3c9759&&_0x3c9759[_0xe4fc1(0x127)](_0xedf0d3));if(_0x50ebe6){const _0x21e5f5={};_0x21e5f5['command']=_0x50ebe6,_0x21e5f5[_0xe4fc1(0x102)]=_0x350b23;const _0x32d2b0={};_0x32d2b0['body']=_0x272c07;const _0x48d3f6={};_0x48d3f6['request']=_0x21e5f5,_0x48d3f6[_0xe4fc1(0x13d)]=_0x32d2b0,automationLogger[_0xe4fc1(0x12f)]('['+new Date()['toISOString']()+_0xe4fc1(0x103)+util[_0xe4fc1(0x140)]('%j',_0x48d3f6));}}}}catch(_0x14a868){logger[_0xe4fc1(0x12f)](_0xe4fc1(0xeb)+_0x14a868[_0xe4fc1(0x167)]);}return await PerformanceTester[_0xe4fc1(0x111)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x4cdbe2=_0xe4fc1;if(!helper['isBrowserstackInfra']()&&(commandRepository['isSelfHealEnabled']()||globals['getGlobal'](_0x5907bd[_0x4cdbe2(0x107)]))&&_0x5907bd[_0x4cdbe2(0x139)](_0x444ac8[_0x4cdbe2(0x12b)],_0x5907bd[_0x4cdbe2(0x122)])&&!_0x444ac8['skipHealingSuccess']&&globals[_0x4cdbe2(0x13f)](_0x5907bd[_0x4cdbe2(0x14e)])&&globals[_0x4cdbe2(0x13f)](_0x5907bd[_0x4cdbe2(0x14a)])){const _0x1946c3=new Date(),_0x4a28d6=PerformanceTester[_0x4cdbe2(0x111)](_0x5907bd[_0x4cdbe2(0x15b)],async()=>{const _0x121201=_0x4cdbe2;return await aiSdkWrapper[_0x121201(0x165)](_0xcd1637,_0x4ce113,_0x444ac8);});await _0x5907bd['vTZII'](_0x4a28d6);}},{'command':_0x444ac8[_0xe4fc1(0x12b)]})(),_0x272c07;}catch(_0x459922){await PerformanceTester[_0xe4fc1(0x111)](PerformanceDriverEvents[_0xe4fc1(0x166)],async()=>{const _0x2091f5=_0xe4fc1;logger['debug'](_0x5907bd['byRKp']);try{if(!helper['isBrowserstackInfra']()&&(_0x5907bd['rgjiP'](_0x459922[_0x2091f5(0x168)],_0x5907bd[_0x2091f5(0x119)])||_0x5907bd[_0x2091f5(0x136)](_0x459922[_0x2091f5(0x168)],_0x5907bd[_0x2091f5(0x11a)]))&&_0x5907bd[_0x2091f5(0x139)](_0x444ac8[_0x2091f5(0x12b)],_0x5907bd[_0x2091f5(0x122)])&&commandRepository[_0x2091f5(0x161)]()&&globals[_0x2091f5(0x13f)](_0x5907bd[_0x2091f5(0x14e)])&&globals[_0x2091f5(0x13f)](_0x5907bd[_0x2091f5(0x14a)])){_0x5907bd['hYApk'](_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x133)],_0x5907bd[_0x2091f5(0x121)])?logger[_0x2091f5(0x12c)](_0x5907bd[_0x2091f5(0x10e)](_0x5907bd[_0x2091f5(0x10e)](_0x5907bd['ntMnm'],_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x150)]),_0x5907bd[_0x2091f5(0x120)])):logger[_0x2091f5(0x12c)](_0x5907bd[_0x2091f5(0x10f)](_0x5907bd[_0x2091f5(0x15f)](_0x5907bd[_0x2091f5(0x11c)](_0x5907bd[_0x2091f5(0x11b)](_0x5907bd['kaMxd'],_0x444ac8[_0x2091f5(0x152)]['using']),':\x20'),_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x150)]),_0x5907bd[_0x2091f5(0x120)]));const _0x48bb46=PerformanceTester['measureWrapper'](_0x5907bd['NswJg'],async()=>{const _0x4899f1=_0x2091f5;return await aiSdkWrapper[_0x4899f1(0x15d)](_0xcd1637,_0x4ce113,_0x444ac8);}),_0x5a9055=new Date(),{locatorType:_0x3ea67f,locatorValue:_0x3f8252,commandHealed:_0x39f7ec}=await _0x5907bd[_0x2091f5(0x163)](_0x48bb46);if(_0x5907bd[_0x2091f5(0x153)](_0x3ea67f,_0x3f8252)){_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x133)]=_0x3ea67f,_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x150)]=_0x3f8252,_0x444ac8[_0x2091f5(0x14f)]=!![];const _0x597746=_0x4ce113[_0x2091f5(0x116)](_0x444ac8);return _0x5907bd[_0x2091f5(0x139)](_0x3ea67f,_0x5907bd[_0x2091f5(0x121)])?logger[_0x2091f5(0x12c)](_0x5907bd['NbLwO'](_0x5907bd[_0x2091f5(0xfd)],_0x3f8252)):logger[_0x2091f5(0x12c)](_0x5907bd[_0x2091f5(0x15f)](_0x5907bd['mVbFv'](_0x5907bd[_0x2091f5(0x11b)](_0x5907bd[_0x2091f5(0x164)],_0x3ea67f),':\x20'),_0x3f8252)),_0x597746;}else!_0x39f7ec&&(_0x5907bd[_0x2091f5(0x149)](_0x3ea67f,_0x5907bd[_0x2091f5(0x121)])?logger['info'](_0x5907bd[_0x2091f5(0x11c)](_0x5907bd[_0x2091f5(0xf9)],_0x444ac8['parameters_'][_0x2091f5(0x150)])):logger['info'](_0x5907bd[_0x2091f5(0xfe)](_0x5907bd['xULYB'](_0x5907bd['SdLxV'](_0x5907bd[_0x2091f5(0x112)],_0x444ac8['parameters_']['using']),':\x20'),_0x444ac8['parameters_'][_0x2091f5(0x150)])));}!_0x3eafde&&_0x5907bd[_0x2091f5(0x12e)](_0x444ac8[_0x2091f5(0x12b)],_0x5907bd[_0x2091f5(0x12a)])&&helper[_0x2091f5(0x113)](_0x444ac8,[_0x5907bd['rRFwj'],_0x5907bd[_0x2091f5(0x11d)]])&&!!constants[_0x2091f5(0x118)][_0x2091f5(0xf0)](_0x1e5d99=>{const _0x5d1499=_0x2091f5;return _0x459922[_0x5d1499(0x14c)]()['includes'](_0x1e5d99);})&&helper['getNudgeLocalNotSetError'](_0x444ac8[_0x2091f5(0x152)]['url'],!![]);}catch(_0x6b25d){logger[_0x2091f5(0x14d)](_0x5907bd[_0x2091f5(0x157)],_0x6b25d);}},{'success':![],'failure':_0x459922})();throw _0x459922;}};};function a139_0x57a5(){const _0x47edfa=['fTumK','setAiSessionTimeStamp','css\x20selector','findElement','KXWwU','util','13JFtbEd','aiHeal_isHealingEnabled','dshyv','aiHeal_isAuthenticated','handleFailure','PRE_EXECUTE','LYhiD','initExecute','isSelfHealEnabled','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','wZkds','fpMYH','handleSuccess','POST_EXECUTE','message','name','57953TyIrUt','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','19554sYxSgQ','./ai-sdk/autoHealHelper','./ai-sdk/aiSdkWrapper','AUTOMATION_LOG_COMMANDS','find','aiHeal:setToken','Error\x20in\x20handling\x20TCG\x20Auth:\x20','173331XoHNtT','2266922JbKQNT','findElement\x20command\x20failed\x20with\x20cssPath:\x20','args','aiHeal:findElementSuccess','url','LPsVe','GyEgT','nBICV','10BExVPb','aBpOK','tERzd','NoSuchElementError','../bin/utils/constants','patchExecute','parameters','][\x20SDK-AUTOMATION\x20]\x20','DUVlM',';\x20Trying\x20to\x20heal','./performance/constants','uoPXx','gzSqT','JavascriptError','IPHzs','setTcgTokenStatus','script','./globals','BzPWB','NbLwO','./performance/performance-tester','measureWrapper','DJBxT','nestedKeyValue','XLsSM','tmtJQ','execute','195xRNnFf','NUDGE_LOCAL_ERRORS','LhJea','dMnpJ','mVbFv','IBCHA','muYye','getTcgTokenStatus','8XSMbQY','fEjau','dBJoM','GRxbC','local','executeAsyncScript','220bjmwDx','4fcfSon','includes','string','error','TRSIZ','name_','info','getId','JyvDo','silly','executeScript','GtwSh','Successfully\x20healed\x20command\x20using\x20new\x20','using','7OgXdUW','44400pXCIlm','hYApk','./helper','findElement\x20command\x20failed\x20with\x20','rgjiP','21354hpKYXq','ojRan','./logger','response','Healing\x20failed\x20for\x20command\x20using\x20','getGlobal','format','overrideExecute','getSession','2335192fzDUtJ','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','yaJNh','BZoSX','AnquJ','command','iOHTV','ScGvf','get','toString','debug','pNtDX','skipHealingSuccess','value','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','parameters_'];a139_0x57a5=function(){return _0x47edfa;};return a139_0x57a5();}
1
+ function a139_0x5b59(){const _0x30ff31=['Itnqm','KUpLO','findElement','silly','includes','getNudgeLocalNotSetError','request','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','./performance/performance-tester','VnqEJ','skipHealingSuccess','format','executeAsyncScript','bmsvM','jSItt','ysSpn','getGlobal','cvcqa','value','uOGgM','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','setTcgTokenStatus','body','HsLiS','6305094USqOaF','wXbnx','execute','kMANO','vPzYz','parameters','initExecute','response','24zbntuy','Healing\x20failed\x20for\x20command\x20using\x20','./ai-sdk/aiSdkWrapper','./globals','getId','Error\x20in\x20handling\x20TCG\x20Auth:\x20','4bLZVvx','Successfully\x20healed\x20command\x20using\x20new\x20','CPmQK','qpkqm','browserstack.local','yjiUe','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','wJwBE','name_','aiHeal:findElementSuccess','eEgPQ','IHErg','aiHeal:findElementFailure','DNwVi','patchExecute','hMqvr','WCmpW','UTXrP','aiHeal_isAuthenticated','BeKNo','RAKgM','AUTOMATION_LOG_COMMANDS','./logger','getSession','DKuEN','XppRJ','JavascriptError','using','GGFPo','./helper','zZlGo','handleSuccess','HysWU','getTcgTokenStatus','lmNCk','setAiSessionTimeStamp','args','28993527zWtvbq','parameters_','pldDH','nNyaO','handleFailure','TVcWl','DeuLI','BhXmB','1482764wyALcc','abmJA','iPDJe','qLams','TWVNh','wBOtU',';\x20Trying\x20to\x20heal','aiSdk_defaultLogDataEnabled','aiHeal:setToken','find','script','LaxyF','wPajO','qeGvf','2354821cSyFib','450467cbjEjT','./ai-sdk/autoHealHelper','YhREi','name','JcMoV','682641UtufEa','DQkot','YANgH','capability','setTcgToken','jcVrM','lFXBB','./performance/constants','local','info','bstack:options','../bin/utils/constants','findElement\x20command\x20failed\x20with\x20cssPath:\x20','10GSyHdN','nestedKeyValue','overrideExecute','string','isBrowserstackInfra','uueYF','iLtaP','url','isSelfHealEnabled','message','YYaBN','JvHzN','OfMGI','measureWrapper','oiekP','zoeaI','4813850GEmITp','util','executeScript','DZtYk','yFGPT','WwmyP'];a139_0x5b59=function(){return _0x30ff31;};return a139_0x5b59();}function a139_0x1bad(_0x23a910,_0x37605a){const _0x5b59ee=a139_0x5b59();return a139_0x1bad=function(_0x1badae,_0x46edaf){_0x1badae=_0x1badae-0xe0;let _0x34b220=_0x5b59ee[_0x1badae];return _0x34b220;},a139_0x1bad(_0x23a910,_0x37605a);}const a139_0x2e28de=a139_0x1bad;(function(_0x22adc7,_0x40940f){const _0x1edf12=a139_0x1bad,_0x4201bf=_0x22adc7();while(!![]){try{const _0x236f66=parseInt(_0x1edf12(0x15a))/0x1*(parseInt(_0x1edf12(0x11e))/0x2)+parseInt(_0x1edf12(0x15f))/0x3+-parseInt(_0x1edf12(0x14b))/0x4+parseInt(_0x1edf12(0xf2))/0x5+parseInt(_0x1edf12(0x110))/0x6+parseInt(_0x1edf12(0x159))/0x7*(parseInt(_0x1edf12(0x118))/0x8)+-parseInt(_0x1edf12(0x143))/0x9*(parseInt(_0x1edf12(0xe2))/0xa);if(_0x236f66===_0x40940f)break;else _0x4201bf['push'](_0x4201bf['shift']());}catch(_0xb668ea){_0x4201bf['push'](_0x4201bf['shift']());}}}(a139_0x5b59,0x8880b));const {aiSdkWrapper}=require(a139_0x2e28de(0x11a)),{commandRepository}=require(a139_0x2e28de(0x15b)),PerformanceTester=require(a139_0x2e28de(0x100)),globals=require(a139_0x2e28de(0x11b)),{winstonLogger:logger,automationLogger}=require(a139_0x2e28de(0x134)),helper=require(a139_0x2e28de(0x13b)),constants=require(a139_0x2e28de(0xe0)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a139_0x2e28de(0x166)),util=require(a139_0x2e28de(0xf3));exports[a139_0x2e28de(0xe4)]=(_0x2ae9a3,_0x49e6cf)=>{const _0x53eaa8=a139_0x2e28de,_0x5b7c44={'qeGvf':_0x53eaa8(0x130),'wXbnx':_0x53eaa8(0x153),'iPDJe':function(_0x4d639a){return _0x4d639a();},'bmsvM':_0x53eaa8(0x152),'oiekP':function(_0x35fe14,_0x53c539){return _0x35fe14===_0x53c539;},'uueYF':_0x53eaa8(0xfa),'jSItt':'aiHeal_isHealingEnabled','kMANO':_0x53eaa8(0x127),'SbCEv':function(_0xf7dbf8){return _0xf7dbf8();},'YhREi':_0x53eaa8(0x124),'gpFVX':function(_0x37041e,_0x472a63){return _0x37041e===_0x472a63;},'xDsHX':'NoSuchElementError','iLtaP':_0x53eaa8(0x138),'eEgPQ':function(_0x2da0af,_0x34d81b){return _0x2da0af===_0x34d81b;},'qLams':'css\x20selector','cvcqa':function(_0x6f5e89,_0x212196){return _0x6f5e89+_0x212196;},'JvHzN':function(_0x2a3c8c,_0x127c01){return _0x2a3c8c+_0x127c01;},'DQkot':_0x53eaa8(0xe1),'RNlxK':_0x53eaa8(0x151),'IHErg':function(_0x306801,_0x27c904){return _0x306801+_0x27c904;},'YYaBN':function(_0x4eba31,_0x1b8caf){return _0x4eba31+_0x1b8caf;},'ysSpn':function(_0x501a50,_0x55625f){return _0x501a50+_0x55625f;},'RsglH':'findElement\x20command\x20failed\x20with\x20','wCAxl':_0x53eaa8(0x12a),'jcVrM':function(_0x4694c2,_0x114cb5){return _0x4694c2&&_0x114cb5;},'IHvHP':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','zZlGo':function(_0x349476,_0x40a2c4){return _0x349476+_0x40a2c4;},'WCmpW':_0x53eaa8(0x11f),'lFXBB':function(_0xe35ebc,_0x246e27){return _0xe35ebc===_0x246e27;},'KUpLO':_0x53eaa8(0x10c),'HysWU':function(_0x57c4e8,_0x5105c6){return _0x57c4e8+_0x5105c6;},'HsLiS':_0x53eaa8(0x119),'hMqvr':'get','wJwBE':_0x53eaa8(0x144),'OfMGI':_0x53eaa8(0xe9),'YANgH':_0x53eaa8(0xff),'DeuLI':_0x53eaa8(0x104),'DNwVi':function(_0x28bbdf,_0x46c3de){return _0x28bbdf===_0x46c3de;},'TRzCU':_0x53eaa8(0xf4),'VnqEJ':function(_0x45104f,_0x450de0){return _0x45104f===_0x450de0;},'wPajO':_0x53eaa8(0xe5),'qpkqm':_0x53eaa8(0x162),'LaxyF':_0x53eaa8(0x122),'iimdV':_0x53eaa8(0x169),'nNyaO':_0x53eaa8(0x167)},_0x3b5af6=_0x2ae9a3[_0x53eaa8(0x12c)]||(helper[_0x53eaa8(0xe3)](_0x49e6cf,[_0x5b7c44['qpkqm'],_0x5b7c44[_0x53eaa8(0x156)]])||helper['nestedKeyValue'](_0x49e6cf,[_0x5b7c44[_0x53eaa8(0x121)],_0x5b7c44['iimdV'],_0x5b7c44[_0x53eaa8(0x146)]]));if(!globals[_0x53eaa8(0x108)](_0x5b7c44[_0x53eaa8(0x158)])&&!globals[_0x53eaa8(0x108)](_0x5b7c44[_0x53eaa8(0x106)])&&_0x3b5af6)return;_0x2ae9a3['patchExecute']=!![],_0x2ae9a3[_0x53eaa8(0x116)]=_0x2ae9a3['execute'],_0x2ae9a3[_0x53eaa8(0x112)]=async _0x546f47=>{const _0x1a056f=_0x53eaa8,_0x442e85={'TVcWl':_0x5b7c44[_0x1a056f(0x15c)],'abmJA':function(_0x561ba1,_0x20ce52){return _0x5b7c44['gpFVX'](_0x561ba1,_0x20ce52);},'DKuEN':_0x5b7c44['xDsHX'],'aEQwC':_0x5b7c44[_0x1a056f(0xe8)],'DZtYk':function(_0x3b433a,_0x4c579d){const _0x3dfbfa=_0x1a056f;return _0x5b7c44[_0x3dfbfa(0x128)](_0x3b433a,_0x4c579d);},'iGCVj':_0x5b7c44[_0x1a056f(0xe7)],'XppRJ':_0x5b7c44[_0x1a056f(0x158)],'MnhNE':_0x5b7c44['jSItt'],'uOGgM':_0x5b7c44[_0x1a056f(0x14e)],'WwmyP':function(_0x41705a,_0x2e1e23){const _0x3d88f7=_0x1a056f;return _0x5b7c44[_0x3d88f7(0x109)](_0x41705a,_0x2e1e23);},'yjiUe':function(_0x40aabb,_0x35ff60){const _0x349feb=_0x1a056f;return _0x5b7c44[_0x349feb(0xed)](_0x40aabb,_0x35ff60);},'TWVNh':_0x5b7c44[_0x1a056f(0x160)],'yFGPT':_0x5b7c44['RNlxK'],'pldDH':function(_0x545419,_0x15d41d){const _0x2dd51a=_0x1a056f;return _0x5b7c44[_0x2dd51a(0x129)](_0x545419,_0x15d41d);},'CPmQK':function(_0xb51b20,_0x4d0885){const _0xd03633=_0x1a056f;return _0x5b7c44[_0xd03633(0xec)](_0xb51b20,_0x4d0885);},'RAKgM':function(_0x2c57c5,_0x2e0a77){const _0x3fa85f=_0x1a056f;return _0x5b7c44[_0x3fa85f(0x107)](_0x2c57c5,_0x2e0a77);},'UTXrP':_0x5b7c44['RsglH'],'UCoVz':_0x5b7c44['wCAxl'],'qagKF':function(_0x4780c8){const _0x1365dd=_0x1a056f;return _0x5b7c44[_0x1365dd(0x14d)](_0x4780c8);},'BeKNo':function(_0x514a83,_0x2f0d12){const _0x5e3c76=_0x1a056f;return _0x5b7c44[_0x5e3c76(0x164)](_0x514a83,_0x2f0d12);},'BhXmB':_0x5b7c44['IHvHP'],'GGFPo':function(_0x1d18ab,_0x260faf){const _0x159f1d=_0x1a056f;return _0x5b7c44[_0x159f1d(0x13c)](_0x1d18ab,_0x260faf);},'eJQbT':function(_0x913ae2,_0x54d82c){const _0x114a59=_0x1a056f;return _0x5b7c44[_0x114a59(0x129)](_0x913ae2,_0x54d82c);},'mcDSl':_0x5b7c44[_0x1a056f(0x12e)],'vPzYz':function(_0x6a4cd4,_0x4b390b){const _0x4b41ae=_0x1a056f;return _0x5b7c44[_0x4b41ae(0x165)](_0x6a4cd4,_0x4b390b);},'JcMoV':_0x5b7c44[_0x1a056f(0xf9)],'TxzYy':function(_0x2563dc,_0x560b28){const _0x8e5114=_0x1a056f;return _0x5b7c44[_0x8e5114(0x13e)](_0x2563dc,_0x560b28);},'lmNCk':_0x5b7c44[_0x1a056f(0x10f)],'KACen':_0x5b7c44[_0x1a056f(0x12d)],'wBOtU':_0x5b7c44[_0x1a056f(0x125)],'Itnqm':_0x5b7c44[_0x1a056f(0xee)],'utVZf':_0x5b7c44[_0x1a056f(0x161)]};try{const _0x5a8b02={};_0x5a8b02['command']=_0x546f47[_0x1a056f(0x126)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x2d792f=_0x1a056f,_0x397976={};_0x397976[_0x2d792f(0xf1)]=_0x5b7c44[_0x2d792f(0x158)];const _0x176091=_0x397976;if(!commandRepository[_0x2d792f(0x13f)]()&&globals['getGlobal'](_0x5b7c44[_0x2d792f(0x158)])){const _0x4d48e7=PerformanceTester['measureWrapper'](_0x5b7c44[_0x2d792f(0x111)],async()=>{const _0x371f2e=_0x2d792f;try{commandRepository[_0x371f2e(0x10d)](!![]),await aiSdkWrapper[_0x371f2e(0x163)]((await _0x2ae9a3[_0x371f2e(0x135)]())[_0x371f2e(0x11c)]());const _0x341339=globals[_0x371f2e(0x108)](_0x176091[_0x371f2e(0xf1)]);_0x341339&&commandRepository[_0x371f2e(0x141)]((await _0x2ae9a3[_0x371f2e(0x135)]())[_0x371f2e(0x11c)]());}catch(_0x4c88ce){logger['error'](_0x371f2e(0x11d)+_0x4c88ce);}});await _0x5b7c44[_0x2d792f(0x14d)](_0x4d48e7);}},_0x5a8b02)();const _0x3b2b91=await _0x2ae9a3[_0x1a056f(0x116)](_0x546f47);try{if(_0x5b7c44['gpFVX'](_0x546f47[_0x1a056f(0x126)],_0x5b7c44[_0x1a056f(0x149)])||_0x5b7c44[_0x1a056f(0x12b)](_0x546f47['name_'],_0x5b7c44['TRzCU'])){const _0x1cd989=_0x546f47[_0x1a056f(0x144)]&&_0x546f47[_0x1a056f(0x144)][_0x1a056f(0x155)],_0x12c215=_0x546f47[_0x1a056f(0x144)]&&_0x546f47[_0x1a056f(0x144)][_0x1a056f(0x142)],_0x23b94c=_0x12c215&&util['format']('%j',_0x12c215);if(_0x1cd989&&_0x5b7c44[_0x1a056f(0x101)](typeof _0x1cd989,_0x5b7c44[_0x1a056f(0x157)])){const _0x12deaf=constants[_0x1a056f(0x133)][_0x1a056f(0x154)](_0x11956d=>_0x1cd989[_0x1a056f(0xfc)](_0x11956d)||_0x23b94c&&_0x23b94c['includes'](_0x11956d));if(_0x12deaf){const _0x49fa71={};_0x49fa71['command']=_0x12deaf,_0x49fa71[_0x1a056f(0x115)]=_0x12c215;const _0x4cde5f={};_0x4cde5f[_0x1a056f(0x10e)]=_0x3b2b91;const _0x2e113c={};_0x2e113c[_0x1a056f(0xfe)]=_0x49fa71,_0x2e113c[_0x1a056f(0x117)]=_0x4cde5f,automationLogger[_0x1a056f(0xfb)]('['+new Date()['toISOString']()+'][\x20SDK-AUTOMATION\x20]\x20'+util[_0x1a056f(0x103)]('%j',_0x2e113c));}}}}catch(_0x2853de){logger[_0x1a056f(0xfb)]('Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20'+_0x2853de[_0x1a056f(0xeb)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x289952=_0x1a056f;if(!helper['isBrowserstackInfra']()&&(commandRepository['isSelfHealEnabled']()||globals[_0x289952(0x108)](_0x5b7c44[_0x289952(0x105)]))&&_0x5b7c44[_0x289952(0xf0)](_0x546f47[_0x289952(0x126)],_0x5b7c44[_0x289952(0xe7)])&&!_0x546f47[_0x289952(0x102)]&&globals[_0x289952(0x108)](_0x5b7c44['qeGvf'])&&globals[_0x289952(0x108)](_0x5b7c44[_0x289952(0x106)])){const _0x391c7b=new Date(),_0x25bf91=PerformanceTester[_0x289952(0xef)](_0x5b7c44[_0x289952(0x113)],async()=>{const _0x2ce2cd=_0x289952;return await aiSdkWrapper[_0x2ce2cd(0x13d)](_0x49e6cf,_0x2ae9a3,_0x546f47);});await _0x5b7c44['SbCEv'](_0x25bf91);}},{'command':_0x546f47[_0x1a056f(0x126)]})(),_0x3b2b91;}catch(_0x590140){await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x5176dc=_0x1a056f;logger['debug'](_0x442e85[_0x5176dc(0x148)]);try{if(!helper[_0x5176dc(0xe6)]()&&(_0x442e85[_0x5176dc(0x14c)](_0x590140[_0x5176dc(0x15d)],_0x442e85[_0x5176dc(0x136)])||_0x442e85[_0x5176dc(0x14c)](_0x590140['name'],_0x442e85['aEQwC']))&&_0x442e85[_0x5176dc(0xf5)](_0x546f47[_0x5176dc(0x126)],_0x442e85['iGCVj'])&&commandRepository[_0x5176dc(0xea)]()&&globals['getGlobal'](_0x442e85[_0x5176dc(0x137)])&&globals[_0x5176dc(0x108)](_0x442e85['MnhNE'])){_0x442e85['DZtYk'](_0x546f47[_0x5176dc(0x144)][_0x5176dc(0x139)],_0x442e85['uOGgM'])?logger[_0x5176dc(0x168)](_0x442e85[_0x5176dc(0xf7)](_0x442e85[_0x5176dc(0x123)](_0x442e85[_0x5176dc(0x14f)],_0x546f47[_0x5176dc(0x144)]['value']),_0x442e85[_0x5176dc(0xf6)])):logger['info'](_0x442e85[_0x5176dc(0x145)](_0x442e85[_0x5176dc(0xf7)](_0x442e85[_0x5176dc(0x120)](_0x442e85[_0x5176dc(0x132)](_0x442e85[_0x5176dc(0x12f)],_0x546f47['parameters_'][_0x5176dc(0x139)]),':\x20'),_0x546f47['parameters_']['value']),_0x442e85['yFGPT']));const _0x361631=PerformanceTester[_0x5176dc(0xef)](_0x442e85['UCoVz'],async()=>{const _0x55e0ac=_0x5176dc;return await aiSdkWrapper[_0x55e0ac(0x147)](_0x49e6cf,_0x2ae9a3,_0x546f47);}),_0x301608=new Date(),{locatorType:_0x2ced65,locatorValue:_0x1f76e5,commandHealed:_0x52c83d}=await _0x442e85['qagKF'](_0x361631);if(_0x442e85[_0x5176dc(0x131)](_0x2ced65,_0x1f76e5)){_0x546f47[_0x5176dc(0x144)][_0x5176dc(0x139)]=_0x2ced65,_0x546f47[_0x5176dc(0x144)][_0x5176dc(0x10a)]=_0x1f76e5,_0x546f47['skipHealingSuccess']=!![];const _0x9cd46e=_0x2ae9a3[_0x5176dc(0x112)](_0x546f47);return _0x442e85[_0x5176dc(0x14c)](_0x2ced65,_0x442e85['uOGgM'])?logger[_0x5176dc(0x168)](_0x442e85[_0x5176dc(0x120)](_0x442e85[_0x5176dc(0x14a)],_0x1f76e5)):logger[_0x5176dc(0x168)](_0x442e85[_0x5176dc(0x132)](_0x442e85[_0x5176dc(0x13a)](_0x442e85['eJQbT'](_0x442e85['mcDSl'],_0x2ced65),':\x20'),_0x1f76e5)),_0x9cd46e;}else!_0x52c83d&&(_0x442e85[_0x5176dc(0x114)](_0x2ced65,_0x442e85[_0x5176dc(0x10b)])?logger[_0x5176dc(0x168)](_0x442e85[_0x5176dc(0x13a)](_0x442e85[_0x5176dc(0x15e)],_0x546f47['parameters_'][_0x5176dc(0x10a)])):logger[_0x5176dc(0x168)](_0x442e85[_0x5176dc(0x120)](_0x442e85[_0x5176dc(0x120)](_0x442e85['TxzYy'](_0x442e85[_0x5176dc(0x140)],_0x546f47[_0x5176dc(0x144)][_0x5176dc(0x139)]),':\x20'),_0x546f47['parameters_']['value'])));}!_0x3b5af6&&_0x442e85['abmJA'](_0x546f47[_0x5176dc(0x126)],_0x442e85['KACen'])&&helper['nestedKeyValue'](_0x546f47,[_0x442e85[_0x5176dc(0x150)],_0x442e85[_0x5176dc(0xf8)]])&&!!constants['NUDGE_LOCAL_ERRORS']['find'](_0x53ad5e=>{const _0x4d4cbb=_0x5176dc;return _0x590140['toString']()[_0x4d4cbb(0xfc)](_0x53ad5e);})&&helper[_0x5176dc(0xfd)](_0x546f47[_0x5176dc(0x144)][_0x5176dc(0xe9)],!![]);}catch(_0x5718a5){logger['debug'](_0x442e85['utVZf'],_0x5718a5);}},{'success':![],'failure':_0x590140})();throw _0x590140;}};};
@@ -1 +1 @@
1
- function a140_0x2d8e(_0x1ea43c,_0xcb7684){const _0x501792=a140_0x5017();return a140_0x2d8e=function(_0x2d8e1d,_0x1dd887){_0x2d8e1d=_0x2d8e1d-0x7c;let _0x1cf1b7=_0x501792[_0x2d8e1d];return _0x1cf1b7;},a140_0x2d8e(_0x1ea43c,_0xcb7684);}const a140_0x36947c=a140_0x2d8e;(function(_0x2d9bb1,_0xfc91f9){const _0x5b9f00=a140_0x2d8e,_0x4a1952=_0x2d9bb1();while(!![]){try{const _0x361f9b=parseInt(_0x5b9f00(0x9a))/0x1+parseInt(_0x5b9f00(0x98))/0x2*(parseInt(_0x5b9f00(0xa6))/0x3)+parseInt(_0x5b9f00(0x9e))/0x4*(parseInt(_0x5b9f00(0x88))/0x5)+parseInt(_0x5b9f00(0xa5))/0x6+parseInt(_0x5b9f00(0x8c))/0x7*(-parseInt(_0x5b9f00(0x7c))/0x8)+parseInt(_0x5b9f00(0xa2))/0x9+-parseInt(_0x5b9f00(0x9c))/0xa*(parseInt(_0x5b9f00(0x8e))/0xb);if(_0x361f9b===_0xfc91f9)break;else _0x4a1952['push'](_0x4a1952['shift']());}catch(_0x35d95f){_0x4a1952['push'](_0x4a1952['shift']());}}}(a140_0x5017,0xa4ec8));function a140_0x5017(){const _0x3b515b=['start','fFLsn','env','then','FgEHo','cCASn','./performance/performance-tester','225TJMGHC','pid','./performance/constants','XsDIk','104069nTmJBF','patchQuit','11DxFUHz','takeScreenshot','overrideQuit','jQLSy','BS_TESTOPS_ALLOW_SCREENSHOTS','quitCount_','patchScreenshot','tTbxF','bajUv','bs:addLog:','2QHZNwN','overrideTakeScreenshot','423217kceFbG','DyrgY','14721380wIPlKa','true','36220fJmiGh','initQuit','dfABk','catch','4510179rGIhzW','TEST_SCREENSHOT','end','617088YKnCIe','2852601sSQUbr','TAKE_SCREENSHOT','128PsojpW','fUoon','emit','initScreenshot','quit'];a140_0x5017=function(){return _0x3b515b;};return a140_0x5017();}const PerformanceTester=require(a140_0x36947c(0x87)),O11yEvents=require(a140_0x36947c(0x8a))['O11y_EVENTS'];exports[a140_0x36947c(0x99)]=_0x43889f=>{const _0x8ac280=a140_0x36947c,_0x2325ba={'fUoon':function(_0x487c49,_0x1ad485){return _0x487c49(_0x1ad485);},'fFLsn':_0x8ac280(0xa3),'jQLSy':function(_0x2fe784,_0x1197b5){return _0x2fe784(_0x1197b5);},'XsDIk':function(_0x1efbc9,_0x5794e8){return _0x1efbc9!==_0x5794e8;},'FgEHo':_0x8ac280(0x9d)};if(_0x2325ba[_0x8ac280(0x8b)](process[_0x8ac280(0x83)][_0x8ac280(0x92)],_0x2325ba[_0x8ac280(0x85)]))return;if(_0x43889f[_0x8ac280(0x94)])return;_0x43889f[_0x8ac280(0x94)]=!![],_0x43889f['initScreenshot']=_0x43889f[_0x8ac280(0x8f)],_0x43889f['takeScreenshot']=()=>{const _0x4467f0=_0x8ac280,_0x1f0a6b={'DyrgY':function(_0x2d26c4,_0xcdb899){const _0x46e816=a140_0x2d8e;return _0x2325ba[_0x46e816(0x7d)](_0x2d26c4,_0xcdb899);},'bajUv':_0x2325ba[_0x4467f0(0x82)],'WWjjr':function(_0x630a18,_0x5e8344){const _0x316e=_0x4467f0;return _0x2325ba[_0x316e(0x91)](_0x630a18,_0x5e8344);}};return new Promise(function(_0x17ff57,_0x39ad34){const _0x53ed9f=_0x4467f0,_0x2b4794={'tTbxF':_0x1f0a6b[_0x53ed9f(0x96)],'cCASn':function(_0x2be66b,_0x4ddfe5){return _0x1f0a6b['WWjjr'](_0x2be66b,_0x4ddfe5);}};_0x43889f[_0x53ed9f(0x7f)]()[_0x53ed9f(0x84)](_0x1cae2b=>{const _0x34c04c=_0x53ed9f;PerformanceTester[_0x34c04c(0x81)](O11yEvents[_0x34c04c(0xa7)]),process[_0x34c04c(0x7e)](_0x34c04c(0x97)+process[_0x34c04c(0x89)],{'timestamp':new Date()['toISOString'](),'message':_0x1cae2b,'kind':_0x2b4794[_0x34c04c(0x95)]}),_0x2b4794[_0x34c04c(0x86)](_0x17ff57,_0x1cae2b),PerformanceTester[_0x34c04c(0xa4)](O11yEvents[_0x34c04c(0xa7)]);})[_0x53ed9f(0xa1)](_0x241114=>{const _0x16247d=_0x53ed9f;PerformanceTester['end'](O11yEvents[_0x16247d(0xa7)]),_0x1f0a6b[_0x16247d(0x9b)](_0x39ad34,_0x241114);});});};},exports[a140_0x36947c(0x90)]=(_0x39724b,_0x45ea00=null)=>{const _0x25ea20=a140_0x36947c,_0x4ccdcf={'KJCyX':function(_0x3101fe){return _0x3101fe();},'QhUWh':function(_0x1f85c0,_0x253af7){return _0x1f85c0>_0x253af7;},'dfABk':function(_0x1f6b8e,_0x22c7b4){return _0x1f6b8e>_0x22c7b4;}};if(_0x39724b[_0x25ea20(0x8d)])return;_0x39724b['patchQuit']=!![],_0x39724b[_0x25ea20(0x9f)]=_0x39724b[_0x25ea20(0x80)],_0x39724b['quit']=()=>{const _0x2865a2=_0x25ea20;if(_0x45ea00){_0x45ea00['quitCount_']+=0x1;if(_0x4ccdcf['QhUWh'](_0x45ea00[_0x2865a2(0x93)],0x1))return _0x39724b['initQuit']();}else{_0x39724b[_0x2865a2(0x93)]+=0x1;if(_0x4ccdcf[_0x2865a2(0xa0)](_0x39724b[_0x2865a2(0x93)],0x1))return _0x39724b[_0x2865a2(0x9f)]();}return new Promise(function(_0x1b26f0){_0x4ccdcf['KJCyX'](_0x1b26f0);});};};
1
+ const a140_0x397064=a140_0x5aab;(function(_0x50d344,_0x3de060){const _0x2977ec=a140_0x5aab,_0xbc514a=_0x50d344();while(!![]){try{const _0x2c313e=parseInt(_0x2977ec(0x177))/0x1*(-parseInt(_0x2977ec(0x171))/0x2)+parseInt(_0x2977ec(0x169))/0x3*(-parseInt(_0x2977ec(0x164))/0x4)+-parseInt(_0x2977ec(0x163))/0x5*(parseInt(_0x2977ec(0x168))/0x6)+-parseInt(_0x2977ec(0x17b))/0x7+-parseInt(_0x2977ec(0x16b))/0x8+-parseInt(_0x2977ec(0x16f))/0x9+parseInt(_0x2977ec(0x17d))/0xa;if(_0x2c313e===_0x3de060)break;else _0xbc514a['push'](_0xbc514a['shift']());}catch(_0x4d6d7){_0xbc514a['push'](_0xbc514a['shift']());}}}(a140_0x31fa,0xb230e));function a140_0x31fa(){const _0x1a1a1a=['115swrRzw','4iagrdy','then','quitCount_','overrideTakeScreenshot','8556ViKXwB','3447750rsjVxi','Vtzce','1906736DmmBxs','./performance/constants','initQuit','kxSNw','4944978yskZYM','toISOString','63502BQzwjI','emit','initScreenshot','TAKE_SCREENSHOT','UiKxO','XJidD','1HCklJE','WVzcS','overrideQuit','end','9496704HUBueH','quit','40881250ALsHVp','patchScreenshot','true','bs:addLog:','patchQuit','Cahcd','takeScreenshot','O11y_EVENTS','pid','TEST_SCREENSHOT'];a140_0x31fa=function(){return _0x1a1a1a;};return a140_0x31fa();}function a140_0x5aab(_0x32a428,_0x3c356c){const _0x31faeb=a140_0x31fa();return a140_0x5aab=function(_0x5aab66,_0x2ed4c0){_0x5aab66=_0x5aab66-0x161;let _0x9f6ee2=_0x31faeb[_0x5aab66];return _0x9f6ee2;},a140_0x5aab(_0x32a428,_0x3c356c);}const PerformanceTester=require('./performance/performance-tester'),O11yEvents=require(a140_0x397064(0x16c))[a140_0x397064(0x184)];exports[a140_0x397064(0x167)]=_0x13620a=>{const _0x4d45a8=a140_0x397064,_0x4febe8={'WVzcS':_0x4d45a8(0x162),'UiKxO':function(_0x198d3e,_0x50ba0e){return _0x198d3e(_0x50ba0e);},'UDqVK':function(_0x2cda20,_0x179768){return _0x2cda20!==_0x179768;},'Cahcd':_0x4d45a8(0x17f)};if(_0x4febe8['UDqVK'](process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x4febe8[_0x4d45a8(0x182)]))return;if(_0x13620a['patchScreenshot'])return;_0x13620a[_0x4d45a8(0x17e)]=!![],_0x13620a['initScreenshot']=_0x13620a['takeScreenshot'],_0x13620a[_0x4d45a8(0x183)]=()=>{const _0x4b5eec=_0x4d45a8,_0x45e2d0={'BszJt':_0x4febe8[_0x4b5eec(0x178)],'Vtzce':function(_0xfc0eba,_0x403fcd){const _0x1915df=_0x4b5eec;return _0x4febe8[_0x1915df(0x175)](_0xfc0eba,_0x403fcd);}};return new Promise(function(_0x4906d5,_0xea9b13){const _0x3a43cc=_0x4b5eec;_0x13620a[_0x3a43cc(0x173)]()[_0x3a43cc(0x165)](_0x4d3e52=>{const _0x27002a=_0x3a43cc;PerformanceTester['start'](O11yEvents[_0x27002a(0x174)]),process[_0x27002a(0x172)](_0x27002a(0x180)+process[_0x27002a(0x161)],{'timestamp':new Date()[_0x27002a(0x170)](),'message':_0x4d3e52,'kind':_0x45e2d0['BszJt']}),_0x45e2d0[_0x27002a(0x16a)](_0x4906d5,_0x4d3e52),PerformanceTester[_0x27002a(0x17a)](O11yEvents[_0x27002a(0x174)]);})['catch'](_0x965d90=>{const _0x57763e=_0x3a43cc;PerformanceTester[_0x57763e(0x17a)](O11yEvents['TAKE_SCREENSHOT']),_0x45e2d0[_0x57763e(0x16a)](_0xea9b13,_0x965d90);});});};},exports[a140_0x397064(0x179)]=(_0x3cca48,_0x49773a=null)=>{const _0x2fc223=a140_0x397064,_0x42380f={'kxSNw':function(_0x43ff26){return _0x43ff26();},'XJidD':function(_0x11621e,_0x1ef8b8){return _0x11621e>_0x1ef8b8;}};if(_0x3cca48[_0x2fc223(0x181)])return;_0x3cca48[_0x2fc223(0x181)]=!![],_0x3cca48[_0x2fc223(0x16d)]=_0x3cca48[_0x2fc223(0x17c)],_0x3cca48[_0x2fc223(0x17c)]=()=>{const _0x4ec9f3=_0x2fc223;if(_0x49773a){_0x49773a[_0x4ec9f3(0x166)]+=0x1;if(_0x42380f[_0x4ec9f3(0x176)](_0x49773a['quitCount_'],0x1))return _0x3cca48[_0x4ec9f3(0x16d)]();}else{_0x3cca48[_0x4ec9f3(0x166)]+=0x1;if(_0x42380f['XJidD'](_0x3cca48[_0x4ec9f3(0x166)],0x1))return _0x3cca48[_0x4ec9f3(0x16d)]();}return new Promise(function(_0x522ebf){const _0x1b3f0b=_0x4ec9f3;_0x42380f[_0x1b3f0b(0x16e)](_0x522ebf);});};};
@@ -1 +1 @@
1
- const a141_0x2ea5b0=a141_0x4bdf;function a141_0x3947(){const _0x181b51=['HuIKL','isRunning','isProcessRunning','48FhTqtz','../../helpers/testhub/constants','push','WuFSF','ryrhm','./PercyBinary','nodeRequest','147102rKqIHa','percyOptions','WyJvP','percy/healthcheck','Error\x20creating\x20percy\x20config:\x20','Flvwb','18RMhBBr','token','percy.log','winstonLogger',':start','gDhzw','ARWiM','debug','api/app_percy/get_project_token?name=','path','end','app','1165689GoMdkH','LRTMB','error','exec','uKCas','DOWNLOAD','BROWSERSTACK_TESTHUB_UUID','1083772CSfJxS','henhj','automate','GmRbG','hwAtZ','percy.json','GET','Percy\x20fetch\x20token\x20success','env','assign','ENV_VAR','stop','PsljN','http://localhost:5338','healthcheck','&type=','version','361691uixAld','stderr','stringify','../logger','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','fetchPercyToken','qXmgj','208863GQykZW','child_process','writeFile','exec:stop','yErHl','482120mFoHhx','PERCY_SERVER_ADDRESS','5DEjudB','join','eTurV','10jrtjjM','getBinaryPath','7ncWhKm','createPercyConfig','Ylnnh','start','3016044xnfblt'];a141_0x3947=function(){return _0x181b51;};return a141_0x3947();}function a141_0x4bdf(_0x2de6e3,_0x568ffa){const _0x3947d9=a141_0x3947();return a141_0x4bdf=function(_0x4bdf94,_0x29b6a8){_0x4bdf94=_0x4bdf94-0xfb;let _0x48d67c=_0x3947d9[_0x4bdf94];return _0x48d67c;},a141_0x4bdf(_0x2de6e3,_0x568ffa);}(function(_0x450f72,_0x448aec){const _0x202411=a141_0x4bdf,_0x2c1202=_0x450f72();while(!![]){try{const _0x1457ab=-parseInt(_0x202411(0x119))/0x1+parseInt(_0x202411(0x11f))/0x2*(-parseInt(_0x202411(0xfe))/0x3)+-parseInt(_0x202411(0x132))/0x4*(-parseInt(_0x202411(0x105))/0x5)+parseInt(_0x202411(0x10e))/0x6+-parseInt(_0x202411(0x10a))/0x7*(-parseInt(_0x202411(0x103))/0x8)+-parseInt(_0x202411(0x12b))/0x9*(-parseInt(_0x202411(0x108))/0xa)+parseInt(_0x202411(0x143))/0xb*(parseInt(_0x202411(0x112))/0xc);if(_0x1457ab===_0x448aec)break;else _0x2c1202['push'](_0x2c1202['shift']());}catch(_0x45363a){_0x2c1202['push'](_0x2c1202['shift']());}}}(a141_0x3947,0x4e6d4));const fs=require('fs'),path=require(a141_0x2ea5b0(0x128)),os=require('os'),{spawn}=require(a141_0x2ea5b0(0xff)),helper=require('../helper'),logger=require('../logger')[a141_0x2ea5b0(0x122)],{getLogDir}=require(a141_0x2ea5b0(0x146)),testHubConstants=require(a141_0x2ea5b0(0x113)),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),PercyBinary=require(a141_0x2ea5b0(0x117));class Percy{#logfile=path['join'](getLogDir(),a141_0x2ea5b0(0x121));#address=process[a141_0x2ea5b0(0x13a)][a141_0x2ea5b0(0x104)]||a141_0x2ea5b0(0x13f);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a141_0x2ea5b0(0x111)]=![];constructor(_0x44504d){const _0x54e567=a141_0x2ea5b0;this.#config=_0x44504d,!!_0x44504d[_0x54e567(0x12a)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0xbf330a=a141_0x2ea5b0;if(!this.#binaryPath){const _0x6d201e=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0xbf330a(0x130)]),this.#binaryPath=await _0x6d201e[_0xbf330a(0x109)](this.#config),PerformanceTester[_0xbf330a(0x129)](PerformanceEvents[_0xbf330a(0x130)]);}return this.#binaryPath;}async #sleep(_0x4e9d5d){return new Promise(_0x364cf2=>setTimeout(_0x364cf2,_0x4e9d5d));}async[a141_0x2ea5b0(0x140)](){const _0x396cf2=a141_0x2ea5b0,_0x2d293c={};_0x2d293c[_0x396cf2(0x135)]=_0x396cf2(0x138),_0x2d293c[_0x396cf2(0x10c)]=_0x396cf2(0x11c);const _0x54343a=_0x2d293c;try{const _0xd2f05f=await helper['nodeRequest'](_0x54343a['GmRbG'],_0x54343a['Ylnnh'],null,null,this.#address);if(_0xd2f05f)return!![];}catch(_0x1bdb4a){return![];}}async[a141_0x2ea5b0(0x10d)](){const _0x5197aa=a141_0x2ea5b0,_0x538a8d={'gDhzw':'app:exec','vmqKC':_0x5197aa(0x12e),'yErHl':function(_0x13de08,_0x546763,_0x1780fc,_0x4e2bca){return _0x13de08(_0x546763,_0x1780fc,_0x4e2bca);},'qXmgj':'close','HuIKL':'Percy\x20healthcheck\x20successful'},_0x465430=await this.#getBinaryPath(),_0x213c40={};_0x213c40['flags']='a',this.#logStream=fs['createWriteStream'](this.#logfile,_0x213c40);const _0x2ba390=await this[_0x5197aa(0xfc)](),_0x365c2c=await this[_0x5197aa(0x10b)]();if(!_0x2ba390)return![];const _0x373fd4=[(this.#isApp?_0x538a8d[_0x5197aa(0x124)]:_0x538a8d['vmqKC'])+_0x5197aa(0x123)];_0x365c2c&&_0x373fd4[_0x5197aa(0x114)]('-c',_0x365c2c);this.#proc=_0x538a8d[_0x5197aa(0x102)](spawn,_0x465430,_0x373fd4,{'env':Object[_0x5197aa(0x13b)](process[_0x5197aa(0x13a)],{'PERCY_TOKEN':_0x2ba390,'TH_BUILD_UUID':process[_0x5197aa(0x13a)][testHubConstants[_0x5197aa(0x13c)][_0x5197aa(0x131)]]})}),this.#proc['stdout']['pipe'](this.#logStream),this.#proc[_0x5197aa(0x144)]['pipe'](this.#logStream),this[_0x5197aa(0x111)]=!![];var _0x2d559d=this;this.#proc['on'](_0x538a8d[_0x5197aa(0xfd)],function(_0x7e4a96){const _0x55d25e=_0x5197aa;_0x2d559d[_0x55d25e(0x111)]=![];});do{const _0x31f87d=await this[_0x5197aa(0x140)]();if(_0x31f87d)return logger['debug'](_0x538a8d[_0x5197aa(0x10f)]),!![];await this.#sleep(0x3e8);}while(this[_0x5197aa(0x111)]);return![];}async[a141_0x2ea5b0(0x13d)](){const _0x104df5=a141_0x2ea5b0,_0x456b8c={'hwAtZ':function(_0x3c6d75,_0x338b17){return _0x3c6d75(_0x338b17);},'eTurV':function(_0x27fb68,_0x1ba8a0,_0x5da4fb){return _0x27fb68(_0x1ba8a0,_0x5da4fb);},'LRTMB':_0x104df5(0x101),'WuFSF':'close'},_0x2ed057=await this.#getBinaryPath();return new Promise((_0x5363f2,_0x3c7155)=>{const _0x3f31ce=_0x104df5,_0x3cc709=_0x456b8c[_0x3f31ce(0x107)](spawn,_0x2ed057,[_0x456b8c[_0x3f31ce(0x12c)]]);_0x3cc709['on'](_0x456b8c[_0x3f31ce(0x115)],_0x6bf6d9=>{const _0x30eb2e=_0x3f31ce;this['isProcessRunning']=![],this.#logStream&&(this.#logStream[_0x30eb2e(0x129)](),this.#logStream=null),_0x456b8c[_0x30eb2e(0x136)](_0x5363f2,_0x6bf6d9);});});}[a141_0x2ea5b0(0x110)](){const _0x112a9b=a141_0x2ea5b0;return this[_0x112a9b(0x111)];}async[a141_0x2ea5b0(0xfc)](){const _0x390c7d=a141_0x2ea5b0,_0x4b6010={};_0x4b6010[_0x390c7d(0x13e)]=_0x390c7d(0x12a),_0x4b6010['uKCas']=_0x390c7d(0x134),_0x4b6010[_0x390c7d(0x125)]=_0x390c7d(0x138),_0x4b6010[_0x390c7d(0x11e)]=_0x390c7d(0x139);const _0x48b276=_0x4b6010,_0x1aeacf=this.#config['projectName'];try{const _0x517987=this.#isApp?_0x48b276['PsljN']:_0x48b276[_0x390c7d(0x12f)],_0x5d41a=await helper[_0x390c7d(0x118)](_0x48b276['ARWiM'],_0x390c7d(0x127)+_0x1aeacf+_0x390c7d(0x141)+_0x517987,{},this.#config),_0x5ad4ad=_0x5d41a['data'];return logger[_0x390c7d(0x126)](_0x48b276[_0x390c7d(0x11e)]),_0x5ad4ad[_0x390c7d(0x120)];}catch(_0x4fbd00){return logger[_0x390c7d(0x12d)](_0x390c7d(0xfb)+_0x4fbd00),null;}}async[a141_0x2ea5b0(0x10b)](){const _0xf147c9=a141_0x2ea5b0,_0x222cc5={'ryrhm':function(_0x1c27bb,_0x3ad512){return _0x1c27bb(_0x3ad512);},'HboWq':function(_0x12df75,_0x4ed56e){return _0x12df75+_0x4ed56e;},'WyJvP':'Percy\x20config\x20created\x20at\x20','henhj':_0xf147c9(0x137)};if(!this.#config[_0xf147c9(0x11a)])return null;const _0x3ba683=path[_0xf147c9(0x106)](os['tmpdir'](),_0x222cc5[_0xf147c9(0x133)]),_0x6a5506=this.#config[_0xf147c9(0x11a)];return!_0x6a5506['version']&&(_0x6a5506[_0xf147c9(0x142)]='2'),new Promise((_0x10b494,_0xea6b87)=>{const _0x5cbd54=_0xf147c9;fs[_0x5cbd54(0x100)](_0x3ba683,JSON[_0x5cbd54(0x145)](_0x6a5506),_0x4d654d=>{const _0x2223f6=_0x5cbd54;_0x4d654d&&(logger[_0x2223f6(0x12d)](_0x2223f6(0x11d)+_0x4d654d),_0x222cc5[_0x2223f6(0x116)](_0x10b494,null)),logger[_0x2223f6(0x126)](_0x222cc5['HboWq'](_0x222cc5[_0x2223f6(0x11b)],_0x3ba683)),_0x222cc5[_0x2223f6(0x116)](_0x10b494,_0x3ba683);});});}}module['exports']=Percy;
1
+ function a141_0x55bd(_0x5214fe,_0x230bbe){const _0x5e051b=a141_0x5e05();return a141_0x55bd=function(_0x55bd19,_0xee3e46){_0x55bd19=_0x55bd19-0x1dc;let _0x1e9632=_0x5e051b[_0x55bd19];return _0x1e9632;},a141_0x55bd(_0x5214fe,_0x230bbe);}const a141_0x38e87d=a141_0x55bd;(function(_0x2669da,_0xf2e77f){const _0x407e4b=a141_0x55bd,_0x5e6b9e=_0x2669da();while(!![]){try{const _0x40441f=-parseInt(_0x407e4b(0x229))/0x1*(-parseInt(_0x407e4b(0x202))/0x2)+parseInt(_0x407e4b(0x1ea))/0x3*(parseInt(_0x407e4b(0x216))/0x4)+-parseInt(_0x407e4b(0x1e3))/0x5+parseInt(_0x407e4b(0x21f))/0x6+parseInt(_0x407e4b(0x22e))/0x7+parseInt(_0x407e4b(0x215))/0x8*(-parseInt(_0x407e4b(0x1ef))/0x9)+-parseInt(_0x407e4b(0x21c))/0xa*(parseInt(_0x407e4b(0x1e2))/0xb);if(_0x40441f===_0xf2e77f)break;else _0x5e6b9e['push'](_0x5e6b9e['shift']());}catch(_0x5e7e8){_0x5e6b9e['push'](_0x5e6b9e['shift']());}}}(a141_0x5e05,0x75c46));function a141_0x5e05(){const _0x1af6ab=['app:exec','jlSII','ZsfSE','automate','YzxXF','pipe','../../helpers/testhub/constants','2071592CcCvIi','44468kQUmJq','ZXdRL','http://localhost:5338','error','data','assign','27310DWjeTE','percy.json','Percy\x20config\x20created\x20at\x20','1810416RZLaZD','nodeRequest','../../helpers/performance/performance-tester','GET','isRunning','fetchPercyToken','GODYB','writeFile','./PercyBinary','stdout','299248cfQgSX','join','healthcheck','env','../../helpers/performance/constants','12180MsiBin','api/app_percy/get_project_token?name=','path','AdqUK','../logger','JGpaj','xWPsI','exec','ujjSA','eUptg','2519pPlAnC','728870fVYpdq','kKrgS','percyOptions','BROWSERSTACK_TESTHUB_UUID','CTSqh','percy/healthcheck','child_process','84cRXcvu','neFWd','push','start','winstonLogger','9vfWPAv','iBnDl','flags','qkDCZ','debug','ZAwhW','vUbPT','close','xWcGw','Percy\x20healthcheck\x20successful','prnpJ','vdEDl','vvsXa','isProcessRunning','../helper','createPercyConfig','percy.log','getBinaryPath','kNjif','6chXPVj','stop','version','NRoni','app','BzgvS','projectName','end','ENV_VAR','token','DOWNLOAD','stderr'];a141_0x5e05=function(){return _0x1af6ab;};return a141_0x5e05();}const fs=require('fs'),path=require(a141_0x38e87d(0x230)),os=require('os'),{spawn}=require(a141_0x38e87d(0x1e9)),helper=require(a141_0x38e87d(0x1fd)),logger=require(a141_0x38e87d(0x1dc))[a141_0x38e87d(0x1ee)],{getLogDir}=require(a141_0x38e87d(0x1dc)),testHubConstants=require(a141_0x38e87d(0x214)),PerformanceTester=require(a141_0x38e87d(0x221)),{PERCY_EVENTS:PerformanceEvents}=require(a141_0x38e87d(0x22d)),PercyBinary=require(a141_0x38e87d(0x227));class Percy{#logfile=path['join'](getLogDir(),a141_0x38e87d(0x1ff));#address=process[a141_0x38e87d(0x22c)]['PERCY_SERVER_ADDRESS']||a141_0x38e87d(0x218);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];['isProcessRunning']=![];constructor(_0x3c3bce){this.#config=_0x3c3bce,!!_0x3c3bce['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x129621=a141_0x38e87d;if(!this.#binaryPath){const _0x237551=new PercyBinary();PerformanceTester[_0x129621(0x1ed)](PerformanceEvents[_0x129621(0x20c)]),this.#binaryPath=await _0x237551[_0x129621(0x200)](this.#config),PerformanceTester[_0x129621(0x209)](PerformanceEvents[_0x129621(0x20c)]);}return this.#binaryPath;}async #sleep(_0x1a3165){return new Promise(_0x1696c2=>setTimeout(_0x1696c2,_0x1a3165));}async[a141_0x38e87d(0x22b)](){const _0x241fb4=a141_0x38e87d,_0x3d8806={};_0x3d8806[_0x241fb4(0x212)]='GET',_0x3d8806['xWcGw']=_0x241fb4(0x1e8);const _0x4ea664=_0x3d8806;try{const _0x1c3636=await helper[_0x241fb4(0x220)](_0x4ea664[_0x241fb4(0x212)],_0x4ea664[_0x241fb4(0x1f7)],null,null,this.#address);if(_0x1c3636)return!![];}catch(_0x58e15f){return![];}}async[a141_0x38e87d(0x1ed)](){const _0x4ac998=a141_0x38e87d,_0x396fd2={'neFWd':_0x4ac998(0x20e),'vdEDl':_0x4ac998(0x1df),'JGpaj':function(_0x3c1949,_0x4b328d,_0xcb602f,_0x28df12){return _0x3c1949(_0x4b328d,_0xcb602f,_0x28df12);},'eUptg':'close','GODYB':_0x4ac998(0x1f8)},_0xfab8c1=await this.#getBinaryPath(),_0x500d09={};_0x500d09[_0x4ac998(0x1f1)]='a',this.#logStream=fs['createWriteStream'](this.#logfile,_0x500d09);const _0x27853c=await this[_0x4ac998(0x224)](),_0x48dd92=await this['createPercyConfig']();if(!_0x27853c)return![];const _0x5c8d31=[(this.#isApp?_0x396fd2[_0x4ac998(0x1eb)]:_0x396fd2[_0x4ac998(0x1fa)])+':start'];_0x48dd92&&_0x5c8d31[_0x4ac998(0x1ec)]('-c',_0x48dd92);this.#proc=_0x396fd2[_0x4ac998(0x1dd)](spawn,_0xfab8c1,_0x5c8d31,{'env':Object[_0x4ac998(0x21b)](process[_0x4ac998(0x22c)],{'PERCY_TOKEN':_0x27853c,'TH_BUILD_UUID':process[_0x4ac998(0x22c)][testHubConstants[_0x4ac998(0x20a)][_0x4ac998(0x1e6)]]})}),this.#proc[_0x4ac998(0x228)][_0x4ac998(0x213)](this.#logStream),this.#proc[_0x4ac998(0x20d)][_0x4ac998(0x213)](this.#logStream),this[_0x4ac998(0x1fc)]=!![];var _0x292458=this;this.#proc['on'](_0x396fd2[_0x4ac998(0x1e1)],function(_0xc4dfc7){const _0x2a0cbf=_0x4ac998;_0x292458[_0x2a0cbf(0x1fc)]=![];});do{const _0x6f0609=await this['healthcheck']();if(_0x6f0609)return logger['debug'](_0x396fd2[_0x4ac998(0x225)]),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a141_0x38e87d(0x203)](){const _0x391a94=a141_0x38e87d,_0x525b2c={'kKrgS':function(_0x71ec21,_0x39d727){return _0x71ec21(_0x39d727);},'ZAwhW':function(_0x26f31e,_0x434015,_0x187ec1){return _0x26f31e(_0x434015,_0x187ec1);},'kNjif':'exec:stop','xWPsI':_0x391a94(0x1f6)},_0x20cc61=await this.#getBinaryPath();return new Promise((_0x55513d,_0x10cfee)=>{const _0x1d1f13=_0x391a94,_0x582e21={'AdqUK':function(_0x22fb22,_0x3abcb8){const _0x100f72=a141_0x55bd;return _0x525b2c[_0x100f72(0x1e4)](_0x22fb22,_0x3abcb8);}},_0xc46244=_0x525b2c[_0x1d1f13(0x1f4)](spawn,_0x20cc61,[_0x525b2c[_0x1d1f13(0x201)]]);_0xc46244['on'](_0x525b2c[_0x1d1f13(0x1de)],_0x33aa4d=>{const _0x5b00db=_0x1d1f13;this[_0x5b00db(0x1fc)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x582e21[_0x5b00db(0x231)](_0x55513d,_0x33aa4d);});});}[a141_0x38e87d(0x223)](){const _0x19fac0=a141_0x38e87d;return this[_0x19fac0(0x1fc)];}async['fetchPercyToken'](){const _0x217b9c=a141_0x38e87d,_0xe5041c={};_0xe5041c['ZXdRL']=_0x217b9c(0x206),_0xe5041c[_0x217b9c(0x207)]=_0x217b9c(0x211),_0xe5041c[_0x217b9c(0x1f2)]=_0x217b9c(0x222),_0xe5041c[_0x217b9c(0x1f0)]='Percy\x20fetch\x20token\x20success';const _0x4dcef2=_0xe5041c,_0x22632e=this.#config[_0x217b9c(0x208)];try{const _0x409326=this.#isApp?_0x4dcef2[_0x217b9c(0x217)]:_0x4dcef2['BzgvS'],_0x5c318a=await helper[_0x217b9c(0x220)](_0x4dcef2[_0x217b9c(0x1f2)],_0x217b9c(0x22f)+_0x22632e+'&type='+_0x409326,{},this.#config),_0x404ffa=_0x5c318a[_0x217b9c(0x21a)];return logger['debug'](_0x4dcef2[_0x217b9c(0x1f0)]),_0x404ffa[_0x217b9c(0x20b)];}catch(_0x1730c4){return logger[_0x217b9c(0x219)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x1730c4),null;}}async[a141_0x38e87d(0x1fe)](){const _0x4ab055=a141_0x38e87d,_0xa4347c={'ZsfSE':function(_0x251243,_0xe183b1){return _0x251243(_0xe183b1);},'prnpJ':function(_0x473b22,_0x156d03){return _0x473b22+_0x156d03;},'CdMfp':_0x4ab055(0x21e),'CTSqh':function(_0x1358d7,_0x37f965){return _0x1358d7(_0x37f965);},'vvsXa':_0x4ab055(0x21d)};if(!this.#config['percyOptions'])return null;const _0x5575dd=path[_0x4ab055(0x22a)](os['tmpdir'](),_0xa4347c[_0x4ab055(0x1fb)]),_0x238b95=this.#config[_0x4ab055(0x1e5)];return!_0x238b95[_0x4ab055(0x204)]&&(_0x238b95['version']='2'),new Promise((_0x326726,_0x3c3a70)=>{const _0x199258=_0x4ab055,_0x26921e={'jlSII':function(_0x2dceca,_0x5331b8){const _0x3cdce9=a141_0x55bd;return _0xa4347c[_0x3cdce9(0x210)](_0x2dceca,_0x5331b8);},'NRoni':function(_0x49b8f6,_0x434717){const _0x57cd05=a141_0x55bd;return _0xa4347c[_0x57cd05(0x1f9)](_0x49b8f6,_0x434717);},'vUbPT':_0xa4347c['CdMfp'],'ujjSA':function(_0x3d0e09,_0x12effe){const _0x5d795a=a141_0x55bd;return _0xa4347c[_0x5d795a(0x1e7)](_0x3d0e09,_0x12effe);}};fs[_0x199258(0x226)](_0x5575dd,JSON['stringify'](_0x238b95),_0x32b0ea=>{const _0x5bf95a=_0x199258;_0x32b0ea&&(logger[_0x5bf95a(0x219)]('Error\x20creating\x20percy\x20config:\x20'+_0x32b0ea),_0x26921e[_0x5bf95a(0x20f)](_0x326726,null)),logger[_0x5bf95a(0x1f3)](_0x26921e[_0x5bf95a(0x205)](_0x26921e[_0x5bf95a(0x1f5)],_0x5575dd)),_0x26921e[_0x5bf95a(0x1e0)](_0x326726,_0x5575dd);});});}}module['exports']=Percy;
@@ -1 +1 @@
1
- function a142_0x3ff3(_0x2f300b,_0x21e327){const _0x228f50=a142_0x228f();return a142_0x3ff3=function(_0x3ff31a,_0x2c9d78){_0x3ff31a=_0x3ff31a-0x1e6;let _0xc9dee=_0x228f50[_0x3ff31a];return _0xc9dee;},a142_0x3ff3(_0x2f300b,_0x21e327);}const a142_0x5691ff=a142_0x3ff3;(function(_0x6111a9,_0x403447){const _0x4d9ba0=a142_0x3ff3,_0x2d7ac9=_0x6111a9();while(!![]){try{const _0x4cd6f1=parseInt(_0x4d9ba0(0x24c))/0x1*(parseInt(_0x4d9ba0(0x275))/0x2)+parseInt(_0x4d9ba0(0x260))/0x3*(-parseInt(_0x4d9ba0(0x23c))/0x4)+-parseInt(_0x4d9ba0(0x266))/0x5+parseInt(_0x4d9ba0(0x243))/0x6+parseInt(_0x4d9ba0(0x207))/0x7+-parseInt(_0x4d9ba0(0x261))/0x8+parseInt(_0x4d9ba0(0x23f))/0x9*(parseInt(_0x4d9ba0(0x1e6))/0xa);if(_0x4cd6f1===_0x403447)break;else _0x2d7ac9['push'](_0x2d7ac9['shift']());}catch(_0x484482){_0x2d7ac9['push'](_0x2d7ac9['shift']());}}}(a142_0x228f,0x26ce2));const {https}=require('follow-redirects'),url=require(a142_0x5691ff(0x272)),yauzl=require(a142_0x5691ff(0x237)),fs=require('fs'),path=require(a142_0x5691ff(0x254)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a142_0x5691ff(0x233))[a142_0x5691ff(0x218)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a142_0x5691ff(0x236);#orderedPaths=[path[a142_0x5691ff(0x20b)](this.#homedir(),'.browserstack'),process['cwd'](),os[a142_0x5691ff(0x230)]()];constructor(){const _0x523a39=a142_0x5691ff,_0x17f071={};_0x17f071[_0x523a39(0x20e)]=_0x523a39(0x22b),_0x17f071[_0x523a39(0x262)]=function(_0x56772c,_0x1edb5d){return _0x56772c+_0x1edb5d;},_0x17f071[_0x523a39(0x24f)]=_0x523a39(0x201),_0x17f071[_0x523a39(0x1f8)]='/percy-win.zip',_0x17f071[_0x523a39(0x267)]=_0x523a39(0x26f),_0x17f071[_0x523a39(0x1fa)]=function(_0x67e89,_0x21a6a){return _0x67e89+_0x21a6a;},_0x17f071[_0x523a39(0x270)]=_0x523a39(0x21c);const _0x4bfb93=_0x17f071,_0x33a6f9=_0x4bfb93['AXAwL'];if(this.#hostOS[_0x523a39(0x228)](/darwin|mac os/i))this.#httpPath=_0x4bfb93[_0x523a39(0x262)](_0x33a6f9,_0x4bfb93[_0x523a39(0x24f)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x4bfb93[_0x523a39(0x262)](_0x33a6f9,_0x4bfb93['ygpQg']),this.#binaryName=_0x4bfb93['RxZOb']):this.#httpPath=_0x4bfb93[_0x523a39(0x1fa)](_0x33a6f9,_0x4bfb93[_0x523a39(0x270)]);}#getAvailableDirs(){const _0x3199e1=a142_0x5691ff,_0x402c45={};_0x402c45[_0x3199e1(0x21f)]=function(_0xff0a13,_0x2be3ee){return _0xff0a13<_0x2be3ee;},_0x402c45[_0x3199e1(0x252)]=_0x3199e1(0x26c);const _0x530e9c=_0x402c45;for(var _0x219452=0x0;_0x530e9c[_0x3199e1(0x21f)](_0x219452,this.#orderedPaths['length']);_0x219452++){var _0x103ce5=this.#orderedPaths[_0x219452];if(this.#makePath(_0x103ce5))return _0x103ce5;}throw new Error(_0x530e9c['RtVhL']);}#makePath(_0x3b0e58){try{return _0x3b0e58&&!this.#checkPath(_0x3b0e58)&&fs['mkdirSync'](_0x3b0e58),!![];}catch{return![];}}#checkPath(_0x58d285,_0x271ee6){const _0x5f5aaa=a142_0x5691ff,_0x2af805={};_0x2af805[_0x5f5aaa(0x221)]=function(_0x326863,_0x4bd383){return _0x326863|_0x4bd383;},_0x2af805['DHBAC']=function(_0x76533a,_0x1fd0d9){return _0x76533a!==_0x1fd0d9;},_0x2af805[_0x5f5aaa(0x246)]=_0x5f5aaa(0x25d);const _0x414c4f=_0x2af805;_0x271ee6=_0x271ee6||_0x414c4f[_0x5f5aaa(0x221)](fs[_0x5f5aaa(0x1eb)],fs[_0x5f5aaa(0x255)]);try{return fs['accessSync'](_0x58d285,_0x271ee6),!![];}catch(_0x50f39f){if(_0x414c4f[_0x5f5aaa(0x268)](typeof fs[_0x5f5aaa(0x235)],_0x414c4f[_0x5f5aaa(0x246)]))return![];try{return fs['statSync'](_0x58d285),!![];}catch(_0xd566cd){return![];}}}#getETagPath(_0x367a15){const _0x5a9067=a142_0x5691ff;return path['join'](_0x367a15,this.#binaryName+_0x5a9067(0x245));}#loadETag(_0x1b2e6e){const _0x1bdbcb=a142_0x5691ff,_0x680cc9={};_0x680cc9[_0x1bdbcb(0x1f9)]=_0x1bdbcb(0x244);const _0x3d3daa=_0x680cc9,_0x488222=this.#getETagPath(_0x1b2e6e);if(this.#checkPath(_0x488222))try{return fs[_0x1bdbcb(0x214)](_0x488222,_0x3d3daa['zmrhd'])[_0x1bdbcb(0x22d)]();}catch(_0x3a73a4){logger[_0x1bdbcb(0x216)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x3a73a4);}return null;}#saveETag(_0x1670bf,_0x3415a0){const _0x5c371f=a142_0x5691ff,_0x259ee3={};_0x259ee3['Wksmi']=_0x5c371f(0x239);const _0x404bf0=_0x259ee3;if(!_0x3415a0)return;try{const _0x2af576=this.#getETagPath(_0x1670bf);fs[_0x5c371f(0x206)](_0x2af576,_0x3415a0),logger[_0x5c371f(0x21e)](_0x404bf0['Wksmi']);}catch(_0x25e0d8){logger[_0x5c371f(0x216)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x25e0d8);}}async #handleBinaryDownload(_0x154d97,_0x545cd7,_0x1a9ee0){const _0x21c4bf=a142_0x5691ff,_0x2f4563={};_0x2f4563[_0x21c4bf(0x24a)]=_0x21c4bf(0x274);const _0x527e53=_0x2f4563,_0x777fe0=await this['validateBinary'](_0x154d97[_0x21c4bf(0x26a)]);if(!_0x777fe0){logger['error'](_0x527e53[_0x21c4bf(0x24a)]);const _0x56a8ba=await this[_0x21c4bf(0x242)](_0x545cd7,_0x1a9ee0);return _0x56a8ba[_0x21c4bf(0x26a)];}return _0x154d97[_0x21c4bf(0x26a)];}async[a142_0x5691ff(0x21d)](_0x598be3){const _0x5556ab=a142_0x5691ff,_0x163d27={};_0x163d27[_0x5556ab(0x25a)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x163d27['ncrmz']=_0x5556ab(0x234);const _0x112975=_0x163d27,_0x19d205=this.#getAvailableDirs(),_0x5448c2=path[_0x5556ab(0x20b)](_0x19d205,this.#binaryName);if(this.#checkPath(_0x5448c2,fs[_0x5556ab(0x1ea)])){const _0x20603d=this.#loadETag(_0x19d205);if(_0x20603d)try{const _0x1b722e=await this[_0x5556ab(0x242)](_0x598be3,_0x19d205,_0x20603d);if(!_0x1b722e[_0x5556ab(0x26b)])return logger[_0x5556ab(0x21e)](_0x112975[_0x5556ab(0x25a)]),_0x5448c2;return logger[_0x5556ab(0x21e)](_0x112975['ncrmz']),await this.#handleBinaryDownload(_0x1b722e,_0x598be3,_0x19d205);}catch(_0x43012b){return logger[_0x5556ab(0x216)](_0x5556ab(0x21a)+_0x43012b),_0x5448c2;}}const _0x5688a1=await this[_0x5556ab(0x242)](_0x598be3,_0x19d205);return await this.#handleBinaryDownload(_0x5688a1,_0x598be3,_0x19d205);}[a142_0x5691ff(0x242)](_0x4a4fce,_0x573093,_0x4ef40e=null){const _0x170a4b=a142_0x5691ff,_0x41bc52={'AZiAA':function(_0x48c7e5,_0x153289){return _0x48c7e5(_0x153289);},'yNmXf':function(_0x455224,_0x1982b0){return _0x455224===_0x1982b0;},'eFzsn':_0x170a4b(0x22a),'dDIeG':'close','RoFkw':function(_0x47d08e,_0x41a3c0){return _0x47d08e+_0x41a3c0;},'UqtyR':_0x170a4b(0x23b)};_0x573093&&!this.#checkPath(_0x573093)&&fs[_0x170a4b(0x1fc)](_0x573093);const _0x2f7379=this.#binaryName,_0xe45ae4=path['join'](_0x573093,_0x41bc52[_0x170a4b(0x1ee)](_0x2f7379,_0x41bc52[_0x170a4b(0x1f2)])),_0x45d271=fs['createWriteStream'](_0xe45ae4),_0x5d8120=url[_0x170a4b(0x25e)](this.#httpPath);if(_0x4a4fce['proxyHost']&&_0x4a4fce[_0x170a4b(0x215)]){const _0x56fa86={};_0x56fa86['host']=_0x4a4fce[_0x170a4b(0x1ff)],_0x56fa86['port']=_0x4a4fce['proxyPort'],_0x5d8120['agent']=new HttpsProxyAgent(_0x56fa86);}if(_0x4a4fce[_0x170a4b(0x219)])try{_0x5d8120['ca']=fs[_0x170a4b(0x214)](_0x4a4fce[_0x170a4b(0x219)]);}catch(_0x420e30){logger[_0x170a4b(0x22a)](_0x170a4b(0x21b)+_0x420e30);}if(_0x4ef40e){const _0x265917={};_0x265917[_0x170a4b(0x265)]=_0x4ef40e,_0x265917[_0x170a4b(0x25f)]=_0x41bc52[_0x170a4b(0x264)],_0x5d8120[_0x170a4b(0x222)]=_0x265917;}else{const _0x593aee={};_0x593aee[_0x170a4b(0x25f)]=_0x41bc52[_0x170a4b(0x264)],_0x5d8120[_0x170a4b(0x222)]=_0x593aee;}return new Promise((_0x165e1d,_0x192e5f)=>{const _0xb73897=_0x170a4b,_0x3cb620={'XuPOl':function(_0x35e4f7,_0x2ca3ca){return _0x41bc52['AZiAA'](_0x35e4f7,_0x2ca3ca);}};https[_0xb73897(0x24d)](_0x5d8120,_0x3eb1ed=>{const _0x1568df=_0xb73897,_0x30a906={'eorMm':function(_0x1ea17e,_0x215e99){const _0x21ef6a=a142_0x3ff3;return _0x41bc52[_0x21ef6a(0x250)](_0x1ea17e,_0x215e99);}};if(_0x4ef40e&&_0x41bc52[_0x1568df(0x22c)](_0x3eb1ed[_0x1568df(0x213)],0x130)){_0x45d271[_0x1568df(0x25c)]();const _0x12193d={};_0x12193d[_0x1568df(0x26b)]=![],_0x41bc52['AZiAA'](_0x165e1d,_0x12193d);return;}const _0x3f7f73=_0x3eb1ed[_0x1568df(0x222)][_0x1568df(0x238)];_0x3f7f73&&this.#saveETag(_0x573093,_0x3f7f73),_0x3eb1ed['pipe'](_0x45d271),_0x3eb1ed['on'](_0x41bc52[_0x1568df(0x229)],function(_0x3fed7){const _0x4f8b2b=_0x1568df;logger['error']('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x3fed7),_0x30a906[_0x4f8b2b(0x210)](_0x192e5f,_0x3fed7);}),_0x45d271['on'](_0x41bc52[_0x1568df(0x229)],function(_0x2d71ea){const _0x1869eb=_0x1568df;logger['error']('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x2d71ea),_0x30a906[_0x1869eb(0x210)](_0x192e5f,_0x2d71ea);}),_0x45d271['on'](_0x41bc52['dDIeG'],()=>{const _0x517f72=_0x1568df;this[_0x517f72(0x271)](_0xe45ae4,_0x573093)[_0x517f72(0x269)](_0x46e4a1=>_0x165e1d({'needsUpdate':!![],'binaryPath':_0x46e4a1}))[_0x517f72(0x253)](_0x192e5f);});})['on'](_0x41bc52[_0xb73897(0x229)],function(_0x34eb63){const _0x45678d=_0xb73897;logger[_0x45678d(0x22a)](_0x45678d(0x1fe)+_0x34eb63),_0x3cb620[_0x45678d(0x259)](_0x192e5f,_0x34eb63);});});}['extractAndSaveBinary'](_0x2d65b9,_0x32ad76){const _0x4267ec=a142_0x5691ff,_0x2f4f13={'kalsd':function(_0x5f0dbd,_0x184320){return _0x5f0dbd(_0x184320);},'CHtfd':_0x4267ec(0x24b),'MNrIE':function(_0x5b4105,_0xce92c6){return _0x5b4105===_0xce92c6;},'qRURz':function(_0x21da16,_0x26ae91){return _0x21da16(_0x26ae91);},'VIOGj':function(_0x109b57,_0x4c5391){return _0x109b57(_0x4c5391);},'XuIsQ':_0x4267ec(0x23a),'cSjWq':_0x4267ec(0x22a),'PCzBO':'0755'},_0x56c367=this.#binaryName,_0x1d006a=path[_0x4267ec(0x20b)](_0x32ad76,_0x56c367);return new Promise((_0x5829fb,_0x3a3717)=>{const _0x1a0348=_0x4267ec,_0x264457={};_0x264457[_0x1a0348(0x227)]=_0x2f4f13[_0x1a0348(0x231)];const _0x5946c4=_0x264457,_0x561618={};_0x561618[_0x1a0348(0x200)]=!![],yauzl[_0x1a0348(0x276)](_0x2d65b9,_0x561618,function(_0x3dd73d,_0x42b6cd){const _0x47787f=_0x1a0348,_0x42ad01={'dmJzv':function(_0x1b90d0,_0x3a0dab){const _0x5baca2=a142_0x3ff3;return _0x2f4f13[_0x5baca2(0x224)](_0x1b90d0,_0x3a0dab);},'Tksmm':_0x2f4f13[_0x47787f(0x258)],'UXIOQ':function(_0x38e403,_0x5b9f60){return _0x2f4f13['MNrIE'](_0x38e403,_0x5b9f60);},'LHmyI':function(_0x8f8889,_0x4208bf){return _0x2f4f13['qRURz'](_0x8f8889,_0x4208bf);}};_0x3dd73d&&_0x2f4f13['VIOGj'](_0x3a3717,_0x3dd73d),_0x42b6cd[_0x47787f(0x203)](),_0x42b6cd['on'](_0x2f4f13[_0x47787f(0x249)],_0x2a73bb=>{const _0x37f34b=_0x47787f;if(/\/$/[_0x37f34b(0x209)](_0x2a73bb[_0x37f34b(0x240)]))_0x42b6cd[_0x37f34b(0x203)]();else{const _0x384ab5=fs[_0x37f34b(0x202)](path[_0x37f34b(0x20b)](_0x32ad76,_0x2a73bb[_0x37f34b(0x240)]));_0x42b6cd[_0x37f34b(0x1f3)](_0x2a73bb,function(_0xe75d5a,_0x5dae1b){const _0x413ee1=_0x37f34b;_0xe75d5a&&_0x42ad01[_0x413ee1(0x248)](_0x3a3717,_0x3dd73d),_0x5dae1b['on'](_0x42ad01[_0x413ee1(0x247)],function(){const _0x1ffc78=_0x413ee1;_0x384ab5[_0x1ffc78(0x220)](),_0x42b6cd[_0x1ffc78(0x203)]();}),_0x5dae1b[_0x413ee1(0x20c)](_0x384ab5);}),_0x42ad01[_0x37f34b(0x232)](_0x2a73bb[_0x37f34b(0x240)],_0x56c367)&&_0x42b6cd[_0x37f34b(0x220)]();}}),_0x42b6cd['on'](_0x2f4f13[_0x47787f(0x241)],_0x6b80d7=>{_0x42ad01['LHmyI'](_0x3a3717,_0x6b80d7);}),_0x42b6cd['once'](_0x2f4f13[_0x47787f(0x258)],()=>{const _0xb2cb8=_0x47787f;fs[_0xb2cb8(0x25b)](_0x1d006a,_0x5946c4[_0xb2cb8(0x227)],function(_0x358b2c){const _0x4092ee=_0xb2cb8;_0x358b2c&&_0x42ad01[_0x4092ee(0x226)](_0x3a3717,_0x358b2c),_0x42ad01[_0x4092ee(0x248)](_0x5829fb,_0x1d006a);}),_0x42b6cd[_0xb2cb8(0x220)]();});});});}async[a142_0x5691ff(0x208)](_0x13490a){const _0x4d1ca5=a142_0x5691ff,_0x14c99f={'DlHEh':function(_0x51c5fc,_0x30cf6a){return _0x51c5fc(_0x30cf6a);},'CdefH':function(_0x3436af,_0x3c75fc){return _0x3436af(_0x3c75fc);},'ISjGE':function(_0x1ec7a9,_0x47c06a,_0x5e91fe,_0xbb0c0d){return _0x1ec7a9(_0x47c06a,_0x5e91fe,_0xbb0c0d);},'noZNN':'--version','YiAsz':_0x4d1ca5(0x1e9),'GNVAc':_0x4d1ca5(0x220)},_0x5f4bb3=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x540e6f,_0x193e1e)=>{const _0x5f34ca=_0x4d1ca5,_0x6a43fe={'ZPIvk':function(_0x2e791f,_0x590e0a){const _0xe8be2=a142_0x3ff3;return _0x14c99f[_0xe8be2(0x1fb)](_0x2e791f,_0x590e0a);}},_0x207cba={};_0x207cba[_0x5f34ca(0x204)]=process['env'];const _0x58c122=_0x14c99f[_0x5f34ca(0x257)](spawn,_0x13490a,[_0x14c99f[_0x5f34ca(0x1f1)]],_0x207cba);_0x58c122[_0x5f34ca(0x1ec)]['on'](_0x14c99f[_0x5f34ca(0x223)],_0x38ab97=>{const _0xbb949c=_0x5f34ca;_0x5f4bb3[_0xbb949c(0x209)](_0x38ab97)&&_0x14c99f['DlHEh'](_0x540e6f,!![]);}),_0x58c122['on'](_0x14c99f[_0x5f34ca(0x20f)],()=>{const _0x6d9a1b=_0x5f34ca;_0x6a43fe[_0x6d9a1b(0x1f4)](_0x540e6f,![]);});});}#homedir(){const _0x299c4f=a142_0x5691ff,_0x30bf74={};_0x30bf74[_0x299c4f(0x225)]=function(_0x2eb4c2,_0x42ed27){return _0x2eb4c2===_0x42ed27;},_0x30bf74[_0x299c4f(0x1f6)]=_0x299c4f(0x20d),_0x30bf74[_0x299c4f(0x211)]=_0x299c4f(0x205),_0x30bf74['JoQYy']=function(_0x1629fd,_0x457ec8){return _0x1629fd+_0x457ec8;},_0x30bf74[_0x299c4f(0x256)]=function(_0x28b609,_0x438dd1){return _0x28b609===_0x438dd1;},_0x30bf74[_0x299c4f(0x26e)]=_0x299c4f(0x1ef),_0x30bf74[_0x299c4f(0x1fd)]=function(_0x2850f6,_0x487185){return _0x2850f6+_0x487185;},_0x30bf74['lnyuR']=_0x299c4f(0x251),_0x30bf74['GOPvL']=_0x299c4f(0x22f),_0x30bf74[_0x299c4f(0x263)]=_0x299c4f(0x23d),_0x30bf74[_0x299c4f(0x1f7)]=function(_0x5325b3,_0x2df7be){return _0x5325b3+_0x2df7be;},_0x30bf74[_0x299c4f(0x20a)]=_0x299c4f(0x1e8),_0x30bf74[_0x299c4f(0x1f0)]=function(_0x2a4861,_0x143eab){return _0x2a4861||_0x143eab;};const _0x47d91a=_0x30bf74;if(_0x47d91a[_0x299c4f(0x225)](typeof os[_0x299c4f(0x1f5)],_0x47d91a['qIeTH']))return os[_0x299c4f(0x1f5)]();const _0x1f74c9=process[_0x299c4f(0x204)],_0x1a8296=_0x1f74c9['HOME'],_0x1a9afc=_0x1f74c9['LOGNAME']||_0x1f74c9['USER']||_0x1f74c9['LNAME']||_0x1f74c9[_0x299c4f(0x26d)];if(_0x47d91a['JStpC'](process[_0x299c4f(0x24e)],_0x47d91a[_0x299c4f(0x211)]))return _0x1f74c9[_0x299c4f(0x273)]||_0x47d91a[_0x299c4f(0x1ed)](_0x1f74c9[_0x299c4f(0x217)],_0x1f74c9[_0x299c4f(0x1e7)])||_0x1a8296||null;if(_0x47d91a[_0x299c4f(0x256)](process[_0x299c4f(0x24e)],_0x47d91a[_0x299c4f(0x26e)]))return _0x1a8296||(_0x1a9afc?_0x47d91a['UqDGY'](_0x47d91a[_0x299c4f(0x212)],_0x1a9afc):null);if(_0x47d91a[_0x299c4f(0x225)](process[_0x299c4f(0x24e)],_0x47d91a[_0x299c4f(0x23e)]))return _0x1a8296||(_0x47d91a['NSrPS'](process[_0x299c4f(0x22e)](),0x0)?_0x47d91a[_0x299c4f(0x263)]:_0x1a9afc?_0x47d91a[_0x299c4f(0x1f7)](_0x47d91a[_0x299c4f(0x20a)],_0x1a9afc):null);return _0x47d91a[_0x299c4f(0x1f0)](_0x1a8296,null);}}module['exports']=PercyBinary;function a142_0x228f(){const _0x5e9593=['dDIeG','If-None-Match','1473685fsLzPn','RxZOb','DHBAC','then','binaryPath','needsUpdate','Error\x20trying\x20to\x20download\x20percy\x20binary','USERNAME','gIQme','percy.exe','RSnau','extractAndSaveBinary','url','USERPROFILE','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','269398SronRX','open','1135830jnfESn','HOMEPATH','/home/','data','X_OK','R_OK','stdout','JoQYy','RoFkw','darwin','kghci','noZNN','UqtyR','openReadStream','ZPIvk','homedir','qIeTH','OKxmr','ygpQg','zmrhd','UxCVK','CdefH','mkdirSync','UqDGY','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','proxyHost','lazyEntries','/percy-osx.zip','createWriteStream','readEntry','env','win32','writeFileSync','394198UkQxAg','validateBinary','test','KZXdP','join','pipe','function','AXAwL','GNVAc','eorMm','eWhAg','lnyuR','statusCode','readFileSync','proxyPort','warn','HOMEDRIVE','winstonLogger','useCaCertificate','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','/percy-linux.zip','getBinaryPath','debug','FMGUw','close','SFYwr','headers','YiAsz','kalsd','JStpC','LHmyI','GjgEN','match','eFzsn','error','https://github.com/percy/cli/releases/latest/download','yNmXf','trim','getuid','linux','tmpdir','PCzBO','UXIOQ','../logger','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','accessSync','percy','yauzl','etag','Saved\x20new\x20ETag\x20for\x20percy\x20binary','entry','.zip','79604JWiCeS','/root','GOPvL','9vWAlQe','fileName','cSjWq','download','1551006UyLmAr','utf8','.etag','uCWeB','Tksmm','dmJzv','XuIsQ','Vuqdp','end','1CZWWTB','get','platform','uUZjT','AZiAA','/Users/','RtVhL','catch','path','W_OK','NSrPS','ISjGE','CHtfd','XuPOl','NMnDc','chmod','destroy','undefined','parse','Connection','3lKOPio','716104jjwzwc','alCSi','eLifH'];a142_0x228f=function(){return _0x5e9593;};return a142_0x228f();}
1
+ function a142_0xb708(_0x3c9b5c,_0x1021d3){const _0x1a9faf=a142_0x1a9f();return a142_0xb708=function(_0xb708bf,_0x1f9e55){_0xb708bf=_0xb708bf-0x1da;let _0xf38afe=_0x1a9faf[_0xb708bf];return _0xf38afe;},a142_0xb708(_0x3c9b5c,_0x1021d3);}const a142_0x43732b=a142_0xb708;(function(_0x2df0af,_0x444ea3){const _0x4729f2=a142_0xb708,_0x50d707=_0x2df0af();while(!![]){try{const _0x4101a7=parseInt(_0x4729f2(0x273))/0x1*(parseInt(_0x4729f2(0x22d))/0x2)+-parseInt(_0x4729f2(0x271))/0x3*(parseInt(_0x4729f2(0x26f))/0x4)+parseInt(_0x4729f2(0x23a))/0x5*(parseInt(_0x4729f2(0x234))/0x6)+parseInt(_0x4729f2(0x266))/0x7*(parseInt(_0x4729f2(0x25a))/0x8)+parseInt(_0x4729f2(0x21d))/0x9*(-parseInt(_0x4729f2(0x257))/0xa)+-parseInt(_0x4729f2(0x228))/0xb*(-parseInt(_0x4729f2(0x1e2))/0xc)+parseInt(_0x4729f2(0x265))/0xd;if(_0x4101a7===_0x444ea3)break;else _0x50d707['push'](_0x50d707['shift']());}catch(_0x18f267){_0x50d707['push'](_0x50d707['shift']());}}}(a142_0x1a9f,0x38436));function a142_0x1a9f(){const _0x3f7228=['uUYck','ZWkJv','ZJCVJ','Rwdpb','test','yESrC','zYJQT','hDEat','mlEXm','NOgda','100OUdNxf','writeFileSync','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','32iRDGYe','download','/root','chmod','Connection','utf8','Saved\x20new\x20ETag\x20for\x20percy\x20binary','PfcjL','https-proxy-agent','accessSync','Error\x20trying\x20to\x20download\x20percy\x20binary','465257rvYBPY','87003OWehsK','pipe','rOhQL','YmDhH','needsUpdate','jxEig','readEntry','cXhin','createWriteStream','4GHADoH','ohbam','87459KWZVrs','port','1ixzOvg','tWoDk','EGLaR','proxyPort','trim','.zip','parse','length','yQweS','187284OHKZXy','JAGFk','destroy','tmpdir','RdlDL','function','close','.browserstack','match','agent','uXLdO','Egmlq','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','https://github.com/percy/cli/releases/latest/download','openReadStream','RISvj','QKtRO','get','HOME','xUvZh','mkdirSync','/percy-win.zip','join','OfNiE','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','winstonLogger','binaryPath','ZVcaO','HAYty','HOMEPATH','DjZpx','USER','KwPjJ','homedir','wiAmZ','end','fsZaT','KBxNQ','FupHu','RnIkR','UVQfp','LOGNAME','sIhcS','jmQdC','extractAndSaveBinary','/percy-osx.zip','proxyHost','KcuVV','IBYCf','env','JwmsA','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','rBrRf','once','platform','warn','IowhR','EYWEE','jalfO','330201WCKGnw','bHbff','getuid','error','lydKO','fileName','tYEQv','ikbGt','W_OK','YzqvN','RYjKt','11rLttzg','../logger','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','FeWlw','catch','630074HxPRkh','useCaCertificate','validateBinary','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','EwrIn','readFileSync','data','54hXsHHW','cwd','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','debug','getBinaryPath','darwin','116860wThBSe','.etag','uYqGd','percy.exe','aYkVC','percy','TyLkr','USERNAME','win32','mMmAA','HOMEDRIVE','zuRGK','dmSOK','--version','NZsLD','hbHCG','headers','qHNlt','yauzl'];a142_0x1a9f=function(){return _0x3f7228;};return a142_0x1a9f();}const {https}=require('follow-redirects'),url=require('url'),yauzl=require(a142_0x43732b(0x24c)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a142_0x43732b(0x262)),logger=require(a142_0x43732b(0x229))[a142_0x43732b(0x1fb)];class PercyBinary{#hostOS=process[a142_0x43732b(0x218)];#httpPath=null;#binaryName=a142_0x43732b(0x23f);#orderedPaths=[path[a142_0x43732b(0x1f8)](this.#homedir(),a142_0x43732b(0x1e9)),process[a142_0x43732b(0x235)](),os[a142_0x43732b(0x1e5)]()];constructor(){const _0x1d1a66=a142_0x43732b,_0x20158={};_0x20158[_0x1d1a66(0x223)]=_0x1d1a66(0x1ef),_0x20158[_0x1d1a66(0x1f1)]=function(_0x2f6dd3,_0x43b3d7){return _0x2f6dd3+_0x43b3d7;},_0x20158[_0x1d1a66(0x200)]=_0x1d1a66(0x20f),_0x20158[_0x1d1a66(0x26d)]=_0x1d1a66(0x1f7),_0x20158[_0x1d1a66(0x24b)]=_0x1d1a66(0x23d),_0x20158[_0x1d1a66(0x24e)]=function(_0x46cbb3,_0x396bee){return _0x46cbb3+_0x396bee;},_0x20158[_0x1d1a66(0x1e1)]='/percy-linux.zip';const _0x1f21f7=_0x20158,_0x5962c7=_0x1f21f7[_0x1d1a66(0x223)];if(this.#hostOS[_0x1d1a66(0x1ea)](/darwin|mac os/i))this.#httpPath=_0x1f21f7[_0x1d1a66(0x1f1)](_0x5962c7,_0x1f21f7['DjZpx']);else this.#hostOS[_0x1d1a66(0x1ea)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x1f21f7[_0x1d1a66(0x1f1)](_0x5962c7,_0x1f21f7[_0x1d1a66(0x26d)]),this.#binaryName=_0x1f21f7[_0x1d1a66(0x24b)]):this.#httpPath=_0x1f21f7[_0x1d1a66(0x24e)](_0x5962c7,_0x1f21f7['yQweS']);}#getAvailableDirs(){const _0xf8a781=a142_0x43732b,_0x29bcd7={};_0x29bcd7['ZVcaO']=function(_0x2e9fbc,_0x46bfea){return _0x2e9fbc<_0x46bfea;},_0x29bcd7[_0xf8a781(0x261)]=_0xf8a781(0x264);const _0x35d071=_0x29bcd7;for(var _0x1ed5b4=0x0;_0x35d071[_0xf8a781(0x1fd)](_0x1ed5b4,this.#orderedPaths[_0xf8a781(0x1e0)]);_0x1ed5b4++){var _0x57a72b=this.#orderedPaths[_0x1ed5b4];if(this.#makePath(_0x57a72b))return _0x57a72b;}throw new Error(_0x35d071[_0xf8a781(0x261)]);}#makePath(_0x3c4045){const _0x1672c6=a142_0x43732b;try{return _0x3c4045&&!this.#checkPath(_0x3c4045)&&fs[_0x1672c6(0x1f6)](_0x3c4045),!![];}catch{return![];}}#checkPath(_0x16d114,_0x113416){const _0x21daa7=a142_0x43732b,_0x4e4b5d={};_0x4e4b5d[_0x21daa7(0x21e)]=function(_0xd5d9de,_0x4a865f){return _0xd5d9de|_0x4a865f;},_0x4e4b5d[_0x21daa7(0x1ec)]=function(_0x56bddd,_0x4cc88d){return _0x56bddd!==_0x4cc88d;},_0x4e4b5d[_0x21daa7(0x211)]='undefined';const _0x5a8992=_0x4e4b5d;_0x113416=_0x113416||_0x5a8992[_0x21daa7(0x21e)](fs['R_OK'],fs[_0x21daa7(0x225)]);try{return fs[_0x21daa7(0x263)](_0x16d114,_0x113416),!![];}catch(_0x39b28e){if(_0x5a8992[_0x21daa7(0x1ec)](typeof fs[_0x21daa7(0x263)],_0x5a8992[_0x21daa7(0x211)]))return![];try{return fs['statSync'](_0x16d114),!![];}catch(_0x31d667){return![];}}}#getETagPath(_0x19a3bc){const _0x5c550f=a142_0x43732b;return path[_0x5c550f(0x1f8)](_0x19a3bc,this.#binaryName+_0x5c550f(0x23b));}#loadETag(_0x106adb){const _0x8d6fc3=a142_0x43732b,_0x4300e1={};_0x4300e1['YzqvN']=_0x8d6fc3(0x25f);const _0x23326c=_0x4300e1,_0x59c57d=this.#getETagPath(_0x106adb);if(this.#checkPath(_0x59c57d))try{return fs[_0x8d6fc3(0x232)](_0x59c57d,_0x23326c[_0x8d6fc3(0x226)])[_0x8d6fc3(0x1dd)]();}catch(_0x4fd0d8){logger[_0x8d6fc3(0x219)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x4fd0d8);}return null;}#saveETag(_0x5c5085,_0xc5530c){const _0x6359b2=a142_0x43732b,_0xfd97b3={};_0xfd97b3['nIGMM']=_0x6359b2(0x260);const _0x2e7b3c=_0xfd97b3;if(!_0xc5530c)return;try{const _0x35d798=this.#getETagPath(_0x5c5085);fs[_0x6359b2(0x258)](_0x35d798,_0xc5530c),logger['debug'](_0x2e7b3c['nIGMM']);}catch(_0x12aa13){logger[_0x6359b2(0x219)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x12aa13);}}async #handleBinaryDownload(_0x15348d,_0x53849e,_0x28841a){const _0x37d226=a142_0x43732b,_0x2c2569={};_0x2c2569['JwmsA']=_0x37d226(0x236);const _0x2a07ff=_0x2c2569,_0x1af84e=await this[_0x37d226(0x22f)](_0x15348d[_0x37d226(0x1fc)]);if(!_0x1af84e){logger['error'](_0x2a07ff[_0x37d226(0x214)]);const _0x338d04=await this[_0x37d226(0x25b)](_0x53849e,_0x28841a);return _0x338d04[_0x37d226(0x1fc)];}return _0x15348d['binaryPath'];}async[a142_0x43732b(0x238)](_0xa729a7){const _0x426ee3=a142_0x43732b,_0x3d521f={};_0x3d521f[_0x426ee3(0x26b)]=_0x426ee3(0x1fa),_0x3d521f[_0x426ee3(0x202)]=_0x426ee3(0x215);const _0x3dfbe6=_0x3d521f,_0x117ab0=this.#getAvailableDirs(),_0x4fb317=path[_0x426ee3(0x1f8)](_0x117ab0,this.#binaryName);if(this.#checkPath(_0x4fb317,fs['X_OK'])){const _0x3e447e=this.#loadETag(_0x117ab0);if(_0x3e447e)try{const _0x3c1743=await this[_0x426ee3(0x25b)](_0xa729a7,_0x117ab0,_0x3e447e);if(!_0x3c1743[_0x426ee3(0x26a)])return logger['debug'](_0x3dfbe6[_0x426ee3(0x26b)]),_0x4fb317;return logger[_0x426ee3(0x237)](_0x3dfbe6[_0x426ee3(0x202)]),await this.#handleBinaryDownload(_0x3c1743,_0xa729a7,_0x117ab0);}catch(_0x752eb){return logger['warn'](_0x426ee3(0x259)+_0x752eb),_0x4fb317;}}const _0x2983d4=await this[_0x426ee3(0x25b)](_0xa729a7,_0x117ab0);return await this.#handleBinaryDownload(_0x2983d4,_0xa729a7,_0x117ab0);}[a142_0x43732b(0x25b)](_0x1d7869,_0x105cff,_0x1a32b6=null){const _0x3b1eff=a142_0x43732b,_0x186d0d={'jmQdC':function(_0x5e4452,_0x10c4fd){return _0x5e4452(_0x10c4fd);},'mlEXm':function(_0x20cd94,_0x890aff){return _0x20cd94===_0x890aff;},'rOhQL':'error','NZsLD':_0x3b1eff(0x1e8),'jalfO':function(_0x121cb8,_0x5f42dc){return _0x121cb8+_0x5f42dc;},'IBYCf':_0x3b1eff(0x1de)};_0x105cff&&!this.#checkPath(_0x105cff)&&fs[_0x3b1eff(0x1f6)](_0x105cff);const _0x5e6173=this.#binaryName,_0x18a002=path[_0x3b1eff(0x1f8)](_0x105cff,_0x186d0d[_0x3b1eff(0x21c)](_0x5e6173,_0x186d0d[_0x3b1eff(0x212)])),_0x579097=fs[_0x3b1eff(0x26e)](_0x18a002),_0x1d02d3=url[_0x3b1eff(0x1df)](this.#httpPath);if(_0x1d7869['proxyHost']&&_0x1d7869[_0x3b1eff(0x1dc)]){const _0xc6aad7={};_0xc6aad7['host']=_0x1d7869[_0x3b1eff(0x210)],_0xc6aad7[_0x3b1eff(0x272)]=_0x1d7869[_0x3b1eff(0x1dc)],_0x1d02d3[_0x3b1eff(0x1eb)]=new HttpsProxyAgent(_0xc6aad7);}if(_0x1d7869['useCaCertificate'])try{_0x1d02d3['ca']=fs[_0x3b1eff(0x232)](_0x1d7869[_0x3b1eff(0x22e)]);}catch(_0x501905){logger[_0x3b1eff(0x220)](_0x3b1eff(0x22a)+_0x501905);}if(_0x1a32b6){const _0x42f5a7={};_0x42f5a7['If-None-Match']=_0x1a32b6,_0x42f5a7[_0x3b1eff(0x25e)]=_0x186d0d['NZsLD'],_0x1d02d3[_0x3b1eff(0x24a)]=_0x42f5a7;}else{const _0x576872={};_0x576872[_0x3b1eff(0x25e)]=_0x186d0d[_0x3b1eff(0x248)],_0x1d02d3['headers']=_0x576872;}return new Promise((_0x309093,_0x1e5fb7)=>{const _0x3a1f5f=_0x3b1eff,_0x29e369={'ohbam':function(_0x426fe4,_0x5c2e94){return _0x186d0d['jmQdC'](_0x426fe4,_0x5c2e94);},'sIhcS':function(_0x3ff9ba,_0x5c8d28){const _0x340833=a142_0xb708;return _0x186d0d[_0x340833(0x255)](_0x3ff9ba,_0x5c8d28);},'YmDhH':_0x186d0d[_0x3a1f5f(0x268)],'uUYck':_0x186d0d[_0x3a1f5f(0x248)],'aYkVC':function(_0x4bfd2a,_0x3a7a8b){const _0x34866b=_0x3a1f5f;return _0x186d0d[_0x34866b(0x20d)](_0x4bfd2a,_0x3a7a8b);}};https[_0x3a1f5f(0x1f3)](_0x1d02d3,_0x5793bc=>{const _0x196869=_0x3a1f5f,_0x3748ce={'mMmAA':function(_0x35997f,_0x8e2706){const _0x54b218=a142_0xb708;return _0x29e369[_0x54b218(0x270)](_0x35997f,_0x8e2706);}};if(_0x1a32b6&&_0x29e369[_0x196869(0x20c)](_0x5793bc['statusCode'],0x130)){_0x579097[_0x196869(0x1e4)]();const _0x1ed1e3={};_0x1ed1e3[_0x196869(0x26a)]=![],_0x29e369[_0x196869(0x270)](_0x309093,_0x1ed1e3);return;}const _0x39d257=_0x5793bc[_0x196869(0x24a)]['etag'];_0x39d257&&this.#saveETag(_0x105cff,_0x39d257),_0x5793bc[_0x196869(0x267)](_0x579097),_0x5793bc['on'](_0x29e369[_0x196869(0x269)],function(_0x55e4fc){const _0x6d82a8=_0x196869;logger[_0x6d82a8(0x220)](_0x6d82a8(0x230)+_0x55e4fc),_0x29e369[_0x6d82a8(0x270)](_0x1e5fb7,_0x55e4fc);}),_0x579097['on'](_0x29e369[_0x196869(0x269)],function(_0x4635f1){const _0x1c4d71=_0x196869;logger[_0x1c4d71(0x220)](_0x1c4d71(0x1ee)+_0x4635f1),_0x3748ce[_0x1c4d71(0x243)](_0x1e5fb7,_0x4635f1);}),_0x579097['on'](_0x29e369[_0x196869(0x24d)],()=>{const _0x3aafa8=_0x196869;this[_0x3aafa8(0x20e)](_0x18a002,_0x105cff)['then'](_0x146716=>_0x309093({'needsUpdate':!![],'binaryPath':_0x146716}))[_0x3aafa8(0x22c)](_0x1e5fb7);});})['on'](_0x186d0d['rOhQL'],function(_0x42040e){const _0x1d9db9=_0x3a1f5f;logger[_0x1d9db9(0x220)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x42040e),_0x29e369[_0x1d9db9(0x23e)](_0x1e5fb7,_0x42040e);});});}[a142_0x43732b(0x20e)](_0x23149f,_0x574e69){const _0x1ca85f=a142_0x43732b,_0xf9529={'bGJso':function(_0x349421,_0x192ec4){return _0x349421===_0x192ec4;},'Egmlq':function(_0x11ad29,_0x481c46){return _0x11ad29(_0x481c46);},'pbGut':_0x1ca85f(0x205),'HAYty':'0755','UVQfp':function(_0x254eb2,_0x5498bd){return _0x254eb2(_0x5498bd);},'FupHu':'entry','SWZID':'error'},_0x2f9e1b=this.#binaryName,_0x33c5d0=path[_0x1ca85f(0x1f8)](_0x574e69,_0x2f9e1b);return new Promise((_0x104584,_0x1034ff)=>{const _0x12f7e3=_0x1ca85f,_0x16a820={'RdlDL':function(_0x4f99ef,_0x286ee5){return _0xf9529['bGJso'](_0x4f99ef,_0x286ee5);},'dmSOK':function(_0x252198,_0x4e1452){const _0x3faf82=a142_0xb708;return _0xf9529[_0x3faf82(0x1ed)](_0x252198,_0x4e1452);},'EGLaR':_0xf9529['pbGut'],'JAGFk':_0xf9529[_0x12f7e3(0x1fe)],'excyM':function(_0x4103c9,_0x43f3cd){const _0x4902de=_0x12f7e3;return _0xf9529[_0x4902de(0x20a)](_0x4103c9,_0x43f3cd);},'ynMwm':_0xf9529[_0x12f7e3(0x208)],'OfNiE':_0xf9529['SWZID']},_0x1db6d1={};_0x1db6d1['lazyEntries']=!![],yauzl['open'](_0x23149f,_0x1db6d1,function(_0x480b0f,_0xdc658f){const _0x48e5df=_0x12f7e3,_0x5dc354={'Rwdpb':function(_0x199d39,_0x3c5680){const _0x138297=a142_0xb708;return _0x16a820[_0x138297(0x246)](_0x199d39,_0x3c5680);},'hbHCG':_0x16a820[_0x48e5df(0x1db)],'xUvZh':function(_0x3d6184,_0x14f7cc){const _0x53d57b=_0x48e5df;return _0x16a820[_0x53d57b(0x246)](_0x3d6184,_0x14f7cc);},'ZJCVJ':_0x16a820[_0x48e5df(0x1e3)]};_0x480b0f&&_0x16a820['excyM'](_0x1034ff,_0x480b0f),_0xdc658f['readEntry'](),_0xdc658f['on'](_0x16a820['ynMwm'],_0x4ee4d1=>{const _0x140f38=_0x48e5df;if(/\/$/[_0x140f38(0x251)](_0x4ee4d1[_0x140f38(0x222)]))_0xdc658f[_0x140f38(0x26c)]();else{const _0x167772=fs['createWriteStream'](path[_0x140f38(0x1f8)](_0x574e69,_0x4ee4d1['fileName']));_0xdc658f[_0x140f38(0x1f0)](_0x4ee4d1,function(_0x208660,_0x3e5847){const _0x4c7a54=_0x140f38;_0x208660&&_0x5dc354[_0x4c7a54(0x250)](_0x1034ff,_0x480b0f),_0x3e5847['on'](_0x5dc354[_0x4c7a54(0x249)],function(){const _0x364d56=_0x4c7a54;_0x167772[_0x364d56(0x1e8)](),_0xdc658f['readEntry']();}),_0x3e5847[_0x4c7a54(0x267)](_0x167772);}),_0x16a820[_0x140f38(0x1e6)](_0x4ee4d1[_0x140f38(0x222)],_0x2f9e1b)&&_0xdc658f[_0x140f38(0x1e8)]();}}),_0xdc658f['on'](_0x16a820[_0x48e5df(0x1f9)],_0x2f8251=>{const _0x3d6262=_0x48e5df;_0x5dc354[_0x3d6262(0x250)](_0x1034ff,_0x2f8251);}),_0xdc658f[_0x48e5df(0x217)](_0x16a820[_0x48e5df(0x1db)],()=>{const _0x4aed49=_0x48e5df,_0x51039a={'rBrRf':function(_0x2ba7f6,_0xc9fa20){const _0x566a10=a142_0xb708;return _0x5dc354[_0x566a10(0x1f5)](_0x2ba7f6,_0xc9fa20);}};fs[_0x4aed49(0x25d)](_0x33c5d0,_0x5dc354[_0x4aed49(0x24f)],function(_0x3cc95c){const _0x1394fa=_0x4aed49;_0x3cc95c&&_0x51039a['rBrRf'](_0x1034ff,_0x3cc95c),_0x51039a[_0x1394fa(0x216)](_0x104584,_0x33c5d0);}),_0xdc658f[_0x4aed49(0x1e8)]();});});});}async['validateBinary'](_0x5c97e2){const _0x41eaba=a142_0x43732b,_0xcf7196={'NOgda':function(_0x1d5715,_0x53bcaf){return _0x1d5715(_0x53bcaf);},'wiAmZ':function(_0x4b0f04,_0x4cc0e5){return _0x4b0f04(_0x4cc0e5);},'TyLkr':function(_0x5dc6a0,_0x3094e2,_0x120d33,_0x3bc07b){return _0x5dc6a0(_0x3094e2,_0x120d33,_0x3bc07b);},'EYWEE':_0x41eaba(0x247),'jYwZp':_0x41eaba(0x233),'lydKO':_0x41eaba(0x1e8)},_0x58785a=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x4b8556,_0x4f6b78)=>{const _0x142f27=_0x41eaba,_0x5243e7={'EwrIn':function(_0x959398,_0x32d950){const _0x3df487=a142_0xb708;return _0xcf7196[_0x3df487(0x204)](_0x959398,_0x32d950);}},_0x4123b9={};_0x4123b9[_0x142f27(0x213)]=process[_0x142f27(0x213)];const _0x51447f=_0xcf7196[_0x142f27(0x240)](spawn,_0x5c97e2,[_0xcf7196[_0x142f27(0x21b)]],_0x4123b9);_0x51447f['stdout']['on'](_0xcf7196['jYwZp'],_0x4ad65c=>{const _0xd5c662=_0x142f27;_0x58785a[_0xd5c662(0x251)](_0x4ad65c)&&_0x5243e7[_0xd5c662(0x231)](_0x4b8556,!![]);}),_0x51447f['on'](_0xcf7196[_0x142f27(0x221)],()=>{const _0x12abe3=_0x142f27;_0xcf7196[_0x12abe3(0x256)](_0x4b8556,![]);});});}#homedir(){const _0x4ef382=a142_0x43732b,_0x93af87={};_0x93af87[_0x4ef382(0x245)]=function(_0x2b1c61,_0x2f2360){return _0x2b1c61===_0x2f2360;},_0x93af87['hDEat']=_0x4ef382(0x1e7),_0x93af87[_0x4ef382(0x22b)]=_0x4ef382(0x242),_0x93af87[_0x4ef382(0x1f2)]=function(_0xad8757,_0x1a56c4){return _0xad8757+_0x1a56c4;},_0x93af87[_0x4ef382(0x1da)]=function(_0x5ad064,_0x343d28){return _0x5ad064===_0x343d28;},_0x93af87[_0x4ef382(0x207)]=_0x4ef382(0x239),_0x93af87[_0x4ef382(0x21a)]=function(_0x3d85aa,_0xdb692){return _0x3d85aa+_0xdb692;},_0x93af87[_0x4ef382(0x224)]='/Users/',_0x93af87[_0x4ef382(0x209)]='linux',_0x93af87[_0x4ef382(0x23c)]=function(_0x10419e,_0x4b1632){return _0x10419e===_0x4b1632;},_0x93af87[_0x4ef382(0x253)]=_0x4ef382(0x25c),_0x93af87[_0x4ef382(0x252)]=function(_0xde57f3,_0x2c4fc0){return _0xde57f3+_0x2c4fc0;},_0x93af87[_0x4ef382(0x227)]='/home/',_0x93af87[_0x4ef382(0x206)]=function(_0x3eb261,_0x381501){return _0x3eb261||_0x381501;};const _0x41a373=_0x93af87;if(_0x41a373[_0x4ef382(0x245)](typeof os[_0x4ef382(0x203)],_0x41a373[_0x4ef382(0x254)]))return os[_0x4ef382(0x203)]();const _0x4a79df=process[_0x4ef382(0x213)],_0x301e0f=_0x4a79df[_0x4ef382(0x1f4)],_0x3a40b7=_0x4a79df[_0x4ef382(0x20b)]||_0x4a79df[_0x4ef382(0x201)]||_0x4a79df['LNAME']||_0x4a79df[_0x4ef382(0x241)];if(_0x41a373['zuRGK'](process[_0x4ef382(0x218)],_0x41a373[_0x4ef382(0x22b)]))return _0x4a79df['USERPROFILE']||_0x41a373[_0x4ef382(0x1f2)](_0x4a79df[_0x4ef382(0x244)],_0x4a79df[_0x4ef382(0x1ff)])||_0x301e0f||null;if(_0x41a373[_0x4ef382(0x1da)](process[_0x4ef382(0x218)],_0x41a373['KBxNQ']))return _0x301e0f||(_0x3a40b7?_0x41a373[_0x4ef382(0x21a)](_0x41a373[_0x4ef382(0x224)],_0x3a40b7):null);if(_0x41a373[_0x4ef382(0x245)](process[_0x4ef382(0x218)],_0x41a373[_0x4ef382(0x209)]))return _0x301e0f||(_0x41a373[_0x4ef382(0x23c)](process[_0x4ef382(0x21f)](),0x0)?_0x41a373[_0x4ef382(0x253)]:_0x3a40b7?_0x41a373[_0x4ef382(0x252)](_0x41a373[_0x4ef382(0x227)],_0x3a40b7):null);return _0x41a373['fsZaT'](_0x301e0f,null);}}module['exports']=PercyBinary;
@@ -1 +1 @@
1
- var a143_0x569f7d=a143_0x1716;(function(_0x1402f4,_0x14a720){var _0x6c3e6f=a143_0x1716,_0x2ffdc3=_0x1402f4();while(!![]){try{var _0x393c7c=parseInt(_0x6c3e6f(0x128))/0x1*(-parseInt(_0x6c3e6f(0x132))/0x2)+parseInt(_0x6c3e6f(0x131))/0x3*(parseInt(_0x6c3e6f(0x12e))/0x4)+-parseInt(_0x6c3e6f(0x12a))/0x5+-parseInt(_0x6c3e6f(0x12b))/0x6*(parseInt(_0x6c3e6f(0x127))/0x7)+-parseInt(_0x6c3e6f(0x12d))/0x8+-parseInt(_0x6c3e6f(0x133))/0x9*(parseInt(_0x6c3e6f(0x126))/0xa)+parseInt(_0x6c3e6f(0x125))/0xb;if(_0x393c7c===_0x14a720)break;else _0x2ffdc3['push'](_0x2ffdc3['shift']());}catch(_0xc54297){_0x2ffdc3['push'](_0x2ffdc3['shift']());}}}(a143_0x57cf,0x96d83));function a143_0x1716(_0x21d1a0,_0x51dee7){var _0x57cf59=a143_0x57cf();return a143_0x1716=function(_0x1716d5,_0x8b3602){_0x1716d5=_0x1716d5-0x125;var _0x4799be=_0x57cf59[_0x1716d5];return _0x4799be;},a143_0x1716(_0x21d1a0,_0x51dee7);}function a143_0x57cf(){var _0x1fe741=['get','3403080nJhdsY','5988102vYHIrO','increment','2603416CcCpYm','1994600zyVbfE','exports','getName','6vGDuyq','2HLIcrq','672363juoTrB','36271026aiitLg','100KHYFxE','7gxYSkj','925677fPUQdr'];a143_0x57cf=function(){return _0x1fe741;};return a143_0x57cf();}class PercyCaptureMap{#map={};[a143_0x569f7d(0x12c)](_0x502196,_0x16e649){!this.#map[_0x502196]&&(this.#map[_0x502196]={}),!this.#map[_0x502196][_0x16e649]&&(this.#map[_0x502196][_0x16e649]=0x0),this.#map[_0x502196][_0x16e649]++;}[a143_0x569f7d(0x130)](_0x5c58b4,_0x345ec1){var _0x3d1f6c=a143_0x569f7d;return _0x5c58b4+'-'+_0x345ec1+'-'+this[_0x3d1f6c(0x129)](_0x5c58b4,_0x345ec1);}[a143_0x569f7d(0x129)](_0x34a32b,_0x52b75c){if(!this.#map[_0x34a32b])return 0x0;if(!this.#map[_0x34a32b][_0x52b75c])return 0x0;return this.#map[_0x34a32b][_0x52b75c];}}module[a143_0x569f7d(0x12f)]=PercyCaptureMap;
1
+ function a143_0x111b(){var _0x1cf65d=['exports','getName','247062ZhuTvS','7672326ohEIsp','3FVMlJH','5UMPjhl','2323209rzGUwH','7983VltCfl','9581350IvFgph','increment','2328zemPig','109060svBThX','get','1822420qIBhRz'];a143_0x111b=function(){return _0x1cf65d;};return a143_0x111b();}var a143_0x68aac6=a143_0x8d49;(function(_0x1b108d,_0x3dafcc){var _0xfc9a7=a143_0x8d49,_0x146d70=_0x1b108d();while(!![]){try{var _0x4bc999=parseInt(_0xfc9a7(0x1aa))/0x1*(parseInt(_0xfc9a7(0x1a8))/0x2)+parseInt(_0xfc9a7(0x1ac))/0x3+-parseInt(_0xfc9a7(0x1a5))/0x4+parseInt(_0xfc9a7(0x1ab))/0x5*(-parseInt(_0xfc9a7(0x1a9))/0x6)+parseInt(_0xfc9a7(0x1a3))/0x7+parseInt(_0xfc9a7(0x1b0))/0x8*(parseInt(_0xfc9a7(0x1ad))/0x9)+parseInt(_0xfc9a7(0x1ae))/0xa;if(_0x4bc999===_0x3dafcc)break;else _0x146d70['push'](_0x146d70['shift']());}catch(_0x3ae9c6){_0x146d70['push'](_0x146d70['shift']());}}}(a143_0x111b,0x9cdc6));function a143_0x8d49(_0x569a90,_0x17ec97){var _0x111b64=a143_0x111b();return a143_0x8d49=function(_0x8d4960,_0x3f767f){_0x8d4960=_0x8d4960-0x1a3;var _0x521be9=_0x111b64[_0x8d4960];return _0x521be9;},a143_0x8d49(_0x569a90,_0x17ec97);}class PercyCaptureMap{#map={};[a143_0x68aac6(0x1af)](_0xf47f9f,_0x58b9c1){!this.#map[_0xf47f9f]&&(this.#map[_0xf47f9f]={}),!this.#map[_0xf47f9f][_0x58b9c1]&&(this.#map[_0xf47f9f][_0x58b9c1]=0x0),this.#map[_0xf47f9f][_0x58b9c1]++;}[a143_0x68aac6(0x1a7)](_0x3bc903,_0x57ee72){var _0x20a7d2=a143_0x68aac6;return _0x3bc903+'-'+_0x57ee72+'-'+this[_0x20a7d2(0x1a4)](_0x3bc903,_0x57ee72);}['get'](_0x245abe,_0x6de79){if(!this.#map[_0x245abe])return 0x0;if(!this.#map[_0x245abe][_0x6de79])return 0x0;return this.#map[_0x245abe][_0x6de79];}}module[a143_0x68aac6(0x1a6)]=PercyCaptureMap;
@@ -1 +1 @@
1
- var a144_0x4020db=a144_0x3d4a;(function(_0x248ad2,_0x3cff04){var _0x45a541=a144_0x3d4a,_0x59623a=_0x248ad2();while(!![]){try{var _0x39433f=parseInt(_0x45a541(0xe8))/0x1+-parseInt(_0x45a541(0xf4))/0x2*(parseInt(_0x45a541(0xf8))/0x3)+parseInt(_0x45a541(0xf2))/0x4+-parseInt(_0x45a541(0xf9))/0x5+-parseInt(_0x45a541(0xea))/0x6+parseInt(_0x45a541(0xeb))/0x7+-parseInt(_0x45a541(0xee))/0x8*(parseInt(_0x45a541(0xf3))/0x9);if(_0x39433f===_0x3cff04)break;else _0x59623a['push'](_0x59623a['shift']());}catch(_0x8dee34){_0x59623a['push'](_0x59623a['shift']());}}}(a144_0x27fa,0x2a061));function a144_0x3d4a(_0xf2c1cc,_0x5f5404){var _0x27faea=a144_0x27fa();return a144_0x3d4a=function(_0x3d4a7e,_0x96d9f6){_0x3d4a7e=_0x3d4a7e-0xe7;var _0x22342a=_0x27faea[_0x3d4a7e];return _0x22342a;},a144_0x3d4a(_0xf2c1cc,_0x5f5404);}var a144_0x32c570={};a144_0x32c570[a144_0x4020db(0xf0)]=[a144_0x4020db(0xec)],a144_0x32c570[a144_0x4020db(0xf5)]=[a144_0x4020db(0xf7),a144_0x4020db(0xe7)];var a144_0x3ae455={};function a144_0x27fa(){var _0x4b9c73=['auto','driver','manual','220360GWHaPX','18wPUdFq','4GwOAwT','element','testcase','click','164331jUQGCO','481700xpjuHx','sendKeys','303237OcdLmx','screenshot','42210BSXlCy','1694903pSPaFC','takeScreenshot','exports','861592ItSpUe'];a144_0x27fa=function(){return _0x4b9c73;};return a144_0x27fa();}a144_0x3ae455['driver']=[a144_0x4020db(0xec)];var a144_0xad0a41={};a144_0xad0a41['element']=[a144_0x4020db(0xf7)];var a144_0x175a9d={};a144_0x175a9d[a144_0x4020db(0xef)]=a144_0x32c570,a144_0x175a9d[a144_0x4020db(0xe9)]=a144_0x3ae455,a144_0x175a9d[a144_0x4020db(0xf7)]=a144_0xad0a41,a144_0x175a9d[a144_0x4020db(0xf6)]={},a144_0x175a9d[a144_0x4020db(0xf1)]={},module[a144_0x4020db(0xed)]=a144_0x175a9d;
1
+ var a144_0x36c8ed=a144_0x510f;(function(_0x542bdc,_0x701055){var _0x46b171=a144_0x510f,_0x5f26cc=_0x542bdc();while(!![]){try{var _0x415d29=-parseInt(_0x46b171(0x111))/0x1*(-parseInt(_0x46b171(0x116))/0x2)+-parseInt(_0x46b171(0x11b))/0x3+parseInt(_0x46b171(0x115))/0x4+-parseInt(_0x46b171(0x10d))/0x5+-parseInt(_0x46b171(0x113))/0x6+parseInt(_0x46b171(0x117))/0x7*(parseInt(_0x46b171(0x114))/0x8)+parseInt(_0x46b171(0x11a))/0x9;if(_0x415d29===_0x701055)break;else _0x5f26cc['push'](_0x5f26cc['shift']());}catch(_0x3cd4bf){_0x5f26cc['push'](_0x5f26cc['shift']());}}}(a144_0x3ede,0xeacac));var a144_0xd800a6={};a144_0xd800a6['driver']=[a144_0x36c8ed(0x10f)],a144_0xd800a6['element']=['click','sendKeys'];var a144_0x67a144={};a144_0x67a144[a144_0x36c8ed(0x110)]=[a144_0x36c8ed(0x10f)];var a144_0x2dffe3={};a144_0x2dffe3['element']=[a144_0x36c8ed(0x119)];function a144_0x510f(_0x764e2,_0x5a116c){var _0x3ede4c=a144_0x3ede();return a144_0x510f=function(_0x510ff9,_0x4bb66c){_0x510ff9=_0x510ff9-0x10d;var _0x18e9dc=_0x3ede4c[_0x510ff9];return _0x18e9dc;},a144_0x510f(_0x764e2,_0x5a116c);}var a144_0x2ba96f={};a144_0x2ba96f[a144_0x36c8ed(0x10e)]=a144_0xd800a6,a144_0x2ba96f['screenshot']=a144_0x67a144,a144_0x2ba96f['click']=a144_0x2dffe3,a144_0x2ba96f[a144_0x36c8ed(0x118)]={},a144_0x2ba96f[a144_0x36c8ed(0x112)]={},module['exports']=a144_0x2ba96f;function a144_0x3ede(){var _0x40fa59=['11310408BCrLUX','7082664kBqcHj','1873892PIMUaD','476yorEoZ','14vrAUUq','testcase','click','14667768JxlJRD','2605518WTHinA','3070695jeViCF','auto','takeScreenshot','driver','1935wimJFG','manual'];a144_0x3ede=function(){return _0x40fa59;};return a144_0x3ede();}
@@ -1 +1 @@
1
- function a145_0x44f6(){const _0x19e81f=['SCREENSHOT_APP','uuid','201714YlluVo','EmUef','measure','name','bUxoV','browserstackPercyBestPlatform','length','screenshotApp','1451829PhmXfW','XhtCG','6mJWGus','1564555toYSAP','Unsupported\x20driver\x20for\x20percy','apply','CbDIl','../performance/constants','testCase','uKswt','SNAPSHOT','357602PpnNmV','winstonLogger','error','8952ozxtIT','thTestCaseExecutionId','1zqrBYW','4gBeIcP','mEsHM','snapshot','@percy/appium-app','SCREENSHOT','3304143OEyPBj','1306704AyWXMT','browserstackPlatformIndex','screenshot','FmzCo','@percy/selenium-webdriver','platformIndex','JyTMo','16258qDBALZ','10lSptWj'];a145_0x44f6=function(){return _0x19e81f;};return a145_0x44f6();}const a145_0x11bfd6=a145_0x4ad4;(function(_0x11302e,_0x3c5f3c){const _0x36114=a145_0x4ad4,_0x358ec8=_0x11302e();while(!![]){try{const _0x4ff3a4=-parseInt(_0x36114(0x1df))/0x1*(-parseInt(_0x36114(0x1f1))/0x2)+parseInt(_0x36114(0x1f9))/0x3*(parseInt(_0x36114(0x1e0))/0x4)+parseInt(_0x36114(0x1d2))/0x5+-parseInt(_0x36114(0x1fb))/0x6*(parseInt(_0x36114(0x1da))/0x7)+parseInt(_0x36114(0x1e6))/0x8+parseInt(_0x36114(0x1e5))/0x9*(parseInt(_0x36114(0x1ee))/0xa)+-parseInt(_0x36114(0x1ed))/0xb*(parseInt(_0x36114(0x1dd))/0xc);if(_0x4ff3a4===_0x3c5f3c)break;else _0x358ec8['push'](_0x358ec8['shift']());}catch(_0xfdecdd){_0x358ec8['push'](_0x358ec8['shift']());}}}(a145_0x44f6,0x43046));const tryRequire=function(_0x4e85b9,_0x2c1493){const _0x322943=a145_0x4ad4,_0x2b2e8c={'JyTMo':function(_0x1d5ed6,_0x182633){return _0x1d5ed6(_0x182633);}};try{return _0x2b2e8c[_0x322943(0x1ec)](require,_0x4e85b9);}catch{return _0x2c1493;}},percySnapshot=tryRequire(a145_0x11bfd6(0x1ea),null),{percyScreenshot}=tryRequire(a145_0x11bfd6(0x1ea),{}),percyAppScreenshot=require(a145_0x11bfd6(0x1e3)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a145_0x11bfd6(0x1d6)),logger=require('../logger')[a145_0x11bfd6(0x1db)];function a145_0x4ad4(_0x4a8af9,_0x40e257){const _0x44f6ed=a145_0x44f6();return a145_0x4ad4=function(_0x4ad429,_0x36d9bb){_0x4ad429=_0x4ad429-0x1d2;let _0x439c52=_0x44f6ed[_0x4ad429];return _0x439c52;},a145_0x4ad4(_0x4a8af9,_0x40e257);}percySnapshot&&(exports[a145_0x11bfd6(0x1e2)]=async function(){const _0x242d8d=a145_0x11bfd6,_0xe95e9f={'bUxoV':function(_0x1145ec,_0x4b85b2){return _0x1145ec!==_0x4b85b2;},'mEsHM':function(_0x1d5fc6,_0x15dd65){return _0x1d5fc6>=_0x15dd65;},'EmUef':function(_0xea3c9a){return _0xea3c9a();}};if(global[_0x242d8d(0x1e7)]&&_0xe95e9f[_0x242d8d(0x1f5)](global[_0x242d8d(0x1e7)],global[_0x242d8d(0x1f6)]))return;const _0x11d204=_0xe95e9f[_0x242d8d(0x1e1)](arguments[_0x242d8d(0x1f7)],0x2)?arguments[0x1]:'',_0x3c3916=_0xe95e9f[_0x242d8d(0x1f2)](getCurrentTestData),_0x25ab8c={};return _0x25ab8c[_0x242d8d(0x1f4)]=_0x11d204,_0x25ab8c[_0x242d8d(0x1d7)]=_0x3c3916[_0x242d8d(0x1f4)]||'',_0x25ab8c[_0x242d8d(0x1de)]=_0x3c3916[_0x242d8d(0x1f0)]||'',_0x25ab8c[_0x242d8d(0x1eb)]=global[_0x242d8d(0x1e7)],await PerformanceTester[_0x242d8d(0x1f3)](PerformanceEvents[_0x242d8d(0x1d9)],()=>percySnapshot[_0x242d8d(0x1d4)](null,arguments),_0x25ab8c);});percyScreenshot?exports[a145_0x11bfd6(0x1e8)]=async function(){const _0x54fdf9=a145_0x11bfd6,_0x31b3e8={'iNJdG':function(_0x57ff73,_0x551948){return _0x57ff73>=_0x551948;},'CbDIl':function(_0x41192f){return _0x41192f();}},_0x54b3dd=_0x31b3e8['iNJdG'](arguments[_0x54fdf9(0x1f7)],0x2)?arguments[0x1]:'',_0x10c0fc=_0x31b3e8[_0x54fdf9(0x1d5)](getCurrentTestData),_0x36bdfe={};return _0x36bdfe[_0x54fdf9(0x1f4)]=_0x54b3dd,_0x36bdfe[_0x54fdf9(0x1d7)]=_0x10c0fc[_0x54fdf9(0x1f4)]||'',_0x36bdfe[_0x54fdf9(0x1de)]=_0x10c0fc[_0x54fdf9(0x1f0)]||'',_0x36bdfe['platformIndex']=global[_0x54fdf9(0x1e7)],await PerformanceTester[_0x54fdf9(0x1f3)](PerformanceEvents[_0x54fdf9(0x1e4)],()=>percyScreenshot[_0x54fdf9(0x1d4)](null,arguments),_0x36bdfe);}:exports[a145_0x11bfd6(0x1e8)]=()=>{const _0x1a9f58=a145_0x11bfd6,_0x290a5f={};_0x290a5f[_0x1a9f58(0x1e9)]=_0x1a9f58(0x1d3);const _0x304125=_0x290a5f;logger[_0x1a9f58(0x1dc)](_0x304125[_0x1a9f58(0x1e9)]);};exports[a145_0x11bfd6(0x1f8)]=async function(){const _0x5089ca=a145_0x11bfd6,_0x4c3378={'uKswt':function(_0x5b1630,_0x10d375){return _0x5b1630>=_0x10d375;},'XhtCG':function(_0xeaca7c){return _0xeaca7c();}},_0x56395e=_0x4c3378[_0x5089ca(0x1d8)](arguments[_0x5089ca(0x1f7)],0x2)?arguments[0x1]:'',_0x1cc431=_0x4c3378[_0x5089ca(0x1fa)](getCurrentTestData),_0xd17ce9={};return _0xd17ce9['name']=_0x56395e,_0xd17ce9[_0x5089ca(0x1d7)]=_0x1cc431[_0x5089ca(0x1f4)]||'',_0xd17ce9[_0x5089ca(0x1de)]=_0x1cc431['uuid']||'',_0xd17ce9['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester[_0x5089ca(0x1f3)](PerformanceEvents[_0x5089ca(0x1ef)],()=>percyAppScreenshot[_0x5089ca(0x1d4)](null,arguments),_0xd17ce9);};
1
+ const a145_0x1c2773=a145_0x8d66;(function(_0x532f5c,_0x38a240){const _0x1e8edc=a145_0x8d66,_0x20bdc7=_0x532f5c();while(!![]){try{const _0x4ce418=-parseInt(_0x1e8edc(0x1de))/0x1*(parseInt(_0x1e8edc(0x1d4))/0x2)+parseInt(_0x1e8edc(0x1e4))/0x3+-parseInt(_0x1e8edc(0x1c1))/0x4+-parseInt(_0x1e8edc(0x1c6))/0x5+-parseInt(_0x1e8edc(0x1d8))/0x6+parseInt(_0x1e8edc(0x1d0))/0x7+parseInt(_0x1e8edc(0x1d2))/0x8;if(_0x4ce418===_0x38a240)break;else _0x20bdc7['push'](_0x20bdc7['shift']());}catch(_0x5b6ca4){_0x20bdc7['push'](_0x20bdc7['shift']());}}}(a145_0x48ef,0x363f2));const tryRequire=function(_0xe87dd7,_0x4afb92){const _0x53f5ac=a145_0x8d66,_0x5225e2={'TdGoN':function(_0x1298ad,_0x263ae8){return _0x1298ad(_0x263ae8);}};try{return _0x5225e2[_0x53f5ac(0x1e5)](require,_0xe87dd7);}catch{return _0x4afb92;}},percySnapshot=tryRequire(a145_0x1c2773(0x1c4),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a145_0x1c2773(0x1c5)),{getCurrentTestData}=require(a145_0x1c2773(0x1c8)),PerformanceTester=require(a145_0x1c2773(0x1d3)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require(a145_0x1c2773(0x1e0))[a145_0x1c2773(0x1c3)];function a145_0x8d66(_0x20e604,_0x4ffb9b){const _0x48ef4c=a145_0x48ef();return a145_0x8d66=function(_0x8d668c,_0x2d4a2e){_0x8d668c=_0x8d668c-0x1c0;let _0x3d4286=_0x48ef4c[_0x8d668c];return _0x3d4286;},a145_0x8d66(_0x20e604,_0x4ffb9b);}function a145_0x48ef(){const _0x23f782=['1504415GVmunp','length','../../helpers/testhub/utils','testCase','browserstackPlatformIndex','uuid','apply','kmprd','screenshotApp','SCREENSHOT_APP','902237yGAMus','qtyYk','8219216XvDGzs','../performance/performance-tester','6XXJWVV','measure','SNAPSHOT','screenshot','2358570CIjAVN','name','IUopc','error','Tuvtz','thTestCaseExecutionId','26437VdIOCy','platformIndex','../logger','holSA','IUbQJ','rMtRh','318786OXGYPn','TdGoN','snapshot','1068288gEjtYh','Unsupported\x20driver\x20for\x20percy','winstonLogger','@percy/selenium-webdriver','@percy/appium-app'];a145_0x48ef=function(){return _0x23f782;};return a145_0x48ef();}percySnapshot&&(exports[a145_0x1c2773(0x1c0)]=async function(){const _0x731744=a145_0x1c2773,_0xaa46da={'IUbQJ':function(_0x2942b0,_0x11dbb2){return _0x2942b0!==_0x11dbb2;},'kmprd':function(_0x25b0a0,_0x1b2390){return _0x25b0a0>=_0x1b2390;},'Tuvtz':function(_0x314f10){return _0x314f10();}};if(global[_0x731744(0x1ca)]&&_0xaa46da[_0x731744(0x1e2)](global[_0x731744(0x1ca)],global['browserstackPercyBestPlatform']))return;const _0x3efcb9=_0xaa46da[_0x731744(0x1cd)](arguments[_0x731744(0x1c7)],0x2)?arguments[0x1]:'',_0x506483=_0xaa46da[_0x731744(0x1dc)](getCurrentTestData),_0x203e8d={};return _0x203e8d[_0x731744(0x1d9)]=_0x3efcb9,_0x203e8d[_0x731744(0x1c9)]=_0x506483[_0x731744(0x1d9)]||'',_0x203e8d[_0x731744(0x1dd)]=_0x506483[_0x731744(0x1cb)]||'',_0x203e8d['platformIndex']=global[_0x731744(0x1ca)],await PerformanceTester[_0x731744(0x1d5)](PerformanceEvents[_0x731744(0x1d6)],()=>percySnapshot[_0x731744(0x1cc)](null,arguments),_0x203e8d);});percyScreenshot?exports[a145_0x1c2773(0x1d7)]=async function(){const _0x289581=a145_0x1c2773,_0xb2092e={'rMtRh':function(_0x4da1e2,_0xd1da60){return _0x4da1e2>=_0xd1da60;},'IUopc':function(_0x550acd){return _0x550acd();}},_0x473d78=_0xb2092e[_0x289581(0x1e3)](arguments[_0x289581(0x1c7)],0x2)?arguments[0x1]:'',_0x3cc959=_0xb2092e[_0x289581(0x1da)](getCurrentTestData),_0x158deb={};return _0x158deb[_0x289581(0x1d9)]=_0x473d78,_0x158deb['testCase']=_0x3cc959[_0x289581(0x1d9)]||'',_0x158deb['thTestCaseExecutionId']=_0x3cc959[_0x289581(0x1cb)]||'',_0x158deb[_0x289581(0x1df)]=global[_0x289581(0x1ca)],await PerformanceTester[_0x289581(0x1d5)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot['apply'](null,arguments),_0x158deb);}:exports[a145_0x1c2773(0x1d7)]=()=>{const _0x196774=a145_0x1c2773,_0x1a3140={};_0x1a3140['qtyYk']=_0x196774(0x1c2);const _0x5a4386=_0x1a3140;logger[_0x196774(0x1db)](_0x5a4386[_0x196774(0x1d1)]);};exports[a145_0x1c2773(0x1ce)]=async function(){const _0x2eb2e9=a145_0x1c2773,_0x4a5bec={'holSA':function(_0x9c77bf,_0x551cd6){return _0x9c77bf>=_0x551cd6;},'DxOgA':function(_0x4ccc14){return _0x4ccc14();}},_0x47d2eb=_0x4a5bec[_0x2eb2e9(0x1e1)](arguments[_0x2eb2e9(0x1c7)],0x2)?arguments[0x1]:'',_0x18006c=_0x4a5bec['DxOgA'](getCurrentTestData),_0x4bd43c={};return _0x4bd43c[_0x2eb2e9(0x1d9)]=_0x47d2eb,_0x4bd43c[_0x2eb2e9(0x1c9)]=_0x18006c[_0x2eb2e9(0x1d9)]||'',_0x4bd43c[_0x2eb2e9(0x1dd)]=_0x18006c[_0x2eb2e9(0x1cb)]||'',_0x4bd43c['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x2eb2e9(0x1cf)],()=>percyAppScreenshot[_0x2eb2e9(0x1cc)](null,arguments),_0x4bd43c);};
@@ -1 +1 @@
1
- function a146_0x90bb(){var _0xc9d062=['6141372DrsUpf','exports','57oywequ','1706UTZyZr','3193479Xihyta','354hmDCkE','54616TSxNyO','./Percy','843983fEhmXD','291070uzaqyq','527805lTvPoD','6kvSwvn','8XvROov','110kykYBJ'];a146_0x90bb=function(){return _0xc9d062;};return a146_0x90bb();}var a146_0x54184c=a146_0x3c3e;function a146_0x3c3e(_0x106202,_0x17dab9){var _0x90bb64=a146_0x90bb();return a146_0x3c3e=function(_0x3c3e9e,_0x5b54fc){_0x3c3e9e=_0x3c3e9e-0x1ce;var _0xc312f6=_0x90bb64[_0x3c3e9e];return _0xc312f6;},a146_0x3c3e(_0x106202,_0x17dab9);}(function(_0x3e7851,_0x3bae5e){var _0x230419=a146_0x3c3e,_0x352236=_0x3e7851();while(!![]){try{var _0x1d85f0=-parseInt(_0x230419(0x1d6))/0x1*(-parseInt(_0x230419(0x1d4))/0x2)+-parseInt(_0x230419(0x1d3))/0x3*(parseInt(_0x230419(0x1d7))/0x4)+-parseInt(_0x230419(0x1db))/0x5*(parseInt(_0x230419(0x1ce))/0x6)+parseInt(_0x230419(0x1d9))/0x7*(-parseInt(_0x230419(0x1cf))/0x8)+-parseInt(_0x230419(0x1d5))/0x9+-parseInt(_0x230419(0x1da))/0xa*(-parseInt(_0x230419(0x1d0))/0xb)+parseInt(_0x230419(0x1d1))/0xc;if(_0x1d85f0===_0x3bae5e)break;else _0x352236['push'](_0x352236['shift']());}catch(_0x5c541a){_0x352236['push'](_0x352236['shift']());}}}(a146_0x90bb,0x408ea),module[a146_0x54184c(0x1d2)]=require(a146_0x54184c(0x1d8)));
1
+ function a146_0x5bc0(){var _0x5233c5=['494240jEWoLV','4448742irLgnb','238704YyBdjd','3022WPaVcG','11TMyWrY','77iKEAIY','3195IjCgUB','./Percy','7elKmic','9182020ERnHEv','6279651QiUble','3012qwVByp'];a146_0x5bc0=function(){return _0x5233c5;};return a146_0x5bc0();}var a146_0x63de=a146_0x574b;function a146_0x574b(_0x411acf,_0x5a490d){var _0x5bc0ef=a146_0x5bc0();return a146_0x574b=function(_0x574bf9,_0xd737c7){_0x574bf9=_0x574bf9-0xfe;var _0x1f1d35=_0x5bc0ef[_0x574bf9];return _0x1f1d35;},a146_0x574b(_0x411acf,_0x5a490d);}(function(_0x33d5d0,_0x13fffc){var _0x52d529=a146_0x574b,_0x309a98=_0x33d5d0();while(!![]){try{var _0x1ba37f=parseInt(_0x52d529(0xff))/0x1*(-parseInt(_0x52d529(0x109))/0x2)+parseInt(_0x52d529(0x108))/0x3+-parseInt(_0x52d529(0x105))/0x4*(parseInt(_0x52d529(0x100))/0x5)+parseInt(_0x52d529(0x107))/0x6*(parseInt(_0x52d529(0x102))/0x7)+parseInt(_0x52d529(0x106))/0x8+-parseInt(_0x52d529(0x104))/0x9+parseInt(_0x52d529(0x103))/0xa*(parseInt(_0x52d529(0xfe))/0xb);if(_0x1ba37f===_0x13fffc)break;else _0x309a98['push'](_0x309a98['shift']());}catch(_0x2087da){_0x309a98['push'](_0x309a98['shift']());}}}(a146_0x5bc0,0x7b79a),module['exports']=require(a146_0x63de(0x101)));
@@ -1 +1 @@
1
- const a147_0x15bcec=a147_0x8f95;(function(_0x554b07,_0x310d62){const _0x451dc5=a147_0x8f95,_0x1340c1=_0x554b07();while(!![]){try{const _0x3a8ba3=parseInt(_0x451dc5(0x15f))/0x1*(parseInt(_0x451dc5(0x157))/0x2)+parseInt(_0x451dc5(0x132))/0x3*(parseInt(_0x451dc5(0x151))/0x4)+-parseInt(_0x451dc5(0x153))/0x5*(parseInt(_0x451dc5(0x137))/0x6)+parseInt(_0x451dc5(0x161))/0x7+parseInt(_0x451dc5(0x15c))/0x8*(-parseInt(_0x451dc5(0x12e))/0x9)+-parseInt(_0x451dc5(0x158))/0xa*(parseInt(_0x451dc5(0x147))/0xb)+-parseInt(_0x451dc5(0x156))/0xc*(parseInt(_0x451dc5(0x12c))/0xd);if(_0x3a8ba3===_0x310d62)break;else _0x1340c1['push'](_0x1340c1['shift']());}catch(_0xec77bd){_0x1340c1['push'](_0x1340c1['shift']());}}}(a147_0x20b2,0x20ea2));const Percy=require(a147_0x15bcec(0x149)),PercySDK=require(a147_0x15bcec(0x124)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a147_0x15bcec(0x134))[a147_0x15bcec(0x168)],helper=require(a147_0x15bcec(0x15a)),PerformanceTester=require(a147_0x15bcec(0x129)),{PERCY_EVENTS:PerformanceEvents}=require(a147_0x15bcec(0x126));function a147_0x8f95(_0x251c40,_0x22c660){const _0x20b2df=a147_0x20b2();return a147_0x8f95=function(_0x8f9586,_0x2381aa){_0x8f9586=_0x8f9586-0x11f;let _0x3666ed=_0x20b2df[_0x8f9586];return _0x3666ed;},a147_0x8f95(_0x251c40,_0x22c660);}exports[a147_0x15bcec(0x165)]=PerformanceTester['measureWrapper'](PerformanceEvents['START'],async _0x31417a=>{const _0x41295a=a147_0x15bcec,_0x287ef0={};_0x287ef0[_0x41295a(0x12a)]=_0x41295a(0x13d);const _0x1ef3bc=_0x287ef0;logger['debug'](_0x1ef3bc[_0x41295a(0x12a)]);const _0x207f3d=new Percy(_0x31417a),_0x4803d2=await _0x207f3d[_0x41295a(0x128)]();if(_0x4803d2)return _0x207f3d;return null;}),exports[a147_0x15bcec(0x127)]=PerformanceTester[a147_0x15bcec(0x15e)](PerformanceEvents[a147_0x15bcec(0x136)],async _0x27b539=>{const _0x2320f2=a147_0x15bcec,_0x110371={};_0x110371['FDtQM']=_0x2320f2(0x14b);const _0xa4dfb7=_0x110371;return logger['debug'](_0xa4dfb7['FDtQM']),_0x27b539[_0x2320f2(0x164)]();}),exports['getBestPlatformForPercySnapshot']=_0x581a24=>{const _0x3278e7=a147_0x15bcec,_0x401053={};_0x401053[_0x3278e7(0x135)]=function(_0x44a227,_0x43ea62){return _0x44a227<_0x43ea62;};const _0x173924=_0x401053,_0x5a8e98={};_0x5a8e98[_0x3278e7(0x145)]=0x0,_0x5a8e98[_0x3278e7(0x13b)]=0x1,_0x5a8e98[_0x3278e7(0x15d)]=0x2,_0x5a8e98[_0x3278e7(0x12b)]=0x3;const _0x5a8cb6=_0x5a8e98;return _0x581a24[_0x3278e7(0x144)]((_0x118d91,_0x15de37,_0x502c93)=>{const _0x5b2604=_0x3278e7,_0x3a0bdd=_0x581a24[_0x118d91];if(_0x15de37[_0x5b2604(0x133)])return _0x118d91;if(_0x3a0bdd[_0x5b2604(0x133)])return _0x502c93;const _0x5682f1=_0x15de37[_0x5b2604(0x14f)]?_0x15de37[_0x5b2604(0x14f)]:_0x15de37[_0x5b2604(0x13f)];if(_0x5682f1&&_0x173924['oVmsd'](_0x5a8cb6[_0x5682f1[_0x5b2604(0x139)]()],_0x5a8cb6[_0x5682f1[_0x5b2604(0x139)]()]))return _0x502c93;return _0x118d91;},0x0);},exports[a147_0x15bcec(0x152)]=PerformanceTester[a147_0x15bcec(0x15e)](PerformanceEvents['AUTO_CAPTURE'],async(_0x10d53f,_0x44bc3b,_0x4d126c)=>{const _0x1aeabe=a147_0x15bcec,_0x2a39ea={};_0x2a39ea[_0x1aeabe(0x167)]=_0x1aeabe(0x13e);const _0x45ca38=_0x2a39ea,_0x9081ac=_0x10d53f['browserstackPercyMap'];if(helper['isUndefined'](_0x10d53f['browserstackSessionName'])){logger[_0x1aeabe(0x122)](_0x45ca38['xMeYu']);return;}const _0x5ce127=_0x9081ac[_0x1aeabe(0x148)](_0x10d53f[_0x1aeabe(0x159)],_0x44bc3b);_0x4d126c[_0x1aeabe(0x15b)]?await PercySDK[_0x1aeabe(0x11f)](_0x10d53f,_0x5ce127):await PercySDK[_0x1aeabe(0x130)](_0x10d53f,_0x5ce127),_0x9081ac[_0x1aeabe(0x138)](_0x10d53f['browserstackSessionName'],_0x44bc3b);}),exports['patchDriverPercy']=(_0x452793,_0x563686,_0x11555a)=>{const _0x30ff38=a147_0x15bcec,_0x27ef5f={};_0x27ef5f[_0x30ff38(0x13c)]=_0x30ff38(0x160),_0x27ef5f['TWmBS']='percy',_0x27ef5f[_0x30ff38(0x120)]=function(_0x8ad0b3,_0x517f73){return _0x8ad0b3!==_0x517f73;},_0x27ef5f['nOEJK']='manual';const _0x294fa0=_0x27ef5f;if(!helper[_0x30ff38(0x14c)](_0x11555a,[_0x294fa0[_0x30ff38(0x13c)],_0x294fa0[_0x30ff38(0x166)]]))return;if(_0x11555a[_0x30ff38(0x160)][_0x30ff38(0x143)]&&_0x11555a[_0x30ff38(0x160)][_0x30ff38(0x131)]&&_0x294fa0[_0x30ff38(0x120)](_0x11555a['browserStackPercyOptions'][_0x30ff38(0x131)],_0x294fa0[_0x30ff38(0x14a)])&&!_0x452793[_0x30ff38(0x12d)]){global[_0x30ff38(0x159)]&&(_0x452793[_0x30ff38(0x159)]=global['browserstackSessionName']),_0x452793[_0x30ff38(0x12d)]=new PercyCaptureMap();const _0xa4a0ae=PercyCaptureModes[_0x11555a['browserStackPercyOptions'][_0x30ff38(0x131)]];_0xa4a0ae[_0x30ff38(0x14e)]&&_0xa4a0ae['driver']['forEach'](_0x15d85c=>this['overrideXforPercy'](_0x452793,_0x15d85c,_0x11555a)),_0xa4a0ae[_0x30ff38(0x14d)]&&_0xa4a0ae[_0x30ff38(0x14d)]['forEach'](_0x1322cb=>{const _0x44ddfc=_0x30ff38;if(_0x563686['prototype'][_0x44ddfc(0x163)+_0x1322cb])return;_0x563686['prototype'][_0x44ddfc(0x163)+_0x1322cb]=!![];const _0x978f45=_0x563686[_0x44ddfc(0x154)][_0x1322cb];_0x563686['prototype'][_0x1322cb]=async function(){const _0x5c3d13=_0x44ddfc;let _0x566f48=_0x978f45['apply'](this,arguments);_0x566f48&&_0x566f48[_0x5c3d13(0x125)]&&(_0x566f48=await _0x566f48);try{const _0x4449ca=this['getDriver']();await exports['percyAutoCapture'](_0x4449ca,_0x1322cb,_0x11555a);}catch(_0x356819){logger[_0x5c3d13(0x162)]('Error\x20patching\x20'+_0x1322cb+_0x5c3d13(0x121)+_0x356819);}return _0x566f48;};});}},exports['overrideXforPercy']=function(_0x268f03,_0x22f307,_0x358292){const _0x56d213=a147_0x15bcec,_0x23acd5={};_0x23acd5[_0x56d213(0x12f)]=function(_0x334fcc,_0xb273de){return _0x334fcc+_0xb273de;},_0x23acd5[_0x56d213(0x140)]=_0x56d213(0x163),_0x23acd5[_0x56d213(0x13a)]=function(_0x1d0118,_0x53906a){return _0x1d0118+_0x53906a;},_0x23acd5[_0x56d213(0x155)]=_0x56d213(0x141);const _0xccd443=_0x23acd5,_0x15e551=_0xccd443['sKfSd'](_0xccd443[_0x56d213(0x140)],_0x22f307),_0x87b52b=_0xccd443[_0x56d213(0x13a)](_0xccd443[_0x56d213(0x155)],_0x22f307),_0x1c3de9=this;if(_0x268f03[_0x15e551]||!_0x268f03[_0x22f307])return;_0x268f03[_0x15e551]=!![],_0x268f03[_0x87b52b]=_0x268f03[_0x22f307],_0x268f03[_0x22f307]=async()=>{const _0xd639ff=_0x56d213;try{await _0x1c3de9[_0xd639ff(0x152)](_0x268f03,_0x22f307,_0x358292);}catch(_0x1af887){logger[_0xd639ff(0x162)]('Error\x20patching\x20'+_0x22f307+_0xd639ff(0x121)+_0x1af887);}return await _0x268f03[_0x87b52b][_0xd639ff(0x150)](_0x268f03,arguments);};},exports['getPercyOptions']=_0x2ee933=>{const _0x1bcaf2=a147_0x15bcec,_0x31a78a={};_0x31a78a['hYGrX']=_0x1bcaf2(0x142);const _0x13ba65=_0x31a78a,_0x11d883={};_0x11d883[_0x1bcaf2(0x143)]=_0x2ee933[_0x1bcaf2(0x143)],_0x11d883[_0x1bcaf2(0x131)]=_0x2ee933[_0x1bcaf2(0x131)]||_0x13ba65[_0x1bcaf2(0x146)];const _0x895782=_0x11d883;_0x2ee933['percy']&&(_0x895782[_0x1bcaf2(0x123)]=exports['getBestPlatformForPercySnapshot'](_0x2ee933['platforms']));;return _0x895782;};function a147_0x20b2(){const _0x35c15b=['211XVtSAW','browserStackPercyOptions','1445759CdEzyM','error','patch','stop','startPercy','TWmBS','xMeYu','winstonLogger','screenshotApp','mhvqc','\x20for\x20percy\x20','debug','browserstackPercyBestPlatform','./PercySDK','then','../performance/constants','stopPercy','start','../performance/performance-tester','OJYbt','safari','1430nTkifE','browserstackPercyMap','63qAPHjv','sKfSd','screenshot','percyCaptureMode','292317asJlvl','deviceName','../logger','oVmsd','STOP','26142rfFtUS','increment','toLowerCase','kJMyB','firefox','yJNAL','Starting\x20percy','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','browserName','nLuEo','init','auto','percy','reduce','chrome','hYGrX','628166RVCuXg','getName','./Percy','nOEJK','Stopping\x20percy','nestedKeyValue','element','driver','browser','apply','8KlDPlV','percyAutoCapture','5QjJOdm','prototype','DzBzW','7284CWEceE','962IrMQhI','20xdVvdH','browserstackSessionName','../helper','app','208856fMtIjn','edge','measureWrapper'];a147_0x20b2=function(){return _0x35c15b;};return a147_0x20b2();}
1
+ function a147_0x2fba(_0x23df70,_0x509d99){const _0x11e334=a147_0x11e3();return a147_0x2fba=function(_0x2fbabc,_0x5ede11){_0x2fbabc=_0x2fbabc-0x14d;let _0x51c0f1=_0x11e334[_0x2fbabc];return _0x51c0f1;},a147_0x2fba(_0x23df70,_0x509d99);}const a147_0x53dd23=a147_0x2fba;function a147_0x11e3(){const _0x333e48=['measureWrapper','5119352qgFnds','chrome','VFXkJ','../performance/constants','vsItS','2JOzhGB','increment','376dtiIPf','./PercyCaptureModes','174060XZaxJc','driver','browserName','../performance/performance-tester','debug','then','uKozK','prototype','START','xMcMa','winstonLogger','safari','reduce','qdzvw','33085150IxhftG','error','106115PxrLST','patchDriverPercy','deviceName','AUTO_CAPTURE','app','getName','apply','auto','getPercyOptions','element','forEach','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','patch','STOP','228ntijEk','ZOXep','Stopping\x20percy','eteNo','getBestPlatformForPercySnapshot','1070805dmcyAd','screenshotApp','getDriver','tnFbw','1100222YPUUNI','gENDC','percyAutoCapture','stopPercy','browser','percy','browserstackPercyBestPlatform','startPercy','ZNBUb','./PercyCaptureMap','isUndefined','percyCaptureMode','browserstackSessionName','browserstackPercyMap','3815063aqVtys','browserStackPercyOptions','Error\x20patching\x20','platforms','RqMpj','firefox','njnpe','OjlCq','overrideXforPercy','toLowerCase'];a147_0x11e3=function(){return _0x333e48;};return a147_0x11e3();}(function(_0x4ade36,_0x4a4abe){const _0xf7e2c2=a147_0x2fba,_0x16faac=_0x4ade36();while(!![]){try{const _0x42c28f=parseInt(_0xf7e2c2(0x183))/0x1*(-parseInt(_0xf7e2c2(0x165))/0x2)+parseInt(_0xf7e2c2(0x161))/0x3+-parseInt(_0xf7e2c2(0x17e))/0x4+-parseInt(_0xf7e2c2(0x14e))/0x5*(parseInt(_0xf7e2c2(0x15c))/0x6)+-parseInt(_0xf7e2c2(0x173))/0x7+parseInt(_0xf7e2c2(0x185))/0x8*(parseInt(_0xf7e2c2(0x187))/0x9)+parseInt(_0xf7e2c2(0x195))/0xa;if(_0x42c28f===_0x4a4abe)break;else _0x16faac['push'](_0x16faac['shift']());}catch(_0x364239){_0x16faac['push'](_0x16faac['shift']());}}}(a147_0x11e3,0xcdc87));const Percy=require('./Percy'),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a147_0x53dd23(0x186)),PercyCaptureMap=require(a147_0x53dd23(0x16e)),logger=require('../logger')[a147_0x53dd23(0x191)],helper=require('../helper'),PerformanceTester=require(a147_0x53dd23(0x18a)),{PERCY_EVENTS:PerformanceEvents}=require(a147_0x53dd23(0x181));exports[a147_0x53dd23(0x16c)]=PerformanceTester['measureWrapper'](PerformanceEvents[a147_0x53dd23(0x18f)],async _0x4b7374=>{const _0x198034=a147_0x53dd23,_0x1eaf78={};_0x1eaf78[_0x198034(0x15f)]='Starting\x20percy';const _0x32e7ad=_0x1eaf78;logger['debug'](_0x32e7ad[_0x198034(0x15f)]);const _0x3c377d=new Percy(_0x4b7374),_0x13765d=await _0x3c377d['start']();if(_0x13765d)return _0x3c377d;return null;}),exports[a147_0x53dd23(0x168)]=PerformanceTester['measureWrapper'](PerformanceEvents[a147_0x53dd23(0x15b)],async _0x3cef5a=>{const _0x5e99b3=a147_0x53dd23,_0x4ac4ce={};_0x4ac4ce[_0x5e99b3(0x190)]=_0x5e99b3(0x15e);const _0x288361=_0x4ac4ce;return logger['debug'](_0x288361[_0x5e99b3(0x190)]),_0x3cef5a['stop']();}),exports[a147_0x53dd23(0x160)]=_0x30df0c=>{const _0x569057=a147_0x53dd23,_0x46e781={};_0x46e781[_0x569057(0x18d)]=function(_0x3e7e9a,_0x25c708){return _0x3e7e9a<_0x25c708;};const _0x457160=_0x46e781,_0x3b10e8={};_0x3b10e8[_0x569057(0x17f)]=0x0,_0x3b10e8[_0x569057(0x178)]=0x1,_0x3b10e8['edge']=0x2,_0x3b10e8[_0x569057(0x192)]=0x3;const _0x1c3fa8=_0x3b10e8;return _0x30df0c[_0x569057(0x193)]((_0x338919,_0x5c4707,_0x177334)=>{const _0x255e3d=_0x569057,_0x43eb17=_0x30df0c[_0x338919];if(_0x5c4707[_0x255e3d(0x150)])return _0x338919;if(_0x43eb17['deviceName'])return _0x177334;const _0x2fdc6b=_0x5c4707['browser']?_0x5c4707[_0x255e3d(0x169)]:_0x5c4707[_0x255e3d(0x189)];if(_0x2fdc6b&&_0x457160['uKozK'](_0x1c3fa8[_0x2fdc6b[_0x255e3d(0x17c)]()],_0x1c3fa8[_0x2fdc6b['toLowerCase']()]))return _0x177334;return _0x338919;},0x0);},exports['percyAutoCapture']=PerformanceTester[a147_0x53dd23(0x17d)](PerformanceEvents[a147_0x53dd23(0x151)],async(_0x545083,_0x1c1fe1,_0x25218b)=>{const _0x20bb76=a147_0x53dd23,_0x2e6ba3={};_0x2e6ba3[_0x20bb76(0x17a)]=_0x20bb76(0x159);const _0xf836e5=_0x2e6ba3,_0x370f02=_0x545083[_0x20bb76(0x172)];if(helper[_0x20bb76(0x16f)](_0x545083[_0x20bb76(0x171)])){logger[_0x20bb76(0x18b)](_0xf836e5[_0x20bb76(0x17a)]);return;}const _0x529728=_0x370f02[_0x20bb76(0x153)](_0x545083[_0x20bb76(0x171)],_0x1c1fe1);_0x25218b[_0x20bb76(0x152)]?await PercySDK[_0x20bb76(0x162)](_0x545083,_0x529728):await PercySDK['screenshot'](_0x545083,_0x529728),_0x370f02[_0x20bb76(0x184)](_0x545083[_0x20bb76(0x171)],_0x1c1fe1);}),exports[a147_0x53dd23(0x14f)]=(_0x2cb9f5,_0x51c4e7,_0x3c28ca)=>{const _0x32f734=a147_0x53dd23,_0x40f13f={};_0x40f13f[_0x32f734(0x16d)]=_0x32f734(0x174),_0x40f13f[_0x32f734(0x164)]='percy',_0x40f13f['ZOXep']=function(_0xa60a92,_0x14b6cf){return _0xa60a92!==_0x14b6cf;},_0x40f13f[_0x32f734(0x180)]='manual';const _0x215e0c=_0x40f13f;if(!helper['nestedKeyValue'](_0x3c28ca,[_0x215e0c[_0x32f734(0x16d)],_0x215e0c['tnFbw']]))return;if(_0x3c28ca['browserStackPercyOptions']['percy']&&_0x3c28ca['browserStackPercyOptions'][_0x32f734(0x170)]&&_0x215e0c[_0x32f734(0x15d)](_0x3c28ca[_0x32f734(0x174)]['percyCaptureMode'],_0x215e0c[_0x32f734(0x180)])&&!_0x2cb9f5[_0x32f734(0x172)]){global[_0x32f734(0x171)]&&(_0x2cb9f5[_0x32f734(0x171)]=global[_0x32f734(0x171)]),_0x2cb9f5['browserstackPercyMap']=new PercyCaptureMap();const _0x1ea222=PercyCaptureModes[_0x3c28ca['browserStackPercyOptions'][_0x32f734(0x170)]];_0x1ea222[_0x32f734(0x188)]&&_0x1ea222['driver'][_0x32f734(0x158)](_0x5596e5=>this[_0x32f734(0x17b)](_0x2cb9f5,_0x5596e5,_0x3c28ca)),_0x1ea222[_0x32f734(0x157)]&&_0x1ea222['element'][_0x32f734(0x158)](_0x2fce02=>{const _0x514037=_0x32f734;if(_0x51c4e7[_0x514037(0x18e)][_0x514037(0x15a)+_0x2fce02])return;_0x51c4e7[_0x514037(0x18e)][_0x514037(0x15a)+_0x2fce02]=!![];const _0x1fe390=_0x51c4e7[_0x514037(0x18e)][_0x2fce02];_0x51c4e7[_0x514037(0x18e)][_0x2fce02]=async function(){const _0x5a0a62=_0x514037;let _0x3f113e=_0x1fe390['apply'](this,arguments);_0x3f113e&&_0x3f113e[_0x5a0a62(0x18c)]&&(_0x3f113e=await _0x3f113e);try{const _0x1d26bc=this[_0x5a0a62(0x163)]();await exports['percyAutoCapture'](_0x1d26bc,_0x2fce02,_0x3c28ca);}catch(_0x3f4743){logger[_0x5a0a62(0x14d)](_0x5a0a62(0x175)+_0x2fce02+'\x20for\x20percy\x20'+_0x3f4743);}return _0x3f113e;};});}},exports[a147_0x53dd23(0x17b)]=function(_0x2d9ac5,_0x1c6832,_0x43c0ae){const _0x177073=a147_0x53dd23,_0xdf40c4={};_0xdf40c4[_0x177073(0x194)]=function(_0x5ab85c,_0x4124cd){return _0x5ab85c+_0x4124cd;},_0xdf40c4['vsItS']=_0x177073(0x15a),_0xdf40c4['gENDC']=function(_0x1fa3cb,_0x488651){return _0x1fa3cb+_0x488651;},_0xdf40c4['njnpe']='init';const _0x275e76=_0xdf40c4,_0x17f32=_0x275e76[_0x177073(0x194)](_0x275e76[_0x177073(0x182)],_0x1c6832),_0x783ba4=_0x275e76[_0x177073(0x166)](_0x275e76[_0x177073(0x179)],_0x1c6832),_0x2713c2=this;if(_0x2d9ac5[_0x17f32]||!_0x2d9ac5[_0x1c6832])return;_0x2d9ac5[_0x17f32]=!![],_0x2d9ac5[_0x783ba4]=_0x2d9ac5[_0x1c6832],_0x2d9ac5[_0x1c6832]=async()=>{const _0x163019=_0x177073;try{await _0x2713c2[_0x163019(0x167)](_0x2d9ac5,_0x1c6832,_0x43c0ae);}catch(_0xe2334){logger[_0x163019(0x14d)]('Error\x20patching\x20'+_0x1c6832+'\x20for\x20percy\x20'+_0xe2334);}return await _0x2d9ac5[_0x783ba4][_0x163019(0x154)](_0x2d9ac5,arguments);};},exports[a147_0x53dd23(0x156)]=_0x4b7289=>{const _0x111081=a147_0x53dd23,_0x18d54b={};_0x18d54b[_0x111081(0x177)]=_0x111081(0x155);const _0x93400b=_0x18d54b,_0x14e831={};_0x14e831['percy']=_0x4b7289['percy'],_0x14e831[_0x111081(0x170)]=_0x4b7289[_0x111081(0x170)]||_0x93400b[_0x111081(0x177)];const _0x1a827d=_0x14e831;_0x4b7289[_0x111081(0x16a)]&&(_0x1a827d[_0x111081(0x16b)]=exports[_0x111081(0x160)](_0x4b7289[_0x111081(0x176)]));;return _0x1a827d;};
@@ -1 +1 @@
1
- const a148_0x20215e=a148_0x4ec3;(function(_0x408ca9,_0x306654){const _0x35192f=a148_0x4ec3,_0x5d4688=_0x408ca9();while(!![]){try{const _0x1ff7a1=-parseInt(_0x35192f(0x1e3))/0x1*(parseInt(_0x35192f(0x1e4))/0x2)+-parseInt(_0x35192f(0x1d4))/0x3*(-parseInt(_0x35192f(0x1fa))/0x4)+-parseInt(_0x35192f(0x1e0))/0x5*(-parseInt(_0x35192f(0x1cb))/0x6)+parseInt(_0x35192f(0x1de))/0x7+parseInt(_0x35192f(0x1cd))/0x8+parseInt(_0x35192f(0x202))/0x9+-parseInt(_0x35192f(0x1c2))/0xa;if(_0x1ff7a1===_0x306654)break;else _0x5d4688['push'](_0x5d4688['shift']());}catch(_0x143b66){_0x5d4688['push'](_0x5d4688['shift']());}}}(a148_0x2d1f,0x6041e));const a148_0xbae41d={};function a148_0x4ec3(_0x197ba1,_0x59885d){const _0x2d1ff6=a148_0x2d1f();return a148_0x4ec3=function(_0x4ec3a8,_0x48e512){_0x4ec3a8=_0x4ec3a8-0x189;let _0x5f4150=_0x2d1ff6[_0x4ec3a8];return _0x5f4150;},a148_0x4ec3(_0x197ba1,_0x59885d);}function a148_0x2d1f(){const _0x4e98e9=['SDK_FIND_NEAREST_HUB','SDK_PERCY',':screenshot','SESSION_STATUS',':save-results','PERFORM_SCAN','AFTER_ALL','DRIVER_EVENT','SAVE_RESULTS','sdk:hook','SDK_CONNECT_BIN_SESSION','TURBOSCALE_EVENTS','SDK_CLI_ON_STOP','sdk:connectBinSession','sdk:onStop','PERCY_EVENTS','sdk:testFrameworkEvent','BEFORE','AUTOMATE_EVENTS','SDK_CLEANUP','DOWNLOAD','SDK_CLI_LOG_CREATED_EVENT','EVENTS','SDK_AUTOMATION_FRAMEWORK_INIT',':ci-artifacts','A11Y_EVENTS','SDK_DRIVER','SDK_AI_SELF_HEAL_GET_RESULT','SCREENSHOT_APP','SDK_OBSERVABILITY_CONFIG',':keep-alive','QUIT','SDK_O11Y','sdk:cli:download',':get-accessibility-results','START','sdk:cli:enqueueTestEvent',':print-buildlink','16708710rJISun',':auto-capture','SDK_TURBOSCALE','STOP','APP_AUOTMATE_EVENTS','SNAPSHOT','HOOK_EVENTS',':screenshot-app','TAKE_SCREENSHOT','6USIvXF','sdk:cli:logCreatedEvent','6083208qryUWK','SDK_AUTOMATE','SDK_DRIVER_INIT','LOCAL_STOP','sdk:cleanup','SDK_APP_AUTOMATE','sdk:driverInit','3qkaheT','O11y_EVENTS','SDK_AUTOMATION_FRAMEWORK_START','SDK_AUTOMATION_FRAMEWORK_STOP','PRINT_BUILDLINK','sdk:automationFrameworkInit',':driver-manage',':download','SDK_A11Y',':start','3728879ZXCQsu','sdk:startBinSession','3530785DpCKkC','IDLE_TIMEOUT','BEFORE_EACH','1609MBQoVE','782HoqdGt','AFTER','SDK_CLI_START','SESSION_ANNOTATION',':get-accessibility-results-summary','GET',':hub-management','sdk:driver:pre-initialization','sdk:percy','SDK_ACCESSIBILITY_CONFIG',':post-execute','SDK_HOOK',':after-all','sdk:cli:on-bootstrap',':local-start','sdk:proxy-setup','SDK_POST_TEST','sdk:findNearestHub','SDK_TESTHUB',':local-stop','SDK_CLI_ENQUEUE_TEST_EVENT','SDK_PRE_TEST','730956urVIdU',':sync',':snapshot','HUB_MANAGEMENT','sdk:cli:start',':after',':stop','sdk:pre-test','4610394GCWpVK','LOCAL_START','sdk:turboscale','GET_RESULTS','sdk:automate','SDK_PROXY_SETUP','AUTO_CAPTURE','SESSION_NAME','SDK_START_BIN_SESSION',':driver-takeScreenShot','SDK_AI_SELF_HEAL_STEP','sdk:driver:post-initialization','sdk:automationFrameworkStart','sdk:app-automate',':before-all',':driver-performscan','SDK_TEST_SESSION_EVENT',':get','PRE_EXECUTE','SDK_AUTO_CAPTURE','TESTHUB_EVENTS','BEFORE_ALL'];a148_0x2d1f=function(){return _0x4e98e9;};return a148_0x2d1f();}a148_0xbae41d['SDK_SETUP']='sdk:setup',a148_0xbae41d[a148_0x20215e(0x1af)]=a148_0x20215e(0x1d1),a148_0xbae41d[a148_0x20215e(0x1f9)]=a148_0x20215e(0x201),a148_0xbae41d['SDK_TEST']='sdk:test',a148_0xbae41d[a148_0x20215e(0x1f4)]='sdk:post-test',a148_0xbae41d[a148_0x20215e(0x1ef)]=a148_0x20215e(0x1a5),a148_0xbae41d['SDK_DRIVER']='sdk:driver',a148_0xbae41d[a148_0x20215e(0x1dc)]='sdk:a11y',a148_0xbae41d[a148_0x20215e(0x1bc)]='sdk:o11y',a148_0xbae41d[a148_0x20215e(0x199)]='sdk:auto-capture',a148_0xbae41d[a148_0x20215e(0x18b)]=a148_0x20215e(0x1f3),a148_0xbae41d['SDK_TESTHUB']='sdk:testhub',a148_0xbae41d[a148_0x20215e(0x1ce)]=a148_0x20215e(0x18a),a148_0xbae41d[a148_0x20215e(0x1d2)]=a148_0x20215e(0x193),a148_0xbae41d[a148_0x20215e(0x1c4)]=a148_0x20215e(0x204),a148_0xbae41d[a148_0x20215e(0x19d)]=a148_0x20215e(0x1ec),a148_0xbae41d['SDK_PRE_INITIALIZE']=a148_0x20215e(0x1eb),a148_0xbae41d['SDK_POST_INITIALIZE']=a148_0x20215e(0x191),a148_0xbae41d[a148_0x20215e(0x1e6)]=a148_0x20215e(0x1fe),a148_0xbae41d['SDK_CLI_DOWNLOAD']=a148_0x20215e(0x1bd),a148_0xbae41d['SDK_CLI_CHECK_UPDATE']='sdk:cli:check-update',a148_0xbae41d['SDK_CLI_ON_BOOTSTRAP']=a148_0x20215e(0x1f1),a148_0xbae41d['SDK_CLI_ON_CONNECT']='sdk:cli:on-connect',a148_0xbae41d[a148_0x20215e(0x1a8)]='sdk:cli:on-stop',a148_0xbae41d[a148_0x20215e(0x18e)]=a148_0x20215e(0x1df),a148_0xbae41d[a148_0x20215e(0x1a6)]=a148_0x20215e(0x1a9),a148_0xbae41d[a148_0x20215e(0x1cf)]=a148_0x20215e(0x1d3),a148_0xbae41d[a148_0x20215e(0x19c)]=a148_0x20215e(0x1f5),a148_0xbae41d[a148_0x20215e(0x1b3)]=a148_0x20215e(0x1d9),a148_0xbae41d[a148_0x20215e(0x1d6)]=a148_0x20215e(0x192),a148_0xbae41d[a148_0x20215e(0x1ed)]='sdk:accessibilityConfig',a148_0xbae41d[a148_0x20215e(0x1b9)]='sdk:observabilityConfig',a148_0xbae41d[a148_0x20215e(0x190)]='sdk:aiSelfHealStep',a148_0xbae41d[a148_0x20215e(0x1b7)]='sdk:aiSelfHealGetResult',a148_0xbae41d['SDK_TEST_FRAMEWORK_EVENT']=a148_0x20215e(0x1ac),a148_0xbae41d[a148_0x20215e(0x196)]='sdk:testSessionEvent',a148_0xbae41d[a148_0x20215e(0x1b1)]=a148_0x20215e(0x1cc),a148_0xbae41d[a148_0x20215e(0x1f8)]=a148_0x20215e(0x1c0),a148_0xbae41d[a148_0x20215e(0x1d7)]='sdk:automationFrameworkStop',a148_0xbae41d['SDK_ON_STOP']=a148_0x20215e(0x1aa);const SDK_EVENTS=a148_0xbae41d,a148_0x671d70={};a148_0x671d70[a148_0x20215e(0x1b2)]=SDK_EVENTS,a148_0x671d70[a148_0x20215e(0x19a)]={},a148_0x671d70[a148_0x20215e(0x1ae)]={},a148_0x671d70[a148_0x20215e(0x1b5)]={},a148_0x671d70[a148_0x20215e(0x1ab)]={},a148_0x671d70[a148_0x20215e(0x1d5)]={},a148_0x671d70[a148_0x20215e(0x1c8)]={},a148_0x671d70[a148_0x20215e(0x1a7)]={},a148_0x671d70[a148_0x20215e(0x1c6)]={},a148_0x671d70[a148_0x20215e(0x1a3)]={},a148_0x671d70[a148_0x20215e(0x19a)][a148_0x20215e(0x1bf)]=SDK_EVENTS[a148_0x20215e(0x1f6)]+':start',a148_0x671d70[a148_0x20215e(0x19a)][a148_0x20215e(0x1c5)]=SDK_EVENTS[a148_0x20215e(0x1f6)]+a148_0x20215e(0x200),a148_0x671d70[a148_0x20215e(0x1ae)]['KEEP_ALIVE']=SDK_EVENTS['SDK_AUTOMATE']+a148_0x20215e(0x1ba),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1fd)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':hub-management',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x203)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+a148_0x20215e(0x1f2),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1d0)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+a148_0x20215e(0x1f7),a148_0x671d70[a148_0x20215e(0x1ae)]['DRIVER_MANAGE']=SDK_EVENTS[a148_0x20215e(0x1ce)]+a148_0x20215e(0x1da),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x18d)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':session-name',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x19f)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':session-status',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1e7)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':session-annotation',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1e1)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':idle-timeout',a148_0x671d70[a148_0x20215e(0x1ae)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS['SDK_AUTOMATE']+a148_0x20215e(0x1b4),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1d8)]=SDK_EVENTS['SDK_AUTOMATE']+a148_0x20215e(0x1c1),a148_0x671d70[a148_0x20215e(0x1b5)][a148_0x20215e(0x1a1)]=SDK_EVENTS['SDK_A11Y']+a148_0x20215e(0x195),a148_0x671d70[a148_0x20215e(0x1b5)][a148_0x20215e(0x1a4)]=SDK_EVENTS[a148_0x20215e(0x1dc)]+a148_0x20215e(0x1a0),a148_0x671d70[a148_0x20215e(0x1b5)][a148_0x20215e(0x189)]=SDK_EVENTS[a148_0x20215e(0x1dc)]+a148_0x20215e(0x1be),a148_0x671d70[a148_0x20215e(0x1b5)]['GET_RESULTS_SUMMARY']=SDK_EVENTS[a148_0x20215e(0x1dc)]+a148_0x20215e(0x1e8),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1b0)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1db),a148_0x671d70[a148_0x20215e(0x1ab)]['SCREENSHOT']=SDK_EVENTS['SDK_PERCY']+a148_0x20215e(0x19e),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1bf)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1dd),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1c5)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x200),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x18c)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1c3),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1c7)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1fc),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1b8)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1c9),a148_0x671d70[a148_0x20215e(0x1d5)]['SYNC']=SDK_EVENTS[a148_0x20215e(0x1bc)]+a148_0x20215e(0x1fb),a148_0x671d70[a148_0x20215e(0x1d5)][a148_0x20215e(0x1ca)]=SDK_EVENTS[a148_0x20215e(0x1bc)]+a148_0x20215e(0x18f),a148_0x671d70[a148_0x20215e(0x1d5)][a148_0x20215e(0x1d8)]=SDK_EVENTS['SDK_O11Y']+a148_0x20215e(0x1c1),a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1e2)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+':before-each',a148_0x671d70[a148_0x20215e(0x1c8)]['AFTER_EACH']=SDK_EVENTS['SDK_HOOK']+':after-each',a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1a2)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+a148_0x20215e(0x1f0),a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x19b)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+a148_0x20215e(0x194),a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1ad)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+':before',a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1e5)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+a148_0x20215e(0x1ff),a148_0x671d70[a148_0x20215e(0x1a7)][a148_0x20215e(0x1fd)]=SDK_EVENTS['SDK_TURBOSCALE']+a148_0x20215e(0x1ea),a148_0x671d70[a148_0x20215e(0x1a7)][a148_0x20215e(0x1d8)]=SDK_EVENTS[a148_0x20215e(0x1c4)]+a148_0x20215e(0x1c1),a148_0x671d70[a148_0x20215e(0x1c6)]['APP_UPLOAD']=SDK_EVENTS[a148_0x20215e(0x1d2)]+':app-upload',a148_0x671d70[a148_0x20215e(0x1a3)][a148_0x20215e(0x1bb)]=SDK_EVENTS[a148_0x20215e(0x1b6)]+':quit',a148_0x671d70[a148_0x20215e(0x1a3)][a148_0x20215e(0x1e9)]=SDK_EVENTS[a148_0x20215e(0x1b6)]+a148_0x20215e(0x197),a148_0x671d70[a148_0x20215e(0x1a3)][a148_0x20215e(0x198)]=SDK_EVENTS[a148_0x20215e(0x1b6)]+':pre-execute',a148_0x671d70[a148_0x20215e(0x1a3)]['POST_EXECUTE']=SDK_EVENTS[a148_0x20215e(0x1b6)]+a148_0x20215e(0x1ee),module['exports']=a148_0x671d70;
1
+ const a148_0x434549=a148_0x54e3;function a148_0x54e3(_0x525a2d,_0x2052f1){const _0x475922=a148_0x4759();return a148_0x54e3=function(_0x54e36d,_0x41206b){_0x54e36d=_0x54e36d-0xa2;let _0x1ba247=_0x475922[_0x54e36d];return _0x1ba247;},a148_0x54e3(_0x525a2d,_0x2052f1);}(function(_0x3d07eb,_0x109f11){const _0x1794fa=a148_0x54e3,_0x3364cb=_0x3d07eb();while(!![]){try{const _0x4b1505=-parseInt(_0x1794fa(0xb9))/0x1*(parseInt(_0x1794fa(0xf1))/0x2)+parseInt(_0x1794fa(0x118))/0x3+parseInt(_0x1794fa(0x120))/0x4+parseInt(_0x1794fa(0xe3))/0x5+parseInt(_0x1794fa(0xc2))/0x6*(parseInt(_0x1794fa(0xd8))/0x7)+-parseInt(_0x1794fa(0xd1))/0x8+-parseInt(_0x1794fa(0x108))/0x9;if(_0x4b1505===_0x109f11)break;else _0x3364cb['push'](_0x3364cb['shift']());}catch(_0x54061c){_0x3364cb['push'](_0x3364cb['shift']());}}}(a148_0x4759,0x81b88));const a148_0x406388={};a148_0x406388[a148_0x434549(0xe2)]=a148_0x434549(0xb0),a148_0x406388[a148_0x434549(0xd9)]=a148_0x434549(0xee),a148_0x406388[a148_0x434549(0xc7)]=a148_0x434549(0xa6),a148_0x406388[a148_0x434549(0xd3)]=a148_0x434549(0x121),a148_0x406388['SDK_POST_TEST']='sdk:post-test',a148_0x406388[a148_0x434549(0xdf)]=a148_0x434549(0xe6),a148_0x406388['SDK_DRIVER']='sdk:driver',a148_0x406388[a148_0x434549(0x11b)]=a148_0x434549(0x11c),a148_0x406388[a148_0x434549(0xf8)]=a148_0x434549(0xab),a148_0x406388[a148_0x434549(0xd5)]='sdk:auto-capture',a148_0x406388[a148_0x434549(0xe9)]=a148_0x434549(0xea),a148_0x406388['SDK_TESTHUB']=a148_0x434549(0xe7),a148_0x406388['SDK_AUTOMATE']='sdk:automate',a148_0x406388['SDK_APP_AUTOMATE']=a148_0x434549(0xca),a148_0x406388[a148_0x434549(0x116)]='sdk:turboscale',a148_0x406388[a148_0x434549(0x117)]=a148_0x434549(0x110),a148_0x406388[a148_0x434549(0xb2)]=a148_0x434549(0xa4),a148_0x406388['SDK_POST_INITIALIZE']=a148_0x434549(0xb8),a148_0x406388[a148_0x434549(0xc8)]=a148_0x434549(0x10a),a148_0x406388['SDK_CLI_DOWNLOAD']=a148_0x434549(0xcf),a148_0x406388['SDK_CLI_CHECK_UPDATE']=a148_0x434549(0x100),a148_0x406388['SDK_CLI_ON_BOOTSTRAP']=a148_0x434549(0xb5),a148_0x406388[a148_0x434549(0x115)]='sdk:cli:on-connect',a148_0x406388[a148_0x434549(0xd0)]='sdk:cli:on-stop',a148_0x406388[a148_0x434549(0xdb)]=a148_0x434549(0xd2),a148_0x406388[a148_0x434549(0xba)]=a148_0x434549(0xe1),a148_0x406388[a148_0x434549(0xb1)]=a148_0x434549(0xcb),a148_0x406388[a148_0x434549(0xf6)]=a148_0x434549(0xbb),a148_0x406388[a148_0x434549(0x109)]='sdk:automationFrameworkInit',a148_0x406388[a148_0x434549(0xad)]='sdk:automationFrameworkStart',a148_0x406388[a148_0x434549(0xb7)]=a148_0x434549(0xa3),a148_0x406388[a148_0x434549(0xdc)]=a148_0x434549(0xc9),a148_0x406388[a148_0x434549(0x119)]=a148_0x434549(0xc5),a148_0x406388['SDK_AI_SELF_HEAL_GET_RESULT']='sdk:aiSelfHealGetResult',a148_0x406388[a148_0x434549(0x112)]=a148_0x434549(0xf0),a148_0x406388[a148_0x434549(0x10d)]=a148_0x434549(0xf5),a148_0x406388[a148_0x434549(0x122)]='sdk:cli:logCreatedEvent',a148_0x406388[a148_0x434549(0xcd)]=a148_0x434549(0xc1),a148_0x406388[a148_0x434549(0xf7)]=a148_0x434549(0x114),a148_0x406388['SDK_ON_STOP']='sdk:onStop';function a148_0x4759(){const _0x53e8aa=[':screenshot-app','SDK_HOOK','HUB_MANAGEMENT','sdk:connectBinSession','SDK_SETUP','4113325pZLxTS',':sync','BEFORE_ALL','sdk:hook','sdk:testhub','SDK_DRIVER','SDK_PROXY_SETUP','sdk:proxy-setup','APP_UPLOAD',':before-all','SDK_AUTOMATE','sdk:cleanup',':start','sdk:testFrameworkEvent','621766JYYfQM','SDK_TESTHUB',':session-annotation','KEEP_ALIVE','sdk:testSessionEvent','SDK_FIND_NEAREST_HUB','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_O11Y','TURBOSCALE_EVENTS',':session-status','SAVE_RESULTS','SNAPSHOT','A11Y_EVENTS',':before',':local-start','sdk:cli:check-update',':download','PRINT_BUILDLINK',':save-results',':app-upload','AUTOMATE_EVENTS',':hub-management','GENERATE_CI_ARTIFACT','12563127UBOKYm','SDK_AUTOMATION_FRAMEWORK_INIT','sdk:cli:start',':idle-timeout',':session-name','SDK_TEST_SESSION_EVENT','GET_RESULTS_SUMMARY','DRIVER_MANAGE','sdk:percy','BEFORE','SDK_TEST_FRAMEWORK_EVENT','IDLE_TIMEOUT','sdk:automationFrameworkStop','SDK_CLI_ON_CONNECT','SDK_TURBOSCALE','SDK_PERCY','1260597PQtkjh','SDK_AI_SELF_HEAL_STEP','PERFORM_SCAN','SDK_A11Y','sdk:a11y','DOWNLOAD',':keep-alive',':after','3883384mmbjnE','sdk:test','SDK_CLI_LOG_CREATED_EVENT','O11y_EVENTS','sdk:accessibilityConfig','sdk:driver:pre-initialization',':before-each','sdk:pre-test','STOP',':driver-takeScreenShot','PERCY_EVENTS',':ci-artifacts','sdk:o11y',':pre-execute','SDK_AUTOMATION_FRAMEWORK_START',':get-accessibility-results','SESSION_ANNOTATION','sdk:setup','SDK_DRIVER_INIT','SDK_PRE_INITIALIZE',':print-buildlink','HOOK_EVENTS','sdk:cli:on-bootstrap','START','SDK_ACCESSIBILITY_CONFIG','sdk:driver:post-initialization','1KAjvHx','SDK_CONNECT_BIN_SESSION','sdk:findNearestHub','DRIVER_EVENT',':screenshot','SCREENSHOT_APP','TESTHUB_EVENTS',':get','sdk:cli:enqueueTestEvent','290760riXuUF','LOCAL_STOP','EVENTS','sdk:aiSelfHealStep',':stop','SDK_PRE_TEST','SDK_CLI_START','sdk:observabilityConfig','sdk:app-automate','sdk:driverInit','AFTER_EACH','SDK_CLI_ENQUEUE_TEST_EVENT','SYNC','sdk:cli:download','SDK_CLI_ON_STOP','5619904cZbzpL','sdk:startBinSession','SDK_TEST',':driver-performscan','SDK_AUTO_CAPTURE','APP_AUOTMATE_EVENTS','LOCAL_START','105GjNzGk','SDK_CLEANUP',':local-stop','SDK_START_BIN_SESSION','SDK_OBSERVABILITY_CONFIG',':after-all'];a148_0x4759=function(){return _0x53e8aa;};return a148_0x4759();}const SDK_EVENTS=a148_0x406388,a148_0x143670={};a148_0x143670[a148_0x434549(0xc4)]=SDK_EVENTS,a148_0x143670[a148_0x434549(0xbf)]={},a148_0x143670[a148_0x434549(0x105)]={},a148_0x143670[a148_0x434549(0xfd)]={},a148_0x143670[a148_0x434549(0xa9)]={},a148_0x143670[a148_0x434549(0xa2)]={},a148_0x143670[a148_0x434549(0xb4)]={},a148_0x143670[a148_0x434549(0xf9)]={},a148_0x143670[a148_0x434549(0xd6)]={},a148_0x143670[a148_0x434549(0xbc)]={},a148_0x143670[a148_0x434549(0xbf)][a148_0x434549(0xb6)]=SDK_EVENTS[a148_0x434549(0xf2)]+':start',a148_0x143670[a148_0x434549(0xbf)][a148_0x434549(0xa7)]=SDK_EVENTS[a148_0x434549(0xf2)]+a148_0x434549(0xc6),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0xf4)]=SDK_EVENTS[a148_0x434549(0xed)]+a148_0x434549(0x11e),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0xe0)]=SDK_EVENTS[a148_0x434549(0xed)]+a148_0x434549(0x106),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0xd7)]=SDK_EVENTS[a148_0x434549(0xed)]+a148_0x434549(0xff),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0xc3)]=SDK_EVENTS[a148_0x434549(0xed)]+a148_0x434549(0xda),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0x10f)]=SDK_EVENTS[a148_0x434549(0xed)]+':driver-manage',a148_0x143670[a148_0x434549(0x105)]['SESSION_NAME']=SDK_EVENTS[a148_0x434549(0xed)]+a148_0x434549(0x10c),a148_0x143670[a148_0x434549(0x105)]['SESSION_STATUS']=SDK_EVENTS['SDK_AUTOMATE']+a148_0x434549(0xfa),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0xaf)]=SDK_EVENTS['SDK_AUTOMATE']+a148_0x434549(0xf3),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0x113)]=SDK_EVENTS['SDK_AUTOMATE']+a148_0x434549(0x10b),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0x107)]=SDK_EVENTS[a148_0x434549(0xed)]+a148_0x434549(0xaa),a148_0x143670[a148_0x434549(0x105)][a148_0x434549(0x102)]=SDK_EVENTS[a148_0x434549(0xed)]+a148_0x434549(0xb3),a148_0x143670[a148_0x434549(0xfd)][a148_0x434549(0x11a)]=SDK_EVENTS[a148_0x434549(0x11b)]+a148_0x434549(0xd4),a148_0x143670[a148_0x434549(0xfd)][a148_0x434549(0xfb)]=SDK_EVENTS['SDK_A11Y']+a148_0x434549(0x103),a148_0x143670[a148_0x434549(0xfd)]['GET_RESULTS']=SDK_EVENTS['SDK_A11Y']+a148_0x434549(0xae),a148_0x143670[a148_0x434549(0xfd)][a148_0x434549(0x10e)]=SDK_EVENTS[a148_0x434549(0x11b)]+':get-accessibility-results-summary',a148_0x143670[a148_0x434549(0xa9)][a148_0x434549(0x11d)]=SDK_EVENTS['SDK_PERCY']+a148_0x434549(0x101),a148_0x143670[a148_0x434549(0xa9)]['SCREENSHOT']=SDK_EVENTS[a148_0x434549(0x117)]+a148_0x434549(0xbd),a148_0x143670[a148_0x434549(0xa9)][a148_0x434549(0xb6)]=SDK_EVENTS['SDK_PERCY']+a148_0x434549(0xef),a148_0x143670[a148_0x434549(0xa9)][a148_0x434549(0xa7)]=SDK_EVENTS[a148_0x434549(0x117)]+a148_0x434549(0xc6),a148_0x143670[a148_0x434549(0xa9)]['AUTO_CAPTURE']=SDK_EVENTS[a148_0x434549(0x117)]+':auto-capture',a148_0x143670[a148_0x434549(0xa9)][a148_0x434549(0xfc)]=SDK_EVENTS[a148_0x434549(0x117)]+':snapshot',a148_0x143670[a148_0x434549(0xa9)][a148_0x434549(0xbe)]=SDK_EVENTS['SDK_PERCY']+a148_0x434549(0xde),a148_0x143670[a148_0x434549(0xa2)][a148_0x434549(0xce)]=SDK_EVENTS['SDK_O11Y']+a148_0x434549(0xe4),a148_0x143670[a148_0x434549(0xa2)]['TAKE_SCREENSHOT']=SDK_EVENTS[a148_0x434549(0xf8)]+a148_0x434549(0xa8),a148_0x143670[a148_0x434549(0xa2)][a148_0x434549(0x102)]=SDK_EVENTS[a148_0x434549(0xf8)]+':print-buildlink',a148_0x143670[a148_0x434549(0xb4)]['BEFORE_EACH']=SDK_EVENTS[a148_0x434549(0xdf)]+a148_0x434549(0xa5),a148_0x143670[a148_0x434549(0xb4)][a148_0x434549(0xcc)]=SDK_EVENTS['SDK_HOOK']+':after-each',a148_0x143670[a148_0x434549(0xb4)]['AFTER_ALL']=SDK_EVENTS['SDK_HOOK']+a148_0x434549(0xdd),a148_0x143670[a148_0x434549(0xb4)][a148_0x434549(0xe5)]=SDK_EVENTS[a148_0x434549(0xdf)]+a148_0x434549(0xec),a148_0x143670[a148_0x434549(0xb4)][a148_0x434549(0x111)]=SDK_EVENTS[a148_0x434549(0xdf)]+a148_0x434549(0xfe),a148_0x143670[a148_0x434549(0xb4)]['AFTER']=SDK_EVENTS[a148_0x434549(0xdf)]+a148_0x434549(0x11f),a148_0x143670[a148_0x434549(0xf9)][a148_0x434549(0xe0)]=SDK_EVENTS[a148_0x434549(0x116)]+a148_0x434549(0x106),a148_0x143670[a148_0x434549(0xf9)][a148_0x434549(0x102)]=SDK_EVENTS[a148_0x434549(0x116)]+':print-buildlink',a148_0x143670[a148_0x434549(0xd6)][a148_0x434549(0xeb)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a148_0x434549(0x104),a148_0x143670[a148_0x434549(0xbc)]['QUIT']=SDK_EVENTS['SDK_DRIVER']+':quit',a148_0x143670[a148_0x434549(0xbc)]['GET']=SDK_EVENTS[a148_0x434549(0xe8)]+a148_0x434549(0xc0),a148_0x143670[a148_0x434549(0xbc)]['PRE_EXECUTE']=SDK_EVENTS['SDK_DRIVER']+a148_0x434549(0xac),a148_0x143670[a148_0x434549(0xbc)]['POST_EXECUTE']=SDK_EVENTS[a148_0x434549(0xe8)]+':post-execute',module['exports']=a148_0x143670;