browserstack-node-sdk 1.57.1 → 1.58.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 (220) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +376 -36
  41. package/generated/sdk-messages_pb.js +2955 -279
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +51 -0
  44. package/package.json +1 -1
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -0
  60. package/src/bin/jasmine/command.js +2 -0
  61. package/src/bin/jasmine/test.setup.js +1 -0
  62. package/src/bin/jasmine/testRunMap.js +1 -0
  63. package/src/bin/jest/command.js +1 -1
  64. package/src/bin/jest/customImplements/customCircus.js +1 -1
  65. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  66. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  67. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  68. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  69. package/src/bin/jest/jest.setup.js +1 -1
  70. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  71. package/src/bin/jest/test-observability/helper.js +1 -1
  72. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  73. package/src/bin/jest/test-observability/test-details.js +1 -1
  74. package/src/bin/jest/test.setup.js +1 -1
  75. package/src/bin/jest/test_before.setup.js +1 -1
  76. package/src/bin/launcher/launcher.js +1 -1
  77. package/src/bin/load/index.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  83. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  84. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  85. package/src/bin/mocha/test.setup.js +1 -1
  86. package/src/bin/newman/command.js +1 -1
  87. package/src/bin/newman/helper.js +1 -1
  88. package/src/bin/newman/reporter/index.js +1 -1
  89. package/src/bin/newman/scriptRunner.js +1 -1
  90. package/src/bin/nightwatch/command.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/sessionDetails.js +1 -1
  101. package/src/bin/puppeteer/patches.js +1 -1
  102. package/src/bin/puppeteer/sessionDetails.js +1 -1
  103. package/src/bin/puppeteer/test.setup.js +1 -1
  104. package/src/bin/runner.js +1 -1
  105. package/src/bin/setup.js +1 -1
  106. package/src/bin/test-runner/index.js +1 -1
  107. package/src/bin/test-runner/runTest.js +1 -1
  108. package/src/bin/test-runner/testWorker.js +1 -1
  109. package/src/bin/testcafe/a11y-runner.js +1 -0
  110. package/src/bin/testcafe/command.js +2 -0
  111. package/src/bin/testcafe/reporter/index.js +1 -0
  112. package/src/bin/testcafe/reporter/tcUtils.js +1 -0
  113. package/src/bin/testcafe/session-registry.js +1 -0
  114. package/src/bin/testcafe/stdout-interceptor.js +1 -0
  115. package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
  116. package/src/bin/testcafe/w3c-driver.js +1 -0
  117. package/src/bin/utils/apiUtilityMethods.js +1 -1
  118. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  119. package/src/bin/utils/constants.js +1 -1
  120. package/src/bin/utils/log4jsAppender.js +1 -1
  121. package/src/bin/utils/logPatcher.js +1 -1
  122. package/src/bin/utils/logReportingAPI.js +1 -1
  123. package/src/bin/utils/playwright-patcher.js +1 -1
  124. package/src/bin/utils/puppeteer-patcher.js +1 -1
  125. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  126. package/src/bin/utils/sharedUtils.js +1 -1
  127. package/src/bin/v2/TestInfo.js +1 -1
  128. package/src/bin/v2/browserstackCLI.js +1 -1
  129. package/src/bin/v2/cliUtils.js +1 -1
  130. package/src/bin/v2/customTagManager.js +1 -1
  131. package/src/bin/v2/eventDispatcher.js +1 -1
  132. package/src/bin/v2/framework/automationFramework.js +1 -1
  133. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  134. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  136. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  137. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  138. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  140. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testFramework.js +1 -1
  142. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -0
  143. package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
  144. package/src/bin/v2/grpcClient.js +1 -1
  145. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  146. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  147. package/src/bin/v2/instances/trackedContext.js +1 -1
  148. package/src/bin/v2/instances/trackedInstance.js +1 -1
  149. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  150. package/src/bin/v2/modules/baseModule.js +1 -1
  151. package/src/bin/v2/modules/loadTestModule.js +1 -1
  152. package/src/bin/v2/modules/observabilityModule.js +1 -1
  153. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  154. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  155. package/src/bin/v2/modules/testcafeDriverModule.js +1 -0
  156. package/src/bin/v2/modules/testhubModule.js +1 -1
  157. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  158. package/src/bin/v2/state/hookState.js +1 -1
  159. package/src/bin/v2/state/testFrameworkState.js +1 -1
  160. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  161. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  162. package/src/bin/v2/utils/jest-utils.js +1 -1
  163. package/src/bin/vanilla-js/command.js +1 -1
  164. package/src/browserStackSdk.js +1 -1
  165. package/src/helpers/BrowserStackSetup.js +1 -1
  166. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  167. package/src/helpers/accessibility-automation/constants.js +1 -1
  168. package/src/helpers/accessibility-automation/helper.js +1 -1
  169. package/src/helpers/accessibility-automation/scripts.js +1 -1
  170. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  171. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  172. package/src/helpers/ats/constants.js +1 -1
  173. package/src/helpers/ats/helper.js +1 -1
  174. package/src/helpers/caCertHelper.js +1 -1
  175. package/src/helpers/capsMapping.js +1 -1
  176. package/src/helpers/central-scanner/constants.js +1 -1
  177. package/src/helpers/central-scanner/helpers.js +1 -1
  178. package/src/helpers/classLogger.js +1 -1
  179. package/src/helpers/driverInitErrorReporter.js +1 -1
  180. package/src/helpers/globals.js +1 -1
  181. package/src/helpers/helper.js +1 -1
  182. package/src/helpers/logger.js +1 -1
  183. package/src/helpers/metadata.js +1 -1
  184. package/src/helpers/patchHelper.js +1 -1
  185. package/src/helpers/patchHelpers.js +1 -1
  186. package/src/helpers/percy/Percy.js +1 -1
  187. package/src/helpers/percy/PercyBinary.js +1 -1
  188. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  189. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  190. package/src/helpers/percy/PercySDK.js +1 -1
  191. package/src/helpers/percy/index.js +1 -1
  192. package/src/helpers/percy/utils.js +1 -1
  193. package/src/helpers/performance/constants.js +1 -1
  194. package/src/helpers/performance/performance-tester.js +1 -1
  195. package/src/helpers/playwright-helper.js +1 -1
  196. package/src/helpers/processHelper.js +1 -1
  197. package/src/helpers/puppeteer-helper.js +1 -1
  198. package/src/helpers/request-spy.js +1 -1
  199. package/src/helpers/setKeepAlive.js +1 -1
  200. package/src/helpers/stackFrameUtils.js +1 -1
  201. package/src/helpers/test-observability/constants.js +1 -1
  202. package/src/helpers/test-observability/error-handler.js +1 -1
  203. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  204. package/src/helpers/test-observability/sessionHandler.js +1 -1
  205. package/src/helpers/test-observability/utils.js +1 -1
  206. package/src/helpers/test-orchestration/constants.js +1 -1
  207. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  208. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  209. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  210. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  211. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  212. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  213. package/src/helpers/testhub/constants.js +1 -1
  214. package/src/helpers/testhub/testhubHandler.js +1 -1
  215. package/src/helpers/testhub/utils.js +1 -1
  216. package/src/helpers/timeoutPromise.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a122_0x515f9f=a122_0x56fc;(function(_0x2d0eca,_0x13cfa3){const _0x1f8da1=a122_0x56fc,_0xd50518=_0x2d0eca();while(!![]){try{const _0x28dd15=parseInt(_0x1f8da1(0x198))/0x1*(parseInt(_0x1f8da1(0x1af))/0x2)+parseInt(_0x1f8da1(0x1d1))/0x3*(parseInt(_0x1f8da1(0x1c3))/0x4)+-parseInt(_0x1f8da1(0x190))/0x5+parseInt(_0x1f8da1(0x192))/0x6+-parseInt(_0x1f8da1(0x19f))/0x7*(-parseInt(_0x1f8da1(0x1b0))/0x8)+-parseInt(_0x1f8da1(0x1a8))/0x9*(-parseInt(_0x1f8da1(0x188))/0xa)+-parseInt(_0x1f8da1(0x18c))/0xb;if(_0x28dd15===_0x13cfa3)break;else _0xd50518['push'](_0xd50518['shift']());}catch(_0x2af0db){_0xd50518['push'](_0xd50518['shift']());}}}(a122_0x194f,0xe3333));const winston=require('winston'),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a122_0x515f9f(0x193)),tempLogDir=a122_0x515f9f(0x1ac);let redactRegex=null,lastConfigHash='';const logFormat=winston[a122_0x515f9f(0x1c6)](_0x48241a=>{const _0x38d3a3=a122_0x515f9f,_0x603fc={};_0x603fc[_0x38d3a3(0x1b9)]=function(_0x3dd68c,_0x449763){return _0x3dd68c!==_0x449763;},_0x603fc[_0x38d3a3(0x1b4)]=_0x38d3a3(0x1b2),_0x603fc[_0x38d3a3(0x186)]=function(_0x3897c8,_0x5c5410){return _0x3897c8+_0x5c5410;},_0x603fc[_0x38d3a3(0x1a2)]=function(_0x1d097b,_0x172ae6){return _0x1d097b+_0x172ae6;},_0x603fc['hoHmV']=function(_0x40deed,_0x1b361c){return _0x40deed!==_0x1b361c;},_0x603fc[_0x38d3a3(0x1a4)]=function(_0x5effc7,_0x543a6f){return _0x5effc7>_0x543a6f;},_0x603fc[_0x38d3a3(0x1c1)]=_0x38d3a3(0x19a);const _0x4a9afe=_0x603fc;_0x4a9afe['CnLHn'](typeof _0x48241a[_0x38d3a3(0x1b3)],_0x4a9afe[_0x38d3a3(0x1b4)])&&(_0x48241a[_0x38d3a3(0x1b3)]=JSON['stringify'](_0x48241a[_0x38d3a3(0x1b3)]));const _0x2d8253=global[_0x38d3a3(0x1c9)]&&global[_0x38d3a3(0x1c9)][_0x38d3a3(0x1c7)]||'',_0x20d26f=global['config']&&global['config'][_0x38d3a3(0x1be)]||'',_0x582d10=_0x4a9afe[_0x38d3a3(0x186)](_0x4a9afe[_0x38d3a3(0x1a2)](_0x2d8253,'|'),_0x20d26f);if(_0x4a9afe['hoHmV'](_0x582d10,lastConfigHash)){lastConfigHash=_0x582d10;const _0x7ce41d=[_0x2d8253,_0x20d26f][_0x38d3a3(0x1ab)](Boolean);if(_0x4a9afe[_0x38d3a3(0x1a4)](_0x7ce41d['length'],0x0)){const _0xf277dc=_0x7ce41d[_0x38d3a3(0x1ad)](_0x115fb8=>_0x115fb8[_0x38d3a3(0x19c)](/[.*+?^${}()|[\]\\]/g,_0x38d3a3(0x1c5)))['join']('|');redactRegex=new RegExp(_0xf277dc,'g');}else redactRegex=null;}return redactRegex&&(_0x48241a[_0x38d3a3(0x1b3)]=_0x48241a[_0x38d3a3(0x1b3)]['replace'](redactRegex,_0x4a9afe[_0x38d3a3(0x1c1)])),_0x48241a;}),fetchLogDir=()=>{const _0x5831b9=a122_0x515f9f;if(process[_0x5831b9(0x180)][_0x5831b9(0x19d)])return process[_0x5831b9(0x180)][_0x5831b9(0x19d)];else!fs[_0x5831b9(0x191)](tempLogDir)&&fs[_0x5831b9(0x182)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x5db8a2=a122_0x515f9f,_0x208486={};_0x208486[_0x5db8a2(0x1c0)]=_0x5db8a2(0x196);const _0x4a5ae8=_0x208486,_0x3b9428=process[_0x5db8a2(0x180)][_0x5db8a2(0x187)],_0x2bf1df=Object['keys'](winston['config'][_0x5db8a2(0x185)][_0x5db8a2(0x1b7)]);if(_0x3b9428&&_0x2bf1df[_0x5db8a2(0x17f)](_0x3b9428[_0x5db8a2(0x199)]()))return _0x3b9428['toLowerCase']();return _0x4a5ae8[_0x5db8a2(0x1c0)];},initialLogLevel=getInitialLogLevel(),a122_0x8b6ea0={};a122_0x8b6ea0[a122_0x515f9f(0x1ca)]='console.info',a122_0x8b6ea0[a122_0x515f9f(0x1bb)]=initialLogLevel;const transports={'loggerConsole':new winston[(a122_0x515f9f(0x1c2))][(a122_0x515f9f(0x1aa))](a122_0x8b6ea0),'loggerFile':new winston['transports'][(a122_0x515f9f(0x1ba))]({'filename':path['join'](logDir,a122_0x515f9f(0x197)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a122_0x515f9f(0x1c2))][(a122_0x515f9f(0x1ba))]({'filename':path[a122_0x515f9f(0x1ce)](logDir,a122_0x515f9f(0x1ae)),'level':a122_0x515f9f(0x195)}),'debugCliLoggerFile':new winston['transports'][(a122_0x515f9f(0x1ba))]({'filename':path[a122_0x515f9f(0x1ce)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a122_0x515f9f(0x195)}),'buildLinkTransport':new winston[(a122_0x515f9f(0x1c2))][(a122_0x515f9f(0x1ba))]({'filename':path[a122_0x515f9f(0x1ce)](logDir,a122_0x515f9f(0x197)),'level':a122_0x515f9f(0x195)})},automationTransports={};process[a122_0x515f9f(0x180)][a122_0x515f9f(0x189)]===a122_0x515f9f(0x1bd)&&(automationTransports[a122_0x515f9f(0x1c8)]=new winston[(a122_0x515f9f(0x1c2))]['File']({'filename':path['join'](logDir,a122_0x515f9f(0x1bc)),'level':'silly'}));transports[a122_0x515f9f(0x1a1)]['on'](a122_0x515f9f(0x1cc),_0x456b06=>{const _0xd0242c=a122_0x515f9f,_0x4be43e={};_0x4be43e[_0xd0242c(0x18a)]=function(_0x3dca4a,_0x2d5c3d){return _0x3dca4a===_0x2d5c3d;},_0x4be43e[_0xd0242c(0x1d0)]='EPIPE',_0x4be43e[_0xd0242c(0x17e)]=_0xd0242c(0x1a5);const _0x276e37=_0x4be43e;if(_0x276e37[_0xd0242c(0x18a)](_0x456b06[_0xd0242c(0x1a7)],_0x276e37[_0xd0242c(0x1d0)])){console[_0xd0242c(0x1ac)](_0x276e37[_0xd0242c(0x17e)],_0x456b06['message']);return;}throw _0x456b06;});const a122_0x2be18c={};a122_0x2be18c['format']='YYYY-MM-DD\x20HH:mm:ss';const a122_0x540337={};function a122_0x56fc(_0x196210,_0x2b9022){const _0x194ffa=a122_0x194f();return a122_0x56fc=function(_0x56fc6f,_0x38fb9c){_0x56fc6f=_0x56fc6f-0x17e;let _0x3162b3=_0x194ffa[_0x56fc6f];return _0x3162b3;},a122_0x56fc(_0x196210,_0x2b9022);}a122_0x540337[a122_0x515f9f(0x1bb)]=!![];const winstonLoggerParams={'format':winston[a122_0x515f9f(0x1c6)]['combine'](winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x1b8)](a122_0x2be18c),winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x181)](a122_0x540337),winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x183)](_0x59008c=>_0x59008c[a122_0x515f9f(0x1b8)]+'\x20-\x20'+_0x59008c['level']+':\x20'+_0x59008c[a122_0x515f9f(0x1b3)])),'transports':[transports[a122_0x515f9f(0x1a1)]]},a122_0x35498c={};a122_0x35498c['format']='YYYY-MM-DD\x20HH:mm:ss';const a122_0x51e778={};a122_0x51e778['level']=!![];const winstonFileLoggerParams={'format':winston[a122_0x515f9f(0x1c6)]['combine'](winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x1b8)](a122_0x35498c),winston[a122_0x515f9f(0x1c6)]['colorize'](a122_0x51e778),winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x183)](_0x56f3a5=>_0x56f3a5[a122_0x515f9f(0x1bb)]+':\x20'+_0x56f3a5[a122_0x515f9f(0x1b3)])),'transports':[]},a122_0x5e13fb={};a122_0x5e13fb[a122_0x515f9f(0x1c6)]=a122_0x515f9f(0x1cb);const a122_0xb80a80={};a122_0xb80a80[a122_0x515f9f(0x1bb)]=!![];const a122_0x4e7081={};a122_0x4e7081[a122_0x515f9f(0x1bb)]='silly';const BuildLoggerParams={'format':winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x1cf)](winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x1b8)](a122_0x5e13fb),winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x181)](a122_0xb80a80),winston[a122_0x515f9f(0x1c6)][a122_0x515f9f(0x183)](_0x4646c8=>_0x4646c8[a122_0x515f9f(0x1b8)]+a122_0x515f9f(0x1cd)+_0x4646c8[a122_0x515f9f(0x1bb)]+':\x20'+_0x4646c8[a122_0x515f9f(0x1b3)])),'transports':[transports['buildLinkTransport'],new winston[(a122_0x515f9f(0x1c2))][(a122_0x515f9f(0x1aa))](a122_0x4e7081)]},a122_0x5c36bc={};function a122_0x194f(){const _0x30f533=['automationLoggerFile','config','name','YYYY-MM-DD\x20HH:mm:ss','error','\x20-\x20','join','combine','yKWwt','138AbZVED','getLogDir','ckbja','includes','env','colorize','mkdirSync','printf','createLogger','npm','GbJPy','BROWSERSTACK_LOG_LEVEL','1490JFJpTL','BROWSERSTACK_AUTOMATION_LOGS','mBhoO','http','50819010iqHnEz','loggerFile','winstonLogger','debugLoggerFile','4968200jhwzMz','existsSync','10238496IhfTpC','../bin/utils/constants','fileLogger','silly','info','/usage.log','2281PJDdFS','toLowerCase','[REDACTED]','logDir','replace','BROWSERSTACK_INTERNAL_LOG_DIR','debug','5628LZWGRw','uncolorize','loggerConsole','Jwszk','automationLogger','bEiBz','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','warn','code','95598jfCsqw','add','Console','filter','log','map','/usage-debug.log','754yqNxYW','18384pSUojc','initialize','string','message','GKxbB','ixvIl','buildLogger','levels','timestamp','CnLHn','File','level','automation.log','true','accessKey','debugCliLoggerFile','Uwqia','DSavy','transports','47612tqmCte','remove','\x5c$&','format','userName'];a122_0x194f=function(){return _0x30f533;};return a122_0x194f();}a122_0x5c36bc[a122_0x515f9f(0x18b)]=()=>{},a122_0x5c36bc[a122_0x515f9f(0x196)]=()=>{},a122_0x5c36bc[a122_0x515f9f(0x1a6)]=()=>{},a122_0x5c36bc[a122_0x515f9f(0x1cc)]=()=>{},a122_0x5c36bc[a122_0x515f9f(0x19e)]=()=>{},a122_0x5c36bc[a122_0x515f9f(0x195)]=()=>{},exports[a122_0x515f9f(0x1a3)]=process[a122_0x515f9f(0x180)][a122_0x515f9f(0x189)]===a122_0x515f9f(0x1bd)?winston[a122_0x515f9f(0x184)]({'format':winston['format'][a122_0x515f9f(0x1cf)](winston['format'][a122_0x515f9f(0x1a0)](),winston['format'][a122_0x515f9f(0x1b8)](),logFormat(),winston['format'][a122_0x515f9f(0x183)](_0x41f16e=>_0x41f16e[a122_0x515f9f(0x1bb)]+':\x20'+_0x41f16e['message'])),'transports':[automationTransports[a122_0x515f9f(0x1c8)]]}):a122_0x5c36bc;const initialize=()=>{const _0x2f77ae=a122_0x515f9f,_0x1dc1db={};_0x1dc1db[_0x2f77ae(0x1b5)]=_0x2f77ae(0x195);const _0x1e523f=_0x1dc1db,_0x4ff0f9=transports[_0x2f77ae(0x1a1)][_0x2f77ae(0x1bb)]||initialLogLevel;transports[_0x2f77ae(0x18d)]&&(exports[_0x2f77ae(0x18e)][_0x2f77ae(0x1c4)](transports[_0x2f77ae(0x18d)]),exports[_0x2f77ae(0x194)][_0x2f77ae(0x1c4)](transports[_0x2f77ae(0x18d)])),transports[_0x2f77ae(0x18f)]&&(exports[_0x2f77ae(0x18e)][_0x2f77ae(0x1c4)](transports['debugLoggerFile']),exports[_0x2f77ae(0x194)]['remove'](transports[_0x2f77ae(0x18f)])),transports[_0x2f77ae(0x18d)]=new winston[(_0x2f77ae(0x1c2))][(_0x2f77ae(0x1ba))]({'filename':path[_0x2f77ae(0x1ce)](exports['logDir'],LOG_FILE_NAME),'level':_0x4ff0f9}),transports[_0x2f77ae(0x18f)]=new winston['transports'][(_0x2f77ae(0x1ba))]({'filename':path[_0x2f77ae(0x1ce)](exports[_0x2f77ae(0x19b)],DEBUG_LOG_FILE_NAME),'level':_0x1e523f[_0x2f77ae(0x1b5)]}),transports[_0x2f77ae(0x1bf)]=new winston[(_0x2f77ae(0x1c2))]['File']({'filename':path[_0x2f77ae(0x1ce)](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x1e523f[_0x2f77ae(0x1b5)]}),exports['winstonLogger'][_0x2f77ae(0x1a9)](transports['loggerFile']),exports['winstonLogger'][_0x2f77ae(0x1a9)](transports[_0x2f77ae(0x18f)]),exports['fileLogger'][_0x2f77ae(0x1a9)](transports[_0x2f77ae(0x18d)]),exports[_0x2f77ae(0x194)]['add'](transports[_0x2f77ae(0x18f)]);};exports[a122_0x515f9f(0x18e)]=new winston[(a122_0x515f9f(0x184))](winstonLoggerParams),exports[a122_0x515f9f(0x194)]=new winston[(a122_0x515f9f(0x184))](winstonFileLoggerParams),exports[a122_0x515f9f(0x1b6)]=new winston[(a122_0x515f9f(0x184))](BuildLoggerParams),exports[a122_0x515f9f(0x19b)]=logDir,exports[a122_0x515f9f(0x1d2)]=()=>{return exports['logDir'];},exports[a122_0x515f9f(0x1c2)]=transports,exports[a122_0x515f9f(0x1b1)]=initialize;logDir&&initialize();
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 +1 @@
1
- function a123_0x16d5(_0x289fc2,_0x36db68){const _0x2f1bde=a123_0x2f1b();return a123_0x16d5=function(_0x16d59b,_0x2f280b){_0x16d59b=_0x16d59b-0x18b;let _0x718628=_0x2f1bde[_0x16d59b];return _0x718628;},a123_0x16d5(_0x289fc2,_0x36db68);}function a123_0x2f1b(){const _0x3b2e07=['2061670UEULBC','5136PHsURh','testMeta-','7jIoYyb','2820xSmgTl','1183484MZgpcW','winstonLogger','getGlobal','16237RPMPlj','IxByO','./globals','get','exports','5953624OsYngt','set','6706ETpVbB','LcyuS','length','tAziM','115353kPDkBk','vjmuF','testRunUUID','290wUrnSM','warn','testMeta','17578iBLWlr','zHISo','bdEVr','getCentralUser','setGlobal','lcnc','1YONLeC','3TZUkEE','6YcwAhK','string','DjdwE'];a123_0x2f1b=function(){return _0x3b2e07;};return a123_0x2f1b();}const a123_0x25d6ff=a123_0x16d5;(function(_0x14e1a9,_0x53d940){const _0x3f7340=a123_0x16d5,_0xb379eb=_0x14e1a9();while(!![]){try{const _0x5b39e7=parseInt(_0x3f7340(0x199))/0x1*(parseInt(_0x3f7340(0x1a3))/0x2)+-parseInt(_0x3f7340(0x19a))/0x3*(parseInt(_0x3f7340(0x1a2))/0x4)+parseInt(_0x3f7340(0x19e))/0x5*(parseInt(_0x3f7340(0x19b))/0x6)+-parseInt(_0x3f7340(0x1a1))/0x7*(parseInt(_0x3f7340(0x1ab))/0x8)+parseInt(_0x3f7340(0x18d))/0x9*(parseInt(_0x3f7340(0x190))/0xa)+parseInt(_0x3f7340(0x193))/0xb*(-parseInt(_0x3f7340(0x19f))/0xc)+parseInt(_0x3f7340(0x1a6))/0xd*(parseInt(_0x3f7340(0x1ad))/0xe);if(_0x5b39e7===_0x53d940)break;else _0xb379eb['push'](_0xb379eb['shift']());}catch(_0x348487){_0xb379eb['push'](_0xb379eb['shift']());}}}(a123_0x2f1b,0x851a4));const globals=require(a123_0x25d6ff(0x1a8)),helper=require('./helper'),logger=require('./logger')[a123_0x25d6ff(0x1a4)];module[a123_0x25d6ff(0x1aa)]=class TestMetadata{static[a123_0x25d6ff(0x1ac)](_0x40210b={}){const _0x4a86ce=a123_0x25d6ff,_0x1c203b={};_0x1c203b[_0x4a86ce(0x195)]=_0x4a86ce(0x18f),_0x1c203b[_0x4a86ce(0x1a7)]=function(_0x4ab07c,_0x113579){return _0x4ab07c===_0x113579;},_0x1c203b[_0x4a86ce(0x194)]=_0x4a86ce(0x19c),_0x1c203b[_0x4a86ce(0x18c)]=function(_0x21931b,_0x268c20){return _0x21931b<=_0x268c20;},_0x1c203b['DjdwE']=_0x4a86ce(0x192),_0x1c203b['vjmuF']='The\x20metadata\x20object\x20is\x20not\x20valid.';const _0x4ef87e=_0x1c203b,_0x3e8c72=globals[_0x4a86ce(0x1a5)](_0x4ef87e[_0x4a86ce(0x195)]),_0x51af7f=_0x40210b['identifier'];helper[_0x4a86ce(0x196)]()[_0x4a86ce(0x198)]&&(_0x4ef87e[_0x4a86ce(0x1a7)](typeof _0x51af7f,_0x4ef87e['zHISo'])&&_0x4ef87e[_0x4a86ce(0x18c)](_0x51af7f[_0x4a86ce(0x18b)],0x28)?_0x3e8c72?globals[_0x4a86ce(0x197)](_0x4a86ce(0x1a0)+_0x3e8c72,_0x40210b):globals[_0x4a86ce(0x197)](_0x4ef87e[_0x4a86ce(0x19d)],_0x40210b):logger[_0x4a86ce(0x191)](_0x4ef87e[_0x4a86ce(0x18e)]));}static[a123_0x25d6ff(0x1a9)](_0x320c4d){const _0x2ca85b=a123_0x25d6ff,_0x14ada3={};_0x14ada3['LcyuS']='testMeta';const _0x23f745=_0x14ada3;if(helper[_0x2ca85b(0x196)]()['lcnc'])return globals[_0x2ca85b(0x1a5)](_0x2ca85b(0x1a0)+_0x320c4d)||globals[_0x2ca85b(0x1a5)](_0x23f745[_0x2ca85b(0x1ae)])||{};return{};}};
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 +1 @@
1
- const a124_0x3bc5ea=a124_0x3bba;(function(_0x357641,_0x389bfc){const _0x52ec98=a124_0x3bba,_0x284327=_0x357641();while(!![]){try{const _0x4179e8=-parseInt(_0x52ec98(0x18c))/0x1+parseInt(_0x52ec98(0x14e))/0x2*(-parseInt(_0x52ec98(0x136))/0x3)+parseInt(_0x52ec98(0x156))/0x4*(parseInt(_0x52ec98(0x154))/0x5)+parseInt(_0x52ec98(0x138))/0x6*(-parseInt(_0x52ec98(0x18b))/0x7)+parseInt(_0x52ec98(0x15d))/0x8+-parseInt(_0x52ec98(0x177))/0x9*(-parseInt(_0x52ec98(0x183))/0xa)+parseInt(_0x52ec98(0x12c))/0xb;if(_0x4179e8===_0x389bfc)break;else _0x284327['push'](_0x284327['shift']());}catch(_0x94f455){_0x284327['push'](_0x284327['shift']());}}}(a124_0x431d,0xa61a7));const {aiSdkWrapper}=require(a124_0x3bc5ea(0x150)),{commandRepository}=require('./ai-sdk/autoHealHelper'),PerformanceTester=require(a124_0x3bc5ea(0x1a4)),globals=require(a124_0x3bc5ea(0x15e)),{winstonLogger:logger,automationLogger}=require(a124_0x3bc5ea(0x164)),helper=require(a124_0x3bc5ea(0x166)),constants=require(a124_0x3bc5ea(0x191)),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require('util');function a124_0x3bba(_0xdb9672,_0x526d90){const _0x431d04=a124_0x431d();return a124_0x3bba=function(_0x3bbac2,_0x532267){_0x3bbac2=_0x3bbac2-0x129;let _0x352f6e=_0x431d04[_0x3bbac2];return _0x352f6e;},a124_0x3bba(_0xdb9672,_0x526d90);}function a124_0x431d(){const _0x37384a=['./helper','PRE_EXECUTE','skipHealingSuccess','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','JavascriptError','dRFKQ','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','RdHqq','roKEi','parameters_','XbtPT','UxeRD','dcmpV','owmfT','QBGGS','getId','execute','8685sAFZxN','][\x20SDK-AUTOMATION\x20]\x20','sAWlU','Gruyd','ZsPKO','NwEiN','name','kLiLZ','setTcgTokenStatus','sogYX','UkCdH','CHBRX','4530JXXRDD','LzMBK','args','setAiSessionTimeStamp','patchExecute','response','NahKe','handleFailure','11179TiweCz','911320NDylAe','Healing\x20failed\x20for\x20command\x20using\x20','setTcgToken','aiHeal:setToken','aiHeal_isHealingEnabled','../bin/utils/constants','findElement\x20command\x20failed\x20with\x20cssPath:\x20','qxiNv','DZKya','css\x20selector','aiHeal_isAuthenticated','find','AUTOMATION_LOG_COMMANDS','NoSuchElementError','lwTSB','local','name_','NqQCc','getNudgeLocalNotSetError','PtYKd','POST_EXECUTE','script',';\x20Trying\x20to\x20heal','thgIb','./performance/performance-tester','aiSdk_defaultLogDataEnabled','zkWfX','viKFs','8596390bDQWfa','WIFyo','initExecute','value','debug','FjtKa','get','LCsvp','browserstack.local','includes','10713jPbbRF','iUHjY','3990mDaGRX','juWKI','shRRu','handleSuccess','isSelfHealEnabled','silly','request','nestedKeyValue','ZgyPg','error','getTcgTokenStatus','ePfiI','url','HIexv','IbWzW','SnOiE','isBrowserstackInfra','string','command','measureWrapper','using','pFlrU','278qJtzzA','message','./ai-sdk/aiSdkWrapper','overrideExecute','aiHeal:findElementSuccess','getGlobal','235pJEdyD','YXKlS','79228zZYkEE','KkBHI','toString','info','CUoxD','bstack:options','PkLHZ','8003912TYtFbV','./globals','LznGR','executeAsyncScript','OARRZ','dirxw','Error\x20in\x20handling\x20TCG\x20Auth:\x20','./logger','RywRd'];a124_0x431d=function(){return _0x37384a;};return a124_0x431d();}exports[a124_0x3bc5ea(0x151)]=(_0x252d3d,_0x3e2c00)=>{const _0x1a8122=a124_0x3bc5ea,_0x25b417={'HIexv':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','lwTSB':function(_0x5c71d1,_0x277478){return _0x5c71d1===_0x277478;},'YXKlS':_0x1a8122(0x199),'ZsPKO':function(_0xcae648,_0x4aaf99){return _0xcae648===_0x4aaf99;},'hAFQz':_0x1a8122(0x16a),'pFlrU':'findElement','sAWlU':_0x1a8122(0x196),'iUHjY':_0x1a8122(0x190),'RdHqq':function(_0xae025a,_0x13a9a6){return _0xae025a===_0x13a9a6;},'juWKI':_0x1a8122(0x195),'EPwpw':function(_0x3021c1,_0x16e03f){return _0x3021c1+_0x16e03f;},'QBGGS':function(_0x3f870e,_0x2f3f61){return _0x3f870e+_0x2f3f61;},'shRRu':_0x1a8122(0x192),'viKFs':_0x1a8122(0x1a2),'dcmpV':function(_0x52a900,_0x2c5f0d){return _0x52a900+_0x2c5f0d;},'PtYKd':function(_0x5976fa,_0x5d4d7a){return _0x5976fa+_0x5d4d7a;},'ZgyPg':'findElement\x20command\x20failed\x20with\x20','FjtKa':'aiHeal:findElementFailure','XbtPT':function(_0x3ee5ec){return _0x3ee5ec();},'owmfT':function(_0x480a06,_0xa2918b){return _0x480a06&&_0xa2918b;},'qxiNv':function(_0x1c16ef,_0x1721b6){return _0x1c16ef===_0x1721b6;},'LCsvp':function(_0x295e97,_0x57d712){return _0x295e97+_0x57d712;},'roKEi':_0x1a8122(0x16c),'dirxw':function(_0x6b5eb0,_0x30bd61){return _0x6b5eb0+_0x30bd61;},'rdgMK':'Successfully\x20healed\x20command\x20using\x20new\x20','Gruyd':function(_0x3b3bc1,_0xb8e849){return _0x3b3bc1+_0xb8e849;},'CUoxD':_0x1a8122(0x169),'OARRZ':function(_0x3fd784,_0x175431){return _0x3fd784+_0x175431;},'UxeRD':_0x1a8122(0x18d),'ePfiI':function(_0x52d0ee,_0x38dbf1){return _0x52d0ee===_0x38dbf1;},'WIFyo':_0x1a8122(0x132),'dRFKQ':'parameters_','sogYX':_0x1a8122(0x144),'PkLHZ':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','UkCdH':_0x1a8122(0x18f),'qMheq':function(_0x1dc9c1){return _0x1dc9c1();},'LznGR':_0x1a8122(0x129),'NwEiN':function(_0x41fe2b,_0xba2fae){return _0x41fe2b===_0xba2fae;},'LzMBK':_0x1a8122(0x152),'NqQCc':_0x1a8122(0x160),'CHBRX':function(_0x421288,_0x1059f6){return _0x421288===_0x1059f6;},'RywRd':'executeScript','thgIb':_0x1a8122(0x149),'zkWfX':'capability','VRBIS':_0x1a8122(0x134),'Glewn':_0x1a8122(0x15b),'HcGEE':_0x1a8122(0x19b)},_0x2a8232=_0x252d3d[_0x1a8122(0x187)]||(helper[_0x1a8122(0x13f)](_0x3e2c00,[_0x25b417[_0x1a8122(0x12a)],_0x25b417['VRBIS']])||helper[_0x1a8122(0x13f)](_0x3e2c00,[_0x25b417[_0x1a8122(0x12a)],_0x25b417['Glewn'],_0x25b417['HcGEE']]));if(!globals['getGlobal'](_0x25b417[_0x1a8122(0x179)])&&!globals[_0x1a8122(0x153)](_0x25b417[_0x1a8122(0x137)])&&_0x2a8232)return;_0x252d3d['patchExecute']=!![],_0x252d3d[_0x1a8122(0x12e)]=_0x252d3d[_0x1a8122(0x176)],_0x252d3d[_0x1a8122(0x176)]=async _0x29fbb0=>{const _0x4b41ce=_0x1a8122,_0x703759={'IbWzW':_0x25b417[_0x4b41ce(0x179)],'GsZwR':_0x25b417[_0x4b41ce(0x181)],'SnOiE':function(_0xa5ead){return _0x25b417['qMheq'](_0xa5ead);},'KkBHI':_0x25b417[_0x4b41ce(0x15f)],'ccnQQ':function(_0x51b3e4,_0x56c43f){const _0x1d33be=_0x4b41ce;return _0x25b417[_0x1d33be(0x17c)](_0x51b3e4,_0x56c43f);},'HTRSN':_0x25b417['pFlrU'],'kLiLZ':_0x25b417[_0x4b41ce(0x137)],'NahKe':_0x25b417[_0x4b41ce(0x184)],'DZKya':function(_0x5d499a){const _0x2e4ab9=_0x4b41ce;return _0x25b417[_0x2e4ab9(0x170)](_0x5d499a);}};try{const _0x173779={};_0x173779['command']=_0x29fbb0['name_'],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x4b41ce(0x167)],async()=>{const _0x4a6a1c=_0x4b41ce;if(!commandRepository[_0x4a6a1c(0x142)]()&&globals[_0x4a6a1c(0x153)](_0x703759[_0x4a6a1c(0x146)])){const _0xa6135a=PerformanceTester['measureWrapper'](_0x703759['GsZwR'],async()=>{const _0x27da7f=_0x4a6a1c;try{commandRepository[_0x27da7f(0x17f)](!![]),await aiSdkWrapper[_0x27da7f(0x18e)]((await _0x252d3d['getSession']())['getId']());const _0x142833=globals[_0x27da7f(0x153)](_0x703759[_0x27da7f(0x146)]);_0x142833&&commandRepository[_0x27da7f(0x186)]((await _0x252d3d['getSession']())[_0x27da7f(0x175)]());}catch(_0x3b8630){logger[_0x27da7f(0x141)](_0x27da7f(0x163)+_0x3b8630);}});await _0x703759[_0x4a6a1c(0x147)](_0xa6135a);}},_0x173779)();const _0x2f56b2=await _0x252d3d['initExecute'](_0x29fbb0);try{if(_0x25b417[_0x4b41ce(0x193)](_0x29fbb0['name_'],_0x25b417[_0x4b41ce(0x19d)])||_0x25b417[_0x4b41ce(0x182)](_0x29fbb0[_0x4b41ce(0x19c)],_0x25b417[_0x4b41ce(0x165)])){const _0x38341a=_0x29fbb0['parameters_']&&_0x29fbb0[_0x4b41ce(0x16f)][_0x4b41ce(0x1a1)],_0x23f292=_0x29fbb0[_0x4b41ce(0x16f)]&&_0x29fbb0[_0x4b41ce(0x16f)][_0x4b41ce(0x185)],_0x1b68bf=_0x23f292&&util['format']('%j',_0x23f292);if(_0x38341a&&_0x25b417['CHBRX'](typeof _0x38341a,_0x25b417[_0x4b41ce(0x1a3)])){const _0x3d2b1e=constants[_0x4b41ce(0x198)][_0x4b41ce(0x197)](_0x140108=>_0x38341a[_0x4b41ce(0x135)](_0x140108)||_0x1b68bf&&_0x1b68bf[_0x4b41ce(0x135)](_0x140108));if(_0x3d2b1e){const _0x115a8e={};_0x115a8e[_0x4b41ce(0x14a)]=_0x3d2b1e,_0x115a8e['parameters']=_0x23f292;const _0x40969c={};_0x40969c['body']=_0x2f56b2;const _0x328673={};_0x328673[_0x4b41ce(0x13e)]=_0x115a8e,_0x328673[_0x4b41ce(0x188)]=_0x40969c,automationLogger[_0x4b41ce(0x13d)]('['+new Date()['toISOString']()+_0x4b41ce(0x178)+util['format']('%j',_0x328673));}}}}catch(_0x53abad){logger['silly']('Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20'+_0x53abad[_0x4b41ce(0x14f)]);}return await PerformanceTester[_0x4b41ce(0x14b)](PerformanceDriverEvents[_0x4b41ce(0x1a0)],async()=>{const _0x5267fb=_0x4b41ce;if(!helper[_0x5267fb(0x148)]()&&(commandRepository['isSelfHealEnabled']()||globals['getGlobal'](_0x703759[_0x5267fb(0x157)]))&&_0x703759['ccnQQ'](_0x29fbb0['name_'],_0x703759['HTRSN'])&&!_0x29fbb0[_0x5267fb(0x168)]&&globals[_0x5267fb(0x153)](_0x703759[_0x5267fb(0x146)])&&globals[_0x5267fb(0x153)](_0x703759[_0x5267fb(0x17e)])){const _0x5d53fd=new Date(),_0x6fa251=PerformanceTester[_0x5267fb(0x14b)](_0x703759[_0x5267fb(0x189)],async()=>{const _0x13e62c=_0x5267fb;return await aiSdkWrapper[_0x13e62c(0x13b)](_0x3e2c00,_0x252d3d,_0x29fbb0);});await _0x703759[_0x5267fb(0x194)](_0x6fa251);}},{'command':_0x29fbb0[_0x4b41ce(0x19c)]})(),_0x2f56b2;}catch(_0x1133fc){await PerformanceTester[_0x4b41ce(0x14b)](PerformanceDriverEvents[_0x4b41ce(0x1a0)],async()=>{const _0x153943=_0x4b41ce;logger[_0x153943(0x130)](_0x25b417[_0x153943(0x145)]);try{if(!helper[_0x153943(0x148)]()&&(_0x25b417[_0x153943(0x19a)](_0x1133fc[_0x153943(0x17d)],_0x25b417[_0x153943(0x155)])||_0x25b417[_0x153943(0x17b)](_0x1133fc[_0x153943(0x17d)],_0x25b417['hAFQz']))&&_0x25b417[_0x153943(0x19a)](_0x29fbb0[_0x153943(0x19c)],_0x25b417[_0x153943(0x14d)])&&commandRepository[_0x153943(0x13c)]()&&globals[_0x153943(0x153)](_0x25b417[_0x153943(0x179)])&&globals[_0x153943(0x153)](_0x25b417['iUHjY'])){_0x25b417[_0x153943(0x16d)](_0x29fbb0[_0x153943(0x16f)]['using'],_0x25b417[_0x153943(0x139)])?logger[_0x153943(0x159)](_0x25b417['EPwpw'](_0x25b417[_0x153943(0x174)](_0x25b417[_0x153943(0x13a)],_0x29fbb0['parameters_']['value']),_0x25b417[_0x153943(0x12b)])):logger[_0x153943(0x159)](_0x25b417[_0x153943(0x174)](_0x25b417[_0x153943(0x172)](_0x25b417['PtYKd'](_0x25b417[_0x153943(0x172)](_0x25b417[_0x153943(0x140)],_0x29fbb0['parameters_'][_0x153943(0x14c)]),':\x20'),_0x29fbb0['parameters_']['value']),_0x25b417[_0x153943(0x12b)]));const _0x59d102=PerformanceTester[_0x153943(0x14b)](_0x25b417[_0x153943(0x131)],async()=>{const _0x170fd5=_0x153943;return await aiSdkWrapper[_0x170fd5(0x18a)](_0x3e2c00,_0x252d3d,_0x29fbb0);}),_0x5d5204=new Date(),{locatorType:_0x328441,locatorValue:_0x1b58e0,commandHealed:_0x68f754}=await _0x25b417[_0x153943(0x170)](_0x59d102);if(_0x25b417[_0x153943(0x173)](_0x328441,_0x1b58e0)){_0x29fbb0[_0x153943(0x16f)][_0x153943(0x14c)]=_0x328441,_0x29fbb0[_0x153943(0x16f)][_0x153943(0x12f)]=_0x1b58e0,_0x29fbb0[_0x153943(0x168)]=!![];const _0x3e627f=_0x252d3d[_0x153943(0x176)](_0x29fbb0);return _0x25b417[_0x153943(0x193)](_0x328441,_0x25b417[_0x153943(0x139)])?logger['info'](_0x25b417[_0x153943(0x133)](_0x25b417[_0x153943(0x16e)],_0x1b58e0)):logger['info'](_0x25b417['QBGGS'](_0x25b417[_0x153943(0x19f)](_0x25b417[_0x153943(0x162)](_0x25b417['rdgMK'],_0x328441),':\x20'),_0x1b58e0)),_0x3e627f;}else!_0x68f754&&(_0x25b417[_0x153943(0x193)](_0x328441,_0x25b417[_0x153943(0x139)])?logger[_0x153943(0x159)](_0x25b417[_0x153943(0x17a)](_0x25b417[_0x153943(0x15a)],_0x29fbb0[_0x153943(0x16f)][_0x153943(0x12f)])):logger[_0x153943(0x159)](_0x25b417[_0x153943(0x162)](_0x25b417[_0x153943(0x161)](_0x25b417[_0x153943(0x162)](_0x25b417[_0x153943(0x171)],_0x29fbb0[_0x153943(0x16f)]['using']),':\x20'),_0x29fbb0[_0x153943(0x16f)][_0x153943(0x12f)])));}!_0x2a8232&&_0x25b417[_0x153943(0x143)](_0x29fbb0[_0x153943(0x19c)],_0x25b417[_0x153943(0x12d)])&&helper[_0x153943(0x13f)](_0x29fbb0,[_0x25b417[_0x153943(0x16b)],_0x25b417[_0x153943(0x180)]])&&!!constants['NUDGE_LOCAL_ERRORS']['find'](_0x1fc8fd=>{const _0x599e46=_0x153943;return _0x1133fc[_0x599e46(0x158)]()[_0x599e46(0x135)](_0x1fc8fd);})&&helper[_0x153943(0x19e)](_0x29fbb0['parameters_'][_0x153943(0x144)],!![]);}catch(_0x4d1ce3){logger[_0x153943(0x130)](_0x25b417[_0x153943(0x15c)],_0x4d1ce3);}},{'success':![],'failure':_0x1133fc})();throw _0x1133fc;}};};
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 +1 @@
1
- const a125_0x4e96ed=a125_0x54e3;function a125_0x54e3(_0x3c3c55,_0x2c2f38){const _0xd5a5c0=a125_0xd5a5();return a125_0x54e3=function(_0x54e32a,_0x596195){_0x54e32a=_0x54e32a-0x166;let _0x216036=_0xd5a5c0[_0x54e32a];return _0x216036;},a125_0x54e3(_0x3c3c55,_0x2c2f38);}function a125_0xd5a5(){const _0x50dc96=['TAKE_SCREENSHOT','Pslgd','pid','TEST_SCREENSHOT','quit','initScreenshot','DyMTE','patchQuit','WHhVF','3665232FPLLgt','nscuu','2uJkZuj','9mmkVzd','initQuit','end','env','XWyaS','RooPW','start','takeScreenshot','120aZbyqZ','bs:addLog:','5486532cMkjJA','O11y_EVENTS','19759340htExWH','nwnGO','neCRX','9566312kYlcha','401520yrFkcW','./performance/performance-tester','BS_TESTOPS_ALLOW_SCREENSHOTS','XIrcc','toISOString','zZNnd','catch','emit','true','LWare','patchScreenshot','quitCount_','1975685jhSwOF','overrideQuit','overrideTakeScreenshot','669732bXwwma'];a125_0xd5a5=function(){return _0x50dc96;};return a125_0xd5a5();}(function(_0x2bdd1b,_0x4a4fd2){const _0x50db6c=a125_0x54e3,_0x47ad06=_0x2bdd1b();while(!![]){try{const _0x33cf69=-parseInt(_0x50db6c(0x183))/0x1+-parseInt(_0x50db6c(0x18f))/0x2*(-parseInt(_0x50db6c(0x18d))/0x3)+-parseInt(_0x50db6c(0x16e))/0x4+-parseInt(_0x50db6c(0x180))/0x5+-parseInt(_0x50db6c(0x16c))/0x6*(-parseInt(_0x50db6c(0x174))/0x7)+parseInt(_0x50db6c(0x173))/0x8*(-parseInt(_0x50db6c(0x190))/0x9)+parseInt(_0x50db6c(0x170))/0xa;if(_0x33cf69===_0x4a4fd2)break;else _0x47ad06['push'](_0x47ad06['shift']());}catch(_0x1d2bfe){_0x47ad06['push'](_0x47ad06['shift']());}}}(a125_0xd5a5,0xadf8b));const PerformanceTester=require(a125_0x4e96ed(0x175)),O11yEvents=require('./performance/constants')[a125_0x4e96ed(0x16f)];exports[a125_0x4e96ed(0x182)]=_0xf325ad=>{const _0x3745f3=a125_0x4e96ed,_0x21e87a={'nscuu':_0x3745f3(0x187),'WHhVF':function(_0x86506a,_0x4b4822){return _0x86506a(_0x4b4822);},'RooPW':function(_0x304ad9,_0x3c89bb){return _0x304ad9(_0x3c89bb);},'hgpTN':function(_0x475a8c,_0x37151d){return _0x475a8c!==_0x37151d;},'DyMTE':_0x3745f3(0x17c)};if(_0x21e87a['hgpTN'](process[_0x3745f3(0x167)][_0x3745f3(0x176)],_0x21e87a[_0x3745f3(0x18a)]))return;if(_0xf325ad['patchScreenshot'])return;_0xf325ad[_0x3745f3(0x17e)]=!![],_0xf325ad[_0x3745f3(0x189)]=_0xf325ad['takeScreenshot'],_0xf325ad[_0x3745f3(0x16b)]=()=>{const _0x235da4=_0x3745f3,_0x22a6c2={'zZNnd':_0x21e87a[_0x235da4(0x18e)],'XWyaS':function(_0x331ddd,_0x437290){const _0x3a5b17=_0x235da4;return _0x21e87a[_0x3a5b17(0x18c)](_0x331ddd,_0x437290);},'nwnGO':function(_0xaaf4f5,_0x2d2180){const _0x544882=_0x235da4;return _0x21e87a[_0x544882(0x169)](_0xaaf4f5,_0x2d2180);}};return new Promise(function(_0x384928,_0x35e7bb){const _0x45a7ca=_0x235da4;_0xf325ad[_0x45a7ca(0x189)]()['then'](_0x216773=>{const _0x517b48=_0x45a7ca;PerformanceTester[_0x517b48(0x16a)](O11yEvents[_0x517b48(0x184)]),process[_0x517b48(0x17b)](_0x517b48(0x16d)+process[_0x517b48(0x186)],{'timestamp':new Date()[_0x517b48(0x178)](),'message':_0x216773,'kind':_0x22a6c2[_0x517b48(0x179)]}),_0x22a6c2[_0x517b48(0x168)](_0x384928,_0x216773),PerformanceTester[_0x517b48(0x166)](O11yEvents['TAKE_SCREENSHOT']);})[_0x45a7ca(0x17a)](_0xcfa1a2=>{const _0x24d82c=_0x45a7ca;PerformanceTester[_0x24d82c(0x166)](O11yEvents[_0x24d82c(0x184)]),_0x22a6c2[_0x24d82c(0x171)](_0x35e7bb,_0xcfa1a2);});});};},exports[a125_0x4e96ed(0x181)]=(_0x5275b0,_0xd59b67=null)=>{const _0x5f4f4c=a125_0x4e96ed,_0xcd792={'neCRX':function(_0x126ec4){return _0x126ec4();},'Pslgd':function(_0x328c2e,_0x24ebd8){return _0x328c2e>_0x24ebd8;},'XIrcc':function(_0x54e2f5,_0x35b2c1){return _0x54e2f5>_0x35b2c1;}};if(_0x5275b0['patchQuit'])return;_0x5275b0[_0x5f4f4c(0x18b)]=!![],_0x5275b0['initQuit']=_0x5275b0['quit'],_0x5275b0[_0x5f4f4c(0x188)]=()=>{const _0x1448ed=_0x5f4f4c,_0x404c23={'LWare':function(_0x2e241f){const _0x4492cd=a125_0x54e3;return _0xcd792[_0x4492cd(0x172)](_0x2e241f);}};if(_0xd59b67){_0xd59b67[_0x1448ed(0x17f)]+=0x1;if(_0xcd792[_0x1448ed(0x185)](_0xd59b67['quitCount_'],0x1))return _0x5275b0[_0x1448ed(0x191)]();}else{_0x5275b0[_0x1448ed(0x17f)]+=0x1;if(_0xcd792[_0x1448ed(0x177)](_0x5275b0[_0x1448ed(0x17f)],0x1))return _0x5275b0[_0x1448ed(0x191)]();}return new Promise(function(_0x41e83d){const _0x320eb5=_0x1448ed;_0x404c23[_0x320eb5(0x17d)](_0x41e83d);});};};
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 +1 @@
1
- const a126_0x96d83c=a126_0x5752;function a126_0x54ab(){const _0x3dfd81=[':start','../logger','jfNSZ','Percy\x20fetch\x20token\x20success','percy.log','RTdIX','wDddQ','env','&type=','sbkDD','qXiIO','nodeRequest','Irkqz','version','Uwtgb','app','2724EpBiEt','1700862vGNnHC','fetchPercyToken','112810JEypVj','createPercyConfig','../../helpers/testhub/constants','35wLPxcL','FEDIT','fuOQd','join','data','isRunning','automate','winstonLogger','8017BDdeLH','percyOptions','http://localhost:5338','api/app_percy/get_project_token?name=','healthcheck','mfNBl','stop','createWriteStream','KinHw','BROWSERSTACK_TESTHUB_UUID','Ymsei','NHWNT','child_process','264270wwkWlc','close','./PercyBinary','Percy\x20config\x20created\x20at\x20','DOWNLOAD','7425xzgkaV','94uZBVKb','exec:stop','path','exec','debug','pipe','1012EXRXUN','679410QSQvPe','end','yiWfJ','Error\x20creating\x20percy\x20config:\x20','percy/healthcheck','CgfrL','GET','push','stderr','percy.json','../../helpers/performance/constants','writeFile','Percy\x20healthcheck\x20successful','sTABD','app:exec','error','start','token','isProcessRunning','667504OAprFb'];a126_0x54ab=function(){return _0x3dfd81;};return a126_0x54ab();}(function(_0x55a00a,_0x186684){const _0x1aa74b=a126_0x5752,_0x59ebd3=_0x55a00a();while(!![]){try{const _0x252d09=-parseInt(_0x1aa74b(0xc2))/0x1*(-parseInt(_0x1aa74b(0xd5))/0x2)+parseInt(_0x1aa74b(0xb5))/0x3+parseInt(_0x1aa74b(0xb4))/0x4*(-parseInt(_0x1aa74b(0xd4))/0x5)+-parseInt(_0x1aa74b(0xcf))/0x6+parseInt(_0x1aa74b(0xba))/0x7*(-parseInt(_0x1aa74b(0xa3))/0x8)+parseInt(_0x1aa74b(0xdc))/0x9+parseInt(_0x1aa74b(0xb7))/0xa*(parseInt(_0x1aa74b(0xdb))/0xb);if(_0x252d09===_0x186684)break;else _0x59ebd3['push'](_0x59ebd3['shift']());}catch(_0x582d11){_0x59ebd3['push'](_0x59ebd3['shift']());}}}(a126_0x54ab,0x8eb7f));function a126_0x5752(_0x53dea1,_0x3dfb8b){const _0x54ab5e=a126_0x54ab();return a126_0x5752=function(_0x5752f5,_0x4b27b2){_0x5752f5=_0x5752f5-0xa2;let _0x36ea7e=_0x54ab5e[_0x5752f5];return _0x36ea7e;},a126_0x5752(_0x53dea1,_0x3dfb8b);}const fs=require('fs'),path=require(a126_0x96d83c(0xd7)),os=require('os'),{spawn}=require(a126_0x96d83c(0xce)),helper=require('../helper'),logger=require(a126_0x96d83c(0xa5))[a126_0x96d83c(0xc1)],{getLogDir}=require(a126_0x96d83c(0xa5)),testHubConstants=require(a126_0x96d83c(0xb9)),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a126_0x96d83c(0xe6)),PercyBinary=require(a126_0x96d83c(0xd1));class Percy{#logfile=path[a126_0x96d83c(0xbd)](getLogDir(),a126_0x96d83c(0xa8));#address=process[a126_0x96d83c(0xab)]['PERCY_SERVER_ADDRESS']||a126_0x96d83c(0xc4);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];['isProcessRunning']=![];constructor(_0x2d515a){const _0xc6d08a=a126_0x96d83c;this.#config=_0x2d515a,!!_0x2d515a[_0xc6d08a(0xb3)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x383483=a126_0x96d83c;if(!this.#binaryPath){const _0x54b984=new PercyBinary();PerformanceTester[_0x383483(0xec)](PerformanceEvents[_0x383483(0xd3)]),this.#binaryPath=await _0x54b984['getBinaryPath'](this.#config),PerformanceTester[_0x383483(0xdd)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x15988b){return new Promise(_0x5a065c=>setTimeout(_0x5a065c,_0x15988b));}async[a126_0x96d83c(0xc6)](){const _0x4c64cc=a126_0x96d83c,_0x43641d={};_0x43641d[_0x4c64cc(0xa6)]=_0x4c64cc(0xe2),_0x43641d[_0x4c64cc(0xe9)]=_0x4c64cc(0xe0);const _0x5f4f4b=_0x43641d;try{const _0x3477bf=await helper[_0x4c64cc(0xaf)](_0x5f4f4b[_0x4c64cc(0xa6)],_0x5f4f4b[_0x4c64cc(0xe9)],null,null,this.#address);if(_0x3477bf)return!![];}catch(_0x2d194a){return![];}}async[a126_0x96d83c(0xec)](){const _0x15cc11=a126_0x96d83c,_0xea7549={'wDddQ':_0x15cc11(0xea),'dnaEJ':_0x15cc11(0xd8),'sbkDD':function(_0x563e44,_0x5628cd,_0x2a964d,_0x394392){return _0x563e44(_0x5628cd,_0x2a964d,_0x394392);},'Irkqz':_0x15cc11(0xd0),'yiWfJ':_0x15cc11(0xe8)},_0x449088=await this.#getBinaryPath(),_0x1b50e9={};_0x1b50e9['flags']='a',this.#logStream=fs[_0x15cc11(0xc9)](this.#logfile,_0x1b50e9);const _0x333391=await this[_0x15cc11(0xb6)](),_0x173a9c=await this[_0x15cc11(0xb8)]();if(!_0x333391)return![];const _0x307f25=[(this.#isApp?_0xea7549[_0x15cc11(0xaa)]:_0xea7549['dnaEJ'])+_0x15cc11(0xa4)];_0x173a9c&&_0x307f25[_0x15cc11(0xe3)]('-c',_0x173a9c);this.#proc=_0xea7549[_0x15cc11(0xad)](spawn,_0x449088,_0x307f25,{'env':Object['assign'](process[_0x15cc11(0xab)],{'PERCY_TOKEN':_0x333391,'TH_BUILD_UUID':process[_0x15cc11(0xab)][testHubConstants['ENV_VAR'][_0x15cc11(0xcb)]]})}),this.#proc['stdout']['pipe'](this.#logStream),this.#proc[_0x15cc11(0xe4)][_0x15cc11(0xda)](this.#logStream),this[_0x15cc11(0xa2)]=!![];var _0x545284=this;this.#proc['on'](_0xea7549[_0x15cc11(0xb0)],function(_0x4c835d){const _0x4e1f54=_0x15cc11;_0x545284[_0x4e1f54(0xa2)]=![];});do{const _0x2f2a0c=await this[_0x15cc11(0xc6)]();if(_0x2f2a0c)return logger[_0x15cc11(0xd9)](_0xea7549[_0x15cc11(0xde)]),!![];await this.#sleep(0x3e8);}while(this[_0x15cc11(0xa2)]);return![];}async[a126_0x96d83c(0xc8)](){const _0x147712=a126_0x96d83c,_0x42ea78={'qXiIO':function(_0x541f7b,_0x3905aa){return _0x541f7b(_0x3905aa);},'oaTLy':function(_0x3a79ff,_0x50ff60,_0x3543e2){return _0x3a79ff(_0x50ff60,_0x3543e2);},'Uwtgb':_0x147712(0xd6),'NHWNT':'close'},_0x44be5=await this.#getBinaryPath();return new Promise((_0x98fa6a,_0x1b37d1)=>{const _0x5e9715=_0x147712,_0x4f8ce8={'KhMHf':function(_0x54b1b5,_0x26076d){const _0xc54e5f=a126_0x5752;return _0x42ea78[_0xc54e5f(0xae)](_0x54b1b5,_0x26076d);}},_0x3488e1=_0x42ea78['oaTLy'](spawn,_0x44be5,[_0x42ea78[_0x5e9715(0xb2)]]);_0x3488e1['on'](_0x42ea78[_0x5e9715(0xcd)],_0x11fbfc=>{const _0x95bdcf=_0x5e9715;this[_0x95bdcf(0xa2)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x4f8ce8['KhMHf'](_0x98fa6a,_0x11fbfc);});});}[a126_0x96d83c(0xbf)](){return this['isProcessRunning'];}async[a126_0x96d83c(0xb6)](){const _0x585c32=a126_0x96d83c,_0xdcf79f={};_0xdcf79f['FEDIT']='app',_0xdcf79f[_0x585c32(0xcc)]=_0x585c32(0xc0),_0xdcf79f[_0x585c32(0xe1)]='GET',_0xdcf79f['fuOQd']=_0x585c32(0xa7);const _0x25fd83=_0xdcf79f,_0x336c2f=this.#config['projectName'];try{const _0x222adc=this.#isApp?_0x25fd83[_0x585c32(0xbb)]:_0x25fd83[_0x585c32(0xcc)],_0x294810=await helper['nodeRequest'](_0x25fd83[_0x585c32(0xe1)],_0x585c32(0xc5)+_0x336c2f+_0x585c32(0xac)+_0x222adc,{},this.#config),_0xafc503=_0x294810[_0x585c32(0xbe)];return logger[_0x585c32(0xd9)](_0x25fd83[_0x585c32(0xbc)]),_0xafc503[_0x585c32(0xed)];}catch(_0x1f44a2){return logger['error']('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x1f44a2),null;}}async['createPercyConfig'](){const _0x29a0c7=a126_0x96d83c,_0x52aa6c={'KinHw':function(_0x897cb8,_0x39a59f){return _0x897cb8(_0x39a59f);},'mfNBl':function(_0x195549,_0x45fe70){return _0x195549+_0x45fe70;},'gPtiE':_0x29a0c7(0xd2),'RTdIX':_0x29a0c7(0xe5)};if(!this.#config[_0x29a0c7(0xc3)])return null;const _0x11ed04=path[_0x29a0c7(0xbd)](os['tmpdir'](),_0x52aa6c[_0x29a0c7(0xa9)]),_0x47e70c=this.#config[_0x29a0c7(0xc3)];return!_0x47e70c['version']&&(_0x47e70c[_0x29a0c7(0xb1)]='2'),new Promise((_0x38dbf6,_0x57c0b2)=>{const _0xbb8669=_0x29a0c7;fs[_0xbb8669(0xe7)](_0x11ed04,JSON['stringify'](_0x47e70c),_0x19842a=>{const _0x25e388=_0xbb8669;_0x19842a&&(logger[_0x25e388(0xeb)](_0x25e388(0xdf)+_0x19842a),_0x52aa6c[_0x25e388(0xca)](_0x38dbf6,null)),logger['debug'](_0x52aa6c[_0x25e388(0xc7)](_0x52aa6c['gPtiE'],_0x11ed04)),_0x52aa6c['KinHw'](_0x38dbf6,_0x11ed04);});});}}module['exports']=Percy;
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 +1 @@
1
- const a127_0x2076f0=a127_0x14e2;(function(_0x4fc1a6,_0x2348ca){const _0x452e05=a127_0x14e2,_0x425598=_0x4fc1a6();while(!![]){try{const _0x114165=-parseInt(_0x452e05(0xf0))/0x1*(parseInt(_0x452e05(0xda))/0x2)+-parseInt(_0x452e05(0xa1))/0x3+-parseInt(_0x452e05(0x121))/0x4+-parseInt(_0x452e05(0x127))/0x5+-parseInt(_0x452e05(0x10f))/0x6+parseInt(_0x452e05(0xaf))/0x7*(parseInt(_0x452e05(0x126))/0x8)+parseInt(_0x452e05(0x10b))/0x9*(parseInt(_0x452e05(0xb5))/0xa);if(_0x114165===_0x2348ca)break;else _0x425598['push'](_0x425598['shift']());}catch(_0x33686b){_0x425598['push'](_0x425598['shift']());}}}(a127_0x5713,0x706ad));const {https}=require(a127_0x2076f0(0xfb)),url=require(a127_0x2076f0(0xe3)),yauzl=require('yauzl'),fs=require('fs'),path=require(a127_0x2076f0(0xf5)),os=require('os'),{spawn}=require(a127_0x2076f0(0x9d)),HttpsProxyAgent=require(a127_0x2076f0(0xde)),logger=require(a127_0x2076f0(0xf9))[a127_0x2076f0(0xc3)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a127_0x2076f0(0xb4);#orderedPaths=[path['join'](this.#homedir(),a127_0x2076f0(0x10c)),process['cwd'](),os['tmpdir']()];constructor(){const _0x4c4bd1=a127_0x2076f0,_0x157254={};_0x157254[_0x4c4bd1(0x11e)]=_0x4c4bd1(0xa9),_0x157254[_0x4c4bd1(0xb9)]=function(_0x546000,_0x55b652){return _0x546000+_0x55b652;},_0x157254[_0x4c4bd1(0xae)]='/percy-osx.zip',_0x157254['JPYiG']=function(_0x2cf15b,_0x1cc85b){return _0x2cf15b+_0x1cc85b;},_0x157254['orqRD']=_0x4c4bd1(0xfe),_0x157254[_0x4c4bd1(0xdf)]=_0x4c4bd1(0xf1),_0x157254[_0x4c4bd1(0xa2)]=_0x4c4bd1(0xdb);const _0x116352=_0x157254,_0x2c3934=_0x116352['hPaym'];if(this.#hostOS[_0x4c4bd1(0x111)](/darwin|mac os/i))this.#httpPath=_0x116352[_0x4c4bd1(0xb9)](_0x2c3934,_0x116352[_0x4c4bd1(0xae)]);else this.#hostOS[_0x4c4bd1(0x111)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x116352[_0x4c4bd1(0x10a)](_0x2c3934,_0x116352[_0x4c4bd1(0xfd)]),this.#binaryName=_0x116352['tFOae']):this.#httpPath=_0x116352['aIfHZ'](_0x2c3934,_0x116352['VTAqI']);}#getAvailableDirs(){const _0x1cfea7=a127_0x2076f0,_0x5c20aa={};_0x5c20aa[_0x1cfea7(0xff)]=function(_0x22c65f,_0x4be110){return _0x22c65f<_0x4be110;},_0x5c20aa['pLUQm']='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x2327e5=_0x5c20aa;for(var _0x4039c5=0x0;_0x2327e5[_0x1cfea7(0xff)](_0x4039c5,this.#orderedPaths[_0x1cfea7(0xe9)]);_0x4039c5++){var _0x2d375a=this.#orderedPaths[_0x4039c5];if(this.#makePath(_0x2d375a))return _0x2d375a;}throw new Error(_0x2327e5[_0x1cfea7(0x9b)]);}#makePath(_0x2882b8){const _0x3d67a0=a127_0x2076f0;try{return _0x2882b8&&!this.#checkPath(_0x2882b8)&&fs[_0x3d67a0(0x113)](_0x2882b8),!![];}catch{return![];}}#checkPath(_0x7662a6,_0x1b5803){const _0x5aebcf=a127_0x2076f0,_0x395cf2={};_0x395cf2[_0x5aebcf(0xac)]=function(_0x6c6d01,_0x31b507){return _0x6c6d01|_0x31b507;},_0x395cf2[_0x5aebcf(0xc9)]=function(_0xbd4fe9,_0x4332e6){return _0xbd4fe9!==_0x4332e6;},_0x395cf2[_0x5aebcf(0xa8)]=_0x5aebcf(0x9a);const _0x818efa=_0x395cf2;_0x1b5803=_0x1b5803||_0x818efa['HbiWE'](fs['R_OK'],fs[_0x5aebcf(0xbe)]);try{return fs[_0x5aebcf(0xb3)](_0x7662a6,_0x1b5803),!![];}catch(_0xa78387){if(_0x818efa[_0x5aebcf(0xc9)](typeof fs[_0x5aebcf(0xb3)],_0x818efa['wsSjA']))return![];try{return fs['statSync'](_0x7662a6),!![];}catch(_0x21f4c4){return![];}}}#getETagPath(_0x39dbdc){const _0x62edd6=a127_0x2076f0;return path[_0x62edd6(0xf8)](_0x39dbdc,this.#binaryName+_0x62edd6(0x124));}#loadETag(_0x2b895f){const _0x2a13d0=a127_0x2076f0,_0x30d691={};_0x30d691['BIzug']=_0x2a13d0(0x116);const _0x2adbf6=_0x30d691,_0x2f4214=this.#getETagPath(_0x2b895f);if(this.#checkPath(_0x2f4214))try{return fs['readFileSync'](_0x2f4214,_0x2adbf6['BIzug'])[_0x2a13d0(0xc7)]();}catch(_0x45d3a7){logger[_0x2a13d0(0x10e)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x45d3a7);}return null;}#saveETag(_0x50b9a4,_0x495e85){const _0x1a973e=a127_0x2076f0,_0x1d26c8={};_0x1d26c8[_0x1a973e(0xc0)]=_0x1a973e(0x94);const _0x31a13b=_0x1d26c8;if(!_0x495e85)return;try{const _0x5b7799=this.#getETagPath(_0x50b9a4);fs[_0x1a973e(0x9f)](_0x5b7799,_0x495e85),logger[_0x1a973e(0x99)](_0x31a13b[_0x1a973e(0xc0)]);}catch(_0x25162e){logger[_0x1a973e(0x10e)](_0x1a973e(0x11f)+_0x25162e);}}async #handleBinaryDownload(_0x1195b3,_0x1b762d,_0x437aa9){const _0x3207d9=a127_0x2076f0,_0xa50e4d={};_0xa50e4d[_0x3207d9(0xd8)]=_0x3207d9(0xce);const _0xde9ab3=_0xa50e4d,_0xcf3ff4=await this[_0x3207d9(0x109)](_0x1195b3['binaryPath']);if(!_0xcf3ff4){logger[_0x3207d9(0xe6)](_0xde9ab3['iBLqQ']);const _0x6b34b9=await this[_0x3207d9(0xb8)](_0x1b762d,_0x437aa9);return _0x6b34b9[_0x3207d9(0xb0)];}return _0x1195b3['binaryPath'];}async[a127_0x2076f0(0xad)](_0x3157c7){const _0x21b81e=a127_0x2076f0,_0x461633={};_0x461633[_0x21b81e(0x95)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x461633[_0x21b81e(0x110)]=_0x21b81e(0xa5);const _0x97d8da=_0x461633,_0xc5f6c1=this.#getAvailableDirs(),_0x4be7a0=path[_0x21b81e(0xf8)](_0xc5f6c1,this.#binaryName);if(this.#checkPath(_0x4be7a0,fs[_0x21b81e(0xe0)])){const _0x2907ef=this.#loadETag(_0xc5f6c1);if(_0x2907ef)try{const _0x4aa1f0=await this[_0x21b81e(0xb8)](_0x3157c7,_0xc5f6c1,_0x2907ef);if(!_0x4aa1f0['needsUpdate'])return logger[_0x21b81e(0x99)](_0x97d8da[_0x21b81e(0x95)]),_0x4be7a0;return logger[_0x21b81e(0x99)](_0x97d8da[_0x21b81e(0x110)]),await this.#handleBinaryDownload(_0x4aa1f0,_0x3157c7,_0xc5f6c1);}catch(_0x345af8){return logger[_0x21b81e(0x10e)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x345af8),_0x4be7a0;}}const _0x1076ab=await this[_0x21b81e(0xb8)](_0x3157c7,_0xc5f6c1);return await this.#handleBinaryDownload(_0x1076ab,_0x3157c7,_0xc5f6c1);}['download'](_0x71e38d,_0x47672e,_0x5c80b6=null){const _0xc69f4c=a127_0x2076f0,_0x39c49a={'JqWCM':function(_0x3ecdba,_0x1e0edb){return _0x3ecdba(_0x1e0edb);},'bieJk':function(_0x4c40d5,_0x4f4401){return _0x4c40d5===_0x4f4401;},'VDExY':_0xc69f4c(0xe6),'LhZrz':_0xc69f4c(0xfc),'ALBDi':function(_0x125b19,_0x192d5f){return _0x125b19+_0x192d5f;},'HbkuZ':_0xc69f4c(0xd9)};_0x47672e&&!this.#checkPath(_0x47672e)&&fs[_0xc69f4c(0x113)](_0x47672e);const _0x103ae3=this.#binaryName,_0x27cd87=path[_0xc69f4c(0xf8)](_0x47672e,_0x39c49a[_0xc69f4c(0x119)](_0x103ae3,_0x39c49a[_0xc69f4c(0xf4)])),_0x3b2e7a=fs[_0xc69f4c(0xf7)](_0x27cd87),_0xda1b60=url[_0xc69f4c(0x104)](this.#httpPath);if(_0x71e38d[_0xc69f4c(0x120)]&&_0x71e38d[_0xc69f4c(0xdd)]){const _0x186231={};_0x186231['host']=_0x71e38d['proxyHost'],_0x186231[_0xc69f4c(0xeb)]=_0x71e38d[_0xc69f4c(0xdd)],_0xda1b60[_0xc69f4c(0xd3)]=new HttpsProxyAgent(_0x186231);}if(_0x71e38d[_0xc69f4c(0xcc)])try{_0xda1b60['ca']=fs[_0xc69f4c(0xed)](_0x71e38d['useCaCertificate']);}catch(_0x18f820){logger['error']('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x18f820);}if(_0x5c80b6){const _0x10bdd1={};_0x10bdd1['If-None-Match']=_0x5c80b6,_0x10bdd1[_0xc69f4c(0xe4)]=_0x39c49a['LhZrz'],_0xda1b60[_0xc69f4c(0xc5)]=_0x10bdd1;}else{const _0x18c71f={};_0x18c71f['Connection']=_0x39c49a[_0xc69f4c(0xd7)],_0xda1b60[_0xc69f4c(0xc5)]=_0x18c71f;}return new Promise((_0x265ac3,_0x1d6865)=>{const _0x22292e=_0xc69f4c,_0x4c0cc5={'hpqvA':function(_0xb815be,_0x1055ac){return _0x39c49a['JqWCM'](_0xb815be,_0x1055ac);}};https['get'](_0xda1b60,_0x1e7116=>{const _0x2ed67b=a127_0x14e2,_0x5ba548={'HAneE':function(_0x2e3ee9,_0x4771bb){return _0x39c49a['JqWCM'](_0x2e3ee9,_0x4771bb);},'ZxUgM':function(_0x5a593d,_0x74487b){const _0x2b2521=a127_0x14e2;return _0x39c49a[_0x2b2521(0xbc)](_0x5a593d,_0x74487b);}};if(_0x5c80b6&&_0x39c49a[_0x2ed67b(0xa3)](_0x1e7116[_0x2ed67b(0x107)],0x130)){_0x3b2e7a[_0x2ed67b(0xd1)]();const _0x265de1={};_0x265de1['needsUpdate']=![],_0x39c49a[_0x2ed67b(0xbc)](_0x265ac3,_0x265de1);return;}const _0x5d4b11=_0x1e7116['headers'][_0x2ed67b(0x101)];_0x5d4b11&&this.#saveETag(_0x47672e,_0x5d4b11),_0x1e7116['pipe'](_0x3b2e7a),_0x1e7116['on'](_0x39c49a[_0x2ed67b(0x114)],function(_0x21694f){const _0x4134f4=_0x2ed67b;logger[_0x4134f4(0xe6)](_0x4134f4(0xaa)+_0x21694f),_0x5ba548[_0x4134f4(0x118)](_0x1d6865,_0x21694f);}),_0x3b2e7a['on'](_0x39c49a[_0x2ed67b(0x114)],function(_0x431ebe){const _0xa6d52e=_0x2ed67b;logger[_0xa6d52e(0xe6)](_0xa6d52e(0xdc)+_0x431ebe),_0x5ba548[_0xa6d52e(0xec)](_0x1d6865,_0x431ebe);}),_0x3b2e7a['on'](_0x39c49a['LhZrz'],()=>{const _0x434919=_0x2ed67b;this[_0x434919(0xd2)](_0x27cd87,_0x47672e)[_0x434919(0x98)](_0x492077=>_0x265ac3({'needsUpdate':!![],'binaryPath':_0x492077}))[_0x434919(0xe7)](_0x1d6865);});})['on'](_0x39c49a[_0x22292e(0x114)],function(_0x594497){const _0x3dcff6=_0x22292e;logger[_0x3dcff6(0xe6)](_0x3dcff6(0x117)+_0x594497),_0x4c0cc5[_0x3dcff6(0xa4)](_0x1d6865,_0x594497);});});}[a127_0x2076f0(0xd2)](_0x3eb818,_0x2a188b){const _0x1860f5=a127_0x2076f0,_0xa6b892={'IBYQe':function(_0x5bb154,_0x526bda){return _0x5bb154===_0x526bda;},'gGjPh':function(_0x5ba71b,_0x3815ad){return _0x5ba71b(_0x3815ad);},'XNOtF':_0x1860f5(0xbf),'HTLiR':_0x1860f5(0xa6),'nCKUa':function(_0x203536,_0x3f57db){return _0x203536(_0x3f57db);},'TscXK':'entry','wxRdS':_0x1860f5(0xe6)},_0xc3d3ea=this.#binaryName,_0x46d13e=path[_0x1860f5(0xf8)](_0x2a188b,_0xc3d3ea);return new Promise((_0x157738,_0x2a51ed)=>{const _0x2d91c5=_0x1860f5,_0x4b12f5={'AWcPr':function(_0x1d91c1,_0x408c94){return _0xa6b892['IBYQe'](_0x1d91c1,_0x408c94);},'VuksF':function(_0x24e790,_0x2822d9){return _0xa6b892['gGjPh'](_0x24e790,_0x2822d9);},'ByFrj':_0xa6b892[_0x2d91c5(0x105)],'flNzz':_0xa6b892[_0x2d91c5(0x11a)],'YtLCj':function(_0x53db90,_0x39a345){const _0x2f4c3e=_0x2d91c5;return _0xa6b892[_0x2f4c3e(0xc2)](_0x53db90,_0x39a345);},'GAKXd':_0xa6b892[_0x2d91c5(0x115)],'UDwBT':_0xa6b892['wxRdS']},_0x34975e={};_0x34975e[_0x2d91c5(0x96)]=!![],yauzl[_0x2d91c5(0xab)](_0x3eb818,_0x34975e,function(_0x2fa8c4,_0x4a8c47){const _0x58519c=_0x2d91c5,_0x18a1fb={'pUpeC':function(_0x53bc35,_0x2fdec1){const _0x2516fe=a127_0x14e2;return _0x4b12f5[_0x2516fe(0xd6)](_0x53bc35,_0x2fdec1);},'Qhvim':_0x4b12f5[_0x58519c(0xee)],'UfcKw':function(_0x191d71,_0x50b772){const _0x1d2d7e=_0x58519c;return _0x4b12f5[_0x1d2d7e(0xd6)](_0x191d71,_0x50b772);}};_0x2fa8c4&&_0x4b12f5[_0x58519c(0xbb)](_0x2a51ed,_0x2fa8c4),_0x4a8c47['readEntry'](),_0x4a8c47['on'](_0x4b12f5[_0x58519c(0xcf)],_0x4cdc97=>{const _0x202877=_0x58519c;if(/\/$/[_0x202877(0x108)](_0x4cdc97[_0x202877(0x102)]))_0x4a8c47[_0x202877(0xa7)]();else{const _0x2de6f3=fs['createWriteStream'](path[_0x202877(0xf8)](_0x2a188b,_0x4cdc97[_0x202877(0x102)]));_0x4a8c47[_0x202877(0xf6)](_0x4cdc97,function(_0x10ad54,_0x4f2525){const _0xa18c4c=_0x202877;_0x10ad54&&_0x18a1fb[_0xa18c4c(0xe1)](_0x2a51ed,_0x2fa8c4),_0x4f2525['on'](_0x18a1fb[_0xa18c4c(0x112)],function(){const _0x4f7bde=_0xa18c4c;_0x2de6f3[_0x4f7bde(0xfc)](),_0x4a8c47[_0x4f7bde(0xa7)]();}),_0x4f2525[_0xa18c4c(0xe5)](_0x2de6f3);}),_0x4b12f5[_0x202877(0x125)](_0x4cdc97[_0x202877(0x102)],_0xc3d3ea)&&_0x4a8c47[_0x202877(0xfc)]();}}),_0x4a8c47['on'](_0x4b12f5[_0x58519c(0x11d)],_0x47e982=>{const _0x4aa6e0=_0x58519c;_0x4b12f5[_0x4aa6e0(0xd6)](_0x2a51ed,_0x47e982);}),_0x4a8c47[_0x58519c(0x100)](_0x4b12f5[_0x58519c(0xee)],()=>{const _0x189dd7=_0x58519c;fs[_0x189dd7(0xb2)](_0x46d13e,_0x4b12f5[_0x189dd7(0xc6)],function(_0x5bbfd6){const _0x4fafe4=_0x189dd7;_0x5bbfd6&&_0x18a1fb[_0x4fafe4(0xef)](_0x2a51ed,_0x5bbfd6),_0x18a1fb[_0x4fafe4(0xef)](_0x157738,_0x46d13e);}),_0x4a8c47[_0x189dd7(0xfc)]();});});});}async[a127_0x2076f0(0x109)](_0x5b0ec0){const _0x460015=a127_0x2076f0,_0x51b89c={'jycaS':function(_0x2ead2a,_0x5afc1f){return _0x2ead2a(_0x5afc1f);},'LsiID':function(_0x27e80c,_0x622975){return _0x27e80c(_0x622975);},'xSPxb':function(_0x5787c7,_0x309e4f,_0x41e734,_0x2579b6){return _0x5787c7(_0x309e4f,_0x41e734,_0x2579b6);},'gzIar':_0x460015(0x93),'VsPlZ':'data','JicyK':'close'},_0x2a16d6=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x437780,_0x3b01c5)=>{const _0x2cd8c5=_0x460015,_0x7716ef={'DKiMZ':function(_0xbd13d2,_0x12147e){const _0x3e1287=a127_0x14e2;return _0x51b89c[_0x3e1287(0xba)](_0xbd13d2,_0x12147e);}},_0x49d8bd={};_0x49d8bd[_0x2cd8c5(0xe8)]=process['env'];const _0x468408=_0x51b89c[_0x2cd8c5(0x11b)](spawn,_0x5b0ec0,[_0x51b89c['gzIar']],_0x49d8bd);_0x468408[_0x2cd8c5(0x97)]['on'](_0x51b89c[_0x2cd8c5(0xf2)],_0x2dd794=>{const _0x555328=_0x2cd8c5;_0x2a16d6[_0x555328(0x108)](_0x2dd794)&&_0x51b89c[_0x555328(0x9e)](_0x437780,!![]);}),_0x468408['on'](_0x51b89c[_0x2cd8c5(0x106)],()=>{const _0x57c79c=_0x2cd8c5;_0x7716ef[_0x57c79c(0xc4)](_0x437780,![]);});});}#homedir(){const _0x384a11=a127_0x2076f0,_0x5ab4={};_0x5ab4[_0x384a11(0xa0)]=function(_0x4424f4,_0x2c280c){return _0x4424f4===_0x2c280c;},_0x5ab4[_0x384a11(0x103)]='function',_0x5ab4[_0x384a11(0xcd)]=function(_0x44eda4,_0x27c9bd){return _0x44eda4===_0x27c9bd;},_0x5ab4[_0x384a11(0xe2)]='win32',_0x5ab4[_0x384a11(0xc1)]=function(_0x15a68c,_0x31f731){return _0x15a68c+_0x31f731;},_0x5ab4[_0x384a11(0x122)]='darwin',_0x5ab4[_0x384a11(0xbd)]=function(_0x3a2bca,_0x3a2418){return _0x3a2bca+_0x3a2418;},_0x5ab4[_0x384a11(0xd5)]='/Users/',_0x5ab4[_0x384a11(0xf3)]=function(_0x595183,_0x5baa24){return _0x595183===_0x5baa24;},_0x5ab4[_0x384a11(0x11c)]=_0x384a11(0xca),_0x5ab4[_0x384a11(0xd4)]='/root',_0x5ab4[_0x384a11(0xc8)]=_0x384a11(0x10d),_0x5ab4[_0x384a11(0xcb)]=function(_0x54ad52,_0x39fd53){return _0x54ad52||_0x39fd53;};const _0x308cae=_0x5ab4;if(_0x308cae[_0x384a11(0xa0)](typeof os['homedir'],_0x308cae[_0x384a11(0x103)]))return os['homedir']();const _0x86334e=process[_0x384a11(0xe8)],_0x53b561=_0x86334e[_0x384a11(0xfa)],_0x179287=_0x86334e[_0x384a11(0xb6)]||_0x86334e[_0x384a11(0xb1)]||_0x86334e[_0x384a11(0x9c)]||_0x86334e['USERNAME'];if(_0x308cae['YvlFU'](process[_0x384a11(0xea)],_0x308cae[_0x384a11(0xe2)]))return _0x86334e['USERPROFILE']||_0x308cae[_0x384a11(0xc1)](_0x86334e[_0x384a11(0xd0)],_0x86334e[_0x384a11(0x123)])||_0x53b561||null;if(_0x308cae[_0x384a11(0xa0)](process['platform'],_0x308cae[_0x384a11(0x122)]))return _0x53b561||(_0x179287?_0x308cae[_0x384a11(0xbd)](_0x308cae[_0x384a11(0xd5)],_0x179287):null);if(_0x308cae[_0x384a11(0xf3)](process[_0x384a11(0xea)],_0x308cae[_0x384a11(0x11c)]))return _0x53b561||(_0x308cae[_0x384a11(0xcd)](process['getuid'](),0x0)?_0x308cae['miEMr']:_0x179287?_0x308cae[_0x384a11(0xbd)](_0x308cae['eaCld'],_0x179287):null);return _0x308cae[_0x384a11(0xcb)](_0x53b561,null);}}function a127_0x14e2(_0x59f19a,_0x3d0f28){const _0x571303=a127_0x5713();return a127_0x14e2=function(_0x14e2cc,_0x2da795){_0x14e2cc=_0x14e2cc-0x93;let _0x120b0d=_0x571303[_0x14e2cc];return _0x120b0d;},a127_0x14e2(_0x59f19a,_0x3d0f28);}module[a127_0x2076f0(0xb7)]=PercyBinary;function a127_0x5713(){const _0x1a904b=['gTriJ','2400420jSnrUi','VTAqI','bieJk','hpqvA','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','end','readEntry','wsSjA','https://github.com/percy/cli/releases/latest/download','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','open','HbiWE','getBinaryPath','tHTDH','11809vnnsnB','binaryPath','USER','chmod','accessSync','percy','1153700EiKaFo','LOGNAME','exports','download','aIfHZ','LsiID','YtLCj','JqWCM','eUjqb','W_OK','0755','GqJOs','wVNER','nCKUa','winstonLogger','DKiMZ','headers','ByFrj','trim','eaCld','iwLOJ','linux','ehhKS','useCaCertificate','YvlFU','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','GAKXd','HOMEDRIVE','destroy','extractAndSaveBinary','agent','miEMr','Nlxhz','VuksF','LhZrz','iBLqQ','.zip','150xyRhCt','/percy-linux.zip','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','proxyPort','https-proxy-agent','tFOae','X_OK','pUpeC','woPno','url','Connection','pipe','error','catch','env','length','platform','port','ZxUgM','readFileSync','flNzz','UfcKw','404aVbbpQ','percy.exe','VsPlZ','DrDUs','HbkuZ','path','openReadStream','createWriteStream','join','../logger','HOME','follow-redirects','close','orqRD','/percy-win.zip','hPhXB','once','etag','fileName','XGGQw','parse','XNOtF','JicyK','statusCode','test','validateBinary','JPYiG','117pdvkgs','.browserstack','/home/','warn','1365000NpMFTM','NVvSh','match','Qhvim','mkdirSync','VDExY','TscXK','utf8','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','HAneE','ALBDi','HTLiR','xSPxb','KhXwI','UDwBT','hPaym','Failed\x20to\x20save\x20ETag\x20file:\x20','proxyHost','2581636rdsjpN','SwLsP','HOMEPATH','.etag','AWcPr','3448WGuPxm','315485vysZCT','--version','Saved\x20new\x20ETag\x20for\x20percy\x20binary','HOyOV','lazyEntries','stdout','then','debug','undefined','pLUQm','LNAME','child_process','jycaS','writeFileSync'];a127_0x5713=function(){return _0x1a904b;};return a127_0x5713();}
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 +1 @@
1
- var a128_0x262e4e=a128_0x4838;(function(_0x1c164b,_0x3465e9){var _0x25b192=a128_0x4838,_0x4cab83=_0x1c164b();while(!![]){try{var _0x446dc0=parseInt(_0x25b192(0x7f))/0x1+-parseInt(_0x25b192(0x76))/0x2*(-parseInt(_0x25b192(0x80))/0x3)+-parseInt(_0x25b192(0x7e))/0x4*(parseInt(_0x25b192(0x79))/0x5)+parseInt(_0x25b192(0x82))/0x6+-parseInt(_0x25b192(0x7d))/0x7+parseInt(_0x25b192(0x77))/0x8+parseInt(_0x25b192(0x81))/0x9*(-parseInt(_0x25b192(0x7b))/0xa);if(_0x446dc0===_0x3465e9)break;else _0x4cab83['push'](_0x4cab83['shift']());}catch(_0x4f48a6){_0x4cab83['push'](_0x4cab83['shift']());}}}(a128_0x3a87,0x1d11d));class PercyCaptureMap{#map={};['increment'](_0x5f1781,_0x5f2060){!this.#map[_0x5f1781]&&(this.#map[_0x5f1781]={}),!this.#map[_0x5f1781][_0x5f2060]&&(this.#map[_0x5f1781][_0x5f2060]=0x0),this.#map[_0x5f1781][_0x5f2060]++;}[a128_0x262e4e(0x78)](_0x21e8af,_0x518af1){var _0x36fbfa=a128_0x262e4e;return _0x21e8af+'-'+_0x518af1+'-'+this[_0x36fbfa(0x7a)](_0x21e8af,_0x518af1);}[a128_0x262e4e(0x7a)](_0x3a1c79,_0x6cfe2f){if(!this.#map[_0x3a1c79])return 0x0;if(!this.#map[_0x3a1c79][_0x6cfe2f])return 0x0;return this.#map[_0x3a1c79][_0x6cfe2f];}}module[a128_0x262e4e(0x7c)]=PercyCaptureMap;function a128_0x4838(_0x520a8f,_0x4e8b4b){var _0x3a8729=a128_0x3a87();return a128_0x4838=function(_0x483814,_0x365b5e){_0x483814=_0x483814-0x76;var _0x13a4d0=_0x3a8729[_0x483814];return _0x13a4d0;},a128_0x4838(_0x520a8f,_0x4e8b4b);}function a128_0x3a87(){var _0x69a72b=['199286vpAfyZ','197811dWCnwn','41949SZBayB','1368324hSghfZ','2ULoQDB','1328360FpYMOV','getName','277745AJxyOZ','get','610CJQMqj','exports','624995dyrflU','12IaeNBi'];a128_0x3a87=function(){return _0x69a72b;};return a128_0x3a87();}
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 +1 @@
1
- var a129_0x590485=a129_0x4f20;function a129_0x4f20(_0x375c80,_0x5b7b6b){var _0x22d040=a129_0x22d0();return a129_0x4f20=function(_0x4f205e,_0x19bd46){_0x4f205e=_0x4f205e-0xf4;var _0x2c8d1b=_0x22d040[_0x4f205e];return _0x2c8d1b;},a129_0x4f20(_0x375c80,_0x5b7b6b);}(function(_0x506b0a,_0x4b434a){var _0x14831a=a129_0x4f20,_0x2f1b0c=_0x506b0a();while(!![]){try{var _0x49ca9f=-parseInt(_0x14831a(0x101))/0x1+-parseInt(_0x14831a(0xfa))/0x2+-parseInt(_0x14831a(0xfc))/0x3*(-parseInt(_0x14831a(0x106))/0x4)+-parseInt(_0x14831a(0x105))/0x5+parseInt(_0x14831a(0x104))/0x6+-parseInt(_0x14831a(0x102))/0x7*(-parseInt(_0x14831a(0xf6))/0x8)+-parseInt(_0x14831a(0xfe))/0x9*(-parseInt(_0x14831a(0xf9))/0xa);if(_0x49ca9f===_0x4b434a)break;else _0x2f1b0c['push'](_0x2f1b0c['shift']());}catch(_0x268bdc){_0x2f1b0c['push'](_0x2f1b0c['shift']());}}}(a129_0x22d0,0xcb00d));var a129_0x23956f={};function a129_0x22d0(){var _0x58e21a=['element','manual','1573020hHZLzc','344722djTGfm','driver','3575592Tsgwle','6804730tusSej','16508gJuPrd','takeScreenshot','auto','88MArsNh','testcase','screenshot','10DfCdrp','630868KDAQkJ','click','21WItQOF','exports','26229366zWVKDy'];a129_0x22d0=function(){return _0x58e21a;};return a129_0x22d0();}a129_0x23956f[a129_0x590485(0x103)]=[a129_0x590485(0xf4)],a129_0x23956f[a129_0x590485(0xff)]=[a129_0x590485(0xfb),'sendKeys'];var a129_0x5b8ab9={};a129_0x5b8ab9[a129_0x590485(0x103)]=[a129_0x590485(0xf4)];var a129_0x241c3c={};a129_0x241c3c[a129_0x590485(0xff)]=[a129_0x590485(0xfb)];var a129_0x4dd6ad={};a129_0x4dd6ad[a129_0x590485(0xf5)]=a129_0x23956f,a129_0x4dd6ad[a129_0x590485(0xf8)]=a129_0x5b8ab9,a129_0x4dd6ad[a129_0x590485(0xfb)]=a129_0x241c3c,a129_0x4dd6ad[a129_0x590485(0xf7)]={},a129_0x4dd6ad[a129_0x590485(0x100)]={},module[a129_0x590485(0xfd)]=a129_0x4dd6ad;
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 +1 @@
1
- const a130_0x4cedb2=a130_0x499c;function a130_0x4319(){const _0x38b3c2=['length','@percy/selenium-webdriver','../logger','aKEec','@percy/appium-app','10348XBDjTb','browserstackPlatformIndex','../../helpers/testhub/utils','1166562LtamMm','mbQWv','SNAPSHOT','3347112HzlaOF','57238IgCOQO','../performance/constants','SCREENSHOT_APP','XLJIb','326880qztkOI','name','winstonLogger','testCase','hUBby','RMaNG','browserstackPercyBestPlatform','16335972eIEAwX','1655YQzZxq','uuid','5032174chkupC','platformIndex','screenshot','../performance/performance-tester','measure','apply','qXRbj','dASfn','Unsupported\x20driver\x20for\x20percy','snapshot','error','6ELjXqq','screenshotApp'];a130_0x4319=function(){return _0x38b3c2;};return a130_0x4319();}(function(_0x1e7583,_0x4ea8dc){const _0x424973=a130_0x499c,_0x5a429=_0x1e7583();while(!![]){try{const _0x599162=parseInt(_0x424973(0x1b8))/0x1*(parseInt(_0x424973(0x1aa))/0x2)+-parseInt(_0x424973(0x1bc))/0x3+-parseInt(_0x424973(0x1b1))/0x4*(-parseInt(_0x424973(0x19d))/0x5)+parseInt(_0x424973(0x1b4))/0x6+parseInt(_0x424973(0x19f))/0x7+parseInt(_0x424973(0x1b7))/0x8+-parseInt(_0x424973(0x19c))/0x9;if(_0x599162===_0x4ea8dc)break;else _0x5a429['push'](_0x5a429['shift']());}catch(_0xacbca3){_0x5a429['push'](_0x5a429['shift']());}}}(a130_0x4319,0x6a5b9));const tryRequire=function(_0xd89aed,_0x2c29a8){const _0x1dfd9b=a130_0x499c,_0x212001={'hUBby':function(_0x43f94b,_0x463d73){return _0x43f94b(_0x463d73);}};try{return _0x212001[_0x1dfd9b(0x199)](require,_0xd89aed);}catch{return _0x2c29a8;}},percySnapshot=tryRequire(a130_0x4cedb2(0x1ad),null),{percyScreenshot}=tryRequire(a130_0x4cedb2(0x1ad),{}),percyAppScreenshot=require(a130_0x4cedb2(0x1b0)),{getCurrentTestData}=require(a130_0x4cedb2(0x1b3)),PerformanceTester=require(a130_0x4cedb2(0x1a2)),{PERCY_EVENTS:PerformanceEvents}=require(a130_0x4cedb2(0x1b9)),logger=require(a130_0x4cedb2(0x1ae))[a130_0x4cedb2(0x197)];function a130_0x499c(_0x3fb4ff,_0x26c27b){const _0x43191a=a130_0x4319();return a130_0x499c=function(_0x499c3b,_0x467590){_0x499c3b=_0x499c3b-0x196;let _0x22be84=_0x43191a[_0x499c3b];return _0x22be84;},a130_0x499c(_0x3fb4ff,_0x26c27b);}percySnapshot&&(exports[a130_0x4cedb2(0x1a8)]=async function(){const _0x1cb19a=a130_0x4cedb2,_0x47dc2e={'mbQWv':function(_0x41cbe9,_0x207401){return _0x41cbe9!==_0x207401;},'PlQGt':function(_0x441fdd,_0x324711){return _0x441fdd>=_0x324711;},'RMaNG':function(_0x2e641a){return _0x2e641a();}};if(global['browserstackPlatformIndex']&&_0x47dc2e[_0x1cb19a(0x1b5)](global['browserstackPlatformIndex'],global[_0x1cb19a(0x19b)]))return;const _0x1d07f0=_0x47dc2e['PlQGt'](arguments[_0x1cb19a(0x1ac)],0x2)?arguments[0x1]:'',_0x571e38=_0x47dc2e[_0x1cb19a(0x19a)](getCurrentTestData),_0x2709b4={};return _0x2709b4[_0x1cb19a(0x196)]=_0x1d07f0,_0x2709b4[_0x1cb19a(0x198)]=_0x571e38[_0x1cb19a(0x196)]||'',_0x2709b4['thTestCaseExecutionId']=_0x571e38[_0x1cb19a(0x19e)]||'',_0x2709b4[_0x1cb19a(0x1a0)]=global[_0x1cb19a(0x1b2)],await PerformanceTester[_0x1cb19a(0x1a3)](PerformanceEvents[_0x1cb19a(0x1b6)],()=>percySnapshot[_0x1cb19a(0x1a4)](null,arguments),_0x2709b4);});percyScreenshot?exports[a130_0x4cedb2(0x1a1)]=async function(){const _0x54ef0a=a130_0x4cedb2,_0x3f0d48={'zHxfJ':function(_0x29e05f,_0x800760){return _0x29e05f>=_0x800760;},'XLJIb':function(_0x50dffe){return _0x50dffe();}},_0x49e932=_0x3f0d48['zHxfJ'](arguments[_0x54ef0a(0x1ac)],0x2)?arguments[0x1]:'',_0x2cfc16=_0x3f0d48[_0x54ef0a(0x1bb)](getCurrentTestData),_0x534a7d={};return _0x534a7d['name']=_0x49e932,_0x534a7d[_0x54ef0a(0x198)]=_0x2cfc16[_0x54ef0a(0x196)]||'',_0x534a7d['thTestCaseExecutionId']=_0x2cfc16[_0x54ef0a(0x19e)]||'',_0x534a7d[_0x54ef0a(0x1a0)]=global[_0x54ef0a(0x1b2)],await PerformanceTester[_0x54ef0a(0x1a3)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot[_0x54ef0a(0x1a4)](null,arguments),_0x534a7d);}:exports[a130_0x4cedb2(0x1a1)]=()=>{const _0x7077e4=a130_0x4cedb2,_0x3864f4={};_0x3864f4[_0x7077e4(0x1af)]=_0x7077e4(0x1a7);const _0x254cf4=_0x3864f4;logger[_0x7077e4(0x1a9)](_0x254cf4[_0x7077e4(0x1af)]);};exports[a130_0x4cedb2(0x1ab)]=async function(){const _0x3d67fa=a130_0x4cedb2,_0x1bc85a={'dASfn':function(_0x331a81,_0x2d5996){return _0x331a81>=_0x2d5996;},'qXRbj':function(_0x5d7c4d){return _0x5d7c4d();}},_0x558b3e=_0x1bc85a[_0x3d67fa(0x1a6)](arguments[_0x3d67fa(0x1ac)],0x2)?arguments[0x1]:'',_0x332806=_0x1bc85a[_0x3d67fa(0x1a5)](getCurrentTestData),_0x3065fa={};return _0x3065fa[_0x3d67fa(0x196)]=_0x558b3e,_0x3065fa[_0x3d67fa(0x198)]=_0x332806[_0x3d67fa(0x196)]||'',_0x3065fa['thTestCaseExecutionId']=_0x332806['uuid']||'',_0x3065fa[_0x3d67fa(0x1a0)]=global[_0x3d67fa(0x1b2)],await PerformanceTester[_0x3d67fa(0x1a3)](PerformanceEvents[_0x3d67fa(0x1ba)],()=>percyAppScreenshot[_0x3d67fa(0x1a4)](null,arguments),_0x3065fa);};
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 +1 @@
1
- function a131_0x4258(){var _0x246337=['730eodpKf','44620100nnijqP','3178PUTEiz','3741231NqDPae','15515055sxsEpC','./Percy','5072rVuken','2985272scdOce','exports','2smDKLr','1771669ncnLom','50076nUfNTf'];a131_0x4258=function(){return _0x246337;};return a131_0x4258();}var a131_0x1c9ca9=a131_0x2faa;function a131_0x2faa(_0x4f53fa,_0xb883e0){var _0x4258e4=a131_0x4258();return a131_0x2faa=function(_0x2faa1f,_0x2e197e){_0x2faa1f=_0x2faa1f-0x148;var _0x3716de=_0x4258e4[_0x2faa1f];return _0x3716de;},a131_0x2faa(_0x4f53fa,_0xb883e0);}(function(_0x2f5dde,_0x16e3e2){var _0x5f4e06=a131_0x2faa,_0x54c217=_0x2f5dde();while(!![]){try{var _0x4d0a4c=parseInt(_0x5f4e06(0x149))/0x1*(-parseInt(_0x5f4e06(0x148))/0x2)+-parseInt(_0x5f4e06(0x14e))/0x3+-parseInt(_0x5f4e06(0x152))/0x4+-parseInt(_0x5f4e06(0x14b))/0x5*(parseInt(_0x5f4e06(0x14a))/0x6)+-parseInt(_0x5f4e06(0x14d))/0x7*(parseInt(_0x5f4e06(0x151))/0x8)+parseInt(_0x5f4e06(0x14f))/0x9+parseInt(_0x5f4e06(0x14c))/0xa;if(_0x4d0a4c===_0x16e3e2)break;else _0x54c217['push'](_0x54c217['shift']());}catch(_0x1ead79){_0x54c217['push'](_0x54c217['shift']());}}}(a131_0x4258,0xdf439),module[a131_0x1c9ca9(0x153)]=require(a131_0x1c9ca9(0x150)));
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 +1 @@
1
- function a132_0x86d3(_0x409db6,_0x50f3fa){const _0x171714=a132_0x1717();return a132_0x86d3=function(_0x86d302,_0x34a2b2){_0x86d302=_0x86d302-0x190;let _0x40b0fe=_0x171714[_0x86d302];return _0x40b0fe;},a132_0x86d3(_0x409db6,_0x50f3fa);}const a132_0x288350=a132_0x86d3;function a132_0x1717(){const _0x94f31e=['deviceName','../performance/constants','reduce','browserName','edge','qLkIQ','kLhwI','browserstackPercyMap','browserstackSessionName','WbDVA','patchDriverPercy','auto','../performance/performance-tester','safari','KFgrO','./PercyCaptureModes','prototype','stopPercy','../helper','debug','stop','getBestPlatformForPercySnapshot','overrideXforPercy','Stopping\x20percy','firefox','percyAutoCapture','then','browser','driver','4PitsoL','screenshot','init','qzOhw','browserstackPercyBestPlatform','4046346dMnNOK','6391469IjyYHM','manual','6756912TbgAho','app','./Percy','114621RVdFzM','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','patch','winstonLogger','./PercyCaptureMap','getName','AyKZO','qmmtH','5152480gNptyw','percyCaptureMode','toLowerCase','Starting\x20percy','qXPlZ','\x20for\x20percy\x20','error','chrome','browserStackPercyOptions','platforms','225838VYbCIl','AUTO_CAPTURE','startPercy','lEqTb','PCWEP','112xbaesI','forEach','apply','START','../logger','measureWrapper','percy','Error\x20patching\x20','6752088FvjLrx'];a132_0x1717=function(){return _0x94f31e;};return a132_0x1717();}(function(_0x173595,_0x1664f5){const _0x20b91b=a132_0x86d3,_0x3607ca=_0x173595();while(!![]){try{const _0x32b55c=parseInt(_0x20b91b(0x193))/0x1*(-parseInt(_0x20b91b(0x1be))/0x2)+-parseInt(_0x20b91b(0x1c9))/0x3*(-parseInt(_0x20b91b(0x198))/0x4)+parseInt(_0x20b91b(0x1d1))/0x5+parseInt(_0x20b91b(0x1a0))/0x6+-parseInt(_0x20b91b(0x1c4))/0x7+-parseInt(_0x20b91b(0x1c6))/0x8+-parseInt(_0x20b91b(0x1c3))/0x9;if(_0x32b55c===_0x1664f5)break;else _0x3607ca['push'](_0x3607ca['shift']());}catch(_0x5d2eec){_0x3607ca['push'](_0x3607ca['shift']());}}}(a132_0x1717,0x8a5a1));const Percy=require(a132_0x288350(0x1c8)),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a132_0x288350(0x1b0)),PercyCaptureMap=require(a132_0x288350(0x1cd)),logger=require(a132_0x288350(0x19c))[a132_0x288350(0x1cc)],helper=require(a132_0x288350(0x1b3)),PerformanceTester=require(a132_0x288350(0x1ad)),{PERCY_EVENTS:PerformanceEvents}=require(a132_0x288350(0x1a2));exports[a132_0x288350(0x195)]=PerformanceTester[a132_0x288350(0x19d)](PerformanceEvents[a132_0x288350(0x19b)],async _0x49ab90=>{const _0x41c6e9=a132_0x288350,_0x1016e8={};_0x1016e8[_0x41c6e9(0x1d5)]=_0x41c6e9(0x1d4);const _0x285b1e=_0x1016e8;logger[_0x41c6e9(0x1b4)](_0x285b1e['qXPlZ']);const _0x2b37bf=new Percy(_0x49ab90),_0x2aeab6=await _0x2b37bf['start']();if(_0x2aeab6)return _0x2b37bf;return null;}),exports[a132_0x288350(0x1b2)]=PerformanceTester[a132_0x288350(0x19d)](PerformanceEvents['STOP'],async _0x453cb8=>{const _0x442fd5=a132_0x288350,_0x51f3bc={};_0x51f3bc['kLhwI']=_0x442fd5(0x1b8);const _0x39d25d=_0x51f3bc;return logger[_0x442fd5(0x1b4)](_0x39d25d[_0x442fd5(0x1a7)]),_0x453cb8[_0x442fd5(0x1b5)]();}),exports[a132_0x288350(0x1b6)]=_0x3d3fd0=>{const _0x52b2dc=a132_0x288350,_0x485124={};_0x485124[_0x52b2dc(0x196)]=function(_0x49dbf7,_0x3c38a4){return _0x49dbf7<_0x3c38a4;};const _0x3f04c2=_0x485124,_0x87b274={};_0x87b274[_0x52b2dc(0x190)]=0x0,_0x87b274[_0x52b2dc(0x1b9)]=0x1,_0x87b274[_0x52b2dc(0x1a5)]=0x2,_0x87b274[_0x52b2dc(0x1ae)]=0x3;const _0x2703bc=_0x87b274;return _0x3d3fd0[_0x52b2dc(0x1a3)]((_0x18abc4,_0x16390b,_0x1f0d11)=>{const _0x1898ef=_0x52b2dc,_0x36673e=_0x3d3fd0[_0x18abc4];if(_0x16390b['deviceName'])return _0x18abc4;if(_0x36673e[_0x1898ef(0x1a1)])return _0x1f0d11;const _0x506a65=_0x16390b[_0x1898ef(0x1bc)]?_0x16390b['browser']:_0x16390b[_0x1898ef(0x1a4)];if(_0x506a65&&_0x3f04c2[_0x1898ef(0x196)](_0x2703bc[_0x506a65[_0x1898ef(0x1d3)]()],_0x2703bc[_0x506a65['toLowerCase']()]))return _0x1f0d11;return _0x18abc4;},0x0);},exports['percyAutoCapture']=PerformanceTester['measureWrapper'](PerformanceEvents[a132_0x288350(0x194)],async(_0x24dc43,_0x363810,_0xed806b)=>{const _0x46534b=a132_0x288350,_0x598240={};_0x598240['qLkIQ']=_0x46534b(0x1ca);const _0xeae1ab=_0x598240,_0xd39047=_0x24dc43[_0x46534b(0x1a8)];if(helper['isUndefined'](_0x24dc43['browserstackSessionName'])){logger[_0x46534b(0x1b4)](_0xeae1ab[_0x46534b(0x1a6)]);return;}const _0x275f29=_0xd39047[_0x46534b(0x1ce)](_0x24dc43[_0x46534b(0x1a9)],_0x363810);_0xed806b[_0x46534b(0x1c7)]?await PercySDK['screenshotApp'](_0x24dc43,_0x275f29):await PercySDK[_0x46534b(0x1bf)](_0x24dc43,_0x275f29),_0xd39047['increment'](_0x24dc43[_0x46534b(0x1a9)],_0x363810);}),exports[a132_0x288350(0x1ab)]=(_0xb5369f,_0x5d061f,_0x21cefa)=>{const _0x445fe2=a132_0x288350,_0x2cc736={};_0x2cc736[_0x445fe2(0x1d0)]=_0x445fe2(0x191),_0x2cc736[_0x445fe2(0x197)]=_0x445fe2(0x19e),_0x2cc736['GRHLg']=function(_0x41b860,_0xbd24f0){return _0x41b860!==_0xbd24f0;},_0x2cc736[_0x445fe2(0x1af)]=_0x445fe2(0x1c5);const _0x19c350=_0x2cc736;if(!helper['nestedKeyValue'](_0x21cefa,[_0x19c350[_0x445fe2(0x1d0)],_0x19c350[_0x445fe2(0x197)]]))return;if(_0x21cefa[_0x445fe2(0x191)][_0x445fe2(0x19e)]&&_0x21cefa[_0x445fe2(0x191)]['percyCaptureMode']&&_0x19c350['GRHLg'](_0x21cefa[_0x445fe2(0x191)][_0x445fe2(0x1d2)],_0x19c350[_0x445fe2(0x1af)])&&!_0xb5369f['browserstackPercyMap']){global['browserstackSessionName']&&(_0xb5369f['browserstackSessionName']=global['browserstackSessionName']),_0xb5369f[_0x445fe2(0x1a8)]=new PercyCaptureMap();const _0x239524=PercyCaptureModes[_0x21cefa[_0x445fe2(0x191)][_0x445fe2(0x1d2)]];_0x239524[_0x445fe2(0x1bd)]&&_0x239524[_0x445fe2(0x1bd)]['forEach'](_0x14639b=>this['overrideXforPercy'](_0xb5369f,_0x14639b,_0x21cefa)),_0x239524['element']&&_0x239524['element'][_0x445fe2(0x199)](_0x152ff1=>{const _0x526d1f=_0x445fe2;if(_0x5d061f[_0x526d1f(0x1b1)][_0x526d1f(0x1cb)+_0x152ff1])return;_0x5d061f[_0x526d1f(0x1b1)]['patch'+_0x152ff1]=!![];const _0x334c31=_0x5d061f[_0x526d1f(0x1b1)][_0x152ff1];_0x5d061f[_0x526d1f(0x1b1)][_0x152ff1]=async function(){const _0x26a347=_0x526d1f;let _0x3803d5=_0x334c31['apply'](this,arguments);_0x3803d5&&_0x3803d5[_0x26a347(0x1bb)]&&(_0x3803d5=await _0x3803d5);try{const _0x68fe62=this['getDriver']();await exports['percyAutoCapture'](_0x68fe62,_0x152ff1,_0x21cefa);}catch(_0x18ed6f){logger['error'](_0x26a347(0x19f)+_0x152ff1+_0x26a347(0x1d6)+_0x18ed6f);}return _0x3803d5;};});}},exports[a132_0x288350(0x1b7)]=function(_0x3936b0,_0x4b1030,_0x51b618){const _0x6ea32d=a132_0x288350,_0x32efd5={};_0x32efd5[_0x6ea32d(0x1c1)]=function(_0x44f104,_0x58fafa){return _0x44f104+_0x58fafa;},_0x32efd5[_0x6ea32d(0x1cf)]='patch',_0x32efd5['RKIRa']=_0x6ea32d(0x1c0);const _0x19a9ff=_0x32efd5,_0x44bf1d=_0x19a9ff['qzOhw'](_0x19a9ff['AyKZO'],_0x4b1030),_0x947bcb=_0x19a9ff[_0x6ea32d(0x1c1)](_0x19a9ff['RKIRa'],_0x4b1030),_0x48fd1a=this;if(_0x3936b0[_0x44bf1d]||!_0x3936b0[_0x4b1030])return;_0x3936b0[_0x44bf1d]=!![],_0x3936b0[_0x947bcb]=_0x3936b0[_0x4b1030],_0x3936b0[_0x4b1030]=async()=>{const _0x7e4ca7=_0x6ea32d;try{await _0x48fd1a[_0x7e4ca7(0x1ba)](_0x3936b0,_0x4b1030,_0x51b618);}catch(_0xb6f495){logger[_0x7e4ca7(0x1d7)](_0x7e4ca7(0x19f)+_0x4b1030+_0x7e4ca7(0x1d6)+_0xb6f495);}return await _0x3936b0[_0x947bcb][_0x7e4ca7(0x19a)](_0x3936b0,arguments);};},exports['getPercyOptions']=_0x411358=>{const _0xd1ce79=a132_0x288350,_0x44db59={};_0x44db59[_0xd1ce79(0x1aa)]=_0xd1ce79(0x1ac);const _0x37b5d4=_0x44db59,_0x1ffb13={};_0x1ffb13['percy']=_0x411358[_0xd1ce79(0x19e)],_0x1ffb13[_0xd1ce79(0x1d2)]=_0x411358[_0xd1ce79(0x1d2)]||_0x37b5d4['WbDVA'];const _0x4d9d84=_0x1ffb13;_0x411358[_0xd1ce79(0x19e)]&&(_0x4d9d84[_0xd1ce79(0x1c2)]=exports[_0xd1ce79(0x1b6)](_0x411358[_0xd1ce79(0x192)]));;return _0x4d9d84;};
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 +1 @@
1
- const a133_0x4dff55=a133_0x47be;(function(_0x2e366d,_0x3ccf2f){const _0x42a402=a133_0x47be,_0x3f0e66=_0x2e366d();while(!![]){try{const _0x1d8a0b=-parseInt(_0x42a402(0xdf))/0x1+-parseInt(_0x42a402(0x165))/0x2+-parseInt(_0x42a402(0x120))/0x3+parseInt(_0x42a402(0x10b))/0x4*(parseInt(_0x42a402(0x108))/0x5)+parseInt(_0x42a402(0x148))/0x6*(parseInt(_0x42a402(0xf1))/0x7)+-parseInt(_0x42a402(0xe3))/0x8+parseInt(_0x42a402(0x12b))/0x9;if(_0x1d8a0b===_0x3ccf2f)break;else _0x3f0e66['push'](_0x3f0e66['shift']());}catch(_0x12cf5f){_0x3f0e66['push'](_0x3f0e66['shift']());}}}(a133_0xc62d,0x47344));function a133_0x47be(_0x135fe4,_0x26b229){const _0xc62d2a=a133_0xc62d();return a133_0x47be=function(_0x47be9c,_0x318a71){_0x47be9c=_0x47be9c-0xde;let _0x3018ea=_0xc62d2a[_0x47be9c];return _0x3018ea;},a133_0x47be(_0x135fe4,_0x26b229);}const a133_0x4f6704={};a133_0x4f6704[a133_0x4dff55(0x157)]=a133_0x4dff55(0x166),a133_0x4f6704['SDK_CLEANUP']=a133_0x4dff55(0x161),a133_0x4f6704[a133_0x4dff55(0x141)]=a133_0x4dff55(0x100),a133_0x4f6704[a133_0x4dff55(0x12e)]=a133_0x4dff55(0x13b),a133_0x4f6704[a133_0x4dff55(0x11c)]=a133_0x4dff55(0x150),a133_0x4f6704[a133_0x4dff55(0x11d)]=a133_0x4dff55(0x106),a133_0x4f6704[a133_0x4dff55(0x107)]=a133_0x4dff55(0x14d),a133_0x4f6704['SDK_A11Y']=a133_0x4dff55(0x13c),a133_0x4f6704[a133_0x4dff55(0x118)]=a133_0x4dff55(0x15a),a133_0x4f6704[a133_0x4dff55(0x164)]=a133_0x4dff55(0x102),a133_0x4f6704[a133_0x4dff55(0xf0)]=a133_0x4dff55(0xf4),a133_0x4f6704[a133_0x4dff55(0x113)]=a133_0x4dff55(0x134),a133_0x4f6704[a133_0x4dff55(0x10c)]=a133_0x4dff55(0x122),a133_0x4f6704[a133_0x4dff55(0xe9)]=a133_0x4dff55(0x13e),a133_0x4f6704[a133_0x4dff55(0x131)]=a133_0x4dff55(0x104),a133_0x4f6704[a133_0x4dff55(0x11f)]=a133_0x4dff55(0x110),a133_0x4f6704[a133_0x4dff55(0xe4)]=a133_0x4dff55(0xfe),a133_0x4f6704[a133_0x4dff55(0x14b)]=a133_0x4dff55(0x15d),a133_0x4f6704['SDK_CLI_START']=a133_0x4dff55(0x138),a133_0x4f6704[a133_0x4dff55(0xeb)]='sdk:cli:download',a133_0x4f6704[a133_0x4dff55(0x14a)]=a133_0x4dff55(0xee),a133_0x4f6704[a133_0x4dff55(0xef)]=a133_0x4dff55(0xfa),a133_0x4f6704[a133_0x4dff55(0xf5)]='sdk:cli:on-connect',a133_0x4f6704[a133_0x4dff55(0x12d)]=a133_0x4dff55(0x135),a133_0x4f6704[a133_0x4dff55(0x149)]='sdk:startBinSession',a133_0x4f6704[a133_0x4dff55(0x121)]='sdk:connectBinSession',a133_0x4f6704['SDK_DRIVER_INIT']=a133_0x4dff55(0xe8),a133_0x4f6704[a133_0x4dff55(0x146)]=a133_0x4dff55(0x159),a133_0x4f6704[a133_0x4dff55(0x10d)]=a133_0x4dff55(0x127),a133_0x4f6704[a133_0x4dff55(0x137)]=a133_0x4dff55(0x15b),a133_0x4f6704[a133_0x4dff55(0xe5)]='sdk:accessibilityConfig',a133_0x4f6704['SDK_OBSERVABILITY_CONFIG']=a133_0x4dff55(0xf3),a133_0x4f6704[a133_0x4dff55(0x15f)]='sdk:aiSelfHealStep',a133_0x4f6704[a133_0x4dff55(0x14c)]=a133_0x4dff55(0xf6),a133_0x4f6704[a133_0x4dff55(0x112)]=a133_0x4dff55(0x12c),a133_0x4f6704[a133_0x4dff55(0x162)]=a133_0x4dff55(0x155),a133_0x4f6704[a133_0x4dff55(0x154)]=a133_0x4dff55(0x169),a133_0x4f6704[a133_0x4dff55(0x101)]='sdk:cli:enqueueTestEvent',a133_0x4f6704[a133_0x4dff55(0x132)]=a133_0x4dff55(0x123),a133_0x4f6704[a133_0x4dff55(0x11b)]='sdk:onStop';const SDK_EVENTS=a133_0x4f6704,a133_0x2f08a4={};function a133_0xc62d(){const _0x225e2a=[':start','sdk:cli:check-update','SDK_CLI_ON_BOOTSTRAP','SDK_PROXY_SETUP','14fuSUOZ',':download','sdk:observabilityConfig','sdk:proxy-setup','SDK_CLI_ON_CONNECT','sdk:aiSelfHealGetResult',':hub-management',':screenshot-app','A11Y_EVENTS','sdk:cli:on-bootstrap','BEFORE_EACH',':session-name',':screenshot','sdk:driver:pre-initialization',':session-annotation','sdk:pre-test','SDK_CLI_ENQUEUE_TEST_EVENT','sdk:auto-capture','PRE_EXECUTE','sdk:turboscale','PERCY_EVENTS','sdk:hook','SDK_DRIVER','6105zsipxZ','PERFORM_SCAN','HUB_MANAGEMENT','1412WYBPGa','SDK_AUTOMATE','SDK_AUTOMATION_FRAMEWORK_INIT',':stop','AUTOMATE_EVENTS','sdk:percy','BEFORE_ALL','SDK_TEST_FRAMEWORK_EVENT','SDK_TESTHUB',':print-buildlink',':after-all','DRIVER_MANAGE','BEFORE','SDK_O11Y','START',':auto-capture','SDK_ON_STOP','SDK_POST_TEST','SDK_HOOK','SCREENSHOT','SDK_PERCY','654072EMHcrt','SDK_CONNECT_BIN_SESSION','sdk:automate','sdk:automationFrameworkStop',':pre-execute','O11y_EVENTS',':local-start','sdk:automationFrameworkInit','TESTHUB_EVENTS','KEEP_ALIVE','APP_UPLOAD','8729379KXJine','sdk:testFrameworkEvent','SDK_CLI_ON_STOP','SDK_TEST','GET_RESULTS_SUMMARY','EVENTS','SDK_TURBOSCALE','SDK_AUTOMATION_FRAMEWORK_STOP','SESSION_NAME','sdk:testhub','sdk:cli:on-stop','STOP','SDK_AUTOMATION_FRAMEWORK_START','sdk:cli:start',':idle-timeout','SESSION_ANNOTATION','sdk:test','sdk:a11y','SYNC','sdk:app-automate','TAKE_SCREENSHOT',':save-results','SDK_PRE_TEST',':driver-takeScreenShot','DRIVER_EVENT','AFTER_EACH',':driver-performscan','SDK_FIND_NEAREST_HUB','SCREENSHOT_APP','826062TmRXWE','SDK_START_BIN_SESSION','SDK_CLI_CHECK_UPDATE','SDK_POST_INITIALIZE','SDK_AI_SELF_HEAL_GET_RESULT','sdk:driver',':after-each',':before','sdk:post-test','POST_EXECUTE','DOWNLOAD','AFTER','SDK_CLI_LOG_CREATED_EVENT','sdk:testSessionEvent',':sync','SDK_SETUP','QUIT','sdk:findNearestHub','sdk:o11y','sdk:automationFrameworkStart','SDK_A11Y','sdk:driver:post-initialization',':post-execute','SDK_AI_SELF_HEAL_STEP','PRINT_BUILDLINK','sdk:cleanup','SDK_TEST_SESSION_EVENT','AFTER_ALL','SDK_AUTO_CAPTURE','840482CBRpQi','sdk:setup','GENERATE_CI_ARTIFACT','LOCAL_START','sdk:cli:logCreatedEvent',':app-upload','441962laymbA',':driver-manage','GET_RESULTS','SESSION_STATUS','2435352KFASGZ','SDK_PRE_INITIALIZE','SDK_ACCESSIBILITY_CONFIG',':local-stop','HOOK_EVENTS','sdk:driverInit','SDK_APP_AUTOMATE','TURBOSCALE_EVENTS','SDK_CLI_DOWNLOAD','exports'];a133_0xc62d=function(){return _0x225e2a;};return a133_0xc62d();}a133_0x2f08a4[a133_0x4dff55(0x130)]=SDK_EVENTS,a133_0x2f08a4[a133_0x4dff55(0x128)]={},a133_0x2f08a4[a133_0x4dff55(0x10f)]={},a133_0x2f08a4[a133_0x4dff55(0xf9)]={},a133_0x2f08a4[a133_0x4dff55(0x105)]={},a133_0x2f08a4[a133_0x4dff55(0x125)]={},a133_0x2f08a4[a133_0x4dff55(0xe7)]={},a133_0x2f08a4[a133_0x4dff55(0xea)]={},a133_0x2f08a4['APP_AUOTMATE_EVENTS']={},a133_0x2f08a4[a133_0x4dff55(0x143)]={},a133_0x2f08a4[a133_0x4dff55(0x128)][a133_0x4dff55(0x119)]=SDK_EVENTS[a133_0x4dff55(0x113)]+':start',a133_0x2f08a4[a133_0x4dff55(0x128)][a133_0x4dff55(0x136)]=SDK_EVENTS[a133_0x4dff55(0x113)]+':stop',a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x129)]=SDK_EVENTS[a133_0x4dff55(0x10c)]+':keep-alive',a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x10a)]=SDK_EVENTS[a133_0x4dff55(0x10c)]+a133_0x4dff55(0xf7),a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x168)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0x4dff55(0x126),a133_0x2f08a4[a133_0x4dff55(0x10f)]['LOCAL_STOP']=SDK_EVENTS['SDK_AUTOMATE']+a133_0x4dff55(0xe6),a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x116)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0x4dff55(0xe0),a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x133)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0x4dff55(0xfc),a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0xe2)]=SDK_EVENTS[a133_0x4dff55(0x10c)]+':session-status',a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x13a)]=SDK_EVENTS[a133_0x4dff55(0x10c)]+a133_0x4dff55(0xff),a133_0x2f08a4[a133_0x4dff55(0x10f)]['IDLE_TIMEOUT']=SDK_EVENTS[a133_0x4dff55(0x10c)]+a133_0x4dff55(0x139),a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x167)]=SDK_EVENTS[a133_0x4dff55(0x10c)]+':ci-artifacts',a133_0x2f08a4[a133_0x4dff55(0x10f)][a133_0x4dff55(0x160)]=SDK_EVENTS[a133_0x4dff55(0x10c)]+a133_0x4dff55(0x114),a133_0x2f08a4[a133_0x4dff55(0xf9)][a133_0x4dff55(0x109)]=SDK_EVENTS[a133_0x4dff55(0x15c)]+a133_0x4dff55(0x145),a133_0x2f08a4[a133_0x4dff55(0xf9)]['SAVE_RESULTS']=SDK_EVENTS[a133_0x4dff55(0x15c)]+a133_0x4dff55(0x140),a133_0x2f08a4[a133_0x4dff55(0xf9)][a133_0x4dff55(0xe1)]=SDK_EVENTS['SDK_A11Y']+':get-accessibility-results',a133_0x2f08a4[a133_0x4dff55(0xf9)][a133_0x4dff55(0x12f)]=SDK_EVENTS[a133_0x4dff55(0x15c)]+':get-accessibility-results-summary',a133_0x2f08a4[a133_0x4dff55(0x105)][a133_0x4dff55(0x152)]=SDK_EVENTS[a133_0x4dff55(0x11f)]+a133_0x4dff55(0xf2),a133_0x2f08a4[a133_0x4dff55(0x105)][a133_0x4dff55(0x11e)]=SDK_EVENTS[a133_0x4dff55(0x11f)]+a133_0x4dff55(0xfd),a133_0x2f08a4[a133_0x4dff55(0x105)]['START']=SDK_EVENTS[a133_0x4dff55(0x11f)]+a133_0x4dff55(0xed),a133_0x2f08a4[a133_0x4dff55(0x105)]['STOP']=SDK_EVENTS['SDK_PERCY']+a133_0x4dff55(0x10e),a133_0x2f08a4[a133_0x4dff55(0x105)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a133_0x4dff55(0x11a),a133_0x2f08a4[a133_0x4dff55(0x105)]['SNAPSHOT']=SDK_EVENTS[a133_0x4dff55(0x11f)]+':snapshot',a133_0x2f08a4[a133_0x4dff55(0x105)][a133_0x4dff55(0x147)]=SDK_EVENTS[a133_0x4dff55(0x11f)]+a133_0x4dff55(0xf8),a133_0x2f08a4[a133_0x4dff55(0x125)][a133_0x4dff55(0x13d)]=SDK_EVENTS['SDK_O11Y']+a133_0x4dff55(0x156),a133_0x2f08a4[a133_0x4dff55(0x125)][a133_0x4dff55(0x13f)]=SDK_EVENTS[a133_0x4dff55(0x118)]+a133_0x4dff55(0x142),a133_0x2f08a4[a133_0x4dff55(0x125)][a133_0x4dff55(0x160)]=SDK_EVENTS['SDK_O11Y']+a133_0x4dff55(0x114),a133_0x2f08a4[a133_0x4dff55(0xe7)][a133_0x4dff55(0xfb)]=SDK_EVENTS[a133_0x4dff55(0x11d)]+':before-each',a133_0x2f08a4[a133_0x4dff55(0xe7)][a133_0x4dff55(0x144)]=SDK_EVENTS[a133_0x4dff55(0x11d)]+a133_0x4dff55(0x14e),a133_0x2f08a4[a133_0x4dff55(0xe7)][a133_0x4dff55(0x163)]=SDK_EVENTS[a133_0x4dff55(0x11d)]+a133_0x4dff55(0x115),a133_0x2f08a4[a133_0x4dff55(0xe7)][a133_0x4dff55(0x111)]=SDK_EVENTS[a133_0x4dff55(0x11d)]+':before-all',a133_0x2f08a4[a133_0x4dff55(0xe7)][a133_0x4dff55(0x117)]=SDK_EVENTS[a133_0x4dff55(0x11d)]+a133_0x4dff55(0x14f),a133_0x2f08a4[a133_0x4dff55(0xe7)][a133_0x4dff55(0x153)]=SDK_EVENTS['SDK_HOOK']+':after',a133_0x2f08a4[a133_0x4dff55(0xea)][a133_0x4dff55(0x10a)]=SDK_EVENTS['SDK_TURBOSCALE']+':hub-management',a133_0x2f08a4[a133_0x4dff55(0xea)][a133_0x4dff55(0x160)]=SDK_EVENTS[a133_0x4dff55(0x131)]+a133_0x4dff55(0x114),a133_0x2f08a4['APP_AUOTMATE_EVENTS'][a133_0x4dff55(0x12a)]=SDK_EVENTS[a133_0x4dff55(0xe9)]+a133_0x4dff55(0xde),a133_0x2f08a4[a133_0x4dff55(0x143)][a133_0x4dff55(0x158)]=SDK_EVENTS[a133_0x4dff55(0x107)]+':quit',a133_0x2f08a4[a133_0x4dff55(0x143)]['GET']=SDK_EVENTS['SDK_DRIVER']+':get',a133_0x2f08a4[a133_0x4dff55(0x143)][a133_0x4dff55(0x103)]=SDK_EVENTS[a133_0x4dff55(0x107)]+a133_0x4dff55(0x124),a133_0x2f08a4[a133_0x4dff55(0x143)][a133_0x4dff55(0x151)]=SDK_EVENTS[a133_0x4dff55(0x107)]+a133_0x4dff55(0x15e),module[a133_0x4dff55(0xec)]=a133_0x2f08a4;
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;