browserstack-node-sdk 1.58.0 → 1.60.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 (217) 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 +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/assets/report.html +1 -1
  43. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  44. package/src/bin/codeceptjs/command.js +1 -1
  45. package/src/bin/codeceptjs/helper.js +1 -1
  46. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  47. package/src/bin/cucumber-js/command.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/test-observability.js +1 -1
  51. package/src/bin/cucumber-js/test.setup.js +1 -1
  52. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  53. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  54. package/src/bin/integrations/command.js +1 -1
  55. package/src/bin/integrations/constants.js +1 -1
  56. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  57. package/src/bin/jasmine/command.js +1 -1
  58. package/src/bin/jasmine/test.setup.js +1 -1
  59. package/src/bin/jasmine/testRunMap.js +1 -1
  60. package/src/bin/jest/command.js +1 -1
  61. package/src/bin/jest/customImplements/customCircus.js +1 -1
  62. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  63. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  64. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  65. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  66. package/src/bin/jest/jest.setup.js +1 -1
  67. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  68. package/src/bin/jest/test-observability/helper.js +1 -1
  69. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  70. package/src/bin/jest/test-observability/test-details.js +1 -1
  71. package/src/bin/jest/test.setup.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  155. package/src/bin/v2/state/hookState.js +1 -1
  156. package/src/bin/v2/state/testFrameworkState.js +1 -1
  157. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  158. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  159. package/src/bin/v2/utils/jest-utils.js +1 -1
  160. package/src/bin/vanilla-js/command.js +1 -1
  161. package/src/browserStackSdk.js +1 -1
  162. package/src/helpers/BrowserStackSetup.js +1 -1
  163. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  164. package/src/helpers/accessibility-automation/constants.js +1 -1
  165. package/src/helpers/accessibility-automation/helper.js +1 -1
  166. package/src/helpers/accessibility-automation/scripts.js +1 -1
  167. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  168. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/timeoutPromise.js +1 -1
  214. package/src/helpers/utilities.js +1 -1
  215. package/src/helpers/w3cMapping.js +1 -1
  216. package/src/hubAllocationMethods.js +1 -1
  217. 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_0x1227f2=a137_0x2f8b;(function(_0x36a6bd,_0x268fa7){const _0x208167=a137_0x2f8b,_0x32d38d=_0x36a6bd();while(!![]){try{const _0xef9074=parseInt(_0x208167(0x11d))/0x1*(-parseInt(_0x208167(0xde))/0x2)+parseInt(_0x208167(0xd9))/0x3*(parseInt(_0x208167(0xf6))/0x4)+parseInt(_0x208167(0xfe))/0x5*(parseInt(_0x208167(0xf1))/0x6)+parseInt(_0x208167(0xcd))/0x7+-parseInt(_0x208167(0x10a))/0x8*(parseInt(_0x208167(0xf2))/0x9)+parseInt(_0x208167(0xe1))/0xa*(-parseInt(_0x208167(0xf0))/0xb)+parseInt(_0x208167(0xdc))/0xc;if(_0xef9074===_0x268fa7)break;else _0x32d38d['push'](_0x32d38d['shift']());}catch(_0xa33e0b){_0x32d38d['push'](_0x32d38d['shift']());}}}(a137_0x5a83,0x8204a));const winston=require(a137_0x1227f2(0x114)),path=require(a137_0x1227f2(0x10b)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a137_0x1227f2(0xd7)),tempLogDir=a137_0x1227f2(0xee);let redactRegex=null,lastConfigHash='';const logFormat=winston[a137_0x1227f2(0xda)](_0xe3b290=>{const _0xe0d333=a137_0x1227f2,_0x75fb5c={};_0x75fb5c[_0xe0d333(0xf4)]=function(_0x42c2d9,_0x3708ad){return _0x42c2d9!==_0x3708ad;},_0x75fb5c[_0xe0d333(0x109)]='string',_0x75fb5c[_0xe0d333(0xf9)]=function(_0x4fca68,_0x3d49db){return _0x4fca68+_0x3d49db;},_0x75fb5c[_0xe0d333(0xe0)]=function(_0x53ed17,_0x356806){return _0x53ed17>_0x356806;},_0x75fb5c['dHlgI']=_0xe0d333(0xe2);const _0x49c35b=_0x75fb5c;_0x49c35b[_0xe0d333(0xf4)](typeof _0xe3b290[_0xe0d333(0x11e)],_0x49c35b['zMtkL'])&&(_0xe3b290[_0xe0d333(0x11e)]=JSON[_0xe0d333(0x106)](_0xe3b290[_0xe0d333(0x11e)]));const _0x30020a=global[_0xe0d333(0xe6)]&&global[_0xe0d333(0xe6)][_0xe0d333(0x10c)]||'',_0x23134e=global[_0xe0d333(0xe6)]&&global[_0xe0d333(0xe6)][_0xe0d333(0x101)]||'',_0x446ad3=_0x49c35b[_0xe0d333(0xf9)](_0x49c35b[_0xe0d333(0xf9)](_0x30020a,'|'),_0x23134e);if(_0x49c35b[_0xe0d333(0xf4)](_0x446ad3,lastConfigHash)){lastConfigHash=_0x446ad3;const _0x2d59fb=[_0x30020a,_0x23134e][_0xe0d333(0xea)](Boolean);if(_0x49c35b['PUlas'](_0x2d59fb[_0xe0d333(0xd1)],0x0)){const _0x113ecd=_0x2d59fb[_0xe0d333(0xfd)](_0x248fb4=>_0x248fb4[_0xe0d333(0xd8)](/[.*+?^${}()|[\]\\]/g,'\x5c$&'))[_0xe0d333(0xfa)]('|');redactRegex=new RegExp(_0x113ecd,'g');}else redactRegex=null;}return redactRegex&&(_0xe3b290[_0xe0d333(0x11e)]=_0xe3b290[_0xe0d333(0x11e)][_0xe0d333(0xd8)](redactRegex,_0x49c35b[_0xe0d333(0xf7)])),_0xe3b290;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0x5c0e1b=>{const _0x54f6a7=a137_0x1227f2,_0x19ceb2={};_0x19ceb2[_0x54f6a7(0x121)]=function(_0x7d77d9,_0x315a54){return _0x7d77d9!==_0x315a54;},_0x19ceb2[_0x54f6a7(0x107)]=_0x54f6a7(0xfb),_0x19ceb2[_0x54f6a7(0xe9)]=_0x54f6a7(0xe2),_0x19ceb2[_0x54f6a7(0x116)]=_0x54f6a7(0xdf);const _0x1e8d14=_0x19ceb2;try{if(!_0x5c0e1b||_0x1e8d14[_0x54f6a7(0x121)](typeof _0x5c0e1b,_0x1e8d14[_0x54f6a7(0x107)]))return _0x5c0e1b;const _0x34eea0={};for(const _0x56022d of Object[_0x54f6a7(0x100)](_0x5c0e1b)){_0x34eea0[_0x56022d]=SENSITIVE_HEADER_REGEX[_0x54f6a7(0x10d)](_0x56022d)?_0x1e8d14[_0x54f6a7(0xe9)]:_0x5c0e1b[_0x56022d];}return _0x34eea0;}catch{return _0x1e8d14[_0x54f6a7(0x116)];}},fetchLogDir=()=>{const _0x229061=a137_0x1227f2;if(process[_0x229061(0x119)][_0x229061(0xcb)])return process[_0x229061(0x119)]['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0x229061(0x124)](tempLogDir)&&fs[_0x229061(0x10e)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x159d23=a137_0x1227f2,_0x422700={};_0x422700[_0x159d23(0x11c)]=_0x159d23(0xf3);const _0x5f13ff=_0x422700,_0x56b256=process[_0x159d23(0x119)][_0x159d23(0x11b)],_0x1bc2ba=Object[_0x159d23(0x100)](winston[_0x159d23(0xe6)][_0x159d23(0x118)]['levels']);if(_0x56b256&&_0x1bc2ba['includes'](_0x56b256[_0x159d23(0xd0)]()))return _0x56b256['toLowerCase']();return _0x5f13ff[_0x159d23(0x11c)];},initialLogLevel=getInitialLogLevel(),a137_0x5030ab={};a137_0x5030ab['name']='console.info',a137_0x5030ab[a137_0x1227f2(0xe5)]=initialLogLevel;const transports={'loggerConsole':new winston[(a137_0x1227f2(0xec))]['Console'](a137_0x5030ab),'loggerFile':new winston[(a137_0x1227f2(0xec))][(a137_0x1227f2(0x11f))]({'filename':path['join'](logDir,'/usage.log'),'level':initialLogLevel}),'debugLoggerFile':new winston[(a137_0x1227f2(0xec))]['File']({'filename':path['join'](logDir,a137_0x1227f2(0xd3)),'level':a137_0x1227f2(0x110)}),'debugCliLoggerFile':new winston[(a137_0x1227f2(0xec))][(a137_0x1227f2(0x11f))]({'filename':path['join'](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a137_0x1227f2(0x110)}),'buildLinkTransport':new winston[(a137_0x1227f2(0xec))]['File']({'filename':path[a137_0x1227f2(0xfa)](logDir,a137_0x1227f2(0x108)),'level':a137_0x1227f2(0x110)})},automationTransports={};process[a137_0x1227f2(0x119)][a137_0x1227f2(0xcf)]===a137_0x1227f2(0xe3)&&(automationTransports[a137_0x1227f2(0x120)]=new winston['transports'][(a137_0x1227f2(0x11f))]({'filename':path[a137_0x1227f2(0xfa)](logDir,'automation.log'),'level':a137_0x1227f2(0x110)}));transports['loggerConsole']['on'](a137_0x1227f2(0x123),_0x537684=>{const _0x1d66bd=a137_0x1227f2,_0x2ef0a2={};_0x2ef0a2[_0x1d66bd(0xff)]=function(_0x2399fe,_0x2e3ecd){return _0x2399fe===_0x2e3ecd;},_0x2ef0a2['JgArO']='EPIPE',_0x2ef0a2[_0x1d66bd(0xe4)]=_0x1d66bd(0xed);const _0x24d0cb=_0x2ef0a2;if(_0x24d0cb['EicLa'](_0x537684[_0x1d66bd(0xcc)],_0x24d0cb[_0x1d66bd(0x112)])){console[_0x1d66bd(0xee)](_0x24d0cb['dGniQ'],_0x537684[_0x1d66bd(0x11e)]);return;}throw _0x537684;});const a137_0x9a0122={};a137_0x9a0122[a137_0x1227f2(0xda)]=a137_0x1227f2(0x113);const a137_0x4f1232={};a137_0x4f1232[a137_0x1227f2(0xe5)]=!![];const winstonLoggerParams={'format':winston[a137_0x1227f2(0xda)][a137_0x1227f2(0xdd)](winston[a137_0x1227f2(0xda)]['timestamp'](a137_0x9a0122),winston[a137_0x1227f2(0xda)][a137_0x1227f2(0x105)](a137_0x4f1232),winston[a137_0x1227f2(0xda)][a137_0x1227f2(0xeb)](_0x2b3c7f=>_0x2b3c7f[a137_0x1227f2(0x115)]+'\x20-\x20'+_0x2b3c7f['level']+':\x20'+_0x2b3c7f['message'])),'transports':[transports[a137_0x1227f2(0xd5)]]},a137_0x31e46f={};a137_0x31e46f[a137_0x1227f2(0xda)]=a137_0x1227f2(0x113);const a137_0x5b28cb={};a137_0x5b28cb[a137_0x1227f2(0xe5)]=!![];const winstonFileLoggerParams={'format':winston[a137_0x1227f2(0xda)][a137_0x1227f2(0xdd)](winston[a137_0x1227f2(0xda)][a137_0x1227f2(0x115)](a137_0x31e46f),winston['format'][a137_0x1227f2(0x105)](a137_0x5b28cb),winston[a137_0x1227f2(0xda)]['printf'](_0x3268fa=>_0x3268fa['level']+':\x20'+_0x3268fa[a137_0x1227f2(0x11e)])),'transports':[]},a137_0x32d96b={};a137_0x32d96b[a137_0x1227f2(0xda)]=a137_0x1227f2(0x113);const a137_0x435d3f={};a137_0x435d3f[a137_0x1227f2(0xe5)]=!![];const a137_0x2f93d5={};function a137_0x2f8b(_0x3e7e7f,_0x49043a){const _0x5a834e=a137_0x5a83();return a137_0x2f8b=function(_0x2f8bb1,_0x5c473d){_0x2f8bb1=_0x2f8bb1-0xca;let _0x4d0e6a=_0x5a834e[_0x2f8bb1];return _0x4d0e6a;},a137_0x2f8b(_0x3e7e7f,_0x49043a);}a137_0x2f93d5[a137_0x1227f2(0xe5)]=a137_0x1227f2(0x110);const BuildLoggerParams={'format':winston[a137_0x1227f2(0xda)][a137_0x1227f2(0xdd)](winston['format']['timestamp'](a137_0x32d96b),winston[a137_0x1227f2(0xda)][a137_0x1227f2(0x105)](a137_0x435d3f),winston[a137_0x1227f2(0xda)][a137_0x1227f2(0xeb)](_0x1dedcd=>_0x1dedcd[a137_0x1227f2(0x115)]+a137_0x1227f2(0xce)+_0x1dedcd[a137_0x1227f2(0xe5)]+':\x20'+_0x1dedcd[a137_0x1227f2(0x11e)])),'transports':[transports[a137_0x1227f2(0xd6)],new winston['transports'][(a137_0x1227f2(0x104))](a137_0x2f93d5)]},a137_0x3c2599={};a137_0x3c2599[a137_0x1227f2(0xfc)]=()=>{},a137_0x3c2599[a137_0x1227f2(0xf3)]=()=>{},a137_0x3c2599[a137_0x1227f2(0xe7)]=()=>{},a137_0x3c2599['error']=()=>{},a137_0x3c2599['debug']=()=>{},a137_0x3c2599['silly']=()=>{},exports[a137_0x1227f2(0x11a)]=process[a137_0x1227f2(0x119)][a137_0x1227f2(0xcf)]===a137_0x1227f2(0xe3)?winston[a137_0x1227f2(0x103)]({'format':winston[a137_0x1227f2(0xda)]['combine'](winston[a137_0x1227f2(0xda)][a137_0x1227f2(0xf5)](),winston['format']['timestamp'](),logFormat(),winston[a137_0x1227f2(0xda)][a137_0x1227f2(0xeb)](_0x12276f=>_0x12276f['level']+':\x20'+_0x12276f['message'])),'transports':[automationTransports[a137_0x1227f2(0x120)]]}):a137_0x3c2599;const initialize=()=>{const _0x3971c9=a137_0x1227f2,_0x245202={};_0x245202[_0x3971c9(0x117)]=_0x3971c9(0x110);const _0x1f371e=_0x245202,_0x562402=transports[_0x3971c9(0xd5)]['level']||initialLogLevel;transports[_0x3971c9(0x122)]&&(exports[_0x3971c9(0xe8)][_0x3971c9(0xf8)](transports[_0x3971c9(0x122)]),exports['fileLogger']['remove'](transports[_0x3971c9(0x122)])),transports[_0x3971c9(0xef)]&&(exports[_0x3971c9(0xe8)]['remove'](transports[_0x3971c9(0xef)]),exports[_0x3971c9(0x111)][_0x3971c9(0xf8)](transports[_0x3971c9(0xef)])),transports[_0x3971c9(0x122)]=new winston['transports'][(_0x3971c9(0x11f))]({'filename':path[_0x3971c9(0xfa)](exports[_0x3971c9(0xd4)],LOG_FILE_NAME),'level':_0x562402}),transports[_0x3971c9(0xef)]=new winston[(_0x3971c9(0xec))][(_0x3971c9(0x11f))]({'filename':path['join'](exports[_0x3971c9(0xd4)],DEBUG_LOG_FILE_NAME),'level':_0x1f371e[_0x3971c9(0x117)]}),transports[_0x3971c9(0xdb)]=new winston['transports'][(_0x3971c9(0x11f))]({'filename':path[_0x3971c9(0xfa)](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x1f371e[_0x3971c9(0x117)]}),exports[_0x3971c9(0xe8)][_0x3971c9(0xca)](transports['loggerFile']),exports[_0x3971c9(0xe8)]['add'](transports[_0x3971c9(0xef)]),exports['fileLogger'][_0x3971c9(0xca)](transports[_0x3971c9(0x122)]),exports[_0x3971c9(0x111)][_0x3971c9(0xca)](transports[_0x3971c9(0xef)]);};function a137_0x5a83(){const _0x5c9743=['length','initialize','/usage-debug.log','logDir','loggerConsole','buildLinkTransport','../bin/utils/constants','replace','3ZXlpgE','format','debugCliLoggerFile','14149260chvSnd','combine','21074ANUhqb','[REDACTED\x20HEADERS]','PUlas','1934420YDetrA','[REDACTED]','true','dGniQ','level','config','warn','winstonLogger','QUZJt','filter','printf','transports','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','log','debugLoggerFile','33wWuEkD','234390YBhJqA','59481INyBOV','info','uEwkS','uncolorize','2341884FTOJvI','dHlgI','remove','oRiOz','join','object','http','map','25KBlPWt','EicLa','keys','accessKey','buildLogger','createLogger','Console','colorize','stringify','XIrla','/usage.log','zMtkL','488xevlEf','path','userName','test','mkdirSync','maskHeaders','silly','fileLogger','JgArO','YYYY-MM-DD\x20HH:mm:ss','winston','timestamp','BYHPR','WRaAn','npm','env','automationLogger','BROWSERSTACK_LOG_LEVEL','lwilq','61OaKboF','message','File','automationLoggerFile','LBJfA','loggerFile','error','existsSync','add','BROWSERSTACK_INTERNAL_LOG_DIR','code','1392195IIGoBs','\x20-\x20','BROWSERSTACK_AUTOMATION_LOGS','toLowerCase'];a137_0x5a83=function(){return _0x5c9743;};return a137_0x5a83();}exports[a137_0x1227f2(0xe8)]=new winston[(a137_0x1227f2(0x103))](winstonLoggerParams),exports[a137_0x1227f2(0x111)]=new winston[(a137_0x1227f2(0x103))](winstonFileLoggerParams),exports[a137_0x1227f2(0x102)]=new winston[(a137_0x1227f2(0x103))](BuildLoggerParams),exports[a137_0x1227f2(0xd4)]=logDir,exports['getLogDir']=()=>{return exports['logDir'];},exports[a137_0x1227f2(0xec)]=transports,exports[a137_0x1227f2(0xd2)]=initialize,exports[a137_0x1227f2(0x10f)]=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_0x3dbb(){const _0x46577a=['12380bIFidm','xXTLU','194330vrxPSg','9bssRMQ','set','string','5iBFmJE','34590djzzne','onRjV','6115848tEQzVX','./globals','NUgwo','exports','2xVlFpu','getCentralUser','1529AJpxyf','length','cggfi','getGlobal','setGlobal','294010XLyLdX','KMACw','lcnc','230556HCaGlC','identifier','The\x20metadata\x20object\x20is\x20not\x20valid.','testMeta-','warn','testMeta','621tsuhhG','4782428QuJMsP','get','./helper','KuhNI','JXFAw','testRunUUID'];a138_0x3dbb=function(){return _0x46577a;};return a138_0x3dbb();}const a138_0x140b9e=a138_0x5e3b;(function(_0x5d12e7,_0x2821b7){const _0x38d97a=a138_0x5e3b,_0x17cca5=_0x5d12e7();while(!![]){try{const _0x34182f=parseInt(_0x38d97a(0xae))/0x1*(-parseInt(_0x38d97a(0x95))/0x2)+-parseInt(_0x38d97a(0xa5))/0x3*(parseInt(_0x38d97a(0xac))/0x4)+-parseInt(_0x38d97a(0x8e))/0x5*(parseInt(_0x38d97a(0x8f))/0x6)+-parseInt(_0x38d97a(0xa6))/0x7+-parseInt(_0x38d97a(0x91))/0x8+-parseInt(_0x38d97a(0xaf))/0x9*(-parseInt(_0x38d97a(0x9c))/0xa)+-parseInt(_0x38d97a(0x97))/0xb*(-parseInt(_0x38d97a(0x9f))/0xc);if(_0x34182f===_0x2821b7)break;else _0x17cca5['push'](_0x17cca5['shift']());}catch(_0x583e3e){_0x17cca5['push'](_0x17cca5['shift']());}}}(a138_0x3dbb,0x647ab));const globals=require(a138_0x140b9e(0x92)),helper=require(a138_0x140b9e(0xa8)),logger=require('./logger')['winstonLogger'];function a138_0x5e3b(_0x4ab394,_0x2b9251){const _0x3dbb0b=a138_0x3dbb();return a138_0x5e3b=function(_0x5e3b8a,_0x325c50){_0x5e3b8a=_0x5e3b8a-0x8d;let _0x2cecfe=_0x3dbb0b[_0x5e3b8a];return _0x2cecfe;},a138_0x5e3b(_0x4ab394,_0x2b9251);}module[a138_0x140b9e(0x94)]=class TestMetadata{static[a138_0x140b9e(0xb0)](_0x58a009={}){const _0x5e6598=a138_0x140b9e,_0x2d561b={};_0x2d561b['KuhNI']=_0x5e6598(0xab),_0x2d561b[_0x5e6598(0x99)]=function(_0x3f2529,_0x2fdc5c){return _0x3f2529===_0x2fdc5c;},_0x2d561b[_0x5e6598(0x93)]=_0x5e6598(0x8d),_0x2d561b[_0x5e6598(0x90)]=function(_0x174eb6,_0x211d63){return _0x174eb6<=_0x211d63;},_0x2d561b[_0x5e6598(0xad)]='testMeta',_0x2d561b[_0x5e6598(0x9d)]=_0x5e6598(0xa1);const _0x136e5b=_0x2d561b,_0x3c07fc=globals[_0x5e6598(0x9a)](_0x136e5b[_0x5e6598(0xa9)]),_0x36670a=_0x58a009[_0x5e6598(0xa0)];helper['getCentralUser']()[_0x5e6598(0x9e)]&&(_0x136e5b[_0x5e6598(0x99)](typeof _0x36670a,_0x136e5b[_0x5e6598(0x93)])&&_0x136e5b[_0x5e6598(0x90)](_0x36670a[_0x5e6598(0x98)],0x28)?_0x3c07fc?globals[_0x5e6598(0x9b)]('testMeta-'+_0x3c07fc,_0x58a009):globals['setGlobal'](_0x136e5b['xXTLU'],_0x58a009):logger[_0x5e6598(0xa3)](_0x136e5b[_0x5e6598(0x9d)]));}static[a138_0x140b9e(0xa7)](_0x1ba76d){const _0x288de9=a138_0x140b9e,_0x327b03={};_0x327b03[_0x288de9(0xaa)]=_0x288de9(0xa4);const _0x78ea10=_0x327b03;if(helper[_0x288de9(0x96)]()[_0x288de9(0x9e)])return globals[_0x288de9(0x9a)](_0x288de9(0xa2)+_0x1ba76d)||globals[_0x288de9(0x9a)](_0x78ea10[_0x288de9(0xaa)])||{};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_0xb129(_0x912415,_0x2ba4ee){const _0x3d0233=a139_0x3d02();return a139_0xb129=function(_0xb129d6,_0x4f5bfd){_0xb129d6=_0xb129d6-0xdd;let _0x22f2ba=_0x3d0233[_0xb129d6];return _0x22f2ba;},a139_0xb129(_0x912415,_0x2ba4ee);}const a139_0x310d61=a139_0xb129;function a139_0x3d02(){const _0x185d06=['isSelfHealEnabled','pSGzV','1890700zSkhcB','YFKYF','format','debug','getSession','wSGPv','YqtsX','BjyIw','CYzyF','fOxVm','includes','ZdfLj','lvJGS','robcy','name_','body','mxekD','aiHeal:findElementSuccess','TOZNW','handleFailure','aiHeal:findElementFailure','zHYjv','JavascriptError','lfFAN',';\x20Trying\x20to\x20heal','nestedKeyValue','parameters_','OKiGY','message','Oyvub','6YhqHCa','getNudgeLocalNotSetError','RcBRA','2378676KYfUph','hybKP','jzeBP','vYVJW','LtKdg','KQmCM','eqaPK','aiHeal_isHealingEnabled','AKrMX','value','oSpZO','setTcgToken','script','url','chBcF','setAiSessionTimeStamp','parameters','289897bcwZRH','AUTOMATION_LOG_COMMANDS','sDAzA','SIVGi','find','info','bstack:options','YITDh','AakFy','overrideExecute','./logger','browserstack.local','JQiMn','zhHGc','aiHeal_isAuthenticated','Error\x20in\x20handling\x20TCG\x20Auth:\x20','wWwVI','string','ouYBt','POST_EXECUTE','][\x20SDK-AUTOMATION\x20]\x20','css\x20selector','patchExecute','NUDGE_LOCAL_ERRORS','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','inaBL','getGlobal','NoSuchElementError','aiSdk_defaultLogDataEnabled','zjDLo','PLbyP','cpJgX','getTcgTokenStatus','name','wqOaL','OJsQi','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','ATDaS','response','Ydwrk','Successfully\x20healed\x20command\x20using\x20new\x20','Healing\x20failed\x20for\x20command\x20using\x20','../bin/utils/constants','handleSuccess','silly','./ai-sdk/autoHealHelper','prtRb','executeAsyncScript','toString','8FuGNpy','1145266IhJMwz','getId','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','isBrowserstackInfra','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','2106174CBSwOA','PRE_EXECUTE','util','initExecute','1868295BDybOS','7434261zcGrpD','LgwPY','./helper','local','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','geiIj','LpOeq','using','toISOString','skipHealingSuccess','YowtB','CqWdA','execute','dYrHg','SDtSQ','FuSUw','findElement\x20command\x20failed\x20with\x20cssPath:\x20','RlPlb','HXhzq','measureWrapper','NkKEG','WEUCO','executeScript'];a139_0x3d02=function(){return _0x185d06;};return a139_0x3d02();}(function(_0x307c69,_0x559e0c){const _0x301035=a139_0xb129,_0x19a0e7=_0x307c69();while(!![]){try{const _0x10cd00=parseInt(_0x301035(0xe3))/0x1+-parseInt(_0x301035(0x115))/0x2+-parseInt(_0x301035(0x11e))/0x3+parseInt(_0x301035(0x159))/0x4+-parseInt(_0x301035(0x138))/0x5+parseInt(_0x301035(0x156))/0x6*(parseInt(_0x301035(0x11a))/0x7)+parseInt(_0x301035(0x114))/0x8*(parseInt(_0x301035(0x11f))/0x9);if(_0x10cd00===_0x559e0c)break;else _0x19a0e7['push'](_0x19a0e7['shift']());}catch(_0x3e873a){_0x19a0e7['push'](_0x19a0e7['shift']());}}}(a139_0x3d02,0x6aeb3));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a139_0x310d61(0x110)),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a139_0x310d61(0xed)),helper=require(a139_0x310d61(0x121)),constants=require(a139_0x310d61(0x10d)),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require(a139_0x310d61(0x11c));exports[a139_0x310d61(0xec)]=(_0x283603,_0x3ba7df)=>{const _0x56c122=a139_0x310d61,_0x5c7871={'cpJgX':_0x56c122(0xff),'iZIpt':function(_0x2fa753,_0x55d05a){return _0x2fa753===_0x55d05a;},'LpOeq':'findElement','CqWdA':_0x56c122(0xf1),'AakFy':_0x56c122(0x160),'CYzyF':_0x56c122(0x149),'RlPlb':function(_0x4d1a33){return _0x4d1a33();},'NkKEG':'aiHeal:setToken','fOxVm':function(_0x55b225){return _0x55b225();},'sDAzA':_0x56c122(0xfb),'OKiGY':function(_0x25b888,_0x87d04d){return _0x25b888===_0x87d04d;},'DIEJw':_0x56c122(0xfe),'TOZNW':function(_0x591b93,_0x2e7adf){return _0x591b93===_0x2e7adf;},'LtKdg':_0x56c122(0x14e),'YFKYF':function(_0x17ebe1,_0x445a85){return _0x17ebe1===_0x445a85;},'uIrAw':_0x56c122(0xf8),'robcy':function(_0x66a8e2,_0x9567c2){return _0x66a8e2+_0x9567c2;},'aLyZP':_0x56c122(0x12f),'WEUCO':_0x56c122(0x150),'MREoT':function(_0x3472e4,_0x4704f8){return _0x3472e4+_0x4704f8;},'vYVJW':function(_0xfedd65,_0x13e9d4){return _0xfedd65+_0x13e9d4;},'OJsQi':'findElement\x20command\x20failed\x20with\x20','YqtsX':_0x56c122(0x14c),'ATDaS':function(_0x417e27,_0x454673){return _0x417e27&&_0x454673;},'JQiMn':_0x56c122(0x117),'lvJGS':_0x56c122(0x10b),'Pdzzv':_0x56c122(0x107),'mxekD':_0x56c122(0x10c),'qihDZ':'get','PLbyP':_0x56c122(0x152),'wSGPv':_0x56c122(0xdf),'zHYjv':_0x56c122(0x123),'Oyvub':function(_0xc45c8,_0xdc52bd){return _0xc45c8===_0xdc52bd;},'chBcF':_0x56c122(0x112),'RcBRA':function(_0x4f7810,_0x3205b6){return _0x4f7810===_0x3205b6;},'LWAUH':_0x56c122(0x135),'eztEZ':_0x56c122(0xf4),'wqOaL':'capability','kQZGW':_0x56c122(0xee),'zKTDI':_0x56c122(0xe9),'KQmCM':_0x56c122(0x122)},_0x4b5acb=_0x283603[_0x56c122(0xf9)]||(helper[_0x56c122(0x151)](_0x3ba7df,[_0x5c7871[_0x56c122(0x105)],_0x5c7871['kQZGW']])||helper[_0x56c122(0x151)](_0x3ba7df,[_0x5c7871[_0x56c122(0x105)],_0x5c7871['zKTDI'],_0x5c7871[_0x56c122(0x15e)]]));if(!globals['getGlobal'](_0x5c7871[_0x56c122(0x12a)])&&!globals[_0x56c122(0xfd)](_0x5c7871[_0x56c122(0xeb)])&&_0x4b5acb)return;_0x283603['patchExecute']=!![],_0x283603[_0x56c122(0x11d)]=_0x283603[_0x56c122(0x12b)],_0x283603[_0x56c122(0x12b)]=async _0x3dcb73=>{const _0x6c19f6=_0x56c122,_0x2b058c={'zhHGc':_0x5c7871[_0x6c19f6(0x12a)],'prtRb':_0x5c7871[_0x6c19f6(0x133)],'hybKP':function(_0x505dc6){const _0x645d9=_0x6c19f6;return _0x5c7871[_0x645d9(0x141)](_0x505dc6);},'BjyIw':_0x5c7871[_0x6c19f6(0xe5)],'inaBL':function(_0x1bfe52,_0x557f5e){const _0x4002e8=_0x6c19f6;return _0x5c7871[_0x4002e8(0x153)](_0x1bfe52,_0x557f5e);},'GESDB':_0x5c7871['DIEJw'],'dYrHg':function(_0x2ee07d,_0x5d48c4){const _0x58b21a=_0x6c19f6;return _0x5c7871[_0x58b21a(0x14a)](_0x2ee07d,_0x5d48c4);},'ESdzL':_0x5c7871[_0x6c19f6(0x15d)],'MQJdH':function(_0x56aedb,_0x3300a5){const _0x1e4a27=_0x6c19f6;return _0x5c7871[_0x1e4a27(0x139)](_0x56aedb,_0x3300a5);},'YITDh':_0x5c7871[_0x6c19f6(0x125)],'oSpZO':_0x5c7871[_0x6c19f6(0xeb)],'eqaPK':_0x5c7871['uIrAw'],'AKrMX':function(_0x5c0813,_0x2447d1){const _0x4c8a1d=_0x6c19f6;return _0x5c7871[_0x4c8a1d(0x145)](_0x5c0813,_0x2447d1);},'ZdfLj':_0x5c7871['aLyZP'],'HXhzq':_0x5c7871[_0x6c19f6(0x134)],'jzeBP':function(_0x161e5e,_0x1c7016){return _0x5c7871['robcy'](_0x161e5e,_0x1c7016);},'FuSUw':function(_0x5eac78,_0xee5195){return _0x5c7871['MREoT'](_0x5eac78,_0xee5195);},'YowtB':function(_0x3bc197,_0x6f6f50){const _0x3ad60b=_0x6c19f6;return _0x5c7871[_0x3ad60b(0x15c)](_0x3bc197,_0x6f6f50);},'pSGzV':_0x5c7871[_0x6c19f6(0x106)],'kmcDA':_0x5c7871[_0x6c19f6(0x13e)],'oGfXL':function(_0x2e782d,_0x2f60c2){const _0x4bc5b9=_0x6c19f6;return _0x5c7871[_0x4bc5b9(0x108)](_0x2e782d,_0x2f60c2);},'SDtSQ':function(_0x1475fe,_0x5de74d){return _0x5c7871['MREoT'](_0x1475fe,_0x5de74d);},'TwIwO':_0x5c7871[_0x6c19f6(0xef)],'NYzaa':function(_0x2053c7,_0x43f9c5){return _0x5c7871['MREoT'](_0x2053c7,_0x43f9c5);},'LgwPY':function(_0x57b1e9,_0x2073f5){return _0x5c7871['MREoT'](_0x57b1e9,_0x2073f5);},'ouYBt':_0x5c7871[_0x6c19f6(0x144)],'wWwVI':_0x5c7871['Pdzzv'],'zjDLo':_0x5c7871[_0x6c19f6(0x148)],'Ydwrk':function(_0x49a755,_0x505eb3){const _0x491c1b=_0x6c19f6;return _0x5c7871[_0x491c1b(0x139)](_0x49a755,_0x505eb3);},'geiIj':_0x5c7871['qihDZ'],'lfFAN':_0x5c7871[_0x6c19f6(0x101)],'SIVGi':_0x5c7871[_0x6c19f6(0x13d)],'FCpIa':_0x5c7871[_0x6c19f6(0x14d)]};try{const _0x38513b={};_0x38513b['command']=_0x3dcb73[_0x6c19f6(0x146)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x6c19f6(0x11b)],async()=>{const _0x485a1f=_0x6c19f6;if(!commandRepository[_0x485a1f(0x103)]()&&globals[_0x485a1f(0xfd)](_0x2b058c[_0x485a1f(0xf0)])){const _0x1a42b6=PerformanceTester[_0x485a1f(0x132)](_0x2b058c[_0x485a1f(0x111)],async()=>{const _0x13a233=_0x485a1f;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x13a233(0xdd)]((await _0x283603[_0x13a233(0x13c)]())[_0x13a233(0x116)]());const _0x445458=globals[_0x13a233(0xfd)](_0x2b058c[_0x13a233(0xf0)]);_0x445458&&commandRepository[_0x13a233(0xe1)]((await _0x283603[_0x13a233(0x13c)]())[_0x13a233(0x116)]());}catch(_0x1eb328){logger['error'](_0x13a233(0xf2)+_0x1eb328);}});await _0x2b058c[_0x485a1f(0x15a)](_0x1a42b6);}},_0x38513b)();const _0x59bf48=await _0x283603[_0x6c19f6(0x11d)](_0x3dcb73);try{if(_0x5c7871[_0x6c19f6(0x155)](_0x3dcb73[_0x6c19f6(0x146)],_0x5c7871[_0x6c19f6(0xe0)])||_0x5c7871[_0x6c19f6(0x158)](_0x3dcb73['name_'],_0x5c7871['LWAUH'])){const _0x3f4b67=_0x3dcb73[_0x6c19f6(0x152)]&&_0x3dcb73[_0x6c19f6(0x152)][_0x6c19f6(0xde)],_0x33e4f5=_0x3dcb73[_0x6c19f6(0x152)]&&_0x3dcb73[_0x6c19f6(0x152)]['args'],_0xb3582d=_0x33e4f5&&util[_0x6c19f6(0x13a)]('%j',_0x33e4f5);if(_0x3f4b67&&_0x5c7871[_0x6c19f6(0x158)](typeof _0x3f4b67,_0x5c7871['eztEZ'])){const _0xb0b704=constants[_0x6c19f6(0xe4)][_0x6c19f6(0xe7)](_0x48624d=>_0x3f4b67[_0x6c19f6(0x142)](_0x48624d)||_0xb3582d&&_0xb3582d['includes'](_0x48624d));if(_0xb0b704){const _0xb64092={};_0xb64092['command']=_0xb0b704,_0xb64092[_0x6c19f6(0xe2)]=_0x33e4f5;const _0xad036b={};_0xad036b[_0x6c19f6(0x147)]=_0x59bf48;const _0x21f143={};_0x21f143['request']=_0xb64092,_0x21f143[_0x6c19f6(0x109)]=_0xad036b,automationLogger[_0x6c19f6(0x10f)]('['+new Date()[_0x6c19f6(0x127)]()+_0x6c19f6(0xf7)+util[_0x6c19f6(0x13a)]('%j',_0x21f143));}}}}catch(_0x3e1652){logger[_0x6c19f6(0x10f)](_0x6c19f6(0x119)+_0x3e1652[_0x6c19f6(0x154)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x6c19f6(0xf6)],async()=>{const _0x100334=_0x6c19f6;if(!helper[_0x100334(0x118)]()&&(commandRepository[_0x100334(0x136)]()||globals[_0x100334(0xfd)](_0x5c7871[_0x100334(0x102)]))&&_0x5c7871['iZIpt'](_0x3dcb73[_0x100334(0x146)],_0x5c7871[_0x100334(0x125)])&&!_0x3dcb73[_0x100334(0x128)]&&globals['getGlobal'](_0x5c7871[_0x100334(0x12a)])&&globals[_0x100334(0xfd)](_0x5c7871[_0x100334(0xeb)])){const _0x4e3491=new Date(),_0x4c03a8=PerformanceTester[_0x100334(0x132)](_0x5c7871[_0x100334(0x140)],async()=>{const _0x2991ce=_0x100334;return await aiSdkWrapper[_0x2991ce(0x10e)](_0x3ba7df,_0x283603,_0x3dcb73);});await _0x5c7871[_0x100334(0x130)](_0x4c03a8);}},{'command':_0x3dcb73[_0x6c19f6(0x146)]})(),_0x59bf48;}catch(_0x5891fa){await PerformanceTester[_0x6c19f6(0x132)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x1b35a9=_0x6c19f6;logger[_0x1b35a9(0x13b)](_0x2b058c[_0x1b35a9(0x13f)]);try{if(!helper[_0x1b35a9(0x118)]()&&(_0x2b058c[_0x1b35a9(0xfc)](_0x5891fa['name'],_0x2b058c['GESDB'])||_0x2b058c[_0x1b35a9(0x12c)](_0x5891fa[_0x1b35a9(0x104)],_0x2b058c['ESdzL']))&&_0x2b058c['MQJdH'](_0x3dcb73['name_'],_0x2b058c[_0x1b35a9(0xea)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x1b35a9(0xfd)](_0x2b058c[_0x1b35a9(0xf0)])&&globals[_0x1b35a9(0xfd)](_0x2b058c[_0x1b35a9(0x163)])){_0x2b058c[_0x1b35a9(0xfc)](_0x3dcb73['parameters_'][_0x1b35a9(0x126)],_0x2b058c[_0x1b35a9(0x15f)])?logger[_0x1b35a9(0xe8)](_0x2b058c['AKrMX'](_0x2b058c[_0x1b35a9(0x161)](_0x2b058c[_0x1b35a9(0x143)],_0x3dcb73[_0x1b35a9(0x152)][_0x1b35a9(0x162)]),_0x2b058c['HXhzq'])):logger[_0x1b35a9(0xe8)](_0x2b058c[_0x1b35a9(0x15b)](_0x2b058c[_0x1b35a9(0x15b)](_0x2b058c[_0x1b35a9(0x12e)](_0x2b058c[_0x1b35a9(0x129)](_0x2b058c[_0x1b35a9(0x137)],_0x3dcb73['parameters_']['using']),':\x20'),_0x3dcb73[_0x1b35a9(0x152)]['value']),_0x2b058c[_0x1b35a9(0x131)]));const _0x581874=PerformanceTester[_0x1b35a9(0x132)](_0x2b058c['kmcDA'],async()=>{const _0x4ffd8f=_0x1b35a9;return await aiSdkWrapper[_0x4ffd8f(0x14b)](_0x3ba7df,_0x283603,_0x3dcb73);}),_0x3088d4=new Date(),{locatorType:_0x1370e8,locatorValue:_0x4bf9dc,commandHealed:_0x2664ae}=await _0x2b058c['hybKP'](_0x581874);if(_0x2b058c['oGfXL'](_0x1370e8,_0x4bf9dc)){_0x3dcb73['parameters_'][_0x1b35a9(0x126)]=_0x1370e8,_0x3dcb73[_0x1b35a9(0x152)][_0x1b35a9(0x162)]=_0x4bf9dc,_0x3dcb73[_0x1b35a9(0x128)]=!![];const _0x4fbbeb=_0x283603[_0x1b35a9(0x12b)](_0x3dcb73);return _0x2b058c[_0x1b35a9(0xfc)](_0x1370e8,_0x2b058c[_0x1b35a9(0x15f)])?logger[_0x1b35a9(0xe8)](_0x2b058c[_0x1b35a9(0x12d)](_0x2b058c['TwIwO'],_0x4bf9dc)):logger[_0x1b35a9(0xe8)](_0x2b058c['NYzaa'](_0x2b058c['LgwPY'](_0x2b058c[_0x1b35a9(0x120)](_0x2b058c[_0x1b35a9(0xf5)],_0x1370e8),':\x20'),_0x4bf9dc)),_0x4fbbeb;}else!_0x2664ae&&(_0x2b058c[_0x1b35a9(0x12c)](_0x1370e8,_0x2b058c[_0x1b35a9(0x15f)])?logger[_0x1b35a9(0xe8)](_0x2b058c[_0x1b35a9(0x12d)](_0x2b058c[_0x1b35a9(0xf3)],_0x3dcb73[_0x1b35a9(0x152)][_0x1b35a9(0x162)])):logger[_0x1b35a9(0xe8)](_0x2b058c['YowtB'](_0x2b058c[_0x1b35a9(0x161)](_0x2b058c[_0x1b35a9(0x129)](_0x2b058c[_0x1b35a9(0x100)],_0x3dcb73[_0x1b35a9(0x152)][_0x1b35a9(0x126)]),':\x20'),_0x3dcb73[_0x1b35a9(0x152)][_0x1b35a9(0x162)])));}!_0x4b5acb&&_0x2b058c[_0x1b35a9(0x10a)](_0x3dcb73[_0x1b35a9(0x146)],_0x2b058c[_0x1b35a9(0x124)])&&helper['nestedKeyValue'](_0x3dcb73,[_0x2b058c[_0x1b35a9(0x14f)],_0x2b058c[_0x1b35a9(0xe6)]])&&!!constants[_0x1b35a9(0xfa)][_0x1b35a9(0xe7)](_0x805f7=>{const _0x43df2c=_0x1b35a9;return _0x5891fa[_0x43df2c(0x113)]()['includes'](_0x805f7);})&&helper[_0x1b35a9(0x157)](_0x3dcb73['parameters_'][_0x1b35a9(0xdf)],!![]);}catch(_0xd346c5){logger[_0x1b35a9(0x13b)](_0x2b058c['FCpIa'],_0xd346c5);}},{'success':![],'failure':_0x5891fa})();throw _0x5891fa;}};};
@@ -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_0x504d72=a140_0x2956;function a140_0x5112(){const _0x5764e5=['2581132UPxjxZ','./performance/performance-tester','1922535NwAPVS','initQuit','O11y_EVENTS','catch','quit','pid','WBlng','6215853qjMEDS','ScvwE','nbBXX','patchQuit','quitCount_','takeScreenshot','true','then','./performance/constants','mNoOS','HyhZt','TAKE_SCREENSHOT','BS_TESTOPS_ALLOW_SCREENSHOTS','end','bBpuf','TEST_SCREENSHOT','137DTOMEz','408681kjXWYM','emit','bs:addLog:','2846520PsBYAg','initScreenshot','patchScreenshot','1430994fiUldA','HYOzg','env','136JUDKJf','GMTCs','toISOString','1912mJsmhS'];a140_0x5112=function(){return _0x5764e5;};return a140_0x5112();}(function(_0xdf03d4,_0x6d118f){const _0x28cbe9=a140_0x2956,_0x3e44a5=_0xdf03d4();while(!![]){try{const _0x45dabb=parseInt(_0x28cbe9(0xc9))/0x1*(parseInt(_0x28cbe9(0xd6))/0x2)+parseInt(_0x28cbe9(0xd9))/0x3+parseInt(_0x28cbe9(0xd7))/0x4+parseInt(_0x28cbe9(0xcd))/0x5+parseInt(_0x28cbe9(0xd0))/0x6+-parseInt(_0x28cbe9(0xe0))/0x7+parseInt(_0x28cbe9(0xd3))/0x8*(-parseInt(_0x28cbe9(0xca))/0x9);if(_0x45dabb===_0x6d118f)break;else _0x3e44a5['push'](_0x3e44a5['shift']());}catch(_0x2f5d9c){_0x3e44a5['push'](_0x3e44a5['shift']());}}}(a140_0x5112,0x89eeb));function a140_0x2956(_0x3494ef,_0x24b572){const _0x5112e0=a140_0x5112();return a140_0x2956=function(_0x29562a,_0xdc843c){_0x29562a=_0x29562a-0xc4;let _0x5a92ea=_0x5112e0[_0x29562a];return _0x5a92ea;},a140_0x2956(_0x3494ef,_0x24b572);}const PerformanceTester=require(a140_0x504d72(0xd8)),O11yEvents=require(a140_0x504d72(0xe8))[a140_0x504d72(0xdb)];exports['overrideTakeScreenshot']=_0x2a9be1=>{const _0x5bbf5d=a140_0x504d72,_0x59ee61={'bBpuf':_0x5bbf5d(0xc8),'dhVFw':function(_0x4a1988,_0x420445){return _0x4a1988(_0x420445);},'HyhZt':function(_0x40cecd,_0x5a2a9d){return _0x40cecd!==_0x5a2a9d;},'GMTCs':_0x5bbf5d(0xe6)};if(_0x59ee61[_0x5bbf5d(0xea)](process[_0x5bbf5d(0xd2)][_0x5bbf5d(0xc5)],_0x59ee61[_0x5bbf5d(0xd4)]))return;if(_0x2a9be1[_0x5bbf5d(0xcf)])return;_0x2a9be1[_0x5bbf5d(0xcf)]=!![],_0x2a9be1[_0x5bbf5d(0xce)]=_0x2a9be1[_0x5bbf5d(0xe5)],_0x2a9be1['takeScreenshot']=()=>{const _0x201f1a=_0x5bbf5d,_0x281f44={'bsveN':_0x59ee61[_0x201f1a(0xc7)],'iKYNO':function(_0x194eb5,_0x35e01b){return _0x59ee61['dhVFw'](_0x194eb5,_0x35e01b);},'nbBXX':function(_0x4d4f89,_0x2305b6){return _0x59ee61['dhVFw'](_0x4d4f89,_0x2305b6);}};return new Promise(function(_0x1e618b,_0x58dcfa){const _0x5fe5b8=_0x201f1a,_0x592e8b={'ScvwE':function(_0xc9e48e,_0x415337){const _0x3ed9ef=a140_0x2956;return _0x281f44[_0x3ed9ef(0xe2)](_0xc9e48e,_0x415337);}};_0x2a9be1[_0x5fe5b8(0xce)]()[_0x5fe5b8(0xe7)](_0x3fb1c6=>{const _0x4623c0=_0x5fe5b8;PerformanceTester['start'](O11yEvents[_0x4623c0(0xc4)]),process[_0x4623c0(0xcb)](_0x4623c0(0xcc)+process[_0x4623c0(0xde)],{'timestamp':new Date()[_0x4623c0(0xd5)](),'message':_0x3fb1c6,'kind':_0x281f44['bsveN']}),_0x281f44['iKYNO'](_0x1e618b,_0x3fb1c6),PerformanceTester[_0x4623c0(0xc6)](O11yEvents[_0x4623c0(0xc4)]);})[_0x5fe5b8(0xdc)](_0x2b1fa9=>{const _0x4dcbb4=_0x5fe5b8;PerformanceTester[_0x4dcbb4(0xc6)](O11yEvents[_0x4dcbb4(0xc4)]),_0x592e8b[_0x4dcbb4(0xe1)](_0x58dcfa,_0x2b1fa9);});});};},exports['overrideQuit']=(_0x4362e5,_0x219395=null)=>{const _0x39c88e=a140_0x504d72,_0x4ccde5={'WBlng':function(_0x5f2319){return _0x5f2319();},'HYOzg':function(_0x121d41,_0x49e844){return _0x121d41>_0x49e844;},'mNoOS':function(_0x1962d9,_0x1f958b){return _0x1962d9>_0x1f958b;}};if(_0x4362e5[_0x39c88e(0xe3)])return;_0x4362e5[_0x39c88e(0xe3)]=!![],_0x4362e5['initQuit']=_0x4362e5[_0x39c88e(0xdd)],_0x4362e5[_0x39c88e(0xdd)]=()=>{const _0x4ed1fc=_0x39c88e;if(_0x219395){_0x219395[_0x4ed1fc(0xe4)]+=0x1;if(_0x4ccde5[_0x4ed1fc(0xd1)](_0x219395['quitCount_'],0x1))return _0x4362e5[_0x4ed1fc(0xda)]();}else{_0x4362e5['quitCount_']+=0x1;if(_0x4ccde5[_0x4ed1fc(0xe9)](_0x4362e5[_0x4ed1fc(0xe4)],0x1))return _0x4362e5[_0x4ed1fc(0xda)]();}return new Promise(function(_0x3dd63a){const _0x1cce33=_0x4ed1fc;_0x4ccde5[_0x1cce33(0xdf)](_0x3dd63a);});};};
@@ -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_0x129b(_0x2fd7aa,_0x30e3b0){const _0x1e228b=a141_0x1e22();return a141_0x129b=function(_0x129bf8,_0x2d48f4){_0x129bf8=_0x129bf8-0xb3;let _0x1d06d9=_0x1e228b[_0x129bf8];return _0x1d06d9;},a141_0x129b(_0x2fd7aa,_0x30e3b0);}const a141_0x317113=a141_0x129b;(function(_0x560e83,_0x29e176){const _0x500d20=a141_0x129b,_0x457f47=_0x560e83();while(!![]){try{const _0x17ca96=parseInt(_0x500d20(0xbb))/0x1*(parseInt(_0x500d20(0xd5))/0x2)+parseInt(_0x500d20(0xb6))/0x3*(-parseInt(_0x500d20(0xee))/0x4)+parseInt(_0x500d20(0xbc))/0x5*(parseInt(_0x500d20(0xc2))/0x6)+parseInt(_0x500d20(0xda))/0x7*(parseInt(_0x500d20(0xc5))/0x8)+-parseInt(_0x500d20(0xf7))/0x9*(-parseInt(_0x500d20(0xce))/0xa)+parseInt(_0x500d20(0xf5))/0xb+-parseInt(_0x500d20(0xd4))/0xc;if(_0x17ca96===_0x29e176)break;else _0x457f47['push'](_0x457f47['shift']());}catch(_0x13e347){_0x457f47['push'](_0x457f47['shift']());}}}(a141_0x1e22,0xae3b0));function a141_0x1e22(){const _0x71db4f=['app:exec','330RLLDaN','api/app_percy/get_project_token?name=','NSuxM','percy.log','BROWSERSTACK_TESTHUB_UUID','1ZWFYzX','4092635mSSSXK','end','createPercyConfig','jTKXS','stringify','pipe','6MNozkl','healthcheck','percy.json','10216aKRZea','start','ENV_VAR','app','itDJn','percy/healthcheck','mcqqv','child_process','http://localhost:5338','12772580mxPXrF','percyOptions','MzVTp','Percy\x20fetch\x20token\x20success','debug','DTiMd','30914820vTXlYk','54828lWtbpy','token','tmpdir','../../helpers/performance/constants','stderr','3192VVRcmS','stdout','close','exec','createWriteStream','isProcessRunning','exec:stop','giHoS','Percy\x20healthcheck\x20successful','../../helpers/performance/performance-tester','DOWNLOAD','BilYs','error','assign','path','wsnnZ','push','nodeRequest','UBAxD','uwlep','23268smnTqW','MRmrV','&type=','version','../logger','kGxtt','fetchPercyToken','13466662HYoKwc','tEnzS','9xcSGXo','join','env','GET'];a141_0x1e22=function(){return _0x71db4f;};return a141_0x1e22();}const fs=require('fs'),path=require(a141_0x317113(0xe8)),os=require('os'),{spawn}=require(a141_0x317113(0xcc)),helper=require('../helper'),logger=require(a141_0x317113(0xf2))['winstonLogger'],{getLogDir}=require(a141_0x317113(0xf2)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a141_0x317113(0xe3)),{PERCY_EVENTS:PerformanceEvents}=require(a141_0x317113(0xd8)),PercyBinary=require('./PercyBinary');class Percy{#logfile=path[a141_0x317113(0xf8)](getLogDir(),a141_0x317113(0xb9));#address=process['env']['PERCY_SERVER_ADDRESS']||a141_0x317113(0xcd);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a141_0x317113(0xdf)]=![];constructor(_0x48a58a){const _0x4f991d=a141_0x317113;this.#config=_0x48a58a,!!_0x48a58a[_0x4f991d(0xc8)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x50188a=a141_0x317113;if(!this.#binaryPath){const _0x2c8781=new PercyBinary();PerformanceTester[_0x50188a(0xc6)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0x2c8781['getBinaryPath'](this.#config),PerformanceTester[_0x50188a(0xbd)](PerformanceEvents[_0x50188a(0xe4)]);}return this.#binaryPath;}async #sleep(_0x1046d7){return new Promise(_0xd8d8bf=>setTimeout(_0xd8d8bf,_0x1046d7));}async['healthcheck'](){const _0x3f6443=a141_0x317113,_0x5bde86={};_0x5bde86['AZTZk']=_0x3f6443(0xb4),_0x5bde86['tEnzS']=_0x3f6443(0xca);const _0x4713cf=_0x5bde86;try{const _0x877b35=await helper[_0x3f6443(0xeb)](_0x4713cf['AZTZk'],_0x4713cf[_0x3f6443(0xf6)],null,null,this.#address);if(_0x877b35)return!![];}catch(_0x555cf9){return![];}}async[a141_0x317113(0xc6)](){const _0x73f000=a141_0x317113,_0x4280fd={'VjwAI':_0x73f000(0xb5),'itDJn':_0x73f000(0xdd),'uwlep':function(_0x46defb,_0x3f3b09,_0x248ddb,_0x1123a5){return _0x46defb(_0x3f3b09,_0x248ddb,_0x1123a5);},'IuvmW':_0x73f000(0xdc),'PcCfH':_0x73f000(0xe2)},_0x2371ac=await this.#getBinaryPath(),_0x403ba8={};_0x403ba8['flags']='a',this.#logStream=fs[_0x73f000(0xde)](this.#logfile,_0x403ba8);const _0x225474=await this['fetchPercyToken'](),_0x39cc92=await this[_0x73f000(0xbe)]();if(!_0x225474)return![];const _0x22ed01=[(this.#isApp?_0x4280fd['VjwAI']:_0x4280fd[_0x73f000(0xc9)])+':start'];_0x39cc92&&_0x22ed01[_0x73f000(0xea)]('-c',_0x39cc92);this.#proc=_0x4280fd[_0x73f000(0xed)](spawn,_0x2371ac,_0x22ed01,{'env':Object[_0x73f000(0xe7)](process[_0x73f000(0xb3)],{'PERCY_TOKEN':_0x225474,'TH_BUILD_UUID':process['env'][testHubConstants[_0x73f000(0xc7)][_0x73f000(0xba)]]})}),this.#proc[_0x73f000(0xdb)][_0x73f000(0xc1)](this.#logStream),this.#proc[_0x73f000(0xd9)][_0x73f000(0xc1)](this.#logStream),this[_0x73f000(0xdf)]=!![];var _0x293ae1=this;this.#proc['on'](_0x4280fd['IuvmW'],function(_0x4112cb){const _0x4837e0=_0x73f000;_0x293ae1[_0x4837e0(0xdf)]=![];});do{const _0x5b0f57=await this[_0x73f000(0xc3)]();if(_0x5b0f57)return logger['debug'](_0x4280fd['PcCfH']),!![];await this.#sleep(0x3e8);}while(this[_0x73f000(0xdf)]);return![];}async['stop'](){const _0x4edb15=a141_0x317113,_0x50f338={'wsnnZ':function(_0x52311a,_0x218cef){return _0x52311a(_0x218cef);},'MRmrV':function(_0x3c9832,_0x531e80,_0x54384b){return _0x3c9832(_0x531e80,_0x54384b);},'OuRjt':_0x4edb15(0xe0),'viLmD':_0x4edb15(0xdc)},_0x5eb0ca=await this.#getBinaryPath();return new Promise((_0x4a9bb7,_0x56d3f7)=>{const _0x47e987=_0x4edb15,_0x2ec0fc={'XcDzJ':function(_0x563352,_0x16bf25){const _0x4ade73=a141_0x129b;return _0x50f338[_0x4ade73(0xe9)](_0x563352,_0x16bf25);}},_0x3ae4e5=_0x50f338[_0x47e987(0xef)](spawn,_0x5eb0ca,[_0x50f338['OuRjt']]);_0x3ae4e5['on'](_0x50f338['viLmD'],_0x305436=>{const _0x5eecdd=_0x47e987;this[_0x5eecdd(0xdf)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x2ec0fc['XcDzJ'](_0x4a9bb7,_0x305436);});});}['isRunning'](){return this['isProcessRunning'];}async[a141_0x317113(0xf4)](){const _0x57a492=a141_0x317113,_0x350044={};_0x350044['BilYs']='app',_0x350044[_0x57a492(0xcb)]='automate',_0x350044[_0x57a492(0xd3)]='GET',_0x350044['MzVTp']=_0x57a492(0xd1);const _0x3f45ba=_0x350044,_0x569565=this.#config['projectName'];try{const _0x2f7d6d=this.#isApp?_0x3f45ba[_0x57a492(0xe5)]:_0x3f45ba['mcqqv'],_0x463d37=await helper[_0x57a492(0xeb)](_0x3f45ba[_0x57a492(0xd3)],_0x57a492(0xb7)+_0x569565+_0x57a492(0xf0)+_0x2f7d6d,{},this.#config),_0xc78e2=_0x463d37['data'];return logger[_0x57a492(0xd2)](_0x3f45ba[_0x57a492(0xd0)]),_0xc78e2[_0x57a492(0xd6)];}catch(_0x3b4733){return logger[_0x57a492(0xe6)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x3b4733),null;}}async['createPercyConfig'](){const _0x329050=a141_0x317113,_0x289bdc={'qrnyA':function(_0x277e72,_0x4c820c){return _0x277e72(_0x4c820c);},'YEgKa':function(_0x169317,_0x4f75b0){return _0x169317+_0x4f75b0;},'NSuxM':'Percy\x20config\x20created\x20at\x20','giHoS':_0x329050(0xc4)};if(!this.#config[_0x329050(0xcf)])return null;const _0x33b9a9=path[_0x329050(0xf8)](os[_0x329050(0xd7)](),_0x289bdc[_0x329050(0xe1)]),_0x165c6c=this.#config['percyOptions'];return!_0x165c6c[_0x329050(0xf1)]&&(_0x165c6c['version']='2'),new Promise((_0x8abb34,_0xcb2485)=>{const _0x35bac7=_0x329050,_0x556d07={'UBAxD':function(_0x4771b8,_0x1627a2){return _0x289bdc['qrnyA'](_0x4771b8,_0x1627a2);},'jTKXS':function(_0x394901,_0x2aff06){return _0x289bdc['YEgKa'](_0x394901,_0x2aff06);},'kGxtt':_0x289bdc[_0x35bac7(0xb8)]};fs['writeFile'](_0x33b9a9,JSON[_0x35bac7(0xc0)](_0x165c6c),_0x479958=>{const _0x5c75a7=_0x35bac7;_0x479958&&(logger[_0x5c75a7(0xe6)]('Error\x20creating\x20percy\x20config:\x20'+_0x479958),_0x556d07['UBAxD'](_0x8abb34,null)),logger[_0x5c75a7(0xd2)](_0x556d07[_0x5c75a7(0xbf)](_0x556d07[_0x5c75a7(0xf3)],_0x33b9a9)),_0x556d07[_0x5c75a7(0xec)](_0x8abb34,_0x33b9a9);});});}}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
+ const a142_0x354cb4=a142_0x4311;(function(_0x287d5e,_0x2ed161){const _0x1c5c7b=a142_0x4311,_0x2ece7d=_0x287d5e();while(!![]){try{const _0x9a9f82=-parseInt(_0x1c5c7b(0x132))/0x1*(-parseInt(_0x1c5c7b(0x101))/0x2)+-parseInt(_0x1c5c7b(0xf5))/0x3*(-parseInt(_0x1c5c7b(0x119))/0x4)+-parseInt(_0x1c5c7b(0x16b))/0x5*(parseInt(_0x1c5c7b(0x13f))/0x6)+parseInt(_0x1c5c7b(0xec))/0x7+-parseInt(_0x1c5c7b(0x106))/0x8*(-parseInt(_0x1c5c7b(0xf6))/0x9)+-parseInt(_0x1c5c7b(0x109))/0xa*(parseInt(_0x1c5c7b(0x134))/0xb)+-parseInt(_0x1c5c7b(0x12b))/0xc*(-parseInt(_0x1c5c7b(0x100))/0xd);if(_0x9a9f82===_0x2ed161)break;else _0x2ece7d['push'](_0x2ece7d['shift']());}catch(_0x2880b0){_0x2ece7d['push'](_0x2ece7d['shift']());}}}(a142_0x3b90,0x8eef8));const {https}=require(a142_0x354cb4(0xfd)),url=require('url'),yauzl=require(a142_0x354cb4(0x11b)),fs=require('fs'),path=require(a142_0x354cb4(0x11d)),os=require('os'),{spawn}=require(a142_0x354cb4(0x14c)),HttpsProxyAgent=require(a142_0x354cb4(0x151)),logger=require('../logger')[a142_0x354cb4(0x120)];function a142_0x3b90(){const _0x28223f=['miHQf','data','env','0755','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','UuPjy','/percy-win.zip','ohTYG','LOGNAME','validateBinary','xykEZ','sdcGn','ZiQnO','function','IHgUI','jnwTB','headers','proxyHost','getBinaryPath','--version','2198021nTnGdv','DgGdd','writeFileSync','percy.exe','HOME','pipe','mubol','USER','join','3327wCHTBq','9HFbfmE','.browserstack','gkNaB','tmpdir','Saved\x20new\x20ETag\x20for\x20percy\x20binary','NynRw','KOrWV','follow-redirects','MraZT','VsLam','62504gLfTgd','27194HNWrid','host','BuVRX','ulnSk','PfiXj','886904aNQKoj','getuid','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','30LwOhfH','TSQIk','https://github.com/percy/cli/releases/latest/download','test','bXrNO','statusCode','linux','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','tmEjC','bxSvZ','HOMEPATH','catch','CTciy','PshYS','statSync','mkdirSync','1412bEqgpP','FAzCB','yauzl','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','path','error','cEevV','winstonLogger','proxyPort','readEntry','darwin','utf8','wmkpG','TplFJ','xmWum','leanZ','YmKDK','/Users/','456pTCPDB','win32','JuLNS','LNAME','PUMPL','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','FzoVy','47fIQjYS','extractAndSaveBinary','247489JnVKNE','download','aicvB','debug','X_OK','W_OK','diWbd','fPOVZ','homedir','close','entry','1470ZttRaN','platform','ckZrX','tZEAd','binaryPath','port','useCaCertificate','rkZiK','Failed\x20to\x20read\x20ETag\x20file:\x20','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','sdfjp','/percy-osx.zip','openReadStream','child_process','parse','accessSync','USERNAME','XyPnV','https-proxy-agent','xAjaE','PGBnt','GsjhW','createWriteStream','If-None-Match','warn','hUQJd','RWTzc','readFileSync','USERPROFILE','SzAWV','then','.etag','QlGrk','kiPtS','end','cNMHg','stdout','cwd','fileName','Connection','VAyzt','needsUpdate','hEvaZ','ltfyw','20105eannkV','etag','GWYXw','R_OK','Failed\x20to\x20save\x20ETag\x20file:\x20','.zip'];a142_0x3b90=function(){return _0x28223f;};return a142_0x3b90();}class PercyBinary{#hostOS=process[a142_0x354cb4(0x140)];#httpPath=null;#binaryName='percy';#orderedPaths=[path['join'](this.#homedir(),a142_0x354cb4(0xf7)),process[a142_0x354cb4(0x164)](),os[a142_0x354cb4(0xf9)]()];constructor(){const _0x35f9b8=a142_0x354cb4,_0x4a1cb2={};_0x4a1cb2['IHgUI']=_0x35f9b8(0x10b),_0x4a1cb2[_0x35f9b8(0x129)]=function(_0x3c2a91,_0x3706dc){return _0x3c2a91+_0x3706dc;},_0x4a1cb2[_0x35f9b8(0x17b)]=_0x35f9b8(0x14a),_0x4a1cb2[_0x35f9b8(0x142)]=function(_0x2a5eae,_0x455f51){return _0x2a5eae+_0x455f51;},_0x4a1cb2[_0x35f9b8(0x116)]=_0x35f9b8(0x177),_0x4a1cb2[_0x35f9b8(0xff)]=_0x35f9b8(0xef),_0x4a1cb2['miHQf']='/percy-linux.zip';const _0x1a049b=_0x4a1cb2,_0x108ce5=_0x1a049b[_0x35f9b8(0x17f)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x1a049b[_0x35f9b8(0x129)](_0x108ce5,_0x1a049b['xykEZ']);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x1a049b['tZEAd'](_0x108ce5,_0x1a049b[_0x35f9b8(0x116)]),this.#binaryName=_0x1a049b[_0x35f9b8(0xff)]):this.#httpPath=_0x1a049b['tZEAd'](_0x108ce5,_0x1a049b[_0x35f9b8(0x171)]);}#getAvailableDirs(){const _0x2741a9=a142_0x354cb4,_0x2ee6ea={};_0x2ee6ea['hEvaZ']=function(_0x5854e6,_0xc9a467){return _0x5854e6<_0xc9a467;},_0x2ee6ea[_0x2741a9(0x103)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x27fef6=_0x2ee6ea;for(var _0x3d88e2=0x0;_0x27fef6[_0x2741a9(0x169)](_0x3d88e2,this.#orderedPaths['length']);_0x3d88e2++){var _0x241c16=this.#orderedPaths[_0x3d88e2];if(this.#makePath(_0x241c16))return _0x241c16;}throw new Error(_0x27fef6[_0x2741a9(0x103)]);}#makePath(_0x4a127f){const _0x2d7ada=a142_0x354cb4;try{return _0x4a127f&&!this.#checkPath(_0x4a127f)&&fs[_0x2d7ada(0x118)](_0x4a127f),!![];}catch{return![];}}#checkPath(_0x16b6e5,_0x2e5e84){const _0x38b83d=a142_0x354cb4,_0x5b1e58={};_0x5b1e58[_0x38b83d(0xf8)]=function(_0x3627f1,_0x97d83d){return _0x3627f1|_0x97d83d;},_0x5b1e58['ohTYG']=function(_0x239fe8,_0x347a49){return _0x239fe8!==_0x347a49;},_0x5b1e58[_0x38b83d(0x11f)]='undefined';const _0x2c0675=_0x5b1e58;_0x2e5e84=_0x2e5e84||_0x2c0675[_0x38b83d(0xf8)](fs[_0x38b83d(0x16e)],fs[_0x38b83d(0x139)]);try{return fs[_0x38b83d(0x14e)](_0x16b6e5,_0x2e5e84),!![];}catch(_0x52c228){if(_0x2c0675[_0x38b83d(0x178)](typeof fs['accessSync'],_0x2c0675[_0x38b83d(0x11f)]))return![];try{return fs[_0x38b83d(0x117)](_0x16b6e5),!![];}catch(_0x1b9905){return![];}}}#getETagPath(_0x5667e4){const _0x4321d5=a142_0x354cb4;return path[_0x4321d5(0xf4)](_0x5667e4,this.#binaryName+_0x4321d5(0x15e));}#loadETag(_0x46b3f2){const _0x2c9bc6=a142_0x354cb4,_0x4ef217={};_0x4ef217[_0x2c9bc6(0x15f)]=_0x2c9bc6(0x124);const _0x3c229a=_0x4ef217,_0xce84ba=this.#getETagPath(_0x46b3f2);if(this.#checkPath(_0xce84ba))try{return fs[_0x2c9bc6(0x15a)](_0xce84ba,_0x3c229a[_0x2c9bc6(0x15f)])['trim']();}catch(_0x104c7d){logger[_0x2c9bc6(0x157)](_0x2c9bc6(0x147)+_0x104c7d);}return null;}#saveETag(_0xdf3ce1,_0x18ea18){const _0xe55e68=a142_0x354cb4,_0x1d8684={};_0x1d8684['xmWum']=_0xe55e68(0xfa);const _0x65deab=_0x1d8684;if(!_0x18ea18)return;try{const _0x575016=this.#getETagPath(_0xdf3ce1);fs[_0xe55e68(0xee)](_0x575016,_0x18ea18),logger['debug'](_0x65deab[_0xe55e68(0x127)]);}catch(_0x37702c){logger[_0xe55e68(0x157)](_0xe55e68(0x16f)+_0x37702c);}}async #handleBinaryDownload(_0x449789,_0x103622,_0x419297){const _0x1da108=a142_0x354cb4,_0x3f5a9e={};_0x3f5a9e[_0x1da108(0xed)]=_0x1da108(0x108);const _0xb4a804=_0x3f5a9e,_0x54ad9f=await this[_0x1da108(0x17a)](_0x449789[_0x1da108(0x143)]);if(!_0x54ad9f){logger[_0x1da108(0x11e)](_0xb4a804[_0x1da108(0xed)]);const _0x2aa4f9=await this[_0x1da108(0x135)](_0x103622,_0x419297);return _0x2aa4f9[_0x1da108(0x143)];}return _0x449789['binaryPath'];}async[a142_0x354cb4(0x183)](_0x5631bf){const _0x505cc7=a142_0x354cb4,_0xd0980a={};_0xd0980a['bxSvZ']=_0x505cc7(0x148),_0xd0980a[_0x505cc7(0xfe)]='New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update';const _0x5492c2=_0xd0980a,_0x345f65=this.#getAvailableDirs(),_0xc7e721=path[_0x505cc7(0xf4)](_0x345f65,this.#binaryName);if(this.#checkPath(_0xc7e721,fs[_0x505cc7(0x138)])){const _0x17d829=this.#loadETag(_0x345f65);if(_0x17d829)try{const _0x324c7e=await this['download'](_0x5631bf,_0x345f65,_0x17d829);if(!_0x324c7e[_0x505cc7(0x168)])return logger[_0x505cc7(0x137)](_0x5492c2[_0x505cc7(0x112)]),_0xc7e721;return logger[_0x505cc7(0x137)](_0x5492c2[_0x505cc7(0xfe)]),await this.#handleBinaryDownload(_0x324c7e,_0x5631bf,_0x345f65);}catch(_0x64c170){return logger[_0x505cc7(0x157)](_0x505cc7(0x110)+_0x64c170),_0xc7e721;}}const _0x5167bb=await this[_0x505cc7(0x135)](_0x5631bf,_0x345f65);return await this.#handleBinaryDownload(_0x5167bb,_0x5631bf,_0x345f65);}[a142_0x354cb4(0x135)](_0x5664f6,_0x56dab8,_0x4e2542=null){const _0x4138ba=a142_0x354cb4,_0x607ba0={'xAjaE':function(_0x5cb939,_0x5c926c){return _0x5cb939(_0x5c926c);},'sdfjp':function(_0xecc4d0,_0x5f19d8){return _0xecc4d0===_0x5f19d8;},'RWTzc':_0x4138ba(0x11e),'CTciy':'close','PfiXj':function(_0x495d69,_0x1d34bf){return _0x495d69+_0x1d34bf;},'LooGq':_0x4138ba(0x170)};_0x56dab8&&!this.#checkPath(_0x56dab8)&&fs['mkdirSync'](_0x56dab8);const _0x56d3ae=this.#binaryName,_0x47e493=path[_0x4138ba(0xf4)](_0x56dab8,_0x607ba0[_0x4138ba(0x105)](_0x56d3ae,_0x607ba0['LooGq'])),_0x58e7fa=fs[_0x4138ba(0x155)](_0x47e493),_0xb5a17d=url[_0x4138ba(0x14d)](this.#httpPath);if(_0x5664f6[_0x4138ba(0x182)]&&_0x5664f6[_0x4138ba(0x121)]){const _0x3051af={};_0x3051af[_0x4138ba(0x102)]=_0x5664f6[_0x4138ba(0x182)],_0x3051af[_0x4138ba(0x144)]=_0x5664f6[_0x4138ba(0x121)],_0xb5a17d['agent']=new HttpsProxyAgent(_0x3051af);}if(_0x5664f6['useCaCertificate'])try{_0xb5a17d['ca']=fs[_0x4138ba(0x15a)](_0x5664f6[_0x4138ba(0x145)]);}catch(_0x1fbfef){logger[_0x4138ba(0x11e)](_0x4138ba(0x11c)+_0x1fbfef);}if(_0x4e2542){const _0x3ac090={};_0x3ac090[_0x4138ba(0x156)]=_0x4e2542,_0x3ac090['Connection']=_0x607ba0[_0x4138ba(0x115)],_0xb5a17d[_0x4138ba(0x181)]=_0x3ac090;}else{const _0x288d46={};_0x288d46[_0x4138ba(0x166)]=_0x607ba0[_0x4138ba(0x115)],_0xb5a17d['headers']=_0x288d46;}return new Promise((_0x5ba45f,_0xa701c)=>{const _0x40f82b=_0x4138ba,_0x431c32={'jnwTB':function(_0x3bc26a,_0x3975a9){const _0x3fe3f7=a142_0x4311;return _0x607ba0[_0x3fe3f7(0x152)](_0x3bc26a,_0x3975a9);},'mubol':function(_0x167140,_0x2bc7fa){const _0x148930=a142_0x4311;return _0x607ba0[_0x148930(0x152)](_0x167140,_0x2bc7fa);},'ZsVwe':function(_0x25bc96,_0x2f7bf2){const _0x7a3905=a142_0x4311;return _0x607ba0[_0x7a3905(0x149)](_0x25bc96,_0x2f7bf2);},'TSQIk':_0x607ba0[_0x40f82b(0x159)],'UuPjy':_0x607ba0['CTciy']};https['get'](_0xb5a17d,_0x20c08c=>{const _0x89c641=_0x40f82b;if(_0x4e2542&&_0x431c32['ZsVwe'](_0x20c08c[_0x89c641(0x10e)],0x130)){_0x58e7fa['destroy']();const _0x3dc577={};_0x3dc577['needsUpdate']=![],_0x431c32[_0x89c641(0xf2)](_0x5ba45f,_0x3dc577);return;}const _0x3382eb=_0x20c08c[_0x89c641(0x181)][_0x89c641(0x16c)];_0x3382eb&&this.#saveETag(_0x56dab8,_0x3382eb),_0x20c08c[_0x89c641(0xf1)](_0x58e7fa),_0x20c08c['on'](_0x431c32[_0x89c641(0x10a)],function(_0xbad0a6){const _0xae0f68=_0x89c641;logger[_0xae0f68(0x11e)](_0xae0f68(0x130)+_0xbad0a6),_0x431c32[_0xae0f68(0x180)](_0xa701c,_0xbad0a6);}),_0x58e7fa['on'](_0x431c32[_0x89c641(0x10a)],function(_0x1b47a5){const _0x212b32=_0x89c641;logger[_0x212b32(0x11e)](_0x212b32(0x175)+_0x1b47a5),_0x431c32[_0x212b32(0xf2)](_0xa701c,_0x1b47a5);}),_0x58e7fa['on'](_0x431c32[_0x89c641(0x176)],()=>{const _0x16f35c=_0x89c641;this[_0x16f35c(0x133)](_0x47e493,_0x56dab8)[_0x16f35c(0x15d)](_0x57c2cd=>_0x5ba45f({'needsUpdate':!![],'binaryPath':_0x57c2cd}))[_0x16f35c(0x114)](_0xa701c);});})['on'](_0x607ba0[_0x40f82b(0x159)],function(_0x2bd258){const _0x4599ff=_0x40f82b;logger[_0x4599ff(0x11e)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x2bd258),_0x431c32['mubol'](_0xa701c,_0x2bd258);});});}[a142_0x354cb4(0x133)](_0x5e2c8d,_0x4c0aa4){const _0x3e599b=a142_0x354cb4,_0x458537={'NVGop':function(_0x3b7662,_0x3d60b0){return _0x3b7662===_0x3d60b0;},'UgPyX':function(_0x588a44,_0x767fd0){return _0x588a44(_0x767fd0);},'bXrNO':_0x3e599b(0x161),'diWbd':_0x3e599b(0x174),'aicvB':_0x3e599b(0x13e),'wmkpG':_0x3e599b(0x11e)},_0x175425=this.#binaryName,_0x22edcf=path[_0x3e599b(0xf4)](_0x4c0aa4,_0x175425);return new Promise((_0x11d4ce,_0xc4d8d9)=>{const _0x233f95=_0x3e599b,_0x357334={'mqoPb':function(_0xe14fd9,_0x403720){return _0x458537['NVGop'](_0xe14fd9,_0x403720);},'ZiQnO':function(_0x1ffff1,_0x169f25){return _0x458537['UgPyX'](_0x1ffff1,_0x169f25);},'TplFJ':_0x458537[_0x233f95(0x10d)],'GsjhW':_0x458537[_0x233f95(0x13a)],'KOrWV':_0x458537[_0x233f95(0x136)],'PMaxh':_0x458537[_0x233f95(0x125)]},_0x14005a={};_0x14005a['lazyEntries']=!![],yauzl['open'](_0x5e2c8d,_0x14005a,function(_0x3d72d1,_0x5e3f30){const _0x41d159=_0x233f95,_0x20c247={'PGBnt':function(_0x7a1e5d,_0x2fc7a5){const _0x49c4d2=a142_0x4311;return _0x357334[_0x49c4d2(0x17d)](_0x7a1e5d,_0x2fc7a5);},'NynRw':_0x357334['TplFJ'],'hUQJd':_0x357334[_0x41d159(0x154)]};_0x3d72d1&&_0x357334[_0x41d159(0x17d)](_0xc4d8d9,_0x3d72d1),_0x5e3f30[_0x41d159(0x122)](),_0x5e3f30['on'](_0x357334[_0x41d159(0xfc)],_0x54ffa1=>{const _0x2683ab=_0x41d159;if(/\/$/['test'](_0x54ffa1[_0x2683ab(0x165)]))_0x5e3f30[_0x2683ab(0x122)]();else{const _0x360c16=fs[_0x2683ab(0x155)](path[_0x2683ab(0xf4)](_0x4c0aa4,_0x54ffa1[_0x2683ab(0x165)]));_0x5e3f30[_0x2683ab(0x14b)](_0x54ffa1,function(_0x11fb68,_0x1b3b59){const _0x3130e8=_0x2683ab;_0x11fb68&&_0x20c247['PGBnt'](_0xc4d8d9,_0x3d72d1),_0x1b3b59['on'](_0x20c247[_0x3130e8(0xfb)],function(){_0x360c16['close'](),_0x5e3f30['readEntry']();}),_0x1b3b59[_0x3130e8(0xf1)](_0x360c16);}),_0x357334['mqoPb'](_0x54ffa1[_0x2683ab(0x165)],_0x175425)&&_0x5e3f30[_0x2683ab(0x13d)]();}}),_0x5e3f30['on'](_0x357334['PMaxh'],_0x26a6b1=>{const _0x35deb6=_0x41d159;_0x20c247[_0x35deb6(0x153)](_0xc4d8d9,_0x26a6b1);}),_0x5e3f30['once'](_0x357334[_0x41d159(0x126)],()=>{const _0x4b3654=_0x41d159;fs['chmod'](_0x22edcf,_0x20c247[_0x4b3654(0x158)],function(_0x5a2add){_0x5a2add&&_0x20c247['PGBnt'](_0xc4d8d9,_0x5a2add),_0x20c247['PGBnt'](_0x11d4ce,_0x22edcf);}),_0x5e3f30[_0x4b3654(0x13d)]();});});});}async[a142_0x354cb4(0x17a)](_0x3b61a8){const _0x490265=a142_0x354cb4,_0x4687d3={'FzoVy':function(_0x4e2679,_0x5d99f3){return _0x4e2679(_0x5d99f3);},'JuLNS':function(_0x52328e,_0x1a9b22,_0x2692a8,_0x2d9ec3){return _0x52328e(_0x1a9b22,_0x2692a8,_0x2d9ec3);},'GWYXw':_0x490265(0x184),'leanZ':_0x490265(0x172),'KPAfs':'close'},_0x4ba272=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x46746a,_0x23256e)=>{const _0x5e1e04=_0x490265,_0x87804c={'VAyzt':function(_0x3f9cc9,_0x22d5e1){const _0x21f861=a142_0x4311;return _0x4687d3[_0x21f861(0x131)](_0x3f9cc9,_0x22d5e1);}},_0x44ecb2={};_0x44ecb2[_0x5e1e04(0x173)]=process['env'];const _0x556b9a=_0x4687d3[_0x5e1e04(0x12d)](spawn,_0x3b61a8,[_0x4687d3[_0x5e1e04(0x16d)]],_0x44ecb2);_0x556b9a[_0x5e1e04(0x163)]['on'](_0x4687d3[_0x5e1e04(0x128)],_0x5f165a=>{const _0x4b71b0=_0x5e1e04;_0x4ba272[_0x4b71b0(0x10c)](_0x5f165a)&&_0x4687d3[_0x4b71b0(0x131)](_0x46746a,!![]);}),_0x556b9a['on'](_0x4687d3['KPAfs'],()=>{const _0x4fb19a=_0x5e1e04;_0x87804c[_0x4fb19a(0x167)](_0x46746a,![]);});});}#homedir(){const _0x2255a8=a142_0x354cb4,_0x1e6466={};_0x1e6466[_0x2255a8(0x16a)]=function(_0x3de024,_0x4a4bac){return _0x3de024===_0x4a4bac;},_0x1e6466[_0x2255a8(0x160)]=_0x2255a8(0x17e),_0x1e6466[_0x2255a8(0x150)]=_0x2255a8(0x12c),_0x1e6466[_0x2255a8(0x162)]=function(_0x359f09,_0x1db3e5){return _0x359f09+_0x1db3e5;},_0x1e6466[_0x2255a8(0x17c)]=_0x2255a8(0x123),_0x1e6466[_0x2255a8(0x15c)]=function(_0x13f7ba,_0x6efedd){return _0x13f7ba+_0x6efedd;},_0x1e6466[_0x2255a8(0x146)]=_0x2255a8(0x12a),_0x1e6466[_0x2255a8(0x11a)]=_0x2255a8(0x10f),_0x1e6466['ulnSk']=function(_0x1c9ec9,_0x5ef4ec){return _0x1c9ec9===_0x5ef4ec;},_0x1e6466[_0x2255a8(0x141)]='/root',_0x1e6466[_0x2255a8(0x13b)]=function(_0x2c764b,_0x21d7f7){return _0x2c764b+_0x21d7f7;},_0x1e6466[_0x2255a8(0x111)]='/home/',_0x1e6466[_0x2255a8(0x12f)]=function(_0x75b849,_0x48f23b){return _0x75b849||_0x48f23b;};const _0x3320c4=_0x1e6466;if(_0x3320c4[_0x2255a8(0x16a)](typeof os[_0x2255a8(0x13c)],_0x3320c4['kiPtS']))return os[_0x2255a8(0x13c)]();const _0x3a3cf9=process['env'],_0x3b2959=_0x3a3cf9[_0x2255a8(0xf0)],_0x18c16c=_0x3a3cf9[_0x2255a8(0x179)]||_0x3a3cf9[_0x2255a8(0xf3)]||_0x3a3cf9[_0x2255a8(0x12e)]||_0x3a3cf9[_0x2255a8(0x14f)];if(_0x3320c4[_0x2255a8(0x16a)](process[_0x2255a8(0x140)],_0x3320c4['XyPnV']))return _0x3a3cf9[_0x2255a8(0x15b)]||_0x3320c4['cNMHg'](_0x3a3cf9['HOMEDRIVE'],_0x3a3cf9[_0x2255a8(0x113)])||_0x3b2959||null;if(_0x3320c4[_0x2255a8(0x16a)](process[_0x2255a8(0x140)],_0x3320c4[_0x2255a8(0x17c)]))return _0x3b2959||(_0x18c16c?_0x3320c4[_0x2255a8(0x15c)](_0x3320c4[_0x2255a8(0x146)],_0x18c16c):null);if(_0x3320c4[_0x2255a8(0x16a)](process['platform'],_0x3320c4[_0x2255a8(0x11a)]))return _0x3b2959||(_0x3320c4[_0x2255a8(0x104)](process[_0x2255a8(0x107)](),0x0)?_0x3320c4[_0x2255a8(0x141)]:_0x18c16c?_0x3320c4[_0x2255a8(0x13b)](_0x3320c4['tmEjC'],_0x18c16c):null);return _0x3320c4[_0x2255a8(0x12f)](_0x3b2959,null);}}function a142_0x4311(_0x374b74,_0x205d69){const _0x3b903b=a142_0x3b90();return a142_0x4311=function(_0x431118,_0x376e0d){_0x431118=_0x431118-0xec;let _0x564c27=_0x3b903b[_0x431118];return _0x564c27;},a142_0x4311(_0x374b74,_0x205d69);}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
+ var a143_0x330e2a=a143_0x24db;function a143_0x24db(_0x1fb742,_0x4db947){var _0x4f4c29=a143_0x4f4c();return a143_0x24db=function(_0x24dbd6,_0x436ea4){_0x24dbd6=_0x24dbd6-0x13e;var _0x1abd76=_0x4f4c29[_0x24dbd6];return _0x1abd76;},a143_0x24db(_0x1fb742,_0x4db947);}(function(_0x54cdef,_0x2f3d65){var _0x3052a8=a143_0x24db,_0x3a7bec=_0x54cdef();while(!![]){try{var _0x30160e=-parseInt(_0x3052a8(0x144))/0x1+parseInt(_0x3052a8(0x149))/0x2*(parseInt(_0x3052a8(0x14a))/0x3)+parseInt(_0x3052a8(0x140))/0x4+parseInt(_0x3052a8(0x14b))/0x5*(parseInt(_0x3052a8(0x13f))/0x6)+-parseInt(_0x3052a8(0x13e))/0x7*(parseInt(_0x3052a8(0x141))/0x8)+-parseInt(_0x3052a8(0x142))/0x9*(parseInt(_0x3052a8(0x145))/0xa)+parseInt(_0x3052a8(0x147))/0xb;if(_0x30160e===_0x2f3d65)break;else _0x3a7bec['push'](_0x3a7bec['shift']());}catch(_0x35169c){_0x3a7bec['push'](_0x3a7bec['shift']());}}}(a143_0x4f4c,0x9b74c));class PercyCaptureMap{#map={};['increment'](_0x215d9c,_0x317c5c){!this.#map[_0x215d9c]&&(this.#map[_0x215d9c]={}),!this.#map[_0x215d9c][_0x317c5c]&&(this.#map[_0x215d9c][_0x317c5c]=0x0),this.#map[_0x215d9c][_0x317c5c]++;}[a143_0x330e2a(0x148)](_0x2caca0,_0x57e7b2){var _0x18759c=a143_0x330e2a;return _0x2caca0+'-'+_0x57e7b2+'-'+this[_0x18759c(0x146)](_0x2caca0,_0x57e7b2);}[a143_0x330e2a(0x146)](_0x4a1fee,_0x564c5b){if(!this.#map[_0x4a1fee])return 0x0;if(!this.#map[_0x4a1fee][_0x564c5b])return 0x0;return this.#map[_0x4a1fee][_0x564c5b];}}module[a143_0x330e2a(0x143)]=PercyCaptureMap;function a143_0x4f4c(){var _0x5ef64f=['481560ApCjWl','2551312qazEyG','2784LtHrqj','2445327bvybMh','exports','961356NhRXzA','20GaapaU','get','14796287qGIQjN','getName','74biEDyf','9579tzityB','25CTnpLb','7259MuEMIS'];a143_0x4f4c=function(){return _0x5ef64f;};return a143_0x4f4c();}
@@ -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_0x82a941=a144_0x2b71;(function(_0x1c2510,_0xba77ac){var _0x4ad91a=a144_0x2b71,_0x1a7383=_0x1c2510();while(!![]){try{var _0x595398=parseInt(_0x4ad91a(0x1f6))/0x1+parseInt(_0x4ad91a(0x1f4))/0x2+-parseInt(_0x4ad91a(0x1fd))/0x3*(parseInt(_0x4ad91a(0x1f0))/0x4)+-parseInt(_0x4ad91a(0x1ef))/0x5*(parseInt(_0x4ad91a(0x1fe))/0x6)+parseInt(_0x4ad91a(0x1fa))/0x7*(parseInt(_0x4ad91a(0x1f2))/0x8)+-parseInt(_0x4ad91a(0x1f9))/0x9*(-parseInt(_0x4ad91a(0x1fb))/0xa)+-parseInt(_0x4ad91a(0x1f1))/0xb;if(_0x595398===_0xba77ac)break;else _0x1a7383['push'](_0x1a7383['shift']());}catch(_0x122c4b){_0x1a7383['push'](_0x1a7383['shift']());}}}(a144_0x3ffc,0x675b6));var a144_0x26e786={};a144_0x26e786['driver']=[a144_0x82a941(0x1ee)],a144_0x26e786[a144_0x82a941(0x1fc)]=[a144_0x82a941(0x1f3),a144_0x82a941(0x1f5)];var a144_0x14fc25={};a144_0x14fc25[a144_0x82a941(0x1ff)]=[a144_0x82a941(0x1ee)];var a144_0x23a08c={};function a144_0x3ffc(){var _0x210f1e=['656022UhWYJk','sendKeys','510157GZpEdA','screenshot','manual','63AXSjMu','5077597VOLIRM','549110NJnmoI','element','3ZoCTYe','786SgWxzG','driver','testcase','exports','takeScreenshot','5125shcMNS','3265872icQmWT','6312053huRsXl','8AoxCpl','click'];a144_0x3ffc=function(){return _0x210f1e;};return a144_0x3ffc();}a144_0x23a08c[a144_0x82a941(0x1fc)]=[a144_0x82a941(0x1f3)];function a144_0x2b71(_0x23b70a,_0x2c27cf){var _0x3ffcab=a144_0x3ffc();return a144_0x2b71=function(_0x2b71d3,_0x2f000f){_0x2b71d3=_0x2b71d3-0x1ed;var _0xd497fd=_0x3ffcab[_0x2b71d3];return _0xd497fd;},a144_0x2b71(_0x23b70a,_0x2c27cf);}var a144_0x18cb2b={};a144_0x18cb2b['auto']=a144_0x26e786,a144_0x18cb2b[a144_0x82a941(0x1f7)]=a144_0x14fc25,a144_0x18cb2b[a144_0x82a941(0x1f3)]=a144_0x23a08c,a144_0x18cb2b[a144_0x82a941(0x200)]={},a144_0x18cb2b[a144_0x82a941(0x1f8)]={},module[a144_0x82a941(0x1ed)]=a144_0x18cb2b;
@@ -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
+ function a145_0x458b(_0x12fc80,_0x2360f1){const _0xaebfd9=a145_0xaebf();return a145_0x458b=function(_0x458bfa,_0x5d6bbe){_0x458bfa=_0x458bfa-0x1a7;let _0x3da1b6=_0xaebfd9[_0x458bfa];return _0x3da1b6;},a145_0x458b(_0x12fc80,_0x2360f1);}const a145_0x4ca593=a145_0x458b;(function(_0x8d19c0,_0x430fe6){const _0xcd3c65=a145_0x458b,_0x2b82d1=_0x8d19c0();while(!![]){try{const _0x4004c2=parseInt(_0xcd3c65(0x1bb))/0x1*(-parseInt(_0xcd3c65(0x1c2))/0x2)+-parseInt(_0xcd3c65(0x1b6))/0x3*(parseInt(_0xcd3c65(0x1c7))/0x4)+parseInt(_0xcd3c65(0x1a9))/0x5+-parseInt(_0xcd3c65(0x1c5))/0x6+parseInt(_0xcd3c65(0x1aa))/0x7*(parseInt(_0xcd3c65(0x1ba))/0x8)+parseInt(_0xcd3c65(0x1c1))/0x9+parseInt(_0xcd3c65(0x1c6))/0xa;if(_0x4004c2===_0x430fe6)break;else _0x2b82d1['push'](_0x2b82d1['shift']());}catch(_0x1294e6){_0x2b82d1['push'](_0x2b82d1['shift']());}}}(a145_0xaebf,0xbbb4f));const tryRequire=function(_0x158949,_0x4f1c27){const _0x8b7309=a145_0x458b,_0x336a33={'AlCJn':function(_0x256988,_0x5c7cd7){return _0x256988(_0x5c7cd7);}};try{return _0x336a33[_0x8b7309(0x1bd)](require,_0x158949);}catch{return _0x4f1c27;}},percySnapshot=tryRequire(a145_0x4ca593(0x1cc),null),{percyScreenshot}=tryRequire(a145_0x4ca593(0x1cc),{}),percyAppScreenshot=require('@percy/appium-app'),{getCurrentTestData}=require(a145_0x4ca593(0x1ca)),PerformanceTester=require(a145_0x4ca593(0x1b2)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require(a145_0x4ca593(0x1c8))[a145_0x4ca593(0x1af)];percySnapshot&&(exports['snapshot']=async function(){const _0x412f68=a145_0x4ca593,_0x363e0d={'HEYpo':function(_0x14a7cd,_0x2e96b2){return _0x14a7cd!==_0x2e96b2;},'hMCCt':function(_0x15d809,_0x1263c3){return _0x15d809>=_0x1263c3;},'DarYu':function(_0x1c645f){return _0x1c645f();}};if(global[_0x412f68(0x1b3)]&&_0x363e0d[_0x412f68(0x1cd)](global['browserstackPlatformIndex'],global[_0x412f68(0x1b5)]))return;const _0x25109f=_0x363e0d[_0x412f68(0x1be)](arguments[_0x412f68(0x1cb)],0x2)?arguments[0x1]:'',_0x47fc6d=_0x363e0d[_0x412f68(0x1ab)](getCurrentTestData),_0x53c7e5={};return _0x53c7e5[_0x412f68(0x1b7)]=_0x25109f,_0x53c7e5['testCase']=_0x47fc6d[_0x412f68(0x1b7)]||'',_0x53c7e5['thTestCaseExecutionId']=_0x47fc6d['uuid']||'',_0x53c7e5[_0x412f68(0x1ce)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x412f68(0x1ae)](PerformanceEvents[_0x412f68(0x1b1)],()=>percySnapshot['apply'](null,arguments),_0x53c7e5);});percyScreenshot?exports[a145_0x4ca593(0x1c4)]=async function(){const _0x260f22=a145_0x4ca593,_0x4c7123={'mvUzQ':function(_0x4fc7d6,_0xf3de72){return _0x4fc7d6>=_0xf3de72;},'RqIaW':function(_0x47c177){return _0x47c177();}},_0x169fe6=_0x4c7123[_0x260f22(0x1c0)](arguments[_0x260f22(0x1cb)],0x2)?arguments[0x1]:'',_0x4a880f=_0x4c7123[_0x260f22(0x1b8)](getCurrentTestData),_0x26849c={};return _0x26849c[_0x260f22(0x1b7)]=_0x169fe6,_0x26849c['testCase']=_0x4a880f['name']||'',_0x26849c[_0x260f22(0x1bf)]=_0x4a880f[_0x260f22(0x1ad)]||'',_0x26849c[_0x260f22(0x1ce)]=global[_0x260f22(0x1b3)],await PerformanceTester[_0x260f22(0x1ae)](PerformanceEvents[_0x260f22(0x1b4)],()=>percyScreenshot[_0x260f22(0x1ac)](null,arguments),_0x26849c);}:exports[a145_0x4ca593(0x1c4)]=()=>{const _0x2081c0=a145_0x4ca593,_0x2ba619={};_0x2ba619['YXXhh']=_0x2081c0(0x1c9);const _0x258b51=_0x2ba619;logger[_0x2081c0(0x1a7)](_0x258b51[_0x2081c0(0x1c3)]);};exports[a145_0x4ca593(0x1a8)]=async function(){const _0x5d923f=a145_0x4ca593,_0x13b816={'xfPKO':function(_0x5d59b3,_0x289fb8){return _0x5d59b3>=_0x289fb8;},'GVFzX':function(_0x75f007){return _0x75f007();}},_0x556d4e=_0x13b816['xfPKO'](arguments[_0x5d923f(0x1cb)],0x2)?arguments[0x1]:'',_0x8cd396=_0x13b816[_0x5d923f(0x1b9)](getCurrentTestData),_0x1d7eab={};return _0x1d7eab['name']=_0x556d4e,_0x1d7eab[_0x5d923f(0x1b0)]=_0x8cd396[_0x5d923f(0x1b7)]||'',_0x1d7eab[_0x5d923f(0x1bf)]=_0x8cd396[_0x5d923f(0x1ad)]||'',_0x1d7eab[_0x5d923f(0x1ce)]=global[_0x5d923f(0x1b3)],await PerformanceTester['measure'](PerformanceEvents[_0x5d923f(0x1bc)],()=>percyAppScreenshot[_0x5d923f(0x1ac)](null,arguments),_0x1d7eab);};function a145_0xaebf(){const _0x5d96aa=['testCase','SNAPSHOT','../performance/performance-tester','browserstackPlatformIndex','SCREENSHOT','browserstackPercyBestPlatform','170883AKgbWu','name','RqIaW','GVFzX','8uAjTiK','135593QkwBXT','SCREENSHOT_APP','AlCJn','hMCCt','thTestCaseExecutionId','mvUzQ','11071386EylzLR','8GwCziO','YXXhh','screenshot','6028230odkdza','3028410tmeYMX','76wzIipO','../logger','Unsupported\x20driver\x20for\x20percy','../../helpers/testhub/utils','length','@percy/selenium-webdriver','HEYpo','platformIndex','error','screenshotApp','5269435UlklWc','5679107yhCpbB','DarYu','apply','uuid','measure','winstonLogger'];a145_0xaebf=function(){return _0x5d96aa;};return a145_0xaebf();}
@@ -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
+ var a146_0x1b6520=a146_0x2a35;function a146_0x2a35(_0x33a674,_0x13651e){var _0x29ccdc=a146_0x29cc();return a146_0x2a35=function(_0x2a35a6,_0x5a9537){_0x2a35a6=_0x2a35a6-0x147;var _0x1bb322=_0x29ccdc[_0x2a35a6];return _0x1bb322;},a146_0x2a35(_0x33a674,_0x13651e);}function a146_0x29cc(){var _0x33a9f6=['2xksljx','14aPArUE','./Percy','4XKBQpA','3291483PXcJUS','473179SCBWft','12440268XGdPlu','49405RbAzbk','12svyABW','56AWOFMi','3871142IRwqzB','63069916Eytzir','10IOLEEd','534MqisVS','1519713dmYXmL'];a146_0x29cc=function(){return _0x33a9f6;};return a146_0x29cc();}(function(_0x560528,_0x61e078){var _0x316575=a146_0x2a35,_0x4a18f1=_0x560528();while(!![]){try{var _0x57776a=-parseInt(_0x316575(0x153))/0x1*(parseInt(_0x316575(0x154))/0x2)+parseInt(_0x316575(0x149))/0x3*(-parseInt(_0x316575(0x148))/0x4)+-parseInt(_0x316575(0x14c))/0x5*(parseInt(_0x316575(0x152))/0x6)+-parseInt(_0x316575(0x14a))/0x7*(-parseInt(_0x316575(0x14e))/0x8)+-parseInt(_0x316575(0x14b))/0x9*(parseInt(_0x316575(0x151))/0xa)+-parseInt(_0x316575(0x14f))/0xb*(-parseInt(_0x316575(0x14d))/0xc)+parseInt(_0x316575(0x150))/0xd*(parseInt(_0x316575(0x155))/0xe);if(_0x57776a===_0x61e078)break;else _0x4a18f1['push'](_0x4a18f1['shift']());}catch(_0x1aac8a){_0x4a18f1['push'](_0x4a18f1['shift']());}}}(a146_0x29cc,0xc2d92),module['exports']=require(a146_0x1b6520(0x147)));
@@ -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
+ const a147_0x410eb1=a147_0x37f8;function a147_0x4c82(){const _0x358ee5=['platforms','browserStackPercyOptions','82887GKsYnQ','./PercyCaptureMap','percyAutoCapture','then','Error\x20patching\x20','../logger','NlBQP','toLowerCase','patch','deviceName','edge','49172BWacpN','38pqVmAH','isAppAutomateSession','element','sFRQK','oNuKc','./PercyCaptureModes','2763ffhkVC','xNvie','pnuRQ','reduce','prototype','stopPercy','70ipqGYB','driver','debug','start','manual','screenshot','../helper','percy','getPercyOptions','startPercy','./PercySDK','qtWnf','611046rXbens','8588whXLXr','Starting\x20percy','Stopping\x20percy','measureWrapper','percyCaptureMode','moHLs','forEach','overrideXforPercy','chrome','error','auto','../performance/constants','safari','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','QKHQy','browser','xgYvn','mcbLN','16kqFmEK','\x20for\x20percy\x20','browserstackPercyMap','winstonLogger','browserstackPercyBestPlatform','10524VFJjva','806589wHVGxV','browserstackSessionName','2387OkFSXX','AUTO_CAPTURE','getName','firefox','isUndefined','5930jBykAC','nestedKeyValue','browserName','patchDriverPercy','uzTqS','getBestPlatformForPercySnapshot','HlGTT'];a147_0x4c82=function(){return _0x358ee5;};return a147_0x4c82();}(function(_0x48fedc,_0x82c114){const _0x5f40b6=a147_0x37f8,_0x59f9f5=_0x48fedc();while(!![]){try{const _0x3a0e2f=-parseInt(_0x5f40b6(0x102))/0x1*(-parseInt(_0x5f40b6(0x11b))/0x2)+parseInt(_0x5f40b6(0x133))/0x3+parseInt(_0x5f40b6(0x101))/0x4*(parseInt(_0x5f40b6(0x10e))/0x5)+-parseInt(_0x5f40b6(0x11a))/0x6+-parseInt(_0x5f40b6(0xf6))/0x7*(-parseInt(_0x5f40b6(0x12d))/0x8)+parseInt(_0x5f40b6(0x108))/0x9*(-parseInt(_0x5f40b6(0xed))/0xa)+-parseInt(_0x5f40b6(0x135))/0xb*(parseInt(_0x5f40b6(0x132))/0xc);if(_0x3a0e2f===_0x82c114)break;else _0x59f9f5['push'](_0x59f9f5['shift']());}catch(_0x26c427){_0x59f9f5['push'](_0x59f9f5['shift']());}}}(a147_0x4c82,0x25812));function a147_0x37f8(_0x2d5920,_0x1e5823){const _0x4c82e3=a147_0x4c82();return a147_0x37f8=function(_0x37f8d9,_0x440a56){_0x37f8d9=_0x37f8d9-0xe9;let _0x252c2b=_0x4c82e3[_0x37f8d9];return _0x252c2b;},a147_0x37f8(_0x2d5920,_0x1e5823);}const Percy=require('./Percy'),PercySDK=require(a147_0x410eb1(0x118)),PercyCaptureModes=require(a147_0x410eb1(0x107)),PercyCaptureMap=require(a147_0x410eb1(0xf7)),logger=require(a147_0x410eb1(0xfb))[a147_0x410eb1(0x130)],helper=require(a147_0x410eb1(0x114)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a147_0x410eb1(0x126));exports[a147_0x410eb1(0x117)]=PerformanceTester[a147_0x410eb1(0x11e)](PerformanceEvents['START'],async _0x59c4e1=>{const _0x4ed829=a147_0x410eb1,_0x1b136a={};_0x1b136a['QKHQy']=_0x4ed829(0x11c);const _0xdfaec2=_0x1b136a;logger['debug'](_0xdfaec2[_0x4ed829(0x129)]);const _0x4279e0=new Percy(_0x59c4e1),_0x49cd89=await _0x4279e0[_0x4ed829(0x111)]();if(_0x49cd89)return _0x4279e0;return null;}),exports[a147_0x410eb1(0x10d)]=PerformanceTester[a147_0x410eb1(0x11e)](PerformanceEvents['STOP'],async _0x5f433e=>{const _0x596641=a147_0x410eb1,_0x469bfb={};_0x469bfb[_0x596641(0x12c)]=_0x596641(0x11d);const _0x41c64e=_0x469bfb;return logger[_0x596641(0x110)](_0x41c64e[_0x596641(0x12c)]),_0x5f433e['stop']();}),exports[a147_0x410eb1(0xf2)]=_0x357b0a=>{const _0x22001=a147_0x410eb1,_0x11e1d5={};_0x11e1d5[_0x22001(0x105)]=function(_0x37ba8d,_0x37f732){return _0x37ba8d<_0x37f732;};const _0x42380f=_0x11e1d5,_0x47a67d={};_0x47a67d[_0x22001(0x123)]=0x0,_0x47a67d[_0x22001(0xeb)]=0x1,_0x47a67d[_0x22001(0x100)]=0x2,_0x47a67d[_0x22001(0x127)]=0x3;const _0x5ea73b=_0x47a67d;return _0x357b0a[_0x22001(0x10b)]((_0x303115,_0x22ada3,_0x567a9c)=>{const _0x17f2cf=_0x22001,_0x2b5bed=_0x357b0a[_0x303115];if(_0x22ada3[_0x17f2cf(0xff)])return _0x303115;if(_0x2b5bed[_0x17f2cf(0xff)])return _0x567a9c;const _0x273f11=_0x22ada3[_0x17f2cf(0x12a)]?_0x22ada3[_0x17f2cf(0x12a)]:_0x22ada3[_0x17f2cf(0xef)];if(_0x273f11&&_0x42380f[_0x17f2cf(0x105)](_0x5ea73b[_0x273f11[_0x17f2cf(0xfd)]()],_0x5ea73b[_0x273f11[_0x17f2cf(0xfd)]()]))return _0x567a9c;return _0x303115;},0x0);},exports[a147_0x410eb1(0xf8)]=PerformanceTester['measureWrapper'](PerformanceEvents[a147_0x410eb1(0xe9)],async(_0x3b919e,_0x4fcf35,_0x103cc3)=>{const _0x3ebed1=a147_0x410eb1,_0x23558f={};_0x23558f[_0x3ebed1(0xf3)]=_0x3ebed1(0x128);const _0x2b8f16=_0x23558f,_0x491548=_0x3b919e[_0x3ebed1(0x12f)];if(helper[_0x3ebed1(0xec)](_0x3b919e[_0x3ebed1(0x134)])){logger[_0x3ebed1(0x110)](_0x2b8f16[_0x3ebed1(0xf3)]);return;}const _0x57dd40=_0x491548[_0x3ebed1(0xea)](_0x3b919e['browserstackSessionName'],_0x4fcf35);helper[_0x3ebed1(0x103)](_0x103cc3)?await PercySDK['screenshotApp'](_0x3b919e,_0x57dd40):await PercySDK[_0x3ebed1(0x113)](_0x3b919e,_0x57dd40),_0x491548['increment'](_0x3b919e[_0x3ebed1(0x134)],_0x4fcf35);}),exports[a147_0x410eb1(0xf0)]=(_0x3438be,_0xb53d20,_0x2c8db5)=>{const _0xe238f6=a147_0x410eb1,_0x2e4030={};_0x2e4030[_0xe238f6(0x12b)]='browserStackPercyOptions',_0x2e4030[_0xe238f6(0xf1)]='percy',_0x2e4030['moHLs']=function(_0x420568,_0x1545c){return _0x420568!==_0x1545c;},_0x2e4030[_0xe238f6(0x109)]=_0xe238f6(0x112);const _0x4c8a3b=_0x2e4030;if(!helper[_0xe238f6(0xee)](_0x2c8db5,[_0x4c8a3b[_0xe238f6(0x12b)],_0x4c8a3b[_0xe238f6(0xf1)]]))return;if(_0x2c8db5['browserStackPercyOptions'][_0xe238f6(0x115)]&&_0x2c8db5[_0xe238f6(0xf5)][_0xe238f6(0x11f)]&&_0x4c8a3b[_0xe238f6(0x120)](_0x2c8db5[_0xe238f6(0xf5)]['percyCaptureMode'],_0x4c8a3b[_0xe238f6(0x109)])&&!_0x3438be[_0xe238f6(0x12f)]){global[_0xe238f6(0x134)]&&(_0x3438be[_0xe238f6(0x134)]=global[_0xe238f6(0x134)]),_0x3438be[_0xe238f6(0x12f)]=new PercyCaptureMap();const _0x2f3dcb=PercyCaptureModes[_0x2c8db5[_0xe238f6(0xf5)]['percyCaptureMode']];_0x2f3dcb[_0xe238f6(0x10f)]&&_0x2f3dcb[_0xe238f6(0x10f)][_0xe238f6(0x121)](_0x3126ac=>this['overrideXforPercy'](_0x3438be,_0x3126ac,_0x2c8db5)),_0x2f3dcb[_0xe238f6(0x104)]&&_0x2f3dcb['element'][_0xe238f6(0x121)](_0xb46243=>{const _0x19a032=_0xe238f6;if(_0xb53d20[_0x19a032(0x10c)][_0x19a032(0xfe)+_0xb46243])return;_0xb53d20['prototype'][_0x19a032(0xfe)+_0xb46243]=!![];const _0x435b9e=_0xb53d20[_0x19a032(0x10c)][_0xb46243];_0xb53d20[_0x19a032(0x10c)][_0xb46243]=async function(){const _0x29e224=_0x19a032;let _0xe1aa8f=_0x435b9e['apply'](this,arguments);_0xe1aa8f&&_0xe1aa8f[_0x29e224(0xf9)]&&(_0xe1aa8f=await _0xe1aa8f);try{const _0x3148f5=this['getDriver']();await exports[_0x29e224(0xf8)](_0x3148f5,_0xb46243,_0x2c8db5);}catch(_0x3c6494){logger['error'](_0x29e224(0xfa)+_0xb46243+_0x29e224(0x12e)+_0x3c6494);}return _0xe1aa8f;};});}},exports[a147_0x410eb1(0x122)]=function(_0x58a0f3,_0x9de905,_0x3e91c1){const _0x4f14d2=a147_0x410eb1,_0x2f1979={};_0x2f1979[_0x4f14d2(0x10a)]=function(_0x5064c6,_0x1a8635){return _0x5064c6+_0x1a8635;},_0x2f1979[_0x4f14d2(0x106)]=_0x4f14d2(0xfe),_0x2f1979['qtWnf']='init';const _0x1d04b5=_0x2f1979,_0x305b64=_0x1d04b5[_0x4f14d2(0x10a)](_0x1d04b5[_0x4f14d2(0x106)],_0x9de905),_0x35391d=_0x1d04b5[_0x4f14d2(0x10a)](_0x1d04b5[_0x4f14d2(0x119)],_0x9de905),_0x1c95b6=this;if(_0x58a0f3[_0x305b64]||!_0x58a0f3[_0x9de905])return;_0x58a0f3[_0x305b64]=!![],_0x58a0f3[_0x35391d]=_0x58a0f3[_0x9de905],_0x58a0f3[_0x9de905]=async()=>{const _0x5baf01=_0x4f14d2;try{await _0x1c95b6[_0x5baf01(0xf8)](_0x58a0f3,_0x9de905,_0x3e91c1);}catch(_0x1e6e7e){logger[_0x5baf01(0x124)](_0x5baf01(0xfa)+_0x9de905+'\x20for\x20percy\x20'+_0x1e6e7e);}return await _0x58a0f3[_0x35391d]['apply'](_0x58a0f3,arguments);};},exports[a147_0x410eb1(0x116)]=_0x370614=>{const _0x301e2d=a147_0x410eb1,_0x68fcdb={};_0x68fcdb[_0x301e2d(0xfc)]=_0x301e2d(0x125);const _0x15c3ac=_0x68fcdb,_0x5d1c90={};_0x5d1c90[_0x301e2d(0x115)]=_0x370614[_0x301e2d(0x115)],_0x5d1c90[_0x301e2d(0x11f)]=_0x370614[_0x301e2d(0x11f)]||_0x15c3ac['NlBQP'];const _0x2dffc9=_0x5d1c90;_0x370614['percy']&&(_0x2dffc9[_0x301e2d(0x131)]=exports['getBestPlatformForPercySnapshot'](_0x370614[_0x301e2d(0xf4)]));;return _0x2dffc9;};
@@ -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
+ function a148_0x9200(){const _0x5679aa=[':print-buildlink','HUB_MANAGEMENT','SCREENSHOT','sdk:automationFrameworkStart','SDK_TEST',':snapshot','DOWNLOAD','GET_RESULTS_SUMMARY',':post-execute','4101800WSoyQj','sdk:cli:on-stop','sdk:turboscale',':hub-management','AUTOMATE_EVENTS',':stop','688RDTdjP',':local-start','96562IkwwZb','sdk:observabilityConfig','exports','PRINT_BUILDLINK','TESTHUB_EVENTS','SDK_A11Y','SESSION_NAME','SNAPSHOT',':before-each','SESSION_ANNOTATION','sdk:percy','SDK_CLI_ON_CONNECT',':session-status','25732EAwLej','sdk:cli:enqueueTestEvent','SDK_ACCESSIBILITY_CONFIG','SDK_CLEANUP','TAKE_SCREENSHOT',':screenshot','sdk:app-automate','AFTER','GENERATE_CI_ARTIFACT','2mmdynJ',':keep-alive','sdk:automationFrameworkStop','sdk:findNearestHub','APP_UPLOAD','O11y_EVENTS','10GjsSEH','BEFORE','sdk:proxy-setup','SDK_TESTHUB','KEEP_ALIVE','SDK_TURBOSCALE',':get',':driver-manage',':screenshot-app','PRE_EXECUTE','DRIVER_MANAGE','AUTO_CAPTURE','HOOK_EVENTS','sdk:cli:download','sdk:post-test','sdk:a11y','PERCY_EVENTS',':before-all','SDK_DRIVER','sdk:o11y','SDK_OBSERVABILITY_CONFIG','SDK_TEST_SESSION_EVENT','LOCAL_START','SDK_CLI_START','SDK_O11Y',':quit','sdk:automate',':get-accessibility-results','SDK_CLI_ON_STOP',':ci-artifacts',':app-upload','sdk:setup','SDK_APP_AUTOMATE','STOP','SDK_AI_SELF_HEAL_STEP','SDK_PRE_TEST','SDK_AUTOMATE','sdk:driver:pre-initialization',':start','A11Y_EVENTS','sdk:automationFrameworkInit',':driver-takeScreenShot','sdk:accessibilityConfig','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_FIND_NEAREST_HUB','SDK_ON_STOP','GET_RESULTS','SDK_CLI_ON_BOOTSTRAP','SDK_CLI_DOWNLOAD','SDK_PERCY','22419KaqCOD','SDK_CLI_ENQUEUE_TEST_EVENT',':save-results','sdk:hook',':sync','QUIT','sdk:cli:on-connect',':after-each',':auto-capture','sdk:testFrameworkEvent','SAVE_RESULTS','AFTER_ALL','2220201xMYNJP','DRIVER_EVENT','SDK_HOOK','POST_EXECUTE','sdk:aiSelfHealGetResult','sdk:driver:post-initialization',':pre-execute','sdk:pre-test','249196XGPDfc','sdk:cli:check-update','START','sdk:cli:on-bootstrap','SDK_AI_SELF_HEAL_GET_RESULT','421014JmYGZi',':session-name',':session-annotation','SDK_AUTOMATION_FRAMEWORK_START','sdk:aiSelfHealStep',':download','SDK_CLI_CHECK_UPDATE',':local-stop','SDK_CLI_LOG_CREATED_EVENT',':get-accessibility-results-summary','EVENTS','SYNC','AFTER_EACH','APP_AUOTMATE_EVENTS'];a148_0x9200=function(){return _0x5679aa;};return a148_0x9200();}const a148_0x454798=a148_0x5e26;(function(_0x514a27,_0x4b9ffe){const _0x35b6e4=a148_0x5e26,_0x1ab5e1=_0x514a27();while(!![]){try{const _0x38807f=parseInt(_0x35b6e4(0xce))/0x1*(parseInt(_0x35b6e4(0xb8))/0x2)+-parseInt(_0x35b6e4(0x106))/0x3+-parseInt(_0x35b6e4(0x11a))/0x4*(parseInt(_0x35b6e4(0xd4))/0x5)+parseInt(_0x35b6e4(0x11f))/0x6+parseInt(_0x35b6e4(0xc5))/0x7*(parseInt(_0x35b6e4(0xb6))/0x8)+parseInt(_0x35b6e4(0x112))/0x9+-parseInt(_0x35b6e4(0xb0))/0xa;if(_0x38807f===_0x4b9ffe)break;else _0x1ab5e1['push'](_0x1ab5e1['shift']());}catch(_0xfd2ef2){_0x1ab5e1['push'](_0x1ab5e1['shift']());}}}(a148_0x9200,0x2dba9));const a148_0x199862={};a148_0x199862['SDK_SETUP']=a148_0x454798(0xf3),a148_0x199862[a148_0x454798(0xc8)]='sdk:cleanup',a148_0x199862[a148_0x454798(0xf7)]=a148_0x454798(0x119),a148_0x199862[a148_0x454798(0xab)]='sdk:test',a148_0x199862['SDK_POST_TEST']=a148_0x454798(0xe2),a148_0x199862[a148_0x454798(0x114)]=a148_0x454798(0x109),a148_0x199862[a148_0x454798(0xe6)]='sdk:driver',a148_0x199862[a148_0x454798(0xbd)]=a148_0x454798(0xe3),a148_0x199862['SDK_O11Y']=a148_0x454798(0xe7),a148_0x199862['SDK_AUTO_CAPTURE']='sdk:auto-capture',a148_0x199862['SDK_PROXY_SETUP']=a148_0x454798(0xd6),a148_0x199862['SDK_TESTHUB']='sdk:testhub',a148_0x199862[a148_0x454798(0xf8)]=a148_0x454798(0xee),a148_0x199862[a148_0x454798(0xf4)]=a148_0x454798(0xcb),a148_0x199862[a148_0x454798(0xd9)]=a148_0x454798(0xb2),a148_0x199862[a148_0x454798(0x105)]=a148_0x454798(0xc2),a148_0x199862['SDK_PRE_INITIALIZE']=a148_0x454798(0xf9),a148_0x199862['SDK_POST_INITIALIZE']=a148_0x454798(0x117),a148_0x199862[a148_0x454798(0xeb)]='sdk:cli:start',a148_0x199862[a148_0x454798(0x104)]=a148_0x454798(0xe1),a148_0x199862[a148_0x454798(0x125)]=a148_0x454798(0x11b),a148_0x199862[a148_0x454798(0x103)]=a148_0x454798(0x11d),a148_0x199862[a148_0x454798(0xc3)]=a148_0x454798(0x10c),a148_0x199862[a148_0x454798(0xf0)]=a148_0x454798(0xb1),a148_0x199862['SDK_START_BIN_SESSION']='sdk:startBinSession',a148_0x199862['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a148_0x199862['SDK_DRIVER_INIT']='sdk:driverInit',a148_0x199862[a148_0x454798(0x100)]=a148_0x454798(0xd1),a148_0x199862['SDK_AUTOMATION_FRAMEWORK_INIT']=a148_0x454798(0xfc),a148_0x199862[a148_0x454798(0x122)]=a148_0x454798(0xaa),a148_0x199862[a148_0x454798(0xc7)]=a148_0x454798(0xfe),a148_0x199862[a148_0x454798(0xe8)]=a148_0x454798(0xb9),a148_0x199862[a148_0x454798(0xf6)]=a148_0x454798(0x123),a148_0x199862[a148_0x454798(0x11e)]=a148_0x454798(0x116),a148_0x199862['SDK_TEST_FRAMEWORK_EVENT']=a148_0x454798(0x10f),a148_0x199862[a148_0x454798(0xe9)]='sdk:testSessionEvent',a148_0x199862[a148_0x454798(0x127)]='sdk:cli:logCreatedEvent',a148_0x199862[a148_0x454798(0x107)]=a148_0x454798(0xc6),a148_0x199862[a148_0x454798(0xff)]=a148_0x454798(0xd0),a148_0x199862[a148_0x454798(0x101)]='sdk:onStop';const SDK_EVENTS=a148_0x199862,a148_0x4caa56={};function a148_0x5e26(_0x43198d,_0x41945c){const _0x92006c=a148_0x9200();return a148_0x5e26=function(_0x5e261b,_0x5ba8de){_0x5e261b=_0x5e261b-0xa3;let _0x48aed4=_0x92006c[_0x5e261b];return _0x48aed4;},a148_0x5e26(_0x43198d,_0x41945c);}a148_0x4caa56[a148_0x454798(0xa3)]=SDK_EVENTS,a148_0x4caa56[a148_0x454798(0xbc)]={},a148_0x4caa56[a148_0x454798(0xb4)]={},a148_0x4caa56[a148_0x454798(0xfb)]={},a148_0x4caa56[a148_0x454798(0xe4)]={},a148_0x4caa56[a148_0x454798(0xd3)]={},a148_0x4caa56[a148_0x454798(0xe0)]={},a148_0x4caa56['TURBOSCALE_EVENTS']={},a148_0x4caa56[a148_0x454798(0xa6)]={},a148_0x4caa56[a148_0x454798(0x113)]={},a148_0x4caa56[a148_0x454798(0xbc)][a148_0x454798(0x11c)]=SDK_EVENTS[a148_0x454798(0xd7)]+a148_0x454798(0xfa),a148_0x4caa56[a148_0x454798(0xbc)][a148_0x454798(0xf5)]=SDK_EVENTS[a148_0x454798(0xd7)]+a148_0x454798(0xb5),a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xd8)]=SDK_EVENTS['SDK_AUTOMATE']+a148_0x454798(0xcf),a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xa8)]=SDK_EVENTS[a148_0x454798(0xf8)]+':hub-management',a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xea)]=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0xb7),a148_0x4caa56[a148_0x454798(0xb4)]['LOCAL_STOP']=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0x126),a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xde)]=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0xdb),a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xbe)]=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0x120),a148_0x4caa56[a148_0x454798(0xb4)]['SESSION_STATUS']=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0xc4),a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xc1)]=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0x121),a148_0x4caa56[a148_0x454798(0xb4)]['IDLE_TIMEOUT']=SDK_EVENTS[a148_0x454798(0xf8)]+':idle-timeout',a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xcd)]=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0xf1),a148_0x4caa56[a148_0x454798(0xb4)][a148_0x454798(0xbb)]=SDK_EVENTS[a148_0x454798(0xf8)]+a148_0x454798(0xa7),a148_0x4caa56[a148_0x454798(0xfb)]['PERFORM_SCAN']=SDK_EVENTS[a148_0x454798(0xbd)]+':driver-performscan',a148_0x4caa56[a148_0x454798(0xfb)][a148_0x454798(0x110)]=SDK_EVENTS[a148_0x454798(0xbd)]+a148_0x454798(0x108),a148_0x4caa56[a148_0x454798(0xfb)][a148_0x454798(0x102)]=SDK_EVENTS[a148_0x454798(0xbd)]+a148_0x454798(0xef),a148_0x4caa56[a148_0x454798(0xfb)][a148_0x454798(0xae)]=SDK_EVENTS[a148_0x454798(0xbd)]+a148_0x454798(0x128),a148_0x4caa56[a148_0x454798(0xe4)][a148_0x454798(0xad)]=SDK_EVENTS[a148_0x454798(0x105)]+a148_0x454798(0x124),a148_0x4caa56[a148_0x454798(0xe4)][a148_0x454798(0xa9)]=SDK_EVENTS['SDK_PERCY']+a148_0x454798(0xca),a148_0x4caa56[a148_0x454798(0xe4)]['START']=SDK_EVENTS[a148_0x454798(0x105)]+a148_0x454798(0xfa),a148_0x4caa56[a148_0x454798(0xe4)]['STOP']=SDK_EVENTS[a148_0x454798(0x105)]+a148_0x454798(0xb5),a148_0x4caa56[a148_0x454798(0xe4)][a148_0x454798(0xdf)]=SDK_EVENTS[a148_0x454798(0x105)]+a148_0x454798(0x10e),a148_0x4caa56[a148_0x454798(0xe4)][a148_0x454798(0xbf)]=SDK_EVENTS[a148_0x454798(0x105)]+a148_0x454798(0xac),a148_0x4caa56[a148_0x454798(0xe4)]['SCREENSHOT_APP']=SDK_EVENTS['SDK_PERCY']+a148_0x454798(0xdc),a148_0x4caa56[a148_0x454798(0xd3)][a148_0x454798(0xa4)]=SDK_EVENTS[a148_0x454798(0xec)]+a148_0x454798(0x10a),a148_0x4caa56[a148_0x454798(0xd3)][a148_0x454798(0xc9)]=SDK_EVENTS[a148_0x454798(0xec)]+a148_0x454798(0xfd),a148_0x4caa56[a148_0x454798(0xd3)][a148_0x454798(0xbb)]=SDK_EVENTS[a148_0x454798(0xec)]+':print-buildlink',a148_0x4caa56[a148_0x454798(0xe0)]['BEFORE_EACH']=SDK_EVENTS[a148_0x454798(0x114)]+a148_0x454798(0xc0),a148_0x4caa56[a148_0x454798(0xe0)][a148_0x454798(0xa5)]=SDK_EVENTS[a148_0x454798(0x114)]+a148_0x454798(0x10d),a148_0x4caa56[a148_0x454798(0xe0)][a148_0x454798(0x111)]=SDK_EVENTS['SDK_HOOK']+':after-all',a148_0x4caa56[a148_0x454798(0xe0)]['BEFORE_ALL']=SDK_EVENTS[a148_0x454798(0x114)]+a148_0x454798(0xe5),a148_0x4caa56[a148_0x454798(0xe0)][a148_0x454798(0xd5)]=SDK_EVENTS[a148_0x454798(0x114)]+':before',a148_0x4caa56[a148_0x454798(0xe0)][a148_0x454798(0xcc)]=SDK_EVENTS['SDK_HOOK']+':after',a148_0x4caa56['TURBOSCALE_EVENTS'][a148_0x454798(0xa8)]=SDK_EVENTS[a148_0x454798(0xd9)]+a148_0x454798(0xb3),a148_0x4caa56['TURBOSCALE_EVENTS']['PRINT_BUILDLINK']=SDK_EVENTS[a148_0x454798(0xd9)]+a148_0x454798(0xa7),a148_0x4caa56[a148_0x454798(0xa6)][a148_0x454798(0xd2)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a148_0x454798(0xf2),a148_0x4caa56[a148_0x454798(0x113)][a148_0x454798(0x10b)]=SDK_EVENTS['SDK_DRIVER']+a148_0x454798(0xed),a148_0x4caa56[a148_0x454798(0x113)]['GET']=SDK_EVENTS[a148_0x454798(0xe6)]+a148_0x454798(0xda),a148_0x4caa56[a148_0x454798(0x113)][a148_0x454798(0xdd)]=SDK_EVENTS['SDK_DRIVER']+a148_0x454798(0x118),a148_0x4caa56[a148_0x454798(0x113)][a148_0x454798(0x115)]=SDK_EVENTS[a148_0x454798(0xe6)]+a148_0x454798(0xaf),module[a148_0x454798(0xba)]=a148_0x4caa56;